@mjhls/mjh-framework 1.0.1082-rl-v2 → 1.0.1082

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 (121) hide show
  1. package/dist/cjs/AlgoliaSearch.js +196 -468
  2. package/dist/cjs/ArticleProgramLandingPage.js +3 -3
  3. package/dist/cjs/ArticleSeriesLandingPage.js +1 -1
  4. package/dist/cjs/ArticleSeriesListing.js +1 -1
  5. package/dist/cjs/AuthWrapper.js +609 -233
  6. package/dist/cjs/CEDeckSupabase.js +5 -1
  7. package/dist/cjs/CMEDeck.js +5 -1
  8. package/dist/cjs/ConferenceArticleCard.js +1 -1
  9. package/dist/cjs/ContentCardPaginated.js +1 -1
  10. package/dist/cjs/DeckContent.js +1 -1
  11. package/dist/cjs/DeckQueue.js +1 -1
  12. package/dist/cjs/DeckQueuePaginated.js +1 -1
  13. package/dist/cjs/EventsDeck.js +2 -2
  14. package/dist/cjs/ExternalResources.js +4 -4
  15. package/dist/cjs/ForbesHero.js +1 -1
  16. package/dist/cjs/GridContent.js +1 -1
  17. package/dist/cjs/GridContentPaginated.js +1 -1
  18. package/dist/cjs/GridHero.js +1 -1
  19. package/dist/cjs/HighlightenVideo.js +1 -1
  20. package/dist/cjs/HorizontalArticleListing.js +3 -3
  21. package/dist/cjs/HorizontalHero.js +1 -1
  22. package/dist/cjs/{ImageSlider-7c995858.js → ImageSlider-984a697b.js} +11 -6
  23. package/dist/cjs/IssueContentDeck.js +1 -1
  24. package/dist/cjs/IssueLanding.js +3 -3
  25. package/dist/cjs/MasterDeck.js +1 -1
  26. package/dist/cjs/MediaSeriesCard.js +3 -3
  27. package/dist/cjs/MediaSeriesLanding.js +6 -6
  28. package/dist/cjs/MediaSeriesLandingPaginated.js +6 -6
  29. package/dist/cjs/OncliveHero.js +1 -1
  30. package/dist/cjs/OncliveLargeHero.js +1 -1
  31. package/dist/cjs/PartnerDetailListing.js +5 -5
  32. package/dist/cjs/PartnerDetailListingPaginated.js +5 -5
  33. package/dist/cjs/PodcastsLanding.js +4 -4
  34. package/dist/cjs/PtceDeck.js +1 -1
  35. package/dist/cjs/PubSection.js +1 -1
  36. package/dist/cjs/QueueDeckExpanded.js +1 -1
  37. package/dist/cjs/QueueDeckExpandedPaginated.js +1 -1
  38. package/dist/cjs/RelatedContent.js +1 -1
  39. package/dist/cjs/TaxonomyDescription.js +3 -3
  40. package/dist/cjs/{Tooltip-b8516cbf.js → Tooltip-96fe6ef6.js} +61 -107
  41. package/dist/cjs/VerticalHero.js +1 -1
  42. package/dist/cjs/VideoProgramLandingPage.js +3 -3
  43. package/dist/cjs/VideoSeriesCard.js +1 -1
  44. package/dist/cjs/VideoSeriesLandingPage.js +1 -1
  45. package/dist/cjs/VideoSeriesListing.js +1 -1
  46. package/dist/cjs/View.js +15 -34
  47. package/dist/cjs/YahooHero.js +1 -1
  48. package/dist/cjs/{brightcove-react-player-loader.es-35faab67.js → brightcove-react-player-loader.es-4c7825a1.js} +3 -3
  49. package/dist/cjs/{defineProperty-19580e93.js → defineProperty-e0fb52c5.js} +4 -2
  50. package/dist/cjs/getRelatedArticle.js +15 -33
  51. package/dist/cjs/getSerializers.js +3 -3
  52. package/dist/cjs/{index-171e9e82.js → index-4fdedd6a.js} +14 -233
  53. package/dist/cjs/{index-ff83a88b.js → index-50be6759.js} +14 -13
  54. package/dist/cjs/index-96c331fd.js +1572 -0
  55. package/dist/cjs/index.js +8 -7
  56. package/dist/cjs/{moment-f730814d.js → moment-aca40de1.js} +80 -95
  57. package/dist/cjs/timeDifferenceCalc.js +1 -1
  58. package/dist/cjs/typeof-1358762e.js +33 -0
  59. package/dist/esm/AlgoliaSearch.js +196 -468
  60. package/dist/esm/ArticleProgramLandingPage.js +3 -3
  61. package/dist/esm/ArticleSeriesLandingPage.js +1 -1
  62. package/dist/esm/ArticleSeriesListing.js +1 -1
  63. package/dist/esm/AuthWrapper.js +608 -232
  64. package/dist/esm/CEDeckSupabase.js +5 -1
  65. package/dist/esm/CMEDeck.js +5 -1
  66. package/dist/esm/ConferenceArticleCard.js +1 -1
  67. package/dist/esm/ContentCardPaginated.js +1 -1
  68. package/dist/esm/DeckContent.js +1 -1
  69. package/dist/esm/DeckQueue.js +1 -1
  70. package/dist/esm/DeckQueuePaginated.js +1 -1
  71. package/dist/esm/EventsDeck.js +2 -2
  72. package/dist/esm/ExternalResources.js +4 -4
  73. package/dist/esm/ForbesHero.js +1 -1
  74. package/dist/esm/GridContent.js +1 -1
  75. package/dist/esm/GridContentPaginated.js +1 -1
  76. package/dist/esm/GridHero.js +1 -1
  77. package/dist/esm/HighlightenVideo.js +1 -1
  78. package/dist/esm/HorizontalArticleListing.js +3 -3
  79. package/dist/esm/HorizontalHero.js +1 -1
  80. package/dist/esm/{ImageSlider-75f7b81a.js → ImageSlider-9250ddc9.js} +11 -6
  81. package/dist/esm/IssueContentDeck.js +1 -1
  82. package/dist/esm/IssueLanding.js +3 -3
  83. package/dist/esm/MasterDeck.js +1 -1
  84. package/dist/esm/MediaSeriesCard.js +3 -3
  85. package/dist/esm/MediaSeriesLanding.js +6 -6
  86. package/dist/esm/MediaSeriesLandingPaginated.js +6 -6
  87. package/dist/esm/OncliveHero.js +1 -1
  88. package/dist/esm/OncliveLargeHero.js +1 -1
  89. package/dist/esm/Pagination-9fe9f61d.js +1 -1
  90. package/dist/esm/PartnerDetailListing.js +5 -5
  91. package/dist/esm/PartnerDetailListingPaginated.js +5 -5
  92. package/dist/esm/PodcastsLanding.js +4 -4
  93. package/dist/esm/PtceDeck.js +1 -1
  94. package/dist/esm/PubSection.js +1 -1
  95. package/dist/esm/QueueDeckExpanded.js +1 -1
  96. package/dist/esm/QueueDeckExpandedPaginated.js +1 -1
  97. package/dist/esm/RelatedContent.js +1 -1
  98. package/dist/esm/TaxonomyDescription.js +3 -3
  99. package/dist/esm/{Tooltip-fe0ed92d.js → Tooltip-bc98d17e.js} +62 -108
  100. package/dist/esm/VerticalHero.js +1 -1
  101. package/dist/esm/VideoProgramLandingPage.js +3 -3
  102. package/dist/esm/VideoSeriesCard.js +1 -1
  103. package/dist/esm/VideoSeriesLandingPage.js +1 -1
  104. package/dist/esm/VideoSeriesListing.js +1 -1
  105. package/dist/esm/View.js +15 -34
  106. package/dist/esm/YahooHero.js +1 -1
  107. package/dist/esm/{brightcove-react-player-loader.es-a2422c4b.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
  108. package/dist/esm/{defineProperty-e8022d1e.js → defineProperty-23a8f8cd.js} +4 -2
  109. package/dist/esm/getRelatedArticle.js +16 -34
  110. package/dist/esm/getSerializers.js +3 -3
  111. package/dist/esm/index-30a6257d.js +1570 -0
  112. package/dist/esm/{index-c8d5e72b.js → index-98ca9cec.js} +14 -13
  113. package/dist/esm/{index-1d1bbc8c.js → index-de2bb37c.js} +14 -233
  114. package/dist/esm/index.js +8 -7
  115. package/dist/esm/{moment-48faeb9c.js → moment-bc12cb97.js} +80 -95
  116. package/dist/esm/timeDifferenceCalc.js +1 -1
  117. package/dist/esm/typeof-2f07d0e8.js +30 -0
  118. package/dist/esm/visibility-sensor-72fd8f8b.js +1 -1
  119. package/package.json +1 -1
  120. package/dist/cjs/index-3177f564.js +0 -1573
  121. package/dist/esm/index-4550ef23.js +0 -1571
@@ -1,5 +1,5 @@
1
1
  import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1ebeb135.js';
2
- import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
2
+ import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
3
3
  import getQuery from './getQuery.js';
4
4
  import './core.get-iterator-method-95db387d.js';
5
5
  import './web.dom.iterable-3fffc027.js';
@@ -29,6 +29,7 @@ var serialize_1 = serialize;
29
29
 
30
30
  var decode = decodeURIComponent;
31
31
  var encode = encodeURIComponent;
32
+ var pairSplitRegExp = /; */;
32
33
 
33
34
  /**
34
35
  * RegExp to match field-content in RFC 7230 sec 3.2
@@ -59,29 +60,28 @@ function parse$1(str, options) {
59
60
 
60
61
  var obj = {};
61
62
  var opt = options || {};
62
- var pairs = str.split(';');
63
+ var pairs = str.split(pairSplitRegExp);
63
64
  var dec = opt.decode || decode;
64
65
 
65
66
  for (var i = 0; i < pairs.length; i++) {
66
67
  var pair = pairs[i];
67
- var index = pair.indexOf('=');
68
+ var eq_idx = pair.indexOf('=');
68
69
 
69
70
  // skip things that don't look like key=value
70
- if (index < 0) {
71
+ if (eq_idx < 0) {
71
72
  continue;
72
73
  }
73
74
 
74
- var key = pair.substring(0, index).trim();
75
+ var key = pair.substr(0, eq_idx).trim();
76
+ var val = pair.substr(++eq_idx, pair.length).trim();
77
+
78
+ // quoted values
79
+ if ('"' == val[0]) {
80
+ val = val.slice(1, -1);
81
+ }
75
82
 
76
83
  // only assign once
77
84
  if (undefined == obj[key]) {
78
- var val = pair.substring(index + 1, pair.length).trim();
79
-
80
- // quoted values
81
- if (val[0] === '"') {
82
- val = val.slice(1, -1);
83
- }
84
-
85
85
  obj[key] = tryDecode(val, dec);
86
86
  }
87
87
  }
@@ -225,11 +225,9 @@ function isNonEmptyString(str) {
225
225
 
226
226
  function parseString(setCookieValue, options) {
227
227
  var parts = setCookieValue.split(";").filter(isNonEmptyString);
228
-
229
- var nameValuePairStr = parts.shift();
230
- var parsed = parseNameValuePair(nameValuePairStr);
231
- var name = parsed.name;
232
- var value = parsed.value;
228
+ var nameValue = parts.shift().split("=");
229
+ var name = nameValue.shift();
230
+ var value = nameValue.join("="); // everything after the first =, joined by a "=" if there was more than one part
233
231
 
234
232
  options = options
235
233
  ? Object.assign({}, defaultParseOptions, options)
@@ -247,7 +245,7 @@ function parseString(setCookieValue, options) {
247
245
  }
248
246
 
249
247
  var cookie = {
250
- name: name,
248
+ name: name, // grab everything before the first =
251
249
  value: value,
252
250
  };
253
251
 
@@ -273,22 +271,6 @@ function parseString(setCookieValue, options) {
273
271
  return cookie;
274
272
  }
275
273
 
276
- function parseNameValuePair(nameValuePairStr) {
277
- // Parses name-value-pair according to rfc6265bis draft
278
-
279
- var name = "";
280
- var value = "";
281
- var nameValueArr = nameValuePairStr.split("=");
282
- if (nameValueArr.length > 1) {
283
- name = nameValueArr.shift();
284
- value = nameValueArr.join("="); // everything after the first =, joined by a "=" if there was more than one part
285
- } else {
286
- value = nameValuePairStr;
287
- }
288
-
289
- return { name: name, value: value };
290
- }
291
-
292
274
  function parse(input, options) {
293
275
  options = options
294
276
  ? Object.assign({}, defaultParseOptions, options)
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-1d1bbc8c.js';
2
+ export { g as default } from './index-de2bb37c.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
4
  import './entities-6d9154b4.js';
5
5
  import './slicedToArray-72ed566b.js';
@@ -27,7 +27,7 @@ import './index-755f2cc2.js';
27
27
  import 'react-dom';
28
28
  import './typeof-3ab7d3b6.js';
29
29
  import './_is-array-68c79b29.js';
30
- import './brightcove-react-player-loader.es-a2422c4b.js';
30
+ import './brightcove-react-player-loader.es-57a70a56.js';
31
31
  import './_object-to-array-9dfdfb29.js';
32
32
  import './keys-185288f4.js';
33
33
  import './_object-sap-14bd8e96.js';
@@ -37,7 +37,7 @@ import 'react-bootstrap/Form';
37
37
  import 'react-ga';
38
38
  import './GroupDeck.js';
39
39
  import './smoothscroll-fa4e3f8c.js';
40
- import './moment-48faeb9c.js';
40
+ import './moment-bc12cb97.js';
41
41
  import './SocialShare.js';
42
42
  import 'next/head';
43
43
  import 'react-share';