@mjhls/mjh-framework 1.0.918-ris-update-v1 → 1.0.919-TEST
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 +168 -168
- package/dist/cjs/AlgoliaSearch.js +18 -142
- package/dist/cjs/ArticleProgramLandingPage.js +4 -2
- package/dist/cjs/Auth.js +17 -20
- package/dist/cjs/AuthWrapper.js +13 -19
- package/dist/cjs/CMEDeck.js +1 -5
- package/dist/cjs/Column1.js +1 -1
- package/dist/cjs/Column2.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +2 -1
- package/dist/cjs/DeckContent.js +8 -8
- package/dist/cjs/DeckQueuePaginated.js +2 -1
- package/dist/cjs/Dfp-9be904d5.js +1 -1
- package/dist/cjs/EventsDeck.js +17 -17
- package/dist/cjs/ExternalResources.js +3 -1
- package/dist/cjs/GridContentPaginated.js +2 -1
- package/dist/cjs/HamMagazine.js +10 -10
- package/dist/cjs/Header.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +4 -2
- package/dist/cjs/IssueLanding.js +33 -31
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +8 -8
- package/dist/cjs/MasterDeckPaginated.js +10 -9
- package/dist/cjs/{MediaSeriesCard-4a864133.js → MediaSeriesCard-31e82b76.js} +44 -66
- package/dist/cjs/MediaSeriesLanding.js +10 -8
- package/dist/cjs/MediaSeriesLandingPaginated.js +11 -8
- package/dist/cjs/NavDvm.js +1 -1
- package/dist/cjs/NavMagazine.js +11 -11
- package/dist/cjs/NavNative.js +10 -10
- package/dist/cjs/Pagination-885dcfbd.js +90 -0
- package/dist/cjs/PartnerDetailListing.js +4 -2
- package/dist/cjs/PartnerDetailListingPaginated.js +5 -2
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpandedPaginated.js +2 -1
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +1 -1
- package/dist/cjs/{SeriesSlider-de93a303.js → SeriesSlider-ba0c5d1a.js} +4 -4
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +4 -2
- package/dist/cjs/VideoProgramLandingPage.js +2 -1
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/View.js +9 -12
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/getSerializers.js +4 -2
- package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-f9f5f7c0.js → index-da44b1e7.js} +345 -22
- package/dist/cjs/index.js +4 -3
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/AccordionPanel.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +20 -144
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +5 -3
- package/dist/esm/ArticleSeriesLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +18 -20
- package/dist/esm/AuthWrapper.js +14 -20
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/CMEDeck.js +2 -6
- package/dist/esm/Column1.js +2 -1
- package/dist/esm/Column2.js +2 -1
- package/dist/esm/Column3.js +2 -1
- package/dist/esm/ConferenceArticleCard.js +16 -16
- package/dist/esm/ContentCardPaginated.js +3 -2
- package/dist/esm/DeckContent.js +9 -9
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +3 -2
- package/dist/esm/Dfp-102f0beb.js +1 -1
- package/dist/esm/EventsDeck.js +18 -18
- package/dist/esm/ExternalResources.js +4 -2
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +1 -1
- package/dist/esm/GridContentPaginated.js +3 -2
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +11 -10
- package/dist/esm/Header.js +2 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +5 -3
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +34 -32
- package/dist/esm/KMTracker.js +16 -16
- package/dist/esm/LeftNav.js +2 -1
- package/dist/esm/MasterDeck.js +9 -9
- package/dist/esm/MasterDeckPaginated.js +11 -10
- package/dist/esm/{MediaSeriesCard-e62d78e7.js → MediaSeriesCard-3d6acf32.js} +44 -66
- package/dist/esm/MediaSeriesLanding.js +11 -9
- package/dist/esm/MediaSeriesLandingPaginated.js +12 -9
- package/dist/esm/NavDvm.js +2 -1
- package/dist/esm/NavMagazine.js +12 -11
- package/dist/esm/NavNative.js +11 -10
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PageFilter.js +1 -1
- package/dist/esm/Pagination-59436882.js +82 -0
- package/dist/esm/PartnerDetailListing.js +5 -3
- package/dist/esm/PartnerDetailListingPaginated.js +6 -3
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +1 -1
- package/dist/esm/PubSection.js +1 -1
- package/dist/esm/PubToc.js +1 -1
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +27 -27
- package/dist/esm/QueueDeckExpanded.js +1 -1
- package/dist/esm/QueueDeckExpandedPaginated.js +3 -2
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +29 -29
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +1 -1
- package/dist/esm/Schema.js +1 -1
- package/dist/esm/Search.js +1 -1
- package/dist/esm/Segment.js +1 -1
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-98ad6d97.js → SeriesSlider-45adb8dc.js} +4 -4
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +3 -3
- package/dist/esm/SocialIcons.js +1 -1
- package/dist/esm/SocialShare.js +1 -1
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +5 -3
- package/dist/esm/TemplateNormal.js +1 -1
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -2
- package/dist/esm/VideoSeriesCard.js +2 -2
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +1 -1
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +9 -13
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/getKeywords.js +1 -1
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSerializers.js +4 -2
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-4d8a8743.js → index-803278c4.js} +346 -25
- package/dist/esm/index.js +4 -3
- package/dist/esm/stringify-2b084bee.js +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/ustream-api-d3714624.js +1 -1
- package/package.json +115 -114
- package/dist/cjs/Pagination-42f92f7c.js +0 -97
- package/dist/esm/Pagination-484b86c5.js +0 -90
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './extends-6d8e3924.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { g as default } from './index-
|
|
3
|
+
export { g as default } from './index-803278c4.js';
|
|
4
4
|
import './BlockContent-1e73bd2c.js';
|
|
5
5
|
import './entities-6d9154b4.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -30,6 +30,9 @@ import 'react-dom';
|
|
|
30
30
|
import './typeof-e9fc0c5d.js';
|
|
31
31
|
import './_is-array-8d21b9e3.js';
|
|
32
32
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
33
|
+
import 'react-bootstrap/Modal';
|
|
34
|
+
import 'react-bootstrap/Button';
|
|
35
|
+
import 'react-bootstrap/Form';
|
|
33
36
|
import './GroupDeck.js';
|
|
34
37
|
import './smoothscroll-fa4e3f8c.js';
|
|
35
38
|
import './moment-bc12cb97.js';
|
|
@@ -39,7 +42,6 @@ import 'react-share';
|
|
|
39
42
|
import './_object-to-array-2300e51b.js';
|
|
40
43
|
import './toConsumableArray-f7074d7c.js';
|
|
41
44
|
import 'react-bootstrap/Pagination';
|
|
42
|
-
import 'react-bootstrap/Button';
|
|
43
45
|
import './AdSlot.js';
|
|
44
46
|
import './debounce-533d9748.js';
|
|
45
47
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -2,18 +2,18 @@ import { _ as _extends } from './extends-6d8e3924.js';
|
|
|
2
2
|
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
3
3
|
|
|
4
4
|
var getContentPlacementUrl = function getContentPlacementUrl(cp) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
var cp_url = '';
|
|
6
|
+
if (cp.ancestor && typeof cp.ancestor == 'string') {
|
|
7
|
+
cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
|
|
8
|
+
}
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
|
|
11
|
+
cp_url += (cp_url === '' ? '' : '/') + cp.parent;
|
|
12
|
+
}
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
return cp_url;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
var getTargeting = function getTargeting(props) {
|
package/dist/esm/getTargeting.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './extends-6d8e3924.js';
|
|
2
2
|
import './toConsumableArray-f7074d7c.js';
|
|
3
|
-
export { g as default } from './getTargeting-
|
|
3
|
+
export { g as default } from './getTargeting-42f9b439.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
5
|
import './core.get-iterator-method-ea258bb1.js';
|
|
6
6
|
import './_object-pie-133f504a.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
|
|
2
2
|
import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
3
3
|
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
|
|
4
|
-
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
|
|
4
|
+
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
|
|
5
5
|
import urlFor from './urlFor.js';
|
|
6
6
|
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
7
7
|
import Router, { useRouter } from 'next/router';
|
|
@@ -18,6 +18,10 @@ import { L as LazyLoad } from './index-755f2cc2.js';
|
|
|
18
18
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-5ef104a7.js';
|
|
19
19
|
import { _ as _typeof$1 } from './typeof-e9fc0c5d.js';
|
|
20
20
|
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
|
|
21
|
+
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
22
|
+
import Modal from 'react-bootstrap/Modal';
|
|
23
|
+
import Button from 'react-bootstrap/Button';
|
|
24
|
+
import Form from 'react-bootstrap/Form';
|
|
21
25
|
import GroupDeck from './GroupDeck.js';
|
|
22
26
|
import { m as moment } from './moment-bc12cb97.js';
|
|
23
27
|
import SocialShare from './SocialShare.js';
|
|
@@ -25,7 +29,6 @@ import { _ as _export, a as _core } from './core.get-iterator-method-ea258bb1.js
|
|
|
25
29
|
import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
|
|
26
30
|
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
27
31
|
import Pagination from 'react-bootstrap/Pagination';
|
|
28
|
-
import Button$1 from 'react-bootstrap/Button';
|
|
29
32
|
import { h as html_decode_1 } from './entities-6d9154b4.js';
|
|
30
33
|
import DFPAdSlot from './AdSlot.js';
|
|
31
34
|
import Row$1 from 'react-bootstrap/Row';
|
|
@@ -2224,7 +2227,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2224
2227
|
var duration = player.duration;
|
|
2225
2228
|
var queue = Math.floor(duration / 10);
|
|
2226
2229
|
var segment = Math.floor(current / queue);
|
|
2227
|
-
//Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'MP4')
|
|
2230
|
+
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'MP4')
|
|
2228
2231
|
Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'MP4');
|
|
2229
2232
|
};
|
|
2230
2233
|
|
|
@@ -2234,7 +2237,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2234
2237
|
var queue = Math.floor(duration / 10);
|
|
2235
2238
|
var segment = Math.floor(current / queue);
|
|
2236
2239
|
if (!queueProgress.includes(segment)) {
|
|
2237
|
-
//Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'MP4')
|
|
2240
|
+
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'MP4')
|
|
2238
2241
|
Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'MP4');
|
|
2239
2242
|
queueProgress.push(segment);
|
|
2240
2243
|
}
|
|
@@ -2247,7 +2250,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2247
2250
|
var duration = player.duration;
|
|
2248
2251
|
var queue = Math.floor(duration / 10);
|
|
2249
2252
|
var segment = Math.floor(current / queue);
|
|
2250
|
-
//Beam.report_beam_video('Play', deviceType, duration, current, segment, 'MP4')
|
|
2253
|
+
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'MP4')
|
|
2251
2254
|
Segment.report_video_event('Video Play', main_18, duration, current, segment, 'MP4');
|
|
2252
2255
|
|
|
2253
2256
|
if (!playReported) {
|
|
@@ -2268,7 +2271,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2268
2271
|
var queue = Math.floor(duration / 10);
|
|
2269
2272
|
var segment = Math.floor(current / queue);
|
|
2270
2273
|
|
|
2271
|
-
//Beam.report_beam_video('End', deviceType, duration, current, segment, 'MP4')
|
|
2274
|
+
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'MP4')
|
|
2272
2275
|
Segment.report_video_event('Video End', main_18, duration, current, segment, 'MP4');
|
|
2273
2276
|
setEndReported(true);
|
|
2274
2277
|
clearInterval(intervalID);
|
|
@@ -2281,7 +2284,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2281
2284
|
var duration = player.duration - current;
|
|
2282
2285
|
var queue = Math.floor(duration / 10);
|
|
2283
2286
|
var segment = Math.floor(current / queue);
|
|
2284
|
-
//Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'MP4')
|
|
2287
|
+
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'MP4')
|
|
2285
2288
|
Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'MP4');
|
|
2286
2289
|
};
|
|
2287
2290
|
|
|
@@ -2312,6 +2315,229 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2312
2315
|
);
|
|
2313
2316
|
};
|
|
2314
2317
|
|
|
2318
|
+
var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
2319
|
+
var question = _ref.question,
|
|
2320
|
+
choices = _ref.choices,
|
|
2321
|
+
handlePollAnswer = _ref.handlePollAnswer;
|
|
2322
|
+
|
|
2323
|
+
var choiceArray = choices.map(function (choice) {
|
|
2324
|
+
return React__default.createElement(Form.Check, {
|
|
2325
|
+
inline: true,
|
|
2326
|
+
label: choice.choiceText,
|
|
2327
|
+
value: choice.choiceText,
|
|
2328
|
+
name: 'radioButton',
|
|
2329
|
+
type: 'radio',
|
|
2330
|
+
className: 'radioButton',
|
|
2331
|
+
onClick: handlePollAnswer
|
|
2332
|
+
});
|
|
2333
|
+
});
|
|
2334
|
+
return React__default.createElement(
|
|
2335
|
+
'div',
|
|
2336
|
+
{
|
|
2337
|
+
key: 'inline-radio',
|
|
2338
|
+
className: 'mb-3' },
|
|
2339
|
+
React__default.createElement(
|
|
2340
|
+
'h2',
|
|
2341
|
+
{
|
|
2342
|
+
className: 'radioLabelText'
|
|
2343
|
+
},
|
|
2344
|
+
question
|
|
2345
|
+
),
|
|
2346
|
+
React__default.createElement(
|
|
2347
|
+
'div',
|
|
2348
|
+
{
|
|
2349
|
+
className: 'multiChoiceDiv'
|
|
2350
|
+
},
|
|
2351
|
+
choiceArray
|
|
2352
|
+
)
|
|
2353
|
+
);
|
|
2354
|
+
};
|
|
2355
|
+
|
|
2356
|
+
var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
2357
|
+
var textInputQuestion = _ref.textInputQuestion,
|
|
2358
|
+
textAnswer = _ref.textAnswer,
|
|
2359
|
+
handleTextAnswer = _ref.handleTextAnswer;
|
|
2360
|
+
|
|
2361
|
+
return React__default.createElement(
|
|
2362
|
+
'div',
|
|
2363
|
+
{
|
|
2364
|
+
className: 'textInputDiv'
|
|
2365
|
+
},
|
|
2366
|
+
React__default.createElement(
|
|
2367
|
+
'h2',
|
|
2368
|
+
{
|
|
2369
|
+
className: 'textInputQuestion'
|
|
2370
|
+
},
|
|
2371
|
+
textInputQuestion
|
|
2372
|
+
),
|
|
2373
|
+
React__default.createElement(Form.Control, {
|
|
2374
|
+
type: 'text',
|
|
2375
|
+
className: 'textInput',
|
|
2376
|
+
value: textAnswer,
|
|
2377
|
+
placeholder: 'Your response',
|
|
2378
|
+
onChange: handleTextAnswer
|
|
2379
|
+
})
|
|
2380
|
+
);
|
|
2381
|
+
};
|
|
2382
|
+
|
|
2383
|
+
var _this = undefined;
|
|
2384
|
+
var fetch = require('node-fetch');
|
|
2385
|
+
|
|
2386
|
+
var PopupPollModal = function PopupPollModal(props) {
|
|
2387
|
+
var pollItems = props.pollItems,
|
|
2388
|
+
pollUrl = props.pollUrl,
|
|
2389
|
+
restartPlayer = props.restartPlayer,
|
|
2390
|
+
multiChoiceRender = props.multiChoiceRender,
|
|
2391
|
+
textInputRender = props.textInputRender;
|
|
2392
|
+
|
|
2393
|
+
var _useState = useState(''),
|
|
2394
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
2395
|
+
pollAnswer = _useState2[0],
|
|
2396
|
+
setPollAnswer = _useState2[1];
|
|
2397
|
+
|
|
2398
|
+
var _useState3 = useState(''),
|
|
2399
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
2400
|
+
textAnswer = _useState4[0],
|
|
2401
|
+
setTextAnswer = _useState4[1];
|
|
2402
|
+
|
|
2403
|
+
useEffect(function () {
|
|
2404
|
+
var modal = document.getElementById('modalDiv');
|
|
2405
|
+
modal.style.visibility = 'visible';
|
|
2406
|
+
}, []);
|
|
2407
|
+
|
|
2408
|
+
var handleTextAnswer = function handleTextAnswer(e) {
|
|
2409
|
+
setTextAnswer(e.target.value);
|
|
2410
|
+
};
|
|
2411
|
+
|
|
2412
|
+
var handlePollAnswer = function handlePollAnswer(e) {
|
|
2413
|
+
setPollAnswer(e.target.value);
|
|
2414
|
+
};
|
|
2415
|
+
|
|
2416
|
+
var handleSubmit = function handleSubmit(e) {
|
|
2417
|
+
var currentDate = new Date(Date.now()).toUTCString();
|
|
2418
|
+
// eslint-disable-next-line no-undef
|
|
2419
|
+
var anonymousID = typeof analytics !== 'undefined' && typeof analytics.user === 'function' && analytics.user() && analytics.user().anonymousId();
|
|
2420
|
+
pollItems.forEach(function (item) {
|
|
2421
|
+
var submitAnswer = void 0;
|
|
2422
|
+
if (item.format === 'multiChoice') submitAnswer = pollAnswer;
|
|
2423
|
+
if (item.format === 'textInput') submitAnswer = textAnswer;
|
|
2424
|
+
var formData = {
|
|
2425
|
+
uuid: anonymousID,
|
|
2426
|
+
url: pollUrl,
|
|
2427
|
+
date: currentDate,
|
|
2428
|
+
question: item.question,
|
|
2429
|
+
answer: submitAnswer
|
|
2430
|
+
};
|
|
2431
|
+
var requestOptions = {
|
|
2432
|
+
method: 'POST',
|
|
2433
|
+
headers: { 'content-type': 'application/json' },
|
|
2434
|
+
body: _JSON$stringify({ data: formData })
|
|
2435
|
+
};
|
|
2436
|
+
var insertData = function () {
|
|
2437
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
|
|
2438
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
2439
|
+
while (1) {
|
|
2440
|
+
switch (_context.prev = _context.next) {
|
|
2441
|
+
case 0:
|
|
2442
|
+
_context.next = 2;
|
|
2443
|
+
return fetch('/api/popup_polls', requestOptions).then(function (res) {
|
|
2444
|
+
return res.json();
|
|
2445
|
+
}).then(function (res) {
|
|
2446
|
+
return console.log(res);
|
|
2447
|
+
});
|
|
2448
|
+
|
|
2449
|
+
case 2:
|
|
2450
|
+
case 'end':
|
|
2451
|
+
return _context.stop();
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2454
|
+
}, _callee, _this);
|
|
2455
|
+
}));
|
|
2456
|
+
|
|
2457
|
+
return function insertData() {
|
|
2458
|
+
return _ref.apply(this, arguments);
|
|
2459
|
+
};
|
|
2460
|
+
}();
|
|
2461
|
+
console.log('formData', formData);
|
|
2462
|
+
insertData();
|
|
2463
|
+
});
|
|
2464
|
+
restartPlayer();
|
|
2465
|
+
e.preventDefault();
|
|
2466
|
+
};
|
|
2467
|
+
|
|
2468
|
+
var pollArray = [];
|
|
2469
|
+
pollItems.forEach(function (item, ind) {
|
|
2470
|
+
if (item.format === 'multiChoice') {
|
|
2471
|
+
pollArray.push(React__default.createElement(PopupMultiChoice, {
|
|
2472
|
+
question: item.question,
|
|
2473
|
+
choices: item.choices,
|
|
2474
|
+
handlePollAnswer: handlePollAnswer,
|
|
2475
|
+
key: ind
|
|
2476
|
+
}));
|
|
2477
|
+
}
|
|
2478
|
+
if (item.format === 'textInput') {
|
|
2479
|
+
pollArray.push(React__default.createElement(PopupPollTextInput, {
|
|
2480
|
+
textInputQuestion: item.question,
|
|
2481
|
+
textanswer: textAnswer,
|
|
2482
|
+
handleTextAnswer: handleTextAnswer,
|
|
2483
|
+
key: ind
|
|
2484
|
+
}));
|
|
2485
|
+
}
|
|
2486
|
+
});
|
|
2487
|
+
|
|
2488
|
+
return React__default.createElement(
|
|
2489
|
+
'div',
|
|
2490
|
+
{
|
|
2491
|
+
className: 'modalDiv',
|
|
2492
|
+
id: 'modalDiv'
|
|
2493
|
+
},
|
|
2494
|
+
React__default.createElement(
|
|
2495
|
+
Modal.Dialog,
|
|
2496
|
+
null,
|
|
2497
|
+
React__default.createElement(
|
|
2498
|
+
Modal.Body,
|
|
2499
|
+
null,
|
|
2500
|
+
React__default.createElement(
|
|
2501
|
+
Form,
|
|
2502
|
+
{
|
|
2503
|
+
onSubmit: handleSubmit,
|
|
2504
|
+
className: 'modalForm'
|
|
2505
|
+
},
|
|
2506
|
+
pollArray,
|
|
2507
|
+
multiChoiceRender && !textInputRender ? React__default.createElement(
|
|
2508
|
+
Button,
|
|
2509
|
+
{
|
|
2510
|
+
className: 'submitButton',
|
|
2511
|
+
type: 'submit',
|
|
2512
|
+
variant: 'success',
|
|
2513
|
+
disabled: !pollAnswer
|
|
2514
|
+
},
|
|
2515
|
+
'Submit'
|
|
2516
|
+
) : textInputRender && !multiChoiceRender ? React__default.createElement(
|
|
2517
|
+
Button,
|
|
2518
|
+
{
|
|
2519
|
+
className: 'submitButton',
|
|
2520
|
+
type: 'submit',
|
|
2521
|
+
variant: 'success',
|
|
2522
|
+
disabled: !textAnswer
|
|
2523
|
+
},
|
|
2524
|
+
'Submit'
|
|
2525
|
+
) : React__default.createElement(
|
|
2526
|
+
Button,
|
|
2527
|
+
{
|
|
2528
|
+
className: 'submitButton',
|
|
2529
|
+
type: 'submit',
|
|
2530
|
+
variant: 'success',
|
|
2531
|
+
disabled: !textAnswer || !pollAnswer
|
|
2532
|
+
},
|
|
2533
|
+
'Submit'
|
|
2534
|
+
)
|
|
2535
|
+
)
|
|
2536
|
+
)
|
|
2537
|
+
)
|
|
2538
|
+
);
|
|
2539
|
+
};
|
|
2540
|
+
|
|
2315
2541
|
var Video = function Video(_ref) {
|
|
2316
2542
|
var node = _ref.node,
|
|
2317
2543
|
accountIDs = _ref.accountIDs,
|
|
@@ -2328,14 +2554,57 @@ var Video = function Video(_ref) {
|
|
|
2328
2554
|
playlistID = node.playlistID,
|
|
2329
2555
|
experienceID = node.experienceID;
|
|
2330
2556
|
|
|
2557
|
+
var polls = void 0;
|
|
2558
|
+
if (node.polls) polls = node.polls;
|
|
2559
|
+
|
|
2331
2560
|
var _useState = useState(false),
|
|
2332
2561
|
_useState2 = _slicedToArray(_useState, 2),
|
|
2333
2562
|
videoLoaded = _useState2[0],
|
|
2334
2563
|
setVideoLoaded = _useState2[1];
|
|
2335
2564
|
|
|
2565
|
+
var _useState3 = useState(false),
|
|
2566
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
2567
|
+
isPollingTime = _useState4[0],
|
|
2568
|
+
setIsPollingTime = _useState4[1];
|
|
2569
|
+
|
|
2570
|
+
var _useState5 = useState([]),
|
|
2571
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
2572
|
+
pollItems = _useState6[0],
|
|
2573
|
+
setPollItems = _useState6[1];
|
|
2574
|
+
|
|
2575
|
+
var _useState7 = useState(''),
|
|
2576
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
2577
|
+
pollUrl = _useState8[0],
|
|
2578
|
+
setPollUrl = _useState8[1];
|
|
2579
|
+
|
|
2580
|
+
var _useState9 = useState(),
|
|
2581
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
2582
|
+
videoPlayer = _useState10[0],
|
|
2583
|
+
setVideoPlayer = _useState10[1];
|
|
2584
|
+
|
|
2585
|
+
var _useState11 = useState(0),
|
|
2586
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
2587
|
+
currentPlayTime = _useState12[0],
|
|
2588
|
+
setCurrentPlayTime = _useState12[1];
|
|
2589
|
+
|
|
2590
|
+
var _useState13 = useState(false),
|
|
2591
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
2592
|
+
multiChoiceRender = _useState14[0],
|
|
2593
|
+
setMultiChoiceRender = _useState14[1];
|
|
2594
|
+
|
|
2595
|
+
var _useState15 = useState(false),
|
|
2596
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
2597
|
+
textInputRender = _useState16[0],
|
|
2598
|
+
setTextInputRender = _useState16[1];
|
|
2599
|
+
|
|
2600
|
+
var restartPlayer = function restartPlayer() {
|
|
2601
|
+
setIsPollingTime(false);
|
|
2602
|
+
videoPlayer.play();
|
|
2603
|
+
};
|
|
2604
|
+
|
|
2336
2605
|
useEffect(function () {
|
|
2337
2606
|
if (!videoLoaded && experienceID) {
|
|
2338
|
-
//To load Experience Player JS
|
|
2607
|
+
// To load Experience Player JS
|
|
2339
2608
|
var experiencePlayerScript = document.createElement('script');
|
|
2340
2609
|
experiencePlayerScript.src = 'https://players.brightcove.net/' + accountIDs.brightcove.accountId + '/experience_' + experienceID + '/live.js';
|
|
2341
2610
|
document.body.appendChild(experiencePlayerScript);
|
|
@@ -2348,8 +2617,9 @@ var Video = function Video(_ref) {
|
|
|
2348
2617
|
};
|
|
2349
2618
|
|
|
2350
2619
|
var onVideoSuccess = function onVideoSuccess(success) {
|
|
2351
|
-
//console.log('success:', success
|
|
2620
|
+
// console.log('success:', success)
|
|
2352
2621
|
var player = success.ref;
|
|
2622
|
+
setVideoPlayer(player);
|
|
2353
2623
|
if (_typeof$1(player.ima3) === 'object' && player.ima3.settings && player.ima3.settings.serverUrl && targeting !== null) {
|
|
2354
2624
|
player.ima3.settings.debug = true;
|
|
2355
2625
|
if (targeting.content_placement && targeting.document_url) {
|
|
@@ -2360,7 +2630,7 @@ var Video = function Video(_ref) {
|
|
|
2360
2630
|
player.on('loadedmetadata', function (evt) {
|
|
2361
2631
|
var _this = this;
|
|
2362
2632
|
|
|
2363
|
-
//console.log('loadedmetadata:', evt)
|
|
2633
|
+
// console.log('loadedmetadata:', evt)
|
|
2364
2634
|
console.log('mediainfo:', player.mediainfo); // get the duration from here
|
|
2365
2635
|
var duration = player.mediainfo.duration;
|
|
2366
2636
|
var current = player.currentTime();
|
|
@@ -2404,17 +2674,50 @@ var Video = function Video(_ref) {
|
|
|
2404
2674
|
autoPlayVideo();
|
|
2405
2675
|
}
|
|
2406
2676
|
|
|
2407
|
-
//Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2677
|
+
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2408
2678
|
Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2409
2679
|
});
|
|
2410
|
-
|
|
2411
|
-
|
|
2680
|
+
var intId = void 0;
|
|
2681
|
+
var convertTime = function convertTime(timeStr) {
|
|
2682
|
+
var minutes = parseInt(timeStr.slice(0, 2));
|
|
2683
|
+
var seconds = parseInt(timeStr.slice(3));
|
|
2684
|
+
return minutes * 60 + seconds;
|
|
2685
|
+
};
|
|
2686
|
+
var modalTimes = [];
|
|
2687
|
+
polls.forEach(function (pollObj) {
|
|
2688
|
+
return modalTimes.push(convertTime(pollObj.timestamp));
|
|
2689
|
+
});
|
|
2690
|
+
console.log('last poll time', modalTimes[modalTimes.length - 1]);
|
|
2412
2691
|
player.on('play', function (evt) {
|
|
2413
2692
|
var duration = player.mediainfo.duration;
|
|
2414
2693
|
var current = player.currentTime();
|
|
2415
2694
|
var queue = Math.floor(duration / 10);
|
|
2416
2695
|
var segment = Math.floor(current / queue);
|
|
2417
|
-
|
|
2696
|
+
if (polls) {
|
|
2697
|
+
var vidPlayer = this;
|
|
2698
|
+
intId = setInterval(function () {
|
|
2699
|
+
var ct = player.currentTime();
|
|
2700
|
+
console.log('ct', ct);
|
|
2701
|
+
setCurrentPlayTime(ct);
|
|
2702
|
+
console.log('currentPlayTime', currentPlayTime);
|
|
2703
|
+
console.log('intervaling');
|
|
2704
|
+
if (intId) console.log('interval ID is ' + intId);
|
|
2705
|
+
console.log('isPollingTime', isPollingTime);
|
|
2706
|
+
modalTimes.forEach(function (modalTime, ind) {
|
|
2707
|
+
if (Math.floor(ct) === modalTime) {
|
|
2708
|
+
setPollItems(polls[ind].pollItems);
|
|
2709
|
+
setPollUrl(targeting.document_url[0]);
|
|
2710
|
+
setIsPollingTime(true);
|
|
2711
|
+
polls[ind].pollItems.forEach(function (item) {
|
|
2712
|
+
if (item.format === 'multiChoice') setMultiChoiceRender(true);
|
|
2713
|
+
if (item.format === 'textInput') setTextInputRender(true);
|
|
2714
|
+
});
|
|
2715
|
+
vidPlayer.pause();
|
|
2716
|
+
}
|
|
2717
|
+
});
|
|
2718
|
+
}, 1000);
|
|
2719
|
+
}
|
|
2720
|
+
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2418
2721
|
Segment.report_video_event('Video Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2419
2722
|
});
|
|
2420
2723
|
|
|
@@ -2424,7 +2727,9 @@ var Video = function Video(_ref) {
|
|
|
2424
2727
|
var current = player.currentTime();
|
|
2425
2728
|
var queue = Math.floor(duration / 10);
|
|
2426
2729
|
var segment = Math.floor(current / queue);
|
|
2427
|
-
|
|
2730
|
+
clearInterval(intId);
|
|
2731
|
+
console.log('clearing interval ' + intId + ' in pause');
|
|
2732
|
+
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2428
2733
|
Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2429
2734
|
});
|
|
2430
2735
|
|
|
@@ -2434,9 +2739,10 @@ var Video = function Video(_ref) {
|
|
|
2434
2739
|
var current = player.currentTime();
|
|
2435
2740
|
var queue = Math.floor(duration / 10);
|
|
2436
2741
|
var segment = Math.floor(current / queue);
|
|
2437
|
-
|
|
2742
|
+
clearInterval(intId);
|
|
2743
|
+
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2438
2744
|
Segment.report_video_event('Video End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2439
|
-
//This is for old series format
|
|
2745
|
+
// This is for old series format
|
|
2440
2746
|
autoplayNextVideo(evt);
|
|
2441
2747
|
if (nextVideo) {
|
|
2442
2748
|
window.location.href = '/view/' + nextVideo;
|
|
@@ -2450,7 +2756,7 @@ var Video = function Video(_ref) {
|
|
|
2450
2756
|
var queue = Math.floor(duration / 10);
|
|
2451
2757
|
var segment = Math.floor(current / queue);
|
|
2452
2758
|
if (!queueProgress.includes(segment)) {
|
|
2453
|
-
//Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2759
|
+
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2454
2760
|
Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2455
2761
|
queueProgress.push(segment);
|
|
2456
2762
|
}
|
|
@@ -2459,19 +2765,19 @@ var Video = function Video(_ref) {
|
|
|
2459
2765
|
// ad impression
|
|
2460
2766
|
player.on('ads-ad-started', function (evt) {
|
|
2461
2767
|
var duration = player.ads.ad.duration;
|
|
2462
|
-
player.ads.ad.id
|
|
2768
|
+
// const id = player.ads.ad.id
|
|
2463
2769
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2464
2770
|
|
|
2465
|
-
//Beam.report_beam_ad('AD Started', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2771
|
+
// Beam.report_beam_ad('AD Started', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2466
2772
|
Segment.report_ad_event('Video Ad Started', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2467
2773
|
});
|
|
2468
2774
|
|
|
2469
2775
|
// ad ended
|
|
2470
2776
|
player.on('ads-ad-ended', function (evt) {
|
|
2471
2777
|
var duration = player.ads.ad.duration;
|
|
2472
|
-
player.ads.ad.id
|
|
2778
|
+
// const id = player.ads.ad.id
|
|
2473
2779
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2474
|
-
//Beam.report_beam_ad('AD Ended', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2780
|
+
// Beam.report_beam_ad('AD Ended', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2475
2781
|
Segment.report_ad_event('Video Ad Ended', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2476
2782
|
});
|
|
2477
2783
|
};
|
|
@@ -2481,6 +2787,20 @@ var Video = function Video(_ref) {
|
|
|
2481
2787
|
return React__default.createElement(
|
|
2482
2788
|
'div',
|
|
2483
2789
|
null,
|
|
2790
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2791
|
+
// eslint-disable-next-line react/jsx-indent-props
|
|
2792
|
+
, { pollItems: pollItems
|
|
2793
|
+
// eslint-disable-next-line react/jsx-indent-props
|
|
2794
|
+
, pollUrl: pollUrl
|
|
2795
|
+
// eslint-disable-next-line react/jsx-indent-props
|
|
2796
|
+
, isPollingTime: isPollingTime
|
|
2797
|
+
// eslint-disable-next-line react/jsx-indent-props
|
|
2798
|
+
, restartPlayer: restartPlayer
|
|
2799
|
+
// eslint-disable-next-line react/jsx-indent-props
|
|
2800
|
+
, textInputRender: textInputRender
|
|
2801
|
+
// eslint-disable-next-line react/jsx-indent-props
|
|
2802
|
+
, multiChoiceRender: multiChoiceRender
|
|
2803
|
+
}) : null,
|
|
2484
2804
|
React__default.createElement(ReactPlayerLoader, {
|
|
2485
2805
|
onSuccess: onVideoSuccess,
|
|
2486
2806
|
onFailure: onVideoFailure,
|
|
@@ -2522,6 +2842,7 @@ var Video = function Video(_ref) {
|
|
|
2522
2842
|
}
|
|
2523
2843
|
return null;
|
|
2524
2844
|
}
|
|
2845
|
+
|
|
2525
2846
|
if (source === 'mp4') {
|
|
2526
2847
|
return React__default.createElement(
|
|
2527
2848
|
'div',
|
|
@@ -7629,7 +7950,7 @@ var Poll$1 = function Poll(_ref) {
|
|
|
7629
7950
|
);
|
|
7630
7951
|
}),
|
|
7631
7952
|
React__default.createElement(
|
|
7632
|
-
Button,
|
|
7953
|
+
Button$1,
|
|
7633
7954
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
7634
7955
|
'Vote'
|
|
7635
7956
|
)
|
|
@@ -7806,7 +8127,7 @@ var Poll = function Poll(_ref) {
|
|
|
7806
8127
|
);
|
|
7807
8128
|
}),
|
|
7808
8129
|
React__default.createElement(
|
|
7809
|
-
Button,
|
|
8130
|
+
Button$1,
|
|
7810
8131
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
7811
8132
|
'Vote'
|
|
7812
8133
|
)
|
|
@@ -8119,7 +8440,7 @@ var Quiz = function Quiz(_ref) {
|
|
|
8119
8440
|
)
|
|
8120
8441
|
),
|
|
8121
8442
|
!showAnswer && React__default.createElement(
|
|
8122
|
-
Button
|
|
8443
|
+
Button,
|
|
8123
8444
|
{ onClick: function onClick() {
|
|
8124
8445
|
return checkAnswers();
|
|
8125
8446
|
}, variant: 'info', block: true },
|
package/dist/esm/index.js
CHANGED
|
@@ -79,7 +79,7 @@ export { default as VerticalHero } from './VerticalHero.js';
|
|
|
79
79
|
export { default as YahooHero } from './YahooHero.js';
|
|
80
80
|
export { default as GridHero } from './GridHero.js';
|
|
81
81
|
export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
|
|
82
|
-
export { g as getSerializers } from './index-
|
|
82
|
+
export { g as getSerializers } from './index-803278c4.js';
|
|
83
83
|
export { default as Beam } from './Beam.js';
|
|
84
84
|
export { default as Segment } from './Segment.js';
|
|
85
85
|
export { default as KMTracker } from './KMTracker.js';
|
|
@@ -94,7 +94,7 @@ export { default as VideoSeriesLandingPage } from './VideoSeriesLandingPage.js';
|
|
|
94
94
|
export { default as ArticleProgramLandingPage } from './ArticleProgramLandingPage.js';
|
|
95
95
|
export { default as ArticleSeriesLandingPage } from './ArticleSeriesLandingPage.js';
|
|
96
96
|
export { default as Schema } from './Schema.js';
|
|
97
|
-
export { g as getTargeting } from './getTargeting-
|
|
97
|
+
export { g as getTargeting } from './getTargeting-42f9b439.js';
|
|
98
98
|
export { default as getKeywords } from './getKeywords.js';
|
|
99
99
|
export { default as getQuery } from './getQuery.js';
|
|
100
100
|
import './toConsumableArray-f7074d7c.js';
|
|
@@ -190,9 +190,10 @@ import 'swr';
|
|
|
190
190
|
import 'passport-local';
|
|
191
191
|
import 'mysql';
|
|
192
192
|
import './md5-4e42248e.js';
|
|
193
|
-
import './SeriesSlider-
|
|
193
|
+
import './SeriesSlider-45adb8dc.js';
|
|
194
194
|
import './style-inject.es-1f59c1d0.js';
|
|
195
195
|
import 'disqus-react';
|
|
196
|
+
import 'file-saver';
|
|
196
197
|
import 'react-twitter-embed';
|
|
197
198
|
import './ImageSlider-f84174cb.js';
|
|
198
199
|
import './defineProperty-23a8f8cd.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u as unwrapExports, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import { a as _core } from './core.get-iterator-method-ea258bb1.js';
|
|
3
3
|
|
|
4
4
|
var $JSON = _core.JSON || (_core.JSON = { stringify: JSON.stringify });
|
package/dist/esm/urlFor.js
CHANGED