@mjhls/mjh-framework 1.0.912 → 1.0.913

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 (235) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +1 -2
  4. package/dist/cjs/AD300x250x600.js +1 -2
  5. package/dist/cjs/AD728x90.js +1 -2
  6. package/dist/cjs/ADFloatingFooter.js +1 -2
  7. package/dist/cjs/ADGutter.js +1 -2
  8. package/dist/cjs/ADSkyscraper.js +1 -2
  9. package/dist/cjs/ADSponsoredResources.js +1 -2
  10. package/dist/cjs/ADWebcast.js +1 -2
  11. package/dist/cjs/ADWelcome.js +1 -2
  12. package/dist/cjs/AdSlot.js +1 -2
  13. package/dist/cjs/AdSlotsProvider.js +1 -2
  14. package/dist/cjs/AlgoliaSearch.js +18 -14165
  15. package/dist/cjs/ArticleCarousel.js +1 -1
  16. package/dist/cjs/ArticleProgramLandingPage.js +6 -7
  17. package/dist/cjs/ArticleSeriesLandingPage.js +4 -5
  18. package/dist/cjs/ArticleSeriesListing.js +2 -3
  19. package/dist/cjs/Auth.js +3 -3
  20. package/dist/cjs/AuthWrapper.js +294 -1470
  21. package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-36e54d77.js} +1 -1
  22. package/dist/cjs/CMEDeck.js +1 -2
  23. package/dist/cjs/Column3.js +1 -2
  24. package/dist/cjs/ConferenceArticleCard.js +16 -16
  25. package/dist/cjs/ContentCardPaginated.js +4 -5
  26. package/dist/cjs/DeckContent.js +12 -13
  27. package/dist/cjs/DeckQueue.js +3 -4
  28. package/dist/cjs/DeckQueuePaginated.js +3 -4
  29. package/dist/cjs/{Dfp-9be904d5.js → Dfp-94f8ccdf.js} +1 -2
  30. package/dist/cjs/EventsDeck.js +17 -17
  31. package/dist/cjs/ExternalResources.js +6 -7
  32. package/dist/cjs/Feature.js +1 -1
  33. package/dist/cjs/ForbesHero.js +1 -1
  34. package/dist/cjs/GridContent.js +6 -7
  35. package/dist/cjs/GridContentPaginated.js +6 -7
  36. package/dist/cjs/GridHero.js +2 -2
  37. package/dist/cjs/GroupDeck.js +1 -1
  38. package/dist/cjs/HamMagazine.js +9 -9
  39. package/dist/cjs/Hero.js +2 -2
  40. package/dist/cjs/HorizontalArticleListing.js +6 -7
  41. package/dist/cjs/HorizontalHero.js +1 -1
  42. package/dist/cjs/ImageSlider-a7fb6218.js +182 -0
  43. package/dist/cjs/IssueContentDeck.js +1 -1
  44. package/dist/cjs/IssueDeck.js +1 -1
  45. package/dist/cjs/IssueLanding.js +37 -38
  46. package/dist/cjs/KMTracker.js +15 -15
  47. package/dist/cjs/LeftNav.js +1 -2
  48. package/dist/cjs/MasterDeck.js +12 -13
  49. package/dist/cjs/MasterDeckPaginated.js +11 -12
  50. package/dist/cjs/{MediaSeriesCard-d46317f0.js → MediaSeriesCard-103e075c.js} +391 -394
  51. package/dist/cjs/MediaSeriesLanding.js +15 -17
  52. package/dist/cjs/MediaSeriesLandingPaginated.js +15 -17
  53. package/dist/cjs/NavMagazine.js +10 -10
  54. package/dist/cjs/NavNative.js +9 -9
  55. package/dist/cjs/OncliveHero.js +1 -1
  56. package/dist/cjs/OncliveLargeHero.js +2 -2
  57. package/dist/cjs/PartnerDetailListing.js +12 -13
  58. package/dist/cjs/PartnerDetailListingPaginated.js +12 -13
  59. package/dist/cjs/PubSection.js +5 -6
  60. package/dist/cjs/PublicationDeck.js +1 -1
  61. package/dist/cjs/PublicationLanding.js +26 -30
  62. package/dist/cjs/QueueDeckExpanded.js +5 -6
  63. package/dist/cjs/QueueDeckExpandedPaginated.js +5 -6
  64. package/dist/cjs/RelatedContent.js +29 -29
  65. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  66. package/dist/cjs/Schema.js +1 -1
  67. package/dist/cjs/SeriesListingDeck.js +3 -4
  68. package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-f9128638.js} +4 -4
  69. package/dist/cjs/SideFooter.js +2 -2
  70. package/dist/cjs/TaxonomyCard.js +2 -2
  71. package/dist/cjs/TaxonomyDescription.js +6 -7
  72. package/dist/cjs/TemplateNormal.js +1 -2
  73. package/dist/cjs/ThumbnailCard.js +2 -2
  74. package/dist/cjs/VerticalHero.js +1 -1
  75. package/dist/cjs/VideoProgramLandingPage.js +6 -7
  76. package/dist/cjs/VideoSeriesCard.js +2 -2
  77. package/dist/cjs/VideoSeriesLandingPage.js +4 -5
  78. package/dist/cjs/VideoSeriesListing.js +2 -3
  79. package/dist/cjs/View.js +9 -10
  80. package/dist/cjs/YahooHero.js +2 -2
  81. package/dist/cjs/YoutubeGroup.js +5 -5
  82. package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
  83. package/dist/cjs/getRelatedArticle.js +2 -2
  84. package/dist/cjs/getSerializers.js +6 -7
  85. package/dist/cjs/{getTargeting-9d509319.js → getTargeting-dab97fe1.js} +15 -9
  86. package/dist/cjs/getTargeting.js +1 -1
  87. package/dist/cjs/{index-fc2f1ca2.js → index-0e4427c8.js} +467 -2
  88. package/dist/cjs/{index-5ce5e821.js → index-16fd5776.js} +4 -4
  89. package/dist/cjs/{index-d48b231c.js → index-efca863c.js} +5 -5
  90. package/dist/cjs/index.js +14 -16
  91. package/dist/cjs/urlFor.js +1 -1
  92. package/dist/cjs/{util-93a37fd0.js → util-6f784d85.js} +0 -11
  93. package/dist/esm/AD.js +1 -1
  94. package/dist/esm/AD300x250.js +8 -9
  95. package/dist/esm/AD300x250x600.js +8 -9
  96. package/dist/esm/AD728x90.js +8 -9
  97. package/dist/esm/ADFloatingFooter.js +8 -9
  98. package/dist/esm/ADFooter.js +3 -3
  99. package/dist/esm/ADGutter.js +8 -9
  100. package/dist/esm/{ADInfeed-0a55cd2d.js → ADInfeed-bba8b026.js} +1 -1
  101. package/dist/esm/ADSkyscraper.js +8 -9
  102. package/dist/esm/ADSponsoredResources.js +8 -9
  103. package/dist/esm/ADWebcast.js +8 -9
  104. package/dist/esm/ADWelcome.js +8 -9
  105. package/dist/esm/{ADlgInfeed-013e1f4a.js → ADlgInfeed-a45afa1d.js} +1 -1
  106. package/dist/esm/AccordionPanel.js +3 -3
  107. package/dist/esm/AdSlot.js +8 -9
  108. package/dist/esm/AdSlotsProvider.js +6 -7
  109. package/dist/esm/AlgoliaSearch.js +18 -14165
  110. package/dist/esm/AlphabeticList.js +6 -6
  111. package/dist/esm/ArticleCarousel.js +5 -5
  112. package/dist/esm/ArticleProgramLandingPage.js +20 -21
  113. package/dist/esm/ArticleSeriesLandingPage.js +17 -18
  114. package/dist/esm/ArticleSeriesListing.js +11 -12
  115. package/dist/esm/Auth.js +11 -11
  116. package/dist/esm/AuthWrapper.js +291 -1467
  117. package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-defe68b6.js} +1 -1
  118. package/dist/esm/Beam.js +5 -5
  119. package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-c99c9a8d.js} +1 -1
  120. package/dist/esm/Breadcrumbs.js +3 -3
  121. package/dist/esm/CMEDeck.js +8 -9
  122. package/dist/esm/Column2.js +6 -6
  123. package/dist/esm/Column3.js +10 -11
  124. package/dist/esm/ConferenceArticleCard.js +19 -19
  125. package/dist/esm/ContentCardPaginated.js +17 -18
  126. package/dist/esm/DeckContent.js +25 -26
  127. package/dist/esm/DeckQueue.js +14 -15
  128. package/dist/esm/DeckQueuePaginated.js +15 -16
  129. package/dist/esm/{Dfp-102f0beb.js → Dfp-4b99f79d.js} +4 -5
  130. package/dist/esm/EventsDeck.js +27 -27
  131. package/dist/esm/ExternalResources.js +20 -21
  132. package/dist/esm/Feature.js +4 -4
  133. package/dist/esm/ForbesHero.js +5 -5
  134. package/dist/esm/GridContent.js +20 -21
  135. package/dist/esm/GridContentPaginated.js +20 -21
  136. package/dist/esm/GridHero.js +6 -6
  137. package/dist/esm/GroupDeck.js +6 -6
  138. package/dist/esm/HamMagazine.js +15 -15
  139. package/dist/esm/Hero.js +5 -5
  140. package/dist/esm/HorizontalArticleListing.js +20 -21
  141. package/dist/esm/HorizontalHero.js +4 -4
  142. package/dist/esm/ImageSlider-eab2fe41.js +176 -0
  143. package/dist/esm/IssueContentDeck.js +5 -5
  144. package/dist/esm/IssueDeck.js +7 -7
  145. package/dist/esm/IssueLanding.js +52 -53
  146. package/dist/esm/KMTracker.js +15 -15
  147. package/dist/esm/LeftNav.js +8 -9
  148. package/dist/esm/MasterDeck.js +25 -26
  149. package/dist/esm/MasterDeckPaginated.js +24 -25
  150. package/dist/esm/{MediaSeriesCard-b1845b19.js → MediaSeriesCard-82d58e00.js} +107 -110
  151. package/dist/esm/MediaSeriesLanding.js +29 -31
  152. package/dist/esm/MediaSeriesLandingPaginated.js +29 -31
  153. package/dist/esm/NavDvm.js +5 -5
  154. package/dist/esm/NavMagazine.js +16 -16
  155. package/dist/esm/NavNative.js +14 -14
  156. package/dist/esm/OncliveHero.js +4 -4
  157. package/dist/esm/OncliveLargeHero.js +6 -6
  158. package/dist/esm/PageFilter.js +3 -3
  159. package/dist/esm/PartnerDetailListing.js +26 -27
  160. package/dist/esm/PartnerDetailListingPaginated.js +26 -27
  161. package/dist/esm/PopUpModal.js +3 -3
  162. package/dist/esm/PubSection.js +14 -15
  163. package/dist/esm/PubToc.js +5 -5
  164. package/dist/esm/PublicationDeck.js +4 -4
  165. package/dist/esm/PublicationLanding.js +34 -38
  166. package/dist/esm/QueueDeckExpanded.js +14 -15
  167. package/dist/esm/QueueDeckExpandedPaginated.js +14 -15
  168. package/dist/esm/RelatedContent.js +32 -32
  169. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  170. package/dist/esm/Schema.js +8 -8
  171. package/dist/esm/Search.js +3 -3
  172. package/dist/esm/Segment.js +4 -4
  173. package/dist/esm/SeriesListingDeck.js +9 -10
  174. package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-98b7a870.js} +5 -5
  175. package/dist/esm/SideFooter.js +8 -8
  176. package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-1d8a9f59.js} +1 -1
  177. package/dist/esm/TaxonomyCard.js +6 -6
  178. package/dist/esm/TaxonomyDescription.js +20 -21
  179. package/dist/esm/TemplateNormal.js +11 -12
  180. package/dist/esm/ThumbnailCard.js +5 -5
  181. package/dist/esm/Ustream.js +6 -6
  182. package/dist/esm/VerticalHero.js +4 -4
  183. package/dist/esm/VideoProgramLandingPage.js +20 -21
  184. package/dist/esm/VideoSeriesCard.js +7 -7
  185. package/dist/esm/VideoSeriesFilter.js +5 -5
  186. package/dist/esm/VideoSeriesLandingPage.js +17 -18
  187. package/dist/esm/VideoSeriesListing.js +11 -12
  188. package/dist/esm/View.js +24 -25
  189. package/dist/esm/YahooHero.js +6 -6
  190. package/dist/esm/YoutubeGroup.js +8 -8
  191. package/dist/esm/{_is-array-8d21b9e3.js → _is-array-893ab020.js} +1 -1
  192. package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-f089461c.js} +1 -1
  193. package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-169d6272.js} +1 -1
  194. package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-50a6b9a3.js} +1 -1
  195. package/dist/esm/{asyncToGenerator-5ef104a7.js → asyncToGenerator-b4dfe691.js} +3 -3
  196. package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-e903ff31.js} +1 -1
  197. package/dist/esm/{define-property-5f1bda73.js → define-property-99e66838.js} +1 -1
  198. package/dist/esm/{defineProperty-8c30428f.js → defineProperty-8fa0bc8d.js} +1 -1
  199. package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
  200. package/dist/esm/{extends-6d8e3924.js → extends-dc6a71fd.js} +1 -1
  201. package/dist/esm/faundadb.js +4 -4
  202. package/dist/esm/getRelatedArticle.js +7 -7
  203. package/dist/esm/getRootDocGroup.js +4 -4
  204. package/dist/esm/getSerializers.js +20 -21
  205. package/dist/esm/{getTargeting-4061f839.js → getTargeting-0cdf8983.js} +17 -11
  206. package/dist/esm/getTargeting.js +5 -5
  207. package/dist/esm/{index-3f5c03b2.js → index-0dbff1d1.js} +5 -5
  208. package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
  209. package/dist/esm/{index-490f4f21.js → index-7f0f8278.js} +12 -12
  210. package/dist/esm/index.js +32 -34
  211. package/dist/esm/{inherits-a6ba2ec4.js → inherits-8a801a18.js} +4 -4
  212. package/dist/esm/{keys-31dcdb31.js → keys-425c8ab0.js} +2 -2
  213. package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-ca2c8b8d.js} +2 -2
  214. package/dist/esm/{stringify-2b084bee.js → stringify-c21932b3.js} +1 -1
  215. package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-7b1c0e23.js} +2 -2
  216. package/dist/esm/{typeof-e9fc0c5d.js → typeof-83d9eb10.js} +3 -3
  217. package/dist/esm/urlFor.js +4 -4
  218. package/dist/esm/{ustream-api-d3714624.js → ustream-api-41166338.js} +4 -4
  219. package/dist/esm/{util-8ed16d48.js → util-3ab476bf.js} +0 -11
  220. package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-fdf034f5.js} +1 -1
  221. package/package.json +114 -114
  222. package/dist/cjs/ImageSlider-6c00b878.js +0 -2813
  223. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  224. package/dist/cjs/events-1b438fe7.js +0 -469
  225. package/dist/cjs/index-50be6759.js +0 -105
  226. package/dist/cjs/typeof-1358762e.js +0 -33
  227. package/dist/esm/ImageSlider-f84174cb.js +0 -2804
  228. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  229. package/dist/esm/events-6c3a7a63.js +0 -467
  230. package/dist/esm/index-98ca9cec.js +0 -100
  231. package/dist/esm/typeof-2f07d0e8.js +0 -30
  232. /package/dist/cjs/{ADInfeed-bce0ba07.js → ADInfeed-51a39495.js} +0 -0
  233. /package/dist/cjs/{ADlgInfeed-950b414b.js → ADlgInfeed-12db4509.js} +0 -0
  234. /package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-be5f3503.js} +0 -0
  235. /package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-03500094.js} +0 -0
@@ -1,8 +1,473 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { E as EventEmitter } from './events-6c3a7a63.js';
3
2
  import React__default from 'react';
4
3
  import PropTypes from 'prop-types';
5
4
 
5
+ var domain;
6
+
7
+ // This constructor is used to store event handlers. Instantiating this is
8
+ // faster than explicitly calling `Object.create(null)` to get a "clean" empty
9
+ // object (tested with v8 v4.9).
10
+ function EventHandlers() {}
11
+ EventHandlers.prototype = Object.create(null);
12
+
13
+ function EventEmitter() {
14
+ EventEmitter.init.call(this);
15
+ }
16
+
17
+ // nodejs oddity
18
+ // require('events') === require('events').EventEmitter
19
+ EventEmitter.EventEmitter = EventEmitter;
20
+
21
+ EventEmitter.usingDomains = false;
22
+
23
+ EventEmitter.prototype.domain = undefined;
24
+ EventEmitter.prototype._events = undefined;
25
+ EventEmitter.prototype._maxListeners = undefined;
26
+
27
+ // By default EventEmitters will print a warning if more than 10 listeners are
28
+ // added to it. This is a useful default which helps finding memory leaks.
29
+ EventEmitter.defaultMaxListeners = 10;
30
+
31
+ EventEmitter.init = function() {
32
+ this.domain = null;
33
+ if (EventEmitter.usingDomains) {
34
+ // if there is an active domain, then attach to it.
35
+ if (domain.active ) ;
36
+ }
37
+
38
+ if (!this._events || this._events === Object.getPrototypeOf(this)._events) {
39
+ this._events = new EventHandlers();
40
+ this._eventsCount = 0;
41
+ }
42
+
43
+ this._maxListeners = this._maxListeners || undefined;
44
+ };
45
+
46
+ // Obviously not all Emitters should be limited to 10. This function allows
47
+ // that to be increased. Set to zero for unlimited.
48
+ EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {
49
+ if (typeof n !== 'number' || n < 0 || isNaN(n))
50
+ throw new TypeError('"n" argument must be a positive number');
51
+ this._maxListeners = n;
52
+ return this;
53
+ };
54
+
55
+ function $getMaxListeners(that) {
56
+ if (that._maxListeners === undefined)
57
+ return EventEmitter.defaultMaxListeners;
58
+ return that._maxListeners;
59
+ }
60
+
61
+ EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
62
+ return $getMaxListeners(this);
63
+ };
64
+
65
+ // These standalone emit* functions are used to optimize calling of event
66
+ // handlers for fast cases because emit() itself often has a variable number of
67
+ // arguments and can be deoptimized because of that. These functions always have
68
+ // the same number of arguments and thus do not get deoptimized, so the code
69
+ // inside them can execute faster.
70
+ function emitNone(handler, isFn, self) {
71
+ if (isFn)
72
+ handler.call(self);
73
+ else {
74
+ var len = handler.length;
75
+ var listeners = arrayClone(handler, len);
76
+ for (var i = 0; i < len; ++i)
77
+ listeners[i].call(self);
78
+ }
79
+ }
80
+ function emitOne(handler, isFn, self, arg1) {
81
+ if (isFn)
82
+ handler.call(self, arg1);
83
+ else {
84
+ var len = handler.length;
85
+ var listeners = arrayClone(handler, len);
86
+ for (var i = 0; i < len; ++i)
87
+ listeners[i].call(self, arg1);
88
+ }
89
+ }
90
+ function emitTwo(handler, isFn, self, arg1, arg2) {
91
+ if (isFn)
92
+ handler.call(self, arg1, arg2);
93
+ else {
94
+ var len = handler.length;
95
+ var listeners = arrayClone(handler, len);
96
+ for (var i = 0; i < len; ++i)
97
+ listeners[i].call(self, arg1, arg2);
98
+ }
99
+ }
100
+ function emitThree(handler, isFn, self, arg1, arg2, arg3) {
101
+ if (isFn)
102
+ handler.call(self, arg1, arg2, arg3);
103
+ else {
104
+ var len = handler.length;
105
+ var listeners = arrayClone(handler, len);
106
+ for (var i = 0; i < len; ++i)
107
+ listeners[i].call(self, arg1, arg2, arg3);
108
+ }
109
+ }
110
+
111
+ function emitMany(handler, isFn, self, args) {
112
+ if (isFn)
113
+ handler.apply(self, args);
114
+ else {
115
+ var len = handler.length;
116
+ var listeners = arrayClone(handler, len);
117
+ for (var i = 0; i < len; ++i)
118
+ listeners[i].apply(self, args);
119
+ }
120
+ }
121
+
122
+ EventEmitter.prototype.emit = function emit(type) {
123
+ var er, handler, len, args, i, events, domain;
124
+ var doError = (type === 'error');
125
+
126
+ events = this._events;
127
+ if (events)
128
+ doError = (doError && events.error == null);
129
+ else if (!doError)
130
+ return false;
131
+
132
+ domain = this.domain;
133
+
134
+ // If there is no 'error' event listener then throw.
135
+ if (doError) {
136
+ er = arguments[1];
137
+ if (domain) {
138
+ if (!er)
139
+ er = new Error('Uncaught, unspecified "error" event');
140
+ er.domainEmitter = this;
141
+ er.domain = domain;
142
+ er.domainThrown = false;
143
+ domain.emit('error', er);
144
+ } else if (er instanceof Error) {
145
+ throw er; // Unhandled 'error' event
146
+ } else {
147
+ // At least give some kind of context to the user
148
+ var err = new Error('Uncaught, unspecified "error" event. (' + er + ')');
149
+ err.context = er;
150
+ throw err;
151
+ }
152
+ return false;
153
+ }
154
+
155
+ handler = events[type];
156
+
157
+ if (!handler)
158
+ return false;
159
+
160
+ var isFn = typeof handler === 'function';
161
+ len = arguments.length;
162
+ switch (len) {
163
+ // fast cases
164
+ case 1:
165
+ emitNone(handler, isFn, this);
166
+ break;
167
+ case 2:
168
+ emitOne(handler, isFn, this, arguments[1]);
169
+ break;
170
+ case 3:
171
+ emitTwo(handler, isFn, this, arguments[1], arguments[2]);
172
+ break;
173
+ case 4:
174
+ emitThree(handler, isFn, this, arguments[1], arguments[2], arguments[3]);
175
+ break;
176
+ // slower
177
+ default:
178
+ args = new Array(len - 1);
179
+ for (i = 1; i < len; i++)
180
+ args[i - 1] = arguments[i];
181
+ emitMany(handler, isFn, this, args);
182
+ }
183
+
184
+ return true;
185
+ };
186
+
187
+ function _addListener(target, type, listener, prepend) {
188
+ var m;
189
+ var events;
190
+ var existing;
191
+
192
+ if (typeof listener !== 'function')
193
+ throw new TypeError('"listener" argument must be a function');
194
+
195
+ events = target._events;
196
+ if (!events) {
197
+ events = target._events = new EventHandlers();
198
+ target._eventsCount = 0;
199
+ } else {
200
+ // To avoid recursion in the case that type === "newListener"! Before
201
+ // adding it to the listeners, first emit "newListener".
202
+ if (events.newListener) {
203
+ target.emit('newListener', type,
204
+ listener.listener ? listener.listener : listener);
205
+
206
+ // Re-assign `events` because a newListener handler could have caused the
207
+ // this._events to be assigned to a new object
208
+ events = target._events;
209
+ }
210
+ existing = events[type];
211
+ }
212
+
213
+ if (!existing) {
214
+ // Optimize the case of one listener. Don't need the extra array object.
215
+ existing = events[type] = listener;
216
+ ++target._eventsCount;
217
+ } else {
218
+ if (typeof existing === 'function') {
219
+ // Adding the second element, need to change to array.
220
+ existing = events[type] = prepend ? [listener, existing] :
221
+ [existing, listener];
222
+ } else {
223
+ // If we've already got an array, just append.
224
+ if (prepend) {
225
+ existing.unshift(listener);
226
+ } else {
227
+ existing.push(listener);
228
+ }
229
+ }
230
+
231
+ // Check for listener leak
232
+ if (!existing.warned) {
233
+ m = $getMaxListeners(target);
234
+ if (m && m > 0 && existing.length > m) {
235
+ existing.warned = true;
236
+ var w = new Error('Possible EventEmitter memory leak detected. ' +
237
+ existing.length + ' ' + type + ' listeners added. ' +
238
+ 'Use emitter.setMaxListeners() to increase limit');
239
+ w.name = 'MaxListenersExceededWarning';
240
+ w.emitter = target;
241
+ w.type = type;
242
+ w.count = existing.length;
243
+ emitWarning(w);
244
+ }
245
+ }
246
+ }
247
+
248
+ return target;
249
+ }
250
+ function emitWarning(e) {
251
+ typeof console.warn === 'function' ? console.warn(e) : console.log(e);
252
+ }
253
+ EventEmitter.prototype.addListener = function addListener(type, listener) {
254
+ return _addListener(this, type, listener, false);
255
+ };
256
+
257
+ EventEmitter.prototype.on = EventEmitter.prototype.addListener;
258
+
259
+ EventEmitter.prototype.prependListener =
260
+ function prependListener(type, listener) {
261
+ return _addListener(this, type, listener, true);
262
+ };
263
+
264
+ function _onceWrap(target, type, listener) {
265
+ var fired = false;
266
+ function g() {
267
+ target.removeListener(type, g);
268
+ if (!fired) {
269
+ fired = true;
270
+ listener.apply(target, arguments);
271
+ }
272
+ }
273
+ g.listener = listener;
274
+ return g;
275
+ }
276
+
277
+ EventEmitter.prototype.once = function once(type, listener) {
278
+ if (typeof listener !== 'function')
279
+ throw new TypeError('"listener" argument must be a function');
280
+ this.on(type, _onceWrap(this, type, listener));
281
+ return this;
282
+ };
283
+
284
+ EventEmitter.prototype.prependOnceListener =
285
+ function prependOnceListener(type, listener) {
286
+ if (typeof listener !== 'function')
287
+ throw new TypeError('"listener" argument must be a function');
288
+ this.prependListener(type, _onceWrap(this, type, listener));
289
+ return this;
290
+ };
291
+
292
+ // emits a 'removeListener' event iff the listener was removed
293
+ EventEmitter.prototype.removeListener =
294
+ function removeListener(type, listener) {
295
+ var list, events, position, i, originalListener;
296
+
297
+ if (typeof listener !== 'function')
298
+ throw new TypeError('"listener" argument must be a function');
299
+
300
+ events = this._events;
301
+ if (!events)
302
+ return this;
303
+
304
+ list = events[type];
305
+ if (!list)
306
+ return this;
307
+
308
+ if (list === listener || (list.listener && list.listener === listener)) {
309
+ if (--this._eventsCount === 0)
310
+ this._events = new EventHandlers();
311
+ else {
312
+ delete events[type];
313
+ if (events.removeListener)
314
+ this.emit('removeListener', type, list.listener || listener);
315
+ }
316
+ } else if (typeof list !== 'function') {
317
+ position = -1;
318
+
319
+ for (i = list.length; i-- > 0;) {
320
+ if (list[i] === listener ||
321
+ (list[i].listener && list[i].listener === listener)) {
322
+ originalListener = list[i].listener;
323
+ position = i;
324
+ break;
325
+ }
326
+ }
327
+
328
+ if (position < 0)
329
+ return this;
330
+
331
+ if (list.length === 1) {
332
+ list[0] = undefined;
333
+ if (--this._eventsCount === 0) {
334
+ this._events = new EventHandlers();
335
+ return this;
336
+ } else {
337
+ delete events[type];
338
+ }
339
+ } else {
340
+ spliceOne(list, position);
341
+ }
342
+
343
+ if (events.removeListener)
344
+ this.emit('removeListener', type, originalListener || listener);
345
+ }
346
+
347
+ return this;
348
+ };
349
+
350
+ EventEmitter.prototype.removeAllListeners =
351
+ function removeAllListeners(type) {
352
+ var listeners, events;
353
+
354
+ events = this._events;
355
+ if (!events)
356
+ return this;
357
+
358
+ // not listening for removeListener, no need to emit
359
+ if (!events.removeListener) {
360
+ if (arguments.length === 0) {
361
+ this._events = new EventHandlers();
362
+ this._eventsCount = 0;
363
+ } else if (events[type]) {
364
+ if (--this._eventsCount === 0)
365
+ this._events = new EventHandlers();
366
+ else
367
+ delete events[type];
368
+ }
369
+ return this;
370
+ }
371
+
372
+ // emit removeListener for all listeners on all events
373
+ if (arguments.length === 0) {
374
+ var keys = Object.keys(events);
375
+ for (var i = 0, key; i < keys.length; ++i) {
376
+ key = keys[i];
377
+ if (key === 'removeListener') continue;
378
+ this.removeAllListeners(key);
379
+ }
380
+ this.removeAllListeners('removeListener');
381
+ this._events = new EventHandlers();
382
+ this._eventsCount = 0;
383
+ return this;
384
+ }
385
+
386
+ listeners = events[type];
387
+
388
+ if (typeof listeners === 'function') {
389
+ this.removeListener(type, listeners);
390
+ } else if (listeners) {
391
+ // LIFO order
392
+ do {
393
+ this.removeListener(type, listeners[listeners.length - 1]);
394
+ } while (listeners[0]);
395
+ }
396
+
397
+ return this;
398
+ };
399
+
400
+ EventEmitter.prototype.listeners = function listeners(type) {
401
+ var evlistener;
402
+ var ret;
403
+ var events = this._events;
404
+
405
+ if (!events)
406
+ ret = [];
407
+ else {
408
+ evlistener = events[type];
409
+ if (!evlistener)
410
+ ret = [];
411
+ else if (typeof evlistener === 'function')
412
+ ret = [evlistener.listener || evlistener];
413
+ else
414
+ ret = unwrapListeners(evlistener);
415
+ }
416
+
417
+ return ret;
418
+ };
419
+
420
+ EventEmitter.listenerCount = function(emitter, type) {
421
+ if (typeof emitter.listenerCount === 'function') {
422
+ return emitter.listenerCount(type);
423
+ } else {
424
+ return listenerCount.call(emitter, type);
425
+ }
426
+ };
427
+
428
+ EventEmitter.prototype.listenerCount = listenerCount;
429
+ function listenerCount(type) {
430
+ var events = this._events;
431
+
432
+ if (events) {
433
+ var evlistener = events[type];
434
+
435
+ if (typeof evlistener === 'function') {
436
+ return 1;
437
+ } else if (evlistener) {
438
+ return evlistener.length;
439
+ }
440
+ }
441
+
442
+ return 0;
443
+ }
444
+
445
+ EventEmitter.prototype.eventNames = function eventNames() {
446
+ return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : [];
447
+ };
448
+
449
+ // About 1.5x faster than the two-arg version of Array#splice().
450
+ function spliceOne(list, index) {
451
+ for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1)
452
+ list[i] = list[k];
453
+ list.pop();
454
+ }
455
+
456
+ function arrayClone(arr, i) {
457
+ var copy = new Array(i);
458
+ while (i--)
459
+ copy[i] = arr[i];
460
+ return copy;
461
+ }
462
+
463
+ function unwrapListeners(arr) {
464
+ var ret = new Array(arr.length);
465
+ for (var i = 0; i < ret.length; ++i) {
466
+ ret[i] = arr[i].listener || arr[i];
467
+ }
468
+ return ret;
469
+ }
470
+
6
471
  var utils = createCommonjsModule(function (module, exports) {
7
472
 
8
473
  Object.defineProperty(exports, "__esModule", {
@@ -1,36 +1,36 @@
1
- import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
1
+ import { _ as _extends, b as _extends$1 } from './extends-dc6a71fd.js';
2
2
  import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
3
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
3
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-ca2c8b8d.js';
4
4
  import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
5
5
  import urlFor from './urlFor.js';
6
- import { l as lib_3 } from './index-f0fc23eb.js';
6
+ import { l as lib_3 } from './index-5cc7b406.js';
7
7
  import Router, { useRouter } from 'next/router';
8
8
  import { g as getYoutubeId } from './index-c7e2ac95.js';
9
9
  import PropTypes from 'prop-types';
10
10
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
11
- import { u as util } from './util-8ed16d48.js';
11
+ import { u as util } from './util-3ab476bf.js';
12
12
  import './Beam.js';
13
13
  import Segment from './Segment.js';
14
14
  import { e as main_18, b as main_42, m as main_43 } from './main-1894c974.js';
15
- import { B as BlockContent } from './BlockContent-1e73bd2c.js';
15
+ import { B as BlockContent } from './BlockContent-c99c9a8d.js';
16
16
  import { L as LazyLoad } from './index-755f2cc2.js';
17
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-5ef104a7.js';
18
- import { _ as _typeof$1 } from './typeof-e9fc0c5d.js';
17
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b4dfe691.js';
18
+ import { _ as _typeof$1 } from './typeof-83d9eb10.js';
19
19
  import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
20
20
  import GroupDeck from './GroupDeck.js';
21
21
  import { m as moment } from './moment-bc12cb97.js';
22
22
  import SocialShare from './SocialShare.js';
23
- import { _ as _export, a as _core } from './core.get-iterator-method-ea258bb1.js';
24
- import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
25
- import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
23
+ import { _ as _export, a as _core } from './core.get-iterator-method-e903ff31.js';
24
+ import { _ as _objectToArray } from './_object-to-array-50a6b9a3.js';
25
+ import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
26
26
  import Pagination from 'react-bootstrap/Pagination';
27
27
  import Button$1 from 'react-bootstrap/Button';
28
- import { h as html_decode_1 } from './entities-6d9154b4.js';
28
+ import { h as html_decode_1 } from './entities-932b50cf.js';
29
29
  import DFPAdSlot from './AdSlot.js';
30
30
  import Row$1 from 'react-bootstrap/Row';
31
31
  import Col$1 from 'react-bootstrap/Col';
32
32
  import Head from 'next/head';
33
- import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-a6ba2ec4.js';
33
+ import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-8a801a18.js';
34
34
  import { c as IoIosArrowDropupCircle } from './index.esm-eb1e8e80.js';
35
35
  import Figure$2 from 'react-bootstrap/Figure';
36
36
  import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
package/dist/esm/index.js CHANGED
@@ -79,7 +79,7 @@ export { default as VerticalHero } from './VerticalHero.js';
79
79
  export { default as YahooHero } from './YahooHero.js';
80
80
  export { default as GridHero } from './GridHero.js';
81
81
  export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
82
- export { g as getSerializers } from './index-490f4f21.js';
82
+ export { g as getSerializers } from './index-7f0f8278.js';
83
83
  export { default as Beam } from './Beam.js';
84
84
  export { default as Segment } from './Segment.js';
85
85
  export { default as KMTracker } from './KMTracker.js';
@@ -94,24 +94,23 @@ export { default as VideoSeriesLandingPage } from './VideoSeriesLandingPage.js';
94
94
  export { default as ArticleProgramLandingPage } from './ArticleProgramLandingPage.js';
95
95
  export { default as ArticleSeriesLandingPage } from './ArticleSeriesLandingPage.js';
96
96
  export { default as Schema } from './Schema.js';
97
- export { g as getTargeting } from './getTargeting-4061f839.js';
97
+ export { g as getTargeting } from './getTargeting-0cdf8983.js';
98
98
  export { default as getKeywords } from './getKeywords.js';
99
99
  export { default as getQuery } from './getQuery.js';
100
- import './toConsumableArray-f7074d7c.js';
100
+ import './toConsumableArray-7b1c0e23.js';
101
101
  import './_commonjsHelpers-0c4b6f40.js';
102
- import './core.get-iterator-method-ea258bb1.js';
103
- import './_iter-detect-98db3b07.js';
104
- import './extends-6d8e3924.js';
102
+ import './core.get-iterator-method-e903ff31.js';
103
+ import './_iter-detect-f089461c.js';
104
+ import './extends-dc6a71fd.js';
105
105
  import './_object-pie-133f504a.js';
106
- import './inherits-a6ba2ec4.js';
107
- import './_object-sap-7cee6f84.js';
108
- import './define-property-5f1bda73.js';
109
- import './typeof-e9fc0c5d.js';
110
- import './web.dom.iterable-ab4dea5c.js';
111
- import './_is-array-8d21b9e3.js';
106
+ import './inherits-8a801a18.js';
107
+ import './_object-sap-169d6272.js';
108
+ import './define-property-99e66838.js';
109
+ import './typeof-83d9eb10.js';
110
+ import './web.dom.iterable-fdf034f5.js';
111
+ import './_is-array-893ab020.js';
112
112
  import './_library-528f1934.js';
113
- import './index-f0fc23eb.js';
114
- import './events-6c3a7a63.js';
113
+ import './index-5cc7b406.js';
115
114
  import 'prop-types';
116
115
  import 'react-bootstrap/Container';
117
116
  import 'react-bootstrap/Card';
@@ -124,20 +123,20 @@ import './index.es-a6137319.js';
124
123
  import './visibility-sensor-72fd8f8b.js';
125
124
  import 'react-dom';
126
125
  import './main-1894c974.js';
127
- import './entities-6d9154b4.js';
128
- import './ADInfeed-0a55cd2d.js';
129
- import './slicedToArray-6ebcbfea.js';
126
+ import './entities-932b50cf.js';
127
+ import './ADInfeed-bba8b026.js';
128
+ import './slicedToArray-ca2c8b8d.js';
130
129
  import './lodash-f97fd99a.js';
131
- import './ADlgInfeed-013e1f4a.js';
130
+ import './ADlgInfeed-a45afa1d.js';
132
131
  import './getContentCategory-15dcc413.js';
133
132
  import './get-3c308da4.js';
134
133
  import './eq-bdcbf886.js';
135
- import './AuthorComponent-11adff02.js';
136
- import './PublicationFeature-d88e76b9.js';
134
+ import './AuthorComponent-defe68b6.js';
135
+ import './PublicationFeature-03500094.js';
137
136
  import 'react-bootstrap/Button';
138
137
  import 'react-bootstrap/Media';
139
- import './BlockContent-1e73bd2c.js';
140
- import './index-3f5c03b2.js';
138
+ import './BlockContent-c99c9a8d.js';
139
+ import './index-0dbff1d1.js';
141
140
  import './react-social-icons-9be47857.js';
142
141
  import './index-c7e2ac95.js';
143
142
  import './smoothscroll-fa4e3f8c.js';
@@ -145,16 +144,15 @@ import 'react-bootstrap';
145
144
  import './timeDifferenceCalc.js';
146
145
  import './index.esm-eb1e8e80.js';
147
146
  import './iconBase-ccc56b97.js';
148
- import './asyncToGenerator-5ef104a7.js';
149
- import './defineProperty-8c30428f.js';
150
- import './_object-to-array-2300e51b.js';
151
- import './stringify-2b084bee.js';
147
+ import './asyncToGenerator-b4dfe691.js';
148
+ import './defineProperty-8fa0bc8d.js';
149
+ import './_object-to-array-50a6b9a3.js';
150
+ import './stringify-c21932b3.js';
152
151
  import 'react-bootstrap/Spinner';
153
152
  import 'react-bootstrap/Form';
154
153
  import './index-79cfd25c.js';
155
154
  import './js.cookie-6874175c.js';
156
- import './typeof-2f07d0e8.js';
157
- import './index-98ca9cec.js';
155
+ import 'react-instantsearch-dom';
158
156
  import './ConferenceBanner-8792ebd2.js';
159
157
  import 'next/head';
160
158
  import 'react-bootstrap/ListGroup';
@@ -167,18 +165,18 @@ import 'react-bootstrap/NavDropdown';
167
165
  import './index.esm-9b042655.js';
168
166
  import './NavFooter-e27bd93b.js';
169
167
  import './index.esm-37268dca.js';
170
- import './SocialSearchComponent-4b56cd8c.js';
168
+ import './SocialSearchComponent-1d8a9f59.js';
171
169
  import 'react-bootstrap/FormControl';
172
170
  import 'react-ga';
173
171
  import 'react-bootstrap/Carousel';
174
172
  import 'react-bootstrap/Breadcrumb';
175
- import './keys-31dcdb31.js';
173
+ import './keys-425c8ab0.js';
176
174
  import 'react-bootstrap/DropdownButton';
177
175
  import 'react-bootstrap/Dropdown';
178
176
  import './index.esm-1bd8a0a8.js';
179
177
  import './brightcove-react-player-loader.es-57a70a56.js';
180
178
  import 'react-bootstrap/Modal';
181
- import './util-8ed16d48.js';
179
+ import './util-3ab476bf.js';
182
180
  import 'react-bootstrap/Pagination';
183
181
  import 'react-bootstrap/Figure';
184
182
  import 'react-bootstrap/OverlayTrigger';
@@ -189,13 +187,13 @@ import 'swr';
189
187
  import 'passport-local';
190
188
  import 'mysql';
191
189
  import './md5-4e42248e.js';
192
- import './SeriesSlider-45adb8dc.js';
190
+ import './SeriesSlider-98b7a870.js';
193
191
  import './style-inject.es-1f59c1d0.js';
194
192
  import 'disqus-react';
195
193
  import 'file-saver';
196
194
  import 'react-twitter-embed';
197
- import './ImageSlider-f84174cb.js';
198
- import './defineProperty-23a8f8cd.js';
195
+ import 'react-facebook';
196
+ import './ImageSlider-eab2fe41.js';
199
197
  import './VideoSeriesCard.js';
200
198
 
201
199
  //Feature query to be used
@@ -1,8 +1,8 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { u as _objectGpo, i as _toObject, a as _core, e as _ctx, v as _anObject, b as _isObject, _ as _export, d as _objectCreate } from './core.get-iterator-method-ea258bb1.js';
3
- import { _ as _objectSap } from './_object-sap-7cee6f84.js';
4
- import { d as defineProperty } from './define-property-5f1bda73.js';
5
- import { a as _typeof_1, b as _objectGopd } from './typeof-e9fc0c5d.js';
2
+ import { u as _objectGpo, i as _toObject, a as _core, d as _ctx, v as _anObject, b as _isObject, _ as _export, c as _objectCreate } from './core.get-iterator-method-e903ff31.js';
3
+ import { _ as _objectSap } from './_object-sap-169d6272.js';
4
+ import { d as defineProperty } from './define-property-99e66838.js';
5
+ import { a as _typeof_1, b as _objectGopd } from './typeof-83d9eb10.js';
6
6
 
7
7
  // 19.1.2.9 Object.getPrototypeOf(O)
8
8
 
@@ -1,6 +1,6 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { t as _objectKeys, i as _toObject, a as _core } from './core.get-iterator-method-ea258bb1.js';
3
- import { _ as _objectSap } from './_object-sap-7cee6f84.js';
2
+ import { t as _objectKeys, i as _toObject, a as _core } from './core.get-iterator-method-e903ff31.js';
3
+ import { _ as _objectSap } from './_object-sap-169d6272.js';
4
4
 
5
5
  // 19.1.2.14 Object.keys(O)
6
6