@mjhls/mjh-framework 1.0.844-beta.2 → 1.0.844-schema-fix-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 (249) hide show
  1. package/dist/cjs/AD.js +10 -9
  2. package/dist/cjs/AD300x250.js +10 -9
  3. package/dist/cjs/AD300x250x600.js +10 -9
  4. package/dist/cjs/AD728x90.js +11 -10
  5. package/dist/cjs/ADFloatingFooter.js +12 -11
  6. package/dist/cjs/ADFooter.js +9 -8
  7. package/dist/cjs/ADGutter.js +12 -11
  8. package/dist/cjs/{ADInfeed-9b50464b.js → ADInfeed-1417ce9a.js} +11 -9
  9. package/dist/cjs/ADSkyscraper.js +12 -11
  10. package/dist/cjs/ADSponsoredResources.js +12 -11
  11. package/dist/cjs/ADWebcast.js +12 -11
  12. package/dist/cjs/ADWelcome.js +16 -15
  13. package/dist/cjs/{ADlgInfeed-65e48ce7.js → ADlgInfeed-01deca1a.js} +7 -6
  14. package/dist/cjs/AccordionPanel.js +24 -22
  15. package/dist/cjs/AdSlot.js +14 -13
  16. package/dist/cjs/AdSlotsProvider.js +12 -10
  17. package/dist/cjs/AlgoliaSearch.js +622 -611
  18. package/dist/cjs/AlphabeticList.js +16 -15
  19. package/dist/cjs/ArticleCarousel.js +11 -10
  20. package/dist/cjs/ArticleProgramLandingPage.js +25 -23
  21. package/dist/cjs/ArticleSeriesLandingPage.js +20 -19
  22. package/dist/cjs/ArticleSeriesListing.js +40 -39
  23. package/dist/cjs/Auth.js +3516 -0
  24. package/dist/cjs/AuthWrapper.js +119 -38
  25. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
  26. package/dist/cjs/{BlockContent-091a991f.js → BlockContent-8b494587.js} +25 -24
  27. package/dist/cjs/Breadcrumbs.js +23 -21
  28. package/dist/cjs/CMEDeck.js +64 -64
  29. package/dist/cjs/Column1.js +14 -11
  30. package/dist/cjs/Column2.js +22 -19
  31. package/dist/cjs/Column3.js +35 -32
  32. package/dist/cjs/ConferenceArticleCard.js +18 -17
  33. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  34. package/dist/cjs/DeckContent.js +76 -72
  35. package/dist/cjs/DeckQueue.js +72 -68
  36. package/dist/cjs/{Dfp-26baccf1.js → Dfp-391fd124.js} +23 -22
  37. package/dist/cjs/EventsDeck.js +123 -116
  38. package/dist/cjs/ExternalResources.js +48 -46
  39. package/dist/cjs/Feature.js +25 -23
  40. package/dist/cjs/ForbesHero.js +35 -34
  41. package/dist/cjs/GridContent.js +208 -203
  42. package/dist/cjs/GridHero.js +36 -35
  43. package/dist/cjs/GroupDeck.js +49 -48
  44. package/dist/cjs/HamMagazine.js +121 -116
  45. package/dist/cjs/Header.js +14 -12
  46. package/dist/cjs/Hero.js +10 -9
  47. package/dist/cjs/HighlightenVideo.js +17 -16
  48. package/dist/cjs/HorizontalArticleListing.js +38 -36
  49. package/dist/cjs/HorizontalHero.js +24 -23
  50. package/dist/cjs/IssueContentDeck.js +70 -65
  51. package/dist/cjs/IssueDeck.js +65 -60
  52. package/dist/cjs/IssueLanding.js +30 -28
  53. package/dist/cjs/LeftNav.js +22 -20
  54. package/dist/cjs/MasterDeck.js +50 -49
  55. package/dist/cjs/MediaSeriesLanding.js +731 -783
  56. package/dist/cjs/NavDvm.js +68 -63
  57. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  58. package/dist/cjs/NavMagazine.js +121 -116
  59. package/dist/cjs/NavNative.js +116 -108
  60. package/dist/cjs/OncliveHero.js +17 -17
  61. package/dist/cjs/OncliveLargeHero.js +64 -63
  62. package/dist/cjs/PageFilter.js +9 -8
  63. package/dist/cjs/PartnerDetailListing.js +71 -69
  64. package/dist/cjs/PdfDownload.js +9 -8
  65. package/dist/cjs/PopUpModal.js +15 -13
  66. package/dist/cjs/PubSection.js +20 -19
  67. package/dist/cjs/PubToc.js +8 -7
  68. package/dist/cjs/PublicationDeck.js +64 -59
  69. package/dist/cjs/PublicationLanding.js +87 -83
  70. package/dist/cjs/QueueDeckExpanded.js +285 -285
  71. package/dist/cjs/RecentNews.js +20 -19
  72. package/dist/cjs/RelatedContent.js +23 -22
  73. package/dist/cjs/RelatedTopicsDropdown.js +22 -19
  74. package/dist/cjs/RolesDeck.js +32 -27
  75. package/dist/cjs/Search.js +16 -12
  76. package/dist/cjs/SeriesListingDeck.js +26 -26
  77. package/dist/cjs/{SeriesSlider-8bbc989f.js → SeriesSlider-0d3bf265.js} +34 -33
  78. package/dist/cjs/SideFooter.js +24 -23
  79. package/dist/cjs/SocialIcons.js +10 -9
  80. package/dist/cjs/{SocialSearchComponent-cea213aa.js → SocialSearchComponent-19548e2a.js} +38 -34
  81. package/dist/cjs/SocialShare.js +31 -29
  82. package/dist/cjs/TaxonomyCard.js +59 -54
  83. package/dist/cjs/TaxonomyDescription.js +23 -21
  84. package/dist/cjs/TemplateNormal.js +35 -34
  85. package/dist/cjs/ThumbnailCard.js +19 -17
  86. package/dist/cjs/Ustream.js +22 -21
  87. package/dist/cjs/VerticalHero.js +16 -15
  88. package/dist/cjs/VideoProgramLandingPage.js +45 -40
  89. package/dist/cjs/VideoSeriesCard.js +24 -23
  90. package/dist/cjs/VideoSeriesFilter.js +9 -9
  91. package/dist/cjs/VideoSeriesLandingPage.js +26 -25
  92. package/dist/cjs/VideoSeriesListing.js +57 -56
  93. package/dist/cjs/View.js +209 -202
  94. package/dist/cjs/YahooHero.js +31 -30
  95. package/dist/cjs/YoutubeGroup.js +51 -50
  96. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
  97. package/dist/cjs/faundadb.js +4 -321
  98. package/dist/cjs/getRelatedArticle.js +374 -21
  99. package/dist/cjs/getSerializers.js +12 -11
  100. package/dist/cjs/{getTargeting-021d644c.js → getTargeting-15ad167c.js} +2 -2
  101. package/dist/cjs/getTargeting.js +1 -1
  102. package/dist/cjs/iconBase-68959171.js +0 -3
  103. package/dist/cjs/{index-98e01cb9.js → index-2cf30c83.js} +9 -8
  104. package/dist/cjs/{index-3294d3bc.js → index-6367b7bf.js} +16 -17
  105. package/dist/cjs/{index-4fdc043f.js → index-73ac3122.js} +884 -1477
  106. package/dist/cjs/{index-96b3db50.js → index-9d365128.js} +12 -10
  107. package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
  108. package/dist/cjs/index-bd6c9f56.js +211 -0
  109. package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
  110. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
  111. package/dist/cjs/{index.esm-4d410430.js → index.esm-3ffa049c.js} +20 -20
  112. package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
  113. package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
  114. package/dist/cjs/index.js +68 -57
  115. package/dist/cjs/{inherits-9953db94.js → inherits-0c7830c5.js} +4 -4
  116. package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
  117. package/dist/cjs/{main-02daeefe.js → main-7b5e57b0.js} +90 -54
  118. package/dist/cjs/md5-e1ca5797.js +323 -0
  119. package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
  120. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
  121. package/dist/cjs/timeDifferenceCalc.js +1 -1
  122. package/dist/cjs/{typeof-725500bc.js → typeof-9d7f610f.js} +1 -1
  123. package/dist/cjs/urlFor.js +3 -3
  124. package/dist/cjs/util-f2c1b65b.js +576 -0
  125. package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
  126. package/dist/esm/AD.js +7 -7
  127. package/dist/esm/AD300x250.js +7 -7
  128. package/dist/esm/AD300x250x600.js +7 -7
  129. package/dist/esm/AD728x90.js +8 -8
  130. package/dist/esm/ADFloatingFooter.js +9 -9
  131. package/dist/esm/ADFooter.js +6 -6
  132. package/dist/esm/ADGutter.js +9 -9
  133. package/dist/esm/{ADInfeed-99535410.js → ADInfeed-bb64ffeb.js} +7 -7
  134. package/dist/esm/ADSkyscraper.js +9 -9
  135. package/dist/esm/ADSponsoredResources.js +9 -9
  136. package/dist/esm/ADWebcast.js +9 -9
  137. package/dist/esm/ADWelcome.js +13 -13
  138. package/dist/esm/{ADlgInfeed-0d359144.js → ADlgInfeed-18efe2e7.js} +4 -4
  139. package/dist/esm/AccordionPanel.js +17 -17
  140. package/dist/esm/AdSlot.js +5 -5
  141. package/dist/esm/AdSlotsProvider.js +5 -5
  142. package/dist/esm/AlgoliaSearch.js +251 -241
  143. package/dist/esm/AlphabeticList.js +13 -13
  144. package/dist/esm/ArticleCarousel.js +8 -8
  145. package/dist/esm/ArticleProgramLandingPage.js +21 -20
  146. package/dist/esm/ArticleSeriesLandingPage.js +17 -17
  147. package/dist/esm/ArticleSeriesListing.js +36 -36
  148. package/dist/esm/Auth.js +3496 -0
  149. package/dist/esm/AuthWrapper.js +116 -36
  150. package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-8ffd4679.js} +10 -10
  151. package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d05b5b23.js} +4 -4
  152. package/dist/esm/Breadcrumbs.js +11 -11
  153. package/dist/esm/CMEDeck.js +61 -61
  154. package/dist/esm/Column1.js +9 -9
  155. package/dist/esm/Column2.js +17 -17
  156. package/dist/esm/Column3.js +30 -30
  157. package/dist/esm/ConferenceArticleCard.js +15 -15
  158. package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
  159. package/dist/esm/DeckContent.js +68 -68
  160. package/dist/esm/DeckQueue.js +64 -64
  161. package/dist/esm/{Dfp-b7236041.js → Dfp-2f9796e1.js} +10 -10
  162. package/dist/esm/EventsDeck.js +92 -92
  163. package/dist/esm/ExternalResources.js +42 -41
  164. package/dist/esm/Feature.js +17 -17
  165. package/dist/esm/ForbesHero.js +28 -28
  166. package/dist/esm/GridContent.js +172 -172
  167. package/dist/esm/GridHero.js +29 -29
  168. package/dist/esm/GroupDeck.js +36 -36
  169. package/dist/esm/HamMagazine.js +91 -91
  170. package/dist/esm/Header.js +8 -8
  171. package/dist/esm/Hero.js +7 -7
  172. package/dist/esm/HighlightenVideo.js +14 -14
  173. package/dist/esm/HorizontalArticleListing.js +35 -34
  174. package/dist/esm/HorizontalHero.js +21 -21
  175. package/dist/esm/IssueContentDeck.js +53 -53
  176. package/dist/esm/IssueDeck.js +54 -54
  177. package/dist/esm/IssueLanding.js +27 -26
  178. package/dist/esm/LeftNav.js +16 -16
  179. package/dist/esm/MasterDeck.js +46 -46
  180. package/dist/esm/MediaSeriesLanding.js +451 -506
  181. package/dist/esm/NavDvm.js +46 -46
  182. package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
  183. package/dist/esm/NavMagazine.js +93 -93
  184. package/dist/esm/NavNative.js +83 -83
  185. package/dist/esm/OncliveHero.js +14 -15
  186. package/dist/esm/OncliveLargeHero.js +52 -52
  187. package/dist/esm/PageFilter.js +6 -6
  188. package/dist/esm/PartnerDetailListing.js +67 -66
  189. package/dist/esm/PdfDownload.js +6 -6
  190. package/dist/esm/PopUpModal.js +8 -8
  191. package/dist/esm/PubSection.js +17 -17
  192. package/dist/esm/PubToc.js +5 -5
  193. package/dist/esm/PublicationDeck.js +51 -51
  194. package/dist/esm/PublicationLanding.js +69 -69
  195. package/dist/esm/QueueDeckExpanded.js +251 -251
  196. package/dist/esm/RecentNews.js +17 -17
  197. package/dist/esm/RelatedContent.js +17 -17
  198. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  199. package/dist/esm/RolesDeck.js +25 -25
  200. package/dist/esm/Search.js +7 -7
  201. package/dist/esm/SeriesListingDeck.js +20 -20
  202. package/dist/esm/{SeriesSlider-a866bb21.js → SeriesSlider-7d89f4d9.js} +24 -24
  203. package/dist/esm/SideFooter.js +19 -19
  204. package/dist/esm/SocialIcons.js +7 -7
  205. package/dist/esm/{SocialSearchComponent-03c3e869.js → SocialSearchComponent-47815365.js} +28 -28
  206. package/dist/esm/SocialShare.js +25 -25
  207. package/dist/esm/TaxonomyCard.js +50 -50
  208. package/dist/esm/TaxonomyDescription.js +17 -16
  209. package/dist/esm/TemplateNormal.js +31 -31
  210. package/dist/esm/ThumbnailCard.js +10 -10
  211. package/dist/esm/Ustream.js +18 -18
  212. package/dist/esm/VerticalHero.js +13 -13
  213. package/dist/esm/VideoProgramLandingPage.js +33 -32
  214. package/dist/esm/VideoSeriesCard.js +17 -17
  215. package/dist/esm/VideoSeriesFilter.js +6 -6
  216. package/dist/esm/VideoSeriesLandingPage.js +17 -17
  217. package/dist/esm/VideoSeriesListing.js +53 -53
  218. package/dist/esm/View.js +185 -182
  219. package/dist/esm/YahooHero.js +25 -25
  220. package/dist/esm/YoutubeGroup.js +35 -35
  221. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
  222. package/dist/esm/faundadb.js +2 -319
  223. package/dist/esm/getRelatedArticle.js +374 -21
  224. package/dist/esm/getSerializers.js +12 -11
  225. package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
  226. package/dist/esm/{index-5f7e79e7.js → index-6c12bdd5.js} +4 -4
  227. package/dist/esm/{index-ef6d5dcf.js → index-c00b0bbb.js} +16 -17
  228. package/dist/esm/index-db3bb315.js +207 -0
  229. package/dist/esm/{index-fb819516.js → index-e537f766.js} +833 -1433
  230. package/dist/esm/{index-41a678ea.js → index-f7fb1e25.js} +3 -3
  231. package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
  232. package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
  233. package/dist/esm/{index.esm-fd746768.js → index.esm-8ee5ff72.js} +17 -18
  234. package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
  235. package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
  236. package/dist/esm/index.js +55 -48
  237. package/dist/esm/{inherits-cf8dde54.js → inherits-75d45541.js} +1 -1
  238. package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
  239. package/dist/esm/{main-e4a934b2.js → main-747e7d25.js} +87 -52
  240. package/dist/esm/md5-4e42248e.js +321 -0
  241. package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
  242. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
  243. package/dist/esm/timeDifferenceCalc.js +1 -1
  244. package/dist/esm/{typeof-6435ba1c.js → typeof-af9c50d8.js} +1 -1
  245. package/dist/esm/urlFor.js +1 -1
  246. package/dist/esm/util-7700fc59.js +574 -0
  247. package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
  248. package/package.json +2 -6
  249. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
@@ -0,0 +1,576 @@
1
+ 'use strict';
2
+
3
+ var inherits;
4
+ if (typeof Object.create === 'function'){
5
+ inherits = function inherits(ctor, superCtor) {
6
+ // implementation from standard node.js 'util' module
7
+ ctor.super_ = superCtor;
8
+ ctor.prototype = Object.create(superCtor.prototype, {
9
+ constructor: {
10
+ value: ctor,
11
+ enumerable: false,
12
+ writable: true,
13
+ configurable: true
14
+ }
15
+ });
16
+ };
17
+ } else {
18
+ inherits = function inherits(ctor, superCtor) {
19
+ ctor.super_ = superCtor;
20
+ var TempCtor = function () {};
21
+ TempCtor.prototype = superCtor.prototype;
22
+ ctor.prototype = new TempCtor();
23
+ ctor.prototype.constructor = ctor;
24
+ };
25
+ }
26
+ var inherits$1 = inherits;
27
+
28
+ // Copyright Joyent, Inc. and other Node contributors.
29
+ var formatRegExp = /%[sdj%]/g;
30
+ function format(f) {
31
+ if (!isString(f)) {
32
+ var objects = [];
33
+ for (var i = 0; i < arguments.length; i++) {
34
+ objects.push(inspect(arguments[i]));
35
+ }
36
+ return objects.join(' ');
37
+ }
38
+
39
+ var i = 1;
40
+ var args = arguments;
41
+ var len = args.length;
42
+ var str = String(f).replace(formatRegExp, function(x) {
43
+ if (x === '%%') return '%';
44
+ if (i >= len) return x;
45
+ switch (x) {
46
+ case '%s': return String(args[i++]);
47
+ case '%d': return Number(args[i++]);
48
+ case '%j':
49
+ try {
50
+ return JSON.stringify(args[i++]);
51
+ } catch (_) {
52
+ return '[Circular]';
53
+ }
54
+ default:
55
+ return x;
56
+ }
57
+ });
58
+ for (var x = args[i]; i < len; x = args[++i]) {
59
+ if (isNull(x) || !isObject(x)) {
60
+ str += ' ' + x;
61
+ } else {
62
+ str += ' ' + inspect(x);
63
+ }
64
+ }
65
+ return str;
66
+ }
67
+
68
+ // Mark that a method should not be used.
69
+ // Returns a modified function which warns once by default.
70
+ // If --no-deprecation is set, then it is a no-op.
71
+ function deprecate(fn, msg) {
72
+ // Allow for deprecating things in the process of starting up.
73
+ if (isUndefined(global.process)) {
74
+ return function() {
75
+ return deprecate(fn, msg).apply(this, arguments);
76
+ };
77
+ }
78
+
79
+ var warned = false;
80
+ function deprecated() {
81
+ if (!warned) {
82
+ {
83
+ console.error(msg);
84
+ }
85
+ warned = true;
86
+ }
87
+ return fn.apply(this, arguments);
88
+ }
89
+
90
+ return deprecated;
91
+ }
92
+
93
+ var debugs = {};
94
+ var debugEnviron;
95
+ function debuglog(set) {
96
+ if (isUndefined(debugEnviron))
97
+ debugEnviron = '';
98
+ set = set.toUpperCase();
99
+ if (!debugs[set]) {
100
+ if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
101
+ var pid = 0;
102
+ debugs[set] = function() {
103
+ var msg = format.apply(null, arguments);
104
+ console.error('%s %d: %s', set, pid, msg);
105
+ };
106
+ } else {
107
+ debugs[set] = function() {};
108
+ }
109
+ }
110
+ return debugs[set];
111
+ }
112
+
113
+ /**
114
+ * Echos the value of a value. Trys to print the value out
115
+ * in the best way possible given the different types.
116
+ *
117
+ * @param {Object} obj The object to print out.
118
+ * @param {Object} opts Optional options object that alters the output.
119
+ */
120
+ /* legacy: obj, showHidden, depth, colors*/
121
+ function inspect(obj, opts) {
122
+ // default options
123
+ var ctx = {
124
+ seen: [],
125
+ stylize: stylizeNoColor
126
+ };
127
+ // legacy...
128
+ if (arguments.length >= 3) ctx.depth = arguments[2];
129
+ if (arguments.length >= 4) ctx.colors = arguments[3];
130
+ if (isBoolean(opts)) {
131
+ // legacy...
132
+ ctx.showHidden = opts;
133
+ } else if (opts) {
134
+ // got an "options" object
135
+ _extend(ctx, opts);
136
+ }
137
+ // set default options
138
+ if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
139
+ if (isUndefined(ctx.depth)) ctx.depth = 2;
140
+ if (isUndefined(ctx.colors)) ctx.colors = false;
141
+ if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
142
+ if (ctx.colors) ctx.stylize = stylizeWithColor;
143
+ return formatValue(ctx, obj, ctx.depth);
144
+ }
145
+
146
+ // http://en.wikipedia.org/wiki/ANSI_escape_code#graphics
147
+ inspect.colors = {
148
+ 'bold' : [1, 22],
149
+ 'italic' : [3, 23],
150
+ 'underline' : [4, 24],
151
+ 'inverse' : [7, 27],
152
+ 'white' : [37, 39],
153
+ 'grey' : [90, 39],
154
+ 'black' : [30, 39],
155
+ 'blue' : [34, 39],
156
+ 'cyan' : [36, 39],
157
+ 'green' : [32, 39],
158
+ 'magenta' : [35, 39],
159
+ 'red' : [31, 39],
160
+ 'yellow' : [33, 39]
161
+ };
162
+
163
+ // Don't use 'blue' not visible on cmd.exe
164
+ inspect.styles = {
165
+ 'special': 'cyan',
166
+ 'number': 'yellow',
167
+ 'boolean': 'yellow',
168
+ 'undefined': 'grey',
169
+ 'null': 'bold',
170
+ 'string': 'green',
171
+ 'date': 'magenta',
172
+ // "name": intentionally not styling
173
+ 'regexp': 'red'
174
+ };
175
+
176
+
177
+ function stylizeWithColor(str, styleType) {
178
+ var style = inspect.styles[styleType];
179
+
180
+ if (style) {
181
+ return '\u001b[' + inspect.colors[style][0] + 'm' + str +
182
+ '\u001b[' + inspect.colors[style][1] + 'm';
183
+ } else {
184
+ return str;
185
+ }
186
+ }
187
+
188
+
189
+ function stylizeNoColor(str, styleType) {
190
+ return str;
191
+ }
192
+
193
+
194
+ function arrayToHash(array) {
195
+ var hash = {};
196
+
197
+ array.forEach(function(val, idx) {
198
+ hash[val] = true;
199
+ });
200
+
201
+ return hash;
202
+ }
203
+
204
+
205
+ function formatValue(ctx, value, recurseTimes) {
206
+ // Provide a hook for user-specified inspect functions.
207
+ // Check that value is an object with an inspect function on it
208
+ if (ctx.customInspect &&
209
+ value &&
210
+ isFunction(value.inspect) &&
211
+ // Filter out the util module, it's inspect function is special
212
+ value.inspect !== inspect &&
213
+ // Also filter out any prototype objects using the circular check.
214
+ !(value.constructor && value.constructor.prototype === value)) {
215
+ var ret = value.inspect(recurseTimes, ctx);
216
+ if (!isString(ret)) {
217
+ ret = formatValue(ctx, ret, recurseTimes);
218
+ }
219
+ return ret;
220
+ }
221
+
222
+ // Primitive types cannot have properties
223
+ var primitive = formatPrimitive(ctx, value);
224
+ if (primitive) {
225
+ return primitive;
226
+ }
227
+
228
+ // Look up the keys of the object.
229
+ var keys = Object.keys(value);
230
+ var visibleKeys = arrayToHash(keys);
231
+
232
+ if (ctx.showHidden) {
233
+ keys = Object.getOwnPropertyNames(value);
234
+ }
235
+
236
+ // IE doesn't make error fields non-enumerable
237
+ // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx
238
+ if (isError(value)
239
+ && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {
240
+ return formatError(value);
241
+ }
242
+
243
+ // Some type of object without properties can be shortcutted.
244
+ if (keys.length === 0) {
245
+ if (isFunction(value)) {
246
+ var name = value.name ? ': ' + value.name : '';
247
+ return ctx.stylize('[Function' + name + ']', 'special');
248
+ }
249
+ if (isRegExp(value)) {
250
+ return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
251
+ }
252
+ if (isDate(value)) {
253
+ return ctx.stylize(Date.prototype.toString.call(value), 'date');
254
+ }
255
+ if (isError(value)) {
256
+ return formatError(value);
257
+ }
258
+ }
259
+
260
+ var base = '', array = false, braces = ['{', '}'];
261
+
262
+ // Make Array say that they are Array
263
+ if (isArray(value)) {
264
+ array = true;
265
+ braces = ['[', ']'];
266
+ }
267
+
268
+ // Make functions say that they are functions
269
+ if (isFunction(value)) {
270
+ var n = value.name ? ': ' + value.name : '';
271
+ base = ' [Function' + n + ']';
272
+ }
273
+
274
+ // Make RegExps say that they are RegExps
275
+ if (isRegExp(value)) {
276
+ base = ' ' + RegExp.prototype.toString.call(value);
277
+ }
278
+
279
+ // Make dates with properties first say the date
280
+ if (isDate(value)) {
281
+ base = ' ' + Date.prototype.toUTCString.call(value);
282
+ }
283
+
284
+ // Make error with message first say the error
285
+ if (isError(value)) {
286
+ base = ' ' + formatError(value);
287
+ }
288
+
289
+ if (keys.length === 0 && (!array || value.length == 0)) {
290
+ return braces[0] + base + braces[1];
291
+ }
292
+
293
+ if (recurseTimes < 0) {
294
+ if (isRegExp(value)) {
295
+ return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
296
+ } else {
297
+ return ctx.stylize('[Object]', 'special');
298
+ }
299
+ }
300
+
301
+ ctx.seen.push(value);
302
+
303
+ var output;
304
+ if (array) {
305
+ output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
306
+ } else {
307
+ output = keys.map(function(key) {
308
+ return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
309
+ });
310
+ }
311
+
312
+ ctx.seen.pop();
313
+
314
+ return reduceToSingleString(output, base, braces);
315
+ }
316
+
317
+
318
+ function formatPrimitive(ctx, value) {
319
+ if (isUndefined(value))
320
+ return ctx.stylize('undefined', 'undefined');
321
+ if (isString(value)) {
322
+ var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '')
323
+ .replace(/'/g, "\\'")
324
+ .replace(/\\"/g, '"') + '\'';
325
+ return ctx.stylize(simple, 'string');
326
+ }
327
+ if (isNumber(value))
328
+ return ctx.stylize('' + value, 'number');
329
+ if (isBoolean(value))
330
+ return ctx.stylize('' + value, 'boolean');
331
+ // For some reason typeof null is "object", so special case here.
332
+ if (isNull(value))
333
+ return ctx.stylize('null', 'null');
334
+ }
335
+
336
+
337
+ function formatError(value) {
338
+ return '[' + Error.prototype.toString.call(value) + ']';
339
+ }
340
+
341
+
342
+ function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
343
+ var output = [];
344
+ for (var i = 0, l = value.length; i < l; ++i) {
345
+ if (hasOwnProperty(value, String(i))) {
346
+ output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
347
+ String(i), true));
348
+ } else {
349
+ output.push('');
350
+ }
351
+ }
352
+ keys.forEach(function(key) {
353
+ if (!key.match(/^\d+$/)) {
354
+ output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
355
+ key, true));
356
+ }
357
+ });
358
+ return output;
359
+ }
360
+
361
+
362
+ function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
363
+ var name, str, desc;
364
+ desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };
365
+ if (desc.get) {
366
+ if (desc.set) {
367
+ str = ctx.stylize('[Getter/Setter]', 'special');
368
+ } else {
369
+ str = ctx.stylize('[Getter]', 'special');
370
+ }
371
+ } else {
372
+ if (desc.set) {
373
+ str = ctx.stylize('[Setter]', 'special');
374
+ }
375
+ }
376
+ if (!hasOwnProperty(visibleKeys, key)) {
377
+ name = '[' + key + ']';
378
+ }
379
+ if (!str) {
380
+ if (ctx.seen.indexOf(desc.value) < 0) {
381
+ if (isNull(recurseTimes)) {
382
+ str = formatValue(ctx, desc.value, null);
383
+ } else {
384
+ str = formatValue(ctx, desc.value, recurseTimes - 1);
385
+ }
386
+ if (str.indexOf('\n') > -1) {
387
+ if (array) {
388
+ str = str.split('\n').map(function(line) {
389
+ return ' ' + line;
390
+ }).join('\n').substr(2);
391
+ } else {
392
+ str = '\n' + str.split('\n').map(function(line) {
393
+ return ' ' + line;
394
+ }).join('\n');
395
+ }
396
+ }
397
+ } else {
398
+ str = ctx.stylize('[Circular]', 'special');
399
+ }
400
+ }
401
+ if (isUndefined(name)) {
402
+ if (array && key.match(/^\d+$/)) {
403
+ return str;
404
+ }
405
+ name = JSON.stringify('' + key);
406
+ if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
407
+ name = name.substr(1, name.length - 2);
408
+ name = ctx.stylize(name, 'name');
409
+ } else {
410
+ name = name.replace(/'/g, "\\'")
411
+ .replace(/\\"/g, '"')
412
+ .replace(/(^"|"$)/g, "'");
413
+ name = ctx.stylize(name, 'string');
414
+ }
415
+ }
416
+
417
+ return name + ': ' + str;
418
+ }
419
+
420
+
421
+ function reduceToSingleString(output, base, braces) {
422
+ var length = output.reduce(function(prev, cur) {
423
+ if (cur.indexOf('\n') >= 0) ;
424
+ return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1;
425
+ }, 0);
426
+
427
+ if (length > 60) {
428
+ return braces[0] +
429
+ (base === '' ? '' : base + '\n ') +
430
+ ' ' +
431
+ output.join(',\n ') +
432
+ ' ' +
433
+ braces[1];
434
+ }
435
+
436
+ return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];
437
+ }
438
+
439
+
440
+ // NOTE: These type checking functions intentionally don't use `instanceof`
441
+ // because it is fragile and can be easily faked with `Object.create()`.
442
+ function isArray(ar) {
443
+ return Array.isArray(ar);
444
+ }
445
+
446
+ function isBoolean(arg) {
447
+ return typeof arg === 'boolean';
448
+ }
449
+
450
+ function isNull(arg) {
451
+ return arg === null;
452
+ }
453
+
454
+ function isNullOrUndefined(arg) {
455
+ return arg == null;
456
+ }
457
+
458
+ function isNumber(arg) {
459
+ return typeof arg === 'number';
460
+ }
461
+
462
+ function isString(arg) {
463
+ return typeof arg === 'string';
464
+ }
465
+
466
+ function isSymbol(arg) {
467
+ return typeof arg === 'symbol';
468
+ }
469
+
470
+ function isUndefined(arg) {
471
+ return arg === void 0;
472
+ }
473
+
474
+ function isRegExp(re) {
475
+ return isObject(re) && objectToString(re) === '[object RegExp]';
476
+ }
477
+
478
+ function isObject(arg) {
479
+ return typeof arg === 'object' && arg !== null;
480
+ }
481
+
482
+ function isDate(d) {
483
+ return isObject(d) && objectToString(d) === '[object Date]';
484
+ }
485
+
486
+ function isError(e) {
487
+ return isObject(e) &&
488
+ (objectToString(e) === '[object Error]' || e instanceof Error);
489
+ }
490
+
491
+ function isFunction(arg) {
492
+ return typeof arg === 'function';
493
+ }
494
+
495
+ function isPrimitive(arg) {
496
+ return arg === null ||
497
+ typeof arg === 'boolean' ||
498
+ typeof arg === 'number' ||
499
+ typeof arg === 'string' ||
500
+ typeof arg === 'symbol' || // ES6 symbol
501
+ typeof arg === 'undefined';
502
+ }
503
+
504
+ function isBuffer(maybeBuf) {
505
+ return Buffer.isBuffer(maybeBuf);
506
+ }
507
+
508
+ function objectToString(o) {
509
+ return Object.prototype.toString.call(o);
510
+ }
511
+
512
+
513
+ function pad(n) {
514
+ return n < 10 ? '0' + n.toString(10) : n.toString(10);
515
+ }
516
+
517
+
518
+ var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',
519
+ 'Oct', 'Nov', 'Dec'];
520
+
521
+ // 26 Feb 16:19:34
522
+ function timestamp() {
523
+ var d = new Date();
524
+ var time = [pad(d.getHours()),
525
+ pad(d.getMinutes()),
526
+ pad(d.getSeconds())].join(':');
527
+ return [d.getDate(), months[d.getMonth()], time].join(' ');
528
+ }
529
+
530
+
531
+ // log is just a thin wrapper to console.log that prepends a timestamp
532
+ function log() {
533
+ console.log('%s - %s', timestamp(), format.apply(null, arguments));
534
+ }
535
+
536
+ function _extend(origin, add) {
537
+ // Don't do anything if add isn't an object
538
+ if (!add || !isObject(add)) return origin;
539
+
540
+ var keys = Object.keys(add);
541
+ var i = keys.length;
542
+ while (i--) {
543
+ origin[keys[i]] = add[keys[i]];
544
+ }
545
+ return origin;
546
+ }
547
+ function hasOwnProperty(obj, prop) {
548
+ return Object.prototype.hasOwnProperty.call(obj, prop);
549
+ }
550
+
551
+ var util = {
552
+ inherits: inherits$1,
553
+ _extend: _extend,
554
+ log: log,
555
+ isBuffer: isBuffer,
556
+ isPrimitive: isPrimitive,
557
+ isFunction: isFunction,
558
+ isError: isError,
559
+ isDate: isDate,
560
+ isObject: isObject,
561
+ isRegExp: isRegExp,
562
+ isUndefined: isUndefined,
563
+ isSymbol: isSymbol,
564
+ isString: isString,
565
+ isNumber: isNumber,
566
+ isNullOrUndefined: isNullOrUndefined,
567
+ isNull: isNull,
568
+ isBoolean: isBoolean,
569
+ isArray: isArray,
570
+ inspect: inspect,
571
+ deprecate: deprecate,
572
+ format: format,
573
+ debuglog: debuglog
574
+ };
575
+
576
+ exports.util = util;
@@ -1,15 +1,17 @@
1
1
  'use strict';
2
2
 
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
3
  var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
6
4
  var React = require('react');
7
- var React__default = _interopDefault(React);
8
- var ReactDOM = _interopDefault(require('react-dom'));
5
+ var ReactDOM = require('react-dom');
6
+
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
10
+ var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
9
11
 
10
12
  var visibilitySensor = _commonjsHelpers.createCommonjsModule(function (module, exports) {
11
13
  (function webpackUniversalModuleDefinition(root, factory) {
12
- module.exports = factory(React__default, ReactDOM);
14
+ module.exports = factory(React__default['default'], ReactDOM__default['default']);
13
15
  })(_commonjsHelpers.commonjsGlobal, function(__WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) {
14
16
  return /******/ (function(modules) { // webpackBootstrap
15
17
  /******/ // The module cache
package/dist/esm/AD.js CHANGED
@@ -1,24 +1,24 @@
1
- import React__default, { Suspense } from 'react';
1
+ import React, { Suspense } from 'react';
2
2
 
3
- var Dfp = React__default.lazy(function () {
4
- return import('./Dfp-b7236041.js');
3
+ var Dfp = React.lazy(function () {
4
+ return import('./Dfp-2f9796e1.js');
5
5
  });
6
6
 
7
7
  var AD = function AD(props) {
8
8
  if (typeof window === 'undefined') {
9
9
  return null;
10
10
  }
11
- return React__default.createElement(
11
+ return React.createElement(
12
12
  'div',
13
13
  null,
14
- React__default.createElement(
14
+ React.createElement(
15
15
  Suspense,
16
- { fallback: React__default.createElement(
16
+ { fallback: React.createElement(
17
17
  'div',
18
18
  null,
19
19
  'Loading...'
20
20
  ) },
21
- React__default.createElement(Dfp, props)
21
+ React.createElement(Dfp, props)
22
22
  )
23
23
  );
24
24
  };
@@ -7,14 +7,14 @@ import './core.get-iterator-method-e1de7503.js';
7
7
  import './_object-pie-33c40e79.js';
8
8
  import './extends-6f2fcc99.js';
9
9
  import './web.dom.iterable-4439f05a.js';
10
- import React__default, { useState, useEffect } from 'react';
10
+ import React, { useState, useEffect } from 'react';
11
11
  import './events-6c3a7a63.js';
12
- import './index-41a678ea.js';
12
+ import './index-f7fb1e25.js';
13
13
  import 'prop-types';
14
14
  import './isSymbol-1981418f.js';
15
15
  import './debounce-9207d8ee.js';
16
16
  import './toNumber-2f7a84cd.js';
17
- import { m as main_36 } from './main-e4a934b2.js';
17
+ import { m as main_40 } from './main-747e7d25.js';
18
18
  import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
19
19
  import './stringify-4330ccdc.js';
20
20
  import './asyncToGenerator-fc1c2e29.js';
@@ -34,7 +34,7 @@ var AD300x250 = function AD300x250(_ref) {
34
34
  pos = _ref$pos === undefined ? 'rec1' : _ref$pos;
35
35
 
36
36
  var mobileView = false;
37
- if (main_36) {
37
+ if (main_40) {
38
38
  pos = 'rec1-mobile';
39
39
  mobileView = true;
40
40
  }
@@ -67,10 +67,10 @@ var AD300x250 = function AD300x250(_ref) {
67
67
  var browserSizes = [[300, 600], [300, 250], [300, 100]];
68
68
  var mobileSizes = [[300, 250], [300, 100]];
69
69
 
70
- return React__default.createElement(
70
+ return React.createElement(
71
71
  'div',
72
72
  null,
73
- React__default.createElement(DFPAdSlot, {
73
+ React.createElement(DFPAdSlot, {
74
74
  networkID: networkID,
75
75
  adUnit: adUnit,
76
76
  slotId: slotId,
@@ -81,7 +81,7 @@ var AD300x250 = function AD300x250(_ref) {
81
81
  // checkIsAdFound={previewAd ? null : checkIsAdFound}
82
82
  // style={{ display: 'none' }}
83
83
  }),
84
- React__default.createElement(
84
+ React.createElement(
85
85
  'style',
86
86
  { jsx: 'true' },
87
87
  '\n .AD300x250 .div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '