@mjhls/mjh-framework 1.0.1036 → 1.0.1037
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 +1 -1
- package/dist/cjs/AlgoliaSearch.js +113 -49
- package/dist/cjs/AuthWrapper.js +89 -19
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/{ImageSlider-984a697b.js → ImageSlider-d65bc9c8.js} +156 -116
- package/dist/cjs/MediaSeriesLanding.js +2 -2
- package/dist/cjs/MediaSeriesLandingPaginated.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +1 -2
- package/dist/cjs/PartnerDetailListingPaginated.js +1 -2
- package/dist/cjs/{Tooltip-96fe6ef6.js → Tooltip-71754b2a.js} +248 -206
- package/dist/cjs/View.js +7 -0
- package/dist/cjs/index-b95410f0.js +54 -0
- package/dist/cjs/index.js +2 -4
- package/dist/esm/AlgoliaSearch.js +100 -36
- package/dist/esm/AuthWrapper.js +86 -16
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/{ImageSlider-497e9c88.js → ImageSlider-da225417.js} +157 -117
- package/dist/esm/MediaSeriesLanding.js +2 -2
- package/dist/esm/MediaSeriesLandingPaginated.js +2 -2
- package/dist/esm/PartnerDetailListing.js +1 -2
- package/dist/esm/PartnerDetailListingPaginated.js +1 -2
- package/dist/esm/{Tooltip-bc98d17e.js → Tooltip-8307d9d1.js} +43 -1
- package/dist/esm/View.js +7 -0
- package/dist/esm/index-174b5baf.js +52 -0
- package/dist/esm/index.js +2 -4
- package/package.json +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/index-50be6759.js +0 -105
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/typeof-2f07d0e8.js +0 -30
|
@@ -3,8 +3,8 @@ import { _ as _typeof } from './typeof-657f25da.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-1559c147.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { D as DropdownButton, a as Dropdown } from './Tooltip-
|
|
7
|
-
import './index-
|
|
6
|
+
import { D as DropdownButton, a as Dropdown } from './Tooltip-8307d9d1.js';
|
|
7
|
+
import './index-174b5baf.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import MasterDeck from './MasterDeck.js';
|
|
@@ -3,8 +3,8 @@ import { _ as _typeof } from './typeof-657f25da.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-1559c147.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { D as DropdownButton, a as Dropdown } from './Tooltip-
|
|
7
|
-
import './index-
|
|
6
|
+
import { D as DropdownButton, a as Dropdown } from './Tooltip-8307d9d1.js';
|
|
7
|
+
import './index-174b5baf.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
@@ -3,8 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-1559c147.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
|
-
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-
|
|
7
|
-
import './defineProperty-23a8f8cd.js';
|
|
6
|
+
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-da225417.js';
|
|
8
7
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
9
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
9
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
@@ -3,8 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-1559c147.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
|
-
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-
|
|
7
|
-
import './defineProperty-23a8f8cd.js';
|
|
6
|
+
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-da225417.js';
|
|
8
7
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
9
8
|
import './moment-bc12cb97.js';
|
|
10
9
|
import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
|
|
@@ -1,9 +1,42 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as classnames } from './index-174b5baf.js';
|
|
2
2
|
import React__default, { useCallback, useRef, useState, useContext, useMemo, useEffect, useImperativeHandle, useReducer, forwardRef, cloneElement } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import ReactDOM from 'react-dom';
|
|
5
5
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
6
6
|
|
|
7
|
+
function _extends() {
|
|
8
|
+
_extends = Object.assign || function (target) {
|
|
9
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
10
|
+
var source = arguments[i];
|
|
11
|
+
|
|
12
|
+
for (var key in source) {
|
|
13
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
14
|
+
target[key] = source[key];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
return target;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
return _extends.apply(this, arguments);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
26
|
+
if (source == null) return {};
|
|
27
|
+
var target = {};
|
|
28
|
+
var sourceKeys = Object.keys(source);
|
|
29
|
+
var key, i;
|
|
30
|
+
|
|
31
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
32
|
+
key = sourceKeys[i];
|
|
33
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
34
|
+
target[key] = source[key];
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
return target;
|
|
38
|
+
}
|
|
39
|
+
|
|
7
40
|
/**
|
|
8
41
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
9
42
|
*
|
|
@@ -109,6 +142,15 @@ function useUncontrolled(props, config) {
|
|
|
109
142
|
}, props);
|
|
110
143
|
}
|
|
111
144
|
|
|
145
|
+
function _setPrototypeOf(o, p) {
|
|
146
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
147
|
+
o.__proto__ = p;
|
|
148
|
+
return o;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
return _setPrototypeOf(o, p);
|
|
152
|
+
}
|
|
153
|
+
|
|
112
154
|
function _inheritsLoose(subClass, superClass) {
|
|
113
155
|
subClass.prototype = Object.create(superClass.prototype);
|
|
114
156
|
subClass.prototype.constructor = subClass;
|
package/dist/esm/View.js
CHANGED
|
@@ -1719,10 +1719,17 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1719
1719
|
null,
|
|
1720
1720
|
article.title && React__default.createElement('meta', { name: 'citation_title', content: article.title }),
|
|
1721
1721
|
published && React__default.createElement('meta', { name: 'citation_date', content: moment(published).format('LL') }),
|
|
1722
|
+
issue.publication && issue.publication.name && React__default.createElement('meta', { name: 'citation_journal_title', content: issue.publication.name }),
|
|
1722
1723
|
issue.year && React__default.createElement('meta', { name: 'citation_year', content: issue.year }),
|
|
1724
|
+
issue.volume && React__default.createElement('meta', { name: 'citation_volume', content: issue.volume }),
|
|
1725
|
+
issue.issueNumber && React__default.createElement('meta', { name: 'citation_issue', content: issue.issueNumber }),
|
|
1726
|
+
article.pageNumber && React__default.createElement('meta', { name: 'citation_firstpage', content: article.pageNumber }),
|
|
1727
|
+
article.pageNumber && React__default.createElement('meta', { name: 'citation_lastpage', content: article.pageNumber }),
|
|
1728
|
+
issue.name && React__default.createElement('meta', { name: 'citation_series_title', content: issue.name }),
|
|
1723
1729
|
issue.isbn_issn && React__default.createElement('meta', { name: 'citation_isbn', content: issue.isbn_issn }),
|
|
1724
1730
|
article.abstract && React__default.createElement('meta', { name: 'citation_abstract', content: getAbstract() }),
|
|
1725
1731
|
React__default.createElement('meta', { name: 'citation_author', content: getAuthorList() }),
|
|
1732
|
+
React__default.createElement('meta', { name: 'citation_publisher', content: 'MJH Life Sciences' }),
|
|
1726
1733
|
issue.pdf && React__default.createElement('meta', { name: 'citation_pdf_url', content: urlForFile({ asset: issue.pdf }, baseUrl) })
|
|
1727
1734
|
),
|
|
1728
1735
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
|
|
3
|
+
var classnames = createCommonjsModule(function (module) {
|
|
4
|
+
/*!
|
|
5
|
+
Copyright (c) 2017 Jed Watson.
|
|
6
|
+
Licensed under the MIT License (MIT), see
|
|
7
|
+
http://jedwatson.github.io/classnames
|
|
8
|
+
*/
|
|
9
|
+
/* global define */
|
|
10
|
+
|
|
11
|
+
(function () {
|
|
12
|
+
|
|
13
|
+
var hasOwn = {}.hasOwnProperty;
|
|
14
|
+
|
|
15
|
+
function classNames () {
|
|
16
|
+
var classes = [];
|
|
17
|
+
|
|
18
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
19
|
+
var arg = arguments[i];
|
|
20
|
+
if (!arg) continue;
|
|
21
|
+
|
|
22
|
+
var argType = typeof arg;
|
|
23
|
+
|
|
24
|
+
if (argType === 'string' || argType === 'number') {
|
|
25
|
+
classes.push(arg);
|
|
26
|
+
} else if (Array.isArray(arg) && arg.length) {
|
|
27
|
+
var inner = classNames.apply(null, arg);
|
|
28
|
+
if (inner) {
|
|
29
|
+
classes.push(inner);
|
|
30
|
+
}
|
|
31
|
+
} else if (argType === 'object') {
|
|
32
|
+
for (var key in arg) {
|
|
33
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
34
|
+
classes.push(key);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
return classes.join(' ');
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
if (module.exports) {
|
|
44
|
+
classNames.default = classNames;
|
|
45
|
+
module.exports = classNames;
|
|
46
|
+
} else {
|
|
47
|
+
window.classNames = classNames;
|
|
48
|
+
}
|
|
49
|
+
}());
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
export { classnames as c };
|
package/dist/esm/index.js
CHANGED
|
@@ -154,8 +154,7 @@ import './_object-to-array-b61d5965.js';
|
|
|
154
154
|
import 'react-bootstrap/Spinner';
|
|
155
155
|
import 'react-bootstrap/Form';
|
|
156
156
|
import './js.cookie-6874175c.js';
|
|
157
|
-
import './
|
|
158
|
-
import './index-98ca9cec.js';
|
|
157
|
+
import './index-174b5baf.js';
|
|
159
158
|
import './ConferenceBanner-8792ebd2.js';
|
|
160
159
|
import 'next/head';
|
|
161
160
|
import '@mjhls/mjh-framework/dist/cjs/urlFor';
|
|
@@ -197,8 +196,7 @@ import './SeriesSlider-a6b1d617.js';
|
|
|
197
196
|
import './style-inject.es-1f59c1d0.js';
|
|
198
197
|
import 'disqus-react';
|
|
199
198
|
import 'react-twitter-embed';
|
|
200
|
-
import './ImageSlider-
|
|
201
|
-
import './defineProperty-23a8f8cd.js';
|
|
199
|
+
import './ImageSlider-da225417.js';
|
|
202
200
|
import './VideoSeriesCard.js';
|
|
203
201
|
|
|
204
202
|
//Feature query to be used
|
package/package.json
CHANGED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
|
|
5
|
-
var asyncToGenerator = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
6
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
7
|
-
try {
|
|
8
|
-
var info = gen[key](arg);
|
|
9
|
-
var value = info.value;
|
|
10
|
-
} catch (error) {
|
|
11
|
-
reject(error);
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
if (info.done) {
|
|
16
|
-
resolve(value);
|
|
17
|
-
} else {
|
|
18
|
-
Promise.resolve(value).then(_next, _throw);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function _asyncToGenerator(fn) {
|
|
23
|
-
return function () {
|
|
24
|
-
var self = this,
|
|
25
|
-
args = arguments;
|
|
26
|
-
return new Promise(function (resolve, reject) {
|
|
27
|
-
var gen = fn.apply(self, args);
|
|
28
|
-
|
|
29
|
-
function _next(value) {
|
|
30
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
function _throw(err) {
|
|
34
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
_next(undefined);
|
|
38
|
-
});
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
module.exports = _asyncToGenerator;
|
|
43
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
var _asyncToGenerator = _commonjsHelpers.unwrapExports(asyncToGenerator);
|
|
47
|
-
|
|
48
|
-
var defineProperty = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
49
|
-
function _defineProperty(obj, key, value) {
|
|
50
|
-
if (key in obj) {
|
|
51
|
-
Object.defineProperty(obj, key, {
|
|
52
|
-
value: value,
|
|
53
|
-
enumerable: true,
|
|
54
|
-
configurable: true,
|
|
55
|
-
writable: true
|
|
56
|
-
});
|
|
57
|
-
} else {
|
|
58
|
-
obj[key] = value;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return obj;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
module.exports = _defineProperty;
|
|
65
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
var _defineProperty = _commonjsHelpers.unwrapExports(defineProperty);
|
|
69
|
-
|
|
70
|
-
exports._asyncToGenerator = _asyncToGenerator;
|
|
71
|
-
exports._defineProperty = _defineProperty;
|
|
72
|
-
exports.asyncToGenerator = asyncToGenerator;
|
|
73
|
-
exports.defineProperty = defineProperty;
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
|
|
5
|
-
function _extends() {
|
|
6
|
-
_extends = Object.assign || function (target) {
|
|
7
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
8
|
-
var source = arguments[i];
|
|
9
|
-
|
|
10
|
-
for (var key in source) {
|
|
11
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
12
|
-
target[key] = source[key];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
return target;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
return _extends.apply(this, arguments);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
24
|
-
if (source == null) return {};
|
|
25
|
-
var target = {};
|
|
26
|
-
var sourceKeys = Object.keys(source);
|
|
27
|
-
var key, i;
|
|
28
|
-
|
|
29
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
30
|
-
key = sourceKeys[i];
|
|
31
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
32
|
-
target[key] = source[key];
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
return target;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
function _setPrototypeOf(o, p) {
|
|
39
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
40
|
-
o.__proto__ = p;
|
|
41
|
-
return o;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
return _setPrototypeOf(o, p);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
var classnames = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
48
|
-
/*!
|
|
49
|
-
Copyright (c) 2018 Jed Watson.
|
|
50
|
-
Licensed under the MIT License (MIT), see
|
|
51
|
-
http://jedwatson.github.io/classnames
|
|
52
|
-
*/
|
|
53
|
-
/* global define */
|
|
54
|
-
|
|
55
|
-
(function () {
|
|
56
|
-
|
|
57
|
-
var hasOwn = {}.hasOwnProperty;
|
|
58
|
-
|
|
59
|
-
function classNames() {
|
|
60
|
-
var classes = [];
|
|
61
|
-
|
|
62
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
63
|
-
var arg = arguments[i];
|
|
64
|
-
if (!arg) continue;
|
|
65
|
-
|
|
66
|
-
var argType = typeof arg;
|
|
67
|
-
|
|
68
|
-
if (argType === 'string' || argType === 'number') {
|
|
69
|
-
classes.push(arg);
|
|
70
|
-
} else if (Array.isArray(arg)) {
|
|
71
|
-
if (arg.length) {
|
|
72
|
-
var inner = classNames.apply(null, arg);
|
|
73
|
-
if (inner) {
|
|
74
|
-
classes.push(inner);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
} else if (argType === 'object') {
|
|
78
|
-
if (arg.toString === Object.prototype.toString) {
|
|
79
|
-
for (var key in arg) {
|
|
80
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
81
|
-
classes.push(key);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
} else {
|
|
85
|
-
classes.push(arg.toString());
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
return classes.join(' ');
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
if (module.exports) {
|
|
94
|
-
classNames.default = classNames;
|
|
95
|
-
module.exports = classNames;
|
|
96
|
-
} else {
|
|
97
|
-
window.classNames = classNames;
|
|
98
|
-
}
|
|
99
|
-
}());
|
|
100
|
-
});
|
|
101
|
-
|
|
102
|
-
exports._extends = _extends;
|
|
103
|
-
exports._objectWithoutPropertiesLoose = _objectWithoutPropertiesLoose;
|
|
104
|
-
exports._setPrototypeOf = _setPrototypeOf;
|
|
105
|
-
exports.classnames = classnames;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
|
|
5
|
-
var _typeof_1 = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
6
|
-
function _typeof(obj) {
|
|
7
|
-
"@babel/helpers - typeof";
|
|
8
|
-
|
|
9
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
10
|
-
module.exports = _typeof = function _typeof(obj) {
|
|
11
|
-
return typeof obj;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
15
|
-
} else {
|
|
16
|
-
module.exports = _typeof = function _typeof(obj) {
|
|
17
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return _typeof(obj);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
module.exports = _typeof;
|
|
27
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
var _typeof = _commonjsHelpers.unwrapExports(_typeof_1);
|
|
31
|
-
|
|
32
|
-
exports._typeof = _typeof;
|
|
33
|
-
exports._typeof_1 = _typeof_1;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
|
|
3
|
-
var asyncToGenerator = createCommonjsModule(function (module) {
|
|
4
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
5
|
-
try {
|
|
6
|
-
var info = gen[key](arg);
|
|
7
|
-
var value = info.value;
|
|
8
|
-
} catch (error) {
|
|
9
|
-
reject(error);
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
if (info.done) {
|
|
14
|
-
resolve(value);
|
|
15
|
-
} else {
|
|
16
|
-
Promise.resolve(value).then(_next, _throw);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function _asyncToGenerator(fn) {
|
|
21
|
-
return function () {
|
|
22
|
-
var self = this,
|
|
23
|
-
args = arguments;
|
|
24
|
-
return new Promise(function (resolve, reject) {
|
|
25
|
-
var gen = fn.apply(self, args);
|
|
26
|
-
|
|
27
|
-
function _next(value) {
|
|
28
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function _throw(err) {
|
|
32
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
_next(undefined);
|
|
36
|
-
});
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
module.exports = _asyncToGenerator;
|
|
41
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
45
|
-
|
|
46
|
-
var defineProperty = createCommonjsModule(function (module) {
|
|
47
|
-
function _defineProperty(obj, key, value) {
|
|
48
|
-
if (key in obj) {
|
|
49
|
-
Object.defineProperty(obj, key, {
|
|
50
|
-
value: value,
|
|
51
|
-
enumerable: true,
|
|
52
|
-
configurable: true,
|
|
53
|
-
writable: true
|
|
54
|
-
});
|
|
55
|
-
} else {
|
|
56
|
-
obj[key] = value;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
return obj;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
module.exports = _defineProperty;
|
|
63
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
var _defineProperty = unwrapExports(defineProperty);
|
|
67
|
-
|
|
68
|
-
export { _asyncToGenerator as _, _defineProperty as a, asyncToGenerator as b, defineProperty as d };
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
|
|
3
|
-
function _extends() {
|
|
4
|
-
_extends = Object.assign || function (target) {
|
|
5
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
6
|
-
var source = arguments[i];
|
|
7
|
-
|
|
8
|
-
for (var key in source) {
|
|
9
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
10
|
-
target[key] = source[key];
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
return target;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
return _extends.apply(this, arguments);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
22
|
-
if (source == null) return {};
|
|
23
|
-
var target = {};
|
|
24
|
-
var sourceKeys = Object.keys(source);
|
|
25
|
-
var key, i;
|
|
26
|
-
|
|
27
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
28
|
-
key = sourceKeys[i];
|
|
29
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
30
|
-
target[key] = source[key];
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
return target;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
function _setPrototypeOf(o, p) {
|
|
37
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
38
|
-
o.__proto__ = p;
|
|
39
|
-
return o;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
return _setPrototypeOf(o, p);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
var classnames = createCommonjsModule(function (module) {
|
|
46
|
-
/*!
|
|
47
|
-
Copyright (c) 2018 Jed Watson.
|
|
48
|
-
Licensed under the MIT License (MIT), see
|
|
49
|
-
http://jedwatson.github.io/classnames
|
|
50
|
-
*/
|
|
51
|
-
/* global define */
|
|
52
|
-
|
|
53
|
-
(function () {
|
|
54
|
-
|
|
55
|
-
var hasOwn = {}.hasOwnProperty;
|
|
56
|
-
|
|
57
|
-
function classNames() {
|
|
58
|
-
var classes = [];
|
|
59
|
-
|
|
60
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
61
|
-
var arg = arguments[i];
|
|
62
|
-
if (!arg) continue;
|
|
63
|
-
|
|
64
|
-
var argType = typeof arg;
|
|
65
|
-
|
|
66
|
-
if (argType === 'string' || argType === 'number') {
|
|
67
|
-
classes.push(arg);
|
|
68
|
-
} else if (Array.isArray(arg)) {
|
|
69
|
-
if (arg.length) {
|
|
70
|
-
var inner = classNames.apply(null, arg);
|
|
71
|
-
if (inner) {
|
|
72
|
-
classes.push(inner);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
} else if (argType === 'object') {
|
|
76
|
-
if (arg.toString === Object.prototype.toString) {
|
|
77
|
-
for (var key in arg) {
|
|
78
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
79
|
-
classes.push(key);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
} else {
|
|
83
|
-
classes.push(arg.toString());
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
return classes.join(' ');
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
if (module.exports) {
|
|
92
|
-
classNames.default = classNames;
|
|
93
|
-
module.exports = classNames;
|
|
94
|
-
} else {
|
|
95
|
-
window.classNames = classNames;
|
|
96
|
-
}
|
|
97
|
-
}());
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
export { _objectWithoutPropertiesLoose as _, _setPrototypeOf as a, _extends as b, classnames as c };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
|
|
3
|
-
var _typeof_1 = createCommonjsModule(function (module) {
|
|
4
|
-
function _typeof(obj) {
|
|
5
|
-
"@babel/helpers - typeof";
|
|
6
|
-
|
|
7
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
8
|
-
module.exports = _typeof = function _typeof(obj) {
|
|
9
|
-
return typeof obj;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
13
|
-
} else {
|
|
14
|
-
module.exports = _typeof = function _typeof(obj) {
|
|
15
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
return _typeof(obj);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
module.exports = _typeof;
|
|
25
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
var _typeof = unwrapExports(_typeof_1);
|
|
29
|
-
|
|
30
|
-
export { _typeof as _, _typeof_1 as a };
|