@mjhls/mjh-framework 1.0.445 → 1.0.446

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 (238) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +32 -0
  3. package/dist/cjs/AD300x250.js +60 -0
  4. package/dist/cjs/AD300x250x600.js +60 -0
  5. package/dist/cjs/AD728x90.js +134 -0
  6. package/dist/cjs/ADFloatingFooter.js +139 -0
  7. package/dist/cjs/ADFooter.js +45 -0
  8. package/dist/cjs/ADGutter.js +88 -0
  9. package/dist/cjs/{ADInfeed-ae1f348d.js → ADInfeed-7609d929.js} +2 -2
  10. package/dist/cjs/ADSponsoredResources.js +106 -0
  11. package/dist/cjs/ADWelcome.js +150 -0
  12. package/dist/cjs/{ADlgInfeed-f4c4a1bf.js → ADlgInfeed-700551ef.js} +2 -2
  13. package/dist/cjs/AccordionPanel.js +95 -0
  14. package/dist/cjs/AdSlot.js +166 -0
  15. package/dist/cjs/AdSlotsProvider.js +31 -0
  16. package/dist/cjs/AlphabeticList.js +137 -0
  17. package/dist/cjs/ArticleQueue.js +863 -0
  18. package/dist/cjs/Auth.js +3950 -0
  19. package/dist/cjs/{AuthorComponent-b44bb44e.js → AuthorComponent-5bb8f868.js} +1 -1
  20. package/dist/cjs/Beam.js +347 -0
  21. package/dist/cjs/{TaxonomyCard-fa09aac1.js → BlockContent-80608595.js} +0 -236
  22. package/dist/cjs/Breadcrumbs.js +108 -0
  23. package/dist/cjs/CMEDeck.js +454 -0
  24. package/dist/cjs/Column1.js +39 -0
  25. package/dist/cjs/Column2.js +67 -0
  26. package/dist/cjs/Column3.js +141 -0
  27. package/dist/cjs/ConferenceArticleCard.js +91 -0
  28. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  29. package/dist/cjs/DeckContent.js +24 -13
  30. package/dist/cjs/DeckQueue.js +17 -10
  31. package/dist/cjs/{Dfp-d7639f4c.js → Dfp-19f10ad4.js} +8 -5
  32. package/dist/cjs/EventsDeck.js +1999 -0
  33. package/dist/cjs/Feature.js +120 -0
  34. package/dist/cjs/{Figure-cc919c38.js → Figure-ce37247b.js} +3 -2
  35. package/dist/cjs/ForbesHero.js +140 -0
  36. package/dist/cjs/GridContent.js +721 -33
  37. package/dist/cjs/GridHero.js +145 -0
  38. package/dist/cjs/GroupDeck.js +5 -3
  39. package/dist/cjs/HamMagazine.js +477 -0
  40. package/dist/cjs/Header.js +37 -0
  41. package/dist/cjs/Hero.js +56 -0
  42. package/dist/cjs/HighlightenVideo.js +69 -0
  43. package/dist/cjs/HorizontalHero.js +109 -0
  44. package/dist/cjs/InscreenSensor-04a70c60.js +864 -0
  45. package/dist/cjs/IssueContentDeck.js +4 -3
  46. package/dist/cjs/IssueDeck.js +6 -4
  47. package/dist/cjs/IssueLanding.js +115 -0
  48. package/dist/cjs/KMTracker.js +27 -0
  49. package/dist/cjs/LeftNav.js +99 -0
  50. package/dist/cjs/MasterDeck.js +15 -8
  51. package/dist/cjs/NavDvm.js +223 -0
  52. package/dist/cjs/NavFooter-3dcd99a8.js +66 -0
  53. package/dist/cjs/NavMagazine.js +436 -0
  54. package/dist/cjs/NavNative.js +278 -0
  55. package/dist/cjs/NavNormal.js +109 -0
  56. package/dist/cjs/OncliveHero.js +78 -0
  57. package/dist/cjs/OncliveLargeHero.js +243 -0
  58. package/dist/cjs/PageFilter.js +73 -0
  59. package/dist/cjs/PdfDownload.js +28 -0
  60. package/dist/cjs/PopUpModal.js +59 -0
  61. package/dist/cjs/PublicationLanding.js +556 -0
  62. package/dist/cjs/QueueDeckExpanded.js +20 -11
  63. package/dist/cjs/RelatedContent.js +107 -0
  64. package/dist/cjs/RelatedTopicsDropdown.js +90 -0
  65. package/dist/cjs/Search.js +67 -0
  66. package/dist/cjs/Segment.js +225 -0
  67. package/dist/cjs/SetCookie.js +10 -0
  68. package/dist/cjs/SideFooter.js +103 -0
  69. package/dist/cjs/SocialNavFooter-d9ab4d17.js +83 -0
  70. package/dist/cjs/SocialShare.js +72 -0
  71. package/dist/cjs/TaxonomyCard.js +241 -11
  72. package/dist/cjs/TemplateNormal.js +175 -13
  73. package/dist/cjs/Ustream.js +107 -6
  74. package/dist/cjs/VerticalHero.js +75 -0
  75. package/dist/cjs/VideoSeriesFilter.js +133 -0
  76. package/dist/cjs/VideoSeriesListing.js +13 -7
  77. package/dist/cjs/View.js +1156 -0
  78. package/dist/cjs/YahooHero.js +129 -0
  79. package/dist/cjs/YoutubeGroup.js +5 -3
  80. package/dist/cjs/_arrayMap-3b4a0f75.js +91 -0
  81. package/dist/cjs/_is-array-754e012d.js +74 -0
  82. package/dist/cjs/{_iter-detect-234453c3.js → _iter-detect-4d0352f8.js} +4 -4
  83. package/dist/cjs/_object-sap-5e74ba08.js +16 -0
  84. package/dist/cjs/_set-species-4458e975.js +56 -0
  85. package/dist/cjs/{AdSlot-257d8d4e.js → asyncToGenerator-db08763c.js} +1 -710
  86. package/dist/cjs/brightcove-react-player-loader.es-4ba0d3d5.js +2231 -0
  87. package/dist/cjs/{web.dom.iterable-5c889cf1.js → core.get-iterator-method-41e87ec1.js} +0 -46
  88. package/dist/cjs/debounce-32e57002.js +280 -0
  89. package/dist/cjs/{toConsumableArray-25d0e2a3.js → from-ea347372.js} +4 -29
  90. package/dist/cjs/{get-7a75c563.js → get-5dfcdc33.js} +14 -100
  91. package/dist/cjs/getKeywords.js +31 -0
  92. package/dist/cjs/getQuery.js +20 -0
  93. package/dist/cjs/getSerializers.js +8032 -0
  94. package/dist/cjs/getSeriesDetail.js +38 -0
  95. package/dist/cjs/getTargeting-3ced038f.js +108 -0
  96. package/dist/cjs/getTargeting.js +15 -0
  97. package/dist/cjs/iconBase-637d3f1e.js +83 -0
  98. package/dist/cjs/{debounce-420ff8a8.js → index-b2448ff6.js} +0 -483
  99. package/dist/cjs/index.esm-25423c2f.js +16 -0
  100. package/dist/cjs/index.esm-c0d8b44b.js +21 -0
  101. package/dist/cjs/index.esm-fcdbd2c6.js +31 -0
  102. package/dist/cjs/index.js +190 -23088
  103. package/dist/cjs/{inherits-b4036c94.js → inherits-4a2f1cc3.js} +6 -17
  104. package/dist/cjs/isSymbol-488934a7.js +211 -0
  105. package/dist/cjs/js.cookie-a511c430.js +160 -0
  106. package/dist/cjs/keys-a586b7a0.js +25 -0
  107. package/dist/cjs/{promise-0a493c7a.js → promise-074978a7.js} +15 -62
  108. package/dist/cjs/{slicedToArray-419d467a.js → slicedToArray-8063ee51.js} +5 -4
  109. package/dist/cjs/stringify-7c5aff47.js +17 -0
  110. package/dist/cjs/toConsumableArray-ca04303b.js +31 -0
  111. package/dist/cjs/{typeof-0d86b91c.js → typeof-583cdc4b.js} +20 -87
  112. package/dist/cjs/urlFor.js +10 -0
  113. package/dist/cjs/util-f2c1b65b.js +576 -0
  114. package/dist/cjs/web.dom.iterable-43c3e277.js +51 -0
  115. package/dist/esm/AD.js +26 -0
  116. package/dist/esm/AD300x250.js +54 -0
  117. package/dist/esm/AD300x250x600.js +54 -0
  118. package/dist/esm/AD728x90.js +128 -0
  119. package/dist/esm/ADFloatingFooter.js +133 -0
  120. package/dist/esm/ADFooter.js +39 -0
  121. package/dist/esm/ADGutter.js +82 -0
  122. package/dist/esm/{ADInfeed-dff74bbe.js → ADInfeed-1c17dc0e.js} +1 -1
  123. package/dist/esm/ADSponsoredResources.js +100 -0
  124. package/dist/esm/ADWelcome.js +144 -0
  125. package/dist/esm/{ADlgInfeed-7b29db85.js → ADlgInfeed-94d7f5dd.js} +1 -1
  126. package/dist/esm/AccordionPanel.js +88 -0
  127. package/dist/esm/AdSlot.js +159 -0
  128. package/dist/esm/AdSlotsProvider.js +25 -0
  129. package/dist/esm/AlphabeticList.js +131 -0
  130. package/dist/esm/ArticleQueue.js +855 -0
  131. package/dist/esm/Auth.js +3930 -0
  132. package/dist/esm/{AuthorComponent-4f5f15ed.js → AuthorComponent-f67cb027.js} +1 -1
  133. package/dist/esm/Beam.js +345 -0
  134. package/dist/esm/{TaxonomyCard-b22a742f.js → BlockContent-4af2feb9.js} +2 -233
  135. package/dist/esm/Breadcrumbs.js +101 -0
  136. package/dist/esm/CMEDeck.js +448 -0
  137. package/dist/esm/Column1.js +29 -0
  138. package/dist/esm/Column2.js +57 -0
  139. package/dist/esm/Column3.js +131 -0
  140. package/dist/esm/ConferenceArticleCard.js +85 -0
  141. package/dist/esm/ConferenceBanner-9162d0ca.js +18 -0
  142. package/dist/esm/DeckContent.js +24 -13
  143. package/dist/esm/DeckQueue.js +17 -10
  144. package/dist/esm/{Dfp-994cd0ab.js → Dfp-7addbfb1.js} +7 -4
  145. package/dist/esm/EventsDeck.js +1987 -0
  146. package/dist/esm/Feature.js +113 -0
  147. package/dist/esm/{Figure-1c55ebf0.js → Figure-408929f3.js} +4 -3
  148. package/dist/esm/ForbesHero.js +134 -0
  149. package/dist/esm/GridContent.js +714 -30
  150. package/dist/esm/GridHero.js +139 -0
  151. package/dist/esm/GroupDeck.js +6 -4
  152. package/dist/esm/HamMagazine.js +465 -0
  153. package/dist/esm/Header.js +28 -0
  154. package/dist/esm/Hero.js +50 -0
  155. package/dist/esm/HighlightenVideo.js +63 -0
  156. package/dist/esm/HorizontalHero.js +103 -0
  157. package/dist/esm/InscreenSensor-b7f931bf.js +857 -0
  158. package/dist/esm/IssueContentDeck.js +5 -4
  159. package/dist/esm/IssueDeck.js +8 -6
  160. package/dist/esm/IssueLanding.js +109 -0
  161. package/dist/esm/KMTracker.js +25 -0
  162. package/dist/esm/LeftNav.js +90 -0
  163. package/dist/esm/MasterDeck.js +17 -10
  164. package/dist/esm/NavDvm.js +211 -0
  165. package/dist/esm/NavFooter-c29526b7.js +60 -0
  166. package/dist/esm/NavMagazine.js +424 -0
  167. package/dist/esm/NavNative.js +266 -0
  168. package/dist/esm/NavNormal.js +97 -0
  169. package/dist/esm/OncliveHero.js +72 -0
  170. package/dist/esm/OncliveLargeHero.js +237 -0
  171. package/dist/esm/PageFilter.js +67 -0
  172. package/dist/esm/PdfDownload.js +22 -0
  173. package/dist/esm/PopUpModal.js +52 -0
  174. package/dist/esm/PublicationLanding.js +546 -0
  175. package/dist/esm/QueueDeckExpanded.js +22 -13
  176. package/dist/esm/RelatedContent.js +101 -0
  177. package/dist/esm/RelatedTopicsDropdown.js +82 -0
  178. package/dist/esm/Search.js +58 -0
  179. package/dist/esm/Segment.js +223 -0
  180. package/dist/esm/SetCookie.js +8 -0
  181. package/dist/esm/SideFooter.js +97 -0
  182. package/dist/esm/SocialNavFooter-1a531144.js +77 -0
  183. package/dist/esm/SocialShare.js +65 -0
  184. package/dist/esm/TaxonomyCard.js +237 -11
  185. package/dist/esm/TemplateNormal.js +175 -14
  186. package/dist/esm/Ustream.js +107 -6
  187. package/dist/esm/VerticalHero.js +69 -0
  188. package/dist/esm/VideoSeriesFilter.js +127 -0
  189. package/dist/esm/VideoSeriesListing.js +14 -8
  190. package/dist/esm/View.js +1145 -0
  191. package/dist/esm/YahooHero.js +123 -0
  192. package/dist/esm/YoutubeGroup.js +6 -4
  193. package/dist/esm/_arrayMap-a8dd2b2c.js +87 -0
  194. package/dist/esm/_is-array-dd5523d6.js +71 -0
  195. package/dist/esm/{_iter-detect-7c281f0a.js → _iter-detect-6e099a34.js} +2 -2
  196. package/dist/esm/_object-sap-56bb8073.js +14 -0
  197. package/dist/esm/_set-species-6f64f1c1.js +51 -0
  198. package/dist/esm/{_to-object-1b1f7766.js → _to-object-16fd8b46.js} +1 -1
  199. package/dist/esm/{AdSlot-362a1c30.js → asyncToGenerator-204b5a5c.js} +3 -703
  200. package/dist/esm/brightcove-react-player-loader.es-e1c6b0f2.js +2225 -0
  201. package/dist/esm/{web.dom.iterable-e6bf2bf6.js → core.get-iterator-method-f5c0d66a.js} +2 -47
  202. package/dist/esm/debounce-8cd9e09c.js +277 -0
  203. package/dist/esm/{extends-92072fff.js → extends-6e00b262.js} +1 -1
  204. package/dist/esm/{toConsumableArray-c5e2fde8.js → from-2c0a5f49.js} +4 -29
  205. package/dist/esm/{get-bc6cf9fb.js → get-ae817b75.js} +3 -86
  206. package/dist/esm/getKeywords.js +29 -0
  207. package/dist/esm/getQuery.js +18 -0
  208. package/dist/esm/getSerializers.js +8021 -0
  209. package/dist/esm/getSeriesDetail.js +36 -0
  210. package/dist/esm/getTargeting-8f4bd5db.js +105 -0
  211. package/dist/esm/getTargeting.js +9 -0
  212. package/dist/esm/iconBase-6ee2f2fb.js +81 -0
  213. package/dist/esm/{debounce-42a7f724.js → index-fb49124c.js} +2 -476
  214. package/dist/esm/index.esm-9d6faf80.js +17 -0
  215. package/dist/esm/index.esm-a7ad65ba.js +13 -0
  216. package/dist/esm/{index.esm-536609db.js → index.esm-b97cf389.js} +2 -80
  217. package/dist/esm/index.js +137 -23019
  218. package/dist/esm/{inherits-bbec2f34.js → inherits-2758cc14.js} +5 -15
  219. package/dist/esm/isSymbol-c1b9be80.js +203 -0
  220. package/dist/esm/js.cookie-6874175c.js +158 -0
  221. package/dist/esm/keys-04cdec91.js +23 -0
  222. package/dist/esm/{main-cf4930f0.js → main-8c8784b8.js} +1 -1
  223. package/dist/esm/{promise-2592a80a.js → promise-53143c9a.js} +6 -49
  224. package/dist/esm/{slicedToArray-04e02710.js → slicedToArray-f1e40361.js} +3 -2
  225. package/dist/esm/stringify-e30bc114.js +15 -0
  226. package/dist/esm/toConsumableArray-8712d678.js +29 -0
  227. package/dist/esm/{typeof-09bf9211.js → typeof-7e72fee0.js} +5 -70
  228. package/dist/esm/urlFor.js +8 -0
  229. package/dist/esm/util-7700fc59.js +574 -0
  230. package/dist/esm/web.dom.iterable-46c95e52.js +49 -0
  231. package/package.json +1 -1
  232. package/dist/cjs/GridContent-6a0216fb.js +0 -728
  233. package/dist/cjs/Normal-430e8e61.js +0 -2315
  234. package/dist/cjs/Ustream-46288bdf.js +0 -119
  235. package/dist/cjs/index.esm-340d3792.js +0 -110
  236. package/dist/esm/GridContent-7e11f013.js +0 -717
  237. package/dist/esm/Normal-6efd92da.js +0 -2282
  238. package/dist/esm/Ustream-c4f281a3.js +0 -112
@@ -1,6 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-1b1f7766.js';
3
- import './web.dom.iterable-e6bf2bf6.js';
2
+ import './_to-object-16fd8b46.js';
3
+ import './core.get-iterator-method-f5c0d66a.js';
4
+ import './web.dom.iterable-46c95e52.js';
4
5
  import React from 'react';
5
6
  import 'prop-types';
6
7
  import Row from 'react-bootstrap/Row';
@@ -10,8 +11,8 @@ import { m as moment } from './moment-12415288.js';
10
11
  import 'react-dom';
11
12
  import { i as imageUrlBuilder } from './index-73819142.js';
12
13
  import { L as LazyLoad } from './index-c5fd0af5.js';
13
- import './slicedToArray-04e02710.js';
14
- import { A as AuthorComponent } from './AuthorComponent-4f5f15ed.js';
14
+ import './slicedToArray-f1e40361.js';
15
+ import { A as AuthorComponent } from './AuthorComponent-f67cb027.js';
15
16
  import Badge from 'react-bootstrap/Badge';
16
17
 
17
18
  var urlFor = function urlFor(source, client) {
@@ -1,10 +1,12 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-1b1f7766.js';
3
- import './web.dom.iterable-e6bf2bf6.js';
4
- import './_iter-detect-7c281f0a.js';
5
- import { _ as _toConsumableArray } from './toConsumableArray-c5e2fde8.js';
2
+ import './_to-object-16fd8b46.js';
3
+ import './core.get-iterator-method-f5c0d66a.js';
4
+ import './_iter-detect-6e099a34.js';
5
+ import './from-2c0a5f49.js';
6
+ import { _ as _toConsumableArray } from './toConsumableArray-8712d678.js';
6
7
  import './_object-pie-33c40e79.js';
7
- import { _ as _extends } from './extends-92072fff.js';
8
+ import { _ as _extends } from './extends-6e00b262.js';
9
+ import './web.dom.iterable-46c95e52.js';
8
10
  import React, { useState, useEffect, useRef } from 'react';
9
11
  import 'prop-types';
10
12
  import Row from 'react-bootstrap/Row';
@@ -14,7 +16,7 @@ import { I as InfiniteScroll } from './index.es-27d0bae9.js';
14
16
  import 'react-dom';
15
17
  import { i as imageUrlBuilder } from './index-73819142.js';
16
18
  import { L as LazyLoad } from './index-c5fd0af5.js';
17
- import { _ as _slicedToArray } from './slicedToArray-04e02710.js';
19
+ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
18
20
  import Button from 'react-bootstrap/Button';
19
21
 
20
22
  var usePrevious = function usePrevious(value) {
@@ -0,0 +1,109 @@
1
+ import './_commonjsHelpers-0c4b6f40.js';
2
+ import './_to-object-16fd8b46.js';
3
+ import './core.get-iterator-method-f5c0d66a.js';
4
+ import './_library-528f1934.js';
5
+ import './_iter-detect-6e099a34.js';
6
+ import './from-2c0a5f49.js';
7
+ import './toConsumableArray-8712d678.js';
8
+ import './_object-pie-33c40e79.js';
9
+ import './extends-6e00b262.js';
10
+ import './web.dom.iterable-46c95e52.js';
11
+ import React from 'react';
12
+ import './index-fb49124c.js';
13
+ import 'prop-types';
14
+ import 'react-bootstrap/Card';
15
+ import './moment-12415288.js';
16
+ import 'next/router';
17
+ import './isSymbol-c1b9be80.js';
18
+ import './debounce-8cd9e09c.js';
19
+ import './index.es-27d0bae9.js';
20
+ import 'react-dom';
21
+ import './visibility-sensor-87d6b78c.js';
22
+ import './index-73819142.js';
23
+ import './index-c5fd0af5.js';
24
+ import './main-8c8784b8.js';
25
+ import './entities-7cc3bf45.js';
26
+ import './slicedToArray-f1e40361.js';
27
+ import './stringify-e30bc114.js';
28
+ import './asyncToGenerator-204b5a5c.js';
29
+ import './_set-species-6f64f1c1.js';
30
+ import './promise-53143c9a.js';
31
+ import './Beam.js';
32
+ import './Segment.js';
33
+ import './AdSlot.js';
34
+ import './ADInfeed-1c17dc0e.js';
35
+ import './lodash-17fdfebb.js';
36
+ import './ADlgInfeed-94d7f5dd.js';
37
+ import './AuthorComponent-f67cb027.js';
38
+ import 'react-bootstrap';
39
+ import QueueDeckExpanded from './QueueDeckExpanded.js';
40
+ import 'react-bootstrap/Breadcrumb';
41
+ import Breadcrumbs from './Breadcrumbs.js';
42
+
43
+ /* usage
44
+ import Settings, { Ads } from '../../../../settings'
45
+ import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
46
+ import client from '../../../../client'
47
+ import moment from 'moment'
48
+ import Shell from '../../../../components/2.0/Shell'
49
+ import { pageview } from '../../../../utilities/gtag'
50
+
51
+ const Issue = (props) => {
52
+ const { pubIssue, cache } = props
53
+ const targeting = {
54
+ content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
55
+ document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
56
+ }
57
+ return (
58
+ <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
59
+ <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
60
+ </Shell>
61
+ )
62
+ }
63
+
64
+ Issue.getInitialProps = async (ctx) => {
65
+ const { query } = ctx
66
+ const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
67
+ )
68
+ return { pubIssue }
69
+ }
70
+
71
+ export default Issue
72
+ */
73
+
74
+ var IssueLanding = function IssueLanding(props) {
75
+ var pubIssue = props.pubIssue,
76
+ client = props.client,
77
+ settings = props.settings,
78
+ pageview = props.pageview,
79
+ rightItems = props.rightItems;
80
+
81
+ return React.createElement(
82
+ 'div',
83
+ { id: 'issueLanding' },
84
+ React.createElement(Breadcrumbs, null),
85
+ pubIssue.issue.displayLabel && React.createElement(
86
+ 'p',
87
+ { className: 'badge badge-primary' },
88
+ pubIssue.issue.name
89
+ ),
90
+ React.createElement(QueueDeckExpanded, {
91
+ client: client,
92
+ mapping: settings.mapping,
93
+ dataRecord: pubIssue.issue.articles,
94
+ seoPaginate: true,
95
+ pageview: pageview,
96
+ columns: 'rotate',
97
+ variant: 'top',
98
+ autoScroll: true,
99
+ defaultImage: settings.logo,
100
+ showPublished: true,
101
+ showCategory: true,
102
+ imageHeight: 270,
103
+ imageWidth: 480,
104
+ rightItems: rightItems
105
+ })
106
+ );
107
+ };
108
+
109
+ export default IssueLanding;
@@ -0,0 +1,25 @@
1
+ var KMTracker = function KMTracker(props) {
2
+ var id = props.id;
3
+
4
+ if (document && id) {
5
+ (function () {
6
+ var ecnJquery = document.createElement('script');
7
+
8
+ ecnJquery.type = 'text/javascript';
9
+ ecnJquery.async = true;
10
+ ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
11
+
12
+ var ecnScript = document.createElement('script');
13
+
14
+ ecnScript.type = 'text/javascript';
15
+ ecnScript.async = true;
16
+ ecnScript.id = 'km-tracker';
17
+ ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
18
+
19
+ document.head.appendChild(ecnJquery);
20
+ document.head.appendChild(ecnScript);
21
+ })();
22
+ }
23
+ };
24
+
25
+ export default KMTracker;
@@ -0,0 +1,90 @@
1
+ import React from 'react';
2
+ import ListGroup from 'react-bootstrap/ListGroup';
3
+
4
+ var LeftNav = function LeftNav(props) {
5
+ var leftItems = props.leftItems,
6
+ _props$fixedHeight = props.fixedHeight,
7
+ fixedHeight = _props$fixedHeight === undefined ? false : _props$fixedHeight,
8
+ _props$SeeAll = props.SeeAll,
9
+ SeeAll = _props$SeeAll === undefined ? true : _props$SeeAll;
10
+
11
+ var sideNavStyles = void 0;
12
+ if (fixedHeight) {
13
+ sideNavStyles = {
14
+ maxHeight: '194px',
15
+ overflowY: 'scroll',
16
+ paddingLeft: '0'
17
+ };
18
+ } else {
19
+ sideNavStyles = {
20
+ paddingLeft: '0'
21
+ };
22
+ }
23
+
24
+ var checkUrlIsExternal = function checkUrlIsExternal(url) {
25
+ if (/(http|https?)([^\s]+)/g.test(url)) {
26
+ return true;
27
+ }
28
+ return false;
29
+ };
30
+
31
+ var renderListGroupItem = function renderListGroupItem(subRow) {
32
+ if (checkUrlIsExternal(subRow.url)) {
33
+ return React.createElement(
34
+ 'a',
35
+ { target: subRow.blank ? '_blank' : '_self', href: subRow.url },
36
+ subRow.name
37
+ );
38
+ }
39
+ return React.createElement(
40
+ 'a',
41
+ { href: subRow.url || '#', target: subRow.blank ? '_blank' : '_self' },
42
+ subRow.name
43
+ );
44
+ };
45
+
46
+ return React.createElement(
47
+ 'section',
48
+ null,
49
+ leftItems && leftItems.map(function (row, index) {
50
+ return React.createElement(
51
+ 'nav',
52
+ { key: index, 'aria-label': 'Secondary' },
53
+ React.createElement(
54
+ 'div',
55
+ { style: { display: 'flex', justifyContent: 'space-between', flexWrap: 'wrap' }, className: 'secondary-nav-title list-group-item active' },
56
+ React.createElement(
57
+ 'span',
58
+ { className: 'mr-1', style: { display: 'inline-block', fontWeight: 'bold', fontSize: '1rem' } },
59
+ row.name
60
+ ),
61
+ row.url && SeeAll && React.createElement(
62
+ 'span',
63
+ { style: { marginLeft: 'auto', display: 'inline-block' } },
64
+ React.createElement(
65
+ 'a',
66
+ { style: { color: 'white', fontSize: '.6rem' }, href: row.url },
67
+ 'See All >'
68
+ )
69
+ )
70
+ ),
71
+ React.createElement(
72
+ 'ul',
73
+ { style: sideNavStyles },
74
+ row.subQuery && row.subQuery.map(function (subRow, subIndex) {
75
+ return React.createElement(
76
+ ListGroup.Item,
77
+ { as: 'li', key: subIndex + '_2' },
78
+ renderListGroupItem(subRow)
79
+ );
80
+ })
81
+ )
82
+ );
83
+ })
84
+ );
85
+ };
86
+
87
+ var LeftNav$1 = React.memo(LeftNav);
88
+
89
+ export default LeftNav$1;
90
+ export { LeftNav };
@@ -1,15 +1,19 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-1b1f7766.js';
3
- import './web.dom.iterable-e6bf2bf6.js';
2
+ import './_to-object-16fd8b46.js';
3
+ import './core.get-iterator-method-f5c0d66a.js';
4
4
  import './_library-528f1934.js';
5
- import './_iter-detect-7c281f0a.js';
6
- import { _ as _toConsumableArray } from './toConsumableArray-c5e2fde8.js';
5
+ import './_iter-detect-6e099a34.js';
6
+ import './from-2c0a5f49.js';
7
+ import { _ as _toConsumableArray } from './toConsumableArray-8712d678.js';
7
8
  import './_object-pie-33c40e79.js';
8
- import { _ as _extends } from './extends-92072fff.js';
9
- import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-bbec2f34.js';
10
- import './typeof-09bf9211.js';
9
+ import { _ as _extends } from './extends-6e00b262.js';
10
+ import './_object-sap-56bb8073.js';
11
+ import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-2758cc14.js';
12
+ import './web.dom.iterable-46c95e52.js';
13
+ import './typeof-7e72fee0.js';
14
+ import './_is-array-dd5523d6.js';
11
15
  import React from 'react';
12
- import { d as debounce_1, l as lib_3 } from './debounce-42a7f724.js';
16
+ import { l as lib_3 } from './index-fb49124c.js';
13
17
  import 'prop-types';
14
18
  import Container from 'react-bootstrap/Container';
15
19
  import 'react-bootstrap/Row';
@@ -17,12 +21,15 @@ import 'react-bootstrap/Col';
17
21
  import 'react-bootstrap/Card';
18
22
  import './moment-12415288.js';
19
23
  import { withRouter } from 'next/router';
24
+ import './isSymbol-c1b9be80.js';
25
+ import { d as debounce_1 } from './debounce-8cd9e09c.js';
20
26
  import { I as InfiniteScroll } from './index.es-27d0bae9.js';
21
27
  import 'react-dom';
22
28
  import { V as VisibilitySensor } from './visibility-sensor-87d6b78c.js';
23
29
  import './index-73819142.js';
24
- import { m as main_36 } from './main-cf4930f0.js';
25
- import { d as _Promise } from './promise-2592a80a.js';
30
+ import { m as main_36 } from './main-8c8784b8.js';
31
+ import './_set-species-6f64f1c1.js';
32
+ import { _ as _Promise } from './promise-53143c9a.js';
26
33
 
27
34
  var MasterDeck = function (_React$Component) {
28
35
  _inherits(MasterDeck, _React$Component);
@@ -0,0 +1,211 @@
1
+ import './_commonjsHelpers-0c4b6f40.js';
2
+ import './_to-object-16fd8b46.js';
3
+ import './core.get-iterator-method-f5c0d66a.js';
4
+ import './web.dom.iterable-46c95e52.js';
5
+ import React from 'react';
6
+ import Container from 'react-bootstrap/Container';
7
+ import './slicedToArray-f1e40361.js';
8
+ import 'react-bootstrap/Button';
9
+ import Nav from 'react-bootstrap/Nav';
10
+ import Navbar from 'react-bootstrap/Navbar';
11
+ import NavDropdown from 'react-bootstrap/NavDropdown';
12
+ import 'react-bootstrap/Form';
13
+ import 'react-bootstrap/FormControl';
14
+ import Search from './Search.js';
15
+ import { N as NavFooter } from './NavFooter-c29526b7.js';
16
+
17
+ var NavDvm = function NavDvm(props) {
18
+ var logo = props.logo,
19
+ mobileLogo = props.mobileLogo,
20
+ dataObject = props.dataObject,
21
+ subNav = props.subNav,
22
+ website = props.website;
23
+
24
+
25
+ var getLink = function getLink(url, className, name, key, blank) {
26
+ if (url && (url.includes('https://') || url.includes('http://'))) {
27
+ return React.createElement(
28
+ 'a',
29
+ { target: blank ? '_blank' : '_self', key: key, href: url || '#', className: className },
30
+ name
31
+ );
32
+ }
33
+
34
+ return React.createElement(
35
+ 'a',
36
+ { key: key, href: url || '#', target: blank ? '_blank' : '_self', className: className },
37
+ name
38
+ );
39
+ };
40
+
41
+ return React.createElement(
42
+ React.Fragment,
43
+ null,
44
+ React.createElement(
45
+ Navbar,
46
+ { className: 'top-nav', expand: 'xl' },
47
+ React.createElement(
48
+ Container,
49
+ null,
50
+ React.createElement(
51
+ Nav,
52
+ { className: 'justify-content-center', style: { margin: '0 auto' } },
53
+ React.createElement(
54
+ Nav.Item,
55
+ null,
56
+ React.createElement(
57
+ 'a',
58
+ { href: '/' },
59
+ React.createElement('img', { src: logo, style: { height: '55px' } })
60
+ )
61
+ )
62
+ )
63
+ )
64
+ ),
65
+ React.createElement(
66
+ Navbar,
67
+ { className: 'bottom-nav', variant: 'dark', expand: 'xl', bg: 'primary', sticky: 'top' },
68
+ React.createElement(
69
+ Container,
70
+ { className: 'mobile-nav position-relative' },
71
+ mobileLogo && React.createElement(
72
+ 'a',
73
+ { href: '/', className: 'mobile-logo' },
74
+ React.createElement('img', { src: mobileLogo })
75
+ ),
76
+ React.createElement(Navbar.Toggle, { 'aria-controls': 'basic-navbar-nav' }),
77
+ React.createElement(
78
+ Navbar.Collapse,
79
+ { id: 'basic-navbar-nav' },
80
+ React.createElement(
81
+ Nav,
82
+ { className: 'mr-auto' },
83
+ dataObject && dataObject.map(function (row, index) {
84
+ if (row.subQuery.length > 0) {
85
+ return React.createElement(
86
+ 'div',
87
+ null,
88
+ React.createElement(
89
+ NavDropdown,
90
+ { key: index, title: row.name, id: 'basic-nav-dropdown' },
91
+ row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
92
+ if (ddRow.type === 'divider') {
93
+ return React.createElement(NavDropdown.Divider, { key: subIndex });
94
+ } else {
95
+ return getLink(ddRow.url, 'dropdown-item', ddRow.name, subIndex, ddRow.blank);
96
+ }
97
+ })
98
+ ),
99
+ React.createElement(
100
+ 'noscript',
101
+ null,
102
+ React.createElement(
103
+ 'div',
104
+ null,
105
+ row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
106
+ if (ddRow.type === 'divider') {
107
+ return React.createElement(NavDropdown.Divider, { key: subIndex });
108
+ } else {
109
+ return getLink(ddRow.url, 'dropdown-item', ddRow.name, subIndex, ddRow.blank);
110
+ }
111
+ })
112
+ )
113
+ )
114
+ );
115
+ } else {
116
+ return getLink(row.url, 'nav-link', row.name, index, row.blank);
117
+ }
118
+ })
119
+ ),
120
+ React.createElement(Search, null)
121
+ ),
122
+ subNav && React.createElement(
123
+ Navbar.Collapse,
124
+ { id: 'basic-navbar-sub' },
125
+ React.createElement(
126
+ Nav,
127
+ { className: 'mr-auto' },
128
+ subNav && subNav.map(function (row, index) {
129
+ if (row.subQuery && row.subQuery.length > 0) {
130
+ return row.name ? React.createElement(
131
+ 'div',
132
+ null,
133
+ React.createElement(
134
+ NavDropdown,
135
+ { key: index, title: row.name, id: 'basic-nav-dropdown' },
136
+ row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
137
+ if (ddRow.type === 'divider') {
138
+ return React.createElement(NavDropdown.Divider, { key: subIndex });
139
+ } else {
140
+ if (ddRow.url && ddRow.name) {
141
+ return ddRow.url && ddRow.name ? React.createElement(
142
+ 'a',
143
+ { key: subIndex, href: ddRow.url, target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
144
+ ddRow.name
145
+ ) : null;
146
+ } else return null;
147
+ }
148
+ })
149
+ ),
150
+ React.createElement(
151
+ 'noscript',
152
+ null,
153
+ React.createElement(
154
+ 'div',
155
+ null,
156
+ row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
157
+ if (ddRow.type === 'divider') {
158
+ return React.createElement(NavDropdown.Divider, { key: subIndex });
159
+ } else {
160
+ if (ddRow.url && ddRow.name) {
161
+ return ddRow.url && ddRow.name ? React.createElement(
162
+ 'a',
163
+ { key: subIndex, href: ddRow.url, target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
164
+ ddRow.name
165
+ ) : null;
166
+ } else return null;
167
+ }
168
+ })
169
+ )
170
+ )
171
+ ) : null;
172
+ } else {
173
+ return row.url && row.name ? React.createElement(
174
+ 'a',
175
+ { key: index, href: row.url, target: row.blank ? '_blank' : '_self', className: 'nav-link' },
176
+ row.name
177
+ ) : null;
178
+ }
179
+ })
180
+ )
181
+ ),
182
+ website && React.createElement(
183
+ Navbar.Collapse,
184
+ { id: 'basic-navbar-sub' },
185
+ React.createElement(
186
+ Nav,
187
+ { className: 'mr-auto' },
188
+ React.createElement(NavFooter, { website: website })
189
+ )
190
+ )
191
+ )
192
+ ),
193
+ React.createElement(
194
+ 'noscript',
195
+ null,
196
+ React.createElement(
197
+ 'style',
198
+ { jsx: 'true' },
199
+ '\n .navbar .collapse {\n display: block;\n }\n '
200
+ )
201
+ ),
202
+ React.createElement(
203
+ 'style',
204
+ { jsx: 'true' },
205
+ '\n .mobile-logo {\n display: none;\n position: absolute;\n left: 50%;\n top: 0;\n height: 40px;\n transform: translateX(-50%);\n }\n .mobile-logo img {\n height: 100%;\n }\n @media screen and (max-width: 1192px) {\n .mobile-logo {\n display: block;\n }\n .top-nav {\n display: none;\n }\n .navbar-expand-lg .show#basic-navbar-sub {\n display: block;\n }\n .navbar .mobile-nav .navbar-collapse.show {\n padding-bottom: 20px;\n border-bottom: 0.5px solid white;\n margin-bottom: 15px;\n }\n .navbar .mobile-nav .navbar-collapse .form-inline {\n margin: 5px 0px;\n }\n .navbar .mobile-nav .navbar-collapse:last-child {\n border-bottom: none;\n margin-bottom: 0px;\n padding-bottom: 0px;\n }\n .navbar .mobile-nav .navbar-collapse .nav-footer ul {\n list-style-type: none;\n padding: inherit;\n margin-bottom: 0rem;\n }\n .navbar .mobile-nav .navbar-collapse .nav-footer .nav-link {\n text-transform: capitalize !important;\n font-weight: 300;\n }\n .navbar .mobile-nav .dropdown-item:focus {\n background-color: #696969;\n }\n .navbar .mobile-nav .dropdown-menu .dropdown-item {\n color: white;\n }\n .navbar .mobile-nav .dropdown-menu {\n background: inherit;\n border: none;\n }\n }\n @media screen and (max-width: 991px) {\n .dropdown-menu {\n max-height: 315px;\n overflow: auto;\n }\n ::-webkit-scrollbar {\n width: 10px;\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(214, 214, 214, 0.8);\n box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n }\n }\n @media screen and (min-width: 1200px) {\n #basic-navbar-sub {\n display: none !important;\n }\n .navbar .mobile-nav .dropdown-menu .dropdown-item {\n color: #696969;\n }\n .navbar .mobile-nav .dropdown-menu {\n background: white;\n border: 1 px solid #708090;\n }\n }\n '
206
+ )
207
+ );
208
+ };
209
+
210
+ export default NavDvm;
211
+ export { NavDvm };
@@ -0,0 +1,60 @@
1
+ import React from 'react';
2
+
3
+ var year = new Date().getFullYear();
4
+
5
+ var NavFooter = function NavFooter(props) {
6
+ var website = props.website,
7
+ showLogo = props.showLogo;
8
+
9
+ return React.createElement(
10
+ 'div',
11
+ { className: 'nav-footer' },
12
+ website && React.createElement(
13
+ 'ul',
14
+ null,
15
+ website && website.sideFooterContent && website.sideFooterContent.length && website.sideFooterContent.map(function (content, index) {
16
+ if (content.url && content.title) {
17
+ return content.blank ? React.createElement(
18
+ 'li',
19
+ { key: index },
20
+ React.createElement(
21
+ 'a',
22
+ { target: '_blank', rel: 'noopener noreferrer', href: content.url, className: 'nav-link' },
23
+ content.title
24
+ )
25
+ ) : React.createElement(
26
+ 'li',
27
+ { key: index },
28
+ React.createElement(
29
+ 'a',
30
+ { href: content.url, className: 'nav-link' },
31
+ content.title
32
+ )
33
+ );
34
+ } else return null;
35
+ }),
36
+ showLogo && React.createElement(
37
+ 'li',
38
+ null,
39
+ React.createElement(
40
+ 'a',
41
+ { href: 'https://www.mjhlifesciences.com' },
42
+ React.createElement('img', { style: { maxWidth: '100%', height: '50px', margin: ' 10px 0', objectFit: 'contain' }, alt: 'MJHLS Brand Logo', src: 'https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' })
43
+ )
44
+ )
45
+ ),
46
+ website && website.title && React.createElement(
47
+ 'p',
48
+ { className: 'nav-link' },
49
+ '\xA9 ',
50
+ year,
51
+ ' MJH Life Sciences and ',
52
+ website.title,
53
+ '. All rights reserved.'
54
+ )
55
+ );
56
+ };
57
+
58
+ var NavFooter$1 = React.memo(NavFooter);
59
+
60
+ export { NavFooter$1 as N };