@ably/ui 8.7.0-dev.4e08581 → 8.7.0-dev.52da22c
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 +16 -5
- package/core/Code/component.css +3 -3
- package/core/Code/component.js +1 -1
- package/core/Code.jsx +351 -7148
- package/core/CompanyAutocomplete/component.js +2 -1
- package/core/CompanyAutocomplete/component.js.LICENSE.txt +1 -0
- package/core/ConnectStateWrapper/component.js +1 -1
- package/core/ConnectStateWrapper.jsx +7 -7
- package/core/ContactFooter/component.js +1 -1
- package/core/ContactFooter.jsx +12 -12
- package/core/CookieMessage/component.js +1 -1
- package/core/CookieMessage.jsx +10 -10
- package/core/CustomerLogos/component.js +1 -1
- package/core/CustomerLogos.jsx +7 -7
- package/core/DropdownMenu/component.js +1 -0
- package/core/DropdownMenu.jsx +313 -0
- package/core/FeatureFooter/component.js +1 -1
- package/core/FeaturedLink/component.js +1 -1
- package/core/FeaturedLink.jsx +10 -10
- package/core/Flash/component.js +1 -1
- package/core/Flash.jsx +142 -70
- package/core/Footer/component.css +21 -1
- package/core/Footer/component.js +1 -1
- package/core/Footer.jsx +162 -76
- package/core/Icon/component.js +1 -1
- package/core/Icon.jsx +7 -7
- package/core/Loader/component.js +1 -1
- package/core/Loader.jsx +7 -7
- package/core/Logo/component.js +1 -1
- package/core/Logo.jsx +33 -118
- package/core/Meganav/component.css +59 -20
- package/core/Meganav/component.js +1 -1
- package/core/Meganav/component.json +2 -2
- package/core/Meganav.jsx +1120 -1211
- package/core/MeganavBlogPostsList/component.js +2 -1
- package/core/MeganavBlogPostsList/component.js.LICENSE.txt +1 -0
- package/core/MeganavBlogPostsList.jsx +13 -13
- package/core/MeganavContentCompany/component.js +1 -1
- package/core/MeganavContentCompany.jsx +328 -731
- package/core/MeganavContentDevelopers/component.js +1 -1
- package/core/MeganavContentDevelopers.jsx +119 -78
- package/core/{MeganavContentPlatform → MeganavContentProducts}/component.js +1 -1
- package/core/{MeganavContentPlatform.jsx → MeganavContentProducts.jsx} +34 -58
- package/core/MeganavContentUseCases/component.js +1 -1
- package/core/MeganavContentUseCases.jsx +63 -55
- package/core/MeganavControl/component.js +1 -1
- package/core/MeganavControl.jsx +10 -10
- package/core/MeganavControlMobileDropdown/component.js +1 -1
- package/core/MeganavControlMobileDropdown.jsx +11 -11
- package/core/MeganavControlMobilePanelClose/component.js +1 -1
- package/core/MeganavControlMobilePanelClose.jsx +10 -10
- package/core/MeganavControlMobilePanelOpen/component.js +1 -1
- package/core/MeganavControlMobilePanelOpen.jsx +10 -10
- package/core/MeganavItemsDesktop/component.js +1 -1
- package/core/MeganavItemsDesktop.jsx +17 -17
- package/core/MeganavItemsMobile/component.js +1 -1
- package/core/MeganavItemsMobile.jsx +39 -39
- package/core/MeganavItemsSignedIn/component.js +1 -1
- package/core/MeganavItemsSignedIn.jsx +33 -33
- package/core/MeganavSearch/component.js +1 -1
- package/core/MeganavSearch.jsx +23 -23
- package/core/MeganavSearchAutocomplete/component.js +1 -1
- package/core/MeganavSearchAutocomplete.jsx +4 -4
- package/core/MeganavSearchPanel/component.js +1 -1
- package/core/MeganavSearchPanel.jsx +19 -19
- package/core/MeganavSearchSuggestions/component.js +1 -1
- package/core/MeganavSearchSuggestions.jsx +13 -13
- package/core/Notice/component.js +1 -1
- package/core/Notice.jsx +152 -80
- package/core/Showcase/component.js +1 -1
- package/core/Showcase.jsx +1 -1
- package/core/SignOutLink/component.js +1 -1
- package/core/SignOutLink.jsx +7 -7
- package/core/Slider/component.js +1 -1
- package/core/Slider.jsx +14 -14
- package/core/Uptime/component.js +1 -1
- package/core/Uptime.jsx +300 -715
- package/core/images/ably-logo.png +0 -0
- package/core/images/best-support-2023.svg +1 -0
- package/core/images/fastest-implementation-2023.svg +1 -0
- package/core/images/high-performer-2022.png +0 -0
- package/core/images/high-performer-2023.svg +1 -0
- package/core/images/highest-user-adoption-2022.png +0 -0
- package/core/images/highest-user-adoption-2023.svg +1 -0
- package/core/images/users-love-us-2022.png +0 -0
- package/core/scripts.js +2 -1
- package/core/scripts.js.LICENSE.txt +1 -0
- package/core/sprites.svg +135 -1
- package/core/styles.css +3 -7
- package/package.json +7 -6
- package/reset/scripts.js +1 -1
- package/reset/styles.css +1 -11
- package/src/core/Code/component.css +1 -67
- package/src/core/Code/component.js +11 -46
- package/src/core/Code/component.jsx +7 -3
- package/src/core/DropdownMenu/component.jsx +112 -0
- package/src/core/FeatureFooter/component.html.erb +1 -1
- package/src/core/Flash/component.jsx +40 -14
- package/src/core/Footer/component.css +21 -1
- package/src/core/Footer/component.html.erb +120 -63
- package/src/core/Footer/component.jsx +128 -61
- package/src/core/HeadwayWidget/HeadwayWidget.jsx +229 -0
- package/src/core/HeadwayWidget/index.js +5 -0
- package/src/core/Logo/component.html.erb +2 -27
- package/src/core/Logo/component.jsx +7 -40
- package/src/core/Logo/component.rb +15 -6
- package/src/core/Meganav/MeganavHeadwayPortal.jsx +20 -0
- package/src/core/Meganav/component.css +59 -18
- package/src/core/Meganav/component.html.erb +1 -1
- package/src/core/Meganav/component.json +2 -2
- package/src/core/Meganav/component.jsx +16 -12
- package/src/core/Meganav/component.rb +7 -6
- package/src/core/MeganavContentCompany/component.html.erb +9 -0
- package/src/core/MeganavContentCompany/component.jsx +9 -0
- package/src/core/MeganavContentDevelopers/component.html.erb +47 -21
- package/src/core/MeganavContentDevelopers/component.js +16 -0
- package/src/core/MeganavContentDevelopers/component.jsx +52 -23
- package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.html.erb +15 -33
- package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.jsx +18 -39
- package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.rb +1 -1
- package/src/core/MeganavContentUseCases/component.html.erb +43 -39
- package/src/core/MeganavContentUseCases/component.jsx +42 -39
- package/src/core/MeganavItemsDesktop/component.jsx +1 -1
- package/src/core/MeganavItemsDesktop/component.rb +1 -1
- package/src/core/MeganavSearchSuggestions/component.html.erb +1 -1
- package/src/core/core.rb +16 -4
- package/src/core/icons/github.svg +1 -1
- package/src/core/icons/google.svg +3 -0
- package/src/core/icons/icon-display-asset-tracking-col.svg +18 -0
- package/src/core/icons/icon-display-chat-col.svg +4 -0
- package/src/core/icons/icon-display-data-broadcast-col.svg +26 -0
- package/src/core/icons/icon-display-data-synchronization-col.svg +14 -0
- package/src/core/icons/icon-display-events-col.svg +13 -0
- package/src/core/icons/icon-display-examples-col.svg +11 -0
- package/src/core/icons/icon-display-integrations-col.svg +8 -0
- package/src/core/icons/icon-display-kafka-at-the-edge-col.svg +8 -0
- package/src/core/icons/icon-display-push-notifications-col.svg +6 -0
- package/src/core/icons/icon-gui-check-circled-fill-black.svg +4 -0
- package/src/core/icons/icon-gui-filter-flow-step-1.svg +5 -0
- package/src/core/icons/icon-gui-filter-flow-step-2.svg +5 -0
- package/src/core/icons/icon-gui-filter-flow-step-3.svg +5 -0
- package/src/core/icons/icon-gui-resources.svg +3 -0
- package/src/core/icons/icon-social-x.svg +3 -0
- package/src/core/icons/icon-tech-apachekafka.svg +3 -0
- package/src/core/icons/stackoverflow.svg +3 -0
- package/src/core/icons/youtube.svg +11 -0
- package/src/core/images/ably-logo.png +0 -0
- package/src/core/images/best-support-2023.svg +1 -0
- package/src/core/images/fastest-implementation-2023.svg +1 -0
- package/src/core/images/high-performer-2022.png +0 -0
- package/src/core/images/high-performer-2023.svg +1 -0
- package/src/core/images/highest-user-adoption-2022.png +0 -0
- package/src/core/images/highest-user-adoption-2023.svg +1 -0
- package/src/core/images/users-love-us-2022.png +0 -0
- package/src/core/styles/properties.css +2 -0
- package/src/core/styles/text.css +1 -1
- package/src/core/utils/syntax-highlighter-registry.js +63 -0
- package/src/core/utils/syntax-highlighter.css +69 -0
- package/src/core/utils/syntax-highlighter.js +103 -0
- package/tailwind.config.js +1 -0
- package/core/.DS_Store +0 -0
- package/core/Meganav/component.js.LICENSE.txt +0 -7
- package/core/MeganavContentWhyAbly/component.js +0 -6
- package/core/MeganavContentWhyAbly.jsx +0 -6
- package/core/MeganavSearchAutocomplete/component.js.LICENSE.txt +0 -7
- package/core/Notice/component.js.LICENSE.txt +0 -9
- package/core/fonts/.DS_Store +0 -0
- package/core/images/.DS_Store +0 -0
- package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/.keep +0 -0
- package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/pids/.keep +0 -0
- package/src/.DS_Store +0 -0
- package/src/core/.DS_Store +0 -0
- package/src/core/fonts/.DS_Store +0 -0
- package/src/core/images/.DS_Store +0 -0
- package/src/reset/.DS_Store +0 -0
- /package/src/core/{MeganavContentPlatform → DropdownMenu}/component.js +0 -0
- /package/{preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/log/.keep → src/core/MeganavContentProducts/component.js} +0 -0
|
@@ -7,18 +7,10 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("react"), require("prop-types"), require("redux")) : factory(root[undefined], root[undefined], root[undefined]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this,
|
|
10
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__5225__, __WEBPACK_EXTERNAL_MODULE__6073__, __WEBPACK_EXTERNAL_MODULE__5293__) => {
|
|
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
|
|
|
@@ -27,7 +19,7 @@ return /******/ (() => { // webpackBootstrap
|
|
|
27
19
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
28
20
|
/* harmony export */ });
|
|
29
21
|
/* unused harmony export ConnectStateWrapper */
|
|
30
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
22
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
31
23
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
32
24
|
/* harmony import */ var _remote_data_store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3511);
|
|
33
25
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
@@ -107,9 +99,9 @@ var ConnectStateWrapper = function ConnectStateWrapper(Component, selectors) {
|
|
|
107
99
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
108
100
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
109
101
|
/* harmony export */ });
|
|
110
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
102
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
111
103
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
112
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
104
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6073);
|
|
113
105
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
114
106
|
/* harmony import */ var _Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9008);
|
|
115
107
|
|
|
@@ -131,7 +123,7 @@ var FeaturedLink = function FeaturedLink(_ref) {
|
|
|
131
123
|
style: {
|
|
132
124
|
"--featured-link-icon-size": "var(".concat(textSize.replace("text", "--fs"), ")")
|
|
133
125
|
}
|
|
134
|
-
}, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__
|
|
126
|
+
}, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
|
135
127
|
name: "icon-gui-link-arrow",
|
|
136
128
|
size: "calc(var(--featured-link-icon-size) * 1.25)",
|
|
137
129
|
color: iconColor,
|
|
@@ -157,9 +149,9 @@ FeaturedLink.propTypes = {
|
|
|
157
149
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
158
150
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
159
151
|
/* harmony export */ });
|
|
160
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
152
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
161
153
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
162
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
154
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6073);
|
|
163
155
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
164
156
|
var _excluded = ["name", "size", "color", "additionalCSS"];
|
|
165
157
|
|
|
@@ -210,9 +202,9 @@ Icon.propTypes = {
|
|
|
210
202
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
211
203
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
212
204
|
/* harmony export */ });
|
|
213
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
205
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
214
206
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
215
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
207
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6073);
|
|
216
208
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
217
209
|
/* harmony import */ var _FeaturedLink_component_jsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5751);
|
|
218
210
|
|
|
@@ -241,7 +233,7 @@ var MeganavBlogPostsList = function MeganavBlogPostsList(_ref) {
|
|
|
241
233
|
}, post.title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("p", {
|
|
242
234
|
className: "ui-meganav-media-copy"
|
|
243
235
|
}, post.pubDate)));
|
|
244
|
-
})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_FeaturedLink_component_jsx__WEBPACK_IMPORTED_MODULE_2__
|
|
236
|
+
})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_FeaturedLink_component_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
|
245
237
|
url: absUrl("/blog"),
|
|
246
238
|
textSize: "text-p3"
|
|
247
239
|
}, "More from our Blog")) : null;
|
|
@@ -268,7 +260,7 @@ MeganavBlogPostsList.propTypes = {
|
|
|
268
260
|
/* harmony export */ "kZ": () => (/* binding */ connectState)
|
|
269
261
|
/* harmony export */ });
|
|
270
262
|
/* unused harmony exports attachStoreToWindow, createRemoteDataStore */
|
|
271
|
-
/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
263
|
+
/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5293);
|
|
272
264
|
/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(redux__WEBPACK_IMPORTED_MODULE_0__);
|
|
273
265
|
|
|
274
266
|
var attachStoreToWindow = function attachStoreToWindow(store) {
|
|
@@ -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;
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
if (context.method === "next") {
|
|
582
|
-
// Setting context._sent for legacy support of Babel's
|
|
583
|
-
// function.sent implementation.
|
|
584
|
-
context.sent = context._sent = context.arg;
|
|
585
|
-
|
|
586
|
-
} else if (context.method === "throw") {
|
|
587
|
-
if (state === GenStateSuspendedStart) {
|
|
588
|
-
state = GenStateCompleted;
|
|
589
|
-
throw context.arg;
|
|
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;
|
|
590
449
|
}
|
|
591
|
-
|
|
592
|
-
context.dispatchException(context.arg);
|
|
593
|
-
|
|
594
|
-
} else if (context.method === "return") {
|
|
595
|
-
context.abrupt("return", context.arg);
|
|
596
450
|
}
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
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 };
|
|
506
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
|
821
507
|
}
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
constructor
|
|
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
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
var context = this;
|
|
875
|
-
function handle(loc, caught) {
|
|
876
|
-
record.type = "throw";
|
|
877
|
-
record.arg = exception;
|
|
878
|
-
context.next = loc;
|
|
879
|
-
|
|
880
|
-
if (caught) {
|
|
881
|
-
// If the dispatched exception was caught by a catch block,
|
|
882
|
-
// then let that catch block handle the exception normally.
|
|
883
|
-
context.method = "next";
|
|
884
|
-
context.arg = undefined;
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
return !! caught;
|
|
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;
|
|
888
562
|
}
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
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__9281__;
|
|
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__5044__;
|
|
1081
666
|
|
|
1082
667
|
/***/ })
|
|
1083
668
|
|
|
@@ -1162,17 +747,17 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1162
747
|
});
|
|
1163
748
|
|
|
1164
749
|
// EXTERNAL MODULE: external {"commonjs":"react","commonjs2":"react"}
|
|
1165
|
-
var external_commonjs_react_commonjs2_react_ = __webpack_require__(
|
|
750
|
+
var external_commonjs_react_commonjs2_react_ = __webpack_require__(5225);
|
|
1166
751
|
var external_commonjs_react_commonjs2_react_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_react_commonjs2_react_);
|
|
1167
752
|
// EXTERNAL MODULE: external {"commonjs":"prop-types","commonjs2":"prop-types"}
|
|
1168
|
-
var external_commonjs_prop_types_commonjs2_prop_types_ = __webpack_require__(
|
|
753
|
+
var external_commonjs_prop_types_commonjs2_prop_types_ = __webpack_require__(6073);
|
|
1169
754
|
var external_commonjs_prop_types_commonjs2_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_prop_types_commonjs2_prop_types_);
|
|
1170
755
|
// EXTERNAL MODULE: ./src/core/MeganavBlogPostsList/component.jsx
|
|
1171
756
|
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
|
|
|
@@ -1294,7 +879,7 @@ var Icon_component = __webpack_require__(9008);
|
|
|
1294
879
|
var MeganavContentCompany = function MeganavContentCompany(_ref) {
|
|
1295
880
|
var paths = _ref.paths,
|
|
1296
881
|
absUrl = _ref.absUrl;
|
|
1297
|
-
var BlogPostsList = (0,ConnectStateWrapper_component
|
|
882
|
+
var BlogPostsList = (0,ConnectStateWrapper_component["default"])(component["default"], {
|
|
1298
883
|
recentBlogPosts: selectRecentBlogPosts
|
|
1299
884
|
});
|
|
1300
885
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("div", {
|
|
@@ -1313,7 +898,7 @@ var MeganavContentCompany = function MeganavContentCompany(_ref) {
|
|
|
1313
898
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("li", null, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
|
|
1314
899
|
href: absUrl("/customers"),
|
|
1315
900
|
className: "ui-meganav-media-with-image group"
|
|
1316
|
-
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(Icon_component
|
|
901
|
+
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(Icon_component["default"], {
|
|
1317
902
|
name: "icon-display-customers-col",
|
|
1318
903
|
size: "2.5rem"
|
|
1319
904
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("div", {
|
|
@@ -1325,7 +910,7 @@ var MeganavContentCompany = function MeganavContentCompany(_ref) {
|
|
|
1325
910
|
}, "Ably supports customers across multiple industries.")))), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("li", null, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
|
|
1326
911
|
href: absUrl("/case-studies"),
|
|
1327
912
|
className: "ui-meganav-media-with-image group"
|
|
1328
|
-
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(Icon_component
|
|
913
|
+
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(Icon_component["default"], {
|
|
1329
914
|
name: "icon-display-case-studies-col",
|
|
1330
915
|
size: "2.5rem"
|
|
1331
916
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("div", {
|
|
@@ -1337,7 +922,7 @@ var MeganavContentCompany = function MeganavContentCompany(_ref) {
|
|
|
1337
922
|
}, "Discover how customers are benefiting from Ably.")))), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("li", null, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
|
|
1338
923
|
href: absUrl("/compare"),
|
|
1339
924
|
className: "ui-meganav-media-with-image group"
|
|
1340
|
-
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(Icon_component
|
|
925
|
+
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(Icon_component["default"], {
|
|
1341
926
|
name: "icon-display-compare-tech-col",
|
|
1342
927
|
size: "2.5rem"
|
|
1343
928
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("div", {
|
|
@@ -1366,7 +951,7 @@ var MeganavContentCompany = function MeganavContentCompany(_ref) {
|
|
|
1366
951
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("li", null, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
|
|
1367
952
|
href: absUrl("/resources"),
|
|
1368
953
|
className: "ui-meganav-media-with-image group"
|
|
1369
|
-
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(Icon_component
|
|
954
|
+
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(Icon_component["default"], {
|
|
1370
955
|
name: "icon-display-resources-col",
|
|
1371
956
|
size: "2.5rem"
|
|
1372
957
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("div", {
|
|
@@ -1378,7 +963,7 @@ var MeganavContentCompany = function MeganavContentCompany(_ref) {
|
|
|
1378
963
|
}, "Learn more about realtime with our handy resources.")))), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("li", null, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
|
|
1379
964
|
href: absUrl("/about"),
|
|
1380
965
|
className: "ui-meganav-media-with-image group"
|
|
1381
|
-
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(Icon_component
|
|
966
|
+
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(Icon_component["default"], {
|
|
1382
967
|
name: "icon-display-about-ably-col",
|
|
1383
968
|
size: "2.5rem"
|
|
1384
969
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("div", {
|
|
@@ -1390,7 +975,7 @@ var MeganavContentCompany = function MeganavContentCompany(_ref) {
|
|
|
1390
975
|
}, "Find out more about Ably\u2019s mission.")))), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("li", null, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
|
|
1391
976
|
href: absUrl("/careers"),
|
|
1392
977
|
className: "ui-meganav-media-with-image group"
|
|
1393
|
-
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(Icon_component
|
|
978
|
+
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(Icon_component["default"], {
|
|
1394
979
|
name: "icon-display-careers-col",
|
|
1395
980
|
size: "2.5rem"
|
|
1396
981
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("div", {
|
|
@@ -1399,7 +984,19 @@ var MeganavContentCompany = function MeganavContentCompany(_ref) {
|
|
|
1399
984
|
className: "ui-meganav-media-heading"
|
|
1400
985
|
}, "Careers"), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("p", {
|
|
1401
986
|
className: "ui-meganav-media-copy"
|
|
1402
|
-
}, "Discover our open roles and core Ably values.")))))
|
|
987
|
+
}, "Discover our open roles and core Ably values.")))), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("li", null, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
|
|
988
|
+
href: absUrl("/events"),
|
|
989
|
+
className: "ui-meganav-media-with-image group"
|
|
990
|
+
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(Icon_component["default"], {
|
|
991
|
+
name: "icon-display-events-col",
|
|
992
|
+
size: "2.5rem"
|
|
993
|
+
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("div", {
|
|
994
|
+
className: "flex flex-col justify-center"
|
|
995
|
+
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("p", {
|
|
996
|
+
className: "ui-meganav-media-heading"
|
|
997
|
+
}, "Events"), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("p", {
|
|
998
|
+
className: "ui-meganav-media-copy"
|
|
999
|
+
}, "Join Ably at upcoming events.")))))), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(BlogPostsList, {
|
|
1403
1000
|
absUrl: absUrl
|
|
1404
1001
|
})), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("div", {
|
|
1405
1002
|
className: "ui-meganav-content-spacer"
|