@ably/ui 11.7.0 → 11.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.
- package/core/CompanyAutocomplete/component.js +2 -1
- package/core/CompanyAutocomplete/component.js.LICENSE.txt +1 -0
- package/core/Footer.jsx +1 -1
- package/core/Meganav.jsx +333 -748
- 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/Uptime.jsx +289 -704
- package/core/scripts.js +2 -1
- package/core/scripts.js.LICENSE.txt +1 -0
- package/package.json +3 -3
- package/src/core/Footer/component.html.erb +1 -1
- package/src/core/Footer/component.jsx +1 -1
- package/src/core/MeganavContentDevelopers/component.html.erb +1 -1
- package/src/core/MeganavContentDevelopers/component.jsx +1 -1
package/core/Meganav.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
|
-
/* unused reexport */ __webpack_require__(5666);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
/***/ }),
|
|
21
|
-
|
|
22
14
|
/***/ 9787:
|
|
23
15
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24
16
|
|
|
@@ -661,7 +653,7 @@ var component = __webpack_require__(2725);
|
|
|
661
653
|
// EXTERNAL MODULE: ./src/core/ConnectStateWrapper/component.jsx
|
|
662
654
|
var ConnectStateWrapper_component = __webpack_require__(9787);
|
|
663
655
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
664
|
-
var regenerator = __webpack_require__(
|
|
656
|
+
var regenerator = __webpack_require__(4687);
|
|
665
657
|
;// CONCATENATED MODULE: ./src/core/remote-blogs-posts.js
|
|
666
658
|
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; }
|
|
667
659
|
|
|
@@ -1002,7 +994,7 @@ var MeganavContentDevelopers = function MeganavContentDevelopers(_ref) {
|
|
|
1002
994
|
className: "md:mt-40",
|
|
1003
995
|
"aria-labelledby": "meganav-developers-panel-explore"
|
|
1004
996
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
|
1005
|
-
href: absUrl("/
|
|
997
|
+
href: absUrl("/docs/sdks"),
|
|
1006
998
|
className: "ui-meganav-media-with-image group"
|
|
1007
999
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
|
1008
1000
|
name: "icon-display-sdks-col",
|
|
@@ -2536,822 +2528,415 @@ var createRemoteDataStore = function createRemoteDataStore(reducers) {
|
|
|
2536
2528
|
|
|
2537
2529
|
/***/ }),
|
|
2538
2530
|
|
|
2539
|
-
/***/
|
|
2531
|
+
/***/ 3916:
|
|
2540
2532
|
/***/ ((module) => {
|
|
2541
2533
|
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
*
|
|
2545
|
-
* This source code is licensed under the MIT license found in the
|
|
2546
|
-
* LICENSE file in the root directory of this source tree.
|
|
2547
|
-
*/
|
|
2548
|
-
|
|
2549
|
-
var runtime = (function (exports) {
|
|
2550
|
-
"use strict";
|
|
2551
|
-
|
|
2552
|
-
var Op = Object.prototype;
|
|
2553
|
-
var hasOwn = Op.hasOwnProperty;
|
|
2554
|
-
var undefined; // More compressible than void 0.
|
|
2555
|
-
var $Symbol = typeof Symbol === "function" ? Symbol : {};
|
|
2556
|
-
var iteratorSymbol = $Symbol.iterator || "@@iterator";
|
|
2557
|
-
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
|
|
2558
|
-
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
2559
|
-
|
|
2560
|
-
function define(obj, key, value) {
|
|
2561
|
-
Object.defineProperty(obj, key, {
|
|
2562
|
-
value: value,
|
|
2563
|
-
enumerable: true,
|
|
2564
|
-
configurable: true,
|
|
2565
|
-
writable: true
|
|
2566
|
-
});
|
|
2567
|
-
return obj[key];
|
|
2568
|
-
}
|
|
2569
|
-
try {
|
|
2570
|
-
// IE 8 has a broken Object.defineProperty that only works on DOM objects.
|
|
2571
|
-
define({}, "");
|
|
2572
|
-
} catch (err) {
|
|
2573
|
-
define = function(obj, key, value) {
|
|
2574
|
-
return obj[key] = value;
|
|
2575
|
-
};
|
|
2576
|
-
}
|
|
2577
|
-
|
|
2578
|
-
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
2579
|
-
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
|
|
2580
|
-
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
|
|
2581
|
-
var generator = Object.create(protoGenerator.prototype);
|
|
2582
|
-
var context = new Context(tryLocsList || []);
|
|
2534
|
+
"use strict";
|
|
2535
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3916__;
|
|
2583
2536
|
|
|
2584
|
-
|
|
2585
|
-
// .throw, and .return methods.
|
|
2586
|
-
generator._invoke = makeInvokeMethod(innerFn, self, context);
|
|
2537
|
+
/***/ }),
|
|
2587
2538
|
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
exports.wrap = wrap;
|
|
2591
|
-
|
|
2592
|
-
// Try/catch helper to minimize deoptimizations. Returns a completion
|
|
2593
|
-
// record like context.tryEntries[i].completion. This interface could
|
|
2594
|
-
// have been (and was previously) designed to take a closure to be
|
|
2595
|
-
// invoked without arguments, but in all the cases we care about we
|
|
2596
|
-
// already have an existing method we want to call, so there's no need
|
|
2597
|
-
// to create a new function object. We can even get away with assuming
|
|
2598
|
-
// the method takes exactly one argument, since that happens to be true
|
|
2599
|
-
// in every case, so we don't have to touch the arguments object. The
|
|
2600
|
-
// only additional allocation required is the completion record, which
|
|
2601
|
-
// has a stable shape and so hopefully should be cheap to allocate.
|
|
2602
|
-
function tryCatch(fn, obj, arg) {
|
|
2603
|
-
try {
|
|
2604
|
-
return { type: "normal", arg: fn.call(obj, arg) };
|
|
2605
|
-
} catch (err) {
|
|
2606
|
-
return { type: "throw", arg: err };
|
|
2607
|
-
}
|
|
2608
|
-
}
|
|
2539
|
+
/***/ 710:
|
|
2540
|
+
/***/ ((module) => {
|
|
2609
2541
|
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
var GenStateExecuting = "executing";
|
|
2613
|
-
var GenStateCompleted = "completed";
|
|
2542
|
+
"use strict";
|
|
2543
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__710__;
|
|
2614
2544
|
|
|
2615
|
-
|
|
2616
|
-
// breaking out of the dispatch switch statement.
|
|
2617
|
-
var ContinueSentinel = {};
|
|
2545
|
+
/***/ }),
|
|
2618
2546
|
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
// objects. For full spec compliance, you may wish to configure your
|
|
2622
|
-
// minifier not to mangle the names of these two functions.
|
|
2623
|
-
function Generator() {}
|
|
2624
|
-
function GeneratorFunction() {}
|
|
2625
|
-
function GeneratorFunctionPrototype() {}
|
|
2547
|
+
/***/ 4360:
|
|
2548
|
+
/***/ ((module) => {
|
|
2626
2549
|
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
var IteratorPrototype = {};
|
|
2630
|
-
IteratorPrototype[iteratorSymbol] = function () {
|
|
2631
|
-
return this;
|
|
2632
|
-
};
|
|
2550
|
+
"use strict";
|
|
2551
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4360__;
|
|
2633
2552
|
|
|
2634
|
-
|
|
2635
|
-
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
2636
|
-
if (NativeIteratorPrototype &&
|
|
2637
|
-
NativeIteratorPrototype !== Op &&
|
|
2638
|
-
hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
|
|
2639
|
-
// This environment has a native %IteratorPrototype%; use it instead
|
|
2640
|
-
// of the polyfill.
|
|
2641
|
-
IteratorPrototype = NativeIteratorPrototype;
|
|
2642
|
-
}
|
|
2553
|
+
/***/ }),
|
|
2643
2554
|
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
|
|
2647
|
-
GeneratorFunctionPrototype.constructor = GeneratorFunction;
|
|
2648
|
-
GeneratorFunction.displayName = define(
|
|
2649
|
-
GeneratorFunctionPrototype,
|
|
2650
|
-
toStringTagSymbol,
|
|
2651
|
-
"GeneratorFunction"
|
|
2652
|
-
);
|
|
2653
|
-
|
|
2654
|
-
// Helper for defining the .next, .throw, and .return methods of the
|
|
2655
|
-
// Iterator interface in terms of a single ._invoke method.
|
|
2656
|
-
function defineIteratorMethods(prototype) {
|
|
2657
|
-
["next", "throw", "return"].forEach(function(method) {
|
|
2658
|
-
define(prototype, method, function(arg) {
|
|
2659
|
-
return this._invoke(method, arg);
|
|
2660
|
-
});
|
|
2661
|
-
});
|
|
2662
|
-
}
|
|
2555
|
+
/***/ 7326:
|
|
2556
|
+
/***/ ((module) => {
|
|
2663
2557
|
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
return ctor
|
|
2667
|
-
? ctor === GeneratorFunction ||
|
|
2668
|
-
// For the native GeneratorFunction constructor, the best we can
|
|
2669
|
-
// do is to check its .name property.
|
|
2670
|
-
(ctor.displayName || ctor.name) === "GeneratorFunction"
|
|
2671
|
-
: false;
|
|
2672
|
-
};
|
|
2558
|
+
"use strict";
|
|
2559
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7326__;
|
|
2673
2560
|
|
|
2674
|
-
|
|
2675
|
-
if (Object.setPrototypeOf) {
|
|
2676
|
-
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
|
|
2677
|
-
} else {
|
|
2678
|
-
genFun.__proto__ = GeneratorFunctionPrototype;
|
|
2679
|
-
define(genFun, toStringTagSymbol, "GeneratorFunction");
|
|
2680
|
-
}
|
|
2681
|
-
genFun.prototype = Object.create(Gp);
|
|
2682
|
-
return genFun;
|
|
2683
|
-
};
|
|
2561
|
+
/***/ }),
|
|
2684
2562
|
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
// `hasOwn.call(value, "__await")` to determine if the yielded value is
|
|
2688
|
-
// meant to be awaited.
|
|
2689
|
-
exports.awrap = function(arg) {
|
|
2690
|
-
return { __await: arg };
|
|
2691
|
-
};
|
|
2563
|
+
/***/ 6073:
|
|
2564
|
+
/***/ ((module) => {
|
|
2692
2565
|
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
var record = tryCatch(generator[method], generator, arg);
|
|
2696
|
-
if (record.type === "throw") {
|
|
2697
|
-
reject(record.arg);
|
|
2698
|
-
} else {
|
|
2699
|
-
var result = record.arg;
|
|
2700
|
-
var value = result.value;
|
|
2701
|
-
if (value &&
|
|
2702
|
-
typeof value === "object" &&
|
|
2703
|
-
hasOwn.call(value, "__await")) {
|
|
2704
|
-
return PromiseImpl.resolve(value.__await).then(function(value) {
|
|
2705
|
-
invoke("next", value, resolve, reject);
|
|
2706
|
-
}, function(err) {
|
|
2707
|
-
invoke("throw", err, resolve, reject);
|
|
2708
|
-
});
|
|
2709
|
-
}
|
|
2566
|
+
"use strict";
|
|
2567
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__6073__;
|
|
2710
2568
|
|
|
2711
|
-
|
|
2712
|
-
// When a yielded Promise is resolved, its final value becomes
|
|
2713
|
-
// the .value of the Promise<{value,done}> result for the
|
|
2714
|
-
// current iteration.
|
|
2715
|
-
result.value = unwrapped;
|
|
2716
|
-
resolve(result);
|
|
2717
|
-
}, function(error) {
|
|
2718
|
-
// If a rejected Promise was yielded, throw the rejection back
|
|
2719
|
-
// into the async generator function so it can be handled there.
|
|
2720
|
-
return invoke("throw", error, resolve, reject);
|
|
2721
|
-
});
|
|
2722
|
-
}
|
|
2723
|
-
}
|
|
2569
|
+
/***/ }),
|
|
2724
2570
|
|
|
2725
|
-
|
|
2571
|
+
/***/ 5225:
|
|
2572
|
+
/***/ ((module) => {
|
|
2726
2573
|
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
return new PromiseImpl(function(resolve, reject) {
|
|
2730
|
-
invoke(method, arg, resolve, reject);
|
|
2731
|
-
});
|
|
2732
|
-
}
|
|
2574
|
+
"use strict";
|
|
2575
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5225__;
|
|
2733
2576
|
|
|
2734
|
-
|
|
2735
|
-
// If enqueue has been called before, then we want to wait until
|
|
2736
|
-
// all previous Promises have been resolved before calling invoke,
|
|
2737
|
-
// so that results are always delivered in the correct order. If
|
|
2738
|
-
// enqueue has not been called before, then it is important to
|
|
2739
|
-
// call invoke immediately, without waiting on a callback to fire,
|
|
2740
|
-
// so that the async generator function has the opportunity to do
|
|
2741
|
-
// any necessary setup in a predictable way. This predictability
|
|
2742
|
-
// is why the Promise constructor synchronously invokes its
|
|
2743
|
-
// executor callback, and why async functions synchronously
|
|
2744
|
-
// execute code before the first await. Since we implement simple
|
|
2745
|
-
// async functions in terms of async generators, it is especially
|
|
2746
|
-
// important to get this right, even though it requires care.
|
|
2747
|
-
previousPromise ? previousPromise.then(
|
|
2748
|
-
callInvokeWithMethodAndArg,
|
|
2749
|
-
// Avoid propagating failures to Promises returned by later
|
|
2750
|
-
// invocations of the iterator.
|
|
2751
|
-
callInvokeWithMethodAndArg
|
|
2752
|
-
) : callInvokeWithMethodAndArg();
|
|
2753
|
-
}
|
|
2577
|
+
/***/ }),
|
|
2754
2578
|
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
this._invoke = enqueue;
|
|
2758
|
-
}
|
|
2579
|
+
/***/ 5293:
|
|
2580
|
+
/***/ ((module) => {
|
|
2759
2581
|
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
return this;
|
|
2763
|
-
};
|
|
2764
|
-
exports.AsyncIterator = AsyncIterator;
|
|
2765
|
-
|
|
2766
|
-
// Note that simple async functions are implemented on top of
|
|
2767
|
-
// AsyncIterator objects; they just return a Promise for the value of
|
|
2768
|
-
// the final result produced by the iterator.
|
|
2769
|
-
exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
2770
|
-
if (PromiseImpl === void 0) PromiseImpl = Promise;
|
|
2771
|
-
|
|
2772
|
-
var iter = new AsyncIterator(
|
|
2773
|
-
wrap(innerFn, outerFn, self, tryLocsList),
|
|
2774
|
-
PromiseImpl
|
|
2775
|
-
);
|
|
2776
|
-
|
|
2777
|
-
return exports.isGeneratorFunction(outerFn)
|
|
2778
|
-
? iter // If outerFn is a generator, return the full iterator.
|
|
2779
|
-
: iter.next().then(function(result) {
|
|
2780
|
-
return result.done ? result.value : iter.next();
|
|
2781
|
-
});
|
|
2782
|
-
};
|
|
2582
|
+
"use strict";
|
|
2583
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5293__;
|
|
2783
2584
|
|
|
2784
|
-
|
|
2785
|
-
var state = GenStateSuspendedStart;
|
|
2585
|
+
/***/ }),
|
|
2786
2586
|
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
throw new Error("Generator is already running");
|
|
2790
|
-
}
|
|
2587
|
+
/***/ 9042:
|
|
2588
|
+
/***/ ((module) => {
|
|
2791
2589
|
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
throw arg;
|
|
2795
|
-
}
|
|
2590
|
+
"use strict";
|
|
2591
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__9042__;
|
|
2796
2592
|
|
|
2797
|
-
|
|
2798
|
-
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
|
|
2799
|
-
return doneResult();
|
|
2800
|
-
}
|
|
2593
|
+
/***/ }),
|
|
2801
2594
|
|
|
2802
|
-
|
|
2803
|
-
|
|
2595
|
+
/***/ 7061:
|
|
2596
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
2804
2597
|
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2598
|
+
var _typeof = (__webpack_require__(8698)["default"]);
|
|
2599
|
+
function _regeneratorRuntime() {
|
|
2600
|
+
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
2601
|
+
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
2602
|
+
return e;
|
|
2603
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
2604
|
+
var t,
|
|
2605
|
+
e = {},
|
|
2606
|
+
r = Object.prototype,
|
|
2607
|
+
n = r.hasOwnProperty,
|
|
2608
|
+
o = Object.defineProperty || function (t, e, r) {
|
|
2609
|
+
t[e] = r.value;
|
|
2610
|
+
},
|
|
2611
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
|
2612
|
+
a = i.iterator || "@@iterator",
|
|
2613
|
+
c = i.asyncIterator || "@@asyncIterator",
|
|
2614
|
+
u = i.toStringTag || "@@toStringTag";
|
|
2615
|
+
function define(t, e, r) {
|
|
2616
|
+
return Object.defineProperty(t, e, {
|
|
2617
|
+
value: r,
|
|
2618
|
+
enumerable: !0,
|
|
2619
|
+
configurable: !0,
|
|
2620
|
+
writable: !0
|
|
2621
|
+
}), t[e];
|
|
2622
|
+
}
|
|
2623
|
+
try {
|
|
2624
|
+
define({}, "");
|
|
2625
|
+
} catch (t) {
|
|
2626
|
+
define = function define(t, e, r) {
|
|
2627
|
+
return t[e] = r;
|
|
2628
|
+
};
|
|
2629
|
+
}
|
|
2630
|
+
function wrap(t, e, r, n) {
|
|
2631
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
2632
|
+
a = Object.create(i.prototype),
|
|
2633
|
+
c = new Context(n || []);
|
|
2634
|
+
return o(a, "_invoke", {
|
|
2635
|
+
value: makeInvokeMethod(t, r, c)
|
|
2636
|
+
}), a;
|
|
2637
|
+
}
|
|
2638
|
+
function tryCatch(t, e, r) {
|
|
2639
|
+
try {
|
|
2640
|
+
return {
|
|
2641
|
+
type: "normal",
|
|
2642
|
+
arg: t.call(e, r)
|
|
2643
|
+
};
|
|
2644
|
+
} catch (t) {
|
|
2645
|
+
return {
|
|
2646
|
+
type: "throw",
|
|
2647
|
+
arg: t
|
|
2648
|
+
};
|
|
2649
|
+
}
|
|
2650
|
+
}
|
|
2651
|
+
e.wrap = wrap;
|
|
2652
|
+
var h = "suspendedStart",
|
|
2653
|
+
l = "suspendedYield",
|
|
2654
|
+
f = "executing",
|
|
2655
|
+
s = "completed",
|
|
2656
|
+
y = {};
|
|
2657
|
+
function Generator() {}
|
|
2658
|
+
function GeneratorFunction() {}
|
|
2659
|
+
function GeneratorFunctionPrototype() {}
|
|
2660
|
+
var p = {};
|
|
2661
|
+
define(p, a, function () {
|
|
2662
|
+
return this;
|
|
2663
|
+
});
|
|
2664
|
+
var d = Object.getPrototypeOf,
|
|
2665
|
+
v = d && d(d(values([])));
|
|
2666
|
+
v && v !== r && n.call(v, a) && (p = v);
|
|
2667
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
2668
|
+
function defineIteratorMethods(t) {
|
|
2669
|
+
["next", "throw", "return"].forEach(function (e) {
|
|
2670
|
+
define(t, e, function (t) {
|
|
2671
|
+
return this._invoke(e, t);
|
|
2672
|
+
});
|
|
2673
|
+
});
|
|
2674
|
+
}
|
|
2675
|
+
function AsyncIterator(t, e) {
|
|
2676
|
+
function invoke(r, o, i, a) {
|
|
2677
|
+
var c = tryCatch(t[r], t, o);
|
|
2678
|
+
if ("throw" !== c.type) {
|
|
2679
|
+
var u = c.arg,
|
|
2680
|
+
h = u.value;
|
|
2681
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
2682
|
+
invoke("next", t, i, a);
|
|
2683
|
+
}, function (t) {
|
|
2684
|
+
invoke("throw", t, i, a);
|
|
2685
|
+
}) : e.resolve(h).then(function (t) {
|
|
2686
|
+
u.value = t, i(u);
|
|
2687
|
+
}, function (t) {
|
|
2688
|
+
return invoke("throw", t, i, a);
|
|
2689
|
+
});
|
|
2690
|
+
}
|
|
2691
|
+
a(c.arg);
|
|
2692
|
+
}
|
|
2693
|
+
var r;
|
|
2694
|
+
o(this, "_invoke", {
|
|
2695
|
+
value: function value(t, n) {
|
|
2696
|
+
function callInvokeWithMethodAndArg() {
|
|
2697
|
+
return new e(function (e, r) {
|
|
2698
|
+
invoke(t, n, e, r);
|
|
2699
|
+
});
|
|
2813
2700
|
}
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2701
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
2702
|
+
}
|
|
2703
|
+
});
|
|
2704
|
+
}
|
|
2705
|
+
function makeInvokeMethod(e, r, n) {
|
|
2706
|
+
var o = h;
|
|
2707
|
+
return function (i, a) {
|
|
2708
|
+
if (o === f) throw new Error("Generator is already running");
|
|
2709
|
+
if (o === s) {
|
|
2710
|
+
if ("throw" === i) throw a;
|
|
2711
|
+
return {
|
|
2712
|
+
value: t,
|
|
2713
|
+
done: !0
|
|
2714
|
+
};
|
|
2715
|
+
}
|
|
2716
|
+
for (n.method = i, n.arg = a;;) {
|
|
2717
|
+
var c = n.delegate;
|
|
2718
|
+
if (c) {
|
|
2719
|
+
var u = maybeInvokeDelegate(c, n);
|
|
2720
|
+
if (u) {
|
|
2721
|
+
if (u === y) continue;
|
|
2722
|
+
return u;
|
|
2824
2723
|
}
|
|
2825
|
-
|
|
2826
|
-
context.dispatchException(context.arg);
|
|
2827
|
-
|
|
2828
|
-
} else if (context.method === "return") {
|
|
2829
|
-
context.abrupt("return", context.arg);
|
|
2830
2724
|
}
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
? GenStateCompleted
|
|
2840
|
-
: GenStateSuspendedYield;
|
|
2841
|
-
|
|
2842
|
-
if (record.arg === ContinueSentinel) {
|
|
2843
|
-
continue;
|
|
2844
|
-
}
|
|
2845
|
-
|
|
2725
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
2726
|
+
if (o === h) throw o = s, n.arg;
|
|
2727
|
+
n.dispatchException(n.arg);
|
|
2728
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
2729
|
+
o = f;
|
|
2730
|
+
var p = tryCatch(e, r, n);
|
|
2731
|
+
if ("normal" === p.type) {
|
|
2732
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
|
2846
2733
|
return {
|
|
2847
|
-
value:
|
|
2848
|
-
done:
|
|
2734
|
+
value: p.arg,
|
|
2735
|
+
done: n.done
|
|
2849
2736
|
};
|
|
2850
|
-
|
|
2851
|
-
} else if (record.type === "throw") {
|
|
2852
|
-
state = GenStateCompleted;
|
|
2853
|
-
// Dispatch the exception by looping back around to the
|
|
2854
|
-
// context.dispatchException(context.arg) call above.
|
|
2855
|
-
context.method = "throw";
|
|
2856
|
-
context.arg = record.arg;
|
|
2857
2737
|
}
|
|
2738
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
2858
2739
|
}
|
|
2859
2740
|
};
|
|
2860
2741
|
}
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
var
|
|
2868
|
-
|
|
2869
|
-
// A .throw or .return when the delegate iterator has no .throw
|
|
2870
|
-
// method always terminates the yield* loop.
|
|
2871
|
-
context.delegate = null;
|
|
2872
|
-
|
|
2873
|
-
if (context.method === "throw") {
|
|
2874
|
-
// Note: ["return"] must be used for ES3 parsing compatibility.
|
|
2875
|
-
if (delegate.iterator["return"]) {
|
|
2876
|
-
// If the delegate iterator has a return method, give it a
|
|
2877
|
-
// chance to clean up.
|
|
2878
|
-
context.method = "return";
|
|
2879
|
-
context.arg = undefined;
|
|
2880
|
-
maybeInvokeDelegate(delegate, context);
|
|
2881
|
-
|
|
2882
|
-
if (context.method === "throw") {
|
|
2883
|
-
// If maybeInvokeDelegate(context) changed context.method from
|
|
2884
|
-
// "return" to "throw", let that override the TypeError below.
|
|
2885
|
-
return ContinueSentinel;
|
|
2886
|
-
}
|
|
2887
|
-
}
|
|
2888
|
-
|
|
2889
|
-
context.method = "throw";
|
|
2890
|
-
context.arg = new TypeError(
|
|
2891
|
-
"The iterator does not provide a 'throw' method");
|
|
2892
|
-
}
|
|
2893
|
-
|
|
2894
|
-
return ContinueSentinel;
|
|
2895
|
-
}
|
|
2896
|
-
|
|
2897
|
-
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
2898
|
-
|
|
2899
|
-
if (record.type === "throw") {
|
|
2900
|
-
context.method = "throw";
|
|
2901
|
-
context.arg = record.arg;
|
|
2902
|
-
context.delegate = null;
|
|
2903
|
-
return ContinueSentinel;
|
|
2904
|
-
}
|
|
2905
|
-
|
|
2906
|
-
var info = record.arg;
|
|
2907
|
-
|
|
2908
|
-
if (! info) {
|
|
2909
|
-
context.method = "throw";
|
|
2910
|
-
context.arg = new TypeError("iterator result is not an object");
|
|
2911
|
-
context.delegate = null;
|
|
2912
|
-
return ContinueSentinel;
|
|
2913
|
-
}
|
|
2914
|
-
|
|
2915
|
-
if (info.done) {
|
|
2916
|
-
// Assign the result of the finished delegate to the temporary
|
|
2917
|
-
// variable specified by delegate.resultName (see delegateYield).
|
|
2918
|
-
context[delegate.resultName] = info.value;
|
|
2919
|
-
|
|
2920
|
-
// Resume execution at the desired location (see delegateYield).
|
|
2921
|
-
context.next = delegate.nextLoc;
|
|
2922
|
-
|
|
2923
|
-
// If context.method was "throw" but the delegate handled the
|
|
2924
|
-
// exception, let the outer generator proceed normally. If
|
|
2925
|
-
// context.method was "next", forget context.arg since it has been
|
|
2926
|
-
// "consumed" by the delegate iterator. If context.method was
|
|
2927
|
-
// "return", allow the original .return call to continue in the
|
|
2928
|
-
// outer generator.
|
|
2929
|
-
if (context.method !== "return") {
|
|
2930
|
-
context.method = "next";
|
|
2931
|
-
context.arg = undefined;
|
|
2932
|
-
}
|
|
2933
|
-
|
|
2934
|
-
} else {
|
|
2935
|
-
// Re-yield the result returned by the delegate method.
|
|
2936
|
-
return info;
|
|
2937
|
-
}
|
|
2938
|
-
|
|
2939
|
-
// The delegate iterator is finished, so forget it and continue with
|
|
2940
|
-
// the outer generator.
|
|
2941
|
-
context.delegate = null;
|
|
2942
|
-
return ContinueSentinel;
|
|
2742
|
+
function maybeInvokeDelegate(e, r) {
|
|
2743
|
+
var n = r.method,
|
|
2744
|
+
o = e.iterator[n];
|
|
2745
|
+
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;
|
|
2746
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
2747
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
2748
|
+
var a = i.arg;
|
|
2749
|
+
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);
|
|
2943
2750
|
}
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
define(Gp, toStringTagSymbol, "Generator");
|
|
2950
|
-
|
|
2951
|
-
// A Generator should always return itself as the iterator object when the
|
|
2952
|
-
// @@iterator function is called on it. Some browsers' implementations of the
|
|
2953
|
-
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
2954
|
-
// object to not be returned from this call. This ensures that doesn't happen.
|
|
2955
|
-
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
2956
|
-
Gp[iteratorSymbol] = function() {
|
|
2957
|
-
return this;
|
|
2958
|
-
};
|
|
2959
|
-
|
|
2960
|
-
Gp.toString = function() {
|
|
2961
|
-
return "[object Generator]";
|
|
2962
|
-
};
|
|
2963
|
-
|
|
2964
|
-
function pushTryEntry(locs) {
|
|
2965
|
-
var entry = { tryLoc: locs[0] };
|
|
2966
|
-
|
|
2967
|
-
if (1 in locs) {
|
|
2968
|
-
entry.catchLoc = locs[1];
|
|
2969
|
-
}
|
|
2970
|
-
|
|
2971
|
-
if (2 in locs) {
|
|
2972
|
-
entry.finallyLoc = locs[2];
|
|
2973
|
-
entry.afterLoc = locs[3];
|
|
2974
|
-
}
|
|
2975
|
-
|
|
2976
|
-
this.tryEntries.push(entry);
|
|
2751
|
+
function pushTryEntry(t) {
|
|
2752
|
+
var e = {
|
|
2753
|
+
tryLoc: t[0]
|
|
2754
|
+
};
|
|
2755
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
2977
2756
|
}
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
record.type = "normal";
|
|
2982
|
-
delete record.arg;
|
|
2983
|
-
entry.completion = record;
|
|
2757
|
+
function resetTryEntry(t) {
|
|
2758
|
+
var e = t.completion || {};
|
|
2759
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
2984
2760
|
}
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
// locations where there is no enclosing try statement.
|
|
2990
|
-
this.tryEntries = [{ tryLoc: "root" }];
|
|
2991
|
-
tryLocsList.forEach(pushTryEntry, this);
|
|
2992
|
-
this.reset(true);
|
|
2761
|
+
function Context(t) {
|
|
2762
|
+
this.tryEntries = [{
|
|
2763
|
+
tryLoc: "root"
|
|
2764
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
2993
2765
|
}
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
var key = keys.pop();
|
|
3007
|
-
if (key in object) {
|
|
3008
|
-
next.value = key;
|
|
3009
|
-
next.done = false;
|
|
3010
|
-
return next;
|
|
3011
|
-
}
|
|
3012
|
-
}
|
|
3013
|
-
|
|
3014
|
-
// To avoid creating an additional object, we just hang the .value
|
|
3015
|
-
// and .done properties off the next function object itself. This
|
|
3016
|
-
// also ensures that the minifier will not anonymize the function.
|
|
3017
|
-
next.done = true;
|
|
3018
|
-
return next;
|
|
3019
|
-
};
|
|
3020
|
-
};
|
|
3021
|
-
|
|
3022
|
-
function values(iterable) {
|
|
3023
|
-
if (iterable) {
|
|
3024
|
-
var iteratorMethod = iterable[iteratorSymbol];
|
|
3025
|
-
if (iteratorMethod) {
|
|
3026
|
-
return iteratorMethod.call(iterable);
|
|
3027
|
-
}
|
|
3028
|
-
|
|
3029
|
-
if (typeof iterable.next === "function") {
|
|
3030
|
-
return iterable;
|
|
3031
|
-
}
|
|
3032
|
-
|
|
3033
|
-
if (!isNaN(iterable.length)) {
|
|
3034
|
-
var i = -1, next = function next() {
|
|
3035
|
-
while (++i < iterable.length) {
|
|
3036
|
-
if (hasOwn.call(iterable, i)) {
|
|
3037
|
-
next.value = iterable[i];
|
|
3038
|
-
next.done = false;
|
|
3039
|
-
return next;
|
|
3040
|
-
}
|
|
3041
|
-
}
|
|
3042
|
-
|
|
3043
|
-
next.value = undefined;
|
|
3044
|
-
next.done = true;
|
|
3045
|
-
|
|
3046
|
-
return next;
|
|
3047
|
-
};
|
|
3048
|
-
|
|
3049
|
-
return next.next = next;
|
|
2766
|
+
function values(e) {
|
|
2767
|
+
if (e || "" === e) {
|
|
2768
|
+
var r = e[a];
|
|
2769
|
+
if (r) return r.call(e);
|
|
2770
|
+
if ("function" == typeof e.next) return e;
|
|
2771
|
+
if (!isNaN(e.length)) {
|
|
2772
|
+
var o = -1,
|
|
2773
|
+
i = function next() {
|
|
2774
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
2775
|
+
return next.value = t, next.done = !0, next;
|
|
2776
|
+
};
|
|
2777
|
+
return i.next = i;
|
|
3050
2778
|
}
|
|
3051
2779
|
}
|
|
3052
|
-
|
|
3053
|
-
// Return an iterator with no values.
|
|
3054
|
-
return { next: doneResult };
|
|
2780
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
|
3055
2781
|
}
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
constructor
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
2782
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
2783
|
+
value: GeneratorFunctionPrototype,
|
|
2784
|
+
configurable: !0
|
|
2785
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
2786
|
+
value: GeneratorFunction,
|
|
2787
|
+
configurable: !0
|
|
2788
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
2789
|
+
var e = "function" == typeof t && t.constructor;
|
|
2790
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
2791
|
+
}, e.mark = function (t) {
|
|
2792
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
2793
|
+
}, e.awrap = function (t) {
|
|
2794
|
+
return {
|
|
2795
|
+
__await: t
|
|
2796
|
+
};
|
|
2797
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
2798
|
+
return this;
|
|
2799
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
2800
|
+
void 0 === i && (i = Promise);
|
|
2801
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
2802
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
2803
|
+
return t.done ? t.value : a.next();
|
|
2804
|
+
});
|
|
2805
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
2806
|
+
return this;
|
|
2807
|
+
}), define(g, "toString", function () {
|
|
2808
|
+
return "[object Generator]";
|
|
2809
|
+
}), e.keys = function (t) {
|
|
2810
|
+
var e = Object(t),
|
|
2811
|
+
r = [];
|
|
2812
|
+
for (var n in e) r.push(n);
|
|
2813
|
+
return r.reverse(), function next() {
|
|
2814
|
+
for (; r.length;) {
|
|
2815
|
+
var t = r.pop();
|
|
2816
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
|
3088
2817
|
}
|
|
2818
|
+
return next.done = !0, next;
|
|
2819
|
+
};
|
|
2820
|
+
}, e.values = values, Context.prototype = {
|
|
2821
|
+
constructor: Context,
|
|
2822
|
+
reset: function reset(e) {
|
|
2823
|
+
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);
|
|
3089
2824
|
},
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
var rootEntry = this.tryEntries[0];
|
|
3095
|
-
var rootRecord = rootEntry.completion;
|
|
3096
|
-
if (rootRecord.type === "throw") {
|
|
3097
|
-
throw rootRecord.arg;
|
|
3098
|
-
}
|
|
3099
|
-
|
|
2825
|
+
stop: function stop() {
|
|
2826
|
+
this.done = !0;
|
|
2827
|
+
var t = this.tryEntries[0].completion;
|
|
2828
|
+
if ("throw" === t.type) throw t.arg;
|
|
3100
2829
|
return this.rval;
|
|
3101
2830
|
},
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
var context = this;
|
|
3109
|
-
function handle(loc, caught) {
|
|
3110
|
-
record.type = "throw";
|
|
3111
|
-
record.arg = exception;
|
|
3112
|
-
context.next = loc;
|
|
3113
|
-
|
|
3114
|
-
if (caught) {
|
|
3115
|
-
// If the dispatched exception was caught by a catch block,
|
|
3116
|
-
// then let that catch block handle the exception normally.
|
|
3117
|
-
context.method = "next";
|
|
3118
|
-
context.arg = undefined;
|
|
3119
|
-
}
|
|
3120
|
-
|
|
3121
|
-
return !! caught;
|
|
2831
|
+
dispatchException: function dispatchException(e) {
|
|
2832
|
+
if (this.done) throw e;
|
|
2833
|
+
var r = this;
|
|
2834
|
+
function handle(n, o) {
|
|
2835
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
3122
2836
|
}
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
if (entry.tryLoc <= this.prev) {
|
|
3136
|
-
var hasCatch = hasOwn.call(entry, "catchLoc");
|
|
3137
|
-
var hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
3138
|
-
|
|
3139
|
-
if (hasCatch && hasFinally) {
|
|
3140
|
-
if (this.prev < entry.catchLoc) {
|
|
3141
|
-
return handle(entry.catchLoc, true);
|
|
3142
|
-
} else if (this.prev < entry.finallyLoc) {
|
|
3143
|
-
return handle(entry.finallyLoc);
|
|
3144
|
-
}
|
|
3145
|
-
|
|
3146
|
-
} else if (hasCatch) {
|
|
3147
|
-
if (this.prev < entry.catchLoc) {
|
|
3148
|
-
return handle(entry.catchLoc, true);
|
|
3149
|
-
}
|
|
3150
|
-
|
|
3151
|
-
} else if (hasFinally) {
|
|
3152
|
-
if (this.prev < entry.finallyLoc) {
|
|
3153
|
-
return handle(entry.finallyLoc);
|
|
3154
|
-
}
|
|
3155
|
-
|
|
2837
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
2838
|
+
var i = this.tryEntries[o],
|
|
2839
|
+
a = i.completion;
|
|
2840
|
+
if ("root" === i.tryLoc) return handle("end");
|
|
2841
|
+
if (i.tryLoc <= this.prev) {
|
|
2842
|
+
var c = n.call(i, "catchLoc"),
|
|
2843
|
+
u = n.call(i, "finallyLoc");
|
|
2844
|
+
if (c && u) {
|
|
2845
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
2846
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
2847
|
+
} else if (c) {
|
|
2848
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
3156
2849
|
} else {
|
|
3157
|
-
throw new Error("try statement without catch or finally");
|
|
2850
|
+
if (!u) throw new Error("try statement without catch or finally");
|
|
2851
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
3158
2852
|
}
|
|
3159
2853
|
}
|
|
3160
2854
|
}
|
|
3161
2855
|
},
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
hasOwn.call(entry, "finallyLoc") &&
|
|
3168
|
-
this.prev < entry.finallyLoc) {
|
|
3169
|
-
var finallyEntry = entry;
|
|
2856
|
+
abrupt: function abrupt(t, e) {
|
|
2857
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
2858
|
+
var o = this.tryEntries[r];
|
|
2859
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
2860
|
+
var i = o;
|
|
3170
2861
|
break;
|
|
3171
2862
|
}
|
|
3172
2863
|
}
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
type === "continue") &&
|
|
3177
|
-
finallyEntry.tryLoc <= arg &&
|
|
3178
|
-
arg <= finallyEntry.finallyLoc) {
|
|
3179
|
-
// Ignore the finally entry if control is not jumping to a
|
|
3180
|
-
// location outside the try/catch block.
|
|
3181
|
-
finallyEntry = null;
|
|
3182
|
-
}
|
|
3183
|
-
|
|
3184
|
-
var record = finallyEntry ? finallyEntry.completion : {};
|
|
3185
|
-
record.type = type;
|
|
3186
|
-
record.arg = arg;
|
|
3187
|
-
|
|
3188
|
-
if (finallyEntry) {
|
|
3189
|
-
this.method = "next";
|
|
3190
|
-
this.next = finallyEntry.finallyLoc;
|
|
3191
|
-
return ContinueSentinel;
|
|
3192
|
-
}
|
|
3193
|
-
|
|
3194
|
-
return this.complete(record);
|
|
2864
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
2865
|
+
var a = i ? i.completion : {};
|
|
2866
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
3195
2867
|
},
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
throw record.arg;
|
|
3200
|
-
}
|
|
3201
|
-
|
|
3202
|
-
if (record.type === "break" ||
|
|
3203
|
-
record.type === "continue") {
|
|
3204
|
-
this.next = record.arg;
|
|
3205
|
-
} else if (record.type === "return") {
|
|
3206
|
-
this.rval = this.arg = record.arg;
|
|
3207
|
-
this.method = "return";
|
|
3208
|
-
this.next = "end";
|
|
3209
|
-
} else if (record.type === "normal" && afterLoc) {
|
|
3210
|
-
this.next = afterLoc;
|
|
3211
|
-
}
|
|
3212
|
-
|
|
3213
|
-
return ContinueSentinel;
|
|
2868
|
+
complete: function complete(t, e) {
|
|
2869
|
+
if ("throw" === t.type) throw t.arg;
|
|
2870
|
+
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;
|
|
3214
2871
|
},
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
if (entry.finallyLoc === finallyLoc) {
|
|
3220
|
-
this.complete(entry.completion, entry.afterLoc);
|
|
3221
|
-
resetTryEntry(entry);
|
|
3222
|
-
return ContinueSentinel;
|
|
3223
|
-
}
|
|
2872
|
+
finish: function finish(t) {
|
|
2873
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
2874
|
+
var r = this.tryEntries[e];
|
|
2875
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
3224
2876
|
}
|
|
3225
2877
|
},
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
resetTryEntry(entry);
|
|
2878
|
+
"catch": function _catch(t) {
|
|
2879
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
2880
|
+
var r = this.tryEntries[e];
|
|
2881
|
+
if (r.tryLoc === t) {
|
|
2882
|
+
var n = r.completion;
|
|
2883
|
+
if ("throw" === n.type) {
|
|
2884
|
+
var o = n.arg;
|
|
2885
|
+
resetTryEntry(r);
|
|
3235
2886
|
}
|
|
3236
|
-
return
|
|
2887
|
+
return o;
|
|
3237
2888
|
}
|
|
3238
2889
|
}
|
|
3239
|
-
|
|
3240
|
-
// The context.catch method must only be called with a location
|
|
3241
|
-
// argument that corresponds to a known catch block.
|
|
3242
2890
|
throw new Error("illegal catch attempt");
|
|
3243
2891
|
},
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
};
|
|
3251
|
-
|
|
3252
|
-
if (this.method === "next") {
|
|
3253
|
-
// Deliberately forget the last sent value so that we don't
|
|
3254
|
-
// accidentally pass it on to the delegate.
|
|
3255
|
-
this.arg = undefined;
|
|
3256
|
-
}
|
|
3257
|
-
|
|
3258
|
-
return ContinueSentinel;
|
|
2892
|
+
delegateYield: function delegateYield(e, r, n) {
|
|
2893
|
+
return this.delegate = {
|
|
2894
|
+
iterator: values(e),
|
|
2895
|
+
resultName: r,
|
|
2896
|
+
nextLoc: n
|
|
2897
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
3259
2898
|
}
|
|
3260
|
-
};
|
|
3261
|
-
|
|
3262
|
-
// Regardless of whether this script is executing as a CommonJS module
|
|
3263
|
-
// or not, return the runtime object so that we can declare the variable
|
|
3264
|
-
// regeneratorRuntime in the outer scope, which allows this module to be
|
|
3265
|
-
// injected easily by `bin/regenerator --include-runtime script.js`.
|
|
3266
|
-
return exports;
|
|
3267
|
-
|
|
3268
|
-
}(
|
|
3269
|
-
// If this script is executing as a CommonJS module, use module.exports
|
|
3270
|
-
// as the regeneratorRuntime namespace. Otherwise create a new empty
|
|
3271
|
-
// object. Either way, the resulting object will be used to initialize
|
|
3272
|
-
// the regeneratorRuntime variable at the top of this file.
|
|
3273
|
-
true ? module.exports : 0
|
|
3274
|
-
));
|
|
3275
|
-
|
|
3276
|
-
try {
|
|
3277
|
-
regeneratorRuntime = runtime;
|
|
3278
|
-
} catch (accidentalStrictMode) {
|
|
3279
|
-
// This module should not be running in strict mode, so the above
|
|
3280
|
-
// assignment should always work unless something is misconfigured. Just
|
|
3281
|
-
// in case runtime.js accidentally runs in strict mode, we can escape
|
|
3282
|
-
// strict mode using a global Function call. This could conceivably fail
|
|
3283
|
-
// if a Content Security Policy forbids using Function, but in that case
|
|
3284
|
-
// the proper solution is to fix the accidental strict mode problem. If
|
|
3285
|
-
// you've misconfigured your bundler to force strict mode and applied a
|
|
3286
|
-
// CSP to forbid Function, and you're not willing to fix either of those
|
|
3287
|
-
// problems, please detail your unique predicament in a GitHub issue.
|
|
3288
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
|
2899
|
+
}, e;
|
|
3289
2900
|
}
|
|
3290
|
-
|
|
2901
|
+
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
3291
2902
|
|
|
3292
2903
|
/***/ }),
|
|
3293
2904
|
|
|
3294
|
-
/***/
|
|
2905
|
+
/***/ 8698:
|
|
3295
2906
|
/***/ ((module) => {
|
|
3296
2907
|
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
/***/ }),
|
|
3301
|
-
|
|
3302
|
-
/***/ 710:
|
|
3303
|
-
/***/ ((module) => {
|
|
3304
|
-
|
|
3305
|
-
"use strict";
|
|
3306
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__710__;
|
|
3307
|
-
|
|
3308
|
-
/***/ }),
|
|
3309
|
-
|
|
3310
|
-
/***/ 4360:
|
|
3311
|
-
/***/ ((module) => {
|
|
3312
|
-
|
|
3313
|
-
"use strict";
|
|
3314
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__4360__;
|
|
3315
|
-
|
|
3316
|
-
/***/ }),
|
|
2908
|
+
function _typeof(o) {
|
|
2909
|
+
"@babel/helpers - typeof";
|
|
3317
2910
|
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
"
|
|
3322
|
-
module.exports =
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
/***/ 6073:
|
|
3327
|
-
/***/ ((module) => {
|
|
3328
|
-
|
|
3329
|
-
"use strict";
|
|
3330
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__6073__;
|
|
3331
|
-
|
|
3332
|
-
/***/ }),
|
|
3333
|
-
|
|
3334
|
-
/***/ 5225:
|
|
3335
|
-
/***/ ((module) => {
|
|
3336
|
-
|
|
3337
|
-
"use strict";
|
|
3338
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__5225__;
|
|
2911
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
2912
|
+
return typeof o;
|
|
2913
|
+
} : function (o) {
|
|
2914
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
2915
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
|
2916
|
+
}
|
|
2917
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
3339
2918
|
|
|
3340
2919
|
/***/ }),
|
|
3341
2920
|
|
|
3342
|
-
/***/
|
|
3343
|
-
/***/ ((module) => {
|
|
2921
|
+
/***/ 4687:
|
|
2922
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
3344
2923
|
|
|
3345
|
-
|
|
3346
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__5293__;
|
|
2924
|
+
// TODO(Babel 8): Remove this file.
|
|
3347
2925
|
|
|
3348
|
-
|
|
2926
|
+
var runtime = __webpack_require__(7061)();
|
|
2927
|
+
module.exports = runtime;
|
|
3349
2928
|
|
|
3350
|
-
|
|
3351
|
-
|
|
2929
|
+
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
2930
|
+
try {
|
|
2931
|
+
regeneratorRuntime = runtime;
|
|
2932
|
+
} catch (accidentalStrictMode) {
|
|
2933
|
+
if (typeof globalThis === "object") {
|
|
2934
|
+
globalThis.regeneratorRuntime = runtime;
|
|
2935
|
+
} else {
|
|
2936
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
2937
|
+
}
|
|
2938
|
+
}
|
|
3352
2939
|
|
|
3353
|
-
"use strict";
|
|
3354
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__9042__;
|
|
3355
2940
|
|
|
3356
2941
|
/***/ }),
|
|
3357
2942
|
|
|
@@ -3452,7 +3037,7 @@ var external_commonjs_prop_types_commonjs2_prop_types_default = /*#__PURE__*/__w
|
|
|
3452
3037
|
// EXTERNAL MODULE: ./src/core/remote-data-store.js
|
|
3453
3038
|
var remote_data_store = __webpack_require__(3511);
|
|
3454
3039
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
3455
|
-
var regenerator = __webpack_require__(
|
|
3040
|
+
var regenerator = __webpack_require__(4687);
|
|
3456
3041
|
;// CONCATENATED MODULE: ./src/core/remote-session-data.js
|
|
3457
3042
|
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; }
|
|
3458
3043
|
|