@mjhls/mjh-framework 1.0.842-beta.0 → 1.0.842

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 (276) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +13 -13
  4. package/dist/cjs/AD300x250x600.js +13 -13
  5. package/dist/cjs/AD728x90.js +14 -14
  6. package/dist/cjs/ADFloatingFooter.js +12 -12
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +12 -12
  9. package/dist/cjs/{ADInfeed-55587a4e.js → ADInfeed-da3ed24f.js} +1 -1
  10. package/dist/cjs/ADSkyscraper.js +12 -12
  11. package/dist/cjs/ADSponsoredResources.js +12 -12
  12. package/dist/cjs/ADWebcast.js +12 -12
  13. package/dist/cjs/ADWelcome.js +12 -12
  14. package/dist/cjs/{ADlgInfeed-5c3d8260.js → ADlgInfeed-d3751164.js} +1 -1
  15. package/dist/cjs/AccordionPanel.js +6 -6
  16. package/dist/cjs/AdSlot.js +14 -14
  17. package/dist/cjs/AdSlotsProvider.js +12 -905
  18. package/dist/cjs/AlgoliaSearch.js +391 -264
  19. package/dist/cjs/AlphabeticList.js +8 -8
  20. package/dist/cjs/ArticleCarousel.js +10 -10
  21. package/dist/cjs/ArticleProgramLandingPage.js +27 -27
  22. package/dist/cjs/ArticleSeriesLandingPage.js +24 -24
  23. package/dist/cjs/ArticleSeriesListing.js +18 -18
  24. package/dist/cjs/Auth.js +465 -245
  25. package/dist/cjs/AuthWrapper.js +283 -242
  26. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-0c464248.js} +1 -1
  27. package/dist/cjs/Beam.js +7 -7
  28. package/dist/cjs/{BlockContent-091a991f.js → BlockContent-bac780ac.js} +1 -1
  29. package/dist/cjs/Breadcrumbs.js +5 -5
  30. package/dist/cjs/CMEDeck.js +14 -14
  31. package/dist/cjs/Column2.js +8 -8
  32. package/dist/cjs/Column3.js +16 -16
  33. package/dist/cjs/ConferenceArticleCard.js +17 -17
  34. package/dist/cjs/DeckContent.js +31 -31
  35. package/dist/cjs/DeckQueue.js +19 -19
  36. package/dist/cjs/{Dfp-26baccf1.js → Dfp-ac0c1cc6.js} +7 -7
  37. package/dist/cjs/EventsDeck.js +33 -33
  38. package/dist/cjs/ExternalResources.js +26 -26
  39. package/dist/cjs/Feature.js +3 -3
  40. package/dist/cjs/ForbesHero.js +8 -8
  41. package/dist/cjs/GridContent.js +28 -28
  42. package/dist/cjs/GridHero.js +8 -8
  43. package/dist/cjs/GroupDeck.js +8 -8
  44. package/dist/cjs/HamMagazine.js +25 -25
  45. package/dist/cjs/Hero.js +1 -1
  46. package/dist/cjs/HighlightenVideo.js +1 -1
  47. package/dist/cjs/HorizontalArticleListing.js +25 -25
  48. package/dist/cjs/HorizontalHero.js +3 -3
  49. package/dist/cjs/IssueContentDeck.js +8 -8
  50. package/dist/cjs/IssueDeck.js +10 -10
  51. package/dist/cjs/IssueLanding.js +61 -59
  52. package/dist/cjs/KMTracker.js +15 -15
  53. package/dist/cjs/LeftNav.js +12 -12
  54. package/dist/cjs/MasterDeck.js +32 -32
  55. package/dist/cjs/MediaSeriesLanding.js +208 -209
  56. package/dist/cjs/NavDvm.js +7 -7
  57. package/dist/cjs/NavMagazine.js +24 -24
  58. package/dist/cjs/NavNative.js +21 -21
  59. package/dist/cjs/OncliveHero.js +2 -3
  60. package/dist/cjs/OncliveLargeHero.js +8 -8
  61. package/dist/cjs/PageFilter.js +5 -5
  62. package/dist/cjs/PartnerDetailListing.js +37 -1133
  63. package/dist/cjs/PdfDownload.js +1 -1
  64. package/dist/cjs/PopUpModal.js +5 -5
  65. package/dist/cjs/PubSection.js +22 -20
  66. package/dist/cjs/PubToc.js +7 -7
  67. package/dist/cjs/PublicationDeck.js +2 -2
  68. package/dist/cjs/PublicationLanding.js +36 -36
  69. package/dist/cjs/QueueDeckExpanded.js +1064 -1087
  70. package/dist/cjs/RecentNews.js +1 -1
  71. package/dist/cjs/RelatedContent.js +30 -30
  72. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  73. package/dist/cjs/Search.js +5 -5
  74. package/dist/cjs/Segment.js +6 -6
  75. package/dist/cjs/SeriesListingDeck.js +15 -15
  76. package/dist/cjs/{SeriesSlider-8bbc989f.js → SeriesSlider-dad08884.js} +11 -11
  77. package/dist/cjs/SideFooter.js +10 -10
  78. package/dist/cjs/{SocialSearchComponent-cea213aa.js → SocialSearchComponent-ad15dd61.js} +7 -7
  79. package/dist/cjs/TaxonomyCard.js +4 -4
  80. package/dist/cjs/TaxonomyDescription.js +25 -25
  81. package/dist/cjs/TemplateNormal.js +18 -18
  82. package/dist/cjs/ThumbnailCard.js +1 -1
  83. package/dist/cjs/Ustream.js +12 -12
  84. package/dist/cjs/VerticalHero.js +2 -2
  85. package/dist/cjs/VideoProgramLandingPage.js +27 -27
  86. package/dist/cjs/VideoSeriesCard.js +9 -9
  87. package/dist/cjs/VideoSeriesFilter.js +7 -7
  88. package/dist/cjs/VideoSeriesLandingPage.js +25 -25
  89. package/dist/cjs/VideoSeriesListing.js +18 -18
  90. package/dist/cjs/View.js +61 -61
  91. package/dist/cjs/YahooHero.js +8 -8
  92. package/dist/cjs/YoutubeGroup.js +18 -18
  93. package/dist/cjs/{_is-array-754e012d.js → _is-array-39ff55dd.js} +1 -1
  94. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-ef35661e.js} +2 -2
  95. package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-b231f928.js} +1 -1
  96. package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-c3aeb51d.js} +1 -1
  97. package/dist/cjs/{_to-object-329a650b.js → _to-object-7a3ce269.js} +2 -2
  98. package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-8ae2191c.js} +5 -5
  99. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-05029198.js} +4 -3
  100. package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-6cd7682d.js} +2 -2
  101. package/dist/cjs/{debounce-529c8d06.js → debounce-6191c8ee.js} +1 -1
  102. package/dist/cjs/{define-property-f4d12f4e.js → define-property-fc002cec.js} +1 -1
  103. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-03c4c82e.js} +1 -1
  104. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-ab94a594.js} +1 -1
  105. package/dist/cjs/{extends-0a918631.js → extends-acc1318d.js} +1 -1
  106. package/dist/cjs/faundadb.js +7 -7
  107. package/dist/cjs/getRelatedArticle.js +6 -6
  108. package/dist/cjs/getRootDocGroup.js +6 -6
  109. package/dist/cjs/getSerializers.js +25 -25
  110. package/dist/cjs/{getTargeting-021d644c.js → getTargeting-98ab97f7.js} +12 -12
  111. package/dist/cjs/getTargeting.js +7 -7
  112. package/dist/cjs/{index-e2e62963.js → index-53e27416.js} +25 -9
  113. package/dist/cjs/{index-3294d3bc.js → index-79eed652.js} +39 -40
  114. package/dist/cjs/{index-ac18d02c.js → index-80802a98.js} +518 -502
  115. package/dist/cjs/{index-be0c82be.js → index-ff69979f.js} +28 -22
  116. package/dist/cjs/{index.es-9110add6.js → index.es-e9d84959.js} +23 -5
  117. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
  118. package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
  119. package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
  120. package/dist/cjs/{index.esm-4d410430.js → index.esm-bf016399.js} +2 -3
  121. package/dist/cjs/index.js +44 -43
  122. package/dist/cjs/{inherits-452ff02c.js → inherits-bfdb22af.js} +8 -8
  123. package/dist/cjs/{keys-a586b7a0.js → keys-62e097ca.js} +2 -2
  124. package/dist/cjs/{lodash-fc2922d0.js → lodash-b5e0d5f6.js} +127 -30
  125. package/dist/cjs/main-bc7d4bf8.js +972 -0
  126. package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
  127. package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
  128. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-41819145.js} +4 -4
  129. package/dist/cjs/{stringify-7c5aff47.js → stringify-7ccc8524.js} +1 -1
  130. package/dist/cjs/timeDifferenceCalc.js +1 -1
  131. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-4fdb72e2.js} +4 -4
  132. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-f2f8744b.js} +39 -4
  133. package/dist/cjs/{typeof-725500bc.js → typeof-e83d4a26.js} +4 -4
  134. package/dist/cjs/urlFor.js +1 -1
  135. package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-c30d203c.js} +4 -4
  136. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-68e3aaf2.js} +2 -2
  137. package/dist/esm/AD.js +1 -1
  138. package/dist/esm/AD300x250.js +13 -13
  139. package/dist/esm/AD300x250x600.js +13 -13
  140. package/dist/esm/AD728x90.js +14 -14
  141. package/dist/esm/ADFloatingFooter.js +12 -12
  142. package/dist/esm/ADFooter.js +5 -5
  143. package/dist/esm/ADGutter.js +12 -12
  144. package/dist/esm/{ADInfeed-bb665cdc.js → ADInfeed-152d34aa.js} +1 -1
  145. package/dist/esm/ADSkyscraper.js +12 -12
  146. package/dist/esm/ADSponsoredResources.js +12 -12
  147. package/dist/esm/ADWebcast.js +12 -12
  148. package/dist/esm/ADWelcome.js +12 -12
  149. package/dist/esm/{ADlgInfeed-2897d78f.js → ADlgInfeed-6520a55d.js} +1 -1
  150. package/dist/esm/AccordionPanel.js +6 -6
  151. package/dist/esm/AdSlot.js +14 -14
  152. package/dist/esm/AdSlotsProvider.js +15 -907
  153. package/dist/esm/AlgoliaSearch.js +159 -32
  154. package/dist/esm/AlphabeticList.js +8 -8
  155. package/dist/esm/ArticleCarousel.js +10 -10
  156. package/dist/esm/ArticleProgramLandingPage.js +26 -26
  157. package/dist/esm/ArticleSeriesLandingPage.js +24 -24
  158. package/dist/esm/ArticleSeriesListing.js +18 -18
  159. package/dist/esm/Auth.js +464 -244
  160. package/dist/esm/AuthWrapper.js +283 -242
  161. package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-5cab1f6b.js} +1 -1
  162. package/dist/esm/Beam.js +7 -7
  163. package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-ea93e8f7.js} +1 -1
  164. package/dist/esm/Breadcrumbs.js +5 -5
  165. package/dist/esm/CMEDeck.js +14 -14
  166. package/dist/esm/Column2.js +8 -8
  167. package/dist/esm/Column3.js +16 -16
  168. package/dist/esm/ConferenceArticleCard.js +17 -17
  169. package/dist/esm/DeckContent.js +31 -31
  170. package/dist/esm/DeckQueue.js +19 -19
  171. package/dist/esm/{Dfp-b7236041.js → Dfp-4b94fbd4.js} +7 -7
  172. package/dist/esm/EventsDeck.js +33 -33
  173. package/dist/esm/ExternalResources.js +26 -26
  174. package/dist/esm/Feature.js +3 -3
  175. package/dist/esm/ForbesHero.js +8 -8
  176. package/dist/esm/GridContent.js +28 -28
  177. package/dist/esm/GridHero.js +8 -8
  178. package/dist/esm/GroupDeck.js +8 -8
  179. package/dist/esm/HamMagazine.js +25 -25
  180. package/dist/esm/Hero.js +1 -1
  181. package/dist/esm/HighlightenVideo.js +1 -1
  182. package/dist/esm/HorizontalArticleListing.js +25 -25
  183. package/dist/esm/HorizontalHero.js +3 -3
  184. package/dist/esm/IssueContentDeck.js +8 -8
  185. package/dist/esm/IssueDeck.js +10 -10
  186. package/dist/esm/IssueLanding.js +61 -59
  187. package/dist/esm/KMTracker.js +15 -15
  188. package/dist/esm/LeftNav.js +12 -12
  189. package/dist/esm/MasterDeck.js +32 -32
  190. package/dist/esm/MediaSeriesLanding.js +364 -365
  191. package/dist/esm/NavDvm.js +7 -7
  192. package/dist/esm/NavMagazine.js +24 -24
  193. package/dist/esm/NavNative.js +21 -21
  194. package/dist/esm/OncliveHero.js +2 -3
  195. package/dist/esm/OncliveLargeHero.js +8 -8
  196. package/dist/esm/PageFilter.js +5 -5
  197. package/dist/esm/PartnerDetailListing.js +36 -1131
  198. package/dist/esm/PdfDownload.js +1 -1
  199. package/dist/esm/PopUpModal.js +5 -5
  200. package/dist/esm/PubSection.js +22 -20
  201. package/dist/esm/PubToc.js +7 -7
  202. package/dist/esm/PublicationDeck.js +2 -2
  203. package/dist/esm/PublicationLanding.js +36 -36
  204. package/dist/esm/QueueDeckExpanded.js +1064 -1087
  205. package/dist/esm/RecentNews.js +1 -1
  206. package/dist/esm/RelatedContent.js +30 -30
  207. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  208. package/dist/esm/Search.js +5 -5
  209. package/dist/esm/Segment.js +6 -6
  210. package/dist/esm/SeriesListingDeck.js +12 -12
  211. package/dist/esm/{SeriesSlider-a866bb21.js → SeriesSlider-5ba2e521.js} +11 -11
  212. package/dist/esm/SideFooter.js +10 -10
  213. package/dist/esm/{SocialSearchComponent-03c3e869.js → SocialSearchComponent-9cc36413.js} +7 -7
  214. package/dist/esm/TaxonomyCard.js +4 -4
  215. package/dist/esm/TaxonomyDescription.js +25 -25
  216. package/dist/esm/TemplateNormal.js +18 -18
  217. package/dist/esm/ThumbnailCard.js +1 -1
  218. package/dist/esm/Ustream.js +12 -12
  219. package/dist/esm/VerticalHero.js +2 -2
  220. package/dist/esm/VideoProgramLandingPage.js +26 -26
  221. package/dist/esm/VideoSeriesCard.js +8 -8
  222. package/dist/esm/VideoSeriesFilter.js +7 -7
  223. package/dist/esm/VideoSeriesLandingPage.js +24 -24
  224. package/dist/esm/VideoSeriesListing.js +18 -18
  225. package/dist/esm/View.js +37 -37
  226. package/dist/esm/YahooHero.js +8 -8
  227. package/dist/esm/YoutubeGroup.js +18 -18
  228. package/dist/esm/{_is-array-58e95429.js → _is-array-328b85b7.js} +1 -1
  229. package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-0fa1c752.js} +2 -2
  230. package/dist/esm/{_object-sap-964b6feb.js → _object-sap-1b84e2bf.js} +1 -1
  231. package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-c8f72bf1.js} +1 -1
  232. package/dist/esm/{_to-object-a4107da3.js → _to-object-cedb5b78.js} +2 -2
  233. package/dist/esm/{asyncToGenerator-4877b617.js → asyncToGenerator-e1a2f43a.js} +6 -6
  234. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-e761d404.js} +4 -3
  235. package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-227107e6.js} +2 -2
  236. package/dist/esm/{debounce-9207d8ee.js → debounce-89969f66.js} +1 -1
  237. package/dist/esm/{define-property-8af5f002.js → define-property-2f35af22.js} +1 -1
  238. package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-eb9699c0.js} +1 -1
  239. package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-1577cb76.js} +1 -1
  240. package/dist/esm/{extends-6f2fcc99.js → extends-be71a29a.js} +1 -1
  241. package/dist/esm/faundadb.js +7 -7
  242. package/dist/esm/getRelatedArticle.js +6 -6
  243. package/dist/esm/getRootDocGroup.js +6 -6
  244. package/dist/esm/getSerializers.js +25 -25
  245. package/dist/esm/{getTargeting-82e86707.js → getTargeting-93bb872d.js} +11 -11
  246. package/dist/esm/getTargeting.js +7 -7
  247. package/dist/esm/{index-8dbb97f3.js → index-37848dc4.js} +518 -502
  248. package/dist/esm/{index-ef6d5dcf.js → index-511bdaa5.js} +39 -40
  249. package/dist/esm/{index-aaa2dae0.js → index-637e8f49.js} +25 -10
  250. package/dist/esm/{index-73819142.js → index-f7fdcc91.js} +28 -22
  251. package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
  252. package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
  253. package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
  254. package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
  255. package/dist/esm/{index.esm-fd746768.js → index.esm-ed50151c.js} +2 -3
  256. package/dist/esm/index.js +44 -43
  257. package/dist/esm/{inherits-cf8dde54.js → inherits-2cf82c38.js} +5 -5
  258. package/dist/esm/{keys-8eda7a5c.js → keys-526daf0a.js} +2 -2
  259. package/dist/esm/{lodash-17fdfebb.js → lodash-a818d390.js} +127 -30
  260. package/dist/esm/main-ae902629.js +961 -0
  261. package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
  262. package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
  263. package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-f0edf3d6.js} +4 -4
  264. package/dist/esm/{stringify-4330ccdc.js → stringify-d1b9276a.js} +1 -1
  265. package/dist/esm/timeDifferenceCalc.js +1 -1
  266. package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-81605212.js} +4 -4
  267. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-e3dcad26.js} +39 -4
  268. package/dist/esm/{typeof-6435ba1c.js → typeof-ad2c7a21.js} +4 -4
  269. package/dist/esm/urlFor.js +1 -1
  270. package/dist/esm/{ustream-api-9a50644d.js → ustream-api-cf90f7e6.js} +4 -4
  271. package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-ace8ed30.js} +2 -2
  272. package/package.json +110 -111
  273. package/dist/cjs/inherits-8d29278d.js +0 -110
  274. package/dist/cjs/main-02daeefe.js +0 -862
  275. package/dist/esm/inherits-77d5e4fc.js +0 -101
  276. package/dist/esm/main-e4a934b2.js +0 -851
@@ -172,7 +172,7 @@ var md5 = createCommonjsModule(function (module) {
172
172
  message = utf8.stringToBytes(message);
173
173
  else if (isBuffer(message))
174
174
  message = Array.prototype.slice.call(message, 0);
175
- else if (!Array.isArray(message))
175
+ else if (!Array.isArray(message) && message.constructor !== Uint8Array)
176
176
  message = message.toString();
177
177
  // else, assume byte array already
178
178
 
@@ -2534,8 +2534,7 @@ var moment = createCommonjsModule(function (module, exports) {
2534
2534
  hooks.createFromInputFallback = deprecate(
2535
2535
  'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +
2536
2536
  'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +
2537
- 'discouraged and will be removed in an upcoming major release. Please refer to ' +
2538
- 'http://momentjs.com/guides/#/warnings/js-date/ for more info.',
2537
+ 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.',
2539
2538
  function (config) {
2540
2539
  config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));
2541
2540
  }
@@ -3720,7 +3719,10 @@ var moment = createCommonjsModule(function (module, exports) {
3720
3719
  function calendar$1(time, formats) {
3721
3720
  // Support for single parameter, formats only overload to the calendar function
3722
3721
  if (arguments.length === 1) {
3723
- if (isMomentInput(arguments[0])) {
3722
+ if (!arguments[0]) {
3723
+ time = undefined;
3724
+ formats = undefined;
3725
+ } else if (isMomentInput(arguments[0])) {
3724
3726
  time = arguments[0];
3725
3727
  formats = undefined;
3726
3728
  } else if (isCalendarSpec(arguments[0])) {
@@ -4398,7 +4400,7 @@ var moment = createCommonjsModule(function (module, exports) {
4398
4400
  eras = this.localeData().eras();
4399
4401
  for (i = 0, l = eras.length; i < l; ++i) {
4400
4402
  // truncate time
4401
- val = this.startOf('day').valueOf();
4403
+ val = this.clone().startOf('day').valueOf();
4402
4404
 
4403
4405
  if (eras[i].since <= val && val <= eras[i].until) {
4404
4406
  return eras[i].name;
@@ -4418,7 +4420,7 @@ var moment = createCommonjsModule(function (module, exports) {
4418
4420
  eras = this.localeData().eras();
4419
4421
  for (i = 0, l = eras.length; i < l; ++i) {
4420
4422
  // truncate time
4421
- val = this.startOf('day').valueOf();
4423
+ val = this.clone().startOf('day').valueOf();
4422
4424
 
4423
4425
  if (eras[i].since <= val && val <= eras[i].until) {
4424
4426
  return eras[i].narrow;
@@ -4438,7 +4440,7 @@ var moment = createCommonjsModule(function (module, exports) {
4438
4440
  eras = this.localeData().eras();
4439
4441
  for (i = 0, l = eras.length; i < l; ++i) {
4440
4442
  // truncate time
4441
- val = this.startOf('day').valueOf();
4443
+ val = this.clone().startOf('day').valueOf();
4442
4444
 
4443
4445
  if (eras[i].since <= val && val <= eras[i].until) {
4444
4446
  return eras[i].abbr;
@@ -4461,7 +4463,7 @@ var moment = createCommonjsModule(function (module, exports) {
4461
4463
  dir = eras[i].since <= eras[i].until ? +1 : -1;
4462
4464
 
4463
4465
  // truncate time
4464
- val = this.startOf('day').valueOf();
4466
+ val = this.clone().startOf('day').valueOf();
4465
4467
 
4466
4468
  if (
4467
4469
  (eras[i].since <= val && val <= eras[i].until) ||
@@ -5612,7 +5614,7 @@ var moment = createCommonjsModule(function (module, exports) {
5612
5614
 
5613
5615
  //! moment.js
5614
5616
 
5615
- hooks.version = '2.26.0';
5617
+ hooks.version = '2.29.1';
5616
5618
 
5617
5619
  setHookCallback(createLocal);
5618
5620
 
@@ -1,8 +1,8 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { a as _core, m as _anObject } from './_to-object-a4107da3.js';
3
- import { b as _wks, e as _iterators } from './es6.string.iterator-c990c18c.js';
4
- import { _ as _classof, c as core_getIteratorMethod } from './core.get-iterator-method-e1de7503.js';
5
- import './web.dom.iterable-4439f05a.js';
2
+ import { a as _core, m as _anObject } from './_to-object-cedb5b78.js';
3
+ import { b as _wks, e as _iterators } from './es6.string.iterator-1577cb76.js';
4
+ import { _ as _classof, c as core_getIteratorMethod } from './core.get-iterator-method-227107e6.js';
5
+ import './web.dom.iterable-ace8ed30.js';
6
6
 
7
7
  var ITERATOR = _wks('iterator');
8
8
 
@@ -1,5 +1,5 @@
1
1
  import { u as unwrapExports, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
- import { a as _core } from './_to-object-a4107da3.js';
2
+ import { a as _core } from './_to-object-cedb5b78.js';
3
3
 
4
4
  var $JSON = _core.JSON || (_core.JSON = { stringify: JSON.stringify });
5
5
  var stringify = function stringify(it) { // eslint-disable-line no-unused-vars
@@ -1,5 +1,5 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import { m as moment } from './moment-e2f9b20c.js';
2
+ import { m as moment } from './moment-b6f49411.js';
3
3
 
4
4
  var timeDifferenceCalc = function timeDifferenceCalc(articlePublishedDate) {
5
5
  var dateNow = new Date();
@@ -1,8 +1,8 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { e as _objectDp, o as _propertyDesc, _ as _export, f as _toObject, c as _ctx, h as _toLength, a as _core } from './_to-object-a4107da3.js';
3
- import './es6.string.iterator-c990c18c.js';
4
- import { _ as _iterDetect, a as _isArrayIter, b as _iterCall } from './_iter-detect-5d49a330.js';
5
- import { c as core_getIteratorMethod } from './core.get-iterator-method-e1de7503.js';
2
+ import { e as _objectDp, o as _propertyDesc, _ as _export, f as _toObject, c as _ctx, h as _toLength, a as _core } from './_to-object-cedb5b78.js';
3
+ import './es6.string.iterator-1577cb76.js';
4
+ import { _ as _iterDetect, a as _isArrayIter, b as _iterCall } from './_iter-detect-0fa1c752.js';
5
+ import { c as core_getIteratorMethod } from './core.get-iterator-method-227107e6.js';
6
6
 
7
7
  var _createProperty = function (object, index, value) {
8
8
  if (index in object) _objectDp.f(object, index, _propertyDesc(0, value));
@@ -1,11 +1,46 @@
1
1
  import { a as isSymbol_1, i as isObject_1 } from './isSymbol-1981418f.js';
2
2
 
3
+ /** Used to match a single whitespace character. */
4
+ var reWhitespace = /\s/;
5
+
6
+ /**
7
+ * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
8
+ * character of `string`.
9
+ *
10
+ * @private
11
+ * @param {string} string The string to inspect.
12
+ * @returns {number} Returns the index of the last non-whitespace character.
13
+ */
14
+ function trimmedEndIndex(string) {
15
+ var index = string.length;
16
+
17
+ while (index-- && reWhitespace.test(string.charAt(index))) {}
18
+ return index;
19
+ }
20
+
21
+ var _trimmedEndIndex = trimmedEndIndex;
22
+
23
+ /** Used to match leading whitespace. */
24
+ var reTrimStart = /^\s+/;
25
+
26
+ /**
27
+ * The base implementation of `_.trim`.
28
+ *
29
+ * @private
30
+ * @param {string} string The string to trim.
31
+ * @returns {string} Returns the trimmed string.
32
+ */
33
+ function baseTrim(string) {
34
+ return string
35
+ ? string.slice(0, _trimmedEndIndex(string) + 1).replace(reTrimStart, '')
36
+ : string;
37
+ }
38
+
39
+ var _baseTrim = baseTrim;
40
+
3
41
  /** Used as references for various `Number` constants. */
4
42
  var NAN = 0 / 0;
5
43
 
6
- /** Used to match leading and trailing whitespace. */
7
- var reTrim = /^\s+|\s+$/g;
8
-
9
44
  /** Used to detect bad signed hexadecimal string values. */
10
45
  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
11
46
 
@@ -55,7 +90,7 @@ function toNumber(value) {
55
90
  if (typeof value != 'string') {
56
91
  return value === 0 ? value : +value;
57
92
  }
58
- value = value.replace(reTrim, '');
93
+ value = _baseTrim(value);
59
94
  var isBinary = reIsBinary.test(value);
60
95
  return (isBinary || reIsOctal.test(value))
61
96
  ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
@@ -1,10 +1,10 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { a as _core, e as _objectDp, n as _objectKeys, p as _objectKeysInternal, q as _enumBugKeys, r as _toIobject, d as _descriptors, s as _toPrimitive, t as _ie8DomDefine, u as _has, o as _propertyDesc, i as _global, v as _shared, j as _fails, w as _uid, _ as _export, k as _hide, m as _anObject, f as _toObject, b as _isObject } from './_to-object-a4107da3.js';
3
- import { b as _wks, f as _redefine, c as _setToStringTag, _ as _objectCreate } from './es6.string.iterator-c990c18c.js';
2
+ import { a as _core, e as _objectDp, n as _objectKeys, p as _objectKeysInternal, q as _enumBugKeys, r as _toIobject, d as _descriptors, s as _toPrimitive, t as _ie8DomDefine, u as _has, o as _propertyDesc, i as _global, v as _shared, j as _fails, w as _uid, _ as _export, k as _hide, m as _anObject, f as _toObject, b as _isObject } from './_to-object-cedb5b78.js';
3
+ import { b as _wks, f as _redefine, c as _setToStringTag, _ as _objectCreate } from './es6.string.iterator-1577cb76.js';
4
4
  import { _ as _library } from './_library-528f1934.js';
5
5
  import { _ as _objectGops, a as _objectPie } from './_object-pie-33c40e79.js';
6
- import './web.dom.iterable-4439f05a.js';
7
- import { _ as _meta, a as _isArray } from './_is-array-58e95429.js';
6
+ import './web.dom.iterable-ace8ed30.js';
7
+ import { _ as _meta, a as _isArray } from './_is-array-328b85b7.js';
8
8
 
9
9
  var f = _wks;
10
10
 
@@ -1,5 +1,5 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import { i as imageUrlBuilder } from './index-73819142.js';
2
+ import { i as imageUrlBuilder } from './index-f7fdcc91.js';
3
3
 
4
4
  // Sanity image auto formating
5
5
 
@@ -1,8 +1,8 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-a4107da3.js';
3
- import './_object-sap-964b6feb.js';
4
- import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
5
- import { _ as _Object$keys } from './keys-8eda7a5c.js';
2
+ import './_to-object-cedb5b78.js';
3
+ import './_object-sap-1b84e2bf.js';
4
+ import { _ as _JSON$stringify } from './stringify-d1b9276a.js';
5
+ import { _ as _Object$keys } from './keys-526daf0a.js';
6
6
 
7
7
  var UstreamEmbed = function () {
8
8
  function a(a) {
@@ -1,5 +1,5 @@
1
- import { r as _toIobject, i as _global, k as _hide } from './_to-object-a4107da3.js';
2
- import { a as _iterDefine, e as _iterators, b as _wks } from './es6.string.iterator-c990c18c.js';
1
+ import { r as _toIobject, i as _global, k as _hide } from './_to-object-cedb5b78.js';
2
+ import { a as _iterDefine, e as _iterators, b as _wks } from './es6.string.iterator-1577cb76.js';
3
3
 
4
4
  var _iterStep = function (done, value) {
5
5
  return { value: value, done: !!done };
package/package.json CHANGED
@@ -1,111 +1,110 @@
1
- {
2
- "name": "@mjhls/mjh-framework",
3
- "version": "1.0.842-beta.0",
4
- "description": "Foundation Framework",
5
- "author": "mjh-framework",
6
- "license": "MIT",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/MJHLS/mjh-framework.git"
10
- },
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "engines": {
14
- "node": ">=8",
15
- "npm": ">=5"
16
- },
17
- "scripts": {
18
- "clean": "rimraf dist",
19
- "test": "cross-env CI=1 react-scripts test --env=jsdom",
20
- "test:watch": "react-scripts test --env=jsdom",
21
- "build": "npm run clean && rollup -c",
22
- "start": "npm run clean && rollup -c -w",
23
- "prepare": "yarn run build",
24
- "predeploy": "cd example && yarn install && yarn run build",
25
- "deploy": "gh-pages -d example/build"
26
- },
27
- "peerDependencies": {
28
- "disqus-react": "^1.0.11",
29
- "next": "^9.0.0",
30
- "prop-types": "^15.5.4",
31
- "react": "^15.0.0 || ^16.0.0",
32
- "react-bootstrap": "^1.0.0-beta.14",
33
- "react-dom": "^15.0.0 || ^16.0.0",
34
- "react-share": "^4.0.1"
35
- },
36
- "devDependencies": {
37
- "@brightcove/react-player-loader": "^1.4.0",
38
- "@rollup/plugin-json": "^4.0.3",
39
- "@sanity/block-content-to-react": "^2.0.7",
40
- "@sanity/image-url": "^0.140.15",
41
- "@svgr/rollup": "2.4.1",
42
- "babel-core": "^6.26.3",
43
- "babel-eslint": "^8.2.5",
44
- "babel-plugin-external-helpers": "^6.22.0",
45
- "babel-plugin-transform-runtime": "^6.23.0",
46
- "babel-preset-env": "^1.7.0",
47
- "babel-preset-react": "^6.24.1",
48
- "babel-preset-stage-0": "^6.24.1",
49
- "cross-env": "^5.1.4",
50
- "eslint": "^5.0.1",
51
- "eslint-config-standard": "^11.0.0",
52
- "eslint-config-standard-react": "^6.0.0",
53
- "eslint-plugin-import": "^2.13.0",
54
- "eslint-plugin-node": "^7.0.1",
55
- "eslint-plugin-promise": "^4.0.0",
56
- "eslint-plugin-react": "^7.10.0",
57
- "eslint-plugin-react-hooks": "^2.3.0",
58
- "eslint-plugin-standard": "^3.1.0",
59
- "get-youtube-id": "^1.0.1",
60
- "gh-pages": "^1.2.0",
61
- "lodash": "^4.17.15",
62
- "md5": "^2.2.1",
63
- "moment": "^2.26.0",
64
- "moment-timezone": "^0.5.31",
65
- "next": "^9.2.0",
66
- "react": "^16.12.0",
67
- "react-bootstrap": "1.4.0",
68
- "react-device-detect": "^1.11.14",
69
- "react-dfp": "^0.19.0",
70
- "react-dom": "^16.12.0",
71
- "react-icons": "^3.8.0",
72
- "react-infinite-scroll-component": "^5.0.4",
73
- "react-lazyload": "^2.6.5",
74
- "react-paginate": "^7.1.3",
75
- "react-player": "^1.15.2",
76
- "react-scripts": "^1.1.4",
77
- "react-share": "^4.0.1",
78
- "react-social-icons": "^4.1.0",
79
- "react-visibility-sensor": "^5.1.1",
80
- "react-youtube": "^7.9.0",
81
- "rimraf": "^3.0.2",
82
- "rollup": "^2.7.3",
83
- "rollup-plugin-babel": "3.0.7",
84
- "rollup-plugin-commonjs": "9.3.4",
85
- "rollup-plugin-node-builtins": "2.1.2",
86
- "rollup-plugin-node-resolve": "3.4.0",
87
- "rollup-plugin-postcss": "1.6.3",
88
- "rollup-plugin-url": "1.4.0"
89
- },
90
- "files": [
91
- "dist"
92
- ],
93
- "dependencies": {
94
- "babel-polyfill": "^6.26.0",
95
- "cookie": "^0.4.1",
96
- "disqus-react": "^1.0.11",
97
- "faunadb": "^4.2.0",
98
- "js-cookie": "^2.2.1",
99
- "next-auth": "^3.2.0",
100
- "next-cookies": "^2.0.3",
101
- "nookies": "^2.4.0",
102
- "react-cookies": "^0.1.1",
103
- "react-instantsearch-dom": "^6.10.3",
104
- "react-script-tag": "^1.1.2",
105
- "rollup-plugin-peer-deps-external": "^2.2.4",
106
- "shortid": "^2.2.15",
107
- "smoothscroll-polyfill": "^0.4.4",
108
- "striptags": "^3.1.1",
109
- "superagent": "^5.2.2"
110
- }
111
- }
1
+ {
2
+ "name": "@mjhls/mjh-framework",
3
+ "version": "1.0.842",
4
+ "description": "Foundation Framework",
5
+ "author": "mjh-framework",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/MJHLS/mjh-framework.git"
10
+ },
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "engines": {
14
+ "node": ">=8",
15
+ "npm": ">=5"
16
+ },
17
+ "scripts": {
18
+ "clean": "rimraf dist",
19
+ "test": "cross-env CI=1 react-scripts test --env=jsdom",
20
+ "test:watch": "react-scripts test --env=jsdom",
21
+ "build": "npm run clean && rollup -c",
22
+ "start": "npm run clean && rollup -c -w",
23
+ "prepare": "yarn run build",
24
+ "predeploy": "cd example && yarn install && yarn run build",
25
+ "deploy": "gh-pages -d example/build"
26
+ },
27
+ "peerDependencies": {
28
+ "disqus-react": "^1.0.11",
29
+ "next": "^9.0.0",
30
+ "prop-types": "^15.5.4",
31
+ "react": "^15.0.0 || ^16.0.0",
32
+ "react-bootstrap": "^1.0.0-beta.14",
33
+ "react-dom": "^15.0.0 || ^16.0.0",
34
+ "react-share": "^4.0.1"
35
+ },
36
+ "devDependencies": {
37
+ "@brightcove/react-player-loader": "^1.4.0",
38
+ "@rollup/plugin-json": "^4.0.3",
39
+ "@sanity/block-content-to-react": "^2.0.7",
40
+ "@sanity/image-url": "^0.140.15",
41
+ "@svgr/rollup": "2.4.1",
42
+ "babel-core": "^6.26.3",
43
+ "babel-eslint": "^8.2.5",
44
+ "babel-plugin-external-helpers": "^6.22.0",
45
+ "babel-plugin-transform-runtime": "^6.23.0",
46
+ "babel-preset-env": "^1.7.0",
47
+ "babel-preset-react": "^6.24.1",
48
+ "babel-preset-stage-0": "^6.24.1",
49
+ "cross-env": "^5.1.4",
50
+ "eslint": "^5.0.1",
51
+ "eslint-config-standard": "^11.0.0",
52
+ "eslint-config-standard-react": "^6.0.0",
53
+ "eslint-plugin-import": "^2.13.0",
54
+ "eslint-plugin-node": "^7.0.1",
55
+ "eslint-plugin-promise": "^4.0.0",
56
+ "eslint-plugin-react": "^7.10.0",
57
+ "eslint-plugin-react-hooks": "^2.3.0",
58
+ "eslint-plugin-standard": "^3.1.0",
59
+ "get-youtube-id": "^1.0.1",
60
+ "gh-pages": "^1.2.0",
61
+ "lodash": "^4.17.15",
62
+ "md5": "^2.2.1",
63
+ "moment": "^2.26.0",
64
+ "moment-timezone": "^0.5.31",
65
+ "next": "^9.2.0",
66
+ "react": "^16.12.0",
67
+ "react-bootstrap": "1.4.0",
68
+ "react-device-detect": "^1.11.14",
69
+ "react-dfp": "^0.19.0",
70
+ "react-dom": "^16.12.0",
71
+ "react-icons": "^3.8.0",
72
+ "react-infinite-scroll-component": "^5.0.4",
73
+ "react-lazyload": "^2.6.5",
74
+ "react-player": "^1.15.2",
75
+ "react-scripts": "^1.1.4",
76
+ "react-share": "^4.0.1",
77
+ "react-social-icons": "^4.1.0",
78
+ "react-visibility-sensor": "^5.1.1",
79
+ "react-youtube": "^7.9.0",
80
+ "rimraf": "^3.0.2",
81
+ "rollup": "^2.7.3",
82
+ "rollup-plugin-babel": "3.0.7",
83
+ "rollup-plugin-commonjs": "9.3.4",
84
+ "rollup-plugin-node-builtins": "2.1.2",
85
+ "rollup-plugin-node-resolve": "3.4.0",
86
+ "rollup-plugin-postcss": "1.6.3",
87
+ "rollup-plugin-url": "1.4.0"
88
+ },
89
+ "files": [
90
+ "dist"
91
+ ],
92
+ "dependencies": {
93
+ "babel-polyfill": "^6.26.0",
94
+ "cookie": "^0.4.1",
95
+ "disqus-react": "^1.0.11",
96
+ "faunadb": "^4.2.0",
97
+ "js-cookie": "^2.2.1",
98
+ "next-auth": "^3.2.0",
99
+ "next-cookies": "^2.0.3",
100
+ "nookies": "^2.4.0",
101
+ "react-cookies": "^0.1.1",
102
+ "react-instantsearch-dom": "^6.10.3",
103
+ "react-script-tag": "^1.1.2",
104
+ "rollup-plugin-peer-deps-external": "^2.2.4",
105
+ "shortid": "^2.2.15",
106
+ "smoothscroll-polyfill": "^0.4.4",
107
+ "striptags": "^3.1.1",
108
+ "superagent": "^5.2.2"
109
+ }
110
+ }
@@ -1,110 +0,0 @@
1
- 'use strict';
2
-
3
- function _defineProperty(obj, key, value) {
4
- if (key in obj) {
5
- Object.defineProperty(obj, key, {
6
- value: value,
7
- enumerable: true,
8
- configurable: true,
9
- writable: true
10
- });
11
- } else {
12
- obj[key] = value;
13
- }
14
-
15
- return obj;
16
- }
17
-
18
- function _classCallCheck(instance, Constructor) {
19
- if (!(instance instanceof Constructor)) {
20
- throw new TypeError("Cannot call a class as a function");
21
- }
22
- }
23
-
24
- function _defineProperties(target, props) {
25
- for (var i = 0; i < props.length; i++) {
26
- var descriptor = props[i];
27
- descriptor.enumerable = descriptor.enumerable || false;
28
- descriptor.configurable = true;
29
- if ("value" in descriptor) descriptor.writable = true;
30
- Object.defineProperty(target, descriptor.key, descriptor);
31
- }
32
- }
33
-
34
- function _createClass(Constructor, protoProps, staticProps) {
35
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
36
- if (staticProps) _defineProperties(Constructor, staticProps);
37
- return Constructor;
38
- }
39
-
40
- function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
41
-
42
- function _typeof(obj) {
43
- if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
44
- _typeof = function _typeof(obj) {
45
- return _typeof2(obj);
46
- };
47
- } else {
48
- _typeof = function _typeof(obj) {
49
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
50
- };
51
- }
52
-
53
- return _typeof(obj);
54
- }
55
-
56
- function _assertThisInitialized(self) {
57
- if (self === void 0) {
58
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
59
- }
60
-
61
- return self;
62
- }
63
-
64
- function _possibleConstructorReturn(self, call) {
65
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
66
- return call;
67
- }
68
-
69
- return _assertThisInitialized(self);
70
- }
71
-
72
- function _getPrototypeOf(o) {
73
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
74
- return o.__proto__ || Object.getPrototypeOf(o);
75
- };
76
- return _getPrototypeOf(o);
77
- }
78
-
79
- function _setPrototypeOf(o, p) {
80
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
81
- o.__proto__ = p;
82
- return o;
83
- };
84
-
85
- return _setPrototypeOf(o, p);
86
- }
87
-
88
- function _inherits(subClass, superClass) {
89
- if (typeof superClass !== "function" && superClass !== null) {
90
- throw new TypeError("Super expression must either be null or a function");
91
- }
92
-
93
- subClass.prototype = Object.create(superClass && superClass.prototype, {
94
- constructor: {
95
- value: subClass,
96
- writable: true,
97
- configurable: true
98
- }
99
- });
100
- if (superClass) _setPrototypeOf(subClass, superClass);
101
- }
102
-
103
- exports._assertThisInitialized = _assertThisInitialized;
104
- exports._classCallCheck = _classCallCheck;
105
- exports._createClass = _createClass;
106
- exports._defineProperty = _defineProperty;
107
- exports._getPrototypeOf = _getPrototypeOf;
108
- exports._inherits = _inherits;
109
- exports._possibleConstructorReturn = _possibleConstructorReturn;
110
- exports._typeof = _typeof;