@mjhls/mjh-framework 1.0.1069 → 1.0.1071

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 (198) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +6 -6
  3. package/dist/cjs/AD300x250.js +5 -6
  4. package/dist/cjs/AD300x250x600.js +5 -6
  5. package/dist/cjs/AD728x90.js +6 -7
  6. package/dist/cjs/ADFloatingFooter.js +8 -9
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +8 -9
  9. package/dist/cjs/{ADInfeed-3a68b356.js → ADInfeed-98ee4120.js} +6 -6
  10. package/dist/cjs/ADSkyscraper.js +8 -9
  11. package/dist/cjs/ADSponsoredResources.js +8 -9
  12. package/dist/cjs/ADWebcast.js +8 -9
  13. package/dist/cjs/ADWelcome.js +12 -13
  14. package/dist/cjs/{ADlgInfeed-d88a0250.js → ADlgInfeed-55df7d69.js} +4 -4
  15. package/dist/cjs/AccordionPanel.js +17 -17
  16. package/dist/cjs/AdSlot.js +9 -10
  17. package/dist/cjs/AdSlotsProvider.js +5 -6
  18. package/dist/cjs/AlgoliaSearch.js +1354 -869
  19. package/dist/cjs/AlphabeticList.js +12 -12
  20. package/dist/cjs/ArticleCarousel.js +5 -5
  21. package/dist/cjs/ArticleProgramLandingPage.js +14 -15
  22. package/dist/cjs/ArticleSeriesLandingPage.js +11 -12
  23. package/dist/cjs/ArticleSeriesListing.js +29 -30
  24. package/dist/cjs/AuthWrapper.js +24 -24
  25. package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
  26. package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
  27. package/dist/cjs/Breadcrumbs.js +17 -17
  28. package/dist/cjs/CEDeckSupabase.js +67 -68
  29. package/dist/cjs/CMEDeck.js +61 -62
  30. package/dist/cjs/Column1.js +6 -6
  31. package/dist/cjs/Column2.js +14 -14
  32. package/dist/cjs/Column3.js +26 -27
  33. package/dist/cjs/ConferenceArticleCard.js +12 -12
  34. package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
  35. package/dist/cjs/ContentCardPaginated.js +49 -50
  36. package/dist/cjs/DeckContent.js +58 -59
  37. package/dist/cjs/DeckQueue.js +57 -58
  38. package/dist/cjs/DeckQueuePaginated.js +46 -47
  39. package/dist/cjs/{Dfp-9be904d5.js → Dfp-67646058.js} +17 -18
  40. package/dist/cjs/EventsDeck.js +90 -90
  41. package/dist/cjs/ExternalResources.js +34 -35
  42. package/dist/cjs/Feature.js +17 -17
  43. package/dist/cjs/ForbesHero.js +25 -25
  44. package/dist/cjs/GridContent.js +134 -135
  45. package/dist/cjs/GridContentPaginated.js +121 -122
  46. package/dist/cjs/GridHero.js +26 -26
  47. package/dist/cjs/GroupDeck.js +33 -33
  48. package/dist/cjs/HamMagazine.js +111 -111
  49. package/dist/cjs/Header.js +25 -25
  50. package/dist/cjs/HealthCareProfessionalModal.js +17 -17
  51. package/dist/cjs/Hero.js +5 -5
  52. package/dist/cjs/HighlightenVideo.js +13 -13
  53. package/dist/cjs/HorizontalArticleListing.js +28 -29
  54. package/dist/cjs/HorizontalHero.js +17 -17
  55. package/dist/cjs/{ImageSlider-294d3fc0.js → ImageSlider-984a697b.js} +72 -72
  56. package/dist/cjs/IssueContentDeck.js +49 -49
  57. package/dist/cjs/IssueDeck.js +48 -48
  58. package/dist/cjs/IssueLanding.js +20 -21
  59. package/dist/cjs/LeftNav.js +17 -18
  60. package/dist/cjs/MasterDeck.js +39 -40
  61. package/dist/cjs/MasterDeckPaginated.js +29 -30
  62. package/dist/cjs/{MediaSeriesCard-b842b86f.js → MediaSeriesCard-55eab36c.js} +16 -16
  63. package/dist/cjs/MediaSeriesLanding.js +36 -37
  64. package/dist/cjs/MediaSeriesLandingPaginated.js +35 -36
  65. package/dist/cjs/NavDvm.js +57 -57
  66. package/dist/cjs/{NavFooter-fa5fae05.js → NavFooter-b7b16d48.js} +11 -11
  67. package/dist/cjs/NavMagazine.js +106 -106
  68. package/dist/cjs/NavNative.js +97 -97
  69. package/dist/cjs/OncliveHero.js +11 -11
  70. package/dist/cjs/OncliveLargeHero.js +49 -49
  71. package/dist/cjs/PageFilter.js +5 -5
  72. package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
  73. package/dist/cjs/PartnerDetailListing.js +49 -50
  74. package/dist/cjs/PartnerDetailListingPaginated.js +48 -49
  75. package/dist/cjs/PdfDownload.js +4 -4
  76. package/dist/cjs/PixelTracking.js +9 -9
  77. package/dist/cjs/PodcastsLanding.js +22 -23
  78. package/dist/cjs/PopUpModal.js +9 -9
  79. package/dist/cjs/PtceDeck.js +13 -13
  80. package/dist/cjs/PubSection.js +13 -14
  81. package/dist/cjs/PubToc.js +4 -4
  82. package/dist/cjs/PublicationDeck.js +44 -44
  83. package/dist/cjs/{PublicationFeature-03de3225.js → PublicationFeature-e945bd55.js} +29 -29
  84. package/dist/cjs/PublicationLanding.js +75 -75
  85. package/dist/cjs/QueueDeckExpanded.js +245 -246
  86. package/dist/cjs/QueueDeckExpandedPaginated.js +222 -223
  87. package/dist/cjs/RecentNews.js +15 -15
  88. package/dist/cjs/RelatedContent.js +14 -14
  89. package/dist/cjs/RelatedTopicsDropdown.js +14 -14
  90. package/dist/cjs/RolesDeck.js +20 -20
  91. package/dist/cjs/Schema.js +1 -1
  92. package/dist/cjs/Search.js +6 -6
  93. package/dist/cjs/SeriesListingDeck.js +18 -19
  94. package/dist/cjs/{SeriesSlider-621d0cbb.js → SeriesSlider-086a8319.js} +22 -22
  95. package/dist/cjs/SideFooter.js +18 -18
  96. package/dist/cjs/SocialIcons.js +6 -6
  97. package/dist/cjs/{SocialSearchComponent-f874175b.js → SocialSearchComponent-d7e5d3a6.js} +28 -28
  98. package/dist/cjs/SocialShare.js +25 -25
  99. package/dist/cjs/TaxonomyCard.js +44 -44
  100. package/dist/cjs/TaxonomyDescription.js +11 -12
  101. package/dist/cjs/TemplateNormal.js +27 -28
  102. package/dist/cjs/ThumbnailCard.js +10 -10
  103. package/dist/cjs/{Tooltip-f075b7ef.js → Tooltip-96fe6ef6.js} +547 -506
  104. package/dist/cjs/Ustream.js +9 -9
  105. package/dist/cjs/VerticalHero.js +10 -10
  106. package/dist/cjs/VideoProgramLandingPage.js +28 -29
  107. package/dist/cjs/VideoSeriesCard.js +13 -13
  108. package/dist/cjs/VideoSeriesFilter.js +5 -5
  109. package/dist/cjs/VideoSeriesLandingPage.js +11 -12
  110. package/dist/cjs/VideoSeriesListing.js +46 -47
  111. package/dist/cjs/View.js +237 -241
  112. package/dist/cjs/YahooHero.js +22 -22
  113. package/dist/cjs/YoutubeGroup.js +33 -33
  114. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
  115. package/dist/cjs/getSerializers.js +6 -7
  116. package/dist/cjs/iconBase-be4097c0.js +2 -4
  117. package/dist/cjs/{index-6900cba9.js → index-4c260728.js} +636 -584
  118. package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
  119. package/dist/cjs/{index-fc2f1ca2.js → index-7435b964.js} +471 -6
  120. package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
  121. package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
  122. package/dist/cjs/{index.esm-f51609ab.js → index.esm-2ea9e9ff.js} +14 -14
  123. package/dist/cjs/index.js +100 -101
  124. package/dist/cjs/{main-1ec1de84.js → main-ae8472f3.js} +17 -22
  125. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
  126. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  127. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
  128. package/dist/esm/AD.js +1 -1
  129. package/dist/esm/AD300x250.js +2 -3
  130. package/dist/esm/AD300x250x600.js +2 -3
  131. package/dist/esm/AD728x90.js +2 -3
  132. package/dist/esm/ADFloatingFooter.js +2 -3
  133. package/dist/esm/ADGutter.js +2 -3
  134. package/dist/esm/{ADInfeed-74cc728c.js → ADInfeed-6d0c0856.js} +1 -1
  135. package/dist/esm/ADSkyscraper.js +2 -3
  136. package/dist/esm/ADSponsoredResources.js +2 -3
  137. package/dist/esm/ADWebcast.js +2 -3
  138. package/dist/esm/ADWelcome.js +2 -3
  139. package/dist/esm/{ADlgInfeed-b6217567.js → ADlgInfeed-93bc2250.js} +1 -1
  140. package/dist/esm/AdSlot.js +2 -3
  141. package/dist/esm/AdSlotsProvider.js +2 -3
  142. package/dist/esm/AlgoliaSearch.js +970 -485
  143. package/dist/esm/ArticleCarousel.js +1 -1
  144. package/dist/esm/ArticleProgramLandingPage.js +3 -4
  145. package/dist/esm/ArticleSeriesLandingPage.js +4 -5
  146. package/dist/esm/ArticleSeriesListing.js +2 -3
  147. package/dist/esm/CEDeckSupabase.js +2 -3
  148. package/dist/esm/CMEDeck.js +2 -3
  149. package/dist/esm/Column3.js +2 -3
  150. package/dist/esm/ContentCardPaginated.js +4 -5
  151. package/dist/esm/DeckContent.js +3 -4
  152. package/dist/esm/DeckQueue.js +2 -3
  153. package/dist/esm/DeckQueuePaginated.js +3 -4
  154. package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +1 -2
  155. package/dist/esm/EventsDeck.js +2 -2
  156. package/dist/esm/ExternalResources.js +4 -5
  157. package/dist/esm/Feature.js +1 -1
  158. package/dist/esm/GridContent.js +4 -5
  159. package/dist/esm/GridContentPaginated.js +5 -6
  160. package/dist/esm/HamMagazine.js +2 -2
  161. package/dist/esm/HorizontalArticleListing.js +3 -4
  162. package/dist/esm/IssueLanding.js +5 -6
  163. package/dist/esm/LeftNav.js +2 -3
  164. package/dist/esm/MasterDeck.js +4 -5
  165. package/dist/esm/MasterDeckPaginated.js +5 -6
  166. package/dist/esm/{MediaSeriesCard-ba6a0d3b.js → MediaSeriesCard-c0cc5c10.js} +1 -1
  167. package/dist/esm/MediaSeriesLanding.js +7 -8
  168. package/dist/esm/MediaSeriesLandingPaginated.js +8 -9
  169. package/dist/esm/NavMagazine.js +2 -2
  170. package/dist/esm/NavNative.js +1 -1
  171. package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
  172. package/dist/esm/PartnerDetailListing.js +5 -6
  173. package/dist/esm/PartnerDetailListingPaginated.js +6 -7
  174. package/dist/esm/PodcastsLanding.js +6 -7
  175. package/dist/esm/PubSection.js +4 -5
  176. package/dist/esm/QueueDeckExpanded.js +4 -5
  177. package/dist/esm/QueueDeckExpandedPaginated.js +5 -6
  178. package/dist/esm/SeriesListingDeck.js +3 -4
  179. package/dist/esm/{SeriesSlider-07be99e0.js → SeriesSlider-a6b1d617.js} +1 -1
  180. package/dist/esm/{SocialSearchComponent-020f9e81.js → SocialSearchComponent-6065bff2.js} +1 -1
  181. package/dist/esm/TaxonomyDescription.js +3 -4
  182. package/dist/esm/TemplateNormal.js +3 -4
  183. package/dist/esm/{Tooltip-95655b44.js → Tooltip-bc98d17e.js} +107 -66
  184. package/dist/esm/Ustream.js +1 -1
  185. package/dist/esm/VideoProgramLandingPage.js +3 -4
  186. package/dist/esm/VideoSeriesLandingPage.js +4 -5
  187. package/dist/esm/VideoSeriesListing.js +2 -3
  188. package/dist/esm/View.js +7 -11
  189. package/dist/esm/YoutubeGroup.js +1 -1
  190. package/dist/esm/getSerializers.js +3 -4
  191. package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
  192. package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
  193. package/dist/esm/{index-c10c03a2.js → index-aef9aa6f.js} +165 -113
  194. package/dist/esm/index.js +8 -9
  195. package/dist/esm/{main-f97773b2.js → main-754d4992.js} +4 -9
  196. package/package.json +1 -1
  197. package/dist/cjs/events-1b438fe7.js +0 -469
  198. package/dist/esm/events-6c3a7a63.js +0 -467
@@ -2652,7 +2652,10 @@ function isShadowRoot(node) {
2652
2652
  return node instanceof OwnElement || node instanceof ShadowRoot;
2653
2653
  }
2654
2654
 
2655
- var round$1 = Math.round;
2655
+ var max = Math.max;
2656
+ var min = Math.min;
2657
+ var round = Math.round;
2658
+
2656
2659
  function getBoundingClientRect(element, includeScale) {
2657
2660
  if (includeScale === void 0) {
2658
2661
  includeScale = false;
@@ -2663,20 +2666,28 @@ function getBoundingClientRect(element, includeScale) {
2663
2666
  var scaleY = 1;
2664
2667
 
2665
2668
  if (isHTMLElement(element) && includeScale) {
2669
+ var offsetHeight = element.offsetHeight;
2670
+ var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
2666
2671
  // Fallback to 1 in case both values are `0`
2667
- scaleX = rect.width / element.offsetWidth || 1;
2668
- scaleY = rect.height / element.offsetHeight || 1;
2672
+
2673
+ if (offsetWidth > 0) {
2674
+ scaleX = round(rect.width) / offsetWidth || 1;
2675
+ }
2676
+
2677
+ if (offsetHeight > 0) {
2678
+ scaleY = round(rect.height) / offsetHeight || 1;
2679
+ }
2669
2680
  }
2670
2681
 
2671
2682
  return {
2672
- width: round$1(rect.width / scaleX),
2673
- height: round$1(rect.height / scaleY),
2674
- top: round$1(rect.top / scaleY),
2675
- right: round$1(rect.right / scaleX),
2676
- bottom: round$1(rect.bottom / scaleY),
2677
- left: round$1(rect.left / scaleX),
2678
- x: round$1(rect.left / scaleX),
2679
- y: round$1(rect.top / scaleY)
2683
+ width: rect.width / scaleX,
2684
+ height: rect.height / scaleY,
2685
+ top: rect.top / scaleY,
2686
+ right: rect.right / scaleX,
2687
+ bottom: rect.bottom / scaleY,
2688
+ left: rect.left / scaleX,
2689
+ x: rect.left / scaleX,
2690
+ y: rect.top / scaleY
2680
2691
  };
2681
2692
  }
2682
2693
 
@@ -2825,13 +2836,13 @@ function getMainAxisFromPlacement(placement) {
2825
2836
  return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
2826
2837
  }
2827
2838
 
2828
- var max = Math.max;
2829
- var min = Math.min;
2830
- var round = Math.round;
2831
-
2832
2839
  function within(min$1, value, max$1) {
2833
2840
  return max(min$1, min(value, max$1));
2834
2841
  }
2842
+ function withinMaxClamp(min, value, max) {
2843
+ var v = within(min, value, max);
2844
+ return v > max ? max : v;
2845
+ }
2835
2846
 
2836
2847
  function getFreshSideObject() {
2837
2848
  return {
@@ -2944,6 +2955,10 @@ var arrow$1 = {
2944
2955
  requiresIfExists: ['preventOverflow']
2945
2956
  };
2946
2957
 
2958
+ function getVariation(placement) {
2959
+ return placement.split('-')[1];
2960
+ }
2961
+
2947
2962
  var unsetSides = {
2948
2963
  top: 'auto',
2949
2964
  right: 'auto',
@@ -2959,8 +2974,8 @@ function roundOffsetsByDPR(_ref) {
2959
2974
  var win = window;
2960
2975
  var dpr = win.devicePixelRatio || 1;
2961
2976
  return {
2962
- x: round(round(x * dpr) / dpr) || 0,
2963
- y: round(round(y * dpr) / dpr) || 0
2977
+ x: round(x * dpr) / dpr || 0,
2978
+ y: round(y * dpr) / dpr || 0
2964
2979
  };
2965
2980
  }
2966
2981
 
@@ -2970,11 +2985,13 @@ function mapToStyles(_ref2) {
2970
2985
  var popper = _ref2.popper,
2971
2986
  popperRect = _ref2.popperRect,
2972
2987
  placement = _ref2.placement,
2988
+ variation = _ref2.variation,
2973
2989
  offsets = _ref2.offsets,
2974
2990
  position = _ref2.position,
2975
2991
  gpuAcceleration = _ref2.gpuAcceleration,
2976
2992
  adaptive = _ref2.adaptive,
2977
- roundOffsets = _ref2.roundOffsets;
2993
+ roundOffsets = _ref2.roundOffsets,
2994
+ isFixed = _ref2.isFixed;
2978
2995
 
2979
2996
  var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
2980
2997
  _ref3$x = _ref3.x,
@@ -2996,7 +3013,7 @@ function mapToStyles(_ref2) {
2996
3013
  if (offsetParent === getWindow(popper)) {
2997
3014
  offsetParent = getDocumentElement(popper);
2998
3015
 
2999
- if (getComputedStyle$1(offsetParent).position !== 'static') {
3016
+ if (getComputedStyle$1(offsetParent).position !== 'static' && position === 'absolute') {
3000
3017
  heightProp = 'scrollHeight';
3001
3018
  widthProp = 'scrollWidth';
3002
3019
  }
@@ -3005,17 +3022,19 @@ function mapToStyles(_ref2) {
3005
3022
 
3006
3023
  offsetParent = offsetParent;
3007
3024
 
3008
- if (placement === top) {
3009
- sideY = bottom; // $FlowFixMe[prop-missing]
3010
-
3011
- y -= offsetParent[heightProp] - popperRect.height;
3025
+ if (placement === top || (placement === left || placement === right) && variation === end) {
3026
+ sideY = bottom;
3027
+ var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
3028
+ offsetParent[heightProp];
3029
+ y -= offsetY - popperRect.height;
3012
3030
  y *= gpuAcceleration ? 1 : -1;
3013
3031
  }
3014
3032
 
3015
- if (placement === left) {
3016
- sideX = right; // $FlowFixMe[prop-missing]
3017
-
3018
- x -= offsetParent[widthProp] - popperRect.width;
3033
+ if (placement === left || (placement === top || placement === bottom) && variation === end) {
3034
+ sideX = right;
3035
+ var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
3036
+ offsetParent[widthProp];
3037
+ x -= offsetX - popperRect.width;
3019
3038
  x *= gpuAcceleration ? 1 : -1;
3020
3039
  }
3021
3040
  }
@@ -3027,7 +3046,7 @@ function mapToStyles(_ref2) {
3027
3046
  if (gpuAcceleration) {
3028
3047
  var _Object$assign;
3029
3048
 
3030
- return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
3049
+ return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
3031
3050
  }
3032
3051
 
3033
3052
  return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
@@ -3055,9 +3074,11 @@ function computeStyles(_ref4) {
3055
3074
 
3056
3075
  var commonStyles = {
3057
3076
  placement: getBasePlacement(state.placement),
3077
+ variation: getVariation(state.placement),
3058
3078
  popper: state.elements.popper,
3059
3079
  popperRect: state.rects.popper,
3060
- gpuAcceleration: gpuAcceleration
3080
+ gpuAcceleration: gpuAcceleration,
3081
+ isFixed: state.options.strategy === 'fixed'
3061
3082
  };
3062
3083
 
3063
3084
  if (state.modifiersData.popperOffsets != null) {
@@ -3315,7 +3336,7 @@ function getInnerBoundingClientRect(element) {
3315
3336
  }
3316
3337
 
3317
3338
  function getClientRectFromMixedType(element, clippingParent) {
3318
- return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
3339
+ return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
3319
3340
  } // A "clipping parent" is an overflowable container with the characteristic of
3320
3341
  // clipping (or hiding) overflowing elements with a position different from
3321
3342
  // `initial`
@@ -3332,7 +3353,7 @@ function getClippingParents(element) {
3332
3353
 
3333
3354
 
3334
3355
  return clippingParents.filter(function (clippingParent) {
3335
- return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
3356
+ return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body' && (canEscapeClipping ? getComputedStyle$1(clippingParent).position !== 'static' : true);
3336
3357
  });
3337
3358
  } // Gets the maximum area that the element is visible in due to any number of
3338
3359
  // clipping parents
@@ -3357,10 +3378,6 @@ function getClippingRect(element, boundary, rootBoundary) {
3357
3378
  return clippingRect;
3358
3379
  }
3359
3380
 
3360
- function getVariation(placement) {
3361
- return placement.split('-')[1];
3362
- }
3363
-
3364
3381
  function computeOffsets(_ref) {
3365
3382
  var reference = _ref.reference,
3366
3383
  element = _ref.element,
@@ -3446,11 +3463,10 @@ function detectOverflow(state, options) {
3446
3463
  padding = _options$padding === void 0 ? 0 : _options$padding;
3447
3464
  var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
3448
3465
  var altContext = elementContext === popper ? reference : popper;
3449
- var referenceElement = state.elements.reference;
3450
3466
  var popperRect = state.rects.popper;
3451
3467
  var element = state.elements[altBoundary ? altContext : elementContext];
3452
3468
  var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
3453
- var referenceClientRect = getBoundingClientRect(referenceElement);
3469
+ var referenceClientRect = getBoundingClientRect(state.elements.reference);
3454
3470
  var popperOffsets = computeOffsets({
3455
3471
  reference: referenceClientRect,
3456
3472
  element: popperRect,
@@ -3837,6 +3853,14 @@ function preventOverflow(_ref) {
3837
3853
  var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
3838
3854
  placement: state.placement
3839
3855
  })) : tetherOffset;
3856
+ var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
3857
+ mainAxis: tetherOffsetValue,
3858
+ altAxis: tetherOffsetValue
3859
+ } : Object.assign({
3860
+ mainAxis: 0,
3861
+ altAxis: 0
3862
+ }, tetherOffsetValue);
3863
+ var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
3840
3864
  var data = {
3841
3865
  x: 0,
3842
3866
  y: 0
@@ -3846,13 +3870,15 @@ function preventOverflow(_ref) {
3846
3870
  return;
3847
3871
  }
3848
3872
 
3849
- if (checkMainAxis || checkAltAxis) {
3873
+ if (checkMainAxis) {
3874
+ var _offsetModifierState$;
3875
+
3850
3876
  var mainSide = mainAxis === 'y' ? top : left;
3851
3877
  var altSide = mainAxis === 'y' ? bottom : right;
3852
3878
  var len = mainAxis === 'y' ? 'height' : 'width';
3853
3879
  var offset = popperOffsets[mainAxis];
3854
- var min$1 = popperOffsets[mainAxis] + overflow[mainSide];
3855
- var max$1 = popperOffsets[mainAxis] - overflow[altSide];
3880
+ var min$1 = offset + overflow[mainSide];
3881
+ var max$1 = offset - overflow[altSide];
3856
3882
  var additive = tether ? -popperRect[len] / 2 : 0;
3857
3883
  var minLen = variation === start ? referenceRect[len] : popperRect[len];
3858
3884
  var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
@@ -3872,36 +3898,45 @@ function preventOverflow(_ref) {
3872
3898
  // width or height)
3873
3899
 
3874
3900
  var arrowLen = within(0, referenceRect[len], arrowRect[len]);
3875
- var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;
3876
- var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;
3901
+ var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
3902
+ var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
3877
3903
  var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
3878
3904
  var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
3879
- var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;
3880
- var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;
3881
- var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;
3905
+ var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
3906
+ var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
3907
+ var tetherMax = offset + maxOffset - offsetModifierValue;
3908
+ var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
3909
+ popperOffsets[mainAxis] = preventedOffset;
3910
+ data[mainAxis] = preventedOffset - offset;
3911
+ }
3882
3912
 
3883
- if (checkMainAxis) {
3884
- var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
3885
- popperOffsets[mainAxis] = preventedOffset;
3886
- data[mainAxis] = preventedOffset - offset;
3887
- }
3913
+ if (checkAltAxis) {
3914
+ var _offsetModifierState$2;
3888
3915
 
3889
- if (checkAltAxis) {
3890
- var _mainSide = mainAxis === 'x' ? top : left;
3916
+ var _mainSide = mainAxis === 'x' ? top : left;
3891
3917
 
3892
- var _altSide = mainAxis === 'x' ? bottom : right;
3918
+ var _altSide = mainAxis === 'x' ? bottom : right;
3893
3919
 
3894
- var _offset = popperOffsets[altAxis];
3920
+ var _offset = popperOffsets[altAxis];
3895
3921
 
3896
- var _min = _offset + overflow[_mainSide];
3922
+ var _len = altAxis === 'y' ? 'height' : 'width';
3897
3923
 
3898
- var _max = _offset - overflow[_altSide];
3924
+ var _min = _offset + overflow[_mainSide];
3899
3925
 
3900
- var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max);
3926
+ var _max = _offset - overflow[_altSide];
3901
3927
 
3902
- popperOffsets[altAxis] = _preventedOffset;
3903
- data[altAxis] = _preventedOffset - _offset;
3904
- }
3928
+ var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
3929
+
3930
+ var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
3931
+
3932
+ var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
3933
+
3934
+ var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
3935
+
3936
+ var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
3937
+
3938
+ popperOffsets[altAxis] = _preventedOffset;
3939
+ data[altAxis] = _preventedOffset - _offset;
3905
3940
  }
3906
3941
 
3907
3942
  state.modifiersData[name] = data;
@@ -3933,8 +3968,8 @@ function getNodeScroll(node) {
3933
3968
 
3934
3969
  function isElementScaled(element) {
3935
3970
  var rect = element.getBoundingClientRect();
3936
- var scaleX = rect.width / element.offsetWidth || 1;
3937
- var scaleY = rect.height / element.offsetHeight || 1;
3971
+ var scaleX = round(rect.width) / element.offsetWidth || 1;
3972
+ var scaleY = round(rect.height) / element.offsetHeight || 1;
3938
3973
  return scaleX !== 1 || scaleY !== 1;
3939
3974
  } // Returns the composite rect of an element relative to its offsetParent.
3940
3975
  // Composite means it takes into account transforms as well as layout.
@@ -4055,7 +4090,10 @@ var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" mo
4055
4090
  var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];
4056
4091
  function validateModifiers(modifiers) {
4057
4092
  modifiers.forEach(function (modifier) {
4058
- Object.keys(modifier).forEach(function (key) {
4093
+ [].concat(Object.keys(modifier), VALID_PROPERTIES) // IE11-compatible replacement for `new Set(iterable)`
4094
+ .filter(function (value, index, self) {
4095
+ return self.indexOf(value) === index;
4096
+ }).forEach(function (key) {
4059
4097
  switch (key) {
4060
4098
  case 'name':
4061
4099
  if (typeof modifier.name !== 'string') {
@@ -4069,6 +4107,8 @@ function validateModifiers(modifiers) {
4069
4107
  console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\""));
4070
4108
  }
4071
4109
 
4110
+ break;
4111
+
4072
4112
  case 'phase':
4073
4113
  if (modifierPhases.indexOf(modifier.phase) < 0) {
4074
4114
  console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\""));
@@ -4084,14 +4124,14 @@ function validateModifiers(modifiers) {
4084
4124
  break;
4085
4125
 
4086
4126
  case 'effect':
4087
- if (typeof modifier.effect !== 'function') {
4127
+ if (modifier.effect != null && typeof modifier.effect !== 'function') {
4088
4128
  console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\""));
4089
4129
  }
4090
4130
 
4091
4131
  break;
4092
4132
 
4093
4133
  case 'requires':
4094
- if (!Array.isArray(modifier.requires)) {
4134
+ if (modifier.requires != null && !Array.isArray(modifier.requires)) {
4095
4135
  console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\""));
4096
4136
  }
4097
4137
 
@@ -4201,7 +4241,8 @@ function popperGenerator(generatorOptions) {
4201
4241
  var isDestroyed = false;
4202
4242
  var instance = {
4203
4243
  state: state,
4204
- setOptions: function setOptions(options) {
4244
+ setOptions: function setOptions(setOptionsAction) {
4245
+ var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
4205
4246
  cleanupModifierEffects();
4206
4247
  state.options = Object.assign({}, defaultOptions, state.options, options);
4207
4248
  state.scrollParents = {
@@ -2,7 +2,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-648
2
2
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import React__default, { useState, useRef, useEffect } from 'react';
4
4
  import { F as FaWindowClose } from './index.esm-1bd8a0a8.js';
5
- import { m as main_43 } from './main-f97773b2.js';
5
+ import { m as main_43 } from './main-754d4992.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
7
7
  import './core.get-iterator-method-ea258bb1.js';
8
8
  import './web.dom.iterable-ab4dea5c.js';
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
5
5
  import Col from 'react-bootstrap/Col';
6
6
  import Form from 'react-bootstrap/Form';
7
7
  import Button from 'react-bootstrap/Button';
8
- import { g as getSerializers } from './index-c10c03a2.js';
8
+ import { g as getSerializers } from './index-aef9aa6f.js';
9
9
  import VideoSeriesListing from './VideoSeriesListing.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.js';
@@ -18,14 +18,13 @@ import './index-3f5c03b2.js';
18
18
  import './slicedToArray-6ebcbfea.js';
19
19
  import 'react-bootstrap';
20
20
  import './urlFor.js';
21
- import './index-f0fc23eb.js';
22
- import './events-6c3a7a63.js';
21
+ import './index-5cc7b406.js';
23
22
  import 'next/router';
24
23
  import './index-c7e2ac95.js';
25
24
  import './Beam.js';
26
25
  import './stringify-2b084bee.js';
27
26
  import './Segment.js';
28
- import './main-f97773b2.js';
27
+ import './main-754d4992.js';
29
28
  import './urlForFile-f6485737.js';
30
29
  import './index-755f2cc2.js';
31
30
  import 'react-dom';
@@ -20,8 +20,7 @@ import './toConsumableArray-f7074d7c.js';
20
20
  import './inherits-d21b4ef9.js';
21
21
  import './_object-sap-7cee6f84.js';
22
22
  import './define-property-5f1bda73.js';
23
- import './index-f0fc23eb.js';
24
- import './events-6c3a7a63.js';
23
+ import './index-5cc7b406.js';
25
24
  import 'prop-types';
26
25
  import 'react-bootstrap/Container';
27
26
  import 'react-bootstrap/Row';
@@ -36,13 +35,13 @@ import './index.es-a6137319.js';
36
35
  import './visibility-sensor-72fd8f8b.js';
37
36
  import 'react-dom';
38
37
  import './index-3f5c03b2.js';
39
- import './ADlgInfeed-b6217567.js';
38
+ import './ADlgInfeed-93bc2250.js';
40
39
  import './AdSlot.js';
41
40
  import './Beam.js';
42
41
  import './stringify-2b084bee.js';
43
42
  import './Segment.js';
44
- import './main-f97773b2.js';
45
- import './ADInfeed-74cc728c.js';
43
+ import './main-754d4992.js';
44
+ import './ADInfeed-6d0c0856.js';
46
45
  import './index-755f2cc2.js';
47
46
  import './urlFor.js';
48
47
  import './style-inject.es-1f59c1d0.js';
@@ -1,7 +1,7 @@
1
1
  import { _ as _extends } from './extends-1559c147.js';
2
2
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d21b4ef9.js';
3
3
  import React__default from 'react';
4
- import { l as lib_3 } from './index-f0fc23eb.js';
4
+ import { l as lib_3 } from './index-5cc7b406.js';
5
5
  import Container from 'react-bootstrap/Container';
6
6
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
7
7
  import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
@@ -18,7 +18,6 @@ import './typeof-657f25da.js';
18
18
  import './web.dom.iterable-ab4dea5c.js';
19
19
  import './_is-array-8d21b9e3.js';
20
20
  import './_library-528f1934.js';
21
- import './events-6c3a7a63.js';
22
21
  import 'prop-types';
23
22
  import 'react-dom';
24
23
  import './iconBase-ccc56b97.js';
@@ -28,7 +27,7 @@ import './index-755f2cc2.js';
28
27
  import './smoothscroll-fa4e3f8c.js';
29
28
  import './urlFor.js';
30
29
  import './index-3f5c03b2.js';
31
- import './main-f97773b2.js';
30
+ import './main-754d4992.js';
32
31
  import './isSymbol-a7e9aafe.js';
33
32
  import './toNumber-5aeba6e7.js';
34
33
 
package/dist/esm/View.js CHANGED
@@ -8,16 +8,16 @@ import { _ as _JSON$stringify } from './stringify-2b084bee.js';
8
8
  import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
9
9
  import { m as moment } from './moment-bc12cb97.js';
10
10
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
11
- import { m as main_43 } from './main-f97773b2.js';
11
+ import { m as main_43 } from './main-754d4992.js';
12
12
  import 'react-bootstrap/Dropdown';
13
13
  import Form from 'react-bootstrap/Form';
14
14
  import FormControl from 'react-bootstrap/FormControl';
15
15
  import Button from 'react-bootstrap/Button';
16
16
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
17
17
  import SocialShare from './SocialShare.js';
18
- import { r as renderAuthor, g as getSerializers } from './index-c10c03a2.js';
18
+ import { r as renderAuthor, g as getSerializers } from './index-aef9aa6f.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
- import { S as SeriesSlider } from './SeriesSlider-07be99e0.js';
20
+ import { S as SeriesSlider } from './SeriesSlider-a6b1d617.js';
21
21
  import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-5a281334.js';
22
22
  import getKeywords from './getKeywords.js';
23
23
  import urlFor from './urlFor.js';
@@ -32,7 +32,7 @@ import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpe
32
32
  import { PixelTrackingArticle } from './PixelTracking.js';
33
33
  import { _ as _Object$keys } from './keys-31dcdb31.js';
34
34
  import { I as InfiniteScroll } from './index.es-a6137319.js';
35
- import { l as lib_3 } from './index-f0fc23eb.js';
35
+ import { l as lib_3 } from './index-5cc7b406.js';
36
36
  import getRelatedArticle from './getRelatedArticle.js';
37
37
  import getQuery from './getQuery.js';
38
38
  import getSeriesDetail from './getSeriesDetail.js';
@@ -73,7 +73,6 @@ import './checkSisterSite-a7218fda.js';
73
73
  import './debounce-533d9748.js';
74
74
  import './isSymbol-a7e9aafe.js';
75
75
  import './toNumber-5aeba6e7.js';
76
- import './events-6c3a7a63.js';
77
76
 
78
77
  var getArticleSummary = function getArticleSummary(article) {
79
78
  if (article.summary && article.summary.length > 0) {
@@ -101,7 +100,7 @@ var getDocumentGroupUrl = function getDocumentGroupUrl(docGroup) {
101
100
  }
102
101
  }
103
102
 
104
- if (docGroup.parent.identifier.current.includes('/') && docGroup.parent.identifier.current.split('/')[0] === docGroup.parent.parent.identifier.current) {
103
+ if (docGroup.parent && docGroup.parent.identifier && docGroup.parent.parent && docGroup.parent.parent.identifier && docGroup.parent.identifier.current.includes('/') && docGroup.parent.identifier.current.split('/')[0] === docGroup.parent.parent.identifier.current) {
105
104
  return '/' + docGroup.parent.identifier.current + '/' + docGroup.path;
106
105
  }
107
106
 
@@ -112,8 +111,7 @@ var getDocumentGroupUrl = function getDocumentGroupUrl(docGroup) {
112
111
  }
113
112
  }
114
113
 
115
- if (!docGroup.thumbnail) ;
116
- if (typeof url != 'undefined') {
114
+ if (typeof url !== 'undefined') {
117
115
  url = url + '/' + docGroup.path;
118
116
  } else {
119
117
  url = '/' + docGroup.path;
@@ -136,13 +134,11 @@ var getDocumentGroupName = function getDocumentGroupName(docGroup) {
136
134
  }
137
135
  }
138
136
 
139
- //if (!docGroup.thumbnail) {
140
- if (typeof name != 'undefined') {
137
+ if (typeof name !== 'undefined') {
141
138
  name = name + ' | <b>' + docGroup.name + '</b>';
142
139
  } else {
143
140
  name = '<b>' + docGroup.name + '</b>';
144
141
  }
145
- //}
146
142
 
147
143
  return name && typeof name != 'undefined' ? name : null;
148
144
  };
@@ -4,7 +4,7 @@ import { g as getYoutubeId } from './index-c7e2ac95.js';
4
4
  import { L as LazyLoad } from './index-755f2cc2.js';
5
5
  import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
6
6
  import urlFor from './urlFor.js';
7
- import { m as main_43, a as main_49, b as main_42 } from './main-f97773b2.js';
7
+ import { m as main_43, a as main_49, b as main_42 } from './main-754d4992.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './web.dom.iterable-ab4dea5c.js';
10
10
  import './core.get-iterator-method-ea258bb1.js';
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-c10c03a2.js';
2
+ export { g as default } from './index-aef9aa6f.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
4
  import './entities-6d9154b4.js';
5
5
  import './slicedToArray-6ebcbfea.js';
@@ -10,8 +10,7 @@ import 'react-bootstrap';
10
10
  import './urlFor.js';
11
11
  import './extends-1559c147.js';
12
12
  import './index-3f5c03b2.js';
13
- import './index-f0fc23eb.js';
14
- import './events-6c3a7a63.js';
13
+ import './index-5cc7b406.js';
15
14
  import 'prop-types';
16
15
  import 'next/router';
17
16
  import './index-c7e2ac95.js';
@@ -22,7 +21,7 @@ import './_library-528f1934.js';
22
21
  import './_set-species-2cd9340f.js';
23
22
  import './_iter-detect-98db3b07.js';
24
23
  import './Segment.js';
25
- import './main-f97773b2.js';
24
+ import './main-754d4992.js';
26
25
  import './urlForFile-f6485737.js';
27
26
  import './index-755f2cc2.js';
28
27
  import 'react-dom';