@mjhls/mjh-framework 1.0.942-form-assembly-v1 → 1.0.942-v1-disable-episode

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 (164) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AlgoliaSearch.js +11 -5
  3. package/dist/cjs/ArticleProgramLandingPage.js +1 -1
  4. package/dist/cjs/Auth.js +20 -17
  5. package/dist/cjs/AuthWrapper.js +19 -13
  6. package/dist/cjs/CMEDeck.js +5 -1
  7. package/dist/cjs/Column1.js +1 -1
  8. package/dist/cjs/Column2.js +1 -1
  9. package/dist/cjs/Column3.js +1 -1
  10. package/dist/cjs/ConferenceArticleCard.js +15 -15
  11. package/dist/cjs/DeckContent.js +8 -8
  12. package/dist/cjs/Dfp-9be904d5.js +1 -1
  13. package/dist/cjs/EventsDeck.js +17 -17
  14. package/dist/cjs/ExternalResources.js +1 -1
  15. package/dist/cjs/HamMagazine.js +10 -10
  16. package/dist/cjs/Header.js +1 -1
  17. package/dist/cjs/HorizontalArticleListing.js +1 -1
  18. package/dist/cjs/IssueLanding.js +30 -30
  19. package/dist/cjs/KMTracker.js +15 -15
  20. package/dist/cjs/LeftNav.js +1 -1
  21. package/dist/cjs/MasterDeck.js +10 -10
  22. package/dist/cjs/MasterDeckPaginated.js +8 -8
  23. package/dist/cjs/{MediaSeriesCard-1a49dd20.js → MediaSeriesCard-6e5cef40.js} +66 -44
  24. package/dist/cjs/MediaSeriesLanding.js +7 -7
  25. package/dist/cjs/MediaSeriesLandingPaginated.js +7 -7
  26. package/dist/cjs/NavDvm.js +1 -1
  27. package/dist/cjs/NavMagazine.js +11 -11
  28. package/dist/cjs/NavNative.js +10 -10
  29. package/dist/cjs/PartnerDetailListing.js +1 -1
  30. package/dist/cjs/PartnerDetailListingPaginated.js +1 -1
  31. package/dist/cjs/PublicationLanding.js +26 -26
  32. package/dist/cjs/RelatedContent.js +28 -28
  33. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  34. package/dist/cjs/SeriesListingDeck.js +1 -1
  35. package/dist/cjs/{SeriesSlider-de93a303.js → SeriesSlider-ba0c5d1a.js} +4 -4
  36. package/dist/cjs/SideFooter.js +2 -2
  37. package/dist/cjs/TaxonomyDescription.js +1 -1
  38. package/dist/cjs/VideoProgramLandingPage.js +1 -1
  39. package/dist/cjs/VideoSeriesCard.js +1 -1
  40. package/dist/cjs/View.js +26 -13
  41. package/dist/cjs/YoutubeGroup.js +4 -4
  42. package/dist/cjs/getQuery.js +1 -1
  43. package/dist/cjs/getSerializers.js +1 -1
  44. package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
  45. package/dist/cjs/getTargeting.js +1 -1
  46. package/dist/cjs/{index-afc485e6.js → index-3fb58417.js} +2 -11
  47. package/dist/cjs/index.js +3 -3
  48. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  49. package/dist/esm/AD.js +1 -1
  50. package/dist/esm/AD300x250.js +1 -1
  51. package/dist/esm/AD300x250x600.js +1 -1
  52. package/dist/esm/AD728x90.js +1 -1
  53. package/dist/esm/ADFloatingFooter.js +1 -1
  54. package/dist/esm/ADFooter.js +1 -1
  55. package/dist/esm/ADGutter.js +1 -1
  56. package/dist/esm/ADSkyscraper.js +1 -1
  57. package/dist/esm/ADSponsoredResources.js +1 -1
  58. package/dist/esm/ADWebcast.js +1 -1
  59. package/dist/esm/ADWelcome.js +1 -1
  60. package/dist/esm/AccordionPanel.js +1 -1
  61. package/dist/esm/AdSlot.js +1 -1
  62. package/dist/esm/AdSlotsProvider.js +1 -1
  63. package/dist/esm/AlgoliaSearch.js +12 -6
  64. package/dist/esm/AlphabeticList.js +1 -1
  65. package/dist/esm/ArticleCarousel.js +1 -1
  66. package/dist/esm/ArticleProgramLandingPage.js +2 -2
  67. package/dist/esm/ArticleSeriesLandingPage.js +1 -1
  68. package/dist/esm/ArticleSeriesListing.js +1 -1
  69. package/dist/esm/Auth.js +20 -18
  70. package/dist/esm/AuthWrapper.js +20 -14
  71. package/dist/esm/Beam.js +1 -1
  72. package/dist/esm/Breadcrumbs.js +1 -1
  73. package/dist/esm/CMEDeck.js +6 -2
  74. package/dist/esm/Column1.js +1 -2
  75. package/dist/esm/Column2.js +1 -2
  76. package/dist/esm/Column3.js +1 -2
  77. package/dist/esm/ConferenceArticleCard.js +16 -16
  78. package/dist/esm/ContentCardPaginated.js +1 -1
  79. package/dist/esm/DeckContent.js +9 -9
  80. package/dist/esm/DeckQueue.js +1 -1
  81. package/dist/esm/DeckQueuePaginated.js +1 -1
  82. package/dist/esm/Dfp-102f0beb.js +1 -1
  83. package/dist/esm/EventsDeck.js +18 -18
  84. package/dist/esm/ExternalResources.js +2 -2
  85. package/dist/esm/Feature.js +1 -1
  86. package/dist/esm/ForbesHero.js +1 -1
  87. package/dist/esm/GridContent.js +1 -1
  88. package/dist/esm/GridContentPaginated.js +1 -1
  89. package/dist/esm/GridHero.js +1 -1
  90. package/dist/esm/GroupDeck.js +1 -1
  91. package/dist/esm/HamMagazine.js +10 -11
  92. package/dist/esm/Header.js +1 -2
  93. package/dist/esm/Hero.js +1 -1
  94. package/dist/esm/HighlightenVideo.js +1 -1
  95. package/dist/esm/HorizontalArticleListing.js +2 -2
  96. package/dist/esm/HorizontalHero.js +1 -1
  97. package/dist/esm/IssueContentDeck.js +1 -1
  98. package/dist/esm/IssueDeck.js +1 -1
  99. package/dist/esm/IssueLanding.js +31 -31
  100. package/dist/esm/KMTracker.js +16 -16
  101. package/dist/esm/LeftNav.js +1 -2
  102. package/dist/esm/MasterDeck.js +11 -11
  103. package/dist/esm/MasterDeckPaginated.js +9 -9
  104. package/dist/esm/{MediaSeriesCard-4903fc1f.js → MediaSeriesCard-a6d030ed.js} +66 -44
  105. package/dist/esm/MediaSeriesLanding.js +8 -8
  106. package/dist/esm/MediaSeriesLandingPaginated.js +8 -8
  107. package/dist/esm/NavDvm.js +1 -2
  108. package/dist/esm/NavMagazine.js +11 -12
  109. package/dist/esm/NavNative.js +10 -11
  110. package/dist/esm/OncliveHero.js +1 -1
  111. package/dist/esm/OncliveLargeHero.js +1 -1
  112. package/dist/esm/PageFilter.js +1 -1
  113. package/dist/esm/PartnerDetailListing.js +2 -2
  114. package/dist/esm/PartnerDetailListingPaginated.js +2 -2
  115. package/dist/esm/PdfDownload.js +1 -1
  116. package/dist/esm/PopUpModal.js +1 -1
  117. package/dist/esm/PubSection.js +1 -1
  118. package/dist/esm/PubToc.js +1 -1
  119. package/dist/esm/PublicationDeck.js +1 -1
  120. package/dist/esm/PublicationLanding.js +27 -27
  121. package/dist/esm/QueueDeckExpanded.js +1 -1
  122. package/dist/esm/QueueDeckExpandedPaginated.js +1 -1
  123. package/dist/esm/RecentNews.js +1 -1
  124. package/dist/esm/RelatedContent.js +29 -29
  125. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  126. package/dist/esm/RolesDeck.js +1 -1
  127. package/dist/esm/Schema.js +1 -1
  128. package/dist/esm/Search.js +1 -1
  129. package/dist/esm/Segment.js +1 -1
  130. package/dist/esm/SeriesListingDeck.js +2 -2
  131. package/dist/esm/{SeriesSlider-98ad6d97.js → SeriesSlider-45adb8dc.js} +4 -4
  132. package/dist/esm/SetCookie.js +1 -1
  133. package/dist/esm/SideFooter.js +3 -3
  134. package/dist/esm/SocialIcons.js +1 -1
  135. package/dist/esm/SocialShare.js +1 -1
  136. package/dist/esm/TaxonomyCard.js +1 -1
  137. package/dist/esm/TaxonomyDescription.js +2 -2
  138. package/dist/esm/TemplateNormal.js +1 -1
  139. package/dist/esm/ThumbnailCard.js +1 -1
  140. package/dist/esm/Ustream.js +1 -1
  141. package/dist/esm/VerticalHero.js +1 -1
  142. package/dist/esm/VideoProgramLandingPage.js +2 -2
  143. package/dist/esm/VideoSeriesCard.js +2 -2
  144. package/dist/esm/VideoSeriesFilter.js +1 -1
  145. package/dist/esm/VideoSeriesLandingPage.js +1 -1
  146. package/dist/esm/VideoSeriesListing.js +1 -1
  147. package/dist/esm/View.js +27 -14
  148. package/dist/esm/YahooHero.js +1 -1
  149. package/dist/esm/YoutubeGroup.js +5 -5
  150. package/dist/esm/getKeywords.js +1 -1
  151. package/dist/esm/getQuery.js +2 -2
  152. package/dist/esm/getRelatedArticle.js +1 -1
  153. package/dist/esm/getRootDocGroup.js +1 -1
  154. package/dist/esm/getSerializers.js +1 -1
  155. package/dist/esm/getSeriesDetail.js +1 -1
  156. package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
  157. package/dist/esm/getTargeting.js +1 -1
  158. package/dist/esm/{index-489b46bc.js → index-70081f22.js} +2 -11
  159. package/dist/esm/index.js +3 -3
  160. package/dist/esm/stringify-2b084bee.js +1 -1
  161. package/dist/esm/timeDifferenceCalc.js +1 -1
  162. package/dist/esm/urlFor.js +1 -1
  163. package/dist/esm/ustream-api-d3714624.js +1 -1
  164. package/package.json +115 -115
@@ -11,7 +11,7 @@ var getQuery = function getQuery(type) {
11
11
  case 'related':
12
12
  return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n && !defined(body[].quizzes)\n && !defined(body[].slides)\n && !defined(body[].articles)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n fieldAbstract,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'content_placement\': taxonomyMapping[]-> {\n _id,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds,\n showSocialShare\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n }';
13
13
  case 'article':
14
- return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n fieldAbstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\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 poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\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 showSocialShare\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current,\n hideSeriesSlider\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 year,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
14
+ return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n fieldAbstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\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 poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\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 showSocialShare\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n disableEpisodeNumber,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current,\n hideSeriesSlider\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 year,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
15
15
  case 'publication':
16
16
  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 thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
17
17
  case 'issue':
@@ -23,4 +23,4 @@ var getQuery = function getQuery(type) {
23
23
  }
24
24
  };
25
25
 
26
- export default getQuery;
26
+ export { getQuery as default };
@@ -537,4 +537,4 @@ var getRelatedArticle = function () {
537
537
  };
538
538
  }();
539
539
 
540
- export default getRelatedArticle;
540
+ export { getRelatedArticle as default };
@@ -57,4 +57,4 @@ var getRootDocGroup = function () {
57
57
  };
58
58
  }();
59
59
 
60
- export default getRootDocGroup;
60
+ export { getRootDocGroup as default };
@@ -1,6 +1,6 @@
1
1
  import './extends-6d8e3924.js';
2
2
  import 'react';
3
- export { g as default } from './index-489b46bc.js';
3
+ export { g as default } from './index-70081f22.js';
4
4
  import './BlockContent-1e73bd2c.js';
5
5
  import './entities-6d9154b4.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
@@ -35,4 +35,4 @@ var getSeriesDetail = function getSeriesDetail(article, currentSeries) {
35
35
  return seriesDetail;
36
36
  };
37
37
 
38
- export default getSeriesDetail;
38
+ export { getSeriesDetail as default };
@@ -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';
@@ -10181,19 +10181,10 @@ var FormAssembly = function FormAssembly(props) {
10181
10181
  iframeSrc = _useState2[0],
10182
10182
  setIframeSrc = _useState2[1];
10183
10183
 
10184
- var _useState3 = useState(null),
10185
- _useState4 = _slicedToArray(_useState3, 2),
10186
- anonymousID = _useState4[0],
10187
- setAnonymousID = _useState4[1];
10188
-
10189
- useEffect(function () {
10190
- if (typeof analytics !== 'undefined' && typeof analytics.user === 'function' && analytics.user()) {
10191
- setAnonymousID(analytics.user().anonymousId());
10192
- }
10193
- }, []);
10194
10184
  useEffect(function () {
10195
10185
  if (FormID) {
10196
10186
  var src = 'https://' + enterpriseDomainName + '.tfaforms.net/' + FormID;
10187
+ var anonymousID = typeof analytics !== 'undefined' && typeof analytics.user === 'function' && analytics.user() && analytics.user().anonymousId();
10197
10188
  if (anonymousID && needSegmentSupport) {
10198
10189
  src = src + '?tfa_1=' + anonymousID;
10199
10190
  }
@@ -10204,7 +10195,7 @@ var FormAssembly = function FormAssembly(props) {
10204
10195
  }
10205
10196
  setIframeSrc(encodeURI(src));
10206
10197
  }
10207
- }, [anonymousID]);
10198
+ }, []);
10208
10199
 
10209
10200
  if (iframeSrc) {
10210
10201
  return React__default.createElement(
package/dist/esm/index.js CHANGED
@@ -86,7 +86,7 @@ export { default as VerticalHero } from './VerticalHero.js';
86
86
  export { default as YahooHero } from './YahooHero.js';
87
87
  export { default as GridHero } from './GridHero.js';
88
88
  export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
89
- export { g as getSerializers } from './index-489b46bc.js';
89
+ export { g as getSerializers } from './index-70081f22.js';
90
90
  export { default as Beam } from './Beam.js';
91
91
  export { default as Segment } from './Segment.js';
92
92
  export { default as KMTracker } from './KMTracker.js';
@@ -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,7 +191,7 @@ 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
197
  import 'react-twitter-embed';
@@ -1,4 +1,4 @@
1
- import { u as unwrapExports, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
1
+ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
2
  import { a as _core } from './core.get-iterator-method-ea258bb1.js';
3
3
 
4
4
  var $JSON = _core.JSON || (_core.JSON = { stringify: JSON.stringify });
@@ -34,4 +34,4 @@ var timeDifferenceCalc = function timeDifferenceCalc(articlePublishedDate) {
34
34
  return difference;
35
35
  };
36
36
 
37
- export default timeDifferenceCalc;
37
+ export { timeDifferenceCalc as default };
@@ -60,4 +60,4 @@ function urlFor(_ref) {
60
60
  return url;
61
61
  }
62
62
 
63
- export default urlFor;
63
+ export { urlFor as default };
@@ -101,4 +101,4 @@ var UstreamEmbed = function () {
101
101
  }), window.UstreamEmbed = a;
102
102
  }();
103
103
 
104
- export default UstreamEmbed;
104
+ export { UstreamEmbed as default };
package/package.json CHANGED
@@ -1,115 +1,115 @@
1
- {
2
- "name": "@mjhls/mjh-framework",
3
- "version": "1.0.942-form-assembly-v1",
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.942-v1-disable-episode",
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
+ }