@mjhls/mjh-framework 1.0.840-seomanager-v1 → 1.0.841-dv
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 +1 -1
- package/dist/cjs/AD300x250.js +24 -24
- package/dist/cjs/AD300x250x600.js +24 -24
- package/dist/cjs/AD728x90.js +27 -27
- package/dist/cjs/ADFloatingFooter.js +23 -23
- package/dist/cjs/ADFooter.js +6 -6
- package/dist/cjs/ADGutter.js +23 -23
- package/dist/cjs/{ADInfeed-859820d9.js → ADInfeed-ad02bfab.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +23 -23
- package/dist/cjs/ADSponsoredResources.js +23 -23
- package/dist/cjs/ADWebcast.js +23 -23
- package/dist/cjs/ADWelcome.js +20 -20
- package/dist/cjs/{ADlgInfeed-da3a36a6.js → ADlgInfeed-eb23fc9f.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +92 -24
- package/dist/cjs/AdSlotsProvider.js +27 -17
- package/dist/cjs/AlgoliaSearch.js +521 -488
- package/dist/cjs/AlphabeticList.js +10 -10
- package/dist/cjs/ArticleCarousel.js +17 -17
- package/dist/cjs/ArticleProgramLandingPage.js +50 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +32 -32
- package/dist/cjs/ArticleSeriesListing.js +33 -33
- package/dist/cjs/Auth.js +348 -519
- package/dist/cjs/AuthWrapper.js +309 -1583
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-ac8972ce.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +8 -8
- package/dist/cjs/CMEDeck.js +24 -24
- package/dist/cjs/Column2.js +16 -16
- package/dist/cjs/Column3.js +33 -33
- package/dist/cjs/ConferenceArticleCard.js +7 -7
- package/dist/cjs/DeckContent.js +35 -35
- package/dist/cjs/DeckQueue.js +34 -34
- package/dist/cjs/{Dfp-93399f8c.js → Dfp-391fd124.js} +15 -15
- package/dist/cjs/EventsDeck.js +28 -28
- package/dist/cjs/ExternalResources.js +47 -47
- package/dist/cjs/Feature.js +4 -4
- package/dist/cjs/ForbesHero.js +12 -12
- package/dist/cjs/GridContent.js +204 -85
- package/dist/cjs/GridHero.js +13 -13
- package/dist/cjs/GroupDeck.js +14 -14
- package/dist/cjs/HamMagazine.js +28 -28
- package/dist/cjs/Hero.js +4 -4
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -47
- package/dist/cjs/HorizontalHero.js +5 -5
- package/dist/cjs/IssueContentDeck.js +13 -13
- package/dist/cjs/IssueDeck.js +17 -17
- package/dist/cjs/IssueLanding.js +55 -55
- package/dist/cjs/LeftNav.js +22 -22
- package/dist/cjs/MasterDeck.js +34 -34
- package/dist/cjs/MediaSeriesLanding.js +340 -440
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +31 -31
- package/dist/cjs/NavNative.js +32 -32
- package/dist/cjs/OncliveHero.js +4 -4
- package/dist/cjs/OncliveLargeHero.js +13 -13
- package/dist/cjs/PageFilter.js +6 -6
- package/dist/cjs/PartnerDetailListing.js +57 -57
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +6 -6
- package/dist/cjs/PubSection.js +34 -34
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +8 -8
- package/dist/cjs/PublicationLanding.js +28 -28
- package/dist/cjs/QueueDeckExpanded.js +38 -38
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +7 -7
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +20 -20
- package/dist/cjs/{SeriesSlider-34c6cc2b.js → SeriesSlider-d38767ae.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-9a9d6f8c.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +10 -10
- package/dist/cjs/TaxonomyDescription.js +46 -46
- package/dist/cjs/TemplateNormal.js +48 -48
- package/dist/cjs/ThumbnailCard.js +7 -7
- package/dist/cjs/Ustream.js +14 -14
- package/dist/cjs/VerticalHero.js +3 -3
- package/dist/cjs/VideoProgramLandingPage.js +52 -52
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +38 -38
- package/dist/cjs/VideoSeriesListing.js +37 -35
- package/dist/cjs/View.js +179 -140
- package/dist/cjs/YahooHero.js +15 -15
- package/dist/cjs/YoutubeGroup.js +22 -22
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
- package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4ba0d3d5.js} +4 -5
- package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
- package/dist/cjs/{extends-29bdbc6d.js → extends-0a918631.js} +7 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +14 -14
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -45
- package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-ea2ea5e7.js} +2 -2
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-fc2f1ca2.js → index-2cf30c83.js} +4 -4
- package/dist/cjs/{index-f86bb269.js → index-5be2866f.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-efca863c.js → index-b5eb3ff8.js} +11 -16
- package/dist/cjs/{index-060c5d65.js → index-c1d8b5a1.js} +231 -180
- package/dist/cjs/{index-50be6759.js → index-f0677b9d.js} +10 -16
- package/dist/cjs/{index.es-f3e47207.js → index.es-13533f24.js} +4 -20
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-3ffa049c.js} +2 -2
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +137 -138
- package/dist/cjs/{inherits-c2065b95.js → inherits-0c7830c5.js} +19 -19
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/keys-a586b7a0.js +25 -0
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/main-11ec04d2.js +894 -0
- package/dist/cjs/{moment-aca40de1.js → moment-66a6a284.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/stringify-7c5aff47.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-88a668c5.js → typeof-9d7f610f.js} +35 -35
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +27 -27
- package/dist/esm/AD300x250x600.js +27 -27
- package/dist/esm/AD728x90.js +30 -30
- package/dist/esm/ADFloatingFooter.js +29 -29
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +29 -29
- package/dist/esm/{ADInfeed-4bf3b2f9.js → ADInfeed-e8ab7008.js} +9 -9
- package/dist/esm/ADSkyscraper.js +29 -29
- package/dist/esm/ADSponsoredResources.js +29 -29
- package/dist/esm/ADWebcast.js +29 -29
- package/dist/esm/ADWelcome.js +30 -30
- package/dist/esm/{ADlgInfeed-a3377c4a.js → ADlgInfeed-882b23a8.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +95 -27
- package/dist/esm/AdSlotsProvider.js +28 -18
- package/dist/esm/AlgoliaSearch.js +721 -688
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +56 -56
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +56 -56
- package/dist/esm/Auth.js +418 -589
- package/dist/esm/AuthWrapper.js +326 -1600
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-8ffd4679.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +27 -27
- package/dist/esm/Column3.js +52 -52
- package/dist/esm/ConferenceArticleCard.js +20 -20
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +79 -79
- package/dist/esm/DeckQueue.js +71 -71
- package/dist/esm/{Dfp-2c43d2a0.js → Dfp-2f9796e1.js} +22 -22
- package/dist/esm/EventsDeck.js +88 -88
- package/dist/esm/ExternalResources.js +73 -73
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -35
- package/dist/esm/GridContent.js +262 -144
- package/dist/esm/GridHero.js +37 -37
- package/dist/esm/GroupDeck.js +47 -47
- package/dist/esm/HamMagazine.js +105 -105
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -10
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +69 -69
- package/dist/esm/HorizontalHero.js +23 -23
- package/dist/esm/IssueContentDeck.js +50 -50
- package/dist/esm/IssueDeck.js +47 -47
- package/dist/esm/IssueLanding.js +63 -63
- package/dist/esm/LeftNav.js +35 -35
- package/dist/esm/MasterDeck.js +66 -66
- package/dist/esm/MediaSeriesLanding.js +630 -730
- package/dist/esm/NavDvm.js +56 -56
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +113 -113
- package/dist/esm/NavNative.js +103 -103
- package/dist/esm/OncliveHero.js +16 -16
- package/dist/esm/OncliveLargeHero.js +60 -60
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +105 -105
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +39 -39
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +39 -39
- package/dist/esm/PublicationLanding.js +75 -75
- package/dist/esm/QueueDeckExpanded.js +275 -275
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +20 -20
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +32 -32
- package/dist/esm/{SeriesSlider-5d5c08f4.js → SeriesSlider-b8cc1baa.js} +27 -27
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +32 -32
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-c54d43cb.js} +29 -29
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -42
- package/dist/esm/TaxonomyDescription.js +50 -50
- package/dist/esm/TemplateNormal.js +68 -68
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +27 -27
- package/dist/esm/VerticalHero.js +14 -14
- package/dist/esm/VideoProgramLandingPage.js +64 -64
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +42 -42
- package/dist/esm/VideoSeriesListing.js +76 -74
- package/dist/esm/View.js +328 -289
- package/dist/esm/YahooHero.js +35 -35
- package/dist/esm/YoutubeGroup.js +47 -47
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.js} +8 -8
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
- package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-fc1c2e29.js} +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-e1c6b0f2.js} +6 -7
- package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-c990c18c.js} +7 -7
- package/dist/esm/{extends-60e0e1c6.js → extends-6f2fcc99.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -45
- package/dist/esm/{getTargeting-68291ce9.js → getTargeting-831bc794.js} +2 -2
- package/dist/esm/getTargeting.js +8 -8
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-01d53c17.js → index-1fd83450.js} +555 -504
- package/dist/esm/{index-0dbff1d1.js → index-51a80699.js} +11 -16
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-98ca9cec.js → index-b68072f5.js} +10 -16
- package/dist/esm/{index-79cfd25c.js → index-d2f90501.js} +45 -44
- package/dist/esm/{index-f0fc23eb.js → index-f7fb1e25.js} +6 -6
- package/dist/esm/{index.es-a6137319.js → index.es-7dda2f0a.js} +9 -25
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8ee5ff72.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/index.js +133 -134
- package/dist/esm/{inherits-a41fe93f.js → inherits-75d45541.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/main-aef58dbc.js +882 -0
- package/dist/esm/{moment-bc12cb97.js → moment-12415288.js} +9 -11
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-3822f1ce.js} +20 -20
- package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-4330ccdc.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-a286cf0c.js → typeof-af9c50d8.js} +35 -35
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/keys-7f2c2108.js +0 -25
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/cjs/stringify-c9ac1214.js +0 -17
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/main-d4165069.js +0 -961
- package/dist/esm/stringify-59c8f690.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
package/dist/esm/View.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
-
import { _ as _extends, a as _Object$assign } from './extends-60e0e1c6.js';
|
|
3
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
4
|
-
import React__default, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
5
|
-
import Head from 'next/head';
|
|
6
|
-
import { useRouter } from 'next/router';
|
|
7
|
-
import { _ as _JSON$stringify } from './stringify-59c8f690.js';
|
|
8
|
-
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
9
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
-
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
11
|
-
import { m as main_43 } from './main-d4165069.js';
|
|
12
|
-
import 'react-bootstrap/Dropdown';
|
|
13
|
-
import Form from 'react-bootstrap/Form';
|
|
14
|
-
import FormControl from 'react-bootstrap/FormControl';
|
|
15
|
-
import Button from 'react-bootstrap/Button';
|
|
16
|
-
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
|
-
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-01d53c17.js';
|
|
19
|
-
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-5d5c08f4.js';
|
|
21
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-68291ce9.js';
|
|
22
|
-
import getKeywords from './getKeywords.js';
|
|
23
|
-
import urlFor from './urlFor.js';
|
|
24
|
-
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
25
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-d4932dea.js';
|
|
26
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
27
|
-
import './index-755f2cc2.js';
|
|
28
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
29
|
-
import { _ as _Object$keys } from './keys-7a3adabf.js';
|
|
30
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
31
|
-
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
32
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
33
|
-
import getQuery from './getQuery.js';
|
|
34
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
35
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
38
|
-
import './web.dom.iterable-4109ff68.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
39
4
|
import './_library-528f1934.js';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
+
import './_object-pie-33c40e79.js';
|
|
9
|
+
import { _ as _extends, a as _Object$assign } from './extends-6f2fcc99.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import './inherits-75d45541.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import { _ as _typeof } from './typeof-af9c50d8.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
17
|
+
import './events-6c3a7a63.js';
|
|
18
|
+
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
43
19
|
import 'prop-types';
|
|
44
|
-
import '
|
|
20
|
+
import 'react-bootstrap/Row';
|
|
21
|
+
import 'react-bootstrap/Col';
|
|
22
|
+
import { m as moment } from './moment-12415288.js';
|
|
23
|
+
import { useRouter } from 'next/router';
|
|
24
|
+
import './isSymbol-1981418f.js';
|
|
25
|
+
import './debounce-9207d8ee.js';
|
|
26
|
+
import './toNumber-2f7a84cd.js';
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
|
|
45
28
|
import 'react-dom';
|
|
46
|
-
import '
|
|
47
|
-
import '
|
|
48
|
-
import './
|
|
49
|
-
import './
|
|
50
|
-
import './
|
|
29
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
30
|
+
import './index-51a80699.js';
|
|
31
|
+
import urlFor from './urlFor.js';
|
|
32
|
+
import './index-6c12bdd5.js';
|
|
33
|
+
import { m as main_39 } from './main-aef58dbc.js';
|
|
34
|
+
import './entities-7cc3bf45.js';
|
|
35
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
36
|
+
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
37
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
51
38
|
import './Segment.js';
|
|
52
|
-
import './
|
|
39
|
+
import './Beam.js';
|
|
40
|
+
import DFPAdSlot from './AdSlot.js';
|
|
41
|
+
import Button from 'react-bootstrap/Button';
|
|
42
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
43
|
+
import './index-c7e2ac95.js';
|
|
44
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
53
45
|
import './GroupDeck.js';
|
|
54
|
-
import '
|
|
55
|
-
import './
|
|
56
|
-
import './
|
|
46
|
+
import 'react-bootstrap';
|
|
47
|
+
import './iconBase-602d52fe.js';
|
|
48
|
+
import './index.esm-3fdda599.js';
|
|
49
|
+
import { r as renderAuthor, g as getSerializers } from './index-1fd83450.js';
|
|
50
|
+
import './util-7700fc59.js';
|
|
51
|
+
import './brightcove-react-player-loader.es-e1c6b0f2.js';
|
|
52
|
+
import Head from 'next/head';
|
|
53
|
+
import 'react-share';
|
|
54
|
+
import SocialShare from './SocialShare.js';
|
|
55
|
+
import './_object-to-array-7e804fce.js';
|
|
57
56
|
import 'react-bootstrap/Pagination';
|
|
58
|
-
import './entities-932b50cf.js';
|
|
59
|
-
import 'react-bootstrap/Row';
|
|
60
|
-
import 'react-bootstrap/Col';
|
|
61
|
-
import './inherits-a41fe93f.js';
|
|
62
|
-
import './_object-sap-f353c2a9.js';
|
|
63
|
-
import './define-property-fe54dc9f.js';
|
|
64
|
-
import './index.esm-f6156a57.js';
|
|
65
|
-
import './iconBase-ccc56b97.js';
|
|
66
57
|
import 'react-bootstrap/Figure';
|
|
67
|
-
import '
|
|
68
|
-
import '
|
|
69
|
-
import './
|
|
70
|
-
import '
|
|
58
|
+
import Form from 'react-bootstrap/Form';
|
|
59
|
+
import FormControl from 'react-bootstrap/FormControl';
|
|
60
|
+
import { _ as _Object$keys } from './keys-8eda7a5c.js';
|
|
61
|
+
import 'react-bootstrap/Dropdown';
|
|
62
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
63
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
71
64
|
import './index-db3bb315.js';
|
|
65
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
66
|
+
import getQuery from './getQuery.js';
|
|
67
|
+
import { S as SeriesSlider } from './SeriesSlider-b8cc1baa.js';
|
|
68
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-831bc794.js';
|
|
69
|
+
import getKeywords from './getKeywords.js';
|
|
70
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
71
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
72
72
|
|
|
73
73
|
var getArticleSummary = function getArticleSummary(article) {
|
|
74
74
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -146,17 +146,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
146
146
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
return
|
|
149
|
+
return React.createElement(
|
|
150
150
|
'a',
|
|
151
151
|
{
|
|
152
152
|
href: url,
|
|
153
153
|
className: 'doc-group',
|
|
154
154
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
155
|
-
thumbnailUrl &&
|
|
156
|
-
!thumbnailUrl &&
|
|
157
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
155
|
+
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
156
|
+
!thumbnailUrl && React.createElement('p', {
|
|
157
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_39 ? 'left' : 'right', marginTop: '.25rem' },
|
|
158
158
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
159
|
-
|
|
159
|
+
main_39 && !thumbnailUrl && React.createElement(
|
|
160
160
|
'style',
|
|
161
161
|
{ jsx: 'true' },
|
|
162
162
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -296,38 +296,38 @@ var ISI = function ISI(props) {
|
|
|
296
296
|
}, 300);
|
|
297
297
|
}
|
|
298
298
|
};
|
|
299
|
-
return
|
|
300
|
-
|
|
299
|
+
return React.createElement(
|
|
300
|
+
React.Fragment,
|
|
301
301
|
null,
|
|
302
|
-
|
|
302
|
+
React.createElement(
|
|
303
303
|
'div',
|
|
304
304
|
{ id: 'isi', ref: isi },
|
|
305
|
-
|
|
305
|
+
React.createElement(
|
|
306
306
|
'div',
|
|
307
307
|
{ id: 'isiContent' },
|
|
308
|
-
|
|
308
|
+
React.createElement(
|
|
309
309
|
'div',
|
|
310
310
|
{ onClick: function onClick() {
|
|
311
311
|
return setActive(function (prev) {
|
|
312
312
|
return !prev;
|
|
313
313
|
});
|
|
314
314
|
}, id: 'isiToggle' },
|
|
315
|
-
active ?
|
|
315
|
+
active ? React.createElement(
|
|
316
316
|
'p',
|
|
317
317
|
null,
|
|
318
318
|
'Close ',
|
|
319
|
-
|
|
320
|
-
) :
|
|
319
|
+
React.createElement(FaMinus, null)
|
|
320
|
+
) : React.createElement(
|
|
321
321
|
'p',
|
|
322
322
|
null,
|
|
323
323
|
'See More ',
|
|
324
|
-
|
|
324
|
+
React.createElement(FaPlus, null)
|
|
325
325
|
)
|
|
326
326
|
),
|
|
327
327
|
children
|
|
328
328
|
)
|
|
329
329
|
),
|
|
330
|
-
|
|
330
|
+
React.createElement(
|
|
331
331
|
'style',
|
|
332
332
|
{ jsx: true },
|
|
333
333
|
'\n #isi {\n position: fixed;\n z-index: 9999999;\n bottom: 0;\n left: 0;\n max-height: 12rem;\n background-color: #ffffff;\n overflow-x: hidden;\n overflow-y: hidden;\n width: 100%;\n box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.5);\n transition: bottom .5s ease , margin-top .3s, max-height .2s;\n }\n #isiContent {\n width: 100%;\n max-width: 1000px;\n margin-left: auto;\n margin-right: auto;\n position: relative;\n padding: 1rem;\n font-size: 1rem;\n }\n #isi::-webkit-scrollbar {\n display: none;\n }\n #isiToggle {\n position: absolute;\n top: 0;\n right: 0;\n padding: 1rem;\n font-weight: bold;\n cursor: pointer;\n font-size: 1rem;\n }\n #isiToggle p {\n margin: 0;\n }\n '
|
|
@@ -349,33 +349,33 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
349
349
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
350
350
|
return null;
|
|
351
351
|
}
|
|
352
|
-
return
|
|
352
|
+
return React.createElement(
|
|
353
353
|
'div',
|
|
354
354
|
{ className: styles.mediaContainer },
|
|
355
355
|
articles.map(function (article, index) {
|
|
356
|
-
return
|
|
356
|
+
return React.createElement(
|
|
357
357
|
'div',
|
|
358
358
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
359
|
-
|
|
359
|
+
React.createElement(
|
|
360
360
|
'a',
|
|
361
361
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
362
|
-
article.thumbnail ?
|
|
362
|
+
article.thumbnail ? React.createElement('img', {
|
|
363
363
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
364
364
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
365
365
|
alt: article.title
|
|
366
|
-
}) :
|
|
367
|
-
|
|
366
|
+
}) : React.createElement(
|
|
367
|
+
React.Fragment,
|
|
368
368
|
null,
|
|
369
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
369
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
370
370
|
)
|
|
371
371
|
),
|
|
372
|
-
|
|
372
|
+
React.createElement(
|
|
373
373
|
'div',
|
|
374
374
|
{ className: styles.mediaBody },
|
|
375
|
-
|
|
375
|
+
React.createElement(
|
|
376
376
|
'a',
|
|
377
377
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
378
|
-
|
|
378
|
+
React.createElement(
|
|
379
379
|
'div',
|
|
380
380
|
{ className: styles.cardTitle },
|
|
381
381
|
article.title
|
|
@@ -432,6 +432,85 @@ var getSocialShareDisableFlag = function getSocialShareDisableFlag(article) {
|
|
|
432
432
|
return showSocialShare;
|
|
433
433
|
};
|
|
434
434
|
|
|
435
|
+
function toPlainText() {
|
|
436
|
+
var blocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
437
|
+
|
|
438
|
+
return blocks
|
|
439
|
+
// loop through each block
|
|
440
|
+
.map(function (block) {
|
|
441
|
+
// if it's not a text block with children,
|
|
442
|
+
// return nothing
|
|
443
|
+
if (block._type !== 'block' || !block.children) {
|
|
444
|
+
return '';
|
|
445
|
+
}
|
|
446
|
+
// loop through the children spans, and join the
|
|
447
|
+
// text strings
|
|
448
|
+
return block.children.map(function (child) {
|
|
449
|
+
return child.text;
|
|
450
|
+
}).join('');
|
|
451
|
+
})
|
|
452
|
+
// join the paragraphs leaving split by two linebreaks
|
|
453
|
+
.join('\n\n');
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
function generateSchema(props) {
|
|
457
|
+
var _props$article = props.article,
|
|
458
|
+
title = _props$article.title,
|
|
459
|
+
body = _props$article.body,
|
|
460
|
+
summary = _props$article.summary,
|
|
461
|
+
url = _props$article.url,
|
|
462
|
+
content_placement = _props$article.content_placement,
|
|
463
|
+
authorDetails = _props$article.authorDetails,
|
|
464
|
+
thumbnail = _props$article.thumbnail,
|
|
465
|
+
published = _props$article.published,
|
|
466
|
+
_updatedAt = _props$article._updatedAt,
|
|
467
|
+
seoTag = _props$article.seoTag,
|
|
468
|
+
_props$Website = props.Website,
|
|
469
|
+
liveDomain = _props$Website.liveDomain,
|
|
470
|
+
websiteTitle = _props$Website.title,
|
|
471
|
+
logo = _props$Website.logo,
|
|
472
|
+
client = props.client;
|
|
473
|
+
|
|
474
|
+
var isAuthorFound = authorDetails && authorDetails.length > 0 && authorDetails[0].displayName;
|
|
475
|
+
var articleSection = content_placement && content_placement.map(function (cp) {
|
|
476
|
+
return cp.name;
|
|
477
|
+
});
|
|
478
|
+
|
|
479
|
+
if (title && thumbnail && published && websiteTitle && liveDomain && logo && isAuthorFound) {
|
|
480
|
+
return {
|
|
481
|
+
'@context': 'https://schema.org',
|
|
482
|
+
'@type': 'NewsArticle',
|
|
483
|
+
mainEntityOfPage: 'https://' + liveDomain + '/view/' + url.current,
|
|
484
|
+
headline: title,
|
|
485
|
+
description: summary,
|
|
486
|
+
articleBody: toPlainText(body),
|
|
487
|
+
inLanguage: 'en-US',
|
|
488
|
+
image: urlFor({ source: thumbnail, client: client }),
|
|
489
|
+
keywords: seoTag.join(),
|
|
490
|
+
articleSection: articleSection,
|
|
491
|
+
author: {
|
|
492
|
+
'@type': 'Person',
|
|
493
|
+
name: authorDetails[0].displayName
|
|
494
|
+
},
|
|
495
|
+
publisher: {
|
|
496
|
+
'@type': 'Organization',
|
|
497
|
+
name: websiteTitle,
|
|
498
|
+
logo: {
|
|
499
|
+
'@type': 'ImageObject',
|
|
500
|
+
url: 'https://' + liveDomain + logo
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
datePublished: published,
|
|
504
|
+
dateModified: _updatedAt
|
|
505
|
+
};
|
|
506
|
+
}
|
|
507
|
+
return null;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
var Schema = function Schema(props) {
|
|
511
|
+
return React.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
512
|
+
};
|
|
513
|
+
|
|
435
514
|
var Article = forwardRef(function (props, ref) {
|
|
436
515
|
var onVote = function () {
|
|
437
516
|
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(nodeKey, selectedChoice) {
|
|
@@ -535,9 +614,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
535
614
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
536
615
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
537
616
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
538
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
539
|
-
props.active
|
|
540
|
-
|
|
617
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh,
|
|
618
|
+
active = props.active,
|
|
619
|
+
containerHeight = props.containerHeight,
|
|
541
620
|
_props$refreshFlag = props.refreshFlag,
|
|
542
621
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
543
622
|
disqusConfig = props.disqusConfig,
|
|
@@ -597,9 +676,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
597
676
|
setArticleBody = _useState10[1];
|
|
598
677
|
|
|
599
678
|
var _useState11 = useState(true),
|
|
600
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
601
|
-
_useState12[0]
|
|
602
|
-
|
|
679
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
680
|
+
previewAd = _useState12[0],
|
|
681
|
+
setPreviewAd = _useState12[1];
|
|
603
682
|
|
|
604
683
|
useEffect(function () {
|
|
605
684
|
var path = window && window.location && window.location.search;
|
|
@@ -620,7 +699,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
620
699
|
};
|
|
621
700
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
622
701
|
if (biography) {
|
|
623
|
-
return
|
|
702
|
+
return React.createElement(BlockContent, _extends({
|
|
624
703
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
625
704
|
blocks: [biography]
|
|
626
705
|
}, client.config()));
|
|
@@ -630,9 +709,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
630
709
|
var url = article.url.current;
|
|
631
710
|
|
|
632
711
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
633
|
-
return
|
|
712
|
+
return React.createElement(ISIContent, null);
|
|
634
713
|
} else if (nationalPage === url && ISIContent) {
|
|
635
|
-
return
|
|
714
|
+
return React.createElement(ISIContent, { national: true });
|
|
636
715
|
}
|
|
637
716
|
return null;
|
|
638
717
|
};
|
|
@@ -666,19 +745,19 @@ var Article = forwardRef(function (props, ref) {
|
|
|
666
745
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
667
746
|
}
|
|
668
747
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
669
|
-
return
|
|
748
|
+
return React.createElement(
|
|
670
749
|
'div',
|
|
671
750
|
null,
|
|
672
751
|
relatedLinks.map(function (relatedLink, index) {
|
|
673
|
-
return
|
|
752
|
+
return React.createElement(
|
|
674
753
|
'span',
|
|
675
754
|
{ key: index, className: 'related-link' },
|
|
676
|
-
|
|
755
|
+
React.createElement(
|
|
677
756
|
'a',
|
|
678
757
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
679
758
|
relatedLink.label
|
|
680
759
|
),
|
|
681
|
-
|
|
760
|
+
React.createElement(
|
|
682
761
|
'style',
|
|
683
762
|
{ jsx: 'true' },
|
|
684
763
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -693,23 +772,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
693
772
|
};
|
|
694
773
|
|
|
695
774
|
var RelatedContent = function RelatedContent() {
|
|
696
|
-
return
|
|
775
|
+
return React.createElement(
|
|
697
776
|
'section',
|
|
698
777
|
{ id: 'related-content-section', className: 'my-1' },
|
|
699
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
778
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
700
779
|
'p',
|
|
701
780
|
{ className: 'mb-0' },
|
|
702
|
-
|
|
781
|
+
React.createElement(
|
|
703
782
|
'b',
|
|
704
783
|
null,
|
|
705
784
|
'Related Content:'
|
|
706
785
|
)
|
|
707
786
|
),
|
|
708
|
-
|
|
709
|
-
|
|
787
|
+
React.createElement(RelevantTopics, null),
|
|
788
|
+
React.createElement(
|
|
710
789
|
'div',
|
|
711
790
|
{ className: 'pt-2' },
|
|
712
|
-
|
|
791
|
+
React.createElement(RelatedArticle, {
|
|
713
792
|
articles: article.relatedArticle,
|
|
714
793
|
client: client,
|
|
715
794
|
fallbackImage: props.Settings.logo,
|
|
@@ -720,28 +799,28 @@ var Article = forwardRef(function (props, ref) {
|
|
|
720
799
|
};
|
|
721
800
|
|
|
722
801
|
var form = function form() {
|
|
723
|
-
return
|
|
724
|
-
|
|
802
|
+
return React.createElement(
|
|
803
|
+
React.Fragment,
|
|
725
804
|
null,
|
|
726
|
-
|
|
805
|
+
React.createElement(
|
|
727
806
|
Head,
|
|
728
807
|
null,
|
|
729
|
-
|
|
808
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
730
809
|
),
|
|
731
|
-
|
|
810
|
+
React.createElement(
|
|
732
811
|
'div',
|
|
733
812
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
734
|
-
|
|
813
|
+
React.createElement(
|
|
735
814
|
Form,
|
|
736
815
|
{
|
|
737
816
|
inline: true,
|
|
738
817
|
onSubmit: function onSubmit(e) {
|
|
739
818
|
e.preventDefault();
|
|
740
819
|
} },
|
|
741
|
-
|
|
820
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
742
821
|
return setPasswordKey(e.target.value);
|
|
743
822
|
}, placeholder: 'Password' }),
|
|
744
|
-
|
|
823
|
+
React.createElement(
|
|
745
824
|
Button,
|
|
746
825
|
{
|
|
747
826
|
variant: 'primary',
|
|
@@ -791,31 +870,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
791
870
|
setContextualADFlag(true);
|
|
792
871
|
}
|
|
793
872
|
};
|
|
794
|
-
return
|
|
795
|
-
|
|
873
|
+
return React.createElement(
|
|
874
|
+
React.Fragment,
|
|
796
875
|
null,
|
|
797
|
-
|
|
876
|
+
React.createElement(BlockContent, _extends({
|
|
798
877
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
799
878
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
800
879
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
801
880
|
}, client.config())),
|
|
802
|
-
|
|
803
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
804
|
-
|
|
881
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
882
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
883
|
+
React.createElement(
|
|
805
884
|
'div',
|
|
806
885
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
807
|
-
|
|
886
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
808
887
|
refreshFlag: refreshFlag
|
|
809
888
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
810
889
|
}))
|
|
811
890
|
),
|
|
812
|
-
|
|
813
|
-
|
|
891
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
892
|
+
React.createElement(
|
|
814
893
|
'div',
|
|
815
894
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
816
|
-
|
|
895
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
817
896
|
),
|
|
818
|
-
|
|
897
|
+
React.createElement(BlockContent, _extends({
|
|
819
898
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
820
899
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
821
900
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -840,26 +919,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
840
919
|
if (seriesInfo.hasVideo) {
|
|
841
920
|
_selectedIndex = seriesInfo.videoIndex;
|
|
842
921
|
}
|
|
843
|
-
return
|
|
844
|
-
|
|
922
|
+
return React.createElement(
|
|
923
|
+
React.Fragment,
|
|
845
924
|
null,
|
|
846
|
-
|
|
925
|
+
React.createElement(BlockContent, _extends({
|
|
847
926
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
848
927
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
849
928
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
850
929
|
}, client.config())),
|
|
851
|
-
contextualADFlag &&
|
|
852
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
853
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
930
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
931
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
932
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
854
933
|
'div',
|
|
855
934
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
856
|
-
|
|
935
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
857
936
|
refreshFlag: refreshFlag
|
|
858
937
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
859
938
|
}))
|
|
860
939
|
),
|
|
861
|
-
contextualADFlag &&
|
|
862
|
-
|
|
940
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
941
|
+
React.createElement(BlockContent, _extends({
|
|
863
942
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
864
943
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
865
944
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -889,22 +968,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
889
968
|
}
|
|
890
969
|
};
|
|
891
970
|
|
|
892
|
-
return
|
|
893
|
-
|
|
971
|
+
return React.createElement(
|
|
972
|
+
React.Fragment,
|
|
894
973
|
null,
|
|
895
|
-
|
|
974
|
+
React.createElement(BlockContent, _extends({
|
|
896
975
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
897
976
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
898
977
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
899
978
|
}, client.config())),
|
|
900
|
-
|
|
901
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
902
|
-
|
|
979
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
980
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
981
|
+
React.createElement(
|
|
903
982
|
'div',
|
|
904
983
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
905
|
-
|
|
984
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
906
985
|
),
|
|
907
|
-
|
|
986
|
+
React.createElement(BlockContent, _extends({
|
|
908
987
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
909
988
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
910
989
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -916,16 +995,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
916
995
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
917
996
|
}
|
|
918
997
|
|
|
919
|
-
return
|
|
998
|
+
return React.createElement(
|
|
920
999
|
'div',
|
|
921
1000
|
null,
|
|
922
|
-
|
|
1001
|
+
React.createElement(BlockContent, _extends({
|
|
923
1002
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
924
1003
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
925
1004
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
926
1005
|
}, client.config())),
|
|
927
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
928
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1006
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
1007
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
929
1008
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
930
1009
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
931
1010
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -970,8 +1049,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
970
1049
|
shareSubject = shareOptions.shareSubject,
|
|
971
1050
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
972
1051
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
973
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
974
|
-
shareOptions.shareSiteTitle;
|
|
1052
|
+
shareBaseUrl = shareOptions.shareBaseUrl,
|
|
1053
|
+
shareSiteTitle = shareOptions.shareSiteTitle;
|
|
975
1054
|
|
|
976
1055
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
977
1056
|
var shareTitle = article.title;
|
|
@@ -1011,10 +1090,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1011
1090
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1012
1091
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1013
1092
|
|
|
1014
|
-
return
|
|
1015
|
-
|
|
1093
|
+
return React.createElement(
|
|
1094
|
+
React.Fragment,
|
|
1016
1095
|
null,
|
|
1017
|
-
|
|
1096
|
+
React.createElement(
|
|
1018
1097
|
VisibilitySensor,
|
|
1019
1098
|
{
|
|
1020
1099
|
partialVisibility: true,
|
|
@@ -1027,61 +1106,61 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1027
1106
|
});
|
|
1028
1107
|
}
|
|
1029
1108
|
} },
|
|
1030
|
-
|
|
1109
|
+
React.createElement(
|
|
1031
1110
|
'div',
|
|
1032
1111
|
{ id: 'article__block', ref: ref },
|
|
1033
|
-
|
|
1112
|
+
React.createElement(
|
|
1034
1113
|
'div',
|
|
1035
1114
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1036
1115
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1037
|
-
!isVideoSeries &&
|
|
1116
|
+
!isVideoSeries && React.createElement(
|
|
1038
1117
|
'div',
|
|
1039
1118
|
null,
|
|
1040
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1119
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
1041
1120
|
'p',
|
|
1042
1121
|
{ style: { fontSize: '14px' } },
|
|
1043
1122
|
article.documentGroup.name,
|
|
1044
1123
|
' - Episode ',
|
|
1045
1124
|
episodeNumber
|
|
1046
1125
|
),
|
|
1047
|
-
|
|
1126
|
+
React.createElement(
|
|
1048
1127
|
'h1',
|
|
1049
1128
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1050
1129
|
title
|
|
1051
1130
|
)
|
|
1052
1131
|
),
|
|
1053
|
-
|
|
1132
|
+
React.createElement(
|
|
1054
1133
|
'div',
|
|
1055
1134
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1056
|
-
|
|
1135
|
+
React.createElement(
|
|
1057
1136
|
'style',
|
|
1058
1137
|
{ jsx: 'true' },
|
|
1059
1138
|
'\n @media screen and (max-width: 468px) {\n .video-detail .doc-group-container {\n flex-direction: column;\n align-items: flex-start !important;\n }\n .video-detail .doc-group {\n margin-top: 2rem;\n width: calc(100vw - 45px);\n align-items: center;\n }\n .video-detail .doc-group img,\n .doc-group p {\n max-width: calc(100vw - 45px) !important;\n }\n }\n .author-details-img {\n margin-right: 10px;\n max-height: 250px;\n min-height: 150px;\n max-width: 250px;\n min-width: 150px;\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n .author-details-img-container {\n text-align: center;\n }\n .author-details-col {\n padding-left: 25px;\n }\n '
|
|
1060
1139
|
),
|
|
1061
|
-
|
|
1140
|
+
React.createElement(
|
|
1062
1141
|
'div',
|
|
1063
1142
|
{ className: 'left-wrap' },
|
|
1064
|
-
!isVideoSeries && showPublished &&
|
|
1143
|
+
!isVideoSeries && showPublished && React.createElement(
|
|
1065
1144
|
'div',
|
|
1066
1145
|
null,
|
|
1067
1146
|
moment(published).format('LL')
|
|
1068
1147
|
)
|
|
1069
1148
|
/* Show Published date */
|
|
1070
1149
|
,
|
|
1071
|
-
|
|
1150
|
+
React.createElement(
|
|
1072
1151
|
'div',
|
|
1073
1152
|
{ className: 'mb-3' },
|
|
1074
1153
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1075
|
-
return
|
|
1154
|
+
return React.createElement(
|
|
1076
1155
|
'span',
|
|
1077
1156
|
{ key: index },
|
|
1078
1157
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: props.client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
1079
1158
|
);
|
|
1080
1159
|
}),
|
|
1081
|
-
|
|
1160
|
+
React.createElement(
|
|
1082
1161
|
'div',
|
|
1083
1162
|
null,
|
|
1084
|
-
source &&
|
|
1163
|
+
source && React.createElement(
|
|
1085
1164
|
'p',
|
|
1086
1165
|
{
|
|
1087
1166
|
style: {
|
|
@@ -1096,13 +1175,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1096
1175
|
source
|
|
1097
1176
|
)
|
|
1098
1177
|
),
|
|
1099
|
-
issue &&
|
|
1178
|
+
issue && React.createElement(
|
|
1100
1179
|
'div',
|
|
1101
1180
|
{ className: 'volume-issue' },
|
|
1102
|
-
issue.publication && issue.publication.name &&
|
|
1181
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1103
1182
|
'span',
|
|
1104
1183
|
{ className: 'mb-0' },
|
|
1105
|
-
|
|
1184
|
+
React.createElement(
|
|
1106
1185
|
'b',
|
|
1107
1186
|
null,
|
|
1108
1187
|
issue.publication.name
|
|
@@ -1110,34 +1189,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1110
1189
|
',',
|
|
1111
1190
|
' '
|
|
1112
1191
|
),
|
|
1113
|
-
issue.name &&
|
|
1192
|
+
issue.name && React.createElement(
|
|
1114
1193
|
'span',
|
|
1115
1194
|
{ className: 'mb-0' },
|
|
1116
1195
|
issue.name,
|
|
1117
1196
|
', '
|
|
1118
1197
|
),
|
|
1119
|
-
issue.volume &&
|
|
1198
|
+
issue.volume && React.createElement(
|
|
1120
1199
|
'span',
|
|
1121
1200
|
null,
|
|
1122
1201
|
'Volume ' + issue.volume,
|
|
1123
1202
|
','
|
|
1124
1203
|
),
|
|
1125
|
-
issue.issueNumber &&
|
|
1204
|
+
issue.issueNumber && React.createElement(
|
|
1126
1205
|
'span',
|
|
1127
1206
|
null,
|
|
1128
1207
|
' Issue ' + issue.issueNumber
|
|
1129
1208
|
)
|
|
1130
1209
|
),
|
|
1131
|
-
pageNumber &&
|
|
1210
|
+
pageNumber && React.createElement(
|
|
1132
1211
|
'div',
|
|
1133
1212
|
{ className: 'article-pageNumber' },
|
|
1134
1213
|
'Pages: ' + pageNumber
|
|
1135
1214
|
)
|
|
1136
1215
|
),
|
|
1137
|
-
!isVideoSeries && showSocialShare &&
|
|
1216
|
+
!isVideoSeries && showSocialShare && React.createElement(
|
|
1138
1217
|
'p',
|
|
1139
1218
|
null,
|
|
1140
|
-
|
|
1219
|
+
React.createElement(SocialShare, {
|
|
1141
1220
|
shareUrl: shareUrl,
|
|
1142
1221
|
shareTitle: shareTitle,
|
|
1143
1222
|
shareVia: shareVia,
|
|
@@ -1153,27 +1232,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1153
1232
|
})
|
|
1154
1233
|
)
|
|
1155
1234
|
),
|
|
1156
|
-
|
|
1235
|
+
React.createElement(
|
|
1157
1236
|
'div',
|
|
1158
1237
|
null,
|
|
1159
|
-
|
|
1238
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1160
1239
|
)
|
|
1161
1240
|
),
|
|
1162
|
-
!isVideoSeries && summary && display_summary &&
|
|
1241
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1163
1242
|
'p',
|
|
1164
1243
|
null,
|
|
1165
|
-
|
|
1244
|
+
React.createElement(
|
|
1166
1245
|
'em',
|
|
1167
1246
|
null,
|
|
1168
1247
|
summary
|
|
1169
1248
|
)
|
|
1170
1249
|
),
|
|
1171
|
-
|
|
1250
|
+
React.createElement(
|
|
1172
1251
|
'div',
|
|
1173
1252
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1174
|
-
|
|
1253
|
+
main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1175
1254
|
if (index === 0) {
|
|
1176
|
-
return
|
|
1255
|
+
return React.createElement(
|
|
1177
1256
|
'div',
|
|
1178
1257
|
{
|
|
1179
1258
|
key: index,
|
|
@@ -1190,24 +1269,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1190
1269
|
}
|
|
1191
1270
|
})
|
|
1192
1271
|
),
|
|
1193
|
-
|
|
1272
|
+
React.createElement(
|
|
1194
1273
|
'div',
|
|
1195
1274
|
{ className: 'block-content mt-3' },
|
|
1196
1275
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1197
|
-
|
|
1198
|
-
|
|
1276
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1277
|
+
React.createElement(
|
|
1199
1278
|
'noscript',
|
|
1200
1279
|
null,
|
|
1201
|
-
|
|
1280
|
+
React.createElement(
|
|
1202
1281
|
'div',
|
|
1203
1282
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1204
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1283
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1205
1284
|
'a',
|
|
1206
1285
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1207
1286
|
'Previous ',
|
|
1208
1287
|
props.article.seriesDetail.type
|
|
1209
1288
|
),
|
|
1210
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1289
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1211
1290
|
'a',
|
|
1212
1291
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1213
1292
|
'Next ',
|
|
@@ -1215,26 +1294,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1215
1294
|
)
|
|
1216
1295
|
)
|
|
1217
1296
|
),
|
|
1218
|
-
issue && issue.url &&
|
|
1297
|
+
issue && issue.url && React.createElement(
|
|
1219
1298
|
'a',
|
|
1220
1299
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1221
|
-
|
|
1300
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1222
1301
|
'Download Issue : ',
|
|
1223
1302
|
issue.name
|
|
1224
1303
|
)
|
|
1225
1304
|
),
|
|
1226
|
-
|
|
1227
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1305
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1306
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1228
1307
|
'div',
|
|
1229
1308
|
null,
|
|
1230
1309
|
false ,
|
|
1231
|
-
|
|
1310
|
+
React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1232
1311
|
),
|
|
1233
|
-
showRelatedArticles && !showIsi &&
|
|
1234
|
-
disqusConfig && showDisqus &&
|
|
1312
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1313
|
+
disqusConfig && showDisqus && React.createElement(
|
|
1235
1314
|
'div',
|
|
1236
1315
|
{ id: 'disqusContainer' },
|
|
1237
|
-
|
|
1316
|
+
React.createElement(DiscussionEmbed, {
|
|
1238
1317
|
shortname: disqusConfig.shortname,
|
|
1239
1318
|
config: {
|
|
1240
1319
|
url: disqusConfig.url,
|
|
@@ -1247,30 +1326,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1247
1326
|
renderIsiContent(props.article)
|
|
1248
1327
|
)
|
|
1249
1328
|
),
|
|
1250
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1329
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1251
1330
|
ISI,
|
|
1252
1331
|
null,
|
|
1253
|
-
|
|
1332
|
+
React.createElement(BlockContent, {
|
|
1254
1333
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1255
1334
|
blocks: isi
|
|
1256
1335
|
})
|
|
1257
1336
|
),
|
|
1258
|
-
|
|
1337
|
+
main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1259
1338
|
if (index > 0) {
|
|
1260
|
-
return
|
|
1339
|
+
return React.createElement(
|
|
1261
1340
|
'div',
|
|
1262
1341
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1263
1342
|
ad.component
|
|
1264
1343
|
);
|
|
1265
1344
|
}
|
|
1266
1345
|
}),
|
|
1267
|
-
|
|
1346
|
+
React.createElement(
|
|
1268
1347
|
'noscript',
|
|
1269
1348
|
null,
|
|
1270
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1349
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1271
1350
|
'div',
|
|
1272
1351
|
{ style: { textAlign: 'center' } },
|
|
1273
|
-
|
|
1352
|
+
React.createElement(
|
|
1274
1353
|
'a',
|
|
1275
1354
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1276
1355
|
'Related Article ',
|
|
@@ -1278,7 +1357,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1278
1357
|
)
|
|
1279
1358
|
)
|
|
1280
1359
|
),
|
|
1281
|
-
props.infiniteScroll &&
|
|
1360
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' }),
|
|
1361
|
+
React.createElement(Schema, { article: props.article, Website: props.Website, client: props.client })
|
|
1282
1362
|
);
|
|
1283
1363
|
};
|
|
1284
1364
|
|
|
@@ -1293,18 +1373,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1293
1373
|
}
|
|
1294
1374
|
});
|
|
1295
1375
|
|
|
1296
|
-
var _this
|
|
1376
|
+
var _this = undefined;
|
|
1297
1377
|
|
|
1298
1378
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1299
|
-
var router = useRouter();
|
|
1300
|
-
|
|
1301
1379
|
var _props$prevUrl = props.prevUrl,
|
|
1302
1380
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1303
1381
|
Ads = props.Ads,
|
|
1304
1382
|
_props$maxListLength = props.maxListLength,
|
|
1305
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1306
|
-
props.sponsoredTaxonomies
|
|
1307
|
-
|
|
1383
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength,
|
|
1384
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1385
|
+
_props$cpModification = props.cpModificationRequired,
|
|
1308
1386
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1309
1387
|
_props$authorPrefix = props.authorPrefix,
|
|
1310
1388
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1353,7 +1431,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1353
1431
|
return item.url.current === path;
|
|
1354
1432
|
});
|
|
1355
1433
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1356
|
-
if (!
|
|
1434
|
+
if (!main_39) {
|
|
1357
1435
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1358
1436
|
if (window.googletag && googletag.pubadsReady) {
|
|
1359
1437
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1370,7 +1448,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1370
1448
|
});
|
|
1371
1449
|
}
|
|
1372
1450
|
//Refresh leaderboard ad on mobile
|
|
1373
|
-
if (
|
|
1451
|
+
if (main_39) {
|
|
1374
1452
|
var leaderboardSlotId = '';
|
|
1375
1453
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1376
1454
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1474,7 +1552,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1474
1552
|
return _context.stop();
|
|
1475
1553
|
}
|
|
1476
1554
|
}
|
|
1477
|
-
}, _callee, _this
|
|
1555
|
+
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1478
1556
|
}));
|
|
1479
1557
|
|
|
1480
1558
|
return function loadmore() {
|
|
@@ -1482,34 +1560,6 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1482
1560
|
};
|
|
1483
1561
|
}();
|
|
1484
1562
|
|
|
1485
|
-
var currentPath = router && router.asPath;
|
|
1486
|
-
var seoLinks = props.cache.seoManager && props.cache.seoManager.filter(function (eachDocument) {
|
|
1487
|
-
return eachDocument.urlSeo == currentPath;
|
|
1488
|
-
});
|
|
1489
|
-
|
|
1490
|
-
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1491
|
-
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1492
|
-
// let urlSeo = seoLinks && seoLinks.length ==1 && seoLinks[0].urlSeo
|
|
1493
|
-
|
|
1494
|
-
var changeMetaFromSanity = function changeMetaFromSanity(metaDescription, metaTitle, oldMeta) {
|
|
1495
|
-
document.title = metaTitle;
|
|
1496
|
-
//this was throwing an error if there was no description, doing a check for the description meta
|
|
1497
|
-
if (document.querySelector('meta[name="description"]')) document.querySelector('meta[name="description"]').setAttribute('content', metaDescription);
|
|
1498
|
-
document.querySelector('meta[name="keywords"]').setAttribute('content', oldMeta.shareKeywords);
|
|
1499
|
-
document.querySelector('meta[property="og:url"]').setAttribute('content', oldMeta.shareUrl);
|
|
1500
|
-
document.querySelector('meta[property="og:title"]').setAttribute('content', metaTitle);
|
|
1501
|
-
document.querySelector('meta[property="og:site_name"]').setAttribute('content', oldMeta.shareVia);
|
|
1502
|
-
document.querySelector('meta[property="og:description"]').setAttribute('content', metaDescription);
|
|
1503
|
-
document.querySelector('meta[name="twitter:title"]').setAttribute('content', metaTitle);
|
|
1504
|
-
document.querySelector('meta[name="twitter:image"]').setAttribute('content', oldMeta.shareImage);
|
|
1505
|
-
document.querySelector('meta[name="twitter:site"]').setAttribute('content', oldMeta.shareVia);
|
|
1506
|
-
//this was throwing an error if there was no description, doing a check for the description meta
|
|
1507
|
-
if (document.querySelector('meta[name="twitter:description"]')) document.querySelector('meta[name="twitter:description"]').setAttribute('content', metaDescription);
|
|
1508
|
-
if (canonicalTag) {
|
|
1509
|
-
document.querySelector('link[rel="canonical"]').setAttribute('href', oldMeta.shareUrl);
|
|
1510
|
-
}
|
|
1511
|
-
};
|
|
1512
|
-
|
|
1513
1563
|
var changeMeta = function changeMeta(meta) {
|
|
1514
1564
|
document.title = meta.shareTitle;
|
|
1515
1565
|
//this was throwing an error if there was no description, doing a check for the description meta
|
|
@@ -1539,12 +1589,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1539
1589
|
});
|
|
1540
1590
|
// Change URL and do other changes
|
|
1541
1591
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
1542
|
-
|
|
1543
|
-
if (metaDescriptionSanity && metaTitleSanity && currentPath == newPath) {
|
|
1544
|
-
changeMetaFromSanity(metaDescriptionSanity, metaTitleSanity, meta);
|
|
1545
|
-
} else {
|
|
1546
|
-
changeMeta(meta);
|
|
1547
|
-
}
|
|
1592
|
+
changeMeta(meta);
|
|
1548
1593
|
if (props.setCustomDimensions) {
|
|
1549
1594
|
props.setCustomDimensions(activeArticle, '200', prevUrl);
|
|
1550
1595
|
}
|
|
@@ -1552,14 +1597,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1552
1597
|
refreshAD(path);
|
|
1553
1598
|
};
|
|
1554
1599
|
|
|
1555
|
-
return
|
|
1600
|
+
return React.createElement(
|
|
1556
1601
|
InfiniteScroll,
|
|
1557
1602
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1558
1603
|
queueData.map(function (article, index) {
|
|
1559
|
-
return
|
|
1560
|
-
|
|
1604
|
+
return React.createElement(
|
|
1605
|
+
React.Fragment,
|
|
1561
1606
|
null,
|
|
1562
|
-
|
|
1607
|
+
React.createElement(Article, _extends({
|
|
1563
1608
|
key: index
|
|
1564
1609
|
}, props, {
|
|
1565
1610
|
containerHeight: containerHeight,
|
|
@@ -1577,7 +1622,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1577
1622
|
);
|
|
1578
1623
|
};
|
|
1579
1624
|
|
|
1580
|
-
var _this = undefined;
|
|
1625
|
+
var _this$1 = undefined;
|
|
1581
1626
|
|
|
1582
1627
|
var View = function View(props) {
|
|
1583
1628
|
var router = useRouter();
|
|
@@ -1587,9 +1632,9 @@ var View = function View(props) {
|
|
|
1587
1632
|
hideComments = _props$article.hideComments,
|
|
1588
1633
|
content_placement = _props$article.content_placement,
|
|
1589
1634
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1590
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1591
|
-
props.sponsoredTaxonomies
|
|
1592
|
-
|
|
1635
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
1636
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1637
|
+
Ads = props.Ads,
|
|
1593
1638
|
setCustomDimensions = props.setCustomDimensions,
|
|
1594
1639
|
statusCode = props.statusCode,
|
|
1595
1640
|
prevUrl = props.prevUrl,
|
|
@@ -1602,9 +1647,9 @@ var View = function View(props) {
|
|
|
1602
1647
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1603
1648
|
var _props$article2 = props.article,
|
|
1604
1649
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1605
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1606
|
-
_props$article2.description
|
|
1607
|
-
|
|
1650
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw,
|
|
1651
|
+
description = _props$article2.description,
|
|
1652
|
+
title = _props$article2.title,
|
|
1608
1653
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1609
1654
|
|
|
1610
1655
|
var _useState = useState(0),
|
|
@@ -1665,6 +1710,7 @@ var View = function View(props) {
|
|
|
1665
1710
|
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !isVideoSeries && !isArticleSeries && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag && !article.showIsi && (!article.documentGroup || !article.documentGroup.isSeries) && !showDisqus;
|
|
1666
1711
|
|
|
1667
1712
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1713
|
+
description = null;
|
|
1668
1714
|
title = null;
|
|
1669
1715
|
}
|
|
1670
1716
|
|
|
@@ -1701,70 +1747,63 @@ var View = function View(props) {
|
|
|
1701
1747
|
meta_description = seriesShareOptions && seriesShareOptions.seriesSummary ? '' + seriesShareOptions.seriesSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : '';
|
|
1702
1748
|
}
|
|
1703
1749
|
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
return eachDocument.urlSeo == currentPath;
|
|
1707
|
-
});
|
|
1708
|
-
|
|
1709
|
-
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1710
|
-
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1711
|
-
return React__default.createElement(
|
|
1712
|
-
React__default.Fragment,
|
|
1750
|
+
return React.createElement(
|
|
1751
|
+
React.Fragment,
|
|
1713
1752
|
null,
|
|
1714
|
-
|
|
1753
|
+
React.createElement(
|
|
1715
1754
|
Head,
|
|
1716
1755
|
null,
|
|
1717
|
-
|
|
1756
|
+
React.createElement(
|
|
1718
1757
|
'title',
|
|
1719
1758
|
{ key: 'title' },
|
|
1720
|
-
|
|
1759
|
+
seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article && article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + article.title + (currentPage > 0 ? ' | Page ' + currentPage : '')
|
|
1721
1760
|
),
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
passwordLock &&
|
|
1725
|
-
|
|
1761
|
+
meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1762
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1763
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1764
|
+
React.createElement('meta', {
|
|
1726
1765
|
property: 'og:url',
|
|
1727
1766
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1728
1767
|
key: 'og:url'
|
|
1729
1768
|
}),
|
|
1730
|
-
|
|
1769
|
+
React.createElement('meta', {
|
|
1731
1770
|
property: 'og:title',
|
|
1732
|
-
content:
|
|
1771
|
+
content: seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1733
1772
|
key: 'og:title'
|
|
1734
1773
|
}),
|
|
1735
|
-
|
|
1774
|
+
React.createElement('meta', {
|
|
1736
1775
|
property: 'og:image',
|
|
1737
1776
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1738
1777
|
key: 'og:image'
|
|
1739
1778
|
}),
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1779
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1780
|
+
React.createElement('meta', { property: 'og:description', content: meta_description, key: 'og:description' }),
|
|
1781
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1782
|
+
React.createElement('meta', {
|
|
1744
1783
|
name: 'twitter:title',
|
|
1745
|
-
content:
|
|
1784
|
+
content: seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1746
1785
|
key: 'twitter:title'
|
|
1747
1786
|
}),
|
|
1748
|
-
|
|
1787
|
+
React.createElement('meta', {
|
|
1749
1788
|
name: 'twitter:image',
|
|
1750
1789
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1751
1790
|
key: 'twitter:image'
|
|
1752
1791
|
}),
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
canonicalTag &&
|
|
1792
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1793
|
+
React.createElement('meta', { name: 'twitter:description', content: meta_description, key: 'twitter:description' }),
|
|
1794
|
+
canonicalTag && React.createElement('link', {
|
|
1756
1795
|
rel: 'canonical',
|
|
1757
1796
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1758
1797
|
key: 'canonical'
|
|
1759
1798
|
}),
|
|
1760
|
-
|
|
1799
|
+
React.createElement(
|
|
1761
1800
|
'noscript',
|
|
1762
1801
|
null,
|
|
1763
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1764
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1802
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1803
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1765
1804
|
)
|
|
1766
1805
|
),
|
|
1767
|
-
!needInfiniteScroll ?
|
|
1806
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1768
1807
|
infiniteScroll: true,
|
|
1769
1808
|
showRelatedArticles: showRelatedArticles,
|
|
1770
1809
|
canonicalTag: canonicalTag,
|
|
@@ -1901,7 +1940,7 @@ View.returnGetInitialProps = function () {
|
|
|
1901
1940
|
return _context.stop();
|
|
1902
1941
|
}
|
|
1903
1942
|
}
|
|
1904
|
-
}, _callee, _this);
|
|
1943
|
+
}, _callee, _this$1);
|
|
1905
1944
|
}));
|
|
1906
1945
|
|
|
1907
1946
|
return function (_x, _x2, _x3, _x4, _x5) {
|