@mjhls/mjh-framework 1.0.1055 → 1.0.1058

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 (178) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD300x250.js +1 -1
  3. package/dist/cjs/AD300x250x600.js +1 -1
  4. package/dist/cjs/AD728x90.js +1 -1
  5. package/dist/cjs/ADFloatingFooter.js +1 -1
  6. package/dist/cjs/ADGutter.js +1 -1
  7. package/dist/cjs/{ADInfeed-98ee4120.js → ADInfeed-0519664d.js} +1 -1
  8. package/dist/cjs/ADSkyscraper.js +1 -1
  9. package/dist/cjs/ADSponsoredResources.js +1 -1
  10. package/dist/cjs/ADWebcast.js +1 -1
  11. package/dist/cjs/ADWelcome.js +1 -1
  12. package/dist/cjs/{ADlgInfeed-55df7d69.js → ADlgInfeed-e544ac1c.js} +1 -1
  13. package/dist/cjs/AdSlot.js +1 -1
  14. package/dist/cjs/AdSlotsProvider.js +1 -1
  15. package/dist/cjs/AlgoliaSearch.js +23 -27
  16. package/dist/cjs/ArticleCarousel.js +1 -1
  17. package/dist/cjs/ArticleProgramLandingPage.js +3 -4
  18. package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
  19. package/dist/cjs/ArticleSeriesListing.js +1 -1
  20. package/dist/cjs/AuthWrapper.js +294 -1546
  21. package/dist/cjs/CEDeckSupabase.js +2 -2
  22. package/dist/cjs/CMEDeck.js +1 -1
  23. package/dist/cjs/Column3.js +1 -1
  24. package/dist/cjs/ConferenceArticleCard.js +15 -15
  25. package/dist/cjs/ContentCardPaginated.js +3 -3
  26. package/dist/cjs/DeckContent.js +11 -11
  27. package/dist/cjs/DeckQueue.js +2 -2
  28. package/dist/cjs/DeckQueuePaginated.js +2 -2
  29. package/dist/cjs/EventsDeck.js +18 -18
  30. package/dist/cjs/ExternalResources.js +3 -4
  31. package/dist/cjs/Feature.js +1 -1
  32. package/dist/cjs/GridContent.js +4 -4
  33. package/dist/cjs/GridContentPaginated.js +4 -4
  34. package/dist/cjs/GridHero.js +1 -1
  35. package/dist/cjs/HamMagazine.js +11 -11
  36. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  37. package/dist/cjs/Hero.js +1 -1
  38. package/dist/cjs/HorizontalArticleListing.js +3 -4
  39. package/dist/cjs/{ImageSlider-d65bc9c8.js → ImageSlider-62a43659.js} +123 -106
  40. package/dist/cjs/IssueLanding.js +34 -35
  41. package/dist/cjs/KMTracker.js +15 -15
  42. package/dist/cjs/LeftNav.js +1 -1
  43. package/dist/cjs/MasterDeck.js +11 -11
  44. package/dist/cjs/MasterDeckPaginated.js +11 -11
  45. package/dist/cjs/{MediaSeriesCard-e54b0b0c.js → MediaSeriesCard-3cf661c7.js} +2 -2
  46. package/dist/cjs/MediaSeriesLanding.js +13 -14
  47. package/dist/cjs/MediaSeriesLandingPaginated.js +13 -14
  48. package/dist/cjs/NavMagazine.js +12 -12
  49. package/dist/cjs/NavNative.js +10 -10
  50. package/dist/cjs/OncliveLargeHero.js +1 -1
  51. package/dist/cjs/PartnerDetailListing.js +6 -7
  52. package/dist/cjs/PartnerDetailListingPaginated.js +6 -7
  53. package/dist/cjs/PodcastsLanding.js +6 -7
  54. package/dist/cjs/PubSection.js +4 -4
  55. package/dist/cjs/PublicationLanding.js +26 -26
  56. package/dist/cjs/QueueDeckExpanded.js +4 -4
  57. package/dist/cjs/QueueDeckExpandedPaginated.js +4 -4
  58. package/dist/cjs/RelatedContent.js +28 -28
  59. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  60. package/dist/cjs/SeriesListingDeck.js +2 -2
  61. package/dist/cjs/{SeriesSlider-086a8319.js → SeriesSlider-edcb8e4b.js} +5 -5
  62. package/dist/cjs/SideFooter.js +2 -2
  63. package/dist/cjs/{SocialSearchComponent-d7e5d3a6.js → SocialSearchComponent-e9ec9c63.js} +1 -1
  64. package/dist/cjs/TaxonomyDescription.js +3 -4
  65. package/dist/cjs/TemplateNormal.js +2 -2
  66. package/dist/cjs/ThumbnailCard.js +1 -1
  67. package/dist/cjs/{Tooltip-02a841b5.js → Tooltip-980a1d1a.js} +140 -348
  68. package/dist/cjs/Ustream.js +1 -1
  69. package/dist/cjs/VideoProgramLandingPage.js +3 -4
  70. package/dist/cjs/VideoSeriesCard.js +1 -1
  71. package/dist/cjs/VideoSeriesLandingPage.js +3 -3
  72. package/dist/cjs/VideoSeriesListing.js +1 -1
  73. package/dist/cjs/View.js +7 -9
  74. package/dist/cjs/YahooHero.js +1 -1
  75. package/dist/cjs/YoutubeGroup.js +5 -5
  76. package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
  77. package/dist/cjs/faundadb.js +321 -4
  78. package/dist/cjs/getRelatedArticle.js +211 -6
  79. package/dist/cjs/getSerializers.js +3 -4
  80. package/dist/cjs/{getTargeting-5b954783.js → getTargeting-45ffbee8.js} +9 -9
  81. package/dist/cjs/getTargeting.js +1 -1
  82. package/dist/cjs/{index-9ec837cc.js → index-8041a4eb.js} +10 -0
  83. package/dist/cjs/{index-40a8d091.js → index-c19999b7.js} +605 -19
  84. package/dist/cjs/index.js +10 -18
  85. package/dist/cjs/{main-ae8472f3.js → main-47be4f9f.js} +9 -4
  86. package/dist/esm/AD300x250.js +1 -1
  87. package/dist/esm/AD300x250x600.js +1 -1
  88. package/dist/esm/AD728x90.js +1 -1
  89. package/dist/esm/ADFloatingFooter.js +1 -1
  90. package/dist/esm/ADGutter.js +1 -1
  91. package/dist/esm/{ADInfeed-6d0c0856.js → ADInfeed-c3f5613e.js} +1 -1
  92. package/dist/esm/ADSkyscraper.js +1 -1
  93. package/dist/esm/ADSponsoredResources.js +1 -1
  94. package/dist/esm/ADWebcast.js +1 -1
  95. package/dist/esm/ADWelcome.js +1 -1
  96. package/dist/esm/{ADlgInfeed-93bc2250.js → ADlgInfeed-2b148f3f.js} +1 -1
  97. package/dist/esm/AdSlot.js +1 -1
  98. package/dist/esm/AdSlotsProvider.js +1 -1
  99. package/dist/esm/AlgoliaSearch.js +22 -26
  100. package/dist/esm/ArticleCarousel.js +1 -1
  101. package/dist/esm/ArticleProgramLandingPage.js +3 -4
  102. package/dist/esm/ArticleSeriesLandingPage.js +3 -3
  103. package/dist/esm/ArticleSeriesListing.js +1 -1
  104. package/dist/esm/AuthWrapper.js +288 -1540
  105. package/dist/esm/CEDeckSupabase.js +2 -2
  106. package/dist/esm/CMEDeck.js +1 -1
  107. package/dist/esm/Column3.js +1 -1
  108. package/dist/esm/ConferenceArticleCard.js +15 -15
  109. package/dist/esm/ContentCardPaginated.js +3 -3
  110. package/dist/esm/DeckContent.js +11 -11
  111. package/dist/esm/DeckQueue.js +2 -2
  112. package/dist/esm/DeckQueuePaginated.js +2 -2
  113. package/dist/esm/EventsDeck.js +18 -18
  114. package/dist/esm/ExternalResources.js +3 -4
  115. package/dist/esm/Feature.js +1 -1
  116. package/dist/esm/GridContent.js +4 -4
  117. package/dist/esm/GridContentPaginated.js +4 -4
  118. package/dist/esm/GridHero.js +1 -1
  119. package/dist/esm/HamMagazine.js +11 -11
  120. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  121. package/dist/esm/Hero.js +1 -1
  122. package/dist/esm/HorizontalArticleListing.js +3 -4
  123. package/dist/esm/{ImageSlider-da225417.js → ImageSlider-aea3a615.js} +124 -107
  124. package/dist/esm/IssueLanding.js +34 -35
  125. package/dist/esm/KMTracker.js +15 -15
  126. package/dist/esm/LeftNav.js +1 -1
  127. package/dist/esm/MasterDeck.js +11 -11
  128. package/dist/esm/MasterDeckPaginated.js +11 -11
  129. package/dist/esm/{MediaSeriesCard-3906e9ad.js → MediaSeriesCard-52a2e1ca.js} +2 -2
  130. package/dist/esm/MediaSeriesLanding.js +13 -14
  131. package/dist/esm/MediaSeriesLandingPaginated.js +13 -14
  132. package/dist/esm/NavMagazine.js +12 -12
  133. package/dist/esm/NavNative.js +10 -10
  134. package/dist/esm/OncliveLargeHero.js +1 -1
  135. package/dist/esm/PartnerDetailListing.js +6 -7
  136. package/dist/esm/PartnerDetailListingPaginated.js +6 -7
  137. package/dist/esm/PodcastsLanding.js +6 -7
  138. package/dist/esm/PubSection.js +4 -4
  139. package/dist/esm/PublicationLanding.js +26 -26
  140. package/dist/esm/QueueDeckExpanded.js +4 -4
  141. package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
  142. package/dist/esm/RelatedContent.js +28 -28
  143. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  144. package/dist/esm/SeriesListingDeck.js +2 -2
  145. package/dist/esm/{SeriesSlider-a6b1d617.js → SeriesSlider-2e83e861.js} +5 -5
  146. package/dist/esm/SideFooter.js +2 -2
  147. package/dist/esm/{SocialSearchComponent-6065bff2.js → SocialSearchComponent-020f9e81.js} +1 -1
  148. package/dist/esm/TaxonomyDescription.js +3 -4
  149. package/dist/esm/TemplateNormal.js +2 -2
  150. package/dist/esm/ThumbnailCard.js +1 -1
  151. package/dist/esm/{Tooltip-7a093cd4.js → Tooltip-51957f7c.js} +298 -506
  152. package/dist/esm/Ustream.js +1 -1
  153. package/dist/esm/VideoProgramLandingPage.js +3 -4
  154. package/dist/esm/VideoSeriesCard.js +1 -1
  155. package/dist/esm/VideoSeriesLandingPage.js +3 -3
  156. package/dist/esm/VideoSeriesListing.js +1 -1
  157. package/dist/esm/View.js +7 -9
  158. package/dist/esm/YahooHero.js +1 -1
  159. package/dist/esm/YoutubeGroup.js +5 -5
  160. package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
  161. package/dist/esm/faundadb.js +319 -2
  162. package/dist/esm/getRelatedArticle.js +206 -1
  163. package/dist/esm/getSerializers.js +3 -4
  164. package/dist/esm/{getTargeting-5a281334.js → getTargeting-a569a9cc.js} +9 -9
  165. package/dist/esm/getTargeting.js +1 -1
  166. package/dist/esm/{index-718f95b2.js → index-588abaff.js} +595 -9
  167. package/dist/esm/{index-0ce54f8a.js → index-67e1773f.js} +10 -1
  168. package/dist/esm/index.js +10 -17
  169. package/dist/esm/{main-754d4992.js → main-f97773b2.js} +9 -4
  170. package/package.json +116 -116
  171. package/dist/cjs/Auth.js +0 -3682
  172. package/dist/cjs/index-bd6c9f56.js +0 -211
  173. package/dist/cjs/md5-e1ca5797.js +0 -323
  174. package/dist/cjs/util-93a37fd0.js +0 -587
  175. package/dist/esm/Auth.js +0 -3661
  176. package/dist/esm/index-db3bb315.js +0 -207
  177. package/dist/esm/md5-4e42248e.js +0 -321
  178. package/dist/esm/util-8ed16d48.js +0 -585
@@ -9,10 +9,9 @@ var Router = require('next/router');
9
9
  var index$1 = require('./index-187c967e.js');
10
10
  var PropTypes = require('prop-types');
11
11
  var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
12
- var util = require('./util-93a37fd0.js');
13
12
  require('./Beam.js');
14
13
  var Segment = require('./Segment.js');
15
- var main = require('./main-ae8472f3.js');
14
+ var main = require('./main-47be4f9f.js');
16
15
  var BlockContent = require('./BlockContent-96b44364.js');
17
16
  var _extends = require('./extends-be0d85bc.js');
18
17
  var urlForFile = require('./urlForFile-5084fc48.js');
@@ -33,12 +32,12 @@ var moment = require('./moment-aca40de1.js');
33
32
  var SocialShare = require('./SocialShare.js');
34
33
  var toConsumableArray = require('./toConsumableArray-d7797c2b.js');
35
34
  var Pagination = require('react-bootstrap/Pagination');
36
- var entities = require('./entities-df1aed86.js');
35
+ var entities = require('./entities-3f9d0f2f.js');
37
36
  var AdSlot = require('./AdSlot.js');
38
37
  var Row = require('react-bootstrap/Row');
39
38
  var Col = require('react-bootstrap/Col');
40
39
  var Head = require('next/head');
41
- var inherits = require('./inherits-e47b5342.js');
40
+ var inherits$2 = require('./inherits-e47b5342.js');
42
41
  var index_esm = require('./index.esm-d81454e7.js');
43
42
  var Figure$1 = require('react-bootstrap/Figure');
44
43
  var OverlayTrigger = require('react-bootstrap/OverlayTrigger');
@@ -932,6 +931,590 @@ var tty = {
932
931
  WriteStream: WriteStream
933
932
  };
934
933
 
934
+ // shim for using process in browser
935
+
936
+ // from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js
937
+ var performance = global.performance || {};
938
+ performance.now ||
939
+ performance.mozNow ||
940
+ performance.msNow ||
941
+ performance.oNow ||
942
+ performance.webkitNow ||
943
+ function(){ return (new Date()).getTime() };
944
+
945
+ var inherits;
946
+ if (typeof Object.create === 'function'){
947
+ inherits = function inherits(ctor, superCtor) {
948
+ // implementation from standard node.js 'util' module
949
+ ctor.super_ = superCtor;
950
+ ctor.prototype = Object.create(superCtor.prototype, {
951
+ constructor: {
952
+ value: ctor,
953
+ enumerable: false,
954
+ writable: true,
955
+ configurable: true
956
+ }
957
+ });
958
+ };
959
+ } else {
960
+ inherits = function inherits(ctor, superCtor) {
961
+ ctor.super_ = superCtor;
962
+ var TempCtor = function () {};
963
+ TempCtor.prototype = superCtor.prototype;
964
+ ctor.prototype = new TempCtor();
965
+ ctor.prototype.constructor = ctor;
966
+ };
967
+ }
968
+ var inherits$1 = inherits;
969
+
970
+ // Copyright Joyent, Inc. and other Node contributors.
971
+ var formatRegExp = /%[sdj%]/g;
972
+ function format(f) {
973
+ if (!isString(f)) {
974
+ var objects = [];
975
+ for (var i = 0; i < arguments.length; i++) {
976
+ objects.push(inspect(arguments[i]));
977
+ }
978
+ return objects.join(' ');
979
+ }
980
+
981
+ var i = 1;
982
+ var args = arguments;
983
+ var len = args.length;
984
+ var str = String(f).replace(formatRegExp, function(x) {
985
+ if (x === '%%') return '%';
986
+ if (i >= len) return x;
987
+ switch (x) {
988
+ case '%s': return String(args[i++]);
989
+ case '%d': return Number(args[i++]);
990
+ case '%j':
991
+ try {
992
+ return JSON.stringify(args[i++]);
993
+ } catch (_) {
994
+ return '[Circular]';
995
+ }
996
+ default:
997
+ return x;
998
+ }
999
+ });
1000
+ for (var x = args[i]; i < len; x = args[++i]) {
1001
+ if (isNull(x) || !isObject(x)) {
1002
+ str += ' ' + x;
1003
+ } else {
1004
+ str += ' ' + inspect(x);
1005
+ }
1006
+ }
1007
+ return str;
1008
+ }
1009
+
1010
+ // Mark that a method should not be used.
1011
+ // Returns a modified function which warns once by default.
1012
+ // If --no-deprecation is set, then it is a no-op.
1013
+ function deprecate(fn, msg) {
1014
+ // Allow for deprecating things in the process of starting up.
1015
+ if (isUndefined(global.process)) {
1016
+ return function() {
1017
+ return deprecate(fn, msg).apply(this, arguments);
1018
+ };
1019
+ }
1020
+
1021
+ var warned = false;
1022
+ function deprecated() {
1023
+ if (!warned) {
1024
+ {
1025
+ console.error(msg);
1026
+ }
1027
+ warned = true;
1028
+ }
1029
+ return fn.apply(this, arguments);
1030
+ }
1031
+
1032
+ return deprecated;
1033
+ }
1034
+
1035
+ var debugs = {};
1036
+ var debugEnviron;
1037
+ function debuglog(set) {
1038
+ if (isUndefined(debugEnviron))
1039
+ debugEnviron = '';
1040
+ set = set.toUpperCase();
1041
+ if (!debugs[set]) {
1042
+ if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
1043
+ var pid = 0;
1044
+ debugs[set] = function() {
1045
+ var msg = format.apply(null, arguments);
1046
+ console.error('%s %d: %s', set, pid, msg);
1047
+ };
1048
+ } else {
1049
+ debugs[set] = function() {};
1050
+ }
1051
+ }
1052
+ return debugs[set];
1053
+ }
1054
+
1055
+ /**
1056
+ * Echos the value of a value. Trys to print the value out
1057
+ * in the best way possible given the different types.
1058
+ *
1059
+ * @param {Object} obj The object to print out.
1060
+ * @param {Object} opts Optional options object that alters the output.
1061
+ */
1062
+ /* legacy: obj, showHidden, depth, colors*/
1063
+ function inspect(obj, opts) {
1064
+ // default options
1065
+ var ctx = {
1066
+ seen: [],
1067
+ stylize: stylizeNoColor
1068
+ };
1069
+ // legacy...
1070
+ if (arguments.length >= 3) ctx.depth = arguments[2];
1071
+ if (arguments.length >= 4) ctx.colors = arguments[3];
1072
+ if (isBoolean(opts)) {
1073
+ // legacy...
1074
+ ctx.showHidden = opts;
1075
+ } else if (opts) {
1076
+ // got an "options" object
1077
+ _extend(ctx, opts);
1078
+ }
1079
+ // set default options
1080
+ if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
1081
+ if (isUndefined(ctx.depth)) ctx.depth = 2;
1082
+ if (isUndefined(ctx.colors)) ctx.colors = false;
1083
+ if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
1084
+ if (ctx.colors) ctx.stylize = stylizeWithColor;
1085
+ return formatValue(ctx, obj, ctx.depth);
1086
+ }
1087
+
1088
+ // http://en.wikipedia.org/wiki/ANSI_escape_code#graphics
1089
+ inspect.colors = {
1090
+ 'bold' : [1, 22],
1091
+ 'italic' : [3, 23],
1092
+ 'underline' : [4, 24],
1093
+ 'inverse' : [7, 27],
1094
+ 'white' : [37, 39],
1095
+ 'grey' : [90, 39],
1096
+ 'black' : [30, 39],
1097
+ 'blue' : [34, 39],
1098
+ 'cyan' : [36, 39],
1099
+ 'green' : [32, 39],
1100
+ 'magenta' : [35, 39],
1101
+ 'red' : [31, 39],
1102
+ 'yellow' : [33, 39]
1103
+ };
1104
+
1105
+ // Don't use 'blue' not visible on cmd.exe
1106
+ inspect.styles = {
1107
+ 'special': 'cyan',
1108
+ 'number': 'yellow',
1109
+ 'boolean': 'yellow',
1110
+ 'undefined': 'grey',
1111
+ 'null': 'bold',
1112
+ 'string': 'green',
1113
+ 'date': 'magenta',
1114
+ // "name": intentionally not styling
1115
+ 'regexp': 'red'
1116
+ };
1117
+
1118
+
1119
+ function stylizeWithColor(str, styleType) {
1120
+ var style = inspect.styles[styleType];
1121
+
1122
+ if (style) {
1123
+ return '\u001b[' + inspect.colors[style][0] + 'm' + str +
1124
+ '\u001b[' + inspect.colors[style][1] + 'm';
1125
+ } else {
1126
+ return str;
1127
+ }
1128
+ }
1129
+
1130
+
1131
+ function stylizeNoColor(str, styleType) {
1132
+ return str;
1133
+ }
1134
+
1135
+
1136
+ function arrayToHash(array) {
1137
+ var hash = {};
1138
+
1139
+ array.forEach(function(val, idx) {
1140
+ hash[val] = true;
1141
+ });
1142
+
1143
+ return hash;
1144
+ }
1145
+
1146
+
1147
+ function formatValue(ctx, value, recurseTimes) {
1148
+ // Provide a hook for user-specified inspect functions.
1149
+ // Check that value is an object with an inspect function on it
1150
+ if (ctx.customInspect &&
1151
+ value &&
1152
+ isFunction(value.inspect) &&
1153
+ // Filter out the util module, it's inspect function is special
1154
+ value.inspect !== inspect &&
1155
+ // Also filter out any prototype objects using the circular check.
1156
+ !(value.constructor && value.constructor.prototype === value)) {
1157
+ var ret = value.inspect(recurseTimes, ctx);
1158
+ if (!isString(ret)) {
1159
+ ret = formatValue(ctx, ret, recurseTimes);
1160
+ }
1161
+ return ret;
1162
+ }
1163
+
1164
+ // Primitive types cannot have properties
1165
+ var primitive = formatPrimitive(ctx, value);
1166
+ if (primitive) {
1167
+ return primitive;
1168
+ }
1169
+
1170
+ // Look up the keys of the object.
1171
+ var keys = Object.keys(value);
1172
+ var visibleKeys = arrayToHash(keys);
1173
+
1174
+ if (ctx.showHidden) {
1175
+ keys = Object.getOwnPropertyNames(value);
1176
+ }
1177
+
1178
+ // IE doesn't make error fields non-enumerable
1179
+ // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx
1180
+ if (isError(value)
1181
+ && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {
1182
+ return formatError(value);
1183
+ }
1184
+
1185
+ // Some type of object without properties can be shortcutted.
1186
+ if (keys.length === 0) {
1187
+ if (isFunction(value)) {
1188
+ var name = value.name ? ': ' + value.name : '';
1189
+ return ctx.stylize('[Function' + name + ']', 'special');
1190
+ }
1191
+ if (isRegExp(value)) {
1192
+ return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
1193
+ }
1194
+ if (isDate(value)) {
1195
+ return ctx.stylize(Date.prototype.toString.call(value), 'date');
1196
+ }
1197
+ if (isError(value)) {
1198
+ return formatError(value);
1199
+ }
1200
+ }
1201
+
1202
+ var base = '', array = false, braces = ['{', '}'];
1203
+
1204
+ // Make Array say that they are Array
1205
+ if (isArray(value)) {
1206
+ array = true;
1207
+ braces = ['[', ']'];
1208
+ }
1209
+
1210
+ // Make functions say that they are functions
1211
+ if (isFunction(value)) {
1212
+ var n = value.name ? ': ' + value.name : '';
1213
+ base = ' [Function' + n + ']';
1214
+ }
1215
+
1216
+ // Make RegExps say that they are RegExps
1217
+ if (isRegExp(value)) {
1218
+ base = ' ' + RegExp.prototype.toString.call(value);
1219
+ }
1220
+
1221
+ // Make dates with properties first say the date
1222
+ if (isDate(value)) {
1223
+ base = ' ' + Date.prototype.toUTCString.call(value);
1224
+ }
1225
+
1226
+ // Make error with message first say the error
1227
+ if (isError(value)) {
1228
+ base = ' ' + formatError(value);
1229
+ }
1230
+
1231
+ if (keys.length === 0 && (!array || value.length == 0)) {
1232
+ return braces[0] + base + braces[1];
1233
+ }
1234
+
1235
+ if (recurseTimes < 0) {
1236
+ if (isRegExp(value)) {
1237
+ return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
1238
+ } else {
1239
+ return ctx.stylize('[Object]', 'special');
1240
+ }
1241
+ }
1242
+
1243
+ ctx.seen.push(value);
1244
+
1245
+ var output;
1246
+ if (array) {
1247
+ output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
1248
+ } else {
1249
+ output = keys.map(function(key) {
1250
+ return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
1251
+ });
1252
+ }
1253
+
1254
+ ctx.seen.pop();
1255
+
1256
+ return reduceToSingleString(output, base, braces);
1257
+ }
1258
+
1259
+
1260
+ function formatPrimitive(ctx, value) {
1261
+ if (isUndefined(value))
1262
+ return ctx.stylize('undefined', 'undefined');
1263
+ if (isString(value)) {
1264
+ var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '')
1265
+ .replace(/'/g, "\\'")
1266
+ .replace(/\\"/g, '"') + '\'';
1267
+ return ctx.stylize(simple, 'string');
1268
+ }
1269
+ if (isNumber(value))
1270
+ return ctx.stylize('' + value, 'number');
1271
+ if (isBoolean(value))
1272
+ return ctx.stylize('' + value, 'boolean');
1273
+ // For some reason typeof null is "object", so special case here.
1274
+ if (isNull(value))
1275
+ return ctx.stylize('null', 'null');
1276
+ }
1277
+
1278
+
1279
+ function formatError(value) {
1280
+ return '[' + Error.prototype.toString.call(value) + ']';
1281
+ }
1282
+
1283
+
1284
+ function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
1285
+ var output = [];
1286
+ for (var i = 0, l = value.length; i < l; ++i) {
1287
+ if (hasOwnProperty(value, String(i))) {
1288
+ output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
1289
+ String(i), true));
1290
+ } else {
1291
+ output.push('');
1292
+ }
1293
+ }
1294
+ keys.forEach(function(key) {
1295
+ if (!key.match(/^\d+$/)) {
1296
+ output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
1297
+ key, true));
1298
+ }
1299
+ });
1300
+ return output;
1301
+ }
1302
+
1303
+
1304
+ function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
1305
+ var name, str, desc;
1306
+ desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };
1307
+ if (desc.get) {
1308
+ if (desc.set) {
1309
+ str = ctx.stylize('[Getter/Setter]', 'special');
1310
+ } else {
1311
+ str = ctx.stylize('[Getter]', 'special');
1312
+ }
1313
+ } else {
1314
+ if (desc.set) {
1315
+ str = ctx.stylize('[Setter]', 'special');
1316
+ }
1317
+ }
1318
+ if (!hasOwnProperty(visibleKeys, key)) {
1319
+ name = '[' + key + ']';
1320
+ }
1321
+ if (!str) {
1322
+ if (ctx.seen.indexOf(desc.value) < 0) {
1323
+ if (isNull(recurseTimes)) {
1324
+ str = formatValue(ctx, desc.value, null);
1325
+ } else {
1326
+ str = formatValue(ctx, desc.value, recurseTimes - 1);
1327
+ }
1328
+ if (str.indexOf('\n') > -1) {
1329
+ if (array) {
1330
+ str = str.split('\n').map(function(line) {
1331
+ return ' ' + line;
1332
+ }).join('\n').substr(2);
1333
+ } else {
1334
+ str = '\n' + str.split('\n').map(function(line) {
1335
+ return ' ' + line;
1336
+ }).join('\n');
1337
+ }
1338
+ }
1339
+ } else {
1340
+ str = ctx.stylize('[Circular]', 'special');
1341
+ }
1342
+ }
1343
+ if (isUndefined(name)) {
1344
+ if (array && key.match(/^\d+$/)) {
1345
+ return str;
1346
+ }
1347
+ name = JSON.stringify('' + key);
1348
+ if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
1349
+ name = name.substr(1, name.length - 2);
1350
+ name = ctx.stylize(name, 'name');
1351
+ } else {
1352
+ name = name.replace(/'/g, "\\'")
1353
+ .replace(/\\"/g, '"')
1354
+ .replace(/(^"|"$)/g, "'");
1355
+ name = ctx.stylize(name, 'string');
1356
+ }
1357
+ }
1358
+
1359
+ return name + ': ' + str;
1360
+ }
1361
+
1362
+
1363
+ function reduceToSingleString(output, base, braces) {
1364
+ var length = output.reduce(function(prev, cur) {
1365
+ if (cur.indexOf('\n') >= 0) ;
1366
+ return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1;
1367
+ }, 0);
1368
+
1369
+ if (length > 60) {
1370
+ return braces[0] +
1371
+ (base === '' ? '' : base + '\n ') +
1372
+ ' ' +
1373
+ output.join(',\n ') +
1374
+ ' ' +
1375
+ braces[1];
1376
+ }
1377
+
1378
+ return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];
1379
+ }
1380
+
1381
+
1382
+ // NOTE: These type checking functions intentionally don't use `instanceof`
1383
+ // because it is fragile and can be easily faked with `Object.create()`.
1384
+ function isArray(ar) {
1385
+ return Array.isArray(ar);
1386
+ }
1387
+
1388
+ function isBoolean(arg) {
1389
+ return typeof arg === 'boolean';
1390
+ }
1391
+
1392
+ function isNull(arg) {
1393
+ return arg === null;
1394
+ }
1395
+
1396
+ function isNullOrUndefined(arg) {
1397
+ return arg == null;
1398
+ }
1399
+
1400
+ function isNumber(arg) {
1401
+ return typeof arg === 'number';
1402
+ }
1403
+
1404
+ function isString(arg) {
1405
+ return typeof arg === 'string';
1406
+ }
1407
+
1408
+ function isSymbol(arg) {
1409
+ return typeof arg === 'symbol';
1410
+ }
1411
+
1412
+ function isUndefined(arg) {
1413
+ return arg === void 0;
1414
+ }
1415
+
1416
+ function isRegExp(re) {
1417
+ return isObject(re) && objectToString(re) === '[object RegExp]';
1418
+ }
1419
+
1420
+ function isObject(arg) {
1421
+ return typeof arg === 'object' && arg !== null;
1422
+ }
1423
+
1424
+ function isDate(d) {
1425
+ return isObject(d) && objectToString(d) === '[object Date]';
1426
+ }
1427
+
1428
+ function isError(e) {
1429
+ return isObject(e) &&
1430
+ (objectToString(e) === '[object Error]' || e instanceof Error);
1431
+ }
1432
+
1433
+ function isFunction(arg) {
1434
+ return typeof arg === 'function';
1435
+ }
1436
+
1437
+ function isPrimitive(arg) {
1438
+ return arg === null ||
1439
+ typeof arg === 'boolean' ||
1440
+ typeof arg === 'number' ||
1441
+ typeof arg === 'string' ||
1442
+ typeof arg === 'symbol' || // ES6 symbol
1443
+ typeof arg === 'undefined';
1444
+ }
1445
+
1446
+ function isBuffer(maybeBuf) {
1447
+ return Buffer.isBuffer(maybeBuf);
1448
+ }
1449
+
1450
+ function objectToString(o) {
1451
+ return Object.prototype.toString.call(o);
1452
+ }
1453
+
1454
+
1455
+ function pad(n) {
1456
+ return n < 10 ? '0' + n.toString(10) : n.toString(10);
1457
+ }
1458
+
1459
+
1460
+ var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',
1461
+ 'Oct', 'Nov', 'Dec'];
1462
+
1463
+ // 26 Feb 16:19:34
1464
+ function timestamp() {
1465
+ var d = new Date();
1466
+ var time = [pad(d.getHours()),
1467
+ pad(d.getMinutes()),
1468
+ pad(d.getSeconds())].join(':');
1469
+ return [d.getDate(), months[d.getMonth()], time].join(' ');
1470
+ }
1471
+
1472
+
1473
+ // log is just a thin wrapper to console.log that prepends a timestamp
1474
+ function log() {
1475
+ console.log('%s - %s', timestamp(), format.apply(null, arguments));
1476
+ }
1477
+
1478
+ function _extend(origin, add) {
1479
+ // Don't do anything if add isn't an object
1480
+ if (!add || !isObject(add)) return origin;
1481
+
1482
+ var keys = Object.keys(add);
1483
+ var i = keys.length;
1484
+ while (i--) {
1485
+ origin[keys[i]] = add[keys[i]];
1486
+ }
1487
+ return origin;
1488
+ }
1489
+ function hasOwnProperty(obj, prop) {
1490
+ return Object.prototype.hasOwnProperty.call(obj, prop);
1491
+ }
1492
+
1493
+ var util = {
1494
+ inherits: inherits$1,
1495
+ _extend: _extend,
1496
+ log: log,
1497
+ isBuffer: isBuffer,
1498
+ isPrimitive: isPrimitive,
1499
+ isFunction: isFunction,
1500
+ isError: isError,
1501
+ isDate: isDate,
1502
+ isObject: isObject,
1503
+ isRegExp: isRegExp,
1504
+ isUndefined: isUndefined,
1505
+ isSymbol: isSymbol,
1506
+ isString: isString,
1507
+ isNumber: isNumber,
1508
+ isNullOrUndefined: isNullOrUndefined,
1509
+ isNull: isNull,
1510
+ isBoolean: isBoolean,
1511
+ isArray: isArray,
1512
+ inspect: inspect,
1513
+ deprecate: deprecate,
1514
+ format: format,
1515
+ debuglog: debuglog
1516
+ };
1517
+
935
1518
  var require$$2 = {};
936
1519
 
937
1520
  var node = _commonjsHelpers.createCommonjsModule(function (module, exports) {
@@ -998,7 +1581,7 @@ exports.inspectOpts = Object.keys(process.env).filter(function (key) {
998
1581
  var fd = parseInt(process.env.DEBUG_FD, 10) || 2;
999
1582
 
1000
1583
  if (1 !== fd && 2 !== fd) {
1001
- util.util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')();
1584
+ util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')();
1002
1585
  }
1003
1586
 
1004
1587
  var stream = 1 === fd ? process.stdout :
@@ -1021,7 +1604,7 @@ function useColors() {
1021
1604
 
1022
1605
  exports.formatters.o = function(v) {
1023
1606
  this.inspectOpts.colors = this.useColors;
1024
- return util.util.inspect(v, this.inspectOpts)
1607
+ return util.inspect(v, this.inspectOpts)
1025
1608
  .split('\n').map(function(str) {
1026
1609
  return str.trim()
1027
1610
  }).join(' ');
@@ -1033,7 +1616,7 @@ exports.formatters.o = function(v) {
1033
1616
 
1034
1617
  exports.formatters.O = function(v) {
1035
1618
  this.inspectOpts.colors = this.useColors;
1036
- return util.util.inspect(v, this.inspectOpts);
1619
+ return util.inspect(v, this.inspectOpts);
1037
1620
  };
1038
1621
 
1039
1622
  /**
@@ -1063,7 +1646,7 @@ function formatArgs(args) {
1063
1646
  */
1064
1647
 
1065
1648
  function log() {
1066
- return stream.write(util.util.format.apply(util.util, arguments) + '\n');
1649
+ return stream.write(util.format.apply(util, arguments) + '\n');
1067
1650
  }
1068
1651
 
1069
1652
  /**
@@ -8927,12 +9510,12 @@ var MultiMedia = function MultiMedia(props) {
8927
9510
  };
8928
9511
 
8929
9512
  var InscreenSensor = function (_React$Component) {
8930
- inherits._inherits(InscreenSensor, _React$Component);
9513
+ inherits$2._inherits(InscreenSensor, _React$Component);
8931
9514
 
8932
9515
  function InscreenSensor(props) {
8933
- inherits._classCallCheck(this, InscreenSensor);
9516
+ inherits$2._classCallCheck(this, InscreenSensor);
8934
9517
 
8935
- var _this = inherits._possibleConstructorReturn(this, (InscreenSensor.__proto__ || inherits._Object$getPrototypeOf(InscreenSensor)).call(this, props));
9518
+ var _this = inherits$2._possibleConstructorReturn(this, (InscreenSensor.__proto__ || inherits$2._Object$getPrototypeOf(InscreenSensor)).call(this, props));
8936
9519
 
8937
9520
  _this.scrollHandler = function () {
8938
9521
  var visible = _this.checkInside();
@@ -8968,7 +9551,7 @@ var InscreenSensor = function (_React$Component) {
8968
9551
  return _this;
8969
9552
  }
8970
9553
 
8971
- inherits._createClass(InscreenSensor, [{
9554
+ inherits$2._createClass(InscreenSensor, [{
8972
9555
  key: 'componentDidMount',
8973
9556
  value: function componentDidMount() {
8974
9557
  this.visible = this.checkInside();
@@ -9482,11 +10065,11 @@ var ArticleSeries = function ArticleSeries(_ref) {
9482
10065
  var LightBox = function LightBox(_ref) {
9483
10066
  var showLightbox = _ref.showLightbox,
9484
10067
  lightboxImgSrc = _ref.lightboxImgSrc,
9485
- closeLightbox = _ref.closeLightbox;
10068
+ closeLightbox = _ref.closeLightbox,
10069
+ disableLightBox = _ref.disableLightBox;
9486
10070
 
9487
10071
  var lightboxImage = React.useRef(null);
9488
10072
  var lightboxContainer = React.useRef(null);
9489
-
9490
10073
  var handleClickOutside = React.useCallback(function (event) {
9491
10074
  if (lightboxImage.current && !lightboxImage.current.contains(event.target) && lightboxContainer.current && lightboxContainer.current.className.includes('open')) {
9492
10075
  closeLightbox();
@@ -9502,7 +10085,7 @@ var LightBox = function LightBox(_ref) {
9502
10085
 
9503
10086
  return React__default["default"].createElement(
9504
10087
  'div',
9505
- { ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
10088
+ { ref: lightboxContainer, className: 'lightbox-target ' + (!disableLightBox && showLightbox ? 'open' : 'close') },
9506
10089
  React__default["default"].createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
9507
10090
  React__default["default"].createElement(
9508
10091
  'style',
@@ -9575,7 +10158,8 @@ var FigureComponent = function FigureComponent(props) {
9575
10158
  _node$class_name = node.class_name,
9576
10159
  class_name = _node$class_name === undefined ? 'd-block' : _node$class_name,
9577
10160
  _node$disableTextWrap = node.disableTextWrap,
9578
- disableTextWrap = _node$disableTextWrap === undefined ? false : _node$disableTextWrap;
10161
+ disableTextWrap = _node$disableTextWrap === undefined ? false : _node$disableTextWrap,
10162
+ disableLightBox = node.disableLightBox;
9579
10163
  var _node$widthP = node.widthP,
9580
10164
  widthP = _node$widthP === undefined ? 'auto' : _node$widthP;
9581
10165
 
@@ -9731,6 +10315,7 @@ var FigureComponent = function FigureComponent(props) {
9731
10315
  React__default["default"].createElement(LightBox, {
9732
10316
  showLightbox: showLightbox,
9733
10317
  lightboxImgSrc: lightboxImgSrc,
10318
+ disableLightBox: disableLightBox,
9734
10319
  closeLightbox: function closeLightbox() {
9735
10320
  setLightboxImgSrc('');
9736
10321
  setShowLightbox(false);
@@ -9753,6 +10338,7 @@ var FigureComponent = function FigureComponent(props) {
9753
10338
  React__default["default"].createElement(LightBox, {
9754
10339
  showLightbox: showLightbox,
9755
10340
  lightboxImgSrc: lightboxImgSrc,
10341
+ disableLightBox: disableLightBox,
9756
10342
  closeLightbox: function closeLightbox() {
9757
10343
  setLightboxImgSrc('');
9758
10344
  setShowLightbox(false);
@@ -10096,15 +10682,15 @@ var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
10096
10682
 
10097
10683
 
10098
10684
 
10099
- var _classCallCheck3 = _interopRequireDefault(inherits.classCallCheck);
10685
+ var _classCallCheck3 = _interopRequireDefault(inherits$2.classCallCheck);
10100
10686
 
10101
10687
 
10102
10688
 
10103
- var _possibleConstructorReturn3 = _interopRequireDefault(inherits.possibleConstructorReturn);
10689
+ var _possibleConstructorReturn3 = _interopRequireDefault(inherits$2.possibleConstructorReturn);
10104
10690
 
10105
10691
 
10106
10692
 
10107
- var _inherits3 = _interopRequireDefault(inherits.inherits);
10693
+ var _inherits3 = _interopRequireDefault(inherits$2.inherits);
10108
10694
 
10109
10695
 
10110
10696