@ably/ui 11.7.0 → 11.7.1-dev.abfa747
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.
- package/README.md +7 -7
- package/core/Code/component.css +2 -0
- package/core/CompanyAutocomplete/component.js +2 -1
- package/core/CompanyAutocomplete/component.js.LICENSE.txt +1 -0
- package/core/FeaturedLink/component.css +2 -11
- package/core/FeaturedLink.jsx +12 -5
- package/core/Footer/component.css +3 -3
- package/core/Footer.jsx +15 -15
- package/core/Meganav/component.css +6 -6
- package/core/Meganav.jsx +348 -756
- package/core/MeganavBlogPostsList/component.js +2 -1
- package/core/MeganavBlogPostsList/component.js.LICENSE.txt +1 -0
- package/core/MeganavBlogPostsList.jsx +12 -5
- package/core/MeganavContentCompany.jsx +307 -715
- package/core/MeganavContentDevelopers.jsx +1 -1
- package/core/MeganavContentProducts.jsx +13 -6
- package/core/MeganavItemsMobile.jsx +12 -5
- package/core/MeganavItemsSignedIn.jsx +12 -5
- package/core/MeganavSearch.jsx +12 -5
- package/core/MeganavSearchPanel.jsx +12 -5
- package/core/MeganavSearchSuggestions.jsx +12 -5
- package/core/Notice.jsx +2 -2
- package/core/Uptime.jsx +301 -709
- package/core/fonts/jetBrains-mono.css +3 -0
- package/core/fonts/manrope.css +3 -0
- package/core/scripts.js +2 -1
- package/core/scripts.js.LICENSE.txt +1 -0
- package/core/styles.css +221 -94
- package/package.json +3 -3
- package/src/core/FeaturedLink/component.css +2 -11
- package/src/core/FeaturedLink/component.html.erb +14 -5
- package/src/core/FeaturedLink/component.jsx +10 -4
- package/src/core/FeaturedLink/component.rb +3 -1
- package/src/core/Footer/component.css +3 -3
- package/src/core/Footer/component.html.erb +14 -14
- package/src/core/Footer/component.jsx +15 -15
- package/src/core/Meganav/component.css +6 -6
- package/src/core/MeganavContentDevelopers/component.html.erb +1 -1
- package/src/core/MeganavContentDevelopers/component.jsx +1 -1
- package/src/core/MeganavContentProducts/component.html.erb +1 -1
- package/src/core/MeganavContentProducts/component.jsx +1 -1
- package/src/core/Notice/component.html.erb +2 -2
- package/src/core/Notice/component.jsx +2 -2
- package/src/core/fonts/jetBrains-mono.css +3 -0
- package/src/core/fonts/manrope.css +3 -0
- package/src/core/styles/buttons.css +5 -5
- package/src/core/styles/forms.css +5 -5
- package/src/core/styles/properties.css +153 -45
- package/src/core/styles/text.css +58 -39
- package/src/core/utils/syntax-highlighter.css +2 -0
- package/tailwind.config.js +179 -49
package/core/Uptime.jsx
CHANGED
|
@@ -11,14 +11,6 @@
|
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
|
-
/***/ 7757:
|
|
15
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
16
|
-
|
|
17
|
-
module.exports = __webpack_require__(5666);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
/***/ }),
|
|
21
|
-
|
|
22
14
|
/***/ 5751:
|
|
23
15
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24
16
|
|
|
@@ -38,24 +30,31 @@ module.exports = __webpack_require__(5666);
|
|
|
38
30
|
var FeaturedLink = function FeaturedLink(_ref) {
|
|
39
31
|
var url = _ref.url,
|
|
40
32
|
_ref$textSize = _ref.textSize,
|
|
41
|
-
textSize = _ref$textSize === void 0 ? "text-
|
|
33
|
+
textSize = _ref$textSize === void 0 ? "text-p2" : _ref$textSize,
|
|
42
34
|
_ref$iconColor = _ref.iconColor,
|
|
43
35
|
iconColor = _ref$iconColor === void 0 ? "text-cool-black" : _ref$iconColor,
|
|
44
36
|
_ref$flush = _ref.flush,
|
|
45
37
|
flush = _ref$flush === void 0 ? false : _ref$flush,
|
|
38
|
+
_ref$reverse = _ref.reverse,
|
|
39
|
+
reverse = _ref$reverse === void 0 ? false : _ref$reverse,
|
|
46
40
|
children = _ref.children;
|
|
47
41
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
|
48
42
|
href: url,
|
|
49
|
-
className: "ui-featured-link ".concat(textSize, " ").concat(flush ? "" : "py-8"
|
|
43
|
+
className: "ui-featured-link group ".concat(textSize, " ").concat(flush ? "" : "py-8"),
|
|
50
44
|
style: {
|
|
51
45
|
"--featured-link-icon-size": "var(".concat(textSize.replace("text", "--fs"), ")")
|
|
52
46
|
}
|
|
53
|
-
},
|
|
47
|
+
}, reverse ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
|
54
48
|
name: "icon-gui-link-arrow",
|
|
55
49
|
size: "calc(var(--featured-link-icon-size) * 1.25)",
|
|
56
50
|
color: iconColor,
|
|
57
|
-
additionalCSS: "ui-featured-link-icon"
|
|
58
|
-
}))
|
|
51
|
+
additionalCSS: "ui-featured-link-icon align-middle mr-8 relative -top-1 -right-4 transition-all group-hover:right-0 transform rotate-180"
|
|
52
|
+
}), children) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
|
53
|
+
name: "icon-gui-link-arrow",
|
|
54
|
+
size: "calc(var(--featured-link-icon-size) * 1.25)",
|
|
55
|
+
color: iconColor,
|
|
56
|
+
additionalCSS: "ui-featured-link-icon align-middle ml-8 relative -top-1 -left-4 transition-all group-hover:left-0"
|
|
57
|
+
})));
|
|
59
58
|
};
|
|
60
59
|
|
|
61
60
|
FeaturedLink.propTypes = {
|
|
@@ -122,774 +121,367 @@ Icon.propTypes = {
|
|
|
122
121
|
|
|
123
122
|
/***/ }),
|
|
124
123
|
|
|
125
|
-
/***/
|
|
124
|
+
/***/ 6073:
|
|
126
125
|
/***/ ((module) => {
|
|
127
126
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
127
|
+
"use strict";
|
|
128
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__6073__;
|
|
129
|
+
|
|
130
|
+
/***/ }),
|
|
131
|
+
|
|
132
|
+
/***/ 5225:
|
|
133
|
+
/***/ ((module) => {
|
|
134
|
+
|
|
135
|
+
"use strict";
|
|
136
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5225__;
|
|
137
|
+
|
|
138
|
+
/***/ }),
|
|
139
|
+
|
|
140
|
+
/***/ 7061:
|
|
141
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
142
|
+
|
|
143
|
+
var _typeof = (__webpack_require__(8698)["default"]);
|
|
144
|
+
function _regeneratorRuntime() {
|
|
145
|
+
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
146
|
+
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
147
|
+
return e;
|
|
148
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
149
|
+
var t,
|
|
150
|
+
e = {},
|
|
151
|
+
r = Object.prototype,
|
|
152
|
+
n = r.hasOwnProperty,
|
|
153
|
+
o = Object.defineProperty || function (t, e, r) {
|
|
154
|
+
t[e] = r.value;
|
|
155
|
+
},
|
|
156
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
|
157
|
+
a = i.iterator || "@@iterator",
|
|
158
|
+
c = i.asyncIterator || "@@asyncIterator",
|
|
159
|
+
u = i.toStringTag || "@@toStringTag";
|
|
160
|
+
function define(t, e, r) {
|
|
161
|
+
return Object.defineProperty(t, e, {
|
|
162
|
+
value: r,
|
|
163
|
+
enumerable: !0,
|
|
164
|
+
configurable: !0,
|
|
165
|
+
writable: !0
|
|
166
|
+
}), t[e];
|
|
154
167
|
}
|
|
155
168
|
try {
|
|
156
|
-
// IE 8 has a broken Object.defineProperty that only works on DOM objects.
|
|
157
169
|
define({}, "");
|
|
158
|
-
} catch (
|
|
159
|
-
define = function(
|
|
160
|
-
return
|
|
170
|
+
} catch (t) {
|
|
171
|
+
define = function define(t, e, r) {
|
|
172
|
+
return t[e] = r;
|
|
161
173
|
};
|
|
162
174
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
// The ._invoke method unifies the implementations of the .next,
|
|
171
|
-
// .throw, and .return methods.
|
|
172
|
-
generator._invoke = makeInvokeMethod(innerFn, self, context);
|
|
173
|
-
|
|
174
|
-
return generator;
|
|
175
|
+
function wrap(t, e, r, n) {
|
|
176
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
177
|
+
a = Object.create(i.prototype),
|
|
178
|
+
c = new Context(n || []);
|
|
179
|
+
return o(a, "_invoke", {
|
|
180
|
+
value: makeInvokeMethod(t, r, c)
|
|
181
|
+
}), a;
|
|
175
182
|
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
// Try/catch helper to minimize deoptimizations. Returns a completion
|
|
179
|
-
// record like context.tryEntries[i].completion. This interface could
|
|
180
|
-
// have been (and was previously) designed to take a closure to be
|
|
181
|
-
// invoked without arguments, but in all the cases we care about we
|
|
182
|
-
// already have an existing method we want to call, so there's no need
|
|
183
|
-
// to create a new function object. We can even get away with assuming
|
|
184
|
-
// the method takes exactly one argument, since that happens to be true
|
|
185
|
-
// in every case, so we don't have to touch the arguments object. The
|
|
186
|
-
// only additional allocation required is the completion record, which
|
|
187
|
-
// has a stable shape and so hopefully should be cheap to allocate.
|
|
188
|
-
function tryCatch(fn, obj, arg) {
|
|
183
|
+
function tryCatch(t, e, r) {
|
|
189
184
|
try {
|
|
190
|
-
return {
|
|
191
|
-
|
|
192
|
-
|
|
185
|
+
return {
|
|
186
|
+
type: "normal",
|
|
187
|
+
arg: t.call(e, r)
|
|
188
|
+
};
|
|
189
|
+
} catch (t) {
|
|
190
|
+
return {
|
|
191
|
+
type: "throw",
|
|
192
|
+
arg: t
|
|
193
|
+
};
|
|
193
194
|
}
|
|
194
195
|
}
|
|
195
|
-
|
|
196
|
-
var
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
// Returning this object from the innerFn has the same effect as
|
|
202
|
-
// breaking out of the dispatch switch statement.
|
|
203
|
-
var ContinueSentinel = {};
|
|
204
|
-
|
|
205
|
-
// Dummy constructor functions that we use as the .constructor and
|
|
206
|
-
// .constructor.prototype properties for functions that return Generator
|
|
207
|
-
// objects. For full spec compliance, you may wish to configure your
|
|
208
|
-
// minifier not to mangle the names of these two functions.
|
|
196
|
+
e.wrap = wrap;
|
|
197
|
+
var h = "suspendedStart",
|
|
198
|
+
l = "suspendedYield",
|
|
199
|
+
f = "executing",
|
|
200
|
+
s = "completed",
|
|
201
|
+
y = {};
|
|
209
202
|
function Generator() {}
|
|
210
203
|
function GeneratorFunction() {}
|
|
211
204
|
function GeneratorFunctionPrototype() {}
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
// don't natively support it.
|
|
215
|
-
var IteratorPrototype = {};
|
|
216
|
-
IteratorPrototype[iteratorSymbol] = function () {
|
|
205
|
+
var p = {};
|
|
206
|
+
define(p, a, function () {
|
|
217
207
|
return this;
|
|
218
|
-
};
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
IteratorPrototype = NativeIteratorPrototype;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
var Gp = GeneratorFunctionPrototype.prototype =
|
|
231
|
-
Generator.prototype = Object.create(IteratorPrototype);
|
|
232
|
-
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
|
|
233
|
-
GeneratorFunctionPrototype.constructor = GeneratorFunction;
|
|
234
|
-
GeneratorFunction.displayName = define(
|
|
235
|
-
GeneratorFunctionPrototype,
|
|
236
|
-
toStringTagSymbol,
|
|
237
|
-
"GeneratorFunction"
|
|
238
|
-
);
|
|
239
|
-
|
|
240
|
-
// Helper for defining the .next, .throw, and .return methods of the
|
|
241
|
-
// Iterator interface in terms of a single ._invoke method.
|
|
242
|
-
function defineIteratorMethods(prototype) {
|
|
243
|
-
["next", "throw", "return"].forEach(function(method) {
|
|
244
|
-
define(prototype, method, function(arg) {
|
|
245
|
-
return this._invoke(method, arg);
|
|
208
|
+
});
|
|
209
|
+
var d = Object.getPrototypeOf,
|
|
210
|
+
v = d && d(d(values([])));
|
|
211
|
+
v && v !== r && n.call(v, a) && (p = v);
|
|
212
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
213
|
+
function defineIteratorMethods(t) {
|
|
214
|
+
["next", "throw", "return"].forEach(function (e) {
|
|
215
|
+
define(t, e, function (t) {
|
|
216
|
+
return this._invoke(e, t);
|
|
246
217
|
});
|
|
247
218
|
});
|
|
248
219
|
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
} else {
|
|
264
|
-
genFun.__proto__ = GeneratorFunctionPrototype;
|
|
265
|
-
define(genFun, toStringTagSymbol, "GeneratorFunction");
|
|
266
|
-
}
|
|
267
|
-
genFun.prototype = Object.create(Gp);
|
|
268
|
-
return genFun;
|
|
269
|
-
};
|
|
270
|
-
|
|
271
|
-
// Within the body of any async function, `await x` is transformed to
|
|
272
|
-
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
|
|
273
|
-
// `hasOwn.call(value, "__await")` to determine if the yielded value is
|
|
274
|
-
// meant to be awaited.
|
|
275
|
-
exports.awrap = function(arg) {
|
|
276
|
-
return { __await: arg };
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
function AsyncIterator(generator, PromiseImpl) {
|
|
280
|
-
function invoke(method, arg, resolve, reject) {
|
|
281
|
-
var record = tryCatch(generator[method], generator, arg);
|
|
282
|
-
if (record.type === "throw") {
|
|
283
|
-
reject(record.arg);
|
|
284
|
-
} else {
|
|
285
|
-
var result = record.arg;
|
|
286
|
-
var value = result.value;
|
|
287
|
-
if (value &&
|
|
288
|
-
typeof value === "object" &&
|
|
289
|
-
hasOwn.call(value, "__await")) {
|
|
290
|
-
return PromiseImpl.resolve(value.__await).then(function(value) {
|
|
291
|
-
invoke("next", value, resolve, reject);
|
|
292
|
-
}, function(err) {
|
|
293
|
-
invoke("throw", err, resolve, reject);
|
|
294
|
-
});
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
return PromiseImpl.resolve(value).then(function(unwrapped) {
|
|
298
|
-
// When a yielded Promise is resolved, its final value becomes
|
|
299
|
-
// the .value of the Promise<{value,done}> result for the
|
|
300
|
-
// current iteration.
|
|
301
|
-
result.value = unwrapped;
|
|
302
|
-
resolve(result);
|
|
303
|
-
}, function(error) {
|
|
304
|
-
// If a rejected Promise was yielded, throw the rejection back
|
|
305
|
-
// into the async generator function so it can be handled there.
|
|
306
|
-
return invoke("throw", error, resolve, reject);
|
|
220
|
+
function AsyncIterator(t, e) {
|
|
221
|
+
function invoke(r, o, i, a) {
|
|
222
|
+
var c = tryCatch(t[r], t, o);
|
|
223
|
+
if ("throw" !== c.type) {
|
|
224
|
+
var u = c.arg,
|
|
225
|
+
h = u.value;
|
|
226
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
227
|
+
invoke("next", t, i, a);
|
|
228
|
+
}, function (t) {
|
|
229
|
+
invoke("throw", t, i, a);
|
|
230
|
+
}) : e.resolve(h).then(function (t) {
|
|
231
|
+
u.value = t, i(u);
|
|
232
|
+
}, function (t) {
|
|
233
|
+
return invoke("throw", t, i, a);
|
|
307
234
|
});
|
|
308
235
|
}
|
|
236
|
+
a(c.arg);
|
|
309
237
|
}
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
}
|
|
238
|
+
var r;
|
|
239
|
+
o(this, "_invoke", {
|
|
240
|
+
value: function value(t, n) {
|
|
241
|
+
function callInvokeWithMethodAndArg() {
|
|
242
|
+
return new e(function (e, r) {
|
|
243
|
+
invoke(t, n, e, r);
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
318
247
|
}
|
|
319
|
-
|
|
320
|
-
return previousPromise =
|
|
321
|
-
// If enqueue has been called before, then we want to wait until
|
|
322
|
-
// all previous Promises have been resolved before calling invoke,
|
|
323
|
-
// so that results are always delivered in the correct order. If
|
|
324
|
-
// enqueue has not been called before, then it is important to
|
|
325
|
-
// call invoke immediately, without waiting on a callback to fire,
|
|
326
|
-
// so that the async generator function has the opportunity to do
|
|
327
|
-
// any necessary setup in a predictable way. This predictability
|
|
328
|
-
// is why the Promise constructor synchronously invokes its
|
|
329
|
-
// executor callback, and why async functions synchronously
|
|
330
|
-
// execute code before the first await. Since we implement simple
|
|
331
|
-
// async functions in terms of async generators, it is especially
|
|
332
|
-
// important to get this right, even though it requires care.
|
|
333
|
-
previousPromise ? previousPromise.then(
|
|
334
|
-
callInvokeWithMethodAndArg,
|
|
335
|
-
// Avoid propagating failures to Promises returned by later
|
|
336
|
-
// invocations of the iterator.
|
|
337
|
-
callInvokeWithMethodAndArg
|
|
338
|
-
) : callInvokeWithMethodAndArg();
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
// Define the unified helper method that is used to implement .next,
|
|
342
|
-
// .throw, and .return (see defineIteratorMethods).
|
|
343
|
-
this._invoke = enqueue;
|
|
248
|
+
});
|
|
344
249
|
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
356
|
-
if (PromiseImpl === void 0) PromiseImpl = Promise;
|
|
357
|
-
|
|
358
|
-
var iter = new AsyncIterator(
|
|
359
|
-
wrap(innerFn, outerFn, self, tryLocsList),
|
|
360
|
-
PromiseImpl
|
|
361
|
-
);
|
|
362
|
-
|
|
363
|
-
return exports.isGeneratorFunction(outerFn)
|
|
364
|
-
? iter // If outerFn is a generator, return the full iterator.
|
|
365
|
-
: iter.next().then(function(result) {
|
|
366
|
-
return result.done ? result.value : iter.next();
|
|
367
|
-
});
|
|
368
|
-
};
|
|
369
|
-
|
|
370
|
-
function makeInvokeMethod(innerFn, self, context) {
|
|
371
|
-
var state = GenStateSuspendedStart;
|
|
372
|
-
|
|
373
|
-
return function invoke(method, arg) {
|
|
374
|
-
if (state === GenStateExecuting) {
|
|
375
|
-
throw new Error("Generator is already running");
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
if (state === GenStateCompleted) {
|
|
379
|
-
if (method === "throw") {
|
|
380
|
-
throw arg;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
// Be forgiving, per 25.3.3.3.3 of the spec:
|
|
384
|
-
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
|
|
385
|
-
return doneResult();
|
|
250
|
+
function makeInvokeMethod(e, r, n) {
|
|
251
|
+
var o = h;
|
|
252
|
+
return function (i, a) {
|
|
253
|
+
if (o === f) throw new Error("Generator is already running");
|
|
254
|
+
if (o === s) {
|
|
255
|
+
if ("throw" === i) throw a;
|
|
256
|
+
return {
|
|
257
|
+
value: t,
|
|
258
|
+
done: !0
|
|
259
|
+
};
|
|
386
260
|
}
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
395
|
-
if (delegateResult) {
|
|
396
|
-
if (delegateResult === ContinueSentinel) continue;
|
|
397
|
-
return delegateResult;
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
if (context.method === "next") {
|
|
402
|
-
// Setting context._sent for legacy support of Babel's
|
|
403
|
-
// function.sent implementation.
|
|
404
|
-
context.sent = context._sent = context.arg;
|
|
405
|
-
|
|
406
|
-
} else if (context.method === "throw") {
|
|
407
|
-
if (state === GenStateSuspendedStart) {
|
|
408
|
-
state = GenStateCompleted;
|
|
409
|
-
throw context.arg;
|
|
261
|
+
for (n.method = i, n.arg = a;;) {
|
|
262
|
+
var c = n.delegate;
|
|
263
|
+
if (c) {
|
|
264
|
+
var u = maybeInvokeDelegate(c, n);
|
|
265
|
+
if (u) {
|
|
266
|
+
if (u === y) continue;
|
|
267
|
+
return u;
|
|
410
268
|
}
|
|
411
|
-
|
|
412
|
-
context.dispatchException(context.arg);
|
|
413
|
-
|
|
414
|
-
} else if (context.method === "return") {
|
|
415
|
-
context.abrupt("return", context.arg);
|
|
416
269
|
}
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
? GenStateCompleted
|
|
426
|
-
: GenStateSuspendedYield;
|
|
427
|
-
|
|
428
|
-
if (record.arg === ContinueSentinel) {
|
|
429
|
-
continue;
|
|
430
|
-
}
|
|
431
|
-
|
|
270
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
271
|
+
if (o === h) throw o = s, n.arg;
|
|
272
|
+
n.dispatchException(n.arg);
|
|
273
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
274
|
+
o = f;
|
|
275
|
+
var p = tryCatch(e, r, n);
|
|
276
|
+
if ("normal" === p.type) {
|
|
277
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
|
432
278
|
return {
|
|
433
|
-
value:
|
|
434
|
-
done:
|
|
279
|
+
value: p.arg,
|
|
280
|
+
done: n.done
|
|
435
281
|
};
|
|
436
|
-
|
|
437
|
-
} else if (record.type === "throw") {
|
|
438
|
-
state = GenStateCompleted;
|
|
439
|
-
// Dispatch the exception by looping back around to the
|
|
440
|
-
// context.dispatchException(context.arg) call above.
|
|
441
|
-
context.method = "throw";
|
|
442
|
-
context.arg = record.arg;
|
|
443
282
|
}
|
|
283
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
444
284
|
}
|
|
445
285
|
};
|
|
446
286
|
}
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
var
|
|
454
|
-
|
|
455
|
-
// A .throw or .return when the delegate iterator has no .throw
|
|
456
|
-
// method always terminates the yield* loop.
|
|
457
|
-
context.delegate = null;
|
|
458
|
-
|
|
459
|
-
if (context.method === "throw") {
|
|
460
|
-
// Note: ["return"] must be used for ES3 parsing compatibility.
|
|
461
|
-
if (delegate.iterator["return"]) {
|
|
462
|
-
// If the delegate iterator has a return method, give it a
|
|
463
|
-
// chance to clean up.
|
|
464
|
-
context.method = "return";
|
|
465
|
-
context.arg = undefined;
|
|
466
|
-
maybeInvokeDelegate(delegate, context);
|
|
467
|
-
|
|
468
|
-
if (context.method === "throw") {
|
|
469
|
-
// If maybeInvokeDelegate(context) changed context.method from
|
|
470
|
-
// "return" to "throw", let that override the TypeError below.
|
|
471
|
-
return ContinueSentinel;
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
context.method = "throw";
|
|
476
|
-
context.arg = new TypeError(
|
|
477
|
-
"The iterator does not provide a 'throw' method");
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
return ContinueSentinel;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
484
|
-
|
|
485
|
-
if (record.type === "throw") {
|
|
486
|
-
context.method = "throw";
|
|
487
|
-
context.arg = record.arg;
|
|
488
|
-
context.delegate = null;
|
|
489
|
-
return ContinueSentinel;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
var info = record.arg;
|
|
493
|
-
|
|
494
|
-
if (! info) {
|
|
495
|
-
context.method = "throw";
|
|
496
|
-
context.arg = new TypeError("iterator result is not an object");
|
|
497
|
-
context.delegate = null;
|
|
498
|
-
return ContinueSentinel;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
if (info.done) {
|
|
502
|
-
// Assign the result of the finished delegate to the temporary
|
|
503
|
-
// variable specified by delegate.resultName (see delegateYield).
|
|
504
|
-
context[delegate.resultName] = info.value;
|
|
505
|
-
|
|
506
|
-
// Resume execution at the desired location (see delegateYield).
|
|
507
|
-
context.next = delegate.nextLoc;
|
|
508
|
-
|
|
509
|
-
// If context.method was "throw" but the delegate handled the
|
|
510
|
-
// exception, let the outer generator proceed normally. If
|
|
511
|
-
// context.method was "next", forget context.arg since it has been
|
|
512
|
-
// "consumed" by the delegate iterator. If context.method was
|
|
513
|
-
// "return", allow the original .return call to continue in the
|
|
514
|
-
// outer generator.
|
|
515
|
-
if (context.method !== "return") {
|
|
516
|
-
context.method = "next";
|
|
517
|
-
context.arg = undefined;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
} else {
|
|
521
|
-
// Re-yield the result returned by the delegate method.
|
|
522
|
-
return info;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
// The delegate iterator is finished, so forget it and continue with
|
|
526
|
-
// the outer generator.
|
|
527
|
-
context.delegate = null;
|
|
528
|
-
return ContinueSentinel;
|
|
287
|
+
function maybeInvokeDelegate(e, r) {
|
|
288
|
+
var n = r.method,
|
|
289
|
+
o = e.iterator[n];
|
|
290
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
291
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
292
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
293
|
+
var a = i.arg;
|
|
294
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
529
295
|
}
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
define(Gp, toStringTagSymbol, "Generator");
|
|
536
|
-
|
|
537
|
-
// A Generator should always return itself as the iterator object when the
|
|
538
|
-
// @@iterator function is called on it. Some browsers' implementations of the
|
|
539
|
-
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
540
|
-
// object to not be returned from this call. This ensures that doesn't happen.
|
|
541
|
-
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
542
|
-
Gp[iteratorSymbol] = function() {
|
|
543
|
-
return this;
|
|
544
|
-
};
|
|
545
|
-
|
|
546
|
-
Gp.toString = function() {
|
|
547
|
-
return "[object Generator]";
|
|
548
|
-
};
|
|
549
|
-
|
|
550
|
-
function pushTryEntry(locs) {
|
|
551
|
-
var entry = { tryLoc: locs[0] };
|
|
552
|
-
|
|
553
|
-
if (1 in locs) {
|
|
554
|
-
entry.catchLoc = locs[1];
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
if (2 in locs) {
|
|
558
|
-
entry.finallyLoc = locs[2];
|
|
559
|
-
entry.afterLoc = locs[3];
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
this.tryEntries.push(entry);
|
|
296
|
+
function pushTryEntry(t) {
|
|
297
|
+
var e = {
|
|
298
|
+
tryLoc: t[0]
|
|
299
|
+
};
|
|
300
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
563
301
|
}
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
record.type = "normal";
|
|
568
|
-
delete record.arg;
|
|
569
|
-
entry.completion = record;
|
|
302
|
+
function resetTryEntry(t) {
|
|
303
|
+
var e = t.completion || {};
|
|
304
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
570
305
|
}
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
// locations where there is no enclosing try statement.
|
|
576
|
-
this.tryEntries = [{ tryLoc: "root" }];
|
|
577
|
-
tryLocsList.forEach(pushTryEntry, this);
|
|
578
|
-
this.reset(true);
|
|
306
|
+
function Context(t) {
|
|
307
|
+
this.tryEntries = [{
|
|
308
|
+
tryLoc: "root"
|
|
309
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
579
310
|
}
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
var key = keys.pop();
|
|
593
|
-
if (key in object) {
|
|
594
|
-
next.value = key;
|
|
595
|
-
next.done = false;
|
|
596
|
-
return next;
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
// To avoid creating an additional object, we just hang the .value
|
|
601
|
-
// and .done properties off the next function object itself. This
|
|
602
|
-
// also ensures that the minifier will not anonymize the function.
|
|
603
|
-
next.done = true;
|
|
604
|
-
return next;
|
|
605
|
-
};
|
|
606
|
-
};
|
|
607
|
-
|
|
608
|
-
function values(iterable) {
|
|
609
|
-
if (iterable) {
|
|
610
|
-
var iteratorMethod = iterable[iteratorSymbol];
|
|
611
|
-
if (iteratorMethod) {
|
|
612
|
-
return iteratorMethod.call(iterable);
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
if (typeof iterable.next === "function") {
|
|
616
|
-
return iterable;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
if (!isNaN(iterable.length)) {
|
|
620
|
-
var i = -1, next = function next() {
|
|
621
|
-
while (++i < iterable.length) {
|
|
622
|
-
if (hasOwn.call(iterable, i)) {
|
|
623
|
-
next.value = iterable[i];
|
|
624
|
-
next.done = false;
|
|
625
|
-
return next;
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
next.value = undefined;
|
|
630
|
-
next.done = true;
|
|
631
|
-
|
|
632
|
-
return next;
|
|
633
|
-
};
|
|
634
|
-
|
|
635
|
-
return next.next = next;
|
|
311
|
+
function values(e) {
|
|
312
|
+
if (e || "" === e) {
|
|
313
|
+
var r = e[a];
|
|
314
|
+
if (r) return r.call(e);
|
|
315
|
+
if ("function" == typeof e.next) return e;
|
|
316
|
+
if (!isNaN(e.length)) {
|
|
317
|
+
var o = -1,
|
|
318
|
+
i = function next() {
|
|
319
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
320
|
+
return next.value = t, next.done = !0, next;
|
|
321
|
+
};
|
|
322
|
+
return i.next = i;
|
|
636
323
|
}
|
|
637
324
|
}
|
|
638
|
-
|
|
639
|
-
// Return an iterator with no values.
|
|
640
|
-
return { next: doneResult };
|
|
325
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
|
641
326
|
}
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
constructor
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
327
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
328
|
+
value: GeneratorFunctionPrototype,
|
|
329
|
+
configurable: !0
|
|
330
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
331
|
+
value: GeneratorFunction,
|
|
332
|
+
configurable: !0
|
|
333
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
334
|
+
var e = "function" == typeof t && t.constructor;
|
|
335
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
336
|
+
}, e.mark = function (t) {
|
|
337
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
338
|
+
}, e.awrap = function (t) {
|
|
339
|
+
return {
|
|
340
|
+
__await: t
|
|
341
|
+
};
|
|
342
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
343
|
+
return this;
|
|
344
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
345
|
+
void 0 === i && (i = Promise);
|
|
346
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
347
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
348
|
+
return t.done ? t.value : a.next();
|
|
349
|
+
});
|
|
350
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
351
|
+
return this;
|
|
352
|
+
}), define(g, "toString", function () {
|
|
353
|
+
return "[object Generator]";
|
|
354
|
+
}), e.keys = function (t) {
|
|
355
|
+
var e = Object(t),
|
|
356
|
+
r = [];
|
|
357
|
+
for (var n in e) r.push(n);
|
|
358
|
+
return r.reverse(), function next() {
|
|
359
|
+
for (; r.length;) {
|
|
360
|
+
var t = r.pop();
|
|
361
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
|
674
362
|
}
|
|
363
|
+
return next.done = !0, next;
|
|
364
|
+
};
|
|
365
|
+
}, e.values = values, Context.prototype = {
|
|
366
|
+
constructor: Context,
|
|
367
|
+
reset: function reset(e) {
|
|
368
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
675
369
|
},
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
var rootEntry = this.tryEntries[0];
|
|
681
|
-
var rootRecord = rootEntry.completion;
|
|
682
|
-
if (rootRecord.type === "throw") {
|
|
683
|
-
throw rootRecord.arg;
|
|
684
|
-
}
|
|
685
|
-
|
|
370
|
+
stop: function stop() {
|
|
371
|
+
this.done = !0;
|
|
372
|
+
var t = this.tryEntries[0].completion;
|
|
373
|
+
if ("throw" === t.type) throw t.arg;
|
|
686
374
|
return this.rval;
|
|
687
375
|
},
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
376
|
+
dispatchException: function dispatchException(e) {
|
|
377
|
+
if (this.done) throw e;
|
|
378
|
+
var r = this;
|
|
379
|
+
function handle(n, o) {
|
|
380
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
692
381
|
}
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
return !! caught;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
711
|
-
var entry = this.tryEntries[i];
|
|
712
|
-
var record = entry.completion;
|
|
713
|
-
|
|
714
|
-
if (entry.tryLoc === "root") {
|
|
715
|
-
// Exception thrown outside of any try block that could handle
|
|
716
|
-
// it, so set the completion value of the entire function to
|
|
717
|
-
// throw the exception.
|
|
718
|
-
return handle("end");
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
if (entry.tryLoc <= this.prev) {
|
|
722
|
-
var hasCatch = hasOwn.call(entry, "catchLoc");
|
|
723
|
-
var hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
724
|
-
|
|
725
|
-
if (hasCatch && hasFinally) {
|
|
726
|
-
if (this.prev < entry.catchLoc) {
|
|
727
|
-
return handle(entry.catchLoc, true);
|
|
728
|
-
} else if (this.prev < entry.finallyLoc) {
|
|
729
|
-
return handle(entry.finallyLoc);
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
} else if (hasCatch) {
|
|
733
|
-
if (this.prev < entry.catchLoc) {
|
|
734
|
-
return handle(entry.catchLoc, true);
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
} else if (hasFinally) {
|
|
738
|
-
if (this.prev < entry.finallyLoc) {
|
|
739
|
-
return handle(entry.finallyLoc);
|
|
740
|
-
}
|
|
741
|
-
|
|
382
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
383
|
+
var i = this.tryEntries[o],
|
|
384
|
+
a = i.completion;
|
|
385
|
+
if ("root" === i.tryLoc) return handle("end");
|
|
386
|
+
if (i.tryLoc <= this.prev) {
|
|
387
|
+
var c = n.call(i, "catchLoc"),
|
|
388
|
+
u = n.call(i, "finallyLoc");
|
|
389
|
+
if (c && u) {
|
|
390
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
391
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
392
|
+
} else if (c) {
|
|
393
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
742
394
|
} else {
|
|
743
|
-
throw new Error("try statement without catch or finally");
|
|
395
|
+
if (!u) throw new Error("try statement without catch or finally");
|
|
396
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
744
397
|
}
|
|
745
398
|
}
|
|
746
399
|
}
|
|
747
400
|
},
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
hasOwn.call(entry, "finallyLoc") &&
|
|
754
|
-
this.prev < entry.finallyLoc) {
|
|
755
|
-
var finallyEntry = entry;
|
|
401
|
+
abrupt: function abrupt(t, e) {
|
|
402
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
403
|
+
var o = this.tryEntries[r];
|
|
404
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
405
|
+
var i = o;
|
|
756
406
|
break;
|
|
757
407
|
}
|
|
758
408
|
}
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
type === "continue") &&
|
|
763
|
-
finallyEntry.tryLoc <= arg &&
|
|
764
|
-
arg <= finallyEntry.finallyLoc) {
|
|
765
|
-
// Ignore the finally entry if control is not jumping to a
|
|
766
|
-
// location outside the try/catch block.
|
|
767
|
-
finallyEntry = null;
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
var record = finallyEntry ? finallyEntry.completion : {};
|
|
771
|
-
record.type = type;
|
|
772
|
-
record.arg = arg;
|
|
773
|
-
|
|
774
|
-
if (finallyEntry) {
|
|
775
|
-
this.method = "next";
|
|
776
|
-
this.next = finallyEntry.finallyLoc;
|
|
777
|
-
return ContinueSentinel;
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
return this.complete(record);
|
|
409
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
410
|
+
var a = i ? i.completion : {};
|
|
411
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
781
412
|
},
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
throw record.arg;
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
if (record.type === "break" ||
|
|
789
|
-
record.type === "continue") {
|
|
790
|
-
this.next = record.arg;
|
|
791
|
-
} else if (record.type === "return") {
|
|
792
|
-
this.rval = this.arg = record.arg;
|
|
793
|
-
this.method = "return";
|
|
794
|
-
this.next = "end";
|
|
795
|
-
} else if (record.type === "normal" && afterLoc) {
|
|
796
|
-
this.next = afterLoc;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
return ContinueSentinel;
|
|
413
|
+
complete: function complete(t, e) {
|
|
414
|
+
if ("throw" === t.type) throw t.arg;
|
|
415
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
|
800
416
|
},
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
if (entry.finallyLoc === finallyLoc) {
|
|
806
|
-
this.complete(entry.completion, entry.afterLoc);
|
|
807
|
-
resetTryEntry(entry);
|
|
808
|
-
return ContinueSentinel;
|
|
809
|
-
}
|
|
417
|
+
finish: function finish(t) {
|
|
418
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
419
|
+
var r = this.tryEntries[e];
|
|
420
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
810
421
|
}
|
|
811
422
|
},
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
resetTryEntry(entry);
|
|
423
|
+
"catch": function _catch(t) {
|
|
424
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
425
|
+
var r = this.tryEntries[e];
|
|
426
|
+
if (r.tryLoc === t) {
|
|
427
|
+
var n = r.completion;
|
|
428
|
+
if ("throw" === n.type) {
|
|
429
|
+
var o = n.arg;
|
|
430
|
+
resetTryEntry(r);
|
|
821
431
|
}
|
|
822
|
-
return
|
|
432
|
+
return o;
|
|
823
433
|
}
|
|
824
434
|
}
|
|
825
|
-
|
|
826
|
-
// The context.catch method must only be called with a location
|
|
827
|
-
// argument that corresponds to a known catch block.
|
|
828
435
|
throw new Error("illegal catch attempt");
|
|
829
436
|
},
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
};
|
|
837
|
-
|
|
838
|
-
if (this.method === "next") {
|
|
839
|
-
// Deliberately forget the last sent value so that we don't
|
|
840
|
-
// accidentally pass it on to the delegate.
|
|
841
|
-
this.arg = undefined;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
return ContinueSentinel;
|
|
437
|
+
delegateYield: function delegateYield(e, r, n) {
|
|
438
|
+
return this.delegate = {
|
|
439
|
+
iterator: values(e),
|
|
440
|
+
resultName: r,
|
|
441
|
+
nextLoc: n
|
|
442
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
845
443
|
}
|
|
846
|
-
};
|
|
444
|
+
}, e;
|
|
445
|
+
}
|
|
446
|
+
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
447
|
+
|
|
448
|
+
/***/ }),
|
|
847
449
|
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
// regeneratorRuntime in the outer scope, which allows this module to be
|
|
851
|
-
// injected easily by `bin/regenerator --include-runtime script.js`.
|
|
852
|
-
return exports;
|
|
450
|
+
/***/ 8698:
|
|
451
|
+
/***/ ((module) => {
|
|
853
452
|
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
// as the regeneratorRuntime namespace. Otherwise create a new empty
|
|
857
|
-
// object. Either way, the resulting object will be used to initialize
|
|
858
|
-
// the regeneratorRuntime variable at the top of this file.
|
|
859
|
-
true ? module.exports : 0
|
|
860
|
-
));
|
|
453
|
+
function _typeof(o) {
|
|
454
|
+
"@babel/helpers - typeof";
|
|
861
455
|
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
// in case runtime.js accidentally runs in strict mode, we can escape
|
|
868
|
-
// strict mode using a global Function call. This could conceivably fail
|
|
869
|
-
// if a Content Security Policy forbids using Function, but in that case
|
|
870
|
-
// the proper solution is to fix the accidental strict mode problem. If
|
|
871
|
-
// you've misconfigured your bundler to force strict mode and applied a
|
|
872
|
-
// CSP to forbid Function, and you're not willing to fix either of those
|
|
873
|
-
// problems, please detail your unique predicament in a GitHub issue.
|
|
874
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
|
456
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
457
|
+
return typeof o;
|
|
458
|
+
} : function (o) {
|
|
459
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
460
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
|
875
461
|
}
|
|
876
|
-
|
|
462
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
877
463
|
|
|
878
464
|
/***/ }),
|
|
879
465
|
|
|
880
|
-
/***/
|
|
881
|
-
/***/ ((module) => {
|
|
466
|
+
/***/ 4687:
|
|
467
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
882
468
|
|
|
883
|
-
|
|
884
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__6073__;
|
|
469
|
+
// TODO(Babel 8): Remove this file.
|
|
885
470
|
|
|
886
|
-
|
|
471
|
+
var runtime = __webpack_require__(7061)();
|
|
472
|
+
module.exports = runtime;
|
|
887
473
|
|
|
888
|
-
|
|
889
|
-
|
|
474
|
+
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
475
|
+
try {
|
|
476
|
+
regeneratorRuntime = runtime;
|
|
477
|
+
} catch (accidentalStrictMode) {
|
|
478
|
+
if (typeof globalThis === "object") {
|
|
479
|
+
globalThis.regeneratorRuntime = runtime;
|
|
480
|
+
} else {
|
|
481
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
482
|
+
}
|
|
483
|
+
}
|
|
890
484
|
|
|
891
|
-
"use strict";
|
|
892
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__5225__;
|
|
893
485
|
|
|
894
486
|
/***/ })
|
|
895
487
|
|
|
@@ -971,7 +563,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
971
563
|
/* harmony export */ "default": () => (/* binding */ Uptime),
|
|
972
564
|
/* harmony export */ "themes": () => (/* binding */ themes)
|
|
973
565
|
/* harmony export */ });
|
|
974
|
-
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
566
|
+
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4687);
|
|
975
567
|
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
|
976
568
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5225);
|
|
977
569
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|