@mjhls/mjh-framework 1.0.1088 → 1.0.1089-webcastAddition-v1

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.
Files changed (175) hide show
  1. package/dist/cjs/AD300x250.js +1 -1
  2. package/dist/cjs/AD300x250x600.js +1 -1
  3. package/dist/cjs/AD728x90.js +1 -1
  4. package/dist/cjs/ADFloatingFooter.js +1 -1
  5. package/dist/cjs/ADGutter.js +1 -1
  6. package/dist/cjs/{ADInfeed-af4736ab.js → ADInfeed-25f53b70.js} +1 -1
  7. package/dist/cjs/ADSkyscraper.js +1 -1
  8. package/dist/cjs/ADSponsoredResources.js +1 -1
  9. package/dist/cjs/ADWebcast.js +1 -1
  10. package/dist/cjs/ADWelcome.js +1 -1
  11. package/dist/cjs/{ADlgInfeed-54288733.js → ADlgInfeed-5d21496c.js} +1 -1
  12. package/dist/cjs/AdSlot.js +7 -4
  13. package/dist/cjs/AdSlotsProvider.js +1 -1
  14. package/dist/cjs/AlgoliaSearch.js +198 -454
  15. package/dist/cjs/ArticleCarousel.js +1 -1
  16. package/dist/cjs/ArticleProgramLandingPage.js +4 -4
  17. package/dist/cjs/ArticleSeriesLandingPage.js +4 -4
  18. package/dist/cjs/ArticleSeriesListing.js +2 -2
  19. package/dist/cjs/AuthWrapper.js +629 -245
  20. package/dist/cjs/CEDeckSupabase.js +6 -2
  21. package/dist/cjs/CMEDeck.js +6 -2
  22. package/dist/cjs/Column3.js +1 -1
  23. package/dist/cjs/ConferenceArticleCard.js +1 -1
  24. package/dist/cjs/ContentCardPaginated.js +3 -3
  25. package/dist/cjs/DeckContent.js +3 -3
  26. package/dist/cjs/DeckQueue.js +2 -2
  27. package/dist/cjs/DeckQueuePaginated.js +2 -2
  28. package/dist/cjs/EventsDeck.js +3 -3
  29. package/dist/cjs/ExternalResources.js +5 -5
  30. package/dist/cjs/Feature.js +1 -1
  31. package/dist/cjs/ForbesHero.js +1 -1
  32. package/dist/cjs/GridContent.js +4 -4
  33. package/dist/cjs/GridContentPaginated.js +4 -4
  34. package/dist/cjs/GridHero.js +1 -1
  35. package/dist/cjs/HamMagazine.js +2 -2
  36. package/dist/cjs/HighlightenVideo.js +1 -1
  37. package/dist/cjs/HorizontalArticleListing.js +4 -4
  38. package/dist/cjs/HorizontalHero.js +1 -1
  39. package/dist/cjs/{ImageSlider-d65bc9c8.js → ImageSlider-eb866353.js} +114 -159
  40. package/dist/cjs/IssueContentDeck.js +1 -1
  41. package/dist/cjs/IssueLanding.js +6 -6
  42. package/dist/cjs/LeftNav.js +1 -1
  43. package/dist/cjs/MasterDeck.js +4 -4
  44. package/dist/cjs/MasterDeckPaginated.js +3 -3
  45. package/dist/cjs/MediaSeriesCard.js +4 -4
  46. package/dist/cjs/MediaSeriesLanding.js +9 -9
  47. package/dist/cjs/MediaSeriesLandingPaginated.js +9 -9
  48. package/dist/cjs/NavMagazine.js +2 -2
  49. package/dist/cjs/NavNative.js +1 -1
  50. package/dist/cjs/OncliveHero.js +1 -1
  51. package/dist/cjs/OncliveLargeHero.js +1 -1
  52. package/dist/cjs/PartnerDetailListing.js +8 -7
  53. package/dist/cjs/PartnerDetailListingPaginated.js +8 -7
  54. package/dist/cjs/PodcastsLanding.js +7 -7
  55. package/dist/cjs/PtceDeck.js +1 -1
  56. package/dist/cjs/PubSection.js +4 -4
  57. package/dist/cjs/QueueDeckExpanded.js +4 -4
  58. package/dist/cjs/QueueDeckExpandedPaginated.js +4 -4
  59. package/dist/cjs/RelatedContent.js +1 -1
  60. package/dist/cjs/SeriesListingDeck.js +2 -2
  61. package/dist/cjs/{SeriesSlider-a8b51591.js → SeriesSlider-086a8319.js} +1 -1
  62. package/dist/cjs/{SocialSearchComponent-9d272141.js → SocialSearchComponent-d7e5d3a6.js} +1 -1
  63. package/dist/cjs/TaxonomyDescription.js +4 -4
  64. package/dist/cjs/TemplateNormal.js +2 -2
  65. package/dist/cjs/{Tooltip-66c1a867.js → Tooltip-8011d690.js} +76 -131
  66. package/dist/cjs/Ustream.js +1 -1
  67. package/dist/cjs/VerticalHero.js +1 -1
  68. package/dist/cjs/VideoProgramLandingPage.js +4 -4
  69. package/dist/cjs/VideoSeriesCard.js +1 -1
  70. package/dist/cjs/VideoSeriesLandingPage.js +4 -4
  71. package/dist/cjs/VideoSeriesListing.js +2 -2
  72. package/dist/cjs/View.js +7 -5
  73. package/dist/cjs/YahooHero.js +1 -1
  74. package/dist/cjs/YoutubeGroup.js +1 -1
  75. package/dist/cjs/{brightcove-react-player-loader.es-35faab67.js → brightcove-react-player-loader.es-4c7825a1.js} +3 -3
  76. package/dist/cjs/defineProperty-19580e93.js +71 -0
  77. package/dist/cjs/getRelatedArticle.js +4 -22
  78. package/dist/cjs/getSerializers.js +4 -4
  79. package/dist/cjs/{index-9ec837cc.js → index-50be6759.js} +25 -9
  80. package/dist/cjs/index-96c331fd.js +1572 -0
  81. package/dist/cjs/{index-e412e727.js → index-b0e9a7b6.js} +15 -234
  82. package/dist/cjs/index.js +12 -11
  83. package/dist/cjs/{main-812888f1.js → main-ae8472f3.js} +1 -1
  84. package/dist/cjs/{moment-f730814d.js → moment-aca40de1.js} +80 -95
  85. package/dist/cjs/timeDifferenceCalc.js +1 -1
  86. package/dist/esm/AD300x250.js +1 -1
  87. package/dist/esm/AD300x250x600.js +1 -1
  88. package/dist/esm/AD728x90.js +1 -1
  89. package/dist/esm/ADFloatingFooter.js +1 -1
  90. package/dist/esm/ADGutter.js +1 -1
  91. package/dist/esm/{ADInfeed-c7606b73.js → ADInfeed-ca4bb13c.js} +1 -1
  92. package/dist/esm/ADSkyscraper.js +1 -1
  93. package/dist/esm/ADSponsoredResources.js +1 -1
  94. package/dist/esm/ADWebcast.js +1 -1
  95. package/dist/esm/ADWelcome.js +1 -1
  96. package/dist/esm/{ADlgInfeed-1dabd239.js → ADlgInfeed-142ddf4d.js} +1 -1
  97. package/dist/esm/AdSlot.js +8 -5
  98. package/dist/esm/AdSlotsProvider.js +1 -1
  99. package/dist/esm/AlgoliaSearch.js +197 -453
  100. package/dist/esm/ArticleCarousel.js +1 -1
  101. package/dist/esm/ArticleProgramLandingPage.js +4 -4
  102. package/dist/esm/ArticleSeriesLandingPage.js +4 -4
  103. package/dist/esm/ArticleSeriesListing.js +2 -2
  104. package/dist/esm/AuthWrapper.js +627 -243
  105. package/dist/esm/CEDeckSupabase.js +6 -2
  106. package/dist/esm/CMEDeck.js +6 -2
  107. package/dist/esm/Column3.js +1 -1
  108. package/dist/esm/ConferenceArticleCard.js +1 -1
  109. package/dist/esm/ContentCardPaginated.js +3 -3
  110. package/dist/esm/DeckContent.js +3 -3
  111. package/dist/esm/DeckQueue.js +2 -2
  112. package/dist/esm/DeckQueuePaginated.js +2 -2
  113. package/dist/esm/EventsDeck.js +3 -3
  114. package/dist/esm/ExternalResources.js +5 -5
  115. package/dist/esm/Feature.js +1 -1
  116. package/dist/esm/ForbesHero.js +1 -1
  117. package/dist/esm/GridContent.js +4 -4
  118. package/dist/esm/GridContentPaginated.js +4 -4
  119. package/dist/esm/GridHero.js +1 -1
  120. package/dist/esm/HamMagazine.js +2 -2
  121. package/dist/esm/HighlightenVideo.js +1 -1
  122. package/dist/esm/HorizontalArticleListing.js +4 -4
  123. package/dist/esm/HorizontalHero.js +1 -1
  124. package/dist/esm/{ImageSlider-801685f8.js → ImageSlider-ea441f66.js} +115 -160
  125. package/dist/esm/IssueContentDeck.js +1 -1
  126. package/dist/esm/IssueLanding.js +6 -6
  127. package/dist/esm/LeftNav.js +1 -1
  128. package/dist/esm/MasterDeck.js +4 -4
  129. package/dist/esm/MasterDeckPaginated.js +3 -3
  130. package/dist/esm/MediaSeriesCard.js +4 -4
  131. package/dist/esm/MediaSeriesLanding.js +9 -9
  132. package/dist/esm/MediaSeriesLandingPaginated.js +9 -9
  133. package/dist/esm/NavMagazine.js +2 -2
  134. package/dist/esm/NavNative.js +1 -1
  135. package/dist/esm/OncliveHero.js +1 -1
  136. package/dist/esm/OncliveLargeHero.js +1 -1
  137. package/dist/esm/Pagination-9fe9f61d.js +1 -1
  138. package/dist/esm/PartnerDetailListing.js +8 -7
  139. package/dist/esm/PartnerDetailListingPaginated.js +8 -7
  140. package/dist/esm/PodcastsLanding.js +7 -7
  141. package/dist/esm/PtceDeck.js +1 -1
  142. package/dist/esm/PubSection.js +4 -4
  143. package/dist/esm/QueueDeckExpanded.js +4 -4
  144. package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
  145. package/dist/esm/RelatedContent.js +1 -1
  146. package/dist/esm/SeriesListingDeck.js +2 -2
  147. package/dist/esm/{SeriesSlider-5757414b.js → SeriesSlider-acbdf4c9.js} +1 -1
  148. package/dist/esm/{SocialSearchComponent-98bfc990.js → SocialSearchComponent-9e65c8d6.js} +1 -1
  149. package/dist/esm/TaxonomyDescription.js +4 -4
  150. package/dist/esm/TemplateNormal.js +2 -2
  151. package/dist/esm/{Tooltip-0b3b4558.js → Tooltip-2cdd0895.js} +235 -290
  152. package/dist/esm/Ustream.js +1 -1
  153. package/dist/esm/VerticalHero.js +1 -1
  154. package/dist/esm/VideoProgramLandingPage.js +4 -4
  155. package/dist/esm/VideoSeriesCard.js +1 -1
  156. package/dist/esm/VideoSeriesLandingPage.js +4 -4
  157. package/dist/esm/VideoSeriesListing.js +2 -2
  158. package/dist/esm/View.js +7 -5
  159. package/dist/esm/YahooHero.js +1 -1
  160. package/dist/esm/YoutubeGroup.js +1 -1
  161. package/dist/esm/{brightcove-react-player-loader.es-a2422c4b.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
  162. package/dist/esm/defineProperty-e8022d1e.js +66 -0
  163. package/dist/esm/getRelatedArticle.js +5 -23
  164. package/dist/esm/getSerializers.js +4 -4
  165. package/dist/esm/index-30a6257d.js +1570 -0
  166. package/dist/esm/{index-0ce54f8a.js → index-98ca9cec.js} +25 -10
  167. package/dist/esm/{index-6ea82220.js → index-cf4b8124.js} +15 -234
  168. package/dist/esm/index.js +12 -11
  169. package/dist/esm/{main-dde1592e.js → main-754d4992.js} +1 -1
  170. package/dist/esm/{moment-48faeb9c.js → moment-bc12cb97.js} +80 -95
  171. package/dist/esm/timeDifferenceCalc.js +1 -1
  172. package/dist/esm/visibility-sensor-72fd8f8b.js +1 -1
  173. package/package.json +1 -1
  174. package/dist/cjs/index-4d21663c.js +0 -1573
  175. package/dist/esm/index-887c1f5e.js +0 -1571
@@ -72,9 +72,8 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
72
72
 
73
73
  function map(arr, fn) {
74
74
  var res = [],
75
- i,
76
- arrLen = arr.length;
77
- for (i = 0; i < arrLen; ++i) {
75
+ i;
76
+ for (i = 0; i < arr.length; ++i) {
78
77
  res.push(fn(arr[i], i));
79
78
  }
80
79
  return res;
@@ -203,10 +202,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
203
202
  updateInProgress = false;
204
203
 
205
204
  function copyConfig(to, from) {
206
- var i,
207
- prop,
208
- val,
209
- momentPropertiesLen = momentProperties.length;
205
+ var i, prop, val;
210
206
 
211
207
  if (!isUndefined(from._isAMomentObject)) {
212
208
  to._isAMomentObject = from._isAMomentObject;
@@ -239,8 +235,8 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
239
235
  to._locale = from._locale;
240
236
  }
241
237
 
242
- if (momentPropertiesLen > 0) {
243
- for (i = 0; i < momentPropertiesLen; i++) {
238
+ if (momentProperties.length > 0) {
239
+ for (i = 0; i < momentProperties.length; i++) {
244
240
  prop = momentProperties[i];
245
241
  val = from[prop];
246
242
  if (!isUndefined(val)) {
@@ -295,9 +291,8 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
295
291
  var args = [],
296
292
  arg,
297
293
  i,
298
- key,
299
- argLen = arguments.length;
300
- for (i = 0; i < argLen; i++) {
294
+ key;
295
+ for (i = 0; i < arguments.length; i++) {
301
296
  arg = '';
302
297
  if (typeof arguments[i] === 'object') {
303
298
  arg += '\n[' + i + '] ';
@@ -447,8 +442,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
447
442
  );
448
443
  }
449
444
 
450
- var formattingTokens =
451
- /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
445
+ var formattingTokens = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
452
446
  localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
453
447
  formatFunctions = {},
454
448
  formatTokenFunctions = {};
@@ -752,9 +746,8 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
752
746
  if (typeof units === 'object') {
753
747
  units = normalizeObjectUnits(units);
754
748
  var prioritized = getPrioritizedUnits(units),
755
- i,
756
- prioritizedLen = prioritized.length;
757
- for (i = 0; i < prioritizedLen; i++) {
749
+ i;
750
+ for (i = 0; i < prioritized.length; i++) {
758
751
  this[prioritized[i].unit](units[prioritized[i].unit]);
759
752
  }
760
753
  } else {
@@ -784,8 +777,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
784
777
  matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123
785
778
  // any word (or two) characters or numbers including two/three word month in arabic.
786
779
  // includes scottish gaelic two word and hyphenated months
787
- matchWord =
788
- /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,
780
+ matchWord = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,
789
781
  regexes;
790
782
 
791
783
  regexes = {};
@@ -811,12 +803,15 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
811
803
  return regexEscape(
812
804
  s
813
805
  .replace('\\', '')
814
- .replace(
815
- /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
816
- function (matched, p1, p2, p3, p4) {
817
- return p1 || p2 || p3 || p4;
818
- }
819
- )
806
+ .replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (
807
+ matched,
808
+ p1,
809
+ p2,
810
+ p3,
811
+ p4
812
+ ) {
813
+ return p1 || p2 || p3 || p4;
814
+ })
820
815
  );
821
816
  }
822
817
 
@@ -828,8 +823,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
828
823
 
829
824
  function addParseToken(token, callback) {
830
825
  var i,
831
- func = callback,
832
- tokenLen;
826
+ func = callback;
833
827
  if (typeof token === 'string') {
834
828
  token = [token];
835
829
  }
@@ -838,8 +832,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
838
832
  array[callback] = toInt(input);
839
833
  };
840
834
  }
841
- tokenLen = token.length;
842
- for (i = 0; i < tokenLen; i++) {
835
+ for (i = 0; i < token.length; i++) {
843
836
  tokens[token[i]] = func;
844
837
  }
845
838
  }
@@ -950,12 +943,12 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
950
943
 
951
944
  // LOCALES
952
945
 
953
- var defaultLocaleMonths =
954
- 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
955
- '_'
956
- ),
957
- defaultLocaleMonthsShort =
958
- 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
946
+ var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
947
+ '_'
948
+ ),
949
+ defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split(
950
+ '_'
951
+ ),
959
952
  MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
960
953
  defaultMonthsShortRegex = matchWord,
961
954
  defaultMonthsRegex = matchWord;
@@ -1397,12 +1390,14 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
1397
1390
  addRegexToken('W', match1to2);
1398
1391
  addRegexToken('WW', match1to2, match2);
1399
1392
 
1400
- addWeekParseToken(
1401
- ['w', 'ww', 'W', 'WW'],
1402
- function (input, week, config, token) {
1403
- week[token.substr(0, 1)] = toInt(input);
1404
- }
1405
- );
1393
+ addWeekParseToken(['w', 'ww', 'W', 'WW'], function (
1394
+ input,
1395
+ week,
1396
+ config,
1397
+ token
1398
+ ) {
1399
+ week[token.substr(0, 1)] = toInt(input);
1400
+ });
1406
1401
 
1407
1402
  // HELPERS
1408
1403
 
@@ -1527,8 +1522,9 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
1527
1522
  return ws.slice(n, 7).concat(ws.slice(0, n));
1528
1523
  }
1529
1524
 
1530
- var defaultLocaleWeekdays =
1531
- 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
1525
+ var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
1526
+ '_'
1527
+ ),
1532
1528
  defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
1533
1529
  defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
1534
1530
  defaultWeekdaysRegex = matchWord,
@@ -2076,11 +2072,6 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
2076
2072
  return globalLocale;
2077
2073
  }
2078
2074
 
2079
- function isLocaleNameSane(name) {
2080
- // Prevent names that look like filesystem paths, i.e contain '/' or '\'
2081
- return name.match('^[^/\\\\]*$') != null;
2082
- }
2083
-
2084
2075
  function loadLocale(name) {
2085
2076
  var oldLocale = null,
2086
2077
  aliasedRequire;
@@ -2089,8 +2080,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
2089
2080
  locales[name] === undefined &&
2090
2081
  'object' !== 'undefined' &&
2091
2082
  module &&
2092
- module.exports &&
2093
- isLocaleNameSane(name)
2083
+ module.exports
2094
2084
  ) {
2095
2085
  try {
2096
2086
  oldLocale = globalLocale._abbr;
@@ -2307,10 +2297,8 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
2307
2297
 
2308
2298
  // iso 8601 regex
2309
2299
  // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
2310
- var extendedIsoRegex =
2311
- /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
2312
- basicIsoRegex =
2313
- /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
2300
+ var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
2301
+ basicIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
2314
2302
  tzRegex = /Z|[+-]\d\d(?::?\d\d)?/,
2315
2303
  isoDates = [
2316
2304
  ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/],
@@ -2341,8 +2329,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
2341
2329
  ],
2342
2330
  aspNetJsonRegex = /^\/?Date\((-?\d+)/i,
2343
2331
  // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
2344
- rfc2822 =
2345
- /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
2332
+ rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
2346
2333
  obsOffsets = {
2347
2334
  UT: 0,
2348
2335
  GMT: 0,
@@ -2365,13 +2352,12 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
2365
2352
  allowTime,
2366
2353
  dateFormat,
2367
2354
  timeFormat,
2368
- tzFormat,
2369
- isoDatesLen = isoDates.length,
2370
- isoTimesLen = isoTimes.length;
2355
+ tzFormat;
2371
2356
 
2372
2357
  if (match) {
2373
2358
  getParsingFlags(config).iso = true;
2374
- for (i = 0, l = isoDatesLen; i < l; i++) {
2359
+
2360
+ for (i = 0, l = isoDates.length; i < l; i++) {
2375
2361
  if (isoDates[i][1].exec(match[1])) {
2376
2362
  dateFormat = isoDates[i][0];
2377
2363
  allowTime = isoDates[i][2] !== false;
@@ -2383,7 +2369,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
2383
2369
  return;
2384
2370
  }
2385
2371
  if (match[3]) {
2386
- for (i = 0, l = isoTimesLen; i < l; i++) {
2372
+ for (i = 0, l = isoTimes.length; i < l; i++) {
2387
2373
  if (isoTimes[i][1].exec(match[3])) {
2388
2374
  // match[2] should be 'T' or space
2389
2375
  timeFormat = (match[2] || ' ') + isoTimes[i][0];
@@ -2450,7 +2436,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
2450
2436
  function preprocessRFC2822(s) {
2451
2437
  // Remove comments and folding whitespace and replace multiple-spaces with a single space
2452
2438
  return s
2453
- .replace(/\([^()]*\)|[\n\t]/g, ' ')
2439
+ .replace(/\([^)]*\)|[\n\t]/g, ' ')
2454
2440
  .replace(/(\s\s+)/g, ' ')
2455
2441
  .replace(/^\s\s*/, '')
2456
2442
  .replace(/\s\s*$/, '');
@@ -2763,13 +2749,12 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
2763
2749
  skipped,
2764
2750
  stringLength = string.length,
2765
2751
  totalParsedInputLength = 0,
2766
- era,
2767
- tokenLen;
2752
+ era;
2768
2753
 
2769
2754
  tokens =
2770
2755
  expandFormat(config._f, config._locale).match(formattingTokens) || [];
2771
- tokenLen = tokens.length;
2772
- for (i = 0; i < tokenLen; i++) {
2756
+
2757
+ for (i = 0; i < tokens.length; i++) {
2773
2758
  token = tokens[i];
2774
2759
  parsedInput = (string.match(getParseRegexForToken(token, config)) ||
2775
2760
  [])[0];
@@ -2864,16 +2849,15 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
2864
2849
  i,
2865
2850
  currentScore,
2866
2851
  validFormatFound,
2867
- bestFormatIsValid = false,
2868
- configfLen = config._f.length;
2852
+ bestFormatIsValid = false;
2869
2853
 
2870
- if (configfLen === 0) {
2854
+ if (config._f.length === 0) {
2871
2855
  getParsingFlags(config).invalidFormat = true;
2872
2856
  config._d = new Date(NaN);
2873
2857
  return;
2874
2858
  }
2875
2859
 
2876
- for (i = 0; i < configfLen; i++) {
2860
+ for (i = 0; i < config._f.length; i++) {
2877
2861
  currentScore = 0;
2878
2862
  validFormatFound = false;
2879
2863
  tempConfig = copyConfig({}, config);
@@ -3114,8 +3098,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
3114
3098
  function isDurationValid(m) {
3115
3099
  var key,
3116
3100
  unitHasDecimal = false,
3117
- i,
3118
- orderLen = ordering.length;
3101
+ i;
3119
3102
  for (key in m) {
3120
3103
  if (
3121
3104
  hasOwnProp(m, key) &&
@@ -3128,7 +3111,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
3128
3111
  }
3129
3112
  }
3130
3113
 
3131
- for (i = 0; i < orderLen; ++i) {
3114
+ for (i = 0; i < ordering.length; ++i) {
3132
3115
  if (m[ordering[i]]) {
3133
3116
  if (unitHasDecimal) {
3134
3117
  return false; // only allow non-integers for smallest unit
@@ -3453,8 +3436,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
3453
3436
  // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
3454
3437
  // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
3455
3438
  // and further modified to allow for strings containing both week and day
3456
- isoRegex =
3457
- /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
3439
+ isoRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
3458
3440
 
3459
3441
  function createDuration(input, key) {
3460
3442
  var duration = input,
@@ -3675,10 +3657,9 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
3675
3657
  'ms',
3676
3658
  ],
3677
3659
  i,
3678
- property,
3679
- propertyLen = properties.length;
3660
+ property;
3680
3661
 
3681
- for (i = 0; i < propertyLen; i += 1) {
3662
+ for (i = 0; i < properties.length; i += 1) {
3682
3663
  property = properties[i];
3683
3664
  propertyTest = propertyTest || hasOwnProp(input, property);
3684
3665
  }
@@ -4301,17 +4282,19 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
4301
4282
  addRegexToken('NNNN', matchEraName);
4302
4283
  addRegexToken('NNNNN', matchEraNarrow);
4303
4284
 
4304
- addParseToken(
4305
- ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'],
4306
- function (input, array, config, token) {
4307
- var era = config._locale.erasParse(input, token, config._strict);
4308
- if (era) {
4309
- getParsingFlags(config).era = era;
4310
- } else {
4311
- getParsingFlags(config).invalidEra = input;
4312
- }
4285
+ addParseToken(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function (
4286
+ input,
4287
+ array,
4288
+ config,
4289
+ token
4290
+ ) {
4291
+ var era = config._locale.erasParse(input, token, config._strict);
4292
+ if (era) {
4293
+ getParsingFlags(config).era = era;
4294
+ } else {
4295
+ getParsingFlags(config).invalidEra = input;
4313
4296
  }
4314
- );
4297
+ });
4315
4298
 
4316
4299
  addRegexToken('y', matchUnsigned);
4317
4300
  addRegexToken('yy', matchUnsigned);
@@ -4603,12 +4586,14 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
4603
4586
  addRegexToken('GGGGG', match1to6, match6);
4604
4587
  addRegexToken('ggggg', match1to6, match6);
4605
4588
 
4606
- addWeekParseToken(
4607
- ['gggg', 'ggggg', 'GGGG', 'GGGGG'],
4608
- function (input, week, config, token) {
4609
- week[token.substr(0, 2)] = toInt(input);
4610
- }
4611
- );
4589
+ addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (
4590
+ input,
4591
+ week,
4592
+ config,
4593
+ token
4594
+ ) {
4595
+ week[token.substr(0, 2)] = toInt(input);
4596
+ });
4612
4597
 
4613
4598
  addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {
4614
4599
  week[token] = hooks.parseTwoDigitYear(input);
@@ -5631,7 +5616,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
5631
5616
 
5632
5617
  //! moment.js
5633
5618
 
5634
- hooks.version = '2.29.4';
5619
+ hooks.version = '2.29.1';
5635
5620
 
5636
5621
  setHookCallback(createLocal);
5637
5622
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var moment = require('./moment-f730814d.js');
3
+ var moment = require('./moment-aca40de1.js');
4
4
  require('./_commonjsHelpers-06173234.js');
5
5
 
6
6
  var timeDifferenceCalc = function timeDifferenceCalc(articlePublishedDate) {
@@ -1,7 +1,7 @@
1
1
  import './stringify-1e2a5946.js';
2
2
  import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
3
3
  import React__default, { useState, useEffect } from 'react';
4
- import { m as main_43 } from './main-dde1592e.js';
4
+ import { m as main_43 } from './main-754d4992.js';
5
5
  import DFPAdSlot from './AdSlot.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
7
7
  import './core.get-iterator-method-95db387d.js';
@@ -1,7 +1,7 @@
1
1
  import './stringify-1e2a5946.js';
2
2
  import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
3
3
  import React__default, { useState, useEffect } from 'react';
4
- import { m as main_43 } from './main-dde1592e.js';
4
+ import { m as main_43 } from './main-754d4992.js';
5
5
  import DFPAdSlot from './AdSlot.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
7
7
  import './core.get-iterator-method-95db387d.js';
@@ -1,7 +1,7 @@
1
1
  import './stringify-1e2a5946.js';
2
2
  import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
3
3
  import React__default, { useState, useEffect } from 'react';
4
- import { m as main_43 } from './main-dde1592e.js';
4
+ import { m as main_43 } from './main-754d4992.js';
5
5
  import DFPAdSlot from './AdSlot.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
7
7
  import './core.get-iterator-method-95db387d.js';
@@ -1,7 +1,7 @@
1
1
  import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import DFPAdSlot from './AdSlot.js';
4
- import { d as main_22 } from './main-dde1592e.js';
4
+ import { d as main_22 } from './main-754d4992.js';
5
5
  import './_commonjsHelpers-0c4b6f40.js';
6
6
  import './web.dom.iterable-3fffc027.js';
7
7
  import './core.get-iterator-method-95db387d.js';
@@ -1,7 +1,7 @@
1
1
  import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import DFPAdSlot from './AdSlot.js';
4
- import { d as main_22 } from './main-dde1592e.js';
4
+ import { d as main_22 } from './main-754d4992.js';
5
5
  import './_commonjsHelpers-0c4b6f40.js';
6
6
  import './web.dom.iterable-3fffc027.js';
7
7
  import './core.get-iterator-method-95db387d.js';
@@ -2,7 +2,7 @@ import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import Card from 'react-bootstrap/Card';
4
4
  import DFPAdSlot from './AdSlot.js';
5
- import { d as main_22 } from './main-dde1592e.js';
5
+ import { d as main_22 } from './main-754d4992.js';
6
6
 
7
7
  var ADInfeed = function ADInfeed(_ref) {
8
8
  var index = _ref.index,
@@ -1,7 +1,7 @@
1
1
  import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import DFPAdSlot from './AdSlot.js';
4
- import { d as main_22 } from './main-dde1592e.js';
4
+ import { d as main_22 } from './main-754d4992.js';
5
5
  import './_commonjsHelpers-0c4b6f40.js';
6
6
  import './web.dom.iterable-3fffc027.js';
7
7
  import './core.get-iterator-method-95db387d.js';
@@ -1,7 +1,7 @@
1
1
  import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import DFPAdSlot from './AdSlot.js';
4
- import { d as main_22 } from './main-dde1592e.js';
4
+ import { d as main_22 } from './main-754d4992.js';
5
5
  import './_commonjsHelpers-0c4b6f40.js';
6
6
  import './web.dom.iterable-3fffc027.js';
7
7
  import './core.get-iterator-method-95db387d.js';
@@ -1,7 +1,7 @@
1
1
  import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import DFPAdSlot from './AdSlot.js';
4
- import { d as main_22 } from './main-dde1592e.js';
4
+ import { d as main_22 } from './main-754d4992.js';
5
5
  import './_commonjsHelpers-0c4b6f40.js';
6
6
  import './web.dom.iterable-3fffc027.js';
7
7
  import './core.get-iterator-method-95db387d.js';
@@ -17,7 +17,7 @@ import './_library-528f1934.js';
17
17
  import './_set-species-7d3317b7.js';
18
18
  import './_iter-detect-2f89237f.js';
19
19
  import './Segment.js';
20
- import './main-dde1592e.js';
20
+ import './main-754d4992.js';
21
21
 
22
22
  var ADWelcome = function ADWelcome(_ref) {
23
23
  var title = _ref.title,
@@ -2,7 +2,7 @@ import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import 'react-bootstrap/Card';
4
4
  import DFPAdSlot from './AdSlot.js';
5
- import { d as main_22 } from './main-dde1592e.js';
5
+ import { d as main_22 } from './main-754d4992.js';
6
6
 
7
7
  var ADlgInfeed = function ADlgInfeed(props) {
8
8
  var className = props.className,
@@ -1,12 +1,12 @@
1
1
  import { _ as _extends } from './extends-2f4448b8.js';
2
2
  import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
3
- import React__default, { useState, useEffect } from 'react';
3
+ import React__default, { useState, useRef, useEffect } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { l as lib_3, a as lib_2 } from './index-5cc7b406.js';
6
6
  import { d as debounce_1 } from './debounce-533d9748.js';
7
7
  import './Beam.js';
8
8
  import Segment from './Segment.js';
9
- import { d as main_22 } from './main-dde1592e.js';
9
+ import { d as main_22 } from './main-754d4992.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-95db387d.js';
12
12
  import './web.dom.iterable-3fffc027.js';
@@ -115,11 +115,11 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
115
115
  adRefreshFlag = _useState8[0],
116
116
  setAdRefreshFlag = _useState8[1];
117
117
 
118
+ var labelRef = useRef(null);
118
119
  targeting.ksg = typeof window !== 'undefined' && window.Krux ? window.Krux.segments : null;
119
120
  targeting.kuid = typeof window !== 'undefined' && window.Krux ? window.Krux.user : null;
120
121
 
121
122
  var adTargeting = _extends({}, targeting, { hostname: typeof window !== 'undefined' ? window.location.hostname : null });
122
- var randomClass = Math.floor(Math.random() * 2000);
123
123
 
124
124
  var handleVisibilityChange = debounce_1(function (_ref2) {
125
125
  var event = _ref2.event;
@@ -155,7 +155,7 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
155
155
  React__default.createElement('div', null),
156
156
  React__default.createElement(
157
157
  'div',
158
- { id: randomClass + '-label', style: { color: '#868e96', fontSize: '10px', visibility: 'hidden' } },
158
+ { ref: labelRef, style: { color: '#868e96', fontSize: '10px', visibility: 'hidden' } },
159
159
  'Advertisement'
160
160
  ),
161
161
  React__default.createElement('div', null),
@@ -170,7 +170,6 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
170
170
  setStickyAd(true);
171
171
  //Beam.report_beam_ad('Impression', deviceType, eventData.cID, eventData.lID, eventData.campID, eventData.adSize, eventData.slot_id)
172
172
 
173
- document.getElementById(randomClass + '-label').style.visibility = 'visible';
174
173
  Segment.adViewed(eventData.domain, eventData.advertiserId, eventData.campID, eventData.cID, eventData.lID, eventData.adSize, eventData.isEmpty, eventData.sourceAgnosticCreativeId, eventData.sourceAgnosticLineItemId);
175
174
  },
176
175
  onSlotRender: function onSlotRender(eventData) {
@@ -196,6 +195,10 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
196
195
  var advertiserId = eventData.event.advertiserId;
197
196
  var domain = typeof window !== 'undefined' && window.location ? window.location.hostname : '';
198
197
 
198
+ if (adSize && adSize !== '1x1') {
199
+ labelRef.current.style.visibility = 'visible';
200
+ }
201
+
199
202
  setEventData({
200
203
  cID: cID,
201
204
  lID: lID,
@@ -3,7 +3,7 @@ import { _ as _toConsumableArray } from './toConsumableArray-e6f28e5c.js';
3
3
  import React__default, { useEffect } from 'react';
4
4
  import ReactGA from 'react-ga';
5
5
  import { l as lib_3, b as lib_1 } from './index-5cc7b406.js';
6
- import { e as main_24, m as main_43 } from './main-dde1592e.js';
6
+ import { e as main_24, m as main_43 } from './main-754d4992.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-95db387d.js';
9
9
  import './web.dom.iterable-3fffc027.js';