@mjhls/mjh-framework 1.0.1005-next12-0001 → 1.0.1005-next12-0003
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/dist/cjs/AD-898996a0.js +1 -0
- package/dist/cjs/AD.js +1 -32
- package/dist/cjs/AD300x250-266996c8.js +1 -0
- package/dist/cjs/AD300x250.js +1 -95
- package/dist/cjs/AD300x250x600-f5ccbeef.js +1 -0
- package/dist/cjs/AD300x250x600.js +1 -112
- package/dist/cjs/AD728x90-cfaa3590.js +1 -0
- package/dist/cjs/AD728x90.js +1 -109
- package/dist/cjs/ADFloatingFooter-6a82d5a0.js +1 -0
- package/dist/cjs/ADFloatingFooter.js +1 -143
- package/dist/cjs/ADFooter-86087810.js +1 -0
- package/dist/cjs/ADFooter.js +1 -53
- package/dist/cjs/ADGutter-c2fafa7d.js +1 -0
- package/dist/cjs/ADGutter.js +1 -115
- package/dist/cjs/ADInfeed-f496a8f6.js +1 -0
- package/dist/cjs/ADSkyscraper-dcea8c02.js +1 -0
- package/dist/cjs/ADSkyscraper.js +1 -117
- package/dist/cjs/ADSponsoredResources-b3c41d02.js +1 -0
- package/dist/cjs/ADSponsoredResources.js +1 -114
- package/dist/cjs/ADWebcast-cd4cb6eb.js +1 -0
- package/dist/cjs/ADWebcast.js +1 -119
- package/dist/cjs/ADWelcome-62c95f83.js +1 -0
- package/dist/cjs/ADWelcome.js +1 -166
- package/dist/cjs/ADlgInfeed-01f5ef1b.js +1 -0
- package/dist/cjs/AccordionPanel-9a3ea5e9.js +1 -0
- package/dist/cjs/AccordionPanel.js +1 -94
- package/dist/cjs/AdSlot-d541f28d.js +1 -0
- package/dist/cjs/AdSlot.js +1 -251
- package/dist/cjs/AdSlotsProvider-2e4f7f6f.js +1 -0
- package/dist/cjs/AdSlotsProvider.js +1 -183
- package/dist/cjs/AlgoliaSearch-8eab2349.js +1 -0
- package/dist/cjs/AlgoliaSearch.js +1 -195
- package/dist/cjs/AlphabeticList-a86a341f.js +1 -0
- package/dist/cjs/AlphabeticList.js +1 -135
- package/dist/cjs/ArticleCarousel-75b7d666.js +1 -0
- package/dist/cjs/ArticleCarousel.js +1 -46
- package/dist/cjs/ArticleProgramLandingPage-c22f8d23.js +1 -0
- package/dist/cjs/ArticleProgramLandingPage.js +1 -188
- package/dist/cjs/ArticleSeriesLandingPage-5225aa96.js +1 -0
- package/dist/cjs/ArticleSeriesLandingPage.js +1 -162
- package/dist/cjs/ArticleSeriesListing-be79214a.js +1 -0
- package/dist/cjs/ArticleSeriesListing.js +1 -315
- package/dist/cjs/Auth.js +1 -3514
- package/dist/cjs/AuthWrapper.js +1 -143
- package/dist/cjs/AuthorComponent-91032070.js +1 -0
- package/dist/cjs/Beam.js +1 -350
- package/dist/cjs/Breadcrumbs-ad264db7.js +1 -0
- package/dist/cjs/Breadcrumbs.js +1 -107
- package/dist/cjs/CMEDeck-c58e524e.js +1 -0
- package/dist/cjs/CMEDeck.js +1 -443
- package/dist/cjs/Column1-9a0e0262.js +1 -0
- package/dist/cjs/Column1.js +1 -39
- package/dist/cjs/Column2-739faed9.js +1 -0
- package/dist/cjs/Column2.js +1 -74
- package/dist/cjs/Column3-fa7c056f.js +1 -0
- package/dist/cjs/Column3.js +1 -143
- package/dist/cjs/ConferenceArticleCard-4f472e4b.js +1 -0
- package/dist/cjs/ConferenceArticleCard.js +1 -93
- package/dist/cjs/ConferenceBanner-9fb497af.js +1 -0
- package/dist/cjs/ContentCard-94a11e61.js +1 -0
- package/dist/cjs/ContentCardPaginated.js +1 -417
- package/dist/cjs/DeckContent.js +1 -507
- package/dist/cjs/DeckQueue.js +1 -403
- package/dist/cjs/DeckQueuePaginated.js +1 -348
- package/dist/cjs/Dfp-6d5370e2.js +1 -0
- package/dist/cjs/DropdownButton-469c179c.js +6 -0
- package/dist/cjs/Dvm-d7766f28.js +1 -0
- package/dist/cjs/EventsDeck-6f4dae1e.js +1 -0
- package/dist/cjs/EventsDeck.js +1 -884
- package/dist/cjs/ExternalResources-e965dd3d.js +1 -0
- package/dist/cjs/ExternalResources.js +1 -222
- package/dist/cjs/Feature-3cf45f11.js +1 -0
- package/dist/cjs/Feature.js +1 -129
- package/dist/cjs/ForbesHero-741e751e.js +1 -0
- package/dist/cjs/ForbesHero.js +1 -137
- package/dist/cjs/GridContent-ffe6735d.js +1 -0
- package/dist/cjs/GridContent.js +1 -828
- package/dist/cjs/GridContentPaginated.js +1 -704
- package/dist/cjs/GridHero-80338231.js +1 -0
- package/dist/cjs/GridHero.js +1 -147
- package/dist/cjs/GroupDeck-f3b67f3d.js +1 -0
- package/dist/cjs/GroupDeck.js +1 -314
- package/dist/cjs/HamMagazine.js +1 -602
- package/dist/cjs/HamburgerNav-ef1d1832.js +1 -0
- package/dist/cjs/Header-268a2cda.js +1 -0
- package/dist/cjs/Header.js +1 -39
- package/dist/cjs/HealthCareProfessionalModal.js +1 -78
- package/dist/cjs/Hero-43574b9d.js +1 -0
- package/dist/cjs/Hero.js +1 -48
- package/dist/cjs/HighlightenVideo-20edba55.js +1 -0
- package/dist/cjs/HighlightenVideo.js +1 -69
- package/dist/cjs/HorizontalArticleListing-906f5b20.js +1 -0
- package/dist/cjs/HorizontalArticleListing.js +1 -169
- package/dist/cjs/HorizontalHero-7911527d.js +1 -0
- package/dist/cjs/HorizontalHero.js +1 -111
- package/dist/cjs/ImageSlider-1b09bc59.js +1 -0
- package/dist/cjs/IssueContentDeck-f79e2c82.js +1 -0
- package/dist/cjs/IssueContentDeck.js +1 -241
- package/dist/cjs/IssueDeck-e41a10eb.js +1 -0
- package/dist/cjs/IssueDeck.js +1 -268
- package/dist/cjs/IssueLanding-89e0e42f.js +1 -0
- package/dist/cjs/IssueLanding.js +1 -176
- package/dist/cjs/KMTracker-4e1de793.js +1 -0
- package/dist/cjs/KMTracker.js +1 -27
- package/dist/cjs/LeftNav-1f40f0cc.js +1 -0
- package/dist/cjs/LeftNav.js +1 -154
- package/dist/cjs/Magazine-93dc6beb.js +1 -0
- package/dist/cjs/MasterDeck-65dd366b.js +1 -0
- package/dist/cjs/MasterDeck.js +1 -555
- package/dist/cjs/MasterDeckPaginated.js +1 -469
- package/dist/cjs/MediaSeriesCard-8ae50064.js +1 -0
- package/dist/cjs/MediaSeriesLanding.js +1 -508
- package/dist/cjs/MediaSeriesLandingPaginated.js +1 -534
- package/dist/cjs/Native-d1a75938.js +1 -0
- package/dist/cjs/NavDvm.js +1 -276
- package/dist/cjs/NavFooter-f905aca3.js +1 -0
- package/dist/cjs/NavMagazine.js +1 -613
- package/dist/cjs/NavNative.js +1 -880
- package/dist/cjs/Normal-1e9c0fa8.js +1 -0
- package/dist/cjs/OncliveHero-3fb41e1f.js +1 -0
- package/dist/cjs/OncliveHero.js +1 -79
- package/dist/cjs/OncliveLargeHero-c538ea20.js +1 -0
- package/dist/cjs/OncliveLargeHero.js +1 -241
- package/dist/cjs/PageFilter-4bb08c20.js +1 -0
- package/dist/cjs/PageFilter.js +1 -72
- package/dist/cjs/Pagination-825e4903.js +1 -0
- package/dist/cjs/PartnerDetailListing-f849c242.js +1 -0
- package/dist/cjs/PartnerDetailListing.js +1 -344
- package/dist/cjs/PartnerDetailListingPaginated.js +1 -353
- package/dist/cjs/PdfDownload-c99142ff.js +1 -0
- package/dist/cjs/PdfDownload.js +1 -28
- package/dist/cjs/PixelTracking.js +1 -165
- package/dist/cjs/PodcastsLanding.js +1 -236
- package/dist/cjs/PopUpModal-7cc1667b.js +1 -0
- package/dist/cjs/PopUpModal.js +1 -58
- package/dist/cjs/PtceDeck.js +1 -149
- package/dist/cjs/PubSection-e962964d.js +1 -0
- package/dist/cjs/PubSection.js +1 -120
- package/dist/cjs/PubToc-e2ff1533.js +1 -0
- package/dist/cjs/PubToc.js +1 -87
- package/dist/cjs/PublicationDeck-fd0d582f.js +1 -0
- package/dist/cjs/PublicationDeck.js +1 -183
- package/dist/cjs/PublicationFeature-00d7d119.js +1 -0
- package/dist/cjs/PublicationLanding-a8b90432.js +1 -0
- package/dist/cjs/PublicationLanding.js +1 -853
- package/dist/cjs/Queue-6872841c.js +1 -0
- package/dist/cjs/QueueDeckExpanded-b5dd6cda.js +1 -0
- package/dist/cjs/QueueDeckExpanded.js +1 -1540
- package/dist/cjs/QueueDeckExpandedPaginated.js +1 -1388
- package/dist/cjs/RecentNews.js +1 -91
- package/dist/cjs/RelatedContent-fa1fdaf1.js +1 -0
- package/dist/cjs/RelatedContent.js +1 -114
- package/dist/cjs/RelatedTopicsDropdown-4736b927.js +1 -0
- package/dist/cjs/RelatedTopicsDropdown.js +1 -90
- package/dist/cjs/RolesDeck-83cbb45e.js +1 -0
- package/dist/cjs/RolesDeck.js +1 -94
- package/dist/cjs/Schema-5c66c5cd.js +1 -0
- package/dist/cjs/Schema.js +1 -103
- package/dist/cjs/Search.js +1 -66
- package/dist/cjs/Segment.js +1 -452
- package/dist/cjs/SeriesListingDeck.js +1 -248
- package/dist/cjs/SeriesSlider-72fde209.js +1 -0
- package/dist/cjs/SetCookie.js +1 -10
- package/dist/cjs/SideFooter-2b3625c9.js +1 -0
- package/dist/cjs/SideFooter.js +1 -150
- package/dist/cjs/SocialIcons-425827d3.js +1 -0
- package/dist/cjs/SocialIcons.js +1 -103
- package/dist/cjs/SocialNavFooter-8f053a08.js +1 -0
- package/dist/cjs/SocialSearchComponent-3dc5405e.js +1 -0
- package/dist/cjs/SocialShare-3d7c8abe.js +1 -0
- package/dist/cjs/SocialShare.js +1 -74
- package/dist/cjs/TaxonomyCard-ca56a7b2.js +1 -0
- package/dist/cjs/TaxonomyCard.js +1 -257
- package/dist/cjs/TaxonomyDescription-becc5cc5.js +1 -0
- package/dist/cjs/TaxonomyDescription.js +1 -209
- package/dist/cjs/TemplateNormal.js +1 -203
- package/dist/cjs/ThumbnailCard-25c9e37b.js +1 -0
- package/dist/cjs/ThumbnailCard.js +1 -59
- package/dist/cjs/Ustream-e85bed96.js +1 -0
- package/dist/cjs/Ustream.js +1 -156
- package/dist/cjs/VerticalHero-ef71262f.js +1 -0
- package/dist/cjs/VerticalHero.js +1 -74
- package/dist/cjs/VideoProgramLandingPage-bcef4cda.js +1 -0
- package/dist/cjs/VideoProgramLandingPage.js +1 -264
- package/dist/cjs/VideoSeriesCard.js +1 -88
- package/dist/cjs/VideoSeriesFilter-c45505be.js +1 -0
- package/dist/cjs/VideoSeriesFilter.js +1 -128
- package/dist/cjs/VideoSeriesLandingPage-7e199b48.js +1 -0
- package/dist/cjs/VideoSeriesLandingPage.js +1 -178
- package/dist/cjs/VideoSeriesListing-0d8ffc18.js +1 -0
- package/dist/cjs/VideoSeriesListing.js +1 -422
- package/dist/cjs/View.js +1 -2680
- package/dist/cjs/YahooHero-5cce225b.js +1 -0
- package/dist/cjs/YahooHero.js +1 -126
- package/dist/cjs/YoutubeGroup-d36b3e49.js +1 -0
- package/dist/cjs/YoutubeGroup.js +1 -371
- package/dist/cjs/_commonjsHelpers-0a7b82d9.js +1 -0
- package/dist/cjs/beam-6940aa8c.js +1 -0
- package/dist/cjs/checkSisterSite-d2d62375.js +1 -0
- package/dist/cjs/defineProperty-3cad0327.js +1 -0
- package/dist/cjs/entities-6106638a.js +1 -0
- package/dist/cjs/extends-f8003900.js +1 -0
- package/dist/cjs/faundadb.js +1 -406
- package/dist/cjs/getContentCategory-ee6d9fdf.js +1 -0
- package/dist/cjs/getKeywords-5341ea76.js +1 -0
- package/dist/cjs/getKeywords.js +1 -46
- package/dist/cjs/getPrototypeOf-e5dabebb.js +1 -0
- package/dist/cjs/getPtceActivities.js +1 -89
- package/dist/cjs/getQuery-154617ad.js +1 -0
- package/dist/cjs/getQuery.js +1 -28
- package/dist/cjs/getRelatedArticle-1008e957.js +1 -0
- package/dist/cjs/getRelatedArticle.js +1 -478
- package/dist/cjs/getRootDocGroup.js +1 -62
- package/dist/cjs/getSerializers.js +1 -68
- package/dist/cjs/getSeriesDetail-e2980903.js +1 -0
- package/dist/cjs/getSeriesDetail.js +1 -40
- package/dist/cjs/getTargeting-3b9a1da0.js +1 -0
- package/dist/cjs/getTargeting.js +1 -13
- package/dist/cjs/index-4c0b6033.js +1 -0
- package/dist/cjs/index-6e1fba48.js +1 -0
- package/dist/cjs/index-83bcf60c.js +1 -0
- package/dist/cjs/index-efb74633.js +1 -0
- package/dist/cjs/index.js +1 -643
- package/dist/cjs/searchForm-2a06a0a6.js +1 -0
- package/dist/cjs/segment-lib-1c52764b.js +1 -0
- package/dist/cjs/setCookie-e72f573d.js +1 -0
- package/dist/cjs/slicedToArray-e6d9072a.js +1 -0
- package/dist/cjs/style-inject.es-dcee06b6.js +1 -30
- package/dist/cjs/timeDifferenceCalc.js +1 -39
- package/dist/cjs/toConsumableArray-bf649f24.js +1 -0
- package/dist/cjs/typeof-5f2c4427.js +1 -0
- package/dist/cjs/unsupportedIterableToArray-a6f9513d.js +1 -0
- package/dist/cjs/urlFor-ca017581.js +1 -0
- package/dist/cjs/urlFor.js +1 -65
- package/dist/cjs/urlForFile-266cd07c.js +1 -0
- package/dist/cjs/ustream-api-05a918f3.js +1 -0
- package/dist/esm/AD-52252475.js +1 -0
- package/dist/esm/AD.js +1 -26
- package/dist/esm/AD300x250-6ba14878.js +1 -0
- package/dist/esm/AD300x250.js +1 -89
- package/dist/esm/AD300x250x600-371610a9.js +1 -0
- package/dist/esm/AD300x250x600.js +1 -106
- package/dist/esm/AD728x90-22304c6a.js +1 -0
- package/dist/esm/AD728x90.js +1 -103
- package/dist/esm/ADFloatingFooter-57571461.js +1 -0
- package/dist/esm/ADFloatingFooter.js +1 -137
- package/dist/esm/ADFooter-def97764.js +1 -0
- package/dist/esm/ADFooter.js +1 -47
- package/dist/esm/ADGutter-05ea5a24.js +1 -0
- package/dist/esm/ADGutter.js +1 -109
- package/dist/esm/ADInfeed-20197eba.js +1 -0
- package/dist/esm/ADSkyscraper-d992d7aa.js +1 -0
- package/dist/esm/ADSkyscraper.js +1 -111
- package/dist/esm/ADSponsoredResources-169c4989.js +1 -0
- package/dist/esm/ADSponsoredResources.js +1 -108
- package/dist/esm/ADWebcast-aa6c2a84.js +1 -0
- package/dist/esm/ADWebcast.js +1 -113
- package/dist/esm/ADWelcome-be877a73.js +1 -0
- package/dist/esm/ADWelcome.js +1 -160
- package/dist/esm/ADlgInfeed-180f8b7e.js +1 -0
- package/dist/esm/AccordionPanel-4c89ec1e.js +1 -0
- package/dist/esm/AccordionPanel.js +1 -87
- package/dist/esm/AdSlot-7c2daad3.js +1 -0
- package/dist/esm/AdSlot.js +1 -244
- package/dist/esm/AdSlotsProvider-565c5169.js +1 -0
- package/dist/esm/AdSlotsProvider.js +1 -176
- package/dist/esm/AlgoliaSearch-a4af9d6e.js +1 -0
- package/dist/esm/AlgoliaSearch.js +1 -188
- package/dist/esm/AlphabeticList-fcf0c93c.js +1 -0
- package/dist/esm/AlphabeticList.js +1 -129
- package/dist/esm/ArticleCarousel-62e593d2.js +1 -0
- package/dist/esm/ArticleCarousel.js +1 -40
- package/dist/esm/ArticleProgramLandingPage-0618efa4.js +1 -0
- package/dist/esm/ArticleProgramLandingPage.js +1 -182
- package/dist/esm/ArticleSeriesLandingPage-764a8206.js +1 -0
- package/dist/esm/ArticleSeriesLandingPage.js +1 -156
- package/dist/esm/ArticleSeriesListing-017388bd.js +1 -0
- package/dist/esm/ArticleSeriesListing.js +1 -308
- package/dist/esm/Auth.js +1 -3494
- package/dist/esm/AuthWrapper.js +1 -136
- package/dist/esm/AuthorComponent-4bb0a577.js +1 -0
- package/dist/esm/Beam.js +1 -348
- package/dist/esm/Breadcrumbs-11913dcf.js +1 -0
- package/dist/esm/Breadcrumbs.js +1 -100
- package/dist/esm/CMEDeck-d11e05c6.js +1 -0
- package/dist/esm/CMEDeck.js +1 -437
- package/dist/esm/Column1-3304e0a7.js +1 -0
- package/dist/esm/Column1.js +1 -29
- package/dist/esm/Column2-216e1b74.js +1 -0
- package/dist/esm/Column2.js +1 -64
- package/dist/esm/Column3-0799b8d1.js +1 -0
- package/dist/esm/Column3.js +1 -133
- package/dist/esm/ConferenceArticleCard-c8ebc4c5.js +1 -0
- package/dist/esm/ConferenceArticleCard.js +1 -87
- package/dist/esm/ConferenceBanner-8a6f3ed9.js +1 -0
- package/dist/esm/ContentCard-b326f8e0.js +1 -0
- package/dist/esm/ContentCardPaginated.js +1 -406
- package/dist/esm/DeckContent.js +1 -497
- package/dist/esm/DeckQueue.js +1 -393
- package/dist/esm/DeckQueuePaginated.js +1 -337
- package/dist/esm/Dfp-5935bfb4.js +1 -0
- package/dist/esm/DropdownButton-07c4dfae.js +6 -0
- package/dist/esm/Dvm-f67220c0.js +1 -0
- package/dist/esm/EventsDeck-f0ffda78.js +1 -0
- package/dist/esm/EventsDeck.js +1 -871
- package/dist/esm/ExternalResources-075e250c.js +1 -0
- package/dist/esm/ExternalResources.js +1 -215
- package/dist/esm/Feature-0c2c0b2d.js +1 -0
- package/dist/esm/Feature.js +1 -122
- package/dist/esm/ForbesHero-ec644354.js +1 -0
- package/dist/esm/ForbesHero.js +1 -131
- package/dist/esm/GridContent-99a1bfc4.js +1 -0
- package/dist/esm/GridContent.js +1 -818
- package/dist/esm/GridContentPaginated.js +1 -693
- package/dist/esm/GridHero-fd6a363f.js +1 -0
- package/dist/esm/GridHero.js +1 -141
- package/dist/esm/GroupDeck-c173accb.js +1 -0
- package/dist/esm/GroupDeck.js +1 -308
- package/dist/esm/HamMagazine.js +1 -590
- package/dist/esm/HamburgerNav-134f2aa6.js +1 -0
- package/dist/esm/Header-b0624adc.js +1 -0
- package/dist/esm/Header.js +1 -30
- package/dist/esm/HealthCareProfessionalModal.js +1 -70
- package/dist/esm/Hero-37edbb29.js +1 -0
- package/dist/esm/Hero.js +1 -42
- package/dist/esm/HighlightenVideo-5c3fd0fd.js +1 -0
- package/dist/esm/HighlightenVideo.js +1 -63
- package/dist/esm/HorizontalArticleListing-820bb4f7.js +1 -0
- package/dist/esm/HorizontalArticleListing.js +1 -163
- package/dist/esm/HorizontalHero-7576d927.js +1 -0
- package/dist/esm/HorizontalHero.js +1 -105
- package/dist/esm/ImageSlider-a0786266.js +1 -0
- package/dist/esm/IssueContentDeck-9d771cc2.js +1 -0
- package/dist/esm/IssueContentDeck.js +1 -231
- package/dist/esm/IssueDeck-787f939c.js +1 -0
- package/dist/esm/IssueDeck.js +1 -258
- package/dist/esm/IssueLanding-0e46e28d.js +1 -0
- package/dist/esm/IssueLanding.js +1 -170
- package/dist/esm/KMTracker-d9e1c288.js +1 -0
- package/dist/esm/KMTracker.js +1 -25
- package/dist/esm/LeftNav-b4fa0d0b.js +1 -0
- package/dist/esm/LeftNav.js +1 -145
- package/dist/esm/Magazine-fb80c07a.js +1 -0
- package/dist/esm/MasterDeck-5efbeb73.js +1 -0
- package/dist/esm/MasterDeck.js +1 -548
- package/dist/esm/MasterDeckPaginated.js +1 -461
- package/dist/esm/MediaSeriesCard-18ee909f.js +1 -0
- package/dist/esm/MediaSeriesLanding.js +1 -501
- package/dist/esm/MediaSeriesLandingPaginated.js +1 -527
- package/dist/esm/Native-41cedb31.js +1 -0
- package/dist/esm/NavDvm.js +1 -264
- package/dist/esm/NavFooter-83d89acd.js +1 -0
- package/dist/esm/NavMagazine.js +1 -601
- package/dist/esm/NavNative.js +1 -865
- package/dist/esm/Normal-28f50540.js +1 -0
- package/dist/esm/OncliveHero-525c9d19.js +1 -0
- package/dist/esm/OncliveHero.js +1 -73
- package/dist/esm/OncliveLargeHero-219b4577.js +1 -0
- package/dist/esm/OncliveLargeHero.js +1 -235
- package/dist/esm/PageFilter-7f97f8ed.js +1 -0
- package/dist/esm/PageFilter.js +1 -66
- package/dist/esm/Pagination-44c3ff7c.js +1 -0
- package/dist/esm/PartnerDetailListing-7ec391ac.js +1 -0
- package/dist/esm/PartnerDetailListing.js +1 -338
- package/dist/esm/PartnerDetailListingPaginated.js +1 -347
- package/dist/esm/PdfDownload-eff648d3.js +1 -0
- package/dist/esm/PdfDownload.js +1 -22
- package/dist/esm/PixelTracking.js +1 -156
- package/dist/esm/PodcastsLanding.js +1 -229
- package/dist/esm/PopUpModal-bf7b6151.js +1 -0
- package/dist/esm/PopUpModal.js +1 -51
- package/dist/esm/PtceDeck.js +1 -143
- package/dist/esm/PubSection-37b37129.js +1 -0
- package/dist/esm/PubSection.js +1 -114
- package/dist/esm/PubToc-af66289b.js +1 -0
- package/dist/esm/PubToc.js +1 -81
- package/dist/esm/PublicationDeck-cbef1029.js +1 -0
- package/dist/esm/PublicationDeck.js +1 -173
- package/dist/esm/PublicationFeature-13838b92.js +1 -0
- package/dist/esm/PublicationLanding-3d724d91.js +1 -0
- package/dist/esm/PublicationLanding.js +1 -843
- package/dist/esm/Queue-bb3f3625.js +1 -0
- package/dist/esm/QueueDeckExpanded-6af47534.js +1 -0
- package/dist/esm/QueueDeckExpanded.js +1 -1534
- package/dist/esm/QueueDeckExpandedPaginated.js +1 -1382
- package/dist/esm/RecentNews.js +1 -85
- package/dist/esm/RelatedContent-85ad1d8e.js +1 -0
- package/dist/esm/RelatedContent.js +1 -108
- package/dist/esm/RelatedTopicsDropdown-0cf5829a.js +1 -0
- package/dist/esm/RelatedTopicsDropdown.js +1 -82
- package/dist/esm/RolesDeck-6146633e.js +1 -0
- package/dist/esm/RolesDeck.js +1 -84
- package/dist/esm/Schema-e0d1fc48.js +1 -0
- package/dist/esm/Schema.js +1 -97
- package/dist/esm/Search.js +1 -57
- package/dist/esm/Segment.js +1 -450
- package/dist/esm/SeriesListingDeck.js +1 -242
- package/dist/esm/SeriesSlider-21d0daf6.js +1 -0
- package/dist/esm/SetCookie.js +1 -8
- package/dist/esm/SideFooter-2f08df74.js +1 -0
- package/dist/esm/SideFooter.js +1 -144
- package/dist/esm/SocialIcons-c7861c13.js +1 -0
- package/dist/esm/SocialIcons.js +1 -97
- package/dist/esm/SocialNavFooter-66c6cf3c.js +1 -0
- package/dist/esm/SocialSearchComponent-a4fa0609.js +1 -0
- package/dist/esm/SocialShare-9cc43665.js +1 -0
- package/dist/esm/SocialShare.js +1 -67
- package/dist/esm/TaxonomyCard-f7ac379f.js +1 -0
- package/dist/esm/TaxonomyCard.js +1 -247
- package/dist/esm/TaxonomyDescription-32abd442.js +1 -0
- package/dist/esm/TaxonomyDescription.js +1 -202
- package/dist/esm/TemplateNormal.js +1 -196
- package/dist/esm/ThumbnailCard-8377176b.js +1 -0
- package/dist/esm/ThumbnailCard.js +1 -52
- package/dist/esm/Ustream-2e9965ac.js +1 -0
- package/dist/esm/Ustream.js +1 -150
- package/dist/esm/VerticalHero-5719a7c4.js +1 -0
- package/dist/esm/VerticalHero.js +1 -68
- package/dist/esm/VideoProgramLandingPage-9b20c066.js +1 -0
- package/dist/esm/VideoProgramLandingPage.js +1 -255
- package/dist/esm/VideoSeriesCard.js +1 -82
- package/dist/esm/VideoSeriesFilter-2ce9ff0e.js +1 -0
- package/dist/esm/VideoSeriesFilter.js +1 -122
- package/dist/esm/VideoSeriesLandingPage-1f6b5f71.js +1 -0
- package/dist/esm/VideoSeriesLandingPage.js +1 -172
- package/dist/esm/VideoSeriesListing-72688d44.js +1 -0
- package/dist/esm/VideoSeriesListing.js +1 -415
- package/dist/esm/View.js +1 -2669
- package/dist/esm/YahooHero-96f912cb.js +1 -0
- package/dist/esm/YahooHero.js +1 -120
- package/dist/esm/YoutubeGroup-fdd46eeb.js +1 -0
- package/dist/esm/YoutubeGroup.js +1 -365
- package/dist/esm/_commonjsHelpers-57e89916.js +1 -0
- package/dist/esm/beam-cf274172.js +1 -0
- package/dist/esm/checkSisterSite-20e2bf62.js +1 -0
- package/dist/esm/defineProperty-9f9de5d0.js +1 -0
- package/dist/esm/entities-c5c3079c.js +1 -0
- package/dist/esm/extends-464f0b6e.js +1 -0
- package/dist/esm/faundadb.js +1 -396
- package/dist/esm/getContentCategory-f99fdf90.js +1 -0
- package/dist/esm/getKeywords-2512775a.js +1 -0
- package/dist/esm/getKeywords.js +1 -44
- package/dist/esm/getPrototypeOf-5b57bbdd.js +1 -0
- package/dist/esm/getPtceActivities.js +1 -87
- package/dist/esm/getQuery-bfc0390c.js +1 -0
- package/dist/esm/getQuery.js +1 -26
- package/dist/esm/getRelatedArticle-418087a7.js +1 -0
- package/dist/esm/getRelatedArticle.js +1 -476
- package/dist/esm/getRootDocGroup.js +1 -60
- package/dist/esm/getSerializers.js +1 -62
- package/dist/esm/getSeriesDetail-aef9680c.js +1 -0
- package/dist/esm/getSeriesDetail.js +1 -38
- package/dist/esm/getTargeting-6bf24d0e.js +1 -0
- package/dist/esm/getTargeting.js +1 -7
- package/dist/esm/index-58183fed.js +1 -0
- package/dist/esm/index-663f3f10.js +1 -0
- package/dist/esm/index-bfecdbef.js +1 -0
- package/dist/esm/index-fcd6d5f7.js +1 -0
- package/dist/esm/index.js +1 -536
- package/dist/esm/searchForm-3f3f5af6.js +1 -0
- package/dist/esm/segment-lib-563b26a6.js +1 -0
- package/dist/esm/setCookie-0f2ab6df.js +1 -0
- package/dist/esm/slicedToArray-c92cae3a.js +1 -0
- package/dist/esm/style-inject.es-1f59c1d0.js +1 -28
- package/dist/esm/timeDifferenceCalc.js +1 -37
- package/dist/esm/toConsumableArray-25e5c43c.js +1 -0
- package/dist/esm/typeof-a0b2b621.js +1 -0
- package/dist/esm/unsupportedIterableToArray-dc74e326.js +1 -0
- package/dist/esm/urlFor-b366f69d.js +1 -0
- package/dist/esm/urlFor.js +1 -63
- package/dist/esm/urlForFile-272819a6.js +1 -0
- package/dist/esm/ustream-api-7998d140.js +1 -0
- package/package.json +21 -20
- package/dist/cjs/ADInfeed-08a6ef56.js +0 -66
- package/dist/cjs/ADlgInfeed-f46139b2.js +0 -60
- package/dist/cjs/AuthorComponent-17e1c62b.js +0 -96
- package/dist/cjs/BlockContent-8b494587.js +0 -916
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/Dfp-bcaa7e3f.js +0 -103
- package/dist/cjs/ImageSlider-10cd194f.js +0 -1383
- package/dist/cjs/MediaSeriesCard-a6e3f32e.js +0 -81
- package/dist/cjs/NavFooter-4799de4b.js +0 -71
- package/dist/cjs/Pagination-7624a3bd.js +0 -90
- package/dist/cjs/PublicationFeature-6f89fb97.js +0 -130
- package/dist/cjs/SeriesSlider-08699353.js +0 -332
- package/dist/cjs/SocialSearchComponent-59192efd.js +0 -213
- package/dist/cjs/Tooltip-7be5df78.js +0 -9229
- package/dist/cjs/_commonjsHelpers-06173234.js +0 -25
- package/dist/cjs/_is-array-aa52fa1e.js +0 -74
- package/dist/cjs/_iter-detect-05795553.js +0 -52
- package/dist/cjs/_library-dd23b178.js +0 -5
- package/dist/cjs/_object-pie-68c5bcbc.js +0 -16
- package/dist/cjs/_object-sap-171b9ea5.js +0 -16
- package/dist/cjs/_object-to-array-9bac8737.js +0 -25
- package/dist/cjs/asyncToGenerator-df19209d.js +0 -1395
- package/dist/cjs/brightcove-react-player-loader.es-5c98aec7.js +0 -2232
- package/dist/cjs/checkSisterSite-b29833b2.js +0 -19
- package/dist/cjs/core.get-iterator-method-f3c44602.js +0 -584
- package/dist/cjs/debounce-529c8d06.js +0 -216
- package/dist/cjs/define-property-21887c62.js +0 -20
- package/dist/cjs/entities-310b46ee.js +0 -506
- package/dist/cjs/eq-bb2843ed.js +0 -79
- package/dist/cjs/extends-7df78678.js +0 -86
- package/dist/cjs/get-adbb11e3.js +0 -920
- package/dist/cjs/getContentCategory-f38a4c00.js +0 -11
- package/dist/cjs/getTargeting-5eabd6e2.js +0 -164
- package/dist/cjs/iconBase-68959171.js +0 -84
- package/dist/cjs/index-187c967e.js +0 -54
- package/dist/cjs/index-44481153.js +0 -1664
- package/dist/cjs/index-99edf08a.js +0 -1572
- package/dist/cjs/index-9d365128.js +0 -613
- package/dist/cjs/index-b278e08f.js +0 -10526
- package/dist/cjs/index-b5eb3ff8.js +0 -551
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/cjs/index.es-f3e47207.js +0 -445
- package/dist/cjs/index.esm-44f3e2d0.js +0 -13
- package/dist/cjs/index.esm-48e0f0d8.js +0 -19
- package/dist/cjs/index.esm-f4cf6943.js +0 -97
- package/dist/cjs/index.esm-f93506ac.js +0 -25
- package/dist/cjs/inherits-420ee86f.js +0 -185
- package/dist/cjs/isSymbol-04666465.js +0 -209
- package/dist/cjs/js.cookie-a511c430.js +0 -160
- package/dist/cjs/keys-d207942e.js +0 -25
- package/dist/cjs/lodash-7fd85bcf.js +0 -17147
- package/dist/cjs/main-7b5e57b0.js +0 -898
- package/dist/cjs/md5-e1ca5797.js +0 -323
- package/dist/cjs/moment-ca3bd9fb.js +0 -5669
- package/dist/cjs/react-social-icons-07939b41.js +0 -616
- package/dist/cjs/slicedToArray-f6d4eaa8.js +0 -95
- package/dist/cjs/smoothscroll-5054361f.js +0 -438
- package/dist/cjs/stringify-bbc68047.js +0 -17
- package/dist/cjs/toConsumableArray-c9b8a0d0.js +0 -74
- package/dist/cjs/toNumber-36d1e7e5.js +0 -69
- package/dist/cjs/typeof-ec08d471.js +0 -382
- package/dist/cjs/urlForFile-ad96158c.js +0 -24
- package/dist/cjs/ustream-api-9ebe112f.js +0 -106
- package/dist/cjs/util-f2c1b65b.js +0 -576
- package/dist/cjs/visibility-sensor-eb2c5b69.js +0 -597
- package/dist/cjs/web.dom.iterable-e34bf324.js +0 -50
- package/dist/esm/ADInfeed-36973a76.js +0 -59
- package/dist/esm/ADlgInfeed-f6e898d5.js +0 -54
- package/dist/esm/AuthorComponent-b0a47123.js +0 -90
- package/dist/esm/BlockContent-d05b5b23.js +0 -909
- package/dist/esm/ConferenceBanner-9162d0ca.js +0 -18
- package/dist/esm/Dfp-e151d2de.js +0 -96
- package/dist/esm/ImageSlider-5ae6287a.js +0 -1375
- package/dist/esm/MediaSeriesCard-66045ffb.js +0 -75
- package/dist/esm/NavFooter-da30eae3.js +0 -65
- package/dist/esm/Pagination-1e09918f.js +0 -82
- package/dist/esm/PublicationFeature-0379cc20.js +0 -121
- package/dist/esm/SeriesSlider-b364d074.js +0 -326
- package/dist/esm/SocialSearchComponent-09b55779.js +0 -204
- package/dist/esm/Tooltip-af3e4ee9.js +0 -9220
- package/dist/esm/_commonjsHelpers-0c4b6f40.js +0 -19
- package/dist/esm/_is-array-31d40a83.js +0 -71
- package/dist/esm/_iter-detect-72edfd60.js +0 -48
- package/dist/esm/_library-528f1934.js +0 -3
- package/dist/esm/_object-pie-33c40e79.js +0 -13
- package/dist/esm/_object-sap-4201ccf6.js +0 -14
- package/dist/esm/_object-to-array-fa0feeff.js +0 -23
- package/dist/esm/asyncToGenerator-9c835201.js +0 -1387
- package/dist/esm/brightcove-react-player-loader.es-4abff0b1.js +0 -2226
- package/dist/esm/checkSisterSite-baa4fb6b.js +0 -17
- package/dist/esm/core.get-iterator-method-8c71f470.js +0 -547
- package/dist/esm/debounce-9207d8ee.js +0 -214
- package/dist/esm/define-property-a8a00786.js +0 -18
- package/dist/esm/entities-7cc3bf45.js +0 -503
- package/dist/esm/eq-b470f743.js +0 -76
- package/dist/esm/extends-7fbbe94e.js +0 -83
- package/dist/esm/get-1e515072.js +0 -918
- package/dist/esm/getContentCategory-15dcc413.js +0 -9
- package/dist/esm/getTargeting-eed01f73.js +0 -161
- package/dist/esm/iconBase-602d52fe.js +0 -81
- package/dist/esm/index-1819118a.js +0 -1655
- package/dist/esm/index-3a7c5bbe.js +0 -10504
- package/dist/esm/index-51a80699.js +0 -548
- package/dist/esm/index-6c12bdd5.js +0 -605
- package/dist/esm/index-c7e2ac95.js +0 -52
- package/dist/esm/index-db3bb315.js +0 -207
- package/dist/esm/index-fa2ffe86.js +0 -1570
- package/dist/esm/index.es-c6222053.js +0 -439
- package/dist/esm/index.esm-55f22b35.js +0 -14
- package/dist/esm/index.esm-9d701385.js +0 -90
- package/dist/esm/index.esm-c6715e80.js +0 -10
- package/dist/esm/index.esm-d1125763.js +0 -18
- package/dist/esm/inherits-d26c739e.js +0 -179
- package/dist/esm/isSymbol-1981418f.js +0 -203
- package/dist/esm/js.cookie-6874175c.js +0 -158
- package/dist/esm/keys-5e9bd229.js +0 -23
- package/dist/esm/lodash-ec8c6b48.js +0 -17145
- package/dist/esm/main-43ca42fe.js +0 -886
- package/dist/esm/md5-4e42248e.js +0 -321
- package/dist/esm/moment-b6f49411.js +0 -5667
- package/dist/esm/react-social-icons-3822f1ce.js +0 -609
- package/dist/esm/slicedToArray-99bcfd93.js +0 -92
- package/dist/esm/smoothscroll-0cd4c7a6.js +0 -436
- package/dist/esm/stringify-0c65d837.js +0 -15
- package/dist/esm/toConsumableArray-47a5394a.js +0 -71
- package/dist/esm/toNumber-2f7a84cd.js +0 -67
- package/dist/esm/typeof-d92ed6e0.js +0 -378
- package/dist/esm/urlForFile-0fc42ed8.js +0 -22
- package/dist/esm/ustream-api-cbba615a.js +0 -104
- package/dist/esm/util-7700fc59.js +0 -574
- package/dist/esm/visibility-sensor-f40c2564.js +0 -590
- package/dist/esm/web.dom.iterable-406140e0.js +0 -48
|
@@ -1,476 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './core.get-iterator-method-8c71f470.js';
|
|
3
|
-
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-72edfd60.js';
|
|
5
|
-
import './web.dom.iterable-406140e0.js';
|
|
6
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9c835201.js';
|
|
7
|
-
import { c as cookie } from './index-db3bb315.js';
|
|
8
|
-
import getQuery from './getQuery.js';
|
|
9
|
-
|
|
10
|
-
var defaultParseOptions = {
|
|
11
|
-
decodeValues: true,
|
|
12
|
-
map: false,
|
|
13
|
-
silent: false,
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
function isNonEmptyString(str) {
|
|
17
|
-
return typeof str === "string" && !!str.trim();
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function parseString(setCookieValue, options) {
|
|
21
|
-
var parts = setCookieValue.split(";").filter(isNonEmptyString);
|
|
22
|
-
var nameValue = parts.shift().split("=");
|
|
23
|
-
var name = nameValue.shift();
|
|
24
|
-
var value = nameValue.join("="); // everything after the first =, joined by a "=" if there was more than one part
|
|
25
|
-
|
|
26
|
-
options = options
|
|
27
|
-
? Object.assign({}, defaultParseOptions, options)
|
|
28
|
-
: defaultParseOptions;
|
|
29
|
-
|
|
30
|
-
var cookie = {
|
|
31
|
-
name: name, // grab everything before the first =
|
|
32
|
-
value: options.decodeValues ? decodeURIComponent(value) : value, // decode cookie value
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
parts.forEach(function (part) {
|
|
36
|
-
var sides = part.split("=");
|
|
37
|
-
var key = sides.shift().trimLeft().toLowerCase();
|
|
38
|
-
var value = sides.join("=");
|
|
39
|
-
if (key === "expires") {
|
|
40
|
-
cookie.expires = new Date(value);
|
|
41
|
-
} else if (key === "max-age") {
|
|
42
|
-
cookie.maxAge = parseInt(value, 10);
|
|
43
|
-
} else if (key === "secure") {
|
|
44
|
-
cookie.secure = true;
|
|
45
|
-
} else if (key === "httponly") {
|
|
46
|
-
cookie.httpOnly = true;
|
|
47
|
-
} else if (key === "samesite") {
|
|
48
|
-
cookie.sameSite = value;
|
|
49
|
-
} else {
|
|
50
|
-
cookie[key] = value;
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
return cookie;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
function parse(input, options) {
|
|
58
|
-
options = options
|
|
59
|
-
? Object.assign({}, defaultParseOptions, options)
|
|
60
|
-
: defaultParseOptions;
|
|
61
|
-
|
|
62
|
-
if (!input) {
|
|
63
|
-
if (!options.map) {
|
|
64
|
-
return [];
|
|
65
|
-
} else {
|
|
66
|
-
return {};
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
if (input.headers && input.headers["set-cookie"]) {
|
|
71
|
-
// fast-path for node.js (which automatically normalizes header names to lower-case
|
|
72
|
-
input = input.headers["set-cookie"];
|
|
73
|
-
} else if (input.headers) {
|
|
74
|
-
// slow-path for other environments - see #25
|
|
75
|
-
var sch =
|
|
76
|
-
input.headers[
|
|
77
|
-
Object.keys(input.headers).find(function (key) {
|
|
78
|
-
return key.toLowerCase() === "set-cookie";
|
|
79
|
-
})
|
|
80
|
-
];
|
|
81
|
-
// warn if called on a request-like object with a cookie header rather than a set-cookie header - see #34, 36
|
|
82
|
-
if (!sch && input.headers.cookie && !options.silent) {
|
|
83
|
-
console.warn(
|
|
84
|
-
"Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
input = sch;
|
|
88
|
-
}
|
|
89
|
-
if (!Array.isArray(input)) {
|
|
90
|
-
input = [input];
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
options = options
|
|
94
|
-
? Object.assign({}, defaultParseOptions, options)
|
|
95
|
-
: defaultParseOptions;
|
|
96
|
-
|
|
97
|
-
if (!options.map) {
|
|
98
|
-
return input.filter(isNonEmptyString).map(function (str) {
|
|
99
|
-
return parseString(str, options);
|
|
100
|
-
});
|
|
101
|
-
} else {
|
|
102
|
-
var cookies = {};
|
|
103
|
-
return input.filter(isNonEmptyString).reduce(function (cookies, str) {
|
|
104
|
-
var cookie = parseString(str, options);
|
|
105
|
-
cookies[cookie.name] = cookie;
|
|
106
|
-
return cookies;
|
|
107
|
-
}, cookies);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/*
|
|
112
|
-
Set-Cookie header field-values are sometimes comma joined in one string. This splits them without choking on commas
|
|
113
|
-
that are within a single set-cookie field-value, such as in the Expires portion.
|
|
114
|
-
|
|
115
|
-
This is uncommon, but explicitly allowed - see https://tools.ietf.org/html/rfc2616#section-4.2
|
|
116
|
-
Node.js does this for every header *except* set-cookie - see https://github.com/nodejs/node/blob/d5e363b77ebaf1caf67cd7528224b651c86815c1/lib/_http_incoming.js#L128
|
|
117
|
-
React Native's fetch does this for *every* header, including set-cookie.
|
|
118
|
-
|
|
119
|
-
Based on: https://github.com/google/j2objc/commit/16820fdbc8f76ca0c33472810ce0cb03d20efe25
|
|
120
|
-
Credits to: https://github.com/tomball for original and https://github.com/chrusart for JavaScript implementation
|
|
121
|
-
*/
|
|
122
|
-
function splitCookiesString(cookiesString) {
|
|
123
|
-
if (Array.isArray(cookiesString)) {
|
|
124
|
-
return cookiesString;
|
|
125
|
-
}
|
|
126
|
-
if (typeof cookiesString !== "string") {
|
|
127
|
-
return [];
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
var cookiesStrings = [];
|
|
131
|
-
var pos = 0;
|
|
132
|
-
var start;
|
|
133
|
-
var ch;
|
|
134
|
-
var lastComma;
|
|
135
|
-
var nextStart;
|
|
136
|
-
var cookiesSeparatorFound;
|
|
137
|
-
|
|
138
|
-
function skipWhitespace() {
|
|
139
|
-
while (pos < cookiesString.length && /\s/.test(cookiesString.charAt(pos))) {
|
|
140
|
-
pos += 1;
|
|
141
|
-
}
|
|
142
|
-
return pos < cookiesString.length;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
function notSpecialChar() {
|
|
146
|
-
ch = cookiesString.charAt(pos);
|
|
147
|
-
|
|
148
|
-
return ch !== "=" && ch !== ";" && ch !== ",";
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
while (pos < cookiesString.length) {
|
|
152
|
-
start = pos;
|
|
153
|
-
cookiesSeparatorFound = false;
|
|
154
|
-
|
|
155
|
-
while (skipWhitespace()) {
|
|
156
|
-
ch = cookiesString.charAt(pos);
|
|
157
|
-
if (ch === ",") {
|
|
158
|
-
// ',' is a cookie separator if we have later first '=', not ';' or ','
|
|
159
|
-
lastComma = pos;
|
|
160
|
-
pos += 1;
|
|
161
|
-
|
|
162
|
-
skipWhitespace();
|
|
163
|
-
nextStart = pos;
|
|
164
|
-
|
|
165
|
-
while (pos < cookiesString.length && notSpecialChar()) {
|
|
166
|
-
pos += 1;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
// currently special character
|
|
170
|
-
if (pos < cookiesString.length && cookiesString.charAt(pos) === "=") {
|
|
171
|
-
// we found cookies separator
|
|
172
|
-
cookiesSeparatorFound = true;
|
|
173
|
-
// pos is inside the next cookie, so back up and return it.
|
|
174
|
-
pos = nextStart;
|
|
175
|
-
cookiesStrings.push(cookiesString.substring(start, lastComma));
|
|
176
|
-
start = pos;
|
|
177
|
-
} else {
|
|
178
|
-
// in param ',' or param separator ';',
|
|
179
|
-
// we continue from that comma
|
|
180
|
-
pos = lastComma + 1;
|
|
181
|
-
}
|
|
182
|
-
} else {
|
|
183
|
-
pos += 1;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
if (!cookiesSeparatorFound || pos >= cookiesString.length) {
|
|
188
|
-
cookiesStrings.push(cookiesString.substring(start, cookiesString.length));
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
return cookiesStrings;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
var setCookie = parse;
|
|
196
|
-
var parse_1 = parse;
|
|
197
|
-
var parseString_1 = parseString;
|
|
198
|
-
var splitCookiesString_1 = splitCookiesString;
|
|
199
|
-
setCookie.parse = parse_1;
|
|
200
|
-
setCookie.parseString = parseString_1;
|
|
201
|
-
setCookie.splitCookiesString = splitCookiesString_1;
|
|
202
|
-
|
|
203
|
-
var dist = createCommonjsModule(function (module, exports) {
|
|
204
|
-
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
205
|
-
__assign = Object.assign || function(t) {
|
|
206
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
207
|
-
s = arguments[i];
|
|
208
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
209
|
-
t[p] = s[p];
|
|
210
|
-
}
|
|
211
|
-
return t;
|
|
212
|
-
};
|
|
213
|
-
return __assign.apply(this, arguments);
|
|
214
|
-
};
|
|
215
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
216
|
-
exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
var isBrowser = function () { return typeof window !== 'undefined'; };
|
|
220
|
-
function hasSameProperties(a, b) {
|
|
221
|
-
var aProps = Object.getOwnPropertyNames(a);
|
|
222
|
-
var bProps = Object.getOwnPropertyNames(b);
|
|
223
|
-
if (aProps.length !== bProps.length) {
|
|
224
|
-
return false;
|
|
225
|
-
}
|
|
226
|
-
for (var i = 0; i < aProps.length; i++) {
|
|
227
|
-
var propName = aProps[i];
|
|
228
|
-
if (a[propName] !== b[propName]) {
|
|
229
|
-
return false;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
return true;
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* Compare the cookie and return true if the cookies has equivalent
|
|
236
|
-
* options and the cookies would be overwritten in the browser storage.
|
|
237
|
-
*
|
|
238
|
-
* @param a first Cookie for comparison
|
|
239
|
-
* @param b second Cookie for comparison
|
|
240
|
-
*/
|
|
241
|
-
function areCookiesEqual(a, b) {
|
|
242
|
-
var sameSiteSame = a.sameSite === b.sameSite;
|
|
243
|
-
if (typeof a.sameSite === 'string' && typeof b.sameSite === 'string') {
|
|
244
|
-
sameSiteSame = a.sameSite.toLowerCase() === b.sameSite.toLowerCase();
|
|
245
|
-
}
|
|
246
|
-
return (hasSameProperties(__assign(__assign({}, a), { sameSite: undefined }), __assign(__assign({}, b), { sameSite: undefined })) && sameSiteSame);
|
|
247
|
-
}
|
|
248
|
-
/**
|
|
249
|
-
* Create an instance of the Cookie interface
|
|
250
|
-
*
|
|
251
|
-
* @param name name of the Cookie
|
|
252
|
-
* @param value value of the Cookie
|
|
253
|
-
* @param options Cookie options
|
|
254
|
-
*/
|
|
255
|
-
function createCookie(name, value, options) {
|
|
256
|
-
var sameSite = options.sameSite;
|
|
257
|
-
if (sameSite === true) {
|
|
258
|
-
sameSite = 'strict';
|
|
259
|
-
}
|
|
260
|
-
if (sameSite === undefined || sameSite === false) {
|
|
261
|
-
sameSite = 'lax';
|
|
262
|
-
}
|
|
263
|
-
var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
|
|
264
|
-
delete cookieToSet.encode;
|
|
265
|
-
return __assign({ name: name, value: value }, cookieToSet);
|
|
266
|
-
}
|
|
267
|
-
/**
|
|
268
|
-
*
|
|
269
|
-
* Parses cookies.
|
|
270
|
-
*
|
|
271
|
-
* @param ctx
|
|
272
|
-
* @param options
|
|
273
|
-
*/
|
|
274
|
-
function parseCookies(ctx, options) {
|
|
275
|
-
if (ctx && ctx.req && ctx.req.headers && ctx.req.headers.cookie) {
|
|
276
|
-
return cookie.parse(ctx.req.headers.cookie, options);
|
|
277
|
-
}
|
|
278
|
-
if (isBrowser()) {
|
|
279
|
-
return cookie.parse(document.cookie, options);
|
|
280
|
-
}
|
|
281
|
-
return {};
|
|
282
|
-
}
|
|
283
|
-
exports.parseCookies = parseCookies;
|
|
284
|
-
/**
|
|
285
|
-
*
|
|
286
|
-
* Sets a cookie.
|
|
287
|
-
*
|
|
288
|
-
* @param ctx
|
|
289
|
-
* @param name
|
|
290
|
-
* @param value
|
|
291
|
-
* @param options
|
|
292
|
-
*/
|
|
293
|
-
function setCookie$1(ctx, name, value, options) {
|
|
294
|
-
if (ctx && ctx.res && ctx.res.getHeader && ctx.res.setHeader) {
|
|
295
|
-
var cookies = ctx.res.getHeader('Set-Cookie') || [];
|
|
296
|
-
if (typeof cookies === 'string')
|
|
297
|
-
cookies = [cookies];
|
|
298
|
-
if (typeof cookies === 'number')
|
|
299
|
-
cookies = [];
|
|
300
|
-
var parsedCookies = setCookie.parse(cookies);
|
|
301
|
-
var cookiesToSet_1 = [];
|
|
302
|
-
parsedCookies.forEach(function (parsedCookie) {
|
|
303
|
-
if (!areCookiesEqual(parsedCookie, createCookie(name, value, options))) {
|
|
304
|
-
cookiesToSet_1.push(cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({}, parsedCookie)));
|
|
305
|
-
}
|
|
306
|
-
});
|
|
307
|
-
cookiesToSet_1.push(cookie.serialize(name, value, options));
|
|
308
|
-
if (!ctx.res.finished) {
|
|
309
|
-
ctx.res.setHeader('Set-Cookie', cookiesToSet_1);
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
if (isBrowser()) {
|
|
313
|
-
if (options && options.httpOnly) {
|
|
314
|
-
throw new Error('Can not set a httpOnly cookie in the browser.');
|
|
315
|
-
}
|
|
316
|
-
document.cookie = cookie.serialize(name, value, options);
|
|
317
|
-
}
|
|
318
|
-
return {};
|
|
319
|
-
}
|
|
320
|
-
exports.setCookie = setCookie$1;
|
|
321
|
-
/**
|
|
322
|
-
*
|
|
323
|
-
* Destroys a cookie with a particular name.
|
|
324
|
-
*
|
|
325
|
-
* @param ctx
|
|
326
|
-
* @param name
|
|
327
|
-
* @param options
|
|
328
|
-
*/
|
|
329
|
-
function destroyCookie(ctx, name, options) {
|
|
330
|
-
var opts = __assign(__assign({}, (options || {})), { maxAge: -1 });
|
|
331
|
-
if (ctx && ctx.res && ctx.res.setHeader && ctx.res.getHeader) {
|
|
332
|
-
var cookies = ctx.res.getHeader('Set-Cookie') || [];
|
|
333
|
-
if (typeof cookies === 'string')
|
|
334
|
-
cookies = [cookies];
|
|
335
|
-
if (typeof cookies === 'number')
|
|
336
|
-
cookies = [];
|
|
337
|
-
cookies.push(cookie.serialize(name, '', opts));
|
|
338
|
-
ctx.res.setHeader('Set-Cookie', cookies);
|
|
339
|
-
}
|
|
340
|
-
if (isBrowser()) {
|
|
341
|
-
document.cookie = cookie.serialize(name, '', opts);
|
|
342
|
-
}
|
|
343
|
-
return {};
|
|
344
|
-
}
|
|
345
|
-
exports.destroyCookie = destroyCookie;
|
|
346
|
-
exports.default = {
|
|
347
|
-
set: setCookie$1,
|
|
348
|
-
get: parseCookies,
|
|
349
|
-
destroy: destroyCookie,
|
|
350
|
-
};
|
|
351
|
-
|
|
352
|
-
});
|
|
353
|
-
|
|
354
|
-
unwrapExports(dist);
|
|
355
|
-
var dist_1 = dist.destroyCookie;
|
|
356
|
-
var dist_2 = dist.setCookie;
|
|
357
|
-
var dist_3 = dist.parseCookies;
|
|
358
|
-
|
|
359
|
-
var _this = undefined;
|
|
360
|
-
|
|
361
|
-
var getRelatedArticle = function () {
|
|
362
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
|
|
363
|
-
var ctx = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
364
|
-
var client = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
365
|
-
var article = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
366
|
-
var prevUrl = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '/';
|
|
367
|
-
var articleCount = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
|
|
368
|
-
|
|
369
|
-
var _article$url, url, documentGroupMapping, issueGroup, content_placement, references, params, articles, filters, cookies, prevSlugs, query;
|
|
370
|
-
|
|
371
|
-
return regenerator.wrap(function _callee$(_context) {
|
|
372
|
-
while (1) {
|
|
373
|
-
switch (_context.prev = _context.next) {
|
|
374
|
-
case 0:
|
|
375
|
-
_article$url = article.url;
|
|
376
|
-
_article$url = _article$url === undefined ? {
|
|
377
|
-
current: null
|
|
378
|
-
} : _article$url;
|
|
379
|
-
url = _article$url.current, documentGroupMapping = article.documentGroupMapping, issueGroup = article.issueGroup;
|
|
380
|
-
content_placement = article.content_placement;
|
|
381
|
-
references = [];
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
content_placement = content_placement && content_placement.length > 0 && content_placement.filter(function (_ref2) {
|
|
385
|
-
var identifier = _ref2.identifier;
|
|
386
|
-
return identifier !== 'news';
|
|
387
|
-
});
|
|
388
|
-
if (content_placement && content_placement.length > 0) {
|
|
389
|
-
content_placement.forEach(function (_ref3) {
|
|
390
|
-
var path = _ref3.path,
|
|
391
|
-
_id = _ref3._id;
|
|
392
|
-
|
|
393
|
-
if (!_id || typeof _id == 'undefined') {
|
|
394
|
-
return null;
|
|
395
|
-
}
|
|
396
|
-
var prev_url_to_check = prevUrl;
|
|
397
|
-
if (prev_url_to_check.includes('?')) {
|
|
398
|
-
prev_url_to_check = prev_url_to_check.split('?')[0];
|
|
399
|
-
}
|
|
400
|
-
if (prev_url_to_check.endsWith(path) && _id) references.push(_id);
|
|
401
|
-
});
|
|
402
|
-
if (references.length === 0) {
|
|
403
|
-
content_placement.forEach(function (_ref4) {
|
|
404
|
-
var _id = _ref4._id;
|
|
405
|
-
|
|
406
|
-
if (_id) references.push(_id);
|
|
407
|
-
});
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
if (documentGroupMapping && documentGroupMapping.length > 0) {
|
|
412
|
-
documentGroupMapping.forEach(function (_ref5) {
|
|
413
|
-
var _id = _ref5._id;
|
|
414
|
-
|
|
415
|
-
if (_id) references.push(_id);
|
|
416
|
-
});
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
if (issueGroup && issueGroup._id) {
|
|
420
|
-
references.push(issueGroup._id);
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
params = { url: url, index: articleCount };
|
|
424
|
-
articles = null;
|
|
425
|
-
|
|
426
|
-
if (!(references && references.length > 0)) {
|
|
427
|
-
_context.next = 24;
|
|
428
|
-
break;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
filters = '&& references("' + references.join('","') + '") ';
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
if (ctx && url) {
|
|
435
|
-
cookies = dist_3(ctx);
|
|
436
|
-
prevSlugs = cookies['prevSlugs'];
|
|
437
|
-
|
|
438
|
-
if (!!prevSlugs) {
|
|
439
|
-
if (!prevSlugs.includes(url)) dist_2(ctx, 'prevSlugs', prevSlugs + ',"' + url + '"', {});
|
|
440
|
-
filters = filters + ' && !(url.current in [' + prevSlugs + '])';
|
|
441
|
-
} else dist_2(ctx, 'prevSlugs', '"' + url + '"', {});
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
query = getQuery('related', filters, '', articleCount).replace('&& taxonomyMapping[]._ref in $taxonomy', '');
|
|
445
|
-
_context.prev = 15;
|
|
446
|
-
_context.next = 18;
|
|
447
|
-
return client.fetch(query, params);
|
|
448
|
-
|
|
449
|
-
case 18:
|
|
450
|
-
articles = _context.sent;
|
|
451
|
-
_context.next = 24;
|
|
452
|
-
break;
|
|
453
|
-
|
|
454
|
-
case 21:
|
|
455
|
-
_context.prev = 21;
|
|
456
|
-
_context.t0 = _context['catch'](15);
|
|
457
|
-
|
|
458
|
-
console.error(_context.t0);
|
|
459
|
-
|
|
460
|
-
case 24:
|
|
461
|
-
return _context.abrupt('return', articles);
|
|
462
|
-
|
|
463
|
-
case 25:
|
|
464
|
-
case 'end':
|
|
465
|
-
return _context.stop();
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
}, _callee, _this, [[15, 21]]);
|
|
469
|
-
}));
|
|
470
|
-
|
|
471
|
-
return function getRelatedArticle() {
|
|
472
|
-
return _ref.apply(this, arguments);
|
|
473
|
-
};
|
|
474
|
-
}();
|
|
475
|
-
|
|
476
|
-
export default getRelatedArticle;
|
|
1
|
+
import"./index-663f3f10.js";import"nookies";import"./getQuery-bfc0390c.js";export{a as default}from"./getRelatedArticle-418087a7.js";
|
|
@@ -1,60 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import './core.get-iterator-method-8c71f470.js';
|
|
3
|
-
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-72edfd60.js';
|
|
5
|
-
import './web.dom.iterable-406140e0.js';
|
|
6
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9c835201.js';
|
|
7
|
-
|
|
8
|
-
var _this = undefined;
|
|
9
|
-
|
|
10
|
-
var getRootDocGroup = function () {
|
|
11
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(id, client) {
|
|
12
|
-
var query, result, checkPropExist;
|
|
13
|
-
return regenerator.wrap(function _callee$(_context) {
|
|
14
|
-
while (1) {
|
|
15
|
-
switch (_context.prev = _context.next) {
|
|
16
|
-
case 0:
|
|
17
|
-
query = "*[_type == 'documentGroup' && _id == '" + id + "'][0]";
|
|
18
|
-
_context.next = 3;
|
|
19
|
-
return client.fetch(query);
|
|
20
|
-
|
|
21
|
-
case 3:
|
|
22
|
-
result = _context.sent;
|
|
23
|
-
checkPropExist = result && result.parent && (result.parent._id ? result.parent._id : result.parent._ref);
|
|
24
|
-
|
|
25
|
-
if (!(result && result.parent)) {
|
|
26
|
-
_context.next = 11;
|
|
27
|
-
break;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
_context.next = 8;
|
|
31
|
-
return getRootDocGroup(checkPropExist, client);
|
|
32
|
-
|
|
33
|
-
case 8:
|
|
34
|
-
return _context.abrupt("return", _context.sent);
|
|
35
|
-
|
|
36
|
-
case 11:
|
|
37
|
-
if (!(result && result.identifier && result.identifier.current)) {
|
|
38
|
-
_context.next = 15;
|
|
39
|
-
break;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
return _context.abrupt("return", result.identifier.current);
|
|
43
|
-
|
|
44
|
-
case 15:
|
|
45
|
-
return _context.abrupt("return");
|
|
46
|
-
|
|
47
|
-
case 16:
|
|
48
|
-
case "end":
|
|
49
|
-
return _context.stop();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}, _callee, _this);
|
|
53
|
-
}));
|
|
54
|
-
|
|
55
|
-
return function getRootDocGroup(_x, _x2) {
|
|
56
|
-
return _ref.apply(this, arguments);
|
|
57
|
-
};
|
|
58
|
-
}();
|
|
59
|
-
|
|
60
|
-
export default getRootDocGroup;
|
|
1
|
+
const e=async(t,r)=>{const i=`*[_type == 'documentGroup' && _id == '${t}'][0]`,n=await r.fetch(i);let a=n&&n.parent&&(n.parent._id?n.parent._id:n.parent._ref);return n&&n.parent?await e(a,r):n&&n.identifier&&n.identifier.current?n.identifier.current:void 0};export{e as default};
|
|
@@ -1,62 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './core.get-iterator-method-8c71f470.js';
|
|
3
|
-
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-72edfd60.js';
|
|
5
|
-
import './toConsumableArray-47a5394a.js';
|
|
6
|
-
import './_object-pie-33c40e79.js';
|
|
7
|
-
import './extends-7fbbe94e.js';
|
|
8
|
-
import './_object-sap-4201ccf6.js';
|
|
9
|
-
import './inherits-d26c739e.js';
|
|
10
|
-
import './define-property-a8a00786.js';
|
|
11
|
-
import './web.dom.iterable-406140e0.js';
|
|
12
|
-
import './typeof-d92ed6e0.js';
|
|
13
|
-
import './_is-array-31d40a83.js';
|
|
14
|
-
import 'react';
|
|
15
|
-
import './index-1819118a.js';
|
|
16
|
-
import 'prop-types';
|
|
17
|
-
import 'react-bootstrap/Row';
|
|
18
|
-
import 'react-bootstrap/Col';
|
|
19
|
-
import './moment-b6f49411.js';
|
|
20
|
-
import 'next/router';
|
|
21
|
-
import './isSymbol-1981418f.js';
|
|
22
|
-
import './debounce-9207d8ee.js';
|
|
23
|
-
import './toNumber-2f7a84cd.js';
|
|
24
|
-
import 'react-dom';
|
|
25
|
-
import './slicedToArray-99bcfd93.js';
|
|
26
|
-
import './index-51a80699.js';
|
|
27
|
-
import './urlFor.js';
|
|
28
|
-
import './index-6c12bdd5.js';
|
|
29
|
-
import './main-43ca42fe.js';
|
|
30
|
-
import './entities-7cc3bf45.js';
|
|
31
|
-
import './stringify-0c65d837.js';
|
|
32
|
-
import './asyncToGenerator-9c835201.js';
|
|
33
|
-
import './Segment.js';
|
|
34
|
-
import './Beam.js';
|
|
35
|
-
import './AdSlot.js';
|
|
36
|
-
import 'react-bootstrap/Button';
|
|
37
|
-
import './BlockContent-d05b5b23.js';
|
|
38
|
-
import './checkSisterSite-baa4fb6b.js';
|
|
39
|
-
import './index-c7e2ac95.js';
|
|
40
|
-
import './smoothscroll-0cd4c7a6.js';
|
|
41
|
-
import './GroupDeck.js';
|
|
42
|
-
import 'react-bootstrap';
|
|
43
|
-
import './iconBase-602d52fe.js';
|
|
44
|
-
import './index.esm-55f22b35.js';
|
|
45
|
-
export { g as default } from './index-3a7c5bbe.js';
|
|
46
|
-
import './util-7700fc59.js';
|
|
47
|
-
import './urlForFile-0fc42ed8.js';
|
|
48
|
-
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
49
|
-
import './_object-to-array-fa0feeff.js';
|
|
50
|
-
import './keys-5e9bd229.js';
|
|
51
|
-
import 'react-bootstrap/Modal';
|
|
52
|
-
import 'react-bootstrap/Form';
|
|
53
|
-
import 'react-ga';
|
|
54
|
-
import 'next/head';
|
|
55
|
-
import 'react-share';
|
|
56
|
-
import './SocialShare.js';
|
|
57
|
-
import 'react-bootstrap/Pagination';
|
|
58
|
-
import 'react-bootstrap/Figure';
|
|
59
|
-
import 'react-bootstrap/OverlayTrigger';
|
|
60
|
-
import 'react-bootstrap/Tooltip';
|
|
61
|
-
import 'react-bootstrap/Popover';
|
|
62
|
-
import 'react-script-tag';
|
|
1
|
+
import"react";export{g as default}from"./index-fcd6d5f7.js";import"@sanity/block-content-to-react";import"./entities-c5c3079c.js";import"./slicedToArray-c92cae3a.js";import"./unsupportedIterableToArray-dc74e326.js";import"react-bootstrap";import"./urlFor-b366f69d.js";import"@sanity/image-url";import"react-dfp";import"next/router";import"get-youtube-id";import"react-youtube";import"./segment-lib-563b26a6.js";import"./index-663f3f10.js";import"react-device-detect";import"./extends-464f0b6e.js";import"./urlForFile-272819a6.js";import"react-lazyload";import"./typeof-a0b2b621.js";import"@brightcove/react-player-loader";import"./defineProperty-9f9de5d0.js";import"react-bootstrap/Modal";import"react-bootstrap/Button";import"react-bootstrap/Form";import"react-player";import"react-ga";import"./GroupDeck-c173accb.js";import"smoothscroll-polyfill";import"moment";import"./SocialShare-9cc43665.js";import"next/head";import"react-share";import"react-bootstrap/Pagination";import"./AdSlot-7c2daad3.js";import"prop-types";import"lodash/debounce";import"react-bootstrap/Row";import"react-bootstrap/Col";import"./toConsumableArray-25e5c43c.js";import"./getPrototypeOf-5b57bbdd.js";import"react-icons/io";import"react-bootstrap/Figure";import"react-bootstrap/OverlayTrigger";import"react-bootstrap/Tooltip";import"react-bootstrap/Popover";import"react-script-tag";import"./checkSisterSite-20e2bf62.js";import"striptags";import"./_commonjsHelpers-57e89916.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=function(e,r){if(!r||!e||!e.body)return{seriesUrl:"",currentSeries:!1,prevUrl:!1,nextUrl:!1};var t=!1,n=!1,i=e.body.find((function(e){if("youtubeGallery"==e._type)return e}));return i&&i.videos?(r>=1&&r<i.videos.length&&(t="/view/".concat(e.url.current,"?seriesVid=").concat(parseInt(r)+1)),r>1&&r<=i.videos.length&&(n="/view/".concat(e.url.current,"?seriesVid=").concat(parseInt(r)-1)),{seriesUrl:e.url.current,currentSeries:r,nextUrl:t,prevUrl:n,type:"Video"}):null},r=Object.freeze({__proto__:null,default:e});export{e as a,r as g};
|
|
@@ -1,38 +1 @@
|
|
|
1
|
-
|
|
2
|
-
//For use in getInitialProps to return series detail to display next/prev links when javascript is disabled
|
|
3
|
-
if (!currentSeries || !article || !article.body) {
|
|
4
|
-
return {
|
|
5
|
-
seriesUrl: '',
|
|
6
|
-
currentSeries: false,
|
|
7
|
-
prevUrl: false,
|
|
8
|
-
nextUrl: false
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
var nextUrl = false;
|
|
12
|
-
var prevUrl = false;
|
|
13
|
-
var galleryBody = article.body.find(function (body) {
|
|
14
|
-
if (body._type == 'youtubeGallery') {
|
|
15
|
-
return body;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
if (!galleryBody || !galleryBody.videos) {
|
|
19
|
-
return null;
|
|
20
|
-
}
|
|
21
|
-
if (currentSeries >= 1 && currentSeries < galleryBody.videos.length) {
|
|
22
|
-
nextUrl = '/view/' + article.url.current + '?seriesVid=' + (parseInt(currentSeries) + 1);
|
|
23
|
-
}
|
|
24
|
-
if (currentSeries > 1 && currentSeries <= galleryBody.videos.length) {
|
|
25
|
-
prevUrl = '/view/' + article.url.current + '?seriesVid=' + (parseInt(currentSeries) - 1);
|
|
26
|
-
}
|
|
27
|
-
var seriesDetail = {
|
|
28
|
-
seriesUrl: article.url.current,
|
|
29
|
-
currentSeries: currentSeries,
|
|
30
|
-
nextUrl: nextUrl,
|
|
31
|
-
prevUrl: prevUrl,
|
|
32
|
-
type: 'Video'
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
return seriesDetail;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
export default getSeriesDetail;
|
|
1
|
+
export{a as default}from"./getSeriesDetail-aef9680c.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as e}from"./defineProperty-9f9de5d0.js";import{t}from"./toConsumableArray-25e5c43c.js";var r=function(e){var t="";return e.ancestor&&"string"==typeof e.ancestor&&(t+=(""===t?"":"/")+e.ancestor),!e.ancestor&&e.parent&&"string"==typeof e.parent&&(t+=(""===t?"":"/")+e.parent),t+=(""===t?"":"/")+(e.adTargetingURL?adTargetingURL:e.path)};function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var a=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=e.article,i=e.position,c=e.prevUrl,p=e.cpModificationRequired,u=void 0===p||p,s=e.disablePrevUrlCheckContentPlacement,g=void 0!==s&&s;n&&(i=n);var l=a.internalTag,d=void 0===l?[]:l,h=a.userDefinedTag,f=void 0===h?[]:h,v=a.SponsorshipTag,m=void 0===v?[]:v,b=a.seoTag,y=void 0===b?[]:b,O=a.url,j=(O=void 0===O?{current:""}:O).current,T=a.documentGroup,_=(T=void 0===T?{path:""}:T).path,P=a.document_groups,U=a.content_placement,D=j,R=e.historyCookie?JSON.parse(e.historyCookie):[];!D&&R&&(D=R[R.length-1]),D=(D=D&&D.split("?")[0])&&D.split("&")[0];var L=[];U&&c&&c.length&&!g&&U.forEach((function(e){var t=e.path;u&&(t=r(e));var n=c;c.includes("?")&&(n=c.split("?")[0]),n.endsWith(t)&&L.push(t)})),U?0===L.length&&(L=U.map((function(e){return u?r(e):e.path}))):L=["/"];var G=[];if(P&&c&&c.length&&P.forEach((function(e){var t=e.path,n=c;c.includes("?")&&(n=c.split("?")[0]),n.endsWith(t)&&(e.adTargetingURL&&(t=e.adTargetingURL),u&&(t=r(e)),G.push(t))})),P)0===G.length&&(G=P.map((function(e){return u?r(e):e.adTargetingURL?e.adTargetingURL:e.path})));else{var w=_;a.documentGroup&&a.documentGroup.adTargetingURL&&(w=a.documentGroup.adTargetingURL),G=[w]}_&&(console.log("AD targeting group forced empty content placements."),L=[]);var C=[].concat(t(d),t(f),t(m),t(y)),k={tags:C,document_group:G,document_url:[j],content_placement:L,rootDocumentGroup:e.rootDocumentGroup?e.rootDocumentGroup:""};return a.issue&&a.issue.path&&(k.issue_url=[a.issue.path],a.issue.publication&&a.issue.publication.path&&(k.publication_url=[a.issue.publication.path])),e.cache&&e.cache.hyperTargeting&&(k=o(o({},k),{},{campaign_id:e.cache.hyperTargeting})),i&&i.length&&(k.pos=i),k},i=Object.freeze({__proto__:null,default:a});export{r as a,a as b,i as g};
|
package/dist/esm/getTargeting.js
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './core.get-iterator-method-8c71f470.js';
|
|
3
|
-
import './_iter-detect-72edfd60.js';
|
|
4
|
-
import './toConsumableArray-47a5394a.js';
|
|
5
|
-
import './_object-pie-33c40e79.js';
|
|
6
|
-
import './extends-7fbbe94e.js';
|
|
7
|
-
export { g as default } from './getTargeting-eed01f73.js';
|
|
1
|
+
import"./defineProperty-9f9de5d0.js";import"./toConsumableArray-25e5c43c.js";export{b as default}from"./getTargeting-6bf24d0e.js";import"./unsupportedIterableToArray-dc74e326.js";
|