@mjhls/mjh-framework 1.0.1069-test → 1.0.1070
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/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +2 -3
- package/dist/cjs/AD300x250x600.js +2 -3
- package/dist/cjs/AD728x90.js +2 -3
- package/dist/cjs/ADFloatingFooter.js +2 -3
- package/dist/cjs/ADGutter.js +2 -3
- package/dist/cjs/{ADInfeed-93cad44d.js → ADInfeed-98ee4120.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +2 -3
- package/dist/cjs/ADSponsoredResources.js +2 -3
- package/dist/cjs/ADWebcast.js +2 -3
- package/dist/cjs/ADWelcome.js +2 -3
- package/dist/cjs/{ADlgInfeed-80062861.js → ADlgInfeed-55df7d69.js} +1 -1
- package/dist/cjs/AdSlot.js +2 -3
- package/dist/cjs/AdSlotsProvider.js +2 -3
- package/dist/cjs/AlgoliaSearch.js +1037 -522
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +3 -4
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -5
- package/dist/cjs/ArticleSeriesListing.js +2 -3
- package/dist/cjs/AuthWrapper.js +89 -19
- package/dist/cjs/CEDeckSupabase.js +2 -3
- package/dist/cjs/CMEDeck.js +2 -3
- package/dist/cjs/Column3.js +2 -3
- package/dist/cjs/ContentCardPaginated.js +4 -5
- package/dist/cjs/DeckContent.js +3 -4
- package/dist/cjs/DeckQueue.js +2 -3
- package/dist/cjs/DeckQueuePaginated.js +3 -4
- package/dist/cjs/{Dfp-c313a700.js → Dfp-67646058.js} +1 -2
- package/dist/cjs/EventsDeck.js +2 -2
- package/dist/cjs/ExternalResources.js +4 -5
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +4 -5
- package/dist/cjs/GridContentPaginated.js +5 -6
- package/dist/cjs/HamMagazine.js +3 -3
- package/dist/cjs/HorizontalArticleListing.js +3 -4
- package/dist/cjs/{ImageSlider-984a697b.js → ImageSlider-d65bc9c8.js} +156 -116
- package/dist/cjs/IssueLanding.js +5 -6
- package/dist/cjs/LeftNav.js +2 -3
- package/dist/cjs/MasterDeck.js +4 -5
- package/dist/cjs/MasterDeckPaginated.js +5 -6
- package/dist/cjs/{MediaSeriesCard-80b98c3d.js → MediaSeriesCard-2e65fe95.js} +1 -1
- package/dist/cjs/MediaSeriesLanding.js +8 -9
- package/dist/cjs/MediaSeriesLandingPaginated.js +9 -10
- package/dist/cjs/NavMagazine.js +2 -2
- package/dist/cjs/NavNative.js +1 -1
- package/dist/cjs/{Pagination-842c556f.js → Pagination-6359861a.js} +1 -1
- package/dist/cjs/PartnerDetailListing.js +6 -8
- package/dist/cjs/PartnerDetailListingPaginated.js +7 -9
- package/dist/cjs/PodcastsLanding.js +6 -7
- package/dist/cjs/PubSection.js +4 -5
- package/dist/cjs/QueueDeckExpanded.js +4 -5
- package/dist/cjs/QueueDeckExpandedPaginated.js +5 -6
- package/dist/cjs/SeriesListingDeck.js +3 -4
- package/dist/cjs/{SeriesSlider-a2621860.js → SeriesSlider-086a8319.js} +1 -1
- package/dist/cjs/{SocialSearchComponent-e9ec9c63.js → SocialSearchComponent-d7e5d3a6.js} +1 -1
- package/dist/cjs/TaxonomyDescription.js +3 -4
- package/dist/cjs/TemplateNormal.js +3 -4
- package/dist/cjs/{Tooltip-4cb8849a.js → Tooltip-02a841b5.js} +192 -99
- package/dist/cjs/Ustream.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +3 -4
- package/dist/cjs/VideoSeriesLandingPage.js +4 -5
- package/dist/cjs/VideoSeriesListing.js +2 -3
- package/dist/cjs/View.js +7 -11
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/getSerializers.js +3 -4
- package/dist/cjs/{index-f015597d.js → index-4e9a219e.js} +2 -2
- package/dist/cjs/{index-d2a6ef75.js → index-7435b964.js} +467 -2
- package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
- package/dist/cjs/{index-50be6759.js → index-9ec837cc.js} +9 -25
- package/dist/cjs/index.js +10 -13
- package/dist/cjs/{main-47be4f9f.js → main-ae8472f3.js} +4 -9
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +2 -3
- package/dist/esm/AD300x250x600.js +2 -3
- package/dist/esm/AD728x90.js +2 -3
- package/dist/esm/ADFloatingFooter.js +2 -3
- package/dist/esm/ADGutter.js +2 -3
- package/dist/esm/{ADInfeed-74cc728c.js → ADInfeed-6d0c0856.js} +1 -1
- package/dist/esm/ADSkyscraper.js +2 -3
- package/dist/esm/ADSponsoredResources.js +2 -3
- package/dist/esm/ADWebcast.js +2 -3
- package/dist/esm/ADWelcome.js +2 -3
- package/dist/esm/{ADlgInfeed-b6217567.js → ADlgInfeed-93bc2250.js} +1 -1
- package/dist/esm/AdSlot.js +2 -3
- package/dist/esm/AdSlotsProvider.js +2 -3
- package/dist/esm/AlgoliaSearch.js +1037 -522
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -4
- package/dist/esm/ArticleSeriesLandingPage.js +4 -5
- package/dist/esm/ArticleSeriesListing.js +2 -3
- package/dist/esm/AuthWrapper.js +86 -16
- package/dist/esm/CEDeckSupabase.js +2 -3
- package/dist/esm/CMEDeck.js +2 -3
- package/dist/esm/Column3.js +2 -3
- package/dist/esm/ContentCardPaginated.js +4 -5
- package/dist/esm/DeckContent.js +3 -4
- package/dist/esm/DeckQueue.js +2 -3
- package/dist/esm/DeckQueuePaginated.js +3 -4
- package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +1 -2
- package/dist/esm/EventsDeck.js +2 -2
- package/dist/esm/ExternalResources.js +4 -5
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +4 -5
- package/dist/esm/GridContentPaginated.js +5 -6
- package/dist/esm/HamMagazine.js +3 -3
- package/dist/esm/HorizontalArticleListing.js +3 -4
- package/dist/esm/{ImageSlider-497e9c88.js → ImageSlider-da225417.js} +157 -117
- package/dist/esm/IssueLanding.js +5 -6
- package/dist/esm/LeftNav.js +2 -3
- package/dist/esm/MasterDeck.js +4 -5
- package/dist/esm/MasterDeckPaginated.js +5 -6
- package/dist/esm/{MediaSeriesCard-ba6a0d3b.js → MediaSeriesCard-27cce8ea.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +8 -9
- package/dist/esm/MediaSeriesLandingPaginated.js +9 -10
- package/dist/esm/NavMagazine.js +2 -2
- package/dist/esm/NavNative.js +1 -1
- package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +6 -8
- package/dist/esm/PartnerDetailListingPaginated.js +7 -9
- package/dist/esm/PodcastsLanding.js +6 -7
- package/dist/esm/PubSection.js +4 -5
- package/dist/esm/QueueDeckExpanded.js +4 -5
- package/dist/esm/QueueDeckExpandedPaginated.js +5 -6
- package/dist/esm/SeriesListingDeck.js +3 -4
- package/dist/esm/{SeriesSlider-07be99e0.js → SeriesSlider-a6b1d617.js} +1 -1
- package/dist/esm/{SocialSearchComponent-020f9e81.js → SocialSearchComponent-6065bff2.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +3 -4
- package/dist/esm/TemplateNormal.js +3 -4
- package/dist/esm/{Tooltip-95655b44.js → Tooltip-7a093cd4.js} +350 -257
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -4
- package/dist/esm/VideoSeriesLandingPage.js +4 -5
- package/dist/esm/VideoSeriesListing.js +2 -3
- package/dist/esm/View.js +7 -11
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/getSerializers.js +3 -4
- package/dist/esm/{index-98ca9cec.js → index-0ce54f8a.js} +10 -25
- package/dist/esm/{index-c10c03a2.js → index-1fd45cc5.js} +2 -2
- package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
- package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
- package/dist/esm/index.js +10 -13
- package/dist/esm/{main-f97773b2.js → main-754d4992.js} +4 -9
- package/package.json +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/typeof-2f07d0e8.js +0 -30
package/dist/esm/Ustream.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-648
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
4
4
|
import { F as FaWindowClose } from './index.esm-1bd8a0a8.js';
|
|
5
|
-
import { m as main_43 } from './main-
|
|
5
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './core.get-iterator-method-ea258bb1.js';
|
|
8
8
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-1fd45cc5.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -18,14 +18,13 @@ import './index-3f5c03b2.js';
|
|
|
18
18
|
import './slicedToArray-6ebcbfea.js';
|
|
19
19
|
import 'react-bootstrap';
|
|
20
20
|
import './urlFor.js';
|
|
21
|
-
import './index-
|
|
22
|
-
import './events-6c3a7a63.js';
|
|
21
|
+
import './index-5cc7b406.js';
|
|
23
22
|
import 'next/router';
|
|
24
23
|
import './index-c7e2ac95.js';
|
|
25
24
|
import './Beam.js';
|
|
26
25
|
import './stringify-2b084bee.js';
|
|
27
26
|
import './Segment.js';
|
|
28
|
-
import './main-
|
|
27
|
+
import './main-754d4992.js';
|
|
29
28
|
import './urlForFile-f6485737.js';
|
|
30
29
|
import './index-755f2cc2.js';
|
|
31
30
|
import 'react-dom';
|
|
@@ -20,8 +20,7 @@ import './toConsumableArray-f7074d7c.js';
|
|
|
20
20
|
import './inherits-d21b4ef9.js';
|
|
21
21
|
import './_object-sap-7cee6f84.js';
|
|
22
22
|
import './define-property-5f1bda73.js';
|
|
23
|
-
import './index-
|
|
24
|
-
import './events-6c3a7a63.js';
|
|
23
|
+
import './index-5cc7b406.js';
|
|
25
24
|
import 'prop-types';
|
|
26
25
|
import 'react-bootstrap/Container';
|
|
27
26
|
import 'react-bootstrap/Row';
|
|
@@ -36,13 +35,13 @@ import './index.es-a6137319.js';
|
|
|
36
35
|
import './visibility-sensor-72fd8f8b.js';
|
|
37
36
|
import 'react-dom';
|
|
38
37
|
import './index-3f5c03b2.js';
|
|
39
|
-
import './ADlgInfeed-
|
|
38
|
+
import './ADlgInfeed-93bc2250.js';
|
|
40
39
|
import './AdSlot.js';
|
|
41
40
|
import './Beam.js';
|
|
42
41
|
import './stringify-2b084bee.js';
|
|
43
42
|
import './Segment.js';
|
|
44
|
-
import './main-
|
|
45
|
-
import './ADInfeed-
|
|
43
|
+
import './main-754d4992.js';
|
|
44
|
+
import './ADInfeed-6d0c0856.js';
|
|
46
45
|
import './index-755f2cc2.js';
|
|
47
46
|
import './urlFor.js';
|
|
48
47
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-1559c147.js';
|
|
2
2
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d21b4ef9.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { l as lib_3 } from './index-
|
|
4
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
5
5
|
import Container from 'react-bootstrap/Container';
|
|
6
6
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
7
7
|
import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
|
|
@@ -18,7 +18,6 @@ import './typeof-657f25da.js';
|
|
|
18
18
|
import './web.dom.iterable-ab4dea5c.js';
|
|
19
19
|
import './_is-array-8d21b9e3.js';
|
|
20
20
|
import './_library-528f1934.js';
|
|
21
|
-
import './events-6c3a7a63.js';
|
|
22
21
|
import 'prop-types';
|
|
23
22
|
import 'react-dom';
|
|
24
23
|
import './iconBase-ccc56b97.js';
|
|
@@ -28,7 +27,7 @@ import './index-755f2cc2.js';
|
|
|
28
27
|
import './smoothscroll-fa4e3f8c.js';
|
|
29
28
|
import './urlFor.js';
|
|
30
29
|
import './index-3f5c03b2.js';
|
|
31
|
-
import './main-
|
|
30
|
+
import './main-754d4992.js';
|
|
32
31
|
import './isSymbol-a7e9aafe.js';
|
|
33
32
|
import './toNumber-5aeba6e7.js';
|
|
34
33
|
|
package/dist/esm/View.js
CHANGED
|
@@ -8,16 +8,16 @@ import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
|
8
8
|
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
|
-
import { m as main_43 } from './main-
|
|
11
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
12
12
|
import 'react-bootstrap/Dropdown';
|
|
13
13
|
import Form from 'react-bootstrap/Form';
|
|
14
14
|
import FormControl from 'react-bootstrap/FormControl';
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-1fd45cc5.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-a6b1d617.js';
|
|
21
21
|
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-5a281334.js';
|
|
22
22
|
import getKeywords from './getKeywords.js';
|
|
23
23
|
import urlFor from './urlFor.js';
|
|
@@ -32,7 +32,7 @@ import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpe
|
|
|
32
32
|
import { PixelTrackingArticle } from './PixelTracking.js';
|
|
33
33
|
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
34
34
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
35
|
-
import { l as lib_3 } from './index-
|
|
35
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
36
36
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
37
37
|
import getQuery from './getQuery.js';
|
|
38
38
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
@@ -73,7 +73,6 @@ import './checkSisterSite-a7218fda.js';
|
|
|
73
73
|
import './debounce-533d9748.js';
|
|
74
74
|
import './isSymbol-a7e9aafe.js';
|
|
75
75
|
import './toNumber-5aeba6e7.js';
|
|
76
|
-
import './events-6c3a7a63.js';
|
|
77
76
|
|
|
78
77
|
var getArticleSummary = function getArticleSummary(article) {
|
|
79
78
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -101,7 +100,7 @@ var getDocumentGroupUrl = function getDocumentGroupUrl(docGroup) {
|
|
|
101
100
|
}
|
|
102
101
|
}
|
|
103
102
|
|
|
104
|
-
if (docGroup.parent.identifier.current.includes('/') && docGroup.parent.identifier.current.split('/')[0] === docGroup.parent.parent.identifier.current) {
|
|
103
|
+
if (docGroup.parent && docGroup.parent.identifier && docGroup.parent.parent && docGroup.parent.parent.identifier && docGroup.parent.identifier.current.includes('/') && docGroup.parent.identifier.current.split('/')[0] === docGroup.parent.parent.identifier.current) {
|
|
105
104
|
return '/' + docGroup.parent.identifier.current + '/' + docGroup.path;
|
|
106
105
|
}
|
|
107
106
|
|
|
@@ -112,8 +111,7 @@ var getDocumentGroupUrl = function getDocumentGroupUrl(docGroup) {
|
|
|
112
111
|
}
|
|
113
112
|
}
|
|
114
113
|
|
|
115
|
-
if (
|
|
116
|
-
if (typeof url != 'undefined') {
|
|
114
|
+
if (typeof url !== 'undefined') {
|
|
117
115
|
url = url + '/' + docGroup.path;
|
|
118
116
|
} else {
|
|
119
117
|
url = '/' + docGroup.path;
|
|
@@ -136,13 +134,11 @@ var getDocumentGroupName = function getDocumentGroupName(docGroup) {
|
|
|
136
134
|
}
|
|
137
135
|
}
|
|
138
136
|
|
|
139
|
-
|
|
140
|
-
if (typeof name != 'undefined') {
|
|
137
|
+
if (typeof name !== 'undefined') {
|
|
141
138
|
name = name + ' | <b>' + docGroup.name + '</b>';
|
|
142
139
|
} else {
|
|
143
140
|
name = '<b>' + docGroup.name + '</b>';
|
|
144
141
|
}
|
|
145
|
-
//}
|
|
146
142
|
|
|
147
143
|
return name && typeof name != 'undefined' ? name : null;
|
|
148
144
|
};
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -4,7 +4,7 @@ import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
|
4
4
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
5
5
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
6
|
import urlFor from './urlFor.js';
|
|
7
|
-
import { m as main_43, a as main_49, b as main_42 } from './main-
|
|
7
|
+
import { m as main_43, a as main_49, b as main_42 } from './main-754d4992.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './web.dom.iterable-ab4dea5c.js';
|
|
10
10
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { g as default } from './index-
|
|
2
|
+
export { g as default } from './index-1fd45cc5.js';
|
|
3
3
|
import './BlockContent-1e73bd2c.js';
|
|
4
4
|
import './entities-6d9154b4.js';
|
|
5
5
|
import './slicedToArray-6ebcbfea.js';
|
|
@@ -10,8 +10,7 @@ import 'react-bootstrap';
|
|
|
10
10
|
import './urlFor.js';
|
|
11
11
|
import './extends-1559c147.js';
|
|
12
12
|
import './index-3f5c03b2.js';
|
|
13
|
-
import './index-
|
|
14
|
-
import './events-6c3a7a63.js';
|
|
13
|
+
import './index-5cc7b406.js';
|
|
15
14
|
import 'prop-types';
|
|
16
15
|
import 'next/router';
|
|
17
16
|
import './index-c7e2ac95.js';
|
|
@@ -22,7 +21,7 @@ import './_library-528f1934.js';
|
|
|
22
21
|
import './_set-species-2cd9340f.js';
|
|
23
22
|
import './_iter-detect-98db3b07.js';
|
|
24
23
|
import './Segment.js';
|
|
25
|
-
import './main-
|
|
24
|
+
import './main-754d4992.js';
|
|
26
25
|
import './urlForFile-f6485737.js';
|
|
27
26
|
import './index-755f2cc2.js';
|
|
28
27
|
import 'react-dom';
|
|
@@ -33,18 +33,9 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
33
33
|
return target;
|
|
34
34
|
}
|
|
35
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
36
|
var classnames = createCommonjsModule(function (module) {
|
|
46
37
|
/*!
|
|
47
|
-
Copyright (c)
|
|
38
|
+
Copyright (c) 2017 Jed Watson.
|
|
48
39
|
Licensed under the MIT License (MIT), see
|
|
49
40
|
http://jedwatson.github.io/classnames
|
|
50
41
|
*/
|
|
@@ -54,7 +45,7 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
54
45
|
|
|
55
46
|
var hasOwn = {}.hasOwnProperty;
|
|
56
47
|
|
|
57
|
-
function classNames() {
|
|
48
|
+
function classNames () {
|
|
58
49
|
var classes = [];
|
|
59
50
|
|
|
60
51
|
for (var i = 0; i < arguments.length; i++) {
|
|
@@ -65,22 +56,16 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
65
56
|
|
|
66
57
|
if (argType === 'string' || argType === 'number') {
|
|
67
58
|
classes.push(arg);
|
|
68
|
-
} else if (Array.isArray(arg)) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
classes.push(inner);
|
|
73
|
-
}
|
|
59
|
+
} else if (Array.isArray(arg) && arg.length) {
|
|
60
|
+
var inner = classNames.apply(null, arg);
|
|
61
|
+
if (inner) {
|
|
62
|
+
classes.push(inner);
|
|
74
63
|
}
|
|
75
64
|
} else if (argType === 'object') {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
classes.push(key);
|
|
80
|
-
}
|
|
65
|
+
for (var key in arg) {
|
|
66
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
67
|
+
classes.push(key);
|
|
81
68
|
}
|
|
82
|
-
} else {
|
|
83
|
-
classes.push(arg.toString());
|
|
84
69
|
}
|
|
85
70
|
}
|
|
86
71
|
}
|
|
@@ -97,4 +82,4 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
97
82
|
}());
|
|
98
83
|
});
|
|
99
84
|
|
|
100
|
-
export { _objectWithoutPropertiesLoose as _,
|
|
85
|
+
export { _objectWithoutPropertiesLoose as _, _extends as a, classnames as c };
|
|
@@ -2,14 +2,14 @@ import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallba
|
|
|
2
2
|
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
|
|
4
4
|
import urlFor from './urlFor.js';
|
|
5
|
-
import { l as lib_3 } from './index-
|
|
5
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
6
6
|
import Router, { useRouter } from 'next/router';
|
|
7
7
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
10
10
|
import './Beam.js';
|
|
11
11
|
import Segment from './Segment.js';
|
|
12
|
-
import { f as main_18, b as main_42, m as main_43 } from './main-
|
|
12
|
+
import { f as main_18, b as main_42, m as main_43 } from './main-754d4992.js';
|
|
13
13
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
14
14
|
import { _ as _extends, b as _extends$1 } from './extends-1559c147.js';
|
|
15
15
|
import { u as urlForFile } from './urlForFile-f6485737.js';
|