@mjhls/mjh-framework 1.0.477 → 1.0.478
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/AD300x250.js +1 -2
- package/dist/cjs/AD300x250x600.js +1 -2
- package/dist/cjs/AD728x90.js +1 -2
- package/dist/cjs/ADFloatingFooter.js +1 -2
- package/dist/cjs/ADFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -2
- package/dist/cjs/ADSponsoredResources.js +1 -2
- package/dist/cjs/ADWebcast.js +1 -2
- package/dist/cjs/ADWelcome.js +1 -2
- package/dist/cjs/AdSlot.js +5 -6
- package/dist/cjs/ArticleQueue.js +1 -2
- package/dist/cjs/Beam.js +4 -334
- package/dist/cjs/Column2.js +9 -0
- package/dist/cjs/Column3.js +1 -2
- package/dist/cjs/DeckContent.js +2 -3
- package/dist/cjs/GridContent.js +3 -4
- package/dist/cjs/HamMagazine.js +12 -6
- package/dist/cjs/IssueLanding.js +3 -4
- package/dist/cjs/LeftNav.js +20 -6
- package/dist/cjs/MasterDeck.js +3 -4
- package/dist/cjs/NavDvm.js +15 -6
- package/dist/cjs/NavMagazine.js +12 -6
- package/dist/cjs/NavNative.js +12 -9
- package/dist/cjs/NavNormal.js +22 -3
- package/dist/cjs/PartnerDetailListing.js +3 -4
- package/dist/cjs/QueueDeckExpanded.js +3 -4
- package/dist/cjs/Segment.js +4 -212
- package/dist/cjs/SideFooter.js +27 -3
- package/dist/cjs/TemplateNormal.js +1 -2
- package/dist/cjs/View.js +1 -2
- package/dist/cjs/beam-b2ff7326.js +732 -0
- package/dist/cjs/getSerializers.js +45 -25
- package/dist/cjs/index.js +5 -6
- package/dist/esm/AD300x250.js +1 -2
- package/dist/esm/AD300x250x600.js +1 -2
- package/dist/esm/AD728x90.js +1 -2
- package/dist/esm/ADFloatingFooter.js +1 -2
- package/dist/esm/ADFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -2
- package/dist/esm/ADSponsoredResources.js +1 -2
- package/dist/esm/ADWebcast.js +1 -2
- package/dist/esm/ADWelcome.js +1 -2
- package/dist/esm/AdSlot.js +3 -4
- package/dist/esm/ArticleQueue.js +1 -2
- package/dist/esm/Beam.js +3 -337
- package/dist/esm/Column2.js +9 -0
- package/dist/esm/Column3.js +1 -2
- package/dist/esm/DeckContent.js +2 -3
- package/dist/esm/GridContent.js +3 -4
- package/dist/esm/HamMagazine.js +12 -6
- package/dist/esm/IssueLanding.js +3 -4
- package/dist/esm/LeftNav.js +21 -7
- package/dist/esm/MasterDeck.js +3 -4
- package/dist/esm/NavDvm.js +15 -6
- package/dist/esm/NavMagazine.js +12 -6
- package/dist/esm/NavNative.js +12 -9
- package/dist/esm/NavNormal.js +23 -4
- package/dist/esm/PartnerDetailListing.js +3 -4
- package/dist/esm/QueueDeckExpanded.js +3 -4
- package/dist/esm/Segment.js +3 -215
- package/dist/esm/SideFooter.js +28 -4
- package/dist/esm/TemplateNormal.js +1 -2
- package/dist/esm/View.js +1 -2
- package/dist/esm/beam-1ffc08d4.js +729 -0
- package/dist/esm/getSerializers.js +28 -8
- package/dist/esm/index.js +3 -4
- package/package.json +1 -1
- /package/dist/cjs/{ADInfeed-8a7f1d50.js → ADInfeed-53eca520.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-659b82b6.js → ADlgInfeed-461fa625.js} +0 -0
- /package/dist/esm/{ADInfeed-dbd65900.js → ADInfeed-84a98951.js} +0 -0
- /package/dist/esm/{ADlgInfeed-a385f968.js → ADlgInfeed-25962fea.js} +0 -0
|
@@ -30,8 +30,7 @@ var slicedToArray = require('./slicedToArray-8063ee51.js');
|
|
|
30
30
|
require('./stringify-7c5aff47.js');
|
|
31
31
|
require('./asyncToGenerator-8e707718.js');
|
|
32
32
|
require('./_set-species-4458e975.js');
|
|
33
|
-
var
|
|
34
|
-
require('./Segment.js');
|
|
33
|
+
var Segment = require('./beam-b2ff7326.js');
|
|
35
34
|
var AdSlot = require('./AdSlot.js');
|
|
36
35
|
var BlockContent = require('./BlockContent-f942392e.js');
|
|
37
36
|
var smoothscroll = require('./smoothscroll-95231a70.js');
|
|
@@ -1926,7 +1925,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1926
1925
|
var duration = player.getDuration();
|
|
1927
1926
|
var queue = Math.floor(duration / 10);
|
|
1928
1927
|
var segment = Math.floor(current / queue);
|
|
1929
|
-
Beam.report_beam_video('Ready', main.main_16, duration, current, segment);
|
|
1928
|
+
Segment.Beam.report_beam_video('Ready', main.main_16, duration, current, segment);
|
|
1929
|
+
Segment.SegmentAPI.report_video_event('Video Ready', main.main_16, duration, current, segment);
|
|
1930
1930
|
};
|
|
1931
1931
|
|
|
1932
1932
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -1936,7 +1936,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1936
1936
|
var segment = Math.floor(current / queue);
|
|
1937
1937
|
|
|
1938
1938
|
if (!queueProgress.includes(segment)) {
|
|
1939
|
-
Beam.report_beam_video('Segment', main.main_16, duration, current, segment);
|
|
1939
|
+
Segment.Beam.report_beam_video('Segment', main.main_16, duration, current, segment);
|
|
1940
|
+
Segment.SegmentAPI.report_video_event('Video Segment', main.main_16, duration, current, segment);
|
|
1940
1941
|
queueProgress.push(segment);
|
|
1941
1942
|
}
|
|
1942
1943
|
};
|
|
@@ -1949,7 +1950,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1949
1950
|
var queue = Math.floor(duration / 10);
|
|
1950
1951
|
var segment = Math.floor(current / queue);
|
|
1951
1952
|
|
|
1952
|
-
Beam.report_beam_video('Play', main.main_16, duration, current, segment);
|
|
1953
|
+
Segment.Beam.report_beam_video('Play', main.main_16, duration, current, segment);
|
|
1954
|
+
Segment.SegmentAPI.report_video_event('Video Play', main.main_16, duration, current, segment);
|
|
1953
1955
|
|
|
1954
1956
|
if (!playReported) {
|
|
1955
1957
|
setPlayReported(true);
|
|
@@ -1968,7 +1970,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1968
1970
|
var queue = Math.floor(duration / 10);
|
|
1969
1971
|
var segment = Math.floor(current / queue);
|
|
1970
1972
|
|
|
1971
|
-
Beam.report_beam_video('End', main.main_16, duration, current, segment);
|
|
1973
|
+
Segment.Beam.report_beam_video('End', main.main_16, duration, current, segment);
|
|
1974
|
+
Segment.SegmentAPI.report_video_event('Video End', main.main_16, duration, current, segment);
|
|
1972
1975
|
setEndReported(true);
|
|
1973
1976
|
clearInterval(intervalID);
|
|
1974
1977
|
}
|
|
@@ -1981,7 +1984,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1981
1984
|
var queue = Math.floor(duration / 10);
|
|
1982
1985
|
var segment = Math.floor(current / queue);
|
|
1983
1986
|
|
|
1984
|
-
Beam.report_beam_video('Pause', main.main_16, duration, current, segment);
|
|
1987
|
+
Segment.Beam.report_beam_video('Pause', main.main_16, duration, current, segment);
|
|
1988
|
+
Segment.SegmentAPI.report_video_event('Video Pause', main.main_16, duration, current, segment);
|
|
1985
1989
|
};
|
|
1986
1990
|
|
|
1987
1991
|
return React__default.createElement(
|
|
@@ -2217,7 +2221,8 @@ var Video = function Video(_ref) {
|
|
|
2217
2221
|
player.pause();
|
|
2218
2222
|
}
|
|
2219
2223
|
|
|
2220
|
-
Beam.report_beam_video('Ready', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2224
|
+
Segment.Beam.report_beam_video('Ready', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2225
|
+
Segment.SegmentAPI.report_video_event('Video Ready', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2221
2226
|
});
|
|
2222
2227
|
|
|
2223
2228
|
// play
|
|
@@ -2226,7 +2231,8 @@ var Video = function Video(_ref) {
|
|
|
2226
2231
|
var current = player.currentTime();
|
|
2227
2232
|
var queue = Math.floor(duration / 10);
|
|
2228
2233
|
var segment = Math.floor(current / queue);
|
|
2229
|
-
Beam.report_beam_video('Play', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2234
|
+
Segment.Beam.report_beam_video('Play', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2235
|
+
Segment.SegmentAPI.report_video_event('Video Play', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2230
2236
|
});
|
|
2231
2237
|
|
|
2232
2238
|
// pause
|
|
@@ -2235,7 +2241,8 @@ var Video = function Video(_ref) {
|
|
|
2235
2241
|
var current = player.currentTime();
|
|
2236
2242
|
var queue = Math.floor(duration / 10);
|
|
2237
2243
|
var segment = Math.floor(current / queue);
|
|
2238
|
-
Beam.report_beam_video('Pause', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2244
|
+
Segment.Beam.report_beam_video('Pause', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2245
|
+
Segment.SegmentAPI.report_video_event('Video Pause', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2239
2246
|
});
|
|
2240
2247
|
|
|
2241
2248
|
// end
|
|
@@ -2244,7 +2251,8 @@ var Video = function Video(_ref) {
|
|
|
2244
2251
|
var current = player.currentTime();
|
|
2245
2252
|
var queue = Math.floor(duration / 10);
|
|
2246
2253
|
var segment = Math.floor(current / queue);
|
|
2247
|
-
Beam.report_beam_video('End', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2254
|
+
Segment.Beam.report_beam_video('End', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2255
|
+
Segment.SegmentAPI.report_video_event('Video End', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2248
2256
|
autoplayNextVideo(evt);
|
|
2249
2257
|
});
|
|
2250
2258
|
|
|
@@ -2255,7 +2263,8 @@ var Video = function Video(_ref) {
|
|
|
2255
2263
|
var queue = Math.floor(duration / 10);
|
|
2256
2264
|
var segment = Math.floor(current / queue);
|
|
2257
2265
|
if (!queueProgress.includes(segment)) {
|
|
2258
|
-
Beam.report_beam_video('Segment', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2266
|
+
Segment.Beam.report_beam_video('Segment', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2267
|
+
Segment.SegmentAPI.report_video_event('Video Segment', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2259
2268
|
queueProgress.push(segment);
|
|
2260
2269
|
}
|
|
2261
2270
|
});
|
|
@@ -2266,7 +2275,8 @@ var Video = function Video(_ref) {
|
|
|
2266
2275
|
var id = player.ads.ad.id;
|
|
2267
2276
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2268
2277
|
|
|
2269
|
-
Beam.report_beam_ad('AD Started', main.main_16, '', '', '', '', '', adType, duration, id);
|
|
2278
|
+
Segment.Beam.report_beam_ad('AD Started', main.main_16, '', '', '', '', '', adType, duration, id);
|
|
2279
|
+
Segment.SegmentAPI.report_ad_event('Video Ad Started', main.main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2270
2280
|
});
|
|
2271
2281
|
|
|
2272
2282
|
// ad ended
|
|
@@ -2274,7 +2284,8 @@ var Video = function Video(_ref) {
|
|
|
2274
2284
|
var duration = player.ads.ad.duration;
|
|
2275
2285
|
var id = player.ads.ad.id;
|
|
2276
2286
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2277
|
-
Beam.report_beam_ad('AD Ended', main.main_16, '', '', '', '', '', adType, duration, id);
|
|
2287
|
+
Segment.Beam.report_beam_ad('AD Ended', main.main_16, '', '', '', '', '', adType, duration, id);
|
|
2288
|
+
Segment.SegmentAPI.report_ad_event('Video Ad Ended', main.main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2278
2289
|
});
|
|
2279
2290
|
};
|
|
2280
2291
|
|
|
@@ -6921,7 +6932,8 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
6921
6932
|
var duration = player.duration;
|
|
6922
6933
|
var queue = Math.floor(duration / 10);
|
|
6923
6934
|
var segment = Math.floor(current / queue);
|
|
6924
|
-
Beam.report_beam_video('Ready', main.main_16, duration, current, segment);
|
|
6935
|
+
Segment.Beam.report_beam_video('Ready', main.main_16, duration, current, segment, 'MP4');
|
|
6936
|
+
Segment.SegmentAPI.report_video_event('Video Ready', main.main_16, duration, current, segment, 'MP4');
|
|
6925
6937
|
};
|
|
6926
6938
|
|
|
6927
6939
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -6930,7 +6942,8 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
6930
6942
|
var queue = Math.floor(duration / 10);
|
|
6931
6943
|
var segment = Math.floor(current / queue);
|
|
6932
6944
|
if (!queueProgress.includes(segment)) {
|
|
6933
|
-
Beam.report_beam_video('Segment', main.main_16, duration, current, segment);
|
|
6945
|
+
Segment.Beam.report_beam_video('Segment', main.main_16, duration, current, segment, 'MP4');
|
|
6946
|
+
Segment.SegmentAPI.report_video_event('Video Segment', main.main_16, duration, current, segment, 'MP4');
|
|
6934
6947
|
queueProgress.push(segment);
|
|
6935
6948
|
}
|
|
6936
6949
|
};
|
|
@@ -6942,7 +6955,8 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
6942
6955
|
var duration = player.duration;
|
|
6943
6956
|
var queue = Math.floor(duration / 10);
|
|
6944
6957
|
var segment = Math.floor(current / queue);
|
|
6945
|
-
Beam.report_beam_video('Play', main.main_16, duration, current, segment);
|
|
6958
|
+
Segment.Beam.report_beam_video('Play', main.main_16, duration, current, segment, 'MP4');
|
|
6959
|
+
Segment.SegmentAPI.report_video_event('Video Play', main.main_16, duration, current, segment, 'MP4');
|
|
6946
6960
|
|
|
6947
6961
|
if (!playReported) {
|
|
6948
6962
|
event.persist();
|
|
@@ -6962,7 +6976,8 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
6962
6976
|
var queue = Math.floor(duration / 10);
|
|
6963
6977
|
var segment = Math.floor(current / queue);
|
|
6964
6978
|
|
|
6965
|
-
Beam.report_beam_video('End', main.main_16, duration, current, segment);
|
|
6979
|
+
Segment.Beam.report_beam_video('End', main.main_16, duration, current, segment, 'MP4');
|
|
6980
|
+
Segment.SegmentAPI.report_video_event('Video End', main.main_16, duration, current, segment, 'MP4');
|
|
6966
6981
|
setEndReported(true);
|
|
6967
6982
|
clearInterval(intervalID);
|
|
6968
6983
|
}
|
|
@@ -6974,7 +6989,8 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
6974
6989
|
var duration = player.duration - current;
|
|
6975
6990
|
var queue = Math.floor(duration / 10);
|
|
6976
6991
|
var segment = Math.floor(current / queue);
|
|
6977
|
-
Beam.report_beam_video('Pause', main.main_16, duration, current, segment);
|
|
6992
|
+
Segment.Beam.report_beam_video('Pause', main.main_16, duration, current, segment, 'MP4');
|
|
6993
|
+
Segment.SegmentAPI.report_video_event('Video Pause', main.main_16, duration, current, segment, 'MP4');
|
|
6978
6994
|
};
|
|
6979
6995
|
|
|
6980
6996
|
return React__default.createElement(
|
|
@@ -7138,8 +7154,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7138
7154
|
var duration = player.getDuration();
|
|
7139
7155
|
var queue = Math.floor(duration / 10);
|
|
7140
7156
|
var segment = Math.floor(current / queue);
|
|
7141
|
-
Beam.report_beam_video('Ready', main.main_16, duration, current, segment);
|
|
7142
|
-
|
|
7157
|
+
Segment.Beam.report_beam_video('Ready', main.main_16, duration, current, segment);
|
|
7158
|
+
Segment.SegmentAPI.report_video_event('Video Ready', main.main_16, duration, current, segment);
|
|
7143
7159
|
//autoplay
|
|
7144
7160
|
|
|
7145
7161
|
//Small pause before starting next video
|
|
@@ -7159,7 +7175,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7159
7175
|
var queue = Math.floor(duration / 10);
|
|
7160
7176
|
var segment = Math.floor(current / queue);
|
|
7161
7177
|
|
|
7162
|
-
Beam.report_beam_video('End', main.main_16, duration, current, segment);
|
|
7178
|
+
Segment.Beam.report_beam_video('End', main.main_16, duration, current, segment);
|
|
7179
|
+
Segment.SegmentAPI.report_video_event('Video End', main.main_16, duration, current, segment);
|
|
7163
7180
|
setEndReported(true);
|
|
7164
7181
|
clearInterval(intervalID);
|
|
7165
7182
|
}
|
|
@@ -7209,7 +7226,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7209
7226
|
var queue = Math.floor(duration / 10);
|
|
7210
7227
|
var segment = Math.floor(current / queue);
|
|
7211
7228
|
if (!queueProgress.includes(segment)) {
|
|
7212
|
-
Beam.report_beam_video('Segment', main.main_16, duration, current, segment);
|
|
7229
|
+
Segment.Beam.report_beam_video('Segment', main.main_16, duration, current, segment);
|
|
7230
|
+
Segment.SegmentAPI.report_video_event('Video Segment', main.main_16, duration, current, segment);
|
|
7213
7231
|
queueProgress.push(segment);
|
|
7214
7232
|
}
|
|
7215
7233
|
};
|
|
@@ -7222,7 +7240,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7222
7240
|
var queue = Math.floor(duration / 10);
|
|
7223
7241
|
var segment = Math.floor(current / queue);
|
|
7224
7242
|
|
|
7225
|
-
Beam.report_beam_video('Play', main.main_16, duration, current, segment);
|
|
7243
|
+
Segment.Beam.report_beam_video('Play', main.main_16, duration, current, segment);
|
|
7244
|
+
Segment.SegmentAPI.report_video_event('Video Play', main.main_16, duration, current, segment);
|
|
7226
7245
|
|
|
7227
7246
|
if (!playReported) {
|
|
7228
7247
|
setPlayReported(true);
|
|
@@ -7240,7 +7259,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7240
7259
|
var queue = Math.floor(duration / 10);
|
|
7241
7260
|
var segment = Math.floor(current / queue);
|
|
7242
7261
|
|
|
7243
|
-
Beam.report_beam_video('Pause', main.main_16, duration, current, segment);
|
|
7262
|
+
Segment.Beam.report_beam_video('Pause', main.main_16, duration, current, segment);
|
|
7263
|
+
Segment.SegmentAPI.report_video_event('Video Pause', main.main_16, duration, current, segment);
|
|
7244
7264
|
};
|
|
7245
7265
|
|
|
7246
7266
|
// Youtube Options
|
package/dist/cjs/index.js
CHANGED
|
@@ -38,13 +38,12 @@ require('./slicedToArray-8063ee51.js');
|
|
|
38
38
|
require('./stringify-7c5aff47.js');
|
|
39
39
|
require('./asyncToGenerator-8e707718.js');
|
|
40
40
|
require('./_set-species-4458e975.js');
|
|
41
|
-
var
|
|
42
|
-
var Segment = require('./Segment.js');
|
|
41
|
+
var Segment = require('./beam-b2ff7326.js');
|
|
43
42
|
var AdSlot = require('./AdSlot.js');
|
|
44
|
-
require('./ADInfeed-
|
|
43
|
+
require('./ADInfeed-53eca520.js');
|
|
45
44
|
var DeckContent = require('./DeckContent.js');
|
|
46
45
|
require('./lodash-fc2922d0.js');
|
|
47
|
-
require('./ADlgInfeed-
|
|
46
|
+
require('./ADlgInfeed-461fa625.js');
|
|
48
47
|
require('./_arrayMap-3b4a0f75.js');
|
|
49
48
|
require('./get-5dfcdc33.js');
|
|
50
49
|
var AD = require('./AD.js');
|
|
@@ -166,8 +165,8 @@ var getQuery = require('./getQuery.js');
|
|
|
166
165
|
|
|
167
166
|
|
|
168
167
|
|
|
169
|
-
exports.Beam = Beam;
|
|
170
|
-
exports.Segment = Segment;
|
|
168
|
+
exports.Beam = Segment.Beam;
|
|
169
|
+
exports.Segment = Segment.SegmentAPI;
|
|
171
170
|
exports.AdSlot = AdSlot;
|
|
172
171
|
exports.DeckContent = DeckContent;
|
|
173
172
|
exports.AD = AD;
|
package/dist/esm/AD300x250.js
CHANGED
|
@@ -14,8 +14,7 @@ import './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './
|
|
18
|
-
import './Segment.js';
|
|
17
|
+
import './beam-1ffc08d4.js';
|
|
19
18
|
import DFPAdSlot from './AdSlot.js';
|
|
20
19
|
|
|
21
20
|
var AD300x250 = function AD300x250(_ref) {
|
|
@@ -14,8 +14,7 @@ import './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './
|
|
18
|
-
import './Segment.js';
|
|
17
|
+
import './beam-1ffc08d4.js';
|
|
19
18
|
import DFPAdSlot from './AdSlot.js';
|
|
20
19
|
|
|
21
20
|
var AD300x250x600 = function AD300x250x600(_ref) {
|
package/dist/esm/AD728x90.js
CHANGED
|
@@ -14,8 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './
|
|
18
|
-
import './Segment.js';
|
|
17
|
+
import './beam-1ffc08d4.js';
|
|
19
18
|
import DFPAdSlot from './AdSlot.js';
|
|
20
19
|
|
|
21
20
|
var AD728x90 = function AD728x90(_ref) {
|
|
@@ -14,8 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import { _ as _JSON$stringify } from './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './
|
|
18
|
-
import './Segment.js';
|
|
17
|
+
import './beam-1ffc08d4.js';
|
|
19
18
|
import DFPAdSlot from './AdSlot.js';
|
|
20
19
|
|
|
21
20
|
var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
package/dist/esm/ADFooter.js
CHANGED
|
@@ -30,7 +30,7 @@ var ADFooter = function ADFooter(_ref) {
|
|
|
30
30
|
),
|
|
31
31
|
React__default.createElement(
|
|
32
32
|
'style',
|
|
33
|
-
{ jsx: true },
|
|
33
|
+
{ jsx: 'true' },
|
|
34
34
|
'\n .ADFooter {\n width: auto;\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n }\n .adBox > div:empty {\n display: none !important;\n }\n .adBox > div:not(:empty){\n display: block !important;\n }\n .closeButton {\n position: absolute;\n top: -10px;\n right: -10px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 17px;\n cursor: pointer;\n }\n '
|
|
35
35
|
)
|
|
36
36
|
);
|
package/dist/esm/ADGutter.js
CHANGED
|
@@ -14,8 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './
|
|
18
|
-
import './Segment.js';
|
|
17
|
+
import './beam-1ffc08d4.js';
|
|
19
18
|
import DFPAdSlot from './AdSlot.js';
|
|
20
19
|
|
|
21
20
|
var ADGutter = function ADGutter(_ref) {
|
|
@@ -14,8 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './
|
|
18
|
-
import './Segment.js';
|
|
17
|
+
import './beam-1ffc08d4.js';
|
|
19
18
|
import DFPAdSlot from './AdSlot.js';
|
|
20
19
|
|
|
21
20
|
var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
package/dist/esm/ADWebcast.js
CHANGED
|
@@ -14,8 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './
|
|
18
|
-
import './Segment.js';
|
|
17
|
+
import './beam-1ffc08d4.js';
|
|
19
18
|
import DFPAdSlot from './AdSlot.js';
|
|
20
19
|
|
|
21
20
|
// Webcast AD : New AD with size [200,100] that is to be renderedin the LeftNav between the spotlight and subnavigation.
|
package/dist/esm/ADWelcome.js
CHANGED
|
@@ -14,8 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './
|
|
18
|
-
import './Segment.js';
|
|
17
|
+
import './beam-1ffc08d4.js';
|
|
19
18
|
import DFPAdSlot from './AdSlot.js';
|
|
20
19
|
|
|
21
20
|
var ADWelcome = function ADWelcome(_ref) {
|
package/dist/esm/AdSlot.js
CHANGED
|
@@ -14,8 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import Beam from './
|
|
18
|
-
import Segment from './Segment.js';
|
|
17
|
+
import { B as Beam, S as SegmentAPI } from './beam-1ffc08d4.js';
|
|
19
18
|
|
|
20
19
|
var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
21
20
|
var adUnit = _ref.adUnit,
|
|
@@ -74,7 +73,7 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
74
73
|
onSlotIsViewable: function onSlotIsViewable(e) {
|
|
75
74
|
setStickyAd(true);
|
|
76
75
|
Beam.report_beam_ad('Impression', main_16, eventData.cID, eventData.lID, eventData.campID, eventData.adSize, eventData.slot_id);
|
|
77
|
-
|
|
76
|
+
SegmentAPI.adViewed(eventData.domain, eventData.advertiserId, eventData.campID, eventData.cID, eventData.lID, eventData.adSize, eventData.isEmpty, eventData.sourceAgnosticCreativeId, eventData.sourceAgnosticLineItemId);
|
|
78
77
|
},
|
|
79
78
|
onSlotRender: function onSlotRender(eventData) {
|
|
80
79
|
if (eventData && eventData.slotId && eventData.slotId === slotId && checkIsAdFound) {
|
|
@@ -135,7 +134,7 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
135
134
|
if (hasFocus == 'yes' && document.hidden) {
|
|
136
135
|
slot_div.setAttribute('hasFocus', 'no');
|
|
137
136
|
Beam.report_beam_ad('Click', main_16, cID, lID, campID, adSize, slotId);
|
|
138
|
-
|
|
137
|
+
SegmentAPI.adClicked(domain, advertiserId, campID, cID, lID, adSize, isEmpty, sourceAgnosticCreativeId, sourceAgnosticLineItemId);
|
|
139
138
|
}
|
|
140
139
|
});
|
|
141
140
|
} else {
|
package/dist/esm/ArticleQueue.js
CHANGED
|
@@ -29,8 +29,7 @@ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-f1e40361
|
|
|
29
29
|
import { _ as _JSON$stringify } from './stringify-e30bc114.js';
|
|
30
30
|
import './asyncToGenerator-0379e924.js';
|
|
31
31
|
import './_set-species-6f64f1c1.js';
|
|
32
|
-
import './
|
|
33
|
-
import './Segment.js';
|
|
32
|
+
import './beam-1ffc08d4.js';
|
|
34
33
|
import DFPAdSlot from './AdSlot.js';
|
|
35
34
|
import './_arrayMap-a8dd2b2c.js';
|
|
36
35
|
import { B as BlockContent } from './BlockContent-a614acdf.js';
|