@mjhls/mjh-framework 1.0.850-beta.0 → 1.0.850-beta.1

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 (55) hide show
  1. package/dist/cjs/AdSlotsProvider.js +2 -895
  2. package/dist/cjs/AlgoliaSearch.js +336 -237
  3. package/dist/cjs/ArticleProgramLandingPage.js +2 -3
  4. package/dist/cjs/ArticleSeriesLandingPage.js +1 -1
  5. package/dist/cjs/ArticleSeriesListing.js +1 -1
  6. package/dist/cjs/DeckContent.js +1 -1
  7. package/dist/cjs/DeckQueue.js +1 -1
  8. package/dist/cjs/ExternalResources.js +2 -3
  9. package/dist/cjs/GridContent.js +1 -1
  10. package/dist/cjs/HorizontalArticleListing.js +2 -3
  11. package/dist/cjs/IssueLanding.js +2 -3
  12. package/dist/cjs/MasterDeck.js +1 -1
  13. package/dist/cjs/MediaSeriesLanding.js +5 -6
  14. package/dist/cjs/PartnerDetailListing.js +6 -1105
  15. package/dist/cjs/QueueDeckExpanded.js +1098 -112
  16. package/dist/cjs/TaxonomyDescription.js +2 -3
  17. package/dist/cjs/VideoProgramLandingPage.js +2 -3
  18. package/dist/cjs/VideoSeriesCard.js +2 -2
  19. package/dist/cjs/VideoSeriesLandingPage.js +3 -3
  20. package/dist/cjs/VideoSeriesListing.js +1 -1
  21. package/dist/cjs/View.js +5 -7
  22. package/dist/cjs/faundadb.js +321 -4
  23. package/dist/cjs/getRelatedArticle.js +21 -438
  24. package/dist/cjs/getSerializers.js +2 -3
  25. package/dist/cjs/{index-bc88f898.js → index-4151deb3.js} +587 -15
  26. package/dist/cjs/index.js +6 -13
  27. package/dist/cjs/{inherits-452ff02c.js → inherits-9953db94.js} +4 -4
  28. package/dist/esm/AdSlotsProvider.js +6 -898
  29. package/dist/esm/AlgoliaSearch.js +100 -1
  30. package/dist/esm/ArticleProgramLandingPage.js +1 -2
  31. package/dist/esm/ExternalResources.js +1 -2
  32. package/dist/esm/HorizontalArticleListing.js +1 -2
  33. package/dist/esm/IssueLanding.js +1 -2
  34. package/dist/esm/MediaSeriesLanding.js +1 -2
  35. package/dist/esm/PartnerDetailListing.js +5 -1103
  36. package/dist/esm/QueueDeckExpanded.js +1099 -113
  37. package/dist/esm/TaxonomyDescription.js +1 -2
  38. package/dist/esm/VideoProgramLandingPage.js +1 -2
  39. package/dist/esm/View.js +2 -4
  40. package/dist/esm/faundadb.js +319 -2
  41. package/dist/esm/getRelatedArticle.js +21 -438
  42. package/dist/esm/getSerializers.js +1 -2
  43. package/dist/esm/{index-f2a0d400.js → index-d6dc592a.js} +575 -3
  44. package/dist/esm/index.js +4 -10
  45. package/package.json +8 -3
  46. package/dist/cjs/Auth.js +0 -3428
  47. package/dist/cjs/index-bd6c9f56.js +0 -211
  48. package/dist/cjs/inherits-8d29278d.js +0 -110
  49. package/dist/cjs/md5-5039b1a6.js +0 -323
  50. package/dist/cjs/util-f2c1b65b.js +0 -576
  51. package/dist/esm/Auth.js +0 -3412
  52. package/dist/esm/index-db3bb315.js +0 -207
  53. package/dist/esm/inherits-77d5e4fc.js +0 -101
  54. package/dist/esm/md5-9be0e905.js +0 -321
  55. package/dist/esm/util-7700fc59.js +0 -574
@@ -2,7 +2,7 @@ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelper
2
2
  import { _ as _export, a as _core } from './_to-object-a4107da3.js';
3
3
  import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
4
4
  import { _ as _extends$1, b as _extends$2 } from './extends-6f2fcc99.js';
5
- 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-cf8dde54.js';
5
+ 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$2 } from './inherits-cf8dde54.js';
6
6
  import { _ as _typeof } from './typeof-6435ba1c.js';
7
7
  import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
8
8
  import { l as lib_3 } from './index-41a678ea.js';
@@ -25,7 +25,6 @@ import { g as getYoutubeId } from './index-c7e2ac95.js';
25
25
  import GroupDeck from './GroupDeck.js';
26
26
  import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
27
27
  import { d as IoIosArrowDropupCircle } from './index.esm-29e48d38.js';
28
- import { u as util } from './util-7700fc59.js';
29
28
  import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-83f53e4e.js';
30
29
  import Head from 'next/head';
31
30
  import SocialShare from './SocialShare.js';
@@ -910,6 +909,579 @@ var tty = {
910
909
  WriteStream: WriteStream
911
910
  };
912
911
 
912
+ var inherits;
913
+ if (typeof Object.create === 'function'){
914
+ inherits = function inherits(ctor, superCtor) {
915
+ // implementation from standard node.js 'util' module
916
+ ctor.super_ = superCtor;
917
+ ctor.prototype = Object.create(superCtor.prototype, {
918
+ constructor: {
919
+ value: ctor,
920
+ enumerable: false,
921
+ writable: true,
922
+ configurable: true
923
+ }
924
+ });
925
+ };
926
+ } else {
927
+ inherits = function inherits(ctor, superCtor) {
928
+ ctor.super_ = superCtor;
929
+ var TempCtor = function () {};
930
+ TempCtor.prototype = superCtor.prototype;
931
+ ctor.prototype = new TempCtor();
932
+ ctor.prototype.constructor = ctor;
933
+ };
934
+ }
935
+ var inherits$1 = inherits;
936
+
937
+ // Copyright Joyent, Inc. and other Node contributors.
938
+ var formatRegExp = /%[sdj%]/g;
939
+ function format(f) {
940
+ if (!isString(f)) {
941
+ var objects = [];
942
+ for (var i = 0; i < arguments.length; i++) {
943
+ objects.push(inspect(arguments[i]));
944
+ }
945
+ return objects.join(' ');
946
+ }
947
+
948
+ var i = 1;
949
+ var args = arguments;
950
+ var len = args.length;
951
+ var str = String(f).replace(formatRegExp, function(x) {
952
+ if (x === '%%') return '%';
953
+ if (i >= len) return x;
954
+ switch (x) {
955
+ case '%s': return String(args[i++]);
956
+ case '%d': return Number(args[i++]);
957
+ case '%j':
958
+ try {
959
+ return JSON.stringify(args[i++]);
960
+ } catch (_) {
961
+ return '[Circular]';
962
+ }
963
+ default:
964
+ return x;
965
+ }
966
+ });
967
+ for (var x = args[i]; i < len; x = args[++i]) {
968
+ if (isNull(x) || !isObject(x)) {
969
+ str += ' ' + x;
970
+ } else {
971
+ str += ' ' + inspect(x);
972
+ }
973
+ }
974
+ return str;
975
+ }
976
+
977
+ // Mark that a method should not be used.
978
+ // Returns a modified function which warns once by default.
979
+ // If --no-deprecation is set, then it is a no-op.
980
+ function deprecate(fn, msg) {
981
+ // Allow for deprecating things in the process of starting up.
982
+ if (isUndefined(global.process)) {
983
+ return function() {
984
+ return deprecate(fn, msg).apply(this, arguments);
985
+ };
986
+ }
987
+
988
+ var warned = false;
989
+ function deprecated() {
990
+ if (!warned) {
991
+ {
992
+ console.error(msg);
993
+ }
994
+ warned = true;
995
+ }
996
+ return fn.apply(this, arguments);
997
+ }
998
+
999
+ return deprecated;
1000
+ }
1001
+
1002
+ var debugs = {};
1003
+ var debugEnviron;
1004
+ function debuglog(set) {
1005
+ if (isUndefined(debugEnviron))
1006
+ debugEnviron = '';
1007
+ set = set.toUpperCase();
1008
+ if (!debugs[set]) {
1009
+ if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
1010
+ var pid = 0;
1011
+ debugs[set] = function() {
1012
+ var msg = format.apply(null, arguments);
1013
+ console.error('%s %d: %s', set, pid, msg);
1014
+ };
1015
+ } else {
1016
+ debugs[set] = function() {};
1017
+ }
1018
+ }
1019
+ return debugs[set];
1020
+ }
1021
+
1022
+ /**
1023
+ * Echos the value of a value. Trys to print the value out
1024
+ * in the best way possible given the different types.
1025
+ *
1026
+ * @param {Object} obj The object to print out.
1027
+ * @param {Object} opts Optional options object that alters the output.
1028
+ */
1029
+ /* legacy: obj, showHidden, depth, colors*/
1030
+ function inspect(obj, opts) {
1031
+ // default options
1032
+ var ctx = {
1033
+ seen: [],
1034
+ stylize: stylizeNoColor
1035
+ };
1036
+ // legacy...
1037
+ if (arguments.length >= 3) ctx.depth = arguments[2];
1038
+ if (arguments.length >= 4) ctx.colors = arguments[3];
1039
+ if (isBoolean(opts)) {
1040
+ // legacy...
1041
+ ctx.showHidden = opts;
1042
+ } else if (opts) {
1043
+ // got an "options" object
1044
+ _extend(ctx, opts);
1045
+ }
1046
+ // set default options
1047
+ if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
1048
+ if (isUndefined(ctx.depth)) ctx.depth = 2;
1049
+ if (isUndefined(ctx.colors)) ctx.colors = false;
1050
+ if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
1051
+ if (ctx.colors) ctx.stylize = stylizeWithColor;
1052
+ return formatValue(ctx, obj, ctx.depth);
1053
+ }
1054
+
1055
+ // http://en.wikipedia.org/wiki/ANSI_escape_code#graphics
1056
+ inspect.colors = {
1057
+ 'bold' : [1, 22],
1058
+ 'italic' : [3, 23],
1059
+ 'underline' : [4, 24],
1060
+ 'inverse' : [7, 27],
1061
+ 'white' : [37, 39],
1062
+ 'grey' : [90, 39],
1063
+ 'black' : [30, 39],
1064
+ 'blue' : [34, 39],
1065
+ 'cyan' : [36, 39],
1066
+ 'green' : [32, 39],
1067
+ 'magenta' : [35, 39],
1068
+ 'red' : [31, 39],
1069
+ 'yellow' : [33, 39]
1070
+ };
1071
+
1072
+ // Don't use 'blue' not visible on cmd.exe
1073
+ inspect.styles = {
1074
+ 'special': 'cyan',
1075
+ 'number': 'yellow',
1076
+ 'boolean': 'yellow',
1077
+ 'undefined': 'grey',
1078
+ 'null': 'bold',
1079
+ 'string': 'green',
1080
+ 'date': 'magenta',
1081
+ // "name": intentionally not styling
1082
+ 'regexp': 'red'
1083
+ };
1084
+
1085
+
1086
+ function stylizeWithColor(str, styleType) {
1087
+ var style = inspect.styles[styleType];
1088
+
1089
+ if (style) {
1090
+ return '\u001b[' + inspect.colors[style][0] + 'm' + str +
1091
+ '\u001b[' + inspect.colors[style][1] + 'm';
1092
+ } else {
1093
+ return str;
1094
+ }
1095
+ }
1096
+
1097
+
1098
+ function stylizeNoColor(str, styleType) {
1099
+ return str;
1100
+ }
1101
+
1102
+
1103
+ function arrayToHash(array) {
1104
+ var hash = {};
1105
+
1106
+ array.forEach(function(val, idx) {
1107
+ hash[val] = true;
1108
+ });
1109
+
1110
+ return hash;
1111
+ }
1112
+
1113
+
1114
+ function formatValue(ctx, value, recurseTimes) {
1115
+ // Provide a hook for user-specified inspect functions.
1116
+ // Check that value is an object with an inspect function on it
1117
+ if (ctx.customInspect &&
1118
+ value &&
1119
+ isFunction(value.inspect) &&
1120
+ // Filter out the util module, it's inspect function is special
1121
+ value.inspect !== inspect &&
1122
+ // Also filter out any prototype objects using the circular check.
1123
+ !(value.constructor && value.constructor.prototype === value)) {
1124
+ var ret = value.inspect(recurseTimes, ctx);
1125
+ if (!isString(ret)) {
1126
+ ret = formatValue(ctx, ret, recurseTimes);
1127
+ }
1128
+ return ret;
1129
+ }
1130
+
1131
+ // Primitive types cannot have properties
1132
+ var primitive = formatPrimitive(ctx, value);
1133
+ if (primitive) {
1134
+ return primitive;
1135
+ }
1136
+
1137
+ // Look up the keys of the object.
1138
+ var keys = Object.keys(value);
1139
+ var visibleKeys = arrayToHash(keys);
1140
+
1141
+ if (ctx.showHidden) {
1142
+ keys = Object.getOwnPropertyNames(value);
1143
+ }
1144
+
1145
+ // IE doesn't make error fields non-enumerable
1146
+ // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx
1147
+ if (isError(value)
1148
+ && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {
1149
+ return formatError(value);
1150
+ }
1151
+
1152
+ // Some type of object without properties can be shortcutted.
1153
+ if (keys.length === 0) {
1154
+ if (isFunction(value)) {
1155
+ var name = value.name ? ': ' + value.name : '';
1156
+ return ctx.stylize('[Function' + name + ']', 'special');
1157
+ }
1158
+ if (isRegExp(value)) {
1159
+ return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
1160
+ }
1161
+ if (isDate(value)) {
1162
+ return ctx.stylize(Date.prototype.toString.call(value), 'date');
1163
+ }
1164
+ if (isError(value)) {
1165
+ return formatError(value);
1166
+ }
1167
+ }
1168
+
1169
+ var base = '', array = false, braces = ['{', '}'];
1170
+
1171
+ // Make Array say that they are Array
1172
+ if (isArray$1(value)) {
1173
+ array = true;
1174
+ braces = ['[', ']'];
1175
+ }
1176
+
1177
+ // Make functions say that they are functions
1178
+ if (isFunction(value)) {
1179
+ var n = value.name ? ': ' + value.name : '';
1180
+ base = ' [Function' + n + ']';
1181
+ }
1182
+
1183
+ // Make RegExps say that they are RegExps
1184
+ if (isRegExp(value)) {
1185
+ base = ' ' + RegExp.prototype.toString.call(value);
1186
+ }
1187
+
1188
+ // Make dates with properties first say the date
1189
+ if (isDate(value)) {
1190
+ base = ' ' + Date.prototype.toUTCString.call(value);
1191
+ }
1192
+
1193
+ // Make error with message first say the error
1194
+ if (isError(value)) {
1195
+ base = ' ' + formatError(value);
1196
+ }
1197
+
1198
+ if (keys.length === 0 && (!array || value.length == 0)) {
1199
+ return braces[0] + base + braces[1];
1200
+ }
1201
+
1202
+ if (recurseTimes < 0) {
1203
+ if (isRegExp(value)) {
1204
+ return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
1205
+ } else {
1206
+ return ctx.stylize('[Object]', 'special');
1207
+ }
1208
+ }
1209
+
1210
+ ctx.seen.push(value);
1211
+
1212
+ var output;
1213
+ if (array) {
1214
+ output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
1215
+ } else {
1216
+ output = keys.map(function(key) {
1217
+ return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
1218
+ });
1219
+ }
1220
+
1221
+ ctx.seen.pop();
1222
+
1223
+ return reduceToSingleString(output, base, braces);
1224
+ }
1225
+
1226
+
1227
+ function formatPrimitive(ctx, value) {
1228
+ if (isUndefined(value))
1229
+ return ctx.stylize('undefined', 'undefined');
1230
+ if (isString(value)) {
1231
+ var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '')
1232
+ .replace(/'/g, "\\'")
1233
+ .replace(/\\"/g, '"') + '\'';
1234
+ return ctx.stylize(simple, 'string');
1235
+ }
1236
+ if (isNumber(value))
1237
+ return ctx.stylize('' + value, 'number');
1238
+ if (isBoolean(value))
1239
+ return ctx.stylize('' + value, 'boolean');
1240
+ // For some reason typeof null is "object", so special case here.
1241
+ if (isNull(value))
1242
+ return ctx.stylize('null', 'null');
1243
+ }
1244
+
1245
+
1246
+ function formatError(value) {
1247
+ return '[' + Error.prototype.toString.call(value) + ']';
1248
+ }
1249
+
1250
+
1251
+ function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
1252
+ var output = [];
1253
+ for (var i = 0, l = value.length; i < l; ++i) {
1254
+ if (hasOwnProperty(value, String(i))) {
1255
+ output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
1256
+ String(i), true));
1257
+ } else {
1258
+ output.push('');
1259
+ }
1260
+ }
1261
+ keys.forEach(function(key) {
1262
+ if (!key.match(/^\d+$/)) {
1263
+ output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
1264
+ key, true));
1265
+ }
1266
+ });
1267
+ return output;
1268
+ }
1269
+
1270
+
1271
+ function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
1272
+ var name, str, desc;
1273
+ desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };
1274
+ if (desc.get) {
1275
+ if (desc.set) {
1276
+ str = ctx.stylize('[Getter/Setter]', 'special');
1277
+ } else {
1278
+ str = ctx.stylize('[Getter]', 'special');
1279
+ }
1280
+ } else {
1281
+ if (desc.set) {
1282
+ str = ctx.stylize('[Setter]', 'special');
1283
+ }
1284
+ }
1285
+ if (!hasOwnProperty(visibleKeys, key)) {
1286
+ name = '[' + key + ']';
1287
+ }
1288
+ if (!str) {
1289
+ if (ctx.seen.indexOf(desc.value) < 0) {
1290
+ if (isNull(recurseTimes)) {
1291
+ str = formatValue(ctx, desc.value, null);
1292
+ } else {
1293
+ str = formatValue(ctx, desc.value, recurseTimes - 1);
1294
+ }
1295
+ if (str.indexOf('\n') > -1) {
1296
+ if (array) {
1297
+ str = str.split('\n').map(function(line) {
1298
+ return ' ' + line;
1299
+ }).join('\n').substr(2);
1300
+ } else {
1301
+ str = '\n' + str.split('\n').map(function(line) {
1302
+ return ' ' + line;
1303
+ }).join('\n');
1304
+ }
1305
+ }
1306
+ } else {
1307
+ str = ctx.stylize('[Circular]', 'special');
1308
+ }
1309
+ }
1310
+ if (isUndefined(name)) {
1311
+ if (array && key.match(/^\d+$/)) {
1312
+ return str;
1313
+ }
1314
+ name = JSON.stringify('' + key);
1315
+ if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
1316
+ name = name.substr(1, name.length - 2);
1317
+ name = ctx.stylize(name, 'name');
1318
+ } else {
1319
+ name = name.replace(/'/g, "\\'")
1320
+ .replace(/\\"/g, '"')
1321
+ .replace(/(^"|"$)/g, "'");
1322
+ name = ctx.stylize(name, 'string');
1323
+ }
1324
+ }
1325
+
1326
+ return name + ': ' + str;
1327
+ }
1328
+
1329
+
1330
+ function reduceToSingleString(output, base, braces) {
1331
+ var length = output.reduce(function(prev, cur) {
1332
+ if (cur.indexOf('\n') >= 0) ;
1333
+ return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1;
1334
+ }, 0);
1335
+
1336
+ if (length > 60) {
1337
+ return braces[0] +
1338
+ (base === '' ? '' : base + '\n ') +
1339
+ ' ' +
1340
+ output.join(',\n ') +
1341
+ ' ' +
1342
+ braces[1];
1343
+ }
1344
+
1345
+ return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];
1346
+ }
1347
+
1348
+
1349
+ // NOTE: These type checking functions intentionally don't use `instanceof`
1350
+ // because it is fragile and can be easily faked with `Object.create()`.
1351
+ function isArray$1(ar) {
1352
+ return Array.isArray(ar);
1353
+ }
1354
+
1355
+ function isBoolean(arg) {
1356
+ return typeof arg === 'boolean';
1357
+ }
1358
+
1359
+ function isNull(arg) {
1360
+ return arg === null;
1361
+ }
1362
+
1363
+ function isNullOrUndefined(arg) {
1364
+ return arg == null;
1365
+ }
1366
+
1367
+ function isNumber(arg) {
1368
+ return typeof arg === 'number';
1369
+ }
1370
+
1371
+ function isString(arg) {
1372
+ return typeof arg === 'string';
1373
+ }
1374
+
1375
+ function isSymbol(arg) {
1376
+ return typeof arg === 'symbol';
1377
+ }
1378
+
1379
+ function isUndefined(arg) {
1380
+ return arg === void 0;
1381
+ }
1382
+
1383
+ function isRegExp(re) {
1384
+ return isObject(re) && objectToString(re) === '[object RegExp]';
1385
+ }
1386
+
1387
+ function isObject(arg) {
1388
+ return typeof arg === 'object' && arg !== null;
1389
+ }
1390
+
1391
+ function isDate(d) {
1392
+ return isObject(d) && objectToString(d) === '[object Date]';
1393
+ }
1394
+
1395
+ function isError(e) {
1396
+ return isObject(e) &&
1397
+ (objectToString(e) === '[object Error]' || e instanceof Error);
1398
+ }
1399
+
1400
+ function isFunction(arg) {
1401
+ return typeof arg === 'function';
1402
+ }
1403
+
1404
+ function isPrimitive(arg) {
1405
+ return arg === null ||
1406
+ typeof arg === 'boolean' ||
1407
+ typeof arg === 'number' ||
1408
+ typeof arg === 'string' ||
1409
+ typeof arg === 'symbol' || // ES6 symbol
1410
+ typeof arg === 'undefined';
1411
+ }
1412
+
1413
+ function isBuffer(maybeBuf) {
1414
+ return Buffer.isBuffer(maybeBuf);
1415
+ }
1416
+
1417
+ function objectToString(o) {
1418
+ return Object.prototype.toString.call(o);
1419
+ }
1420
+
1421
+
1422
+ function pad(n) {
1423
+ return n < 10 ? '0' + n.toString(10) : n.toString(10);
1424
+ }
1425
+
1426
+
1427
+ var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',
1428
+ 'Oct', 'Nov', 'Dec'];
1429
+
1430
+ // 26 Feb 16:19:34
1431
+ function timestamp() {
1432
+ var d = new Date();
1433
+ var time = [pad(d.getHours()),
1434
+ pad(d.getMinutes()),
1435
+ pad(d.getSeconds())].join(':');
1436
+ return [d.getDate(), months[d.getMonth()], time].join(' ');
1437
+ }
1438
+
1439
+
1440
+ // log is just a thin wrapper to console.log that prepends a timestamp
1441
+ function log() {
1442
+ console.log('%s - %s', timestamp(), format.apply(null, arguments));
1443
+ }
1444
+
1445
+ function _extend(origin, add) {
1446
+ // Don't do anything if add isn't an object
1447
+ if (!add || !isObject(add)) return origin;
1448
+
1449
+ var keys = Object.keys(add);
1450
+ var i = keys.length;
1451
+ while (i--) {
1452
+ origin[keys[i]] = add[keys[i]];
1453
+ }
1454
+ return origin;
1455
+ }
1456
+ function hasOwnProperty(obj, prop) {
1457
+ return Object.prototype.hasOwnProperty.call(obj, prop);
1458
+ }
1459
+
1460
+ var util = {
1461
+ inherits: inherits$1,
1462
+ _extend: _extend,
1463
+ log: log,
1464
+ isBuffer: isBuffer,
1465
+ isPrimitive: isPrimitive,
1466
+ isFunction: isFunction,
1467
+ isError: isError,
1468
+ isDate: isDate,
1469
+ isObject: isObject,
1470
+ isRegExp: isRegExp,
1471
+ isUndefined: isUndefined,
1472
+ isSymbol: isSymbol,
1473
+ isString: isString,
1474
+ isNumber: isNumber,
1475
+ isNullOrUndefined: isNullOrUndefined,
1476
+ isNull: isNull,
1477
+ isBoolean: isBoolean,
1478
+ isArray: isArray$1,
1479
+ inspect: inspect,
1480
+ deprecate: deprecate,
1481
+ format: format,
1482
+ debuglog: debuglog
1483
+ };
1484
+
913
1485
  var require$$2 = {};
914
1486
 
915
1487
  var node = createCommonjsModule(function (module, exports) {
@@ -9280,7 +9852,7 @@ var _possibleConstructorReturn3 = _interopRequireDefault(possibleConstructorRetu
9280
9852
 
9281
9853
 
9282
9854
 
9283
- var _inherits3 = _interopRequireDefault(inherits);
9855
+ var _inherits3 = _interopRequireDefault(inherits$2);
9284
9856
 
9285
9857
 
9286
9858
 
package/dist/esm/index.js CHANGED
@@ -71,8 +71,7 @@ import './index.esm-29e48d38.js';
71
71
  export { default as VideoSeriesListing } from './VideoSeriesListing.js';
72
72
  export { default as ArticleSeriesListing } from './ArticleSeriesListing.js';
73
73
  export { default as ArticleCarousel } from './ArticleCarousel.js';
74
- export { g as getSerializers } from './index-f2a0d400.js';
75
- import './util-7700fc59.js';
74
+ export { g as getSerializers } from './index-d6dc592a.js';
76
75
  import './brightcove-react-player-loader.es-83f53e4e.js';
77
76
  import 'next/head';
78
77
  import 'react-share';
@@ -96,7 +95,6 @@ export { default as CMEDeck } from './CMEDeck.js';
96
95
  export { default as ExternalResources } from './ExternalResources.js';
97
96
  import './index-aaa2dae0.js';
98
97
  export { default as AlgoliaSearch } from './AlgoliaSearch.js';
99
- import './inherits-77d5e4fc.js';
100
98
  export { Column1 } from './Column1.js';
101
99
  export { default as SideFooter } from './SideFooter.js';
102
100
  import './ConferenceBanner-8792ebd2.js';
@@ -132,6 +130,7 @@ export { default as TemplateNormal } from './TemplateNormal.js';
132
130
  export { default as AD300x250 } from './AD300x250.js';
133
131
  export { default as AD300x250x600 } from './AD300x250x600.js';
134
132
  export { default as ADFooter } from './ADFooter.js';
133
+ import 'react-ga';
135
134
  export { default as AdSlotsProvider } from './AdSlotsProvider.js';
136
135
  export { default as ADFloatingFooter } from './ADFloatingFooter.js';
137
136
  export { default as ADWelcome } from './ADWelcome.js';
@@ -169,20 +168,15 @@ export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
169
168
  export { default as KMTracker } from './KMTracker.js';
170
169
  export { default as getSeriesDetail } from './getSeriesDetail.js';
171
170
  export { default as SetCookie } from './SetCookie.js';
172
- import './index-db3bb315.js';
173
- export { default as getRelatedArticle } from './getRelatedArticle.js';
174
171
  export { default as getQuery } from './getQuery.js';
175
- export { default as Auth } from './Auth.js';
176
- import 'swr';
177
- import 'passport-local';
178
- import 'mysql';
179
- import './md5-9be0e905.js';
172
+ export { default as getRelatedArticle } from './getRelatedArticle.js';
180
173
  import './SeriesSlider-a866bb21.js';
181
174
  export { g as getTargeting } from './getTargeting-bd800589.js';
182
175
  export { default as View } from './View.js';
183
176
  export { default as getKeywords } from './getKeywords.js';
184
177
  import './style-inject.es-1f59c1d0.js';
185
178
  import 'disqus-react';
179
+ import 'react-twitter-embed';
186
180
  export { default as PartnerDetailListing } from './PartnerDetailListing.js';
187
181
  export { default as VideoProgramLandingPage } from './VideoProgramLandingPage.js';
188
182
  import './VideoSeriesCard.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.850-beta.0",
3
+ "version": "1.0.850-beta.1",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",
@@ -31,7 +31,9 @@
31
31
  "react": "^15.0.0 || ^16.0.0",
32
32
  "react-bootstrap": "^1.0.0-beta.14",
33
33
  "react-dom": "^15.0.0 || ^16.0.0",
34
- "react-share": "^4.0.1"
34
+ "react-ga": "^2.7.0",
35
+ "react-share": "^4.0.1",
36
+ "react-twitter-embed": "^3.0.3"
35
37
  },
36
38
  "devDependencies": {
37
39
  "@brightcove/react-player-loader": "^1.4.0",
@@ -68,6 +70,7 @@
68
70
  "react-device-detect": "^1.11.14",
69
71
  "react-dfp": "^0.19.0",
70
72
  "react-dom": "^16.12.0",
73
+ "react-ga": "^3.3.0",
71
74
  "react-icons": "^3.8.0",
72
75
  "react-infinite-scroll-component": "^5.0.4",
73
76
  "react-lazyload": "^2.6.5",
@@ -76,6 +79,7 @@
76
79
  "react-scripts": "^1.1.4",
77
80
  "react-share": "^4.0.1",
78
81
  "react-social-icons": "^4.1.0",
82
+ "react-twitter-embed": "^3.0.3",
79
83
  "react-visibility-sensor": "^5.1.1",
80
84
  "react-youtube": "^7.9.0",
81
85
  "rimraf": "^3.0.2",
@@ -85,7 +89,8 @@
85
89
  "rollup-plugin-node-builtins": "2.1.2",
86
90
  "rollup-plugin-node-resolve": "3.4.0",
87
91
  "rollup-plugin-postcss": "1.6.3",
88
- "rollup-plugin-url": "1.4.0"
92
+ "rollup-plugin-url": "1.4.0",
93
+ "swr": "^0.5.6"
89
94
  },
90
95
  "files": [
91
96
  "dist"