@ably/ui 11.7.0 → 11.7.1-dev.a87b30a
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 +1 -1
- package/core/Footer/component.css +3 -3
- package/core/Footer.jsx +15 -15
- package/core/Meganav/component.css +6 -6
- package/core/Meganav.jsx +336 -751
- package/core/MeganavBlogPostsList/component.js +2 -1
- package/core/MeganavBlogPostsList/component.js.LICENSE.txt +1 -0
- package/core/MeganavContentCompany.jsx +295 -710
- package/core/MeganavContentDevelopers.jsx +1 -1
- package/core/MeganavContentProducts.jsx +1 -1
- package/core/Notice.jsx +2 -2
- package/core/Uptime.jsx +289 -704
- 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 +1 -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 +177 -49
|
@@ -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
|
-
/* unused reexport */ __webpack_require__(5666);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
/***/ }),
|
|
21
|
-
|
|
22
14
|
/***/ 9787:
|
|
23
15
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24
16
|
|
|
@@ -302,782 +294,375 @@ var createRemoteDataStore = function createRemoteDataStore(reducers) {
|
|
|
302
294
|
|
|
303
295
|
/***/ }),
|
|
304
296
|
|
|
305
|
-
/***/
|
|
297
|
+
/***/ 6073:
|
|
306
298
|
/***/ ((module) => {
|
|
307
299
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
300
|
+
"use strict";
|
|
301
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__6073__;
|
|
302
|
+
|
|
303
|
+
/***/ }),
|
|
304
|
+
|
|
305
|
+
/***/ 5225:
|
|
306
|
+
/***/ ((module) => {
|
|
307
|
+
|
|
308
|
+
"use strict";
|
|
309
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5225__;
|
|
310
|
+
|
|
311
|
+
/***/ }),
|
|
312
|
+
|
|
313
|
+
/***/ 5293:
|
|
314
|
+
/***/ ((module) => {
|
|
315
|
+
|
|
316
|
+
"use strict";
|
|
317
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5293__;
|
|
318
|
+
|
|
319
|
+
/***/ }),
|
|
320
|
+
|
|
321
|
+
/***/ 7061:
|
|
322
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
323
|
+
|
|
324
|
+
var _typeof = (__webpack_require__(8698)["default"]);
|
|
325
|
+
function _regeneratorRuntime() {
|
|
326
|
+
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
327
|
+
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
328
|
+
return e;
|
|
329
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
330
|
+
var t,
|
|
331
|
+
e = {},
|
|
332
|
+
r = Object.prototype,
|
|
333
|
+
n = r.hasOwnProperty,
|
|
334
|
+
o = Object.defineProperty || function (t, e, r) {
|
|
335
|
+
t[e] = r.value;
|
|
336
|
+
},
|
|
337
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
|
338
|
+
a = i.iterator || "@@iterator",
|
|
339
|
+
c = i.asyncIterator || "@@asyncIterator",
|
|
340
|
+
u = i.toStringTag || "@@toStringTag";
|
|
341
|
+
function define(t, e, r) {
|
|
342
|
+
return Object.defineProperty(t, e, {
|
|
343
|
+
value: r,
|
|
344
|
+
enumerable: !0,
|
|
345
|
+
configurable: !0,
|
|
346
|
+
writable: !0
|
|
347
|
+
}), t[e];
|
|
334
348
|
}
|
|
335
349
|
try {
|
|
336
|
-
// IE 8 has a broken Object.defineProperty that only works on DOM objects.
|
|
337
350
|
define({}, "");
|
|
338
|
-
} catch (
|
|
339
|
-
define = function(
|
|
340
|
-
return
|
|
351
|
+
} catch (t) {
|
|
352
|
+
define = function define(t, e, r) {
|
|
353
|
+
return t[e] = r;
|
|
341
354
|
};
|
|
342
355
|
}
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
// The ._invoke method unifies the implementations of the .next,
|
|
351
|
-
// .throw, and .return methods.
|
|
352
|
-
generator._invoke = makeInvokeMethod(innerFn, self, context);
|
|
353
|
-
|
|
354
|
-
return generator;
|
|
356
|
+
function wrap(t, e, r, n) {
|
|
357
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
358
|
+
a = Object.create(i.prototype),
|
|
359
|
+
c = new Context(n || []);
|
|
360
|
+
return o(a, "_invoke", {
|
|
361
|
+
value: makeInvokeMethod(t, r, c)
|
|
362
|
+
}), a;
|
|
355
363
|
}
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
// Try/catch helper to minimize deoptimizations. Returns a completion
|
|
359
|
-
// record like context.tryEntries[i].completion. This interface could
|
|
360
|
-
// have been (and was previously) designed to take a closure to be
|
|
361
|
-
// invoked without arguments, but in all the cases we care about we
|
|
362
|
-
// already have an existing method we want to call, so there's no need
|
|
363
|
-
// to create a new function object. We can even get away with assuming
|
|
364
|
-
// the method takes exactly one argument, since that happens to be true
|
|
365
|
-
// in every case, so we don't have to touch the arguments object. The
|
|
366
|
-
// only additional allocation required is the completion record, which
|
|
367
|
-
// has a stable shape and so hopefully should be cheap to allocate.
|
|
368
|
-
function tryCatch(fn, obj, arg) {
|
|
364
|
+
function tryCatch(t, e, r) {
|
|
369
365
|
try {
|
|
370
|
-
return {
|
|
371
|
-
|
|
372
|
-
|
|
366
|
+
return {
|
|
367
|
+
type: "normal",
|
|
368
|
+
arg: t.call(e, r)
|
|
369
|
+
};
|
|
370
|
+
} catch (t) {
|
|
371
|
+
return {
|
|
372
|
+
type: "throw",
|
|
373
|
+
arg: t
|
|
374
|
+
};
|
|
373
375
|
}
|
|
374
376
|
}
|
|
375
|
-
|
|
376
|
-
var
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
// Returning this object from the innerFn has the same effect as
|
|
382
|
-
// breaking out of the dispatch switch statement.
|
|
383
|
-
var ContinueSentinel = {};
|
|
384
|
-
|
|
385
|
-
// Dummy constructor functions that we use as the .constructor and
|
|
386
|
-
// .constructor.prototype properties for functions that return Generator
|
|
387
|
-
// objects. For full spec compliance, you may wish to configure your
|
|
388
|
-
// minifier not to mangle the names of these two functions.
|
|
377
|
+
e.wrap = wrap;
|
|
378
|
+
var h = "suspendedStart",
|
|
379
|
+
l = "suspendedYield",
|
|
380
|
+
f = "executing",
|
|
381
|
+
s = "completed",
|
|
382
|
+
y = {};
|
|
389
383
|
function Generator() {}
|
|
390
384
|
function GeneratorFunction() {}
|
|
391
385
|
function GeneratorFunctionPrototype() {}
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
// don't natively support it.
|
|
395
|
-
var IteratorPrototype = {};
|
|
396
|
-
IteratorPrototype[iteratorSymbol] = function () {
|
|
386
|
+
var p = {};
|
|
387
|
+
define(p, a, function () {
|
|
397
388
|
return this;
|
|
398
|
-
};
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
IteratorPrototype = NativeIteratorPrototype;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
var Gp = GeneratorFunctionPrototype.prototype =
|
|
411
|
-
Generator.prototype = Object.create(IteratorPrototype);
|
|
412
|
-
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
|
|
413
|
-
GeneratorFunctionPrototype.constructor = GeneratorFunction;
|
|
414
|
-
GeneratorFunction.displayName = define(
|
|
415
|
-
GeneratorFunctionPrototype,
|
|
416
|
-
toStringTagSymbol,
|
|
417
|
-
"GeneratorFunction"
|
|
418
|
-
);
|
|
419
|
-
|
|
420
|
-
// Helper for defining the .next, .throw, and .return methods of the
|
|
421
|
-
// Iterator interface in terms of a single ._invoke method.
|
|
422
|
-
function defineIteratorMethods(prototype) {
|
|
423
|
-
["next", "throw", "return"].forEach(function(method) {
|
|
424
|
-
define(prototype, method, function(arg) {
|
|
425
|
-
return this._invoke(method, arg);
|
|
389
|
+
});
|
|
390
|
+
var d = Object.getPrototypeOf,
|
|
391
|
+
v = d && d(d(values([])));
|
|
392
|
+
v && v !== r && n.call(v, a) && (p = v);
|
|
393
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
394
|
+
function defineIteratorMethods(t) {
|
|
395
|
+
["next", "throw", "return"].forEach(function (e) {
|
|
396
|
+
define(t, e, function (t) {
|
|
397
|
+
return this._invoke(e, t);
|
|
426
398
|
});
|
|
427
399
|
});
|
|
428
400
|
}
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
} else {
|
|
444
|
-
genFun.__proto__ = GeneratorFunctionPrototype;
|
|
445
|
-
define(genFun, toStringTagSymbol, "GeneratorFunction");
|
|
446
|
-
}
|
|
447
|
-
genFun.prototype = Object.create(Gp);
|
|
448
|
-
return genFun;
|
|
449
|
-
};
|
|
450
|
-
|
|
451
|
-
// Within the body of any async function, `await x` is transformed to
|
|
452
|
-
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
|
|
453
|
-
// `hasOwn.call(value, "__await")` to determine if the yielded value is
|
|
454
|
-
// meant to be awaited.
|
|
455
|
-
exports.awrap = function(arg) {
|
|
456
|
-
return { __await: arg };
|
|
457
|
-
};
|
|
458
|
-
|
|
459
|
-
function AsyncIterator(generator, PromiseImpl) {
|
|
460
|
-
function invoke(method, arg, resolve, reject) {
|
|
461
|
-
var record = tryCatch(generator[method], generator, arg);
|
|
462
|
-
if (record.type === "throw") {
|
|
463
|
-
reject(record.arg);
|
|
464
|
-
} else {
|
|
465
|
-
var result = record.arg;
|
|
466
|
-
var value = result.value;
|
|
467
|
-
if (value &&
|
|
468
|
-
typeof value === "object" &&
|
|
469
|
-
hasOwn.call(value, "__await")) {
|
|
470
|
-
return PromiseImpl.resolve(value.__await).then(function(value) {
|
|
471
|
-
invoke("next", value, resolve, reject);
|
|
472
|
-
}, function(err) {
|
|
473
|
-
invoke("throw", err, resolve, reject);
|
|
474
|
-
});
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
return PromiseImpl.resolve(value).then(function(unwrapped) {
|
|
478
|
-
// When a yielded Promise is resolved, its final value becomes
|
|
479
|
-
// the .value of the Promise<{value,done}> result for the
|
|
480
|
-
// current iteration.
|
|
481
|
-
result.value = unwrapped;
|
|
482
|
-
resolve(result);
|
|
483
|
-
}, function(error) {
|
|
484
|
-
// If a rejected Promise was yielded, throw the rejection back
|
|
485
|
-
// into the async generator function so it can be handled there.
|
|
486
|
-
return invoke("throw", error, resolve, reject);
|
|
401
|
+
function AsyncIterator(t, e) {
|
|
402
|
+
function invoke(r, o, i, a) {
|
|
403
|
+
var c = tryCatch(t[r], t, o);
|
|
404
|
+
if ("throw" !== c.type) {
|
|
405
|
+
var u = c.arg,
|
|
406
|
+
h = u.value;
|
|
407
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
408
|
+
invoke("next", t, i, a);
|
|
409
|
+
}, function (t) {
|
|
410
|
+
invoke("throw", t, i, a);
|
|
411
|
+
}) : e.resolve(h).then(function (t) {
|
|
412
|
+
u.value = t, i(u);
|
|
413
|
+
}, function (t) {
|
|
414
|
+
return invoke("throw", t, i, a);
|
|
487
415
|
});
|
|
488
416
|
}
|
|
417
|
+
a(c.arg);
|
|
489
418
|
}
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
}
|
|
419
|
+
var r;
|
|
420
|
+
o(this, "_invoke", {
|
|
421
|
+
value: function value(t, n) {
|
|
422
|
+
function callInvokeWithMethodAndArg() {
|
|
423
|
+
return new e(function (e, r) {
|
|
424
|
+
invoke(t, n, e, r);
|
|
425
|
+
});
|
|
426
|
+
}
|
|
427
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
498
428
|
}
|
|
499
|
-
|
|
500
|
-
return previousPromise =
|
|
501
|
-
// If enqueue has been called before, then we want to wait until
|
|
502
|
-
// all previous Promises have been resolved before calling invoke,
|
|
503
|
-
// so that results are always delivered in the correct order. If
|
|
504
|
-
// enqueue has not been called before, then it is important to
|
|
505
|
-
// call invoke immediately, without waiting on a callback to fire,
|
|
506
|
-
// so that the async generator function has the opportunity to do
|
|
507
|
-
// any necessary setup in a predictable way. This predictability
|
|
508
|
-
// is why the Promise constructor synchronously invokes its
|
|
509
|
-
// executor callback, and why async functions synchronously
|
|
510
|
-
// execute code before the first await. Since we implement simple
|
|
511
|
-
// async functions in terms of async generators, it is especially
|
|
512
|
-
// important to get this right, even though it requires care.
|
|
513
|
-
previousPromise ? previousPromise.then(
|
|
514
|
-
callInvokeWithMethodAndArg,
|
|
515
|
-
// Avoid propagating failures to Promises returned by later
|
|
516
|
-
// invocations of the iterator.
|
|
517
|
-
callInvokeWithMethodAndArg
|
|
518
|
-
) : callInvokeWithMethodAndArg();
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
// Define the unified helper method that is used to implement .next,
|
|
522
|
-
// .throw, and .return (see defineIteratorMethods).
|
|
523
|
-
this._invoke = enqueue;
|
|
429
|
+
});
|
|
524
430
|
}
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
536
|
-
if (PromiseImpl === void 0) PromiseImpl = Promise;
|
|
537
|
-
|
|
538
|
-
var iter = new AsyncIterator(
|
|
539
|
-
wrap(innerFn, outerFn, self, tryLocsList),
|
|
540
|
-
PromiseImpl
|
|
541
|
-
);
|
|
542
|
-
|
|
543
|
-
return exports.isGeneratorFunction(outerFn)
|
|
544
|
-
? iter // If outerFn is a generator, return the full iterator.
|
|
545
|
-
: iter.next().then(function(result) {
|
|
546
|
-
return result.done ? result.value : iter.next();
|
|
547
|
-
});
|
|
548
|
-
};
|
|
549
|
-
|
|
550
|
-
function makeInvokeMethod(innerFn, self, context) {
|
|
551
|
-
var state = GenStateSuspendedStart;
|
|
552
|
-
|
|
553
|
-
return function invoke(method, arg) {
|
|
554
|
-
if (state === GenStateExecuting) {
|
|
555
|
-
throw new Error("Generator is already running");
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
if (state === GenStateCompleted) {
|
|
559
|
-
if (method === "throw") {
|
|
560
|
-
throw arg;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
// Be forgiving, per 25.3.3.3.3 of the spec:
|
|
564
|
-
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
|
|
565
|
-
return doneResult();
|
|
431
|
+
function makeInvokeMethod(e, r, n) {
|
|
432
|
+
var o = h;
|
|
433
|
+
return function (i, a) {
|
|
434
|
+
if (o === f) throw new Error("Generator is already running");
|
|
435
|
+
if (o === s) {
|
|
436
|
+
if ("throw" === i) throw a;
|
|
437
|
+
return {
|
|
438
|
+
value: t,
|
|
439
|
+
done: !0
|
|
440
|
+
};
|
|
566
441
|
}
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
575
|
-
if (delegateResult) {
|
|
576
|
-
if (delegateResult === ContinueSentinel) continue;
|
|
577
|
-
return delegateResult;
|
|
442
|
+
for (n.method = i, n.arg = a;;) {
|
|
443
|
+
var c = n.delegate;
|
|
444
|
+
if (c) {
|
|
445
|
+
var u = maybeInvokeDelegate(c, n);
|
|
446
|
+
if (u) {
|
|
447
|
+
if (u === y) continue;
|
|
448
|
+
return u;
|
|
578
449
|
}
|
|
579
450
|
}
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
if (
|
|
588
|
-
state = GenStateCompleted;
|
|
589
|
-
throw context.arg;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
context.dispatchException(context.arg);
|
|
593
|
-
|
|
594
|
-
} else if (context.method === "return") {
|
|
595
|
-
context.abrupt("return", context.arg);
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
state = GenStateExecuting;
|
|
599
|
-
|
|
600
|
-
var record = tryCatch(innerFn, self, context);
|
|
601
|
-
if (record.type === "normal") {
|
|
602
|
-
// If an exception is thrown from innerFn, we leave state ===
|
|
603
|
-
// GenStateExecuting and loop back for another invocation.
|
|
604
|
-
state = context.done
|
|
605
|
-
? GenStateCompleted
|
|
606
|
-
: GenStateSuspendedYield;
|
|
607
|
-
|
|
608
|
-
if (record.arg === ContinueSentinel) {
|
|
609
|
-
continue;
|
|
610
|
-
}
|
|
611
|
-
|
|
451
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
452
|
+
if (o === h) throw o = s, n.arg;
|
|
453
|
+
n.dispatchException(n.arg);
|
|
454
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
455
|
+
o = f;
|
|
456
|
+
var p = tryCatch(e, r, n);
|
|
457
|
+
if ("normal" === p.type) {
|
|
458
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
|
612
459
|
return {
|
|
613
|
-
value:
|
|
614
|
-
done:
|
|
460
|
+
value: p.arg,
|
|
461
|
+
done: n.done
|
|
615
462
|
};
|
|
616
|
-
|
|
617
|
-
} else if (record.type === "throw") {
|
|
618
|
-
state = GenStateCompleted;
|
|
619
|
-
// Dispatch the exception by looping back around to the
|
|
620
|
-
// context.dispatchException(context.arg) call above.
|
|
621
|
-
context.method = "throw";
|
|
622
|
-
context.arg = record.arg;
|
|
623
463
|
}
|
|
464
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
624
465
|
}
|
|
625
466
|
};
|
|
626
467
|
}
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
var
|
|
634
|
-
|
|
635
|
-
// A .throw or .return when the delegate iterator has no .throw
|
|
636
|
-
// method always terminates the yield* loop.
|
|
637
|
-
context.delegate = null;
|
|
638
|
-
|
|
639
|
-
if (context.method === "throw") {
|
|
640
|
-
// Note: ["return"] must be used for ES3 parsing compatibility.
|
|
641
|
-
if (delegate.iterator["return"]) {
|
|
642
|
-
// If the delegate iterator has a return method, give it a
|
|
643
|
-
// chance to clean up.
|
|
644
|
-
context.method = "return";
|
|
645
|
-
context.arg = undefined;
|
|
646
|
-
maybeInvokeDelegate(delegate, context);
|
|
647
|
-
|
|
648
|
-
if (context.method === "throw") {
|
|
649
|
-
// If maybeInvokeDelegate(context) changed context.method from
|
|
650
|
-
// "return" to "throw", let that override the TypeError below.
|
|
651
|
-
return ContinueSentinel;
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
context.method = "throw";
|
|
656
|
-
context.arg = new TypeError(
|
|
657
|
-
"The iterator does not provide a 'throw' method");
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
return ContinueSentinel;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
664
|
-
|
|
665
|
-
if (record.type === "throw") {
|
|
666
|
-
context.method = "throw";
|
|
667
|
-
context.arg = record.arg;
|
|
668
|
-
context.delegate = null;
|
|
669
|
-
return ContinueSentinel;
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
var info = record.arg;
|
|
673
|
-
|
|
674
|
-
if (! info) {
|
|
675
|
-
context.method = "throw";
|
|
676
|
-
context.arg = new TypeError("iterator result is not an object");
|
|
677
|
-
context.delegate = null;
|
|
678
|
-
return ContinueSentinel;
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
if (info.done) {
|
|
682
|
-
// Assign the result of the finished delegate to the temporary
|
|
683
|
-
// variable specified by delegate.resultName (see delegateYield).
|
|
684
|
-
context[delegate.resultName] = info.value;
|
|
685
|
-
|
|
686
|
-
// Resume execution at the desired location (see delegateYield).
|
|
687
|
-
context.next = delegate.nextLoc;
|
|
688
|
-
|
|
689
|
-
// If context.method was "throw" but the delegate handled the
|
|
690
|
-
// exception, let the outer generator proceed normally. If
|
|
691
|
-
// context.method was "next", forget context.arg since it has been
|
|
692
|
-
// "consumed" by the delegate iterator. If context.method was
|
|
693
|
-
// "return", allow the original .return call to continue in the
|
|
694
|
-
// outer generator.
|
|
695
|
-
if (context.method !== "return") {
|
|
696
|
-
context.method = "next";
|
|
697
|
-
context.arg = undefined;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
} else {
|
|
701
|
-
// Re-yield the result returned by the delegate method.
|
|
702
|
-
return info;
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
// The delegate iterator is finished, so forget it and continue with
|
|
706
|
-
// the outer generator.
|
|
707
|
-
context.delegate = null;
|
|
708
|
-
return ContinueSentinel;
|
|
468
|
+
function maybeInvokeDelegate(e, r) {
|
|
469
|
+
var n = r.method,
|
|
470
|
+
o = e.iterator[n];
|
|
471
|
+
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;
|
|
472
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
473
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
474
|
+
var a = i.arg;
|
|
475
|
+
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);
|
|
709
476
|
}
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
define(Gp, toStringTagSymbol, "Generator");
|
|
716
|
-
|
|
717
|
-
// A Generator should always return itself as the iterator object when the
|
|
718
|
-
// @@iterator function is called on it. Some browsers' implementations of the
|
|
719
|
-
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
720
|
-
// object to not be returned from this call. This ensures that doesn't happen.
|
|
721
|
-
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
722
|
-
Gp[iteratorSymbol] = function() {
|
|
723
|
-
return this;
|
|
724
|
-
};
|
|
725
|
-
|
|
726
|
-
Gp.toString = function() {
|
|
727
|
-
return "[object Generator]";
|
|
728
|
-
};
|
|
729
|
-
|
|
730
|
-
function pushTryEntry(locs) {
|
|
731
|
-
var entry = { tryLoc: locs[0] };
|
|
732
|
-
|
|
733
|
-
if (1 in locs) {
|
|
734
|
-
entry.catchLoc = locs[1];
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
if (2 in locs) {
|
|
738
|
-
entry.finallyLoc = locs[2];
|
|
739
|
-
entry.afterLoc = locs[3];
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
this.tryEntries.push(entry);
|
|
477
|
+
function pushTryEntry(t) {
|
|
478
|
+
var e = {
|
|
479
|
+
tryLoc: t[0]
|
|
480
|
+
};
|
|
481
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
743
482
|
}
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
record.type = "normal";
|
|
748
|
-
delete record.arg;
|
|
749
|
-
entry.completion = record;
|
|
483
|
+
function resetTryEntry(t) {
|
|
484
|
+
var e = t.completion || {};
|
|
485
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
750
486
|
}
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
// locations where there is no enclosing try statement.
|
|
756
|
-
this.tryEntries = [{ tryLoc: "root" }];
|
|
757
|
-
tryLocsList.forEach(pushTryEntry, this);
|
|
758
|
-
this.reset(true);
|
|
487
|
+
function Context(t) {
|
|
488
|
+
this.tryEntries = [{
|
|
489
|
+
tryLoc: "root"
|
|
490
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
759
491
|
}
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
var key = keys.pop();
|
|
773
|
-
if (key in object) {
|
|
774
|
-
next.value = key;
|
|
775
|
-
next.done = false;
|
|
776
|
-
return next;
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
// To avoid creating an additional object, we just hang the .value
|
|
781
|
-
// and .done properties off the next function object itself. This
|
|
782
|
-
// also ensures that the minifier will not anonymize the function.
|
|
783
|
-
next.done = true;
|
|
784
|
-
return next;
|
|
785
|
-
};
|
|
786
|
-
};
|
|
787
|
-
|
|
788
|
-
function values(iterable) {
|
|
789
|
-
if (iterable) {
|
|
790
|
-
var iteratorMethod = iterable[iteratorSymbol];
|
|
791
|
-
if (iteratorMethod) {
|
|
792
|
-
return iteratorMethod.call(iterable);
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
if (typeof iterable.next === "function") {
|
|
796
|
-
return iterable;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
if (!isNaN(iterable.length)) {
|
|
800
|
-
var i = -1, next = function next() {
|
|
801
|
-
while (++i < iterable.length) {
|
|
802
|
-
if (hasOwn.call(iterable, i)) {
|
|
803
|
-
next.value = iterable[i];
|
|
804
|
-
next.done = false;
|
|
805
|
-
return next;
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
next.value = undefined;
|
|
810
|
-
next.done = true;
|
|
811
|
-
|
|
812
|
-
return next;
|
|
813
|
-
};
|
|
814
|
-
|
|
815
|
-
return next.next = next;
|
|
492
|
+
function values(e) {
|
|
493
|
+
if (e || "" === e) {
|
|
494
|
+
var r = e[a];
|
|
495
|
+
if (r) return r.call(e);
|
|
496
|
+
if ("function" == typeof e.next) return e;
|
|
497
|
+
if (!isNaN(e.length)) {
|
|
498
|
+
var o = -1,
|
|
499
|
+
i = function next() {
|
|
500
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
501
|
+
return next.value = t, next.done = !0, next;
|
|
502
|
+
};
|
|
503
|
+
return i.next = i;
|
|
816
504
|
}
|
|
817
505
|
}
|
|
818
|
-
|
|
819
|
-
// Return an iterator with no values.
|
|
820
|
-
return { next: doneResult };
|
|
821
|
-
}
|
|
822
|
-
exports.values = values;
|
|
823
|
-
|
|
824
|
-
function doneResult() {
|
|
825
|
-
return { value: undefined, done: true };
|
|
506
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
|
826
507
|
}
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
508
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
509
|
+
value: GeneratorFunctionPrototype,
|
|
510
|
+
configurable: !0
|
|
511
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
512
|
+
value: GeneratorFunction,
|
|
513
|
+
configurable: !0
|
|
514
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
515
|
+
var e = "function" == typeof t && t.constructor;
|
|
516
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
517
|
+
}, e.mark = function (t) {
|
|
518
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
519
|
+
}, e.awrap = function (t) {
|
|
520
|
+
return {
|
|
521
|
+
__await: t
|
|
522
|
+
};
|
|
523
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
524
|
+
return this;
|
|
525
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
526
|
+
void 0 === i && (i = Promise);
|
|
527
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
528
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
529
|
+
return t.done ? t.value : a.next();
|
|
530
|
+
});
|
|
531
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
532
|
+
return this;
|
|
533
|
+
}), define(g, "toString", function () {
|
|
534
|
+
return "[object Generator]";
|
|
535
|
+
}), e.keys = function (t) {
|
|
536
|
+
var e = Object(t),
|
|
537
|
+
r = [];
|
|
538
|
+
for (var n in e) r.push(n);
|
|
539
|
+
return r.reverse(), function next() {
|
|
540
|
+
for (; r.length;) {
|
|
541
|
+
var t = r.pop();
|
|
542
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
|
854
543
|
}
|
|
544
|
+
return next.done = !0, next;
|
|
545
|
+
};
|
|
546
|
+
}, e.values = values, Context.prototype = {
|
|
547
|
+
constructor: Context,
|
|
548
|
+
reset: function reset(e) {
|
|
549
|
+
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);
|
|
855
550
|
},
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
var rootEntry = this.tryEntries[0];
|
|
861
|
-
var rootRecord = rootEntry.completion;
|
|
862
|
-
if (rootRecord.type === "throw") {
|
|
863
|
-
throw rootRecord.arg;
|
|
864
|
-
}
|
|
865
|
-
|
|
551
|
+
stop: function stop() {
|
|
552
|
+
this.done = !0;
|
|
553
|
+
var t = this.tryEntries[0].completion;
|
|
554
|
+
if ("throw" === t.type) throw t.arg;
|
|
866
555
|
return this.rval;
|
|
867
556
|
},
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
557
|
+
dispatchException: function dispatchException(e) {
|
|
558
|
+
if (this.done) throw e;
|
|
559
|
+
var r = this;
|
|
560
|
+
function handle(n, o) {
|
|
561
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
872
562
|
}
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
return !! caught;
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
891
|
-
var entry = this.tryEntries[i];
|
|
892
|
-
var record = entry.completion;
|
|
893
|
-
|
|
894
|
-
if (entry.tryLoc === "root") {
|
|
895
|
-
// Exception thrown outside of any try block that could handle
|
|
896
|
-
// it, so set the completion value of the entire function to
|
|
897
|
-
// throw the exception.
|
|
898
|
-
return handle("end");
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
if (entry.tryLoc <= this.prev) {
|
|
902
|
-
var hasCatch = hasOwn.call(entry, "catchLoc");
|
|
903
|
-
var hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
904
|
-
|
|
905
|
-
if (hasCatch && hasFinally) {
|
|
906
|
-
if (this.prev < entry.catchLoc) {
|
|
907
|
-
return handle(entry.catchLoc, true);
|
|
908
|
-
} else if (this.prev < entry.finallyLoc) {
|
|
909
|
-
return handle(entry.finallyLoc);
|
|
910
|
-
}
|
|
911
|
-
|
|
912
|
-
} else if (hasCatch) {
|
|
913
|
-
if (this.prev < entry.catchLoc) {
|
|
914
|
-
return handle(entry.catchLoc, true);
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
} else if (hasFinally) {
|
|
918
|
-
if (this.prev < entry.finallyLoc) {
|
|
919
|
-
return handle(entry.finallyLoc);
|
|
920
|
-
}
|
|
921
|
-
|
|
563
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
564
|
+
var i = this.tryEntries[o],
|
|
565
|
+
a = i.completion;
|
|
566
|
+
if ("root" === i.tryLoc) return handle("end");
|
|
567
|
+
if (i.tryLoc <= this.prev) {
|
|
568
|
+
var c = n.call(i, "catchLoc"),
|
|
569
|
+
u = n.call(i, "finallyLoc");
|
|
570
|
+
if (c && u) {
|
|
571
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
572
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
573
|
+
} else if (c) {
|
|
574
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
922
575
|
} else {
|
|
923
|
-
throw new Error("try statement without catch or finally");
|
|
576
|
+
if (!u) throw new Error("try statement without catch or finally");
|
|
577
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
924
578
|
}
|
|
925
579
|
}
|
|
926
580
|
}
|
|
927
581
|
},
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
hasOwn.call(entry, "finallyLoc") &&
|
|
934
|
-
this.prev < entry.finallyLoc) {
|
|
935
|
-
var finallyEntry = entry;
|
|
582
|
+
abrupt: function abrupt(t, e) {
|
|
583
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
584
|
+
var o = this.tryEntries[r];
|
|
585
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
586
|
+
var i = o;
|
|
936
587
|
break;
|
|
937
588
|
}
|
|
938
589
|
}
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
type === "continue") &&
|
|
943
|
-
finallyEntry.tryLoc <= arg &&
|
|
944
|
-
arg <= finallyEntry.finallyLoc) {
|
|
945
|
-
// Ignore the finally entry if control is not jumping to a
|
|
946
|
-
// location outside the try/catch block.
|
|
947
|
-
finallyEntry = null;
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
var record = finallyEntry ? finallyEntry.completion : {};
|
|
951
|
-
record.type = type;
|
|
952
|
-
record.arg = arg;
|
|
953
|
-
|
|
954
|
-
if (finallyEntry) {
|
|
955
|
-
this.method = "next";
|
|
956
|
-
this.next = finallyEntry.finallyLoc;
|
|
957
|
-
return ContinueSentinel;
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
return this.complete(record);
|
|
590
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
591
|
+
var a = i ? i.completion : {};
|
|
592
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
961
593
|
},
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
throw record.arg;
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
if (record.type === "break" ||
|
|
969
|
-
record.type === "continue") {
|
|
970
|
-
this.next = record.arg;
|
|
971
|
-
} else if (record.type === "return") {
|
|
972
|
-
this.rval = this.arg = record.arg;
|
|
973
|
-
this.method = "return";
|
|
974
|
-
this.next = "end";
|
|
975
|
-
} else if (record.type === "normal" && afterLoc) {
|
|
976
|
-
this.next = afterLoc;
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
return ContinueSentinel;
|
|
594
|
+
complete: function complete(t, e) {
|
|
595
|
+
if ("throw" === t.type) throw t.arg;
|
|
596
|
+
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;
|
|
980
597
|
},
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
if (entry.finallyLoc === finallyLoc) {
|
|
986
|
-
this.complete(entry.completion, entry.afterLoc);
|
|
987
|
-
resetTryEntry(entry);
|
|
988
|
-
return ContinueSentinel;
|
|
989
|
-
}
|
|
598
|
+
finish: function finish(t) {
|
|
599
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
600
|
+
var r = this.tryEntries[e];
|
|
601
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
990
602
|
}
|
|
991
603
|
},
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
resetTryEntry(entry);
|
|
604
|
+
"catch": function _catch(t) {
|
|
605
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
606
|
+
var r = this.tryEntries[e];
|
|
607
|
+
if (r.tryLoc === t) {
|
|
608
|
+
var n = r.completion;
|
|
609
|
+
if ("throw" === n.type) {
|
|
610
|
+
var o = n.arg;
|
|
611
|
+
resetTryEntry(r);
|
|
1001
612
|
}
|
|
1002
|
-
return
|
|
613
|
+
return o;
|
|
1003
614
|
}
|
|
1004
615
|
}
|
|
1005
|
-
|
|
1006
|
-
// The context.catch method must only be called with a location
|
|
1007
|
-
// argument that corresponds to a known catch block.
|
|
1008
616
|
throw new Error("illegal catch attempt");
|
|
1009
617
|
},
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
};
|
|
1017
|
-
|
|
1018
|
-
if (this.method === "next") {
|
|
1019
|
-
// Deliberately forget the last sent value so that we don't
|
|
1020
|
-
// accidentally pass it on to the delegate.
|
|
1021
|
-
this.arg = undefined;
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
return ContinueSentinel;
|
|
618
|
+
delegateYield: function delegateYield(e, r, n) {
|
|
619
|
+
return this.delegate = {
|
|
620
|
+
iterator: values(e),
|
|
621
|
+
resultName: r,
|
|
622
|
+
nextLoc: n
|
|
623
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
1025
624
|
}
|
|
1026
|
-
};
|
|
1027
|
-
|
|
1028
|
-
// Regardless of whether this script is executing as a CommonJS module
|
|
1029
|
-
// or not, return the runtime object so that we can declare the variable
|
|
1030
|
-
// regeneratorRuntime in the outer scope, which allows this module to be
|
|
1031
|
-
// injected easily by `bin/regenerator --include-runtime script.js`.
|
|
1032
|
-
return exports;
|
|
1033
|
-
|
|
1034
|
-
}(
|
|
1035
|
-
// If this script is executing as a CommonJS module, use module.exports
|
|
1036
|
-
// as the regeneratorRuntime namespace. Otherwise create a new empty
|
|
1037
|
-
// object. Either way, the resulting object will be used to initialize
|
|
1038
|
-
// the regeneratorRuntime variable at the top of this file.
|
|
1039
|
-
true ? module.exports : 0
|
|
1040
|
-
));
|
|
1041
|
-
|
|
1042
|
-
try {
|
|
1043
|
-
regeneratorRuntime = runtime;
|
|
1044
|
-
} catch (accidentalStrictMode) {
|
|
1045
|
-
// This module should not be running in strict mode, so the above
|
|
1046
|
-
// assignment should always work unless something is misconfigured. Just
|
|
1047
|
-
// in case runtime.js accidentally runs in strict mode, we can escape
|
|
1048
|
-
// strict mode using a global Function call. This could conceivably fail
|
|
1049
|
-
// if a Content Security Policy forbids using Function, but in that case
|
|
1050
|
-
// the proper solution is to fix the accidental strict mode problem. If
|
|
1051
|
-
// you've misconfigured your bundler to force strict mode and applied a
|
|
1052
|
-
// CSP to forbid Function, and you're not willing to fix either of those
|
|
1053
|
-
// problems, please detail your unique predicament in a GitHub issue.
|
|
1054
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
|
625
|
+
}, e;
|
|
1055
626
|
}
|
|
1056
|
-
|
|
627
|
+
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1057
628
|
|
|
1058
629
|
/***/ }),
|
|
1059
630
|
|
|
1060
|
-
/***/
|
|
631
|
+
/***/ 8698:
|
|
1061
632
|
/***/ ((module) => {
|
|
1062
633
|
|
|
1063
|
-
|
|
1064
|
-
|
|
634
|
+
function _typeof(o) {
|
|
635
|
+
"@babel/helpers - typeof";
|
|
636
|
+
|
|
637
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
638
|
+
return typeof o;
|
|
639
|
+
} : function (o) {
|
|
640
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
641
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
|
642
|
+
}
|
|
643
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1065
644
|
|
|
1066
645
|
/***/ }),
|
|
1067
646
|
|
|
1068
|
-
/***/
|
|
1069
|
-
/***/ ((module) => {
|
|
647
|
+
/***/ 4687:
|
|
648
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
1070
649
|
|
|
1071
|
-
|
|
1072
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__5225__;
|
|
650
|
+
// TODO(Babel 8): Remove this file.
|
|
1073
651
|
|
|
1074
|
-
|
|
652
|
+
var runtime = __webpack_require__(7061)();
|
|
653
|
+
module.exports = runtime;
|
|
1075
654
|
|
|
1076
|
-
|
|
1077
|
-
|
|
655
|
+
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
656
|
+
try {
|
|
657
|
+
regeneratorRuntime = runtime;
|
|
658
|
+
} catch (accidentalStrictMode) {
|
|
659
|
+
if (typeof globalThis === "object") {
|
|
660
|
+
globalThis.regeneratorRuntime = runtime;
|
|
661
|
+
} else {
|
|
662
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
663
|
+
}
|
|
664
|
+
}
|
|
1078
665
|
|
|
1079
|
-
"use strict";
|
|
1080
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__5293__;
|
|
1081
666
|
|
|
1082
667
|
/***/ })
|
|
1083
668
|
|
|
@@ -1172,7 +757,7 @@ var component = __webpack_require__(2725);
|
|
|
1172
757
|
// EXTERNAL MODULE: ./src/core/ConnectStateWrapper/component.jsx
|
|
1173
758
|
var ConnectStateWrapper_component = __webpack_require__(9787);
|
|
1174
759
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
1175
|
-
var regenerator = __webpack_require__(
|
|
760
|
+
var regenerator = __webpack_require__(4687);
|
|
1176
761
|
;// CONCATENATED MODULE: ./src/core/remote-blogs-posts.js
|
|
1177
762
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
1178
763
|
|