@mjhls/mjh-framework 1.0.689 → 1.0.690

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 (266) hide show
  1. package/README.md +172 -172
  2. package/dist/cjs/AD.js +10 -9
  3. package/dist/cjs/AD300x250.js +24 -23
  4. package/dist/cjs/AD300x250x600.js +24 -23
  5. package/dist/cjs/AD728x90.js +27 -26
  6. package/dist/cjs/ADFloatingFooter.js +29 -28
  7. package/dist/cjs/ADFooter.js +15 -14
  8. package/dist/cjs/ADGutter.js +26 -25
  9. package/dist/cjs/{ADInfeed-3410ab3c.js → ADInfeed-ba531ca6.js} +13 -11
  10. package/dist/cjs/ADSkyscraper.js +26 -25
  11. package/dist/cjs/ADSponsoredResources.js +26 -25
  12. package/dist/cjs/ADWebcast.js +26 -25
  13. package/dist/cjs/ADWelcome.js +30 -29
  14. package/dist/cjs/{ADlgInfeed-845aac15.js → ADlgInfeed-b0cc0e88.js} +9 -8
  15. package/dist/cjs/AccordionPanel.js +31 -29
  16. package/dist/cjs/AdSlot.js +30 -29
  17. package/dist/cjs/AdSlotsProvider.js +7 -6
  18. package/dist/cjs/AlphabeticList.js +25 -24
  19. package/dist/cjs/ArticleCarousel.js +22 -21
  20. package/dist/cjs/ArticleSeriesListing.js +58 -57
  21. package/dist/cjs/Auth.js +793 -557
  22. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-98ebefa4.js} +14 -13
  23. package/dist/cjs/Beam.js +9 -9
  24. package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-bbc3be61.js} +25 -24
  25. package/dist/cjs/Breadcrumbs.js +29 -27
  26. package/dist/cjs/BrowseVideosListing.js +28 -27
  27. package/dist/cjs/CMEDeck.js +77 -77
  28. package/dist/cjs/Column1.js +14 -11
  29. package/dist/cjs/Column2.js +35 -32
  30. package/dist/cjs/Column3.js +57 -54
  31. package/dist/cjs/ConferenceArticleCard.js +38 -37
  32. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  33. package/dist/cjs/DeckContent.js +106 -102
  34. package/dist/cjs/DeckQueue.js +90 -86
  35. package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-76acc8c2.js} +31 -30
  36. package/dist/cjs/EventsDeck.js +153 -146
  37. package/dist/cjs/ExternalResources.js +73 -72
  38. package/dist/cjs/Feature.js +27 -25
  39. package/dist/cjs/ForbesHero.js +41 -40
  40. package/dist/cjs/GridContent.js +180 -176
  41. package/dist/cjs/GridHero.js +43 -42
  42. package/dist/cjs/GroupDeck.js +50 -49
  43. package/dist/cjs/HamMagazine.js +144 -139
  44. package/dist/cjs/Header.js +13 -11
  45. package/dist/cjs/Hero.js +13 -12
  46. package/dist/cjs/HighlightenVideo.js +18 -17
  47. package/dist/cjs/HorizontalHero.js +26 -25
  48. package/dist/cjs/IssueContentDeck.js +77 -72
  49. package/dist/cjs/IssueDeck.js +75 -70
  50. package/dist/cjs/IssueLanding.js +70 -69
  51. package/dist/cjs/KMTracker.js +15 -15
  52. package/dist/cjs/LeftNav.js +37 -35
  53. package/dist/cjs/MasterDeck.js +81 -80
  54. package/dist/cjs/NavDvm.js +80 -75
  55. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  56. package/dist/cjs/NavMagazine.js +153 -148
  57. package/dist/cjs/NavNative.js +128 -120
  58. package/dist/cjs/NavNormal.js +53 -48
  59. package/dist/cjs/OncliveHero.js +20 -20
  60. package/dist/cjs/OncliveLargeHero.js +67 -66
  61. package/dist/cjs/PageFilter.js +15 -14
  62. package/dist/cjs/PartnerDetailListing.js +1302 -104
  63. package/dist/cjs/PdfDownload.js +9 -8
  64. package/dist/cjs/PopUpModal.js +21 -19
  65. package/dist/cjs/PublicationDeck.js +66 -61
  66. package/dist/cjs/PublicationLanding.js +98 -94
  67. package/dist/cjs/QueueDeckExpanded.js +292 -292
  68. package/dist/cjs/RecentNews.js +24 -23
  69. package/dist/cjs/RelatedContent.js +53 -52
  70. package/dist/cjs/RelatedTopicsDropdown.js +32 -29
  71. package/dist/cjs/RolesDeck.js +32 -27
  72. package/dist/cjs/Search.js +22 -18
  73. package/dist/cjs/Segment.js +7 -7
  74. package/dist/cjs/SetCookie.js +1 -1
  75. package/dist/cjs/SideFooter.js +38 -37
  76. package/dist/cjs/SocialIcons.js +10 -9
  77. package/dist/cjs/{SocialSearchComponent-6b5e5b47.js → SocialSearchComponent-de064e93.js} +38 -34
  78. package/dist/cjs/SocialShare.js +31 -29
  79. package/dist/cjs/TaxonomyCard.js +62 -57
  80. package/dist/cjs/TemplateNormal.js +72 -71
  81. package/dist/cjs/ThumbnailCard.js +22 -20
  82. package/dist/cjs/Ustream.js +27 -26
  83. package/dist/cjs/VerticalHero.js +18 -17
  84. package/dist/cjs/VideoSeriesCard.js +34 -33
  85. package/dist/cjs/VideoSeriesFilter.js +19 -19
  86. package/dist/cjs/VideoSeriesListing.js +72 -71
  87. package/dist/cjs/View.js +238 -235
  88. package/dist/cjs/YahooHero.js +40 -39
  89. package/dist/cjs/YoutubeGroup.js +69 -68
  90. package/dist/cjs/{_is-array-754e012d.js → _is-array-b1090e3d.js} +6 -6
  91. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-8decaf0f.js} +2 -2
  92. package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-b69cab35.js} +1 -1
  93. package/dist/cjs/{_set-species-f92c67c5.js → _set-species-5c9fd235.js} +4 -4
  94. package/dist/cjs/{_to-object-329a650b.js → _to-object-e2d5cc9d.js} +3 -3
  95. package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-a855b820.js} +6 -6
  96. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
  97. package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-bf3fde8c.js} +2 -2
  98. package/dist/cjs/{define-property-f4d12f4e.js → define-property-1d75ae0f.js} +1 -1
  99. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-16bd5829.js} +1 -1
  100. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-e3ce14ae.js} +1 -1
  101. package/dist/cjs/{extends-60837c34.js → extends-a9da965c.js} +1 -1
  102. package/dist/cjs/getRelatedArticle.js +424 -13
  103. package/dist/cjs/getSerializers.js +39 -39
  104. package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-d8df2f51.js} +11 -11
  105. package/dist/cjs/getTargeting.js +7 -7
  106. package/dist/cjs/iconBase-68959171.js +0 -3
  107. package/dist/cjs/{index-b5eb3ff8.js → index-10185024.js} +3 -3
  108. package/dist/cjs/{index-2d0a4911.js → index-5ad2b070.js} +12 -11
  109. package/dist/cjs/{index-5be2866f.js → index-6367b7bf.js} +16 -17
  110. package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
  111. package/dist/cjs/index-bd6c9f56.js +211 -0
  112. package/dist/cjs/{index-44c25825.js → index-e1d6c590.js} +427 -417
  113. package/dist/cjs/{index.es-ab3f2690.js → index.es-f3e47207.js} +28 -11
  114. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
  115. package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
  116. package/dist/cjs/{index.esm-876ca9ff.js → index.esm-61650d1a.js} +5 -12
  117. package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
  118. package/dist/cjs/index.js +126 -127
  119. package/dist/cjs/{inherits-513d81cd.js → inherits-3affeccb.js} +8 -8
  120. package/dist/cjs/{keys-a586b7a0.js → keys-218a754a.js} +2 -2
  121. package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
  122. package/dist/cjs/{main-b6c96c8d.js → main-df97bfe9.js} +84 -79
  123. package/dist/cjs/{moment-66a6a284.js → moment-ca3bd9fb.js} +10 -8
  124. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
  125. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5b1b0ed8.js} +4 -4
  126. package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-1abb448e.js} +1 -1
  127. package/dist/cjs/{stringify-7c5aff47.js → stringify-4f757ee6.js} +1 -1
  128. package/dist/cjs/timeDifferenceCalc.js +1 -1
  129. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-57153848.js} +4 -4
  130. package/dist/cjs/{typeof-725500bc.js → typeof-c69a5548.js} +6 -6
  131. package/dist/cjs/urlFor.js +2 -2
  132. package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
  133. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-0ffca19f.js} +3 -3
  134. package/dist/esm/AD.js +7 -7
  135. package/dist/esm/AD300x250.js +20 -20
  136. package/dist/esm/AD300x250x600.js +20 -20
  137. package/dist/esm/AD728x90.js +23 -23
  138. package/dist/esm/ADFloatingFooter.js +25 -25
  139. package/dist/esm/ADFooter.js +11 -11
  140. package/dist/esm/ADGutter.js +22 -22
  141. package/dist/esm/{ADInfeed-205cb7a9.js → ADInfeed-45191cf8.js} +7 -7
  142. package/dist/esm/ADSkyscraper.js +22 -22
  143. package/dist/esm/ADSponsoredResources.js +22 -22
  144. package/dist/esm/ADWebcast.js +22 -22
  145. package/dist/esm/ADWelcome.js +26 -26
  146. package/dist/esm/{ADlgInfeed-e538f17a.js → ADlgInfeed-1f8fc733.js} +6 -6
  147. package/dist/esm/AccordionPanel.js +24 -24
  148. package/dist/esm/AdSlot.js +21 -21
  149. package/dist/esm/AdSlotsProvider.js +3 -3
  150. package/dist/esm/AlphabeticList.js +21 -21
  151. package/dist/esm/ArticleCarousel.js +18 -18
  152. package/dist/esm/ArticleSeriesListing.js +52 -52
  153. package/dist/esm/Auth.js +775 -543
  154. package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-30ec92a8.js} +11 -11
  155. package/dist/esm/Beam.js +9 -9
  156. package/dist/esm/{BlockContent-a614acdf.js → BlockContent-c5de3044.js} +4 -4
  157. package/dist/esm/Breadcrumbs.js +17 -17
  158. package/dist/esm/BrowseVideosListing.js +24 -24
  159. package/dist/esm/CMEDeck.js +73 -73
  160. package/dist/esm/Column1.js +5 -5
  161. package/dist/esm/Column2.js +26 -26
  162. package/dist/esm/Column3.js +47 -47
  163. package/dist/esm/ConferenceArticleCard.js +33 -33
  164. package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
  165. package/dist/esm/DeckContent.js +84 -84
  166. package/dist/esm/DeckQueue.js +64 -64
  167. package/dist/esm/{Dfp-8a8fca18.js → Dfp-8b5b19d0.js} +20 -20
  168. package/dist/esm/EventsDeck.js +99 -99
  169. package/dist/esm/ExternalResources.js +66 -66
  170. package/dist/esm/Feature.js +18 -18
  171. package/dist/esm/ForbesHero.js +34 -34
  172. package/dist/esm/GridContent.js +138 -138
  173. package/dist/esm/GridHero.js +36 -36
  174. package/dist/esm/GroupDeck.js +45 -45
  175. package/dist/esm/HamMagazine.js +113 -113
  176. package/dist/esm/Header.js +7 -7
  177. package/dist/esm/Hero.js +9 -9
  178. package/dist/esm/HighlightenVideo.js +14 -14
  179. package/dist/esm/HorizontalHero.js +21 -21
  180. package/dist/esm/IssueContentDeck.js +49 -49
  181. package/dist/esm/IssueDeck.js +46 -46
  182. package/dist/esm/IssueLanding.js +66 -66
  183. package/dist/esm/KMTracker.js +15 -15
  184. package/dist/esm/LeftNav.js +31 -31
  185. package/dist/esm/MasterDeck.js +74 -74
  186. package/dist/esm/NavDvm.js +57 -57
  187. package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
  188. package/dist/esm/NavMagazine.js +124 -124
  189. package/dist/esm/NavNative.js +98 -98
  190. package/dist/esm/NavNormal.js +36 -36
  191. package/dist/esm/OncliveHero.js +16 -17
  192. package/dist/esm/OncliveLargeHero.js +59 -59
  193. package/dist/esm/PageFilter.js +12 -12
  194. package/dist/esm/PartnerDetailListing.js +1296 -100
  195. package/dist/esm/PdfDownload.js +6 -6
  196. package/dist/esm/PopUpModal.js +14 -14
  197. package/dist/esm/PublicationDeck.js +38 -38
  198. package/dist/esm/PublicationLanding.js +75 -75
  199. package/dist/esm/QueueDeckExpanded.js +272 -272
  200. package/dist/esm/RecentNews.js +20 -20
  201. package/dist/esm/RelatedContent.js +47 -47
  202. package/dist/esm/RelatedTopicsDropdown.js +21 -21
  203. package/dist/esm/RolesDeck.js +13 -13
  204. package/dist/esm/Search.js +12 -12
  205. package/dist/esm/Segment.js +7 -7
  206. package/dist/esm/SetCookie.js +1 -1
  207. package/dist/esm/SideFooter.js +33 -33
  208. package/dist/esm/SocialIcons.js +7 -7
  209. package/dist/esm/{SocialSearchComponent-7f14e0f3.js → SocialSearchComponent-cddc9ce1.js} +26 -26
  210. package/dist/esm/SocialShare.js +25 -25
  211. package/dist/esm/TaxonomyCard.js +41 -41
  212. package/dist/esm/TemplateNormal.js +65 -65
  213. package/dist/esm/ThumbnailCard.js +13 -13
  214. package/dist/esm/Ustream.js +23 -23
  215. package/dist/esm/VerticalHero.js +13 -13
  216. package/dist/esm/VideoSeriesCard.js +25 -25
  217. package/dist/esm/VideoSeriesFilter.js +16 -16
  218. package/dist/esm/VideoSeriesListing.js +65 -65
  219. package/dist/esm/View.js +224 -225
  220. package/dist/esm/YahooHero.js +34 -34
  221. package/dist/esm/YoutubeGroup.js +53 -53
  222. package/dist/esm/{_is-array-49698029.js → _is-array-ffa65b7e.js} +6 -6
  223. package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-256a4d61.js} +2 -2
  224. package/dist/esm/{_object-sap-4d59d5bd.js → _object-sap-0cecd031.js} +1 -1
  225. package/dist/esm/{_set-species-cede29f8.js → _set-species-09ba387c.js} +4 -4
  226. package/dist/esm/{_to-object-ded78eb9.js → _to-object-ee10dabb.js} +4 -4
  227. package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-b0af4000.js} +6 -6
  228. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
  229. package/dist/esm/{core.get-iterator-method-54d2e411.js → core.get-iterator-method-0e6dc181.js} +2 -2
  230. package/dist/esm/{define-property-de3fc946.js → define-property-e013aae3.js} +1 -1
  231. package/dist/esm/{defineProperty-b798470d.js → defineProperty-2385da87.js} +1 -1
  232. package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-c5179428.js} +2 -2
  233. package/dist/esm/{extends-cc5da797.js → extends-03593dc6.js} +1 -1
  234. package/dist/esm/getRelatedArticle.js +424 -13
  235. package/dist/esm/getSerializers.js +39 -39
  236. package/dist/esm/{getTargeting-2acdec91.js → getTargeting-60717d7f.js} +11 -11
  237. package/dist/esm/getTargeting.js +7 -7
  238. package/dist/esm/{index-51a80699.js → index-4de5c15f.js} +3 -3
  239. package/dist/esm/{index-93ec3c59.js → index-669ff425.js} +6 -6
  240. package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
  241. package/dist/esm/{index-d2f90501.js → index-c00b0bbb.js} +16 -17
  242. package/dist/esm/{index-8a757d91.js → index-cbd95715.js} +373 -369
  243. package/dist/esm/index-db3bb315.js +207 -0
  244. package/dist/esm/{index.es-938a3a58.js → index.es-c6222053.js} +25 -9
  245. package/dist/esm/{index.esm-85cb09e6.js → index.esm-79385203.js} +5 -12
  246. package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
  247. package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
  248. package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
  249. package/dist/esm/index.js +104 -105
  250. package/dist/esm/{inherits-7ee3e0c1.js → inherits-d88f5b29.js} +5 -5
  251. package/dist/esm/{keys-fc2d4c34.js → keys-618df59d.js} +2 -2
  252. package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
  253. package/dist/esm/{main-0465b2a0.js → main-a2443735.js} +84 -80
  254. package/dist/esm/{moment-12415288.js → moment-b6f49411.js} +10 -8
  255. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
  256. package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-648674b3.js} +4 -4
  257. package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-ab6e0238.js} +1 -1
  258. package/dist/esm/{stringify-008c8802.js → stringify-7c97a94d.js} +1 -1
  259. package/dist/esm/timeDifferenceCalc.js +1 -1
  260. package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-aa76a4fe.js} +4 -4
  261. package/dist/esm/{typeof-08f2c380.js → typeof-5c759779.js} +6 -6
  262. package/dist/esm/urlFor.js +1 -1
  263. package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
  264. package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-de3b4afb.js} +3 -3
  265. package/package.json +107 -107
  266. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
@@ -0,0 +1,207 @@
1
+ /*!
2
+ * cookie
3
+ * Copyright(c) 2012-2014 Roman Shtylman
4
+ * Copyright(c) 2015 Douglas Christopher Wilson
5
+ * MIT Licensed
6
+ */
7
+
8
+ /**
9
+ * Module exports.
10
+ * @public
11
+ */
12
+
13
+ var parse_1 = parse;
14
+ var serialize_1 = serialize;
15
+
16
+ /**
17
+ * Module variables.
18
+ * @private
19
+ */
20
+
21
+ var decode = decodeURIComponent;
22
+ var encode = encodeURIComponent;
23
+ var pairSplitRegExp = /; */;
24
+
25
+ /**
26
+ * RegExp to match field-content in RFC 7230 sec 3.2
27
+ *
28
+ * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
29
+ * field-vchar = VCHAR / obs-text
30
+ * obs-text = %x80-FF
31
+ */
32
+
33
+ var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
34
+
35
+ /**
36
+ * Parse a cookie header.
37
+ *
38
+ * Parse the given cookie header string into an object
39
+ * The object has the various cookies as keys(names) => values
40
+ *
41
+ * @param {string} str
42
+ * @param {object} [options]
43
+ * @return {object}
44
+ * @public
45
+ */
46
+
47
+ function parse(str, options) {
48
+ if (typeof str !== 'string') {
49
+ throw new TypeError('argument str must be a string');
50
+ }
51
+
52
+ var obj = {};
53
+ var opt = options || {};
54
+ var pairs = str.split(pairSplitRegExp);
55
+ var dec = opt.decode || decode;
56
+
57
+ for (var i = 0; i < pairs.length; i++) {
58
+ var pair = pairs[i];
59
+ var eq_idx = pair.indexOf('=');
60
+
61
+ // skip things that don't look like key=value
62
+ if (eq_idx < 0) {
63
+ continue;
64
+ }
65
+
66
+ var key = pair.substr(0, eq_idx).trim();
67
+ var val = pair.substr(++eq_idx, pair.length).trim();
68
+
69
+ // quoted values
70
+ if ('"' == val[0]) {
71
+ val = val.slice(1, -1);
72
+ }
73
+
74
+ // only assign once
75
+ if (undefined == obj[key]) {
76
+ obj[key] = tryDecode(val, dec);
77
+ }
78
+ }
79
+
80
+ return obj;
81
+ }
82
+
83
+ /**
84
+ * Serialize data into a cookie header.
85
+ *
86
+ * Serialize the a name value pair into a cookie string suitable for
87
+ * http headers. An optional options object specified cookie parameters.
88
+ *
89
+ * serialize('foo', 'bar', { httpOnly: true })
90
+ * => "foo=bar; httpOnly"
91
+ *
92
+ * @param {string} name
93
+ * @param {string} val
94
+ * @param {object} [options]
95
+ * @return {string}
96
+ * @public
97
+ */
98
+
99
+ function serialize(name, val, options) {
100
+ var opt = options || {};
101
+ var enc = opt.encode || encode;
102
+
103
+ if (typeof enc !== 'function') {
104
+ throw new TypeError('option encode is invalid');
105
+ }
106
+
107
+ if (!fieldContentRegExp.test(name)) {
108
+ throw new TypeError('argument name is invalid');
109
+ }
110
+
111
+ var value = enc(val);
112
+
113
+ if (value && !fieldContentRegExp.test(value)) {
114
+ throw new TypeError('argument val is invalid');
115
+ }
116
+
117
+ var str = name + '=' + value;
118
+
119
+ if (null != opt.maxAge) {
120
+ var maxAge = opt.maxAge - 0;
121
+
122
+ if (isNaN(maxAge) || !isFinite(maxAge)) {
123
+ throw new TypeError('option maxAge is invalid')
124
+ }
125
+
126
+ str += '; Max-Age=' + Math.floor(maxAge);
127
+ }
128
+
129
+ if (opt.domain) {
130
+ if (!fieldContentRegExp.test(opt.domain)) {
131
+ throw new TypeError('option domain is invalid');
132
+ }
133
+
134
+ str += '; Domain=' + opt.domain;
135
+ }
136
+
137
+ if (opt.path) {
138
+ if (!fieldContentRegExp.test(opt.path)) {
139
+ throw new TypeError('option path is invalid');
140
+ }
141
+
142
+ str += '; Path=' + opt.path;
143
+ }
144
+
145
+ if (opt.expires) {
146
+ if (typeof opt.expires.toUTCString !== 'function') {
147
+ throw new TypeError('option expires is invalid');
148
+ }
149
+
150
+ str += '; Expires=' + opt.expires.toUTCString();
151
+ }
152
+
153
+ if (opt.httpOnly) {
154
+ str += '; HttpOnly';
155
+ }
156
+
157
+ if (opt.secure) {
158
+ str += '; Secure';
159
+ }
160
+
161
+ if (opt.sameSite) {
162
+ var sameSite = typeof opt.sameSite === 'string'
163
+ ? opt.sameSite.toLowerCase() : opt.sameSite;
164
+
165
+ switch (sameSite) {
166
+ case true:
167
+ str += '; SameSite=Strict';
168
+ break;
169
+ case 'lax':
170
+ str += '; SameSite=Lax';
171
+ break;
172
+ case 'strict':
173
+ str += '; SameSite=Strict';
174
+ break;
175
+ case 'none':
176
+ str += '; SameSite=None';
177
+ break;
178
+ default:
179
+ throw new TypeError('option sameSite is invalid');
180
+ }
181
+ }
182
+
183
+ return str;
184
+ }
185
+
186
+ /**
187
+ * Try decoding a string using a decoding function.
188
+ *
189
+ * @param {string} str
190
+ * @param {function} decode
191
+ * @private
192
+ */
193
+
194
+ function tryDecode(str, decode) {
195
+ try {
196
+ return decode(str);
197
+ } catch (e) {
198
+ return str;
199
+ }
200
+ }
201
+
202
+ var cookie = {
203
+ parse: parse_1,
204
+ serialize: serialize_1
205
+ };
206
+
207
+ export { cookie as c, parse_1 as p, serialize_1 as s };
@@ -1,4 +1,4 @@
1
- import React__default, { Component } from 'react';
1
+ import React, { Component } from 'react';
2
2
 
3
3
  /*! *****************************************************************************
4
4
  Copyright (c) Microsoft Corporation. All rights reserved.
@@ -291,7 +291,9 @@ var InfiniteScroll = /** @class */ (function (_super) {
291
291
  // prevents multiple triggers.
292
292
  if (_this.actionTriggered)
293
293
  return;
294
- var atBottom = _this.isElementAtBottom(target, _this.props.scrollThreshold);
294
+ var atBottom = _this.props.inverse
295
+ ? _this.isElementAtTop(target, _this.props.scrollThreshold)
296
+ : _this.isElementAtBottom(target, _this.props.scrollThreshold);
295
297
  // call the `next` function in the props to trigger the next data fetch
296
298
  if (atBottom && _this.props.hasMore) {
297
299
  _this.actionTriggered = true;
@@ -364,9 +366,8 @@ var InfiniteScroll = /** @class */ (function (_super) {
364
366
  }
365
367
  };
366
368
  InfiniteScroll.prototype.UNSAFE_componentWillReceiveProps = function (props) {
367
- // do nothing when dataLength and key are unchanged
368
- if (this.props.key === props.key &&
369
- this.props.dataLength === props.dataLength)
369
+ // do nothing when dataLength is unchanged
370
+ if (this.props.dataLength === props.dataLength)
370
371
  return;
371
372
  this.actionTriggered = false;
372
373
  // update state when new data was sent in
@@ -374,6 +375,21 @@ var InfiniteScroll = /** @class */ (function (_super) {
374
375
  showLoader: false,
375
376
  });
376
377
  };
378
+ InfiniteScroll.prototype.isElementAtTop = function (target, scrollThreshold) {
379
+ if (scrollThreshold === void 0) { scrollThreshold = 0.8; }
380
+ var clientHeight = target === document.body || target === document.documentElement
381
+ ? window.screen.availHeight
382
+ : target.clientHeight;
383
+ var threshold = parseThreshold(scrollThreshold);
384
+ if (threshold.unit === ThresholdUnits.Pixel) {
385
+ return (target.scrollTop <=
386
+ threshold.value + clientHeight - target.scrollHeight + 1 ||
387
+ target.scrollTop === 0);
388
+ }
389
+ return (target.scrollTop <=
390
+ threshold.value / 100 + clientHeight - target.scrollHeight + 1 ||
391
+ target.scrollTop === 0);
392
+ };
377
393
  InfiniteScroll.prototype.isElementAtBottom = function (target, scrollThreshold) {
378
394
  if (scrollThreshold === void 0) { scrollThreshold = 0.8; }
379
395
  var clientHeight = target === document.body || target === document.documentElement
@@ -398,10 +414,10 @@ var InfiniteScroll = /** @class */ (function (_super) {
398
414
  var outerDivStyle = this.props.pullDownToRefresh && this.props.height
399
415
  ? { overflow: 'auto' }
400
416
  : {};
401
- return (React__default.createElement("div", { style: outerDivStyle, className: "infinite-scroll-component__outerdiv" },
402
- React__default.createElement("div", { className: "infinite-scroll-component " + (this.props.className || ''), ref: function (infScroll) { return (_this._infScroll = infScroll); }, style: style },
403
- this.props.pullDownToRefresh && (React__default.createElement("div", { style: { position: 'relative' }, ref: function (pullDown) { return (_this._pullDown = pullDown); } },
404
- React__default.createElement("div", { style: {
417
+ return (React.createElement("div", { style: outerDivStyle, className: "infinite-scroll-component__outerdiv" },
418
+ React.createElement("div", { className: "infinite-scroll-component " + (this.props.className || ''), ref: function (infScroll) { return (_this._infScroll = infScroll); }, style: style },
419
+ this.props.pullDownToRefresh && (React.createElement("div", { style: { position: 'relative' }, ref: function (pullDown) { return (_this._pullDown = pullDown); } },
420
+ React.createElement("div", { style: {
405
421
  position: 'absolute',
406
422
  left: 0,
407
423
  right: 0,
@@ -1,21 +1,14 @@
1
1
  import { G as GenIcon } from './iconBase-602d52fe.js';
2
2
 
3
3
  // THIS FILE IS AUTO GENERATED
4
- var IoIosArrowForward = function (props) {
4
+ function IoIosArrowForward (props) {
5
5
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M294.1 256L167 129c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.3 34 0L345 239c9.1 9.1 9.3 23.7.7 33.1L201.1 417c-4.7 4.7-10.9 7-17 7s-12.3-2.3-17-7c-9.4-9.4-9.4-24.6 0-33.9l127-127.1z"}}]})(props);
6
- };
7
- IoIosArrowForward.displayName = "IoIosArrowForward";
8
- var IoIosOpen = function (props) {
6
+ }function IoIosOpen (props) {
9
7
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M227.8 300.2c-5.1-5.1-5.1-13.3 0-18.4l133.7-133.7c-5.3-2.6-11.2-4.1-17.5-4.1H88c-22 0-40 18-40 40v224c0 22 18 40 40 40h256c22 0 40-18 40-40V184c0-6.3-1.5-12.2-4.1-17.5L246.2 300.2c-5.1 5.1-13.3 5.1-18.4 0z"}},{"tag":"path","attr":{"d":"M459.5 68.5C457 66 453 64 449 64h-97c-7.2-.1-13.1 5.7-13.1 12.9-.1 7.2 5.7 13.1 12.9 13.1l67.3.5-57.6 57.6c8 3.9 14.5 10.4 18.4 18.4l57.6-57.6.5 67.3c.1 7.2 5.9 13 13.1 12.9 7.2-.1 13-5.9 12.9-13.1V78c0-3.5-2-7-4.5-9.5z"}}]})(props);
10
- };
11
- IoIosOpen.displayName = "IoIosOpen";
12
- var IoMdArrowDropdown = function (props) {
8
+ }function IoMdArrowDropdown (props) {
13
9
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M128 192l128 128 128-128z"}}]})(props);
14
- };
15
- IoMdArrowDropdown.displayName = "IoMdArrowDropdown";
16
- var IoMdLogIn = function (props) {
10
+ }function IoMdLogIn (props) {
17
11
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M256 48c-42.9 0-84.2 13-119.2 37.5-34.2 24-60.2 57.2-75.1 96.1L58 192h45.7l1.9-5c8.2-17.8 19.4-33.9 33.5-48 31.2-31.2 72.7-48.4 116.9-48.4s85.7 17.2 116.9 48.4c31.2 31.2 48.4 72.7 48.4 116.9 0 44.1-17.2 85.7-48.4 116.9-31.2 31.2-72.7 48.4-116.9 48.4-44.1 0-85.6-17.2-116.9-48.4-14-14-25.3-30.1-33.5-47.9l-1.9-5H58l3.6 10.4c14.9 38.9 40.9 72.1 75.1 96.1C171.8 451.1 213 464 256 464c114.7 0 208-93.3 208-208S370.7 48 256 48z"}},{"tag":"path","attr":{"d":"M48 277.4h189.7l-43.6 44.7L224 352l96-96-96-96-31 29.9 44.7 44.7H48v42.8z"}}]})(props);
18
- };
19
- IoMdLogIn.displayName = "IoMdLogIn";
12
+ }
20
13
 
21
14
  export { IoIosArrowForward as I, IoMdArrowDropdown as a, IoMdLogIn as b, IoIosOpen as c };
@@ -1,5 +1,5 @@
1
- import React__default from 'react';
2
- import { r as reactSocialIcons_1 } from './react-social-icons-a7d5c5c7.js';
1
+ import React from 'react';
2
+ import { r as reactSocialIcons_1 } from './react-social-icons-91f9716f.js';
3
3
  import { G as GenIcon } from './iconBase-602d52fe.js';
4
4
 
5
5
  var year = new Date().getFullYear();
@@ -8,26 +8,26 @@ var SocialNavFooter = function SocialNavFooter(props) {
8
8
  var website = props.website,
9
9
  showLogo = props.showLogo;
10
10
 
11
- return React__default.createElement(
11
+ return React.createElement(
12
12
  'div',
13
13
  { className: 'nav-footer' },
14
- website && website.footerLinks && website.footerLinks.length && React__default.createElement(
14
+ website && website.footerLinks && website.footerLinks.length && React.createElement(
15
15
  'ul',
16
16
  null,
17
17
  website && website.footerLinks.map(function (content, index) {
18
18
  if (content.url && content.title) {
19
- return content.blank ? React__default.createElement(
19
+ return content.blank ? React.createElement(
20
20
  'li',
21
21
  { key: index },
22
- React__default.createElement(
22
+ React.createElement(
23
23
  'a',
24
24
  { target: '_blank', rel: 'noopener noreferrer', href: content.url, className: 'nav-link' },
25
25
  content.title
26
26
  )
27
- ) : React__default.createElement(
27
+ ) : React.createElement(
28
28
  'li',
29
29
  { key: index },
30
- React__default.createElement(
30
+ React.createElement(
31
31
  'a',
32
32
  { href: content.url, className: 'nav-link' },
33
33
  content.title
@@ -36,14 +36,14 @@ var SocialNavFooter = function SocialNavFooter(props) {
36
36
  } else return null;
37
37
  })
38
38
  ),
39
- React__default.createElement(
39
+ React.createElement(
40
40
  'ul',
41
41
  null,
42
- React__default.createElement(
42
+ React.createElement(
43
43
  'li',
44
44
  { style: { marginTop: '10px' }, key: website.footerLinks ? website.footerLinks.length + 1 : 1 },
45
45
  website.socialLinks && website.socialLinks.map(function (row, index) {
46
- return React__default.createElement(reactSocialIcons_1, {
46
+ return React.createElement(reactSocialIcons_1, {
47
47
  target: row.blank ? '_blank' : '_self',
48
48
  rel: 'noopener noreferrer',
49
49
  key: index,
@@ -55,13 +55,13 @@ var SocialNavFooter = function SocialNavFooter(props) {
55
55
  });
56
56
  })
57
57
  ),
58
- showLogo && React__default.createElement(
58
+ showLogo && React.createElement(
59
59
  'li',
60
60
  null,
61
- React__default.createElement(
61
+ React.createElement(
62
62
  'a',
63
63
  { href: 'https://www.mjhlifesciences.com' },
64
- React__default.createElement('img', {
64
+ React.createElement('img', {
65
65
  style: { maxWidth: '100%', height: '50px', margin: ' 10px 0', objectFit: 'contain' },
66
66
  alt: 'MJHLS Brand Logo',
67
67
  src: 'https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png'
@@ -69,7 +69,7 @@ var SocialNavFooter = function SocialNavFooter(props) {
69
69
  )
70
70
  )
71
71
  ),
72
- website && website.name && React__default.createElement(
72
+ website && website.name && React.createElement(
73
73
  'p',
74
74
  { className: 'nav-link' },
75
75
  '\xA9 ',
@@ -82,9 +82,8 @@ var SocialNavFooter = function SocialNavFooter(props) {
82
82
  };
83
83
 
84
84
  // THIS FILE IS AUTO GENERATED
85
- var GoSearch = function (props) {
85
+ function GoSearch (props) {
86
86
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 16 16"},"child":[{"tag":"path","attr":{"fillRule":"evenodd","d":"M15.7 13.3l-3.81-3.83A5.93 5.93 0 0 0 13 6c0-3.31-2.69-6-6-6S1 2.69 1 6s2.69 6 6 6c1.3 0 2.48-.41 3.47-1.11l3.83 3.81c.19.2.45.3.7.3.25 0 .52-.09.7-.3a.996.996 0 0 0 0-1.41v.01zM7 10.7c-2.59 0-4.7-2.11-4.7-4.7 0-2.59 2.11-4.7 4.7-4.7 2.59 0 4.7 2.11 4.7 4.7 0 2.59-2.11 4.7-4.7 4.7z"}}]})(props);
87
- };
88
- GoSearch.displayName = "GoSearch";
87
+ }
89
88
 
90
89
  export { GoSearch as G, SocialNavFooter as S };
@@ -1,21 +1,14 @@
1
1
  import { G as GenIcon } from './iconBase-602d52fe.js';
2
2
 
3
3
  // THIS FILE IS AUTO GENERATED
4
- var FaLongArrowAltRight = function (props) {
4
+ function FaLongArrowAltRight (props) {
5
5
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M313.941 216H12c-6.627 0-12 5.373-12 12v56c0 6.627 5.373 12 12 12h301.941v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.569 0-33.941l-86.059-86.059c-15.119-15.119-40.971-4.411-40.971 16.971V216z"}}]})(props);
6
- };
7
- FaLongArrowAltRight.displayName = "FaLongArrowAltRight";
8
- var FaMinus = function (props) {
6
+ }function FaMinus (props) {
9
7
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(props);
10
- };
11
- FaMinus.displayName = "FaMinus";
12
- var FaPlus = function (props) {
8
+ }function FaPlus (props) {
13
9
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(props);
14
- };
15
- FaPlus.displayName = "FaPlus";
16
- var FaRegWindowClose = function (props) {
10
+ }function FaRegWindowClose (props) {
17
11
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 394c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v340zM356.5 194.6L295.1 256l61.4 61.4c4.6 4.6 4.6 12.1 0 16.8l-22.3 22.3c-4.6 4.6-12.1 4.6-16.8 0L256 295.1l-61.4 61.4c-4.6 4.6-12.1 4.6-16.8 0l-22.3-22.3c-4.6-4.6-4.6-12.1 0-16.8l61.4-61.4-61.4-61.4c-4.6-4.6-4.6-12.1 0-16.8l22.3-22.3c4.6-4.6 12.1-4.6 16.8 0l61.4 61.4 61.4-61.4c4.6-4.6 12.1-4.6 16.8 0l22.3 22.3c4.7 4.6 4.7 12.1 0 16.8z"}}]})(props);
18
- };
19
- FaRegWindowClose.displayName = "FaRegWindowClose";
12
+ }
20
13
 
21
14
  export { FaRegWindowClose as F, FaLongArrowAltRight as a, FaMinus as b, FaPlus as c };
@@ -1,17 +1,12 @@
1
1
  import { G as GenIcon } from './iconBase-602d52fe.js';
2
2
 
3
3
  // THIS FILE IS AUTO GENERATED
4
- var MdEmail = function (props) {
4
+ function MdEmail (props) {
5
5
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"}}]})(props);
6
- };
7
- MdEmail.displayName = "MdEmail";
8
- var MdMouse = function (props) {
6
+ }function MdMouse (props) {
9
7
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M13 1.07V9h7c0-4.08-3.05-7.44-7-7.93zM4 15c0 4.42 3.58 8 8 8s8-3.58 8-8v-4H4v4zm7-13.93C7.05 1.56 4 4.92 4 9h7V1.07z"}}]})(props);
10
- };
11
- MdMouse.displayName = "MdMouse";
12
- var MdPictureAsPdf = function (props) {
8
+ }function MdPictureAsPdf (props) {
13
9
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5v1zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5v3zm4-3H19v1h1.5V11H19v2h-1.5V7h3v1.5zM9 9.5h1v-1H9v1zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm10 5.5h1v-3h-1v3z"}}]})(props);
14
- };
15
- MdPictureAsPdf.displayName = "MdPictureAsPdf";
10
+ }
16
11
 
17
12
  export { MdEmail as M, MdMouse as a, MdPictureAsPdf as b };