@mjhls/mjh-framework 1.0.939-nojs-pagination-v5 → 1.0.939-segment-test-v2

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 (82) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AlgoliaSearch.js +15 -131
  3. package/dist/cjs/ArticleProgramLandingPage.js +1 -2
  4. package/dist/cjs/ArticleSeriesLandingPage.js +1 -2
  5. package/dist/cjs/AuthWrapper.js +1 -1
  6. package/dist/cjs/ConferenceArticleCard.js +15 -15
  7. package/dist/cjs/ContentCardPaginated.js +2 -1
  8. package/dist/cjs/DeckContent.js +17 -30
  9. package/dist/cjs/DeckQueuePaginated.js +2 -1
  10. package/dist/cjs/EventsDeck.js +17 -17
  11. package/dist/cjs/GridContent.js +11 -26
  12. package/dist/cjs/GridContentPaginated.js +2 -1
  13. package/dist/cjs/HamMagazine.js +9 -9
  14. package/dist/cjs/IssueLanding.js +29 -29
  15. package/dist/cjs/KMTracker.js +15 -15
  16. package/dist/cjs/MasterDeck.js +18 -17
  17. package/dist/cjs/MasterDeckPaginated.js +10 -9
  18. package/dist/cjs/{MediaSeriesCard-cc5aa886.js → MediaSeriesCard-659279e0.js} +1 -1
  19. package/dist/cjs/MediaSeriesLanding.js +7 -8
  20. package/dist/cjs/MediaSeriesLandingPaginated.js +9 -9
  21. package/dist/cjs/NavMagazine.js +10 -10
  22. package/dist/cjs/NavNative.js +9 -9
  23. package/dist/cjs/Pagination-885dcfbd.js +90 -0
  24. package/dist/cjs/PartnerDetailListingPaginated.js +2 -1
  25. package/dist/cjs/PublicationLanding.js +26 -26
  26. package/dist/cjs/QueueDeckExpanded.js +5 -3
  27. package/dist/cjs/QueueDeckExpandedPaginated.js +2 -1
  28. package/dist/cjs/RelatedContent.js +28 -28
  29. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  30. package/dist/cjs/SeriesListingDeck.js +1 -1
  31. package/dist/cjs/{SeriesSlider-de93a303.js → SeriesSlider-ba0c5d1a.js} +4 -4
  32. package/dist/cjs/SideFooter.js +2 -2
  33. package/dist/cjs/VideoProgramLandingPage.js +1 -2
  34. package/dist/cjs/VideoSeriesCard.js +1 -1
  35. package/dist/cjs/VideoSeriesListing.js +9 -17
  36. package/dist/cjs/View.js +68 -37
  37. package/dist/cjs/YoutubeGroup.js +4 -4
  38. package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
  39. package/dist/cjs/getTargeting.js +1 -1
  40. package/dist/cjs/index.js +3 -2
  41. package/dist/esm/AlgoliaSearch.js +16 -132
  42. package/dist/esm/ArticleProgramLandingPage.js +1 -2
  43. package/dist/esm/ArticleSeriesLandingPage.js +1 -2
  44. package/dist/esm/AuthWrapper.js +1 -1
  45. package/dist/esm/ConferenceArticleCard.js +15 -15
  46. package/dist/esm/ContentCardPaginated.js +2 -1
  47. package/dist/esm/DeckContent.js +17 -30
  48. package/dist/esm/DeckQueuePaginated.js +2 -1
  49. package/dist/esm/EventsDeck.js +17 -17
  50. package/dist/esm/GridContent.js +11 -26
  51. package/dist/esm/GridContentPaginated.js +2 -1
  52. package/dist/esm/HamMagazine.js +9 -9
  53. package/dist/esm/IssueLanding.js +29 -29
  54. package/dist/esm/KMTracker.js +15 -15
  55. package/dist/esm/MasterDeck.js +18 -17
  56. package/dist/esm/MasterDeckPaginated.js +10 -9
  57. package/dist/esm/{MediaSeriesCard-2dc3c439.js → MediaSeriesCard-06c6251a.js} +1 -1
  58. package/dist/esm/MediaSeriesLanding.js +7 -8
  59. package/dist/esm/MediaSeriesLandingPaginated.js +9 -9
  60. package/dist/esm/NavMagazine.js +10 -10
  61. package/dist/esm/NavNative.js +9 -9
  62. package/dist/esm/Pagination-59436882.js +82 -0
  63. package/dist/esm/PartnerDetailListingPaginated.js +2 -1
  64. package/dist/esm/PublicationLanding.js +26 -26
  65. package/dist/esm/QueueDeckExpanded.js +5 -3
  66. package/dist/esm/QueueDeckExpandedPaginated.js +2 -1
  67. package/dist/esm/RelatedContent.js +28 -28
  68. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  69. package/dist/esm/SeriesListingDeck.js +1 -1
  70. package/dist/esm/{SeriesSlider-98ad6d97.js → SeriesSlider-45adb8dc.js} +4 -4
  71. package/dist/esm/SideFooter.js +2 -2
  72. package/dist/esm/VideoProgramLandingPage.js +1 -2
  73. package/dist/esm/VideoSeriesCard.js +1 -1
  74. package/dist/esm/VideoSeriesListing.js +9 -17
  75. package/dist/esm/View.js +67 -37
  76. package/dist/esm/YoutubeGroup.js +4 -4
  77. package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
  78. package/dist/esm/getTargeting.js +1 -1
  79. package/dist/esm/index.js +3 -2
  80. package/package.json +115 -115
  81. package/dist/cjs/Pagination-42f92f7c.js +0 -97
  82. package/dist/esm/Pagination-484b86c5.js +0 -90
package/dist/esm/View.js CHANGED
@@ -17,8 +17,8 @@ import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
17
17
  import SocialShare from './SocialShare.js';
18
18
  import { r as renderAuthor, g as getSerializers } from './index-6dc67bdb.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
- import { S as SeriesSlider } from './SeriesSlider-98ad6d97.js';
21
- import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-04d979c9.js';
20
+ import { S as SeriesSlider } from './SeriesSlider-45adb8dc.js';
21
+ import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-42f9b439.js';
22
22
  import getKeywords from './getKeywords.js';
23
23
  import urlFor from './urlFor.js';
24
24
  import { u as urlForFile } from './urlForFile-b69adffc.js';
@@ -28,13 +28,14 @@ import { s as styleInject } from './style-inject.es-1f59c1d0.js';
28
28
  import './index-755f2cc2.js';
29
29
  import { DiscussionEmbed } from 'disqus-react';
30
30
  import Schema from './Schema.js';
31
- import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
31
+ import FileSaver from 'file-saver';
32
32
  import { _ as _Object$keys } from './keys-31dcdb31.js';
33
33
  import { I as InfiniteScroll } from './index.es-a6137319.js';
34
34
  import { l as lib_3 } from './index-f0fc23eb.js';
35
35
  import getRelatedArticle from './getRelatedArticle.js';
36
36
  import getQuery from './getQuery.js';
37
37
  import getSeriesDetail from './getSeriesDetail.js';
38
+ import './_commonjsHelpers-0c4b6f40.js';
38
39
  import './core.get-iterator-method-ea258bb1.js';
39
40
  import './web.dom.iterable-ab4dea5c.js';
40
41
  import './_library-528f1934.js';
@@ -339,7 +340,7 @@ var ISI = function ISI(props) {
339
340
  );
340
341
  };
341
342
 
342
- var css$1 = ".RelatedArticles-module_mediaContainer__10h9k {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: nowrap;\r\n margin: 0 -1rem;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn {\r\n margin: 0 1rem 1rem;\r\n width: calc(33% - 1rem);\r\n display: column;\r\n flex-direction: row;\r\n margin-bottom: 0.75rem;\r\n padding-bottom: 0.75rem;\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_cardTitle__3P-Ib {\r\n font-weight: bold;\r\n color: #252525;\r\n margin-bottom: 0.25rem;\r\n font-size: 15px;\r\n}\r\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\r\n color: #000;\r\n font-weight: bold;\r\n}\r\n.RelatedArticles-module_cardDate__1wOR5 {\r\n color: var(--dark);\r\n display: block;\r\n background: #fff !important;\r\n margin-bottom: 0;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: block;\r\n text-align: center;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\r\n height: 135px;\r\n width: 100%;\r\n object-fit: cover;\r\n object-position: center;\r\n}\r\n@media screen and (max-width: 1064px) {\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RelatedArticles-module_mediaContainer__10h9k {\r\n flex-wrap: wrap;\r\n }\r\n .RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: none;\r\n }\r\n .RelatedArticles-module_mediaCard__3wQbn {\r\n width: 100%;\r\n margin-bottom: 0.5rem;\r\n padding: 0;\r\n }\r\n .RelatedArticles-module_cardTitle__3P-Ib {\r\n font-size: 0.75rem;\r\n margin-bottom: 0;\r\n }\r\n}\r\n";
343
+ var css$1 = ".RelatedArticles-module_mediaContainer__10h9k {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin: 0 -1rem;\n}\n.RelatedArticles-module_mediaCard__3wQbn {\n margin: 0 1rem 1rem;\n width: calc(33% - 1rem);\n display: column;\n flex-direction: row;\n margin-bottom: 0.75rem;\n padding-bottom: 0.75rem;\n border-bottom: none;\n}\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\n border-bottom: none;\n}\n.RelatedArticles-module_cardTitle__3P-Ib {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.25rem;\n font-size: 15px;\n}\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\n color: #000;\n font-weight: bold;\n}\n.RelatedArticles-module_cardDate__1wOR5 {\n color: var(--dark);\n display: block;\n background: #fff !important;\n margin-bottom: 0;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 {\n display: block;\n text-align: center;\n margin-bottom: 0.5rem;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\n height: 135px;\n width: 100%;\n object-fit: cover;\n object-position: center;\n}\n@media screen and (max-width: 1064px) {\n}\n@media screen and (max-width: 968px) {\n .RelatedArticles-module_mediaContainer__10h9k {\n flex-wrap: wrap;\n }\n .RelatedArticles-module_imgWrapper__5Jx_4 {\n display: none;\n }\n .RelatedArticles-module_mediaCard__3wQbn {\n width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n }\n .RelatedArticles-module_cardTitle__3P-Ib {\n font-size: 0.75rem;\n margin-bottom: 0;\n }\n}\n";
343
344
  var styles$1 = { "mediaContainer": "RelatedArticles-module_mediaContainer__10h9k", "mediaCard": "RelatedArticles-module_mediaCard__3wQbn", "cardTitle": "RelatedArticles-module_cardTitle__3P-Ib", "authorListing": "RelatedArticles-module_authorListing__1EFg4", "text-muted": "RelatedArticles-module_text-muted__3b0zX", "cardDate": "RelatedArticles-module_cardDate__1wOR5", "imgWrapper": "RelatedArticles-module_imgWrapper__5Jx_4" };
344
345
  styleInject(css$1);
345
346
 
@@ -438,13 +439,7 @@ var getSocialShareDisableFlag = function getSocialShareDisableFlag(article) {
438
439
  return showSocialShare;
439
440
  };
440
441
 
441
- var FileSaver_min = createCommonjsModule(function (module, exports) {
442
- (function(a,b){b();})(commonjsGlobal,function(){function b(a,b){return "undefined"==typeof b?b={autoBom:!1}:"object"!=typeof b&&(console.warn("Deprecated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a}function c(a,b,c){var d=new XMLHttpRequest;d.open("GET",a),d.responseType="blob",d.onload=function(){g(d.response,b,c);},d.onerror=function(){console.error("could not download file");},d.send();}function d(a){var b=new XMLHttpRequest;b.open("HEAD",a,!1);try{b.send();}catch(a){}return 200<=b.status&&299>=b.status}function e(a){try{a.dispatchEvent(new MouseEvent("click"));}catch(c){var b=document.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b);}}var f="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof commonjsGlobal&&commonjsGlobal.global===commonjsGlobal?commonjsGlobal:void 0,a=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),g=f.saveAs||("object"!=typeof window||window!==f?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(b,g,h){var i=f.URL||f.webkitURL,j=document.createElement("a");g=g||b.name||"download",j.download=g,j.rel="noopener","string"==typeof b?(j.href=b,j.origin===location.origin?e(j):d(j.href)?c(b,g,h):e(j,j.target="_blank")):(j.href=i.createObjectURL(b),setTimeout(function(){i.revokeObjectURL(j.href);},4E4),setTimeout(function(){e(j);},0));}:"msSaveOrOpenBlob"in navigator?function(f,g,h){if(g=g||f.name||"download","string"!=typeof f)navigator.msSaveOrOpenBlob(b(f,h),g);else if(d(f))c(f,g,h);else {var i=document.createElement("a");i.href=f,i.target="_blank",setTimeout(function(){e(i);});}}:function(b,d,e,g){if(g=g||open("","_blank"),g&&(g.document.title=g.document.body.innerText="downloading..."),"string"==typeof b)return c(b,d,e);var h="application/octet-stream"===b.type,i=/constructor/i.test(f.HTMLElement)||f.safari,j=/CriOS\/[\d]+/.test(navigator.userAgent);if((j||h&&i||a)&&"undefined"!=typeof FileReader){var k=new FileReader;k.onloadend=function(){var a=k.result;a=j?a:a.replace(/^data:[^;]*;/,"data:attachment/file;"),g?g.location.href=a:location=a,g=null;},k.readAsDataURL(b);}else {var l=f.URL||f.webkitURL,m=l.createObjectURL(b);g?g.location=m:location.href=m,g=null,setTimeout(function(){l.revokeObjectURL(m);},4E4);}});f.saveAs=g.saveAs=g,(module.exports=g);});
443
-
444
-
445
- });
446
-
447
- var css = ".RecommendedArticles-module_recommendTitle__2kUji {\r\n border-bottom: 2px solid var(--secondary-blue);\r\n font-size: 1.5rem;\r\n font-weight: bold;\r\n color: #0d335a;\r\n padding: 0.5rem;\r\n}\r\n.RecommendedArticles-module_recommendContainer__sZukI {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: wrap;\r\n margin: 0 -0.5rem;\r\n}\r\n.RecommendedArticles-module_recommendTop__1_yqw {\r\n margin: 0.5rem;\r\n width: 100%;\r\n flex-basis: 100%;\r\n display: flex;\r\n\r\n}\r\n.RecommendedArticles-module_recommendTopImg__1b9gu {\r\n min-width: 55%;\r\n width: 55%;\r\n height: 100%;\r\n}\r\n.RecommendedArticles-module_recommendTopImg__1b9gu img {\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n}\r\n.RecommendedArticles-module_recommendTopBody__-13FI {\r\n margin-left: 1rem;\r\n line-height: 1.3;\r\n color: #121212;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 25px;\r\n font-weight: bold;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RecommendedArticles-module_topBody__2_VNi {\r\n font-size: 19px;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 19px;\r\n color: rgb(43, 43, 151);\r\n text-decoration: underline;\r\n margin-top: auto;\r\n}\r\n.RecommendedArticles-module_smContainer__4byBO {\r\n width: calc(25% - 1rem);\r\n margin: 0 0.5rem;\r\n}\r\n.RecommendedArticles-module_smImage__TYZGY img {\r\n width: 100%;\r\n}\r\n.RecommendedArticles-module_title__3q1ud {\r\n margin-top: 1rem;\r\n line-height: 1.2;\r\n color: #121212;\r\n}\r\n.RecommendedArticles-module_category__2jRto {\r\n text-transform: uppercase;\r\n font-size: 16px;\r\n letter-spacing: 2px;\r\n margin: 0.25rem 0;\r\n}\r\n\r\n/* media query */\r\n\r\n@media screen and (max-width: 1399px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 21px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi {\r\n font-size: 15px;\r\n }\r\n}\r\n@media screen and (max-width: 1191px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 23px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi,\r\n .RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 17px;\r\n }\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 18px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi,\r\n .RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 15px;\r\n }\r\n}\r\n@media screen and (max-width: 768px) {\r\n .RecommendedArticles-module_recommendTop__1_yqw {\r\n flex-direction: column;\r\n }\r\n .RecommendedArticles-module_recommendTopImg__1b9gu,\r\n .RecommendedArticles-module_recommendTopBody__-13FI {\r\n width: 100%;\r\n margin: 0;\r\n }\r\n .RecommendedArticles-module_recommendTopBody__-13FI {\r\n margin-bottom: 1rem;\r\n }\r\n .RecommendedArticles-module_smContainer__4byBO {\r\n width: calc(50% - 1rem);\r\n }\r\n}";
442
+ var css = ".RecommendedArticles-module_recommendTitle__2kUji {\n border-bottom: 2px solid var(--secondary-blue);\n font-size: 1.5rem;\n font-weight: bold;\n color: #0d335a;\n padding: 0.5rem;\n}\n.RecommendedArticles-module_recommendContainer__sZukI {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n margin: 0 -0.5rem;\n}\n.RecommendedArticles-module_recommendTop__1_yqw {\n margin: 0.5rem;\n width: 100%;\n flex-basis: 100%;\n display: flex;\n\n}\n.RecommendedArticles-module_recommendTopImg__1b9gu {\n min-width: 55%;\n width: 55%;\n height: 100%;\n}\n.RecommendedArticles-module_recommendTopImg__1b9gu img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n.RecommendedArticles-module_recommendTopBody__-13FI {\n margin-left: 1rem;\n line-height: 1.3;\n color: #121212;\n display: flex;\n flex-direction: column;\n}\n.RecommendedArticles-module_topTitle__2EafN {\n font-size: 25px;\n font-weight: bold;\n margin-bottom: 0.5rem;\n}\n.RecommendedArticles-module_topBody__2_VNi {\n font-size: 19px;\n margin-bottom: 0.5rem;\n}\n.RecommendedArticles-module_topLink__2RnXu {\n font-size: 19px;\n color: rgb(43, 43, 151);\n text-decoration: underline;\n margin-top: auto;\n}\n.RecommendedArticles-module_smContainer__4byBO {\n width: calc(25% - 1rem);\n margin: 0 0.5rem;\n}\n.RecommendedArticles-module_smImage__TYZGY img {\n width: 100%;\n}\n.RecommendedArticles-module_title__3q1ud {\n margin-top: 1rem;\n line-height: 1.2;\n color: #121212;\n}\n.RecommendedArticles-module_category__2jRto {\n text-transform: uppercase;\n font-size: 16px;\n letter-spacing: 2px;\n margin: 0.25rem 0;\n}\n\n/* media query */\n\n@media screen and (max-width: 1399px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 21px;\n }\n .RecommendedArticles-module_topBody__2_VNi {\n font-size: 15px;\n }\n}\n@media screen and (max-width: 1191px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 23px;\n }\n .RecommendedArticles-module_topBody__2_VNi,\n .RecommendedArticles-module_topLink__2RnXu {\n font-size: 17px;\n }\n}\n@media screen and (max-width: 968px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 18px;\n }\n .RecommendedArticles-module_topBody__2_VNi,\n .RecommendedArticles-module_topLink__2RnXu {\n font-size: 15px;\n }\n}\n@media screen and (max-width: 768px) {\n .RecommendedArticles-module_recommendTop__1_yqw {\n flex-direction: column;\n }\n .RecommendedArticles-module_recommendTopImg__1b9gu,\n .RecommendedArticles-module_recommendTopBody__-13FI {\n width: 100%;\n margin: 0;\n }\n .RecommendedArticles-module_recommendTopBody__-13FI {\n margin-bottom: 1rem;\n }\n .RecommendedArticles-module_smContainer__4byBO {\n width: calc(50% - 1rem);\n }\n}";
448
443
  var styles = { "recommendTitle": "RecommendedArticles-module_recommendTitle__2kUji", "recommendContainer": "RecommendedArticles-module_recommendContainer__sZukI", "recommendTop": "RecommendedArticles-module_recommendTop__1_yqw", "recommendTopImg": "RecommendedArticles-module_recommendTopImg__1b9gu", "recommendTopBody": "RecommendedArticles-module_recommendTopBody__-13FI", "topTitle": "RecommendedArticles-module_topTitle__2EafN", "topBody": "RecommendedArticles-module_topBody__2_VNi", "topLink": "RecommendedArticles-module_topLink__2RnXu", "smContainer": "RecommendedArticles-module_smContainer__4byBO", "smImage": "RecommendedArticles-module_smImage__TYZGY", "title": "RecommendedArticles-module_title__3q1ud", "category": "RecommendedArticles-module_category__2jRto" };
449
444
  styleInject(css);
450
445
 
@@ -455,7 +450,9 @@ var Recommended = function Recommended(props) {
455
450
  client = props.client,
456
451
  _props$index = props.index,
457
452
  index = _props$index === undefined ? 0 : _props$index,
458
- cpModificationRequired = props.cpModificationRequired;
453
+ cpModificationRequired = props.cpModificationRequired,
454
+ segmentData = props.segmentData,
455
+ setSegmentData = props.setSegmentData;
459
456
 
460
457
  var _useState = useState(false),
461
458
  _useState2 = _slicedToArray(_useState, 2),
@@ -467,10 +464,11 @@ var Recommended = function Recommended(props) {
467
464
  articles = _useState4[0],
468
465
  setArticles = _useState4[1];
469
466
 
470
- var _useState5 = useState(false),
467
+ var _useState5 = useState('loading'),
471
468
  _useState6 = _slicedToArray(_useState5, 2),
472
469
  loaded = _useState6[0],
473
- setLoaded = _useState6[1];
470
+ setLoaded = _useState6[1]; //loading, loaded, failed
471
+
474
472
 
475
473
  var starting = index * 5;
476
474
  var contentMapping = {
@@ -496,32 +494,53 @@ var Recommended = function Recommended(props) {
496
494
  categories: _JSON$stringify(mainCategories)
497
495
  });
498
496
  }
499
- var anonymousId = analytics.user().anonymousId();
497
+
500
498
  // get users traits
501
499
  var getSegmentProfile = function () {
502
500
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
503
- var response, data, addTaxonomyName, favoriteCategories, articlesQuery, videosQuery, podcastQuery, params, _ref2, _ref3, _articles, videos, podcasts;
501
+ var data, anonymousId, response, addTaxonomyName, favoriteCategories, articlesQuery, videosQuery, podcastQuery, params, _ref2, _ref3, _articles, videos, podcasts;
504
502
 
505
503
  return regenerator.wrap(function _callee$(_context) {
506
504
  while (1) {
507
505
  switch (_context.prev = _context.next) {
508
506
  case 0:
509
- _context.next = 2;
507
+ data = void 0;
508
+
509
+ if (segmentData) {
510
+ _context.next = 12;
511
+ break;
512
+ }
513
+
514
+ anonymousId = analytics.user().anonymousId();
515
+ _context.next = 5;
510
516
  return fetch('/api/getSegmentProfile', {
511
517
  method: 'POST',
512
518
  body: _JSON$stringify({ anonymousId: anonymousId })
513
519
  });
514
520
 
515
- case 2:
521
+ case 5:
516
522
  response = _context.sent;
517
- _context.next = 5;
523
+ _context.next = 8;
518
524
  return response.json();
519
525
 
520
- case 5:
526
+ case 8:
521
527
  data = _context.sent;
522
528
 
529
+ if (data) {
530
+ setSegmentData(data);
531
+ } else {
532
+ setLoaded('failed');
533
+ }
534
+
535
+ _context.next = 13;
536
+ break;
537
+
538
+ case 12:
539
+ data = segmentData;
540
+
541
+ case 13:
523
542
  if (!(data && data.traits && data.traits.favorite_article_category)) {
524
- _context.next = 21;
543
+ _context.next = 28;
525
544
  break;
526
545
  }
527
546
 
@@ -540,8 +559,6 @@ var Recommended = function Recommended(props) {
540
559
 
541
560
  query = query + ' )';
542
561
 
543
- console.log(query);
544
-
545
562
  return query;
546
563
  };
547
564
 
@@ -554,10 +571,10 @@ var Recommended = function Recommended(props) {
554
571
  params = {
555
572
  id: article._id
556
573
  };
557
- _context.next = 15;
574
+ _context.next = 22;
558
575
  return _Promise.all([client.fetch(articlesQuery, params), client.fetch(videosQuery, params), client.fetch(podcastQuery, params)]);
559
576
 
560
- case 15:
577
+ case 22:
561
578
  _ref2 = _context.sent;
562
579
  _ref3 = _slicedToArray(_ref2, 3);
563
580
  _articles = _ref3[0];
@@ -577,7 +594,7 @@ var Recommended = function Recommended(props) {
577
594
  setArticles(_articles);
578
595
  }
579
596
 
580
- case 21:
597
+ case 28:
581
598
  case 'end':
582
599
  return _context.stop();
583
600
  }
@@ -598,7 +615,7 @@ var Recommended = function Recommended(props) {
598
615
 
599
616
  useEffect(function () {
600
617
  if (articles && articles.length > 0) {
601
- setLoaded(true);
618
+ setLoaded('loaded');
602
619
  }
603
620
  }, [articles]);
604
621
 
@@ -606,18 +623,19 @@ var Recommended = function Recommended(props) {
606
623
  try {
607
624
  analytics.ready(function () {
608
625
  setSegmentLoaded(function () {
609
- return true;
626
+ return 'loaded';
610
627
  });
611
628
  });
612
629
  } catch (err) {
613
630
  console.log(err);
631
+ setLoaded('failed');
614
632
  }
615
633
  }, []);
616
634
 
617
635
  return React__default.createElement(
618
636
  'div',
619
637
  { id: 'recommended' },
620
- loaded ? React__default.createElement(
638
+ loaded === 'loaded' && React__default.createElement(
621
639
  React__default.Fragment,
622
640
  null,
623
641
  React__default.createElement(
@@ -638,7 +656,7 @@ var Recommended = function Recommended(props) {
638
656
  { className: styles.recommendTopImg },
639
657
  React__default.createElement(
640
658
  'a',
641
- { href: '/view/' + article.url.current },
659
+ { href: '/view/' + article.url.current + '?utm_source=website&utm_medium=dynamic_content&utm_campaign=in_feed_unit' },
642
660
  React__default.createElement('img', { src: urlFor({ source: article.thumbnail, client: client, imageHeight: 306, imageWidth: 544 }) })
643
661
  )
644
662
  ),
@@ -657,7 +675,7 @@ var Recommended = function Recommended(props) {
657
675
  ),
658
676
  React__default.createElement(
659
677
  'a',
660
- { href: '/view/' + article.url.current, className: styles.topLink },
678
+ { href: '/view/' + article.url.current + '?utm_source=website&utm_medium=dynamic_content&utm_campaign=in_feed_unit', className: styles.topLink },
661
679
  '>> ',
662
680
  'Read Article'
663
681
  )
@@ -674,7 +692,7 @@ var Recommended = function Recommended(props) {
674
692
  ),
675
693
  React__default.createElement(
676
694
  'a',
677
- { href: '/view/' + article.url.current },
695
+ { href: '/view/' + article.url.current + '?utm_source=website&utm_medium=dynamic_content&utm_campaign=in_feed_unit' },
678
696
  React__default.createElement(
679
697
  'div',
680
698
  { className: styles.smImage },
@@ -690,7 +708,8 @@ var Recommended = function Recommended(props) {
690
708
  }
691
709
  })
692
710
  )
693
- ) : React__default.createElement(
711
+ ),
712
+ loaded === 'failed' && React__default.createElement(
694
713
  'section',
695
714
  { id: 'related-content-section', className: 'my-1' },
696
715
  (article.relatedArticle || RelevantTopics({ article: article })) && React__default.createElement(
@@ -901,7 +920,11 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
901
920
  _props$downloadCitati = props.downloadCitation,
902
921
  downloadCitation = _props$downloadCitati === undefined ? false : _props$downloadCitati,
903
922
  _props$useSegmentReco = props.useSegmentRecommendedArticles,
904
- useSegmentRecommendedArticles = _props$useSegmentReco === undefined ? false : _props$useSegmentReco;
923
+ useSegmentRecommendedArticles = _props$useSegmentReco === undefined ? false : _props$useSegmentReco,
924
+ _props$segmentData = props.segmentData,
925
+ segmentData = _props$segmentData === undefined ? null : _props$segmentData,
926
+ _props$setSegmentData = props.setSegmentData,
927
+ setSegmentData = _props$setSegmentData === undefined ? function () {} : _props$setSegmentData;
905
928
  var sliderData = props.sliderData;
906
929
 
907
930
 
@@ -1066,7 +1089,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1066
1089
  var downloadRIS = function downloadRIS() {
1067
1090
  var fileContent = generateRIS();
1068
1091
  var file = new File([fileContent], 'citation-' + url + '.ris', { type: 'application/x-research-info-systems;charset=utf-8' });
1069
- FileSaver_min.saveAs(file, 'citation-' + url + '.ris');
1092
+ FileSaver.saveAs(file, 'citation-' + url + '.ris');
1070
1093
  };
1071
1094
 
1072
1095
  var RelevantTopics = function RelevantTopics() {
@@ -1136,7 +1159,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1136
1159
  return React__default.createElement(
1137
1160
  'div',
1138
1161
  null,
1139
- useSegmentRecommendedArticles ? React__default.createElement(Recommended, { client: client, article: article, index: props.index, Settings: props.Settings, showRelatedArticleFallbackImage: props.showRelatedArticleFallbackImage, cpModificationRequired: cpModificationRequired }) : React__default.createElement(
1162
+ useSegmentRecommendedArticles ? React__default.createElement(Recommended, { segmentData: segmentData, setSegmentData: setSegmentData, client: client, article: article, index: props.index, Settings: props.Settings, showRelatedArticleFallbackImage: props.showRelatedArticleFallbackImage, cpModificationRequired: cpModificationRequired }) : React__default.createElement(
1140
1163
  'section',
1141
1164
  { id: 'related-content-section', className: 'my-1' },
1142
1165
  (article.relatedArticle || RelevantTopics()) && React__default.createElement(
@@ -1835,6 +1858,11 @@ var ArticleQueue = function ArticleQueue(props) {
1835
1858
  active = _useState6[0],
1836
1859
  setActive = _useState6[1];
1837
1860
 
1861
+ var _useState7 = useState(null),
1862
+ _useState8 = _slicedToArray(_useState7, 2),
1863
+ segmentData = _useState8[0],
1864
+ setSegmentData = _useState8[1];
1865
+
1838
1866
  var refreshAD = function refreshAD(path) {
1839
1867
  var activeArticle = queueData.find(function (item) {
1840
1868
  return item.url.current === path;
@@ -2056,7 +2084,9 @@ var ArticleQueue = function ArticleQueue(props) {
2056
2084
  // Passing queueData to check for single article
2057
2085
  , queueData: queueData,
2058
2086
  showRelatedArticles: showRelatedArticles,
2059
- index: index
2087
+ index: index,
2088
+ segmentData: segmentData,
2089
+ setSegmentData: setSegmentData
2060
2090
  }))
2061
2091
  );
2062
2092
  })
@@ -12,10 +12,10 @@ import 'react-dom';
12
12
  import 'prop-types';
13
13
  import './index-3f5c03b2.js';
14
14
 
15
- /*
16
- GROQ query -
17
- accepts an array of title, URL
18
- `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
15
+ /*
16
+ GROQ query -
17
+ accepts an array of title, URL
18
+ `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
19
19
  */
20
20
 
21
21
  var YoutubeGroup = function YoutubeGroup(props) {
@@ -2,18 +2,18 @@ import { _ as _extends } from './extends-6d8e3924.js';
2
2
  import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
3
3
 
4
4
  var getContentPlacementUrl = function getContentPlacementUrl(cp) {
5
- var cp_url = '';
6
- if (cp.ancestor && typeof cp.ancestor == 'string') {
7
- cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
- }
5
+ var cp_url = '';
6
+ if (cp.ancestor && typeof cp.ancestor == 'string') {
7
+ cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
+ }
9
9
 
10
- if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
- cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
- }
10
+ if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
+ cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
+ }
13
13
 
14
- cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
14
+ cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
15
15
 
16
- return cp_url;
16
+ return cp_url;
17
17
  };
18
18
 
19
19
  var getTargeting = function getTargeting(props) {
@@ -1,6 +1,6 @@
1
1
  import './extends-6d8e3924.js';
2
2
  import './toConsumableArray-f7074d7c.js';
3
- export { g as default } from './getTargeting-04d979c9.js';
3
+ export { g as default } from './getTargeting-42f9b439.js';
4
4
  import './_commonjsHelpers-0c4b6f40.js';
5
5
  import './core.get-iterator-method-ea258bb1.js';
6
6
  import './_object-pie-133f504a.js';
package/dist/esm/index.js CHANGED
@@ -101,7 +101,7 @@ export { default as VideoSeriesLandingPage } from './VideoSeriesLandingPage.js';
101
101
  export { default as ArticleProgramLandingPage } from './ArticleProgramLandingPage.js';
102
102
  export { default as ArticleSeriesLandingPage } from './ArticleSeriesLandingPage.js';
103
103
  export { default as Schema } from './Schema.js';
104
- export { g as getTargeting } from './getTargeting-04d979c9.js';
104
+ export { g as getTargeting } from './getTargeting-42f9b439.js';
105
105
  export { default as getKeywords } from './getKeywords.js';
106
106
  export { default as getQuery } from './getQuery.js';
107
107
  import './toConsumableArray-f7074d7c.js';
@@ -191,9 +191,10 @@ import 'swr';
191
191
  import 'passport-local';
192
192
  import 'mysql';
193
193
  import './md5-4e42248e.js';
194
- import './SeriesSlider-98ad6d97.js';
194
+ import './SeriesSlider-45adb8dc.js';
195
195
  import './style-inject.es-1f59c1d0.js';
196
196
  import 'disqus-react';
197
+ import 'file-saver';
197
198
  import 'react-twitter-embed';
198
199
  import './ImageSlider-f84174cb.js';
199
200
  import './defineProperty-23a8f8cd.js';
package/package.json CHANGED
@@ -1,115 +1,115 @@
1
- {
2
- "name": "@mjhls/mjh-framework",
3
- "version": "1.0.939-nojs-pagination-v5",
4
- "description": "Foundation Framework",
5
- "author": "mjh-framework",
6
- "license": "MIT",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/MJHLS/mjh-framework.git"
10
- },
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "engines": {
14
- "node": ">=8",
15
- "npm": ">=5"
16
- },
17
- "scripts": {
18
- "clean": "rimraf dist",
19
- "test": "cross-env CI=1 react-scripts test --env=jsdom",
20
- "test:watch": "react-scripts test --env=jsdom",
21
- "build": "npm run clean && rollup -c",
22
- "start": "npm run clean && rollup -c -w",
23
- "prepare": "yarn run build",
24
- "predeploy": "cd example && yarn install && yarn run build",
25
- "deploy": "gh-pages -d example/build"
26
- },
27
- "peerDependencies": {
28
- "disqus-react": "^1.0.11",
29
- "next": "^9.0.0",
30
- "prop-types": "^15.5.4",
31
- "react": "^15.0.0 || ^16.0.0",
32
- "react-bootstrap": "^1.0.0-beta.14",
33
- "react-dom": "^15.0.0 || ^16.0.0",
34
- "react-share": "^4.0.1"
35
- },
36
- "devDependencies": {
37
- "@brightcove/react-player-loader": "^1.4.0",
38
- "@rollup/plugin-json": "^4.0.3",
39
- "@sanity/block-content-to-react": "^2.0.7",
40
- "@sanity/image-url": "^0.140.15",
41
- "@svgr/rollup": "2.4.1",
42
- "babel-core": "^6.26.3",
43
- "babel-eslint": "^8.2.5",
44
- "babel-plugin-external-helpers": "^6.22.0",
45
- "babel-plugin-transform-runtime": "^6.23.0",
46
- "babel-preset-env": "^1.7.0",
47
- "babel-preset-react": "^6.24.1",
48
- "babel-preset-stage-0": "^6.24.1",
49
- "cross-env": "^5.1.4",
50
- "eslint": "^5.0.1",
51
- "eslint-config-standard": "^11.0.0",
52
- "eslint-config-standard-react": "^6.0.0",
53
- "eslint-plugin-import": "^2.13.0",
54
- "eslint-plugin-node": "^7.0.1",
55
- "eslint-plugin-promise": "^4.0.0",
56
- "eslint-plugin-react": "^7.10.0",
57
- "eslint-plugin-react-hooks": "^2.3.0",
58
- "eslint-plugin-standard": "^3.1.0",
59
- "file-saver": "^2.0.5",
60
- "get-youtube-id": "^1.0.1",
61
- "gh-pages": "^1.2.0",
62
- "lodash": "^4.17.15",
63
- "md5": "^2.2.1",
64
- "moment": "^2.26.0",
65
- "moment-timezone": "^0.5.31",
66
- "next": "^9.2.0",
67
- "react": "^16.12.0",
68
- "react-bootstrap": "1.4.0",
69
- "react-device-detect": "^1.11.14",
70
- "react-dfp": "^0.19.0",
71
- "react-dom": "^16.12.0",
72
- "react-icons": "^3.8.0",
73
- "react-infinite-scroll-component": "^5.0.4",
74
- "react-lazyload": "^2.6.5",
75
- "react-paginate": "^7.1.3",
76
- "react-player": "^1.15.2",
77
- "react-scripts": "^1.1.4",
78
- "react-share": "^4.0.1",
79
- "react-social-icons": "^4.1.0",
80
- "react-visibility-sensor": "^5.1.1",
81
- "react-youtube": "^7.9.0",
82
- "rimraf": "^3.0.2",
83
- "rollup": "^2.7.3",
84
- "rollup-plugin-babel": "3.0.7",
85
- "rollup-plugin-commonjs": "9.3.4",
86
- "rollup-plugin-node-builtins": "2.1.2",
87
- "rollup-plugin-node-resolve": "3.4.0",
88
- "rollup-plugin-postcss": "1.6.3",
89
- "rollup-plugin-url": "1.4.0"
90
- },
91
- "files": [
92
- "dist"
93
- ],
94
- "dependencies": {
95
- "babel-polyfill": "^6.26.0",
96
- "cookie": "^0.4.1",
97
- "disqus-react": "^1.0.11",
98
- "faunadb": "^4.2.0",
99
- "js-cookie": "^2.2.1",
100
- "next-auth": "^3.2.0",
101
- "next-cookies": "^2.0.3",
102
- "node-fetch": "^2.6.1",
103
- "nookies": "^2.4.0",
104
- "react-cookies": "^0.1.1",
105
- "react-facebook": "^8.1.4",
106
- "react-instantsearch-dom": "^6.12.0",
107
- "react-script-tag": "^1.1.2",
108
- "rollup-plugin-peer-deps-external": "^2.2.4",
109
- "shortid": "^2.2.15",
110
- "smoothscroll-polyfill": "^0.4.4",
111
- "striptags": "^3.1.1",
112
- "superagent": "^5.2.2",
113
- "yarn": "^1.22.11"
114
- }
115
- }
1
+ {
2
+ "name": "@mjhls/mjh-framework",
3
+ "version": "1.0.939-segment-test-v2",
4
+ "description": "Foundation Framework",
5
+ "author": "mjh-framework",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/MJHLS/mjh-framework.git"
10
+ },
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "engines": {
14
+ "node": ">=8",
15
+ "npm": ">=5"
16
+ },
17
+ "scripts": {
18
+ "clean": "rimraf dist",
19
+ "test": "cross-env CI=1 react-scripts test --env=jsdom",
20
+ "test:watch": "react-scripts test --env=jsdom",
21
+ "build": "npm run clean && rollup -c",
22
+ "start": "npm run clean && rollup -c -w",
23
+ "prepare": "yarn run build",
24
+ "predeploy": "cd example && yarn install && yarn run build",
25
+ "deploy": "gh-pages -d example/build"
26
+ },
27
+ "peerDependencies": {
28
+ "disqus-react": "^1.0.11",
29
+ "next": "^9.0.0",
30
+ "prop-types": "^15.5.4",
31
+ "react": "^15.0.0 || ^16.0.0",
32
+ "react-bootstrap": "^1.0.0-beta.14",
33
+ "react-dom": "^15.0.0 || ^16.0.0",
34
+ "react-share": "^4.0.1"
35
+ },
36
+ "devDependencies": {
37
+ "@brightcove/react-player-loader": "^1.4.0",
38
+ "@rollup/plugin-json": "^4.0.3",
39
+ "@sanity/block-content-to-react": "^2.0.7",
40
+ "@sanity/image-url": "^0.140.15",
41
+ "@svgr/rollup": "2.4.1",
42
+ "babel-core": "^6.26.3",
43
+ "babel-eslint": "^8.2.5",
44
+ "babel-plugin-external-helpers": "^6.22.0",
45
+ "babel-plugin-transform-runtime": "^6.23.0",
46
+ "babel-preset-env": "^1.7.0",
47
+ "babel-preset-react": "^6.24.1",
48
+ "babel-preset-stage-0": "^6.24.1",
49
+ "cross-env": "^5.1.4",
50
+ "eslint": "^5.0.1",
51
+ "eslint-config-standard": "^11.0.0",
52
+ "eslint-config-standard-react": "^6.0.0",
53
+ "eslint-plugin-import": "^2.13.0",
54
+ "eslint-plugin-node": "^7.0.1",
55
+ "eslint-plugin-promise": "^4.0.0",
56
+ "eslint-plugin-react": "^7.10.0",
57
+ "eslint-plugin-react-hooks": "^2.3.0",
58
+ "eslint-plugin-standard": "^3.1.0",
59
+ "file-saver": "^2.0.5",
60
+ "get-youtube-id": "^1.0.1",
61
+ "gh-pages": "^1.2.0",
62
+ "lodash": "^4.17.15",
63
+ "md5": "^2.2.1",
64
+ "moment": "^2.26.0",
65
+ "moment-timezone": "^0.5.31",
66
+ "next": "^9.2.0",
67
+ "react": "^16.12.0",
68
+ "react-bootstrap": "1.4.0",
69
+ "react-device-detect": "^1.11.14",
70
+ "react-dfp": "^0.19.0",
71
+ "react-dom": "^16.12.0",
72
+ "react-icons": "^3.8.0",
73
+ "react-infinite-scroll-component": "^5.0.4",
74
+ "react-lazyload": "^2.6.5",
75
+ "react-paginate": "^7.1.3",
76
+ "react-player": "^1.15.2",
77
+ "react-scripts": "^1.1.4",
78
+ "react-share": "^4.0.1",
79
+ "react-social-icons": "^4.1.0",
80
+ "react-visibility-sensor": "^5.1.1",
81
+ "react-youtube": "^7.9.0",
82
+ "rimraf": "^3.0.2",
83
+ "rollup": "^2.7.3",
84
+ "rollup-plugin-babel": "3.0.7",
85
+ "rollup-plugin-commonjs": "9.3.4",
86
+ "rollup-plugin-node-builtins": "2.1.2",
87
+ "rollup-plugin-node-resolve": "3.4.0",
88
+ "rollup-plugin-postcss": "1.6.3",
89
+ "rollup-plugin-url": "1.4.0"
90
+ },
91
+ "files": [
92
+ "dist"
93
+ ],
94
+ "dependencies": {
95
+ "babel-polyfill": "^6.26.0",
96
+ "cookie": "^0.4.1",
97
+ "disqus-react": "^1.0.11",
98
+ "faunadb": "^4.2.0",
99
+ "js-cookie": "^2.2.1",
100
+ "next-auth": "^3.2.0",
101
+ "next-cookies": "^2.0.3",
102
+ "node-fetch": "^2.6.1",
103
+ "nookies": "^2.4.0",
104
+ "react-cookies": "^0.1.1",
105
+ "react-facebook": "^8.1.4",
106
+ "react-instantsearch-dom": "^6.12.0",
107
+ "react-script-tag": "^1.1.2",
108
+ "rollup-plugin-peer-deps-external": "^2.2.4",
109
+ "shortid": "^2.2.15",
110
+ "smoothscroll-polyfill": "^0.4.4",
111
+ "striptags": "^3.1.1",
112
+ "superagent": "^5.2.2",
113
+ "yarn": "^1.22.11"
114
+ }
115
+ }