@sassoftware/restaf 5.6.0 → 5.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2227 @@
1
+ /*
2
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
3
+ * This devtool is neither made for production nor for readable output files.
4
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
5
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
6
+ * or disable the default devtool with "devtool: false".
7
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
8
+ */
9
+ (function webpackUniversalModuleDefinition(root, factory) {
10
+ if(typeof exports === 'object' && typeof module === 'object')
11
+ module.exports = factory();
12
+ else if(typeof define === 'function' && define.amd)
13
+ define("restaf", [], factory);
14
+ else if(typeof exports === 'object')
15
+ exports["restaf"] = factory();
16
+ else
17
+ root["restaf"] = factory();
18
+ })(self, () => {
19
+ return /******/ (() => { // webpackBootstrap
20
+ /******/ var __webpack_modules__ = ({
21
+
22
+ /***/ "../../../node_modules/@babel/runtime/helpers/OverloadYield.js"
23
+ /*!*********************************************************************!*\
24
+ !*** ../../../node_modules/@babel/runtime/helpers/OverloadYield.js ***!
25
+ \*********************************************************************/
26
+ (module) {
27
+
28
+ eval("{function _OverloadYield(e, d) {\n this.v = e, this.k = d;\n}\nmodule.exports = _OverloadYield, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://restaf/../../../node_modules/@babel/runtime/helpers/OverloadYield.js?\n}");
29
+
30
+ /***/ },
31
+
32
+ /***/ "../../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js"
33
+ /*!****************************************************************************!*\
34
+ !*** ../../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
35
+ \****************************************************************************/
36
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37
+
38
+ "use strict";
39
+ eval("{/* 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://restaf/../../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js?\n}");
40
+
41
+ /***/ },
42
+
43
+ /***/ "../../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js"
44
+ /*!*****************************************************************************!*\
45
+ !*** ../../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js ***!
46
+ \*****************************************************************************/
47
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
48
+
49
+ "use strict";
50
+ eval("{/* 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/@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://restaf/../../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js?\n}");
51
+
52
+ /***/ },
53
+
54
+ /***/ "../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"
55
+ /*!****************************************************************************!*\
56
+ !*** ../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js ***!
57
+ \****************************************************************************/
58
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
59
+
60
+ "use strict";
61
+ eval("{/* 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://restaf/../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js?\n}");
62
+
63
+ /***/ },
64
+
65
+ /***/ "../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js"
66
+ /*!**************************************************************************!*\
67
+ !*** ../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
68
+ \**************************************************************************/
69
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
70
+
71
+ "use strict";
72
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _defineProperty)\n/* harmony export */ });\n/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ \"../../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js\");\n\nfunction _defineProperty(e, r, t) {\n return (r = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js?\n}");
73
+
74
+ /***/ },
75
+
76
+ /***/ "../../../node_modules/@babel/runtime/helpers/esm/extends.js"
77
+ /*!*******************************************************************!*\
78
+ !*** ../../../node_modules/@babel/runtime/helpers/esm/extends.js ***!
79
+ \*******************************************************************/
80
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
81
+
82
+ "use strict";
83
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _extends)\n/* harmony export */ });\nfunction _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/@babel/runtime/helpers/esm/extends.js?\n}");
84
+
85
+ /***/ },
86
+
87
+ /***/ "../../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js"
88
+ /*!***************************************************************************!*\
89
+ !*** ../../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
90
+ \***************************************************************************/
91
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
92
+
93
+ "use strict";
94
+ eval("{/* 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://restaf/../../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js?\n}");
95
+
96
+ /***/ },
97
+
98
+ /***/ "../../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js"
99
+ /*!*****************************************************************************!*\
100
+ !*** ../../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js ***!
101
+ \*****************************************************************************/
102
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
103
+
104
+ "use strict";
105
+ eval("{/* 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://restaf/../../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js?\n}");
106
+
107
+ /***/ },
108
+
109
+ /***/ "../../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"
110
+ /*!****************************************************************************************!*\
111
+ !*** ../../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js ***!
112
+ \****************************************************************************************/
113
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
114
+
115
+ "use strict";
116
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _objectWithoutPropertiesLoose)\n/* harmony export */ });\nfunction _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (-1 !== e.indexOf(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js?\n}");
117
+
118
+ /***/ },
119
+
120
+ /***/ "../../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"
121
+ /*!*****************************************************************************!*\
122
+ !*** ../../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js ***!
123
+ \*****************************************************************************/
124
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
125
+
126
+ "use strict";
127
+ eval("{/* 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/@babel/runtime/helpers/esm/arrayWithoutHoles.js\");\n/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ \"../../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js\");\n/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ \"../../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js\");\n/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableSpread.js */ \"../../../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://restaf/../../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js?\n}");
128
+
129
+ /***/ },
130
+
131
+ /***/ "../../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js"
132
+ /*!***********************************************************************!*\
133
+ !*** ../../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
134
+ \***********************************************************************/
135
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
136
+
137
+ "use strict";
138
+ eval("{/* 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/@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://restaf/../../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js?\n}");
139
+
140
+ /***/ },
141
+
142
+ /***/ "../../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js"
143
+ /*!*************************************************************************!*\
144
+ !*** ../../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
145
+ \*************************************************************************/
146
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
147
+
148
+ "use strict";
149
+ eval("{/* 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/@babel/runtime/helpers/esm/typeof.js\");\n/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ \"../../../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://restaf/../../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js?\n}");
150
+
151
+ /***/ },
152
+
153
+ /***/ "../../../node_modules/@babel/runtime/helpers/esm/typeof.js"
154
+ /*!******************************************************************!*\
155
+ !*** ../../../node_modules/@babel/runtime/helpers/esm/typeof.js ***!
156
+ \******************************************************************/
157
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
158
+
159
+ "use strict";
160
+ eval("{/* 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://restaf/../../../node_modules/@babel/runtime/helpers/esm/typeof.js?\n}");
161
+
162
+ /***/ },
163
+
164
+ /***/ "../../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"
165
+ /*!**************************************************************************************!*\
166
+ !*** ../../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
167
+ \**************************************************************************************/
168
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
169
+
170
+ "use strict";
171
+ eval("{/* 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/@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://restaf/../../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js?\n}");
172
+
173
+ /***/ },
174
+
175
+ /***/ "../../../node_modules/@babel/runtime/helpers/regenerator.js"
176
+ /*!*******************************************************************!*\
177
+ !*** ../../../node_modules/@babel/runtime/helpers/regenerator.js ***!
178
+ \*******************************************************************/
179
+ (module, __unused_webpack_exports, __webpack_require__) {
180
+
181
+ eval("{var regeneratorDefine = __webpack_require__(/*! ./regeneratorDefine.js */ \"../../../node_modules/@babel/runtime/helpers/regeneratorDefine.js\");\nfunction _regenerator() {\n /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */\n var e,\n t,\n r = \"function\" == typeof Symbol ? Symbol : {},\n n = r.iterator || \"@@iterator\",\n o = r.toStringTag || \"@@toStringTag\";\n function i(r, n, o, i) {\n var c = n && n.prototype instanceof Generator ? n : Generator,\n u = Object.create(c.prototype);\n return regeneratorDefine(u, \"_invoke\", function (r, n, o) {\n var i,\n c,\n u,\n f = 0,\n p = o || [],\n y = !1,\n G = {\n p: 0,\n n: 0,\n v: e,\n a: d,\n f: d.bind(e, 4),\n d: function d(t, r) {\n return i = t, c = 0, u = e, G.n = r, a;\n }\n };\n function d(r, n) {\n for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {\n var o,\n i = p[t],\n d = G.p,\n l = i[2];\n r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));\n }\n if (o || r > 1) return a;\n throw y = !0, n;\n }\n return function (o, p, l) {\n if (f > 1) throw TypeError(\"Generator is already running\");\n for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {\n i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);\n try {\n if (f = 2, i) {\n if (c || (o = \"next\"), t = i[o]) {\n if (!(t = t.call(i, u))) throw TypeError(\"iterator result is not an object\");\n if (!t.done) return t;\n u = t.value, c < 2 && (c = 0);\n } else 1 === c && (t = i[\"return\"]) && t.call(i), c < 2 && (u = TypeError(\"The iterator does not provide a '\" + o + \"' method\"), c = 1);\n i = e;\n } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;\n } catch (t) {\n i = e, c = 1, u = t;\n } finally {\n f = 1;\n }\n }\n return {\n value: t,\n done: y\n };\n };\n }(r, o, i), !0), u;\n }\n var a = {};\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n t = Object.getPrototypeOf;\n var c = [][n] ? t(t([][n]())) : (regeneratorDefine(t = {}, n, function () {\n return this;\n }), t),\n u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);\n function f(e) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, regeneratorDefine(e, o, \"GeneratorFunction\")), e.prototype = Object.create(u), e;\n }\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, regeneratorDefine(u, \"constructor\", GeneratorFunctionPrototype), regeneratorDefine(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction), GeneratorFunction.displayName = \"GeneratorFunction\", regeneratorDefine(GeneratorFunctionPrototype, o, \"GeneratorFunction\"), regeneratorDefine(u), regeneratorDefine(u, o, \"Generator\"), regeneratorDefine(u, n, function () {\n return this;\n }), regeneratorDefine(u, \"toString\", function () {\n return \"[object Generator]\";\n }), (module.exports = _regenerator = function _regenerator() {\n return {\n w: i,\n m: f\n };\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports)();\n}\nmodule.exports = _regenerator, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://restaf/../../../node_modules/@babel/runtime/helpers/regenerator.js?\n}");
182
+
183
+ /***/ },
184
+
185
+ /***/ "../../../node_modules/@babel/runtime/helpers/regeneratorAsync.js"
186
+ /*!************************************************************************!*\
187
+ !*** ../../../node_modules/@babel/runtime/helpers/regeneratorAsync.js ***!
188
+ \************************************************************************/
189
+ (module, __unused_webpack_exports, __webpack_require__) {
190
+
191
+ eval("{var regeneratorAsyncGen = __webpack_require__(/*! ./regeneratorAsyncGen.js */ \"../../../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js\");\nfunction _regeneratorAsync(n, e, r, t, o) {\n var a = regeneratorAsyncGen(n, e, r, t, o);\n return a.next().then(function (n) {\n return n.done ? n.value : a.next();\n });\n}\nmodule.exports = _regeneratorAsync, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://restaf/../../../node_modules/@babel/runtime/helpers/regeneratorAsync.js?\n}");
192
+
193
+ /***/ },
194
+
195
+ /***/ "../../../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js"
196
+ /*!***************************************************************************!*\
197
+ !*** ../../../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js ***!
198
+ \***************************************************************************/
199
+ (module, __unused_webpack_exports, __webpack_require__) {
200
+
201
+ eval("{var regenerator = __webpack_require__(/*! ./regenerator.js */ \"../../../node_modules/@babel/runtime/helpers/regenerator.js\");\nvar regeneratorAsyncIterator = __webpack_require__(/*! ./regeneratorAsyncIterator.js */ \"../../../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js\");\nfunction _regeneratorAsyncGen(r, e, t, o, n) {\n return new regeneratorAsyncIterator(regenerator().w(r, e, t, o), n || Promise);\n}\nmodule.exports = _regeneratorAsyncGen, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://restaf/../../../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js?\n}");
202
+
203
+ /***/ },
204
+
205
+ /***/ "../../../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js"
206
+ /*!********************************************************************************!*\
207
+ !*** ../../../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js ***!
208
+ \********************************************************************************/
209
+ (module, __unused_webpack_exports, __webpack_require__) {
210
+
211
+ eval("{var OverloadYield = __webpack_require__(/*! ./OverloadYield.js */ \"../../../node_modules/@babel/runtime/helpers/OverloadYield.js\");\nvar regeneratorDefine = __webpack_require__(/*! ./regeneratorDefine.js */ \"../../../node_modules/@babel/runtime/helpers/regeneratorDefine.js\");\nfunction AsyncIterator(t, e) {\n function n(r, o, i, f) {\n try {\n var c = t[r](o),\n u = c.value;\n return u instanceof OverloadYield ? e.resolve(u.v).then(function (t) {\n n(\"next\", t, i, f);\n }, function (t) {\n n(\"throw\", t, i, f);\n }) : e.resolve(u).then(function (t) {\n c.value = t, i(c);\n }, function (t) {\n return n(\"throw\", t, i, f);\n });\n } catch (t) {\n f(t);\n }\n }\n var r;\n this.next || (regeneratorDefine(AsyncIterator.prototype), regeneratorDefine(AsyncIterator.prototype, \"function\" == typeof Symbol && Symbol.asyncIterator || \"@asyncIterator\", function () {\n return this;\n })), regeneratorDefine(this, \"_invoke\", function (t, o, i) {\n function f() {\n return new e(function (e, r) {\n n(t, i, e, r);\n });\n }\n return r = r ? r.then(f, f) : f();\n }, !0);\n}\nmodule.exports = AsyncIterator, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://restaf/../../../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js?\n}");
212
+
213
+ /***/ },
214
+
215
+ /***/ "../../../node_modules/@babel/runtime/helpers/regeneratorDefine.js"
216
+ /*!*************************************************************************!*\
217
+ !*** ../../../node_modules/@babel/runtime/helpers/regeneratorDefine.js ***!
218
+ \*************************************************************************/
219
+ (module) {
220
+
221
+ eval("{function _regeneratorDefine(e, r, n, t) {\n var i = Object.defineProperty;\n try {\n i({}, \"\", {});\n } catch (e) {\n i = 0;\n }\n module.exports = _regeneratorDefine = function regeneratorDefine(e, r, n, t) {\n function o(r, n) {\n _regeneratorDefine(e, r, function (e) {\n return this._invoke(r, n, e);\n });\n }\n r ? i ? i(e, r, {\n value: n,\n enumerable: !t,\n configurable: !t,\n writable: !t\n }) : e[r] = n : (o(\"next\", 0), o(\"throw\", 1), o(\"return\", 2));\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _regeneratorDefine(e, r, n, t);\n}\nmodule.exports = _regeneratorDefine, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://restaf/../../../node_modules/@babel/runtime/helpers/regeneratorDefine.js?\n}");
222
+
223
+ /***/ },
224
+
225
+ /***/ "../../../node_modules/@babel/runtime/helpers/regeneratorKeys.js"
226
+ /*!***********************************************************************!*\
227
+ !*** ../../../node_modules/@babel/runtime/helpers/regeneratorKeys.js ***!
228
+ \***********************************************************************/
229
+ (module) {
230
+
231
+ eval("{function _regeneratorKeys(e) {\n var n = Object(e),\n r = [];\n for (var t in n) r.unshift(t);\n return function e() {\n for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = !1, e;\n return e.done = !0, e;\n };\n}\nmodule.exports = _regeneratorKeys, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://restaf/../../../node_modules/@babel/runtime/helpers/regeneratorKeys.js?\n}");
232
+
233
+ /***/ },
234
+
235
+ /***/ "../../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js"
236
+ /*!**************************************************************************!*\
237
+ !*** ../../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
238
+ \**************************************************************************/
239
+ (module, __unused_webpack_exports, __webpack_require__) {
240
+
241
+ eval("{var OverloadYield = __webpack_require__(/*! ./OverloadYield.js */ \"../../../node_modules/@babel/runtime/helpers/OverloadYield.js\");\nvar regenerator = __webpack_require__(/*! ./regenerator.js */ \"../../../node_modules/@babel/runtime/helpers/regenerator.js\");\nvar regeneratorAsync = __webpack_require__(/*! ./regeneratorAsync.js */ \"../../../node_modules/@babel/runtime/helpers/regeneratorAsync.js\");\nvar regeneratorAsyncGen = __webpack_require__(/*! ./regeneratorAsyncGen.js */ \"../../../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js\");\nvar regeneratorAsyncIterator = __webpack_require__(/*! ./regeneratorAsyncIterator.js */ \"../../../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js\");\nvar regeneratorKeys = __webpack_require__(/*! ./regeneratorKeys.js */ \"../../../node_modules/@babel/runtime/helpers/regeneratorKeys.js\");\nvar regeneratorValues = __webpack_require__(/*! ./regeneratorValues.js */ \"../../../node_modules/@babel/runtime/helpers/regeneratorValues.js\");\nfunction _regeneratorRuntime() {\n \"use strict\";\n\n var r = regenerator(),\n e = r.m(_regeneratorRuntime),\n t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor;\n function n(r) {\n var e = \"function\" == typeof r && r.constructor;\n return !!e && (e === t || \"GeneratorFunction\" === (e.displayName || e.name));\n }\n var o = {\n \"throw\": 1,\n \"return\": 2,\n \"break\": 3,\n \"continue\": 3\n };\n function a(r) {\n var e, t;\n return function (n) {\n e || (e = {\n stop: function stop() {\n return t(n.a, 2);\n },\n \"catch\": function _catch() {\n return n.v;\n },\n abrupt: function abrupt(r, e) {\n return t(n.a, o[r], e);\n },\n delegateYield: function delegateYield(r, o, a) {\n return e.resultName = o, t(n.d, regeneratorValues(r), a);\n },\n finish: function finish(r) {\n return t(n.f, r);\n }\n }, t = function t(r, _t, o) {\n n.p = e.prev, n.n = e.next;\n try {\n return r(_t, o);\n } finally {\n e.next = n.n;\n }\n }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n;\n try {\n return r.call(this, e);\n } finally {\n n.p = e.prev, n.n = e.next;\n }\n };\n }\n return (module.exports = _regeneratorRuntime = function _regeneratorRuntime() {\n return {\n wrap: function wrap(e, t, n, o) {\n return r.w(a(e), t, n, o && o.reverse());\n },\n isGeneratorFunction: n,\n mark: r.m,\n awrap: function awrap(r, e) {\n return new OverloadYield(r, e);\n },\n AsyncIterator: regeneratorAsyncIterator,\n async: function async(r, e, t, o, u) {\n return (n(e) ? regeneratorAsyncGen : regeneratorAsync)(a(r), e, t, o, u);\n },\n keys: regeneratorKeys,\n values: regeneratorValues\n };\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports)();\n}\nmodule.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://restaf/../../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js?\n}");
242
+
243
+ /***/ },
244
+
245
+ /***/ "../../../node_modules/@babel/runtime/helpers/regeneratorValues.js"
246
+ /*!*************************************************************************!*\
247
+ !*** ../../../node_modules/@babel/runtime/helpers/regeneratorValues.js ***!
248
+ \*************************************************************************/
249
+ (module, __unused_webpack_exports, __webpack_require__) {
250
+
251
+ eval("{var _typeof = (__webpack_require__(/*! ./typeof.js */ \"../../../node_modules/@babel/runtime/helpers/typeof.js\")[\"default\"]);\nfunction _regeneratorValues(e) {\n if (null != e) {\n var t = e[\"function\" == typeof Symbol && Symbol.iterator || \"@@iterator\"],\n r = 0;\n if (t) return t.call(e);\n if (\"function\" == typeof e.next) return e;\n if (!isNaN(e.length)) return {\n next: function next() {\n return e && r >= e.length && (e = void 0), {\n value: e && e[r++],\n done: !e\n };\n }\n };\n }\n throw new TypeError(_typeof(e) + \" is not iterable\");\n}\nmodule.exports = _regeneratorValues, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://restaf/../../../node_modules/@babel/runtime/helpers/regeneratorValues.js?\n}");
252
+
253
+ /***/ },
254
+
255
+ /***/ "../../../node_modules/@babel/runtime/helpers/typeof.js"
256
+ /*!**************************************************************!*\
257
+ !*** ../../../node_modules/@babel/runtime/helpers/typeof.js ***!
258
+ \**************************************************************/
259
+ (module) {
260
+
261
+ 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://restaf/../../../node_modules/@babel/runtime/helpers/typeof.js?\n}");
262
+
263
+ /***/ },
264
+
265
+ /***/ "../../../node_modules/@babel/runtime/regenerator/index.js"
266
+ /*!*****************************************************************!*\
267
+ !*** ../../../node_modules/@babel/runtime/regenerator/index.js ***!
268
+ \*****************************************************************/
269
+ (module, __unused_webpack_exports, __webpack_require__) {
270
+
271
+ eval("{// TODO(Babel 8): Remove this file.\n\nvar runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ \"../../../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://restaf/../../../node_modules/@babel/runtime/regenerator/index.js?\n}");
272
+
273
+ /***/ },
274
+
275
+ /***/ "../../../node_modules/@redux-saga/core/dist/io-e3db6b7a.development.esm.js"
276
+ /*!**********************************************************************************!*\
277
+ !*** ../../../node_modules/@redux-saga/core/dist/io-e3db6b7a.development.esm.js ***!
278
+ \**********************************************************************************/
279
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
280
+
281
+ "use strict";
282
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ $: () => (/* binding */ all),\n/* harmony export */ A: () => (/* binding */ ALL),\n/* harmony export */ B: () => (/* binding */ compose),\n/* harmony export */ C: () => (/* binding */ CALL),\n/* harmony export */ D: () => (/* binding */ logError),\n/* harmony export */ E: () => (/* binding */ wrapSagaDispatch),\n/* harmony export */ F: () => (/* binding */ FORK),\n/* harmony export */ G: () => (/* binding */ GET_CONTEXT),\n/* harmony export */ H: () => (/* binding */ identity),\n/* harmony export */ J: () => (/* binding */ JOIN),\n/* harmony export */ L: () => (/* binding */ take),\n/* harmony export */ M: () => (/* binding */ fork),\n/* harmony export */ N: () => (/* binding */ cancel),\n/* harmony export */ O: () => (/* binding */ call),\n/* harmony export */ P: () => (/* binding */ PUT),\n/* harmony export */ Q: () => (/* binding */ delay),\n/* harmony export */ R: () => (/* binding */ RACE),\n/* harmony export */ S: () => (/* binding */ SELECT),\n/* harmony export */ T: () => (/* binding */ TAKE),\n/* harmony export */ U: () => (/* binding */ actionChannel),\n/* harmony export */ V: () => (/* binding */ sliding),\n/* harmony export */ W: () => (/* binding */ race),\n/* harmony export */ Z: () => (/* binding */ put),\n/* harmony export */ a: () => (/* binding */ CPS),\n/* harmony export */ a2: () => (/* binding */ spawn),\n/* harmony export */ a4: () => (/* binding */ select),\n/* harmony export */ b: () => (/* binding */ CANCEL),\n/* harmony export */ c: () => (/* binding */ check),\n/* harmony export */ d: () => (/* binding */ ACTION_CHANNEL),\n/* harmony export */ e: () => (/* binding */ expanding),\n/* harmony export */ f: () => (/* binding */ CANCELLED),\n/* harmony export */ g: () => (/* binding */ FLUSH),\n/* harmony export */ h: () => (/* binding */ SET_CONTEXT),\n/* harmony export */ i: () => (/* binding */ internalErr),\n/* harmony export */ j: () => (/* binding */ getMetaInfo),\n/* harmony export */ k: () => (/* binding */ kTrue),\n/* harmony export */ l: () => (/* binding */ createAllStyleChildCallbacks),\n/* harmony export */ m: () => (/* binding */ createEmptyArray),\n/* harmony export */ n: () => (/* binding */ none),\n/* harmony export */ o: () => (/* binding */ once),\n/* harmony export */ p: () => (/* binding */ assignWithSymbols),\n/* harmony export */ q: () => (/* binding */ makeIterator),\n/* harmony export */ r: () => (/* binding */ remove),\n/* harmony export */ s: () => (/* binding */ noop),\n/* harmony export */ t: () => (/* binding */ shouldComplete),\n/* harmony export */ u: () => (/* binding */ getLocation),\n/* harmony export */ v: () => (/* binding */ flatMap),\n/* harmony export */ w: () => (/* binding */ createSetContextWarning),\n/* harmony export */ x: () => (/* binding */ asyncIteratorSymbol),\n/* harmony export */ y: () => (/* binding */ shouldCancel),\n/* harmony export */ z: () => (/* binding */ shouldTerminate)\n/* harmony export */ });\n/* unused harmony exports I, K, X, Y, _, a0, a1, a3, a5, a6, a7, a8 */\n/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ \"../../../node_modules/@babel/runtime/helpers/esm/extends.js\");\n/* harmony import */ var _redux_saga_delay_p__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @redux-saga/delay-p */ \"../../../node_modules/@redux-saga/delay-p/dist/redux-saga-delay-p.development.esm.js\");\n/* harmony import */ var _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @redux-saga/is */ \"../../../node_modules/@redux-saga/is/dist/redux-saga-is.esm.js\");\n/* harmony import */ var _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @redux-saga/symbols */ \"../../../node_modules/@redux-saga/symbols/dist/redux-saga-symbols.esm.js\");\n\n\n\n\n\nvar konst = function konst(v) {\n return function () {\n return v;\n };\n};\nvar kTrue = /*#__PURE__*/konst(true);\nvar noop = function noop() {};\nif (typeof Proxy !== 'undefined') {\n noop = /*#__PURE__*/new Proxy(noop, {\n set: function set() {\n throw internalErr('There was an attempt to assign a property to internal `noop` function.');\n }\n });\n}\nvar identity = function identity(v) {\n return v;\n};\nvar hasSymbol = typeof Symbol === 'function';\nvar asyncIteratorSymbol = hasSymbol && Symbol.asyncIterator ? Symbol.asyncIterator : '@@asyncIterator';\nfunction check(value, predicate, error) {\n if (!predicate(value)) {\n throw new Error(error);\n }\n}\nvar assignWithSymbols = function assignWithSymbols(target, source) {\n (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(target, source);\n if (Object.getOwnPropertySymbols) {\n Object.getOwnPropertySymbols(source).forEach(function (s) {\n target[s] = source[s];\n });\n }\n};\nvar flatMap = function flatMap(mapper, arr) {\n var _ref;\n return (_ref = []).concat.apply(_ref, arr.map(mapper));\n};\nfunction remove(array, item) {\n var index = array.indexOf(item);\n if (index >= 0) {\n array.splice(index, 1);\n }\n}\nfunction once(fn) {\n var called = false;\n return function () {\n if (called) {\n return;\n }\n called = true;\n fn();\n };\n}\nvar kThrow = function kThrow(err) {\n throw err;\n};\nvar kReturn = function kReturn(value) {\n return {\n value: value,\n done: true\n };\n};\nfunction makeIterator(next, thro, name) {\n if (thro === void 0) {\n thro = kThrow;\n }\n if (name === void 0) {\n name = 'iterator';\n }\n var iterator = {\n meta: {\n name: name\n },\n next: next,\n throw: thro,\n return: kReturn,\n isSagaIterator: true\n };\n if (typeof Symbol !== 'undefined') {\n iterator[Symbol.iterator] = function () {\n return iterator;\n };\n }\n return iterator;\n}\nfunction logError(error, _ref2) {\n var sagaStack = _ref2.sagaStack;\n /*eslint-disable no-console*/\n console.error(error);\n console.error(sagaStack);\n}\nvar internalErr = function internalErr(err) {\n return new Error(\"\\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\\n Error: \" + err + \"\\n\");\n};\nvar createSetContextWarning = function createSetContextWarning(ctx, props) {\n return (ctx ? ctx + '.' : '') + \"setContext(props): argument \" + props + \" is not a plain object\";\n};\nvar FROZEN_ACTION_ERROR = \"You can't put (a.k.a. dispatch from saga) frozen actions.\\nWe have to define a special non-enumerable property on those actions for scheduling purposes.\\nOtherwise you wouldn't be able to communicate properly between sagas & other subscribers (action ordering would become far less predictable).\\nIf you are using redux and you care about this behaviour (frozen actions),\\nthen you might want to switch to freezing actions in a middleware rather than in action creator.\\nExample implementation:\\n\\nconst freezeActions = store => next => action => next(Object.freeze(action))\\n\";\n\n// creates empty, but not-holey array\nvar createEmptyArray = function createEmptyArray(n) {\n return Array.apply(null, new Array(n));\n};\nvar wrapSagaDispatch = function wrapSagaDispatch(dispatch) {\n return function (action) {\n {\n check(action, function (ac) {\n return !Object.isFrozen(ac);\n }, FROZEN_ACTION_ERROR);\n }\n return dispatch(Object.defineProperty(action, _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_3__.SAGA_ACTION, {\n value: true\n }));\n };\n};\nvar shouldTerminate = function shouldTerminate(res) {\n return res === _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_3__.TERMINATE;\n};\nvar shouldCancel = function shouldCancel(res) {\n return res === _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_3__.TASK_CANCEL;\n};\nvar shouldComplete = function shouldComplete(res) {\n return shouldTerminate(res) || shouldCancel(res);\n};\nfunction createAllStyleChildCallbacks(shape, parentCallback) {\n var keys = Object.keys(shape);\n var totalCount = keys.length;\n {\n check(totalCount, function (c) {\n return c > 0;\n }, 'createAllStyleChildCallbacks: get an empty array or object');\n }\n var completedCount = 0;\n var completed;\n var results = _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.array(shape) ? createEmptyArray(totalCount) : {};\n var childCallbacks = {};\n function checkEnd() {\n if (completedCount === totalCount) {\n completed = true;\n parentCallback(results);\n }\n }\n keys.forEach(function (key) {\n var chCbAtKey = function chCbAtKey(res, isErr) {\n if (completed) {\n return;\n }\n if (isErr || shouldComplete(res)) {\n parentCallback.cancel();\n parentCallback(res, isErr);\n } else {\n results[key] = res;\n completedCount++;\n checkEnd();\n }\n };\n chCbAtKey.cancel = noop;\n childCallbacks[key] = chCbAtKey;\n });\n parentCallback.cancel = function () {\n if (!completed) {\n completed = true;\n keys.forEach(function (key) {\n return childCallbacks[key].cancel();\n });\n }\n };\n return childCallbacks;\n}\nfunction getMetaInfo(fn) {\n return {\n name: fn.name || 'anonymous',\n location: getLocation(fn)\n };\n}\nfunction getLocation(instrumented) {\n return instrumented[_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_3__.SAGA_LOCATION];\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\nvar BUFFER_OVERFLOW = \"Channel's Buffer overflow!\";\nvar ON_OVERFLOW_THROW = 1;\nvar ON_OVERFLOW_DROP = 2;\nvar ON_OVERFLOW_SLIDE = 3;\nvar ON_OVERFLOW_EXPAND = 4;\nvar zeroBuffer = {\n isEmpty: kTrue,\n put: noop,\n take: noop\n};\nfunction ringBuffer(limit, overflowAction) {\n if (limit === void 0) {\n limit = 10;\n }\n var arr = new Array(limit);\n var length = 0;\n var pushIndex = 0;\n var popIndex = 0;\n var push = function push(it) {\n arr[pushIndex] = it;\n pushIndex = (pushIndex + 1) % limit;\n length++;\n };\n var take = function take() {\n if (length != 0) {\n var it = arr[popIndex];\n arr[popIndex] = null;\n length--;\n popIndex = (popIndex + 1) % limit;\n return it;\n }\n };\n var flush = function flush() {\n var items = [];\n while (length) {\n items.push(take());\n }\n return items;\n };\n return {\n isEmpty: function isEmpty() {\n return length == 0;\n },\n put: function put(it) {\n if (length < limit) {\n push(it);\n } else {\n var doubledLimit;\n switch (overflowAction) {\n case ON_OVERFLOW_THROW:\n throw new Error(BUFFER_OVERFLOW);\n case ON_OVERFLOW_SLIDE:\n arr[pushIndex] = it;\n pushIndex = (pushIndex + 1) % limit;\n popIndex = pushIndex;\n break;\n case ON_OVERFLOW_EXPAND:\n doubledLimit = 2 * limit;\n arr = flush();\n length = arr.length;\n pushIndex = arr.length;\n popIndex = 0;\n arr.length = doubledLimit;\n limit = doubledLimit;\n push(it);\n break;\n // DROP\n }\n }\n },\n take: take,\n flush: flush\n };\n}\nvar none = function none() {\n return zeroBuffer;\n};\nvar fixed = function fixed(limit) {\n return ringBuffer(limit, ON_OVERFLOW_THROW);\n};\nvar dropping = function dropping(limit) {\n return ringBuffer(limit, ON_OVERFLOW_DROP);\n};\nvar sliding = function sliding(limit) {\n return ringBuffer(limit, ON_OVERFLOW_SLIDE);\n};\nvar expanding = function expanding(initialSize) {\n return ringBuffer(initialSize, ON_OVERFLOW_EXPAND);\n};\n\nvar buffers = /*#__PURE__*/Object.freeze({\n __proto__: null,\n none: none,\n fixed: fixed,\n dropping: dropping,\n sliding: sliding,\n expanding: expanding\n});\n\nvar TAKE = 'TAKE';\nvar PUT = 'PUT';\nvar ALL = 'ALL';\nvar RACE = 'RACE';\nvar CALL = 'CALL';\nvar CPS = 'CPS';\nvar FORK = 'FORK';\nvar JOIN = 'JOIN';\nvar CANCEL = 'CANCEL';\nvar SELECT = 'SELECT';\nvar ACTION_CHANNEL = 'ACTION_CHANNEL';\nvar CANCELLED = 'CANCELLED';\nvar FLUSH = 'FLUSH';\nvar GET_CONTEXT = 'GET_CONTEXT';\nvar SET_CONTEXT = 'SET_CONTEXT';\n\nvar effectTypes = /*#__PURE__*/Object.freeze({\n __proto__: null,\n TAKE: TAKE,\n PUT: PUT,\n ALL: ALL,\n RACE: RACE,\n CALL: CALL,\n CPS: CPS,\n FORK: FORK,\n JOIN: JOIN,\n CANCEL: CANCEL,\n SELECT: SELECT,\n ACTION_CHANNEL: ACTION_CHANNEL,\n CANCELLED: CANCELLED,\n FLUSH: FLUSH,\n GET_CONTEXT: GET_CONTEXT,\n SET_CONTEXT: SET_CONTEXT\n});\n\nvar TEST_HINT = '\\n(HINT: if you are getting these errors in tests, consider using createMockTask from @redux-saga/testing-utils)';\nvar makeEffect = function makeEffect(type, payload) {\n var _ref;\n return _ref = {}, _ref[_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_3__.IO] = true, _ref.combinator = false, _ref.type = type, _ref.payload = payload, _ref;\n};\nvar isForkEffect = function isForkEffect(eff) {\n return _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.effect(eff) && eff.type === FORK;\n};\nvar detach = function detach(eff) {\n {\n check(eff, isForkEffect, 'detach(eff): argument must be a fork effect');\n }\n return makeEffect(FORK, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, eff.payload, {\n detached: true\n }));\n};\nfunction take(patternOrChannel, multicastPattern) {\n if (patternOrChannel === void 0) {\n patternOrChannel = '*';\n }\n if (arguments.length) {\n check(arguments[0], _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.notUndef, 'take(patternOrChannel): patternOrChannel is undefined');\n }\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.pattern(patternOrChannel)) {\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.notUndef(multicastPattern)) {\n /* eslint-disable no-console */\n console.warn(\"take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types\");\n }\n return makeEffect(TAKE, {\n pattern: patternOrChannel\n });\n }\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.multicast(patternOrChannel) && _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.notUndef(multicastPattern) && _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.pattern(multicastPattern)) {\n return makeEffect(TAKE, {\n channel: patternOrChannel,\n pattern: multicastPattern\n });\n }\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.channel(patternOrChannel)) {\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.notUndef(multicastPattern)) {\n /* eslint-disable no-console */\n console.warn(\"take(channel) takes one argument but two were provided. Second argument is ignored.\");\n }\n return makeEffect(TAKE, {\n channel: patternOrChannel\n });\n }\n {\n throw new Error(\"take(patternOrChannel): argument \" + patternOrChannel + \" is not valid channel or a valid pattern\");\n }\n}\nvar takeMaybe = function takeMaybe() {\n var eff = take.apply(void 0, arguments);\n eff.payload.maybe = true;\n return eff;\n};\nfunction put(channel, action) {\n {\n if (arguments.length > 1) {\n check(channel, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.notUndef, 'put(channel, action): argument channel is undefined');\n check(channel, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.channel, \"put(channel, action): argument \" + channel + \" is not a valid channel\");\n check(action, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.notUndef, 'put(channel, action): argument action is undefined');\n } else {\n check(channel, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.notUndef, 'put(action): argument action is undefined');\n }\n }\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.undef(action)) {\n action = channel;\n // `undefined` instead of `null` to make default parameter work\n channel = undefined;\n }\n return makeEffect(PUT, {\n channel: channel,\n action: action\n });\n}\nvar putResolve = function putResolve() {\n var eff = put.apply(void 0, arguments);\n eff.payload.resolve = true;\n return eff;\n};\nfunction all(effects) {\n var eff = makeEffect(ALL, effects);\n eff.combinator = true;\n return eff;\n}\nfunction race(effects) {\n var eff = makeEffect(RACE, effects);\n eff.combinator = true;\n return eff;\n}\n\n// this match getFnCallDescriptor logic\nvar validateFnDescriptor = function validateFnDescriptor(effectName, fnDescriptor) {\n check(fnDescriptor, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.notUndef, effectName + \": argument fn is undefined or null\");\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.func(fnDescriptor)) {\n return;\n }\n var context = null;\n var fn;\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.array(fnDescriptor)) {\n context = fnDescriptor[0];\n fn = fnDescriptor[1];\n check(fn, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.notUndef, effectName + \": argument of type [context, fn] has undefined or null `fn`\");\n } else if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.object(fnDescriptor)) {\n context = fnDescriptor.context;\n fn = fnDescriptor.fn;\n check(fn, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.notUndef, effectName + \": argument of type {context, fn} has undefined or null `fn`\");\n } else {\n check(fnDescriptor, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.func, effectName + \": argument fn is not function\");\n return;\n }\n if (context && _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.string(fn)) {\n check(context[fn], _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.func, effectName + \": context arguments has no such method - \\\"\" + fn + \"\\\"\");\n return;\n }\n check(fn, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.func, effectName + \": unpacked fn argument (from [context, fn] or {context, fn}) is not a function\");\n};\nfunction getFnCallDescriptor(fnDescriptor, args) {\n var context = null;\n var fn;\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.func(fnDescriptor)) {\n fn = fnDescriptor;\n } else {\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.array(fnDescriptor)) {\n context = fnDescriptor[0];\n fn = fnDescriptor[1];\n } else {\n context = fnDescriptor.context;\n fn = fnDescriptor.fn;\n }\n if (context && _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.string(fn) && _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.func(context[fn])) {\n fn = context[fn];\n }\n }\n return {\n context: context,\n fn: fn,\n args: args\n };\n}\nvar isNotDelayEffect = function isNotDelayEffect(fn) {\n return fn !== delay;\n};\nfunction call(fnDescriptor) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n {\n var arg0 = typeof args[0] === 'number' ? args[0] : 'ms';\n check(fnDescriptor, isNotDelayEffect, \"instead of writing `yield call(delay, \" + arg0 + \")` where delay is an effect from `redux-saga/effects` you should write `yield delay(\" + arg0 + \")`\");\n validateFnDescriptor('call', fnDescriptor);\n }\n return makeEffect(CALL, getFnCallDescriptor(fnDescriptor, args));\n}\nfunction apply(context, fn, args) {\n if (args === void 0) {\n args = [];\n }\n var fnDescriptor = [context, fn];\n {\n validateFnDescriptor('apply', fnDescriptor);\n }\n return makeEffect(CALL, getFnCallDescriptor([context, fn], args));\n}\nfunction cps(fnDescriptor) {\n {\n validateFnDescriptor('cps', fnDescriptor);\n }\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n return makeEffect(CPS, getFnCallDescriptor(fnDescriptor, args));\n}\nfunction fork(fnDescriptor) {\n {\n validateFnDescriptor('fork', fnDescriptor);\n check(fnDescriptor, function (arg) {\n return !_redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.effect(arg);\n }, 'fork: argument must not be an effect');\n }\n for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n args[_key3 - 1] = arguments[_key3];\n }\n return makeEffect(FORK, getFnCallDescriptor(fnDescriptor, args));\n}\nfunction spawn(fnDescriptor) {\n {\n validateFnDescriptor('spawn', fnDescriptor);\n }\n for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {\n args[_key4 - 1] = arguments[_key4];\n }\n return detach(fork.apply(void 0, [fnDescriptor].concat(args)));\n}\nfunction join(taskOrTasks) {\n {\n if (arguments.length > 1) {\n throw new Error('join(...tasks) is not supported any more. Please use join([...tasks]) to join multiple tasks.');\n }\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.array(taskOrTasks)) {\n taskOrTasks.forEach(function (t) {\n check(t, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.task, \"join([...tasks]): argument \" + t + \" is not a valid Task object \" + TEST_HINT);\n });\n } else {\n check(taskOrTasks, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.task, \"join(task): argument \" + taskOrTasks + \" is not a valid Task object \" + TEST_HINT);\n }\n }\n return makeEffect(JOIN, taskOrTasks);\n}\nfunction cancel(taskOrTasks) {\n if (taskOrTasks === void 0) {\n taskOrTasks = _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_3__.SELF_CANCELLATION;\n }\n {\n if (arguments.length > 1) {\n throw new Error('cancel(...tasks) is not supported any more. Please use cancel([...tasks]) to cancel multiple tasks.');\n }\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.array(taskOrTasks)) {\n taskOrTasks.forEach(function (t) {\n check(t, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.task, \"cancel([...tasks]): argument \" + t + \" is not a valid Task object \" + TEST_HINT);\n });\n } else if (taskOrTasks !== _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_3__.SELF_CANCELLATION && _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.notUndef(taskOrTasks)) {\n check(taskOrTasks, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.task, \"cancel(task): argument \" + taskOrTasks + \" is not a valid Task object \" + TEST_HINT);\n }\n }\n return makeEffect(CANCEL, taskOrTasks);\n}\nfunction select(selector) {\n if (selector === void 0) {\n selector = identity;\n }\n for (var _len5 = arguments.length, args = new Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) {\n args[_key5 - 1] = arguments[_key5];\n }\n if (arguments.length) {\n check(arguments[0], _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.notUndef, 'select(selector, [...]): argument selector is undefined');\n check(selector, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.func, \"select(selector, [...]): argument \" + selector + \" is not a function\");\n }\n return makeEffect(SELECT, {\n selector: selector,\n args: args\n });\n}\n\n/**\n channel(pattern, [buffer]) => creates a proxy channel for store actions\n**/\nfunction actionChannel(pattern, buffer) {\n {\n check(pattern, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.pattern, 'actionChannel(pattern,...): argument pattern is not valid');\n if (arguments.length > 1) {\n check(buffer, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.notUndef, 'actionChannel(pattern, buffer): argument buffer is undefined');\n check(buffer, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.buffer, \"actionChannel(pattern, buffer): argument \" + buffer + \" is not a valid buffer\");\n }\n }\n return makeEffect(ACTION_CHANNEL, {\n pattern: pattern,\n buffer: buffer\n });\n}\nfunction cancelled() {\n return makeEffect(CANCELLED, {});\n}\nfunction flush(channel) {\n {\n check(channel, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.channel, \"flush(channel): argument \" + channel + \" is not valid channel\");\n }\n return makeEffect(FLUSH, channel);\n}\nfunction getContext(prop) {\n {\n check(prop, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.string, \"getContext(prop): argument \" + prop + \" is not a string\");\n }\n return makeEffect(GET_CONTEXT, prop);\n}\nfunction setContext(props) {\n {\n check(props, _redux_saga_is__WEBPACK_IMPORTED_MODULE_2__.object, createSetContextWarning(null, props));\n }\n return makeEffect(SET_CONTEXT, props);\n}\nvar delay = /*#__PURE__*/call.bind(null, _redux_saga_delay_p__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/@redux-saga/core/dist/io-e3db6b7a.development.esm.js?\n}");
283
+
284
+ /***/ },
285
+
286
+ /***/ "../../../node_modules/@redux-saga/core/dist/redux-saga-core.development.esm.js"
287
+ /*!**************************************************************************************!*\
288
+ !*** ../../../node_modules/@redux-saga/core/dist/redux-saga-core.development.esm.js ***!
289
+ \**************************************************************************************/
290
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
291
+
292
+ "use strict";
293
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ END: () => (/* binding */ END),\n/* harmony export */ \"default\": () => (/* binding */ sagaMiddlewareFactory)\n/* harmony export */ });\n/* unused harmony exports channel, eventChannel, isEnd, multicastChannel, runSaga, stdChannel */\n/* harmony import */ var _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @redux-saga/symbols */ \"../../../node_modules/@redux-saga/symbols/dist/redux-saga-symbols.esm.js\");\n/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ \"../../../node_modules/@babel/runtime/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ \"../../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js\");\n/* harmony import */ var _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @redux-saga/is */ \"../../../node_modules/@redux-saga/is/dist/redux-saga-is.esm.js\");\n/* harmony import */ var _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./io-e3db6b7a.development.esm.js */ \"../../../node_modules/@redux-saga/core/dist/io-e3db6b7a.development.esm.js\");\n/* harmony import */ var _redux_saga_deferred__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @redux-saga/deferred */ \"../../../node_modules/@redux-saga/deferred/dist/redux-saga-deferred.esm.js\");\n/* harmony import */ var _redux_saga_delay_p__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @redux-saga/delay-p */ \"../../../node_modules/@redux-saga/delay-p/dist/redux-saga-delay-p.development.esm.js\");\n\n\n\n\n\n\n\n\n\n\nvar queue = [];\n/**\n Variable to hold a counting semaphore\n - Incrementing adds a lock and puts the scheduler in a `suspended` state (if it's not\n already suspended)\n - Decrementing releases a lock. Zero locks puts the scheduler in a `released` state. This\n triggers flushing the queued tasks.\n**/\nvar semaphore = 0;\n\n/**\n Executes a task 'atomically'. Tasks scheduled during this execution will be queued\n and flushed after this task has finished (assuming the scheduler endup in a released\n state).\n**/\nfunction exec(task) {\n try {\n suspend();\n task();\n } finally {\n release();\n }\n}\n\n/**\n Executes or queues a task depending on the state of the scheduler (`suspended` or `released`)\n**/\nfunction asap(task) {\n queue.push(task);\n if (!semaphore) {\n suspend();\n flush();\n }\n}\n\n/**\n * Puts the scheduler in a `suspended` state and executes a task immediately.\n */\nfunction immediately(task) {\n try {\n suspend();\n return task();\n } finally {\n flush();\n }\n}\n\n/**\n Puts the scheduler in a `suspended` state. Scheduled tasks will be queued until the\n scheduler is released.\n**/\nfunction suspend() {\n semaphore++;\n}\n\n/**\n Puts the scheduler in a `released` state.\n**/\nfunction release() {\n semaphore--;\n}\n\n/**\n Releases the current lock. Executes all queued tasks if the scheduler is in the released state.\n**/\nfunction flush() {\n release();\n var task;\n while (!semaphore && (task = queue.shift()) !== undefined) {\n exec(task);\n }\n}\n\nvar array = function array(patterns) {\n return function (input) {\n return patterns.some(function (p) {\n return matcher(p)(input);\n });\n };\n};\nvar predicate = function predicate(_predicate) {\n return function (input) {\n return _predicate(input);\n };\n};\nvar string = function string(pattern) {\n return function (input) {\n return input.type === String(pattern);\n };\n};\nvar symbol = function symbol(pattern) {\n return function (input) {\n return input.type === pattern;\n };\n};\nvar wildcard = function wildcard() {\n return _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.k;\n};\nfunction matcher(pattern) {\n // prettier-ignore\n var matcherCreator = pattern === '*' ? wildcard : _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.string(pattern) ? string : _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.array(pattern) ? array : _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.stringableFunc(pattern) ? string : _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.func(pattern) ? predicate : _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.symbol(pattern) ? symbol : null;\n if (matcherCreator === null) {\n throw new Error(\"invalid pattern: \" + pattern);\n }\n return matcherCreator(pattern);\n}\n\nvar END = {\n type: _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.CHANNEL_END_TYPE\n};\nvar isEnd = function isEnd(a) {\n return a && a.type === _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.CHANNEL_END_TYPE;\n};\nvar CLOSED_CHANNEL_WITH_TAKERS = 'Cannot have a closed channel with pending takers';\nvar INVALID_BUFFER = 'invalid buffer passed to channel factory function';\nvar UNDEFINED_INPUT_ERROR = \"Saga or channel was provided with an undefined action\\nHints:\\n - check that your Action Creator returns a non-undefined value\\n - if the Saga was started using runSaga, check that your subscribe source provides the action to its listeners\";\nfunction channel(buffer) {\n if (buffer === void 0) {\n buffer = (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.e)();\n }\n var closed = false;\n var takers = [];\n {\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(buffer, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.buffer, INVALID_BUFFER);\n }\n function checkForbiddenStates() {\n if (closed && takers.length) {\n throw (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.i)(CLOSED_CHANNEL_WITH_TAKERS);\n }\n if (takers.length && !buffer.isEmpty()) {\n throw (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.i)('Cannot have pending takers with non empty buffer');\n }\n }\n function put(input) {\n {\n checkForbiddenStates();\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(input, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.notUndef, UNDEFINED_INPUT_ERROR);\n }\n if (closed) {\n return;\n }\n if (takers.length === 0) {\n return buffer.put(input);\n }\n var cb = takers.shift();\n cb(input);\n }\n function take(cb) {\n {\n checkForbiddenStates();\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(cb, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.func, \"channel.take's callback must be a function\");\n }\n if (closed && buffer.isEmpty()) {\n cb(END);\n } else if (!buffer.isEmpty()) {\n cb(buffer.take());\n } else {\n takers.push(cb);\n cb.cancel = function () {\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.r)(takers, cb);\n };\n }\n }\n function flush(cb) {\n {\n checkForbiddenStates();\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(cb, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.func, \"channel.flush' callback must be a function\");\n }\n if (closed && buffer.isEmpty()) {\n cb(END);\n return;\n }\n cb(buffer.flush());\n }\n function close() {\n {\n checkForbiddenStates();\n }\n if (closed) {\n return;\n }\n closed = true;\n var arr = takers;\n takers = [];\n for (var i = 0, len = arr.length; i < len; i++) {\n var taker = arr[i];\n taker(END);\n }\n }\n return {\n take: take,\n put: put,\n flush: flush,\n close: close\n };\n}\nfunction eventChannel(subscribe, buffer) {\n if (buffer === void 0) {\n buffer = (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.n)();\n }\n var closed = false;\n var unsubscribe;\n var chan = channel(buffer);\n var close = function close() {\n if (closed) {\n return;\n }\n closed = true;\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.func(unsubscribe)) {\n unsubscribe();\n }\n chan.close();\n };\n unsubscribe = subscribe(function (input) {\n if (isEnd(input)) {\n close();\n return;\n }\n chan.put(input);\n });\n {\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(unsubscribe, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.func, 'in eventChannel: subscribe should return a function to unsubscribe');\n }\n unsubscribe = (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.o)(unsubscribe);\n if (closed) {\n unsubscribe();\n }\n return {\n take: chan.take,\n flush: chan.flush,\n close: close\n };\n}\nfunction multicastChannel() {\n var _ref;\n var closed = false;\n var currentTakers = [];\n var nextTakers = currentTakers;\n function checkForbiddenStates() {\n if (closed && nextTakers.length) {\n throw (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.i)(CLOSED_CHANNEL_WITH_TAKERS);\n }\n }\n var ensureCanMutateNextTakers = function ensureCanMutateNextTakers() {\n if (nextTakers !== currentTakers) {\n return;\n }\n nextTakers = currentTakers.slice();\n };\n var close = function close() {\n {\n checkForbiddenStates();\n }\n closed = true;\n var takers = currentTakers = nextTakers;\n nextTakers = [];\n takers.forEach(function (taker) {\n taker(END);\n });\n };\n return _ref = {}, _ref[_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.MULTICAST] = true, _ref.put = function put(input) {\n {\n checkForbiddenStates();\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(input, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.notUndef, UNDEFINED_INPUT_ERROR);\n }\n if (closed) {\n return;\n }\n if (isEnd(input)) {\n close();\n return;\n }\n var takers = currentTakers = nextTakers;\n for (var i = 0, len = takers.length; i < len; i++) {\n var taker = takers[i];\n if (taker[_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.MATCH](input)) {\n taker.cancel();\n taker(input);\n }\n }\n }, _ref.take = function take(cb, matcher) {\n if (matcher === void 0) {\n matcher = wildcard;\n }\n {\n checkForbiddenStates();\n }\n if (closed) {\n cb(END);\n return;\n }\n cb[_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.MATCH] = matcher;\n ensureCanMutateNextTakers();\n nextTakers.push(cb);\n cb.cancel = (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.o)(function () {\n ensureCanMutateNextTakers();\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.r)(nextTakers, cb);\n });\n }, _ref.close = close, _ref;\n}\nfunction stdChannel() {\n var chan = multicastChannel();\n var put = chan.put;\n chan.put = function (input) {\n if (input[_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.SAGA_ACTION]) {\n put(input);\n return;\n }\n asap(function () {\n put(input);\n });\n };\n return chan;\n}\n\nvar RUNNING = 0;\nvar CANCELLED = 1;\nvar ABORTED = 2;\nvar DONE = 3;\n\nfunction resolvePromise(promise, cb) {\n var cancelPromise = promise[_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.CANCEL];\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.func(cancelPromise)) {\n cb.cancel = cancelPromise;\n }\n promise.then(cb, function (error) {\n cb(error, true);\n });\n}\n\nvar current = 0;\nvar nextSagaId = (function () {\n return ++current;\n});\n\nvar _effectRunnerMap;\nfunction getIteratorMetaInfo(iterator, fn) {\n if (iterator.isSagaIterator) {\n return {\n name: iterator.meta.name\n };\n }\n return (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.j)(fn);\n}\nfunction createTaskIterator(_ref) {\n var context = _ref.context,\n fn = _ref.fn,\n args = _ref.args;\n // catch synchronous failures; see #152 and #441\n try {\n var result = fn.apply(context, args);\n\n // i.e. a generator function returns an iterator\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.iterator(result)) {\n return result;\n }\n var resolved = false;\n var next = function next(arg) {\n if (!resolved) {\n resolved = true;\n // Only promises returned from fork will be interpreted. See #1573\n return {\n value: result,\n done: !_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.promise(result)\n };\n } else {\n return {\n value: arg,\n done: true\n };\n }\n };\n return (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.q)(next);\n } catch (err) {\n // do not bubble up synchronous failures for detached forks\n // instead create a failed task. See #152 and #441\n return (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.q)(function () {\n throw err;\n });\n }\n}\nfunction runPutEffect(env, _ref2, cb) {\n var channel = _ref2.channel,\n action = _ref2.action,\n resolve = _ref2.resolve;\n /**\n Schedule the put in case another saga is holding a lock.\n The put will be executed atomically. ie nested puts will execute after\n this put has terminated.\n **/\n asap(function () {\n var result;\n try {\n result = (channel ? channel.put : env.dispatch)(action);\n } catch (error) {\n cb(error, true);\n return;\n }\n if (resolve && _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.promise(result)) {\n resolvePromise(result, cb);\n } else {\n cb(result);\n }\n });\n // Put effects are non cancellables\n}\nfunction runTakeEffect(env, _ref3, cb) {\n var _ref3$channel = _ref3.channel,\n channel = _ref3$channel === void 0 ? env.channel : _ref3$channel,\n pattern = _ref3.pattern,\n maybe = _ref3.maybe;\n var takeCb = function takeCb(input) {\n if (input instanceof Error) {\n cb(input, true);\n return;\n }\n if (isEnd(input) && !maybe) {\n cb(_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.TERMINATE);\n return;\n }\n cb(input);\n };\n try {\n channel.take(takeCb, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.notUndef(pattern) ? matcher(pattern) : null);\n } catch (err) {\n cb(err, true);\n return;\n }\n cb.cancel = takeCb.cancel;\n}\nfunction runCallEffect(env, _ref4, cb, _ref5) {\n var context = _ref4.context,\n fn = _ref4.fn,\n args = _ref4.args;\n var task = _ref5.task;\n // catch synchronous failures; see #152\n try {\n var result = fn.apply(context, args);\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.promise(result)) {\n resolvePromise(result, cb);\n return;\n }\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.iterator(result)) {\n // resolve iterator\n proc(env, result, task.context, current, (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.j)(fn), /* isRoot */false, cb);\n return;\n }\n cb(result);\n } catch (error) {\n cb(error, true);\n }\n}\nfunction runCPSEffect(env, _ref6, cb) {\n var context = _ref6.context,\n fn = _ref6.fn,\n args = _ref6.args;\n // CPS (ie node style functions) can define their own cancellation logic\n // by setting cancel field on the cb\n\n // catch synchronous failures; see #152\n try {\n var cpsCb = function cpsCb(err, res) {\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.undef(err)) {\n cb(res);\n } else {\n cb(err, true);\n }\n };\n fn.apply(context, args.concat(cpsCb));\n if (cpsCb.cancel) {\n cb.cancel = cpsCb.cancel;\n }\n } catch (error) {\n cb(error, true);\n }\n}\nfunction runForkEffect(env, _ref7, cb, _ref8) {\n var context = _ref7.context,\n fn = _ref7.fn,\n args = _ref7.args,\n detached = _ref7.detached;\n var parent = _ref8.task;\n var taskIterator = createTaskIterator({\n context: context,\n fn: fn,\n args: args\n });\n var meta = getIteratorMetaInfo(taskIterator, fn);\n immediately(function () {\n var child = proc(env, taskIterator, parent.context, current, meta, detached, undefined);\n if (detached) {\n cb(child);\n } else {\n if (child.isRunning()) {\n parent.queue.addTask(child);\n cb(child);\n } else if (child.isAborted()) {\n parent.queue.abort(child.error());\n } else {\n cb(child);\n }\n }\n });\n // Fork effects are non cancellables\n}\nfunction runJoinEffect(env, taskOrTasks, cb, _ref9) {\n var task = _ref9.task;\n var joinSingleTask = function joinSingleTask(taskToJoin, cb) {\n if (taskToJoin.isRunning()) {\n var joiner = {\n task: task,\n cb: cb\n };\n cb.cancel = function () {\n if (taskToJoin.isRunning()) (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.r)(taskToJoin.joiners, joiner);\n };\n taskToJoin.joiners.push(joiner);\n } else {\n if (taskToJoin.isAborted()) {\n cb(taskToJoin.error(), true);\n } else {\n cb(taskToJoin.result());\n }\n }\n };\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.array(taskOrTasks)) {\n if (taskOrTasks.length === 0) {\n cb([]);\n return;\n }\n var childCallbacks = (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.l)(taskOrTasks, cb);\n taskOrTasks.forEach(function (t, i) {\n joinSingleTask(t, childCallbacks[i]);\n });\n } else {\n joinSingleTask(taskOrTasks, cb);\n }\n}\nfunction cancelSingleTask(taskToCancel) {\n if (taskToCancel.isRunning()) {\n taskToCancel.cancel();\n }\n}\nfunction runCancelEffect(env, taskOrTasks, cb, _ref0) {\n var task = _ref0.task;\n if (taskOrTasks === _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.SELF_CANCELLATION) {\n cancelSingleTask(task);\n } else if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.array(taskOrTasks)) {\n taskOrTasks.forEach(cancelSingleTask);\n } else {\n cancelSingleTask(taskOrTasks);\n }\n cb();\n // cancel effects are non cancellables\n}\nfunction runAllEffect(env, effects, cb, _ref1) {\n var digestEffect = _ref1.digestEffect;\n var effectId = current;\n var keys = Object.keys(effects);\n if (keys.length === 0) {\n cb(_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.array(effects) ? [] : {});\n return;\n }\n var childCallbacks = (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.l)(effects, cb);\n keys.forEach(function (key) {\n digestEffect(effects[key], effectId, childCallbacks[key], key);\n });\n}\nfunction runRaceEffect(env, effects, cb, _ref10) {\n var digestEffect = _ref10.digestEffect;\n var effectId = current;\n var keys = Object.keys(effects);\n var response = _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.array(effects) ? (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.m)(keys.length) : {};\n var childCbs = {};\n var completed = false;\n keys.forEach(function (key) {\n var chCbAtKey = function chCbAtKey(res, isErr) {\n if (completed) {\n return;\n }\n if (isErr || (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.t)(res)) {\n // Race Auto cancellation\n cb.cancel();\n cb(res, isErr);\n } else {\n cb.cancel();\n completed = true;\n response[key] = res;\n cb(response);\n }\n };\n chCbAtKey.cancel = _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.s;\n childCbs[key] = chCbAtKey;\n });\n cb.cancel = function () {\n // prevents unnecessary cancellation\n if (!completed) {\n completed = true;\n keys.forEach(function (key) {\n return childCbs[key].cancel();\n });\n }\n };\n keys.forEach(function (key) {\n if (completed) {\n return;\n }\n digestEffect(effects[key], effectId, childCbs[key], key);\n });\n}\nfunction runSelectEffect(env, _ref11, cb) {\n var selector = _ref11.selector,\n args = _ref11.args;\n try {\n var state = selector.apply(void 0, [env.getState()].concat(args));\n cb(state);\n } catch (error) {\n cb(error, true);\n }\n}\nfunction runChannelEffect(env, _ref12, cb) {\n var pattern = _ref12.pattern,\n buffer = _ref12.buffer;\n var chan = channel(buffer);\n var match = matcher(pattern);\n var _taker = function taker(action) {\n if (!isEnd(action)) {\n env.channel.take(_taker, match);\n }\n chan.put(action);\n };\n var close = chan.close;\n chan.close = function () {\n _taker.cancel();\n close();\n };\n env.channel.take(_taker, match);\n cb(chan);\n}\nfunction runCancelledEffect(env, data, cb, _ref13) {\n var task = _ref13.task;\n cb(task.isCancelled());\n}\nfunction runFlushEffect(env, channel, cb) {\n channel.flush(cb);\n}\nfunction runGetContextEffect(env, prop, cb, _ref14) {\n var task = _ref14.task;\n cb(task.context[prop]);\n}\nfunction runSetContextEffect(env, props, cb, _ref15) {\n var task = _ref15.task;\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.p)(task.context, props);\n cb();\n}\nvar effectRunnerMap = (_effectRunnerMap = {}, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.T] = runTakeEffect, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.P] = runPutEffect, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.A] = runAllEffect, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.R] = runRaceEffect, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.C] = runCallEffect, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.a] = runCPSEffect, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.F] = runForkEffect, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.J] = runJoinEffect, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.b] = runCancelEffect, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.S] = runSelectEffect, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.d] = runChannelEffect, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.f] = runCancelledEffect, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.g] = runFlushEffect, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.G] = runGetContextEffect, _effectRunnerMap[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.h] = runSetContextEffect, _effectRunnerMap);\n\n/**\n Used to track a parent task and its forks\n In the fork model, forked tasks are attached by default to their parent\n We model this using the concept of Parent task && main Task\n main task is the main flow of the current Generator, the parent tasks is the\n aggregation of the main tasks + all its forked tasks.\n Thus the whole model represents an execution tree with multiple branches (vs the\n linear execution tree in sequential (non parallel) programming)\n\n A parent tasks has the following semantics\n - It completes if all its forks either complete or all cancelled\n - If it's cancelled, all forks are cancelled as well\n - It aborts if any uncaught error bubbles up from forks\n - If it completes, the return value is the one returned by the main task\n **/\nfunction forkQueue(mainTask, onAbort, cont) {\n var tasks = [];\n var result;\n var completed = false;\n addTask(mainTask);\n var getTasks = function getTasks() {\n return tasks;\n };\n function abort(err) {\n onAbort();\n cancelAll();\n cont(err, true);\n }\n function addTask(task) {\n tasks.push(task);\n task.cont = function (res, isErr) {\n if (completed) {\n return;\n }\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.r)(tasks, task);\n task.cont = _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.s;\n if (isErr) {\n abort(res);\n } else {\n if (task === mainTask) {\n result = res;\n }\n if (!tasks.length) {\n completed = true;\n cont(result);\n }\n }\n };\n }\n function cancelAll() {\n if (completed) {\n return;\n }\n completed = true;\n tasks.forEach(function (t) {\n t.cont = _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.s;\n t.cancel();\n });\n tasks = [];\n }\n return {\n addTask: addTask,\n cancelAll: cancelAll,\n abort: abort,\n getTasks: getTasks\n };\n}\n\n// there can be only a single saga error created at any given moment\nfunction formatLocation(fileName, lineNumber) {\n return fileName + \"?\" + lineNumber;\n}\nfunction effectLocationAsString(effect) {\n var location = (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.u)(effect);\n if (location) {\n var code = location.code,\n fileName = location.fileName,\n lineNumber = location.lineNumber;\n var source = code + \" \" + formatLocation(fileName, lineNumber);\n return source;\n }\n return '';\n}\nfunction sagaLocationAsString(sagaMeta) {\n var name = sagaMeta.name,\n location = sagaMeta.location;\n if (location) {\n return name + \" \" + formatLocation(location.fileName, location.lineNumber);\n }\n return name;\n}\nfunction cancelledTasksAsString(sagaStack) {\n var cancelledTasks = (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.v)(function (i) {\n return i.cancelledTasks;\n }, sagaStack);\n if (!cancelledTasks.length) {\n return '';\n }\n return ['Tasks cancelled due to error:'].concat(cancelledTasks).join('\\n');\n}\nvar crashedEffect = null;\nvar sagaStack = [];\nvar addSagaFrame = function addSagaFrame(frame) {\n frame.crashedEffect = crashedEffect;\n sagaStack.push(frame);\n};\nvar clear = function clear() {\n crashedEffect = null;\n sagaStack.length = 0;\n};\n\n// this sets crashed effect for the soon-to-be-reported saga frame\n// this slightly streatches the singleton nature of this module into wrong direction\n// as it's even less obvious what's the data flow here, but it is what it is for now\nvar setCrashedEffect = function setCrashedEffect(effect) {\n crashedEffect = effect;\n};\n\n/**\n @returns {string}\n\n @example\n The above error occurred in task errorInPutSaga {pathToFile}\n when executing effect put({type: 'REDUCER_ACTION_ERROR_IN_PUT'}) {pathToFile}\n created by fetchSaga {pathToFile}\n created by rootSaga {pathToFile}\n*/\nvar toString = function toString() {\n var firstSaga = sagaStack[0],\n otherSagas = sagaStack.slice(1);\n var crashedEffectLocation = firstSaga.crashedEffect ? effectLocationAsString(firstSaga.crashedEffect) : null;\n var errorMessage = \"The above error occurred in task \" + sagaLocationAsString(firstSaga.meta) + (crashedEffectLocation ? \" \\n when executing effect \" + crashedEffectLocation : '');\n return [errorMessage].concat(otherSagas.map(function (s) {\n return \" created by \" + sagaLocationAsString(s.meta);\n }), [cancelledTasksAsString(sagaStack)]).join('\\n');\n};\n\nfunction newTask(env, mainTask, parentContext, parentEffectId, meta, isRoot, cont) {\n var _task;\n if (cont === void 0) {\n cont = _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.s;\n }\n var status = RUNNING;\n var taskResult;\n var taskError;\n var deferredEnd = null;\n var cancelledDueToErrorTasks = [];\n var context = Object.create(parentContext);\n var queue = forkQueue(mainTask, function onAbort() {\n cancelledDueToErrorTasks.push.apply(cancelledDueToErrorTasks, queue.getTasks().map(function (t) {\n return t.meta.name;\n }));\n }, end);\n\n /**\n This may be called by a parent generator to trigger/propagate cancellation\n cancel all pending tasks (including the main task), then end the current task.\n Cancellation propagates down to the whole execution tree held by this Parent task\n It's also propagated to all joiners of this task and their execution tree/joiners\n Cancellation is noop for terminated/Cancelled tasks tasks\n **/\n function cancel() {\n if (status === RUNNING) {\n // Setting status to CANCELLED does not necessarily mean that the task/iterators are stopped\n // effects in the iterator's finally block will still be executed\n status = CANCELLED;\n queue.cancelAll();\n // Ending with a TASK_CANCEL will propagate the Cancellation to all joiners\n end(_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.TASK_CANCEL, false);\n }\n }\n function end(result, isErr) {\n if (!isErr) {\n // The status here may be RUNNING or CANCELLED\n // If the status is CANCELLED, then we do not need to change it here\n if (result === _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.TASK_CANCEL) {\n status = CANCELLED;\n } else if (status !== CANCELLED) {\n status = DONE;\n }\n taskResult = result;\n deferredEnd && deferredEnd.resolve(result);\n } else {\n status = ABORTED;\n addSagaFrame({\n meta: meta,\n cancelledTasks: cancelledDueToErrorTasks\n });\n if (task.isRoot) {\n var sagaStack = toString();\n // we've dumped the saga stack to string and are passing it to user's code\n // we know that it won't be needed anymore and we need to clear it\n clear();\n env.onError(result, {\n sagaStack: sagaStack\n });\n }\n taskError = result;\n deferredEnd && deferredEnd.reject(result);\n }\n task.cont(result, isErr);\n task.joiners.forEach(function (joiner) {\n joiner.cb(result, isErr);\n });\n task.joiners = null;\n }\n function setContext(props) {\n {\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(props, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.object, (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.w)('task', props));\n }\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.p)(context, props);\n }\n function toPromise() {\n if (deferredEnd) {\n return deferredEnd.promise;\n }\n deferredEnd = (0,_redux_saga_deferred__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n if (status === ABORTED) {\n deferredEnd.reject(taskError);\n } else if (status !== RUNNING) {\n deferredEnd.resolve(taskResult);\n }\n return deferredEnd.promise;\n }\n var task = (_task = {}, _task[_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.TASK] = true, _task.id = parentEffectId, _task.meta = meta, _task.isRoot = isRoot, _task.context = context, _task.joiners = [], _task.queue = queue, _task.cancel = cancel, _task.cont = cont, _task.end = end, _task.setContext = setContext, _task.toPromise = toPromise, _task.isRunning = function isRunning() {\n return status === RUNNING;\n }, _task.isCancelled = function isCancelled() {\n return status === CANCELLED || status === RUNNING && mainTask.status === CANCELLED;\n }, _task.isAborted = function isAborted() {\n return status === ABORTED;\n }, _task.result = function result() {\n return taskResult;\n }, _task.error = function error() {\n return taskError;\n }, _task);\n return task;\n}\n\nfunction proc(env, iterator, parentContext, parentEffectId, meta, isRoot, cont) {\n if (iterator[_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.x]) {\n throw new Error(\"redux-saga doesn't support async generators, please use only regular ones\");\n }\n var finalRunEffect = env.finalizeRunEffect(runEffect);\n\n /**\n Tracks the current effect cancellation\n Each time the generator progresses. calling runEffect will set a new value\n on it. It allows propagating cancellation to child effects\n **/\n next.cancel = _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.s;\n\n /** Creates a main task to track the main flow */\n var mainTask = {\n meta: meta,\n cancel: cancelMain,\n status: RUNNING\n };\n\n /**\n Creates a new task descriptor for this generator.\n A task is the aggregation of it's mainTask and all it's forked tasks.\n **/\n var task = newTask(env, mainTask, parentContext, parentEffectId, meta, isRoot, cont);\n var executingContext = {\n task: task,\n digestEffect: digestEffect\n };\n\n /**\n cancellation of the main task. We'll simply resume the Generator with a TASK_CANCEL\n **/\n function cancelMain() {\n if (mainTask.status === RUNNING) {\n mainTask.status = CANCELLED;\n next(_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.TASK_CANCEL);\n }\n }\n\n /**\n attaches cancellation logic to this task's continuation\n this will permit cancellation to propagate down the call chain\n **/\n if (cont) {\n cont.cancel = task.cancel;\n }\n\n // kicks up the generator\n next();\n\n // then return the task descriptor to the caller\n return task;\n\n /**\n * This is the generator driver\n * It's a recursive async/continuation function which calls itself\n * until the generator terminates or throws\n * @param {internal commands(TASK_CANCEL | TERMINATE) | any} arg - value, generator will be resumed with.\n * @param {boolean} isErr - the flag shows if effect finished with an error\n *\n * receives either (command | effect result, false) or (any thrown thing, true)\n */\n function next(arg, isErr) {\n try {\n var result;\n if (isErr) {\n result = iterator.throw(arg);\n // user handled the error, we can clear bookkept values\n clear();\n } else if ((0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.y)(arg)) {\n /**\n getting TASK_CANCEL automatically cancels the main task\n We can get this value here\n - By cancelling the parent task manually\n - By joining a Cancelled task\n **/\n mainTask.status = CANCELLED;\n /**\n Cancels the current effect; this will propagate the cancellation down to any called tasks\n **/\n next.cancel();\n /**\n If this Generator has a `return` method then invokes it\n This will jump to the finally block\n **/\n result = _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.func(iterator.return) ? iterator.return(_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.TASK_CANCEL) : {\n done: true,\n value: _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.TASK_CANCEL\n };\n } else if ((0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.z)(arg)) {\n // We get TERMINATE flag, i.e. by taking from a channel that ended using `take` (and not `takem` used to trap End of channels)\n result = _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.func(iterator.return) ? iterator.return() : {\n done: true\n };\n } else {\n result = iterator.next(arg);\n }\n if (!result.done) {\n digestEffect(result.value, parentEffectId, next);\n } else {\n /**\n This Generator has ended, terminate the main task and notify the fork queue\n **/\n if (mainTask.status !== CANCELLED) {\n mainTask.status = DONE;\n }\n mainTask.cont(result.value);\n }\n } catch (error) {\n if (mainTask.status === CANCELLED) {\n throw error;\n }\n mainTask.status = ABORTED;\n mainTask.cont(error, true);\n }\n }\n function runEffect(effect, effectId, currCb) {\n /**\n each effect runner must attach its own logic of cancellation to the provided callback\n it allows this generator to propagate cancellation downward.\n ATTENTION! effect runners must setup the cancel logic by setting cb.cancel = [cancelMethod]\n And the setup must occur before calling the callback\n This is a sort of inversion of control: called async functions are responsible\n of completing the flow by calling the provided continuation; while caller functions\n are responsible for aborting the current flow by calling the attached cancel function\n Library users can attach their own cancellation logic to promises by defining a\n promise[CANCEL] method in their returned promises\n ATTENTION! calling cancel must have no effect on an already completed or cancelled effect\n **/\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.promise(effect)) {\n resolvePromise(effect, currCb);\n } else if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.iterator(effect)) {\n // resolve iterator\n proc(env, effect, task.context, effectId, meta, /* isRoot */false, currCb);\n } else if (effect && effect[_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.IO]) {\n var effectRunner = effectRunnerMap[effect.type];\n effectRunner(env, effect.payload, currCb, executingContext);\n } else {\n // anything else returned as is\n currCb(effect);\n }\n }\n function digestEffect(effect, parentEffectId, cb, label) {\n if (label === void 0) {\n label = '';\n }\n var effectId = nextSagaId();\n env.sagaMonitor && env.sagaMonitor.effectTriggered({\n effectId: effectId,\n parentEffectId: parentEffectId,\n label: label,\n effect: effect\n });\n\n /**\n completion callback and cancel callback are mutually exclusive\n We can't cancel an already completed effect\n And We can't complete an already cancelled effectId\n **/\n var effectSettled;\n\n // Completion callback passed to the appropriate effect runner\n function currCb(res, isErr) {\n if (effectSettled) {\n return;\n }\n effectSettled = true;\n cb.cancel = _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.s; // defensive measure\n if (env.sagaMonitor) {\n if (isErr) {\n env.sagaMonitor.effectRejected(effectId, res);\n } else {\n env.sagaMonitor.effectResolved(effectId, res);\n }\n }\n if (isErr) {\n setCrashedEffect(effect);\n }\n cb(res, isErr);\n }\n // tracks down the current cancel\n currCb.cancel = _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.s;\n\n // setup cancellation logic on the parent cb\n cb.cancel = function () {\n // prevents cancelling an already completed effect\n if (effectSettled) {\n return;\n }\n effectSettled = true;\n currCb.cancel(); // propagates cancel downward\n currCb.cancel = _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.s; // defensive measure\n\n env.sagaMonitor && env.sagaMonitor.effectCancelled(effectId);\n };\n finalRunEffect(effect, effectId, currCb);\n }\n}\n\nvar RUN_SAGA_SIGNATURE = 'runSaga(options, saga, ...args)';\nvar NON_GENERATOR_ERR = RUN_SAGA_SIGNATURE + \": saga argument must be a Generator function!\";\nfunction runSaga(_ref, saga) {\n var _ref$channel = _ref.channel,\n channel = _ref$channel === void 0 ? stdChannel() : _ref$channel,\n dispatch = _ref.dispatch,\n getState = _ref.getState,\n _ref$context = _ref.context,\n context = _ref$context === void 0 ? {} : _ref$context,\n sagaMonitor = _ref.sagaMonitor,\n effectMiddlewares = _ref.effectMiddlewares,\n _ref$onError = _ref.onError,\n onError = _ref$onError === void 0 ? _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.D : _ref$onError;\n {\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(saga, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.func, NON_GENERATOR_ERR);\n }\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n var iterator = saga.apply(void 0, args);\n {\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(iterator, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.iterator, NON_GENERATOR_ERR);\n }\n var effectId = nextSagaId();\n if (sagaMonitor) {\n // monitors are expected to have a certain interface, let's fill-in any missing ones\n sagaMonitor.rootSagaStarted = sagaMonitor.rootSagaStarted || _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.s;\n sagaMonitor.effectTriggered = sagaMonitor.effectTriggered || _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.s;\n sagaMonitor.effectResolved = sagaMonitor.effectResolved || _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.s;\n sagaMonitor.effectRejected = sagaMonitor.effectRejected || _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.s;\n sagaMonitor.effectCancelled = sagaMonitor.effectCancelled || _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.s;\n sagaMonitor.actionDispatched = sagaMonitor.actionDispatched || _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.s;\n sagaMonitor.rootSagaStarted({\n effectId: effectId,\n saga: saga,\n args: args\n });\n }\n {\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.notUndef(dispatch)) {\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(dispatch, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.func, 'dispatch must be a function');\n }\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.notUndef(getState)) {\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(getState, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.func, 'getState must be a function');\n }\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.notUndef(effectMiddlewares)) {\n var MIDDLEWARE_TYPE_ERROR = 'effectMiddlewares must be an array of functions';\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(effectMiddlewares, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.array, MIDDLEWARE_TYPE_ERROR);\n effectMiddlewares.forEach(function (effectMiddleware) {\n return (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(effectMiddleware, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.func, MIDDLEWARE_TYPE_ERROR);\n });\n }\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(onError, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.func, 'onError passed to the redux-saga is not a function!');\n }\n var finalizeRunEffect;\n if (effectMiddlewares) {\n var middleware = _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.B.apply(void 0, effectMiddlewares);\n finalizeRunEffect = function finalizeRunEffect(runEffect) {\n return function (effect, effectId, currCb) {\n var plainRunEffect = function plainRunEffect(eff) {\n return runEffect(eff, effectId, currCb);\n };\n return middleware(plainRunEffect)(effect);\n };\n };\n } else {\n finalizeRunEffect = _io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.H;\n }\n var env = {\n channel: channel,\n dispatch: (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.E)(dispatch),\n getState: getState,\n sagaMonitor: sagaMonitor,\n onError: onError,\n finalizeRunEffect: finalizeRunEffect\n };\n return immediately(function () {\n var task = proc(env, iterator, context, effectId, (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.j)(saga), /* isRoot */true, undefined);\n if (sagaMonitor) {\n sagaMonitor.effectResolved(effectId, task);\n }\n return task;\n });\n}\n\nvar _excluded = [\"context\", \"channel\", \"sagaMonitor\"];\nfunction sagaMiddlewareFactory(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n _ref$context = _ref.context,\n context = _ref$context === void 0 ? {} : _ref$context,\n _ref$channel = _ref.channel,\n channel = _ref$channel === void 0 ? stdChannel() : _ref$channel,\n sagaMonitor = _ref.sagaMonitor,\n options = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_ref, _excluded);\n var boundRunSaga;\n {\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(channel, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.channel, 'options.channel passed to the Saga middleware is not a channel');\n }\n function sagaMiddleware(_ref2) {\n var getState = _ref2.getState,\n dispatch = _ref2.dispatch;\n boundRunSaga = runSaga.bind(null, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, options, {\n context: context,\n channel: channel,\n dispatch: dispatch,\n getState: getState,\n sagaMonitor: sagaMonitor\n }));\n return function (next) {\n return function (action) {\n if (sagaMonitor && sagaMonitor.actionDispatched) {\n sagaMonitor.actionDispatched(action);\n }\n var result = next(action); // hit reducers\n channel.put(action);\n return result;\n };\n };\n }\n sagaMiddleware.run = function () {\n if (!boundRunSaga) {\n throw new Error('Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware');\n }\n return boundRunSaga.apply(void 0, arguments);\n };\n sagaMiddleware.setContext = function (props) {\n {\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.c)(props, _redux_saga_is__WEBPACK_IMPORTED_MODULE_3__.object, (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.w)('sagaMiddleware', props));\n }\n (0,_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_4__.p)(context, props);\n };\n return sagaMiddleware;\n}\n\n\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/@redux-saga/core/dist/redux-saga-core.development.esm.js?\n}");
294
+
295
+ /***/ },
296
+
297
+ /***/ "../../../node_modules/@redux-saga/core/effects/dist/redux-saga-core-effects.development.esm.js"
298
+ /*!******************************************************************************************************!*\
299
+ !*** ../../../node_modules/@redux-saga/core/effects/dist/redux-saga-core-effects.development.esm.js ***!
300
+ \******************************************************************************************************/
301
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
302
+
303
+ "use strict";
304
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ all: () => (/* reexport safe */ _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.$),\n/* harmony export */ call: () => (/* reexport safe */ _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.O),\n/* harmony export */ delay: () => (/* reexport safe */ _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.Q),\n/* harmony export */ put: () => (/* reexport safe */ _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.Z),\n/* harmony export */ select: () => (/* reexport safe */ _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.a4),\n/* harmony export */ spawn: () => (/* reexport safe */ _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.a2),\n/* harmony export */ take: () => (/* reexport safe */ _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.L),\n/* harmony export */ takeEvery: () => (/* binding */ takeEvery),\n/* harmony export */ takeLatest: () => (/* binding */ takeLatest)\n/* harmony export */ });\n/* unused harmony exports debounce, retry, takeLeading, throttle */\n/* harmony import */ var _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../dist/io-e3db6b7a.development.esm.js */ \"../../../node_modules/@redux-saga/core/dist/io-e3db6b7a.development.esm.js\");\n/* harmony import */ var _redux_saga_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @redux-saga/is */ \"../../../node_modules/@redux-saga/is/dist/redux-saga-is.esm.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../../../node_modules/@babel/runtime/helpers/esm/extends.js\");\n/* harmony import */ var _redux_saga_delay_p__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @redux-saga/delay-p */ \"../../../node_modules/@redux-saga/delay-p/dist/redux-saga-delay-p.development.esm.js\");\n/* harmony import */ var _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @redux-saga/symbols */ \"../../../node_modules/@redux-saga/symbols/dist/redux-saga-symbols.esm.js\");\n\n\n\n\n\n\n\nvar done = function done(value) {\n return {\n done: true,\n value: value\n };\n};\nvar qEnd = {};\nfunction safeName(patternOrChannel) {\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_1__.channel(patternOrChannel)) {\n return 'channel';\n }\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_1__.stringableFunc(patternOrChannel)) {\n return String(patternOrChannel);\n }\n if (_redux_saga_is__WEBPACK_IMPORTED_MODULE_1__.func(patternOrChannel)) {\n return patternOrChannel.name;\n }\n return String(patternOrChannel);\n}\nfunction fsmIterator(fsm, startState, name) {\n var stateUpdater,\n errorState,\n effect,\n nextState = startState;\n function next(arg, error) {\n if (nextState === qEnd) {\n return done(arg);\n }\n if (error && !errorState) {\n nextState = qEnd;\n throw error;\n } else {\n stateUpdater && stateUpdater(arg);\n var currentState = error ? fsm[errorState](error) : fsm[nextState]();\n nextState = currentState.nextState;\n effect = currentState.effect;\n stateUpdater = currentState.stateUpdater;\n errorState = currentState.errorState;\n return nextState === qEnd ? done(arg) : effect;\n }\n }\n return (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.q)(next, function (error) {\n return next(null, error);\n }, name);\n}\n\nfunction takeEvery$1(patternOrChannel, worker) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n var yTake = {\n done: false,\n value: (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.L)(patternOrChannel)\n };\n var yFork = function yFork(ac) {\n return {\n done: false,\n value: _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.M.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n var action,\n setAction = function setAction(ac) {\n return action = ac;\n };\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yTake,\n stateUpdater: setAction\n };\n },\n q2: function q2() {\n return {\n nextState: 'q1',\n effect: yFork(action)\n };\n }\n }, 'q1', \"takeEvery(\" + safeName(patternOrChannel) + \", \" + worker.name + \")\");\n}\n\nfunction takeLatest$1(patternOrChannel, worker) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n var yTake = {\n done: false,\n value: (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.L)(patternOrChannel)\n };\n var yFork = function yFork(ac) {\n return {\n done: false,\n value: _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.M.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n var yCancel = function yCancel(task) {\n return {\n done: false,\n value: (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.N)(task)\n };\n };\n var task, action;\n var setTask = function setTask(t) {\n return task = t;\n };\n var setAction = function setAction(ac) {\n return action = ac;\n };\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yTake,\n stateUpdater: setAction\n };\n },\n q2: function q2() {\n return task ? {\n nextState: 'q3',\n effect: yCancel(task)\n } : {\n nextState: 'q1',\n effect: yFork(action),\n stateUpdater: setTask\n };\n },\n q3: function q3() {\n return {\n nextState: 'q1',\n effect: yFork(action),\n stateUpdater: setTask\n };\n }\n }, 'q1', \"takeLatest(\" + safeName(patternOrChannel) + \", \" + worker.name + \")\");\n}\n\nfunction takeLeading$1(patternOrChannel, worker) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n var yTake = {\n done: false,\n value: (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.L)(patternOrChannel)\n };\n var yCall = function yCall(ac) {\n return {\n done: false,\n value: _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.O.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n var action;\n var setAction = function setAction(ac) {\n return action = ac;\n };\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yTake,\n stateUpdater: setAction\n };\n },\n q2: function q2() {\n return {\n nextState: 'q1',\n effect: yCall(action)\n };\n }\n }, 'q1', \"takeLeading(\" + safeName(patternOrChannel) + \", \" + worker.name + \")\");\n}\n\nfunction throttle$1(delayLength, patternOrChannel, worker) {\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n var action, channel;\n var yTake = function yTake() {\n return {\n done: false,\n value: (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.L)(channel)\n };\n };\n var yFork = function yFork(ac) {\n return {\n done: false,\n value: _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.M.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n var yDelay = {\n done: false,\n value: (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.Q)(delayLength)\n };\n var setAction = function setAction(ac) {\n return action = ac;\n };\n var setChannel = function setChannel(ch) {\n return channel = ch;\n };\n var needsChannel = !_redux_saga_is__WEBPACK_IMPORTED_MODULE_1__.channel(patternOrChannel);\n if (!needsChannel) {\n setChannel(patternOrChannel);\n }\n return fsmIterator({\n q1: function q1() {\n var yActionChannel = {\n done: false,\n value: (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.U)(patternOrChannel, (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.V)(1))\n };\n return {\n nextState: 'q2',\n effect: yActionChannel,\n stateUpdater: setChannel\n };\n },\n q2: function q2() {\n return {\n nextState: 'q3',\n effect: yTake(),\n stateUpdater: setAction\n };\n },\n q3: function q3() {\n return {\n nextState: 'q4',\n effect: yFork(action)\n };\n },\n q4: function q4() {\n return {\n nextState: 'q2',\n effect: yDelay\n };\n }\n }, needsChannel ? 'q1' : 'q2', \"throttle(\" + safeName(patternOrChannel) + \", \" + worker.name + \")\");\n}\n\nfunction retry$1(maxTries, delayLength, fn) {\n var counter = maxTries;\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n var yCall = {\n done: false,\n value: _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.O.apply(void 0, [fn].concat(args))\n };\n var yDelay = {\n done: false,\n value: (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.Q)(delayLength)\n };\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yCall,\n errorState: 'q10'\n };\n },\n q2: function q2() {\n return {\n nextState: qEnd\n };\n },\n q10: function q10(error) {\n counter -= 1;\n if (counter <= 0) {\n throw error;\n }\n return {\n nextState: 'q1',\n effect: yDelay\n };\n }\n }, 'q1', \"retry(\" + fn.name + \")\");\n}\n\nfunction debounceHelper(delayLength, patternOrChannel, worker) {\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n var action, raceOutput;\n var yTake = {\n done: false,\n value: (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.L)(patternOrChannel)\n };\n var yRace = {\n done: false,\n value: (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.W)({\n action: (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.L)(patternOrChannel),\n debounce: (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.Q)(delayLength)\n })\n };\n var yFork = function yFork(ac) {\n return {\n done: false,\n value: _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.M.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n var yNoop = function yNoop(value) {\n return {\n done: false,\n value: value\n };\n };\n var setAction = function setAction(ac) {\n return action = ac;\n };\n var setRaceOutput = function setRaceOutput(ro) {\n return raceOutput = ro;\n };\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yTake,\n stateUpdater: setAction\n };\n },\n q2: function q2() {\n return {\n nextState: 'q3',\n effect: yRace,\n stateUpdater: setRaceOutput\n };\n },\n q3: function q3() {\n return raceOutput.debounce ? {\n nextState: 'q1',\n effect: yFork(action)\n } : {\n nextState: 'q2',\n effect: yNoop(raceOutput.action),\n stateUpdater: setAction\n };\n }\n }, 'q1', \"debounce(\" + safeName(patternOrChannel) + \", \" + worker.name + \")\");\n}\n\nvar validateTakeEffect = function validateTakeEffect(fn, patternOrChannel, worker) {\n (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.c)(patternOrChannel, _redux_saga_is__WEBPACK_IMPORTED_MODULE_1__.notUndef, fn.name + \" requires a pattern or channel\");\n (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.c)(worker, _redux_saga_is__WEBPACK_IMPORTED_MODULE_1__.notUndef, fn.name + \" requires a saga parameter\");\n};\nfunction takeEvery(patternOrChannel, worker) {\n {\n validateTakeEffect(takeEvery, patternOrChannel, worker);\n }\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n return _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.M.apply(void 0, [takeEvery$1, patternOrChannel, worker].concat(args));\n}\nfunction takeLatest(patternOrChannel, worker) {\n {\n validateTakeEffect(takeLatest, patternOrChannel, worker);\n }\n for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n return _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.M.apply(void 0, [takeLatest$1, patternOrChannel, worker].concat(args));\n}\nfunction takeLeading(patternOrChannel, worker) {\n {\n validateTakeEffect(takeLeading, patternOrChannel, worker);\n }\n for (var _len3 = arguments.length, args = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {\n args[_key3 - 2] = arguments[_key3];\n }\n return _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.M.apply(void 0, [takeLeading$1, patternOrChannel, worker].concat(args));\n}\nfunction throttle(ms, patternOrChannel, worker) {\n {\n (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.c)(patternOrChannel, _redux_saga_is__WEBPACK_IMPORTED_MODULE_1__.notUndef, \"throttle requires a pattern or channel\");\n (0,_dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.c)(worker, _redux_saga_is__WEBPACK_IMPORTED_MODULE_1__.notUndef, 'throttle requires a saga parameter');\n }\n for (var _len4 = arguments.length, args = new Array(_len4 > 3 ? _len4 - 3 : 0), _key4 = 3; _key4 < _len4; _key4++) {\n args[_key4 - 3] = arguments[_key4];\n }\n return _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.M.apply(void 0, [throttle$1, ms, patternOrChannel, worker].concat(args));\n}\nfunction retry(maxTries, delayLength, worker) {\n for (var _len5 = arguments.length, args = new Array(_len5 > 3 ? _len5 - 3 : 0), _key5 = 3; _key5 < _len5; _key5++) {\n args[_key5 - 3] = arguments[_key5];\n }\n return _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.O.apply(void 0, [retry$1, maxTries, delayLength, worker].concat(args));\n}\nfunction debounce(delayLength, pattern, worker) {\n for (var _len6 = arguments.length, args = new Array(_len6 > 3 ? _len6 - 3 : 0), _key6 = 3; _key6 < _len6; _key6++) {\n args[_key6 - 3] = arguments[_key6];\n }\n return _dist_io_e3db6b7a_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.M.apply(void 0, [debounceHelper, delayLength, pattern, worker].concat(args));\n}\n\n\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/@redux-saga/core/effects/dist/redux-saga-core-effects.development.esm.js?\n}");
305
+
306
+ /***/ },
307
+
308
+ /***/ "../../../node_modules/@redux-saga/deferred/dist/redux-saga-deferred.esm.js"
309
+ /*!**********************************************************************************!*\
310
+ !*** ../../../node_modules/@redux-saga/deferred/dist/redux-saga-deferred.esm.js ***!
311
+ \**********************************************************************************/
312
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
313
+
314
+ "use strict";
315
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ deferred)\n/* harmony export */ });\n/* unused harmony export arrayOfDeferred */\nfunction deferred() {\n var def = {};\n def.promise = new Promise(function (resolve, reject) {\n def.resolve = resolve;\n def.reject = reject;\n });\n return def;\n}\nfunction arrayOfDeferred(length) {\n var arr = [];\n for (var i = 0; i < length; i++) {\n arr.push(deferred());\n }\n return arr;\n}\n\n\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/@redux-saga/deferred/dist/redux-saga-deferred.esm.js?\n}");
316
+
317
+ /***/ },
318
+
319
+ /***/ "../../../node_modules/@redux-saga/delay-p/dist/redux-saga-delay-p.development.esm.js"
320
+ /*!********************************************************************************************!*\
321
+ !*** ../../../node_modules/@redux-saga/delay-p/dist/redux-saga-delay-p.development.esm.js ***!
322
+ \********************************************************************************************/
323
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
324
+
325
+ "use strict";
326
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ delayP)\n/* harmony export */ });\n/* harmony import */ var _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @redux-saga/symbols */ \"../../../node_modules/@redux-saga/symbols/dist/redux-saga-symbols.esm.js\");\n\n\nvar MAX_SIGNED_INT = 2147483647;\nfunction delayP(ms, val) {\n if (val === void 0) {\n val = true;\n }\n // https://developer.mozilla.org/en-US/docs/Web/API/setTimeout#maximum_delay_value\n if (ms > MAX_SIGNED_INT) {\n throw new Error('delay only supports a maximum value of ' + MAX_SIGNED_INT + 'ms');\n }\n var timeoutId;\n var promise = new Promise(function (resolve) {\n timeoutId = setTimeout(resolve, Math.min(MAX_SIGNED_INT, ms), val);\n });\n promise[_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.CANCEL] = function () {\n clearTimeout(timeoutId);\n };\n return promise;\n}\n\n\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/@redux-saga/delay-p/dist/redux-saga-delay-p.development.esm.js?\n}");
327
+
328
+ /***/ },
329
+
330
+ /***/ "../../../node_modules/@redux-saga/is/dist/redux-saga-is.esm.js"
331
+ /*!**********************************************************************!*\
332
+ !*** ../../../node_modules/@redux-saga/is/dist/redux-saga-is.esm.js ***!
333
+ \**********************************************************************/
334
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
335
+
336
+ "use strict";
337
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ array: () => (/* binding */ array),\n/* harmony export */ buffer: () => (/* binding */ buffer),\n/* harmony export */ channel: () => (/* binding */ channel),\n/* harmony export */ effect: () => (/* binding */ effect),\n/* harmony export */ func: () => (/* binding */ func),\n/* harmony export */ iterator: () => (/* binding */ iterator),\n/* harmony export */ multicast: () => (/* binding */ multicast),\n/* harmony export */ notUndef: () => (/* binding */ notUndef),\n/* harmony export */ object: () => (/* binding */ object),\n/* harmony export */ pattern: () => (/* binding */ _pattern),\n/* harmony export */ promise: () => (/* binding */ promise),\n/* harmony export */ string: () => (/* binding */ string),\n/* harmony export */ stringableFunc: () => (/* binding */ stringableFunc),\n/* harmony export */ symbol: () => (/* binding */ symbol),\n/* harmony export */ task: () => (/* binding */ task),\n/* harmony export */ undef: () => (/* binding */ undef)\n/* harmony export */ });\n/* unused harmony exports iterable, number, observable, sagaAction */\n/* harmony import */ var _redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @redux-saga/symbols */ \"../../../node_modules/@redux-saga/symbols/dist/redux-saga-symbols.esm.js\");\n\n\nvar undef = function undef(v) {\n return v === null || v === undefined;\n};\nvar notUndef = function notUndef(v) {\n return v !== null && v !== undefined;\n};\nvar func = function func(f) {\n return typeof f === 'function';\n};\nvar number = function number(n) {\n return typeof n === 'number';\n};\nvar string = function string(s) {\n return typeof s === 'string';\n};\nvar array = Array.isArray;\nvar object = function object(obj) {\n return obj && !array(obj) && typeof obj === 'object';\n};\nvar promise = function promise(p) {\n return p && func(p.then);\n};\nvar iterator = function iterator(it) {\n return it && func(it.next) && func(it.throw);\n};\nvar iterable = function iterable(it) {\n return it && func(Symbol) ? func(it[Symbol.iterator]) : array(it);\n};\nvar task = function task(t) {\n return t && t[_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.TASK];\n};\nvar sagaAction = function sagaAction(a) {\n return Boolean(a && a[_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.SAGA_ACTION]);\n};\nvar observable = function observable(ob) {\n return ob && func(ob.subscribe);\n};\nvar buffer = function buffer(buf) {\n return buf && func(buf.isEmpty) && func(buf.take) && func(buf.put);\n};\nvar _pattern = function pattern(pat) {\n return pat && (string(pat) || symbol(pat) || func(pat) || array(pat) && pat.every(_pattern));\n};\nvar channel = function channel(ch) {\n return ch && func(ch.take) && func(ch.close);\n};\nvar stringableFunc = function stringableFunc(f) {\n return func(f) && f.hasOwnProperty('toString');\n};\nvar symbol = function symbol(sym) {\n return Boolean(sym) && typeof Symbol === 'function' && sym.constructor === Symbol && sym !== Symbol.prototype;\n};\nvar multicast = function multicast(ch) {\n return channel(ch) && ch[_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.MULTICAST];\n};\nvar effect = function effect(eff) {\n return eff && eff[_redux_saga_symbols__WEBPACK_IMPORTED_MODULE_0__.IO];\n};\n\n\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/@redux-saga/is/dist/redux-saga-is.esm.js?\n}");
338
+
339
+ /***/ },
340
+
341
+ /***/ "../../../node_modules/@redux-saga/symbols/dist/redux-saga-symbols.esm.js"
342
+ /*!********************************************************************************!*\
343
+ !*** ../../../node_modules/@redux-saga/symbols/dist/redux-saga-symbols.esm.js ***!
344
+ \********************************************************************************/
345
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
346
+
347
+ "use strict";
348
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CANCEL: () => (/* binding */ CANCEL),\n/* harmony export */ CHANNEL_END_TYPE: () => (/* binding */ CHANNEL_END_TYPE),\n/* harmony export */ IO: () => (/* binding */ IO),\n/* harmony export */ MATCH: () => (/* binding */ MATCH),\n/* harmony export */ MULTICAST: () => (/* binding */ MULTICAST),\n/* harmony export */ SAGA_ACTION: () => (/* binding */ SAGA_ACTION),\n/* harmony export */ SAGA_LOCATION: () => (/* binding */ SAGA_LOCATION),\n/* harmony export */ SELF_CANCELLATION: () => (/* binding */ SELF_CANCELLATION),\n/* harmony export */ TASK: () => (/* binding */ TASK),\n/* harmony export */ TASK_CANCEL: () => (/* binding */ TASK_CANCEL),\n/* harmony export */ TERMINATE: () => (/* binding */ TERMINATE)\n/* harmony export */ });\nvar createSymbol = function createSymbol(name) {\n return \"@@redux-saga/\" + name;\n};\nvar CANCEL = /*#__PURE__*/createSymbol('CANCEL_PROMISE');\nvar CHANNEL_END_TYPE = /*#__PURE__*/createSymbol('CHANNEL_END');\nvar IO = /*#__PURE__*/createSymbol('IO');\nvar MATCH = /*#__PURE__*/createSymbol('MATCH');\nvar MULTICAST = /*#__PURE__*/createSymbol('MULTICAST');\nvar SAGA_ACTION = /*#__PURE__*/createSymbol('SAGA_ACTION');\nvar SELF_CANCELLATION = /*#__PURE__*/createSymbol('SELF_CANCELLATION');\nvar TASK = /*#__PURE__*/createSymbol('TASK');\nvar TASK_CANCEL = /*#__PURE__*/createSymbol('TASK_CANCEL');\nvar TERMINATE = /*#__PURE__*/createSymbol('TERMINATE');\nvar SAGA_LOCATION = /*#__PURE__*/createSymbol('LOCATION');\n\n\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/@redux-saga/symbols/dist/redux-saga-symbols.esm.js?\n}");
349
+
350
+ /***/ },
351
+
352
+ /***/ "../../../node_modules/axios/lib/adapters/adapters.js"
353
+ /*!************************************************************!*\
354
+ !*** ../../../node_modules/axios/lib/adapters/adapters.js ***!
355
+ \************************************************************/
356
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
357
+
358
+ "use strict";
359
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./http.js */ \"../../../node_modules/axios/lib/helpers/null.js\");\n/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./xhr.js */ \"../../../node_modules/axios/lib/adapters/xhr.js\");\n/* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fetch.js */ \"../../../node_modules/axios/lib/adapters/fetch.js\");\n/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ \"../../../node_modules/axios/lib/core/AxiosError.js\");\n\n\n\n\n\n\n/**\n * Known adapters mapping.\n * Provides environment-specific adapters for Axios:\n * - `http` for Node.js\n * - `xhr` for browsers\n * - `fetch` for fetch API-based requests\n * \n * @type {Object<string, Function|Object>}\n */\nconst knownAdapters = {\n http: _http_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n fetch: {\n get: _fetch_js__WEBPACK_IMPORTED_MODULE_3__.getFetch,\n }\n};\n\n// Assign adapter names for easier debugging and identification\n_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].forEach(knownAdapters, (fn, value) => {\n if (fn) {\n try {\n Object.defineProperty(fn, 'name', { value });\n } catch (e) {\n // eslint-disable-next-line no-empty\n }\n Object.defineProperty(fn, 'adapterName', { value });\n }\n});\n\n/**\n * Render a rejection reason string for unknown or unsupported adapters\n * \n * @param {string} reason\n * @returns {string}\n */\nconst renderReason = (reason) => `- ${reason}`;\n\n/**\n * Check if the adapter is resolved (function, null, or false)\n * \n * @param {Function|null|false} adapter\n * @returns {boolean}\n */\nconst isResolvedHandle = (adapter) => _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isFunction(adapter) || adapter === null || adapter === false;\n\n/**\n * Get the first suitable adapter from the provided list.\n * Tries each adapter in order until a supported one is found.\n * Throws an AxiosError if no adapter is suitable.\n * \n * @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.\n * @param {Object} config - Axios request configuration\n * @throws {AxiosError} If no suitable adapter is available\n * @returns {Function} The resolved adapter function\n */\nfunction getAdapter(adapters, config) {\n adapters = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArray(adapters) ? adapters : [adapters];\n\n const { length } = adapters;\n let nameOrAdapter;\n let adapter;\n\n const rejectedReasons = {};\n\n for (let i = 0; i < length; i++) {\n nameOrAdapter = adapters[i];\n let id;\n\n adapter = nameOrAdapter;\n\n if (!isResolvedHandle(nameOrAdapter)) {\n adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];\n\n if (adapter === undefined) {\n throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"](`Unknown adapter '${id}'`);\n }\n }\n\n if (adapter && (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isFunction(adapter) || (adapter = adapter.get(config)))) {\n break;\n }\n\n rejectedReasons[id || '#' + i] = adapter;\n }\n\n if (!adapter) {\n const reasons = Object.entries(rejectedReasons)\n .map(([id, state]) => `adapter ${id} ` +\n (state === false ? 'is not supported by the environment' : 'is not available in the build')\n );\n\n let s = length ?\n (reasons.length > 1 ? 'since :\\n' + reasons.map(renderReason).join('\\n') : ' ' + renderReason(reasons[0])) :\n 'as no adapter specified';\n\n throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"](\n `There is no suitable adapter to dispatch the request ` + s,\n 'ERR_NOT_SUPPORT'\n );\n }\n\n return adapter;\n}\n\n/**\n * Exports Axios adapters and utility to resolve an adapter\n */\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n /**\n * Resolve an adapter from a list of adapter names or functions.\n * @type {Function}\n */\n getAdapter,\n\n /**\n * Exposes all known adapters\n * @type {Object<string, Function|Object>}\n */\n adapters: knownAdapters\n});\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/adapters/adapters.js?\n}");
360
+
361
+ /***/ },
362
+
363
+ /***/ "../../../node_modules/axios/lib/adapters/fetch.js"
364
+ /*!*********************************************************!*\
365
+ !*** ../../../node_modules/axios/lib/adapters/fetch.js ***!
366
+ \*********************************************************/
367
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
368
+
369
+ "use strict";
370
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getFetch: () => (/* binding */ getFetch)\n/* harmony export */ });\n/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ \"../../../node_modules/axios/lib/platform/index.js\");\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ \"../../../node_modules/axios/lib/core/AxiosError.js\");\n/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/composeSignals.js */ \"../../../node_modules/axios/lib/helpers/composeSignals.js\");\n/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/trackStream.js */ \"../../../node_modules/axios/lib/helpers/trackStream.js\");\n/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ \"../../../node_modules/axios/lib/core/AxiosHeaders.js\");\n/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ \"../../../node_modules/axios/lib/helpers/progressEventReducer.js\");\n/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ \"../../../node_modules/axios/lib/helpers/resolveConfig.js\");\n/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/settle.js */ \"../../../node_modules/axios/lib/core/settle.js\");\n\n\n\n\n\n\n\n\n\n\nconst DEFAULT_CHUNK_SIZE = 64 * 1024;\n\nconst {isFunction} = _utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n\nconst globalFetchAPI = (({Request, Response}) => ({\n Request, Response\n}))(_utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].global);\n\nconst {\n ReadableStream, TextEncoder\n} = _utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].global;\n\n\nconst test = (fn, ...args) => {\n try {\n return !!fn(...args);\n } catch (e) {\n return false\n }\n}\n\nconst factory = (env) => {\n env = _utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].merge.call({\n skipUndefined: true\n }, globalFetchAPI, env);\n\n const {fetch: envFetch, Request, Response} = env;\n const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';\n const isRequestSupported = isFunction(Request);\n const isResponseSupported = isFunction(Response);\n\n if (!isFetchSupported) {\n return false;\n }\n\n const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream);\n\n const encodeText = isFetchSupported && (typeof TextEncoder === 'function' ?\n ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) :\n async (str) => new Uint8Array(await new Request(str).arrayBuffer())\n );\n\n const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {\n let duplexAccessed = false;\n\n const hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].origin, {\n body: new ReadableStream(),\n method: 'POST',\n get duplex() {\n duplexAccessed = true;\n return 'half';\n },\n }).headers.has('Content-Type');\n\n return duplexAccessed && !hasContentType;\n });\n\n const supportsResponseStream = isResponseSupported && isReadableStreamSupported &&\n test(() => _utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].isReadableStream(new Response('').body));\n\n const resolvers = {\n stream: supportsResponseStream && ((res) => res.body)\n };\n\n isFetchSupported && ((() => {\n ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => {\n !resolvers[type] && (resolvers[type] = (res, config) => {\n let method = res && res[type];\n\n if (method) {\n return method.call(res);\n }\n\n throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"](`Response type '${type}' is not supported`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].ERR_NOT_SUPPORT, config);\n })\n });\n })());\n\n const getBodyLength = async (body) => {\n if (body == null) {\n return 0;\n }\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].isBlob(body)) {\n return body.size;\n }\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].isSpecCompliantForm(body)) {\n const _request = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].origin, {\n method: 'POST',\n body,\n });\n return (await _request.arrayBuffer()).byteLength;\n }\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].isArrayBufferView(body) || _utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].isArrayBuffer(body)) {\n return body.byteLength;\n }\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].isURLSearchParams(body)) {\n body = body + '';\n }\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].isString(body)) {\n return (await encodeText(body)).byteLength;\n }\n }\n\n const resolveBodyLength = async (headers, body) => {\n const length = _utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].toFiniteNumber(headers.getContentLength());\n\n return length == null ? getBodyLength(body) : length;\n }\n\n return async (config) => {\n let {\n url,\n method,\n data,\n signal,\n cancelToken,\n timeout,\n onDownloadProgress,\n onUploadProgress,\n responseType,\n headers,\n withCredentials = 'same-origin',\n fetchOptions\n } = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(config);\n\n let _fetch = envFetch || fetch;\n\n responseType = responseType ? (responseType + '').toLowerCase() : 'text';\n\n let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])([signal, cancelToken && cancelToken.toAbortSignal()], timeout);\n\n let request = null;\n\n const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {\n composedSignal.unsubscribe();\n });\n\n let requestContentLength;\n\n try {\n if (\n onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head' &&\n (requestContentLength = await resolveBodyLength(headers, data)) !== 0\n ) {\n let _request = new Request(url, {\n method: 'POST',\n body: data,\n duplex: \"half\"\n });\n\n let contentTypeHeader;\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {\n headers.setContentType(contentTypeHeader)\n }\n\n if (_request.body) {\n const [onProgress, flush] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventDecorator)(\n requestContentLength,\n (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.asyncDecorator)(onUploadProgress))\n );\n\n data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_4__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);\n }\n }\n\n if (!_utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].isString(withCredentials)) {\n withCredentials = withCredentials ? 'include' : 'omit';\n }\n\n // Cloudflare Workers throws when credentials are defined\n // see https://github.com/cloudflare/workerd/issues/902\n const isCredentialsSupported = isRequestSupported && \"credentials\" in Request.prototype;\n\n const resolvedOptions = {\n ...fetchOptions,\n signal: composedSignal,\n method: method.toUpperCase(),\n headers: headers.normalize().toJSON(),\n body: data,\n duplex: \"half\",\n credentials: isCredentialsSupported ? withCredentials : undefined\n };\n\n request = isRequestSupported && new Request(url, resolvedOptions);\n\n let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions));\n\n const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');\n\n if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {\n const options = {};\n\n ['status', 'statusText', 'headers'].forEach(prop => {\n options[prop] = response[prop];\n });\n\n const responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].toFiniteNumber(response.headers.get('content-length'));\n\n const [onProgress, flush] = onDownloadProgress && (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventDecorator)(\n responseContentLength,\n (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.asyncDecorator)(onDownloadProgress), true)\n ) || [];\n\n response = new Response(\n (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_4__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {\n flush && flush();\n unsubscribe && unsubscribe();\n }),\n options\n );\n }\n\n responseType = responseType || 'text';\n\n let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].findKey(resolvers, responseType) || 'text'](response, config);\n\n !isStreamResponse && unsubscribe && unsubscribe();\n\n return await new Promise((resolve, reject) => {\n (0,_core_settle_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(resolve, reject, {\n data: responseData,\n headers: _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"].from(response.headers),\n status: response.status,\n statusText: response.statusText,\n config,\n request\n })\n })\n } catch (err) {\n unsubscribe && unsubscribe();\n\n if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {\n throw Object.assign(\n new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"]('Network Error', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].ERR_NETWORK, config, request),\n {\n cause: err.cause || err\n }\n )\n }\n\n throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].from(err, err && err.code, config, request);\n }\n }\n}\n\nconst seedCache = new Map();\n\nconst getFetch = (config) => {\n let env = (config && config.env) || {};\n const {fetch, Request, Response} = env;\n const seeds = [\n Request, Response, fetch\n ];\n\n let len = seeds.length, i = len,\n seed, target, map = seedCache;\n\n while (i--) {\n seed = seeds[i];\n target = map.get(seed);\n\n target === undefined && map.set(seed, target = (i ? new Map() : factory(env)))\n\n map = target;\n }\n\n return target;\n};\n\nconst adapter = getFetch();\n\n/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = (adapter);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/adapters/fetch.js?\n}");
371
+
372
+ /***/ },
373
+
374
+ /***/ "../../../node_modules/axios/lib/adapters/xhr.js"
375
+ /*!*******************************************************!*\
376
+ !*** ../../../node_modules/axios/lib/adapters/xhr.js ***!
377
+ \*******************************************************/
378
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
379
+
380
+ "use strict";
381
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../core/settle.js */ \"../../../node_modules/axios/lib/core/settle.js\");\n/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../defaults/transitional.js */ \"../../../node_modules/axios/lib/defaults/transitional.js\");\n/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ \"../../../node_modules/axios/lib/core/AxiosError.js\");\n/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../cancel/CanceledError.js */ \"../../../node_modules/axios/lib/cancel/CanceledError.js\");\n/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ \"../../../node_modules/axios/lib/helpers/parseProtocol.js\");\n/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ \"../../../node_modules/axios/lib/platform/index.js\");\n/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ \"../../../node_modules/axios/lib/core/AxiosHeaders.js\");\n/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ \"../../../node_modules/axios/lib/helpers/progressEventReducer.js\");\n/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ \"../../../node_modules/axios/lib/helpers/resolveConfig.js\");\n\n\n\n\n\n\n\n\n\n\n\nconst isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isXHRAdapterSupported && function (config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n const _config = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(config);\n let requestData = _config.data;\n const requestHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"].from(_config.headers).normalize();\n let {responseType, onUploadProgress, onDownloadProgress} = _config;\n let onCanceled;\n let uploadThrottled, downloadThrottled;\n let flushUpload, flushDownload;\n\n function done() {\n flushUpload && flushUpload(); // flush events\n flushDownload && flushDownload(); // flush events\n\n _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);\n\n _config.signal && _config.signal.removeEventListener('abort', onCanceled);\n }\n\n let request = new XMLHttpRequest();\n\n request.open(_config.method.toUpperCase(), _config.url, true);\n\n // Set the request timeout in MS\n request.timeout = _config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n const responseHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"].from(\n 'getAllResponseHeaders' in request && request.getAllResponseHeaders()\n );\n const responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n const response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config,\n request\n };\n\n (0,_core_settle_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]('Request aborted', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].ECONNABORTED, config, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError(event) {\n // Browsers deliver a ProgressEvent in XHR onerror\n // (message may be empty; when present, surface it)\n // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event\n const msg = event && event.message ? event.message : 'Network Error';\n const err = new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"](msg, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].ERR_NETWORK, config, request);\n // attach the underlying event for consumers who want details\n err.event = event || null;\n reject(err);\n request = null;\n };\n \n // Handle timeout\n request.ontimeout = function handleTimeout() {\n let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';\n const transitional = _config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\n if (_config.timeoutErrorMessage) {\n timeoutErrorMessage = _config.timeoutErrorMessage;\n }\n reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"](\n timeoutErrorMessage,\n transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].ECONNABORTED,\n config,\n request));\n\n // Clean up request\n request = null;\n };\n\n // Remove Content-Type if data is undefined\n requestData === undefined && requestHeaders.setContentType(null);\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {\n request.setRequestHeader(key, val);\n });\n }\n\n // Add withCredentials to request if needed\n if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isUndefined(_config.withCredentials)) {\n request.withCredentials = !!_config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = _config.responseType;\n }\n\n // Handle progress if needed\n if (onDownloadProgress) {\n ([downloadThrottled, flushDownload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_8__.progressEventReducer)(onDownloadProgress, true));\n request.addEventListener('progress', downloadThrottled);\n }\n\n // Not all browsers support upload events\n if (onUploadProgress && request.upload) {\n ([uploadThrottled, flushUpload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_8__.progressEventReducer)(onUploadProgress));\n\n request.upload.addEventListener('progress', uploadThrottled);\n\n request.upload.addEventListener('loadend', flushUpload);\n }\n\n if (_config.cancelToken || _config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = cancel => {\n if (!request) {\n return;\n }\n reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"](null, config, request) : cancel);\n request.abort();\n request = null;\n };\n\n _config.cancelToken && _config.cancelToken.subscribe(onCanceled);\n if (_config.signal) {\n _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n const protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_config.url);\n\n if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"].protocols.indexOf(protocol) === -1) {\n reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]('Unsupported protocol ' + protocol + ':', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].ERR_BAD_REQUEST, config));\n return;\n }\n\n\n // Send the request\n request.send(requestData || null);\n });\n});\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/adapters/xhr.js?\n}");
382
+
383
+ /***/ },
384
+
385
+ /***/ "../../../node_modules/axios/lib/axios.js"
386
+ /*!************************************************!*\
387
+ !*** ../../../node_modules/axios/lib/axios.js ***!
388
+ \************************************************/
389
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
390
+
391
+ "use strict";
392
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ \"../../../node_modules/axios/lib/helpers/bind.js\");\n/* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./core/Axios.js */ \"../../../node_modules/axios/lib/core/Axios.js\");\n/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ \"../../../node_modules/axios/lib/core/mergeConfig.js\");\n/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ \"../../../node_modules/axios/lib/defaults/index.js\");\n/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ \"../../../node_modules/axios/lib/helpers/formDataToJSON.js\");\n/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CanceledError.js */ \"../../../node_modules/axios/lib/cancel/CanceledError.js\");\n/* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/CancelToken.js */ \"../../../node_modules/axios/lib/cancel/CancelToken.js\");\n/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./cancel/isCancel.js */ \"../../../node_modules/axios/lib/cancel/isCancel.js\");\n/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./env/data.js */ \"../../../node_modules/axios/lib/env/data.js\");\n/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./helpers/toFormData.js */ \"../../../node_modules/axios/lib/helpers/toFormData.js\");\n/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./core/AxiosError.js */ \"../../../node_modules/axios/lib/core/AxiosError.js\");\n/* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/spread.js */ \"../../../node_modules/axios/lib/helpers/spread.js\");\n/* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ \"../../../node_modules/axios/lib/helpers/isAxiosError.js\");\n/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ \"../../../node_modules/axios/lib/core/AxiosHeaders.js\");\n/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ \"../../../node_modules/axios/lib/adapters/adapters.js\");\n/* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ \"../../../node_modules/axios/lib/helpers/HttpStatusCode.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n *\n * @returns {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n const context = new _core_Axios_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"](defaultConfig);\n const instance = (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_core_Axios_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].prototype.request, context);\n\n // Copy axios.prototype to instance\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].extend(instance, _core_Axios_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].prototype, context, {allOwnKeys: true});\n\n // Copy context to instance\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].extend(instance, context, null, {allOwnKeys: true});\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance((0,_core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nconst axios = createInstance(_defaults_index_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = _core_Axios_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\n\n// Expose Cancel & CancelToken\naxios.CanceledError = _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"];\naxios.CancelToken = _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"];\naxios.isCancel = _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"];\naxios.VERSION = _env_data_js__WEBPACK_IMPORTED_MODULE_9__.VERSION;\naxios.toFormData = _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_10__[\"default\"];\n\n// Expose AxiosError class\naxios.AxiosError = _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_11__[\"default\"];\n\n// alias for CanceledError for backward compatibility\naxios.Cancel = axios.CanceledError;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\n\naxios.spread = _helpers_spread_js__WEBPACK_IMPORTED_MODULE_12__[\"default\"];\n\n// Expose isAxiosError\naxios.isAxiosError = _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_13__[\"default\"];\n\n// Expose mergeConfig\naxios.mergeConfig = _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"];\n\naxios.AxiosHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_14__[\"default\"];\n\naxios.formToJSON = thing => (0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isHTMLForm(thing) ? new FormData(thing) : thing);\n\naxios.getAdapter = _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__[\"default\"].getAdapter;\n\naxios.HttpStatusCode = _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__[\"default\"];\n\naxios.default = axios;\n\n// this module should only have a default export\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (axios);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/axios.js?\n}");
393
+
394
+ /***/ },
395
+
396
+ /***/ "../../../node_modules/axios/lib/cancel/CancelToken.js"
397
+ /*!*************************************************************!*\
398
+ !*** ../../../node_modules/axios/lib/cancel/CancelToken.js ***!
399
+ \*************************************************************/
400
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
401
+
402
+ "use strict";
403
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ \"../../../node_modules/axios/lib/cancel/CanceledError.js\");\n\n\n\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @param {Function} executor The executor function.\n *\n * @returns {CancelToken}\n */\nclass CancelToken {\n constructor(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n let resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n const token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(cancel => {\n if (!token._listeners) return;\n\n let i = token._listeners.length;\n\n while (i-- > 0) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = onfulfilled => {\n let _resolve;\n // eslint-disable-next-line func-names\n const promise = new Promise(resolve => {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message, config, request) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"](message, config, request);\n resolvePromise(token.reason);\n });\n }\n\n /**\n * Throws a `CanceledError` if cancellation has been requested.\n */\n throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n }\n\n /**\n * Subscribe to the cancel signal\n */\n\n subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n }\n\n /**\n * Unsubscribe from the cancel signal\n */\n\n unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n const index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n }\n\n toAbortSignal() {\n const controller = new AbortController();\n\n const abort = (err) => {\n controller.abort(err);\n };\n\n this.subscribe(abort);\n\n controller.signal.unsubscribe = () => this.unsubscribe(abort);\n\n return controller.signal;\n }\n\n /**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\n static source() {\n let cancel;\n const token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token,\n cancel\n };\n }\n}\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CancelToken);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/cancel/CancelToken.js?\n}");
404
+
405
+ /***/ },
406
+
407
+ /***/ "../../../node_modules/axios/lib/cancel/CanceledError.js"
408
+ /*!***************************************************************!*\
409
+ !*** ../../../node_modules/axios/lib/cancel/CanceledError.js ***!
410
+ \***************************************************************/
411
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
412
+
413
+ "use strict";
414
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ \"../../../node_modules/axios/lib/core/AxiosError.js\");\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n\n\n\n\n\n/**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @param {string=} message The message.\n * @param {Object=} config The config.\n * @param {Object=} request The request.\n *\n * @returns {CanceledError} The created error.\n */\nfunction CanceledError(message, config, request) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this, message == null ? 'canceled' : message, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].ERR_CANCELED, config, request);\n this.name = 'CanceledError';\n}\n\n_utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].inherits(CanceledError, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n __CANCEL__: true\n});\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CanceledError);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/cancel/CanceledError.js?\n}");
415
+
416
+ /***/ },
417
+
418
+ /***/ "../../../node_modules/axios/lib/cancel/isCancel.js"
419
+ /*!**********************************************************!*\
420
+ !*** ../../../node_modules/axios/lib/cancel/isCancel.js ***!
421
+ \**********************************************************/
422
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
423
+
424
+ "use strict";
425
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ isCancel)\n/* harmony export */ });\n\n\nfunction isCancel(value) {\n return !!(value && value.__CANCEL__);\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/cancel/isCancel.js?\n}");
426
+
427
+ /***/ },
428
+
429
+ /***/ "../../../node_modules/axios/lib/core/Axios.js"
430
+ /*!*****************************************************!*\
431
+ !*** ../../../node_modules/axios/lib/core/Axios.js ***!
432
+ \*****************************************************/
433
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
434
+
435
+ "use strict";
436
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/buildURL.js */ \"../../../node_modules/axios/lib/helpers/buildURL.js\");\n/* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./InterceptorManager.js */ \"../../../node_modules/axios/lib/core/InterceptorManager.js\");\n/* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./dispatchRequest.js */ \"../../../node_modules/axios/lib/core/dispatchRequest.js\");\n/* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./mergeConfig.js */ \"../../../node_modules/axios/lib/core/mergeConfig.js\");\n/* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./buildFullPath.js */ \"../../../node_modules/axios/lib/core/buildFullPath.js\");\n/* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/validator.js */ \"../../../node_modules/axios/lib/helpers/validator.js\");\n/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AxiosHeaders.js */ \"../../../node_modules/axios/lib/core/AxiosHeaders.js\");\n\n\n\n\n\n\n\n\n\n\n\nconst validators = _helpers_validator_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"].validators;\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n *\n * @return {Axios} A new instance of Axios\n */\nclass Axios {\n constructor(instanceConfig) {\n this.defaults = instanceConfig || {};\n this.interceptors = {\n request: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"](),\n response: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"]()\n };\n }\n\n /**\n * Dispatch a request\n *\n * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)\n * @param {?Object} config\n *\n * @returns {Promise} The Promise to be fulfilled\n */\n async request(configOrUrl, config) {\n try {\n return await this._request(configOrUrl, config);\n } catch (err) {\n if (err instanceof Error) {\n let dummy = {};\n\n Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());\n\n // slice off the Error: ... line\n const stack = dummy.stack ? dummy.stack.replace(/^.+\\n/, '') : '';\n try {\n if (!err.stack) {\n err.stack = stack;\n // match without the 2 top stack lines\n } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\\n.+\\n/, ''))) {\n err.stack += '\\n' + stack\n }\n } catch (e) {\n // ignore the case where \"stack\" is an un-writable property\n }\n }\n\n throw err;\n }\n }\n\n _request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = (0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(this.defaults, config);\n\n const {transitional, paramsSerializer, headers} = config;\n\n if (transitional !== undefined) {\n _helpers_validator_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"].assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n if (paramsSerializer != null) {\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isFunction(paramsSerializer)) {\n config.paramsSerializer = {\n serialize: paramsSerializer\n }\n } else {\n _helpers_validator_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"].assertOptions(paramsSerializer, {\n encode: validators.function,\n serialize: validators.function\n }, true);\n }\n }\n\n // Set config.allowAbsoluteUrls\n if (config.allowAbsoluteUrls !== undefined) {\n // do nothing\n } else if (this.defaults.allowAbsoluteUrls !== undefined) {\n config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;\n } else {\n config.allowAbsoluteUrls = true;\n }\n\n _helpers_validator_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"].assertOptions(config, {\n baseUrl: validators.spelling('baseURL'),\n withXsrfToken: validators.spelling('withXSRFToken')\n }, true);\n\n // Set config.method\n config.method = (config.method || this.defaults.method || 'get').toLowerCase();\n\n // Flatten headers\n let contextHeaders = headers && _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].merge(\n headers.common,\n headers[config.method]\n );\n\n headers && _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n (method) => {\n delete headers[method];\n }\n );\n\n config.headers = _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"].concat(contextHeaders, headers);\n\n // filter out skipped interceptors\n const requestInterceptorChain = [];\n let synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n const responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n let promise;\n let i = 0;\n let len;\n\n if (!synchronousRequestInterceptors) {\n const chain = [_dispatchRequest_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].bind(this), undefined];\n chain.unshift(...requestInterceptorChain);\n chain.push(...responseInterceptorChain);\n len = chain.length;\n\n promise = Promise.resolve(config);\n\n while (i < len) {\n promise = promise.then(chain[i++], chain[i++]);\n }\n\n return promise;\n }\n\n len = requestInterceptorChain.length;\n\n let newConfig = config;\n\n while (i < len) {\n const onFulfilled = requestInterceptorChain[i++];\n const onRejected = requestInterceptorChain[i++];\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected.call(this, error);\n break;\n }\n }\n\n try {\n promise = _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].call(this, newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n i = 0;\n len = responseInterceptorChain.length;\n\n while (i < len) {\n promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);\n }\n\n return promise;\n }\n\n getUri(config) {\n config = (0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(this.defaults, config);\n const fullPath = (0,_buildFullPath_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(config.baseURL, config.url, config.allowAbsoluteUrls);\n return (0,_helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(fullPath, config.params, config.paramsSerializer);\n }\n}\n\n// Provide aliases for supported request methods\n_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request((0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(config || {}, {\n method,\n url,\n data: (config || {}).data\n }));\n };\n});\n\n_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n\n function generateHTTPMethod(isForm) {\n return function httpMethod(url, data, config) {\n return this.request((0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(config || {}, {\n method,\n headers: isForm ? {\n 'Content-Type': 'multipart/form-data'\n } : {},\n url,\n data\n }));\n };\n }\n\n Axios.prototype[method] = generateHTTPMethod();\n\n Axios.prototype[method + 'Form'] = generateHTTPMethod(true);\n});\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Axios);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/core/Axios.js?\n}");
437
+
438
+ /***/ },
439
+
440
+ /***/ "../../../node_modules/axios/lib/core/AxiosError.js"
441
+ /*!**********************************************************!*\
442
+ !*** ../../../node_modules/axios/lib/core/AxiosError.js ***!
443
+ \**********************************************************/
444
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
445
+
446
+ "use strict";
447
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n\n\n\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n *\n * @returns {Error} The created error.\n */\nfunction AxiosError(message, code, config, request, response) {\n Error.call(this);\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n } else {\n this.stack = (new Error()).stack;\n }\n\n this.message = message;\n this.name = 'AxiosError';\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n if (response) {\n this.response = response;\n this.status = response.status ? response.status : null;\n }\n}\n\n_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].inherits(AxiosError, Error, {\n toJSON: function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].toJSONObject(this.config),\n code: this.code,\n status: this.status\n };\n }\n});\n\nconst prototype = AxiosError.prototype;\nconst descriptors = {};\n\n[\n 'ERR_BAD_OPTION_VALUE',\n 'ERR_BAD_OPTION',\n 'ECONNABORTED',\n 'ETIMEDOUT',\n 'ERR_NETWORK',\n 'ERR_FR_TOO_MANY_REDIRECTS',\n 'ERR_DEPRECATED',\n 'ERR_BAD_RESPONSE',\n 'ERR_BAD_REQUEST',\n 'ERR_CANCELED',\n 'ERR_NOT_SUPPORT',\n 'ERR_INVALID_URL'\n// eslint-disable-next-line func-names\n].forEach(code => {\n descriptors[code] = {value: code};\n});\n\nObject.defineProperties(AxiosError, descriptors);\nObject.defineProperty(prototype, 'isAxiosError', {value: true});\n\n// eslint-disable-next-line func-names\nAxiosError.from = (error, code, config, request, response, customProps) => {\n const axiosError = Object.create(prototype);\n\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].toFlatObject(error, axiosError, function filter(obj) {\n return obj !== Error.prototype;\n }, prop => {\n return prop !== 'isAxiosError';\n });\n\n const msg = error && error.message ? error.message : 'Error';\n\n // Prefer explicit code; otherwise copy the low-level error's code (e.g. ECONNREFUSED)\n const errCode = code == null && error ? error.code : code;\n AxiosError.call(axiosError, msg, errCode, config, request, response);\n\n // Chain the original error on the standard field; non-enumerable to avoid JSON noise\n if (error && axiosError.cause == null) {\n Object.defineProperty(axiosError, 'cause', { value: error, configurable: true });\n }\n\n axiosError.name = (error && error.name) || 'Error';\n\n customProps && Object.assign(axiosError, customProps);\n\n return axiosError;\n};\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AxiosError);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/core/AxiosError.js?\n}");
448
+
449
+ /***/ },
450
+
451
+ /***/ "../../../node_modules/axios/lib/core/AxiosHeaders.js"
452
+ /*!************************************************************!*\
453
+ !*** ../../../node_modules/axios/lib/core/AxiosHeaders.js ***!
454
+ \************************************************************/
455
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
456
+
457
+ "use strict";
458
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n/* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ \"../../../node_modules/axios/lib/helpers/parseHeaders.js\");\n\n\n\n\n\nconst $internals = Symbol('internals');\n\nfunction normalizeHeader(header) {\n return header && String(header).trim().toLowerCase();\n}\n\nfunction normalizeValue(value) {\n if (value === false || value == null) {\n return value;\n }\n\n return _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArray(value) ? value.map(normalizeValue) : String(value);\n}\n\nfunction parseTokens(str) {\n const tokens = Object.create(null);\n const tokensRE = /([^\\s,;=]+)\\s*(?:=\\s*([^,;]+))?/g;\n let match;\n\n while ((match = tokensRE.exec(str))) {\n tokens[match[1]] = match[2];\n }\n\n return tokens;\n}\n\nconst isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());\n\nfunction matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isFunction(filter)) {\n return filter.call(this, value, header);\n }\n\n if (isHeaderNameFilter) {\n value = header;\n }\n\n if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isString(value)) return;\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isString(filter)) {\n return value.indexOf(filter) !== -1;\n }\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isRegExp(filter)) {\n return filter.test(value);\n }\n}\n\nfunction formatHeader(header) {\n return header.trim()\n .toLowerCase().replace(/([a-z\\d])(\\w*)/g, (w, char, str) => {\n return char.toUpperCase() + str;\n });\n}\n\nfunction buildAccessors(obj, header) {\n const accessorName = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].toCamelCase(' ' + header);\n\n ['get', 'set', 'has'].forEach(methodName => {\n Object.defineProperty(obj, methodName + accessorName, {\n value: function(arg1, arg2, arg3) {\n return this[methodName].call(this, header, arg1, arg2, arg3);\n },\n configurable: true\n });\n });\n}\n\nclass AxiosHeaders {\n constructor(headers) {\n headers && this.set(headers);\n }\n\n set(header, valueOrRewrite, rewrite) {\n const self = this;\n\n function setHeader(_value, _header, _rewrite) {\n const lHeader = normalizeHeader(_header);\n\n if (!lHeader) {\n throw new Error('header name must be a non-empty string');\n }\n\n const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].findKey(self, lHeader);\n\n if(!key || self[key] === undefined || _rewrite === true || (_rewrite === undefined && self[key] !== false)) {\n self[key || _header] = normalizeValue(_value);\n }\n }\n\n const setHeaders = (headers, _rewrite) =>\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isPlainObject(header) || header instanceof this.constructor) {\n setHeaders(header, valueOrRewrite)\n } else if(_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {\n setHeaders((0,_helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(header), valueOrRewrite);\n } else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isObject(header) && _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isIterable(header)) {\n let obj = {}, dest, key;\n for (const entry of header) {\n if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArray(entry)) {\n throw TypeError('Object iterator must return a key-value pair');\n }\n\n obj[key = entry[0]] = (dest = obj[key]) ?\n (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]) : entry[1];\n }\n\n setHeaders(obj, valueOrRewrite)\n } else {\n header != null && setHeader(valueOrRewrite, header, rewrite);\n }\n\n return this;\n }\n\n get(header, parser) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].findKey(this, header);\n\n if (key) {\n const value = this[key];\n\n if (!parser) {\n return value;\n }\n\n if (parser === true) {\n return parseTokens(value);\n }\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isFunction(parser)) {\n return parser.call(this, value, key);\n }\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isRegExp(parser)) {\n return parser.exec(value);\n }\n\n throw new TypeError('parser must be boolean|regexp|function');\n }\n }\n }\n\n has(header, matcher) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].findKey(this, header);\n\n return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));\n }\n\n return false;\n }\n\n delete(header, matcher) {\n const self = this;\n let deleted = false;\n\n function deleteHeader(_header) {\n _header = normalizeHeader(_header);\n\n if (_header) {\n const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].findKey(self, _header);\n\n if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {\n delete self[key];\n\n deleted = true;\n }\n }\n }\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArray(header)) {\n header.forEach(deleteHeader);\n } else {\n deleteHeader(header);\n }\n\n return deleted;\n }\n\n clear(matcher) {\n const keys = Object.keys(this);\n let i = keys.length;\n let deleted = false;\n\n while (i--) {\n const key = keys[i];\n if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {\n delete this[key];\n deleted = true;\n }\n }\n\n return deleted;\n }\n\n normalize(format) {\n const self = this;\n const headers = {};\n\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].forEach(this, (value, header) => {\n const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].findKey(headers, header);\n\n if (key) {\n self[key] = normalizeValue(value);\n delete self[header];\n return;\n }\n\n const normalized = format ? formatHeader(header) : String(header).trim();\n\n if (normalized !== header) {\n delete self[header];\n }\n\n self[normalized] = normalizeValue(value);\n\n headers[normalized] = true;\n });\n\n return this;\n }\n\n concat(...targets) {\n return this.constructor.concat(this, ...targets);\n }\n\n toJSON(asStrings) {\n const obj = Object.create(null);\n\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].forEach(this, (value, header) => {\n value != null && value !== false && (obj[header] = asStrings && _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArray(value) ? value.join(', ') : value);\n });\n\n return obj;\n }\n\n [Symbol.iterator]() {\n return Object.entries(this.toJSON())[Symbol.iterator]();\n }\n\n toString() {\n return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\\n');\n }\n\n getSetCookie() {\n return this.get(\"set-cookie\") || [];\n }\n\n get [Symbol.toStringTag]() {\n return 'AxiosHeaders';\n }\n\n static from(thing) {\n return thing instanceof this ? thing : new this(thing);\n }\n\n static concat(first, ...targets) {\n const computed = new this(first);\n\n targets.forEach((target) => computed.set(target));\n\n return computed;\n }\n\n static accessor(header) {\n const internals = this[$internals] = (this[$internals] = {\n accessors: {}\n });\n\n const accessors = internals.accessors;\n const prototype = this.prototype;\n\n function defineAccessor(_header) {\n const lHeader = normalizeHeader(_header);\n\n if (!accessors[lHeader]) {\n buildAccessors(prototype, _header);\n accessors[lHeader] = true;\n }\n }\n\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);\n\n return this;\n }\n}\n\nAxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);\n\n// reserved names hotfix\n_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {\n let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`\n return {\n get: () => value,\n set(headerValue) {\n this[mapped] = headerValue;\n }\n }\n});\n\n_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].freezeMethods(AxiosHeaders);\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AxiosHeaders);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/core/AxiosHeaders.js?\n}");
459
+
460
+ /***/ },
461
+
462
+ /***/ "../../../node_modules/axios/lib/core/InterceptorManager.js"
463
+ /*!******************************************************************!*\
464
+ !*** ../../../node_modules/axios/lib/core/InterceptorManager.js ***!
465
+ \******************************************************************/
466
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
467
+
468
+ "use strict";
469
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n\n\n\n\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {void}\n */\n eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n }\n}\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (InterceptorManager);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/core/InterceptorManager.js?\n}");
470
+
471
+ /***/ },
472
+
473
+ /***/ "../../../node_modules/axios/lib/core/buildFullPath.js"
474
+ /*!*************************************************************!*\
475
+ !*** ../../../node_modules/axios/lib/core/buildFullPath.js ***!
476
+ \*************************************************************/
477
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
478
+
479
+ "use strict";
480
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ buildFullPath)\n/* harmony export */ });\n/* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ \"../../../node_modules/axios/lib/helpers/isAbsoluteURL.js\");\n/* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ \"../../../node_modules/axios/lib/helpers/combineURLs.js\");\n\n\n\n\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n *\n * @returns {string} The combined full path\n */\nfunction buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {\n let isRelativeUrl = !(0,_helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(requestedURL);\n if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {\n return (0,_helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(baseURL, requestedURL);\n }\n return requestedURL;\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/core/buildFullPath.js?\n}");
481
+
482
+ /***/ },
483
+
484
+ /***/ "../../../node_modules/axios/lib/core/dispatchRequest.js"
485
+ /*!***************************************************************!*\
486
+ !*** ../../../node_modules/axios/lib/core/dispatchRequest.js ***!
487
+ \***************************************************************/
488
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
489
+
490
+ "use strict";
491
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ dispatchRequest)\n/* harmony export */ });\n/* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./transformData.js */ \"../../../node_modules/axios/lib/core/transformData.js\");\n/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/isCancel.js */ \"../../../node_modules/axios/lib/cancel/isCancel.js\");\n/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../defaults/index.js */ \"../../../node_modules/axios/lib/defaults/index.js\");\n/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../cancel/CanceledError.js */ \"../../../node_modules/axios/lib/cancel/CanceledError.js\");\n/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ \"../../../node_modules/axios/lib/core/AxiosHeaders.js\");\n/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../adapters/adapters.js */ \"../../../node_modules/axios/lib/adapters/adapters.js\");\n\n\n\n\n\n\n\n\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n *\n * @param {Object} config The config that is to be used for the request\n *\n * @returns {void}\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"](null, config);\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n *\n * @returns {Promise} The Promise to be fulfilled\n */\nfunction dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n config.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"].from(config.headers);\n\n // Transform request data\n config.data = _transformData_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(\n config,\n config.transformRequest\n );\n\n if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {\n config.headers.setContentType('application/x-www-form-urlencoded', false);\n }\n\n const adapter = _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"].getAdapter(config.adapter || _defaults_index_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].adapter, config);\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(\n config,\n config.transformResponse,\n response\n );\n\n response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"].from(response.headers);\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!(0,_cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(\n config,\n config.transformResponse,\n reason.response\n );\n reason.response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"].from(reason.response.headers);\n }\n }\n\n return Promise.reject(reason);\n });\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/core/dispatchRequest.js?\n}");
492
+
493
+ /***/ },
494
+
495
+ /***/ "../../../node_modules/axios/lib/core/mergeConfig.js"
496
+ /*!***********************************************************!*\
497
+ !*** ../../../node_modules/axios/lib/core/mergeConfig.js ***!
498
+ \***********************************************************/
499
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
500
+
501
+ "use strict";
502
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ mergeConfig)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AxiosHeaders.js */ \"../../../node_modules/axios/lib/core/AxiosHeaders.js\");\n\n\n\n\n\nconst headersToObject = (thing) => thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"] ? { ...thing } : thing;\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n *\n * @returns {Object} New object resulting from merging config2 to config1\n */\nfunction mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n const config = {};\n\n function getMergedValue(target, source, prop, caseless) {\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isPlainObject(target) && _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isPlainObject(source)) {\n return _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].merge.call({caseless}, target, source);\n } else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isPlainObject(source)) {\n return _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].merge({}, source);\n } else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(a, b, prop, caseless) {\n if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isUndefined(b)) {\n return getMergedValue(a, b, prop, caseless);\n } else if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isUndefined(a)) {\n return getMergedValue(undefined, a, prop, caseless);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(a, b) {\n if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isUndefined(b)) {\n return getMergedValue(undefined, b);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(a, b) {\n if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isUndefined(b)) {\n return getMergedValue(undefined, b);\n } else if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isUndefined(a)) {\n return getMergedValue(undefined, a);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(a, b, prop) {\n if (prop in config2) {\n return getMergedValue(a, b);\n } else if (prop in config1) {\n return getMergedValue(undefined, a);\n }\n }\n\n const mergeMap = {\n url: valueFromConfig2,\n method: valueFromConfig2,\n data: valueFromConfig2,\n baseURL: defaultToConfig2,\n transformRequest: defaultToConfig2,\n transformResponse: defaultToConfig2,\n paramsSerializer: defaultToConfig2,\n timeout: defaultToConfig2,\n timeoutMessage: defaultToConfig2,\n withCredentials: defaultToConfig2,\n withXSRFToken: defaultToConfig2,\n adapter: defaultToConfig2,\n responseType: defaultToConfig2,\n xsrfCookieName: defaultToConfig2,\n xsrfHeaderName: defaultToConfig2,\n onUploadProgress: defaultToConfig2,\n onDownloadProgress: defaultToConfig2,\n decompress: defaultToConfig2,\n maxContentLength: defaultToConfig2,\n maxBodyLength: defaultToConfig2,\n beforeRedirect: defaultToConfig2,\n transport: defaultToConfig2,\n httpAgent: defaultToConfig2,\n httpsAgent: defaultToConfig2,\n cancelToken: defaultToConfig2,\n socketPath: defaultToConfig2,\n responseEncoding: defaultToConfig2,\n validateStatus: mergeDirectKeys,\n headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)\n };\n\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].forEach(Object.keys({...config1, ...config2}), function computeConfigValue(prop) {\n const merge = mergeMap[prop] || mergeDeepProperties;\n const configValue = merge(config1[prop], config2[prop], prop);\n (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/core/mergeConfig.js?\n}");
503
+
504
+ /***/ },
505
+
506
+ /***/ "../../../node_modules/axios/lib/core/settle.js"
507
+ /*!******************************************************!*\
508
+ !*** ../../../node_modules/axios/lib/core/settle.js ***!
509
+ \******************************************************/
510
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
511
+
512
+ "use strict";
513
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ settle)\n/* harmony export */ });\n/* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ \"../../../node_modules/axios/lib/core/AxiosError.js\");\n\n\n\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n *\n * @returns {object} The response.\n */\nfunction settle(resolve, reject, response) {\n const validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(new _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"](\n 'Request failed with status code ' + response.status,\n [_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].ERR_BAD_REQUEST, _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],\n response.config,\n response.request,\n response\n ));\n }\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/core/settle.js?\n}");
514
+
515
+ /***/ },
516
+
517
+ /***/ "../../../node_modules/axios/lib/core/transformData.js"
518
+ /*!*************************************************************!*\
519
+ !*** ../../../node_modules/axios/lib/core/transformData.js ***!
520
+ \*************************************************************/
521
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
522
+
523
+ "use strict";
524
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ transformData)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../defaults/index.js */ \"../../../node_modules/axios/lib/defaults/index.js\");\n/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ \"../../../node_modules/axios/lib/core/AxiosHeaders.js\");\n\n\n\n\n\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Array|Function} fns A single function or Array of functions\n * @param {?Object} response The response object\n *\n * @returns {*} The resulting transformed data\n */\nfunction transformData(fns, response) {\n const config = this || _defaults_index_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n const context = response || config;\n const headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].from(context.headers);\n let data = context.data;\n\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].forEach(fns, function transform(fn) {\n data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);\n });\n\n headers.normalize();\n\n return data;\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/core/transformData.js?\n}");
525
+
526
+ /***/ },
527
+
528
+ /***/ "../../../node_modules/axios/lib/defaults/index.js"
529
+ /*!*********************************************************!*\
530
+ !*** ../../../node_modules/axios/lib/defaults/index.js ***!
531
+ \*********************************************************/
532
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
533
+
534
+ "use strict";
535
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ \"../../../node_modules/axios/lib/core/AxiosError.js\");\n/* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transitional.js */ \"../../../node_modules/axios/lib/defaults/transitional.js\");\n/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toFormData.js */ \"../../../node_modules/axios/lib/helpers/toFormData.js\");\n/* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ \"../../../node_modules/axios/lib/helpers/toURLEncodedForm.js\");\n/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ \"../../../node_modules/axios/lib/platform/index.js\");\n/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ \"../../../node_modules/axios/lib/helpers/formDataToJSON.js\");\n\n\n\n\n\n\n\n\n\n\n/**\n * It takes a string, tries to parse it, and if it fails, it returns the stringified version\n * of the input\n *\n * @param {any} rawValue - The value to be stringified.\n * @param {Function} parser - A function that parses a string into a JavaScript object.\n * @param {Function} encoder - A function that takes a value and returns a string.\n *\n * @returns {string} A stringified version of the rawValue.\n */\nfunction stringifySafely(rawValue, parser, encoder) {\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nconst defaults = {\n\n transitional: _transitional_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n\n adapter: ['xhr', 'http', 'fetch'],\n\n transformRequest: [function transformRequest(data, headers) {\n const contentType = headers.getContentType() || '';\n const hasJSONContentType = contentType.indexOf('application/json') > -1;\n const isObjectPayload = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isObject(data);\n\n if (isObjectPayload && _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isHTMLForm(data)) {\n data = new FormData(data);\n }\n\n const isFormData = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isFormData(data);\n\n if (isFormData) {\n return hasJSONContentType ? JSON.stringify((0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(data)) : data;\n }\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArrayBuffer(data) ||\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isBuffer(data) ||\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isStream(data) ||\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isFile(data) ||\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isBlob(data) ||\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isReadableStream(data)\n ) {\n return data;\n }\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArrayBufferView(data)) {\n return data.buffer;\n }\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isURLSearchParams(data)) {\n headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);\n return data.toString();\n }\n\n let isFileList;\n\n if (isObjectPayload) {\n if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {\n return (0,_helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(data, this.formSerializer).toString();\n }\n\n if ((isFileList = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {\n const _FormData = this.env && this.env.FormData;\n\n return (0,_helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(\n isFileList ? {'files[]': data} : data,\n _FormData && new _FormData(),\n this.formSerializer\n );\n }\n }\n\n if (isObjectPayload || hasJSONContentType ) {\n headers.setContentType('application/json', false);\n return stringifySafely(data);\n }\n\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n const transitional = this.transitional || defaults.transitional;\n const forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n const JSONRequested = this.responseType === 'json';\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isResponse(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isReadableStream(data)) {\n return data;\n }\n\n if (data && _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isString(data) && ((forcedJSONParsing && !this.responseType) || JSONRequested)) {\n const silentJSONParsing = transitional && transitional.silentJSONParsing;\n const strictJSONParsing = !silentJSONParsing && JSONRequested;\n\n try {\n return JSON.parse(data, this.parseReviver);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].from(e, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].ERR_BAD_RESPONSE, this, null, this.response);\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n env: {\n FormData: _platform_index_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"].classes.FormData,\n Blob: _platform_index_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"].classes.Blob\n },\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*',\n 'Content-Type': undefined\n }\n }\n};\n\n_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {\n defaults.headers[method] = {};\n});\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaults);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/defaults/index.js?\n}");
536
+
537
+ /***/ },
538
+
539
+ /***/ "../../../node_modules/axios/lib/defaults/transitional.js"
540
+ /*!****************************************************************!*\
541
+ !*** ../../../node_modules/axios/lib/defaults/transitional.js ***!
542
+ \****************************************************************/
543
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
544
+
545
+ "use strict";
546
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n});\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/defaults/transitional.js?\n}");
547
+
548
+ /***/ },
549
+
550
+ /***/ "../../../node_modules/axios/lib/env/data.js"
551
+ /*!***************************************************!*\
552
+ !*** ../../../node_modules/axios/lib/env/data.js ***!
553
+ \***************************************************/
554
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
555
+
556
+ "use strict";
557
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ VERSION: () => (/* binding */ VERSION)\n/* harmony export */ });\nconst VERSION = \"1.13.2\";\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/env/data.js?\n}");
558
+
559
+ /***/ },
560
+
561
+ /***/ "../../../node_modules/axios/lib/helpers/AxiosURLSearchParams.js"
562
+ /*!***********************************************************************!*\
563
+ !*** ../../../node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
564
+ \***********************************************************************/
565
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
566
+
567
+ "use strict";
568
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ \"../../../node_modules/axios/lib/helpers/toFormData.js\");\n\n\n\n\n/**\n * It encodes a string by replacing all characters that are not in the unreserved set with\n * their percent-encoded equivalents\n *\n * @param {string} str - The string to encode.\n *\n * @returns {string} The encoded string.\n */\nfunction encode(str) {\n const charMap = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+',\n '%00': '\\x00'\n };\n return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {\n return charMap[match];\n });\n}\n\n/**\n * It takes a params object and converts it to a FormData object\n *\n * @param {Object<string, any>} params - The parameters to be converted to a FormData object.\n * @param {Object<string, any>} options - The options object passed to the Axios constructor.\n *\n * @returns {void}\n */\nfunction AxiosURLSearchParams(params, options) {\n this._pairs = [];\n\n params && (0,_toFormData_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(params, this, options);\n}\n\nconst prototype = AxiosURLSearchParams.prototype;\n\nprototype.append = function append(name, value) {\n this._pairs.push([name, value]);\n};\n\nprototype.toString = function toString(encoder) {\n const _encode = encoder ? function(value) {\n return encoder.call(this, value, encode);\n } : encode;\n\n return this._pairs.map(function each(pair) {\n return _encode(pair[0]) + '=' + _encode(pair[1]);\n }, '').join('&');\n};\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AxiosURLSearchParams);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/AxiosURLSearchParams.js?\n}");
569
+
570
+ /***/ },
571
+
572
+ /***/ "../../../node_modules/axios/lib/helpers/HttpStatusCode.js"
573
+ /*!*****************************************************************!*\
574
+ !*** ../../../node_modules/axios/lib/helpers/HttpStatusCode.js ***!
575
+ \*****************************************************************/
576
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
577
+
578
+ "use strict";
579
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nconst HttpStatusCode = {\n Continue: 100,\n SwitchingProtocols: 101,\n Processing: 102,\n EarlyHints: 103,\n Ok: 200,\n Created: 201,\n Accepted: 202,\n NonAuthoritativeInformation: 203,\n NoContent: 204,\n ResetContent: 205,\n PartialContent: 206,\n MultiStatus: 207,\n AlreadyReported: 208,\n ImUsed: 226,\n MultipleChoices: 300,\n MovedPermanently: 301,\n Found: 302,\n SeeOther: 303,\n NotModified: 304,\n UseProxy: 305,\n Unused: 306,\n TemporaryRedirect: 307,\n PermanentRedirect: 308,\n BadRequest: 400,\n Unauthorized: 401,\n PaymentRequired: 402,\n Forbidden: 403,\n NotFound: 404,\n MethodNotAllowed: 405,\n NotAcceptable: 406,\n ProxyAuthenticationRequired: 407,\n RequestTimeout: 408,\n Conflict: 409,\n Gone: 410,\n LengthRequired: 411,\n PreconditionFailed: 412,\n PayloadTooLarge: 413,\n UriTooLong: 414,\n UnsupportedMediaType: 415,\n RangeNotSatisfiable: 416,\n ExpectationFailed: 417,\n ImATeapot: 418,\n MisdirectedRequest: 421,\n UnprocessableEntity: 422,\n Locked: 423,\n FailedDependency: 424,\n TooEarly: 425,\n UpgradeRequired: 426,\n PreconditionRequired: 428,\n TooManyRequests: 429,\n RequestHeaderFieldsTooLarge: 431,\n UnavailableForLegalReasons: 451,\n InternalServerError: 500,\n NotImplemented: 501,\n BadGateway: 502,\n ServiceUnavailable: 503,\n GatewayTimeout: 504,\n HttpVersionNotSupported: 505,\n VariantAlsoNegotiates: 506,\n InsufficientStorage: 507,\n LoopDetected: 508,\n NotExtended: 510,\n NetworkAuthenticationRequired: 511,\n WebServerIsDown: 521,\n ConnectionTimedOut: 522,\n OriginIsUnreachable: 523,\n TimeoutOccurred: 524,\n SslHandshakeFailed: 525,\n InvalidSslCertificate: 526,\n};\n\nObject.entries(HttpStatusCode).forEach(([key, value]) => {\n HttpStatusCode[value] = key;\n});\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HttpStatusCode);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/HttpStatusCode.js?\n}");
580
+
581
+ /***/ },
582
+
583
+ /***/ "../../../node_modules/axios/lib/helpers/bind.js"
584
+ /*!*******************************************************!*\
585
+ !*** ../../../node_modules/axios/lib/helpers/bind.js ***!
586
+ \*******************************************************/
587
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
588
+
589
+ "use strict";
590
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ bind)\n/* harmony export */ });\n\n\n/**\n * Create a bound version of a function with a specified `this` context\n *\n * @param {Function} fn - The function to bind\n * @param {*} thisArg - The value to be passed as the `this` parameter\n * @returns {Function} A new function that will call the original function with the specified `this` context\n */\nfunction bind(fn, thisArg) {\n return function wrap() {\n return fn.apply(thisArg, arguments);\n };\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/bind.js?\n}");
591
+
592
+ /***/ },
593
+
594
+ /***/ "../../../node_modules/axios/lib/helpers/buildURL.js"
595
+ /*!***********************************************************!*\
596
+ !*** ../../../node_modules/axios/lib/helpers/buildURL.js ***!
597
+ \***********************************************************/
598
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
599
+
600
+ "use strict";
601
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ buildURL)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ \"../../../node_modules/axios/lib/helpers/AxiosURLSearchParams.js\");\n\n\n\n\n\n/**\n * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their\n * URI encoded counterparts\n *\n * @param {string} val The value to be encoded.\n *\n * @returns {string} The encoded value.\n */\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @param {?(object|Function)} options\n *\n * @returns {string} The formatted url\n */\nfunction buildURL(url, params, options) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n \n const _encode = options && options.encode || encode;\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isFunction(options)) {\n options = {\n serialize: options\n };\n } \n\n const serializeFn = options && options.serialize;\n\n let serializedParams;\n\n if (serializeFn) {\n serializedParams = serializeFn(params, options);\n } else {\n serializedParams = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isURLSearchParams(params) ?\n params.toString() :\n new _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"](params, options).toString(_encode);\n }\n\n if (serializedParams) {\n const hashmarkIndex = url.indexOf(\"#\");\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/buildURL.js?\n}");
602
+
603
+ /***/ },
604
+
605
+ /***/ "../../../node_modules/axios/lib/helpers/combineURLs.js"
606
+ /*!**************************************************************!*\
607
+ !*** ../../../node_modules/axios/lib/helpers/combineURLs.js ***!
608
+ \**************************************************************/
609
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
610
+
611
+ "use strict";
612
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ combineURLs)\n/* harmony export */ });\n\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n *\n * @returns {string} The combined URL\n */\nfunction combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/?\\/$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/combineURLs.js?\n}");
613
+
614
+ /***/ },
615
+
616
+ /***/ "../../../node_modules/axios/lib/helpers/composeSignals.js"
617
+ /*!*****************************************************************!*\
618
+ !*** ../../../node_modules/axios/lib/helpers/composeSignals.js ***!
619
+ \*****************************************************************/
620
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
621
+
622
+ "use strict";
623
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ \"../../../node_modules/axios/lib/cancel/CanceledError.js\");\n/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ \"../../../node_modules/axios/lib/core/AxiosError.js\");\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n\n\n\n\nconst composeSignals = (signals, timeout) => {\n const {length} = (signals = signals ? signals.filter(Boolean) : []);\n\n if (timeout || length) {\n let controller = new AbortController();\n\n let aborted;\n\n const onabort = function (reason) {\n if (!aborted) {\n aborted = true;\n unsubscribe();\n const err = reason instanceof Error ? reason : this.reason;\n controller.abort(err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"] ? err : new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"](err instanceof Error ? err.message : err));\n }\n }\n\n let timer = timeout && setTimeout(() => {\n timer = null;\n onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"](`timeout ${timeout} of ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].ETIMEDOUT))\n }, timeout)\n\n const unsubscribe = () => {\n if (signals) {\n timer && clearTimeout(timer);\n timer = null;\n signals.forEach(signal => {\n signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort);\n });\n signals = null;\n }\n }\n\n signals.forEach((signal) => signal.addEventListener('abort', onabort));\n\n const {signal} = controller;\n\n signal.unsubscribe = () => _utils_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].asap(unsubscribe);\n\n return signal;\n }\n}\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (composeSignals);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/composeSignals.js?\n}");
624
+
625
+ /***/ },
626
+
627
+ /***/ "../../../node_modules/axios/lib/helpers/cookies.js"
628
+ /*!**********************************************************!*\
629
+ !*** ../../../node_modules/axios/lib/helpers/cookies.js ***!
630
+ \**********************************************************/
631
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
632
+
633
+ "use strict";
634
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ \"../../../node_modules/axios/lib/platform/index.js\");\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].hasStandardBrowserEnv ?\n\n // Standard browser envs support document.cookie\n {\n write(name, value, expires, path, domain, secure, sameSite) {\n if (typeof document === 'undefined') return;\n\n const cookie = [`${name}=${encodeURIComponent(value)}`];\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isNumber(expires)) {\n cookie.push(`expires=${new Date(expires).toUTCString()}`);\n }\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isString(path)) {\n cookie.push(`path=${path}`);\n }\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isString(domain)) {\n cookie.push(`domain=${domain}`);\n }\n if (secure === true) {\n cookie.push('secure');\n }\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isString(sameSite)) {\n cookie.push(`SameSite=${sameSite}`);\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read(name) {\n if (typeof document === 'undefined') return null;\n const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));\n return match ? decodeURIComponent(match[1]) : null;\n },\n\n remove(name) {\n this.write(name, '', Date.now() - 86400000, '/');\n }\n }\n\n :\n\n // Non-standard browser env (web workers, react-native) lack needed support.\n {\n write() {},\n read() {\n return null;\n },\n remove() {}\n });\n\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/cookies.js?\n}");
635
+
636
+ /***/ },
637
+
638
+ /***/ "../../../node_modules/axios/lib/helpers/formDataToJSON.js"
639
+ /*!*****************************************************************!*\
640
+ !*** ../../../node_modules/axios/lib/helpers/formDataToJSON.js ***!
641
+ \*****************************************************************/
642
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
643
+
644
+ "use strict";
645
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n\n\n\n\n/**\n * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']\n *\n * @param {string} name - The name of the property to get.\n *\n * @returns An array of strings.\n */\nfunction parsePropPath(name) {\n // foo[x][y][z]\n // foo.x.y.z\n // foo-x-y-z\n // foo x y z\n return _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].matchAll(/\\w+|\\[(\\w*)]/g, name).map(match => {\n return match[0] === '[]' ? '' : match[1] || match[0];\n });\n}\n\n/**\n * Convert an array to an object.\n *\n * @param {Array<any>} arr - The array to convert to an object.\n *\n * @returns An object with the same keys and values as the array.\n */\nfunction arrayToObject(arr) {\n const obj = {};\n const keys = Object.keys(arr);\n let i;\n const len = keys.length;\n let key;\n for (i = 0; i < len; i++) {\n key = keys[i];\n obj[key] = arr[key];\n }\n return obj;\n}\n\n/**\n * It takes a FormData object and returns a JavaScript object\n *\n * @param {string} formData The FormData object to convert to JSON.\n *\n * @returns {Object<string, any> | null} The converted object.\n */\nfunction formDataToJSON(formData) {\n function buildPath(path, value, target, index) {\n let name = path[index++];\n\n if (name === '__proto__') return true;\n\n const isNumericKey = Number.isFinite(+name);\n const isLast = index >= path.length;\n name = !name && _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArray(target) ? target.length : name;\n\n if (isLast) {\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].hasOwnProp(target, name)) {\n target[name] = [target[name], value];\n } else {\n target[name] = value;\n }\n\n return !isNumericKey;\n }\n\n if (!target[name] || !_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isObject(target[name])) {\n target[name] = [];\n }\n\n const result = buildPath(path, value, target[name], index);\n\n if (result && _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArray(target[name])) {\n target[name] = arrayToObject(target[name]);\n }\n\n return !isNumericKey;\n }\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isFormData(formData) && _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isFunction(formData.entries)) {\n const obj = {};\n\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].forEachEntry(formData, (name, value) => {\n buildPath(parsePropPath(name), value, obj, 0);\n });\n\n return obj;\n }\n\n return null;\n}\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (formDataToJSON);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/formDataToJSON.js?\n}");
646
+
647
+ /***/ },
648
+
649
+ /***/ "../../../node_modules/axios/lib/helpers/isAbsoluteURL.js"
650
+ /*!****************************************************************!*\
651
+ !*** ../../../node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
652
+ \****************************************************************/
653
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
654
+
655
+ "use strict";
656
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ isAbsoluteURL)\n/* harmony export */ });\n\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n *\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nfunction isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"<scheme>://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/isAbsoluteURL.js?\n}");
657
+
658
+ /***/ },
659
+
660
+ /***/ "../../../node_modules/axios/lib/helpers/isAxiosError.js"
661
+ /*!***************************************************************!*\
662
+ !*** ../../../node_modules/axios/lib/helpers/isAxiosError.js ***!
663
+ \***************************************************************/
664
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
665
+
666
+ "use strict";
667
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ isAxiosError)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n\n\n\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n *\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nfunction isAxiosError(payload) {\n return _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isObject(payload) && (payload.isAxiosError === true);\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/isAxiosError.js?\n}");
668
+
669
+ /***/ },
670
+
671
+ /***/ "../../../node_modules/axios/lib/helpers/isURLSameOrigin.js"
672
+ /*!******************************************************************!*\
673
+ !*** ../../../node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
674
+ \******************************************************************/
675
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
676
+
677
+ "use strict";
678
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ \"../../../node_modules/axios/lib/platform/index.js\");\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].hasStandardBrowserEnv ? ((origin, isMSIE) => (url) => {\n url = new URL(url, _platform_index_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].origin);\n\n return (\n origin.protocol === url.protocol &&\n origin.host === url.host &&\n (isMSIE || origin.port === url.port)\n );\n})(\n new URL(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].origin),\n _platform_index_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].navigator && /(msie|trident)/i.test(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].navigator.userAgent)\n) : () => true);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/isURLSameOrigin.js?\n}");
679
+
680
+ /***/ },
681
+
682
+ /***/ "../../../node_modules/axios/lib/helpers/null.js"
683
+ /*!*******************************************************!*\
684
+ !*** ../../../node_modules/axios/lib/helpers/null.js ***!
685
+ \*******************************************************/
686
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
687
+
688
+ "use strict";
689
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n// eslint-disable-next-line strict\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (null);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/null.js?\n}");
690
+
691
+ /***/ },
692
+
693
+ /***/ "../../../node_modules/axios/lib/helpers/parseHeaders.js"
694
+ /*!***************************************************************!*\
695
+ !*** ../../../node_modules/axios/lib/helpers/parseHeaders.js ***!
696
+ \***************************************************************/
697
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
698
+
699
+ "use strict";
700
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n\n\n\n\n// RawAxiosHeaders whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nconst ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].toObjectSet([\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n]);\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} rawHeaders Headers needing to be parsed\n *\n * @returns {Object} Headers parsed into an object\n */\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (rawHeaders => {\n const parsed = {};\n let key;\n let val;\n let i;\n\n rawHeaders && rawHeaders.split('\\n').forEach(function parser(line) {\n i = line.indexOf(':');\n key = line.substring(0, i).trim().toLowerCase();\n val = line.substring(i + 1).trim();\n\n if (!key || (parsed[key] && ignoreDuplicateOf[key])) {\n return;\n }\n\n if (key === 'set-cookie') {\n if (parsed[key]) {\n parsed[key].push(val);\n } else {\n parsed[key] = [val];\n }\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n });\n\n return parsed;\n});\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/parseHeaders.js?\n}");
701
+
702
+ /***/ },
703
+
704
+ /***/ "../../../node_modules/axios/lib/helpers/parseProtocol.js"
705
+ /*!****************************************************************!*\
706
+ !*** ../../../node_modules/axios/lib/helpers/parseProtocol.js ***!
707
+ \****************************************************************/
708
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
709
+
710
+ "use strict";
711
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ parseProtocol)\n/* harmony export */ });\n\n\nfunction parseProtocol(url) {\n const match = /^([-+\\w]{1,25})(:?\\/\\/|:)/.exec(url);\n return match && match[1] || '';\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/parseProtocol.js?\n}");
712
+
713
+ /***/ },
714
+
715
+ /***/ "../../../node_modules/axios/lib/helpers/progressEventReducer.js"
716
+ /*!***********************************************************************!*\
717
+ !*** ../../../node_modules/axios/lib/helpers/progressEventReducer.js ***!
718
+ \***********************************************************************/
719
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
720
+
721
+ "use strict";
722
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ asyncDecorator: () => (/* binding */ asyncDecorator),\n/* harmony export */ progressEventDecorator: () => (/* binding */ progressEventDecorator),\n/* harmony export */ progressEventReducer: () => (/* binding */ progressEventReducer)\n/* harmony export */ });\n/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ \"../../../node_modules/axios/lib/helpers/speedometer.js\");\n/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ \"../../../node_modules/axios/lib/helpers/throttle.js\");\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n\n\n\n\nconst progressEventReducer = (listener, isDownloadStream, freq = 3) => {\n let bytesNotified = 0;\n const _speedometer = (0,_speedometer_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(50, 250);\n\n return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(e => {\n const loaded = e.loaded;\n const total = e.lengthComputable ? e.total : undefined;\n const progressBytes = loaded - bytesNotified;\n const rate = _speedometer(progressBytes);\n const inRange = loaded <= total;\n\n bytesNotified = loaded;\n\n const data = {\n loaded,\n total,\n progress: total ? (loaded / total) : undefined,\n bytes: progressBytes,\n rate: rate ? rate : undefined,\n estimated: rate && total && inRange ? (total - loaded) / rate : undefined,\n event: e,\n lengthComputable: total != null,\n [isDownloadStream ? 'download' : 'upload']: true\n };\n\n listener(data);\n }, freq);\n}\n\nconst progressEventDecorator = (total, throttled) => {\n const lengthComputable = total != null;\n\n return [(loaded) => throttled[0]({\n lengthComputable,\n total,\n loaded\n }), throttled[1]];\n}\n\nconst asyncDecorator = (fn) => (...args) => _utils_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].asap(() => fn(...args));\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/progressEventReducer.js?\n}");
723
+
724
+ /***/ },
725
+
726
+ /***/ "../../../node_modules/axios/lib/helpers/resolveConfig.js"
727
+ /*!****************************************************************!*\
728
+ !*** ../../../node_modules/axios/lib/helpers/resolveConfig.js ***!
729
+ \****************************************************************/
730
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
731
+
732
+ "use strict";
733
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ \"../../../node_modules/axios/lib/platform/index.js\");\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isURLSameOrigin.js */ \"../../../node_modules/axios/lib/helpers/isURLSameOrigin.js\");\n/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cookies.js */ \"../../../node_modules/axios/lib/helpers/cookies.js\");\n/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/buildFullPath.js */ \"../../../node_modules/axios/lib/core/buildFullPath.js\");\n/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/mergeConfig.js */ \"../../../node_modules/axios/lib/core/mergeConfig.js\");\n/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ \"../../../node_modules/axios/lib/core/AxiosHeaders.js\");\n/* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./buildURL.js */ \"../../../node_modules/axios/lib/helpers/buildURL.js\");\n\n\n\n\n\n\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((config) => {\n const newConfig = (0,_core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])({}, config);\n\n let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;\n\n newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"].from(headers);\n\n newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"])((0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);\n\n // HTTP basic authentication\n if (auth) {\n headers.set('Authorization', 'Basic ' +\n btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : ''))\n );\n }\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].isFormData(data)) {\n if (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].hasStandardBrowserEnv || _platform_index_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].hasStandardBrowserWebWorkerEnv) {\n headers.setContentType(undefined); // browser handles it\n } else if (_utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].isFunction(data.getHeaders)) {\n // Node.js FormData (like form-data package)\n const formHeaders = data.getHeaders();\n // Only set safe headers to avoid overwriting security headers\n const allowedHeaders = ['content-type', 'content-length'];\n Object.entries(formHeaders).forEach(([key, val]) => {\n if (allowedHeaders.includes(key.toLowerCase())) {\n headers.set(key, val);\n }\n });\n }\n } \n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n\n if (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].hasStandardBrowserEnv) {\n withXSRFToken && _utils_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));\n\n if (withXSRFToken || (withXSRFToken !== false && (0,_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(newConfig.url))) {\n // Add xsrf header\n const xsrfValue = xsrfHeaderName && xsrfCookieName && _cookies_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].read(xsrfCookieName);\n\n if (xsrfValue) {\n headers.set(xsrfHeaderName, xsrfValue);\n }\n }\n }\n\n return newConfig;\n});\n\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/resolveConfig.js?\n}");
734
+
735
+ /***/ },
736
+
737
+ /***/ "../../../node_modules/axios/lib/helpers/speedometer.js"
738
+ /*!**************************************************************!*\
739
+ !*** ../../../node_modules/axios/lib/helpers/speedometer.js ***!
740
+ \**************************************************************/
741
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
742
+
743
+ "use strict";
744
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n\n\n/**\n * Calculate data maxRate\n * @param {Number} [samplesCount= 10]\n * @param {Number} [min= 1000]\n * @returns {Function}\n */\nfunction speedometer(samplesCount, min) {\n samplesCount = samplesCount || 10;\n const bytes = new Array(samplesCount);\n const timestamps = new Array(samplesCount);\n let head = 0;\n let tail = 0;\n let firstSampleTS;\n\n min = min !== undefined ? min : 1000;\n\n return function push(chunkLength) {\n const now = Date.now();\n\n const startedAt = timestamps[tail];\n\n if (!firstSampleTS) {\n firstSampleTS = now;\n }\n\n bytes[head] = chunkLength;\n timestamps[head] = now;\n\n let i = tail;\n let bytesCount = 0;\n\n while (i !== head) {\n bytesCount += bytes[i++];\n i = i % samplesCount;\n }\n\n head = (head + 1) % samplesCount;\n\n if (head === tail) {\n tail = (tail + 1) % samplesCount;\n }\n\n if (now - firstSampleTS < min) {\n return;\n }\n\n const passed = startedAt && now - startedAt;\n\n return passed ? Math.round(bytesCount * 1000 / passed) : undefined;\n };\n}\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (speedometer);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/speedometer.js?\n}");
745
+
746
+ /***/ },
747
+
748
+ /***/ "../../../node_modules/axios/lib/helpers/spread.js"
749
+ /*!*********************************************************!*\
750
+ !*** ../../../node_modules/axios/lib/helpers/spread.js ***!
751
+ \*********************************************************/
752
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
753
+
754
+ "use strict";
755
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ spread)\n/* harmony export */ });\n\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n *\n * @returns {Function}\n */\nfunction spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/spread.js?\n}");
756
+
757
+ /***/ },
758
+
759
+ /***/ "../../../node_modules/axios/lib/helpers/throttle.js"
760
+ /*!***********************************************************!*\
761
+ !*** ../../../node_modules/axios/lib/helpers/throttle.js ***!
762
+ \***********************************************************/
763
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
764
+
765
+ "use strict";
766
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/**\n * Throttle decorator\n * @param {Function} fn\n * @param {Number} freq\n * @return {Function}\n */\nfunction throttle(fn, freq) {\n let timestamp = 0;\n let threshold = 1000 / freq;\n let lastArgs;\n let timer;\n\n const invoke = (args, now = Date.now()) => {\n timestamp = now;\n lastArgs = null;\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n fn(...args);\n }\n\n const throttled = (...args) => {\n const now = Date.now();\n const passed = now - timestamp;\n if ( passed >= threshold) {\n invoke(args, now);\n } else {\n lastArgs = args;\n if (!timer) {\n timer = setTimeout(() => {\n timer = null;\n invoke(lastArgs)\n }, threshold - passed);\n }\n }\n }\n\n const flush = () => lastArgs && invoke(lastArgs);\n\n return [throttled, flush];\n}\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (throttle);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/throttle.js?\n}");
767
+
768
+ /***/ },
769
+
770
+ /***/ "../../../node_modules/axios/lib/helpers/toFormData.js"
771
+ /*!*************************************************************!*\
772
+ !*** ../../../node_modules/axios/lib/helpers/toFormData.js ***!
773
+ \*************************************************************/
774
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
775
+
776
+ "use strict";
777
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ \"../../../node_modules/axios/lib/core/AxiosError.js\");\n/* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../platform/node/classes/FormData.js */ \"../../../node_modules/axios/lib/helpers/null.js\");\n\n\n\n\n// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored\n\n\n/**\n * Determines if the given thing is a array or js object.\n *\n * @param {string} thing - The object or array to be visited.\n *\n * @returns {boolean}\n */\nfunction isVisitable(thing) {\n return _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isPlainObject(thing) || _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArray(thing);\n}\n\n/**\n * It removes the brackets from the end of a string\n *\n * @param {string} key - The key of the parameter.\n *\n * @returns {string} the key without the brackets.\n */\nfunction removeBrackets(key) {\n return _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].endsWith(key, '[]') ? key.slice(0, -2) : key;\n}\n\n/**\n * It takes a path, a key, and a boolean, and returns a string\n *\n * @param {string} path - The path to the current key.\n * @param {string} key - The key of the current object being iterated over.\n * @param {string} dots - If true, the key will be rendered with dots instead of brackets.\n *\n * @returns {string} The path to the current key.\n */\nfunction renderKey(path, key, dots) {\n if (!path) return key;\n return path.concat(key).map(function each(token, i) {\n // eslint-disable-next-line no-param-reassign\n token = removeBrackets(token);\n return !dots && i ? '[' + token + ']' : token;\n }).join(dots ? '.' : '');\n}\n\n/**\n * If the array is an array and none of its elements are visitable, then it's a flat array.\n *\n * @param {Array<any>} arr - The array to check\n *\n * @returns {boolean}\n */\nfunction isFlatArray(arr) {\n return _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArray(arr) && !arr.some(isVisitable);\n}\n\nconst predicates = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].toFlatObject(_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {}, null, function filter(prop) {\n return /^is[A-Z]/.test(prop);\n});\n\n/**\n * Convert a data object to FormData\n *\n * @param {Object} obj\n * @param {?Object} [formData]\n * @param {?Object} [options]\n * @param {Function} [options.visitor]\n * @param {Boolean} [options.metaTokens = true]\n * @param {Boolean} [options.dots = false]\n * @param {?Boolean} [options.indexes = false]\n *\n * @returns {Object}\n **/\n\n/**\n * It converts an object into a FormData object\n *\n * @param {Object<any, any>} obj - The object to convert to form data.\n * @param {string} formData - The FormData object to append to.\n * @param {Object<string, any>} options\n *\n * @returns\n */\nfunction toFormData(obj, formData, options) {\n if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isObject(obj)) {\n throw new TypeError('target must be an object');\n }\n\n // eslint-disable-next-line no-param-reassign\n formData = formData || new (_platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"] || FormData)();\n\n // eslint-disable-next-line no-param-reassign\n options = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].toFlatObject(options, {\n metaTokens: true,\n dots: false,\n indexes: false\n }, false, function defined(option, source) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n return !_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isUndefined(source[option]);\n });\n\n const metaTokens = options.metaTokens;\n // eslint-disable-next-line no-use-before-define\n const visitor = options.visitor || defaultVisitor;\n const dots = options.dots;\n const indexes = options.indexes;\n const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;\n const useBlob = _Blob && _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isSpecCompliantForm(formData);\n\n if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isFunction(visitor)) {\n throw new TypeError('visitor must be a function');\n }\n\n function convertValue(value) {\n if (value === null) return '';\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isDate(value)) {\n return value.toISOString();\n }\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isBoolean(value)) {\n return value.toString();\n }\n\n if (!useBlob && _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isBlob(value)) {\n throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"]('Blob is not supported. Use a Buffer instead.');\n }\n\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArrayBuffer(value) || _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isTypedArray(value)) {\n return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);\n }\n\n return value;\n }\n\n /**\n * Default visitor.\n *\n * @param {*} value\n * @param {String|Number} key\n * @param {Array<String|Number>} path\n * @this {FormData}\n *\n * @returns {boolean} return true to visit the each prop of the value recursively\n */\n function defaultVisitor(value, key, path) {\n let arr = value;\n\n if (value && !path && typeof value === 'object') {\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n key = metaTokens ? key : key.slice(0, -2);\n // eslint-disable-next-line no-param-reassign\n value = JSON.stringify(value);\n } else if (\n (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isArray(value) && isFlatArray(value)) ||\n ((_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isFileList(value) || _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].endsWith(key, '[]')) && (arr = _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].toArray(value))\n )) {\n // eslint-disable-next-line no-param-reassign\n key = removeBrackets(key);\n\n arr.forEach(function each(el, index) {\n !(_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isUndefined(el) || el === null) && formData.append(\n // eslint-disable-next-line no-nested-ternary\n indexes === true ? renderKey([key], index, dots) : (indexes === null ? key : key + '[]'),\n convertValue(el)\n );\n });\n return false;\n }\n }\n\n if (isVisitable(value)) {\n return true;\n }\n\n formData.append(renderKey(path, key, dots), convertValue(value));\n\n return false;\n }\n\n const stack = [];\n\n const exposedHelpers = Object.assign(predicates, {\n defaultVisitor,\n convertValue,\n isVisitable\n });\n\n function build(value, path) {\n if (_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isUndefined(value)) return;\n\n if (stack.indexOf(value) !== -1) {\n throw Error('Circular reference detected in ' + path.join('.'));\n }\n\n stack.push(value);\n\n _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].forEach(value, function each(el, key) {\n const result = !(_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isUndefined(el) || el === null) && visitor.call(\n formData, el, _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isString(key) ? key.trim() : key, path, exposedHelpers\n );\n\n if (result === true) {\n build(el, path ? path.concat(key) : [key]);\n }\n });\n\n stack.pop();\n }\n\n if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isObject(obj)) {\n throw new TypeError('data must be an object');\n }\n\n build(obj);\n\n return formData;\n}\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toFormData);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/toFormData.js?\n}");
778
+
779
+ /***/ },
780
+
781
+ /***/ "../../../node_modules/axios/lib/helpers/toURLEncodedForm.js"
782
+ /*!*******************************************************************!*\
783
+ !*** ../../../node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
784
+ \*******************************************************************/
785
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
786
+
787
+ "use strict";
788
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ toURLEncodedForm)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ \"../../../node_modules/axios/lib/utils.js\");\n/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toFormData.js */ \"../../../node_modules/axios/lib/helpers/toFormData.js\");\n/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../platform/index.js */ \"../../../node_modules/axios/lib/platform/index.js\");\n\n\n\n\n\n\nfunction toURLEncodedForm(data, options) {\n return (0,_toFormData_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(data, new _platform_index_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].classes.URLSearchParams(), {\n visitor: function(value, key, path, helpers) {\n if (_platform_index_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isNode && _utils_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isBuffer(value)) {\n this.append(key, value.toString('base64'));\n return false;\n }\n\n return helpers.defaultVisitor.apply(this, arguments);\n },\n ...options\n });\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/toURLEncodedForm.js?\n}");
789
+
790
+ /***/ },
791
+
792
+ /***/ "../../../node_modules/axios/lib/helpers/trackStream.js"
793
+ /*!**************************************************************!*\
794
+ !*** ../../../node_modules/axios/lib/helpers/trackStream.js ***!
795
+ \**************************************************************/
796
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
797
+
798
+ "use strict";
799
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ trackStream: () => (/* binding */ trackStream)\n/* harmony export */ });\n/* unused harmony exports streamChunk, readBytes */\n\nconst streamChunk = function* (chunk, chunkSize) {\n let len = chunk.byteLength;\n\n if (!chunkSize || len < chunkSize) {\n yield chunk;\n return;\n }\n\n let pos = 0;\n let end;\n\n while (pos < len) {\n end = pos + chunkSize;\n yield chunk.slice(pos, end);\n pos = end;\n }\n}\n\nconst readBytes = async function* (iterable, chunkSize) {\n for await (const chunk of readStream(iterable)) {\n yield* streamChunk(chunk, chunkSize);\n }\n}\n\nconst readStream = async function* (stream) {\n if (stream[Symbol.asyncIterator]) {\n yield* stream;\n return;\n }\n\n const reader = stream.getReader();\n try {\n for (;;) {\n const {done, value} = await reader.read();\n if (done) {\n break;\n }\n yield value;\n }\n } finally {\n await reader.cancel();\n }\n}\n\nconst trackStream = (stream, chunkSize, onProgress, onFinish) => {\n const iterator = readBytes(stream, chunkSize);\n\n let bytes = 0;\n let done;\n let _onFinish = (e) => {\n if (!done) {\n done = true;\n onFinish && onFinish(e);\n }\n }\n\n return new ReadableStream({\n async pull(controller) {\n try {\n const {done, value} = await iterator.next();\n\n if (done) {\n _onFinish();\n controller.close();\n return;\n }\n\n let len = value.byteLength;\n if (onProgress) {\n let loadedBytes = bytes += len;\n onProgress(loadedBytes);\n }\n controller.enqueue(new Uint8Array(value));\n } catch (err) {\n _onFinish(err);\n throw err;\n }\n },\n cancel(reason) {\n _onFinish(reason);\n return iterator.return();\n }\n }, {\n highWaterMark: 2\n })\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/trackStream.js?\n}");
800
+
801
+ /***/ },
802
+
803
+ /***/ "../../../node_modules/axios/lib/helpers/validator.js"
804
+ /*!************************************************************!*\
805
+ !*** ../../../node_modules/axios/lib/helpers/validator.js ***!
806
+ \************************************************************/
807
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
808
+
809
+ "use strict";
810
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ \"../../../node_modules/axios/lib/env/data.js\");\n/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ \"../../../node_modules/axios/lib/core/AxiosError.js\");\n\n\n\n\n\nconst validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nconst deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n *\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n *\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + _env_data_js__WEBPACK_IMPORTED_MODULE_0__.VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return (value, opt, opts) => {\n if (validator === false) {\n throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"](\n formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),\n _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].ERR_DEPRECATED\n );\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\nvalidators.spelling = function spelling(correctSpelling) {\n return (value, opt) => {\n // eslint-disable-next-line no-console\n console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);\n return true;\n }\n};\n\n/**\n * Assert object's properties type\n *\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n *\n * @returns {object}\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"]('options must be an object', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].ERR_BAD_OPTION_VALUE);\n }\n const keys = Object.keys(options);\n let i = keys.length;\n while (i-- > 0) {\n const opt = keys[i];\n const validator = schema[opt];\n if (validator) {\n const value = options[opt];\n const result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"]('option ' + opt + ' must be ' + result, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].ERR_BAD_OPTION_VALUE);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"]('Unknown option ' + opt, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"].ERR_BAD_OPTION);\n }\n }\n}\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n assertOptions,\n validators\n});\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/helpers/validator.js?\n}");
811
+
812
+ /***/ },
813
+
814
+ /***/ "../../../node_modules/axios/lib/platform/browser/classes/Blob.js"
815
+ /*!************************************************************************!*\
816
+ !*** ../../../node_modules/axios/lib/platform/browser/classes/Blob.js ***!
817
+ \************************************************************************/
818
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
819
+
820
+ "use strict";
821
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (typeof Blob !== 'undefined' ? Blob : null);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/platform/browser/classes/Blob.js?\n}");
822
+
823
+ /***/ },
824
+
825
+ /***/ "../../../node_modules/axios/lib/platform/browser/classes/FormData.js"
826
+ /*!****************************************************************************!*\
827
+ !*** ../../../node_modules/axios/lib/platform/browser/classes/FormData.js ***!
828
+ \****************************************************************************/
829
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
830
+
831
+ "use strict";
832
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (typeof FormData !== 'undefined' ? FormData : null);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/platform/browser/classes/FormData.js?\n}");
833
+
834
+ /***/ },
835
+
836
+ /***/ "../../../node_modules/axios/lib/platform/browser/classes/URLSearchParams.js"
837
+ /*!***********************************************************************************!*\
838
+ !*** ../../../node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
839
+ \***********************************************************************************/
840
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
841
+
842
+ "use strict";
843
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ \"../../../node_modules/axios/lib/helpers/AxiosURLSearchParams.js\");\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (typeof URLSearchParams !== 'undefined' ? URLSearchParams : _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/platform/browser/classes/URLSearchParams.js?\n}");
844
+
845
+ /***/ },
846
+
847
+ /***/ "../../../node_modules/axios/lib/platform/browser/index.js"
848
+ /*!*****************************************************************!*\
849
+ !*** ../../../node_modules/axios/lib/platform/browser/index.js ***!
850
+ \*****************************************************************/
851
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
852
+
853
+ "use strict";
854
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ \"../../../node_modules/axios/lib/platform/browser/classes/URLSearchParams.js\");\n/* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ \"../../../node_modules/axios/lib/platform/browser/classes/FormData.js\");\n/* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ \"../../../node_modules/axios/lib/platform/browser/classes/Blob.js\");\n\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n isBrowser: true,\n classes: {\n URLSearchParams: _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n FormData: _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n Blob: _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n },\n protocols: ['http', 'https', 'file', 'blob', 'url', 'data']\n});\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/platform/browser/index.js?\n}");
855
+
856
+ /***/ },
857
+
858
+ /***/ "../../../node_modules/axios/lib/platform/common/utils.js"
859
+ /*!****************************************************************!*\
860
+ !*** ../../../node_modules/axios/lib/platform/common/utils.js ***!
861
+ \****************************************************************/
862
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
863
+
864
+ "use strict";
865
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ hasBrowserEnv: () => (/* binding */ hasBrowserEnv),\n/* harmony export */ hasStandardBrowserEnv: () => (/* binding */ hasStandardBrowserEnv),\n/* harmony export */ hasStandardBrowserWebWorkerEnv: () => (/* binding */ hasStandardBrowserWebWorkerEnv),\n/* harmony export */ navigator: () => (/* binding */ _navigator),\n/* harmony export */ origin: () => (/* binding */ origin)\n/* harmony export */ });\nconst hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nconst _navigator = typeof navigator === 'object' && navigator || undefined;\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nconst hasStandardBrowserEnv = hasBrowserEnv &&\n (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);\n\n/**\n * Determine if we're running in a standard browser webWorker environment\n *\n * Although the `isStandardBrowserEnv` method indicates that\n * `allows axios to run in a web worker`, the WebWorker will still be\n * filtered out due to its judgment standard\n * `typeof window !== 'undefined' && typeof document !== 'undefined'`.\n * This leads to a problem when axios post `FormData` in webWorker\n */\nconst hasStandardBrowserWebWorkerEnv = (() => {\n return (\n typeof WorkerGlobalScope !== 'undefined' &&\n // eslint-disable-next-line no-undef\n self instanceof WorkerGlobalScope &&\n typeof self.importScripts === 'function'\n );\n})();\n\nconst origin = hasBrowserEnv && window.location.href || 'http://localhost';\n\n\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/platform/common/utils.js?\n}");
866
+
867
+ /***/ },
868
+
869
+ /***/ "../../../node_modules/axios/lib/platform/index.js"
870
+ /*!*********************************************************!*\
871
+ !*** ../../../node_modules/axios/lib/platform/index.js ***!
872
+ \*********************************************************/
873
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
874
+
875
+ "use strict";
876
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node/index.js */ \"../../../node_modules/axios/lib/platform/browser/index.js\");\n/* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./common/utils.js */ \"../../../node_modules/axios/lib/platform/common/utils.js\");\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n ..._common_utils_js__WEBPACK_IMPORTED_MODULE_1__,\n ..._node_index_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]\n});\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/platform/index.js?\n}");
877
+
878
+ /***/ },
879
+
880
+ /***/ "../../../node_modules/axios/lib/utils.js"
881
+ /*!************************************************!*\
882
+ !*** ../../../node_modules/axios/lib/utils.js ***!
883
+ \************************************************/
884
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
885
+
886
+ "use strict";
887
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ \"../../../node_modules/axios/lib/helpers/bind.js\");\n\n\n\n\n// utils is a library of generic helper functions non-specific to axios\n\nconst {toString} = Object.prototype;\nconst {getPrototypeOf} = Object;\nconst {iterator, toStringTag} = Symbol;\n\nconst kindOf = (cache => thing => {\n const str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n})(Object.create(null));\n\nconst kindOfTest = (type) => {\n type = type.toLowerCase();\n return (thing) => kindOf(thing) === type\n}\n\nconst typeOfTest = type => thing => typeof thing === type;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n *\n * @returns {boolean} True if value is an Array, otherwise false\n */\nconst {isArray} = Array;\n\n/**\n * Determine if a value is undefined\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nconst isUndefined = typeOfTest('undefined');\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nconst isArrayBuffer = kindOfTest('ArrayBuffer');\n\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n let result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a String, otherwise false\n */\nconst isString = typeOfTest('string');\n\n/**\n * Determine if a value is a Function\n *\n * @param {*} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nconst isFunction = typeOfTest('function');\n\n/**\n * Determine if a value is a Number\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Number, otherwise false\n */\nconst isNumber = typeOfTest('number');\n\n/**\n * Determine if a value is an Object\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an Object, otherwise false\n */\nconst isObject = (thing) => thing !== null && typeof thing === 'object';\n\n/**\n * Determine if a value is a Boolean\n *\n * @param {*} thing The value to test\n * @returns {boolean} True if value is a Boolean, otherwise false\n */\nconst isBoolean = thing => thing === true || thing === false;\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a plain Object, otherwise false\n */\nconst isPlainObject = (val) => {\n if (kindOf(val) !== 'object') {\n return false;\n }\n\n const prototype = getPrototypeOf(val);\n return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);\n}\n\n/**\n * Determine if a value is an empty object (safely handles Buffers)\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an empty object, otherwise false\n */\nconst isEmptyObject = (val) => {\n // Early return for non-objects or Buffers to prevent RangeError\n if (!isObject(val) || isBuffer(val)) {\n return false;\n }\n\n try {\n return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;\n } catch (e) {\n // Fallback for any other objects that might cause RangeError with Object.keys()\n return false;\n }\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Date, otherwise false\n */\nconst isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a Blob\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nconst isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFileList = kindOfTest('FileList');\n\n/**\n * Determine if a value is a Stream\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nconst isStream = (val) => isObject(val) && isFunction(val.pipe);\n\n/**\n * Determine if a value is a FormData\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nconst isFormData = (thing) => {\n let kind;\n return thing && (\n (typeof FormData === 'function' && thing instanceof FormData) || (\n isFunction(thing.append) && (\n (kind = kindOf(thing)) === 'formdata' ||\n // detect form-data instance\n (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')\n )\n )\n )\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nconst isURLSearchParams = kindOfTest('URLSearchParams');\n\nconst [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest);\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n *\n * @returns {String} The String freed of excess whitespace\n */\nconst trim = (str) => str.trim ?\n str.trim() : str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n *\n * @param {Boolean} [allOwnKeys = false]\n * @returns {any}\n */\nfunction forEach(obj, fn, {allOwnKeys = false} = {}) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n let i;\n let l;\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Buffer check\n if (isBuffer(obj)) {\n return;\n }\n\n // Iterate over object keys\n const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);\n const len = keys.length;\n let key;\n\n for (i = 0; i < len; i++) {\n key = keys[i];\n fn.call(null, obj[key], key, obj);\n }\n }\n}\n\nfunction findKey(obj, key) {\n if (isBuffer(obj)){\n return null;\n }\n\n key = key.toLowerCase();\n const keys = Object.keys(obj);\n let i = keys.length;\n let _key;\n while (i-- > 0) {\n _key = keys[i];\n if (key === _key.toLowerCase()) {\n return _key;\n }\n }\n return null;\n}\n\nconst _global = (() => {\n /*eslint no-undef:0*/\n if (typeof globalThis !== \"undefined\") return globalThis;\n return typeof self !== \"undefined\" ? self : (typeof window !== 'undefined' ? window : __webpack_require__.g)\n})();\n\nconst isContextDefined = (context) => !isUndefined(context) && context !== _global;\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n *\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n const {caseless, skipUndefined} = isContextDefined(this) && this || {};\n const result = {};\n const assignValue = (val, key) => {\n const targetKey = caseless && findKey(result, key) || key;\n if (isPlainObject(result[targetKey]) && isPlainObject(val)) {\n result[targetKey] = merge(result[targetKey], val);\n } else if (isPlainObject(val)) {\n result[targetKey] = merge({}, val);\n } else if (isArray(val)) {\n result[targetKey] = val.slice();\n } else if (!skipUndefined || !isUndefined(val)) {\n result[targetKey] = val;\n }\n }\n\n for (let i = 0, l = arguments.length; i < l; i++) {\n arguments[i] && forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n *\n * @param {Boolean} [allOwnKeys]\n * @returns {Object} The resulting value of object a\n */\nconst extend = (a, b, thisArg, {allOwnKeys}= {}) => {\n forEach(b, (val, key) => {\n if (thisArg && isFunction(val)) {\n a[key] = (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(val, thisArg);\n } else {\n a[key] = val;\n }\n }, {allOwnKeys});\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n *\n * @returns {string} content value without BOM\n */\nconst stripBOM = (content) => {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n *\n * @returns {void}\n */\nconst inherits = (constructor, superConstructor, props, descriptors) => {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n constructor.prototype.constructor = constructor;\n Object.defineProperty(constructor, 'super', {\n value: superConstructor.prototype\n });\n props && Object.assign(constructor.prototype, props);\n}\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function|Boolean} [filter]\n * @param {Function} [propFilter]\n *\n * @returns {Object}\n */\nconst toFlatObject = (sourceObj, destObj, filter, propFilter) => {\n let props;\n let i;\n let prop;\n const merged = {};\n\n destObj = destObj || {};\n // eslint-disable-next-line no-eq-null,eqeqeq\n if (sourceObj == null) return destObj;\n\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = filter !== false && getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n\n return destObj;\n}\n\n/**\n * Determines whether a string ends with the characters of a specified string\n *\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n *\n * @returns {boolean}\n */\nconst endsWith = (str, searchString, position) => {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n const lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n}\n\n\n/**\n * Returns new array from array like object or null if failed\n *\n * @param {*} [thing]\n *\n * @returns {?Array}\n */\nconst toArray = (thing) => {\n if (!thing) return null;\n if (isArray(thing)) return thing;\n let i = thing.length;\n if (!isNumber(i)) return null;\n const arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n}\n\n/**\n * Checking if the Uint8Array exists and if it does, it returns a function that checks if the\n * thing passed in is an instance of Uint8Array\n *\n * @param {TypedArray}\n *\n * @returns {Array}\n */\n// eslint-disable-next-line func-names\nconst isTypedArray = (TypedArray => {\n // eslint-disable-next-line func-names\n return thing => {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));\n\n/**\n * For each entry in the object, call the function with the key and value.\n *\n * @param {Object<any, any>} obj - The object to iterate over.\n * @param {Function} fn - The function to call for each entry.\n *\n * @returns {void}\n */\nconst forEachEntry = (obj, fn) => {\n const generator = obj && obj[iterator];\n\n const _iterator = generator.call(obj);\n\n let result;\n\n while ((result = _iterator.next()) && !result.done) {\n const pair = result.value;\n fn.call(obj, pair[0], pair[1]);\n }\n}\n\n/**\n * It takes a regular expression and a string, and returns an array of all the matches\n *\n * @param {string} regExp - The regular expression to match against.\n * @param {string} str - The string to search.\n *\n * @returns {Array<boolean>}\n */\nconst matchAll = (regExp, str) => {\n let matches;\n const arr = [];\n\n while ((matches = regExp.exec(str)) !== null) {\n arr.push(matches);\n }\n\n return arr;\n}\n\n/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */\nconst isHTMLForm = kindOfTest('HTMLFormElement');\n\nconst toCamelCase = str => {\n return str.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g,\n function replacer(m, p1, p2) {\n return p1.toUpperCase() + p2;\n }\n );\n};\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);\n\n/**\n * Determine if a value is a RegExp object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a RegExp object, otherwise false\n */\nconst isRegExp = kindOfTest('RegExp');\n\nconst reduceDescriptors = (obj, reducer) => {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n const reducedDescriptors = {};\n\n forEach(descriptors, (descriptor, name) => {\n let ret;\n if ((ret = reducer(descriptor, name, obj)) !== false) {\n reducedDescriptors[name] = ret || descriptor;\n }\n });\n\n Object.defineProperties(obj, reducedDescriptors);\n}\n\n/**\n * Makes all methods read-only\n * @param {Object} obj\n */\n\nconst freezeMethods = (obj) => {\n reduceDescriptors(obj, (descriptor, name) => {\n // skip restricted props in strict mode\n if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {\n return false;\n }\n\n const value = obj[name];\n\n if (!isFunction(value)) return;\n\n descriptor.enumerable = false;\n\n if ('writable' in descriptor) {\n descriptor.writable = false;\n return;\n }\n\n if (!descriptor.set) {\n descriptor.set = () => {\n throw Error('Can not rewrite read-only method \\'' + name + '\\'');\n };\n }\n });\n}\n\nconst toObjectSet = (arrayOrString, delimiter) => {\n const obj = {};\n\n const define = (arr) => {\n arr.forEach(value => {\n obj[value] = true;\n });\n }\n\n isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));\n\n return obj;\n}\n\nconst noop = () => {}\n\nconst toFiniteNumber = (value, defaultValue) => {\n return value != null && Number.isFinite(value = +value) ? value : defaultValue;\n}\n\n\n\n/**\n * If the thing is a FormData object, return true, otherwise return false.\n *\n * @param {unknown} thing - The thing to check.\n *\n * @returns {boolean}\n */\nfunction isSpecCompliantForm(thing) {\n return !!(thing && isFunction(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]);\n}\n\nconst toJSONObject = (obj) => {\n const stack = new Array(10);\n\n const visit = (source, i) => {\n\n if (isObject(source)) {\n if (stack.indexOf(source) >= 0) {\n return;\n }\n\n //Buffer check\n if (isBuffer(source)) {\n return source;\n }\n\n if(!('toJSON' in source)) {\n stack[i] = source;\n const target = isArray(source) ? [] : {};\n\n forEach(source, (value, key) => {\n const reducedValue = visit(value, i + 1);\n !isUndefined(reducedValue) && (target[key] = reducedValue);\n });\n\n stack[i] = undefined;\n\n return target;\n }\n }\n\n return source;\n }\n\n return visit(obj, 0);\n}\n\nconst isAsyncFn = kindOfTest('AsyncFunction');\n\nconst isThenable = (thing) =>\n thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);\n\n// original code\n// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34\n\nconst _setImmediate = ((setImmediateSupported, postMessageSupported) => {\n if (setImmediateSupported) {\n return setImmediate;\n }\n\n return postMessageSupported ? ((token, callbacks) => {\n _global.addEventListener(\"message\", ({source, data}) => {\n if (source === _global && data === token) {\n callbacks.length && callbacks.shift()();\n }\n }, false);\n\n return (cb) => {\n callbacks.push(cb);\n _global.postMessage(token, \"*\");\n }\n })(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);\n})(\n typeof setImmediate === 'function',\n isFunction(_global.postMessage)\n);\n\nconst asap = typeof queueMicrotask !== 'undefined' ?\n queueMicrotask.bind(_global) : ( typeof process !== 'undefined' && process.nextTick || _setImmediate);\n\n// *********************\n\n\nconst isIterable = (thing) => thing != null && isFunction(thing[iterator]);\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n isArray,\n isArrayBuffer,\n isBuffer,\n isFormData,\n isArrayBufferView,\n isString,\n isNumber,\n isBoolean,\n isObject,\n isPlainObject,\n isEmptyObject,\n isReadableStream,\n isRequest,\n isResponse,\n isHeaders,\n isUndefined,\n isDate,\n isFile,\n isBlob,\n isRegExp,\n isFunction,\n isStream,\n isURLSearchParams,\n isTypedArray,\n isFileList,\n forEach,\n merge,\n extend,\n trim,\n stripBOM,\n inherits,\n toFlatObject,\n kindOf,\n kindOfTest,\n endsWith,\n toArray,\n forEachEntry,\n matchAll,\n isHTMLForm,\n hasOwnProperty,\n hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection\n reduceDescriptors,\n freezeMethods,\n toObjectSet,\n toCamelCase,\n noop,\n toFiniteNumber,\n findKey,\n global: _global,\n isContextDefined,\n isSpecCompliantForm,\n toJSONObject,\n isAsyncFn,\n isThenable,\n setImmediate: _setImmediate,\n asap,\n isIterable\n});\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/axios/lib/utils.js?\n}");
888
+
889
+ /***/ },
890
+
891
+ /***/ "../../../node_modules/call-bind-apply-helpers/actualApply.js"
892
+ /*!********************************************************************!*\
893
+ !*** ../../../node_modules/call-bind-apply-helpers/actualApply.js ***!
894
+ \********************************************************************/
895
+ (module, __unused_webpack_exports, __webpack_require__) {
896
+
897
+ "use strict";
898
+ eval("{\n\nvar bind = __webpack_require__(/*! function-bind */ \"../../../node_modules/function-bind/index.js\");\n\nvar $apply = __webpack_require__(/*! ./functionApply */ \"../../../node_modules/call-bind-apply-helpers/functionApply.js\");\nvar $call = __webpack_require__(/*! ./functionCall */ \"../../../node_modules/call-bind-apply-helpers/functionCall.js\");\nvar $reflectApply = __webpack_require__(/*! ./reflectApply */ \"../../../node_modules/call-bind-apply-helpers/reflectApply.js\");\n\n/** @type {import('./actualApply')} */\nmodule.exports = $reflectApply || bind.call($call, $apply);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/call-bind-apply-helpers/actualApply.js?\n}");
899
+
900
+ /***/ },
901
+
902
+ /***/ "../../../node_modules/call-bind-apply-helpers/functionApply.js"
903
+ /*!**********************************************************************!*\
904
+ !*** ../../../node_modules/call-bind-apply-helpers/functionApply.js ***!
905
+ \**********************************************************************/
906
+ (module) {
907
+
908
+ "use strict";
909
+ eval("{\n\n/** @type {import('./functionApply')} */\nmodule.exports = Function.prototype.apply;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/call-bind-apply-helpers/functionApply.js?\n}");
910
+
911
+ /***/ },
912
+
913
+ /***/ "../../../node_modules/call-bind-apply-helpers/functionCall.js"
914
+ /*!*********************************************************************!*\
915
+ !*** ../../../node_modules/call-bind-apply-helpers/functionCall.js ***!
916
+ \*********************************************************************/
917
+ (module) {
918
+
919
+ "use strict";
920
+ eval("{\n\n/** @type {import('./functionCall')} */\nmodule.exports = Function.prototype.call;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/call-bind-apply-helpers/functionCall.js?\n}");
921
+
922
+ /***/ },
923
+
924
+ /***/ "../../../node_modules/call-bind-apply-helpers/index.js"
925
+ /*!**************************************************************!*\
926
+ !*** ../../../node_modules/call-bind-apply-helpers/index.js ***!
927
+ \**************************************************************/
928
+ (module, __unused_webpack_exports, __webpack_require__) {
929
+
930
+ "use strict";
931
+ eval("{\n\nvar bind = __webpack_require__(/*! function-bind */ \"../../../node_modules/function-bind/index.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"../../../node_modules/es-errors/type.js\");\n\nvar $call = __webpack_require__(/*! ./functionCall */ \"../../../node_modules/call-bind-apply-helpers/functionCall.js\");\nvar $actualApply = __webpack_require__(/*! ./actualApply */ \"../../../node_modules/call-bind-apply-helpers/actualApply.js\");\n\n/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */\nmodule.exports = function callBindBasic(args) {\n\tif (args.length < 1 || typeof args[0] !== 'function') {\n\t\tthrow new $TypeError('a function is required');\n\t}\n\treturn $actualApply(bind, $call, args);\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/call-bind-apply-helpers/index.js?\n}");
932
+
933
+ /***/ },
934
+
935
+ /***/ "../../../node_modules/call-bind-apply-helpers/reflectApply.js"
936
+ /*!*********************************************************************!*\
937
+ !*** ../../../node_modules/call-bind-apply-helpers/reflectApply.js ***!
938
+ \*********************************************************************/
939
+ (module) {
940
+
941
+ "use strict";
942
+ eval("{\n\n/** @type {import('./reflectApply')} */\nmodule.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/call-bind-apply-helpers/reflectApply.js?\n}");
943
+
944
+ /***/ },
945
+
946
+ /***/ "../../../node_modules/call-bound/index.js"
947
+ /*!*************************************************!*\
948
+ !*** ../../../node_modules/call-bound/index.js ***!
949
+ \*************************************************/
950
+ (module, __unused_webpack_exports, __webpack_require__) {
951
+
952
+ "use strict";
953
+ eval("{\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../../node_modules/get-intrinsic/index.js\");\n\nvar callBindBasic = __webpack_require__(/*! call-bind-apply-helpers */ \"../../../node_modules/call-bind-apply-helpers/index.js\");\n\n/** @type {(thisArg: string, searchString: string, position?: number) => number} */\nvar $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);\n\n/** @type {import('.')} */\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\t/* eslint no-extra-parens: 0 */\n\n\tvar intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */ (GetIntrinsic(name, !!allowMissing));\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBindBasic(/** @type {const} */ ([intrinsic]));\n\t}\n\treturn intrinsic;\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/call-bound/index.js?\n}");
954
+
955
+ /***/ },
956
+
957
+ /***/ "../../../node_modules/dunder-proto/get.js"
958
+ /*!*************************************************!*\
959
+ !*** ../../../node_modules/dunder-proto/get.js ***!
960
+ \*************************************************/
961
+ (module, __unused_webpack_exports, __webpack_require__) {
962
+
963
+ "use strict";
964
+ eval("{\n\nvar callBind = __webpack_require__(/*! call-bind-apply-helpers */ \"../../../node_modules/call-bind-apply-helpers/index.js\");\nvar gOPD = __webpack_require__(/*! gopd */ \"../../../node_modules/gopd/index.js\");\n\nvar hasProtoAccessor;\ntry {\n\t// eslint-disable-next-line no-extra-parens, no-proto\n\thasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;\n} catch (e) {\n\tif (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {\n\t\tthrow e;\n\t}\n}\n\n// eslint-disable-next-line no-extra-parens\nvar desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));\n\nvar $Object = Object;\nvar $getPrototypeOf = $Object.getPrototypeOf;\n\n/** @type {import('./get')} */\nmodule.exports = desc && typeof desc.get === 'function'\n\t? callBind([desc.get])\n\t: typeof $getPrototypeOf === 'function'\n\t\t? /** @type {import('./get')} */ function getDunder(value) {\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\treturn $getPrototypeOf(value == null ? value : $Object(value));\n\t\t}\n\t\t: false;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/dunder-proto/get.js?\n}");
965
+
966
+ /***/ },
967
+
968
+ /***/ "../../../node_modules/es-define-property/index.js"
969
+ /*!*********************************************************!*\
970
+ !*** ../../../node_modules/es-define-property/index.js ***!
971
+ \*********************************************************/
972
+ (module) {
973
+
974
+ "use strict";
975
+ eval("{\n\n/** @type {import('.')} */\nvar $defineProperty = Object.defineProperty || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/es-define-property/index.js?\n}");
976
+
977
+ /***/ },
978
+
979
+ /***/ "../../../node_modules/es-errors/eval.js"
980
+ /*!***********************************************!*\
981
+ !*** ../../../node_modules/es-errors/eval.js ***!
982
+ \***********************************************/
983
+ (module) {
984
+
985
+ "use strict";
986
+ eval("{\n\n/** @type {import('./eval')} */\nmodule.exports = EvalError;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/es-errors/eval.js?\n}");
987
+
988
+ /***/ },
989
+
990
+ /***/ "../../../node_modules/es-errors/index.js"
991
+ /*!************************************************!*\
992
+ !*** ../../../node_modules/es-errors/index.js ***!
993
+ \************************************************/
994
+ (module) {
995
+
996
+ "use strict";
997
+ eval("{\n\n/** @type {import('.')} */\nmodule.exports = Error;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/es-errors/index.js?\n}");
998
+
999
+ /***/ },
1000
+
1001
+ /***/ "../../../node_modules/es-errors/range.js"
1002
+ /*!************************************************!*\
1003
+ !*** ../../../node_modules/es-errors/range.js ***!
1004
+ \************************************************/
1005
+ (module) {
1006
+
1007
+ "use strict";
1008
+ eval("{\n\n/** @type {import('./range')} */\nmodule.exports = RangeError;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/es-errors/range.js?\n}");
1009
+
1010
+ /***/ },
1011
+
1012
+ /***/ "../../../node_modules/es-errors/ref.js"
1013
+ /*!**********************************************!*\
1014
+ !*** ../../../node_modules/es-errors/ref.js ***!
1015
+ \**********************************************/
1016
+ (module) {
1017
+
1018
+ "use strict";
1019
+ eval("{\n\n/** @type {import('./ref')} */\nmodule.exports = ReferenceError;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/es-errors/ref.js?\n}");
1020
+
1021
+ /***/ },
1022
+
1023
+ /***/ "../../../node_modules/es-errors/syntax.js"
1024
+ /*!*************************************************!*\
1025
+ !*** ../../../node_modules/es-errors/syntax.js ***!
1026
+ \*************************************************/
1027
+ (module) {
1028
+
1029
+ "use strict";
1030
+ eval("{\n\n/** @type {import('./syntax')} */\nmodule.exports = SyntaxError;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/es-errors/syntax.js?\n}");
1031
+
1032
+ /***/ },
1033
+
1034
+ /***/ "../../../node_modules/es-errors/type.js"
1035
+ /*!***********************************************!*\
1036
+ !*** ../../../node_modules/es-errors/type.js ***!
1037
+ \***********************************************/
1038
+ (module) {
1039
+
1040
+ "use strict";
1041
+ eval("{\n\n/** @type {import('./type')} */\nmodule.exports = TypeError;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/es-errors/type.js?\n}");
1042
+
1043
+ /***/ },
1044
+
1045
+ /***/ "../../../node_modules/es-errors/uri.js"
1046
+ /*!**********************************************!*\
1047
+ !*** ../../../node_modules/es-errors/uri.js ***!
1048
+ \**********************************************/
1049
+ (module) {
1050
+
1051
+ "use strict";
1052
+ eval("{\n\n/** @type {import('./uri')} */\nmodule.exports = URIError;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/es-errors/uri.js?\n}");
1053
+
1054
+ /***/ },
1055
+
1056
+ /***/ "../../../node_modules/es-object-atoms/index.js"
1057
+ /*!******************************************************!*\
1058
+ !*** ../../../node_modules/es-object-atoms/index.js ***!
1059
+ \******************************************************/
1060
+ (module) {
1061
+
1062
+ "use strict";
1063
+ eval("{\n\n/** @type {import('.')} */\nmodule.exports = Object;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/es-object-atoms/index.js?\n}");
1064
+
1065
+ /***/ },
1066
+
1067
+ /***/ "../../../node_modules/function-bind/implementation.js"
1068
+ /*!*************************************************************!*\
1069
+ !*** ../../../node_modules/function-bind/implementation.js ***!
1070
+ \*************************************************************/
1071
+ (module) {
1072
+
1073
+ "use strict";
1074
+ eval("{\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar toStr = Object.prototype.toString;\nvar max = Math.max;\nvar funcType = '[object Function]';\n\nvar concatty = function concatty(a, b) {\n var arr = [];\n\n for (var i = 0; i < a.length; i += 1) {\n arr[i] = a[i];\n }\n for (var j = 0; j < b.length; j += 1) {\n arr[j + a.length] = b[j];\n }\n\n return arr;\n};\n\nvar slicy = function slicy(arrLike, offset) {\n var arr = [];\n for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {\n arr[j] = arrLike[i];\n }\n return arr;\n};\n\nvar joiny = function (arr, joiner) {\n var str = '';\n for (var i = 0; i < arr.length; i += 1) {\n str += arr[i];\n if (i + 1 < arr.length) {\n str += joiner;\n }\n }\n return str;\n};\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.apply(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slicy(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n concatty(args, arguments)\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n }\n return target.apply(\n that,\n concatty(args, arguments)\n );\n\n };\n\n var boundLength = max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs[i] = '$' + i;\n }\n\n bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/function-bind/implementation.js?\n}");
1075
+
1076
+ /***/ },
1077
+
1078
+ /***/ "../../../node_modules/function-bind/index.js"
1079
+ /*!****************************************************!*\
1080
+ !*** ../../../node_modules/function-bind/index.js ***!
1081
+ \****************************************************/
1082
+ (module, __unused_webpack_exports, __webpack_require__) {
1083
+
1084
+ "use strict";
1085
+ eval("{\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"../../../node_modules/function-bind/implementation.js\");\n\nmodule.exports = Function.prototype.bind || implementation;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/function-bind/index.js?\n}");
1086
+
1087
+ /***/ },
1088
+
1089
+ /***/ "../../../node_modules/get-intrinsic/index.js"
1090
+ /*!****************************************************!*\
1091
+ !*** ../../../node_modules/get-intrinsic/index.js ***!
1092
+ \****************************************************/
1093
+ (module, __unused_webpack_exports, __webpack_require__) {
1094
+
1095
+ "use strict";
1096
+ eval("{\n\nvar undefined;\n\nvar $Object = __webpack_require__(/*! es-object-atoms */ \"../../../node_modules/es-object-atoms/index.js\");\n\nvar $Error = __webpack_require__(/*! es-errors */ \"../../../node_modules/es-errors/index.js\");\nvar $EvalError = __webpack_require__(/*! es-errors/eval */ \"../../../node_modules/es-errors/eval.js\");\nvar $RangeError = __webpack_require__(/*! es-errors/range */ \"../../../node_modules/es-errors/range.js\");\nvar $ReferenceError = __webpack_require__(/*! es-errors/ref */ \"../../../node_modules/es-errors/ref.js\");\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"../../../node_modules/es-errors/syntax.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"../../../node_modules/es-errors/type.js\");\nvar $URIError = __webpack_require__(/*! es-errors/uri */ \"../../../node_modules/es-errors/uri.js\");\n\nvar abs = __webpack_require__(/*! math-intrinsics/abs */ \"../../../node_modules/math-intrinsics/abs.js\");\nvar floor = __webpack_require__(/*! math-intrinsics/floor */ \"../../../node_modules/math-intrinsics/floor.js\");\nvar max = __webpack_require__(/*! math-intrinsics/max */ \"../../../node_modules/math-intrinsics/max.js\");\nvar min = __webpack_require__(/*! math-intrinsics/min */ \"../../../node_modules/math-intrinsics/min.js\");\nvar pow = __webpack_require__(/*! math-intrinsics/pow */ \"../../../node_modules/math-intrinsics/pow.js\");\nvar round = __webpack_require__(/*! math-intrinsics/round */ \"../../../node_modules/math-intrinsics/round.js\");\nvar sign = __webpack_require__(/*! math-intrinsics/sign */ \"../../../node_modules/math-intrinsics/sign.js\");\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = __webpack_require__(/*! gopd */ \"../../../node_modules/gopd/index.js\");\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"../../../node_modules/es-define-property/index.js\");\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"../../../node_modules/has-symbols/index.js\")();\n\nvar getProto = __webpack_require__(/*! get-proto */ \"../../../node_modules/get-proto/index.js\");\nvar $ObjectGPO = __webpack_require__(/*! get-proto/Object.getPrototypeOf */ \"../../../node_modules/get-proto/Object.getPrototypeOf.js\");\nvar $ReflectGPO = __webpack_require__(/*! get-proto/Reflect.getPrototypeOf */ \"../../../node_modules/get-proto/Reflect.getPrototypeOf.js\");\n\nvar $apply = __webpack_require__(/*! call-bind-apply-helpers/functionApply */ \"../../../node_modules/call-bind-apply-helpers/functionApply.js\");\nvar $call = __webpack_require__(/*! call-bind-apply-helpers/functionCall */ \"../../../node_modules/call-bind-apply-helpers/functionCall.js\");\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': $Object,\n\t'%Object.getOwnPropertyDescriptor%': $gOPD,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,\n\n\t'%Function.prototype.call%': $call,\n\t'%Function.prototype.apply%': $apply,\n\t'%Object.defineProperty%': $defineProperty,\n\t'%Object.getPrototypeOf%': $ObjectGPO,\n\t'%Math.abs%': abs,\n\t'%Math.floor%': floor,\n\t'%Math.max%': max,\n\t'%Math.min%': min,\n\t'%Math.pow%': pow,\n\t'%Math.round%': round,\n\t'%Math.sign%': sign,\n\t'%Reflect.getPrototypeOf%': $ReflectGPO\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = __webpack_require__(/*! function-bind */ \"../../../node_modules/function-bind/index.js\");\nvar hasOwn = __webpack_require__(/*! hasown */ \"../../../node_modules/hasown/index.js\");\nvar $concat = bind.call($call, Array.prototype.concat);\nvar $spliceApply = bind.call($apply, Array.prototype.splice);\nvar $replace = bind.call($call, String.prototype.replace);\nvar $strSlice = bind.call($call, String.prototype.slice);\nvar $exec = bind.call($call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/get-intrinsic/index.js?\n}");
1097
+
1098
+ /***/ },
1099
+
1100
+ /***/ "../../../node_modules/get-proto/Object.getPrototypeOf.js"
1101
+ /*!****************************************************************!*\
1102
+ !*** ../../../node_modules/get-proto/Object.getPrototypeOf.js ***!
1103
+ \****************************************************************/
1104
+ (module, __unused_webpack_exports, __webpack_require__) {
1105
+
1106
+ "use strict";
1107
+ eval("{\n\nvar $Object = __webpack_require__(/*! es-object-atoms */ \"../../../node_modules/es-object-atoms/index.js\");\n\n/** @type {import('./Object.getPrototypeOf')} */\nmodule.exports = $Object.getPrototypeOf || null;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/get-proto/Object.getPrototypeOf.js?\n}");
1108
+
1109
+ /***/ },
1110
+
1111
+ /***/ "../../../node_modules/get-proto/Reflect.getPrototypeOf.js"
1112
+ /*!*****************************************************************!*\
1113
+ !*** ../../../node_modules/get-proto/Reflect.getPrototypeOf.js ***!
1114
+ \*****************************************************************/
1115
+ (module) {
1116
+
1117
+ "use strict";
1118
+ eval("{\n\n/** @type {import('./Reflect.getPrototypeOf')} */\nmodule.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/get-proto/Reflect.getPrototypeOf.js?\n}");
1119
+
1120
+ /***/ },
1121
+
1122
+ /***/ "../../../node_modules/get-proto/index.js"
1123
+ /*!************************************************!*\
1124
+ !*** ../../../node_modules/get-proto/index.js ***!
1125
+ \************************************************/
1126
+ (module, __unused_webpack_exports, __webpack_require__) {
1127
+
1128
+ "use strict";
1129
+ eval("{\n\nvar reflectGetProto = __webpack_require__(/*! ./Reflect.getPrototypeOf */ \"../../../node_modules/get-proto/Reflect.getPrototypeOf.js\");\nvar originalGetProto = __webpack_require__(/*! ./Object.getPrototypeOf */ \"../../../node_modules/get-proto/Object.getPrototypeOf.js\");\n\nvar getDunderProto = __webpack_require__(/*! dunder-proto/get */ \"../../../node_modules/dunder-proto/get.js\");\n\n/** @type {import('.')} */\nmodule.exports = reflectGetProto\n\t? function getProto(O) {\n\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\treturn reflectGetProto(O);\n\t}\n\t: originalGetProto\n\t\t? function getProto(O) {\n\t\t\tif (!O || (typeof O !== 'object' && typeof O !== 'function')) {\n\t\t\t\tthrow new TypeError('getProto: not an object');\n\t\t\t}\n\t\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\t\treturn originalGetProto(O);\n\t\t}\n\t\t: getDunderProto\n\t\t\t? function getProto(O) {\n\t\t\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\t\t\treturn getDunderProto(O);\n\t\t\t}\n\t\t\t: null;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/get-proto/index.js?\n}");
1130
+
1131
+ /***/ },
1132
+
1133
+ /***/ "../../../node_modules/gopd/gOPD.js"
1134
+ /*!******************************************!*\
1135
+ !*** ../../../node_modules/gopd/gOPD.js ***!
1136
+ \******************************************/
1137
+ (module) {
1138
+
1139
+ "use strict";
1140
+ eval("{\n\n/** @type {import('./gOPD')} */\nmodule.exports = Object.getOwnPropertyDescriptor;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/gopd/gOPD.js?\n}");
1141
+
1142
+ /***/ },
1143
+
1144
+ /***/ "../../../node_modules/gopd/index.js"
1145
+ /*!*******************************************!*\
1146
+ !*** ../../../node_modules/gopd/index.js ***!
1147
+ \*******************************************/
1148
+ (module, __unused_webpack_exports, __webpack_require__) {
1149
+
1150
+ "use strict";
1151
+ eval("{\n\n/** @type {import('.')} */\nvar $gOPD = __webpack_require__(/*! ./gOPD */ \"../../../node_modules/gopd/gOPD.js\");\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/gopd/index.js?\n}");
1152
+
1153
+ /***/ },
1154
+
1155
+ /***/ "../../../node_modules/has-symbols/index.js"
1156
+ /*!**************************************************!*\
1157
+ !*** ../../../node_modules/has-symbols/index.js ***!
1158
+ \**************************************************/
1159
+ (module, __unused_webpack_exports, __webpack_require__) {
1160
+
1161
+ "use strict";
1162
+ eval("{\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = __webpack_require__(/*! ./shams */ \"../../../node_modules/has-symbols/shams.js\");\n\n/** @type {import('.')} */\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/has-symbols/index.js?\n}");
1163
+
1164
+ /***/ },
1165
+
1166
+ /***/ "../../../node_modules/has-symbols/shams.js"
1167
+ /*!**************************************************!*\
1168
+ !*** ../../../node_modules/has-symbols/shams.js ***!
1169
+ \**************************************************/
1170
+ (module) {
1171
+
1172
+ "use strict";
1173
+ eval("{\n\n/** @type {import('./shams')} */\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\t/** @type {{ [k in symbol]?: unknown }} */\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\t// eslint-disable-next-line no-extra-parens\n\t\tvar descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/has-symbols/shams.js?\n}");
1174
+
1175
+ /***/ },
1176
+
1177
+ /***/ "../../../node_modules/hasown/index.js"
1178
+ /*!*********************************************!*\
1179
+ !*** ../../../node_modules/hasown/index.js ***!
1180
+ \*********************************************/
1181
+ (module, __unused_webpack_exports, __webpack_require__) {
1182
+
1183
+ "use strict";
1184
+ eval("{\n\nvar call = Function.prototype.call;\nvar $hasOwn = Object.prototype.hasOwnProperty;\nvar bind = __webpack_require__(/*! function-bind */ \"../../../node_modules/function-bind/index.js\");\n\n/** @type {import('.')} */\nmodule.exports = bind.call(call, $hasOwn);\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/hasown/index.js?\n}");
1185
+
1186
+ /***/ },
1187
+
1188
+ /***/ "../../../node_modules/immutable/dist/immutable.es.js"
1189
+ /*!************************************************************!*\
1190
+ !*** ../../../node_modules/immutable/dist/immutable.es.js ***!
1191
+ \************************************************************/
1192
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1193
+
1194
+ "use strict";
1195
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Map: () => (/* binding */ Map),\n/* harmony export */ fromJS: () => (/* binding */ fromJS),\n/* harmony export */ isImmutable: () => (/* binding */ isImmutable)\n/* harmony export */ });\n/* unused harmony exports Collection, Iterable, List, OrderedMap, OrderedSet, PairSorting, Range, Record, Repeat, Seq, Set, Stack, get, getIn, has, hasIn, hash, is, isAssociative, isCollection, isIndexed, isKeyed, isList, isMap, isOrdered, isOrderedMap, isOrderedSet, isPlainObject, isRecord, isSeq, isSet, isStack, isValueObject, merge, mergeDeep, mergeDeepWith, mergeWith, remove, removeIn, set, setIn, update, updateIn, version */\n/**\n * @license\n * MIT License\n * \n * Copyright (c) 2014-present, Lee Byron and other contributors.\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\nvar IS_INDEXED_SYMBOL = '@@__IMMUTABLE_INDEXED__@@';\n/**\n * True if `maybeIndexed` is a Collection.Indexed, or any of its subclasses.\n *\n * ```js\n * import { isIndexed, Map, List, Stack, Set } from 'immutable';\n *\n * isIndexed([]); // false\n * isIndexed({}); // false\n * isIndexed(Map()); // false\n * isIndexed(List()); // true\n * isIndexed(Stack()); // true\n * isIndexed(Set()); // false\n * ```\n */\nfunction isIndexed(maybeIndexed) {\n return Boolean(maybeIndexed &&\n // @ts-expect-error: maybeIndexed is typed as `{}`, need to change in 6.0 to `maybeIndexed && typeof maybeIndexed === 'object' && IS_INDEXED_SYMBOL in maybeIndexed`\n maybeIndexed[IS_INDEXED_SYMBOL]);\n}\n\nvar IS_KEYED_SYMBOL = '@@__IMMUTABLE_KEYED__@@';\n/**\n * True if `maybeKeyed` is a Collection.Keyed, or any of its subclasses.\n *\n * ```js\n * import { isKeyed, Map, List, Stack } from 'immutable';\n *\n * isKeyed([]); // false\n * isKeyed({}); // false\n * isKeyed(Map()); // true\n * isKeyed(List()); // false\n * isKeyed(Stack()); // false\n * ```\n */\nfunction isKeyed(maybeKeyed) {\n return Boolean(maybeKeyed &&\n // @ts-expect-error: maybeKeyed is typed as `{}`, need to change in 6.0 to `maybeKeyed && typeof maybeKeyed === 'object' && IS_KEYED_SYMBOL in maybeKeyed`\n maybeKeyed[IS_KEYED_SYMBOL]);\n}\n\n/**\n * True if `maybeAssociative` is either a Keyed or Indexed Collection.\n *\n * ```js\n * import { isAssociative, Map, List, Stack, Set } from 'immutable';\n *\n * isAssociative([]); // false\n * isAssociative({}); // false\n * isAssociative(Map()); // true\n * isAssociative(List()); // true\n * isAssociative(Stack()); // true\n * isAssociative(Set()); // false\n * ```\n */\nfunction isAssociative(maybeAssociative) {\n return isKeyed(maybeAssociative) || isIndexed(maybeAssociative);\n}\n\n// Note: value is unchanged to not break immutable-devtools.\nvar IS_COLLECTION_SYMBOL = '@@__IMMUTABLE_ITERABLE__@@';\n/**\n * True if `maybeCollection` is a Collection, or any of its subclasses.\n *\n * ```js\n * import { isCollection, Map, List, Stack } from 'immutable';\n *\n * isCollection([]); // false\n * isCollection({}); // false\n * isCollection(Map()); // true\n * isCollection(List()); // true\n * isCollection(Stack()); // true\n * ```\n */\nfunction isCollection(maybeCollection) {\n return Boolean(maybeCollection &&\n // @ts-expect-error: maybeCollection is typed as `{}`, need to change in 6.0 to `maybeCollection && typeof maybeCollection === 'object' && IS_COLLECTION_SYMBOL in maybeCollection`\n maybeCollection[IS_COLLECTION_SYMBOL]);\n}\n\nvar Collection = function Collection(value) {\n // eslint-disable-next-line no-constructor-return\n return isCollection(value) ? value : Seq(value);\n};\n\nvar KeyedCollection = /*@__PURE__*/(function (Collection) {\n function KeyedCollection(value) {\n // eslint-disable-next-line no-constructor-return\n return isKeyed(value) ? value : KeyedSeq(value);\n }\n\n if ( Collection ) KeyedCollection.__proto__ = Collection;\n KeyedCollection.prototype = Object.create( Collection && Collection.prototype );\n KeyedCollection.prototype.constructor = KeyedCollection;\n\n return KeyedCollection;\n}(Collection));\n\nvar IndexedCollection = /*@__PURE__*/(function (Collection) {\n function IndexedCollection(value) {\n // eslint-disable-next-line no-constructor-return\n return isIndexed(value) ? value : IndexedSeq(value);\n }\n\n if ( Collection ) IndexedCollection.__proto__ = Collection;\n IndexedCollection.prototype = Object.create( Collection && Collection.prototype );\n IndexedCollection.prototype.constructor = IndexedCollection;\n\n return IndexedCollection;\n}(Collection));\n\nvar SetCollection = /*@__PURE__*/(function (Collection) {\n function SetCollection(value) {\n // eslint-disable-next-line no-constructor-return\n return isCollection(value) && !isAssociative(value) ? value : SetSeq(value);\n }\n\n if ( Collection ) SetCollection.__proto__ = Collection;\n SetCollection.prototype = Object.create( Collection && Collection.prototype );\n SetCollection.prototype.constructor = SetCollection;\n\n return SetCollection;\n}(Collection));\n\nCollection.Keyed = KeyedCollection;\nCollection.Indexed = IndexedCollection;\nCollection.Set = SetCollection;\n\nvar ITERATE_KEYS = 0;\nvar ITERATE_VALUES = 1;\nvar ITERATE_ENTRIES = 2;\n// TODO Symbol is widely available in modern JavaScript environments, clean this\nvar REAL_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nvar ITERATOR_SYMBOL = REAL_ITERATOR_SYMBOL || FAUX_ITERATOR_SYMBOL;\n// @ts-expect-error: properties are not supported in buble\nvar Iterator = function Iterator(next) {\n // @ts-expect-error: properties are not supported in buble\n this.next = next;\n};\nIterator.prototype.toString = function toString () {\n return '[Iterator]';\n};\n// @ts-expect-error: static properties are not supported in buble\nIterator.KEYS = ITERATE_KEYS;\n// @ts-expect-error: static properties are not supported in buble\nIterator.VALUES = ITERATE_VALUES;\n// @ts-expect-error: static properties are not supported in buble\nIterator.ENTRIES = ITERATE_ENTRIES;\n// @ts-expect-error: properties are not supported in buble\nIterator.prototype.inspect = Iterator.prototype.toSource = function () {\n return this.toString();\n};\n// @ts-expect-error don't know how to type this\nIterator.prototype[ITERATOR_SYMBOL] = function () {\n return this;\n};\nfunction iteratorValue(type, k, v, iteratorResult) {\n var value = type === ITERATE_KEYS ? k : type === ITERATE_VALUES ? v : [k, v];\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n iteratorResult\n ? (iteratorResult.value = value)\n : (iteratorResult = {\n // @ts-expect-error ensure value is not undefined\n value: value,\n done: false,\n });\n return iteratorResult;\n}\nfunction iteratorDone() {\n return { value: undefined, done: true };\n}\nfunction hasIterator(maybeIterable) {\n if (Array.isArray(maybeIterable)) {\n // IE11 trick as it does not support `Symbol.iterator`\n return true;\n }\n return !!getIteratorFn(maybeIterable);\n}\nfunction isIterator(maybeIterator) {\n return !!(maybeIterator &&\n // @ts-expect-error: maybeIterator is typed as `{}`\n typeof maybeIterator.next === 'function');\n}\nfunction getIterator(iterable) {\n var iteratorFn = getIteratorFn(iterable);\n return iteratorFn && iteratorFn.call(iterable);\n}\nfunction getIteratorFn(iterable) {\n var iteratorFn = iterable &&\n // @ts-expect-error: maybeIterator is typed as `{}`\n ((REAL_ITERATOR_SYMBOL && iterable[REAL_ITERATOR_SYMBOL]) ||\n // @ts-expect-error: maybeIterator is typed as `{}`\n iterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n}\nfunction isEntriesIterable(maybeIterable) {\n var iteratorFn = getIteratorFn(maybeIterable);\n // @ts-expect-error: maybeIterator is typed as `{}`\n return iteratorFn && iteratorFn === maybeIterable.entries;\n}\nfunction isKeysIterable(maybeIterable) {\n var iteratorFn = getIteratorFn(maybeIterable);\n // @ts-expect-error: maybeIterator is typed as `{}`\n return iteratorFn && iteratorFn === maybeIterable.keys;\n}\n\n// Used for setting prototype methods that IE8 chokes on.\nvar DELETE = 'delete';\n// Constants describing the size of trie nodes.\nvar SHIFT = 5; // Resulted in best performance after ______?\nvar SIZE = 1 << SHIFT;\nvar MASK = SIZE - 1;\n// A consistent shared value representing \"not set\" which equals nothing other\n// than itself, and nothing that could be provided externally.\nvar NOT_SET = {};\n// Boolean references, Rough equivalent of `bool &`.\nfunction MakeRef() {\n return { value: false };\n}\nfunction SetRef(ref) {\n if (ref) {\n ref.value = true;\n }\n}\n// A function which returns a value representing an \"owner\" for transient writes\n// to tries. The return value will only ever equal itself, and will not equal\n// the return of any subsequent call of this function.\nfunction OwnerID() { }\nfunction ensureSize(iter) {\n // @ts-expect-error size should exists on Collection\n if (iter.size === undefined) {\n // @ts-expect-error size should exists on Collection, __iterate does exist on Collection\n iter.size = iter.__iterate(returnTrue);\n }\n // @ts-expect-error size should exists on Collection\n return iter.size;\n}\nfunction wrapIndex(iter, index) {\n // This implements \"is array index\" which the ECMAString spec defines as:\n //\n // A String property name P is an array index if and only if\n // ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal\n // to 2^32−1.\n //\n // http://www.ecma-international.org/ecma-262/6.0/#sec-array-exotic-objects\n if (typeof index !== 'number') {\n var uint32Index = index >>> 0; // N >>> 0 is shorthand for ToUint32\n if ('' + uint32Index !== index || uint32Index === 4294967295) {\n return NaN;\n }\n index = uint32Index;\n }\n return index < 0 ? ensureSize(iter) + index : index;\n}\nfunction returnTrue() {\n return true;\n}\nfunction wholeSlice(begin, end, size) {\n return (((begin === 0 && !isNeg(begin)) ||\n (size !== undefined && begin <= -size)) &&\n (end === undefined || (size !== undefined && end >= size)));\n}\nfunction resolveBegin(begin, size) {\n return resolveIndex(begin, size, 0);\n}\nfunction resolveEnd(end, size) {\n return resolveIndex(end, size, size);\n}\nfunction resolveIndex(index, size, defaultIndex) {\n // Sanitize indices using this shorthand for ToInt32(argument)\n // http://www.ecma-international.org/ecma-262/6.0/#sec-toint32\n return index === undefined\n ? defaultIndex\n : isNeg(index)\n ? size === Infinity\n ? size\n : Math.max(0, size + index) | 0\n : size === undefined || size === index\n ? index\n : Math.min(size, index) | 0;\n}\nfunction isNeg(value) {\n // Account for -0 which is negative, but not less than 0.\n return value < 0 || (value === 0 && 1 / value === -Infinity);\n}\n\nvar IS_RECORD_SYMBOL = '@@__IMMUTABLE_RECORD__@@';\n/**\n * True if `maybeRecord` is a Record.\n */\nfunction isRecord(maybeRecord) {\n return Boolean(maybeRecord &&\n // @ts-expect-error: maybeRecord is typed as `{}`, need to change in 6.0 to `maybeRecord && typeof maybeRecord === 'object' && IS_RECORD_SYMBOL in maybeRecord`\n maybeRecord[IS_RECORD_SYMBOL]);\n}\n\n/**\n * True if `maybeImmutable` is an Immutable Collection or Record.\n *\n * Note: Still returns true even if the collections is within a `withMutations()`.\n *\n * ```js\n * import { isImmutable, Map, List, Stack } from 'immutable';\n * isImmutable([]); // false\n * isImmutable({}); // false\n * isImmutable(Map()); // true\n * isImmutable(List()); // true\n * isImmutable(Stack()); // true\n * isImmutable(Map().asMutable()); // true\n * ```\n */\nfunction isImmutable(maybeImmutable) {\n return isCollection(maybeImmutable) || isRecord(maybeImmutable);\n}\n\nvar IS_ORDERED_SYMBOL = '@@__IMMUTABLE_ORDERED__@@';\nfunction isOrdered(maybeOrdered) {\n return Boolean(maybeOrdered &&\n // @ts-expect-error: maybeOrdered is typed as `{}`, need to change in 6.0 to `maybeOrdered && typeof maybeOrdered === 'object' && IS_ORDERED_SYMBOL in maybeOrdered`\n maybeOrdered[IS_ORDERED_SYMBOL]);\n}\n\nvar IS_SEQ_SYMBOL = '@@__IMMUTABLE_SEQ__@@';\n/**\n * True if `maybeSeq` is a Seq.\n */\nfunction isSeq(maybeSeq) {\n return Boolean(maybeSeq &&\n // @ts-expect-error: maybeSeq is typed as `{}`, need to change in 6.0 to `maybeSeq && typeof maybeSeq === 'object' && MAYBE_SEQ_SYMBOL in maybeSeq`\n maybeSeq[IS_SEQ_SYMBOL]);\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction isArrayLike(value) {\n if (Array.isArray(value) || typeof value === 'string') {\n return true;\n }\n // @ts-expect-error \"Type 'unknown' is not assignable to type 'boolean'\" : convert to Boolean\n return (value &&\n typeof value === 'object' &&\n // @ts-expect-error check that `'length' in value &&`\n Number.isInteger(value.length) &&\n // @ts-expect-error check that `'length' in value &&`\n value.length >= 0 &&\n // @ts-expect-error check that `'length' in value &&`\n (value.length === 0\n ? // Only {length: 0} is considered Array-like.\n Object.keys(value).length === 1\n : // An object is only Array-like if it has a property where the last value\n // in the array-like may be found (which could be undefined).\n // @ts-expect-error check that `'length' in value &&`\n value.hasOwnProperty(value.length - 1)));\n}\n\nvar Seq = /*@__PURE__*/(function (Collection) {\n function Seq(value) {\n // eslint-disable-next-line no-constructor-return\n return value === undefined || value === null\n ? emptySequence()\n : isImmutable(value)\n ? value.toSeq()\n : seqFromValue(value);\n }\n\n if ( Collection ) Seq.__proto__ = Collection;\n Seq.prototype = Object.create( Collection && Collection.prototype );\n Seq.prototype.constructor = Seq;\n\n Seq.prototype.toSeq = function toSeq () {\n return this;\n };\n\n Seq.prototype.toString = function toString () {\n return this.__toString('Seq {', '}');\n };\n\n Seq.prototype.cacheResult = function cacheResult () {\n if (!this._cache && this.__iterateUncached) {\n this._cache = this.entrySeq().toArray();\n this.size = this._cache.length;\n }\n return this;\n };\n\n // abstract __iterateUncached(fn, reverse)\n\n Seq.prototype.__iterate = function __iterate (fn, reverse) {\n var cache = this._cache;\n if (cache) {\n var size = cache.length;\n var i = 0;\n while (i !== size) {\n var entry = cache[reverse ? size - ++i : i++];\n if (fn(entry[1], entry[0], this) === false) {\n break;\n }\n }\n return i;\n }\n return this.__iterateUncached(fn, reverse);\n };\n\n // abstract __iteratorUncached(type, reverse)\n\n Seq.prototype.__iterator = function __iterator (type, reverse) {\n var cache = this._cache;\n if (cache) {\n var size = cache.length;\n var i = 0;\n return new Iterator(function () {\n if (i === size) {\n return iteratorDone();\n }\n var entry = cache[reverse ? size - ++i : i++];\n return iteratorValue(type, entry[0], entry[1]);\n });\n }\n return this.__iteratorUncached(type, reverse);\n };\n\n return Seq;\n}(Collection));\n\nvar KeyedSeq = /*@__PURE__*/(function (Seq) {\n function KeyedSeq(value) {\n // eslint-disable-next-line no-constructor-return\n return value === undefined || value === null\n ? emptySequence().toKeyedSeq()\n : isCollection(value)\n ? isKeyed(value)\n ? value.toSeq()\n : value.fromEntrySeq()\n : isRecord(value)\n ? value.toSeq()\n : keyedSeqFromValue(value);\n }\n\n if ( Seq ) KeyedSeq.__proto__ = Seq;\n KeyedSeq.prototype = Object.create( Seq && Seq.prototype );\n KeyedSeq.prototype.constructor = KeyedSeq;\n\n KeyedSeq.prototype.toKeyedSeq = function toKeyedSeq () {\n return this;\n };\n\n return KeyedSeq;\n}(Seq));\n\nvar IndexedSeq = /*@__PURE__*/(function (Seq) {\n function IndexedSeq(value) {\n // eslint-disable-next-line no-constructor-return\n return value === undefined || value === null\n ? emptySequence()\n : isCollection(value)\n ? isKeyed(value)\n ? value.entrySeq()\n : value.toIndexedSeq()\n : isRecord(value)\n ? value.toSeq().entrySeq()\n : indexedSeqFromValue(value);\n }\n\n if ( Seq ) IndexedSeq.__proto__ = Seq;\n IndexedSeq.prototype = Object.create( Seq && Seq.prototype );\n IndexedSeq.prototype.constructor = IndexedSeq;\n\n IndexedSeq.of = function of (/*...values*/) {\n return IndexedSeq(arguments);\n };\n\n IndexedSeq.prototype.toIndexedSeq = function toIndexedSeq () {\n return this;\n };\n\n IndexedSeq.prototype.toString = function toString () {\n return this.__toString('Seq [', ']');\n };\n\n return IndexedSeq;\n}(Seq));\n\nvar SetSeq = /*@__PURE__*/(function (Seq) {\n function SetSeq(value) {\n // eslint-disable-next-line no-constructor-return\n return (\n isCollection(value) && !isAssociative(value) ? value : IndexedSeq(value)\n ).toSetSeq();\n }\n\n if ( Seq ) SetSeq.__proto__ = Seq;\n SetSeq.prototype = Object.create( Seq && Seq.prototype );\n SetSeq.prototype.constructor = SetSeq;\n\n SetSeq.of = function of (/*...values*/) {\n return SetSeq(arguments);\n };\n\n SetSeq.prototype.toSetSeq = function toSetSeq () {\n return this;\n };\n\n return SetSeq;\n}(Seq));\n\nSeq.isSeq = isSeq;\nSeq.Keyed = KeyedSeq;\nSeq.Set = SetSeq;\nSeq.Indexed = IndexedSeq;\n\nSeq.prototype[IS_SEQ_SYMBOL] = true;\n\n// #pragma Root Sequences\n\nvar ArraySeq = /*@__PURE__*/(function (IndexedSeq) {\n function ArraySeq(array) {\n this._array = array;\n this.size = array.length;\n }\n\n if ( IndexedSeq ) ArraySeq.__proto__ = IndexedSeq;\n ArraySeq.prototype = Object.create( IndexedSeq && IndexedSeq.prototype );\n ArraySeq.prototype.constructor = ArraySeq;\n\n ArraySeq.prototype.get = function get (index, notSetValue) {\n return this.has(index) ? this._array[wrapIndex(this, index)] : notSetValue;\n };\n\n ArraySeq.prototype.__iterate = function __iterate (fn, reverse) {\n var array = this._array;\n var size = array.length;\n var i = 0;\n while (i !== size) {\n var ii = reverse ? size - ++i : i++;\n if (fn(array[ii], ii, this) === false) {\n break;\n }\n }\n return i;\n };\n\n ArraySeq.prototype.__iterator = function __iterator (type, reverse) {\n var array = this._array;\n var size = array.length;\n var i = 0;\n return new Iterator(function () {\n if (i === size) {\n return iteratorDone();\n }\n var ii = reverse ? size - ++i : i++;\n return iteratorValue(type, ii, array[ii]);\n });\n };\n\n return ArraySeq;\n}(IndexedSeq));\n\nvar ObjectSeq = /*@__PURE__*/(function (KeyedSeq) {\n function ObjectSeq(object) {\n var keys = Object.keys(object).concat(\n Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object) : []\n );\n this._object = object;\n this._keys = keys;\n this.size = keys.length;\n }\n\n if ( KeyedSeq ) ObjectSeq.__proto__ = KeyedSeq;\n ObjectSeq.prototype = Object.create( KeyedSeq && KeyedSeq.prototype );\n ObjectSeq.prototype.constructor = ObjectSeq;\n\n ObjectSeq.prototype.get = function get (key, notSetValue) {\n if (notSetValue !== undefined && !this.has(key)) {\n return notSetValue;\n }\n return this._object[key];\n };\n\n ObjectSeq.prototype.has = function has (key) {\n return hasOwnProperty.call(this._object, key);\n };\n\n ObjectSeq.prototype.__iterate = function __iterate (fn, reverse) {\n var object = this._object;\n var keys = this._keys;\n var size = keys.length;\n var i = 0;\n while (i !== size) {\n var key = keys[reverse ? size - ++i : i++];\n if (fn(object[key], key, this) === false) {\n break;\n }\n }\n return i;\n };\n\n ObjectSeq.prototype.__iterator = function __iterator (type, reverse) {\n var object = this._object;\n var keys = this._keys;\n var size = keys.length;\n var i = 0;\n return new Iterator(function () {\n if (i === size) {\n return iteratorDone();\n }\n var key = keys[reverse ? size - ++i : i++];\n return iteratorValue(type, key, object[key]);\n });\n };\n\n return ObjectSeq;\n}(KeyedSeq));\nObjectSeq.prototype[IS_ORDERED_SYMBOL] = true;\n\nvar CollectionSeq = /*@__PURE__*/(function (IndexedSeq) {\n function CollectionSeq(collection) {\n this._collection = collection;\n this.size = collection.length || collection.size;\n }\n\n if ( IndexedSeq ) CollectionSeq.__proto__ = IndexedSeq;\n CollectionSeq.prototype = Object.create( IndexedSeq && IndexedSeq.prototype );\n CollectionSeq.prototype.constructor = CollectionSeq;\n\n CollectionSeq.prototype.__iterateUncached = function __iterateUncached (fn, reverse) {\n if (reverse) {\n return this.cacheResult().__iterate(fn, reverse);\n }\n var collection = this._collection;\n var iterator = getIterator(collection);\n var iterations = 0;\n if (isIterator(iterator)) {\n var step;\n while (!(step = iterator.next()).done) {\n if (fn(step.value, iterations++, this) === false) {\n break;\n }\n }\n }\n return iterations;\n };\n\n CollectionSeq.prototype.__iteratorUncached = function __iteratorUncached (type, reverse) {\n if (reverse) {\n return this.cacheResult().__iterator(type, reverse);\n }\n var collection = this._collection;\n var iterator = getIterator(collection);\n if (!isIterator(iterator)) {\n return new Iterator(iteratorDone);\n }\n var iterations = 0;\n return new Iterator(function () {\n var step = iterator.next();\n return step.done ? step : iteratorValue(type, iterations++, step.value);\n });\n };\n\n return CollectionSeq;\n}(IndexedSeq));\n\n// # pragma Helper functions\n\nvar EMPTY_SEQ;\n\nfunction emptySequence() {\n return EMPTY_SEQ || (EMPTY_SEQ = new ArraySeq([]));\n}\n\nfunction keyedSeqFromValue(value) {\n var seq = maybeIndexedSeqFromValue(value);\n if (seq) {\n return seq.fromEntrySeq();\n }\n if (typeof value === 'object') {\n return new ObjectSeq(value);\n }\n throw new TypeError(\n 'Expected Array or collection object of [k, v] entries, or keyed object: ' +\n value\n );\n}\n\nfunction indexedSeqFromValue(value) {\n var seq = maybeIndexedSeqFromValue(value);\n if (seq) {\n return seq;\n }\n throw new TypeError(\n 'Expected Array or collection object of values: ' + value\n );\n}\n\nfunction seqFromValue(value) {\n var seq = maybeIndexedSeqFromValue(value);\n if (seq) {\n return isEntriesIterable(value)\n ? seq.fromEntrySeq()\n : isKeysIterable(value)\n ? seq.toSetSeq()\n : seq;\n }\n if (typeof value === 'object') {\n return new ObjectSeq(value);\n }\n throw new TypeError(\n 'Expected Array or collection object of values, or keyed object: ' + value\n );\n}\n\nfunction maybeIndexedSeqFromValue(value) {\n return isArrayLike(value)\n ? new ArraySeq(value)\n : hasIterator(value)\n ? new CollectionSeq(value)\n : undefined;\n}\n\nfunction asImmutable() {\n return this.__ensureOwner();\n}\n\nfunction asMutable() {\n return this.__ownerID ? this : this.__ensureOwner(new OwnerID());\n}\n\n// TODO remove in v6 as Math.imul is widely available now: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul\nvar imul = typeof Math.imul === 'function' && Math.imul(0xffffffff, 2) === -2\n ? Math.imul\n : function imul(a, b) {\n a |= 0; // int\n b |= 0; // int\n var c = a & 0xffff;\n var d = b & 0xffff;\n // Shift by 0 fixes the sign on the high part.\n return (c * d + ((((a >>> 16) * d + c * (b >>> 16)) << 16) >>> 0)) | 0; // int\n };\n// v8 has an optimization for storing 31-bit signed numbers.\n// Values which have either 00 or 11 as the high order bits qualify.\n// This function drops the highest order bit in a signed number, maintaining\n// the sign bit.\nfunction smi(i32) {\n return ((i32 >>> 1) & 0x40000000) | (i32 & 0xbfffffff);\n}\n\nvar defaultValueOf = Object.prototype.valueOf;\nfunction hash(o) {\n // eslint-disable-next-line eqeqeq\n if (o == null) {\n return hashNullish(o);\n }\n // @ts-expect-error don't care about object beeing typed as `{}` here\n if (typeof o.hashCode === 'function') {\n // Drop any high bits from accidentally long hash codes.\n // @ts-expect-error don't care about object beeing typed as `{}` here\n return smi(o.hashCode(o));\n }\n var v = valueOf(o);\n // eslint-disable-next-line eqeqeq\n if (v == null) {\n return hashNullish(v);\n }\n switch (typeof v) {\n case 'boolean':\n // The hash values for built-in constants are a 1 value for each 5-byte\n // shift region expect for the first, which encodes the value. This\n // reduces the odds of a hash collision for these common values.\n return v ? 0x42108421 : 0x42108420;\n case 'number':\n return hashNumber(v);\n case 'string':\n return v.length > STRING_HASH_CACHE_MIN_STRLEN\n ? cachedHashString(v)\n : hashString(v);\n case 'object':\n case 'function':\n return hashJSObj(v);\n case 'symbol':\n return hashSymbol(v);\n default:\n if (typeof v.toString === 'function') {\n return hashString(v.toString());\n }\n throw new Error('Value type ' + typeof v + ' cannot be hashed.');\n }\n}\nfunction hashNullish(nullish) {\n return nullish === null ? 0x42108422 : /* undefined */ 0x42108423;\n}\n// Compress arbitrarily large numbers into smi hashes.\nfunction hashNumber(n) {\n if (n !== n || n === Infinity) {\n return 0;\n }\n var hash = n | 0;\n if (hash !== n) {\n hash ^= n * 0xffffffff;\n }\n while (n > 0xffffffff) {\n n /= 0xffffffff;\n hash ^= n;\n }\n return smi(hash);\n}\nfunction cachedHashString(string) {\n var hashed = stringHashCache[string];\n if (hashed === undefined) {\n hashed = hashString(string);\n if (STRING_HASH_CACHE_SIZE === STRING_HASH_CACHE_MAX_SIZE) {\n STRING_HASH_CACHE_SIZE = 0;\n stringHashCache = {};\n }\n STRING_HASH_CACHE_SIZE++;\n stringHashCache[string] = hashed;\n }\n return hashed;\n}\n// http://jsperf.com/hashing-strings\nfunction hashString(string) {\n // This is the hash from JVM\n // The hash code for a string is computed as\n // s[0] * 31 ^ (n - 1) + s[1] * 31 ^ (n - 2) + ... + s[n - 1],\n // where s[i] is the ith character of the string and n is the length of\n // the string. We \"mod\" the result to make it between 0 (inclusive) and 2^31\n // (exclusive) by dropping high bits.\n var hashed = 0;\n for (var ii = 0; ii < string.length; ii++) {\n hashed = (31 * hashed + string.charCodeAt(ii)) | 0;\n }\n return smi(hashed);\n}\nfunction hashSymbol(sym) {\n var hashed = symbolMap[sym];\n if (hashed !== undefined) {\n return hashed;\n }\n hashed = nextHash();\n symbolMap[sym] = hashed;\n return hashed;\n}\n// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type\nfunction hashJSObj(obj) {\n var hashed;\n if (usingWeakMap) {\n // @ts-expect-error weakMap is defined\n hashed = weakMap.get(obj);\n if (hashed !== undefined) {\n return hashed;\n }\n }\n // @ts-expect-error used for old code, will be removed\n hashed = obj[UID_HASH_KEY];\n if (hashed !== undefined) {\n return hashed;\n }\n if (!canDefineProperty) {\n // @ts-expect-error used for old code, will be removed\n hashed = obj.propertyIsEnumerable && obj.propertyIsEnumerable[UID_HASH_KEY];\n if (hashed !== undefined) {\n return hashed;\n }\n hashed = getIENodeHash(obj);\n if (hashed !== undefined) {\n return hashed;\n }\n }\n hashed = nextHash();\n if (usingWeakMap) {\n // @ts-expect-error weakMap is defined\n weakMap.set(obj, hashed);\n }\n else if (isExtensible !== undefined && isExtensible(obj) === false) {\n throw new Error('Non-extensible objects are not allowed as keys.');\n }\n else if (canDefineProperty) {\n Object.defineProperty(obj, UID_HASH_KEY, {\n enumerable: false,\n configurable: false,\n writable: false,\n value: hashed,\n });\n }\n else if (obj.propertyIsEnumerable !== undefined &&\n obj.propertyIsEnumerable === obj.constructor.prototype.propertyIsEnumerable) {\n // Since we can't define a non-enumerable property on the object\n // we'll hijack one of the less-used non-enumerable properties to\n // save our hash on it. Since this is a function it will not show up in\n // `JSON.stringify` which is what we want.\n obj.propertyIsEnumerable = function () {\n return this.constructor.prototype.propertyIsEnumerable.apply(this, \n // eslint-disable-next-line prefer-rest-params\n arguments);\n };\n // @ts-expect-error used for old code, will be removed\n obj.propertyIsEnumerable[UID_HASH_KEY] = hashed;\n // @ts-expect-error used for old code, will be removed\n }\n else if (obj.nodeType !== undefined) {\n // At this point we couldn't get the IE `uniqueID` to use as a hash\n // and we couldn't use a non-enumerable property to exploit the\n // dontEnum bug so we simply add the `UID_HASH_KEY` on the node\n // itself.\n // @ts-expect-error used for old code, will be removed\n obj[UID_HASH_KEY] = hashed;\n }\n else {\n throw new Error('Unable to set a non-enumerable property on object.');\n }\n return hashed;\n}\n// Get references to ES5 object methods.\nvar isExtensible = Object.isExtensible;\n// True if Object.defineProperty works as expected. IE8 fails this test.\n// TODO remove this as widely available https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty\nvar canDefineProperty = (function () {\n try {\n Object.defineProperty({}, '@', {});\n return true;\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n }\n catch (e) {\n return false;\n }\n})();\n// IE has a `uniqueID` property on DOM nodes. We can construct the hash from it\n// and avoid memory leaks from the IE cloneNode bug.\n// TODO remove this method as only used if `canDefineProperty` is false\nfunction getIENodeHash(node) {\n // @ts-expect-error don't care\n if (node && node.nodeType > 0) {\n // @ts-expect-error don't care\n switch (node.nodeType) {\n case 1: // Element\n // @ts-expect-error don't care\n return node.uniqueID;\n case 9: // Document\n // @ts-expect-error don't care\n return node.documentElement && node.documentElement.uniqueID;\n }\n }\n}\nfunction valueOf(obj) {\n return obj.valueOf !== defaultValueOf && typeof obj.valueOf === 'function'\n ? // @ts-expect-error weird the \"obj\" parameter as `valueOf` should not have a parameter\n obj.valueOf(obj)\n : obj;\n}\nfunction nextHash() {\n var nextHash = ++_objHashUID;\n if (_objHashUID & 0x40000000) {\n _objHashUID = 0;\n }\n return nextHash;\n}\n// If possible, use a WeakMap.\n// TODO using WeakMap should be true everywhere now that WeakMap is widely supported: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\nvar usingWeakMap = typeof WeakMap === 'function';\nvar weakMap;\nif (usingWeakMap) {\n weakMap = new WeakMap();\n}\nvar symbolMap = Object.create(null);\nvar _objHashUID = 0;\n// TODO remove string as Symbol is now widely supported: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\nvar UID_HASH_KEY = '__immutablehash__';\nif (typeof Symbol === 'function') {\n UID_HASH_KEY = Symbol(UID_HASH_KEY);\n}\nvar STRING_HASH_CACHE_MIN_STRLEN = 16;\nvar STRING_HASH_CACHE_MAX_SIZE = 255;\nvar STRING_HASH_CACHE_SIZE = 0;\nvar stringHashCache = {};\n\nvar ToKeyedSequence = /*@__PURE__*/(function (KeyedSeq) {\n function ToKeyedSequence(indexed, useKeys) {\n this._iter = indexed;\n this._useKeys = useKeys;\n this.size = indexed.size;\n }\n\n if ( KeyedSeq ) ToKeyedSequence.__proto__ = KeyedSeq;\n ToKeyedSequence.prototype = Object.create( KeyedSeq && KeyedSeq.prototype );\n ToKeyedSequence.prototype.constructor = ToKeyedSequence;\n\n ToKeyedSequence.prototype.get = function get (key, notSetValue) {\n return this._iter.get(key, notSetValue);\n };\n\n ToKeyedSequence.prototype.has = function has (key) {\n return this._iter.has(key);\n };\n\n ToKeyedSequence.prototype.valueSeq = function valueSeq () {\n return this._iter.valueSeq();\n };\n\n ToKeyedSequence.prototype.reverse = function reverse () {\n var this$1$1 = this;\n\n var reversedSequence = reverseFactory(this, true);\n if (!this._useKeys) {\n reversedSequence.valueSeq = function () { return this$1$1._iter.toSeq().reverse(); };\n }\n return reversedSequence;\n };\n\n ToKeyedSequence.prototype.map = function map (mapper, context) {\n var this$1$1 = this;\n\n var mappedSequence = mapFactory(this, mapper, context);\n if (!this._useKeys) {\n mappedSequence.valueSeq = function () { return this$1$1._iter.toSeq().map(mapper, context); };\n }\n return mappedSequence;\n };\n\n ToKeyedSequence.prototype.__iterate = function __iterate (fn, reverse) {\n var this$1$1 = this;\n\n return this._iter.__iterate(function (v, k) { return fn(v, k, this$1$1); }, reverse);\n };\n\n ToKeyedSequence.prototype.__iterator = function __iterator (type, reverse) {\n return this._iter.__iterator(type, reverse);\n };\n\n return ToKeyedSequence;\n}(KeyedSeq));\nToKeyedSequence.prototype[IS_ORDERED_SYMBOL] = true;\n\nvar ToIndexedSequence = /*@__PURE__*/(function (IndexedSeq) {\n function ToIndexedSequence(iter) {\n this._iter = iter;\n this.size = iter.size;\n }\n\n if ( IndexedSeq ) ToIndexedSequence.__proto__ = IndexedSeq;\n ToIndexedSequence.prototype = Object.create( IndexedSeq && IndexedSeq.prototype );\n ToIndexedSequence.prototype.constructor = ToIndexedSequence;\n\n ToIndexedSequence.prototype.includes = function includes (value) {\n return this._iter.includes(value);\n };\n\n ToIndexedSequence.prototype.__iterate = function __iterate (fn, reverse) {\n var this$1$1 = this;\n\n var i = 0;\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n reverse && ensureSize(this);\n return this._iter.__iterate(\n function (v) { return fn(v, reverse ? this$1$1.size - ++i : i++, this$1$1); },\n reverse\n );\n };\n\n ToIndexedSequence.prototype.__iterator = function __iterator (type, reverse) {\n var this$1$1 = this;\n\n var iterator = this._iter.__iterator(ITERATE_VALUES, reverse);\n var i = 0;\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n reverse && ensureSize(this);\n return new Iterator(function () {\n var step = iterator.next();\n return step.done\n ? step\n : iteratorValue(\n type,\n reverse ? this$1$1.size - ++i : i++,\n step.value,\n step\n );\n });\n };\n\n return ToIndexedSequence;\n}(IndexedSeq));\n\nvar ToSetSequence = /*@__PURE__*/(function (SetSeq) {\n function ToSetSequence(iter) {\n this._iter = iter;\n this.size = iter.size;\n }\n\n if ( SetSeq ) ToSetSequence.__proto__ = SetSeq;\n ToSetSequence.prototype = Object.create( SetSeq && SetSeq.prototype );\n ToSetSequence.prototype.constructor = ToSetSequence;\n\n ToSetSequence.prototype.has = function has (key) {\n return this._iter.includes(key);\n };\n\n ToSetSequence.prototype.__iterate = function __iterate (fn, reverse) {\n var this$1$1 = this;\n\n return this._iter.__iterate(function (v) { return fn(v, v, this$1$1); }, reverse);\n };\n\n ToSetSequence.prototype.__iterator = function __iterator (type, reverse) {\n var iterator = this._iter.__iterator(ITERATE_VALUES, reverse);\n return new Iterator(function () {\n var step = iterator.next();\n return step.done\n ? step\n : iteratorValue(type, step.value, step.value, step);\n });\n };\n\n return ToSetSequence;\n}(SetSeq));\n\nvar FromEntriesSequence = /*@__PURE__*/(function (KeyedSeq) {\n function FromEntriesSequence(entries) {\n this._iter = entries;\n this.size = entries.size;\n }\n\n if ( KeyedSeq ) FromEntriesSequence.__proto__ = KeyedSeq;\n FromEntriesSequence.prototype = Object.create( KeyedSeq && KeyedSeq.prototype );\n FromEntriesSequence.prototype.constructor = FromEntriesSequence;\n\n FromEntriesSequence.prototype.entrySeq = function entrySeq () {\n return this._iter.toSeq();\n };\n\n FromEntriesSequence.prototype.__iterate = function __iterate (fn, reverse) {\n var this$1$1 = this;\n\n return this._iter.__iterate(function (entry) {\n // Check if entry exists first so array access doesn't throw for holes\n // in the parent iteration.\n if (entry) {\n validateEntry(entry);\n var indexedCollection = isCollection(entry);\n return fn(\n indexedCollection ? entry.get(1) : entry[1],\n indexedCollection ? entry.get(0) : entry[0],\n this$1$1\n );\n }\n }, reverse);\n };\n\n FromEntriesSequence.prototype.__iterator = function __iterator (type, reverse) {\n var iterator = this._iter.__iterator(ITERATE_VALUES, reverse);\n return new Iterator(function () {\n while (true) {\n var step = iterator.next();\n if (step.done) {\n return step;\n }\n var entry = step.value;\n // Check if entry exists first so array access doesn't throw for holes\n // in the parent iteration.\n if (entry) {\n validateEntry(entry);\n var indexedCollection = isCollection(entry);\n return iteratorValue(\n type,\n indexedCollection ? entry.get(0) : entry[0],\n indexedCollection ? entry.get(1) : entry[1],\n step\n );\n }\n }\n });\n };\n\n return FromEntriesSequence;\n}(KeyedSeq));\n\nToIndexedSequence.prototype.cacheResult =\n ToKeyedSequence.prototype.cacheResult =\n ToSetSequence.prototype.cacheResult =\n FromEntriesSequence.prototype.cacheResult =\n cacheResultThrough;\n\nfunction flipFactory(collection) {\n var flipSequence = makeSequence(collection);\n flipSequence._iter = collection;\n flipSequence.size = collection.size;\n flipSequence.flip = function () { return collection; };\n flipSequence.reverse = function () {\n var reversedSequence = collection.reverse.apply(this); // super.reverse()\n reversedSequence.flip = function () { return collection.reverse(); };\n return reversedSequence;\n };\n flipSequence.has = function (key) { return collection.includes(key); };\n flipSequence.includes = function (key) { return collection.has(key); };\n flipSequence.cacheResult = cacheResultThrough;\n flipSequence.__iterateUncached = function (fn, reverse) {\n var this$1$1 = this;\n\n return collection.__iterate(function (v, k) { return fn(k, v, this$1$1) !== false; }, reverse);\n };\n flipSequence.__iteratorUncached = function (type, reverse) {\n if (type === ITERATE_ENTRIES) {\n var iterator = collection.__iterator(type, reverse);\n return new Iterator(function () {\n var step = iterator.next();\n if (!step.done) {\n var k = step.value[0];\n step.value[0] = step.value[1];\n step.value[1] = k;\n }\n return step;\n });\n }\n return collection.__iterator(\n type === ITERATE_VALUES ? ITERATE_KEYS : ITERATE_VALUES,\n reverse\n );\n };\n return flipSequence;\n}\n\nfunction mapFactory(collection, mapper, context) {\n var mappedSequence = makeSequence(collection);\n mappedSequence.size = collection.size;\n mappedSequence.has = function (key) { return collection.has(key); };\n mappedSequence.get = function (key, notSetValue) {\n var v = collection.get(key, NOT_SET);\n return v === NOT_SET\n ? notSetValue\n : mapper.call(context, v, key, collection);\n };\n mappedSequence.__iterateUncached = function (fn, reverse) {\n var this$1$1 = this;\n\n return collection.__iterate(\n function (v, k, c) { return fn(mapper.call(context, v, k, c), k, this$1$1) !== false; },\n reverse\n );\n };\n mappedSequence.__iteratorUncached = function (type, reverse) {\n var iterator = collection.__iterator(ITERATE_ENTRIES, reverse);\n return new Iterator(function () {\n var step = iterator.next();\n if (step.done) {\n return step;\n }\n var entry = step.value;\n var key = entry[0];\n return iteratorValue(\n type,\n key,\n mapper.call(context, entry[1], key, collection),\n step\n );\n });\n };\n return mappedSequence;\n}\n\nfunction reverseFactory(collection, useKeys) {\n var this$1$1 = this;\n\n var reversedSequence = makeSequence(collection);\n reversedSequence._iter = collection;\n reversedSequence.size = collection.size;\n reversedSequence.reverse = function () { return collection; };\n if (collection.flip) {\n reversedSequence.flip = function () {\n var flipSequence = flipFactory(collection);\n flipSequence.reverse = function () { return collection.flip(); };\n return flipSequence;\n };\n }\n reversedSequence.get = function (key, notSetValue) { return collection.get(useKeys ? key : -1 - key, notSetValue); };\n reversedSequence.has = function (key) { return collection.has(useKeys ? key : -1 - key); };\n reversedSequence.includes = function (value) { return collection.includes(value); };\n reversedSequence.cacheResult = cacheResultThrough;\n reversedSequence.__iterate = function (fn, reverse) {\n var this$1$1 = this;\n\n var i = 0;\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n reverse && ensureSize(collection);\n return collection.__iterate(\n function (v, k) { return fn(v, useKeys ? k : reverse ? this$1$1.size - ++i : i++, this$1$1); },\n !reverse\n );\n };\n reversedSequence.__iterator = function (type, reverse) {\n var i = 0;\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n reverse && ensureSize(collection);\n var iterator = collection.__iterator(ITERATE_ENTRIES, !reverse);\n return new Iterator(function () {\n var step = iterator.next();\n if (step.done) {\n return step;\n }\n var entry = step.value;\n return iteratorValue(\n type,\n useKeys ? entry[0] : reverse ? this$1$1.size - ++i : i++,\n entry[1],\n step\n );\n });\n };\n return reversedSequence;\n}\n\nfunction filterFactory(collection, predicate, context, useKeys) {\n var filterSequence = makeSequence(collection);\n if (useKeys) {\n filterSequence.has = function (key) {\n var v = collection.get(key, NOT_SET);\n return v !== NOT_SET && !!predicate.call(context, v, key, collection);\n };\n filterSequence.get = function (key, notSetValue) {\n var v = collection.get(key, NOT_SET);\n return v !== NOT_SET && predicate.call(context, v, key, collection)\n ? v\n : notSetValue;\n };\n }\n filterSequence.__iterateUncached = function (fn, reverse) {\n var this$1$1 = this;\n\n var iterations = 0;\n collection.__iterate(function (v, k, c) {\n if (predicate.call(context, v, k, c)) {\n iterations++;\n return fn(v, useKeys ? k : iterations - 1, this$1$1);\n }\n }, reverse);\n return iterations;\n };\n filterSequence.__iteratorUncached = function (type, reverse) {\n var iterator = collection.__iterator(ITERATE_ENTRIES, reverse);\n var iterations = 0;\n return new Iterator(function () {\n while (true) {\n var step = iterator.next();\n if (step.done) {\n return step;\n }\n var entry = step.value;\n var key = entry[0];\n var value = entry[1];\n if (predicate.call(context, value, key, collection)) {\n return iteratorValue(type, useKeys ? key : iterations++, value, step);\n }\n }\n });\n };\n return filterSequence;\n}\n\nfunction countByFactory(collection, grouper, context) {\n var groups = Map().asMutable();\n collection.__iterate(function (v, k) {\n groups.update(grouper.call(context, v, k, collection), 0, function (a) { return a + 1; });\n });\n return groups.asImmutable();\n}\n\nfunction groupByFactory(collection, grouper, context) {\n var isKeyedIter = isKeyed(collection);\n var groups = (isOrdered(collection) ? OrderedMap() : Map()).asMutable();\n collection.__iterate(function (v, k) {\n groups.update(\n grouper.call(context, v, k, collection),\n function (a) { return ((a = a || []), a.push(isKeyedIter ? [k, v] : v), a); }\n );\n });\n var coerce = collectionClass(collection);\n return groups.map(function (arr) { return reify(collection, coerce(arr)); }).asImmutable();\n}\n\nfunction partitionFactory(collection, predicate, context) {\n var isKeyedIter = isKeyed(collection);\n var groups = [[], []];\n collection.__iterate(function (v, k) {\n groups[predicate.call(context, v, k, collection) ? 1 : 0].push(\n isKeyedIter ? [k, v] : v\n );\n });\n var coerce = collectionClass(collection);\n return groups.map(function (arr) { return reify(collection, coerce(arr)); });\n}\n\nfunction sliceFactory(collection, begin, end, useKeys) {\n var originalSize = collection.size;\n\n if (wholeSlice(begin, end, originalSize)) {\n return collection;\n }\n\n // begin or end can not be resolved if they were provided as negative numbers and\n // this collection's size is unknown. In that case, cache first so there is\n // a known size and these do not resolve to NaN.\n if (typeof originalSize === 'undefined' && (begin < 0 || end < 0)) {\n return sliceFactory(collection.toSeq().cacheResult(), begin, end, useKeys);\n }\n\n var resolvedBegin = resolveBegin(begin, originalSize);\n var resolvedEnd = resolveEnd(end, originalSize);\n\n // Note: resolvedEnd is undefined when the original sequence's length is\n // unknown and this slice did not supply an end and should contain all\n // elements after resolvedBegin.\n // In that case, resolvedSize will be NaN and sliceSize will remain undefined.\n var resolvedSize = resolvedEnd - resolvedBegin;\n var sliceSize;\n if (resolvedSize === resolvedSize) {\n sliceSize = resolvedSize < 0 ? 0 : resolvedSize;\n }\n\n var sliceSeq = makeSequence(collection);\n\n // If collection.size is undefined, the size of the realized sliceSeq is\n // unknown at this point unless the number of items to slice is 0\n sliceSeq.size =\n sliceSize === 0 ? sliceSize : (collection.size && sliceSize) || undefined;\n\n if (!useKeys && isSeq(collection) && sliceSize >= 0) {\n sliceSeq.get = function (index, notSetValue) {\n index = wrapIndex(this, index);\n return index >= 0 && index < sliceSize\n ? collection.get(index + resolvedBegin, notSetValue)\n : notSetValue;\n };\n }\n\n sliceSeq.__iterateUncached = function (fn, reverse) {\n var this$1$1 = this;\n\n if (sliceSize === 0) {\n return 0;\n }\n if (reverse) {\n return this.cacheResult().__iterate(fn, reverse);\n }\n var skipped = 0;\n var isSkipping = true;\n var iterations = 0;\n collection.__iterate(function (v, k) {\n if (!(isSkipping && (isSkipping = skipped++ < resolvedBegin))) {\n iterations++;\n return (\n fn(v, useKeys ? k : iterations - 1, this$1$1) !== false &&\n iterations !== sliceSize\n );\n }\n });\n return iterations;\n };\n\n sliceSeq.__iteratorUncached = function (type, reverse) {\n if (sliceSize !== 0 && reverse) {\n return this.cacheResult().__iterator(type, reverse);\n }\n // Don't bother instantiating parent iterator if taking 0.\n if (sliceSize === 0) {\n return new Iterator(iteratorDone);\n }\n var iterator = collection.__iterator(type, reverse);\n var skipped = 0;\n var iterations = 0;\n return new Iterator(function () {\n while (skipped++ < resolvedBegin) {\n iterator.next();\n }\n if (++iterations > sliceSize) {\n return iteratorDone();\n }\n var step = iterator.next();\n if (useKeys || type === ITERATE_VALUES || step.done) {\n return step;\n }\n if (type === ITERATE_KEYS) {\n return iteratorValue(type, iterations - 1, undefined, step);\n }\n return iteratorValue(type, iterations - 1, step.value[1], step);\n });\n };\n\n return sliceSeq;\n}\n\nfunction takeWhileFactory(collection, predicate, context) {\n var takeSequence = makeSequence(collection);\n takeSequence.__iterateUncached = function (fn, reverse) {\n var this$1$1 = this;\n\n if (reverse) {\n return this.cacheResult().__iterate(fn, reverse);\n }\n var iterations = 0;\n collection.__iterate(\n function (v, k, c) { return predicate.call(context, v, k, c) && ++iterations && fn(v, k, this$1$1); }\n );\n return iterations;\n };\n takeSequence.__iteratorUncached = function (type, reverse) {\n var this$1$1 = this;\n\n if (reverse) {\n return this.cacheResult().__iterator(type, reverse);\n }\n var iterator = collection.__iterator(ITERATE_ENTRIES, reverse);\n var iterating = true;\n return new Iterator(function () {\n if (!iterating) {\n return iteratorDone();\n }\n var step = iterator.next();\n if (step.done) {\n return step;\n }\n var entry = step.value;\n var k = entry[0];\n var v = entry[1];\n if (!predicate.call(context, v, k, this$1$1)) {\n iterating = false;\n return iteratorDone();\n }\n return type === ITERATE_ENTRIES ? step : iteratorValue(type, k, v, step);\n });\n };\n return takeSequence;\n}\n\nfunction skipWhileFactory(collection, predicate, context, useKeys) {\n var skipSequence = makeSequence(collection);\n skipSequence.__iterateUncached = function (fn, reverse) {\n var this$1$1 = this;\n\n if (reverse) {\n return this.cacheResult().__iterate(fn, reverse);\n }\n var isSkipping = true;\n var iterations = 0;\n collection.__iterate(function (v, k, c) {\n if (!(isSkipping && (isSkipping = predicate.call(context, v, k, c)))) {\n iterations++;\n return fn(v, useKeys ? k : iterations - 1, this$1$1);\n }\n });\n return iterations;\n };\n skipSequence.__iteratorUncached = function (type, reverse) {\n var this$1$1 = this;\n\n if (reverse) {\n return this.cacheResult().__iterator(type, reverse);\n }\n var iterator = collection.__iterator(ITERATE_ENTRIES, reverse);\n var skipping = true;\n var iterations = 0;\n return new Iterator(function () {\n var step;\n var k;\n var v;\n do {\n step = iterator.next();\n if (step.done) {\n if (useKeys || type === ITERATE_VALUES) {\n return step;\n }\n if (type === ITERATE_KEYS) {\n return iteratorValue(type, iterations++, undefined, step);\n }\n return iteratorValue(type, iterations++, step.value[1], step);\n }\n var entry = step.value;\n k = entry[0];\n v = entry[1];\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n skipping && (skipping = predicate.call(context, v, k, this$1$1));\n } while (skipping);\n return type === ITERATE_ENTRIES ? step : iteratorValue(type, k, v, step);\n });\n };\n return skipSequence;\n}\n\nvar ConcatSeq = /*@__PURE__*/(function (Seq) {\n function ConcatSeq(iterables) {\n this._wrappedIterables = iterables.flatMap(function (iterable) {\n if (iterable._wrappedIterables) {\n return iterable._wrappedIterables;\n }\n return [iterable];\n });\n this.size = this._wrappedIterables.reduce(function (sum, iterable) {\n if (sum !== undefined) {\n var size = iterable.size;\n if (size !== undefined) {\n return sum + size;\n }\n }\n }, 0);\n this[IS_KEYED_SYMBOL] = this._wrappedIterables[0][IS_KEYED_SYMBOL];\n this[IS_INDEXED_SYMBOL] = this._wrappedIterables[0][IS_INDEXED_SYMBOL];\n this[IS_ORDERED_SYMBOL] = this._wrappedIterables[0][IS_ORDERED_SYMBOL];\n }\n\n if ( Seq ) ConcatSeq.__proto__ = Seq;\n ConcatSeq.prototype = Object.create( Seq && Seq.prototype );\n ConcatSeq.prototype.constructor = ConcatSeq;\n\n ConcatSeq.prototype.__iterateUncached = function __iterateUncached (fn, reverse) {\n if (this._wrappedIterables.length === 0) {\n return;\n }\n\n if (reverse) {\n return this.cacheResult().__iterate(fn, reverse);\n }\n\n var iterableIndex = 0;\n var useKeys = isKeyed(this);\n var iteratorType = useKeys ? ITERATE_ENTRIES : ITERATE_VALUES;\n var currentIterator = this._wrappedIterables[iterableIndex].__iterator(\n iteratorType,\n reverse\n );\n\n var keepGoing = true;\n var index = 0;\n while (keepGoing) {\n var next = currentIterator.next();\n while (next.done) {\n iterableIndex++;\n if (iterableIndex === this._wrappedIterables.length) {\n return index;\n }\n currentIterator = this._wrappedIterables[iterableIndex].__iterator(\n iteratorType,\n reverse\n );\n next = currentIterator.next();\n }\n var fnResult = useKeys\n ? fn(next.value[1], next.value[0], this)\n : fn(next.value, index, this);\n keepGoing = fnResult !== false;\n index++;\n }\n return index;\n };\n\n ConcatSeq.prototype.__iteratorUncached = function __iteratorUncached (type, reverse) {\n var this$1$1 = this;\n\n if (this._wrappedIterables.length === 0) {\n return new Iterator(iteratorDone);\n }\n\n if (reverse) {\n return this.cacheResult().__iterator(type, reverse);\n }\n\n var iterableIndex = 0;\n var currentIterator = this._wrappedIterables[iterableIndex].__iterator(\n type,\n reverse\n );\n return new Iterator(function () {\n var next = currentIterator.next();\n while (next.done) {\n iterableIndex++;\n if (iterableIndex === this$1$1._wrappedIterables.length) {\n return next;\n }\n currentIterator = this$1$1._wrappedIterables[iterableIndex].__iterator(\n type,\n reverse\n );\n next = currentIterator.next();\n }\n return next;\n });\n };\n\n return ConcatSeq;\n}(Seq));\n\nfunction concatFactory(collection, values) {\n var isKeyedCollection = isKeyed(collection);\n var iters = [collection]\n .concat(values)\n .map(function (v) {\n if (!isCollection(v)) {\n v = isKeyedCollection\n ? keyedSeqFromValue(v)\n : indexedSeqFromValue(Array.isArray(v) ? v : [v]);\n } else if (isKeyedCollection) {\n v = KeyedCollection(v);\n }\n return v;\n })\n .filter(function (v) { return v.size !== 0; });\n\n if (iters.length === 0) {\n return collection;\n }\n\n if (iters.length === 1) {\n var singleton = iters[0];\n if (\n singleton === collection ||\n (isKeyedCollection && isKeyed(singleton)) ||\n (isIndexed(collection) && isIndexed(singleton))\n ) {\n return singleton;\n }\n }\n\n return new ConcatSeq(iters);\n}\n\nfunction flattenFactory(collection, depth, useKeys) {\n var flatSequence = makeSequence(collection);\n flatSequence.__iterateUncached = function (fn, reverse) {\n if (reverse) {\n return this.cacheResult().__iterate(fn, reverse);\n }\n var iterations = 0;\n var stopped = false;\n function flatDeep(iter, currentDepth) {\n iter.__iterate(function (v, k) {\n if ((!depth || currentDepth < depth) && isCollection(v)) {\n flatDeep(v, currentDepth + 1);\n } else {\n iterations++;\n if (fn(v, useKeys ? k : iterations - 1, flatSequence) === false) {\n stopped = true;\n }\n }\n return !stopped;\n }, reverse);\n }\n flatDeep(collection, 0);\n return iterations;\n };\n flatSequence.__iteratorUncached = function (type, reverse) {\n if (reverse) {\n return this.cacheResult().__iterator(type, reverse);\n }\n var iterator = collection.__iterator(type, reverse);\n var stack = [];\n var iterations = 0;\n return new Iterator(function () {\n while (iterator) {\n var step = iterator.next();\n if (step.done !== false) {\n iterator = stack.pop();\n continue;\n }\n var v = step.value;\n if (type === ITERATE_ENTRIES) {\n v = v[1];\n }\n if ((!depth || stack.length < depth) && isCollection(v)) {\n stack.push(iterator);\n iterator = v.__iterator(type, reverse);\n } else {\n return useKeys ? step : iteratorValue(type, iterations++, v, step);\n }\n }\n return iteratorDone();\n });\n };\n return flatSequence;\n}\n\nfunction flatMapFactory(collection, mapper, context) {\n var coerce = collectionClass(collection);\n return collection\n .toSeq()\n .map(function (v, k) { return coerce(mapper.call(context, v, k, collection)); })\n .flatten(true);\n}\n\nfunction interposeFactory(collection, separator) {\n var interposedSequence = makeSequence(collection);\n interposedSequence.size = collection.size && collection.size * 2 - 1;\n interposedSequence.__iterateUncached = function (fn, reverse) {\n var this$1$1 = this;\n\n var iterations = 0;\n collection.__iterate(\n function (v) { return (!iterations || fn(separator, iterations++, this$1$1) !== false) &&\n fn(v, iterations++, this$1$1) !== false; },\n reverse\n );\n return iterations;\n };\n interposedSequence.__iteratorUncached = function (type, reverse) {\n var iterator = collection.__iterator(ITERATE_VALUES, reverse);\n var iterations = 0;\n var step;\n return new Iterator(function () {\n if (!step || iterations % 2) {\n step = iterator.next();\n if (step.done) {\n return step;\n }\n }\n return iterations % 2\n ? iteratorValue(type, iterations++, separator)\n : iteratorValue(type, iterations++, step.value, step);\n });\n };\n return interposedSequence;\n}\n\nfunction sortFactory(collection, comparator, mapper) {\n if (!comparator) {\n comparator = defaultComparator;\n }\n var isKeyedCollection = isKeyed(collection);\n var index = 0;\n var entries = collection\n .toSeq()\n .map(function (v, k) { return [k, v, index++, mapper ? mapper(v, k, collection) : v]; })\n .valueSeq()\n .toArray();\n entries\n .sort(function (a, b) { return comparator(a[3], b[3]) || a[2] - b[2]; })\n .forEach(\n isKeyedCollection\n ? function (v, i) {\n entries[i].length = 2;\n }\n : function (v, i) {\n entries[i] = v[1];\n }\n );\n return isKeyedCollection\n ? KeyedSeq(entries)\n : isIndexed(collection)\n ? IndexedSeq(entries)\n : SetSeq(entries);\n}\n\nfunction maxFactory(collection, comparator, mapper) {\n if (!comparator) {\n comparator = defaultComparator;\n }\n if (mapper) {\n var entry = collection\n .toSeq()\n .map(function (v, k) { return [v, mapper(v, k, collection)]; })\n .reduce(function (a, b) { return (maxCompare(comparator, a[1], b[1]) ? b : a); });\n return entry && entry[0];\n }\n return collection.reduce(function (a, b) { return (maxCompare(comparator, a, b) ? b : a); });\n}\n\nfunction maxCompare(comparator, a, b) {\n var comp = comparator(b, a);\n // b is considered the new max if the comparator declares them equal, but\n // they are not equal and b is in fact a nullish value.\n return (\n (comp === 0 && b !== a && (b === undefined || b === null || b !== b)) ||\n comp > 0\n );\n}\n\nfunction zipWithFactory(keyIter, zipper, iters, zipAll) {\n var zipSequence = makeSequence(keyIter);\n var sizes = new ArraySeq(iters).map(function (i) { return i.size; });\n zipSequence.size = zipAll ? sizes.max() : sizes.min();\n // Note: this a generic base implementation of __iterate in terms of\n // __iterator which may be more generically useful in the future.\n zipSequence.__iterate = function (fn, reverse) {\n /* generic:\n var iterator = this.__iterator(ITERATE_ENTRIES, reverse);\n var step;\n var iterations = 0;\n while (!(step = iterator.next()).done) {\n iterations++;\n if (fn(step.value[1], step.value[0], this) === false) {\n break;\n }\n }\n return iterations;\n */\n // indexed:\n var iterator = this.__iterator(ITERATE_VALUES, reverse);\n var step;\n var iterations = 0;\n while (!(step = iterator.next()).done) {\n if (fn(step.value, iterations++, this) === false) {\n break;\n }\n }\n return iterations;\n };\n zipSequence.__iteratorUncached = function (type, reverse) {\n var iterators = iters.map(\n function (i) { return ((i = Collection(i)), getIterator(reverse ? i.reverse() : i)); }\n );\n var iterations = 0;\n var isDone = false;\n return new Iterator(function () {\n var steps;\n if (!isDone) {\n steps = iterators.map(function (i) { return i.next(); });\n isDone = zipAll\n ? steps.every(function (s) { return s.done; })\n : steps.some(function (s) { return s.done; });\n }\n if (isDone) {\n return iteratorDone();\n }\n return iteratorValue(\n type,\n iterations++,\n zipper.apply(\n null,\n steps.map(function (s) { return s.value; })\n )\n );\n });\n };\n return zipSequence;\n}\n\n// #pragma Helper Functions\n\nfunction reify(iter, seq) {\n return iter === seq ? iter : isSeq(iter) ? seq : iter.constructor(seq);\n}\n\nfunction validateEntry(entry) {\n if (entry !== Object(entry)) {\n throw new TypeError('Expected [K, V] tuple: ' + entry);\n }\n}\n\nfunction collectionClass(collection) {\n return isKeyed(collection)\n ? KeyedCollection\n : isIndexed(collection)\n ? IndexedCollection\n : SetCollection;\n}\n\nfunction makeSequence(collection) {\n return Object.create(\n (isKeyed(collection)\n ? KeyedSeq\n : isIndexed(collection)\n ? IndexedSeq\n : SetSeq\n ).prototype\n );\n}\n\nfunction cacheResultThrough() {\n if (this._iter.cacheResult) {\n this._iter.cacheResult();\n this.size = this._iter.size;\n return this;\n }\n return Seq.prototype.cacheResult.call(this);\n}\n\nfunction defaultComparator(a, b) {\n if (a === undefined && b === undefined) {\n return 0;\n }\n\n if (a === undefined) {\n return 1;\n }\n\n if (b === undefined) {\n return -1;\n }\n\n return a > b ? 1 : a < b ? -1 : 0;\n}\n\n/**\n * True if `maybeValue` is a JavaScript Object which has *both* `equals()`\n * and `hashCode()` methods.\n *\n * Any two instances of *value objects* can be compared for value equality with\n * `Immutable.is()` and can be used as keys in a `Map` or members in a `Set`.\n */\nfunction isValueObject(maybeValue) {\n return Boolean(maybeValue &&\n // @ts-expect-error: maybeValue is typed as `{}`\n typeof maybeValue.equals === 'function' &&\n // @ts-expect-error: maybeValue is typed as `{}`\n typeof maybeValue.hashCode === 'function');\n}\n\n/**\n * An extension of the \"same-value\" algorithm as [described for use by ES6 Map\n * and Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map#Key_equality)\n *\n * NaN is considered the same as NaN, however -0 and 0 are considered the same\n * value, which is different from the algorithm described by\n * [`Object.is`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).\n *\n * This is extended further to allow Objects to describe the values they\n * represent, by way of `valueOf` or `equals` (and `hashCode`).\n *\n * Note: because of this extension, the key equality of Immutable.Map and the\n * value equality of Immutable.Set will differ from ES6 Map and Set.\n *\n * ### Defining custom values\n *\n * The easiest way to describe the value an object represents is by implementing\n * `valueOf`. For example, `Date` represents a value by returning a unix\n * timestamp for `valueOf`:\n *\n * var date1 = new Date(1234567890000); // Fri Feb 13 2009 ...\n * var date2 = new Date(1234567890000);\n * date1.valueOf(); // 1234567890000\n * assert( date1 !== date2 );\n * assert( Immutable.is( date1, date2 ) );\n *\n * Note: overriding `valueOf` may have other implications if you use this object\n * where JavaScript expects a primitive, such as implicit string coercion.\n *\n * For more complex types, especially collections, implementing `valueOf` may\n * not be performant. An alternative is to implement `equals` and `hashCode`.\n *\n * `equals` takes another object, presumably of similar type, and returns true\n * if it is equal. Equality is symmetrical, so the same result should be\n * returned if this and the argument are flipped.\n *\n * assert( a.equals(b) === b.equals(a) );\n *\n * `hashCode` returns a 32bit integer number representing the object which will\n * be used to determine how to store the value object in a Map or Set. You must\n * provide both or neither methods, one must not exist without the other.\n *\n * Also, an important relationship between these methods must be upheld: if two\n * values are equal, they *must* return the same hashCode. If the values are not\n * equal, they might have the same hashCode; this is called a hash collision,\n * and while undesirable for performance reasons, it is acceptable.\n *\n * if (a.equals(b)) {\n * assert( a.hashCode() === b.hashCode() );\n * }\n *\n * All Immutable collections are Value Objects: they implement `equals()`\n * and `hashCode()`.\n */\nfunction is(valueA, valueB) {\n if (valueA === valueB || (valueA !== valueA && valueB !== valueB)) {\n return true;\n }\n if (!valueA || !valueB) {\n return false;\n }\n if (typeof valueA.valueOf === 'function' &&\n typeof valueB.valueOf === 'function') {\n valueA = valueA.valueOf();\n valueB = valueB.valueOf();\n if (valueA === valueB || (valueA !== valueA && valueB !== valueB)) {\n return true;\n }\n if (!valueA || !valueB) {\n return false;\n }\n }\n return !!(isValueObject(valueA) &&\n isValueObject(valueB) &&\n valueA.equals(valueB));\n}\n\nfunction update$1(collection, key, notSetValue, updater) {\n return updateIn(\n // @ts-expect-error Index signature for type string is missing in type V[]\n collection, [key], notSetValue, updater);\n}\n\nfunction merge$1() {\n var iters = [], len = arguments.length;\n while ( len-- ) iters[ len ] = arguments[ len ];\n\n return mergeIntoKeyedWith(this, iters);\n}\n\nfunction mergeWith$1(merger) {\n var iters = [], len = arguments.length - 1;\n while ( len-- > 0 ) iters[ len ] = arguments[ len + 1 ];\n\n if (typeof merger !== 'function') {\n throw new TypeError('Invalid merger function: ' + merger);\n }\n return mergeIntoKeyedWith(this, iters, merger);\n}\n\nfunction mergeIntoKeyedWith(collection, collections, merger) {\n var iters = [];\n for (var ii = 0; ii < collections.length; ii++) {\n var collection$1 = KeyedCollection(collections[ii]);\n if (collection$1.size !== 0) {\n iters.push(collection$1);\n }\n }\n if (iters.length === 0) {\n return collection;\n }\n if (\n collection.toSeq().size === 0 &&\n !collection.__ownerID &&\n iters.length === 1\n ) {\n return isRecord(collection)\n ? collection // Record is empty and will not be updated: return the same instance\n : collection.constructor(iters[0]);\n }\n return collection.withMutations(function (collection) {\n var mergeIntoCollection = merger\n ? function (value, key) {\n update$1(collection, key, NOT_SET, function (oldVal) { return oldVal === NOT_SET ? value : merger(oldVal, value, key); }\n );\n }\n : function (value, key) {\n collection.set(key, value);\n };\n for (var ii = 0; ii < iters.length; ii++) {\n iters[ii].forEach(mergeIntoCollection);\n }\n });\n}\n\nvar toString = Object.prototype.toString;\nfunction isPlainObject(value) {\n // The base prototype's toString deals with Argument objects and native namespaces like Math\n if (!value ||\n typeof value !== 'object' ||\n toString.call(value) !== '[object Object]') {\n return false;\n }\n var proto = Object.getPrototypeOf(value);\n if (proto === null) {\n return true;\n }\n // Iteratively going up the prototype chain is needed for cross-realm environments (differing contexts, iframes, etc)\n var parentProto = proto;\n var nextProto = Object.getPrototypeOf(proto);\n while (nextProto !== null) {\n parentProto = nextProto;\n nextProto = Object.getPrototypeOf(parentProto);\n }\n return parentProto === proto;\n}\n\n/**\n * Returns true if the value is a potentially-persistent data structure, either\n * provided by Immutable.js or a plain Array or Object.\n */\nfunction isDataStructure(value) {\n return (typeof value === 'object' &&\n (isImmutable(value) || Array.isArray(value) || isPlainObject(value)));\n}\n\n// http://jsperf.com/copy-array-inline\nfunction arrCopy(arr, offset) {\n offset = offset || 0;\n var len = Math.max(0, arr.length - offset);\n var newArr = new Array(len);\n for (var ii = 0; ii < len; ii++) {\n // @ts-expect-error We may want to guard for undefined values with `if (arr[ii + offset] !== undefined`, but ths should not happen by design\n newArr[ii] = arr[ii + offset];\n }\n return newArr;\n}\n\nfunction shallowCopy(from) {\n if (Array.isArray(from)) {\n return arrCopy(from);\n }\n var to = {};\n for (var key in from) {\n if (hasOwnProperty.call(from, key)) {\n to[key] = from[key];\n }\n }\n return to;\n}\n\nfunction merge(collection) {\n var sources = [], len = arguments.length - 1;\n while ( len-- > 0 ) sources[ len ] = arguments[ len + 1 ];\n\n return mergeWithSources(collection, sources);\n}\n\nfunction mergeWith(merger, collection) {\n var sources = [], len = arguments.length - 2;\n while ( len-- > 0 ) sources[ len ] = arguments[ len + 2 ];\n\n return mergeWithSources(collection, sources, merger);\n}\n\nfunction mergeDeep$1(collection) {\n var sources = [], len = arguments.length - 1;\n while ( len-- > 0 ) sources[ len ] = arguments[ len + 1 ];\n\n return mergeDeepWithSources(collection, sources);\n}\n\nfunction mergeDeepWith$1(merger, collection) {\n var sources = [], len = arguments.length - 2;\n while ( len-- > 0 ) sources[ len ] = arguments[ len + 2 ];\n\n return mergeDeepWithSources(collection, sources, merger);\n}\n\nfunction mergeDeepWithSources(collection, sources, merger) {\n return mergeWithSources(collection, sources, deepMergerWith(merger));\n}\n\nfunction mergeWithSources(collection, sources, merger) {\n if (!isDataStructure(collection)) {\n throw new TypeError(\n 'Cannot merge into non-data-structure value: ' + collection\n );\n }\n if (isImmutable(collection)) {\n return typeof merger === 'function' && collection.mergeWith\n ? collection.mergeWith.apply(collection, [ merger ].concat( sources ))\n : collection.merge\n ? collection.merge.apply(collection, sources)\n : collection.concat.apply(collection, sources);\n }\n var isArray = Array.isArray(collection);\n var merged = collection;\n var Collection = isArray ? IndexedCollection : KeyedCollection;\n var mergeItem = isArray\n ? function (value) {\n // Copy on write\n if (merged === collection) {\n merged = shallowCopy(merged);\n }\n merged.push(value);\n }\n : function (value, key) {\n var hasVal = hasOwnProperty.call(merged, key);\n var nextVal =\n hasVal && merger ? merger(merged[key], value, key) : value;\n if (!hasVal || nextVal !== merged[key]) {\n // Copy on write\n if (merged === collection) {\n merged = shallowCopy(merged);\n }\n merged[key] = nextVal;\n }\n };\n for (var i = 0; i < sources.length; i++) {\n Collection(sources[i]).forEach(mergeItem);\n }\n return merged;\n}\n\nfunction deepMergerWith(merger) {\n function deepMerger(oldValue, newValue, key) {\n return isDataStructure(oldValue) &&\n isDataStructure(newValue) &&\n areMergeable(oldValue, newValue)\n ? mergeWithSources(oldValue, [newValue], deepMerger)\n : merger\n ? merger(oldValue, newValue, key)\n : newValue;\n }\n return deepMerger;\n}\n\n/**\n * It's unclear what the desired behavior is for merging two collections that\n * fall into separate categories between keyed, indexed, or set-like, so we only\n * consider them mergeable if they fall into the same category.\n */\nfunction areMergeable(oldDataStructure, newDataStructure) {\n var oldSeq = Seq(oldDataStructure);\n var newSeq = Seq(newDataStructure);\n // This logic assumes that a sequence can only fall into one of the three\n // categories mentioned above (since there's no `isSetLike()` method).\n return (\n isIndexed(oldSeq) === isIndexed(newSeq) &&\n isKeyed(oldSeq) === isKeyed(newSeq)\n );\n}\n\nfunction mergeDeep() {\n var iters = [], len = arguments.length;\n while ( len-- ) iters[ len ] = arguments[ len ];\n\n return mergeDeepWithSources(this, iters);\n}\n\nfunction mergeDeepWith(merger) {\n var iters = [], len = arguments.length - 1;\n while ( len-- > 0 ) iters[ len ] = arguments[ len + 1 ];\n\n return mergeDeepWithSources(this, iters, merger);\n}\n\nfunction mergeDeepIn(keyPath) {\n var iters = [], len = arguments.length - 1;\n while ( len-- > 0 ) iters[ len ] = arguments[ len + 1 ];\n\n return updateIn(this, keyPath, emptyMap(), function (m) { return mergeDeepWithSources(m, iters); }\n );\n}\n\nfunction mergeIn(keyPath) {\n var iters = [], len = arguments.length - 1;\n while ( len-- > 0 ) iters[ len ] = arguments[ len + 1 ];\n\n return updateIn(this, keyPath, emptyMap(), function (m) { return mergeWithSources(m, iters); });\n}\n\n/**\n * Returns a copy of the collection with the value at the key path set to the\n * provided value.\n *\n * A functional alternative to `collection.setIn(keypath)` which will also\n * work with plain Objects and Arrays.\n */\nfunction setIn$1(collection, keyPath, value) {\n return updateIn(collection, keyPath, NOT_SET, function () { return value; });\n}\n\nfunction setIn(keyPath, v) {\n return setIn$1(this, keyPath, v);\n}\n\nfunction update(key, notSetValue, updater) {\n return arguments.length === 1\n ? key(this)\n : update$1(this, key, notSetValue, updater);\n}\n\nfunction updateIn$1(keyPath, notSetValue, updater) {\n return updateIn(this, keyPath, notSetValue, updater);\n}\n\nfunction wasAltered() {\n return this.__altered;\n}\n\nfunction withMutations(fn) {\n var mutable = this.asMutable();\n fn(mutable);\n return mutable.wasAltered() ? mutable.__ensureOwner(this.__ownerID) : this;\n}\n\nvar IS_MAP_SYMBOL = '@@__IMMUTABLE_MAP__@@';\n/**\n * True if `maybeMap` is a Map.\n *\n * Also true for OrderedMaps.\n */\nfunction isMap(maybeMap) {\n return Boolean(maybeMap &&\n // @ts-expect-error: maybeMap is typed as `{}`, need to change in 6.0 to `maybeMap && typeof maybeMap === 'object' && IS_MAP_SYMBOL in maybeMap`\n maybeMap[IS_MAP_SYMBOL]);\n}\n\nfunction invariant(condition, error) {\n if (!condition)\n { throw new Error(error); }\n}\n\nfunction assertNotInfinite(size) {\n invariant(size !== Infinity, 'Cannot perform this action with an infinite size.');\n}\n\nvar Map = /*@__PURE__*/(function (KeyedCollection) {\n function Map(value) {\n // eslint-disable-next-line no-constructor-return\n return value === undefined || value === null\n ? emptyMap()\n : isMap(value) && !isOrdered(value)\n ? value\n : emptyMap().withMutations(function (map) {\n var iter = KeyedCollection(value);\n assertNotInfinite(iter.size);\n iter.forEach(function (v, k) { return map.set(k, v); });\n });\n }\n\n if ( KeyedCollection ) Map.__proto__ = KeyedCollection;\n Map.prototype = Object.create( KeyedCollection && KeyedCollection.prototype );\n Map.prototype.constructor = Map;\n\n Map.prototype.toString = function toString () {\n return this.__toString('Map {', '}');\n };\n\n // @pragma Access\n\n Map.prototype.get = function get (k, notSetValue) {\n return this._root\n ? this._root.get(0, undefined, k, notSetValue)\n : notSetValue;\n };\n\n // @pragma Modification\n\n Map.prototype.set = function set (k, v) {\n return updateMap(this, k, v);\n };\n\n Map.prototype.remove = function remove (k) {\n return updateMap(this, k, NOT_SET);\n };\n\n Map.prototype.deleteAll = function deleteAll (keys) {\n var collection = Collection(keys);\n\n if (collection.size === 0) {\n return this;\n }\n\n return this.withMutations(function (map) {\n collection.forEach(function (key) { return map.remove(key); });\n });\n };\n\n Map.prototype.clear = function clear () {\n if (this.size === 0) {\n return this;\n }\n if (this.__ownerID) {\n this.size = 0;\n this._root = null;\n this.__hash = undefined;\n this.__altered = true;\n return this;\n }\n return emptyMap();\n };\n\n // @pragma Composition\n\n Map.prototype.sort = function sort (comparator) {\n // Late binding\n return OrderedMap(sortFactory(this, comparator));\n };\n\n Map.prototype.sortBy = function sortBy (mapper, comparator) {\n // Late binding\n return OrderedMap(sortFactory(this, comparator, mapper));\n };\n\n Map.prototype.map = function map (mapper, context) {\n var this$1$1 = this;\n\n return this.withMutations(function (map) {\n map.forEach(function (value, key) {\n map.set(key, mapper.call(context, value, key, this$1$1));\n });\n });\n };\n\n // @pragma Mutability\n\n Map.prototype.__iterator = function __iterator (type, reverse) {\n return new MapIterator(this, type, reverse);\n };\n\n Map.prototype.__iterate = function __iterate (fn, reverse) {\n var this$1$1 = this;\n\n var iterations = 0;\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n this._root &&\n this._root.iterate(function (entry) {\n iterations++;\n return fn(entry[1], entry[0], this$1$1);\n }, reverse);\n return iterations;\n };\n\n Map.prototype.__ensureOwner = function __ensureOwner (ownerID) {\n if (ownerID === this.__ownerID) {\n return this;\n }\n if (!ownerID) {\n if (this.size === 0) {\n return emptyMap();\n }\n this.__ownerID = ownerID;\n this.__altered = false;\n return this;\n }\n return makeMap(this.size, this._root, ownerID, this.__hash);\n };\n\n return Map;\n}(KeyedCollection));\n\nMap.isMap = isMap;\n\nvar MapPrototype = Map.prototype;\nMapPrototype[IS_MAP_SYMBOL] = true;\nMapPrototype[DELETE] = MapPrototype.remove;\nMapPrototype.removeAll = MapPrototype.deleteAll;\nMapPrototype.setIn = setIn;\nMapPrototype.removeIn = MapPrototype.deleteIn = deleteIn;\nMapPrototype.update = update;\nMapPrototype.updateIn = updateIn$1;\nMapPrototype.merge = MapPrototype.concat = merge$1;\nMapPrototype.mergeWith = mergeWith$1;\nMapPrototype.mergeDeep = mergeDeep;\nMapPrototype.mergeDeepWith = mergeDeepWith;\nMapPrototype.mergeIn = mergeIn;\nMapPrototype.mergeDeepIn = mergeDeepIn;\nMapPrototype.withMutations = withMutations;\nMapPrototype.wasAltered = wasAltered;\nMapPrototype.asImmutable = asImmutable;\nMapPrototype['@@transducer/init'] = MapPrototype.asMutable = asMutable;\nMapPrototype['@@transducer/step'] = function (result, arr) {\n return result.set(arr[0], arr[1]);\n};\nMapPrototype['@@transducer/result'] = function (obj) {\n return obj.asImmutable();\n};\n\n// #pragma Trie Nodes\n\nvar ArrayMapNode = function ArrayMapNode(ownerID, entries) {\n this.ownerID = ownerID;\n this.entries = entries;\n};\n\nArrayMapNode.prototype.get = function get (shift, keyHash, key, notSetValue) {\n var entries = this.entries;\n for (var ii = 0, len = entries.length; ii < len; ii++) {\n if (is(key, entries[ii][0])) {\n return entries[ii][1];\n }\n }\n return notSetValue;\n};\n\nArrayMapNode.prototype.update = function update (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n var removed = value === NOT_SET;\n\n var entries = this.entries;\n var idx = 0;\n var len = entries.length;\n for (; idx < len; idx++) {\n if (is(key, entries[idx][0])) {\n break;\n }\n }\n var exists = idx < len;\n\n if (exists ? entries[idx][1] === value : removed) {\n return this;\n }\n\n SetRef(didAlter);\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n (removed || !exists) && SetRef(didChangeSize);\n\n if (removed && entries.length === 1) {\n return; // undefined\n }\n\n if (!exists && !removed && entries.length >= MAX_ARRAY_MAP_SIZE) {\n return createNodes(ownerID, entries, key, value);\n }\n\n var isEditable = ownerID && ownerID === this.ownerID;\n var newEntries = isEditable ? entries : arrCopy(entries);\n\n if (exists) {\n if (removed) {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n idx === len - 1\n ? newEntries.pop()\n : (newEntries[idx] = newEntries.pop());\n } else {\n newEntries[idx] = [key, value];\n }\n } else {\n newEntries.push([key, value]);\n }\n\n if (isEditable) {\n this.entries = newEntries;\n return this;\n }\n\n return new ArrayMapNode(ownerID, newEntries);\n};\n\nvar BitmapIndexedNode = function BitmapIndexedNode(ownerID, bitmap, nodes) {\n this.ownerID = ownerID;\n this.bitmap = bitmap;\n this.nodes = nodes;\n};\n\nBitmapIndexedNode.prototype.get = function get (shift, keyHash, key, notSetValue) {\n if (keyHash === undefined) {\n keyHash = hash(key);\n }\n var bit = 1 << ((shift === 0 ? keyHash : keyHash >>> shift) & MASK);\n var bitmap = this.bitmap;\n return (bitmap & bit) === 0\n ? notSetValue\n : this.nodes[popCount(bitmap & (bit - 1))].get(\n shift + SHIFT,\n keyHash,\n key,\n notSetValue\n );\n};\n\nBitmapIndexedNode.prototype.update = function update (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n if (keyHash === undefined) {\n keyHash = hash(key);\n }\n var keyHashFrag = (shift === 0 ? keyHash : keyHash >>> shift) & MASK;\n var bit = 1 << keyHashFrag;\n var bitmap = this.bitmap;\n var exists = (bitmap & bit) !== 0;\n\n if (!exists && value === NOT_SET) {\n return this;\n }\n\n var idx = popCount(bitmap & (bit - 1));\n var nodes = this.nodes;\n var node = exists ? nodes[idx] : undefined;\n var newNode = updateNode(\n node,\n ownerID,\n shift + SHIFT,\n keyHash,\n key,\n value,\n didChangeSize,\n didAlter\n );\n\n if (newNode === node) {\n return this;\n }\n\n if (!exists && newNode && nodes.length >= MAX_BITMAP_INDEXED_SIZE) {\n return expandNodes(ownerID, nodes, bitmap, keyHashFrag, newNode);\n }\n\n if (\n exists &&\n !newNode &&\n nodes.length === 2 &&\n isLeafNode(nodes[idx ^ 1])\n ) {\n return nodes[idx ^ 1];\n }\n\n if (exists && newNode && nodes.length === 1 && isLeafNode(newNode)) {\n return newNode;\n }\n\n var isEditable = ownerID && ownerID === this.ownerID;\n var newBitmap = exists ? (newNode ? bitmap : bitmap ^ bit) : bitmap | bit;\n var newNodes = exists\n ? newNode\n ? setAt(nodes, idx, newNode, isEditable)\n : spliceOut(nodes, idx, isEditable)\n : spliceIn(nodes, idx, newNode, isEditable);\n\n if (isEditable) {\n this.bitmap = newBitmap;\n this.nodes = newNodes;\n return this;\n }\n\n return new BitmapIndexedNode(ownerID, newBitmap, newNodes);\n};\n\nvar HashArrayMapNode = function HashArrayMapNode(ownerID, count, nodes) {\n this.ownerID = ownerID;\n this.count = count;\n this.nodes = nodes;\n};\n\nHashArrayMapNode.prototype.get = function get (shift, keyHash, key, notSetValue) {\n if (keyHash === undefined) {\n keyHash = hash(key);\n }\n var idx = (shift === 0 ? keyHash : keyHash >>> shift) & MASK;\n var node = this.nodes[idx];\n return node\n ? node.get(shift + SHIFT, keyHash, key, notSetValue)\n : notSetValue;\n};\n\nHashArrayMapNode.prototype.update = function update (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n if (keyHash === undefined) {\n keyHash = hash(key);\n }\n var idx = (shift === 0 ? keyHash : keyHash >>> shift) & MASK;\n var removed = value === NOT_SET;\n var nodes = this.nodes;\n var node = nodes[idx];\n\n if (removed && !node) {\n return this;\n }\n\n var newNode = updateNode(\n node,\n ownerID,\n shift + SHIFT,\n keyHash,\n key,\n value,\n didChangeSize,\n didAlter\n );\n if (newNode === node) {\n return this;\n }\n\n var newCount = this.count;\n if (!node) {\n newCount++;\n } else if (!newNode) {\n newCount--;\n if (newCount < MIN_HASH_ARRAY_MAP_SIZE) {\n return packNodes(ownerID, nodes, newCount, idx);\n }\n }\n\n var isEditable = ownerID && ownerID === this.ownerID;\n var newNodes = setAt(nodes, idx, newNode, isEditable);\n\n if (isEditable) {\n this.count = newCount;\n this.nodes = newNodes;\n return this;\n }\n\n return new HashArrayMapNode(ownerID, newCount, newNodes);\n};\n\nvar HashCollisionNode = function HashCollisionNode(ownerID, keyHash, entries) {\n this.ownerID = ownerID;\n this.keyHash = keyHash;\n this.entries = entries;\n};\n\nHashCollisionNode.prototype.get = function get (shift, keyHash, key, notSetValue) {\n var entries = this.entries;\n for (var ii = 0, len = entries.length; ii < len; ii++) {\n if (is(key, entries[ii][0])) {\n return entries[ii][1];\n }\n }\n return notSetValue;\n};\n\nHashCollisionNode.prototype.update = function update (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n if (keyHash === undefined) {\n keyHash = hash(key);\n }\n\n var removed = value === NOT_SET;\n\n if (keyHash !== this.keyHash) {\n if (removed) {\n return this;\n }\n SetRef(didAlter);\n SetRef(didChangeSize);\n return mergeIntoNode(this, ownerID, shift, keyHash, [key, value]);\n }\n\n var entries = this.entries;\n var idx = 0;\n var len = entries.length;\n for (; idx < len; idx++) {\n if (is(key, entries[idx][0])) {\n break;\n }\n }\n var exists = idx < len;\n\n if (exists ? entries[idx][1] === value : removed) {\n return this;\n }\n\n SetRef(didAlter);\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n (removed || !exists) && SetRef(didChangeSize);\n\n if (removed && len === 2) {\n return new ValueNode(ownerID, this.keyHash, entries[idx ^ 1]);\n }\n\n var isEditable = ownerID && ownerID === this.ownerID;\n var newEntries = isEditable ? entries : arrCopy(entries);\n\n if (exists) {\n if (removed) {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n idx === len - 1\n ? newEntries.pop()\n : (newEntries[idx] = newEntries.pop());\n } else {\n newEntries[idx] = [key, value];\n }\n } else {\n newEntries.push([key, value]);\n }\n\n if (isEditable) {\n this.entries = newEntries;\n return this;\n }\n\n return new HashCollisionNode(ownerID, this.keyHash, newEntries);\n};\n\nvar ValueNode = function ValueNode(ownerID, keyHash, entry) {\n this.ownerID = ownerID;\n this.keyHash = keyHash;\n this.entry = entry;\n};\n\nValueNode.prototype.get = function get (shift, keyHash, key, notSetValue) {\n return is(key, this.entry[0]) ? this.entry[1] : notSetValue;\n};\n\nValueNode.prototype.update = function update (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n var removed = value === NOT_SET;\n var keyMatch = is(key, this.entry[0]);\n if (keyMatch ? value === this.entry[1] : removed) {\n return this;\n }\n\n SetRef(didAlter);\n\n if (removed) {\n SetRef(didChangeSize);\n return; // undefined\n }\n\n if (keyMatch) {\n if (ownerID && ownerID === this.ownerID) {\n this.entry[1] = value;\n return this;\n }\n return new ValueNode(ownerID, this.keyHash, [key, value]);\n }\n\n SetRef(didChangeSize);\n return mergeIntoNode(this, ownerID, shift, hash(key), [key, value]);\n};\n\n// #pragma Iterators\n\nArrayMapNode.prototype.iterate = HashCollisionNode.prototype.iterate =\n function (fn, reverse) {\n var entries = this.entries;\n for (var ii = 0, maxIndex = entries.length - 1; ii <= maxIndex; ii++) {\n if (fn(entries[reverse ? maxIndex - ii : ii]) === false) {\n return false;\n }\n }\n };\n\nBitmapIndexedNode.prototype.iterate = HashArrayMapNode.prototype.iterate =\n function (fn, reverse) {\n var nodes = this.nodes;\n for (var ii = 0, maxIndex = nodes.length - 1; ii <= maxIndex; ii++) {\n var node = nodes[reverse ? maxIndex - ii : ii];\n if (node && node.iterate(fn, reverse) === false) {\n return false;\n }\n }\n };\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nValueNode.prototype.iterate = function (fn, reverse) {\n return fn(this.entry);\n};\n\nvar MapIterator = /*@__PURE__*/(function (Iterator) {\n function MapIterator(map, type, reverse) {\n this._type = type;\n this._reverse = reverse;\n this._stack = map._root && mapIteratorFrame(map._root);\n }\n\n if ( Iterator ) MapIterator.__proto__ = Iterator;\n MapIterator.prototype = Object.create( Iterator && Iterator.prototype );\n MapIterator.prototype.constructor = MapIterator;\n\n MapIterator.prototype.next = function next () {\n var type = this._type;\n var stack = this._stack;\n while (stack) {\n var node = stack.node;\n var index = stack.index++;\n var maxIndex = (void 0);\n if (node.entry) {\n if (index === 0) {\n return mapIteratorValue(type, node.entry);\n }\n } else if (node.entries) {\n maxIndex = node.entries.length - 1;\n if (index <= maxIndex) {\n return mapIteratorValue(\n type,\n node.entries[this._reverse ? maxIndex - index : index]\n );\n }\n } else {\n maxIndex = node.nodes.length - 1;\n if (index <= maxIndex) {\n var subNode = node.nodes[this._reverse ? maxIndex - index : index];\n if (subNode) {\n if (subNode.entry) {\n return mapIteratorValue(type, subNode.entry);\n }\n stack = this._stack = mapIteratorFrame(subNode, stack);\n }\n continue;\n }\n }\n stack = this._stack = this._stack.__prev;\n }\n return iteratorDone();\n };\n\n return MapIterator;\n}(Iterator));\n\nfunction mapIteratorValue(type, entry) {\n return iteratorValue(type, entry[0], entry[1]);\n}\n\nfunction mapIteratorFrame(node, prev) {\n return {\n node: node,\n index: 0,\n __prev: prev,\n };\n}\n\nfunction makeMap(size, root, ownerID, hash) {\n var map = Object.create(MapPrototype);\n map.size = size;\n map._root = root;\n map.__ownerID = ownerID;\n map.__hash = hash;\n map.__altered = false;\n return map;\n}\n\nvar EMPTY_MAP;\nfunction emptyMap() {\n return EMPTY_MAP || (EMPTY_MAP = makeMap(0));\n}\n\nfunction updateMap(map, k, v) {\n var newRoot;\n var newSize;\n if (!map._root) {\n if (v === NOT_SET) {\n return map;\n }\n newSize = 1;\n newRoot = new ArrayMapNode(map.__ownerID, [[k, v]]);\n } else {\n var didChangeSize = MakeRef();\n var didAlter = MakeRef();\n newRoot = updateNode(\n map._root,\n map.__ownerID,\n 0,\n undefined,\n k,\n v,\n didChangeSize,\n didAlter\n );\n if (!didAlter.value) {\n return map;\n }\n newSize = map.size + (didChangeSize.value ? (v === NOT_SET ? -1 : 1) : 0);\n }\n if (map.__ownerID) {\n map.size = newSize;\n map._root = newRoot;\n map.__hash = undefined;\n map.__altered = true;\n return map;\n }\n return newRoot ? makeMap(newSize, newRoot) : emptyMap();\n}\n\nfunction updateNode(\n node,\n ownerID,\n shift,\n keyHash,\n key,\n value,\n didChangeSize,\n didAlter\n) {\n if (!node) {\n if (value === NOT_SET) {\n return node;\n }\n SetRef(didAlter);\n SetRef(didChangeSize);\n return new ValueNode(ownerID, keyHash, [key, value]);\n }\n return node.update(\n ownerID,\n shift,\n keyHash,\n key,\n value,\n didChangeSize,\n didAlter\n );\n}\n\nfunction isLeafNode(node) {\n return (\n node.constructor === ValueNode || node.constructor === HashCollisionNode\n );\n}\n\nfunction mergeIntoNode(node, ownerID, shift, keyHash, entry) {\n if (node.keyHash === keyHash) {\n return new HashCollisionNode(ownerID, keyHash, [node.entry, entry]);\n }\n\n var idx1 = (shift === 0 ? node.keyHash : node.keyHash >>> shift) & MASK;\n var idx2 = (shift === 0 ? keyHash : keyHash >>> shift) & MASK;\n\n var newNode;\n var nodes =\n idx1 === idx2\n ? [mergeIntoNode(node, ownerID, shift + SHIFT, keyHash, entry)]\n : ((newNode = new ValueNode(ownerID, keyHash, entry)),\n idx1 < idx2 ? [node, newNode] : [newNode, node]);\n\n return new BitmapIndexedNode(ownerID, (1 << idx1) | (1 << idx2), nodes);\n}\n\nfunction createNodes(ownerID, entries, key, value) {\n if (!ownerID) {\n ownerID = new OwnerID();\n }\n var node = new ValueNode(ownerID, hash(key), [key, value]);\n for (var ii = 0; ii < entries.length; ii++) {\n var entry = entries[ii];\n node = node.update(ownerID, 0, undefined, entry[0], entry[1]);\n }\n return node;\n}\n\nfunction packNodes(ownerID, nodes, count, excluding) {\n var bitmap = 0;\n var packedII = 0;\n var packedNodes = new Array(count);\n for (var ii = 0, bit = 1, len = nodes.length; ii < len; ii++, bit <<= 1) {\n var node = nodes[ii];\n if (node !== undefined && ii !== excluding) {\n bitmap |= bit;\n packedNodes[packedII++] = node;\n }\n }\n return new BitmapIndexedNode(ownerID, bitmap, packedNodes);\n}\n\nfunction expandNodes(ownerID, nodes, bitmap, including, node) {\n var count = 0;\n var expandedNodes = new Array(SIZE);\n for (var ii = 0; bitmap !== 0; ii++, bitmap >>>= 1) {\n expandedNodes[ii] = bitmap & 1 ? nodes[count++] : undefined;\n }\n expandedNodes[including] = node;\n return new HashArrayMapNode(ownerID, count + 1, expandedNodes);\n}\n\nfunction popCount(x) {\n x -= (x >> 1) & 0x55555555;\n x = (x & 0x33333333) + ((x >> 2) & 0x33333333);\n x = (x + (x >> 4)) & 0x0f0f0f0f;\n x += x >> 8;\n x += x >> 16;\n return x & 0x7f;\n}\n\nfunction setAt(array, idx, val, canEdit) {\n var newArray = canEdit ? array : arrCopy(array);\n newArray[idx] = val;\n return newArray;\n}\n\nfunction spliceIn(array, idx, val, canEdit) {\n var newLen = array.length + 1;\n if (canEdit && idx + 1 === newLen) {\n array[idx] = val;\n return array;\n }\n var newArray = new Array(newLen);\n var after = 0;\n for (var ii = 0; ii < newLen; ii++) {\n if (ii === idx) {\n newArray[ii] = val;\n after = -1;\n } else {\n newArray[ii] = array[ii + after];\n }\n }\n return newArray;\n}\n\nfunction spliceOut(array, idx, canEdit) {\n var newLen = array.length - 1;\n if (canEdit && idx === newLen) {\n array.pop();\n return array;\n }\n var newArray = new Array(newLen);\n var after = 0;\n for (var ii = 0; ii < newLen; ii++) {\n if (ii === idx) {\n after = 1;\n }\n newArray[ii] = array[ii + after];\n }\n return newArray;\n}\n\nvar MAX_ARRAY_MAP_SIZE = SIZE / 4;\nvar MAX_BITMAP_INDEXED_SIZE = SIZE / 2;\nvar MIN_HASH_ARRAY_MAP_SIZE = SIZE / 4;\n\nfunction coerceKeyPath(keyPath) {\n if (isArrayLike(keyPath) && typeof keyPath !== 'string') {\n return keyPath;\n }\n if (isOrdered(keyPath)) {\n return keyPath.toArray();\n }\n throw new TypeError('Invalid keyPath: expected Ordered Collection or Array: ' + keyPath);\n}\n\n/**\n * Converts a value to a string, adding quotes if a string was provided.\n */\nfunction quoteString(value) {\n try {\n return typeof value === 'string' ? JSON.stringify(value) : String(value);\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n }\n catch (_ignoreError) {\n return JSON.stringify(value);\n }\n}\n\n/**\n * Returns true if the key is defined in the provided collection.\n *\n * A functional alternative to `collection.has(key)` which will also work with\n * plain Objects and Arrays as an alternative for\n * `collection.hasOwnProperty(key)`.\n */\nfunction has(collection, key) {\n return isImmutable(collection)\n ? // @ts-expect-error key might be a number or symbol, which is not handled be Record key type\n collection.has(key)\n : // @ts-expect-error key might be anything else than PropertyKey, and will return false in that case but runtime is OK\n isDataStructure(collection) && hasOwnProperty.call(collection, key);\n}\n\nfunction get(collection, key, notSetValue) {\n return isImmutable(collection)\n ? collection.get(key, notSetValue)\n : !has(collection, key)\n ? notSetValue\n : // @ts-expect-error weird \"get\" here,\n typeof collection.get === 'function'\n ? // @ts-expect-error weird \"get\" here,\n collection.get(key)\n : // @ts-expect-error key is unknown here,\n collection[key];\n}\n\nfunction remove(collection, key) {\n if (!isDataStructure(collection)) {\n throw new TypeError('Cannot update non-data-structure value: ' + collection);\n }\n if (isImmutable(collection)) {\n // @ts-expect-error weird \"remove\" here,\n if (!collection.remove) {\n throw new TypeError('Cannot update immutable value without .remove() method: ' + collection);\n }\n // @ts-expect-error weird \"remove\" here,\n return collection.remove(key);\n }\n // @ts-expect-error assert that key is a string, a number or a symbol here\n if (!hasOwnProperty.call(collection, key)) {\n return collection;\n }\n var collectionCopy = shallowCopy(collection);\n if (Array.isArray(collectionCopy)) {\n // @ts-expect-error assert that key is a number here\n collectionCopy.splice(key, 1);\n }\n else {\n // @ts-expect-error assert that key is a string, a number or a symbol here\n delete collectionCopy[key];\n }\n return collectionCopy;\n}\n\nfunction set(collection, key, value) {\n if (!isDataStructure(collection)) {\n throw new TypeError('Cannot update non-data-structure value: ' + collection);\n }\n if (isImmutable(collection)) {\n // @ts-expect-error weird \"set\" here,\n if (!collection.set) {\n throw new TypeError('Cannot update immutable value without .set() method: ' + collection);\n }\n // @ts-expect-error weird \"set\" here,\n return collection.set(key, value);\n }\n // @ts-expect-error mix of key and string here. Probably need a more fine type here\n if (hasOwnProperty.call(collection, key) && value === collection[key]) {\n return collection;\n }\n var collectionCopy = shallowCopy(collection);\n // @ts-expect-error mix of key and string here. Probably need a more fine type here\n collectionCopy[key] = value;\n return collectionCopy;\n}\n\nfunction updateIn(collection, keyPath, notSetValue, updater) {\n if (!updater) {\n // handle the fact that `notSetValue` is optional here, in that case `updater` is the updater function\n // @ts-expect-error updater is a function here\n updater = notSetValue;\n notSetValue = undefined;\n }\n var updatedValue = updateInDeeply(isImmutable(collection), \n // @ts-expect-error type issues with Record and mixed types\n collection, coerceKeyPath(keyPath), 0, notSetValue, updater);\n // @ts-expect-error mixed return type\n return updatedValue === NOT_SET ? notSetValue : updatedValue;\n}\nfunction updateInDeeply(inImmutable, existing, keyPath, i, notSetValue, updater) {\n var wasNotSet = existing === NOT_SET;\n if (i === keyPath.length) {\n var existingValue = wasNotSet ? notSetValue : existing;\n // @ts-expect-error mixed type with optional value\n var newValue = updater(existingValue);\n // @ts-expect-error mixed type\n return newValue === existingValue ? existing : newValue;\n }\n if (!wasNotSet && !isDataStructure(existing)) {\n throw new TypeError('Cannot update within non-data-structure value in path [' +\n Array.from(keyPath).slice(0, i).map(quoteString) +\n ']: ' +\n existing);\n }\n var key = keyPath[i];\n var nextExisting = wasNotSet ? NOT_SET : get(existing, key, NOT_SET);\n var nextUpdated = updateInDeeply(nextExisting === NOT_SET ? inImmutable : isImmutable(nextExisting), \n // @ts-expect-error mixed type\n nextExisting, keyPath, i + 1, notSetValue, updater);\n return nextUpdated === nextExisting\n ? existing\n : nextUpdated === NOT_SET\n ? remove(existing, key)\n : set(wasNotSet ? (inImmutable ? emptyMap() : {}) : existing, key, nextUpdated);\n}\n\n/**\n * Returns a copy of the collection with the value at the key path removed.\n *\n * A functional alternative to `collection.removeIn(keypath)` which will also\n * work with plain Objects and Arrays.\n */\nfunction removeIn(collection, keyPath) {\n return updateIn(collection, keyPath, function () { return NOT_SET; });\n}\n\nfunction deleteIn(keyPath) {\n return removeIn(this, keyPath);\n}\n\nvar IS_LIST_SYMBOL = '@@__IMMUTABLE_LIST__@@';\n/**\n * True if `maybeList` is a List.\n */\nfunction isList(maybeList) {\n return Boolean(maybeList &&\n // @ts-expect-error: maybeList is typed as `{}`, need to change in 6.0 to `maybeList && typeof maybeList === 'object' && IS_LIST_SYMBOL in maybeList`\n maybeList[IS_LIST_SYMBOL]);\n}\n\nvar List = /*@__PURE__*/(function (IndexedCollection) {\n function List(value) {\n var empty = emptyList();\n if (value === undefined || value === null) {\n // eslint-disable-next-line no-constructor-return\n return empty;\n }\n if (isList(value)) {\n // eslint-disable-next-line no-constructor-return\n return value;\n }\n var iter = IndexedCollection(value);\n var size = iter.size;\n if (size === 0) {\n // eslint-disable-next-line no-constructor-return\n return empty;\n }\n assertNotInfinite(size);\n if (size > 0 && size < SIZE) {\n // eslint-disable-next-line no-constructor-return\n return makeList(0, size, SHIFT, null, new VNode(iter.toArray()));\n }\n // eslint-disable-next-line no-constructor-return\n return empty.withMutations(function (list) {\n list.setSize(size);\n iter.forEach(function (v, i) { return list.set(i, v); });\n });\n }\n\n if ( IndexedCollection ) List.__proto__ = IndexedCollection;\n List.prototype = Object.create( IndexedCollection && IndexedCollection.prototype );\n List.prototype.constructor = List;\n\n List.of = function of (/*...values*/) {\n return this(arguments);\n };\n\n List.prototype.toString = function toString () {\n return this.__toString('List [', ']');\n };\n\n // @pragma Access\n\n List.prototype.get = function get (index, notSetValue) {\n index = wrapIndex(this, index);\n if (index >= 0 && index < this.size) {\n index += this._origin;\n var node = listNodeFor(this, index);\n return node && node.array[index & MASK];\n }\n return notSetValue;\n };\n\n // @pragma Modification\n\n List.prototype.set = function set (index, value) {\n return updateList(this, index, value);\n };\n\n List.prototype.remove = function remove (index) {\n return !this.has(index)\n ? this\n : index === 0\n ? this.shift()\n : index === this.size - 1\n ? this.pop()\n : this.splice(index, 1);\n };\n\n List.prototype.insert = function insert (index, value) {\n return this.splice(index, 0, value);\n };\n\n List.prototype.clear = function clear () {\n if (this.size === 0) {\n return this;\n }\n if (this.__ownerID) {\n this.size = this._origin = this._capacity = 0;\n this._level = SHIFT;\n this._root = this._tail = this.__hash = undefined;\n this.__altered = true;\n return this;\n }\n return emptyList();\n };\n\n List.prototype.push = function push (/*...values*/) {\n var values = arguments;\n var oldSize = this.size;\n return this.withMutations(function (list) {\n setListBounds(list, 0, oldSize + values.length);\n for (var ii = 0; ii < values.length; ii++) {\n list.set(oldSize + ii, values[ii]);\n }\n });\n };\n\n List.prototype.pop = function pop () {\n return setListBounds(this, 0, -1);\n };\n\n List.prototype.unshift = function unshift (/*...values*/) {\n var values = arguments;\n return this.withMutations(function (list) {\n setListBounds(list, -values.length);\n for (var ii = 0; ii < values.length; ii++) {\n list.set(ii, values[ii]);\n }\n });\n };\n\n List.prototype.shift = function shift () {\n return setListBounds(this, 1);\n };\n\n List.prototype.shuffle = function shuffle (random) {\n if ( random === void 0 ) random = Math.random;\n\n return this.withMutations(function (mutable) {\n // implementation of the Fisher-Yates shuffle: https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle\n var current = mutable.size;\n var destination;\n var tmp;\n\n while (current) {\n destination = Math.floor(random() * current--);\n\n tmp = mutable.get(destination);\n mutable.set(destination, mutable.get(current));\n mutable.set(current, tmp);\n }\n });\n };\n\n // @pragma Composition\n\n List.prototype.concat = function concat (/*...collections*/) {\n var arguments$1 = arguments;\n\n var seqs = [];\n for (var i = 0; i < arguments.length; i++) {\n var argument = arguments$1[i];\n var seq = IndexedCollection(\n typeof argument !== 'string' && hasIterator(argument)\n ? argument\n : [argument]\n );\n if (seq.size !== 0) {\n seqs.push(seq);\n }\n }\n if (seqs.length === 0) {\n return this;\n }\n if (this.size === 0 && !this.__ownerID && seqs.length === 1) {\n return this.constructor(seqs[0]);\n }\n return this.withMutations(function (list) {\n seqs.forEach(function (seq) { return seq.forEach(function (value) { return list.push(value); }); });\n });\n };\n\n List.prototype.setSize = function setSize (size) {\n return setListBounds(this, 0, size);\n };\n\n List.prototype.map = function map (mapper, context) {\n var this$1$1 = this;\n\n return this.withMutations(function (list) {\n for (var i = 0; i < this$1$1.size; i++) {\n list.set(i, mapper.call(context, list.get(i), i, this$1$1));\n }\n });\n };\n\n // @pragma Iteration\n\n List.prototype.slice = function slice (begin, end) {\n var size = this.size;\n if (wholeSlice(begin, end, size)) {\n return this;\n }\n return setListBounds(\n this,\n resolveBegin(begin, size),\n resolveEnd(end, size)\n );\n };\n\n List.prototype.__iterator = function __iterator (type, reverse) {\n var index = reverse ? this.size : 0;\n var values = iterateList(this, reverse);\n return new Iterator(function () {\n var value = values();\n return value === DONE\n ? iteratorDone()\n : iteratorValue(type, reverse ? --index : index++, value);\n });\n };\n\n List.prototype.__iterate = function __iterate (fn, reverse) {\n var index = reverse ? this.size : 0;\n var values = iterateList(this, reverse);\n var value;\n while ((value = values()) !== DONE) {\n if (fn(value, reverse ? --index : index++, this) === false) {\n break;\n }\n }\n return index;\n };\n\n List.prototype.__ensureOwner = function __ensureOwner (ownerID) {\n if (ownerID === this.__ownerID) {\n return this;\n }\n if (!ownerID) {\n if (this.size === 0) {\n return emptyList();\n }\n this.__ownerID = ownerID;\n this.__altered = false;\n return this;\n }\n return makeList(\n this._origin,\n this._capacity,\n this._level,\n this._root,\n this._tail,\n ownerID,\n this.__hash\n );\n };\n\n return List;\n}(IndexedCollection));\n\nList.isList = isList;\n\nvar ListPrototype = List.prototype;\nListPrototype[IS_LIST_SYMBOL] = true;\nListPrototype[DELETE] = ListPrototype.remove;\nListPrototype.merge = ListPrototype.concat;\nListPrototype.setIn = setIn;\nListPrototype.deleteIn = ListPrototype.removeIn = deleteIn;\nListPrototype.update = update;\nListPrototype.updateIn = updateIn$1;\nListPrototype.mergeIn = mergeIn;\nListPrototype.mergeDeepIn = mergeDeepIn;\nListPrototype.withMutations = withMutations;\nListPrototype.wasAltered = wasAltered;\nListPrototype.asImmutable = asImmutable;\nListPrototype['@@transducer/init'] = ListPrototype.asMutable = asMutable;\nListPrototype['@@transducer/step'] = function (result, arr) {\n return result.push(arr);\n};\nListPrototype['@@transducer/result'] = function (obj) {\n return obj.asImmutable();\n};\n\nvar VNode = function VNode(array, ownerID) {\n this.array = array;\n this.ownerID = ownerID;\n};\n\n// TODO: seems like these methods are very similar\n\nVNode.prototype.removeBefore = function removeBefore (ownerID, level, index) {\n if (\n (index & ((1 << (level + SHIFT)) - 1)) === 0 ||\n this.array.length === 0\n ) {\n return this;\n }\n var originIndex = (index >>> level) & MASK;\n if (originIndex >= this.array.length) {\n return new VNode([], ownerID);\n }\n var removingFirst = originIndex === 0;\n var newChild;\n if (level > 0) {\n var oldChild = this.array[originIndex];\n newChild =\n oldChild && oldChild.removeBefore(ownerID, level - SHIFT, index);\n if (newChild === oldChild && removingFirst) {\n return this;\n }\n }\n if (removingFirst && !newChild) {\n return this;\n }\n var editable = editableVNode(this, ownerID);\n if (!removingFirst) {\n for (var ii = 0; ii < originIndex; ii++) {\n editable.array[ii] = undefined;\n }\n }\n if (newChild) {\n editable.array[originIndex] = newChild;\n }\n return editable;\n};\n\nVNode.prototype.removeAfter = function removeAfter (ownerID, level, index) {\n if (\n index === (level ? 1 << (level + SHIFT) : SIZE) ||\n this.array.length === 0\n ) {\n return this;\n }\n var sizeIndex = ((index - 1) >>> level) & MASK;\n if (sizeIndex >= this.array.length) {\n return this;\n }\n\n var newChild;\n if (level > 0) {\n var oldChild = this.array[sizeIndex];\n newChild =\n oldChild && oldChild.removeAfter(ownerID, level - SHIFT, index);\n if (newChild === oldChild && sizeIndex === this.array.length - 1) {\n return this;\n }\n }\n\n var editable = editableVNode(this, ownerID);\n editable.array.splice(sizeIndex + 1);\n if (newChild) {\n editable.array[sizeIndex] = newChild;\n }\n return editable;\n};\n\nvar DONE = {};\n\nfunction iterateList(list, reverse) {\n var left = list._origin;\n var right = list._capacity;\n var tailPos = getTailOffset(right);\n var tail = list._tail;\n\n return iterateNodeOrLeaf(list._root, list._level, 0);\n\n function iterateNodeOrLeaf(node, level, offset) {\n return level === 0\n ? iterateLeaf(node, offset)\n : iterateNode(node, level, offset);\n }\n\n function iterateLeaf(node, offset) {\n var array = offset === tailPos ? tail && tail.array : node && node.array;\n var from = offset > left ? 0 : left - offset;\n var to = right - offset;\n if (to > SIZE) {\n to = SIZE;\n }\n return function () {\n if (from === to) {\n return DONE;\n }\n var idx = reverse ? --to : from++;\n return array && array[idx];\n };\n }\n\n function iterateNode(node, level, offset) {\n var values;\n var array = node && node.array;\n var from = offset > left ? 0 : (left - offset) >> level;\n var to = ((right - offset) >> level) + 1;\n if (to > SIZE) {\n to = SIZE;\n }\n return function () {\n while (true) {\n if (values) {\n var value = values();\n if (value !== DONE) {\n return value;\n }\n values = null;\n }\n if (from === to) {\n return DONE;\n }\n var idx = reverse ? --to : from++;\n values = iterateNodeOrLeaf(\n array && array[idx],\n level - SHIFT,\n offset + (idx << level)\n );\n }\n };\n }\n}\n\nfunction makeList(origin, capacity, level, root, tail, ownerID, hash) {\n var list = Object.create(ListPrototype);\n list.size = capacity - origin;\n list._origin = origin;\n list._capacity = capacity;\n list._level = level;\n list._root = root;\n list._tail = tail;\n list.__ownerID = ownerID;\n list.__hash = hash;\n list.__altered = false;\n return list;\n}\n\nfunction emptyList() {\n return makeList(0, 0, SHIFT);\n}\n\nfunction updateList(list, index, value) {\n index = wrapIndex(list, index);\n\n if (index !== index) {\n return list;\n }\n\n if (index >= list.size || index < 0) {\n return list.withMutations(function (list) {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n index < 0\n ? setListBounds(list, index).set(0, value)\n : setListBounds(list, 0, index + 1).set(index, value);\n });\n }\n\n index += list._origin;\n\n var newTail = list._tail;\n var newRoot = list._root;\n var didAlter = MakeRef();\n if (index >= getTailOffset(list._capacity)) {\n newTail = updateVNode(newTail, list.__ownerID, 0, index, value, didAlter);\n } else {\n newRoot = updateVNode(\n newRoot,\n list.__ownerID,\n list._level,\n index,\n value,\n didAlter\n );\n }\n\n if (!didAlter.value) {\n return list;\n }\n\n if (list.__ownerID) {\n list._root = newRoot;\n list._tail = newTail;\n list.__hash = undefined;\n list.__altered = true;\n return list;\n }\n return makeList(list._origin, list._capacity, list._level, newRoot, newTail);\n}\n\nfunction updateVNode(node, ownerID, level, index, value, didAlter) {\n var idx = (index >>> level) & MASK;\n var nodeHas = node && idx < node.array.length;\n if (!nodeHas && value === undefined) {\n return node;\n }\n\n var newNode;\n\n if (level > 0) {\n var lowerNode = node && node.array[idx];\n var newLowerNode = updateVNode(\n lowerNode,\n ownerID,\n level - SHIFT,\n index,\n value,\n didAlter\n );\n if (newLowerNode === lowerNode) {\n return node;\n }\n newNode = editableVNode(node, ownerID);\n newNode.array[idx] = newLowerNode;\n return newNode;\n }\n\n if (nodeHas && node.array[idx] === value) {\n return node;\n }\n\n if (didAlter) {\n SetRef(didAlter);\n }\n\n newNode = editableVNode(node, ownerID);\n if (value === undefined && idx === newNode.array.length - 1) {\n newNode.array.pop();\n } else {\n newNode.array[idx] = value;\n }\n return newNode;\n}\n\nfunction editableVNode(node, ownerID) {\n if (ownerID && node && ownerID === node.ownerID) {\n return node;\n }\n return new VNode(node ? node.array.slice() : [], ownerID);\n}\n\nfunction listNodeFor(list, rawIndex) {\n if (rawIndex >= getTailOffset(list._capacity)) {\n return list._tail;\n }\n if (rawIndex < 1 << (list._level + SHIFT)) {\n var node = list._root;\n var level = list._level;\n while (node && level > 0) {\n node = node.array[(rawIndex >>> level) & MASK];\n level -= SHIFT;\n }\n return node;\n }\n}\n\nfunction setListBounds(list, begin, end) {\n // Sanitize begin & end using this shorthand for ToInt32(argument)\n // http://www.ecma-international.org/ecma-262/6.0/#sec-toint32\n if (begin !== undefined) {\n begin |= 0;\n }\n if (end !== undefined) {\n end |= 0;\n }\n var owner = list.__ownerID || new OwnerID();\n var oldOrigin = list._origin;\n var oldCapacity = list._capacity;\n var newOrigin = oldOrigin + begin;\n var newCapacity =\n end === undefined\n ? oldCapacity\n : end < 0\n ? oldCapacity + end\n : oldOrigin + end;\n if (newOrigin === oldOrigin && newCapacity === oldCapacity) {\n return list;\n }\n\n // If it's going to end after it starts, it's empty.\n if (newOrigin >= newCapacity) {\n return list.clear();\n }\n\n var newLevel = list._level;\n var newRoot = list._root;\n\n // New origin might need creating a higher root.\n var offsetShift = 0;\n while (newOrigin + offsetShift < 0) {\n newRoot = new VNode(\n newRoot && newRoot.array.length ? [undefined, newRoot] : [],\n owner\n );\n newLevel += SHIFT;\n offsetShift += 1 << newLevel;\n }\n if (offsetShift) {\n newOrigin += offsetShift;\n oldOrigin += offsetShift;\n newCapacity += offsetShift;\n oldCapacity += offsetShift;\n }\n\n var oldTailOffset = getTailOffset(oldCapacity);\n var newTailOffset = getTailOffset(newCapacity);\n\n // New size might need creating a higher root.\n while (newTailOffset >= 1 << (newLevel + SHIFT)) {\n newRoot = new VNode(\n newRoot && newRoot.array.length ? [newRoot] : [],\n owner\n );\n newLevel += SHIFT;\n }\n\n // Locate or create the new tail.\n var oldTail = list._tail;\n var newTail =\n newTailOffset < oldTailOffset\n ? listNodeFor(list, newCapacity - 1)\n : newTailOffset > oldTailOffset\n ? new VNode([], owner)\n : oldTail;\n\n // Merge Tail into tree.\n if (\n oldTail &&\n newTailOffset > oldTailOffset &&\n newOrigin < oldCapacity &&\n oldTail.array.length\n ) {\n newRoot = editableVNode(newRoot, owner);\n var node = newRoot;\n for (var level = newLevel; level > SHIFT; level -= SHIFT) {\n var idx = (oldTailOffset >>> level) & MASK;\n node = node.array[idx] = editableVNode(node.array[idx], owner);\n }\n node.array[(oldTailOffset >>> SHIFT) & MASK] = oldTail;\n }\n\n // If the size has been reduced, there's a chance the tail needs to be trimmed.\n if (newCapacity < oldCapacity) {\n newTail = newTail && newTail.removeAfter(owner, 0, newCapacity);\n }\n\n // If the new origin is within the tail, then we do not need a root.\n if (newOrigin >= newTailOffset) {\n newOrigin -= newTailOffset;\n newCapacity -= newTailOffset;\n newLevel = SHIFT;\n newRoot = null;\n newTail = newTail && newTail.removeBefore(owner, 0, newOrigin);\n\n // Otherwise, if the root has been trimmed, garbage collect.\n } else if (newOrigin > oldOrigin || newTailOffset < oldTailOffset) {\n offsetShift = 0;\n\n // Identify the new top root node of the subtree of the old root.\n while (newRoot) {\n var beginIndex = (newOrigin >>> newLevel) & MASK;\n if ((beginIndex !== newTailOffset >>> newLevel) & MASK) {\n break;\n }\n if (beginIndex) {\n offsetShift += (1 << newLevel) * beginIndex;\n }\n newLevel -= SHIFT;\n newRoot = newRoot.array[beginIndex];\n }\n\n // Trim the new sides of the new root.\n if (newRoot && newOrigin > oldOrigin) {\n newRoot = newRoot.removeBefore(owner, newLevel, newOrigin - offsetShift);\n }\n if (newRoot && newTailOffset < oldTailOffset) {\n newRoot = newRoot.removeAfter(\n owner,\n newLevel,\n newTailOffset - offsetShift\n );\n }\n if (offsetShift) {\n newOrigin -= offsetShift;\n newCapacity -= offsetShift;\n }\n }\n\n if (list.__ownerID) {\n list.size = newCapacity - newOrigin;\n list._origin = newOrigin;\n list._capacity = newCapacity;\n list._level = newLevel;\n list._root = newRoot;\n list._tail = newTail;\n list.__hash = undefined;\n list.__altered = true;\n return list;\n }\n return makeList(newOrigin, newCapacity, newLevel, newRoot, newTail);\n}\n\nfunction getTailOffset(size) {\n return size < SIZE ? 0 : ((size - 1) >>> SHIFT) << SHIFT;\n}\n\n/**\n * True if `maybeOrderedMap` is an OrderedMap.\n */\nfunction isOrderedMap(maybeOrderedMap) {\n return isMap(maybeOrderedMap) && isOrdered(maybeOrderedMap);\n}\n\nvar OrderedMap = /*@__PURE__*/(function (Map) {\n function OrderedMap(value) {\n // eslint-disable-next-line no-constructor-return\n return value === undefined || value === null\n ? emptyOrderedMap()\n : isOrderedMap(value)\n ? value\n : emptyOrderedMap().withMutations(function (map) {\n var iter = KeyedCollection(value);\n assertNotInfinite(iter.size);\n iter.forEach(function (v, k) { return map.set(k, v); });\n });\n }\n\n if ( Map ) OrderedMap.__proto__ = Map;\n OrderedMap.prototype = Object.create( Map && Map.prototype );\n OrderedMap.prototype.constructor = OrderedMap;\n\n OrderedMap.of = function of (/*...values*/) {\n return this(arguments);\n };\n\n OrderedMap.prototype.toString = function toString () {\n return this.__toString('OrderedMap {', '}');\n };\n\n // @pragma Access\n\n OrderedMap.prototype.get = function get (k, notSetValue) {\n var index = this._map.get(k);\n return index !== undefined ? this._list.get(index)[1] : notSetValue;\n };\n\n // @pragma Modification\n\n OrderedMap.prototype.clear = function clear () {\n if (this.size === 0) {\n return this;\n }\n if (this.__ownerID) {\n this.size = 0;\n this._map.clear();\n this._list.clear();\n this.__altered = true;\n return this;\n }\n return emptyOrderedMap();\n };\n\n OrderedMap.prototype.set = function set (k, v) {\n return updateOrderedMap(this, k, v);\n };\n\n OrderedMap.prototype.remove = function remove (k) {\n return updateOrderedMap(this, k, NOT_SET);\n };\n\n OrderedMap.prototype.__iterate = function __iterate (fn, reverse) {\n var this$1$1 = this;\n\n return this._list.__iterate(\n function (entry) { return entry && fn(entry[1], entry[0], this$1$1); },\n reverse\n );\n };\n\n OrderedMap.prototype.__iterator = function __iterator (type, reverse) {\n return this._list.fromEntrySeq().__iterator(type, reverse);\n };\n\n OrderedMap.prototype.__ensureOwner = function __ensureOwner (ownerID) {\n if (ownerID === this.__ownerID) {\n return this;\n }\n var newMap = this._map.__ensureOwner(ownerID);\n var newList = this._list.__ensureOwner(ownerID);\n if (!ownerID) {\n if (this.size === 0) {\n return emptyOrderedMap();\n }\n this.__ownerID = ownerID;\n this.__altered = false;\n this._map = newMap;\n this._list = newList;\n return this;\n }\n return makeOrderedMap(newMap, newList, ownerID, this.__hash);\n };\n\n return OrderedMap;\n}(Map));\n\nOrderedMap.isOrderedMap = isOrderedMap;\n\nOrderedMap.prototype[IS_ORDERED_SYMBOL] = true;\nOrderedMap.prototype[DELETE] = OrderedMap.prototype.remove;\n\nfunction makeOrderedMap(map, list, ownerID, hash) {\n var omap = Object.create(OrderedMap.prototype);\n omap.size = map ? map.size : 0;\n omap._map = map;\n omap._list = list;\n omap.__ownerID = ownerID;\n omap.__hash = hash;\n omap.__altered = false;\n return omap;\n}\n\nvar EMPTY_ORDERED_MAP;\nfunction emptyOrderedMap() {\n return (\n EMPTY_ORDERED_MAP ||\n (EMPTY_ORDERED_MAP = makeOrderedMap(emptyMap(), emptyList()))\n );\n}\n\nfunction updateOrderedMap(omap, k, v) {\n var map = omap._map;\n var list = omap._list;\n var i = map.get(k);\n var has = i !== undefined;\n var newMap;\n var newList;\n if (v === NOT_SET) {\n // removed\n if (!has) {\n return omap;\n }\n if (list.size >= SIZE && list.size >= map.size * 2) {\n newList = list.filter(function (entry, idx) { return entry !== undefined && i !== idx; });\n newMap = newList\n .toKeyedSeq()\n .map(function (entry) { return entry[0]; })\n .flip()\n .toMap();\n if (omap.__ownerID) {\n newMap.__ownerID = newList.__ownerID = omap.__ownerID;\n }\n } else {\n newMap = map.remove(k);\n newList = i === list.size - 1 ? list.pop() : list.set(i, undefined);\n }\n } else if (has) {\n if (v === list.get(i)[1]) {\n return omap;\n }\n newMap = map;\n newList = list.set(i, [k, v]);\n } else {\n newMap = map.set(k, list.size);\n newList = list.set(list.size, [k, v]);\n }\n if (omap.__ownerID) {\n omap.size = newMap.size;\n omap._map = newMap;\n omap._list = newList;\n omap.__hash = undefined;\n omap.__altered = true;\n return omap;\n }\n return makeOrderedMap(newMap, newList);\n}\n\nvar IS_STACK_SYMBOL = '@@__IMMUTABLE_STACK__@@';\n/**\n * True if `maybeStack` is a Stack.\n */\nfunction isStack(maybeStack) {\n return Boolean(maybeStack &&\n // @ts-expect-error: maybeStack is typed as `{}`, need to change in 6.0 to `maybeStack && typeof maybeStack === 'object' && MAYBE_STACK_SYMBOL in maybeStack`\n maybeStack[IS_STACK_SYMBOL]);\n}\n\nvar Stack = /*@__PURE__*/(function (IndexedCollection) {\n function Stack(value) {\n // eslint-disable-next-line no-constructor-return\n return value === undefined || value === null\n ? emptyStack()\n : isStack(value)\n ? value\n : emptyStack().pushAll(value);\n }\n\n if ( IndexedCollection ) Stack.__proto__ = IndexedCollection;\n Stack.prototype = Object.create( IndexedCollection && IndexedCollection.prototype );\n Stack.prototype.constructor = Stack;\n\n Stack.of = function of (/*...values*/) {\n return this(arguments);\n };\n\n Stack.prototype.toString = function toString () {\n return this.__toString('Stack [', ']');\n };\n\n // @pragma Access\n\n Stack.prototype.get = function get (index, notSetValue) {\n var head = this._head;\n index = wrapIndex(this, index);\n while (head && index--) {\n head = head.next;\n }\n return head ? head.value : notSetValue;\n };\n\n Stack.prototype.peek = function peek () {\n return this._head && this._head.value;\n };\n\n // @pragma Modification\n\n Stack.prototype.push = function push (/*...values*/) {\n var arguments$1 = arguments;\n\n if (arguments.length === 0) {\n return this;\n }\n var newSize = this.size + arguments.length;\n var head = this._head;\n for (var ii = arguments.length - 1; ii >= 0; ii--) {\n head = {\n value: arguments$1[ii],\n next: head,\n };\n }\n if (this.__ownerID) {\n this.size = newSize;\n this._head = head;\n this.__hash = undefined;\n this.__altered = true;\n return this;\n }\n return makeStack(newSize, head);\n };\n\n Stack.prototype.pushAll = function pushAll (iter) {\n iter = IndexedCollection(iter);\n if (iter.size === 0) {\n return this;\n }\n if (this.size === 0 && isStack(iter)) {\n return iter;\n }\n assertNotInfinite(iter.size);\n var newSize = this.size;\n var head = this._head;\n iter.__iterate(function (value) {\n newSize++;\n head = {\n value: value,\n next: head,\n };\n }, /* reverse */ true);\n if (this.__ownerID) {\n this.size = newSize;\n this._head = head;\n this.__hash = undefined;\n this.__altered = true;\n return this;\n }\n return makeStack(newSize, head);\n };\n\n Stack.prototype.pop = function pop () {\n return this.slice(1);\n };\n\n Stack.prototype.clear = function clear () {\n if (this.size === 0) {\n return this;\n }\n if (this.__ownerID) {\n this.size = 0;\n this._head = undefined;\n this.__hash = undefined;\n this.__altered = true;\n return this;\n }\n return emptyStack();\n };\n\n Stack.prototype.slice = function slice (begin, end) {\n if (wholeSlice(begin, end, this.size)) {\n return this;\n }\n var resolvedBegin = resolveBegin(begin, this.size);\n var resolvedEnd = resolveEnd(end, this.size);\n if (resolvedEnd !== this.size) {\n // super.slice(begin, end);\n return IndexedCollection.prototype.slice.call(this, begin, end);\n }\n var newSize = this.size - resolvedBegin;\n var head = this._head;\n while (resolvedBegin--) {\n head = head.next;\n }\n if (this.__ownerID) {\n this.size = newSize;\n this._head = head;\n this.__hash = undefined;\n this.__altered = true;\n return this;\n }\n return makeStack(newSize, head);\n };\n\n // @pragma Mutability\n\n Stack.prototype.__ensureOwner = function __ensureOwner (ownerID) {\n if (ownerID === this.__ownerID) {\n return this;\n }\n if (!ownerID) {\n if (this.size === 0) {\n return emptyStack();\n }\n this.__ownerID = ownerID;\n this.__altered = false;\n return this;\n }\n return makeStack(this.size, this._head, ownerID, this.__hash);\n };\n\n // @pragma Iteration\n\n Stack.prototype.__iterate = function __iterate (fn, reverse) {\n var this$1$1 = this;\n\n if (reverse) {\n return new ArraySeq(this.toArray()).__iterate(\n function (v, k) { return fn(v, k, this$1$1); },\n reverse\n );\n }\n var iterations = 0;\n var node = this._head;\n while (node) {\n if (fn(node.value, iterations++, this) === false) {\n break;\n }\n node = node.next;\n }\n return iterations;\n };\n\n Stack.prototype.__iterator = function __iterator (type, reverse) {\n if (reverse) {\n return new ArraySeq(this.toArray()).__iterator(type, reverse);\n }\n var iterations = 0;\n var node = this._head;\n return new Iterator(function () {\n if (node) {\n var value = node.value;\n node = node.next;\n return iteratorValue(type, iterations++, value);\n }\n return iteratorDone();\n });\n };\n\n return Stack;\n}(IndexedCollection));\n\nStack.isStack = isStack;\n\nvar StackPrototype = Stack.prototype;\nStackPrototype[IS_STACK_SYMBOL] = true;\nStackPrototype.shift = StackPrototype.pop;\nStackPrototype.unshift = StackPrototype.push;\nStackPrototype.unshiftAll = StackPrototype.pushAll;\nStackPrototype.withMutations = withMutations;\nStackPrototype.wasAltered = wasAltered;\nStackPrototype.asImmutable = asImmutable;\nStackPrototype['@@transducer/init'] = StackPrototype.asMutable = asMutable;\nStackPrototype['@@transducer/step'] = function (result, arr) {\n return result.unshift(arr);\n};\nStackPrototype['@@transducer/result'] = function (obj) {\n return obj.asImmutable();\n};\n\nfunction makeStack(size, head, ownerID, hash) {\n var map = Object.create(StackPrototype);\n map.size = size;\n map._head = head;\n map.__ownerID = ownerID;\n map.__hash = hash;\n map.__altered = false;\n return map;\n}\n\nvar EMPTY_STACK;\nfunction emptyStack() {\n return EMPTY_STACK || (EMPTY_STACK = makeStack(0));\n}\n\nfunction reduce(collection, reducer, reduction, context, useFirst, reverse) {\n // @ts-expect-error Migrate to CollectionImpl in v6\n assertNotInfinite(collection.size);\n // @ts-expect-error Migrate to CollectionImpl in v6\n collection.__iterate(function (v, k, c) {\n if (useFirst) {\n useFirst = false;\n reduction = v;\n }\n else {\n reduction = reducer.call(context, reduction, v, k, c);\n }\n }, reverse);\n return reduction;\n}\nfunction keyMapper(v, k) {\n return k;\n}\nfunction entryMapper(v, k) {\n return [k, v];\n}\nfunction not(predicate) {\n return function () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n return !predicate.apply(this, args);\n };\n}\nfunction neg(predicate) {\n return function () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n return -predicate.apply(this, args);\n };\n}\nfunction defaultNegComparator(a, b) {\n return a < b ? 1 : a > b ? -1 : 0;\n}\n\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (!isCollection(b) ||\n // @ts-expect-error size should exists on Collection\n (a.size !== undefined && b.size !== undefined && a.size !== b.size) ||\n // @ts-expect-error __hash exists on Collection\n (a.__hash !== undefined &&\n // @ts-expect-error __hash exists on Collection\n b.__hash !== undefined &&\n // @ts-expect-error __hash exists on Collection\n a.__hash !== b.__hash) ||\n isKeyed(a) !== isKeyed(b) ||\n isIndexed(a) !== isIndexed(b) ||\n // @ts-expect-error Range extends Collection, which implements [Symbol.iterator], so it is valid\n isOrdered(a) !== isOrdered(b)) {\n return false;\n }\n // @ts-expect-error size should exists on Collection\n if (a.size === 0 && b.size === 0) {\n return true;\n }\n var notAssociative = !isAssociative(a);\n // @ts-expect-error Range extends Collection, which implements [Symbol.iterator], so it is valid\n if (isOrdered(a)) {\n var entries = a.entries();\n // @ts-expect-error need to cast as boolean\n return (b.every(function (v, k) {\n var entry = entries.next().value;\n return entry && is(entry[1], v) && (notAssociative || is(entry[0], k));\n }) && entries.next().done);\n }\n var flipped = false;\n if (a.size === undefined) {\n // @ts-expect-error size should exists on Collection\n if (b.size === undefined) {\n if (typeof a.cacheResult === 'function') {\n a.cacheResult();\n }\n }\n else {\n flipped = true;\n var _ = a;\n a = b;\n b = _;\n }\n }\n var allEqual = true;\n var bSize = \n // @ts-expect-error b is Range | Repeat | Collection<unknown, unknown> as it may have been flipped, and __iterate is valid\n b.__iterate(function (v, k) {\n if (notAssociative\n ? // @ts-expect-error has exists on Collection\n !a.has(v)\n : flipped\n ? // @ts-expect-error type of `get` does not \"catch\" the version with `notSetValue`\n !is(v, a.get(k, NOT_SET))\n : // @ts-expect-error type of `get` does not \"catch\" the version with `notSetValue`\n !is(a.get(k, NOT_SET), v)) {\n allEqual = false;\n return false;\n }\n });\n return (allEqual &&\n // @ts-expect-error size should exists on Collection\n a.size === bSize);\n}\n\n/**\n * Returns a lazy seq of nums from start (inclusive) to end\n * (exclusive), by step, where start defaults to 0, step to 1, and end to\n * infinity. When start is equal to end, returns empty list.\n */\nvar Range = /*@__PURE__*/(function (IndexedSeq) {\n function Range(start, end, step) {\n if ( step === void 0 ) step = 1;\n\n if (!(this instanceof Range)) {\n // eslint-disable-next-line no-constructor-return\n return new Range(start, end, step);\n }\n invariant(step !== 0, 'Cannot step a Range by 0');\n invariant(\n start !== undefined,\n 'You must define a start value when using Range'\n );\n invariant(\n end !== undefined,\n 'You must define an end value when using Range'\n );\n\n step = Math.abs(step);\n if (end < start) {\n step = -step;\n }\n this._start = start;\n this._end = end;\n this._step = step;\n this.size = Math.max(0, Math.ceil((end - start) / step - 1) + 1);\n if (this.size === 0) {\n if (EMPTY_RANGE) {\n // eslint-disable-next-line no-constructor-return\n return EMPTY_RANGE;\n }\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n EMPTY_RANGE = this;\n }\n }\n\n if ( IndexedSeq ) Range.__proto__ = IndexedSeq;\n Range.prototype = Object.create( IndexedSeq && IndexedSeq.prototype );\n Range.prototype.constructor = Range;\n\n Range.prototype.toString = function toString () {\n return this.size === 0\n ? 'Range []'\n : (\"Range [ \" + (this._start) + \"...\" + (this._end) + (this._step !== 1 ? ' by ' + this._step : '') + \" ]\");\n };\n\n Range.prototype.get = function get (index, notSetValue) {\n return this.has(index)\n ? this._start + wrapIndex(this, index) * this._step\n : notSetValue;\n };\n\n Range.prototype.includes = function includes (searchValue) {\n var possibleIndex = (searchValue - this._start) / this._step;\n return (\n possibleIndex >= 0 &&\n possibleIndex < this.size &&\n possibleIndex === Math.floor(possibleIndex)\n );\n };\n\n Range.prototype.slice = function slice (begin, end) {\n if (wholeSlice(begin, end, this.size)) {\n return this;\n }\n begin = resolveBegin(begin, this.size);\n end = resolveEnd(end, this.size);\n if (end <= begin) {\n return new Range(0, 0);\n }\n return new Range(\n this.get(begin, this._end),\n this.get(end, this._end),\n this._step\n );\n };\n\n Range.prototype.indexOf = function indexOf (searchValue) {\n var offsetValue = searchValue - this._start;\n if (offsetValue % this._step === 0) {\n var index = offsetValue / this._step;\n if (index >= 0 && index < this.size) {\n return index;\n }\n }\n return -1;\n };\n\n Range.prototype.lastIndexOf = function lastIndexOf (searchValue) {\n return this.indexOf(searchValue);\n };\n\n Range.prototype.__iterate = function __iterate (fn, reverse) {\n var size = this.size;\n var step = this._step;\n var value = reverse ? this._start + (size - 1) * step : this._start;\n var i = 0;\n while (i !== size) {\n if (fn(value, reverse ? size - ++i : i++, this) === false) {\n break;\n }\n value += reverse ? -step : step;\n }\n return i;\n };\n\n Range.prototype.__iterator = function __iterator (type, reverse) {\n var size = this.size;\n var step = this._step;\n var value = reverse ? this._start + (size - 1) * step : this._start;\n var i = 0;\n return new Iterator(function () {\n if (i === size) {\n return iteratorDone();\n }\n var v = value;\n value += reverse ? -step : step;\n return iteratorValue(type, reverse ? size - ++i : i++, v);\n });\n };\n\n Range.prototype.equals = function equals (other) {\n return other instanceof Range\n ? this._start === other._start &&\n this._end === other._end &&\n this._step === other._step\n : deepEqual(this, other);\n };\n\n return Range;\n}(IndexedSeq));\n\nvar EMPTY_RANGE;\n\nvar IS_SET_SYMBOL = '@@__IMMUTABLE_SET__@@';\n/**\n * True if `maybeSet` is a Set.\n *\n * Also true for OrderedSets.\n */\nfunction isSet(maybeSet) {\n return Boolean(maybeSet &&\n // @ts-expect-error: maybeSet is typed as `{}`, need to change in 6.0 to `maybeSeq && typeof maybeSet === 'object' && MAYBE_SET_SYMBOL in maybeSet`\n maybeSet[IS_SET_SYMBOL]);\n}\n\nvar Set = /*@__PURE__*/(function (SetCollection) {\n function Set(value) {\n // eslint-disable-next-line no-constructor-return\n return value === undefined || value === null\n ? emptySet()\n : isSet(value) && !isOrdered(value)\n ? value\n : emptySet().withMutations(function (set) {\n var iter = SetCollection(value);\n assertNotInfinite(iter.size);\n iter.forEach(function (v) { return set.add(v); });\n });\n }\n\n if ( SetCollection ) Set.__proto__ = SetCollection;\n Set.prototype = Object.create( SetCollection && SetCollection.prototype );\n Set.prototype.constructor = Set;\n\n Set.of = function of (/*...values*/) {\n return this(arguments);\n };\n\n Set.fromKeys = function fromKeys (value) {\n return this(KeyedCollection(value).keySeq());\n };\n\n Set.intersect = function intersect (sets) {\n sets = Collection(sets).toArray();\n return sets.length\n ? SetPrototype.intersect.apply(Set(sets.pop()), sets)\n : emptySet();\n };\n\n Set.union = function union (sets) {\n sets = Collection(sets).toArray();\n return sets.length\n ? SetPrototype.union.apply(Set(sets.pop()), sets)\n : emptySet();\n };\n\n Set.prototype.toString = function toString () {\n return this.__toString('Set {', '}');\n };\n\n // @pragma Access\n\n Set.prototype.has = function has (value) {\n return this._map.has(value);\n };\n\n // @pragma Modification\n\n Set.prototype.add = function add (value) {\n return updateSet(this, this._map.set(value, value));\n };\n\n Set.prototype.remove = function remove (value) {\n return updateSet(this, this._map.remove(value));\n };\n\n Set.prototype.clear = function clear () {\n return updateSet(this, this._map.clear());\n };\n\n // @pragma Composition\n\n Set.prototype.map = function map (mapper, context) {\n var this$1$1 = this;\n\n // keep track if the set is altered by the map function\n var didChanges = false;\n\n var newMap = updateSet(\n this,\n this._map.mapEntries(function (ref) {\n var v = ref[1];\n\n var mapped = mapper.call(context, v, v, this$1$1);\n\n if (mapped !== v) {\n didChanges = true;\n }\n\n return [mapped, mapped];\n }, context)\n );\n\n return didChanges ? newMap : this;\n };\n\n Set.prototype.union = function union () {\n var iters = [], len = arguments.length;\n while ( len-- ) iters[ len ] = arguments[ len ];\n\n iters = iters.filter(function (x) { return x.size !== 0; });\n if (iters.length === 0) {\n return this;\n }\n if (this.size === 0 && !this.__ownerID && iters.length === 1) {\n return this.constructor(iters[0]);\n }\n return this.withMutations(function (set) {\n for (var ii = 0; ii < iters.length; ii++) {\n if (typeof iters[ii] === 'string') {\n set.add(iters[ii]);\n } else {\n SetCollection(iters[ii]).forEach(function (value) { return set.add(value); });\n }\n }\n });\n };\n\n Set.prototype.intersect = function intersect () {\n var iters = [], len = arguments.length;\n while ( len-- ) iters[ len ] = arguments[ len ];\n\n if (iters.length === 0) {\n return this;\n }\n iters = iters.map(function (iter) { return SetCollection(iter); });\n var toRemove = [];\n this.forEach(function (value) {\n if (!iters.every(function (iter) { return iter.includes(value); })) {\n toRemove.push(value);\n }\n });\n return this.withMutations(function (set) {\n toRemove.forEach(function (value) {\n set.remove(value);\n });\n });\n };\n\n Set.prototype.subtract = function subtract () {\n var iters = [], len = arguments.length;\n while ( len-- ) iters[ len ] = arguments[ len ];\n\n if (iters.length === 0) {\n return this;\n }\n iters = iters.map(function (iter) { return SetCollection(iter); });\n var toRemove = [];\n this.forEach(function (value) {\n if (iters.some(function (iter) { return iter.includes(value); })) {\n toRemove.push(value);\n }\n });\n return this.withMutations(function (set) {\n toRemove.forEach(function (value) {\n set.remove(value);\n });\n });\n };\n\n Set.prototype.sort = function sort (comparator) {\n // Late binding\n return OrderedSet(sortFactory(this, comparator));\n };\n\n Set.prototype.sortBy = function sortBy (mapper, comparator) {\n // Late binding\n return OrderedSet(sortFactory(this, comparator, mapper));\n };\n\n Set.prototype.wasAltered = function wasAltered () {\n return this._map.wasAltered();\n };\n\n Set.prototype.__iterate = function __iterate (fn, reverse) {\n var this$1$1 = this;\n\n return this._map.__iterate(function (k) { return fn(k, k, this$1$1); }, reverse);\n };\n\n Set.prototype.__iterator = function __iterator (type, reverse) {\n return this._map.__iterator(type, reverse);\n };\n\n Set.prototype.__ensureOwner = function __ensureOwner (ownerID) {\n if (ownerID === this.__ownerID) {\n return this;\n }\n var newMap = this._map.__ensureOwner(ownerID);\n if (!ownerID) {\n if (this.size === 0) {\n return this.__empty();\n }\n this.__ownerID = ownerID;\n this._map = newMap;\n return this;\n }\n return this.__make(newMap, ownerID);\n };\n\n return Set;\n}(SetCollection));\n\nSet.isSet = isSet;\n\nvar SetPrototype = Set.prototype;\nSetPrototype[IS_SET_SYMBOL] = true;\nSetPrototype[DELETE] = SetPrototype.remove;\nSetPrototype.merge = SetPrototype.concat = SetPrototype.union;\nSetPrototype.withMutations = withMutations;\nSetPrototype.asImmutable = asImmutable;\nSetPrototype['@@transducer/init'] = SetPrototype.asMutable = asMutable;\nSetPrototype['@@transducer/step'] = function (result, arr) {\n return result.add(arr);\n};\nSetPrototype['@@transducer/result'] = function (obj) {\n return obj.asImmutable();\n};\n\nSetPrototype.__empty = emptySet;\nSetPrototype.__make = makeSet;\n\nfunction updateSet(set, newMap) {\n if (set.__ownerID) {\n set.size = newMap.size;\n set._map = newMap;\n return set;\n }\n return newMap === set._map\n ? set\n : newMap.size === 0\n ? set.__empty()\n : set.__make(newMap);\n}\n\nfunction makeSet(map, ownerID) {\n var set = Object.create(SetPrototype);\n set.size = map ? map.size : 0;\n set._map = map;\n set.__ownerID = ownerID;\n return set;\n}\n\nvar EMPTY_SET;\nfunction emptySet() {\n return EMPTY_SET || (EMPTY_SET = makeSet(emptyMap()));\n}\n\n/**\n * Returns the value at the provided key path starting at the provided\n * collection, or notSetValue if the key path is not defined.\n *\n * A functional alternative to `collection.getIn(keypath)` which will also\n * work with plain Objects and Arrays.\n */\nfunction getIn$1(collection, searchKeyPath, notSetValue) {\n var keyPath = coerceKeyPath(searchKeyPath);\n var i = 0;\n while (i !== keyPath.length) {\n // @ts-expect-error keyPath[i++] can not be undefined by design\n collection = get(collection, keyPath[i++], NOT_SET);\n if (collection === NOT_SET) {\n return notSetValue;\n }\n }\n return collection;\n}\n\nfunction getIn(searchKeyPath, notSetValue) {\n return getIn$1(this, searchKeyPath, notSetValue);\n}\n\n/**\n * Returns true if the key path is defined in the provided collection.\n *\n * A functional alternative to `collection.hasIn(keypath)` which will also\n * work with plain Objects and Arrays.\n */\nfunction hasIn$1(collection, keyPath) {\n return getIn$1(collection, keyPath, NOT_SET) !== NOT_SET;\n}\n\nfunction hasIn(searchKeyPath) {\n return hasIn$1(this, searchKeyPath);\n}\n\nfunction toObject() {\n assertNotInfinite(this.size);\n var object = {};\n this.__iterate(function (v, k) {\n object[k] = v;\n });\n return object;\n}\n\nfunction toJS(value) {\n if (!value || typeof value !== 'object') {\n return value;\n }\n if (!isCollection(value)) {\n if (!isDataStructure(value)) {\n return value;\n }\n // @ts-expect-error until Seq has been migrated to TypeScript\n value = Seq(value);\n }\n if (isKeyed(value)) {\n var result$1 = {};\n // @ts-expect-error `__iterate` exists on all Keyed collections but method is not defined in the type\n value.__iterate(function (v, k) {\n result$1[k] = toJS(v);\n });\n return result$1;\n }\n var result = [];\n // @ts-expect-error value \"should\" be a non-keyed collection, but we may need to assert for stricter types\n value.__iterate(function (v) {\n result.push(toJS(v));\n });\n return result;\n}\n\nfunction hashCollection(collection) {\n // @ts-expect-error Migrate to CollectionImpl in v6\n if (collection.size === Infinity) {\n return 0;\n }\n var ordered = isOrdered(collection);\n var keyed = isKeyed(collection);\n var h = ordered ? 1 : 0;\n // @ts-expect-error Migrate to CollectionImpl in v6\n collection.__iterate(keyed\n ? ordered\n ? function (v, k) {\n h = (31 * h + hashMerge(hash(v), hash(k))) | 0;\n }\n : function (v, k) {\n h = (h + hashMerge(hash(v), hash(k))) | 0;\n }\n : ordered\n ? function (v) {\n h = (31 * h + hash(v)) | 0;\n }\n : function (v) {\n h = (h + hash(v)) | 0;\n });\n // @ts-expect-error Migrate to CollectionImpl in v6\n return murmurHashOfSize(collection.size, h);\n}\nfunction murmurHashOfSize(size, h) {\n h = imul(h, 0xcc9e2d51);\n h = imul((h << 15) | (h >>> -15), 0x1b873593);\n h = imul((h << 13) | (h >>> -13), 5);\n h = ((h + 0xe6546b64) | 0) ^ size;\n h = imul(h ^ (h >>> 16), 0x85ebca6b);\n h = imul(h ^ (h >>> 13), 0xc2b2ae35);\n h = smi(h ^ (h >>> 16));\n return h;\n}\nfunction hashMerge(a, b) {\n return (a ^ (b + 0x9e3779b9 + (a << 6) + (a >> 2))) | 0; // int\n}\n\n/**\n * Contributes additional methods to a constructor\n */\nfunction mixin(ctor, \n// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type\nmethods) {\n var keyCopier = function (key) {\n // @ts-expect-error how to handle symbol ?\n ctor.prototype[key] = methods[key];\n };\n Object.keys(methods).forEach(keyCopier);\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n Object.getOwnPropertySymbols &&\n Object.getOwnPropertySymbols(methods).forEach(keyCopier);\n return ctor;\n}\n\nCollection.Iterator = Iterator;\n\nmixin(Collection, {\n // ### Conversion to other types\n\n toArray: function toArray() {\n assertNotInfinite(this.size);\n var array = new Array(this.size || 0);\n var useTuples = isKeyed(this);\n var i = 0;\n this.__iterate(function (v, k) {\n // Keyed collections produce an array of tuples.\n array[i++] = useTuples ? [k, v] : v;\n });\n return array;\n },\n\n toIndexedSeq: function toIndexedSeq() {\n return new ToIndexedSequence(this);\n },\n\n toJS: function toJS$1() {\n return toJS(this);\n },\n\n toKeyedSeq: function toKeyedSeq() {\n return new ToKeyedSequence(this, true);\n },\n\n toMap: function toMap() {\n // Use Late Binding here to solve the circular dependency.\n return Map(this.toKeyedSeq());\n },\n\n toObject: toObject,\n\n toOrderedMap: function toOrderedMap() {\n // Use Late Binding here to solve the circular dependency.\n return OrderedMap(this.toKeyedSeq());\n },\n\n toOrderedSet: function toOrderedSet() {\n // Use Late Binding here to solve the circular dependency.\n return OrderedSet(isKeyed(this) ? this.valueSeq() : this);\n },\n\n toSet: function toSet() {\n // Use Late Binding here to solve the circular dependency.\n return Set(isKeyed(this) ? this.valueSeq() : this);\n },\n\n toSetSeq: function toSetSeq() {\n return new ToSetSequence(this);\n },\n\n toSeq: function toSeq() {\n return isIndexed(this)\n ? this.toIndexedSeq()\n : isKeyed(this)\n ? this.toKeyedSeq()\n : this.toSetSeq();\n },\n\n toStack: function toStack() {\n // Use Late Binding here to solve the circular dependency.\n return Stack(isKeyed(this) ? this.valueSeq() : this);\n },\n\n toList: function toList() {\n // Use Late Binding here to solve the circular dependency.\n return List(isKeyed(this) ? this.valueSeq() : this);\n },\n\n // ### Common JavaScript methods and properties\n\n toString: function toString() {\n return '[Collection]';\n },\n\n __toString: function __toString(head, tail) {\n if (this.size === 0) {\n return head + tail;\n }\n return (\n head +\n ' ' +\n this.toSeq().map(this.__toStringMapper).join(', ') +\n ' ' +\n tail\n );\n },\n\n // ### ES6 Collection methods (ES6 Array and Map)\n\n concat: function concat() {\n var values = [], len = arguments.length;\n while ( len-- ) values[ len ] = arguments[ len ];\n\n return reify(this, concatFactory(this, values));\n },\n\n includes: function includes(searchValue) {\n return this.some(function (value) { return is(value, searchValue); });\n },\n\n entries: function entries() {\n return this.__iterator(ITERATE_ENTRIES);\n },\n\n every: function every(predicate, context) {\n assertNotInfinite(this.size);\n var returnValue = true;\n this.__iterate(function (v, k, c) {\n if (!predicate.call(context, v, k, c)) {\n returnValue = false;\n return false;\n }\n });\n return returnValue;\n },\n\n filter: function filter(predicate, context) {\n return reify(this, filterFactory(this, predicate, context, true));\n },\n\n partition: function partition(predicate, context) {\n return partitionFactory(this, predicate, context);\n },\n\n find: function find(predicate, context, notSetValue) {\n var entry = this.findEntry(predicate, context);\n return entry ? entry[1] : notSetValue;\n },\n\n forEach: function forEach(sideEffect, context) {\n assertNotInfinite(this.size);\n return this.__iterate(context ? sideEffect.bind(context) : sideEffect);\n },\n\n join: function join(separator) {\n assertNotInfinite(this.size);\n separator = separator !== undefined ? '' + separator : ',';\n var joined = '';\n var isFirst = true;\n this.__iterate(function (v) {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n isFirst ? (isFirst = false) : (joined += separator);\n joined += v !== null && v !== undefined ? v.toString() : '';\n });\n return joined;\n },\n\n keys: function keys() {\n return this.__iterator(ITERATE_KEYS);\n },\n\n map: function map(mapper, context) {\n return reify(this, mapFactory(this, mapper, context));\n },\n\n reduce: function reduce$1(reducer, initialReduction, context) {\n return reduce(\n this,\n reducer,\n initialReduction,\n context,\n arguments.length < 2,\n false\n );\n },\n\n reduceRight: function reduceRight(reducer, initialReduction, context) {\n return reduce(\n this,\n reducer,\n initialReduction,\n context,\n arguments.length < 2,\n true\n );\n },\n\n reverse: function reverse() {\n return reify(this, reverseFactory(this, true));\n },\n\n slice: function slice(begin, end) {\n return reify(this, sliceFactory(this, begin, end, true));\n },\n\n some: function some(predicate, context) {\n assertNotInfinite(this.size);\n var returnValue = false;\n this.__iterate(function (v, k, c) {\n if (predicate.call(context, v, k, c)) {\n returnValue = true;\n return false;\n }\n });\n return returnValue;\n },\n\n sort: function sort(comparator) {\n return reify(this, sortFactory(this, comparator));\n },\n\n values: function values() {\n return this.__iterator(ITERATE_VALUES);\n },\n\n // ### More sequential methods\n\n butLast: function butLast() {\n return this.slice(0, -1);\n },\n\n isEmpty: function isEmpty() {\n return this.size !== undefined ? this.size === 0 : !this.some(function () { return true; });\n },\n\n count: function count(predicate, context) {\n return ensureSize(\n predicate ? this.toSeq().filter(predicate, context) : this\n );\n },\n\n countBy: function countBy(grouper, context) {\n return countByFactory(this, grouper, context);\n },\n\n equals: function equals(other) {\n return deepEqual(this, other);\n },\n\n entrySeq: function entrySeq() {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n var collection = this;\n if (collection._cache) {\n // We cache as an entries array, so we can just return the cache!\n return new ArraySeq(collection._cache);\n }\n var entriesSequence = collection.toSeq().map(entryMapper).toIndexedSeq();\n entriesSequence.fromEntrySeq = function () { return collection.toSeq(); };\n return entriesSequence;\n },\n\n filterNot: function filterNot(predicate, context) {\n return this.filter(not(predicate), context);\n },\n\n findEntry: function findEntry(predicate, context, notSetValue) {\n var found = notSetValue;\n this.__iterate(function (v, k, c) {\n if (predicate.call(context, v, k, c)) {\n found = [k, v];\n return false;\n }\n });\n return found;\n },\n\n findKey: function findKey(predicate, context) {\n var entry = this.findEntry(predicate, context);\n return entry && entry[0];\n },\n\n findLast: function findLast(predicate, context, notSetValue) {\n return this.toKeyedSeq().reverse().find(predicate, context, notSetValue);\n },\n\n findLastEntry: function findLastEntry(predicate, context, notSetValue) {\n return this.toKeyedSeq()\n .reverse()\n .findEntry(predicate, context, notSetValue);\n },\n\n findLastKey: function findLastKey(predicate, context) {\n return this.toKeyedSeq().reverse().findKey(predicate, context);\n },\n\n first: function first(notSetValue) {\n return this.find(returnTrue, null, notSetValue);\n },\n\n flatMap: function flatMap(mapper, context) {\n return reify(this, flatMapFactory(this, mapper, context));\n },\n\n flatten: function flatten(depth) {\n return reify(this, flattenFactory(this, depth, true));\n },\n\n fromEntrySeq: function fromEntrySeq() {\n return new FromEntriesSequence(this);\n },\n\n get: function get(searchKey, notSetValue) {\n return this.find(function (_, key) { return is(key, searchKey); }, undefined, notSetValue);\n },\n\n getIn: getIn,\n\n groupBy: function groupBy(grouper, context) {\n return groupByFactory(this, grouper, context);\n },\n\n has: function has(searchKey) {\n return this.get(searchKey, NOT_SET) !== NOT_SET;\n },\n\n hasIn: hasIn,\n\n isSubset: function isSubset(iter) {\n iter = typeof iter.includes === 'function' ? iter : Collection(iter);\n return this.every(function (value) { return iter.includes(value); });\n },\n\n isSuperset: function isSuperset(iter) {\n iter = typeof iter.isSubset === 'function' ? iter : Collection(iter);\n return iter.isSubset(this);\n },\n\n keyOf: function keyOf(searchValue) {\n return this.findKey(function (value) { return is(value, searchValue); });\n },\n\n keySeq: function keySeq() {\n return this.toSeq().map(keyMapper).toIndexedSeq();\n },\n\n last: function last(notSetValue) {\n return this.toSeq().reverse().first(notSetValue);\n },\n\n lastKeyOf: function lastKeyOf(searchValue) {\n return this.toKeyedSeq().reverse().keyOf(searchValue);\n },\n\n max: function max(comparator) {\n return maxFactory(this, comparator);\n },\n\n maxBy: function maxBy(mapper, comparator) {\n return maxFactory(this, comparator, mapper);\n },\n\n min: function min(comparator) {\n return maxFactory(\n this,\n comparator ? neg(comparator) : defaultNegComparator\n );\n },\n\n minBy: function minBy(mapper, comparator) {\n return maxFactory(\n this,\n comparator ? neg(comparator) : defaultNegComparator,\n mapper\n );\n },\n\n rest: function rest() {\n return this.slice(1);\n },\n\n skip: function skip(amount) {\n return amount === 0 ? this : this.slice(Math.max(0, amount));\n },\n\n skipLast: function skipLast(amount) {\n return amount === 0 ? this : this.slice(0, -Math.max(0, amount));\n },\n\n skipWhile: function skipWhile(predicate, context) {\n return reify(this, skipWhileFactory(this, predicate, context, true));\n },\n\n skipUntil: function skipUntil(predicate, context) {\n return this.skipWhile(not(predicate), context);\n },\n\n sortBy: function sortBy(mapper, comparator) {\n return reify(this, sortFactory(this, comparator, mapper));\n },\n\n take: function take(amount) {\n return this.slice(0, Math.max(0, amount));\n },\n\n takeLast: function takeLast(amount) {\n return this.slice(-Math.max(0, amount));\n },\n\n takeWhile: function takeWhile(predicate, context) {\n return reify(this, takeWhileFactory(this, predicate, context));\n },\n\n takeUntil: function takeUntil(predicate, context) {\n return this.takeWhile(not(predicate), context);\n },\n\n update: function update(fn) {\n return fn(this);\n },\n\n valueSeq: function valueSeq() {\n return this.toIndexedSeq();\n },\n\n // ### Hashable Object\n\n hashCode: function hashCode() {\n return this.__hash || (this.__hash = hashCollection(this));\n },\n\n // ### Internal\n\n // abstract __iterate(fn, reverse)\n\n // abstract __iterator(type, reverse)\n});\n\nvar CollectionPrototype = Collection.prototype;\nCollectionPrototype[IS_COLLECTION_SYMBOL] = true;\nCollectionPrototype[ITERATOR_SYMBOL] = CollectionPrototype.values;\nCollectionPrototype.toJSON = CollectionPrototype.toArray;\nCollectionPrototype.__toStringMapper = quoteString;\nCollectionPrototype.inspect = CollectionPrototype.toSource = function () {\n return this.toString();\n};\nCollectionPrototype.chain = CollectionPrototype.flatMap;\nCollectionPrototype.contains = CollectionPrototype.includes;\n\nmixin(KeyedCollection, {\n // ### More sequential methods\n\n flip: function flip() {\n return reify(this, flipFactory(this));\n },\n\n mapEntries: function mapEntries(mapper, context) {\n var this$1$1 = this;\n\n var iterations = 0;\n return reify(\n this,\n this.toSeq()\n .map(function (v, k) { return mapper.call(context, [k, v], iterations++, this$1$1); })\n .fromEntrySeq()\n );\n },\n\n mapKeys: function mapKeys(mapper, context) {\n var this$1$1 = this;\n\n return reify(\n this,\n this.toSeq()\n .flip()\n .map(function (k, v) { return mapper.call(context, k, v, this$1$1); })\n .flip()\n );\n },\n});\n\nvar KeyedCollectionPrototype = KeyedCollection.prototype;\nKeyedCollectionPrototype[IS_KEYED_SYMBOL] = true;\nKeyedCollectionPrototype[ITERATOR_SYMBOL] = CollectionPrototype.entries;\nKeyedCollectionPrototype.toJSON = toObject;\nKeyedCollectionPrototype.__toStringMapper = function (v, k) { return quoteString(k) + ': ' + quoteString(v); };\n\nmixin(IndexedCollection, {\n // ### Conversion to other types\n\n toKeyedSeq: function toKeyedSeq() {\n return new ToKeyedSequence(this, false);\n },\n\n // ### ES6 Collection methods (ES6 Array and Map)\n\n filter: function filter(predicate, context) {\n return reify(this, filterFactory(this, predicate, context, false));\n },\n\n findIndex: function findIndex(predicate, context) {\n var entry = this.findEntry(predicate, context);\n return entry ? entry[0] : -1;\n },\n\n indexOf: function indexOf(searchValue) {\n var key = this.keyOf(searchValue);\n return key === undefined ? -1 : key;\n },\n\n lastIndexOf: function lastIndexOf(searchValue) {\n var key = this.lastKeyOf(searchValue);\n return key === undefined ? -1 : key;\n },\n\n reverse: function reverse() {\n return reify(this, reverseFactory(this, false));\n },\n\n slice: function slice(begin, end) {\n return reify(this, sliceFactory(this, begin, end, false));\n },\n\n splice: function splice(index, removeNum /*, ...values*/) {\n var numArgs = arguments.length;\n removeNum = Math.max(removeNum || 0, 0);\n if (numArgs === 0 || (numArgs === 2 && !removeNum)) {\n return this;\n }\n // If index is negative, it should resolve relative to the size of the\n // collection. However size may be expensive to compute if not cached, so\n // only call count() if the number is in fact negative.\n index = resolveBegin(index, index < 0 ? this.count() : this.size);\n var spliced = this.slice(0, index);\n return reify(\n this,\n numArgs === 1\n ? spliced\n : spliced.concat(arrCopy(arguments, 2), this.slice(index + removeNum))\n );\n },\n\n // ### More collection methods\n\n findLastIndex: function findLastIndex(predicate, context) {\n var entry = this.findLastEntry(predicate, context);\n return entry ? entry[0] : -1;\n },\n\n first: function first(notSetValue) {\n return this.get(0, notSetValue);\n },\n\n flatten: function flatten(depth) {\n return reify(this, flattenFactory(this, depth, false));\n },\n\n get: function get(index, notSetValue) {\n index = wrapIndex(this, index);\n return index < 0 ||\n this.size === Infinity ||\n (this.size !== undefined && index > this.size)\n ? notSetValue\n : this.find(function (_, key) { return key === index; }, undefined, notSetValue);\n },\n\n has: function has(index) {\n index = wrapIndex(this, index);\n return (\n index >= 0 &&\n (this.size !== undefined\n ? this.size === Infinity || index < this.size\n : this.indexOf(index) !== -1)\n );\n },\n\n interpose: function interpose(separator) {\n return reify(this, interposeFactory(this, separator));\n },\n\n interleave: function interleave(/*...collections*/) {\n var collections = [this].concat(arrCopy(arguments));\n var zipped = zipWithFactory(this.toSeq(), IndexedSeq.of, collections);\n var interleaved = zipped.flatten(true);\n if (zipped.size) {\n interleaved.size = zipped.size * collections.length;\n }\n return reify(this, interleaved);\n },\n\n keySeq: function keySeq() {\n return Range(0, this.size);\n },\n\n last: function last(notSetValue) {\n return this.get(-1, notSetValue);\n },\n\n skipWhile: function skipWhile(predicate, context) {\n return reify(this, skipWhileFactory(this, predicate, context, false));\n },\n\n zip: function zip(/*, ...collections */) {\n var collections = [this].concat(arrCopy(arguments));\n return reify(this, zipWithFactory(this, defaultZipper, collections));\n },\n\n zipAll: function zipAll(/*, ...collections */) {\n var collections = [this].concat(arrCopy(arguments));\n return reify(this, zipWithFactory(this, defaultZipper, collections, true));\n },\n\n zipWith: function zipWith(zipper /*, ...collections */) {\n var collections = arrCopy(arguments);\n collections[0] = this;\n return reify(this, zipWithFactory(this, zipper, collections));\n },\n});\n\nvar IndexedCollectionPrototype = IndexedCollection.prototype;\nIndexedCollectionPrototype[IS_INDEXED_SYMBOL] = true;\nIndexedCollectionPrototype[IS_ORDERED_SYMBOL] = true;\n\nmixin(SetCollection, {\n // ### ES6 Collection methods (ES6 Array and Map)\n\n get: function get(value, notSetValue) {\n return this.has(value) ? value : notSetValue;\n },\n\n includes: function includes(value) {\n return this.has(value);\n },\n\n // ### More sequential methods\n\n keySeq: function keySeq() {\n return this.valueSeq();\n },\n});\n\nvar SetCollectionPrototype = SetCollection.prototype;\nSetCollectionPrototype.has = CollectionPrototype.includes;\nSetCollectionPrototype.contains = SetCollectionPrototype.includes;\nSetCollectionPrototype.keys = SetCollectionPrototype.values;\n\n// Mixin subclasses\n\nmixin(KeyedSeq, KeyedCollectionPrototype);\nmixin(IndexedSeq, IndexedCollectionPrototype);\nmixin(SetSeq, SetCollectionPrototype);\n\n// #pragma Helper functions\n\nfunction defaultZipper() {\n return arrCopy(arguments);\n}\n\n/**\n * True if `maybeOrderedSet` is an OrderedSet.\n */\nfunction isOrderedSet(maybeOrderedSet) {\n return isSet(maybeOrderedSet) && isOrdered(maybeOrderedSet);\n}\n\nvar OrderedSet = /*@__PURE__*/(function (Set) {\n function OrderedSet(value) {\n // eslint-disable-next-line no-constructor-return\n return value === undefined || value === null\n ? emptyOrderedSet()\n : isOrderedSet(value)\n ? value\n : emptyOrderedSet().withMutations(function (set) {\n var iter = SetCollection(value);\n assertNotInfinite(iter.size);\n iter.forEach(function (v) { return set.add(v); });\n });\n }\n\n if ( Set ) OrderedSet.__proto__ = Set;\n OrderedSet.prototype = Object.create( Set && Set.prototype );\n OrderedSet.prototype.constructor = OrderedSet;\n\n OrderedSet.of = function of (/*...values*/) {\n return this(arguments);\n };\n\n OrderedSet.fromKeys = function fromKeys (value) {\n return this(KeyedCollection(value).keySeq());\n };\n\n OrderedSet.prototype.toString = function toString () {\n return this.__toString('OrderedSet {', '}');\n };\n\n return OrderedSet;\n}(Set));\n\nOrderedSet.isOrderedSet = isOrderedSet;\n\nvar OrderedSetPrototype = OrderedSet.prototype;\nOrderedSetPrototype[IS_ORDERED_SYMBOL] = true;\nOrderedSetPrototype.zip = IndexedCollectionPrototype.zip;\nOrderedSetPrototype.zipWith = IndexedCollectionPrototype.zipWith;\nOrderedSetPrototype.zipAll = IndexedCollectionPrototype.zipAll;\n\nOrderedSetPrototype.__empty = emptyOrderedSet;\nOrderedSetPrototype.__make = makeOrderedSet;\n\nfunction makeOrderedSet(map, ownerID) {\n var set = Object.create(OrderedSetPrototype);\n set.size = map ? map.size : 0;\n set._map = map;\n set.__ownerID = ownerID;\n return set;\n}\n\nvar EMPTY_ORDERED_SET;\nfunction emptyOrderedSet() {\n return (\n EMPTY_ORDERED_SET || (EMPTY_ORDERED_SET = makeOrderedSet(emptyOrderedMap()))\n );\n}\n\n/**\n * Describes which item in a pair should be placed first when sorting\n */\nvar PairSorting = {\n LeftThenRight: -1,\n RightThenLeft: 1,\n};\n\nfunction throwOnInvalidDefaultValues(defaultValues) {\n if (isRecord(defaultValues)) {\n throw new Error(\n 'Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.'\n );\n }\n\n if (isImmutable(defaultValues)) {\n throw new Error(\n 'Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.'\n );\n }\n\n if (defaultValues === null || typeof defaultValues !== 'object') {\n throw new Error(\n 'Can not call `Record` with a non-object as default values. Use a plain javascript object instead.'\n );\n }\n}\n\nvar Record = function Record(defaultValues, name) {\n var hasInitialized;\n\n throwOnInvalidDefaultValues(defaultValues);\n\n var RecordType = function Record(values) {\n var this$1$1 = this;\n\n if (values instanceof RecordType) {\n return values;\n }\n if (!(this instanceof RecordType)) {\n return new RecordType(values);\n }\n if (!hasInitialized) {\n hasInitialized = true;\n var keys = Object.keys(defaultValues);\n var indices = (RecordTypePrototype._indices = {});\n // Deprecated: left to attempt not to break any external code which\n // relies on a ._name property existing on record instances.\n // Use Record.getDescriptiveName() instead\n RecordTypePrototype._name = name;\n RecordTypePrototype._keys = keys;\n RecordTypePrototype._defaultValues = defaultValues;\n for (var i = 0; i < keys.length; i++) {\n var propName = keys[i];\n indices[propName] = i;\n if (RecordTypePrototype[propName]) {\n /* eslint-disable no-console */\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n typeof console === 'object' &&\n console.warn &&\n console.warn(\n 'Cannot define ' +\n recordName(this) +\n ' with property \"' +\n propName +\n '\" since that property name is part of the Record API.'\n );\n /* eslint-enable no-console */\n } else {\n setProp(RecordTypePrototype, propName);\n }\n }\n }\n this.__ownerID = undefined;\n this._values = List().withMutations(function (l) {\n l.setSize(this$1$1._keys.length);\n KeyedCollection(values).forEach(function (v, k) {\n l.set(this$1$1._indices[k], v === this$1$1._defaultValues[k] ? undefined : v);\n });\n });\n return this;\n };\n\n var RecordTypePrototype = (RecordType.prototype =\n Object.create(RecordPrototype));\n RecordTypePrototype.constructor = RecordType;\n\n if (name) {\n RecordType.displayName = name;\n }\n\n // eslint-disable-next-line no-constructor-return\n return RecordType;\n};\n\nRecord.prototype.toString = function toString () {\n var str = recordName(this) + ' { ';\n var keys = this._keys;\n var k;\n for (var i = 0, l = keys.length; i !== l; i++) {\n k = keys[i];\n str += (i ? ', ' : '') + k + ': ' + quoteString(this.get(k));\n }\n return str + ' }';\n};\n\nRecord.prototype.equals = function equals (other) {\n return (\n this === other ||\n (isRecord(other) && recordSeq(this).equals(recordSeq(other)))\n );\n};\n\nRecord.prototype.hashCode = function hashCode () {\n return recordSeq(this).hashCode();\n};\n\n// @pragma Access\n\nRecord.prototype.has = function has (k) {\n return this._indices.hasOwnProperty(k);\n};\n\nRecord.prototype.get = function get (k, notSetValue) {\n if (!this.has(k)) {\n return notSetValue;\n }\n var index = this._indices[k];\n var value = this._values.get(index);\n return value === undefined ? this._defaultValues[k] : value;\n};\n\n// @pragma Modification\n\nRecord.prototype.set = function set (k, v) {\n if (this.has(k)) {\n var newValues = this._values.set(\n this._indices[k],\n v === this._defaultValues[k] ? undefined : v\n );\n if (newValues !== this._values && !this.__ownerID) {\n return makeRecord(this, newValues);\n }\n }\n return this;\n};\n\nRecord.prototype.remove = function remove (k) {\n return this.set(k);\n};\n\nRecord.prototype.clear = function clear () {\n var newValues = this._values.clear().setSize(this._keys.length);\n\n return this.__ownerID ? this : makeRecord(this, newValues);\n};\n\nRecord.prototype.wasAltered = function wasAltered () {\n return this._values.wasAltered();\n};\n\nRecord.prototype.toSeq = function toSeq () {\n return recordSeq(this);\n};\n\nRecord.prototype.toJS = function toJS$1 () {\n return toJS(this);\n};\n\nRecord.prototype.entries = function entries () {\n return this.__iterator(ITERATE_ENTRIES);\n};\n\nRecord.prototype.__iterator = function __iterator (type, reverse) {\n return recordSeq(this).__iterator(type, reverse);\n};\n\nRecord.prototype.__iterate = function __iterate (fn, reverse) {\n return recordSeq(this).__iterate(fn, reverse);\n};\n\nRecord.prototype.__ensureOwner = function __ensureOwner (ownerID) {\n if (ownerID === this.__ownerID) {\n return this;\n }\n var newValues = this._values.__ensureOwner(ownerID);\n if (!ownerID) {\n this.__ownerID = ownerID;\n this._values = newValues;\n return this;\n }\n return makeRecord(this, newValues, ownerID);\n};\n\nRecord.isRecord = isRecord;\nRecord.getDescriptiveName = recordName;\nvar RecordPrototype = Record.prototype;\nRecordPrototype[IS_RECORD_SYMBOL] = true;\nRecordPrototype[DELETE] = RecordPrototype.remove;\nRecordPrototype.deleteIn = RecordPrototype.removeIn = deleteIn;\nRecordPrototype.getIn = getIn;\nRecordPrototype.hasIn = CollectionPrototype.hasIn;\nRecordPrototype.merge = merge$1;\nRecordPrototype.mergeWith = mergeWith$1;\nRecordPrototype.mergeIn = mergeIn;\nRecordPrototype.mergeDeep = mergeDeep;\nRecordPrototype.mergeDeepWith = mergeDeepWith;\nRecordPrototype.mergeDeepIn = mergeDeepIn;\nRecordPrototype.setIn = setIn;\nRecordPrototype.update = update;\nRecordPrototype.updateIn = updateIn$1;\nRecordPrototype.withMutations = withMutations;\nRecordPrototype.asMutable = asMutable;\nRecordPrototype.asImmutable = asImmutable;\nRecordPrototype[ITERATOR_SYMBOL] = RecordPrototype.entries;\nRecordPrototype.toJSON = RecordPrototype.toObject =\n CollectionPrototype.toObject;\nRecordPrototype.inspect = RecordPrototype.toSource = function () {\n return this.toString();\n};\n\nfunction makeRecord(likeRecord, values, ownerID) {\n var record = Object.create(Object.getPrototypeOf(likeRecord));\n record._values = values;\n record.__ownerID = ownerID;\n return record;\n}\n\nfunction recordName(record) {\n return record.constructor.displayName || record.constructor.name || 'Record';\n}\n\nfunction recordSeq(record) {\n return keyedSeqFromValue(record._keys.map(function (k) { return [k, record.get(k)]; }));\n}\n\nfunction setProp(prototype, name) {\n try {\n Object.defineProperty(prototype, name, {\n get: function () {\n return this.get(name);\n },\n set: function (value) {\n invariant(this.__ownerID, 'Cannot set on an immutable record.');\n this.set(name, value);\n },\n });\n // eslint-disable-next-line @typescript-eslint/no-unused-vars -- TODO enable eslint here\n } catch (error) {\n // Object.defineProperty failed. Probably IE8.\n }\n}\n\n/**\n * Returns a lazy Seq of `value` repeated `times` times. When `times` is\n * undefined, returns an infinite sequence of `value`.\n */\nvar Repeat = /*@__PURE__*/(function (IndexedSeq) {\n function Repeat(value, times) {\n if (!(this instanceof Repeat)) {\n // eslint-disable-next-line no-constructor-return\n return new Repeat(value, times);\n }\n this._value = value;\n this.size = times === undefined ? Infinity : Math.max(0, times);\n if (this.size === 0) {\n if (EMPTY_REPEAT) {\n // eslint-disable-next-line no-constructor-return\n return EMPTY_REPEAT;\n }\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n EMPTY_REPEAT = this;\n }\n }\n\n if ( IndexedSeq ) Repeat.__proto__ = IndexedSeq;\n Repeat.prototype = Object.create( IndexedSeq && IndexedSeq.prototype );\n Repeat.prototype.constructor = Repeat;\n\n Repeat.prototype.toString = function toString () {\n if (this.size === 0) {\n return 'Repeat []';\n }\n return 'Repeat [ ' + this._value + ' ' + this.size + ' times ]';\n };\n\n Repeat.prototype.get = function get (index, notSetValue) {\n return this.has(index) ? this._value : notSetValue;\n };\n\n Repeat.prototype.includes = function includes (searchValue) {\n return is(this._value, searchValue);\n };\n\n Repeat.prototype.slice = function slice (begin, end) {\n var size = this.size;\n return wholeSlice(begin, end, size)\n ? this\n : new Repeat(\n this._value,\n resolveEnd(end, size) - resolveBegin(begin, size)\n );\n };\n\n Repeat.prototype.reverse = function reverse () {\n return this;\n };\n\n Repeat.prototype.indexOf = function indexOf (searchValue) {\n if (is(this._value, searchValue)) {\n return 0;\n }\n return -1;\n };\n\n Repeat.prototype.lastIndexOf = function lastIndexOf (searchValue) {\n if (is(this._value, searchValue)) {\n return this.size;\n }\n return -1;\n };\n\n Repeat.prototype.__iterate = function __iterate (fn, reverse) {\n var size = this.size;\n var i = 0;\n while (i !== size) {\n if (fn(this._value, reverse ? size - ++i : i++, this) === false) {\n break;\n }\n }\n return i;\n };\n\n Repeat.prototype.__iterator = function __iterator (type, reverse) {\n var this$1$1 = this;\n\n var size = this.size;\n var i = 0;\n return new Iterator(function () { return i === size\n ? iteratorDone()\n : iteratorValue(type, reverse ? size - ++i : i++, this$1$1._value); }\n );\n };\n\n Repeat.prototype.equals = function equals (other) {\n return other instanceof Repeat\n ? is(this._value, other._value)\n : deepEqual(this, other);\n };\n\n return Repeat;\n}(IndexedSeq));\n\nvar EMPTY_REPEAT;\n\nfunction fromJS(value, converter) {\n return fromJSWith(\n [],\n converter || defaultConverter,\n value,\n '',\n converter && converter.length > 2 ? [] : undefined,\n { '': value }\n );\n}\n\nfunction fromJSWith(stack, converter, value, key, keyPath, parentValue) {\n if (\n typeof value !== 'string' &&\n !isImmutable(value) &&\n (isArrayLike(value) || hasIterator(value) || isPlainObject(value))\n ) {\n if (~stack.indexOf(value)) {\n throw new TypeError('Cannot convert circular structure to Immutable');\n }\n stack.push(value);\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n keyPath && key !== '' && keyPath.push(key);\n var converted = converter.call(\n parentValue,\n key,\n Seq(value).map(function (v, k) { return fromJSWith(stack, converter, v, k, keyPath, value); }\n ),\n keyPath && keyPath.slice()\n );\n stack.pop();\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- TODO enable eslint here\n keyPath && keyPath.pop();\n return converted;\n }\n return value;\n}\n\nfunction defaultConverter(k, v) {\n // Effectively the opposite of \"Collection.toSeq()\"\n return isIndexed(v) ? v.toList() : isKeyed(v) ? v.toMap() : v.toSet();\n}\n\nvar version = \"5.1.4\";\n\n/* eslint-disable import/order */\n\n// Note: Iterable is deprecated\nvar Iterable = Collection;\n\n\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/immutable/dist/immutable.es.js?\n}");
1196
+
1197
+ /***/ },
1198
+
1199
+ /***/ "../../../node_modules/math-intrinsics/abs.js"
1200
+ /*!****************************************************!*\
1201
+ !*** ../../../node_modules/math-intrinsics/abs.js ***!
1202
+ \****************************************************/
1203
+ (module) {
1204
+
1205
+ "use strict";
1206
+ eval("{\n\n/** @type {import('./abs')} */\nmodule.exports = Math.abs;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/math-intrinsics/abs.js?\n}");
1207
+
1208
+ /***/ },
1209
+
1210
+ /***/ "../../../node_modules/math-intrinsics/floor.js"
1211
+ /*!******************************************************!*\
1212
+ !*** ../../../node_modules/math-intrinsics/floor.js ***!
1213
+ \******************************************************/
1214
+ (module) {
1215
+
1216
+ "use strict";
1217
+ eval("{\n\n/** @type {import('./floor')} */\nmodule.exports = Math.floor;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/math-intrinsics/floor.js?\n}");
1218
+
1219
+ /***/ },
1220
+
1221
+ /***/ "../../../node_modules/math-intrinsics/isNaN.js"
1222
+ /*!******************************************************!*\
1223
+ !*** ../../../node_modules/math-intrinsics/isNaN.js ***!
1224
+ \******************************************************/
1225
+ (module) {
1226
+
1227
+ "use strict";
1228
+ eval("{\n\n/** @type {import('./isNaN')} */\nmodule.exports = Number.isNaN || function isNaN(a) {\n\treturn a !== a;\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/math-intrinsics/isNaN.js?\n}");
1229
+
1230
+ /***/ },
1231
+
1232
+ /***/ "../../../node_modules/math-intrinsics/max.js"
1233
+ /*!****************************************************!*\
1234
+ !*** ../../../node_modules/math-intrinsics/max.js ***!
1235
+ \****************************************************/
1236
+ (module) {
1237
+
1238
+ "use strict";
1239
+ eval("{\n\n/** @type {import('./max')} */\nmodule.exports = Math.max;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/math-intrinsics/max.js?\n}");
1240
+
1241
+ /***/ },
1242
+
1243
+ /***/ "../../../node_modules/math-intrinsics/min.js"
1244
+ /*!****************************************************!*\
1245
+ !*** ../../../node_modules/math-intrinsics/min.js ***!
1246
+ \****************************************************/
1247
+ (module) {
1248
+
1249
+ "use strict";
1250
+ eval("{\n\n/** @type {import('./min')} */\nmodule.exports = Math.min;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/math-intrinsics/min.js?\n}");
1251
+
1252
+ /***/ },
1253
+
1254
+ /***/ "../../../node_modules/math-intrinsics/pow.js"
1255
+ /*!****************************************************!*\
1256
+ !*** ../../../node_modules/math-intrinsics/pow.js ***!
1257
+ \****************************************************/
1258
+ (module) {
1259
+
1260
+ "use strict";
1261
+ eval("{\n\n/** @type {import('./pow')} */\nmodule.exports = Math.pow;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/math-intrinsics/pow.js?\n}");
1262
+
1263
+ /***/ },
1264
+
1265
+ /***/ "../../../node_modules/math-intrinsics/round.js"
1266
+ /*!******************************************************!*\
1267
+ !*** ../../../node_modules/math-intrinsics/round.js ***!
1268
+ \******************************************************/
1269
+ (module) {
1270
+
1271
+ "use strict";
1272
+ eval("{\n\n/** @type {import('./round')} */\nmodule.exports = Math.round;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/math-intrinsics/round.js?\n}");
1273
+
1274
+ /***/ },
1275
+
1276
+ /***/ "../../../node_modules/math-intrinsics/sign.js"
1277
+ /*!*****************************************************!*\
1278
+ !*** ../../../node_modules/math-intrinsics/sign.js ***!
1279
+ \*****************************************************/
1280
+ (module, __unused_webpack_exports, __webpack_require__) {
1281
+
1282
+ "use strict";
1283
+ eval("{\n\nvar $isNaN = __webpack_require__(/*! ./isNaN */ \"../../../node_modules/math-intrinsics/isNaN.js\");\n\n/** @type {import('./sign')} */\nmodule.exports = function sign(number) {\n\tif ($isNaN(number) || number === 0) {\n\t\treturn number;\n\t}\n\treturn number < 0 ? -1 : +1;\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/math-intrinsics/sign.js?\n}");
1284
+
1285
+ /***/ },
1286
+
1287
+ /***/ "../../../node_modules/object-inspect/index.js"
1288
+ /*!*****************************************************!*\
1289
+ !*** ../../../node_modules/object-inspect/index.js ***!
1290
+ \*****************************************************/
1291
+ (module, __unused_webpack_exports, __webpack_require__) {
1292
+
1293
+ eval("{var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar $match = String.prototype.match;\nvar $slice = String.prototype.slice;\nvar $replace = String.prototype.replace;\nvar $toUpperCase = String.prototype.toUpperCase;\nvar $toLowerCase = String.prototype.toLowerCase;\nvar $test = RegExp.prototype.test;\nvar $concat = Array.prototype.concat;\nvar $join = Array.prototype.join;\nvar $arrSlice = Array.prototype.slice;\nvar $floor = Math.floor;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\n// ie, `has-tostringtag/shams\nvar toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')\n ? Symbol.toStringTag\n : null;\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nfunction addNumericSeparator(num, str) {\n if (\n num === Infinity\n || num === -Infinity\n || num !== num\n || (num && num > -1000 && num < 1000)\n || $test.call(/e/, str)\n ) {\n return str;\n }\n var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n if (typeof num === 'number') {\n var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n if (int !== num) {\n var intStr = String(int);\n var dec = $slice.call(str, intStr.length + 1);\n return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n }\n }\n return $replace.call(str, sepRegex, '$&_');\n}\n\nvar utilInspect = __webpack_require__(/*! ./util.inspect */ \"?4860\");\nvar inspectCustom = utilInspect.custom;\nvar inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n\nvar quotes = {\n __proto__: null,\n 'double': '\"',\n single: \"'\"\n};\nvar quoteREs = {\n __proto__: null,\n 'double': /([\"\\\\])/g,\n single: /(['\\\\])/g\n};\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && !has(quotes, opts.quoteStyle)) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n }\n var numericSeparator = opts.numericSeparator;\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n var str = String(obj);\n return numericSeparator ? addNumericSeparator(obj, str) : str;\n }\n if (typeof obj === 'bigint') {\n var bigIntStr = String(obj) + 'n';\n return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = $arrSlice.call(seen);\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + $toLowerCase.call(String(obj.nodeName));\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + $join.call(xs, ', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n }\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n return utilInspect(obj, { depth: maxDepth - depth });\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n if (mapForEach) {\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n }\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n if (setForEach) {\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n }\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n // note: in IE 8, sometimes `global !== window` but both are the prototypes of each other\n /* eslint-env browser */\n if (typeof window !== 'undefined' && obj === window) {\n return '{ [object Window] }';\n }\n if (\n (typeof globalThis !== 'undefined' && obj === globalThis)\n || (typeof __webpack_require__.g !== 'undefined' && obj === __webpack_require__.g)\n ) {\n return '{ [object globalThis] }';\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + $join.call(ys, ', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var style = opts.quoteStyle || defaultStyle;\n var quoteChar = quotes[style];\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return $replace.call(String(s), /\"/g, '&quot;');\n}\n\nfunction canTrustToString(obj) {\n return !toStringTag || !(typeof obj === 'object' && (toStringTag in obj || typeof obj[toStringTag] !== 'undefined'));\n}\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && canTrustToString(obj); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && canTrustToString(obj); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && canTrustToString(obj); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && canTrustToString(obj); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && canTrustToString(obj); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && canTrustToString(obj); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && canTrustToString(obj); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n }\n var quoteRE = quoteREs[opts.quoteStyle || 'single'];\n quoteRE.lastIndex = 0;\n // eslint-disable-next-line no-control-regex\n var s = $replace.call($replace.call(str, quoteRE, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = $join.call(Array(opts.indent + 1), ' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: $join.call(Array(depth + 1), baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ($test.call(/[^\\w$]/, key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/object-inspect/index.js?\n}");
1294
+
1295
+ /***/ },
1296
+
1297
+ /***/ "../../../node_modules/qs/lib/formats.js"
1298
+ /*!***********************************************!*\
1299
+ !*** ../../../node_modules/qs/lib/formats.js ***!
1300
+ \***********************************************/
1301
+ (module) {
1302
+
1303
+ "use strict";
1304
+ eval("{\n\nvar replace = String.prototype.replace;\nvar percentTwenties = /%20/g;\n\nvar Format = {\n RFC1738: 'RFC1738',\n RFC3986: 'RFC3986'\n};\n\nmodule.exports = {\n 'default': Format.RFC3986,\n formatters: {\n RFC1738: function (value) {\n return replace.call(value, percentTwenties, '+');\n },\n RFC3986: function (value) {\n return String(value);\n }\n },\n RFC1738: Format.RFC1738,\n RFC3986: Format.RFC3986\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/qs/lib/formats.js?\n}");
1305
+
1306
+ /***/ },
1307
+
1308
+ /***/ "../../../node_modules/qs/lib/index.js"
1309
+ /*!*********************************************!*\
1310
+ !*** ../../../node_modules/qs/lib/index.js ***!
1311
+ \*********************************************/
1312
+ (module, __unused_webpack_exports, __webpack_require__) {
1313
+
1314
+ "use strict";
1315
+ eval("{\n\nvar stringify = __webpack_require__(/*! ./stringify */ \"../../../node_modules/qs/lib/stringify.js\");\nvar parse = __webpack_require__(/*! ./parse */ \"../../../node_modules/qs/lib/parse.js\");\nvar formats = __webpack_require__(/*! ./formats */ \"../../../node_modules/qs/lib/formats.js\");\n\nmodule.exports = {\n formats: formats,\n parse: parse,\n stringify: stringify\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/qs/lib/index.js?\n}");
1316
+
1317
+ /***/ },
1318
+
1319
+ /***/ "../../../node_modules/qs/lib/parse.js"
1320
+ /*!*********************************************!*\
1321
+ !*** ../../../node_modules/qs/lib/parse.js ***!
1322
+ \*********************************************/
1323
+ (module, __unused_webpack_exports, __webpack_require__) {
1324
+
1325
+ "use strict";
1326
+ eval("{\n\nvar utils = __webpack_require__(/*! ./utils */ \"../../../node_modules/qs/lib/utils.js\");\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar defaults = {\n allowDots: false,\n allowEmptyArrays: false,\n allowPrototypes: false,\n allowSparse: false,\n arrayLimit: 20,\n charset: 'utf-8',\n charsetSentinel: false,\n comma: false,\n decodeDotInKeys: false,\n decoder: utils.decode,\n delimiter: '&',\n depth: 5,\n duplicates: 'combine',\n ignoreQueryPrefix: false,\n interpretNumericEntities: false,\n parameterLimit: 1000,\n parseArrays: true,\n plainObjects: false,\n strictDepth: false,\n strictNullHandling: false,\n throwOnLimitExceeded: false\n};\n\nvar interpretNumericEntities = function (str) {\n return str.replace(/&#(\\d+);/g, function ($0, numberStr) {\n return String.fromCharCode(parseInt(numberStr, 10));\n });\n};\n\nvar parseArrayValue = function (val, options, currentArrayLength) {\n if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {\n return val.split(',');\n }\n\n if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit) {\n throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.');\n }\n\n return val;\n};\n\n// This is what browsers will submit when the ✓ character occurs in an\n// application/x-www-form-urlencoded body and the encoding of the page containing\n// the form is iso-8859-1, or when the submitted form has an accept-charset\n// attribute of iso-8859-1. Presumably also with other charsets that do not contain\n// the ✓ character, such as us-ascii.\nvar isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('&#10003;')\n\n// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.\nvar charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')\n\nvar parseValues = function parseQueryStringValues(str, options) {\n var obj = { __proto__: null };\n\n var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\\?/, '') : str;\n cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');\n\n var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;\n var parts = cleanStr.split(\n options.delimiter,\n options.throwOnLimitExceeded ? limit + 1 : limit\n );\n\n if (options.throwOnLimitExceeded && parts.length > limit) {\n throw new RangeError('Parameter limit exceeded. Only ' + limit + ' parameter' + (limit === 1 ? '' : 's') + ' allowed.');\n }\n\n var skipIndex = -1; // Keep track of where the utf8 sentinel was found\n var i;\n\n var charset = options.charset;\n if (options.charsetSentinel) {\n for (i = 0; i < parts.length; ++i) {\n if (parts[i].indexOf('utf8=') === 0) {\n if (parts[i] === charsetSentinel) {\n charset = 'utf-8';\n } else if (parts[i] === isoSentinel) {\n charset = 'iso-8859-1';\n }\n skipIndex = i;\n i = parts.length; // The eslint settings do not allow break;\n }\n }\n }\n\n for (i = 0; i < parts.length; ++i) {\n if (i === skipIndex) {\n continue;\n }\n var part = parts[i];\n\n var bracketEqualsPos = part.indexOf(']=');\n var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;\n\n var key;\n var val;\n if (pos === -1) {\n key = options.decoder(part, defaults.decoder, charset, 'key');\n val = options.strictNullHandling ? null : '';\n } else {\n key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');\n\n if (key !== null) {\n val = utils.maybeMap(\n parseArrayValue(\n part.slice(pos + 1),\n options,\n isArray(obj[key]) ? obj[key].length : 0\n ),\n function (encodedVal) {\n return options.decoder(encodedVal, defaults.decoder, charset, 'value');\n }\n );\n }\n }\n\n if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n val = interpretNumericEntities(String(val));\n }\n\n if (part.indexOf('[]=') > -1) {\n val = isArray(val) ? [val] : val;\n }\n\n if (key !== null) {\n var existing = has.call(obj, key);\n if (existing && options.duplicates === 'combine') {\n obj[key] = utils.combine(\n obj[key],\n val,\n options.arrayLimit,\n options.plainObjects\n );\n } else if (!existing || options.duplicates === 'last') {\n obj[key] = val;\n }\n }\n }\n\n return obj;\n};\n\nvar parseObject = function (chain, val, options, valuesParsed) {\n var currentArrayLength = 0;\n if (chain.length > 0 && chain[chain.length - 1] === '[]') {\n var parentKey = chain.slice(0, -1).join('');\n currentArrayLength = Array.isArray(val) && val[parentKey] ? val[parentKey].length : 0;\n }\n\n var leaf = valuesParsed ? val : parseArrayValue(val, options, currentArrayLength);\n\n for (var i = chain.length - 1; i >= 0; --i) {\n var obj;\n var root = chain[i];\n\n if (root === '[]' && options.parseArrays) {\n if (utils.isOverflow(leaf)) {\n // leaf is already an overflow object, preserve it\n obj = leaf;\n } else {\n obj = options.allowEmptyArrays && (leaf === '' || (options.strictNullHandling && leaf === null))\n ? []\n : utils.combine(\n [],\n leaf,\n options.arrayLimit,\n options.plainObjects\n );\n }\n } else {\n obj = options.plainObjects ? { __proto__: null } : {};\n var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;\n var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;\n var index = parseInt(decodedRoot, 10);\n if (!options.parseArrays && decodedRoot === '') {\n obj = { 0: leaf };\n } else if (\n !isNaN(index)\n && root !== decodedRoot\n && String(index) === decodedRoot\n && index >= 0\n && (options.parseArrays && index <= options.arrayLimit)\n ) {\n obj = [];\n obj[index] = leaf;\n } else if (decodedRoot !== '__proto__') {\n obj[decodedRoot] = leaf;\n }\n }\n\n leaf = obj;\n }\n\n return leaf;\n};\n\nvar splitKeyIntoSegments = function splitKeyIntoSegments(givenKey, options) {\n var key = options.allowDots ? givenKey.replace(/\\.([^.[]+)/g, '[$1]') : givenKey;\n\n if (options.depth <= 0) {\n if (!options.plainObjects && has.call(Object.prototype, key)) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n return [key];\n }\n\n var brackets = /(\\[[^[\\]]*])/;\n var child = /(\\[[^[\\]]*])/g;\n\n var segment = brackets.exec(key);\n var parent = segment ? key.slice(0, segment.index) : key;\n\n var keys = [];\n\n if (parent) {\n if (!options.plainObjects && has.call(Object.prototype, parent)) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n keys.push(parent);\n }\n\n var i = 0;\n while ((segment = child.exec(key)) !== null && i < options.depth) {\n i += 1;\n\n var segmentContent = segment[1].slice(1, -1);\n if (!options.plainObjects && has.call(Object.prototype, segmentContent)) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n keys.push(segment[1]);\n }\n\n if (segment) {\n if (options.strictDepth === true) {\n throw new RangeError('Input depth exceeded depth option of ' + options.depth + ' and strictDepth is true');\n }\n\n keys.push('[' + key.slice(segment.index) + ']');\n }\n\n return keys;\n};\n\nvar parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {\n if (!givenKey) {\n return;\n }\n\n var keys = splitKeyIntoSegments(givenKey, options);\n\n if (!keys) {\n return;\n }\n\n return parseObject(keys, val, options, valuesParsed);\n};\n\nvar normalizeParseOptions = function normalizeParseOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {\n throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');\n }\n\n if (typeof opts.decodeDotInKeys !== 'undefined' && typeof opts.decodeDotInKeys !== 'boolean') {\n throw new TypeError('`decodeDotInKeys` option can only be `true` or `false`, when provided');\n }\n\n if (opts.decoder !== null && typeof opts.decoder !== 'undefined' && typeof opts.decoder !== 'function') {\n throw new TypeError('Decoder has to be a function.');\n }\n\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n\n if (typeof opts.throwOnLimitExceeded !== 'undefined' && typeof opts.throwOnLimitExceeded !== 'boolean') {\n throw new TypeError('`throwOnLimitExceeded` option must be a boolean');\n }\n\n var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;\n\n var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates;\n\n if (duplicates !== 'combine' && duplicates !== 'first' && duplicates !== 'last') {\n throw new TypeError('The duplicates option must be either combine, first, or last');\n }\n\n var allowDots = typeof opts.allowDots === 'undefined' ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;\n\n return {\n allowDots: allowDots,\n allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,\n allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,\n allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,\n arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,\n decodeDotInKeys: typeof opts.decodeDotInKeys === 'boolean' ? opts.decodeDotInKeys : defaults.decodeDotInKeys,\n decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,\n delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,\n // eslint-disable-next-line no-implicit-coercion, no-extra-parens\n depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,\n duplicates: duplicates,\n ignoreQueryPrefix: opts.ignoreQueryPrefix === true,\n interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,\n parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,\n parseArrays: opts.parseArrays !== false,\n plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,\n strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling,\n throwOnLimitExceeded: typeof opts.throwOnLimitExceeded === 'boolean' ? opts.throwOnLimitExceeded : false\n };\n};\n\nmodule.exports = function (str, opts) {\n var options = normalizeParseOptions(opts);\n\n if (str === '' || str === null || typeof str === 'undefined') {\n return options.plainObjects ? { __proto__: null } : {};\n }\n\n var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n var obj = options.plainObjects ? { __proto__: null } : {};\n\n // Iterate over the keys and setup the new object\n\n var keys = Object.keys(tempObj);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');\n obj = utils.merge(obj, newObj, options);\n }\n\n if (options.allowSparse === true) {\n return obj;\n }\n\n return utils.compact(obj);\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/qs/lib/parse.js?\n}");
1327
+
1328
+ /***/ },
1329
+
1330
+ /***/ "../../../node_modules/qs/lib/stringify.js"
1331
+ /*!*************************************************!*\
1332
+ !*** ../../../node_modules/qs/lib/stringify.js ***!
1333
+ \*************************************************/
1334
+ (module, __unused_webpack_exports, __webpack_require__) {
1335
+
1336
+ "use strict";
1337
+ eval("{\n\nvar getSideChannel = __webpack_require__(/*! side-channel */ \"../../../node_modules/side-channel/index.js\");\nvar utils = __webpack_require__(/*! ./utils */ \"../../../node_modules/qs/lib/utils.js\");\nvar formats = __webpack_require__(/*! ./formats */ \"../../../node_modules/qs/lib/formats.js\");\nvar has = Object.prototype.hasOwnProperty;\n\nvar arrayPrefixGenerators = {\n brackets: function brackets(prefix) {\n return prefix + '[]';\n },\n comma: 'comma',\n indices: function indices(prefix, key) {\n return prefix + '[' + key + ']';\n },\n repeat: function repeat(prefix) {\n return prefix;\n }\n};\n\nvar isArray = Array.isArray;\nvar push = Array.prototype.push;\nvar pushToArray = function (arr, valueOrArray) {\n push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);\n};\n\nvar toISO = Date.prototype.toISOString;\n\nvar defaultFormat = formats['default'];\nvar defaults = {\n addQueryPrefix: false,\n allowDots: false,\n allowEmptyArrays: false,\n arrayFormat: 'indices',\n charset: 'utf-8',\n charsetSentinel: false,\n commaRoundTrip: false,\n delimiter: '&',\n encode: true,\n encodeDotInKeys: false,\n encoder: utils.encode,\n encodeValuesOnly: false,\n filter: void undefined,\n format: defaultFormat,\n formatter: formats.formatters[defaultFormat],\n // deprecated\n indices: false,\n serializeDate: function serializeDate(date) {\n return toISO.call(date);\n },\n skipNulls: false,\n strictNullHandling: false\n};\n\nvar isNonNullishPrimitive = function isNonNullishPrimitive(v) {\n return typeof v === 'string'\n || typeof v === 'number'\n || typeof v === 'boolean'\n || typeof v === 'symbol'\n || typeof v === 'bigint';\n};\n\nvar sentinel = {};\n\nvar stringify = function stringify(\n object,\n prefix,\n generateArrayPrefix,\n commaRoundTrip,\n allowEmptyArrays,\n strictNullHandling,\n skipNulls,\n encodeDotInKeys,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n sideChannel\n) {\n var obj = object;\n\n var tmpSc = sideChannel;\n var step = 0;\n var findFlag = false;\n while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {\n // Where object last appeared in the ref tree\n var pos = tmpSc.get(object);\n step += 1;\n if (typeof pos !== 'undefined') {\n if (pos === step) {\n throw new RangeError('Cyclic object value');\n } else {\n findFlag = true; // Break while\n }\n }\n if (typeof tmpSc.get(sentinel) === 'undefined') {\n step = 0;\n }\n }\n\n if (typeof filter === 'function') {\n obj = filter(prefix, obj);\n } else if (obj instanceof Date) {\n obj = serializeDate(obj);\n } else if (generateArrayPrefix === 'comma' && isArray(obj)) {\n obj = utils.maybeMap(obj, function (value) {\n if (value instanceof Date) {\n return serializeDate(value);\n }\n return value;\n });\n }\n\n if (obj === null) {\n if (strictNullHandling) {\n return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;\n }\n\n obj = '';\n }\n\n if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {\n if (encoder) {\n var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);\n return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];\n }\n return [formatter(prefix) + '=' + formatter(String(obj))];\n }\n\n var values = [];\n\n if (typeof obj === 'undefined') {\n return values;\n }\n\n var objKeys;\n if (generateArrayPrefix === 'comma' && isArray(obj)) {\n // we need to join elements in\n if (encodeValuesOnly && encoder) {\n obj = utils.maybeMap(obj, encoder);\n }\n objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];\n } else if (isArray(filter)) {\n objKeys = filter;\n } else {\n var keys = Object.keys(obj);\n objKeys = sort ? keys.sort(sort) : keys;\n }\n\n var encodedPrefix = encodeDotInKeys ? String(prefix).replace(/\\./g, '%2E') : String(prefix);\n\n var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;\n\n if (allowEmptyArrays && isArray(obj) && obj.length === 0) {\n return adjustedPrefix + '[]';\n }\n\n for (var j = 0; j < objKeys.length; ++j) {\n var key = objKeys[j];\n var value = typeof key === 'object' && key && typeof key.value !== 'undefined'\n ? key.value\n : obj[key];\n\n if (skipNulls && value === null) {\n continue;\n }\n\n var encodedKey = allowDots && encodeDotInKeys ? String(key).replace(/\\./g, '%2E') : String(key);\n var keyPrefix = isArray(obj)\n ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix\n : adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');\n\n sideChannel.set(object, step);\n var valueSideChannel = getSideChannel();\n valueSideChannel.set(sentinel, sideChannel);\n pushToArray(values, stringify(\n value,\n keyPrefix,\n generateArrayPrefix,\n commaRoundTrip,\n allowEmptyArrays,\n strictNullHandling,\n skipNulls,\n encodeDotInKeys,\n generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n valueSideChannel\n ));\n }\n\n return values;\n};\n\nvar normalizeStringifyOptions = function normalizeStringifyOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {\n throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');\n }\n\n if (typeof opts.encodeDotInKeys !== 'undefined' && typeof opts.encodeDotInKeys !== 'boolean') {\n throw new TypeError('`encodeDotInKeys` option can only be `true` or `false`, when provided');\n }\n\n if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {\n throw new TypeError('Encoder has to be a function.');\n }\n\n var charset = opts.charset || defaults.charset;\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n\n var format = formats['default'];\n if (typeof opts.format !== 'undefined') {\n if (!has.call(formats.formatters, opts.format)) {\n throw new TypeError('Unknown format option provided.');\n }\n format = opts.format;\n }\n var formatter = formats.formatters[format];\n\n var filter = defaults.filter;\n if (typeof opts.filter === 'function' || isArray(opts.filter)) {\n filter = opts.filter;\n }\n\n var arrayFormat;\n if (opts.arrayFormat in arrayPrefixGenerators) {\n arrayFormat = opts.arrayFormat;\n } else if ('indices' in opts) {\n arrayFormat = opts.indices ? 'indices' : 'repeat';\n } else {\n arrayFormat = defaults.arrayFormat;\n }\n\n if ('commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {\n throw new TypeError('`commaRoundTrip` must be a boolean, or absent');\n }\n\n var allowDots = typeof opts.allowDots === 'undefined' ? opts.encodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;\n\n return {\n addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,\n allowDots: allowDots,\n allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,\n arrayFormat: arrayFormat,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n commaRoundTrip: !!opts.commaRoundTrip,\n delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,\n encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,\n encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,\n encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,\n encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,\n filter: filter,\n format: format,\n formatter: formatter,\n serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,\n skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,\n sort: typeof opts.sort === 'function' ? opts.sort : null,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (object, opts) {\n var obj = object;\n var options = normalizeStringifyOptions(opts);\n\n var objKeys;\n var filter;\n\n if (typeof options.filter === 'function') {\n filter = options.filter;\n obj = filter('', obj);\n } else if (isArray(options.filter)) {\n filter = options.filter;\n objKeys = filter;\n }\n\n var keys = [];\n\n if (typeof obj !== 'object' || obj === null) {\n return '';\n }\n\n var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat];\n var commaRoundTrip = generateArrayPrefix === 'comma' && options.commaRoundTrip;\n\n if (!objKeys) {\n objKeys = Object.keys(obj);\n }\n\n if (options.sort) {\n objKeys.sort(options.sort);\n }\n\n var sideChannel = getSideChannel();\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n var value = obj[key];\n\n if (options.skipNulls && value === null) {\n continue;\n }\n pushToArray(keys, stringify(\n value,\n key,\n generateArrayPrefix,\n commaRoundTrip,\n options.allowEmptyArrays,\n options.strictNullHandling,\n options.skipNulls,\n options.encodeDotInKeys,\n options.encode ? options.encoder : null,\n options.filter,\n options.sort,\n options.allowDots,\n options.serializeDate,\n options.format,\n options.formatter,\n options.encodeValuesOnly,\n options.charset,\n sideChannel\n ));\n }\n\n var joined = keys.join(options.delimiter);\n var prefix = options.addQueryPrefix === true ? '?' : '';\n\n if (options.charsetSentinel) {\n if (options.charset === 'iso-8859-1') {\n // encodeURIComponent('&#10003;'), the \"numeric entity\" representation of a checkmark\n prefix += 'utf8=%26%2310003%3B&';\n } else {\n // encodeURIComponent('✓')\n prefix += 'utf8=%E2%9C%93&';\n }\n }\n\n return joined.length > 0 ? prefix + joined : '';\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/qs/lib/stringify.js?\n}");
1338
+
1339
+ /***/ },
1340
+
1341
+ /***/ "../../../node_modules/qs/lib/utils.js"
1342
+ /*!*********************************************!*\
1343
+ !*** ../../../node_modules/qs/lib/utils.js ***!
1344
+ \*********************************************/
1345
+ (module, __unused_webpack_exports, __webpack_require__) {
1346
+
1347
+ "use strict";
1348
+ eval("{\n\nvar formats = __webpack_require__(/*! ./formats */ \"../../../node_modules/qs/lib/formats.js\");\nvar getSideChannel = __webpack_require__(/*! side-channel */ \"../../../node_modules/side-channel/index.js\");\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\n// Track objects created from arrayLimit overflow using side-channel\n// Stores the current max numeric index for O(1) lookup\nvar overflowChannel = getSideChannel();\n\nvar markOverflow = function markOverflow(obj, maxIndex) {\n overflowChannel.set(obj, maxIndex);\n return obj;\n};\n\nvar isOverflow = function isOverflow(obj) {\n return overflowChannel.has(obj);\n};\n\nvar getMaxIndex = function getMaxIndex(obj) {\n return overflowChannel.get(obj);\n};\n\nvar setMaxIndex = function setMaxIndex(obj, maxIndex) {\n overflowChannel.set(obj, maxIndex);\n};\n\nvar hexTable = (function () {\n var array = [];\n for (var i = 0; i < 256; ++i) {\n array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n }\n\n return array;\n}());\n\nvar compactQueue = function compactQueue(queue) {\n while (queue.length > 1) {\n var item = queue.pop();\n var obj = item.obj[item.prop];\n\n if (isArray(obj)) {\n var compacted = [];\n\n for (var j = 0; j < obj.length; ++j) {\n if (typeof obj[j] !== 'undefined') {\n compacted.push(obj[j]);\n }\n }\n\n item.obj[item.prop] = compacted;\n }\n }\n};\n\nvar arrayToObject = function arrayToObject(source, options) {\n var obj = options && options.plainObjects ? { __proto__: null } : {};\n for (var i = 0; i < source.length; ++i) {\n if (typeof source[i] !== 'undefined') {\n obj[i] = source[i];\n }\n }\n\n return obj;\n};\n\nvar merge = function merge(target, source, options) {\n /* eslint no-param-reassign: 0 */\n if (!source) {\n return target;\n }\n\n if (typeof source !== 'object' && typeof source !== 'function') {\n if (isArray(target)) {\n target.push(source);\n } else if (target && typeof target === 'object') {\n if (isOverflow(target)) {\n // Add at next numeric index for overflow objects\n var newIndex = getMaxIndex(target) + 1;\n target[newIndex] = source;\n setMaxIndex(target, newIndex);\n } else if (\n (options && (options.plainObjects || options.allowPrototypes))\n || !has.call(Object.prototype, source)\n ) {\n target[source] = true;\n }\n } else {\n return [target, source];\n }\n\n return target;\n }\n\n if (!target || typeof target !== 'object') {\n if (isOverflow(source)) {\n // Create new object with target at 0, source values shifted by 1\n var sourceKeys = Object.keys(source);\n var result = options && options.plainObjects\n ? { __proto__: null, 0: target }\n : { 0: target };\n for (var m = 0; m < sourceKeys.length; m++) {\n var oldKey = parseInt(sourceKeys[m], 10);\n result[oldKey + 1] = source[sourceKeys[m]];\n }\n return markOverflow(result, getMaxIndex(source) + 1);\n }\n return [target].concat(source);\n }\n\n var mergeTarget = target;\n if (isArray(target) && !isArray(source)) {\n mergeTarget = arrayToObject(target, options);\n }\n\n if (isArray(target) && isArray(source)) {\n source.forEach(function (item, i) {\n if (has.call(target, i)) {\n var targetItem = target[i];\n if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {\n target[i] = merge(targetItem, item, options);\n } else {\n target.push(item);\n }\n } else {\n target[i] = item;\n }\n });\n return target;\n }\n\n return Object.keys(source).reduce(function (acc, key) {\n var value = source[key];\n\n if (has.call(acc, key)) {\n acc[key] = merge(acc[key], value, options);\n } else {\n acc[key] = value;\n }\n return acc;\n }, mergeTarget);\n};\n\nvar assign = function assignSingleSource(target, source) {\n return Object.keys(source).reduce(function (acc, key) {\n acc[key] = source[key];\n return acc;\n }, target);\n};\n\nvar decode = function (str, defaultDecoder, charset) {\n var strWithoutPlus = str.replace(/\\+/g, ' ');\n if (charset === 'iso-8859-1') {\n // unescape never throws, no try...catch needed:\n return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);\n }\n // utf-8\n try {\n return decodeURIComponent(strWithoutPlus);\n } catch (e) {\n return strWithoutPlus;\n }\n};\n\nvar limit = 1024;\n\n/* eslint operator-linebreak: [2, \"before\"] */\n\nvar encode = function encode(str, defaultEncoder, charset, kind, format) {\n // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n // It has been adapted here for stricter adherence to RFC 3986\n if (str.length === 0) {\n return str;\n }\n\n var string = str;\n if (typeof str === 'symbol') {\n string = Symbol.prototype.toString.call(str);\n } else if (typeof str !== 'string') {\n string = String(str);\n }\n\n if (charset === 'iso-8859-1') {\n return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {\n return '%26%23' + parseInt($0.slice(2), 16) + '%3B';\n });\n }\n\n var out = '';\n for (var j = 0; j < string.length; j += limit) {\n var segment = string.length >= limit ? string.slice(j, j + limit) : string;\n var arr = [];\n\n for (var i = 0; i < segment.length; ++i) {\n var c = segment.charCodeAt(i);\n if (\n c === 0x2D // -\n || c === 0x2E // .\n || c === 0x5F // _\n || c === 0x7E // ~\n || (c >= 0x30 && c <= 0x39) // 0-9\n || (c >= 0x41 && c <= 0x5A) // a-z\n || (c >= 0x61 && c <= 0x7A) // A-Z\n || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )\n ) {\n arr[arr.length] = segment.charAt(i);\n continue;\n }\n\n if (c < 0x80) {\n arr[arr.length] = hexTable[c];\n continue;\n }\n\n if (c < 0x800) {\n arr[arr.length] = hexTable[0xC0 | (c >> 6)]\n + hexTable[0x80 | (c & 0x3F)];\n continue;\n }\n\n if (c < 0xD800 || c >= 0xE000) {\n arr[arr.length] = hexTable[0xE0 | (c >> 12)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n continue;\n }\n\n i += 1;\n c = 0x10000 + (((c & 0x3FF) << 10) | (segment.charCodeAt(i) & 0x3FF));\n\n arr[arr.length] = hexTable[0xF0 | (c >> 18)]\n + hexTable[0x80 | ((c >> 12) & 0x3F)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n }\n\n out += arr.join('');\n }\n\n return out;\n};\n\nvar compact = function compact(value) {\n var queue = [{ obj: { o: value }, prop: 'o' }];\n var refs = [];\n\n for (var i = 0; i < queue.length; ++i) {\n var item = queue[i];\n var obj = item.obj[item.prop];\n\n var keys = Object.keys(obj);\n for (var j = 0; j < keys.length; ++j) {\n var key = keys[j];\n var val = obj[key];\n if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {\n queue.push({ obj: obj, prop: key });\n refs.push(val);\n }\n }\n }\n\n compactQueue(queue);\n\n return value;\n};\n\nvar isRegExp = function isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nvar isBuffer = function isBuffer(obj) {\n if (!obj || typeof obj !== 'object') {\n return false;\n }\n\n return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n};\n\nvar combine = function combine(a, b, arrayLimit, plainObjects) {\n // If 'a' is already an overflow object, add to it\n if (isOverflow(a)) {\n var newIndex = getMaxIndex(a) + 1;\n a[newIndex] = b;\n setMaxIndex(a, newIndex);\n return a;\n }\n\n var result = [].concat(a, b);\n if (result.length > arrayLimit) {\n return markOverflow(arrayToObject(result, { plainObjects: plainObjects }), result.length - 1);\n }\n return result;\n};\n\nvar maybeMap = function maybeMap(val, fn) {\n if (isArray(val)) {\n var mapped = [];\n for (var i = 0; i < val.length; i += 1) {\n mapped.push(fn(val[i]));\n }\n return mapped;\n }\n return fn(val);\n};\n\nmodule.exports = {\n arrayToObject: arrayToObject,\n assign: assign,\n combine: combine,\n compact: compact,\n decode: decode,\n encode: encode,\n isBuffer: isBuffer,\n isOverflow: isOverflow,\n isRegExp: isRegExp,\n maybeMap: maybeMap,\n merge: merge\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/qs/lib/utils.js?\n}");
1349
+
1350
+ /***/ },
1351
+
1352
+ /***/ "../../../node_modules/redux-saga/dist/redux-saga.esm.js"
1353
+ /*!***************************************************************!*\
1354
+ !*** ../../../node_modules/redux-saga/dist/redux-saga.esm.js ***!
1355
+ \***************************************************************/
1356
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1357
+
1358
+ "use strict";
1359
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ END: () => (/* reexport safe */ _redux_saga_core__WEBPACK_IMPORTED_MODULE_0__.END),\n/* harmony export */ \"default\": () => (/* reexport safe */ _redux_saga_core__WEBPACK_IMPORTED_MODULE_0__[\"default\"])\n/* harmony export */ });\n/* harmony import */ var _redux_saga_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @redux-saga/core */ \"../../../node_modules/@redux-saga/core/dist/redux-saga-core.development.esm.js\");\n\n\n\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/redux-saga/dist/redux-saga.esm.js?\n}");
1360
+
1361
+ /***/ },
1362
+
1363
+ /***/ "../../../node_modules/redux-saga/effects/dist/redux-saga-effects.esm.js"
1364
+ /*!*******************************************************************************!*\
1365
+ !*** ../../../node_modules/redux-saga/effects/dist/redux-saga-effects.esm.js ***!
1366
+ \*******************************************************************************/
1367
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1368
+
1369
+ "use strict";
1370
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ all: () => (/* reexport safe */ _redux_saga_core_effects__WEBPACK_IMPORTED_MODULE_0__.all),\n/* harmony export */ call: () => (/* reexport safe */ _redux_saga_core_effects__WEBPACK_IMPORTED_MODULE_0__.call),\n/* harmony export */ delay: () => (/* reexport safe */ _redux_saga_core_effects__WEBPACK_IMPORTED_MODULE_0__.delay),\n/* harmony export */ put: () => (/* reexport safe */ _redux_saga_core_effects__WEBPACK_IMPORTED_MODULE_0__.put),\n/* harmony export */ select: () => (/* reexport safe */ _redux_saga_core_effects__WEBPACK_IMPORTED_MODULE_0__.select),\n/* harmony export */ spawn: () => (/* reexport safe */ _redux_saga_core_effects__WEBPACK_IMPORTED_MODULE_0__.spawn),\n/* harmony export */ take: () => (/* reexport safe */ _redux_saga_core_effects__WEBPACK_IMPORTED_MODULE_0__.take),\n/* harmony export */ takeEvery: () => (/* reexport safe */ _redux_saga_core_effects__WEBPACK_IMPORTED_MODULE_0__.takeEvery),\n/* harmony export */ takeLatest: () => (/* reexport safe */ _redux_saga_core_effects__WEBPACK_IMPORTED_MODULE_0__.takeLatest)\n/* harmony export */ });\n/* harmony import */ var _redux_saga_core_effects__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @redux-saga/core/effects */ \"../../../node_modules/@redux-saga/core/effects/dist/redux-saga-core-effects.development.esm.js\");\n\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/redux-saga/effects/dist/redux-saga-effects.esm.js?\n}");
1371
+
1372
+ /***/ },
1373
+
1374
+ /***/ "../../../node_modules/redux/dist/redux.mjs"
1375
+ /*!**************************************************!*\
1376
+ !*** ../../../node_modules/redux/dist/redux.mjs ***!
1377
+ \**************************************************/
1378
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1379
+
1380
+ "use strict";
1381
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ applyMiddleware: () => (/* binding */ applyMiddleware),\n/* harmony export */ combineReducers: () => (/* binding */ combineReducers),\n/* harmony export */ createStore: () => (/* binding */ createStore)\n/* harmony export */ });\n/* unused harmony exports __DO_NOT_USE__ActionTypes, bindActionCreators, compose, isAction, isPlainObject, legacy_createStore */\n// src/utils/formatProdErrorMessage.ts\nfunction formatProdErrorMessage(code) {\n return `Minified Redux error #${code}; visit https://redux.js.org/Errors?code=${code} for the full message or use the non-minified dev environment for full errors. `;\n}\n\n// src/utils/symbol-observable.ts\nvar $$observable = /* @__PURE__ */ (() => typeof Symbol === \"function\" && Symbol.observable || \"@@observable\")();\nvar symbol_observable_default = $$observable;\n\n// src/utils/actionTypes.ts\nvar randomString = () => Math.random().toString(36).substring(7).split(\"\").join(\".\");\nvar ActionTypes = {\n INIT: `@@redux/INIT${/* @__PURE__ */ randomString()}`,\n REPLACE: `@@redux/REPLACE${/* @__PURE__ */ randomString()}`,\n PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${randomString()}`\n};\nvar actionTypes_default = ActionTypes;\n\n// src/utils/isPlainObject.ts\nfunction isPlainObject(obj) {\n if (typeof obj !== \"object\" || obj === null)\n return false;\n let proto = obj;\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n return Object.getPrototypeOf(obj) === proto || Object.getPrototypeOf(obj) === null;\n}\n\n// src/utils/kindOf.ts\nfunction miniKindOf(val) {\n if (val === void 0)\n return \"undefined\";\n if (val === null)\n return \"null\";\n const type = typeof val;\n switch (type) {\n case \"boolean\":\n case \"string\":\n case \"number\":\n case \"symbol\":\n case \"function\": {\n return type;\n }\n }\n if (Array.isArray(val))\n return \"array\";\n if (isDate(val))\n return \"date\";\n if (isError(val))\n return \"error\";\n const constructorName = ctorName(val);\n switch (constructorName) {\n case \"Symbol\":\n case \"Promise\":\n case \"WeakMap\":\n case \"WeakSet\":\n case \"Map\":\n case \"Set\":\n return constructorName;\n }\n return Object.prototype.toString.call(val).slice(8, -1).toLowerCase().replace(/\\s/g, \"\");\n}\nfunction ctorName(val) {\n return typeof val.constructor === \"function\" ? val.constructor.name : null;\n}\nfunction isError(val) {\n return val instanceof Error || typeof val.message === \"string\" && val.constructor && typeof val.constructor.stackTraceLimit === \"number\";\n}\nfunction isDate(val) {\n if (val instanceof Date)\n return true;\n return typeof val.toDateString === \"function\" && typeof val.getDate === \"function\" && typeof val.setDate === \"function\";\n}\nfunction kindOf(val) {\n let typeOfVal = typeof val;\n if (true) {\n typeOfVal = miniKindOf(val);\n }\n return typeOfVal;\n}\n\n// src/createStore.ts\nfunction createStore(reducer, preloadedState, enhancer) {\n if (typeof reducer !== \"function\") {\n throw new Error( false ? 0 : `Expected the root reducer to be a function. Instead, received: '${kindOf(reducer)}'`);\n }\n if (typeof preloadedState === \"function\" && typeof enhancer === \"function\" || typeof enhancer === \"function\" && typeof arguments[3] === \"function\") {\n throw new Error( false ? 0 : \"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.\");\n }\n if (typeof preloadedState === \"function\" && typeof enhancer === \"undefined\") {\n enhancer = preloadedState;\n preloadedState = void 0;\n }\n if (typeof enhancer !== \"undefined\") {\n if (typeof enhancer !== \"function\") {\n throw new Error( false ? 0 : `Expected the enhancer to be a function. Instead, received: '${kindOf(enhancer)}'`);\n }\n return enhancer(createStore)(reducer, preloadedState);\n }\n let currentReducer = reducer;\n let currentState = preloadedState;\n let currentListeners = /* @__PURE__ */ new Map();\n let nextListeners = currentListeners;\n let listenerIdCounter = 0;\n let isDispatching = false;\n function ensureCanMutateNextListeners() {\n if (nextListeners === currentListeners) {\n nextListeners = /* @__PURE__ */ new Map();\n currentListeners.forEach((listener, key) => {\n nextListeners.set(key, listener);\n });\n }\n }\n function getState() {\n if (isDispatching) {\n throw new Error( false ? 0 : \"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.\");\n }\n return currentState;\n }\n function subscribe(listener) {\n if (typeof listener !== \"function\") {\n throw new Error( false ? 0 : `Expected the listener to be a function. Instead, received: '${kindOf(listener)}'`);\n }\n if (isDispatching) {\n throw new Error( false ? 0 : \"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.\");\n }\n let isSubscribed = true;\n ensureCanMutateNextListeners();\n const listenerId = listenerIdCounter++;\n nextListeners.set(listenerId, listener);\n return function unsubscribe() {\n if (!isSubscribed) {\n return;\n }\n if (isDispatching) {\n throw new Error( false ? 0 : \"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.\");\n }\n isSubscribed = false;\n ensureCanMutateNextListeners();\n nextListeners.delete(listenerId);\n currentListeners = null;\n };\n }\n function dispatch(action) {\n if (!isPlainObject(action)) {\n throw new Error( false ? 0 : `Actions must be plain objects. Instead, the actual type was: '${kindOf(action)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);\n }\n if (typeof action.type === \"undefined\") {\n throw new Error( false ? 0 : 'Actions may not have an undefined \"type\" property. You may have misspelled an action type string constant.');\n }\n if (typeof action.type !== \"string\") {\n throw new Error( false ? 0 : `Action \"type\" property must be a string. Instead, the actual type was: '${kindOf(action.type)}'. Value was: '${action.type}' (stringified)`);\n }\n if (isDispatching) {\n throw new Error( false ? 0 : \"Reducers may not dispatch actions.\");\n }\n try {\n isDispatching = true;\n currentState = currentReducer(currentState, action);\n } finally {\n isDispatching = false;\n }\n const listeners = currentListeners = nextListeners;\n listeners.forEach((listener) => {\n listener();\n });\n return action;\n }\n function replaceReducer(nextReducer) {\n if (typeof nextReducer !== \"function\") {\n throw new Error( false ? 0 : `Expected the nextReducer to be a function. Instead, received: '${kindOf(nextReducer)}`);\n }\n currentReducer = nextReducer;\n dispatch({\n type: actionTypes_default.REPLACE\n });\n }\n function observable() {\n const outerSubscribe = subscribe;\n return {\n /**\n * The minimal observable subscription method.\n * @param observer Any object that can be used as an observer.\n * The observer object should have a `next` method.\n * @returns An object with an `unsubscribe` method that can\n * be used to unsubscribe the observable from the store, and prevent further\n * emission of values from the observable.\n */\n subscribe(observer) {\n if (typeof observer !== \"object\" || observer === null) {\n throw new Error( false ? 0 : `Expected the observer to be an object. Instead, received: '${kindOf(observer)}'`);\n }\n function observeState() {\n const observerAsObserver = observer;\n if (observerAsObserver.next) {\n observerAsObserver.next(getState());\n }\n }\n observeState();\n const unsubscribe = outerSubscribe(observeState);\n return {\n unsubscribe\n };\n },\n [symbol_observable_default]() {\n return this;\n }\n };\n }\n dispatch({\n type: actionTypes_default.INIT\n });\n const store = {\n dispatch,\n subscribe,\n getState,\n replaceReducer,\n [symbol_observable_default]: observable\n };\n return store;\n}\nfunction legacy_createStore(reducer, preloadedState, enhancer) {\n return createStore(reducer, preloadedState, enhancer);\n}\n\n// src/utils/warning.ts\nfunction warning(message) {\n if (typeof console !== \"undefined\" && typeof console.error === \"function\") {\n console.error(message);\n }\n try {\n throw new Error(message);\n } catch (e) {\n }\n}\n\n// src/combineReducers.ts\nfunction getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {\n const reducerKeys = Object.keys(reducers);\n const argumentName = action && action.type === actionTypes_default.INIT ? \"preloadedState argument passed to createStore\" : \"previous state received by the reducer\";\n if (reducerKeys.length === 0) {\n return \"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.\";\n }\n if (!isPlainObject(inputState)) {\n return `The ${argumentName} has unexpected type of \"${kindOf(inputState)}\". Expected argument to be an object with the following keys: \"${reducerKeys.join('\", \"')}\"`;\n }\n const unexpectedKeys = Object.keys(inputState).filter((key) => !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key]);\n unexpectedKeys.forEach((key) => {\n unexpectedKeyCache[key] = true;\n });\n if (action && action.type === actionTypes_default.REPLACE)\n return;\n if (unexpectedKeys.length > 0) {\n return `Unexpected ${unexpectedKeys.length > 1 ? \"keys\" : \"key\"} \"${unexpectedKeys.join('\", \"')}\" found in ${argumentName}. Expected to find one of the known reducer keys instead: \"${reducerKeys.join('\", \"')}\". Unexpected keys will be ignored.`;\n }\n}\nfunction assertReducerShape(reducers) {\n Object.keys(reducers).forEach((key) => {\n const reducer = reducers[key];\n const initialState = reducer(void 0, {\n type: actionTypes_default.INIT\n });\n if (typeof initialState === \"undefined\") {\n throw new Error( false ? 0 : `The slice reducer for key \"${key}\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);\n }\n if (typeof reducer(void 0, {\n type: actionTypes_default.PROBE_UNKNOWN_ACTION()\n }) === \"undefined\") {\n throw new Error( false ? 0 : `The slice reducer for key \"${key}\" returned undefined when probed with a random type. Don't try to handle '${actionTypes_default.INIT}' or other actions in \"redux/*\" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`);\n }\n });\n}\nfunction combineReducers(reducers) {\n const reducerKeys = Object.keys(reducers);\n const finalReducers = {};\n for (let i = 0; i < reducerKeys.length; i++) {\n const key = reducerKeys[i];\n if (true) {\n if (typeof reducers[key] === \"undefined\") {\n warning(`No reducer provided for key \"${key}\"`);\n }\n }\n if (typeof reducers[key] === \"function\") {\n finalReducers[key] = reducers[key];\n }\n }\n const finalReducerKeys = Object.keys(finalReducers);\n let unexpectedKeyCache;\n if (true) {\n unexpectedKeyCache = {};\n }\n let shapeAssertionError;\n try {\n assertReducerShape(finalReducers);\n } catch (e) {\n shapeAssertionError = e;\n }\n return function combination(state = {}, action) {\n if (shapeAssertionError) {\n throw shapeAssertionError;\n }\n if (true) {\n const warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);\n if (warningMessage) {\n warning(warningMessage);\n }\n }\n let hasChanged = false;\n const nextState = {};\n for (let i = 0; i < finalReducerKeys.length; i++) {\n const key = finalReducerKeys[i];\n const reducer = finalReducers[key];\n const previousStateForKey = state[key];\n const nextStateForKey = reducer(previousStateForKey, action);\n if (typeof nextStateForKey === \"undefined\") {\n const actionType = action && action.type;\n throw new Error( false ? 0 : `When called with an action of type ${actionType ? `\"${String(actionType)}\"` : \"(unknown type)\"}, the slice reducer for key \"${key}\" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`);\n }\n nextState[key] = nextStateForKey;\n hasChanged = hasChanged || nextStateForKey !== previousStateForKey;\n }\n hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length;\n return hasChanged ? nextState : state;\n };\n}\n\n// src/bindActionCreators.ts\nfunction bindActionCreator(actionCreator, dispatch) {\n return function(...args) {\n return dispatch(actionCreator.apply(this, args));\n };\n}\nfunction bindActionCreators(actionCreators, dispatch) {\n if (typeof actionCreators === \"function\") {\n return bindActionCreator(actionCreators, dispatch);\n }\n if (typeof actionCreators !== \"object\" || actionCreators === null) {\n throw new Error( false ? 0 : `bindActionCreators expected an object or a function, but instead received: '${kindOf(actionCreators)}'. Did you write \"import ActionCreators from\" instead of \"import * as ActionCreators from\"?`);\n }\n const boundActionCreators = {};\n for (const key in actionCreators) {\n const actionCreator = actionCreators[key];\n if (typeof actionCreator === \"function\") {\n boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);\n }\n }\n return boundActionCreators;\n}\n\n// src/compose.ts\nfunction compose(...funcs) {\n if (funcs.length === 0) {\n return (arg) => arg;\n }\n if (funcs.length === 1) {\n return funcs[0];\n }\n return funcs.reduce((a, b) => (...args) => a(b(...args)));\n}\n\n// src/applyMiddleware.ts\nfunction applyMiddleware(...middlewares) {\n return (createStore2) => (reducer, preloadedState) => {\n const store = createStore2(reducer, preloadedState);\n let dispatch = () => {\n throw new Error( false ? 0 : \"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.\");\n };\n const middlewareAPI = {\n getState: store.getState,\n dispatch: (action, ...args) => dispatch(action, ...args)\n };\n const chain = middlewares.map((middleware) => middleware(middlewareAPI));\n dispatch = compose(...chain)(store.dispatch);\n return {\n ...store,\n dispatch\n };\n };\n}\n\n// src/utils/isAction.ts\nfunction isAction(action) {\n return isPlainObject(action) && \"type\" in action && typeof action.type === \"string\";\n}\n\n//# sourceMappingURL=redux.mjs.map\n\n//# sourceURL=webpack://restaf/../../../node_modules/redux/dist/redux.mjs?\n}");
1382
+
1383
+ /***/ },
1384
+
1385
+ /***/ "../../../node_modules/side-channel-list/index.js"
1386
+ /*!********************************************************!*\
1387
+ !*** ../../../node_modules/side-channel-list/index.js ***!
1388
+ \********************************************************/
1389
+ (module, __unused_webpack_exports, __webpack_require__) {
1390
+
1391
+ "use strict";
1392
+ eval("{\n\nvar inspect = __webpack_require__(/*! object-inspect */ \"../../../node_modules/object-inspect/index.js\");\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"../../../node_modules/es-errors/type.js\");\n\n/*\n* This function traverses the list returning the node corresponding to the given key.\n*\n* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.\n* By doing so, all the recently used nodes can be accessed relatively quickly.\n*/\n/** @type {import('./list.d.ts').listGetNode} */\n// eslint-disable-next-line consistent-return\nvar listGetNode = function (list, key, isDelete) {\n\t/** @type {typeof list | NonNullable<(typeof list)['next']>} */\n\tvar prev = list;\n\t/** @type {(typeof list)['next']} */\n\tvar curr;\n\t// eslint-disable-next-line eqeqeq\n\tfor (; (curr = prev.next) != null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\tif (!isDelete) {\n\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\tcurr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);\n\t\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\t}\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\n/** @type {import('./list.d.ts').listGet} */\nvar listGet = function (objects, key) {\n\tif (!objects) {\n\t\treturn void undefined;\n\t}\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\n/** @type {import('./list.d.ts').listSet} */\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t});\n\t}\n};\n/** @type {import('./list.d.ts').listHas} */\nvar listHas = function (objects, key) {\n\tif (!objects) {\n\t\treturn false;\n\t}\n\treturn !!listGetNode(objects, key);\n};\n/** @type {import('./list.d.ts').listDelete} */\n// eslint-disable-next-line consistent-return\nvar listDelete = function (objects, key) {\n\tif (objects) {\n\t\treturn listGetNode(objects, key, true);\n\t}\n};\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannelList() {\n\t/** @typedef {ReturnType<typeof getSideChannelList>} Channel */\n\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t/** @type {import('./list.d.ts').RootNode<V, K> | undefined} */ var $o;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tvar root = $o && $o.next;\n\t\t\tvar deletedNode = listDelete($o, key);\n\t\t\tif (deletedNode && root && root === deletedNode) {\n\t\t\t\t$o = void undefined;\n\t\t\t}\n\t\t\treturn !!deletedNode;\n\t\t},\n\t\tget: function (key) {\n\t\t\treturn listGet($o, key);\n\t\t},\n\t\thas: function (key) {\n\t\t\treturn listHas($o, key);\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$o) {\n\t\t\t\t// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head\n\t\t\t\t$o = {\n\t\t\t\t\tnext: void undefined\n\t\t\t\t};\n\t\t\t}\n\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\tlistSet(/** @type {NonNullable<typeof $o>} */ ($o), key, value);\n\t\t}\n\t};\n\t// @ts-expect-error TODO: figure out why this is erroring\n\treturn channel;\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/side-channel-list/index.js?\n}");
1393
+
1394
+ /***/ },
1395
+
1396
+ /***/ "../../../node_modules/side-channel-map/index.js"
1397
+ /*!*******************************************************!*\
1398
+ !*** ../../../node_modules/side-channel-map/index.js ***!
1399
+ \*******************************************************/
1400
+ (module, __unused_webpack_exports, __webpack_require__) {
1401
+
1402
+ "use strict";
1403
+ eval("{\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../../node_modules/get-intrinsic/index.js\");\nvar callBound = __webpack_require__(/*! call-bound */ \"../../../node_modules/call-bound/index.js\");\nvar inspect = __webpack_require__(/*! object-inspect */ \"../../../node_modules/object-inspect/index.js\");\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"../../../node_modules/es-errors/type.js\");\nvar $Map = GetIntrinsic('%Map%', true);\n\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */\nvar $mapGet = callBound('Map.prototype.get', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K, value: V) => void} */\nvar $mapSet = callBound('Map.prototype.set', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */\nvar $mapHas = callBound('Map.prototype.has', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */\nvar $mapDelete = callBound('Map.prototype.delete', true);\n/** @type {<K, V>(thisArg: Map<K, V>) => number} */\nvar $mapSize = callBound('Map.prototype.size', true);\n\n/** @type {import('.')} */\nmodule.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function getSideChannelMap() {\n\t/** @typedef {ReturnType<typeof getSideChannelMap>} Channel */\n\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t/** @type {Map<K, V> | undefined} */ var $m;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tif ($m) {\n\t\t\t\tvar result = $mapDelete($m, key);\n\t\t\t\tif ($mapSize($m) === 0) {\n\t\t\t\t\t$m = void undefined;\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($m) {\n\t\t\t\treturn $mapGet($m, key);\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($m) {\n\t\t\t\treturn $mapHas($m, key);\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$m) {\n\t\t\t\t// @ts-expect-error TS can't handle narrowing a variable inside a closure\n\t\t\t\t$m = new $Map();\n\t\t\t}\n\t\t\t$mapSet($m, key, value);\n\t\t}\n\t};\n\n\t// @ts-expect-error TODO: figure out why TS is erroring here\n\treturn channel;\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/side-channel-map/index.js?\n}");
1404
+
1405
+ /***/ },
1406
+
1407
+ /***/ "../../../node_modules/side-channel-weakmap/index.js"
1408
+ /*!***********************************************************!*\
1409
+ !*** ../../../node_modules/side-channel-weakmap/index.js ***!
1410
+ \***********************************************************/
1411
+ (module, __unused_webpack_exports, __webpack_require__) {
1412
+
1413
+ "use strict";
1414
+ eval("{\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../../node_modules/get-intrinsic/index.js\");\nvar callBound = __webpack_require__(/*! call-bound */ \"../../../node_modules/call-bound/index.js\");\nvar inspect = __webpack_require__(/*! object-inspect */ \"../../../node_modules/object-inspect/index.js\");\nvar getSideChannelMap = __webpack_require__(/*! side-channel-map */ \"../../../node_modules/side-channel-map/index.js\");\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"../../../node_modules/es-errors/type.js\");\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\n\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K, value: V) => void} */\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */\nvar $weakMapDelete = callBound('WeakMap.prototype.delete', true);\n\n/** @type {import('.')} */\nmodule.exports = $WeakMap\n\t? /** @type {Exclude<import('.'), false>} */ function getSideChannelWeakMap() {\n\t\t/** @typedef {ReturnType<typeof getSideChannelWeakMap>} Channel */\n\t\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t\t/** @type {WeakMap<K & object, V> | undefined} */ var $wm;\n\t\t/** @type {Channel | undefined} */ var $m;\n\n\t\t/** @type {Channel} */\n\t\tvar channel = {\n\t\t\tassert: function (key) {\n\t\t\t\tif (!channel.has(key)) {\n\t\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t\t}\n\t\t\t},\n\t\t\t'delete': function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapDelete($wm, key);\n\t\t\t\t\t}\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif ($m) {\n\t\t\t\t\t\treturn $m['delete'](key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\tget: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn $m && $m.get(key);\n\t\t\t},\n\t\t\thas: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn !!$m && $m.has(key);\n\t\t\t},\n\t\t\tset: function (key, value) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif (!$wm) {\n\t\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t\t}\n\t\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif (!$m) {\n\t\t\t\t\t\t$m = getSideChannelMap();\n\t\t\t\t\t}\n\t\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\t\t/** @type {NonNullable<typeof $m>} */ ($m).set(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\t// @ts-expect-error TODO: figure out why this is erroring\n\t\treturn channel;\n\t}\n\t: getSideChannelMap;\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/side-channel-weakmap/index.js?\n}");
1415
+
1416
+ /***/ },
1417
+
1418
+ /***/ "../../../node_modules/side-channel/index.js"
1419
+ /*!***************************************************!*\
1420
+ !*** ../../../node_modules/side-channel/index.js ***!
1421
+ \***************************************************/
1422
+ (module, __unused_webpack_exports, __webpack_require__) {
1423
+
1424
+ "use strict";
1425
+ eval("{\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"../../../node_modules/es-errors/type.js\");\nvar inspect = __webpack_require__(/*! object-inspect */ \"../../../node_modules/object-inspect/index.js\");\nvar getSideChannelList = __webpack_require__(/*! side-channel-list */ \"../../../node_modules/side-channel-list/index.js\");\nvar getSideChannelMap = __webpack_require__(/*! side-channel-map */ \"../../../node_modules/side-channel-map/index.js\");\nvar getSideChannelWeakMap = __webpack_require__(/*! side-channel-weakmap */ \"../../../node_modules/side-channel-weakmap/index.js\");\n\nvar makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannel() {\n\t/** @typedef {ReturnType<typeof getSideChannel>} Channel */\n\n\t/** @type {Channel | undefined} */ var $channelData;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\treturn !!$channelData && $channelData['delete'](key);\n\t\t},\n\t\tget: function (key) {\n\t\t\treturn $channelData && $channelData.get(key);\n\t\t},\n\t\thas: function (key) {\n\t\t\treturn !!$channelData && $channelData.has(key);\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$channelData) {\n\t\t\t\t$channelData = makeChannel();\n\t\t\t}\n\n\t\t\t$channelData.set(key, value);\n\t\t}\n\t};\n\t// @ts-expect-error TODO: figure out why this is erroring\n\treturn channel;\n};\n\n\n//# sourceURL=webpack://restaf/../../../node_modules/side-channel/index.js?\n}");
1426
+
1427
+ /***/ },
1428
+
1429
+ /***/ "./actionTypes.js"
1430
+ /*!************************!*\
1431
+ !*** ./actionTypes.js ***!
1432
+ \************************/
1433
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1434
+
1435
+ "use strict";
1436
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ADD_SERVICE: () => (/* binding */ ADD_SERVICE),\n/* harmony export */ API_CALL: () => (/* binding */ API_CALL),\n/* harmony export */ API_CALL_PARALLEL: () => (/* binding */ API_CALL_PARALLEL),\n/* harmony export */ API_POLL: () => (/* binding */ API_POLL),\n/* harmony export */ API_STATUS: () => (/* binding */ API_STATUS),\n/* harmony export */ API_STATUS_ROOT: () => (/* binding */ API_STATUS_ROOT),\n/* harmony export */ API_STATUS_SETSTATE: () => (/* binding */ API_STATUS_SETSTATE),\n/* harmony export */ API_XSRF: () => (/* binding */ API_XSRF),\n/* harmony export */ API_XSRF_ROOT: () => (/* binding */ API_XSRF_ROOT),\n/* harmony export */ API_XSRF_SETSTATE: () => (/* binding */ API_XSRF_SETSTATE),\n/* harmony export */ APP_DATA: () => (/* binding */ APP_DATA),\n/* harmony export */ APP_DATA_ROOT: () => (/* binding */ APP_DATA_ROOT),\n/* harmony export */ APP_DATA_SETSTATE: () => (/* binding */ APP_DATA_SETSTATE),\n/* harmony export */ BEGIN_LOGOFF: () => (/* binding */ BEGIN_LOGOFF),\n/* harmony export */ BEGIN_LOGON: () => (/* binding */ BEGIN_LOGON),\n/* harmony export */ DELETE_RAF_OBJECT: () => (/* binding */ DELETE_RAF_OBJECT),\n/* harmony export */ KEEP_ALIVE: () => (/* binding */ KEEP_ALIVE),\n/* harmony export */ VIYA_LOGOFF: () => (/* binding */ VIYA_LOGOFF),\n/* harmony export */ VIYA_LOGOFF_COMPLETE: () => (/* binding */ VIYA_LOGOFF_COMPLETE),\n/* harmony export */ VIYA_LOGON: () => (/* binding */ VIYA_LOGON),\n/* harmony export */ VIYA_LOGON_COMPLETE: () => (/* binding */ VIYA_LOGON_COMPLETE),\n/* harmony export */ VIYA_LOGON_IMPLICIT: () => (/* binding */ VIYA_LOGON_IMPLICIT),\n/* harmony export */ VIYA_LOGON_PASSWORD: () => (/* binding */ VIYA_LOGON_PASSWORD),\n/* harmony export */ VIYA_LOGON_SERVER: () => (/* binding */ VIYA_LOGON_SERVER),\n/* harmony export */ VIYA_LOGON_TOKEN: () => (/* binding */ VIYA_LOGON_TOKEN)\n/* harmony export */ });\n/* unused harmony exports VIYA_LOGON_PROXY, ADD_SERVICE_COMPLETE, API_BEGIN, API_COMPLETE, API_POLL_BEGIN, API_POLL_COMPLETE, API_TKHTTP_ID */\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\nvar VIYA_LOGON = 'VIYA_LOGON';\nvar BEGIN_LOGON = 'BEGIN_LOGON';\nvar VIYA_LOGON_COMPLETE = 'VIYA_LOGON_COMPLETE';\nvar KEEP_ALIVE = 'KEEP_ALIVE';\nvar VIYA_LOGOFF = 'VIYA_LOGOFF';\nvar BEGIN_LOGOFF = 'BEGIN_LOGOFF';\nvar VIYA_LOGOFF_COMPLETE = 'VIYA_LOGOFF_COMPLETE';\nvar VIYA_LOGON_SERVER = 'server';\nvar VIYA_LOGON_PROXY = 'server';\nvar VIYA_LOGON_TOKEN = 'token';\nvar VIYA_LOGON_PASSWORD = 'password';\nvar VIYA_LOGON_IMPLICIT = 'implicit'; /* implies token */\n\nvar ADD_SERVICE = 'ADD_SERVICE';\nvar ADD_SERVICE_COMPLETE = 'ADD_SERVICE_COMPLETE';\nvar API_CALL = 'API_CALL';\nvar API_BEGIN = 'API_BEGIN';\nvar API_COMPLETE = 'API_COMPLETE';\nvar API_CALL_PARALLEL = 'API_PARALLEL';\nvar DELETE_RAF_OBJECT = 'DELETE_RAF_OBJECT';\nvar API_POLL = 'API_POLL';\nvar API_POLL_BEGIN = 'API_POLL_BEGIN';\nvar API_POLL_COMPLETE = 'API_POLL_COMPLETE';\nvar APP_DATA_ROOT = '_appdata';\nvar APP_DATA = 'APP_DATA';\nvar APP_DATA_SETSTATE = 'APP_DATA_SETSTATE';\nvar API_STATUS_ROOT = '_apistatus';\nvar API_STATUS = 'API_STATUS';\nvar API_STATUS_SETSTATE = 'API_STATUS_SETSTATE';\nvar API_XSRF_ROOT = '_xsrf';\nvar API_XSRF = 'API_XSRF';\nvar API_XSRF_SETSTATE = 'API_XSRF_SETSTATE';\nvar API_TKHTTP_ID = 'API_TKHTTP_ID';\n\n\n//# sourceURL=webpack://restaf/./actionTypes.js?\n}");
1437
+
1438
+ /***/ },
1439
+
1440
+ /***/ "./index.js"
1441
+ /*!******************!*\
1442
+ !*** ./index.js ***!
1443
+ \******************/
1444
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1445
+
1446
+ "use strict";
1447
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ endStore: () => (/* reexport safe */ _store_endStore_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n/* harmony export */ initStore: () => (/* reexport safe */ _store_initStore_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n/* harmony export */ restoreStore: () => (/* reexport safe */ _store_restoreStore_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])\n/* harmony export */ });\n/* harmony import */ var _store_initStore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./store/initStore.js */ \"./store/initStore.js\");\n/* harmony import */ var _store_endStore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./store/endStore.js */ \"./store/endStore.js\");\n/* harmony import */ var _store_restoreStore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./store/restoreStore.js */ \"./store/restoreStore.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n// import {initStore, endStore, restoreStore} from './store';\n\n\n//# sourceURL=webpack://restaf/./index.js?\n}");
1448
+
1449
+ /***/ },
1450
+
1451
+ /***/ "./reducers/baseReducer.js"
1452
+ /*!*********************************!*\
1453
+ !*** ./reducers/baseReducer.js ***!
1454
+ \*********************************/
1455
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1456
+
1457
+ "use strict";
1458
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _responseReducer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./responseReducer.js */ \"./reducers/responseReducer.js\");\n/* harmony import */ var immutable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\n/* harmony import */ var _utils_rootStruct_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/rootStruct.js */ \"./utils/rootStruct.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\nvar baseReducer = function baseReducer(root) {\n return function () {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (0,immutable__WEBPACK_IMPORTED_MODULE_2__.fromJS)((0,_utils_rootStruct_js__WEBPACK_IMPORTED_MODULE_3__.tLinkStruct)(root, 'links', root));\n var action = arguments.length > 1 ? arguments[1] : undefined;\n switch (action.type) {\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.DELETE_RAF_OBJECT:\n {\n var searchPath = action.route.split(':/');\n var path = searchPath.slice(1);\n var parent = state.getIn(path);\n var newState = state.deleteIn(path);\n return newState;\n }\n case root + '_' + _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.ADD_SERVICE + '_BEGIN':\n {\n return state.set('runStatus', 'busy').set('route', root);\n }\n case root + '_' + _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.ADD_SERVICE + '_COMPLETE':\n {\n var result = (0,_responseReducer_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(action, [root]);\n result.resultType = 'application/vnd.sas.api';\n result.raw = _objectSpread({}, action.payload);\n result.responseHeaders = _objectSpread({}, result.raw.headers);\n result.route = root; // Need this for potential routing\n return (0,immutable__WEBPACK_IMPORTED_MODULE_2__.fromJS)(result);\n }\n case root + '_' + _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.API_CALL + '_BEGIN':\n case root + '_' + _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.API_POLL + '_BEGIN':\n {\n //noinspection JSUnresolvedVariable\n\n var config = action.config;\n var paginator = config.paginator;\n var _searchPath = config.route.split(':/');\n var _path = _searchPath.slice(paginator === true ? 1 : 2);\n var _parent = state.getIn(_path);\n\n // let payload = {...config.payload };\n // delete payload.route;\n // parent = parent.set( 'runStatus', 'busy' ).set( 'payload', fromJS( payload ) );\n\n _parent = _parent.set('runStatus', 'busy');\n _path = _searchPath.slice(1);\n return state.setIn(_path, _parent);\n }\n case root + '_' + _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.API_CALL + '_COMPLETE':\n case root + '_' + _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.API_POLL + '_COMPLETE':\n {\n /* */\n //noinspection JSUnresolvedVariable\n\n var _config = action.config;\n var _searchPath2 = _config.route.split(':/');\n var _path2 = _searchPath2.slice(1);\n var raw = Object.assign({}, action.payload);\n var _result = (0,_responseReducer_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(action, _searchPath2);\n _result.raw = raw;\n if (_result.type === 'links' && _result.resultType == undefined) {\n _result.resultType = 'application/vnd.sas.api';\n }\n var method = action.config.link.method;\n _result.title = action.config.link.href;\n _result.responseHeaders = _objectSpread({}, raw.headers);\n _result.route = _searchPath2.join(':/');\n var newParent = (0,immutable__WEBPACK_IMPORTED_MODULE_2__.fromJS)(_result);\n var nState = state.setIn(_path2, newParent);\n return nState;\n }\n case root + '_' + _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.APP_DATA + '_SETSTATE':\n {\n var _action$payload = action.payload,\n route = _action$payload.route,\n payload = _action$payload.payload;\n var userData = state.get('userData');\n if (Array.isArray(route)) {\n userData = userData.setIn(route, (0,immutable__WEBPACK_IMPORTED_MODULE_2__.fromJS)(payload));\n } else {\n userData = userData.set(route, (0,immutable__WEBPACK_IMPORTED_MODULE_2__.fromJS)(payload));\n }\n return state.set('userData', userData);\n }\n case root + '_' + _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.API_XSRF + '_SETSTATE':\n {\n var _action$payload2 = action.payload,\n _route = _action$payload2.route,\n _payload = _action$payload2.payload;\n var _userData = state.get('userData');\n if (Array.isArray(_route)) {\n _userData = _userData.setIn(_route, (0,immutable__WEBPACK_IMPORTED_MODULE_2__.fromJS)(_payload));\n } else {\n _userData = _userData.set(_route, (0,immutable__WEBPACK_IMPORTED_MODULE_2__.fromJS)(_payload));\n }\n return state.set('userData', _userData);\n }\n case root + '_' + _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.API_STATUS + '_SETSTATE':\n {\n var _payload2 = action.payload.payload;\n var jobContext = _payload2.jobContext;\n var _userData2 = state.get('userData');\n var routeList = state.get('routeList').push(jobContext);\n _userData2 = _userData2.set(jobContext, (0,immutable__WEBPACK_IMPORTED_MODULE_2__.fromJS)(_payload2));\n return state.set('userData', _userData2).set('routeList', routeList);\n }\n default:\n {\n return state;\n }\n }\n };\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseReducer);\n\n//# sourceURL=webpack://restaf/./reducers/baseReducer.js?\n}");
1459
+
1460
+ /***/ },
1461
+
1462
+ /***/ "./reducers/createReducer.js"
1463
+ /*!***********************************!*\
1464
+ !*** ./reducers/createReducer.js ***!
1465
+ \***********************************/
1466
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1467
+
1468
+ "use strict";
1469
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux */ \"../../../node_modules/redux/dist/redux.mjs\");\n/* harmony import */ var _baseReducer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./baseReducer.js */ \"./reducers/baseReducer.js\");\n/* harmony import */ var _viyaLogon_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./viyaLogon.js */ \"./reducers/viyaLogon.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/*\n* Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\n* SPDX-License-Identifier: Apache-2.0\n*/\n;\n\n\n\n\nvar createReducer = function createReducer(asyncReducer) {\n var reducerList = {};\n reducerList['connections'] = _viyaLogon_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"];\n reducerList[_actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.API_STATUS_ROOT] = (0,_baseReducer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.API_STATUS_ROOT);\n reducerList[_actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.APP_DATA_ROOT] = (0,_baseReducer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.APP_DATA_ROOT);\n reducerList[_actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.API_XSRF_ROOT] = (0,_baseReducer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.API_XSRF_ROOT);\n reducerList = _objectSpread(_objectSpread({}, reducerList), asyncReducer);\n return (0,redux__WEBPACK_IMPORTED_MODULE_1__.combineReducers)(reducerList);\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createReducer);\n\n//# sourceURL=webpack://restaf/./reducers/createReducer.js?\n}");
1470
+
1471
+ /***/ },
1472
+
1473
+ /***/ "./reducers/injectAsyncReducers.js"
1474
+ /*!*****************************************!*\
1475
+ !*** ./reducers/injectAsyncReducers.js ***!
1476
+ \*****************************************/
1477
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1478
+
1479
+ "use strict";
1480
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _createReducer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createReducer.js */ \"./reducers/createReducer.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\n// https://stackoverflow.com/questions/32968016/how-to-dynamically-load-reducers-for-code-splitting-in-a-redux-application/33044701#33044701\nvar injectAsyncReducers = function injectAsyncReducers(store, name, asyncReducer) {\n if (store.asyncReducers.hasOwnProperty(name)) {\n delete store.asyncReducers[name];\n }\n store.asyncReducers[name] = asyncReducer;\n store.replaceReducer((0,_createReducer_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store.asyncReducers));\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (injectAsyncReducers);\n\n//# sourceURL=webpack://restaf/./reducers/injectAsyncReducers.js?\n}");
1481
+
1482
+ /***/ },
1483
+
1484
+ /***/ "./reducers/responseReducer.js"
1485
+ /*!*************************************!*\
1486
+ !*** ./reducers/responseReducer.js ***!
1487
+ \*************************************/
1488
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1489
+
1490
+ "use strict";
1491
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../../../node_modules/@babel/runtime/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/index.js */ \"./utils/index.js\");\n/* harmony import */ var _utils_rootStruct_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/rootStruct.js */ \"./utils/rootStruct.js\");\n\n\n\nfunction _createForOfIteratorHelper(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); 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) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\n\nvar responseReducer = function responseReducer(action, parentPath) {\n var response = null;\n /* */\n\n if (action.error === true) {\n response = (0,_utils_rootStruct_js__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)('error', 'error');\n response.link = action.config.href;\n response.runStatus = 'error';\n response.statusInfo = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_3__.setBadStatus)(action.payload);\n return response;\n }\n var results = action.payload.data.results;\n var contentType = '';\n if (results.hasOwnProperty('accept') === true) {\n contentType = results.accept;\n } else if (action.payload.headers.hasOwnProperty('content-type') === true) {\n contentType = action.payload.headers['content-type'].split(';')[0].split('+json')[0];\n } else {\n if (action.payload.status === 204) {\n contentType = 'No Content';\n }\n }\n\n // results with a list of items\n if (results.hasOwnProperty('items')) {\n response = itemsReducer(results, parentPath);\n response.resultType = results.accept == undefined ? contentType : results.accept;\n\n // result has links and data\n } else if (results.hasOwnProperty('links')) {\n /* got just links */\n\n response = tLinkReducer(results.links, parentPath);\n var data = _objectSpread({}, results);\n delete data.links;\n // Need to handle the cases as in vnd.sas.data.row.set which return data with no items array\n\n for (var key in data) {\n if (key !== 'version') {\n response.type = 'data'; // change type of link to data\n break;\n }\n }\n response.items = {\n resultType: 'data',\n data: data,\n cmds: null\n };\n response.resultType = contentType;\n\n // plain data case - no links at the top level\n } else {\n response = (0,_utils_rootStruct_js__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)('data', 'data');\n response.type = 'data';\n response.resultType = contentType;\n response.items = {\n resultType: contentType,\n /* data : (typeof results === 'string' || typeof results === 'boolean') ? results : Object.assign({}, results),*/\n\n data: (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(results) === 'object' ? Object.assign({}, results) : results,\n cmds: null\n };\n }\n\n /* response.raw = Object.assign( {}, results );*/\n //noinspection JSUnresolvedVariable\n\n response.link = action.config.link.href;\n response.runStatus = 'ready';\n response.statusInfo = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_3__.setGoodStatus)(action.payload);\n var c = action.config;\n var hc = action.payload.config;\n var temp = hc.url.split('/');\n response.host = \"\".concat(temp[0], \"//\").concat(temp[2]);\n response.iconfig = {\n input: {\n link: _objectSpread({}, c.link),\n payload: c.hasOwnProperty('payload') ? Object.assign({}, c.payload) : {}\n },\n http: {\n url: hc.url,\n payload: {\n headers: [].concat(hc.headers),\n data: hc.data == null ? {} : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(hc.data) === 'object' ? Object.assign({}, hc.data) : hc.data,\n qs: hc.params == null ? {} : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(hc.params) === 'object' ? Object.assign({}, hc.params) : hc.params\n }\n }\n };\n return response;\n};\nfunction tLinkReducer(iLinks, parentPath) {\n var r = (0,_utils_rootStruct_js__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)(parentPath[parentPath.length - 1], 'links');\n if (iLinks === null || iLinks.length === 0) {\n return r;\n }\n r.links = setupRelPaths(iLinks, parentPath, 'lcmds');\n r.type = 'links';\n r.scrollCmds = setupRelPaths(iLinks, parentPath, 'scrollCmds');\n return r;\n}\nfunction setupRelPaths(iLinks, parentPath, subType) {\n var subCmds = ['next', 'prev', 'first', 'last'];\n var tlinks;\n if (subType === 'links') {\n tlinks = iLinks;\n } else if (subType === 'cmds' || subType === 'lcmds') {\n tlinks = iLinks.filter(function (l) {\n return !subCmds.includes(l.rel);\n });\n } else if (subType === 'scrollCmds') {\n tlinks = iLinks.filter(function (l) {\n return subCmds.includes(l.rel);\n });\n } else {\n tlinks = iLinks;\n }\n if (subType === 'lcmds') {\n subType = 'links';\n }\n var tSearchPath = [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(parentPath), [subType]);\n var linksMap = {};\n tlinks.map(function (l) {\n var ts = [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(tSearchPath), [l.rel]);\n if (l.hasOwnProperty('title') === false) {\n l.title = l.rel;\n }\n var lx = {\n link: _objectSpread({}, l),\n method: l.method,\n route: ts.join(':/'),\n parentRoute: (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(parentPath).join(':/'),\n paginator: subCmds.includes(l.rel)\n };\n linksMap[l.rel] = _objectSpread(_objectSpread({}, (0,_utils_rootStruct_js__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)(l.title, subType)), lx);\n });\n return linksMap;\n}\nfunction itemsReducer(results, parentPath) {\n var idList = [];\n var rows = {};\n var response = (0,_utils_rootStruct_js__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)(parentPath[parentPath.length - 1], 'links');\n var itemsResponse = (0,_utils_rootStruct_js__WEBPACK_IMPORTED_MODULE_4__.itemsStruct)();\n response.resultType = results.accept;\n response.details = setDetails(results);\n if (results.hasOwnProperty('name')) {\n itemsResponse.name = results.name;\n }\n if (results.hasOwnProperty('links')) {\n response.links = setupRelPaths(results.links, parentPath, 'lcmds');\n response.scrollCmds = setupRelPaths(results.links, parentPath, 'scrollCmds');\n }\n if (Array.isArray(results.items) === false) {\n itemsResponse.data = results.items;\n itemsResponse.resultType = results.accept;\n if (results.items.hasOwnProperty('customHandling')) {\n itemsResponse.type = results.items.customHandling;\n response.type = results.items.customHandling;\n } else {\n itemsResponse.type = 'items';\n response.type = 'items';\n }\n response.items = itemsResponse;\n return response;\n }\n if (results.items.length === 0) {\n itemsResponse.resultType = results.accept;\n itemsResponse.data = [];\n itemsResponse.type = 'itemsList';\n response.type = 'itemsList';\n response.items = itemsResponse;\n response.itemsList = [];\n return response;\n } else if (results.items[0].hasOwnProperty('links')) {\n var index = -1;\n var prevName = ''; /* need for models since they allow duplicate names - ugh! */\n var _iterator = _createForOfIteratorHelper(results.items),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var item = _step.value;\n index++;\n var name = void 0;\n if (item.hasOwnProperty('name2')) {\n name = item.name2;\n } else {\n name = item.hasOwnProperty('name') ? item.name : item.hasOwnProperty('id') ? item.id : \"\".concat(index);\n }\n if (prevName === name) {\n var rev = item.hasOwnProperty('id') === true ? item.id : index;\n name = \"\".concat(name, \"_\").concat(rev);\n } else {\n prevName = name;\n }\n idList.push(name);\n var tRoute = [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(parentPath), ['items', 'data', name]);\n var rowcmds = setupRelPaths(item.links, tRoute, 'cmds');\n var data = _objectSpread({}, item);\n delete data.links;\n var row = (0,_utils_rootStruct_js__WEBPACK_IMPORTED_MODULE_4__.itemsStruct)();\n row.type = 'itemRow';\n row.name = name;\n row.resultType = data.hasOwnProperty('contentType') === true ? data['contentType'] : 'unknown';\n row.cmds = rowcmds;\n row.data = data;\n rows[name] = row;\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n itemsResponse.data = rows;\n itemsResponse.resultType = results.accept;\n itemsResponse.type = 'itemsList';\n response.itemsList = [].concat(idList);\n response.type = 'itemsList';\n } else {\n itemsResponse.data = (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(results.items);\n itemsResponse.resultType = results.accept;\n itemsResponse.type = 'itemsArray';\n response.type = 'itemsArray';\n }\n response.items = itemsResponse;\n return response;\n}\nfunction setDetails(results) {\n var r = _objectSpread({}, results);\n if (r.hasOwnProperty('links')) {\n delete r.links;\n }\n if (r.hasOwnProperty('items')) {\n delete r.items;\n }\n return r;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (responseReducer);\n\n//# sourceURL=webpack://restaf/./reducers/responseReducer.js?\n}");
1492
+
1493
+ /***/ },
1494
+
1495
+ /***/ "./reducers/viyaLogon.js"
1496
+ /*!*******************************!*\
1497
+ !*** ./reducers/viyaLogon.js ***!
1498
+ \*******************************/
1499
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1500
+
1501
+ "use strict";
1502
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var immutable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/index.js */ \"./utils/index.js\");\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\nvar initialState = (0,immutable__WEBPACK_IMPORTED_MODULE_1__.fromJS)({\n connections: [],\n user: 'none',\n type: 'server',\n currentConnection: -1,\n statusInfo: (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_3__.statusInfoStruct)(),\n runStatus: 'idle'\n});\nfunction viyaLogon() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n var action = arguments.length > 1 ? arguments[1] : undefined;\n switch (action.type) {\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.BEGIN_LOGON:\n {\n return state.set('runStatus', 'busy');\n }\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGON_SERVER:\n {\n var config = action.payload.iconfig;\n var newOne = {\n type: 'server',\n id: 1,\n user: 'You',\n desc: 'Server',\n logonInfo: {\n type: 'server',\n host: config.host,\n protocol: config.host.indexOf('https') !== -1 ? 'https://' : 'http://',\n options: config.options == null ? {} : config.options,\n tokenType: config.hasOwnProperty('tokenType') === true ? config.tokenType : null,\n token: config.hasOwnProperty('token') === true ? config.token : null,\n sslOptions: config.hasOwnProperty('sslOptions') === true ? config.sslOptions : null,\n // the next two are here for backward compatability but sslOptions is the correct way\n\n pem: config.hasOwnProperty('pem') ? config.pem : null,\n rejectUnauthorized: config.hasOwnProperty('rejectUnauthorized') ? config.rejectUnauthorized : null,\n withCredentials: config.hasOwnProperty('withCredentials') ? config.withCredentials : true,\n keepAlive: config.hasOwnProperty('keepAlive') ? config.keepAlive : null\n }\n };\n var temp = {\n currentConnection: state.get('currentConnection') + 1,\n runStatus: 'ready',\n statusInfo: {},\n user: 'You of course!',\n connections: [newOne]\n };\n return (0,immutable__WEBPACK_IMPORTED_MODULE_1__.fromJS)(temp);\n }\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGON_IMPLICIT:\n {\n var _config = action.payload.iconfig;\n if (action.error === true) {\n return state.withMutations(function (s) {\n s.set('runStatus', 'error').set('statusInfo', (0,immutable__WEBPACK_IMPORTED_MODULE_1__.fromJS)((0,_utils_index_js__WEBPACK_IMPORTED_MODULE_3__.setBadStatus)(action.payload)));\n });\n }\n var _newOne = {\n type: 'implicit',\n id: 1,\n user: 'You',\n desc: 'implicit',\n logonInfo: _objectSpread({}, _config)\n };\n var _temp = {\n currentConnection: state.get('currentConnection') + 1,\n runStatus: 'ready',\n statusInfo: {},\n user: 'You of course!',\n connections: [_newOne]\n };\n return (0,immutable__WEBPACK_IMPORTED_MODULE_1__.fromJS)(_temp);\n }\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGON_COMPLETE:\n {\n if (action.error === true) {\n return state.withMutations(function (s) {\n s.set('runStatus', 'error').set('statusInfo', (0,immutable__WEBPACK_IMPORTED_MODULE_1__.fromJS)((0,_utils_index_js__WEBPACK_IMPORTED_MODULE_3__.setBadStatus)(action.payload)));\n });\n }\n var _temp2 = {\n currentConnection: state.get('currentConnection') + 1,\n runStatus: 'ready',\n statusInfo: (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_3__.setGoodStatus)(action.payload),\n user: action.payload.data.iconfig.user\n };\n return state.withMutations(function (s) {\n //noinspection JSUnresolvedFunction\n s.set('connections', s.get('connections').push((0,immutable__WEBPACK_IMPORTED_MODULE_1__.Map)(newConnection(action.payload)))).merge((0,immutable__WEBPACK_IMPORTED_MODULE_1__.fromJS)(_temp2));\n });\n }\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGOFF:\n {\n return state;\n }\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.BEGIN_LOGOFF:\n {\n return state.set('runStatus', 'busy');\n }\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGOFF_COMPLETE:\n {\n if (action.error === true) {\n return state.withMutations(function (s) {\n s.set('runStatus', 'error').set('statusInfo', (0,immutable__WEBPACK_IMPORTED_MODULE_1__.fromJS)((0,_utils_index_js__WEBPACK_IMPORTED_MODULE_3__.setBadStatus)(action.payload)));\n });\n }\n return initialState;\n }\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.KEEP_ALIVE:\n {\n return state;\n }\n default:\n return state;\n }\n}\nfunction newConnection(payload) {\n var _payload$data = payload.data,\n results = _payload$data.results,\n iconfig = _payload$data.iconfig;\n return {\n type: 'connection',\n id: 1,\n user: iconfig.user,\n desc: iconfig.desc,\n logonInfo: {\n type: 'trusted',\n host: iconfig.host,\n tokenType: results['token_type'],\n token: results['access_token'],\n refresh_token: results['refresh_token'],\n sslOptions: iconfig.sslOptions,\n // rejectUnauthorized: (iconfig.hasOwnProperty('rejectUnauthorized')) ? iconfig.rejectUnauthorized : null,\n\n keepAlive: iconfig.keepAlive == null ? null : iconfig.keepAlive\n },\n statusInfo: (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_3__.setGoodStatus)(payload)\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (viyaLogon);\n\n//# sourceURL=webpack://restaf/./reducers/viyaLogon.js?\n}");
1503
+
1504
+ /***/ },
1505
+
1506
+ /***/ "./sagas/apiCall.js"
1507
+ /*!**************************!*\
1508
+ !*** ./sagas/apiCall.js ***!
1509
+ \**************************/
1510
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1511
+
1512
+ "use strict";
1513
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/effects/dist/redux-saga-effects.esm.js\");\n/* harmony import */ var _httpCall_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./httpCall.js */ \"./sagas/httpCall.js\");\n/* harmony import */ var _store_selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../store/selectLogonInfo.js */ \"./store/selectLogonInfo.js\");\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(apiCall);\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n;\n\n\n\n\nfunction apiCall(action) {\n var config, payload;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n config = _objectSpread({}, action);\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(_store_selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n case 1:\n config.logonInfo = _context.sent;\n _context.next = 2;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: config.serviceName + '_' + action.type + '_BEGIN',\n config: config\n });\n case 2:\n if (!(action.delay > 0)) {\n _context.next = 3;\n break;\n }\n _context.next = 3;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.delay)(action.delay * 1000);\n case 3:\n _context.next = 4;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(_httpCall_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"], config);\n case 4:\n payload = _context.sent;\n _context.next = 5;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(payload);\n case 5:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCall);\n\n//# sourceURL=webpack://restaf/./sagas/apiCall.js?\n}");
1514
+
1515
+ /***/ },
1516
+
1517
+ /***/ "./sagas/apiCallAction.js"
1518
+ /*!********************************!*\
1519
+ !*** ./sagas/apiCallAction.js ***!
1520
+ \********************************/
1521
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1522
+
1523
+ "use strict";
1524
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/effects/dist/redux-saga-effects.esm.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/* harmony import */ var _apiCall_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCall.js */ \"./sagas/apiCall.js\");\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(apiCallAction);\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n;\n\n\n\nfunction apiCallAction() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.takeEvery)([_actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.ADD_SERVICE, _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.API_CALL], _apiCall_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCallAction);\n\n//# sourceURL=webpack://restaf/./sagas/apiCallAction.js?\n}");
1525
+
1526
+ /***/ },
1527
+
1528
+ /***/ "./sagas/apiCallAllAction.js"
1529
+ /*!***********************************!*\
1530
+ !*** ./sagas/apiCallAllAction.js ***!
1531
+ \***********************************/
1532
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1533
+
1534
+ "use strict";
1535
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/effects/dist/redux-saga-effects.esm.js\");\n/* harmony import */ var _store_selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../store/selectLogonInfo.js */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(apiCallAllAction),\n _marked2 = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(yieldAll),\n _marked3 = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(setupService);\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n;\n\n\n\n\nfunction apiCallAllAction() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.takeEvery)(_actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.API_CALL_PARALLEL, yieldAll);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\nfunction yieldAll(action) {\n var config, actionArray, i, l, result, r, _t, _t2;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n config = {};\n actionArray = action.actionArray;\n for (i = 0; i < actionArray.length; i++) {\n l = \"l\".concat(i);\n config[l] = (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(setupService, actionArray[i]);\n }\n _context2.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.all)(config);\n case 1:\n result = _context2.sent;\n _t = _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().keys(result);\n case 2:\n if ((_t2 = _t()).done) {\n _context2.next = 4;\n break;\n }\n r = _t2.value;\n _context2.next = 3;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(result[r]);\n case 3:\n _context2.next = 2;\n break;\n case 4:\n case \"end\":\n return _context2.stop();\n }\n }, _marked2);\n}\nfunction setupService(action) {\n var config;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context3) {\n while (1) switch (_context3.prev = _context3.next) {\n case 0:\n config = _objectSpread({}, action);\n _context3.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(_store_selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n case 1:\n config.logonInfo = _context3.sent;\n _context3.next = 2;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: config.serviceName + '_' + config.type + '_BEGIN',\n config: config\n });\n case 2:\n return _context3.abrupt(\"return\", config);\n case 3:\n case \"end\":\n return _context3.stop();\n }\n }, _marked3);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCallAllAction);\n\n//# sourceURL=webpack://restaf/./sagas/apiCallAllAction.js?\n}");
1536
+
1537
+ /***/ },
1538
+
1539
+ /***/ "./sagas/apiPoll.js"
1540
+ /*!**************************!*\
1541
+ !*** ./sagas/apiPoll.js ***!
1542
+ \**************************/
1543
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1544
+
1545
+ "use strict";
1546
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/effects/dist/redux-saga-effects.esm.js\");\n/* harmony import */ var _httpCallWait_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./httpCallWait.js */ \"./sagas/httpCallWait.js\");\n/* harmony import */ var _store_selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../store/selectLogonInfo.js */ \"./store/selectLogonInfo.js\");\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(apiPoll);\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n;\n\n\n\n\nfunction apiPoll(action) {\n var config, payload;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n config = _objectSpread({}, action);\n payload = null;\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(_store_selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n case 1:\n config.logonInfo = _context.sent;\n _context.next = 2;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: config.serviceName + '_' + action.type + '_BEGIN',\n config: config\n });\n case 2:\n _context.next = 3;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(_httpCallWait_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"], config);\n case 3:\n payload = _context.sent;\n if (!config.delay) {\n _context.next = 4;\n break;\n }\n _context.next = 4;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.delay)(config.delay * 1000);\n case 4:\n if (payload === null) {\n _context.next = 2;\n break;\n }\n case 5:\n _context.next = 6;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(payload);\n case 6:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiPoll);\n\n//# sourceURL=webpack://restaf/./sagas/apiPoll.js?\n}");
1547
+
1548
+ /***/ },
1549
+
1550
+ /***/ "./sagas/apiPollAction.js"
1551
+ /*!********************************!*\
1552
+ !*** ./sagas/apiPollAction.js ***!
1553
+ \********************************/
1554
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1555
+
1556
+ "use strict";
1557
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/effects/dist/redux-saga-effects.esm.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/* harmony import */ var _apiPoll_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiPoll.js */ \"./sagas/apiPoll.js\");\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(apiPollAction);\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n;\n\n\n\nfunction apiPollAction() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.takeEvery)([_actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.API_POLL], _apiPoll_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiPollAction);\n\n//# sourceURL=webpack://restaf/./sagas/apiPollAction.js?\n}");
1558
+
1559
+ /***/ },
1560
+
1561
+ /***/ "./sagas/appDataAction.js"
1562
+ /*!********************************!*\
1563
+ !*** ./sagas/appDataAction.js ***!
1564
+ \********************************/
1565
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1566
+
1567
+ "use strict";
1568
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/effects/dist/redux-saga-effects.esm.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(apiDataAction),\n _marked2 = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(appData);\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n;\n\n\n\n\n\nfunction apiDataAction() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.takeEvery)([_actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.APP_DATA, _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.API_STATUS, _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.API_XSRF], appData);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\nfunction appData(action) {\n var newType, config, _t;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n _t = action.type;\n _context2.next = _t === _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.APP_DATA ? 1 : _t === _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.API_STATUS ? 2 : 3;\n break;\n case 1:\n newType = _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.APP_DATA_ROOT + '_' + _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.APP_DATA_SETSTATE;\n return _context2.abrupt(\"continue\", 4);\n case 2:\n newType = _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.API_STATUS_ROOT + '_' + _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.API_STATUS_SETSTATE;\n return _context2.abrupt(\"continue\", 4);\n case 3:\n newType = _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.API_XSRF_ROOT + '_' + _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.API_XSRF_SETSTATE;\n return _context2.abrupt(\"continue\", 4);\n case 4:\n config = {\n type: newType,\n payload: action\n };\n _context2.next = 5;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.put)(config);\n case 5:\n case \"end\":\n return _context2.stop();\n }\n }, _marked2);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiDataAction);\n\n//# sourceURL=webpack://restaf/./sagas/appDataAction.js?\n}");
1569
+
1570
+ /***/ },
1571
+
1572
+ /***/ "./sagas/httpCall.js"
1573
+ /*!***************************!*\
1574
+ !*** ./sagas/httpCall.js ***!
1575
+ \***************************/
1576
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1577
+
1578
+ "use strict";
1579
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _serverCalls_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../serverCalls/index.js */ \"./serverCalls/index.js\");\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n;\n\nfunction httpCall(config) {\n if (config.logonInfo === null) {\n return httpDone({\n error: 'Please logon'\n }, config, true);\n } else {\n return (0,_serverCalls_index_js__WEBPACK_IMPORTED_MODULE_0__.request)(config).then(function (response) {\n return httpDone(response, config, false);\n }).catch(function (error) {\n return httpDone(error, config, true);\n });\n }\n}\nfunction httpDone(payload, config, error) {\n return {\n error: error,\n type: config.serviceName + '_' + config.type + '_COMPLETE',\n config: config,\n payload: payload\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (httpCall);\n\n//# sourceURL=webpack://restaf/./sagas/httpCall.js?\n}");
1580
+
1581
+ /***/ },
1582
+
1583
+ /***/ "./sagas/httpCallWait.js"
1584
+ /*!*******************************!*\
1585
+ !*** ./sagas/httpCallWait.js ***!
1586
+ \*******************************/
1587
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1588
+
1589
+ "use strict";
1590
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../../../node_modules/@babel/runtime/helpers/esm/typeof.js\");\n/* harmony import */ var _serverCalls_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../serverCalls/index.js */ \"./serverCalls/index.js\");\n\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n;\n\nfunction httpCallWait(config) {\n var states = ['running', 'pending'];\n var flag;\n return (0,_serverCalls_index_js__WEBPACK_IMPORTED_MODULE_1__.request)(config).then(function (response) {\n var eventHandler = function eventHandler() {\n flag = false;\n if (config.eventHandler) {\n var cstate = response.status === 304 ? 'running' : r;\n var r1 = config.eventHandler(cstate, config.jobContext);\n /* this code to maintain backward compatability */\n if (typeof r1 === 'boolean') {\n flag = r1;\n } else if (r1 !== cstate) {\n response.data.results = r1;\n flag = true;\n }\n }\n };\n var r = response.data.results;\n if ((0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(r) === 'object') {\n r = response.data.results.items.isIdle === true ? 'completed' : 'running';\n response.data.results.items = r;\n }\n eventHandler();\n if (response.status === 304 && flag === false) {\n return null;\n }\n if (states.indexOf(r) === -1 || flag === true) {\n return httpDone(response, config, false);\n } else {\n if (config.payload.headers != null && config.payload.headers['If-None-Match'] != null && response.headers.etag != null) {\n config.payload.headers['If-None-Match'] = response.headers.etag;\n }\n return null;\n }\n }).catch(function (error) {\n if (config.eventHandler) {\n flag = config.eventHandler('*SystemError', config.jobContext);\n }\n return httpDone(error, config, true);\n });\n}\nfunction httpDone(payload, config, error) {\n return {\n error: error,\n type: config.serviceName + '_' + config.type + '_COMPLETE',\n config: config,\n payload: payload\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (httpCallWait);\n\n//# sourceURL=webpack://restaf/./sagas/httpCallWait.js?\n}");
1591
+
1592
+ /***/ },
1593
+
1594
+ /***/ "./sagas/keepAliveAction.js"
1595
+ /*!**********************************!*\
1596
+ !*** ./sagas/keepAliveAction.js ***!
1597
+ \**********************************/
1598
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1599
+
1600
+ "use strict";
1601
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/effects/dist/redux-saga-effects.esm.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/index.js */ \"./utils/index.js\");\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(keepAliveAction),\n _marked2 = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(keepAlivei);\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n;\n\n\n\nfunction keepAliveAction() {\n var action;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.takeLatest)(_actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.KEEP_ALIVE, keepAlivei);\n case 1:\n action = _context.sent;\n case 2:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\nfunction keepAlivei(payload) {\n var r;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n _context2.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.spawn)(test, payload);\n case 1:\n r = _context2.sent;\n return _context2.abrupt(\"return\", r);\n case 2:\n case \"end\":\n return _context2.stop();\n }\n }, _marked2);\n}\nfunction test(action) {\n var t = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_3__.SASLogonOauthLink)('keepAlive');\n return t.keepAlive(action);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (keepAliveAction);\n\n//# sourceURL=webpack://restaf/./sagas/keepAliveAction.js?\n}");
1602
+
1603
+ /***/ },
1604
+
1605
+ /***/ "./sagas/logonAction.js"
1606
+ /*!******************************!*\
1607
+ !*** ./sagas/logonAction.js ***!
1608
+ \******************************/
1609
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1610
+
1611
+ "use strict";
1612
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/effects/dist/redux-saga-effects.esm.js\");\n/* harmony import */ var _store_selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../store/selectLogonInfo.js */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/index.js */ \"./utils/index.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(logonAction);\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n;\n\n\n\n\n\nfunction logonAction() {\n var f, action, payload, config, _payload;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n f = true;\n debugger;\n case 1:\n if (!f) {\n _context.next = 11;\n break;\n }\n _context.next = 2;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.take)(_actionTypes_js__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON);\n case 2:\n action = _context.sent;\n _context.next = 3;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: _actionTypes_js__WEBPACK_IMPORTED_MODULE_5__.BEGIN_LOGON\n });\n case 3:\n _context.next = 4;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(sasLogon, action);\n case 4:\n payload = _context.sent;\n payload.keepAlive = action.payload.keepAlive == null ? null : action.payload.keepAlive;\n _context.next = 5;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(payload);\n case 5:\n if (!(payload.error === false)) {\n _context.next = 10;\n break;\n }\n _context.next = 6;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.take)(_actionTypes_js__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGOFF);\n case 6:\n action = _context.sent;\n _context.next = 7;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: _actionTypes_js__WEBPACK_IMPORTED_MODULE_5__.BEGIN_LOGOFF\n });\n case 7:\n config = _objectSpread({}, action);\n _context.next = 8;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(_store_selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n case 8:\n config.logonInfo = _context.sent;\n _context.next = 9;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(sasLogoff, config);\n case 9:\n _payload = _context.sent;\n _context.next = 10;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_payload);\n case 10:\n _context.next = 1;\n break;\n case 11:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\nfunction sasLogon(action) {\n var config = _objectSpread({}, action.payload);\n debugger;\n if (config.authType === _actionTypes_js__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON_SERVER || config.authType === _actionTypes_js__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON_IMPLICIT) {\n return {\n type: config.authType,\n error: false,\n payload: {\n iconfig: config\n }\n };\n } else {\n debugger;\n var t = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.SASLogonOauthLink)(config.authType);\n config.link = t.link;\n return t.logon(config).then(function (response) {\n return {\n type: _actionTypes_js__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON_COMPLETE,\n error: false,\n payload: response\n };\n }).catch(function (error) {\n return {\n type: _actionTypes_js__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON_COMPLETE,\n error: true,\n payload: error\n };\n });\n }\n}\nfunction sasLogoff(config) {\n var t = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.SASLogoffOauthLink)();\n config.link = t.link;\n return t.logoff(config).then(function (response) {\n return {\n type: _actionTypes_js__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGOFF_COMPLETE,\n error: false,\n payload: response\n };\n }).catch(function (error) {\n return {\n type: _actionTypes_js__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGOFF_COMPLETE,\n error: true,\n payload: error\n };\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (logonAction);\n\n//# sourceURL=webpack://restaf/./sagas/logonAction.js?\n}");
1613
+
1614
+ /***/ },
1615
+
1616
+ /***/ "./sagas/rootSaga.js"
1617
+ /*!***************************!*\
1618
+ !*** ./sagas/rootSaga.js ***!
1619
+ \***************************/
1620
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1621
+
1622
+ "use strict";
1623
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/effects/dist/redux-saga-effects.esm.js\");\n/* harmony import */ var _logonAction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./logonAction.js */ \"./sagas/logonAction.js\");\n/* harmony import */ var _apiCallAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCallAction.js */ \"./sagas/apiCallAction.js\");\n/* harmony import */ var _apiCallAllAction_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./apiCallAllAction.js */ \"./sagas/apiCallAllAction.js\");\n/* harmony import */ var _apiPollAction_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./apiPollAction.js */ \"./sagas/apiPollAction.js\");\n/* harmony import */ var _appDataAction_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./appDataAction.js */ \"./sagas/appDataAction.js\");\n/* harmony import */ var _keepAliveAction_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./keepAliveAction.js */ \"./sagas/keepAliveAction.js\");\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(rootSaga);\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n;\n\n\n\n\n\n\n\nfunction rootSaga() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.all)([(0,_logonAction_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(), (0,_apiCallAction_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(), (0,_apiCallAllAction_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(), (0,_apiPollAction_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(), (0,_appDataAction_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(), (0,_keepAliveAction_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"])()]);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (rootSaga);\n\n//# sourceURL=webpack://restaf/./sagas/rootSaga.js?\n}");
1624
+
1625
+ /***/ },
1626
+
1627
+ /***/ "./serverCalls/casSessionLinks.js"
1628
+ /*!****************************************!*\
1629
+ !*** ./serverCalls/casSessionLinks.js ***!
1630
+ \****************************************/
1631
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1632
+
1633
+ "use strict";
1634
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\n* Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\n* SPDX-License-Identifier: Apache-2.0\n*/\n;\nfunction casSessionLinks(uri, urihttp, casHttp, server, casProxyFlag) {\n var href = casProxyFlag === true ? \"\".concat(uri, \"/actions\") : \"\".concat(urihttp, \"/actions\");\n var isIdle = casProxyFlag === true ? \"\".concat(uri, \"/isIdle\") : \"\".concat(urihttp, \"/isIdle\");\n var r = [{\n method: 'POST',\n href: href,\n rel: 'execute',\n uri: href,\n responseType: 'application/json',\n type: 'application/json',\n itemType: 'application/json',\n title: 'Run CAS Action',\n customHandling: 'casExecute',\n casHttp: casHttp,\n server: server,\n extended: true\n }, {\n method: 'GET',\n href: isIdle,\n rel: 'state',\n uri: isIdle,\n responseType: 'application/json',\n type: 'application/json',\n itemType: 'application/json',\n title: 'state',\n customHandling: 'casState',\n casHttp: casHttp,\n server: server,\n extended: true\n }];\n return r;\n}\n;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (casSessionLinks);\n\n//# sourceURL=webpack://restaf/./serverCalls/casSessionLinks.js?\n}");
1635
+
1636
+ /***/ },
1637
+
1638
+ /***/ "./serverCalls/fixImages.js"
1639
+ /*!**********************************!*\
1640
+ !*** ./serverCalls/fixImages.js ***!
1641
+ \**********************************/
1642
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1643
+
1644
+ "use strict";
1645
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n;\nfunction fixImages(response) {\n if (response.data.results.hasOwnProperty(\"images\") === true) {\n var images = response.data.results.images;\n var items = Array.isArray(images) === true ? [].concat(images) : Object.assign({}, images);\n items[0].id = \"image\";\n response.data.results.items = items;\n delete response.data.results.images;\n }\n}\n;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (fixImages);\n\n//# sourceURL=webpack://restaf/./serverCalls/fixImages.js?\n}");
1646
+
1647
+ /***/ },
1648
+
1649
+ /***/ "./serverCalls/fixMlPipelineAutomation.js"
1650
+ /*!************************************************!*\
1651
+ !*** ./serverCalls/fixMlPipelineAutomation.js ***!
1652
+ \************************************************/
1653
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1654
+
1655
+ "use strict";
1656
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n;\nfunction fixMlPipelineAutomation(response) {\n // for reasons unknown the objects are \"frozen\" - so this ugly looking code\n try {\n var items = unfreeze(response.data.results.items);\n for (var i = 0; i < items.length; i++) {\n var links = unfreeze(items[i].links);\n if (links.findIndex(function (l) {\n return l.rel === 'championModel';\n }) === -1) {\n var c = items[i].championModel;\n if (c != null && c.links != null && c.links.length > 0) {\n var clinks = unfreeze(c.links);\n for (var j = 0; j < clinks.length; j++) {\n var l = Object.assign({}, clinks[j]);\n var h = l.href.split('?')[0];\n l.uri = h;\n l.href = h;\n l.type = 'application/json';\n if (l.rel === 'championModel' && l.method.toUpperCase() === 'GET') {\n l.type = 'application/vnd.sas.analytics.ml.pipeline.automation.project.champion.model';\n } else if (l.rel === 'championModel' && l.method.toUpperCase() === 'PUT') {\n l.responseType = '*/*';\n } else if (l.rel === 'scoreData') {\n l.responseType = 'application/json';\n l.type = 'application/vnd.sas.analytics.ml.pipeline.automation.score.data.input+json';\n l.responseType = 'application/vnd.sas.analytics.ml.pipeline.automation.score.data.output+json';\n }\n l.extended = true;\n links.push(l);\n }\n items[i].links = links;\n }\n }\n }\n response.data.results.items = items;\n } catch (err) {\n console.log(err);\n }\n}\n;\nfunction unfreeze(l) {\n var newLink = [];\n for (var i = 0; i < l.length; i++) {\n var newObj = Object.assign({}, l[i]);\n newLink.push(newObj);\n }\n return newLink;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (fixMlPipelineAutomation);\n\n//# sourceURL=webpack://restaf/./serverCalls/fixMlPipelineAutomation.js?\n}");
1657
+
1658
+ /***/ },
1659
+
1660
+ /***/ "./serverCalls/fixReports.js"
1661
+ /*!***********************************!*\
1662
+ !*** ./serverCalls/fixReports.js ***!
1663
+ \***********************************/
1664
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1665
+
1666
+ "use strict";
1667
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n;\nfunction fixReports(response) {\n var items = response.data.results.items;\n for (var i = 0; i < items.length; i++) {\n var reportUri = \"/SASReportViewer/?reportUri=/reports/reports/\".concat(items[i].id);\n var l = {\n method: \"GET\",\n href: reportUri,\n rel: \"viewer\",\n uri: reportUri,\n type: \"text/html\",\n itemType: \"text/html\",\n title: \"Report Viewer\",\n extended: true\n };\n items[i].links.push(l);\n }\n}\n;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (fixReports);\n\n//# sourceURL=webpack://restaf/./serverCalls/fixReports.js?\n}");
1668
+
1669
+ /***/ },
1670
+
1671
+ /***/ "./serverCalls/fixResponse.js"
1672
+ /*!************************************!*\
1673
+ !*** ./serverCalls/fixResponse.js ***!
1674
+ \************************************/
1675
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1676
+
1677
+ "use strict";
1678
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _fixImages_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fixImages.js */ \"./serverCalls/fixImages.js\");\n/* harmony import */ var _fixReports_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fixReports.js */ \"./serverCalls/fixReports.js\");\n/* harmony import */ var _casSessionLinks_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./casSessionLinks.js */ \"./serverCalls/casSessionLinks.js\");\n/* harmony import */ var _reduceCasResults_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./reduceCasResults.js */ \"./serverCalls/reduceCasResults.js\");\n/* harmony import */ var _fixMlPipelineAutomation_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fixMlPipelineAutomation.js */ \"./serverCalls/fixMlPipelineAutomation.js\");\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n;\n\n// let fixImages = require( './fixImages' );\n// let fixReports = require( './fixReports' );\n// let casSessionLinks = require( './casSessionLinks' );\n// let reduceCasResults = require( './reduceCasResults' );\n// let fixMlPipelineAutomation = require( './fixMlPipelineAutomation' );\n\n\n\n\n\n\nfunction fixResponse(response) {\n //\n // Ensure all header keys are lowercase\n //\n\n var headers = {};\n for (var k in response.headers) {\n //noinspection JSUnfilteredForInLoop\n var k1 = k.toLowerCase();\n //noinspection JSUnfilteredForInLoop\n headers[k1] = response.headers[k];\n }\n headers['tkhttp-id'] = null;\n var cookieValue = null;\n try {\n var _w = window;\n cookieValue = document.cookie.split(';').find(function (cookie) {\n return cookie.includes('tkhttp-id');\n });\n } catch (e) {\n if (headers['set-cookie'] != null) {\n cookieValue = response.headers['set-cookie'].find(function (cookie) {\n return cookie.includes('tkhttp-id');\n });\n }\n }\n headers['tkhttp-id'] = cookieValue != null ? cookieValue.split(';')[0].split('=')[1] : null;\n response.headers = headers;\n var cType = response.headers['content-type'];\n if (cType == null || typeof response.data.results === 'string') {\n return response;\n }\n\n // let contentType = cType.split(';') [0];\n var iLink = response.data.iconfig.link;\n fixCas(iLink, response);\n if (iLink.href.indexOf(\"reportImages/jobs\") > 0) {\n (0,_fixImages_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(response);\n }\n if (iLink.href === \"/reports/reports\" && iLink.method === \"GET\") {\n (0,_fixReports_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(response);\n }\n var il = iLink.href.split('?')[0];\n if (il === \"/mlPipelineAutomation/projects\" && iLink.method === \"GET\") {\n (0,_fixMlPipelineAutomation_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(response);\n }\n return response;\n}\n\n// Plan:\n// step 1: propogate server name and cashttp info\n\nfunction fixCas(iLink, response) {\n // special handling for cas\n var casProxyFlag = false;\n if (response.data.hasOwnProperty('iconfig')) {\n if (response.data.iconfig.storeConfig != null) {\n casProxyFlag = response.data.iconfig.storeConfig.casProxy;\n }\n }\n\n // do a refresh - mainly for reattaching to a cas session\n\n if (iLink.rel === 'self' && iLink.type === 'application/vnd.sas.cas.session.summary' || iLink.rel === 'createSession' && iLink.responseType === 'application/vnd.sas.cas.session') {\n response.data.results.links = response.data.results.links.concat(fixCasSession(iLink, response.data.results, casProxyFlag));\n response.data.results.name2 = response.data.results.name.split(':')[0];\n }\n if (iLink.hasOwnProperty('itemType') && iLink.itemType === 'application/vnd.sas.cas.session.summary') {\n var items = response.data.results.items;\n var pre = \"/\".concat(iLink.casHttp, \"/cas/sessions\");\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n var uri = \"/casProxy/servers/\".concat(iLink.server, \"/cas/sessions/\").concat(item.id);\n var urihttp = \"\".concat(pre, \"/\").concat(item.id);\n item.links = item.links.map(function (l) {\n l.casHttp = iLink.casHttp;\n l.server = iLink.server;\n return l;\n });\n item.links = item.links.concat((0,_casSessionLinks_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(uri, urihttp, iLink.casHttp, iLink.server, casProxyFlag));\n }\n }\n if (iLink.hasOwnProperty('customHandling')) {\n response.data.results = (0,_reduceCasResults_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(response.data.results);\n response.data.results = {\n items: Object.assign({}, response.data.results)\n };\n response.data.results.customHandling = iLink.customHandling;\n }\n\n //TBD: This could probbably be removed due to enhancements to casManagement\n if ((iLink.href === '/casManagement/' || iLink.href === '/casManagement') && iLink.method === 'GET') {\n response.data.results.links = response.data.results.links.map(function (l) {\n if (l.rel === 'collection') {\n l.title = 'servers';\n l.rel = 'servers';\n l.patch = 'cas';\n }\n return l;\n });\n }\n\n // A seperate loop in case casManagement fixes the issue\n if (iLink.hasOwnProperty('patch') && iLink.rel === 'servers') {\n var _items = response.data.results.items;\n var _loop = function _loop() {\n var item = _items[_i];\n var name = item.name;\n var ll = item.links.map(function (l) {\n l.casHttp = \"\".concat(name, \"-http\"); /* save the http info to propogate to sessions */\n l.server = name;\n return l;\n });\n item.links = ll;\n };\n for (var _i = 0; _i < _items.length; _i++) {\n _loop();\n }\n }\n}\nfunction fixCasSession(iLink, results, casProxyFlag) {\n // proprogate casHttp\n results.links = results.links.map(function (l) {\n l.casHttp = iLink.casHttp;\n l.server = iLink.server;\n return l;\n });\n return sessionLinks(iLink, results.id, casProxyFlag).concat(results.links);\n}\nfunction sessionLinks(iLink, sessionId, casProxyFlag) {\n var uri = \"/casProxy/servers/\".concat(iLink.server, \"/cas/sessions/\").concat(sessionId);\n var urihttp = \"/\".concat(iLink.casHttp, \"/cas/sessions/\").concat(sessionId);\n // propgate server name also\n return (0,_casSessionLinks_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(uri, urihttp, iLink.casHttp, iLink.server, casProxyFlag);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (fixResponse);\n\n//# sourceURL=webpack://restaf/./serverCalls/fixResponse.js?\n}");
1679
+
1680
+ /***/ },
1681
+
1682
+ /***/ "./serverCalls/index.js"
1683
+ /*!******************************!*\
1684
+ !*** ./serverCalls/index.js ***!
1685
+ \******************************/
1686
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1687
+
1688
+ "use strict";
1689
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ keepAlive: () => (/* binding */ keepAlive),\n/* harmony export */ request: () => (/* binding */ request),\n/* harmony export */ trustedGrant: () => (/* binding */ trustedGrant)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../../../node_modules/@babel/runtime/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! axios */ \"../../../node_modules/axios/lib/axios.js\");\n/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! qs */ \"../../../node_modules/qs/lib/index.js\");\n/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _fixResponse_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fixResponse.js */ \"./serverCalls/fixResponse.js\");\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/* eslint-disable no-prototype-builtins */\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n\n\n\nvar Https = null;\nif (false) // removed by dead control flow\n{}\n\n// axios.defaults.withCredentials = true\naxios__WEBPACK_IMPORTED_MODULE_2__[\"default\"].interceptors.response.use(function (response) {\n return response;\n}, function (error) {\n return Promise.reject(error);\n});\n\n/* X-Uaa-Csrf */\nfunction trustedGrant(iconfig) {\n var link = iconfig.link;\n var auth1 = Buffer.from(iconfig.clientID + \":\" + iconfig.clientSecret).toString(\"base64\");\n auth1 = \"Basic \" + auth1;\n var baseUrl = patchURL4ns(iconfig, link.href);\n var config = {\n method: link.method,\n baseURL: baseUrl,\n url: link.href,\n /*iconfig.host + link.href,*/\n\n headers: {\n Accept: link.responseType,\n \"Content-Type\": link.type /* Axios seems to be case sensitive */,\n Authorization: auth1\n },\n withCredentials: false,\n data: {\n grant_type: \"password\",\n username: iconfig.user,\n password: iconfig.password\n },\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n transformResponse: function transformResponse(data) {\n return data;\n },\n transformRequest: function transformRequest(data) {\n return qs__WEBPACK_IMPORTED_MODULE_3___default().stringify(data);\n }\n };\n var storeConfig = {\n protocol: 'https://',\n sslOption: {}\n };\n //TBD: Need to update the whole flow to be consistent with the storeConfig\n debugger;\n return makeCall(config, iconfig, config);\n}\nfunction request(iconfig) {\n \"use strict\";\n\n var link = iconfig.link,\n logonInfo = iconfig.logonInfo;\n var iLink = _objectSpread({}, link);\n var payload = iconfig.hasOwnProperty(\"payload\") ? iconfig.payload : null;\n var iqs = null;\n var idata = null;\n var iheaders = null;\n var ixsrf = null;\n var casAction = null;\n if (payload !== null) {\n casAction = hasItem(payload, \"action\");\n iqs = hasItem(payload, \"qs\");\n idata = hasItem(payload, \"data\");\n iheaders = hasItem(payload, \"headers\");\n ixsrf = hasItem(payload, \"xsrf\");\n }\n var baseUrl = patchURL4ns(logonInfo, iLink.href);\n // let url = `${l}${iLink.href}`;\n\n // handle casaction upload\n casAction = casAction != null ? casAction.toLowerCase() : null;\n var url = casAction !== null ? \"\".concat(iLink.href, \"/\").concat(casAction) : \"\".concat(iLink.href);\n if (iLink.hasOwnProperty(\"customHandling\") && casAction !== null) {\n // casAction = casAction.toLowerCase();\n if (casAction === \"table.upload\") {\n iLink.method = \"PUT\";\n iLink.type = \"application/octet-stream\";\n iLink.responseType = \"application/json\";\n }\n }\n var config = {\n method: iLink.method,\n baseURL: baseUrl,\n url: url,\n transformResponse: function transformResponse(data) {\n return data;\n },\n validateStatus: function validateStatus(status) {\n /* 304 for state calls */\n\n return status === 302 || status === 304 || status >= 200 && status < 300;\n }\n };\n config.headers = {};\n if (logonInfo.token !== null) {\n config.headers['Authorization'] = logonInfo.tokenType + \" \" + logonInfo.token;\n } else {\n config.withCredentials = iconfig.withCredentials == null ? true : iconfig.withCredentials;\n }\n var type = fullType(iLink.type);\n if (iLink.hasOwnProperty(\"responseType\")) {\n if (type !== null) {\n config.headers[\"Content-Type\"] = type;\n }\n config.headers.Accept = fullType(iLink.responseType);\n } else if (type !== null) {\n config.headers.Accept = type;\n if (iLink.method === \"PUT\" || iLink.method === \"POST\" || iLink.method === \"PATCH\") {\n config.headers[\"Content-Type\"] = type;\n }\n }\n if (iheaders !== null) {\n for (var ih in iheaders) {\n //noinspection JSUnfilteredForInLoop\n if (ih.toLowerCase() === \"json-parameters\") {\n //noinspection JSUnfilteredForInLoop\n config.headers[ih] = (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(iheaders[ih]) === \"object\" ? JSON.stringify(iheaders[ih]) : iheaders[ih];\n } else {\n //noinspection JSUnfilteredForInLoop\n config.headers[ih] = iheaders[ih];\n }\n }\n }\n if (ixsrf !== null) {\n /* TBD: fix parallel calls to get of this conditional */\n var xsrfHeaderName = ixsrf[\"x-csrf-header\"];\n if (xsrfHeaderName != null) {\n config.xsrfCookieName = null;\n config.xsrfHeaderName = xsrfHeaderName;\n // https://github.com/axios/axios/issues/2024\n config.headers[xsrfHeaderName] = ixsrf[xsrfHeaderName];\n }\n if (ixsrf[\"tkhttp-id\"] != null) {\n config.headers[\"tkhttp-id\"] = ixsrf[\"tkhttp-id\"];\n }\n } else {\n if (config.type === 'ADD_SERVICE') {\n config.xsrfHeaderName = 'X_CSRF_TOKEN';\n config.headers['X-CSRF-TOKEN'] = \"Fetch\";\n }\n }\n if (iqs !== null) {\n config.params = _objectSpread({}, iqs);\n }\n config.data = idata === null ? {} : idata;\n config.maxContentLength = 2 * 10063256;\n // let httpOptions = (iconfig.storeConfig.config != null ? iconfig.storeConfig.config.httpOptions : null);\n\n /*\n let httpOptions = iconfig.storeConfig.httpOptions;\n if (httpOptions != null) {\n for (let k in httpOptions) {\n config[k] = httpOptions[k];\n }\n }\n */\n\n setupProxy(iconfig, config);\n return makeCall(config, iconfig, logonInfo);\n}\n// setup if using reverse proxy server\nfunction setupProxy(iconfig, config) {\n var options = iconfig.logonInfo.options;\n if (options != null && options.proxyServer != null) {\n var proxy = options.proxy;\n if (proxy.pathname != null && proxy.pathname.trim().length > 0) {\n config.url = \"\".concat(proxy.pathname).concat(config.url); //prepend url with proxy path\n }\n config.baseURL = \"\".concat(proxy.protocol, \"//\").concat(proxy.host); //override base url\n }\n}\n// patch the url for namespace - useful for k8s to make calls into another namespace\nfunction patchURL4ns(logInfo, link) {\n var host = logInfo.host;\n if (logInfo.options != null && logInfo.options.ns != null) {\n var service = link.split(\"/\")[1];\n host = \"\".concat(logInfo.protocol).concat(service, \".{logInfo.options.ns}.svc.cluster.local\");\n }\n return host;\n}\nfunction makeCall(config, iconfig, storeConfig) {\n debugger;\n if (storeConfig.protocol === \"https://\" && config.agent == null) {\n var opts = iconfig.storeConfig.httpsOptions != null ? iconfig.storeConfig.httpsOptions : {};\n if (Https !== null) {\n var agent = new Https.Agent(opts);\n config.httpsAgent = agent;\n }\n }\n return new Promise(function (resolve, reject) {\n (0,axios__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(config).then(function (response) {\n parseJSON(response.data).then(function (data) {\n iconfig.data = null; /* get rid of the payload*/\n response.data = {\n results: data,\n iconfig: Object.assign({}, iconfig)\n };\n if (data.hasOwnProperty(\"errorCode\")) {\n //noinspection JSUnresolvedVariable\n response.status = response.data.results.httpStatusCode;\n response.statusText = \"errorCode: \".concat(response.data.results.errorCode);\n reject({\n response: response\n });\n } else {\n resolve((0,_fixResponse_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(response));\n }\n }).catch(function () {\n iconfig.data = null;\n response.data = {\n results: response.data,\n iconfig: Object.assign({}, iconfig)\n };\n resolve((0,_fixResponse_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(response));\n });\n }).catch(function (error) {\n reject(error);\n });\n });\n}\nfunction parseJSON(data) {\n //noinspection JSUnusedLocalSymbols\n return new Promise(function (resolve, reject) {\n if ((0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(data) === \"object\") {\n resolve(data);\n } else {\n var temp = data.replace(/\\r?\\n|\\r/g, \" \");\n try {\n var odata = JSON.parse(temp);\n resolve(odata);\n } catch (err) {\n resolve(data);\n }\n }\n });\n}\nfunction hasItem(payload, name) {\n for (var _i = 0, _Object$keys = Object.keys(payload); _i < _Object$keys.length; _i++) {\n var k = _Object$keys[_i];\n if (k.toUpperCase() === name.toUpperCase()) {\n return payload[k];\n }\n }\n return null;\n}\nfunction fullType(type) {\n var ntype = type;\n if (ntype === undefined || ntype === null) {\n ntype = null;\n } else {\n if (ntype.indexOf(\"application/vnd\") !== -1) {\n if (ntype.indexOf(\"+json\") === -1) {\n ntype = ntype + \"+json\";\n }\n }\n }\n return ntype;\n}\n\n// Code below is for experimenting.\n\nfunction keepAlive(action) {\n return (0,axios__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(action.payload);\n}\n\n\n//# sourceURL=webpack://restaf/./serverCalls/index.js?\n}");
1690
+
1691
+ /***/ },
1692
+
1693
+ /***/ "./serverCalls/reduceCasResults.js"
1694
+ /*!*****************************************!*\
1695
+ !*** ./serverCalls/reduceCasResults.js ***!
1696
+ \*****************************************/
1697
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1698
+
1699
+ "use strict";
1700
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n;\nfunction reduceCasResult(data) {\n var tables = {};\n var tableByName = {};\n if (data.hasOwnProperty(\"results\") === false) {\n return data;\n }\n for (var k in data.results) {\n //noinspection JSUnfilteredForInLoop\n var o = data.results[k];\n if (o.hasOwnProperty(\"_ctb\") === true && o[\"_ctb\"] === true) {\n //noinspection JSUnfilteredForInLoop\n tables[k] = o;\n tableByName[o.name] = o;\n }\n }\n data.tables = tables; /* need to deprecate this */\n data.tablesByName = tableByName;\n return data;\n}\n;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (reduceCasResult);\n\n//# sourceURL=webpack://restaf/./serverCalls/reduceCasResults.js?\n}");
1701
+
1702
+ /***/ },
1703
+
1704
+ /***/ "./store/addServices.js"
1705
+ /*!******************************!*\
1706
+ !*** ./store/addServices.js ***!
1707
+ \******************************/
1708
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1709
+
1710
+ "use strict";
1711
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _iaddServices_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./iaddServices.js */ \"./store/iaddServices.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/* harmony import */ var _appData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./appData.js */ \"./store/appData.js\");\n/* harmony import */ var _getServiceRoot_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getServiceRoot.js */ \"./store/getServiceRoot.js\");\n/* harmony import */ var _getXsrfData_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getXsrfData.js */ \"./store/getXsrfData.js\");\n\n\nfunction _createForOfIteratorHelper(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); 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) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n;\n\n\n\n\n\n/**\n * @description Add(initialize) services to the store\n * @async\n * @module addServices\n * @category restaf/core\n * @param {...any} serviceNames - list of services\n * @returns {promise}\n * @example\n * const {compute, casManagement} = await store.addServices('compute', 'casManagewment);\n * \n */\nfunction addServices(_x) {\n return _addServices.apply(this, arguments);\n}\nfunction _addServices() {\n _addServices = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store) {\n var _len,\n services,\n _key,\n subList,\n ifolder,\n _iterator,\n _step,\n service,\n _yield$iaddServices,\n folders,\n xsrfTokens,\n xsrf,\n _args = arguments,\n _t;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n for (_len = _args.length, services = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n services[_key - 1] = _args[_key];\n }\n if (services.includes('casManagement')) {\n // services.push('casManagement/cas');\n services.push('casProxy');\n // services.push('cas-shared-default-http/healthCheck');\n }\n\n // loop for initialized services\n subList = [];\n ifolder = {};\n services.map(function (s) {\n ifolder[s] = (0,_getServiceRoot_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(store, s);\n if (ifolder[s] === null) {\n subList.push(s);\n }\n });\n\n // initialize new services\n if (!(subList.length > 0)) {\n _context.next = 8;\n break;\n }\n _iterator = _createForOfIteratorHelper(subList);\n _context.prev = 1;\n _iterator.s();\n case 2:\n if ((_step = _iterator.n()).done) {\n _context.next = 5;\n break;\n }\n service = _step.value;\n _context.next = 3;\n return (0,_iaddServices_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, [service]);\n case 3:\n _yield$iaddServices = _context.sent;\n folders = _yield$iaddServices.folders;\n xsrfTokens = _yield$iaddServices.xsrfTokens;\n xsrf = xsrfTokens[service];\n (0,_appData_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, _actionTypes_js__WEBPACK_IMPORTED_MODULE_3__.API_XSRF, service, xsrf, service);\n if (xsrf['tkhttp-id'] != null) {\n (0,_appData_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, _actionTypes_js__WEBPACK_IMPORTED_MODULE_3__.API_XSRF, 'tkhttpid', xsrf, service);\n }\n ifolder[service] = folders[service];\n case 4:\n _context.next = 2;\n break;\n case 5:\n _context.next = 7;\n break;\n case 6:\n _context.prev = 6;\n _t = _context[\"catch\"](1);\n _iterator.e(_t);\n case 7:\n _context.prev = 7;\n _iterator.f();\n return _context.finish(7);\n case 8:\n return _context.abrupt(\"return\", ifolder);\n case 9:\n case \"end\":\n return _context.stop();\n }\n }, _callee, null, [[1, 6, 7, 8]]);\n }));\n return _addServices.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (addServices);\n\n//# sourceURL=webpack://restaf/./store/addServices.js?\n}");
1712
+
1713
+ /***/ },
1714
+
1715
+ /***/ "./store/apiCall.js"
1716
+ /*!**************************!*\
1717
+ !*** ./store/apiCall.js ***!
1718
+ \**************************/
1719
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1720
+
1721
+ "use strict";
1722
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _iapiCall_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./iapiCall.js */ \"./store/iapiCall.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/* harmony import */ var _appData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./appData.js */ \"./store/appData.js\");\n/* harmony import */ var _readXsrfData_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./readXsrfData.js */ \"./store/readXsrfData.js\");\n/* harmony import */ var _getXsrfData_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getXsrfData.js */ \"./store/getXsrfData.js\");\n\n\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n;\n\n\n\n\n\n\n/**\n * @description make an api call to viya\n * @module apiCall\n * @category restaf/core\n * @param {rafLinkeRel} iroute \n * @param {*} payload \n * @param {...any} rest \n * @returns {promise} returns a rafObject\n */\nfunction apiCall(_x, _x2, _x3) {\n return _apiCall.apply(this, arguments);\n}\nfunction _apiCall() {\n _apiCall = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, iroute, payload) {\n var _len,\n rest,\n _key,\n response,\n newXsrf,\n _args = arguments;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n for (_len = _args.length, rest = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n rest[_key - 3] = _args[_key];\n }\n _context.next = 1;\n return _iapiCall_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].apply(void 0, [store, iroute, _actionTypes_js__WEBPACK_IMPORTED_MODULE_3__.API_CALL, payload].concat(rest));\n case 1:\n response = _context.sent;\n newXsrf = (0,_readXsrfData_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(response.headers, response.usedService, iroute.route);\n if (newXsrf['x-csrf-header'] != null || newXsrf['tkhttp-id'] != null) {\n (0,_appData_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, _actionTypes_js__WEBPACK_IMPORTED_MODULE_3__.API_XSRF, response.usedService, newXsrf);\n }\n if (newXsrf['tkhttp-id'] != null) {\n (0,_appData_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, _actionTypes_js__WEBPACK_IMPORTED_MODULE_3__.API_XSRF, 'tkhttpid', newXsrf);\n }\n return _context.abrupt(\"return\", response);\n case 2:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _apiCall.apply(this, arguments);\n}\n;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCall);\n\n//# sourceURL=webpack://restaf/./store/apiCall.js?\n}");
1723
+
1724
+ /***/ },
1725
+
1726
+ /***/ "./store/apiCallAll.js"
1727
+ /*!*****************************!*\
1728
+ !*** ./store/apiCallAll.js ***!
1729
+ \*****************************/
1730
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1731
+
1732
+ "use strict";
1733
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/* harmony import */ var _getResults_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getResults.js */ \"./store/getResults.js\");\n/* harmony import */ var _prepareAction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./prepareAction.js */ \"./store/prepareAction.js\");\n/* harmony import */ var _extendFolder_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./extendFolder.js */ \"./store/extendFolder.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\n\n\n\nvar apiCallAll = function apiCallAll(store, allActions, delay) {\n return new Promise(function (resolve, reject) {\n //\n // create actionArray\n //\n\n var actionArray = allActions.map(function (acti) {\n //noinspection JSUnresolvedVariable\n var iroute = acti.rafLink;\n var payload = acti.hasOwnProperty('payload') === true ? acti.payload : null;\n var action = (0,_prepareAction_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, iroute, _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__.API_CALL, payload, delay, null, null, null);\n if (action === null) {\n reject({\n err: 'Invalid route and/or rafLink',\n args: JSON.stringify(acti, null, 4)\n });\n }\n return action;\n });\n\n //\n // set start state\n //\n\n var start = true;\n\n //\n // subscribe callback\n //\n var nextE = function nextE() {\n if (start) {\n start = false;\n return;\n }\n var folders = [];\n //\n // check for completion\n //\n for (var i = 0; i < actionArray.length; i++) {\n //noinspection JSUnresolvedVariable\n var f = (0,_getResults_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, actionArray[i].route);\n if (f !== null) {\n var runStatus = f.get('runStatus');\n if (runStatus === 'error') {\n unSubscribe();\n var err = {\n jobNo: i,\n detail: f.get('statusInfo')\n };\n reject(err);\n } else if (runStatus === 'ready') {\n folders.push((0,_extendFolder_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, f));\n }\n }\n }\n\n //\n // If all done the resolve promise\n //\n if (folders.length === actionArray.length) {\n resolve(folders);\n }\n };\n\n //\n // subscribe to store\n //\n var unSubscribe = store.subscribe(nextE);\n\n //\n // dispatch array actions\n // interval is place holder - TBD\n //\n\n store.dispatch({\n type: _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__.API_CALL_PARALLEL,\n actionArray: actionArray\n });\n });\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCallAll);\n\n//# sourceURL=webpack://restaf/./store/apiCallAll.js?\n}");
1734
+
1735
+ /***/ },
1736
+
1737
+ /***/ "./store/apiSubmit.js"
1738
+ /*!****************************!*\
1739
+ !*** ./store/apiSubmit.js ***!
1740
+ \****************************/
1741
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1742
+
1743
+ "use strict";
1744
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _jobState_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jobState.js */ \"./store/jobState.js\");\n/* harmony import */ var _iapiCall_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./iapiCall.js */ \"./store/iapiCall.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n\n\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\n\n\n//store, iroute, actionType, payload, delay, eventHandler, parentRoute, jobContext\nfunction apiSubmit(_x, _x2, _x3, _x4, _x5, _x6, _x7) {\n return _apiSubmit.apply(this, arguments);\n}\nfunction _apiSubmit() {\n _apiSubmit = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, iroute, payload, delay, jobContext, onCompletion, progress) {\n var job, status;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n if (progress) {\n progress('pending', jobContext);\n }\n _context.next = 1;\n return (0,_iapiCall_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, iroute, _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.API_CALL, payload, 0, null, null, jobContext);\n case 1:\n job = _context.sent;\n if (!job.links('state')) {\n _context.next = 3;\n break;\n }\n _context.next = 2;\n return (0,_jobState_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, job, null, 'wait', delay, progress, jobContext);\n case 2:\n status = _context.sent;\n completion(store, onCompletion, status.data, status.job, jobContext);\n return _context.abrupt(\"return\", status.job);\n case 3:\n completion(store, onCompletion, 'unknown', job, jobContext);\n return _context.abrupt(\"return\", job);\n case 4:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _apiSubmit.apply(this, arguments);\n}\nfunction completion(store, onCompletion, data, job, jobContext) {\n var results = {\n data: data,\n job: job,\n httpCode: job.status\n };\n saveData(store, results, jobContext);\n if (onCompletion) {\n onCompletion(null, results, jobContext);\n }\n}\nfunction saveData(store, results, jobContext) {\n var payload = {\n route: results.job.route,\n data: results.data,\n jobContext: jobContext\n };\n var action = {\n type: _actionTypes_js__WEBPACK_IMPORTED_MODULE_4__.API_STATUS,\n route: jobContext,\n payload: payload\n };\n store.dispatch(action);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiSubmit);\n\n//# sourceURL=webpack://restaf/./store/apiSubmit.js?\n}");
1745
+
1746
+ /***/ },
1747
+
1748
+ /***/ "./store/appData.js"
1749
+ /*!**************************!*\
1750
+ !*** ./store/appData.js ***!
1751
+ \**************************/
1752
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1753
+
1754
+ "use strict";
1755
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\nfunction appData(store, type, route, payload) {\n var action = {\n type: type,\n route: route,\n payload: payload\n };\n store.dispatch(action);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (appData);\n\n//# sourceURL=webpack://restaf/./store/appData.js?\n}");
1756
+
1757
+ /***/ },
1758
+
1759
+ /***/ "./store/configureSagaStore.js"
1760
+ /*!*************************************!*\
1761
+ !*** ./store/configureSagaStore.js ***!
1762
+ \*************************************/
1763
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1764
+
1765
+ "use strict";
1766
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux */ \"../../../node_modules/redux/dist/redux.mjs\");\n/* harmony import */ var redux_saga__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga */ \"../../../node_modules/redux-saga/dist/redux-saga.esm.js\");\n/* harmony import */ var _sagas_rootSaga_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../sagas/rootSaga.js */ \"./sagas/rootSaga.js\");\n/* harmony import */ var _reducers_injectAsyncReducers_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../reducers/injectAsyncReducers.js */ \"./reducers/injectAsyncReducers.js\");\n/* harmony import */ var _reducers_createReducer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../reducers/createReducer.js */ \"./reducers/createReducer.js\");\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\nfunction configureSagaStore(config) {\n var sagaMiddleWare = (0,redux_saga__WEBPACK_IMPORTED_MODULE_2__[\"default\"])();\n\n // get default reducers\n var reducers = (0,_reducers_createReducer_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n var store = (0,redux__WEBPACK_IMPORTED_MODULE_1__.createStore)(reducers, (0,redux__WEBPACK_IMPORTED_MODULE_1__.applyMiddleware)(sagaMiddleWare));\n store.asyncReducers = {};\n store.injectAsyncReducers = _reducers_injectAsyncReducers_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n store.apiCallNo = 0;\n store.config = _objectSpread({}, config);\n\n // start the sagas\n\n sagaMiddleWare.run(_sagas_rootSaga_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n return store;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (configureSagaStore);\n\n//# sourceURL=webpack://restaf/./store/configureSagaStore.js?\n}");
1767
+
1768
+ /***/ },
1769
+
1770
+ /***/ "./store/deleteRafObject.js"
1771
+ /*!**********************************!*\
1772
+ !*** ./store/deleteRafObject.js ***!
1773
+ \**********************************/
1774
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1775
+
1776
+ "use strict";
1777
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/*\n * ------------------------------------------------------------------------------------\n * * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved * * Licensed under the Apache License, Version 2.0 (the \"License\");\n * * you may not use this file except in compliance with the License.\n * * You may obtain a copy of the License at\n * *\n * * http://www.apache.org/licenses/LICENSE-2.0\n * *\n * * Unless required by applicable law or agreed to in writing, software\n * * distributed under the License is distributed on an \"AS IS\" BASIS,\n * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * * See the License for the specific language governing permissions and\n * limitations under the License.\n * ----------------------------------------------------------------------------------------\n *\n */\n;\n\n//import Immutable from 'immutable';\n\nfunction deleteRafObject(store, iroute) {\n var route = null;\n if (typeof iroute === 'string') {\n route = iroute;\n } else {\n route = iroute.get('route');\n }\n if (iroute !== null) {\n var action = {\n type: _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__.DELETE_RAF_OBJECT,\n route: route\n };\n store.dispatch(action);\n }\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (deleteRafObject);\n\n//# sourceURL=webpack://restaf/./store/deleteRafObject.js?\n}");
1778
+
1779
+ /***/ },
1780
+
1781
+ /***/ "./store/endStore.js"
1782
+ /*!***************************!*\
1783
+ !*** ./store/endStore.js ***!
1784
+ \***************************/
1785
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1786
+
1787
+ "use strict";
1788
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var redux_saga__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux-saga */ \"../../../node_modules/redux-saga/dist/redux-saga.esm.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\nvar endStore = function endStore(store) {\n store.dispatch(redux_saga__WEBPACK_IMPORTED_MODULE_0__.END);\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (endStore);\n\n//# sourceURL=webpack://restaf/./store/endStore.js?\n}");
1789
+
1790
+ /***/ },
1791
+
1792
+ /***/ "./store/extendFolder.js"
1793
+ /*!*******************************!*\
1794
+ !*** ./store/extendFolder.js ***!
1795
+ \*******************************/
1796
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1797
+
1798
+ "use strict";
1799
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _getResults2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getResults2.js */ \"./store/getResults2.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\nfunction extendFolder(store, f) {\n var wrapper = function wrapper(prePath) {\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return (0,_getResults2_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, f, prePath, args);\n };\n };\n var wrapperItemsCmd = function wrapperItemsCmd(prePath) {\n return function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n args.splice(1, 0, 'cmds');\n return (0,_getResults2_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, f, prePath, args);\n };\n };\n return {\n results: wrapper(),\n items: wrapper(['items', 'data']),\n itemsCmd: wrapperItemsCmd(['items', 'data']),\n itemsList: wrapper(['itemsList']),\n links: wrapper(['links']),\n details: wrapper(['details']),\n scrollCmds: wrapper(['scrollCmds']),\n raw: wrapper(['raw']),\n headers: wrapper(['responseHeaders']),\n config: wrapper(['iconfig']),\n host: f.get('host'),\n resultType: f.get('resultType'),\n status: f.get('statusInfo').get('status'),\n statusInfo: f.get('statusInfo').toJS(),\n type: f.get('type'),\n route: f.get('route')\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (extendFolder);\n\n//# sourceURL=webpack://restaf/./store/extendFolder.js?\n}");
1800
+
1801
+ /***/ },
1802
+
1803
+ /***/ "./store/getResults.js"
1804
+ /*!*****************************!*\
1805
+ !*** ./store/getResults.js ***!
1806
+ \*****************************/
1807
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1808
+
1809
+ "use strict";
1810
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _iGetResults_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iGetResults.js */ \"./store/iGetResults.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\nfunction getResults(store, iroute, path) {\n if (path != undefined) {\n return (0,_iGetResults_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, iroute, false, path);\n } else {\n return (0,_iGetResults_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, iroute);\n }\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getResults);\n\n//# sourceURL=webpack://restaf/./store/getResults.js?\n}");
1811
+
1812
+ /***/ },
1813
+
1814
+ /***/ "./store/getResults2.js"
1815
+ /*!******************************!*\
1816
+ !*** ./store/getResults2.js ***!
1817
+ \******************************/
1818
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1819
+
1820
+ "use strict";
1821
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _iGetResults_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iGetResults.js */ \"./store/iGetResults.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\nfunction getResults2(store, iroute, prePath) {\n var iquery = null;\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n if (args != null && args.length > 0) {\n iquery = Array.isArray(args[0]) === true ? args[0] : args;\n if (prePath !== null) {\n iquery = prePath.concat(iquery);\n }\n } else {\n iquery = prePath;\n }\n return (0,_iGetResults_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, iroute, false, iquery);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getResults2);\n\n//# sourceURL=webpack://restaf/./store/getResults2.js?\n}");
1822
+
1823
+ /***/ },
1824
+
1825
+ /***/ "./store/getServiceRoot.js"
1826
+ /*!*********************************!*\
1827
+ !*** ./store/getServiceRoot.js ***!
1828
+ \*********************************/
1829
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1830
+
1831
+ "use strict";
1832
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _extendFolder_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./extendFolder.js */ \"./store/extendFolder.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\nfunction getServiceRoot(store, serviceName) {\n var f = null;\n var list = store.getState();\n for (var key in list) {\n if (key === serviceName) {\n //noinspection JSUnfilteredForInLoop\n return (0,_extendFolder_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, list[key]);\n }\n }\n return f;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getServiceRoot);\n\n//# sourceURL=webpack://restaf/./store/getServiceRoot.js?\n}");
1833
+
1834
+ /***/ },
1835
+
1836
+ /***/ "./store/getServices.js"
1837
+ /*!******************************!*\
1838
+ !*** ./store/getServices.js ***!
1839
+ \******************************/
1840
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1841
+
1842
+ "use strict";
1843
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\nfunction getServices(store) {\n var list = store.getState();\n var services = [];\n for (var key in list) {\n if (key !== 'connections') {\n //noinspection JSUnfilteredForInLoop\n services.push(key);\n }\n }\n return services;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getServices);\n\n//# sourceURL=webpack://restaf/./store/getServices.js?\n}");
1844
+
1845
+ /***/ },
1846
+
1847
+ /***/ "./store/getXsrfData.js"
1848
+ /*!******************************!*\
1849
+ !*** ./store/getXsrfData.js ***!
1850
+ \******************************/
1851
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1852
+
1853
+ "use strict";
1854
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n;\n\nfunction getXsrfData(store) {\n var list = store.getState();\n list = list[_actionTypes_js__WEBPACK_IMPORTED_MODULE_0__.API_XSRF_ROOT];\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n var path = args.length > 0 ? ['userData'].concat(args) : ['userData'];\n var xsrf = list.getIn(path, null);\n return xsrf != null ? xsrf.toJS() : null;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getXsrfData);\n\n//# sourceURL=webpack://restaf/./store/getXsrfData.js?\n}");
1855
+
1856
+ /***/ },
1857
+
1858
+ /***/ "./store/iGetResults.js"
1859
+ /*!******************************!*\
1860
+ !*** ./store/iGetResults.js ***!
1861
+ \******************************/
1862
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1863
+
1864
+ "use strict";
1865
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var immutable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\n\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\nfunction iGetResults(store, iroute, keyOnly) {\n var result;\n var route;\n var iquery = [];\n var q;\n var serviceName;\n var folder;\n var path = [];\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n if (args != null) {\n iquery = Array.isArray(args[0]) === true ? args[0] : args;\n }\n if (typeof iroute === 'string') {\n route = iroute;\n q = route.split(':/');\n serviceName = q.shift();\n folder = store.getState()[serviceName];\n path = [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(q), (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(iquery));\n } else {\n path = iquery;\n if ((0,immutable__WEBPACK_IMPORTED_MODULE_1__.isImmutable)(iroute)) {\n folder = iroute;\n } else {\n return null;\n }\n }\n\n // should never happen \n // but user can potentially pass a null folder, so catch it\n if (folder == null) {\n return null;\n }\n result = path.length > 0 ? folder.getIn(path, null) : folder;\n if (result !== null) {\n if (keyOnly === true && (0,immutable__WEBPACK_IMPORTED_MODULE_1__.isImmutable)(result) === true) {\n result = result.keySeq();\n }\n }\n return result;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (iGetResults);\n\n//# sourceURL=webpack://restaf/./store/iGetResults.js?\n}");
1866
+
1867
+ /***/ },
1868
+
1869
+ /***/ "./store/iaddServices.js"
1870
+ /*!*******************************!*\
1871
+ !*** ./store/iaddServices.js ***!
1872
+ \*******************************/
1873
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1874
+
1875
+ "use strict";
1876
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/* harmony import */ var _getResults_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getResults.js */ \"./store/getResults.js\");\n/* harmony import */ var _extendFolder_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./extendFolder.js */ \"./store/extendFolder.js\");\n/* harmony import */ var _reducers_injectAsyncReducers_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../reducers/injectAsyncReducers.js */ \"./reducers/injectAsyncReducers.js\");\n/* harmony import */ var _reducers_baseReducer_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../reducers/baseReducer.js */ \"./reducers/baseReducer.js\");\n/* harmony import */ var _readXsrfData_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./readXsrfData.js */ \"./store/readXsrfData.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n;\n\n\n\n\n\n\nvar iaddServices = function iaddServices(store, services) {\n return new Promise(function (resolve, reject) {\n //\n // Add a reducer for each service\n //\n\n services.forEach(function (service) {\n (0,_reducers_injectAsyncReducers_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, service, (0,_reducers_baseReducer_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(service));\n });\n\n //\n // Create actionArray for the services\n //\n var actionArray = services.map(function (service) {\n var s = {\n type: _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__.ADD_SERVICE,\n link: {\n method: 'GET',\n href: '/' + service + '/',\n rel: 'root',\n type: 'application/vnd.sas.api+json',\n responseType: 'application/json, application/vnd.sas.api+json',\n uri: '/' + service + '/'\n },\n logonInfo: null,\n tLink: null,\n /* null indicates root of service */\n serviceName: service,\n usedService: service,\n route: service,\n storeConfig: store.config\n };\n //to support PuP / workbench\n if (service == 'compute' && store.config.options.computeServerId != null && store.config.options.computeServerId.trim().length > 0) {\n console.log('assuming workbench');\n s.link.href = '/compute/servers/' + store.config.options.computeServerId + '/';\n s.link.url = s.link.href;\n }\n return s;\n });\n\n //\n // The first callback needs to be ignored\n //\n var start = true;\n\n //\n // subscribe function\n //\n var nextE = function nextE() {\n if (start) {\n start = false;\n return;\n }\n var folders = {};\n var xsrfTokens = {};\n /* */\n //\n // check the status of the call.\n // if all of them completed then resolve this promise or reject if error as soon as\n // an error is detected.\n //\n\n var count = 0;\n for (var i = 0; i < actionArray.length; i++) {\n //noinspection JSUnresolvedVariable\n var f = (0,_getResults_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, actionArray[i].route);\n if (f !== null) {\n var runStatus = f.get('runStatus');\n if (runStatus === 'error') {\n unSubscribe();\n var err = {\n service: services[i],\n detail: f.get('statusInfo')\n };\n reject(err);\n } else if (runStatus === 'ready') {\n count++;\n var ff = (0,_extendFolder_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, f);\n folders[services[i]] = ff;\n xsrfTokens[services[i]] = (0,_readXsrfData_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(ff.headers, services[i], services[i]);\n }\n }\n }\n if (count === actionArray.length) {\n unSubscribe();\n resolve({\n folders: folders,\n xsrfTokens: xsrfTokens\n });\n }\n };\n\n //\n // subscribe to store\n //\n var unSubscribe = store.subscribe(nextE);\n\n //\n // dispatch the actionArray\n //\n\n //\n // interval is a place holder for creating interval between calls\n // Yet to be implemented\n //\n\n store.dispatch({\n type: _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__.API_CALL_PARALLEL,\n interval: -1,\n actionArray: actionArray\n });\n });\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (iaddServices);\n\n//# sourceURL=webpack://restaf/./store/iaddServices.js?\n}");
1877
+
1878
+ /***/ },
1879
+
1880
+ /***/ "./store/iapiCall.js"
1881
+ /*!***************************!*\
1882
+ !*** ./store/iapiCall.js ***!
1883
+ \***************************/
1884
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1885
+
1886
+ "use strict";
1887
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _getResults_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getResults.js */ \"./store/getResults.js\");\n/* harmony import */ var _extendFolder_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./extendFolder.js */ \"./store/extendFolder.js\");\n/* harmony import */ var _prepareAction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./prepareAction.js */ \"./store/prepareAction.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\n\n\n\n\n// import ikeepAlive from './ikeepAlive.js';\n\nvar iapiCall = function iapiCall(store, iroute, actionType, payload, delay, eventHandler, parentRoute, jobContext) {\n return new Promise(function (resolve, reject) {\n var route;\n var unSubscribe;\n var start = true;\n\n // create action\n var action = (0,_prepareAction_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, iroute, actionType, payload, delay, eventHandler, parentRoute, jobContext);\n if (action === null) {\n reject({\n error: 'Bad route and/or rafLink',\n args: iroute\n });\n }\n // save route\n //noinspection JSUnresolvedVariable\n route = action.route;\n\n // subscribe callback\n var nextE = function nextE() {\n if (start) {\n start = false;\n return;\n }\n var f = (0,_getResults_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, route);\n if (!f) {\n /* should never happen, hmmm! */\n unSubscribe();\n reject({\n error: 'Hmmm! Failed to resolve route in apiCall callback - should never happen. Call Programmer',\n route: route\n });\n } else {\n var runStatus = f.get('runStatus');\n if (runStatus === 'error') {\n unSubscribe();\n reject(f.get('statusInfo'));\n } else if (runStatus === 'ready') {\n unSubscribe();\n var efolder = (0,_extendFolder_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, f);\n efolder.service = action.serviceName;\n efolder.usedService = action.usedService;\n //ikeepAlive(store); \n resolve(efolder);\n }\n }\n };\n\n // subscribe to store\n unSubscribe = store.subscribe(nextE);\n\n // dispatch action\n store.dispatch(action);\n });\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (iapiCall);\n\n//# sourceURL=webpack://restaf/./store/iapiCall.js?\n}");
1888
+
1889
+ /***/ },
1890
+
1891
+ /***/ "./store/ijobState.js"
1892
+ /*!****************************!*\
1893
+ !*** ./store/ijobState.js ***!
1894
+ \****************************/
1895
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1896
+
1897
+ "use strict";
1898
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _iapiCall_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iapiCall.js */ \"./store/iapiCall.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\n\nfunction ijobState(store, job, payload, delay, waitFlag, eventHandler, jobContext) {\n return new Promise(function (resolve, reject) {\n var stateCmd = job.links('state');\n if (stateCmd === null) {\n var result = {\n job: job,\n data: 'completed',\n statusCode: 200\n };\n resolve({\n completed: 1,\n running: 0,\n jobState: result\n });\n } else {\n (0,_iapiCall_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, stateCmd, waitFlag === true ? _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.API_POLL : _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.API_CALL, payload, delay, eventHandler, job.route, jobContext).then(function (r) {\n var detail = {};\n var running = 0;\n var data = r.items();\n // cas isIdle use case\n if (detail.hasOwnProperty(data) === false) {\n detail[data] = 0;\n }\n detail[data] = detail[data] + 1;\n var httpCode = r.status;\n var result = {\n job: job,\n data: data,\n statusCode: httpCode\n };\n if (data === 'running' || data === 'pending') {\n running = 1;\n }\n resolve({\n running: running,\n detail: detail,\n jobState: result\n });\n }).catch(function (err) {\n reject(err);\n });\n }\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ijobState);\n\n//# sourceURL=webpack://restaf/./store/ijobState.js?\n}");
1899
+
1900
+ /***/ },
1901
+
1902
+ /***/ "./store/ijobStateAll.js"
1903
+ /*!*******************************!*\
1904
+ !*** ./store/ijobStateAll.js ***!
1905
+ \*******************************/
1906
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1907
+
1908
+ "use strict";
1909
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _apiCallAll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./apiCallAll.js */ \"./store/apiCallAll.js\");\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\nfunction ijobStateAll(store, jobs, ipayload) {\n return new Promise(function (resolve, reject) {\n /* */\n var payload = [];\n if (ipayload !== null) {\n if (Array.isArray(ipayload) === false) {\n for (var i = 0; i < jobs.length; i++) {\n payload.push(ipayload);\n }\n } else {\n payload = (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(ipayload);\n }\n } else {\n for (var _i = 0; _i < jobs.length; _i++) {\n payload.push(null);\n }\n }\n var actionArray = jobs.map(function (job, i) {\n //noinspection JSValidateTypes\n var rafLink = job.links('state');\n if (rafLink === null) {\n reject(\" job \".concat(i, \" does not support state checking \"));\n }\n var statePayload = payload[i];\n return {\n rafLink: rafLink,\n payload: _objectSpread({}, statePayload)\n };\n });\n (0,_apiCallAll_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, actionArray).then(function (results) {\n var detail = {};\n var running = 0;\n var jobState = results.map(function (r, i) {\n var data = r.items();\n var httpCode = r.status;\n if (detail.hasOwnProperty(data) === false) {\n detail[data] = 0;\n }\n detail[data] = detail[data] + 1;\n if (data === 'running' || data === 'pending') {\n running++;\n }\n return {\n job: jobs[i],\n data: data,\n statusCode: httpCode\n };\n });\n resolve({\n running: running,\n detail: detail,\n jobState: jobState\n });\n }).catch(function (err) {\n reject(err);\n });\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ijobStateAll);\n\n//# sourceURL=webpack://restaf/./store/ijobStateAll.js?\n}");
1910
+
1911
+ /***/ },
1912
+
1913
+ /***/ "./store/initStore.js"
1914
+ /*!****************************!*\
1915
+ !*** ./store/initStore.js ***!
1916
+ \****************************/
1917
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1918
+
1919
+ "use strict";
1920
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _configureSagaStore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./configureSagaStore.js */ \"./store/configureSagaStore.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/* harmony import */ var _apiCall_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCall.js */ \"./store/apiCall.js\");\n/* harmony import */ var _apiCallAll_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./apiCallAll.js */ \"./store/apiCallAll.js\");\n/* harmony import */ var _runAction_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./runAction.js */ \"./store/runAction.js\");\n/* harmony import */ var _apiSubmit_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./apiSubmit.js */ \"./store/apiSubmit.js\");\n/* harmony import */ var _jobState_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./jobState.js */ \"./store/jobState.js\");\n/* harmony import */ var _jobStateAll_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./jobStateAll.js */ \"./store/jobStateAll.js\");\n/* harmony import */ var _request_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./request.js */ \"./store/request.js\");\n/* harmony import */ var _getServices_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./getServices.js */ \"./store/getServices.js\");\n/* harmony import */ var _addServices_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./addServices.js */ \"./store/addServices.js\");\n/* harmony import */ var _getServiceRoot_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./getServiceRoot.js */ \"./store/getServiceRoot.js\");\n/* harmony import */ var _logon_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./logon.js */ \"./store/logon.js\");\n/* harmony import */ var _logoff_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./logoff.js */ \"./store/logoff.js\");\n/* harmony import */ var _endStore_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./endStore.js */ \"./store/endStore.js\");\n/* harmony import */ var _routeToObj_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./routeToObj.js */ \"./store/routeToObj.js\");\n/* harmony import */ var _selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./selectLogonInfo.js */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _appData_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./appData.js */ \"./store/appData.js\");\n/* harmony import */ var _getXsrfData_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./getXsrfData.js */ \"./store/getXsrfData.js\");\n/* harmony import */ var _deleteRafObject_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./deleteRafObject.js */ \"./store/deleteRafObject.js\");\n/* harmony import */ var _keepViyaAlive_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./keepViyaAlive.js */ \"./store/keepViyaAlive.js\");\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\n\n\n\n\n\n\n\n\n// import jobStatus from './jobStatus.js';\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * @description Initialize a restaf store\n * @category restaf/core\n * @module initStore\n * @param {object=} config configuration object(future)\n * @returns {store} restaf store object(rafObject)\n * @example\n * let store = restaf.initStore();\n * The store object manages all the data and access\n * to Viya using the REST API. \n */\nfunction initStore(iconfig) {\n var config = {\n casProxy: true\n };\n if (iconfig != null) {\n config = _objectSpread(_objectSpread({}, config), iconfig);\n }\n if (config.options == null) {\n config.options = {};\n }\n var store = (0,_configureSagaStore_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(config);\n return {\n logon: _logon_js__WEBPACK_IMPORTED_MODULE_13__[\"default\"].bind(null, store),\n connect: _logon_js__WEBPACK_IMPORTED_MODULE_13__[\"default\"].bind(null, store),\n logoff: _logoff_js__WEBPACK_IMPORTED_MODULE_14__[\"default\"].bind(null, store),\n disconnect: _logoff_js__WEBPACK_IMPORTED_MODULE_14__[\"default\"].bind(null, store),\n connection: loggedOn.bind(null, store),\n addServices: _addServices_js__WEBPACK_IMPORTED_MODULE_11__[\"default\"].bind(null, store),\n getServices: _getServices_js__WEBPACK_IMPORTED_MODULE_10__[\"default\"].bind(null, store),\n apiCall: _apiCall_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].bind(null, store),\n runAction: _runAction_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"].bind(null, store),\n apiCallAll: _apiCallAll_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"].bind(null, store),\n rafObject: _routeToObj_js__WEBPACK_IMPORTED_MODULE_16__[\"default\"].bind(null, store),\n getService: _routeToObj_js__WEBPACK_IMPORTED_MODULE_16__[\"default\"].bind(null, store),\n deleteRafObject: _deleteRafObject_js__WEBPACK_IMPORTED_MODULE_20__[\"default\"].bind(null, store),\n jobState: _jobState_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"].bind(null, store),\n jobStateAll: _jobStateAll_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"].bind(null, store),\n submit: _apiSubmit_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"].bind(null, store),\n submitStatus: getApiStatus.bind(null, store),\n setAppData: _appData_js__WEBPACK_IMPORTED_MODULE_18__[\"default\"].bind(null, store, _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.APP_DATA),\n getAppData: getAppData.bind(null, store),\n setXsrfData: _appData_js__WEBPACK_IMPORTED_MODULE_18__[\"default\"].bind(null, store, _actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.API_XSRF),\n getXsrfData: _getXsrfData_js__WEBPACK_IMPORTED_MODULE_19__[\"default\"].bind(null, store),\n getState: store.getState,\n endStore: _endStore_js__WEBPACK_IMPORTED_MODULE_15__[\"default\"].bind(null, store),\n store: store,\n config: _objectSpread({}, config),\n getServiceRoot: _getServiceRoot_js__WEBPACK_IMPORTED_MODULE_12__[\"default\"].bind(null, store),\n request: _request_js__WEBPACK_IMPORTED_MODULE_9__[\"default\"].bind(null, store),\n keepViyaAlive: _keepViyaAlive_js__WEBPACK_IMPORTED_MODULE_21__[\"default\"].bind(null, store)\n };\n}\nfunction loggedOn(store) {\n return (0,_selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(store.getState());\n}\nfunction getAppData(store) {\n var list = store.getState()[_actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.APP_DATA_ROOT];\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n var path = args.length > 0 ? ['userData'].concat(args) : ['userData'];\n return list.getIn(path, null);\n}\nfunction getApiStatus(store, jobContext) {\n var list = store.getState()[_actionTypes_js__WEBPACK_IMPORTED_MODULE_2__.API_STATUS_ROOT];\n var result = null;\n if (!jobContext) {\n result = list.get('routeList');\n } else {\n var r = list.getIn(['userData', jobContext], null);\n if (r !== null) {\n result = r.toJS();\n result.job = (0,_routeToObj_js__WEBPACK_IMPORTED_MODULE_16__[\"default\"])(store, result.route);\n }\n }\n return result;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (initStore);\n\n//# sourceURL=webpack://restaf/./store/initStore.js?\n}");
1921
+
1922
+ /***/ },
1923
+
1924
+ /***/ "./store/jobState.js"
1925
+ /*!***************************!*\
1926
+ !*** ./store/jobState.js ***!
1927
+ \***************************/
1928
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1929
+
1930
+ "use strict";
1931
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _ijobState_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ijobState.js */ \"./store/ijobState.js\");\n/* harmony import */ var _apiCall_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCall.js */ \"./store/apiCall.js\");\n\n\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\n\n/**\n * @category restaf/core\n * @description Check status of jobs\n * @module jobState\n * @async\n * \n * @param {rafObject} job rafObject of job\n * @param {object=} payload usually query to state api\n * @param {timeout=} timeout multiple uses to control timeout\n * @param {number=} delay delay in seconds.See notes below\n * @returns {promise} - object with the status information\n * @example\n * Notes\n * If the service supports long polling, pass the timeout in the payload.qs\n * If the service does not support long polling, set timeout to 'wait' and set delay to some time in seconds.\n * The library will check for completion every delay seconds. A more advanced way using progressHandler exit is described\n * in the tutorial sections.\n */\nfunction jobState(_x, _x2, _x3, _x4, _x5, _x6, _x7, _x8) {\n return _jobState.apply(this, arguments);\n}\nfunction _jobState() {\n _jobState = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, job, payload, timeout, delay, progressHandler, jobContext, cas) {\n var waitFlag, tries, status, failed;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n waitFlag = false;\n tries = 1;\n if (timeout === 'wait' || timeout === 'longpoll') {\n tries = 1;\n waitFlag = true;\n } else {\n tries = !timeout ? 1 : timeout;\n }\n case 1:\n _context.next = 2;\n return (0,_ijobState_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, job, payload, delay, waitFlag, progressHandler, jobContext);\n case 2:\n status = _context.sent;\n failed = status.detail.hasOwnProperty('failed');\n if (!(status.running === 0)) {\n _context.next = 5;\n break;\n }\n tries = 0;\n if (!(failed === false && cas != true)) {\n _context.next = 4;\n break;\n }\n _context.next = 3;\n return (0,_apiCall_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, job.links('self'));\n case 3:\n status.jobState.job = _context.sent;\n _context.next = 5;\n break;\n case 4:\n status.jobState.job = job;\n case 5:\n if (--tries > 0) {\n _context.next = 1;\n break;\n }\n case 6:\n return _context.abrupt(\"return\", status.jobState);\n case 7:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _jobState.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (jobState);\n\n//# sourceURL=webpack://restaf/./store/jobState.js?\n}");
1932
+
1933
+ /***/ },
1934
+
1935
+ /***/ "./store/jobStateAll.js"
1936
+ /*!******************************!*\
1937
+ !*** ./store/jobStateAll.js ***!
1938
+ \******************************/
1939
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1940
+
1941
+ "use strict";
1942
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _ijobStateAll_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ijobStateAll.js */ \"./store/ijobStateAll.js\");\n/* harmony import */ var _apiCallAll_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./apiCallAll.js */ \"./store/apiCallAll.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\n\nfunction jobStateAll(store, jobList, payload, maxTries) {\n return new Promise(function (resolve, reject) {\n var tries = maxTries != null ? maxTries : 1;\n checkStatus(store, jobList, payload, tries, function (err, result) {\n if (err) {\n reject(err);\n } else if (result.running === 0) {\n var rafLinkSelf = result.jobState.map(function (j) {\n return {\n rafLink: j.job.links('self'),\n payload: null\n };\n });\n (0,_apiCallAll_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, rafLinkSelf, null).then(function (newJobs) {\n newJobs.forEach(function (job, i) {\n result.jobState[i].job = job;\n });\n resolve(result);\n }).catch(function (err) {\n reject(err);\n });\n } else {\n resolve(result);\n }\n });\n });\n}\nfunction checkStatus(store, jobList, payload, tries, cb) {\n (0,_ijobStateAll_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, jobList, payload).then(function (result) {\n if (result.running > 0) {\n tries--;\n if (tries <= 0) {\n cb(null, result);\n } else {\n checkStatus(store, jobList, payload, tries, cb);\n }\n } else {\n cb(null, result);\n }\n }).catch(function (err) {\n cb(err);\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (jobStateAll);\n\n//# sourceURL=webpack://restaf/./store/jobStateAll.js?\n}");
1943
+
1944
+ /***/ },
1945
+
1946
+ /***/ "./store/keepViyaAlive.js"
1947
+ /*!********************************!*\
1948
+ !*** ./store/keepViyaAlive.js ***!
1949
+ \********************************/
1950
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1951
+
1952
+ "use strict";
1953
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _request_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./request.js */ \"./store/request.js\");\n/* harmony import */ var _getServices_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getServices.js */ \"./store/getServices.js\");\n/* harmony import */ var _getXsrfData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getXsrfData.js */ \"./store/getXsrfData.js\");\n/* harmony import */ var _selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./selectLogonInfo.js */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n\n\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\nfunction keepViyaAlive(_x, _x2, _x3, _x4, _x5) {\n return _keepViyaAlive.apply(this, arguments);\n}\nfunction _keepViyaAlive() {\n _keepViyaAlive = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, aliveURL, interval, timeout, onTimeout) {\n var keepTimer;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n keepTimer = setInterval(function () {\n ikeepViyaAlive(store, aliveURL);\n }, interval * 1000);\n setTimeout(function () {\n console.log('Note: Stopping keepViyaAlive');\n clearInterval(keepTimer);\n if (onTimeout != null) {\n onTimeout();\n } else {\n var host = (0,_selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(store.getState()).host;\n var params = \"scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no,width=0,height=0,left=-1000,top=-1000\";\n console.log('timeout');\n window.open(\"\".concat(host, \"/SASLogon/timedout\"), 'Timed Out', params);\n }\n }, timeout * 1000);\n return _context.abrupt(\"return\", true);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _keepViyaAlive.apply(this, arguments);\n}\nfunction ikeepViyaAlive(_x6, _x7) {\n return _ikeepViyaAlive.apply(this, arguments);\n}\nfunction _ikeepViyaAlive() {\n _ikeepViyaAlive = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee2(store, aliveURL) {\n var payload, action, services, host, i, s, ixsrf, xsrfHeaderName, _payload, _action;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n if (aliveURL !== null) {\n payload = {\n url: aliveURL,\n method: 'GET',\n headers: {\n Accept: '*/*'\n }\n };\n action = {\n type: _actionTypes_js__WEBPACK_IMPORTED_MODULE_6__.KEEP_ALIVE,\n route: 'keepAlive',\n payload: payload\n };\n if (aliveURL !== true) {\n store.dispatch(action);\n }\n }\n\n // This keeps the app server session alive\n services = (0,_getServices_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store);\n host = (0,_selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(store.getState()).host; // This keeps the services alive with their xsrf tokens valid\n i = 0;\n case 1:\n if (!(i < services.length)) {\n _context2.next = 4;\n break;\n }\n s = services[i];\n if (!(s.indexOf('_') === -1)) {\n _context2.next = 3;\n break;\n }\n if (!(s.indexOf('cas-http') === -1)) {\n _context2.next = 3;\n break;\n }\n ixsrf = (0,_getXsrfData_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, s);\n /* could be initialization state if null or have no xsrf */\n if (!(ixsrf !== null)) {\n _context2.next = 3;\n break;\n }\n xsrfHeaderName = ixsrf['x-csrf-header'];\n _payload = {\n url: \"\".concat(host, \"/\").concat(s, \"/\"),\n Accept: 'application/json, application/vnd.sas.api+json',\n withCredentials: true,\n method: 'GET',\n xsrfHeaderName: xsrfHeaderName,\n headers: {}\n };\n _payload.headers[xsrfHeaderName] = ixsrf['x-csrf-token'];\n _context2.next = 2;\n return (0,_request_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, _payload);\n case 2:\n _action = {\n type: _actionTypes_js__WEBPACK_IMPORTED_MODULE_6__.KEEP_ALIVE,\n route: 'keepAlive',\n payload: _payload\n };\n store.dispatch(_action);\n case 3:\n i++;\n _context2.next = 1;\n break;\n case 4:\n return _context2.abrupt(\"return\", true);\n case 5:\n case \"end\":\n return _context2.stop();\n }\n }, _callee2);\n }));\n return _ikeepViyaAlive.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (keepViyaAlive);\n\n//# sourceURL=webpack://restaf/./store/keepViyaAlive.js?\n}");
1954
+
1955
+ /***/ },
1956
+
1957
+ /***/ "./store/logoff.js"
1958
+ /*!*************************!*\
1959
+ !*** ./store/logoff.js ***!
1960
+ \*************************/
1961
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1962
+
1963
+ "use strict";
1964
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n/** \n * @description Logoff from Viya\n * @module logoff\n * @category restaf/core\n * @returns {promise} - result of logoff\n * @example\n * let r = await store.logoff();\n */\nfunction logoff(store) {\n //noinspection JSUnusedLocalSymbols\n return new Promise(function (resolve, reject) {\n var unSubscribe = null;\n var action = {\n type: _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__.VIYA_LOGOFF,\n storeConfig: store.config,\n payload: {}\n };\n var logoffExit = function logoffExit() {\n var newState = store.getState().connections;\n var runStatus = newState.get('runStatus');\n if (runStatus === 'idle') {\n unSubscribe();\n resolve(runStatus);\n } else if (runStatus === 'error') {\n unSubscribe();\n reject(newState.get('statusInfo').toJS());\n }\n };\n unSubscribe = store.subscribe(logoffExit);\n store.dispatch(action);\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (logoff);\n\n//# sourceURL=webpack://restaf/./store/logoff.js?\n}");
1965
+
1966
+ /***/ },
1967
+
1968
+ /***/ "./store/logon.js"
1969
+ /*!************************!*\
1970
+ !*** ./store/logon.js ***!
1971
+ \************************/
1972
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1973
+
1974
+ "use strict";
1975
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! qs */ \"../../../node_modules/qs/lib/index.js\");\n/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _keepViyaAlive_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./keepViyaAlive.js */ \"./store/keepViyaAlive.js\");\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/* eslint-disable no-prototype-builtins */\n\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\n\n// import parse from 'url-parse';\n\n\n/**\n * @description logon or connect to Viya\n * @module logon\n * @category restaf/core\n * @param {rafLogonPayload} logonPayload See type definition for details\n * @returns {promise} returns a text 'done' if successful\n * @example\n*/\nvar logon = function logon(store, ipayload) {\n return new Promise(function (resolve, reject) {\n debugger;\n var unSubscribe;\n var action;\n var implicitLogon = false;\n var urlInfo = null;\n var payload = ipayload == null ? null : _objectSpread({}, ipayload);\n if (store.getState().connections.get('currentConnection') >= 0) {\n resolve('ready');\n } else {\n var logonExit = function logonExit() {\n var newState = store.getState().connections;\n var runStatus = newState.get('runStatus');\n if (runStatus === 'ready') {\n unSubscribe();\n if (ipayload != null && ipayload.keepAlive != null) {\n var interval = 300;\n var timeout = 14400;\n if (ipayload.timers != null) {\n var timers = ipayload.timers;\n if (typeof timers === 'string') {\n var opts = timers.split(',');\n interval = parseInt(opts[0]);\n timeout = parseInt(opts[1]);\n } else {\n interval = timers[0];\n timeout = timers[1];\n }\n }\n (0,_keepViyaAlive_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, ipayload.keepAlive, interval, timeout, ipayload.onTimeout);\n }\n resolve(runStatus);\n } else if (runStatus === 'error') {\n unSubscribe();\n reject(newState.get('statusInfo').toJS());\n }\n };\n\n //\n // check url if not password (no window) or when payload is null\n // this allows users of restaf-server|viya-appserverjs to LOGONPAYLOAD unconditionally to logon\n //\n debugger;\n if (payload === null || payload.authType === _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_IMPLICIT) {\n urlInfo = parseUrlNext();\n if (payload !== null && urlInfo !== null) {\n payload = _objectSpread(_objectSpread({}, payload), urlInfo);\n }\n }\n if (payload == null) {\n if (urlInfo !== null) {\n payload = urlInfo;\n } else {\n payload = {\n host: \"\".concat(window.location.protocol, \"//\").concat(window.location.host),\n authType: _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_SERVER\n };\n }\n }\n\n // persist options in payload - currently used for pup support\n // remove once testing of setting options in initStore is complete\n if (payload.options != null) {\n store.config.options = _objectSpread({}, payload.options);\n }\n\n // now make the final decision\n if (payload.authType === 'code') {\n payload.authType = 'server';\n }\n payload.options = store.config.options;\n switch (payload.authType) {\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_TOKEN:\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_SERVER:\n if (payload.host == null) {\n payload.host = \"\".concat(window.location.protocol, \"//\").concat(window.location.host);\n }\n break;\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_IMPLICIT:\n if (payload.hasOwnProperty('token') === false) {\n implicitLogon = true;\n getToken(payload);\n resolve('Implicit Call');\n }\n break;\n case \"LOGOFF\":\n break;\n default:\n break;\n }\n if (!implicitLogon) {\n action = {\n type: payload.authType === 'LOGOFF' ? _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGOFF : _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON,\n payload: _objectSpread({}, payload)\n };\n\n //\n // check url if not password (no window) or when payload is null\n // this allows users of restaf-server|viya-appserverjs to LOGONPAYLOAD unconditionally to logon\n //\n\n if (payload === null || payload.authType === _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_IMPLICIT) {\n urlInfo = parseUrlNext();\n if (payload !== null && urlInfo !== null) {\n payload = _objectSpread(_objectSpread({}, payload), urlInfo);\n }\n }\n if (payload == null) {\n if (urlInfo !== null) {\n payload = urlInfo;\n } else {\n payload = {\n host: \"\".concat(window.location.protocol, \"//\").concat(window.location.host),\n authType: _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_SERVER\n };\n }\n }\n\n // persist options in payload - currently used for pup support\n // remove once testing of setting options in initStore is complete\n if (payload.options != null) {\n store.config.options = _objectSpread({}, payload.options);\n }\n\n // now make the final decision\n if (payload.authType === 'code') {\n payload.authType = 'server';\n }\n payload.options = store.config.options;\n switch (payload.authType) {\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_TOKEN:\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_SERVER:\n if (payload.host == null) {\n payload.host = \"\".concat(window.location.protocol, \"//\").concat(window.location.host);\n }\n break;\n case _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_IMPLICIT:\n if (payload.hasOwnProperty('token') === false) {\n implicitLogon = true;\n getToken(payload);\n resolve('Implicit Call');\n }\n break;\n case \"LOGOFF\":\n break;\n default:\n break;\n }\n if (!implicitLogon) {\n action = {\n type: payload.authType === 'LOGOFF' ? _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGOFF : _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON,\n payload: _objectSpread({}, payload)\n };\n // adding proxy option for use with axios\n payload.options.proxy = null;\n if (payload.options.proxyServer != null) {\n try {\n payload.options.proxy = new URL(payload.options.proxyServer);\n } catch (e) {\n payload.options.proxy = null;\n }\n }\n action.payload.sslOptions = store.config.hasOwnProperty('sslOptions') ? store.config.sslOptions : null;\n unSubscribe = store.subscribe(logonExit);\n action.storeConfig = store.config;\n // action.type = VIYA_LOGON;\n store.dispatch(action);\n }\n }\n action.payload.sslOptions = store.config.hasOwnProperty('sslOptions') ? store.config.sslOptions : null;\n unSubscribe = store.subscribe(logonExit);\n action.storeConfig = store.config;\n // action.type = VIYA_LOGON;\n store.dispatch(action);\n }\n });\n};\nfunction getToken(payload) {\n var x = \"\".concat(payload.host, \"/SASLogon/oauth/authorize?response_type=token&client_id=\").concat(payload.clientID);\n //noinspection JSUnresolvedVariable\n if (payload.redirect != null) {\n //noinspection JSUnresolvedVariable\n var redirectUri = \"\".concat(window.location.protocol, \"//\").concat(window.location.host, \"/\").concat(payload.redirect, \"?host=\").concat(payload.host);\n x = \"\".concat(x, \"&redirect_uri=\").concat(redirectUri);\n }\n window.location.replace(x);\n}\nfunction parseUrlNext() {\n if (window == null) {\n return null;\n }\n var url = new URL(window.location);\n // url.hash includes the leading '#', remove it for parsing\n var loc = qs__WEBPACK_IMPORTED_MODULE_2___default().parse(url.hash.startsWith('#') ? url.hash.substring(1) : url.hash);\n var q = Object.fromEntries(url.searchParams.entries());\n if (q.host == null || loc.access_token == null) {\n return null;\n }\n var tokenType = 'bearer';\n if (loc['#token_type'] != null) {\n tokenType = loc['#token_type'];\n } else if (loc['token_type'] != null) {\n tokenType = loc['token_type'];\n }\n var payload = {\n host: q.host,\n authType: _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_IMPLICIT,\n tokenType: tokenType,\n token: loc.access_token\n };\n return payload;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (logon);\n\n//# sourceURL=webpack://restaf/./store/logon.js?\n}");
1976
+
1977
+ /***/ },
1978
+
1979
+ /***/ "./store/prepareAction.js"
1980
+ /*!********************************!*\
1981
+ !*** ./store/prepareAction.js ***!
1982
+ \********************************/
1983
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1984
+
1985
+ "use strict";
1986
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var immutable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\n/* harmony import */ var _getResults_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getResults.js */ \"./store/getResults.js\");\n/* harmony import */ var _getXsrfData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getXsrfData.js */ \"./store/getXsrfData.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\nvar prepareAction = function prepareAction(store, iroute, actionType, payload, delay, eventHandler, parentRoute, jobContext) {\n var paginator;\n var route;\n var link;\n var serviceName;\n var current;\n if (typeof iroute === \"string\") {\n current = (0,_getResults_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, iroute);\n route = iroute;\n } else {\n current = iroute;\n route = current.get(\"route\");\n }\n if (current === null || (0,immutable__WEBPACK_IMPORTED_MODULE_0__.isImmutable)(current) === false) {\n return null;\n }\n /* */\n paginator = current.get(\"paginator\");\n link = current.get(\"link\").toJS();\n if (paginator) {\n route = current.get(\"parentRoute\");\n serviceName = route.split(\":/\")[0];\n } else {\n var searchPath = route.split(\":/\");\n serviceName = searchPath[0];\n searchPath.splice(1, 0, store.apiCallNo);\n route = searchPath.join(\":/\");\n store.apiCallNo++;\n }\n var action = {\n type: actionType,\n delay: delay == null ? 0 : delay,\n paginator: paginator,\n serviceName: serviceName,\n route: route,\n eventHandler: eventHandler,\n parentRoute: parentRoute,\n jobContext: jobContext,\n storeConfig: store.config,\n usedService: serviceName,\n link: link\n };\n if (link.href.split('/')[1] === 'casProxy') {\n action.usedService = 'casProxy';\n } else if (link.href.split('/')[1] === 'cas-shared-default-http') {\n action.usedService = 'cas-shared-default-http';\n }\n var xsrf = (0,_getXsrfData_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, action.usedService);\n if (payload != null) {\n action.payload = payload;\n }\n if (action.usedService === \"casProxy\" || action.usedService === \"cas-shared-default-http\") {\n xsrf = (0,_getXsrfData_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, action.usedService);\n var tkhttpid = (0,_getXsrfData_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, 'tkhttpid');\n if (tkhttpid != null) {\n xsrf['tkhttp-id'] = tkhttpid['tkhttp-id'];\n }\n }\n if (payload != null) {\n action.payload.xsrf = xsrf;\n } else {\n action.payload = {\n xsrf: xsrf\n };\n }\n return action;\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (prepareAction);\n\n//# sourceURL=webpack://restaf/./store/prepareAction.js?\n}");
1987
+
1988
+ /***/ },
1989
+
1990
+ /***/ "./store/readXsrfData.js"
1991
+ /*!*******************************!*\
1992
+ !*** ./store/readXsrfData.js ***!
1993
+ \*******************************/
1994
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1995
+
1996
+ "use strict";
1997
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\nfunction readXsrfData(headers, service, iroute) {\n var xsrfData = {\n serviceName: service,\n iroute: iroute,\n 'x-csrf-header': null,\n 'tkhttp-id': null\n };\n var xheader = headers('x-csrf-header');\n xsrfData['x-csrf-header'] = xheader;\n // xsrf data is present\n if (xheader != null) {\n xsrfData[xheader] = headers(xheader.toLowerCase());\n }\n // save tkhtt-id for cas use\n xsrfData['tkhttp-id'] = headers('tkhttp-id') != null ? headers('tkhttp-id') : null;\n return xsrfData;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (readXsrfData);\n\n//# sourceURL=webpack://restaf/./store/readXsrfData.js?\n}");
1998
+
1999
+ /***/ },
2000
+
2001
+ /***/ "./store/request.js"
2002
+ /*!**************************!*\
2003
+ !*** ./store/request.js ***!
2004
+ \**************************/
2005
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2006
+
2007
+ "use strict";
2008
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ \"../../../node_modules/axios/lib/axios.js\");\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/*\n * ------------------------------------------------------------------------------------\n * * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved * * Licensed under the Apache License, Version 2.0 (the \"License\");\n * * you may not use this file except in compliance with the License.\n * * You may obtain a copy of the License at\n * *\n * * http://www.apache.org/licenses/LICENSE-2.0\n * *\n * * Unless required by applicable law or agreed to in writing, software\n * * distributed under the License is distributed on an \"AS IS\" BASIS,\n * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * * See the License for the specific language governing permissions and\n * limitations under the License.\n * ----------------------------------------------------------------------------------------\n *\n */\n\n;\n\nvar Https = null;\nif (false) // removed by dead control flow\n{}\nfunction request(_x, _x2, _x3) {\n return _request.apply(this, arguments);\n}\nfunction _request() {\n _request = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().mark(function _callee(store, payload, reducer) {\n var config, c, opt, agent, r;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n config = _objectSpread({}, payload);\n if (payload.url.indexOf('https') !== -1 && Https !== null) {\n c = store.config;\n opt = {};\n if (c.httpOptions != null) {\n opt = c.httpOptions;\n }\n agent = new Https.Agent(opt);\n config.httpsAgent = agent;\n }\n _context.next = 1;\n return (0,axios__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(config);\n case 1:\n r = _context.sent;\n return _context.abrupt(\"return\", reducer == null ? r : reducer(r));\n case 2:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _request.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (request);\n\n//# sourceURL=webpack://restaf/./store/request.js?\n}");
2009
+
2010
+ /***/ },
2011
+
2012
+ /***/ "./store/restoreStore.js"
2013
+ /*!*******************************!*\
2014
+ !*** ./store/restoreStore.js ***!
2015
+ \*******************************/
2016
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2017
+
2018
+ "use strict";
2019
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/* harmony import */ var _apiCall_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./apiCall.js */ \"./store/apiCall.js\");\n/* harmony import */ var _apiCallAll_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCallAll.js */ \"./store/apiCallAll.js\");\n/* harmony import */ var _runAction_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./runAction.js */ \"./store/runAction.js\");\n/* harmony import */ var _apiSubmit_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./apiSubmit.js */ \"./store/apiSubmit.js\");\n/* harmony import */ var _jobState_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./jobState.js */ \"./store/jobState.js\");\n/* harmony import */ var _jobStateAll_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./jobStateAll.js */ \"./store/jobStateAll.js\");\n/* harmony import */ var _request_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./request.js */ \"./store/request.js\");\n/* harmony import */ var _getServices_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./getServices.js */ \"./store/getServices.js\");\n/* harmony import */ var _addServices_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./addServices.js */ \"./store/addServices.js\");\n/* harmony import */ var _getServiceRoot_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./getServiceRoot.js */ \"./store/getServiceRoot.js\");\n/* harmony import */ var _logon_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./logon.js */ \"./store/logon.js\");\n/* harmony import */ var _logoff_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./logoff.js */ \"./store/logoff.js\");\n/* harmony import */ var _endStore_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./endStore.js */ \"./store/endStore.js\");\n/* harmony import */ var _routeToObj_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./routeToObj.js */ \"./store/routeToObj.js\");\n/* harmony import */ var _selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./selectLogonInfo.js */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _appData_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./appData.js */ \"./store/appData.js\");\n/* harmony import */ var _getXsrfData_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./getXsrfData.js */ \"./store/getXsrfData.js\");\n/* harmony import */ var _deleteRafObject_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./deleteRafObject.js */ \"./store/deleteRafObject.js\");\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/*\n* ------------------------------------------------------------------------------------\n* Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n* ---------------------------------------------------------------------------------------\n*\n*/\n\n;\n\n\n\n\n\n\n\n\n// import jobStatus from './jobStatus.js';\n\n\n\n\n\n\n\n\n\n\n\nfunction restoreStore(store) {\n var newx = {\n logon: _logon_js__WEBPACK_IMPORTED_MODULE_12__[\"default\"].bind(null, store),\n logoff: _logoff_js__WEBPACK_IMPORTED_MODULE_13__[\"default\"].bind(null, store),\n connection: loggedOn.bind(null, store),\n addServices: _addServices_js__WEBPACK_IMPORTED_MODULE_10__[\"default\"].bind(null, store),\n getServices: _getServices_js__WEBPACK_IMPORTED_MODULE_9__[\"default\"].bind(null, store),\n apiCall: _apiCall_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].bind(null, store),\n runAction: _runAction_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"].bind(null, store),\n apiCallAll: _apiCallAll_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].bind(null, store),\n rafObject: _routeToObj_js__WEBPACK_IMPORTED_MODULE_15__[\"default\"].bind(null, store),\n deleteRafObject: _deleteRafObject_js__WEBPACK_IMPORTED_MODULE_19__[\"default\"].bind(null, store),\n jobState: _jobState_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"].bind(null, store),\n jobStateAll: _jobStateAll_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"].bind(null, store),\n submit: _apiSubmit_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"].bind(null, store),\n submitStatus: getApiStatus.bind(null, store),\n setAppData: _appData_js__WEBPACK_IMPORTED_MODULE_17__[\"default\"].bind(null, store, _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.APP_DATA),\n getAppData: getAppData.bind(null, store),\n setXsrfData: _appData_js__WEBPACK_IMPORTED_MODULE_17__[\"default\"].bind(null, store, _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.API_XSRF),\n getXsrfData: _getXsrfData_js__WEBPACK_IMPORTED_MODULE_18__[\"default\"].bind(null, store),\n getState: store.getState,\n endStore: _endStore_js__WEBPACK_IMPORTED_MODULE_14__[\"default\"].bind(null, store),\n store: store,\n getServiceRoot: _getServiceRoot_js__WEBPACK_IMPORTED_MODULE_11__[\"default\"].bind(null, store),\n request: _request_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n };\n var newStore = _objectSpread({\n store: store\n }, newx);\n return newStore;\n}\nfunction loggedOn(store) {\n return (0,_selectLogonInfo_js__WEBPACK_IMPORTED_MODULE_16__[\"default\"])(store.getState());\n}\nfunction getAppData(store) {\n var list = store.getState()[_actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.APP_DATA_ROOT];\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n var path = args.length > 0 ? ['userData'].concat(args) : ['userData'];\n return list.getIn(path, null);\n}\nfunction getApiStatus(store, jobContext) {\n var list = store.getState()[_actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.API_STATUS_ROOT];\n var result = null;\n if (!jobContext) {\n result = list.get('routeList');\n } else {\n var r = list.getIn(['userData', jobContext], null);\n if (r !== null) {\n result = r.toJS();\n result.job = (0,_routeToObj_js__WEBPACK_IMPORTED_MODULE_15__[\"default\"])(store, result.route);\n }\n }\n return result;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (restoreStore);\n\n//# sourceURL=webpack://restaf/./store/restoreStore.js?\n}");
2020
+
2021
+ /***/ },
2022
+
2023
+ /***/ "./store/routeToObj.js"
2024
+ /*!*****************************!*\
2025
+ !*** ./store/routeToObj.js ***!
2026
+ \*****************************/
2027
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2028
+
2029
+ "use strict";
2030
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _extendFolder_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./extendFolder.js */ \"./store/extendFolder.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\nfunction routeToObj(store, route) {\n var path = route.split(':/');\n var service = path.shift();\n var folder = store.getState()[service];\n folder = path.length > 0 ? folder.getIn(path) : folder;\n return (0,_extendFolder_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, folder);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (routeToObj);\n\n//# sourceURL=webpack://restaf/./store/routeToObj.js?\n}");
2031
+
2032
+ /***/ },
2033
+
2034
+ /***/ "./store/runAction.js"
2035
+ /*!****************************!*\
2036
+ !*** ./store/runAction.js ***!
2037
+ \****************************/
2038
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2039
+
2040
+ "use strict";
2041
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _apiCall_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./apiCall.js */ \"./store/apiCall.js\");\n/* harmony import */ var _jobState_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./jobState.js */ \"./store/jobState.js\");\n\n\n/*\n * ------------------------------------------------------------------------------------\n * * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved * * Licensed under the Apache License, Version 2.0 (the \"License\");\n * * you may not use this file except in compliance with the License.\n * * You may obtain a copy of the License at\n * *\n * * http://www.apache.org/licenses/LICENSE-2.0\n * *\n * * Unless required by applicable law or agreed to in writing, software\n * * distributed under the License is distributed on an \"AS IS\" BASIS,\n * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * * See the License for the specific language governing permissions and\n * limitations under the License.\n * ----------------------------------------------------------------------------------------\n *\n */\n\n;\n\n\n/**\n * @Description Run a given action\n * @async\n * @module runAction\n * @category restaf/core\n * @param {rafObject} session - cas session\n * @param {casPayload} payload - payload for cas actions\n * @returns {promise} returns rafObject\n * @example\n * \nlet restaf = require(\"@sassoftware/restaf\");\nlet payload = require('./config')();\nlet {casSetup} = require(\"@sassoftware/restaflib\");\n\nlet prtUtil = require(\"./prtUtil\");\n\nlet store = restaf.initStore({casProxy: true});\nasync function example () {\n console.log(payload);\n let { session } = await casSetup(store, payload, \"cas\");\n\n let p = {\n action: \"echo\",\n data : { code: \"data casuser.data1; x=1;put x= ; run; \" }\n };\n \n let r = await store.runAction(session, p);\n console.log(JSON.stringify(r.items(), null, 4));\n return \"done\";\n}\n\nexample()\n .then(r => console.log(r))\n .catch(err => console.log(err));\n \n */\nfunction runAction(_x, _x2, _x3, _x4, _x5, _x6, _x7, _x8) {\n return _runAction.apply(this, arguments);\n}\nfunction _runAction() {\n _runAction = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, session, payload, context, onCompletion, maxTries, delay, progress) {\n var actionResult;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n actionResult = null;\n if (!(maxTries != null)) {\n _context.next = 2;\n break;\n }\n _context.next = 1;\n return submitAction(store, session, payload, context, maxTries, delay, progress);\n case 1:\n actionResult = _context.sent;\n _context.next = 4;\n break;\n case 2:\n _context.next = 3;\n return (0,_apiCall_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, session.links('execute'), payload, 0);\n case 3:\n actionResult = _context.sent;\n case 4:\n if (!(casError(actionResult) === true)) {\n _context.next = 5;\n break;\n }\n console.log(JSON.stringify(actionResult.items(), null, 4));\n throw JSON.stringify(actionResult.items('disposition').toJS());\n case 5:\n if (onCompletion != null) {\n onCompletion(context, actionResult);\n }\n return _context.abrupt(\"return\", actionResult);\n case 6:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _runAction.apply(this, arguments);\n}\nfunction casError(actionResult) {\n var statusCode = actionResult.items('disposition', 'statusCode');\n var severity = actionResult.items('disposition', 'severity').toLowerCase();\n return statusCode !== 0 || severity === 'error' ? true : false;\n}\n\n//future\nfunction submitAction(_x9, _x0, _x1, _x10, _x11, _x12, _x13) {\n return _submitAction.apply(this, arguments);\n}\nfunction _submitAction() {\n _submitAction = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee2(store, session, payload, context, maxTries, delay, progress) {\n var actionPromise, r, result;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n actionPromise = (0,_apiCall_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, session.links('execute'), payload, 0);\n _context2.next = 1;\n return (0,_jobState_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, session, null, maxTries, delay, progress, context, true);\n case 1:\n r = _context2.sent;\n result = actionPromise.then(function (result) {\n return result;\n }, function (err) {\n return err;\n });\n return _context2.abrupt(\"return\", result);\n case 2:\n case \"end\":\n return _context2.stop();\n }\n }, _callee2);\n }));\n return _submitAction.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (runAction);\n\n//# sourceURL=webpack://restaf/./store/runAction.js?\n}");
2042
+
2043
+ /***/ },
2044
+
2045
+ /***/ "./store/selectLogonInfo.js"
2046
+ /*!**********************************!*\
2047
+ !*** ./store/selectLogonInfo.js ***!
2048
+ \**********************************/
2049
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2050
+
2051
+ "use strict";
2052
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\nfunction selectLogonInfo(mainState) {\n var state = mainState.connections;\n var currentNo = state.get('currentConnection');\n return currentNo === -1 ? null : state.get('connections').get(currentNo).toJS().logonInfo;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (selectLogonInfo);\n\n//# sourceURL=webpack://restaf/./store/selectLogonInfo.js?\n}");
2053
+
2054
+ /***/ },
2055
+
2056
+ /***/ "./utils/SASLogoffOauthLink.js"
2057
+ /*!*************************************!*\
2058
+ !*** ./utils/SASLogoffOauthLink.js ***!
2059
+ \*************************************/
2060
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2061
+
2062
+ "use strict";
2063
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _serverCalls_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../serverCalls/index.js */ \"./serverCalls/index.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\nvar SASLogoffOauthLink = function SASLogoffOauthLink() {\n return {\n logoff: _serverCalls_index_js__WEBPACK_IMPORTED_MODULE_0__.request,\n link: {\n href: '/SASLogon/logout',\n method: 'GET',\n rel: 'logoff',\n responseType: 'application/json',\n uri: '/SASLogon/logout'\n }\n };\n};\n/*\n * redirectUri not specified - /SASLogon/oauth/token?\n */\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SASLogoffOauthLink);\n\n//# sourceURL=webpack://restaf/./utils/SASLogoffOauthLink.js?\n}");
2064
+
2065
+ /***/ },
2066
+
2067
+ /***/ "./utils/SASLogonOauthLink.js"
2068
+ /*!************************************!*\
2069
+ !*** ./utils/SASLogonOauthLink.js ***!
2070
+ \************************************/
2071
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2072
+
2073
+ "use strict";
2074
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _serverCalls_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../serverCalls/index.js */ \"./serverCalls/index.js\");\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\n\nvar SASLogonOauthLink = function SASLogonOauthLink(type) {\n if (type === _actionTypes_js__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_PASSWORD || type == undefined) {\n return {\n logon: _serverCalls_index_js__WEBPACK_IMPORTED_MODULE_0__.trustedGrant,\n link: {\n href: '/SASLogon/oauth/token',\n method: 'POST',\n rel: 'logon',\n responseType: 'application/json',\n type: 'application/x-www-form-urlencoded',\n uri: '/SASLogon/oauth/token'\n }\n };\n } else {\n return {\n keepAlive: _serverCalls_index_js__WEBPACK_IMPORTED_MODULE_0__.keepAlive\n };\n }\n};\n\n/*\nconst SASLogoffOauthLink = function () {\n return (\n {\n logoff: request,\n link : {\n href : '/SASLogon/logout',\n method : 'GET',\n rel : 'logon',\n responseType: 'application/json',\n uri : '/SASLogon/logout'\n }\n });\n\n};\n*/\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SASLogonOauthLink);\n\n//# sourceURL=webpack://restaf/./utils/SASLogonOauthLink.js?\n}");
2075
+
2076
+ /***/ },
2077
+
2078
+ /***/ "./utils/index.js"
2079
+ /*!************************!*\
2080
+ !*** ./utils/index.js ***!
2081
+ \************************/
2082
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2083
+
2084
+ "use strict";
2085
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SASLogoffOauthLink: () => (/* reexport safe */ _SASLogoffOauthLink_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n/* harmony export */ SASLogonOauthLink: () => (/* reexport safe */ _SASLogonOauthLink_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n/* harmony export */ setBadStatus: () => (/* reexport safe */ _statusFuncs_js__WEBPACK_IMPORTED_MODULE_0__.setBadStatus),\n/* harmony export */ setGoodStatus: () => (/* reexport safe */ _statusFuncs_js__WEBPACK_IMPORTED_MODULE_0__.setGoodStatus),\n/* harmony export */ statusInfoStruct: () => (/* reexport safe */ _rootStruct_js__WEBPACK_IMPORTED_MODULE_4__.statusInfoStruct)\n/* harmony export */ });\n/* harmony import */ var _statusFuncs_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./statusFuncs.js */ \"./utils/statusFuncs.js\");\n/* harmony import */ var _SASLogonOauthLink_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SASLogonOauthLink.js */ \"./utils/SASLogonOauthLink.js\");\n/* harmony import */ var _SASLogoffOauthLink_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SASLogoffOauthLink.js */ \"./utils/SASLogoffOauthLink.js\");\n/* harmony import */ var _routeOrFolder_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./routeOrFolder.js */ \"./utils/routeOrFolder.js\");\n/* harmony import */ var _rootStruct_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./rootStruct.js */ \"./utils/rootStruct.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\n\n\n\n\n\n\n//# sourceURL=webpack://restaf/./utils/index.js?\n}");
2086
+
2087
+ /***/ },
2088
+
2089
+ /***/ "./utils/rootStruct.js"
2090
+ /*!*****************************!*\
2091
+ !*** ./utils/rootStruct.js ***!
2092
+ \*****************************/
2093
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2094
+
2095
+ "use strict";
2096
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ itemsStruct: () => (/* binding */ itemsStruct),\n/* harmony export */ statusInfoStruct: () => (/* binding */ statusInfoStruct),\n/* harmony export */ tLinkStruct: () => (/* binding */ tLinkStruct)\n/* harmony export */ });\n/* harmony import */ var _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes.js */ \"./actionTypes.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n//import {actionTypes} from '../actionTypes.js';\n\nfunction tLinkStruct(name, type, service) {\n if (service === _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__.APP_DATA_ROOT || service === _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__.API_STATUS_ROOT || service === _actionTypes_js__WEBPACK_IMPORTED_MODULE_0__.API_XSRF_ROOT) {\n return {\n structType: service,\n type: service,\n route: service,\n routeList: [],\n userData: {}\n };\n }\n var relPath = {\n structType: type,\n type: type,\n title: name,\n method: 'GET',\n /* for cmd tLinks - useful in UI */\n iconfig: {},\n /* input config */\n payload: {},\n statusInfo: statusInfoStruct(),\n runStatus: 'idle',\n parentRoute: '',\n route: '',\n resultType: '',\n links: {},\n /* same structures */\n /* cmds : {}, */\n scrollCmds: {},\n /* same structure */\n paginator: false,\n itemsList: [],\n items: [],\n /* items Struct */\n details: {},\n stateEvent: null,\n responseHeaders: {},\n link: null,\n raw: {}\n };\n if (arguments.length === 3) {\n relPath.link = {\n method: 'GET',\n title: service,\n href: '/' + service + '/',\n rel: 'root',\n type: 'application/vnd.sas.api',\n uri: '/' + service + '/'\n };\n relPath.route = \"\".concat(service, \":/\").concat(service);\n relPath.parentRoute = service;\n }\n return relPath;\n}\n\n/* also for info */\n\nfunction itemsStruct() {\n return {\n name: '',\n type: '',\n resultType: '',\n cmds: null,\n data: null\n };\n}\nfunction statusInfoStruct() {\n return {\n status: 0,\n statusText: ' ',\n error: false,\n details: ' '\n };\n}\n\n\n//# sourceURL=webpack://restaf/./utils/rootStruct.js?\n}");
2097
+
2098
+ /***/ },
2099
+
2100
+ /***/ "./utils/routeOrFolder.js"
2101
+ /*!********************************!*\
2102
+ !*** ./utils/routeOrFolder.js ***!
2103
+ \********************************/
2104
+ (__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
2105
+
2106
+ "use strict";
2107
+ eval("{/* harmony import */ var immutable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n;\n\nfunction routeOrFolder(iroute) {\n var route = null;\n if (typeof iroute === 'string') {\n route = iroute;\n } else {\n if ((0,immutable__WEBPACK_IMPORTED_MODULE_0__.isImmutable)(iroute) === true) {\n route = iroute.get('route', null);\n }\n }\n return route;\n}\n/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = (routeOrFolder);\n\n//# sourceURL=webpack://restaf/./utils/routeOrFolder.js?\n}");
2108
+
2109
+ /***/ },
2110
+
2111
+ /***/ "./utils/statusFuncs.js"
2112
+ /*!******************************!*\
2113
+ !*** ./utils/statusFuncs.js ***!
2114
+ \******************************/
2115
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2116
+
2117
+ "use strict";
2118
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ setBadStatus: () => (/* binding */ setBadStatus),\n/* harmony export */ setGoodStatus: () => (/* binding */ setGoodStatus)\n/* harmony export */ });\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\nfunction setGoodStatus(payload) {\n return {\n status: payload.status,\n statusText: payload.statusText,\n detail: ' ',\n error: false\n };\n}\nfunction setBadStatus(payload) {\n var code = 0;\n var detail = ' ';\n if (payload.hasOwnProperty('response') && payload.response != null) {\n code = payload.response.status;\n detail = payload.response.hasOwnProperty('data') ? payload.response.data : payload.response.statusText;\n }\n return {\n status: code,\n statusText: payload.message,\n detail: detail,\n error: true\n };\n}\n\n//# sourceURL=webpack://restaf/./utils/statusFuncs.js?\n}");
2119
+
2120
+ /***/ },
2121
+
2122
+ /***/ "?4860"
2123
+ /*!********************************!*\
2124
+ !*** ./util.inspect (ignored) ***!
2125
+ \********************************/
2126
+ () {
2127
+
2128
+ eval("{/* (ignored) */\n\n//# sourceURL=webpack://restaf/./util.inspect_(ignored)?\n}");
2129
+
2130
+ /***/ }
2131
+
2132
+ /******/ });
2133
+ /************************************************************************/
2134
+ /******/ // The module cache
2135
+ /******/ var __webpack_module_cache__ = {};
2136
+ /******/
2137
+ /******/ // The require function
2138
+ /******/ function __webpack_require__(moduleId) {
2139
+ /******/ // Check if module is in cache
2140
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
2141
+ /******/ if (cachedModule !== undefined) {
2142
+ /******/ return cachedModule.exports;
2143
+ /******/ }
2144
+ /******/ // Check if module exists (development only)
2145
+ /******/ if (__webpack_modules__[moduleId] === undefined) {
2146
+ /******/ var e = new Error("Cannot find module '" + moduleId + "'");
2147
+ /******/ e.code = 'MODULE_NOT_FOUND';
2148
+ /******/ throw e;
2149
+ /******/ }
2150
+ /******/ // Create a new module (and put it into the cache)
2151
+ /******/ var module = __webpack_module_cache__[moduleId] = {
2152
+ /******/ // no module.id needed
2153
+ /******/ // no module.loaded needed
2154
+ /******/ exports: {}
2155
+ /******/ };
2156
+ /******/
2157
+ /******/ // Execute the module function
2158
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
2159
+ /******/
2160
+ /******/ // Return the exports of the module
2161
+ /******/ return module.exports;
2162
+ /******/ }
2163
+ /******/
2164
+ /************************************************************************/
2165
+ /******/ /* webpack/runtime/compat get default export */
2166
+ /******/ (() => {
2167
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
2168
+ /******/ __webpack_require__.n = (module) => {
2169
+ /******/ var getter = module && module.__esModule ?
2170
+ /******/ () => (module['default']) :
2171
+ /******/ () => (module);
2172
+ /******/ __webpack_require__.d(getter, { a: getter });
2173
+ /******/ return getter;
2174
+ /******/ };
2175
+ /******/ })();
2176
+ /******/
2177
+ /******/ /* webpack/runtime/define property getters */
2178
+ /******/ (() => {
2179
+ /******/ // define getter functions for harmony exports
2180
+ /******/ __webpack_require__.d = (exports, definition) => {
2181
+ /******/ for(var key in definition) {
2182
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
2183
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
2184
+ /******/ }
2185
+ /******/ }
2186
+ /******/ };
2187
+ /******/ })();
2188
+ /******/
2189
+ /******/ /* webpack/runtime/global */
2190
+ /******/ (() => {
2191
+ /******/ __webpack_require__.g = (function() {
2192
+ /******/ if (typeof globalThis === 'object') return globalThis;
2193
+ /******/ try {
2194
+ /******/ return this || new Function('return this')();
2195
+ /******/ } catch (e) {
2196
+ /******/ if (typeof window === 'object') return window;
2197
+ /******/ }
2198
+ /******/ })();
2199
+ /******/ })();
2200
+ /******/
2201
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
2202
+ /******/ (() => {
2203
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
2204
+ /******/ })();
2205
+ /******/
2206
+ /******/ /* webpack/runtime/make namespace object */
2207
+ /******/ (() => {
2208
+ /******/ // define __esModule on exports
2209
+ /******/ __webpack_require__.r = (exports) => {
2210
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
2211
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2212
+ /******/ }
2213
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
2214
+ /******/ };
2215
+ /******/ })();
2216
+ /******/
2217
+ /************************************************************************/
2218
+ /******/
2219
+ /******/ // startup
2220
+ /******/ // Load entry module and return exports
2221
+ /******/ // This entry module can't be inlined because the eval devtool is used.
2222
+ /******/ var __webpack_exports__ = __webpack_require__("./index.js");
2223
+ /******/
2224
+ /******/ return __webpack_exports__;
2225
+ /******/ })()
2226
+ ;
2227
+ });