@mjhls/mjh-framework 1.0.705 → 1.0.707-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +24 -25
- package/dist/cjs/AD300x250x600.js +24 -25
- package/dist/cjs/AD728x90.js +27 -28
- package/dist/cjs/ADFloatingFooter.js +26 -27
- package/dist/cjs/ADFooter.js +14 -15
- package/dist/cjs/ADGutter.js +26 -27
- package/dist/cjs/{ADInfeed-54ab0509.js → ADInfeed-2d466478.js} +11 -13
- package/dist/cjs/ADSkyscraper.js +26 -27
- package/dist/cjs/ADSponsoredResources.js +26 -27
- package/dist/cjs/ADWebcast.js +26 -27
- package/dist/cjs/ADWelcome.js +30 -31
- package/dist/cjs/{ADlgInfeed-a1255904.js → ADlgInfeed-a437d8a6.js} +8 -9
- package/dist/cjs/AccordionPanel.js +29 -31
- package/dist/cjs/AdSlot.js +31 -32
- package/dist/cjs/AdSlotsProvider.js +7 -8
- package/dist/cjs/AlphabeticList.js +24 -25
- package/dist/cjs/ArticleCarousel.js +21 -22
- package/dist/cjs/ArticleSeriesListing.js +57 -58
- package/dist/cjs/Auth.js +334 -820
- package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-bb831b74.js} +13 -14
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-091a991f.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +27 -29
- package/dist/cjs/BrowseVideosListing.js +39 -40
- package/dist/cjs/CMEDeck.js +78 -78
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +32 -35
- package/dist/cjs/Column3.js +55 -58
- package/dist/cjs/ConferenceArticleCard.js +22 -23
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +94 -98
- package/dist/cjs/DeckQueue.js +86 -90
- package/dist/cjs/{Dfp-a863cf48.js → Dfp-f6a18ed2.js} +30 -31
- package/dist/cjs/EventsDeck.js +129 -136
- package/dist/cjs/ExternalResources.js +74 -75
- package/dist/cjs/Feature.js +25 -27
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +177 -181
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +49 -50
- package/dist/cjs/HamMagazine.js +130 -135
- package/dist/cjs/Header.js +11 -13
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalHero.js +25 -26
- package/dist/cjs/IssueContentDeck.js +72 -77
- package/dist/cjs/IssueDeck.js +70 -75
- package/dist/cjs/IssueLanding.js +40 -41
- package/dist/cjs/LeftNav.js +36 -38
- package/dist/cjs/MasterDeck.js +71 -72
- package/dist/cjs/NavDvm.js +75 -80
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +138 -143
- package/dist/cjs/NavNative.js +115 -123
- package/dist/cjs/NavNormal.js +48 -53
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +66 -67
- package/dist/cjs/PageFilter.js +14 -15
- package/dist/cjs/PartnerDetailListing.js +100 -111
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +19 -21
- package/dist/cjs/PublicationDeck.js +61 -66
- package/dist/cjs/PublicationLanding.js +74 -78
- package/dist/cjs/QueueDeckExpanded.js +298 -294
- package/dist/cjs/RecentNews.js +23 -24
- package/dist/cjs/RelatedContent.js +24 -25
- package/dist/cjs/RelatedTopicsDropdown.js +21 -24
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -22
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +35 -36
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-294bd0ea.js → SocialSearchComponent-56d49a1a.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +57 -62
- package/dist/cjs/TaxonomyDescription.js +156 -0
- package/dist/cjs/TemplateNormal.js +72 -73
- package/dist/cjs/ThumbnailCard.js +20 -22
- package/dist/cjs/Ustream.js +26 -27
- package/dist/cjs/VerticalHero.js +17 -18
- package/dist/cjs/VideoSeriesCard.js +31 -32
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesListing.js +72 -73
- package/dist/cjs/View.js +226 -229
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +64 -65
- package/dist/cjs/{_is-array-63ae4740.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-60b2f026.js} +2 -2
- package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_set-species-a8cfdb84.js → _set-species-f92c67c5.js} +4 -4
- package/dist/cjs/{_to-object-821a2927.js → _to-object-329a650b.js} +4 -4
- package/dist/cjs/{asyncToGenerator-2edcb6ad.js → asyncToGenerator-533d476a.js} +8 -8
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
- package/dist/cjs/{core.get-iterator-method-b4615fd3.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{define-property-aff11f8a.js → define-property-f4d12f4e.js} +1 -1
- package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-cc0bbaa4.js} +2 -2
- package/dist/cjs/{extends-1e24fc8d.js → extends-60837c34.js} +1 -1
- package/dist/cjs/getRelatedArticle.js +76 -138
- package/dist/cjs/getSerializers.js +41 -41
- package/dist/cjs/{getTargeting-497b581d.js → getTargeting-9af0ef69.js} +3 -3
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-4d74ffd6.js → index-3294d3bc.js} +41 -40
- package/dist/cjs/{index-d48b231c.js → index-be0c82be.js} +25 -31
- package/dist/cjs/{index-80f57cff.js → index-da796b8c.js} +15 -17
- package/dist/cjs/{index-4d37a34d.js → index-e1275933.js} +849 -872
- package/dist/cjs/{index-5ad2b070.js → index-fa8ed292.js} +38 -46
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +129 -128
- package/dist/cjs/{inherits-2eb23889.js → inherits-c9f99d47.js} +5 -5
- package/dist/cjs/{keys-95c064c9.js → keys-a586b7a0.js} +2 -2
- package/dist/cjs/{lodash-4ef21f0f.js → lodash-fc2922d0.js} +23 -72
- package/dist/cjs/{main-eeffe77b.js → main-03ffa84c.js} +80 -116
- package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-db24842a.js → slicedToArray-8f385299.js} +4 -4
- package/dist/cjs/{smoothscroll-1abb448e.js → smoothscroll-95231a70.js} +1 -1
- package/dist/cjs/{stringify-01cf47f7.js → stringify-7c5aff47.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-9a3476fe.js} +4 -4
- package/dist/cjs/{typeof-97065d40.js → typeof-725500bc.js} +7 -7
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
- package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +21 -21
- package/dist/esm/AD300x250x600.js +21 -21
- package/dist/esm/AD728x90.js +24 -24
- package/dist/esm/ADFloatingFooter.js +23 -23
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +23 -23
- package/dist/esm/{ADInfeed-18cb6a8b.js → ADInfeed-bdd220fa.js} +7 -7
- package/dist/esm/ADSkyscraper.js +23 -23
- package/dist/esm/ADSponsoredResources.js +23 -23
- package/dist/esm/ADWebcast.js +23 -23
- package/dist/esm/ADWelcome.js +27 -27
- package/dist/esm/{ADlgInfeed-51d02f5d.js → ADlgInfeed-e6762952.js} +6 -6
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +23 -23
- package/dist/esm/AdSlotsProvider.js +4 -4
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +18 -18
- package/dist/esm/ArticleSeriesListing.js +52 -52
- package/dist/esm/Auth.js +317 -799
- package/dist/esm/{AuthorComponent-c29a0075.js → AuthorComponent-00f13201.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-e9b4ddcf.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/BrowseVideosListing.js +36 -36
- package/dist/esm/CMEDeck.js +74 -74
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -26
- package/dist/esm/Column3.js +48 -48
- package/dist/esm/ConferenceArticleCard.js +18 -18
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +76 -76
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-db06d7dc.js → Dfp-96b49def.js} +20 -20
- package/dist/esm/EventsDeck.js +82 -82
- package/dist/esm/ExternalResources.js +68 -68
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +139 -139
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +104 -104
- 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 +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +37 -37
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +65 -65
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +114 -114
- package/dist/esm/NavNative.js +91 -91
- package/dist/esm/NavNormal.js +36 -36
- package/dist/esm/OncliveHero.js +17 -16
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +96 -106
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +50 -50
- package/dist/esm/QueueDeckExpanded.js +278 -274
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +13 -13
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +31 -31
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-c4a19bac.js → SocialSearchComponent-677ed3bd.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TaxonomyDescription.js +150 -0
- package/dist/esm/TemplateNormal.js +66 -66
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +24 -24
- package/dist/esm/VideoSeriesFilter.js +16 -16
- package/dist/esm/VideoSeriesListing.js +66 -66
- package/dist/esm/View.js +210 -209
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +49 -49
- package/dist/esm/{_is-array-9383b394.js → _is-array-49698029.js} +6 -6
- package/dist/esm/{_iter-detect-d4d262ee.js → _iter-detect-59409a32.js} +2 -2
- package/dist/esm/{_object-sap-6a003379.js → _object-sap-4d59d5bd.js} +1 -1
- package/dist/esm/{_set-species-0b056cff.js → _set-species-cede29f8.js} +4 -4
- package/dist/esm/{_to-object-9bef3b62.js → _to-object-ded78eb9.js} +5 -5
- package/dist/esm/{asyncToGenerator-acd1cc47.js → asyncToGenerator-7c654f36.js} +8 -8
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/{core.get-iterator-method-1b116089.js → core.get-iterator-method-54d2e411.js} +2 -2
- package/dist/esm/{define-property-9a008401.js → define-property-de3fc946.js} +1 -1
- package/dist/esm/{defineProperty-ddd52c29.js → defineProperty-b798470d.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{es6.string.iterator-b24a54f2.js → es6.string.iterator-9b2af4a5.js} +3 -3
- package/dist/esm/{extends-c2b1c9d7.js → extends-cc5da797.js} +1 -1
- package/dist/esm/getRelatedArticle.js +71 -133
- package/dist/esm/getSerializers.js +41 -41
- package/dist/esm/{getTargeting-b1a7be54.js → getTargeting-2acdec91.js} +2 -2
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-669ff425.js → index-0e45a0b2.js} +33 -40
- package/dist/esm/{index-752d1dae.js → index-5f9f807a.js} +10 -10
- package/dist/esm/{index-3f5c03b2.js → index-73819142.js} +25 -31
- package/dist/esm/{index-b2d06f45.js → index-b2fb5cf2.js} +800 -816
- package/dist/esm/{index-ccb770c7.js → index-ef6d5dcf.js} +41 -40
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +106 -106
- package/dist/esm/{inherits-18d4a779.js → inherits-7ee3e0c1.js} +5 -5
- package/dist/esm/{keys-9bb7939c.js → keys-fc2d4c34.js} +2 -2
- package/dist/esm/{lodash-ad27652f.js → lodash-17fdfebb.js} +23 -72
- package/dist/esm/{main-ad1ecb54.js → main-35ff7b4f.js} +78 -113
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
- package/dist/esm/{slicedToArray-34468155.js → slicedToArray-7021e5df.js} +4 -4
- package/dist/esm/{smoothscroll-ab6e0238.js → smoothscroll-4b699764.js} +1 -1
- package/dist/esm/{stringify-8a4f19f7.js → stringify-008c8802.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-5212fee7.js → toConsumableArray-725434a0.js} +4 -4
- package/dist/esm/{typeof-64422756.js → typeof-08f2c380.js} +7 -7
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
- package/dist/esm/{web.dom.iterable-ca37144a.js → web.dom.iterable-8956f9a5.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-acd1cc47.js';
|
|
2
1
|
import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-59409a32.js';
|
|
6
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
7
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
8
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7c654f36.js';
|
|
9
|
+
import './_set-species-cede29f8.js';
|
|
3
10
|
import { c as cookie } from './index-db3bb315.js';
|
|
4
11
|
import getQuery from './getQuery.js';
|
|
5
|
-
import './es6.string.iterator-b24a54f2.js';
|
|
6
|
-
import './_to-object-9bef3b62.js';
|
|
7
|
-
import './web.dom.iterable-ca37144a.js';
|
|
8
|
-
import './_library-528f1934.js';
|
|
9
|
-
import './core.get-iterator-method-1b116089.js';
|
|
10
|
-
import './_set-species-0b056cff.js';
|
|
11
|
-
import './_iter-detect-d4d262ee.js';
|
|
12
12
|
|
|
13
13
|
var defaultParseOptions = {
|
|
14
14
|
decodeValues: true,
|
|
@@ -30,18 +30,9 @@ function parseString(setCookieValue, options) {
|
|
|
30
30
|
? Object.assign({}, defaultParseOptions, options)
|
|
31
31
|
: defaultParseOptions;
|
|
32
32
|
|
|
33
|
-
try {
|
|
34
|
-
value = options.decodeValues ? decodeURIComponent(value) : value; // decode cookie value
|
|
35
|
-
} catch (e) {
|
|
36
|
-
console.error(
|
|
37
|
-
`set-cookie-parser encountered an error while decoding a cookie with value '${value}'. Set options.decodeValues to false to disable this feature.`,
|
|
38
|
-
e
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
33
|
var cookie = {
|
|
43
34
|
name: name, // grab everything before the first =
|
|
44
|
-
value: value,
|
|
35
|
+
value: options.decodeValues ? decodeURIComponent(value) : value, // decode cookie value
|
|
45
36
|
};
|
|
46
37
|
|
|
47
38
|
parts.forEach(function (part) {
|
|
@@ -212,7 +203,7 @@ setCookie.parse = parse_1;
|
|
|
212
203
|
setCookie.parseString = parseString_1;
|
|
213
204
|
setCookie.splitCookiesString = splitCookiesString_1;
|
|
214
205
|
|
|
215
|
-
var
|
|
206
|
+
var dist = createCommonjsModule(function (module, exports) {
|
|
216
207
|
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
217
208
|
__assign = Object.assign || function(t) {
|
|
218
209
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -225,33 +216,10 @@ var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
|
225
216
|
return __assign.apply(this, arguments);
|
|
226
217
|
};
|
|
227
218
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
228
|
-
exports.
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
function isBrowser() {
|
|
233
|
-
return typeof window !== 'undefined';
|
|
234
|
-
}
|
|
235
|
-
exports.isBrowser = isBrowser;
|
|
236
|
-
/**
|
|
237
|
-
* Create an instance of the Cookie interface
|
|
238
|
-
*/
|
|
239
|
-
function createCookie(name, value, options) {
|
|
240
|
-
var sameSite = options.sameSite;
|
|
241
|
-
if (sameSite === true) {
|
|
242
|
-
sameSite = 'strict';
|
|
243
|
-
}
|
|
244
|
-
if (sameSite === undefined || sameSite === false) {
|
|
245
|
-
sameSite = 'lax';
|
|
246
|
-
}
|
|
247
|
-
var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
|
|
248
|
-
delete cookieToSet.encode;
|
|
249
|
-
return __assign({ name: name, value: value }, cookieToSet);
|
|
250
|
-
}
|
|
251
|
-
exports.createCookie = createCookie;
|
|
252
|
-
/**
|
|
253
|
-
* Tells whether given objects have the same properties.
|
|
254
|
-
*/
|
|
219
|
+
exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
var isBrowser = function () { return typeof window !== 'undefined'; };
|
|
255
223
|
function hasSameProperties(a, b) {
|
|
256
224
|
var aProps = Object.getOwnPropertyNames(a);
|
|
257
225
|
var bProps = Object.getOwnPropertyNames(b);
|
|
@@ -266,9 +234,8 @@ function hasSameProperties(a, b) {
|
|
|
266
234
|
}
|
|
267
235
|
return true;
|
|
268
236
|
}
|
|
269
|
-
exports.hasSameProperties = hasSameProperties;
|
|
270
237
|
/**
|
|
271
|
-
* Compare the cookie and return true if the cookies
|
|
238
|
+
* Compare the cookie and return true if the cookies has equivalent
|
|
272
239
|
* options and the cookies would be overwritten in the browser storage.
|
|
273
240
|
*
|
|
274
241
|
* @param a first Cookie for comparison
|
|
@@ -281,109 +248,71 @@ function areCookiesEqual(a, b) {
|
|
|
281
248
|
}
|
|
282
249
|
return (hasSameProperties(__assign(__assign({}, a), { sameSite: undefined }), __assign(__assign({}, b), { sameSite: undefined })) && sameSiteSame);
|
|
283
250
|
}
|
|
284
|
-
exports.areCookiesEqual = areCookiesEqual;
|
|
285
|
-
/* Functions */
|
|
286
|
-
|
|
287
|
-
});
|
|
288
|
-
|
|
289
|
-
unwrapExports(utils);
|
|
290
|
-
utils.areCookiesEqual;
|
|
291
|
-
utils.hasSameProperties;
|
|
292
|
-
utils.createCookie;
|
|
293
|
-
utils.isBrowser;
|
|
294
|
-
|
|
295
|
-
var dist = createCommonjsModule(function (module, exports) {
|
|
296
|
-
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
297
|
-
__assign = Object.assign || function(t) {
|
|
298
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
299
|
-
s = arguments[i];
|
|
300
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
301
|
-
t[p] = s[p];
|
|
302
|
-
}
|
|
303
|
-
return t;
|
|
304
|
-
};
|
|
305
|
-
return __assign.apply(this, arguments);
|
|
306
|
-
};
|
|
307
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
308
|
-
exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
251
|
/**
|
|
252
|
+
* Create an instance of the Cookie interface
|
|
253
|
+
*
|
|
254
|
+
* @param name name of the Cookie
|
|
255
|
+
* @param value value of the Cookie
|
|
256
|
+
* @param options Cookie options
|
|
257
|
+
*/
|
|
258
|
+
function createCookie(name, value, options) {
|
|
259
|
+
var sameSite = options.sameSite;
|
|
260
|
+
if (sameSite === true) {
|
|
261
|
+
sameSite = 'strict';
|
|
262
|
+
}
|
|
263
|
+
if (sameSite === undefined || sameSite === false) {
|
|
264
|
+
sameSite = 'lax';
|
|
265
|
+
}
|
|
266
|
+
var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
|
|
267
|
+
delete cookieToSet.encode;
|
|
268
|
+
return __assign({ name: name, value: value }, cookieToSet);
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
313
272
|
* Parses cookies.
|
|
314
273
|
*
|
|
315
|
-
* @param ctx
|
|
316
|
-
* @param options
|
|
274
|
+
* @param ctx
|
|
275
|
+
* @param options
|
|
317
276
|
*/
|
|
318
277
|
function parseCookies(ctx, options) {
|
|
319
|
-
|
|
320
|
-
if ((_b = (_a = ctx === null || ctx === void 0 ? void 0 : ctx.req) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b.cookie) {
|
|
278
|
+
if (ctx && ctx.req && ctx.req.headers && ctx.req.headers.cookie) {
|
|
321
279
|
return cookie.parse(ctx.req.headers.cookie, options);
|
|
322
280
|
}
|
|
323
|
-
if (
|
|
281
|
+
if (isBrowser()) {
|
|
324
282
|
return cookie.parse(document.cookie, options);
|
|
325
283
|
}
|
|
326
284
|
return {};
|
|
327
285
|
}
|
|
328
286
|
exports.parseCookies = parseCookies;
|
|
329
287
|
/**
|
|
288
|
+
*
|
|
330
289
|
* Sets a cookie.
|
|
331
290
|
*
|
|
332
|
-
* @param ctx
|
|
333
|
-
* @param name
|
|
334
|
-
* @param value
|
|
335
|
-
* @param options
|
|
291
|
+
* @param ctx
|
|
292
|
+
* @param name
|
|
293
|
+
* @param value
|
|
294
|
+
* @param options
|
|
336
295
|
*/
|
|
337
296
|
function setCookie$1(ctx, name, value, options) {
|
|
338
|
-
|
|
339
|
-
if (options === void 0) { options = {}; }
|
|
340
|
-
// SSR
|
|
341
|
-
if (((_a = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _a === void 0 ? void 0 : _a.getHeader) && ctx.res.setHeader) {
|
|
342
|
-
// Check if response has finished and warn about it.
|
|
343
|
-
if ((_b = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _b === void 0 ? void 0 : _b.finished) {
|
|
344
|
-
console.warn("Not setting \"" + name + "\" cookie. Response has finished.");
|
|
345
|
-
console.warn("You should set cookie before res.send()");
|
|
346
|
-
return {};
|
|
347
|
-
}
|
|
348
|
-
/**
|
|
349
|
-
* Load existing cookies from the header and parse them.
|
|
350
|
-
*/
|
|
297
|
+
if (ctx && ctx.res && ctx.res.getHeader && ctx.res.setHeader) {
|
|
351
298
|
var cookies = ctx.res.getHeader('Set-Cookie') || [];
|
|
352
299
|
if (typeof cookies === 'string')
|
|
353
300
|
cookies = [cookies];
|
|
354
301
|
if (typeof cookies === 'number')
|
|
355
302
|
cookies = [];
|
|
356
|
-
|
|
357
|
-
* Parse cookies but ignore values - we've already encoded
|
|
358
|
-
* them in the previous call.
|
|
359
|
-
*/
|
|
360
|
-
var parsedCookies = setCookie.parse(cookies, {
|
|
361
|
-
decodeValues: false,
|
|
362
|
-
});
|
|
363
|
-
/**
|
|
364
|
-
* We create the new cookie and make sure that none of
|
|
365
|
-
* the existing cookies match it.
|
|
366
|
-
*/
|
|
367
|
-
var newCookie_1 = utils.createCookie(name, value, options);
|
|
303
|
+
var parsedCookies = setCookie.parse(cookies);
|
|
368
304
|
var cookiesToSet_1 = [];
|
|
369
305
|
parsedCookies.forEach(function (parsedCookie) {
|
|
370
|
-
if (!
|
|
371
|
-
|
|
372
|
-
* We serialize the cookie back to the original format
|
|
373
|
-
* if it isn't the same as the new one.
|
|
374
|
-
*/
|
|
375
|
-
var serializedCookie = cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({
|
|
376
|
-
// we prevent reencoding by default, but you might override it
|
|
377
|
-
encode: function (val) { return val; } }, parsedCookie));
|
|
378
|
-
cookiesToSet_1.push(serializedCookie);
|
|
306
|
+
if (!areCookiesEqual(parsedCookie, createCookie(name, value, options))) {
|
|
307
|
+
cookiesToSet_1.push(cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({}, parsedCookie)));
|
|
379
308
|
}
|
|
380
309
|
});
|
|
381
310
|
cookiesToSet_1.push(cookie.serialize(name, value, options));
|
|
382
|
-
|
|
383
|
-
|
|
311
|
+
if (!ctx.res.finished) {
|
|
312
|
+
ctx.res.setHeader('Set-Cookie', cookiesToSet_1);
|
|
313
|
+
}
|
|
384
314
|
}
|
|
385
|
-
|
|
386
|
-
if (utils.isBrowser()) {
|
|
315
|
+
if (isBrowser()) {
|
|
387
316
|
if (options && options.httpOnly) {
|
|
388
317
|
throw new Error('Can not set a httpOnly cookie in the browser.');
|
|
389
318
|
}
|
|
@@ -393,21 +322,30 @@ function setCookie$1(ctx, name, value, options) {
|
|
|
393
322
|
}
|
|
394
323
|
exports.setCookie = setCookie$1;
|
|
395
324
|
/**
|
|
325
|
+
*
|
|
396
326
|
* Destroys a cookie with a particular name.
|
|
397
327
|
*
|
|
398
|
-
* @param ctx
|
|
399
|
-
* @param name
|
|
400
|
-
* @param options
|
|
328
|
+
* @param ctx
|
|
329
|
+
* @param name
|
|
330
|
+
* @param options
|
|
401
331
|
*/
|
|
402
332
|
function destroyCookie(ctx, name, options) {
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
333
|
+
var opts = __assign(__assign({}, (options || {})), { maxAge: -1 });
|
|
334
|
+
if (ctx && ctx.res && ctx.res.setHeader && ctx.res.getHeader) {
|
|
335
|
+
var cookies = ctx.res.getHeader('Set-Cookie') || [];
|
|
336
|
+
if (typeof cookies === 'string')
|
|
337
|
+
cookies = [cookies];
|
|
338
|
+
if (typeof cookies === 'number')
|
|
339
|
+
cookies = [];
|
|
340
|
+
cookies.push(cookie.serialize(name, '', opts));
|
|
341
|
+
ctx.res.setHeader('Set-Cookie', cookies);
|
|
342
|
+
}
|
|
343
|
+
if (isBrowser()) {
|
|
344
|
+
document.cookie = cookie.serialize(name, '', opts);
|
|
345
|
+
}
|
|
346
|
+
return {};
|
|
408
347
|
}
|
|
409
348
|
exports.destroyCookie = destroyCookie;
|
|
410
|
-
/* Utility Exports */
|
|
411
349
|
exports.default = {
|
|
412
350
|
set: setCookie$1,
|
|
413
351
|
get: parseCookies,
|
|
@@ -417,7 +355,7 @@ exports.default = {
|
|
|
417
355
|
});
|
|
418
356
|
|
|
419
357
|
unwrapExports(dist);
|
|
420
|
-
dist.destroyCookie;
|
|
358
|
+
var dist_1 = dist.destroyCookie;
|
|
421
359
|
var dist_2 = dist.setCookie;
|
|
422
360
|
var dist_3 = dist.parseCookies;
|
|
423
361
|
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import 'react';
|
|
2
|
-
export { g as default } from './index-b2d06f45.js';
|
|
3
|
-
import './BlockContent-d8cd739c.js';
|
|
4
|
-
import './entities-932b50cf.js';
|
|
5
|
-
import './slicedToArray-34468155.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './es6.string.iterator-
|
|
9
|
-
import './_to-object-9bef3b62.js';
|
|
10
|
-
import './core.get-iterator-method-1b116089.js';
|
|
11
|
-
import 'react-bootstrap';
|
|
12
|
-
import './index-3f5c03b2.js';
|
|
13
|
-
import './index-669ff425.js';
|
|
14
|
-
import 'prop-types';
|
|
15
|
-
import 'next/router';
|
|
16
|
-
import './smoothscroll-ab6e0238.js';
|
|
17
|
-
import './util-3ab476bf.js';
|
|
18
|
-
import './Beam.js';
|
|
19
|
-
import './stringify-8a4f19f7.js';
|
|
20
|
-
import './asyncToGenerator-acd1cc47.js';
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
21
4
|
import './_library-528f1934.js';
|
|
22
|
-
import './
|
|
23
|
-
import './
|
|
24
|
-
import './
|
|
25
|
-
import './main-ad1ecb54.js';
|
|
26
|
-
import './extends-c2b1c9d7.js';
|
|
5
|
+
import './_iter-detect-59409a32.js';
|
|
6
|
+
import './toConsumableArray-725434a0.js';
|
|
7
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
27
8
|
import './_object-pie-71ac75a4.js';
|
|
28
|
-
import './
|
|
9
|
+
import './extends-cc5da797.js';
|
|
10
|
+
import './_object-sap-4d59d5bd.js';
|
|
11
|
+
import './inherits-7ee3e0c1.js';
|
|
12
|
+
import './define-property-de3fc946.js';
|
|
13
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
14
|
+
import './typeof-08f2c380.js';
|
|
15
|
+
import './_is-array-49698029.js';
|
|
16
|
+
import 'react';
|
|
17
|
+
import './index-0e45a0b2.js';
|
|
18
|
+
import 'prop-types';
|
|
19
|
+
import 'react-bootstrap/Row';
|
|
20
|
+
import 'react-bootstrap/Col';
|
|
21
|
+
import './moment-e2f9b20c.js';
|
|
22
|
+
import 'next/router';
|
|
23
|
+
import './isSymbol-807e927e.js';
|
|
24
|
+
import './debounce-1a993acf.js';
|
|
29
25
|
import 'react-dom';
|
|
30
|
-
import './
|
|
31
|
-
import './
|
|
32
|
-
import './
|
|
26
|
+
import './index-73819142.js';
|
|
27
|
+
import './index-5f9f807a.js';
|
|
28
|
+
import './main-35ff7b4f.js';
|
|
29
|
+
import './entities-7cc3bf45.js';
|
|
30
|
+
import './stringify-008c8802.js';
|
|
31
|
+
import './slicedToArray-7021e5df.js';
|
|
32
|
+
import './asyncToGenerator-7c654f36.js';
|
|
33
|
+
import './_set-species-cede29f8.js';
|
|
34
|
+
import './Segment.js';
|
|
35
|
+
import './Beam.js';
|
|
36
|
+
import './AdSlot.js';
|
|
37
|
+
import './BlockContent-e9b4ddcf.js';
|
|
38
|
+
import './smoothscroll-4b699764.js';
|
|
33
39
|
import './GroupDeck.js';
|
|
34
|
-
import '
|
|
35
|
-
import './
|
|
36
|
-
import '
|
|
40
|
+
import 'react-bootstrap';
|
|
41
|
+
import './iconBase-602d52fe.js';
|
|
42
|
+
import './index.esm-29e48d38.js';
|
|
37
43
|
import 'react-bootstrap/Button';
|
|
38
|
-
|
|
39
|
-
import './
|
|
40
|
-
import './
|
|
41
|
-
import 'react-bootstrap/
|
|
42
|
-
import 'react-bootstrap/Col';
|
|
44
|
+
export { g as default } from './index-b2fb5cf2.js';
|
|
45
|
+
import './util-7700fc59.js';
|
|
46
|
+
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
47
|
+
import 'react-bootstrap/Pagination';
|
|
43
48
|
import 'next/head';
|
|
44
|
-
import './inherits-18d4a779.js';
|
|
45
|
-
import './_object-sap-6a003379.js';
|
|
46
|
-
import './define-property-9a008401.js';
|
|
47
|
-
import './index.esm-3fdda599.js';
|
|
48
|
-
import './iconBase-602d52fe.js';
|
|
49
49
|
import 'react-bootstrap/Figure';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { _ as
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-725434a0.js';
|
|
2
|
+
import { _ as _extends } from './extends-cc5da797.js';
|
|
3
3
|
|
|
4
4
|
var getContentPlacementUrl = function getContentPlacementUrl(cp) {
|
|
5
5
|
var cp_url = '';
|
package/dist/esm/getTargeting.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import './extends-c2b1c9d7.js';
|
|
2
|
-
import './toConsumableArray-5212fee7.js';
|
|
3
|
-
export { g as default } from './getTargeting-b1a7be54.js';
|
|
4
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
-
import './_to-object-
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_iter-detect-59409a32.js';
|
|
5
|
+
import './toConsumableArray-725434a0.js';
|
|
6
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
6
7
|
import './_object-pie-71ac75a4.js';
|
|
7
|
-
import './
|
|
8
|
-
|
|
9
|
-
import './core.get-iterator-method-1b116089.js';
|
|
8
|
+
import './extends-cc5da797.js';
|
|
9
|
+
export { g as default } from './getTargeting-2acdec91.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
|
|
5
5
|
var domain;
|
|
@@ -502,7 +502,7 @@ function loadGPTScript() {
|
|
|
502
502
|
});
|
|
503
503
|
|
|
504
504
|
unwrapExports(utils);
|
|
505
|
-
utils.loadGPTScript;
|
|
505
|
+
var utils_1 = utils.loadGPTScript;
|
|
506
506
|
|
|
507
507
|
var manager = createCommonjsModule(function (module, exports) {
|
|
508
508
|
|
|
@@ -722,8 +722,6 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
|
|
|
722
722
|
|
|
723
723
|
return new Promise(function (resolve) {
|
|
724
724
|
_this3.getGoogletag().then(function (googletag) {
|
|
725
|
-
_this3.configureInitialOptions(googletag);
|
|
726
|
-
|
|
727
725
|
slotsToInitialize.forEach(function (currentSlotId) {
|
|
728
726
|
registeredSlots[currentSlotId].loading = false;
|
|
729
727
|
googletag.cmd.push(function () {
|
|
@@ -787,25 +785,14 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
|
|
|
787
785
|
});
|
|
788
786
|
});
|
|
789
787
|
},
|
|
790
|
-
// configure those gpt parameters that need to be set before pubsads service
|
|
791
|
-
// initialization.
|
|
792
|
-
configureInitialOptions: function configureInitialOptions(googletag) {
|
|
793
|
-
var _this4 = this;
|
|
794
|
-
|
|
795
|
-
googletag.cmd.push(function () {
|
|
796
|
-
if (_this4.disableInitialLoadIsEnabled()) {
|
|
797
|
-
googletag.pubads().disableInitialLoad();
|
|
798
|
-
}
|
|
799
|
-
});
|
|
800
|
-
},
|
|
801
788
|
configureOptions: function configureOptions(googletag) {
|
|
802
|
-
var
|
|
789
|
+
var _this4 = this;
|
|
803
790
|
|
|
804
791
|
googletag.cmd.push(function () {
|
|
805
792
|
var pubadsService = googletag.pubads();
|
|
806
|
-
pubadsService.setRequestNonPersonalizedAds(
|
|
793
|
+
pubadsService.setRequestNonPersonalizedAds(_this4.personalizedAdsEnabled() ? 0 : 1);
|
|
807
794
|
|
|
808
|
-
var targetingArguments =
|
|
795
|
+
var targetingArguments = _this4.getTargetingArguments(); // set global targetting arguments
|
|
809
796
|
|
|
810
797
|
|
|
811
798
|
Object.keys(targetingArguments).forEach(function (varName) {
|
|
@@ -814,28 +801,34 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
|
|
|
814
801
|
}
|
|
815
802
|
}); // set global adSense attributes
|
|
816
803
|
|
|
817
|
-
var adSenseAttributes =
|
|
804
|
+
var adSenseAttributes = _this4.getAdSenseAttributes();
|
|
818
805
|
|
|
819
806
|
Object.keys(adSenseAttributes).forEach(function (key) {
|
|
820
807
|
pubadsService.set(key, adSenseAttributes[key]);
|
|
821
808
|
});
|
|
822
809
|
|
|
823
|
-
if (
|
|
824
|
-
var
|
|
810
|
+
if (_this4.lazyLoadIsEnabled()) {
|
|
811
|
+
var args = [];
|
|
825
812
|
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
813
|
+
var config = _this4.getLazyLoadConfig();
|
|
814
|
+
|
|
815
|
+
if (config !== null) {
|
|
816
|
+
args.push(config);
|
|
830
817
|
}
|
|
818
|
+
|
|
819
|
+
pubadsService.enableLazyLoad.call(args);
|
|
831
820
|
}
|
|
832
821
|
|
|
833
|
-
if (
|
|
822
|
+
if (_this4.singleRequestIsEnabled()) {
|
|
834
823
|
pubadsService.enableSingleRequest();
|
|
835
824
|
}
|
|
836
825
|
|
|
837
|
-
if (
|
|
838
|
-
pubadsService.
|
|
826
|
+
if (_this4.disableInitialLoadIsEnabled()) {
|
|
827
|
+
pubadsService.disableInitialLoad();
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
if (_this4.collapseEmptyDivs === true || _this4.collapseEmptyDivs === false) {
|
|
831
|
+
pubadsService.collapseEmptyDivs(_this4.collapseEmptyDivs);
|
|
839
832
|
}
|
|
840
833
|
});
|
|
841
834
|
},
|
|
@@ -877,10 +870,10 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
|
|
|
877
870
|
}
|
|
878
871
|
},
|
|
879
872
|
gptRefreshAds: function gptRefreshAds(slots) {
|
|
880
|
-
var
|
|
873
|
+
var _this5 = this;
|
|
881
874
|
|
|
882
875
|
return this.getGoogletag().then(function (googletag) {
|
|
883
|
-
|
|
876
|
+
_this5.configureOptions(googletag);
|
|
884
877
|
|
|
885
878
|
googletag.cmd.push(function () {
|
|
886
879
|
var pubadsService = googletag.pubads();
|
|
@@ -891,14 +884,14 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
|
|
|
891
884
|
});
|
|
892
885
|
},
|
|
893
886
|
reload: function reload() {
|
|
894
|
-
var
|
|
887
|
+
var _this6 = this;
|
|
895
888
|
|
|
896
889
|
return this.destroyGPTSlots.apply(this, arguments).then(function () {
|
|
897
|
-
return
|
|
890
|
+
return _this6.load();
|
|
898
891
|
});
|
|
899
892
|
},
|
|
900
893
|
destroyGPTSlots: function destroyGPTSlots() {
|
|
901
|
-
var
|
|
894
|
+
var _this7 = this;
|
|
902
895
|
|
|
903
896
|
for (var _len4 = arguments.length, slotsToDestroy = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
904
897
|
slotsToDestroy[_key4] = arguments[_key4];
|
|
@@ -918,7 +911,7 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
|
|
|
918
911
|
slots.push(slot);
|
|
919
912
|
}
|
|
920
913
|
|
|
921
|
-
|
|
914
|
+
_this7.getGoogletag().then(function (googletag) {
|
|
922
915
|
googletag.cmd.push(function () {
|
|
923
916
|
if (managerAlreadyInitialized === true) {
|
|
924
917
|
if (slotsToDestroy.length > 0) {
|
|
@@ -941,7 +934,7 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
|
|
|
941
934
|
});
|
|
942
935
|
},
|
|
943
936
|
registerSlot: function registerSlot(_ref) {
|
|
944
|
-
var
|
|
937
|
+
var _this8 = this;
|
|
945
938
|
|
|
946
939
|
var slotId = _ref.slotId,
|
|
947
940
|
dfpNetworkId = _ref.dfpNetworkId,
|
|
@@ -980,7 +973,7 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
|
|
|
980
973
|
gptSlot = slot.gptSlot;
|
|
981
974
|
|
|
982
975
|
if (loading === false && !gptSlot) {
|
|
983
|
-
|
|
976
|
+
_this8.load(slotId);
|
|
984
977
|
}
|
|
985
978
|
}
|
|
986
979
|
});
|
|
@@ -1027,7 +1020,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1027
1020
|
});
|
|
1028
1021
|
exports.default = exports.Context = void 0;
|
|
1029
1022
|
|
|
1030
|
-
var _react = _interopRequireDefault(
|
|
1023
|
+
var _react = _interopRequireDefault(React__default);
|
|
1031
1024
|
|
|
1032
1025
|
var _propTypes = _interopRequireDefault(PropTypes);
|
|
1033
1026
|
|
|
@@ -1326,7 +1319,7 @@ if (Context === null) {
|
|
|
1326
1319
|
});
|
|
1327
1320
|
|
|
1328
1321
|
unwrapExports(dfpslotsprovider);
|
|
1329
|
-
dfpslotsprovider.Context;
|
|
1322
|
+
var dfpslotsprovider_1 = dfpslotsprovider.Context;
|
|
1330
1323
|
|
|
1331
1324
|
var adslot = createCommonjsModule(function (module, exports) {
|
|
1332
1325
|
|
|
@@ -1335,7 +1328,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1335
1328
|
});
|
|
1336
1329
|
exports.default = exports.AdSlot = void 0;
|
|
1337
1330
|
|
|
1338
|
-
var _react = _interopRequireDefault(
|
|
1331
|
+
var _react = _interopRequireDefault(React__default);
|
|
1339
1332
|
|
|
1340
1333
|
var _propTypes = _interopRequireDefault(PropTypes);
|
|
1341
1334
|
|
|
@@ -1622,7 +1615,7 @@ exports.default = _default;
|
|
|
1622
1615
|
});
|
|
1623
1616
|
|
|
1624
1617
|
unwrapExports(adslot);
|
|
1625
|
-
adslot.AdSlot;
|
|
1618
|
+
var adslot_1 = adslot.AdSlot;
|
|
1626
1619
|
|
|
1627
1620
|
var lib = createCommonjsModule(function (module, exports) {
|
|
1628
1621
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
3
|
-
import reactDom from 'react-dom';
|
|
2
|
+
import React__default from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
4
|
+
import reactDom from 'react-dom';
|
|
5
5
|
|
|
6
6
|
var event = createCommonjsModule(function (module, exports) {
|
|
7
7
|
|
|
@@ -32,8 +32,8 @@ function off(el, eventName, callback, opts) {
|
|
|
32
32
|
});
|
|
33
33
|
|
|
34
34
|
unwrapExports(event);
|
|
35
|
-
event.on;
|
|
36
|
-
event.off;
|
|
35
|
+
var event_1 = event.on;
|
|
36
|
+
var event_2 = event.off;
|
|
37
37
|
|
|
38
38
|
var scrollParent = createCommonjsModule(function (module, exports) {
|
|
39
39
|
|
|
@@ -179,7 +179,7 @@ var _createClass = function () { function defineProperties(target, props) { for
|
|
|
179
179
|
|
|
180
180
|
|
|
181
181
|
|
|
182
|
-
var _react2 = _interopRequireDefault(
|
|
182
|
+
var _react2 = _interopRequireDefault(React__default);
|
|
183
183
|
|
|
184
184
|
|
|
185
185
|
|
|
@@ -530,7 +530,7 @@ var LazyLoad = function (_Component) {
|
|
|
530
530
|
}]);
|
|
531
531
|
|
|
532
532
|
return LazyLoad;
|
|
533
|
-
}(
|
|
533
|
+
}(React__default.Component);
|
|
534
534
|
|
|
535
535
|
LazyLoad.propTypes = {
|
|
536
536
|
once: _propTypes2.default.bool,
|
|
@@ -587,7 +587,7 @@ var decorator = function decorator() {
|
|
|
587
587
|
}]);
|
|
588
588
|
|
|
589
589
|
return LazyLoadDecorated;
|
|
590
|
-
}(
|
|
590
|
+
}(React__default.Component);
|
|
591
591
|
};
|
|
592
592
|
};
|
|
593
593
|
|
|
@@ -598,8 +598,8 @@ exports.forceVisible = forceVisible;
|
|
|
598
598
|
});
|
|
599
599
|
|
|
600
600
|
var LazyLoad = unwrapExports(lib);
|
|
601
|
-
lib.forceVisible;
|
|
602
|
-
lib.forceCheck;
|
|
603
|
-
lib.lazyload;
|
|
601
|
+
var lib_1 = lib.forceVisible;
|
|
602
|
+
var lib_2 = lib.forceCheck;
|
|
603
|
+
var lib_3 = lib.lazyload;
|
|
604
604
|
|
|
605
605
|
export { LazyLoad as L };
|