@mjhls/mjh-framework 1.0.769 → 1.0.770-beta.0

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 (294) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +9 -10
  3. package/dist/cjs/AD300x250.js +27 -28
  4. package/dist/cjs/AD300x250x600.js +27 -28
  5. package/dist/cjs/AD728x90.js +30 -31
  6. package/dist/cjs/ADFloatingFooter.js +29 -30
  7. package/dist/cjs/ADFooter.js +14 -15
  8. package/dist/cjs/ADGutter.js +29 -30
  9. package/dist/cjs/{ADInfeed-32dc37f4.js → ADInfeed-547e399f.js} +13 -15
  10. package/dist/cjs/ADSkyscraper.js +29 -30
  11. package/dist/cjs/ADSponsoredResources.js +29 -30
  12. package/dist/cjs/ADWebcast.js +29 -30
  13. package/dist/cjs/ADWelcome.js +30 -31
  14. package/dist/cjs/{ADlgInfeed-a8dc2b08.js → ADlgInfeed-84cd6750.js} +10 -11
  15. package/dist/cjs/AccordionPanel.js +29 -31
  16. package/dist/cjs/AdSlot.js +31 -32
  17. package/dist/cjs/AdSlotsProvider.js +16 -17
  18. package/dist/cjs/AlphabeticList.js +24 -25
  19. package/dist/cjs/ArticleCarousel.js +23 -24
  20. package/dist/cjs/ArticleProgramLandingPage.js +55 -56
  21. package/dist/cjs/ArticleSeriesLandingPage.js +38 -39
  22. package/dist/cjs/ArticleSeriesListing.js +59 -60
  23. package/dist/cjs/Auth.js +335 -821
  24. package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-bb831b74.js} +13 -14
  25. package/dist/cjs/Beam.js +9 -9
  26. package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-091a991f.js} +24 -25
  27. package/dist/cjs/Breadcrumbs.js +27 -29
  28. package/dist/cjs/CMEDeck.js +83 -83
  29. package/dist/cjs/Column1.js +11 -14
  30. package/dist/cjs/Column2.js +32 -35
  31. package/dist/cjs/Column3.js +55 -58
  32. package/dist/cjs/ConferenceArticleCard.js +23 -24
  33. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  34. package/dist/cjs/DeckContent.js +94 -98
  35. package/dist/cjs/DeckQueue.js +86 -90
  36. package/dist/cjs/{Dfp-80146e98.js → Dfp-ce7ac168.js} +30 -31
  37. package/dist/cjs/EventsDeck.js +131 -138
  38. package/dist/cjs/ExternalResources.js +77 -78
  39. package/dist/cjs/Feature.js +25 -27
  40. package/dist/cjs/ForbesHero.js +40 -41
  41. package/dist/cjs/GridContent.js +177 -181
  42. package/dist/cjs/GridHero.js +42 -43
  43. package/dist/cjs/GroupDeck.js +58 -59
  44. package/dist/cjs/HamMagazine.js +131 -136
  45. package/dist/cjs/Header.js +11 -13
  46. package/dist/cjs/Hero.js +12 -13
  47. package/dist/cjs/HighlightenVideo.js +17 -18
  48. package/dist/cjs/HorizontalArticleListing.js +69 -70
  49. package/dist/cjs/HorizontalHero.js +25 -26
  50. package/dist/cjs/IssueContentDeck.js +72 -77
  51. package/dist/cjs/IssueDeck.js +70 -75
  52. package/dist/cjs/IssueLanding.js +40 -41
  53. package/dist/cjs/LeftNav.js +36 -38
  54. package/dist/cjs/MasterDeck.js +70 -71
  55. package/dist/cjs/MediaSeriesLanding.js +37 -39
  56. package/dist/cjs/NavDvm.js +75 -80
  57. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  58. package/dist/cjs/NavMagazine.js +138 -143
  59. package/dist/cjs/NavNative.js +115 -123
  60. package/dist/cjs/NavNormal.js +48 -53
  61. package/dist/cjs/OncliveHero.js +20 -20
  62. package/dist/cjs/OncliveLargeHero.js +66 -67
  63. package/dist/cjs/PageFilter.js +14 -15
  64. package/dist/cjs/PartnerDetailListing.js +106 -107
  65. package/dist/cjs/PdfDownload.js +8 -9
  66. package/dist/cjs/PopUpModal.js +19 -21
  67. package/dist/cjs/PubSection.js +39 -40
  68. package/dist/cjs/PubToc.js +16 -17
  69. package/dist/cjs/PublicationDeck.js +61 -66
  70. package/dist/cjs/PublicationLanding.js +83 -83
  71. package/dist/cjs/QueueDeckExpanded.js +292 -292
  72. package/dist/cjs/RecentNews.js +23 -24
  73. package/dist/cjs/RelatedContent.js +24 -25
  74. package/dist/cjs/RelatedTopicsDropdown.js +19 -22
  75. package/dist/cjs/RolesDeck.js +27 -32
  76. package/dist/cjs/Search.js +18 -22
  77. package/dist/cjs/Segment.js +7 -7
  78. package/dist/cjs/SeriesListingDeck.js +38 -39
  79. package/dist/cjs/{SeriesSlider-8b500128.js → SeriesSlider-0a4b30a7.js} +37 -38
  80. package/dist/cjs/SetCookie.js +1 -1
  81. package/dist/cjs/SideFooter.js +35 -36
  82. package/dist/cjs/SocialIcons.js +9 -10
  83. package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-8dd468fd.js} +36 -40
  84. package/dist/cjs/SocialShare.js +29 -31
  85. package/dist/cjs/TaxonomyCard.js +57 -62
  86. package/dist/cjs/TaxonomyDescription.js +52 -53
  87. package/dist/cjs/TemplateNormal.js +72 -73
  88. package/dist/cjs/ThumbnailCard.js +20 -22
  89. package/dist/cjs/Ustream.js +26 -27
  90. package/dist/cjs/VerticalHero.js +17 -18
  91. package/dist/cjs/VideoProgramLandingPage.js +71 -75
  92. package/dist/cjs/VideoSeriesCard.js +31 -32
  93. package/dist/cjs/VideoSeriesFilter.js +19 -19
  94. package/dist/cjs/VideoSeriesLandingPage.js +46 -47
  95. package/dist/cjs/VideoSeriesListing.js +76 -77
  96. package/dist/cjs/View.js +263 -257
  97. package/dist/cjs/YahooHero.js +39 -40
  98. package/dist/cjs/YoutubeGroup.js +62 -63
  99. package/dist/cjs/{_is-array-63ae4740.js → _is-array-754e012d.js} +6 -6
  100. package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-60b2f026.js} +2 -2
  101. package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-5e74ba08.js} +1 -1
  102. package/dist/cjs/{_object-to-array-bec5fcf2.js → _object-to-array-5762f850.js} +1 -1
  103. package/dist/cjs/{_set-species-a8cfdb84.js → _set-species-f92c67c5.js} +4 -4
  104. package/dist/cjs/{_to-object-821a2927.js → _to-object-329a650b.js} +4 -4
  105. package/dist/cjs/{asyncToGenerator-2edcb6ad.js → asyncToGenerator-533d476a.js} +8 -8
  106. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
  107. package/dist/cjs/{core.get-iterator-method-b4615fd3.js → core.get-iterator-method-f62321d4.js} +2 -2
  108. package/dist/cjs/{define-property-aff11f8a.js → define-property-f4d12f4e.js} +1 -1
  109. package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-55548b25.js} +1 -1
  110. package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
  111. package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-cc0bbaa4.js} +2 -2
  112. package/dist/cjs/{extends-1e24fc8d.js → extends-60837c34.js} +1 -1
  113. package/dist/cjs/getQuery.js +1 -1
  114. package/dist/cjs/getRelatedArticle.js +13 -424
  115. package/dist/cjs/getRootDocGroup.js +7 -7
  116. package/dist/cjs/getSerializers.js +43 -43
  117. package/dist/cjs/{getTargeting-497b581d.js → getTargeting-9af0ef69.js} +3 -3
  118. package/dist/cjs/getTargeting.js +7 -7
  119. package/dist/cjs/iconBase-68959171.js +3 -0
  120. package/dist/cjs/{index-4d74ffd6.js → index-3294d3bc.js} +41 -40
  121. package/dist/cjs/{index-33d0daca.js → index-4ec63018.js} +902 -925
  122. package/dist/cjs/{index-0e4427c8.js → index-8bf6c863.js} +11 -12
  123. package/dist/cjs/{index-d48b231c.js → index-be0c82be.js} +25 -31
  124. package/dist/cjs/{index-80f57cff.js → index-da796b8c.js} +15 -17
  125. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  126. package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
  127. package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
  128. package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
  129. package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
  130. package/dist/cjs/index.js +160 -162
  131. package/dist/cjs/{inherits-2eb23889.js → inherits-c9f99d47.js} +5 -5
  132. package/dist/cjs/{keys-95c064c9.js → keys-a586b7a0.js} +2 -2
  133. package/dist/cjs/{lodash-4ef21f0f.js → lodash-fc2922d0.js} +23 -72
  134. package/dist/cjs/{main-dc082238.js → main-02daeefe.js} +80 -116
  135. package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
  136. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
  137. package/dist/cjs/{slicedToArray-db24842a.js → slicedToArray-8f385299.js} +4 -4
  138. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  139. package/dist/cjs/{stringify-01cf47f7.js → stringify-7c5aff47.js} +1 -1
  140. package/dist/cjs/timeDifferenceCalc.js +1 -1
  141. package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-9a3476fe.js} +4 -4
  142. package/dist/cjs/{typeof-97065d40.js → typeof-725500bc.js} +7 -7
  143. package/dist/cjs/urlFor.js +2 -2
  144. package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
  145. package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
  146. package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-a0e279c1.js} +3 -3
  147. package/dist/esm/AD.js +7 -7
  148. package/dist/esm/AD300x250.js +24 -24
  149. package/dist/esm/AD300x250x600.js +24 -24
  150. package/dist/esm/AD728x90.js +27 -27
  151. package/dist/esm/ADFloatingFooter.js +26 -26
  152. package/dist/esm/ADFooter.js +11 -11
  153. package/dist/esm/ADGutter.js +26 -26
  154. package/dist/esm/{ADInfeed-6315ccfc.js → ADInfeed-892282a8.js} +9 -9
  155. package/dist/esm/ADSkyscraper.js +26 -26
  156. package/dist/esm/ADSponsoredResources.js +26 -26
  157. package/dist/esm/ADWebcast.js +26 -26
  158. package/dist/esm/ADWelcome.js +27 -27
  159. package/dist/esm/{ADlgInfeed-4e05a45c.js → ADlgInfeed-4cc9ead9.js} +8 -8
  160. package/dist/esm/AccordionPanel.js +24 -24
  161. package/dist/esm/AdSlot.js +23 -23
  162. package/dist/esm/AdSlotsProvider.js +13 -13
  163. package/dist/esm/AlphabeticList.js +21 -21
  164. package/dist/esm/ArticleCarousel.js +20 -20
  165. package/dist/esm/ArticleProgramLandingPage.js +52 -52
  166. package/dist/esm/ArticleSeriesLandingPage.js +35 -35
  167. package/dist/esm/ArticleSeriesListing.js +54 -54
  168. package/dist/esm/Auth.js +322 -804
  169. package/dist/esm/{AuthorComponent-c7ff069f.js → AuthorComponent-34b16174.js} +11 -11
  170. package/dist/esm/Beam.js +9 -9
  171. package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-e9b4ddcf.js} +4 -4
  172. package/dist/esm/Breadcrumbs.js +17 -17
  173. package/dist/esm/CMEDeck.js +79 -79
  174. package/dist/esm/Column1.js +5 -5
  175. package/dist/esm/Column2.js +26 -26
  176. package/dist/esm/Column3.js +48 -48
  177. package/dist/esm/ConferenceArticleCard.js +19 -19
  178. package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
  179. package/dist/esm/DeckContent.js +76 -76
  180. package/dist/esm/DeckQueue.js +64 -64
  181. package/dist/esm/{Dfp-8bfbd310.js → Dfp-e9a07597.js} +20 -20
  182. package/dist/esm/EventsDeck.js +84 -84
  183. package/dist/esm/ExternalResources.js +71 -71
  184. package/dist/esm/Feature.js +18 -18
  185. package/dist/esm/ForbesHero.js +34 -34
  186. package/dist/esm/GridContent.js +139 -139
  187. package/dist/esm/GridHero.js +36 -36
  188. package/dist/esm/GroupDeck.js +46 -46
  189. package/dist/esm/HamMagazine.js +105 -105
  190. package/dist/esm/Header.js +7 -7
  191. package/dist/esm/Hero.js +9 -9
  192. package/dist/esm/HighlightenVideo.js +14 -14
  193. package/dist/esm/HorizontalArticleListing.js +66 -66
  194. package/dist/esm/HorizontalHero.js +21 -21
  195. package/dist/esm/IssueContentDeck.js +49 -49
  196. package/dist/esm/IssueDeck.js +46 -46
  197. package/dist/esm/IssueLanding.js +37 -37
  198. package/dist/esm/LeftNav.js +32 -32
  199. package/dist/esm/MasterDeck.js +64 -64
  200. package/dist/esm/MediaSeriesLanding.js +30 -30
  201. package/dist/esm/NavDvm.js +57 -57
  202. package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
  203. package/dist/esm/NavMagazine.js +114 -114
  204. package/dist/esm/NavNative.js +91 -91
  205. package/dist/esm/NavNormal.js +36 -36
  206. package/dist/esm/OncliveHero.js +17 -16
  207. package/dist/esm/OncliveLargeHero.js +59 -59
  208. package/dist/esm/PageFilter.js +12 -12
  209. package/dist/esm/PartnerDetailListing.js +102 -102
  210. package/dist/esm/PdfDownload.js +6 -6
  211. package/dist/esm/PopUpModal.js +14 -14
  212. package/dist/esm/PubSection.js +36 -36
  213. package/dist/esm/PubToc.js +13 -13
  214. package/dist/esm/PublicationDeck.js +38 -38
  215. package/dist/esm/PublicationLanding.js +59 -55
  216. package/dist/esm/QueueDeckExpanded.js +272 -272
  217. package/dist/esm/RecentNews.js +20 -20
  218. package/dist/esm/RelatedContent.js +19 -19
  219. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  220. package/dist/esm/RolesDeck.js +13 -13
  221. package/dist/esm/Search.js +12 -12
  222. package/dist/esm/Segment.js +7 -7
  223. package/dist/esm/SeriesListingDeck.js +33 -33
  224. package/dist/esm/{SeriesSlider-00ad2992.js → SeriesSlider-f629bded.js} +27 -27
  225. package/dist/esm/SetCookie.js +1 -1
  226. package/dist/esm/SideFooter.js +31 -31
  227. package/dist/esm/SocialIcons.js +7 -7
  228. package/dist/esm/{SocialSearchComponent-c3216d1a.js → SocialSearchComponent-a2ae84d1.js} +28 -28
  229. package/dist/esm/SocialShare.js +25 -25
  230. package/dist/esm/TaxonomyCard.js +41 -41
  231. package/dist/esm/TaxonomyDescription.js +47 -47
  232. package/dist/esm/TemplateNormal.js +66 -66
  233. package/dist/esm/ThumbnailCard.js +13 -13
  234. package/dist/esm/Ustream.js +23 -23
  235. package/dist/esm/VerticalHero.js +13 -13
  236. package/dist/esm/VideoProgramLandingPage.js +61 -61
  237. package/dist/esm/VideoSeriesCard.js +24 -24
  238. package/dist/esm/VideoSeriesFilter.js +16 -16
  239. package/dist/esm/VideoSeriesLandingPage.js +39 -39
  240. package/dist/esm/VideoSeriesListing.js +70 -70
  241. package/dist/esm/View.js +247 -237
  242. package/dist/esm/YahooHero.js +34 -34
  243. package/dist/esm/YoutubeGroup.js +46 -46
  244. package/dist/esm/{_is-array-674f71ec.js → _is-array-58e95429.js} +6 -6
  245. package/dist/esm/{_iter-detect-48516cd3.js → _iter-detect-5d49a330.js} +2 -2
  246. package/dist/esm/{_object-sap-fd3054d0.js → _object-sap-964b6feb.js} +1 -1
  247. package/dist/esm/{_object-to-array-8f409e54.js → _object-to-array-7e804fce.js} +1 -1
  248. package/dist/esm/{_set-species-494ed292.js → _set-species-3f8319f5.js} +4 -4
  249. package/dist/esm/{_to-object-97770c52.js → _to-object-a4107da3.js} +5 -5
  250. package/dist/esm/{asyncToGenerator-2bd4099a.js → asyncToGenerator-502f13b4.js} +8 -8
  251. package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
  252. package/dist/esm/{core.get-iterator-method-d1d5ed02.js → core.get-iterator-method-e1de7503.js} +2 -2
  253. package/dist/esm/{define-property-ec6d528d.js → define-property-8af5f002.js} +1 -1
  254. package/dist/esm/{defineProperty-ea516b15.js → defineProperty-94fd8bfc.js} +1 -1
  255. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  256. package/dist/esm/{es6.string.iterator-aa6068a3.js → es6.string.iterator-c990c18c.js} +3 -3
  257. package/dist/esm/{extends-31d65aba.js → extends-eb69e8ac.js} +1 -1
  258. package/dist/esm/getQuery.js +1 -1
  259. package/dist/esm/getRelatedArticle.js +13 -424
  260. package/dist/esm/getRootDocGroup.js +7 -7
  261. package/dist/esm/getSerializers.js +43 -43
  262. package/dist/esm/{getTargeting-2d402d66.js → getTargeting-7211f12c.js} +2 -2
  263. package/dist/esm/getTargeting.js +7 -7
  264. package/dist/esm/{index-752d1dae.js → index-5f9f807a.js} +10 -10
  265. package/dist/esm/{index-3f5c03b2.js → index-73819142.js} +25 -31
  266. package/dist/esm/{index-888f9253.js → index-a9e53f80.js} +6 -6
  267. package/dist/esm/{index-47730283.js → index-c6e49ea4.js} +844 -860
  268. package/dist/esm/{index-ccb770c7.js → index-ef6d5dcf.js} +41 -40
  269. package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
  270. package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
  271. package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
  272. package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
  273. package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
  274. package/dist/esm/index.js +129 -128
  275. package/dist/esm/{inherits-5906fbea.js → inherits-fb9b6e8f.js} +5 -5
  276. package/dist/esm/{keys-a0b0c7a4.js → keys-8eda7a5c.js} +2 -2
  277. package/dist/esm/{lodash-ad27652f.js → lodash-17fdfebb.js} +23 -72
  278. package/dist/esm/{main-1450d277.js → main-e4a934b2.js} +78 -113
  279. package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
  280. package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
  281. package/dist/esm/{slicedToArray-cdeaee08.js → slicedToArray-641f241f.js} +4 -4
  282. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  283. package/dist/esm/{stringify-d4839bab.js → stringify-4330ccdc.js} +1 -1
  284. package/dist/esm/timeDifferenceCalc.js +1 -1
  285. package/dist/esm/{toConsumableArray-fa2dcda7.js → toConsumableArray-43aa614d.js} +4 -4
  286. package/dist/esm/{typeof-e9cea9e8.js → typeof-6435ba1c.js} +7 -7
  287. package/dist/esm/urlFor.js +1 -1
  288. package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
  289. package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
  290. package/dist/esm/{web.dom.iterable-035980f3.js → web.dom.iterable-4439f05a.js} +3 -3
  291. package/package.json +1 -1
  292. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  293. package/dist/cjs/index-bd6c9f56.js +0 -211
  294. package/dist/esm/index-db3bb315.js +0 -207
@@ -1,11 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var React = require('react');
4
- var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
5
-
6
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
7
4
 
8
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
5
+ var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
6
+ var React = require('react');
7
+ var React__default = _interopDefault(React);
9
8
 
10
9
  var slice = Array.prototype.slice;
11
10
 
@@ -631,7 +630,7 @@ if (typeof window !== "undefined") {
631
630
 
632
631
  var window_1 = win;
633
632
 
634
- /*! @name @brightcove/react-player-loader @version 1.4.1 @license Apache-2.0 */
633
+ /*! @name @brightcove/react-player-loader @version 1.4.0 @license Apache-2.0 */
635
634
 
636
635
  function _extends() {
637
636
  _extends = Object.assign || function (target) {
@@ -665,7 +664,7 @@ function _assertThisInitialized(self) {
665
664
  return self;
666
665
  }
667
666
 
668
- /*! @name @brightcove/player-loader @version 1.8.0 @license Apache-2.0 */
667
+ /*! @name @brightcove/player-loader @version 1.7.1 @license Apache-2.0 */
669
668
 
670
669
  function _extends$1() {
671
670
  _extends$1 = Object.assign || function (target) {
@@ -685,7 +684,7 @@ function _extends$1() {
685
684
  return _extends$1.apply(this, arguments);
686
685
  }
687
686
 
688
- var version = "1.8.0";
687
+ var version = "1.7.1";
689
688
 
690
689
  /*! @name @brightcove/player-url @version 1.2.0 @license Apache-2.0 */
691
690
  var version$1 = "1.2.0";
@@ -1002,7 +1001,6 @@ var createInPageEmbed = function createInPageEmbed(params) {
1002
1001
  deliveryConfigId: 'data-delivery-config-id',
1003
1002
  playlistId: 'data-playlist-id',
1004
1003
  playlistVideoId: 'data-playlist-video-id',
1005
- poster: 'poster',
1006
1004
  videoId: 'data-video-id'
1007
1005
  };
1008
1006
  var tagName = embedOptions && embedOptions.tagName || EMBED_TAG_NAME_VIDEOJS;
@@ -2223,10 +2221,10 @@ function (_React$Component) {
2223
2221
  ref: this.setRefNode
2224
2222
  });
2225
2223
 
2226
- return React__default['default'].createElement('div', props);
2224
+ return React__default.createElement('div', props);
2227
2225
  };
2228
2226
 
2229
2227
  return ReactPlayerLoader;
2230
- }(React__default['default'].Component);
2228
+ }(React__default.Component);
2231
2229
 
2232
2230
  exports.ReactPlayerLoader = ReactPlayerLoader;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var _toObject = require('./_to-object-821a2927.js');
4
- var es6_string_iterator = require('./es6.string.iterator-20d42c53.js');
3
+ var _toObject = require('./_to-object-329a650b.js');
4
+ var es6_string_iterator = require('./es6.string.iterator-cc0bbaa4.js');
5
5
 
6
6
  // getting tag from 19.1.3.6 Object.prototype.toString()
7
7
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
4
- var _toObject = require('./_to-object-821a2927.js');
4
+ var _toObject = require('./_to-object-329a650b.js');
5
5
 
6
6
  // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
7
7
  _toObject._export(_toObject._export.S + _toObject._export.F * !_toObject._descriptors, 'Object', { defineProperty: _toObject._objectDp.f });
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
4
- var defineProperty$1 = require('./define-property-aff11f8a.js');
4
+ var defineProperty$1 = require('./define-property-f4d12f4e.js');
5
5
 
6
6
  var defineProperty = _commonjsHelpers.createCommonjsModule(function (module, exports) {
7
7
 
@@ -222,7 +222,7 @@ var striptags = _commonjsHelpers.createCommonjsModule(function (module) {
222
222
  return match ? match[1].toLowerCase() : null;
223
223
  }
224
224
 
225
- if (module.exports) {
225
+ if ( module.exports) {
226
226
  // Node
227
227
  module.exports = striptags;
228
228
  }
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var _toObject = require('./_to-object-821a2927.js');
4
3
  var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
4
+ var _toObject = require('./_to-object-329a650b.js');
5
5
 
6
6
  // true -> String#at
7
7
  // false -> String#codePointAt
@@ -164,7 +164,7 @@ var _iterDefine = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORC
164
164
  $default = function values() { return $native.call(this); };
165
165
  }
166
166
  // Define iterator
167
- if ((FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
167
+ if (( FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
168
168
  _toObject._hide(proto, ITERATOR, $default);
169
169
  }
170
170
  // Plug for library
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
4
- var _toObject = require('./_to-object-821a2927.js');
4
+ var _toObject = require('./_to-object-329a650b.js');
5
5
  var _objectPie = require('./_object-pie-68c5bcbc.js');
6
6
 
7
7
  // 19.1.2.1 Object.assign(target, source, ...)
@@ -14,7 +14,7 @@ var getQuery = function getQuery(type) {
14
14
  case 'article':
15
15
  return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n } \n },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n \'path\': identifier.current\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
16
16
  case 'publication':
17
- return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n taxonomyMapping[]->,\n pdf{asset->}\n } | order(year desc, month desc)\n }';
17
+ return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n taxonomyMapping[]->,\n pdf{asset->},\n \'articlesCount\': count(*[\n _type == \'article\' \n && !(_id in path("drafts.**"))\n && defined(title)\n && is_visible\n && defined(url)\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock != true\n && references(^._id)\n ][0...1])\n } | order(year desc, month desc)\n }';
18
18
  case 'issue':
19
19
  return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issue\': *[_type == \'publication\'\n && references(^._id)\n && identifier.current == $issue][0] {\n ...,\n \'articles\': *[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && is_visible\n && defined(url)\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock != true\n && references(^._id)] | order(published desc) {\n ...,\n authorMapping[0]->,\n contentCategory->,\n issueSection-> {\n name\n }\n }\n }\n }';
20
20
  case 'externalResources':
@@ -1,427 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var asyncToGenerator = require('./asyncToGenerator-2edcb6ad.js');
4
- var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
5
- var index = require('./index-bd6c9f56.js');
6
- var getQuery = require('./getQuery.js');
7
- require('./es6.string.iterator-20d42c53.js');
8
- require('./_to-object-821a2927.js');
9
- require('./web.dom.iterable-4480325a.js');
3
+ require('./_commonjsHelpers-06173234.js');
4
+ require('./_to-object-329a650b.js');
5
+ require('./es6.string.iterator-cc0bbaa4.js');
10
6
  require('./_library-dd23b178.js');
11
- require('./core.get-iterator-method-b4615fd3.js');
12
- require('./_set-species-a8cfdb84.js');
13
- require('./_iter-detect-2613ffa1.js');
14
-
15
- var defaultParseOptions = {
16
- decodeValues: true,
17
- map: false,
18
- silent: false,
19
- };
20
-
21
- function isNonEmptyString(str) {
22
- return typeof str === "string" && !!str.trim();
23
- }
24
-
25
- function parseString(setCookieValue, options) {
26
- var parts = setCookieValue.split(";").filter(isNonEmptyString);
27
- var nameValue = parts.shift().split("=");
28
- var name = nameValue.shift();
29
- var value = nameValue.join("="); // everything after the first =, joined by a "=" if there was more than one part
30
-
31
- options = options
32
- ? Object.assign({}, defaultParseOptions, options)
33
- : defaultParseOptions;
34
-
35
- try {
36
- value = options.decodeValues ? decodeURIComponent(value) : value; // decode cookie value
37
- } catch (e) {
38
- console.error(
39
- `set-cookie-parser encountered an error while decoding a cookie with value '${value}'. Set options.decodeValues to false to disable this feature.`,
40
- e
41
- );
42
- }
43
-
44
- var cookie = {
45
- name: name, // grab everything before the first =
46
- value: value,
47
- };
48
-
49
- parts.forEach(function (part) {
50
- var sides = part.split("=");
51
- var key = sides.shift().trimLeft().toLowerCase();
52
- var value = sides.join("=");
53
- if (key === "expires") {
54
- cookie.expires = new Date(value);
55
- } else if (key === "max-age") {
56
- cookie.maxAge = parseInt(value, 10);
57
- } else if (key === "secure") {
58
- cookie.secure = true;
59
- } else if (key === "httponly") {
60
- cookie.httpOnly = true;
61
- } else if (key === "samesite") {
62
- cookie.sameSite = value;
63
- } else {
64
- cookie[key] = value;
65
- }
66
- });
67
-
68
- return cookie;
69
- }
70
-
71
- function parse(input, options) {
72
- options = options
73
- ? Object.assign({}, defaultParseOptions, options)
74
- : defaultParseOptions;
75
-
76
- if (!input) {
77
- if (!options.map) {
78
- return [];
79
- } else {
80
- return {};
81
- }
82
- }
83
-
84
- if (input.headers && input.headers["set-cookie"]) {
85
- // fast-path for node.js (which automatically normalizes header names to lower-case
86
- input = input.headers["set-cookie"];
87
- } else if (input.headers) {
88
- // slow-path for other environments - see #25
89
- var sch =
90
- input.headers[
91
- Object.keys(input.headers).find(function (key) {
92
- return key.toLowerCase() === "set-cookie";
93
- })
94
- ];
95
- // warn if called on a request-like object with a cookie header rather than a set-cookie header - see #34, 36
96
- if (!sch && input.headers.cookie && !options.silent) {
97
- console.warn(
98
- "Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."
99
- );
100
- }
101
- input = sch;
102
- }
103
- if (!Array.isArray(input)) {
104
- input = [input];
105
- }
106
-
107
- options = options
108
- ? Object.assign({}, defaultParseOptions, options)
109
- : defaultParseOptions;
110
-
111
- if (!options.map) {
112
- return input.filter(isNonEmptyString).map(function (str) {
113
- return parseString(str, options);
114
- });
115
- } else {
116
- var cookies = {};
117
- return input.filter(isNonEmptyString).reduce(function (cookies, str) {
118
- var cookie = parseString(str, options);
119
- cookies[cookie.name] = cookie;
120
- return cookies;
121
- }, cookies);
122
- }
123
- }
124
-
125
- /*
126
- Set-Cookie header field-values are sometimes comma joined in one string. This splits them without choking on commas
127
- that are within a single set-cookie field-value, such as in the Expires portion.
128
-
129
- This is uncommon, but explicitly allowed - see https://tools.ietf.org/html/rfc2616#section-4.2
130
- Node.js does this for every header *except* set-cookie - see https://github.com/nodejs/node/blob/d5e363b77ebaf1caf67cd7528224b651c86815c1/lib/_http_incoming.js#L128
131
- React Native's fetch does this for *every* header, including set-cookie.
132
-
133
- Based on: https://github.com/google/j2objc/commit/16820fdbc8f76ca0c33472810ce0cb03d20efe25
134
- Credits to: https://github.com/tomball for original and https://github.com/chrusart for JavaScript implementation
135
- */
136
- function splitCookiesString(cookiesString) {
137
- if (Array.isArray(cookiesString)) {
138
- return cookiesString;
139
- }
140
- if (typeof cookiesString !== "string") {
141
- return [];
142
- }
143
-
144
- var cookiesStrings = [];
145
- var pos = 0;
146
- var start;
147
- var ch;
148
- var lastComma;
149
- var nextStart;
150
- var cookiesSeparatorFound;
151
-
152
- function skipWhitespace() {
153
- while (pos < cookiesString.length && /\s/.test(cookiesString.charAt(pos))) {
154
- pos += 1;
155
- }
156
- return pos < cookiesString.length;
157
- }
158
-
159
- function notSpecialChar() {
160
- ch = cookiesString.charAt(pos);
161
-
162
- return ch !== "=" && ch !== ";" && ch !== ",";
163
- }
164
-
165
- while (pos < cookiesString.length) {
166
- start = pos;
167
- cookiesSeparatorFound = false;
168
-
169
- while (skipWhitespace()) {
170
- ch = cookiesString.charAt(pos);
171
- if (ch === ",") {
172
- // ',' is a cookie separator if we have later first '=', not ';' or ','
173
- lastComma = pos;
174
- pos += 1;
175
-
176
- skipWhitespace();
177
- nextStart = pos;
178
-
179
- while (pos < cookiesString.length && notSpecialChar()) {
180
- pos += 1;
181
- }
182
-
183
- // currently special character
184
- if (pos < cookiesString.length && cookiesString.charAt(pos) === "=") {
185
- // we found cookies separator
186
- cookiesSeparatorFound = true;
187
- // pos is inside the next cookie, so back up and return it.
188
- pos = nextStart;
189
- cookiesStrings.push(cookiesString.substring(start, lastComma));
190
- start = pos;
191
- } else {
192
- // in param ',' or param separator ';',
193
- // we continue from that comma
194
- pos = lastComma + 1;
195
- }
196
- } else {
197
- pos += 1;
198
- }
199
- }
200
-
201
- if (!cookiesSeparatorFound || pos >= cookiesString.length) {
202
- cookiesStrings.push(cookiesString.substring(start, cookiesString.length));
203
- }
204
- }
205
-
206
- return cookiesStrings;
207
- }
208
-
209
- var setCookie = parse;
210
- var parse_1 = parse;
211
- var parseString_1 = parseString;
212
- var splitCookiesString_1 = splitCookiesString;
213
- setCookie.parse = parse_1;
214
- setCookie.parseString = parseString_1;
215
- setCookie.splitCookiesString = splitCookiesString_1;
216
-
217
- var utils = _commonjsHelpers.createCommonjsModule(function (module, exports) {
218
- var __assign = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__assign) || function () {
219
- __assign = Object.assign || function(t) {
220
- for (var s, i = 1, n = arguments.length; i < n; i++) {
221
- s = arguments[i];
222
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
223
- t[p] = s[p];
224
- }
225
- return t;
226
- };
227
- return __assign.apply(this, arguments);
228
- };
229
- Object.defineProperty(exports, "__esModule", { value: true });
230
- exports.areCookiesEqual = exports.hasSameProperties = exports.createCookie = exports.isBrowser = void 0;
231
- /**
232
- * Tells whether we are in a browser or server.
233
- */
234
- function isBrowser() {
235
- return typeof window !== 'undefined';
236
- }
237
- exports.isBrowser = isBrowser;
238
- /**
239
- * Create an instance of the Cookie interface
240
- */
241
- function createCookie(name, value, options) {
242
- var sameSite = options.sameSite;
243
- if (sameSite === true) {
244
- sameSite = 'strict';
245
- }
246
- if (sameSite === undefined || sameSite === false) {
247
- sameSite = 'lax';
248
- }
249
- var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
250
- delete cookieToSet.encode;
251
- return __assign({ name: name, value: value }, cookieToSet);
252
- }
253
- exports.createCookie = createCookie;
254
- /**
255
- * Tells whether given objects have the same properties.
256
- */
257
- function hasSameProperties(a, b) {
258
- var aProps = Object.getOwnPropertyNames(a);
259
- var bProps = Object.getOwnPropertyNames(b);
260
- if (aProps.length !== bProps.length) {
261
- return false;
262
- }
263
- for (var i = 0; i < aProps.length; i++) {
264
- var propName = aProps[i];
265
- if (a[propName] !== b[propName]) {
266
- return false;
267
- }
268
- }
269
- return true;
270
- }
271
- exports.hasSameProperties = hasSameProperties;
272
- /**
273
- * Compare the cookie and return true if the cookies have equivalent
274
- * options and the cookies would be overwritten in the browser storage.
275
- *
276
- * @param a first Cookie for comparison
277
- * @param b second Cookie for comparison
278
- */
279
- function areCookiesEqual(a, b) {
280
- var sameSiteSame = a.sameSite === b.sameSite;
281
- if (typeof a.sameSite === 'string' && typeof b.sameSite === 'string') {
282
- sameSiteSame = a.sameSite.toLowerCase() === b.sameSite.toLowerCase();
283
- }
284
- return (hasSameProperties(__assign(__assign({}, a), { sameSite: undefined }), __assign(__assign({}, b), { sameSite: undefined })) && sameSiteSame);
285
- }
286
- exports.areCookiesEqual = areCookiesEqual;
287
- /* Functions */
288
-
289
- });
290
-
291
- _commonjsHelpers.unwrapExports(utils);
292
- utils.areCookiesEqual;
293
- utils.hasSameProperties;
294
- utils.createCookie;
295
- utils.isBrowser;
296
-
297
- var dist = _commonjsHelpers.createCommonjsModule(function (module, exports) {
298
- var __assign = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__assign) || function () {
299
- __assign = Object.assign || function(t) {
300
- for (var s, i = 1, n = arguments.length; i < n; i++) {
301
- s = arguments[i];
302
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
303
- t[p] = s[p];
304
- }
305
- return t;
306
- };
307
- return __assign.apply(this, arguments);
308
- };
309
- Object.defineProperty(exports, "__esModule", { value: true });
310
- exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
311
-
312
-
313
-
314
- /**
315
- * Parses cookies.
316
- *
317
- * @param ctx NextJS page or API context, express context, null or undefined.
318
- * @param options Options that we pass down to `cookie` library.
319
- */
320
- function parseCookies(ctx, options) {
321
- var _a, _b;
322
- if ((_b = (_a = ctx === null || ctx === void 0 ? void 0 : ctx.req) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b.cookie) {
323
- return index.cookie.parse(ctx.req.headers.cookie, options);
324
- }
325
- if (utils.isBrowser()) {
326
- return index.cookie.parse(document.cookie, options);
327
- }
328
- return {};
329
- }
330
- exports.parseCookies = parseCookies;
331
- /**
332
- * Sets a cookie.
333
- *
334
- * @param ctx NextJS page or API context, express context, null or undefined.
335
- * @param name The name of your cookie.
336
- * @param value The value of your cookie.
337
- * @param options Options that we pass down to `cookie` library.
338
- */
339
- function setCookie$1(ctx, name, value, options) {
340
- var _a, _b;
341
- if (options === void 0) { options = {}; }
342
- // SSR
343
- if (((_a = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _a === void 0 ? void 0 : _a.getHeader) && ctx.res.setHeader) {
344
- // Check if response has finished and warn about it.
345
- if ((_b = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _b === void 0 ? void 0 : _b.finished) {
346
- console.warn("Not setting \"" + name + "\" cookie. Response has finished.");
347
- console.warn("You should set cookie before res.send()");
348
- return {};
349
- }
350
- /**
351
- * Load existing cookies from the header and parse them.
352
- */
353
- var cookies = ctx.res.getHeader('Set-Cookie') || [];
354
- if (typeof cookies === 'string')
355
- cookies = [cookies];
356
- if (typeof cookies === 'number')
357
- cookies = [];
358
- /**
359
- * Parse cookies but ignore values - we've already encoded
360
- * them in the previous call.
361
- */
362
- var parsedCookies = setCookie.parse(cookies, {
363
- decodeValues: false,
364
- });
365
- /**
366
- * We create the new cookie and make sure that none of
367
- * the existing cookies match it.
368
- */
369
- var newCookie_1 = utils.createCookie(name, value, options);
370
- var cookiesToSet_1 = [];
371
- parsedCookies.forEach(function (parsedCookie) {
372
- if (!utils.areCookiesEqual(parsedCookie, newCookie_1)) {
373
- /**
374
- * We serialize the cookie back to the original format
375
- * if it isn't the same as the new one.
376
- */
377
- var serializedCookie = index.cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({
378
- // we prevent reencoding by default, but you might override it
379
- encode: function (val) { return val; } }, parsedCookie));
380
- cookiesToSet_1.push(serializedCookie);
381
- }
382
- });
383
- cookiesToSet_1.push(index.cookie.serialize(name, value, options));
384
- // Update the header.
385
- ctx.res.setHeader('Set-Cookie', cookiesToSet_1);
386
- }
387
- // Browser
388
- if (utils.isBrowser()) {
389
- if (options && options.httpOnly) {
390
- throw new Error('Can not set a httpOnly cookie in the browser.');
391
- }
392
- document.cookie = index.cookie.serialize(name, value, options);
393
- }
394
- return {};
395
- }
396
- exports.setCookie = setCookie$1;
397
- /**
398
- * Destroys a cookie with a particular name.
399
- *
400
- * @param ctx NextJS page or API context, express context, null or undefined.
401
- * @param name Cookie name.
402
- * @param options Options that we pass down to `cookie` library.
403
- */
404
- function destroyCookie(ctx, name, options) {
405
- /**
406
- * We forward the request destroy to setCookie function
407
- * as it is the same function with modified maxAge value.
408
- */
409
- return setCookie$1(ctx, name, '', __assign(__assign({}, (options || {})), { maxAge: -1 }));
410
- }
411
- exports.destroyCookie = destroyCookie;
412
- /* Utility Exports */
413
- exports.default = {
414
- set: setCookie$1,
415
- get: parseCookies,
416
- destroy: destroyCookie,
417
- };
418
-
419
- });
420
-
421
- _commonjsHelpers.unwrapExports(dist);
422
- dist.destroyCookie;
423
- var dist_2 = dist.setCookie;
424
- var dist_3 = dist.parseCookies;
7
+ require('./_iter-detect-60b2f026.js');
8
+ require('./core.get-iterator-method-f62321d4.js');
9
+ require('./web.dom.iterable-a0e279c1.js');
10
+ var asyncToGenerator = require('./asyncToGenerator-533d476a.js');
11
+ require('./_set-species-f92c67c5.js');
12
+ var nookies = require('nookies');
13
+ var getQuery = require('./getQuery.js');
425
14
 
426
15
  var _this = undefined;
427
16
 
@@ -499,13 +88,13 @@ var getRelatedArticle = function () {
499
88
 
500
89
 
501
90
  if (ctx && url) {
502
- cookies = dist_3(ctx);
91
+ cookies = nookies.parseCookies(ctx);
503
92
  prevSlugs = cookies['prevSlugs'];
504
93
 
505
94
  if (!!prevSlugs) {
506
- if (!prevSlugs.includes(url)) dist_2(ctx, 'prevSlugs', prevSlugs + ',"' + url + '"', {});
95
+ if (!prevSlugs.includes(url)) nookies.setCookie(ctx, 'prevSlugs', prevSlugs + ',"' + url + '"', {});
507
96
  filters = filters + ' && !(url.current in [' + prevSlugs + '])';
508
- } else dist_2(ctx, 'prevSlugs', '"' + url + '"', {});
97
+ } else nookies.setCookie(ctx, 'prevSlugs', '"' + url + '"', {});
509
98
  }
510
99
 
511
100
  query = getQuery('related', filters, '', articleCount).replace('&& taxonomyMapping[]._ref in $taxonomy', '');
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var asyncToGenerator = require('./asyncToGenerator-2edcb6ad.js');
4
3
  require('./_commonjsHelpers-06173234.js');
5
- require('./es6.string.iterator-20d42c53.js');
6
- require('./_to-object-821a2927.js');
7
- require('./web.dom.iterable-4480325a.js');
4
+ require('./_to-object-329a650b.js');
5
+ require('./es6.string.iterator-cc0bbaa4.js');
8
6
  require('./_library-dd23b178.js');
9
- require('./core.get-iterator-method-b4615fd3.js');
10
- require('./_set-species-a8cfdb84.js');
11
- require('./_iter-detect-2613ffa1.js');
7
+ require('./_iter-detect-60b2f026.js');
8
+ require('./core.get-iterator-method-f62321d4.js');
9
+ require('./web.dom.iterable-a0e279c1.js');
10
+ var asyncToGenerator = require('./asyncToGenerator-533d476a.js');
11
+ require('./_set-species-f92c67c5.js');
12
12
 
13
13
  var _this = undefined;
14
14