@mjhls/mjh-framework 1.0.702 → 1.0.703-testing-module-splittingv2
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.
- package/README.md +172 -172
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +27 -27
- package/dist/cjs/AD300x250x600.js +27 -27
- package/dist/cjs/AD728x90.js +30 -30
- package/dist/cjs/ADFloatingFooter.js +33 -33
- package/dist/cjs/ADFooter.js +16 -14
- package/dist/cjs/ADGutter.js +30 -30
- package/dist/cjs/{ADInfeed-ede153e2.js → ADInfeed-d36dc3ca.js} +13 -11
- package/dist/cjs/ADSkyscraper.js +30 -30
- package/dist/cjs/ADSponsoredResources.js +30 -30
- package/dist/cjs/ADWebcast.js +30 -30
- package/dist/cjs/ADWelcome.js +34 -34
- package/dist/cjs/{ADlgInfeed-6a121a0d.js → ADlgInfeed-93205fa0.js} +9 -8
- package/dist/cjs/AccordionPanel.js +32 -29
- package/dist/cjs/AdSlot.js +35 -35
- package/dist/cjs/AdSlotsProvider.js +8 -9
- package/dist/cjs/AlphabeticList.js +27 -25
- package/dist/cjs/ArticleCarousel.js +24 -25
- package/dist/cjs/ArticleSeriesListing.js +61 -62
- package/dist/cjs/Auth.js +154 -149
- package/dist/cjs/{AuthorComponent-d19285ed.js → AuthorComponent-482218ce.js} +14 -13
- package/dist/cjs/Beam.js +21 -20
- package/dist/cjs/{BlockContent-e53217a7.js → BlockContent-eca358e4.js} +27 -24
- package/dist/cjs/Breadcrumbs.js +30 -27
- package/dist/cjs/BrowseVideosListing.js +42 -43
- package/dist/cjs/CMEDeck.js +83 -85
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +37 -35
- package/dist/cjs/Column3.js +60 -58
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +109 -107
- package/dist/cjs/DeckQueue.js +95 -93
- package/dist/cjs/{Dfp-13ff07b4.js → Dfp-80c3d853.js} +34 -35
- package/dist/cjs/EventsDeck.js +164 -157
- package/dist/cjs/ExternalResources.js +77 -78
- package/dist/cjs/Feature.js +26 -25
- package/dist/cjs/ForbesHero.js +42 -43
- package/dist/cjs/GridContent.js +187 -185
- package/dist/cjs/GridHero.js +44 -45
- package/dist/cjs/GroupDeck.js +54 -52
- package/dist/cjs/HamMagazine.js +143 -139
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +78 -75
- package/dist/cjs/IssueDeck.js +77 -74
- package/dist/cjs/IssueLanding.js +73 -74
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +41 -40
- package/dist/cjs/MasterDeck.js +87 -88
- package/dist/cjs/NavDvm.js +81 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +152 -148
- package/dist/cjs/NavNative.js +131 -124
- package/dist/cjs/NavNormal.js +54 -48
- package/dist/cjs/OncliveHero.js +20 -19
- package/dist/cjs/OncliveLargeHero.js +68 -69
- package/dist/cjs/PageFilter.js +16 -14
- package/dist/cjs/PartnerDetailListing.js +112 -113
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +22 -19
- package/dist/cjs/PublicationDeck.js +68 -66
- package/dist/cjs/PublicationLanding.js +146 -144
- package/dist/cjs/QueueDeckExpanded.js +298 -300
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -55
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +23 -18
- package/dist/cjs/Segment.js +21 -20
- package/dist/cjs/SetCookie.js +2 -2
- package/dist/cjs/SideFooter.js +41 -41
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-1ef1e6fb.js → SocialSearchComponent-a49e8e9d.js} +36 -32
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +64 -61
- package/dist/cjs/TemplateNormal.js +78 -78
- package/dist/cjs/ThumbnailCard.js +22 -23
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoSeriesCard.js +35 -36
- package/dist/cjs/VideoSeriesFilter.js +22 -21
- package/dist/cjs/VideoSeriesListing.js +76 -77
- package/dist/cjs/View.js +229 -228
- package/dist/cjs/YahooHero.js +41 -42
- package/dist/cjs/YoutubeGroup.js +73 -74
- package/dist/cjs/{_export-a917dedd.js → _export-7e018e14.js} +17 -161
- package/dist/cjs/{_is-array-a82382b4.js → _is-array-4c61cfba.js} +17 -16
- package/dist/cjs/{_iter-detect-671c90bd.js → _iter-detect-2a826637.js} +10 -10
- package/dist/cjs/{_library-4360b4e4.js → _library-dd23b178.js} +1 -1
- package/dist/cjs/{_object-pie-6bed508e.js → _object-pie-68c5bcbc.js} +2 -2
- package/dist/cjs/_object-sap-4ac28868.js +16 -0
- package/dist/cjs/{_set-species-47156c42.js → _set-species-d088ff6e.js} +18 -17
- package/dist/cjs/_to-object-233fc5c9.js +149 -0
- package/dist/cjs/{asyncToGenerator-fd8e35e7.js → asyncToGenerator-7ca8f87e.js} +72 -71
- package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-a195642e.js} +7 -6
- package/dist/cjs/core.get-iterator-method-14f49e03.js +40 -0
- package/dist/cjs/{debounce-fb3a46a9.js → debounce-eb287781.js} +7 -7
- package/dist/cjs/{define-property-9b6df20e.js → define-property-fd46a81e.js} +4 -4
- package/dist/cjs/{defineProperty-d3c0cfc0.js → defineProperty-edc12c5a.js} +2 -2
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{es6.string.iterator-e5f4ce45.js → es6.string.iterator-a390d61f.js} +36 -35
- package/dist/cjs/{extends-5fde0677.js → extends-0a166456.js} +12 -11
- package/dist/cjs/{get-70ef997d.js → get-68c52cb1.js} +11 -11
- package/dist/cjs/getRelatedArticle.js +22 -21
- package/dist/cjs/getSerializers.js +42 -44
- package/dist/cjs/getSeriesDetail.js +1 -1
- package/dist/cjs/{getTargeting-5ca9bfaf.js → getTargeting-57edbc60.js} +11 -11
- package/dist/cjs/getTargeting.js +9 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-b1ee7cd9.js → index-0e3597c2.js} +423 -418
- package/dist/cjs/{index-d7577df6.js → index-5ad2b070.js} +14 -11
- package/dist/cjs/{index-29e3f3a9.js → index-80f57cff.js} +19 -16
- package/dist/cjs/{index-949261b4.js → index-cb6ed1fc.js} +4 -4
- package/dist/cjs/{index-ff69979f.js → index-d48b231c.js} +3 -3
- package/dist/cjs/{index.es-e9d84959.js → index.es-f3e47207.js} +8 -7
- package/dist/cjs/{index.esm-8a8fa078.js → index.esm-8123cf40.js} +18 -17
- package/dist/cjs/index.js +9 -264
- package/dist/cjs/{inherits-02a27fbf.js → inherits-a9209207.js} +19 -18
- package/dist/cjs/{isSymbol-a0d5eb50.js → isSymbol-04666465.js} +5 -5
- package/dist/cjs/{js.cookie-e4684873.js → js.cookie-a511c430.js} +1 -1
- package/dist/cjs/{keys-1a65eb47.js → keys-d2f5bcf0.js} +6 -5
- package/dist/cjs/{lodash-257df6c4.js → lodash-4ef21f0f.js} +2 -2
- package/dist/cjs/{main-1442052b.js → main-eeffe77b.js} +70 -67
- package/dist/cjs/{moment-29403f08.js → moment-aca40de1.js} +1 -2
- package/dist/cjs/{react-social-icons-5604d0d1.js → react-social-icons-af932527.js} +29 -26
- package/dist/cjs/{slicedToArray-d0ac47b9.js → slicedToArray-60dafa9c.js} +10 -10
- package/dist/cjs/{smoothscroll-03c20c7d.js → smoothscroll-1abb448e.js} +2 -2
- package/dist/cjs/{stringify-e064b7d0.js → stringify-44244c64.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d47f0c64.js → toConsumableArray-4bb00640.js} +14 -13
- package/dist/cjs/{typeof-5763a25b.js → typeof-03c3fdc8.js} +85 -84
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-ede0bc7b.js → visibility-sensor-8b54af99.js} +8 -5
- package/dist/cjs/{web.dom.iterable-cd8a9ccb.js → web.dom.iterable-2d47ebe6.js} +11 -10
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +23 -24
- package/dist/esm/AD300x250x600.js +23 -24
- package/dist/esm/AD728x90.js +26 -27
- package/dist/esm/ADFloatingFooter.js +29 -30
- package/dist/esm/ADFooter.js +12 -11
- package/dist/esm/ADGutter.js +26 -27
- package/dist/esm/{ADInfeed-d890d5ca.js → ADInfeed-bf7de12d.js} +8 -8
- package/dist/esm/ADSkyscraper.js +26 -27
- package/dist/esm/ADSponsoredResources.js +26 -27
- package/dist/esm/ADWebcast.js +26 -27
- package/dist/esm/ADWelcome.js +30 -31
- package/dist/esm/{ADlgInfeed-1d006b36.js → ADlgInfeed-3ac04591.js} +7 -7
- package/dist/esm/AccordionPanel.js +25 -24
- package/dist/esm/AdSlot.js +26 -27
- package/dist/esm/AdSlotsProvider.js +4 -6
- package/dist/esm/AlphabeticList.js +23 -22
- package/dist/esm/ArticleCarousel.js +20 -22
- package/dist/esm/ArticleSeriesListing.js +55 -57
- package/dist/esm/Auth.js +135 -134
- package/dist/esm/{AuthorComponent-8ffb1deb.js → AuthorComponent-22790017.js} +11 -11
- package/dist/esm/Beam.js +21 -20
- package/dist/esm/{BlockContent-e6f64e62.js → BlockContent-d8cd739c.js} +21 -23
- package/dist/esm/Breadcrumbs.js +18 -17
- package/dist/esm/BrowseVideosListing.js +38 -40
- package/dist/esm/CMEDeck.js +80 -82
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +28 -29
- package/dist/esm/Column3.js +50 -51
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +86 -88
- package/dist/esm/DeckQueue.js +69 -71
- package/dist/esm/{Dfp-7db56716.js → Dfp-08279047.js} +23 -25
- package/dist/esm/EventsDeck.js +120 -120
- package/dist/esm/ExternalResources.js +71 -73
- package/dist/esm/Feature.js +17 -18
- package/dist/esm/ForbesHero.js +35 -37
- package/dist/esm/GridContent.js +145 -147
- package/dist/esm/GridHero.js +37 -39
- package/dist/esm/GroupDeck.js +49 -48
- package/dist/esm/HamMagazine.js +111 -112
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +50 -52
- package/dist/esm/IssueDeck.js +47 -49
- package/dist/esm/IssueLanding.js +69 -71
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -36
- package/dist/esm/MasterDeck.js +80 -82
- package/dist/esm/NavDvm.js +58 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +122 -123
- package/dist/esm/NavNative.js +99 -100
- package/dist/esm/NavNormal.js +36 -35
- package/dist/esm/OncliveHero.js +16 -16
- package/dist/esm/OncliveLargeHero.js +60 -62
- package/dist/esm/PageFilter.js +13 -12
- package/dist/esm/PartnerDetailListing.js +107 -109
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +15 -14
- package/dist/esm/PublicationDeck.js +40 -43
- package/dist/esm/PublicationLanding.js +123 -125
- package/dist/esm/QueueDeckExpanded.js +278 -280
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -50
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +13 -12
- package/dist/esm/Segment.js +21 -20
- package/dist/esm/SetCookie.js +2 -2
- package/dist/esm/SideFooter.js +36 -37
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-4eae0149.js → SocialSearchComponent-46ea0f4d.js} +24 -24
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -44
- package/dist/esm/TemplateNormal.js +68 -69
- package/dist/esm/ThumbnailCard.js +13 -16
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +27 -29
- package/dist/esm/VideoSeriesFilter.js +19 -18
- package/dist/esm/VideoSeriesListing.js +69 -71
- package/dist/esm/View.js +216 -219
- package/dist/esm/YahooHero.js +35 -37
- package/dist/esm/YoutubeGroup.js +57 -59
- package/dist/esm/{_export-f7ec2adf.js → _export-9029ebab.js} +2 -133
- package/dist/esm/{_is-array-5bea6006.js → _is-array-46713c19.js} +16 -15
- package/dist/esm/{_iter-detect-65720de7.js → _iter-detect-60cd145f.js} +8 -8
- package/dist/esm/_library-528f1934.js +3 -0
- package/dist/esm/{_object-pie-8e2f6c3a.js → _object-pie-33c40e79.js} +1 -1
- package/dist/esm/_object-sap-108a1939.js +14 -0
- package/dist/esm/{_set-species-26ee5c2a.js → _set-species-a4b3fe39.js} +15 -14
- package/dist/esm/_to-object-62924b74.js +135 -0
- package/dist/esm/{asyncToGenerator-0c61f551.js → asyncToGenerator-7714cea4.js} +72 -71
- package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/core.get-iterator-method-6636b3ef.js +37 -0
- package/dist/esm/{debounce-7b569c00.js → debounce-1a993acf.js} +6 -6
- package/dist/esm/{define-property-7a40a451.js → define-property-f2d6f244.js} +4 -4
- package/dist/esm/{defineProperty-a2ac5d3d.js → defineProperty-69f06029.js} +2 -2
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-13b94db0.js → es6.string.iterator-2efae22d.js} +29 -28
- package/dist/esm/{extends-8e0228d5.js → extends-f866c8d0.js} +12 -11
- package/dist/esm/{get-bb2155d5.js → get-5ee14cda.js} +10 -10
- package/dist/esm/getRelatedArticle.js +16 -15
- package/dist/esm/getSerializers.js +42 -44
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-d97a1e83.js → getTargeting-5cdca4e1.js} +11 -11
- package/dist/esm/getTargeting.js +9 -8
- package/dist/esm/{index-f7fdcc91.js → index-3f5c03b2.js} +3 -3
- package/dist/esm/{index-4540328d.js → index-5db919a6.js} +382 -384
- package/dist/esm/{index-17490425.js → index-669ff425.js} +9 -11
- package/dist/esm/{index-1295881c.js → index-750a7380.js} +2 -2
- package/dist/esm/{index-a4e850af.js → index-752d1dae.js} +13 -16
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-3fdda599.js → index.esm-57f377a5.js} +1 -1
- package/dist/esm/{index.esm-4838a32e.js → index.esm-8016b507.js} +15 -15
- package/dist/esm/index.js +11 -176
- package/dist/esm/{inherits-d1948b66.js → inherits-75d6495f.js} +17 -16
- package/dist/esm/{isSymbol-2b7f6e65.js → isSymbol-807e927e.js} +1 -1
- package/dist/esm/{js.cookie-2ce24ab0.js → js.cookie-6874175c.js} +1 -1
- package/dist/esm/{keys-e091cb65.js → keys-78217618.js} +6 -5
- package/dist/esm/{lodash-2b866578.js → lodash-ad27652f.js} +2 -2
- package/dist/esm/{main-140f99b4.js → main-decc48f4.js} +66 -67
- package/dist/esm/{moment-8797a4d3.js → moment-bc12cb97.js} +2 -2
- package/dist/esm/{react-social-icons-40e8d28f.js → react-social-icons-91f9716f.js} +24 -26
- package/dist/esm/{slicedToArray-8818fe95.js → slicedToArray-fa9240c4.js} +10 -10
- package/dist/esm/{smoothscroll-2d74941c.js → smoothscroll-ab6e0238.js} +1 -1
- package/dist/esm/{stringify-dedf4a20.js → stringify-22907f56.js} +2 -2
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-02217419.js → toConsumableArray-bd01c637.js} +14 -13
- package/dist/esm/{typeof-a10a5616.js → typeof-668f30cd.js} +86 -85
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-7b6316cf.js → visibility-sensor-082c757b.js} +3 -5
- package/dist/esm/{web.dom.iterable-c3ba4d37.js → web.dom.iterable-89515070.js} +11 -10
- package/package.json +105 -105
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/_object-sap-947ef6fb.js +0 -16
- package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +0 -10
- package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +0 -9
- package/dist/cjs/_react_commonjs-external-58b78ee1.js +0 -10
- package/dist/cjs/core.get-iterator-method-07b02ac3.js +0 -39
- package/dist/esm/_library-90219a8d.js +0 -3
- package/dist/esm/_object-sap-146241c9.js +0 -14
- package/dist/esm/_prop-types_commonjs-external-9481d338.js +0 -5
- package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +0 -5
- package/dist/esm/_react_commonjs-external-22b61490.js +0 -5
- package/dist/esm/core.get-iterator-method-dbbb346b.js +0 -36
package/dist/esm/RecentNews.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './moment-bc12cb97.js';
|
|
3
|
+
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
4
|
+
import { a as FaLongArrowAltRight } from './index.esm-a8ff922c.js';
|
|
1
5
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import './moment-8797a4d3.js';
|
|
4
|
-
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
5
6
|
import './iconBase-602d52fe.js';
|
|
6
|
-
import { a as FaLongArrowAltRight } from './index.esm-a8ff922c.js';
|
|
7
7
|
|
|
8
8
|
var RecentNews = function RecentNews(_ref) {
|
|
9
9
|
var client = _ref.client,
|
|
@@ -18,43 +18,43 @@ var RecentNews = function RecentNews(_ref) {
|
|
|
18
18
|
_ref$linkTitle = _ref.linkTitle,
|
|
19
19
|
linkTitle = _ref$linkTitle === undefined ? 'View More ' : _ref$linkTitle;
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
imageUrlBuilder(client);
|
|
22
22
|
var topArticle = dataRecord[0];
|
|
23
23
|
var subArticles = dataRecord.slice(1, dataRecord.length);
|
|
24
24
|
|
|
25
|
-
return
|
|
25
|
+
return React.createElement(
|
|
26
26
|
'div',
|
|
27
27
|
{ className: 'recent-news-container', style: { border: '3px solid ' + borderColor } },
|
|
28
|
-
|
|
28
|
+
React.createElement(
|
|
29
29
|
'div',
|
|
30
30
|
{ className: 'recent-news-title' },
|
|
31
|
-
|
|
31
|
+
React.createElement(
|
|
32
32
|
'h2',
|
|
33
33
|
null,
|
|
34
34
|
heroTitle
|
|
35
35
|
),
|
|
36
|
-
|
|
36
|
+
React.createElement('div', null)
|
|
37
37
|
),
|
|
38
|
-
|
|
38
|
+
React.createElement(
|
|
39
39
|
'div',
|
|
40
40
|
{ className: 'recent-news-inner' },
|
|
41
|
-
|
|
41
|
+
React.createElement(
|
|
42
42
|
'div',
|
|
43
43
|
{ className: 'recent-article-wrap', style: { flexBasis: '100%' } },
|
|
44
|
-
|
|
44
|
+
React.createElement(
|
|
45
45
|
'a',
|
|
46
46
|
{ href: '/view/' + topArticle.url.current, className: 'recent-article' },
|
|
47
|
-
|
|
47
|
+
React.createElement(
|
|
48
48
|
'p',
|
|
49
49
|
null,
|
|
50
50
|
topArticle.title
|
|
51
51
|
)
|
|
52
52
|
),
|
|
53
53
|
subArticles.map(function (article, index) {
|
|
54
|
-
return
|
|
54
|
+
return React.createElement(
|
|
55
55
|
'a',
|
|
56
56
|
{ key: index, href: '/view/' + article.url.current, className: 'recent-article' },
|
|
57
|
-
|
|
57
|
+
React.createElement(
|
|
58
58
|
'p',
|
|
59
59
|
null,
|
|
60
60
|
article.title
|
|
@@ -63,21 +63,21 @@ var RecentNews = function RecentNews(_ref) {
|
|
|
63
63
|
})
|
|
64
64
|
)
|
|
65
65
|
),
|
|
66
|
-
linkTo &&
|
|
66
|
+
linkTo && React.createElement(
|
|
67
67
|
'div',
|
|
68
68
|
{ className: 'recent-view-more' },
|
|
69
|
-
|
|
69
|
+
React.createElement(
|
|
70
70
|
'a',
|
|
71
71
|
{ href: linkTo },
|
|
72
72
|
linkTitle,
|
|
73
|
-
|
|
73
|
+
React.createElement(
|
|
74
74
|
'span',
|
|
75
75
|
null,
|
|
76
|
-
|
|
76
|
+
React.createElement(FaLongArrowAltRight, { color: 'var(--primary)' })
|
|
77
77
|
)
|
|
78
78
|
)
|
|
79
79
|
),
|
|
80
|
-
|
|
80
|
+
React.createElement(
|
|
81
81
|
'style',
|
|
82
82
|
{ jsx: 'true' },
|
|
83
83
|
'\n .recent-news-container {\n margin-bottom: 1.7rem;\n margin-top: 1rem;\n position: relative;\n }\n .recent-news-title {\n position: absolute;\n top: -10px;\n background: white;\n z-index: 2;\n left: 10px;\n padding-right: 0.25rem;\n padding-left: 0.25rem;\n font-weight: bold;\n }\n .recent-news-title h2 {\n font-size: 0.9rem;\n font-weight: bold;\n }\n .recent-news-inner {\n display: flex;\n flex-direction: row;\n padding-top: 0.75rem;\n margin-top: 0.75rem;\n }\n .recent-article-wrap {\n padding: 0 0.5rem;\n }\n \n .recent-article {\n border-bottom: 1px solid #ccc;\n display: block;\n margin-bottom: 0.5rem;\n }\n .recent-article:last-child {\n border-bottom: none;\n }\n .recent-article:hover {\n background: #eee;\n }\n .recent-article p {\n font-size: 0.7rem;\n margin-bottom: 0.5rem;\n color: #252525;\n }\n .recent-view-more {\n position: absolute;\n right: 0;\n margin-top: 0.25rem;\n font-size: 0.7rem;\n font-weight: bold;\n }\n .recent-view-more span {\n display: inline-block;\n color: rgb(81, 116, 153);\n font-size: 0.7rem;\n }\n @media screen and (max-width: 1191px){\n \n .recent-article > p {\n font-size: 0.7rem;\n }\n }\n }\n @media screen and (max-width: 495px) {\n \n .recent-article > p {\n font-size: 0.7rem;\n }\n }\n '
|
|
@@ -1,43 +1,40 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
+
import 'react-bootstrap/Media';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
5
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import 'prop-types';
|
|
4
|
-
import './_react_commonjs-external-22b61490.js';
|
|
5
|
-
import './_prop-types_commonjs-external-9481d338.js';
|
|
6
|
-
import { m as moment } from './moment-8797a4d3.js';
|
|
7
7
|
import 'react-dom';
|
|
8
|
-
import '
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
import 'prop-types';
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
Sample query
|
|
12
|
+
let references = ''
|
|
13
|
+
if(article.taxonomyMapping.length > 0){
|
|
14
|
+
article.taxonomyMapping.forEach((ref, index) => {
|
|
15
|
+
references = references + `references('${ref._ref}') `
|
|
16
|
+
if(index+1 !== article.taxonomyMapping.length){
|
|
17
|
+
references = references + ` && `
|
|
18
|
+
}
|
|
19
|
+
})
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
23
|
+
...,
|
|
24
|
+
title,
|
|
25
|
+
summary,
|
|
26
|
+
thumbnail,
|
|
27
|
+
url,
|
|
28
|
+
published,
|
|
29
|
+
authorMapping[]->,
|
|
30
|
+
contentCategory->
|
|
31
|
+
}`
|
|
32
|
+
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
33
|
+
|
|
34
|
+
Sample usage
|
|
35
|
+
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
36
|
+
|
|
12
37
|
|
|
13
|
-
/*
|
|
14
|
-
Sample query
|
|
15
|
-
let references = ''
|
|
16
|
-
if(article.taxonomyMapping.length > 0){
|
|
17
|
-
article.taxonomyMapping.forEach((ref, index) => {
|
|
18
|
-
references = references + `references('${ref._ref}') `
|
|
19
|
-
if(index+1 !== article.taxonomyMapping.length){
|
|
20
|
-
references = references + ` && `
|
|
21
|
-
}
|
|
22
|
-
})
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
26
|
-
...,
|
|
27
|
-
title,
|
|
28
|
-
summary,
|
|
29
|
-
thumbnail,
|
|
30
|
-
url,
|
|
31
|
-
published,
|
|
32
|
-
authorMapping[]->,
|
|
33
|
-
contentCategory->
|
|
34
|
-
}`
|
|
35
|
-
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
36
|
-
|
|
37
|
-
Sample usage
|
|
38
|
-
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
39
|
-
|
|
40
|
-
|
|
41
38
|
*/
|
|
42
39
|
var RelatedContent = function RelatedContent(props) {
|
|
43
40
|
var client = props.client,
|
|
@@ -50,47 +47,47 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
50
47
|
return builder.image(source);
|
|
51
48
|
}
|
|
52
49
|
|
|
53
|
-
return
|
|
50
|
+
return React.createElement(
|
|
54
51
|
'div',
|
|
55
52
|
null,
|
|
56
|
-
|
|
53
|
+
React.createElement(
|
|
57
54
|
'h1',
|
|
58
55
|
{ className: 'mb-4 pb-2', style: { borderBottom: '1px solid #ccc', fontSize: '1.2rem', fontWeight: 'bold', color: '#252525' } },
|
|
59
56
|
'Related Content'
|
|
60
57
|
),
|
|
61
|
-
|
|
58
|
+
React.createElement(
|
|
62
59
|
'div',
|
|
63
60
|
{ className: 'related-articles-container' },
|
|
64
61
|
dataRecord.map(function (article, index) {
|
|
65
|
-
return
|
|
62
|
+
return React.createElement(
|
|
66
63
|
'a',
|
|
67
64
|
{ key: index, href: '/view/' + article.url.current, className: 'related-article' },
|
|
68
|
-
|
|
65
|
+
React.createElement(
|
|
69
66
|
'figure',
|
|
70
67
|
null,
|
|
71
|
-
|
|
68
|
+
React.createElement(
|
|
72
69
|
LazyLoad,
|
|
73
70
|
{ once: true },
|
|
74
|
-
|
|
71
|
+
React.createElement('img', {
|
|
75
72
|
src: article.thumbnail ? urlFor(article.thumbnail.asset).width(500).url() : defaultImage,
|
|
76
73
|
alt: article.title
|
|
77
74
|
})
|
|
78
75
|
)
|
|
79
76
|
),
|
|
80
|
-
|
|
77
|
+
React.createElement(
|
|
81
78
|
'div',
|
|
82
79
|
{ className: 'related-article-body' },
|
|
83
|
-
|
|
84
|
-
props.showPublished &&
|
|
80
|
+
React.createElement('h4', { dangerouslySetInnerHTML: { __html: article.title } }),
|
|
81
|
+
props.showPublished && React.createElement(
|
|
85
82
|
'p',
|
|
86
83
|
{ className: 'pb-0 mb-0' },
|
|
87
84
|
moment(article.published).format('MMMM DD, YYYY hh:mma')
|
|
88
85
|
),
|
|
89
|
-
props.showAuthor && article.authorMapping && article.authorMapping[0] &&
|
|
86
|
+
props.showAuthor && article.authorMapping && article.authorMapping[0] && React.createElement(
|
|
90
87
|
'p',
|
|
91
88
|
null,
|
|
92
89
|
'By ',
|
|
93
|
-
|
|
90
|
+
React.createElement(
|
|
94
91
|
'b',
|
|
95
92
|
null,
|
|
96
93
|
article.authorMapping[0].displayName
|
|
@@ -99,7 +96,7 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
99
96
|
)
|
|
100
97
|
);
|
|
101
98
|
}),
|
|
102
|
-
|
|
99
|
+
React.createElement(
|
|
103
100
|
'style',
|
|
104
101
|
{ jsx: 'true' },
|
|
105
102
|
'\n .related-article {\n width: 100%;\n display: flex;\n flex-direction: ' + (props.reverse ? 'row-reverse' : 'row') + ';\n margin-bottom: 1rem;\n }\n .related-article figure {\n width: 165px;\n height: 110px;\n min-width: 165px;\n }\n .related-article figure img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .related-article-body {\n flex: 1 1 auto;\n padding: 0 1rem;\n }\n .related-article-body h4 {\n font-weight: bold;\n font-size: 1.1rem;\n margin-bottom: 0.25rem;\n line-height: 1.3;\n }\n @media screen and (max-width: 430px) {\n .related-article {\n flex-direction: column;\n }\n .related-article figure {\n width: 80%;\n height: auto;\n min-width: 80%;\n margin: 0 auto;\n }\n .related-article figure img {\n width: 100%;\n height: auto;\n object-fit: cover;\n }\n }\n '
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import DropdownButton from 'react-bootstrap/DropdownButton';
|
|
3
3
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
4
4
|
|
|
@@ -14,36 +14,36 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
14
14
|
_ref$className = _ref.className,
|
|
15
15
|
className = _ref$className === undefined ? '' : _ref$className;
|
|
16
16
|
|
|
17
|
-
/*
|
|
18
|
-
Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
|
|
19
|
-
example:
|
|
20
|
-
<RelatedTopicDropdown
|
|
21
|
-
page='/clinical'
|
|
22
|
-
exclude="clinical"
|
|
23
|
-
className='mb-3'
|
|
24
|
-
parentTaxonomy={props.parentTaxonomy}
|
|
25
|
-
subTaxonomies={props.subTaxonomies}
|
|
26
|
-
/>
|
|
17
|
+
/*
|
|
18
|
+
Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
|
|
19
|
+
example:
|
|
20
|
+
<RelatedTopicDropdown
|
|
21
|
+
page='/clinical'
|
|
22
|
+
exclude="clinical"
|
|
23
|
+
className='mb-3'
|
|
24
|
+
parentTaxonomy={props.parentTaxonomy}
|
|
25
|
+
subTaxonomies={props.subTaxonomies}
|
|
26
|
+
/>
|
|
27
27
|
*/
|
|
28
28
|
if (subTaxonomies.length === 0 && parentTaxonomy) {
|
|
29
29
|
if (parentTaxonomy.identifier == exclude) {
|
|
30
30
|
return '';
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return React.createElement(
|
|
33
33
|
'div',
|
|
34
34
|
null,
|
|
35
|
-
|
|
35
|
+
React.createElement(
|
|
36
36
|
'style',
|
|
37
37
|
{ jsx: true },
|
|
38
38
|
'\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n top: auto !important;\n max-height: 50vh !important;\n box-shadow: 0px 0px 25px #ccc;\n z-index: 9999;\n transform: none !important;\n }\n @media only screen and (max-width: 720px) {\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n max-height: 30vh !important;\n max-width: 95vw;\n box-shadow: 0px 0px 25px #ccc;\n z-index: 9999;\n font-size: 0.85em;\n }\n }\n '
|
|
39
39
|
),
|
|
40
|
-
|
|
40
|
+
React.createElement(
|
|
41
41
|
'div',
|
|
42
42
|
{ id: 'related_dropdown', className: className },
|
|
43
|
-
|
|
43
|
+
React.createElement(
|
|
44
44
|
DropdownButton,
|
|
45
45
|
{ id: 'related_button', variant: variant, title: 'Related Topics' },
|
|
46
|
-
|
|
46
|
+
React.createElement(
|
|
47
47
|
Dropdown.Item,
|
|
48
48
|
{ href: parentTaxonomy.identifier },
|
|
49
49
|
parentTaxonomy.name
|
|
@@ -52,22 +52,22 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
52
52
|
)
|
|
53
53
|
);
|
|
54
54
|
} else {
|
|
55
|
-
return
|
|
55
|
+
return React.createElement(
|
|
56
56
|
'div',
|
|
57
57
|
null,
|
|
58
|
-
|
|
58
|
+
React.createElement(
|
|
59
59
|
'style',
|
|
60
60
|
{ jsx: true },
|
|
61
61
|
'\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n top: auto !important;\n max-height: 40vh !important;\n z-index: 9999;\n transform: none !important;\n }\n @media only screen and (max-width: 720px) {\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n max-height: 30vh !important;\n max-width: 95vw;\n z-index: 9999;\n font-size: 0.85em;\n }\n }\n '
|
|
62
62
|
),
|
|
63
|
-
|
|
63
|
+
React.createElement(
|
|
64
64
|
'div',
|
|
65
65
|
{ id: 'related_dropdown', className: className },
|
|
66
|
-
|
|
66
|
+
React.createElement(
|
|
67
67
|
DropdownButton,
|
|
68
68
|
{ id: 'related_button', variant: variant, title: 'Related Topics' },
|
|
69
69
|
subTaxonomies.length > 0 && subTaxonomies.map(function (taxonomy, index) {
|
|
70
|
-
return
|
|
70
|
+
return React.createElement(
|
|
71
71
|
Dropdown.Item,
|
|
72
72
|
{ key: index, href: page + '/' + taxonomy.identifier },
|
|
73
73
|
taxonomy.name
|
package/dist/esm/RolesDeck.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import Container from 'react-bootstrap/Container';
|
|
3
3
|
import Row from 'react-bootstrap/Row';
|
|
4
4
|
import Col from 'react-bootstrap/Col';
|
|
@@ -15,43 +15,43 @@ var RolesDeck = function RolesDeck(props) {
|
|
|
15
15
|
// dataRecord - data record to be shown in card.
|
|
16
16
|
// />
|
|
17
17
|
|
|
18
|
-
return
|
|
18
|
+
return React.createElement(
|
|
19
19
|
'div',
|
|
20
20
|
{ className: 'rolesDeck' },
|
|
21
|
-
|
|
21
|
+
React.createElement(
|
|
22
22
|
Container,
|
|
23
23
|
null,
|
|
24
|
-
|
|
24
|
+
React.createElement(
|
|
25
25
|
Row,
|
|
26
26
|
null,
|
|
27
27
|
data && data.map(function (row, index) {
|
|
28
28
|
if (row && row.url && row.name) {
|
|
29
|
-
return
|
|
29
|
+
return React.createElement(
|
|
30
30
|
Col,
|
|
31
31
|
{ key: index, md: 12, lg: 6, counter: index++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
32
|
-
|
|
32
|
+
React.createElement(
|
|
33
33
|
Card,
|
|
34
34
|
{ className: 'taxonomy-card', style: { position: 'relative', overflow: 'hidden', borderBottom: '3px solid var(--primary)' } },
|
|
35
|
-
|
|
35
|
+
React.createElement(
|
|
36
36
|
Card.Link,
|
|
37
37
|
{ href: row.url },
|
|
38
|
-
|
|
38
|
+
React.createElement(
|
|
39
39
|
Card.Body,
|
|
40
40
|
null,
|
|
41
|
-
|
|
41
|
+
React.createElement(
|
|
42
42
|
Row,
|
|
43
43
|
null,
|
|
44
|
-
|
|
44
|
+
React.createElement(
|
|
45
45
|
Col,
|
|
46
46
|
{ className: 'details-content-wrapper' },
|
|
47
|
-
|
|
47
|
+
React.createElement(
|
|
48
48
|
'div',
|
|
49
49
|
{ className: 'details-wrapper' },
|
|
50
50
|
row.name
|
|
51
51
|
)
|
|
52
52
|
)
|
|
53
53
|
),
|
|
54
|
-
icon &&
|
|
54
|
+
icon && React.createElement(
|
|
55
55
|
'span',
|
|
56
56
|
{
|
|
57
57
|
className: 'taxonomy-icon',
|
|
@@ -73,7 +73,7 @@ var RolesDeck = function RolesDeck(props) {
|
|
|
73
73
|
})
|
|
74
74
|
)
|
|
75
75
|
),
|
|
76
|
-
icon &&
|
|
76
|
+
icon && React.createElement(
|
|
77
77
|
'style',
|
|
78
78
|
{ jsx: 'true' },
|
|
79
79
|
'\n .taxonomy-card .taxonomy-icon {\n transform: translateY(-50%) translateX(10px) !important;\n }\n .taxonomy-card.card:hover .taxonomy-icon {\n transform: translateY(-50%) translateX(5px) scale(1.25) rotate(-180deg) !important;\n }\n '
|
package/dist/esm/Search.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import '
|
|
3
|
-
import './es6.string.iterator-13b94db0.js';
|
|
4
|
-
import './core.get-iterator-method-dbbb346b.js';
|
|
5
|
-
import './web.dom.iterable-c3ba4d37.js';
|
|
6
|
-
import React__default, { useState } from 'react';
|
|
7
|
-
import { _ as _slicedToArray } from './slicedToArray-8818fe95.js';
|
|
8
|
-
import Button from 'react-bootstrap/Button';
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
2
|
+
import React, { useState } from 'react';
|
|
9
3
|
import Form from 'react-bootstrap/Form';
|
|
10
4
|
import FormControl from 'react-bootstrap/FormControl';
|
|
5
|
+
import Button from 'react-bootstrap/Button';
|
|
6
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
+
import './web.dom.iterable-89515070.js';
|
|
8
|
+
import './es6.string.iterator-2efae22d.js';
|
|
9
|
+
import './_to-object-62924b74.js';
|
|
10
|
+
import './_export-9029ebab.js';
|
|
11
|
+
import './core.get-iterator-method-6636b3ef.js';
|
|
11
12
|
|
|
12
13
|
var Search = function Search(props) {
|
|
13
14
|
var _props$placeholder = props.placeholder,
|
|
@@ -27,12 +28,12 @@ var Search = function Search(props) {
|
|
|
27
28
|
window.location.href = '/search?searchTerm=' + searchKey;
|
|
28
29
|
};
|
|
29
30
|
|
|
30
|
-
return
|
|
31
|
+
return React.createElement(
|
|
31
32
|
Form,
|
|
32
33
|
{ inline: true, onSubmit: function onSubmit(e) {
|
|
33
34
|
return submitSearch(e);
|
|
34
35
|
} },
|
|
35
|
-
|
|
36
|
+
React.createElement(FormControl, {
|
|
36
37
|
className: device === 'mobile' ? 'mobile-search mr-sm-2' : 'mr-sm-2',
|
|
37
38
|
type: 'text',
|
|
38
39
|
placeholder: placeholder,
|
|
@@ -41,14 +42,14 @@ var Search = function Search(props) {
|
|
|
41
42
|
return setSearchKey(e.target.value);
|
|
42
43
|
}
|
|
43
44
|
}),
|
|
44
|
-
|
|
45
|
+
React.createElement(
|
|
45
46
|
Button,
|
|
46
47
|
{ variant: 'secondary', onClick: function onClick(e) {
|
|
47
48
|
return submitSearch(e);
|
|
48
49
|
} },
|
|
49
50
|
btnText
|
|
50
51
|
),
|
|
51
|
-
|
|
52
|
+
React.createElement(
|
|
52
53
|
'style',
|
|
53
54
|
{ jsx: 'true' },
|
|
54
55
|
'\n .mobile-search {\n width: 75%;\n margin-right: 15px;\n }\n '
|
package/dist/esm/Segment.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7714cea4.js';
|
|
1
2
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import
|
|
9
|
-
import './
|
|
3
|
+
import './es6.string.iterator-2efae22d.js';
|
|
4
|
+
import './_to-object-62924b74.js';
|
|
5
|
+
import './_export-9029ebab.js';
|
|
6
|
+
import './web.dom.iterable-89515070.js';
|
|
7
|
+
import './_library-528f1934.js';
|
|
8
|
+
import './core.get-iterator-method-6636b3ef.js';
|
|
9
|
+
import './_set-species-a4b3fe39.js';
|
|
10
|
+
import './_iter-detect-60cd145f.js';
|
|
10
11
|
|
|
11
12
|
require("babel-polyfill");
|
|
12
13
|
|
|
@@ -65,9 +66,9 @@ var Segment = {
|
|
|
65
66
|
getIDs: function getIDs() {
|
|
66
67
|
var _this = this;
|
|
67
68
|
|
|
68
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
69
|
+
return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
|
|
69
70
|
var res, json;
|
|
70
|
-
return
|
|
71
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
71
72
|
while (1) {
|
|
72
73
|
switch (_context.prev = _context.next) {
|
|
73
74
|
case 0:
|
|
@@ -101,9 +102,9 @@ var Segment = {
|
|
|
101
102
|
pageview: function pageview(domain) {
|
|
102
103
|
var _this2 = this;
|
|
103
104
|
|
|
104
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
105
|
+
return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2() {
|
|
105
106
|
var result, beam_id, session_id;
|
|
106
|
-
return
|
|
107
|
+
return regenerator.wrap(function _callee2$(_context2) {
|
|
107
108
|
while (1) {
|
|
108
109
|
switch (_context2.prev = _context2.next) {
|
|
109
110
|
case 0:
|
|
@@ -148,9 +149,9 @@ var Segment = {
|
|
|
148
149
|
|
|
149
150
|
var brightCoveAccountID = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : '';
|
|
150
151
|
var brightCoveVideoID = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : '';
|
|
151
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
152
|
+
return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3() {
|
|
152
153
|
var result, beam_id, session_id, domain, data;
|
|
153
|
-
return
|
|
154
|
+
return regenerator.wrap(function _callee3$(_context3) {
|
|
154
155
|
while (1) {
|
|
155
156
|
switch (_context3.prev = _context3.next) {
|
|
156
157
|
case 0:
|
|
@@ -209,9 +210,9 @@ var Segment = {
|
|
|
209
210
|
|
|
210
211
|
var brightCovePlayerID = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : '';
|
|
211
212
|
var brightCoveAccountID = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : '';
|
|
212
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
213
|
+
return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4() {
|
|
213
214
|
var result, beam_id, session_id, domain, data;
|
|
214
|
-
return
|
|
215
|
+
return regenerator.wrap(function _callee4$(_context4) {
|
|
215
216
|
while (1) {
|
|
216
217
|
switch (_context4.prev = _context4.next) {
|
|
217
218
|
case 0:
|
|
@@ -262,9 +263,9 @@ var Segment = {
|
|
|
262
263
|
adClicked: function adClicked(domain, advertiserid, campaignid, creativeid, itemid, size, isemptyline, sourceAgnosticCreativeId, sourceAgnosticlineId) {
|
|
263
264
|
var _this5 = this;
|
|
264
265
|
|
|
265
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
266
|
+
return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee5() {
|
|
266
267
|
var result, beam_id, session_id;
|
|
267
|
-
return
|
|
268
|
+
return regenerator.wrap(function _callee5$(_context5) {
|
|
268
269
|
while (1) {
|
|
269
270
|
switch (_context5.prev = _context5.next) {
|
|
270
271
|
case 0:
|
|
@@ -311,9 +312,9 @@ var Segment = {
|
|
|
311
312
|
adViewed: function adViewed(domain, advertiserid, campaignid, creativeid, itemid, size, isemptyline, sourceAgnosticCreativeId, sourceAgnosticlineId) {
|
|
312
313
|
var _this6 = this;
|
|
313
314
|
|
|
314
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
315
|
+
return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee6() {
|
|
315
316
|
var result, beam_id, session_id;
|
|
316
|
-
return
|
|
317
|
+
return regenerator.wrap(function _callee6$(_context6) {
|
|
317
318
|
while (1) {
|
|
318
319
|
switch (_context6.prev = _context6.next) {
|
|
319
320
|
case 0:
|
package/dist/esm/SetCookie.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
1
2
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { c as cookie } from './js.cookie-2ce24ab0.js';
|
|
3
3
|
|
|
4
4
|
var SetCookie = function SetCookie(key, value) {
|
|
5
|
-
|
|
5
|
+
js_cookie.set(key, value, { expires: 1, sameSite: 'none', secure: true });
|
|
6
6
|
};
|
|
7
7
|
|
|
8
8
|
export default SetCookie;
|