@mjhls/mjh-framework 1.0.850-affiliatefix-v1 → 1.0.850-beta.1
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 +168 -168
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +30 -31
- package/dist/cjs/AD300x250x600.js +30 -31
- package/dist/cjs/AD728x90.js +33 -34
- package/dist/cjs/ADFloatingFooter.js +32 -33
- package/dist/cjs/ADFooter.js +14 -15
- package/dist/cjs/ADGutter.js +32 -33
- package/dist/cjs/{ADInfeed-859820d9.js → ADInfeed-98c71bcd.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +32 -33
- package/dist/cjs/ADSponsoredResources.js +32 -33
- package/dist/cjs/ADWebcast.js +32 -33
- package/dist/cjs/ADWelcome.js +33 -34
- package/dist/cjs/{ADlgInfeed-da3a36a6.js → ADlgInfeed-9de32585.js} +10 -11
- package/dist/cjs/AccordionPanel.js +29 -31
- package/dist/cjs/AdSlot.js +101 -34
- package/dist/cjs/AdSlotsProvider.js +33 -25
- package/dist/cjs/AlgoliaSearch.js +1080 -1076
- package/dist/cjs/AlphabeticList.js +25 -26
- package/dist/cjs/ArticleCarousel.js +23 -24
- package/dist/cjs/ArticleProgramLandingPage.js +58 -60
- package/dist/cjs/ArticleSeriesLandingPage.js +40 -41
- package/dist/cjs/ArticleSeriesListing.js +61 -62
- package/dist/cjs/AuthWrapper.js +423 -1739
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-bb831b74.js} +13 -14
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-091a991f.js} +55 -56
- package/dist/cjs/Breadcrumbs.js +27 -29
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +33 -36
- package/dist/cjs/Column3.js +59 -62
- package/dist/cjs/ConferenceArticleCard.js +37 -38
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +103 -107
- package/dist/cjs/DeckQueue.js +90 -94
- package/dist/cjs/{Dfp-93399f8c.js → Dfp-26baccf1.js} +34 -35
- package/dist/cjs/EventsDeck.js +152 -159
- package/dist/cjs/ExternalResources.js +79 -81
- package/dist/cjs/Feature.js +24 -26
- package/dist/cjs/ForbesHero.js +42 -43
- package/dist/cjs/GridContent.js +304 -190
- package/dist/cjs/GridHero.js +44 -45
- package/dist/cjs/GroupDeck.js +59 -60
- package/dist/cjs/HamMagazine.js +141 -146
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +71 -73
- package/dist/cjs/HorizontalHero.js +25 -26
- package/dist/cjs/IssueContentDeck.js +73 -78
- package/dist/cjs/IssueDeck.js +72 -77
- package/dist/cjs/IssueLanding.js +92 -96
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +39 -41
- package/dist/cjs/MasterDeck.js +80 -81
- package/dist/cjs/MediaSeriesLanding.js +1138 -1230
- package/dist/cjs/NavDvm.js +74 -79
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +148 -153
- package/dist/cjs/NavNative.js +145 -153
- package/dist/cjs/OncliveHero.js +19 -19
- package/dist/cjs/OncliveLargeHero.js +72 -73
- package/dist/cjs/PageFilter.js +14 -15
- package/dist/cjs/PartnerDetailListing.js +106 -115
- package/dist/cjs/PdfDownload.js +9 -10
- package/dist/cjs/PopUpModal.js +19 -21
- package/dist/cjs/PubSection.js +40 -43
- package/dist/cjs/PubToc.js +15 -16
- package/dist/cjs/PublicationDeck.js +62 -67
- package/dist/cjs/PublicationLanding.js +135 -139
- package/dist/cjs/QueueDeckExpanded.js +2172 -1167
- package/dist/cjs/RecentNews.js +22 -23
- package/dist/cjs/RelatedContent.js +54 -55
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -22
- package/dist/cjs/Segment.js +368 -343
- package/dist/cjs/SeriesListingDeck.js +38 -38
- package/dist/cjs/{SeriesSlider-34c6cc2b.js → SeriesSlider-8bbc989f.js} +39 -40
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +38 -39
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-cea213aa.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +59 -64
- package/dist/cjs/TaxonomyDescription.js +54 -56
- package/dist/cjs/TemplateNormal.js +74 -75
- package/dist/cjs/ThumbnailCard.js +21 -23
- package/dist/cjs/Ustream.js +30 -31
- package/dist/cjs/VerticalHero.js +16 -17
- package/dist/cjs/VideoProgramLandingPage.js +73 -78
- package/dist/cjs/VideoSeriesCard.js +33 -34
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +50 -51
- package/dist/cjs/VideoSeriesListing.js +82 -81
- package/dist/cjs/View.js +342 -266
- package/dist/cjs/YahooHero.js +41 -42
- package/dist/cjs/YoutubeGroup.js +66 -67
- 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-156bd4d6.js} +9 -11
- 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 +327 -10
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +28 -445
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +44 -45
- package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-f1821260.js} +26 -17
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
- package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
- package/dist/cjs/{index-060c5d65.js → index-4151deb3.js} +1615 -1009
- package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
- package/dist/cjs/{index-fc2f1ca2.js → index-98e01cb9.js} +12 -13
- package/dist/cjs/{index-efca863c.js → index-be0c82be.js} +30 -36
- package/dist/cjs/{index-50be6759.js → index-e2e62963.js} +10 -26
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-4d410430.js} +21 -21
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-90433435.js} +16 -7
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-e32d3e8e.js} +7 -4
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-ff47db6f.js} +13 -6
- package/dist/cjs/index.js +158 -170
- package/dist/cjs/{inherits-c2065b95.js → inherits-9953db94.js} +22 -22
- 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-fc2922d0.js} +31 -128
- package/dist/cjs/main-02daeefe.js +862 -0
- package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-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-725500bc.js} +36 -36
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +24 -24
- package/dist/esm/AD300x250x600.js +24 -24
- package/dist/esm/AD728x90.js +27 -27
- package/dist/esm/ADFloatingFooter.js +23 -23
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +23 -23
- package/dist/esm/{ADInfeed-4bf3b2f9.js → ADInfeed-bbdd5398.js} +6 -6
- package/dist/esm/ADSkyscraper.js +23 -23
- package/dist/esm/ADSponsoredResources.js +23 -23
- package/dist/esm/ADWebcast.js +23 -23
- package/dist/esm/ADWelcome.js +20 -20
- package/dist/esm/{ADlgInfeed-a3377c4a.js → ADlgInfeed-4473ee3b.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +92 -24
- package/dist/esm/AdSlotsProvider.js +27 -17
- package/dist/esm/AlgoliaSearch.js +530 -525
- package/dist/esm/AlphabeticList.js +10 -10
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +49 -50
- package/dist/esm/ArticleSeriesLandingPage.js +32 -32
- package/dist/esm/ArticleSeriesListing.js +34 -34
- package/dist/esm/AuthWrapper.js +396 -1711
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-34b16174.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-e9b4ddcf.js} +34 -34
- package/dist/esm/Breadcrumbs.js +7 -7
- package/dist/esm/CMEDeck.js +24 -24
- package/dist/esm/Column1.js +4 -4
- package/dist/esm/Column2.js +21 -21
- package/dist/esm/Column3.js +39 -39
- package/dist/esm/ConferenceArticleCard.js +22 -22
- package/dist/esm/DeckContent.js +57 -57
- package/dist/esm/DeckQueue.js +50 -50
- package/dist/esm/{Dfp-2c43d2a0.js → Dfp-b7236041.js} +15 -15
- package/dist/esm/EventsDeck.js +67 -67
- package/dist/esm/ExternalResources.js +47 -48
- package/dist/esm/Feature.js +4 -4
- package/dist/esm/ForbesHero.js +12 -12
- package/dist/esm/GridContent.js +200 -82
- package/dist/esm/GridHero.js +13 -13
- package/dist/esm/GroupDeck.js +14 -14
- package/dist/esm/HamMagazine.js +39 -39
- package/dist/esm/Hero.js +4 -4
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +46 -47
- package/dist/esm/HorizontalHero.js +5 -5
- package/dist/esm/IssueContentDeck.js +27 -27
- package/dist/esm/IssueDeck.js +37 -37
- package/dist/esm/IssueLanding.js +81 -84
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +22 -22
- package/dist/esm/MasterDeck.js +45 -45
- package/dist/esm/MediaSeriesLanding.js +662 -751
- package/dist/esm/NavDvm.js +16 -16
- package/dist/esm/NavMagazine.js +44 -44
- package/dist/esm/NavNative.js +49 -49
- package/dist/esm/OncliveHero.js +5 -4
- package/dist/esm/OncliveLargeHero.js +13 -13
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +55 -63
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +6 -6
- package/dist/esm/PubSection.js +32 -34
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +24 -24
- package/dist/esm/PublicationLanding.js +76 -76
- package/dist/esm/QueueDeckExpanded.js +2102 -1097
- package/dist/esm/RecentNews.js +4 -4
- package/dist/esm/RelatedContent.js +35 -35
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/RolesDeck.js +12 -12
- package/dist/esm/Search.js +8 -8
- package/dist/esm/Segment.js +368 -343
- package/dist/esm/SeriesListingDeck.js +20 -20
- package/dist/esm/{SeriesSlider-5d5c08f4.js → SeriesSlider-a866bb21.js} +14 -14
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +17 -17
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-03c3e869.js} +12 -12
- package/dist/esm/TaxonomyCard.js +25 -25
- package/dist/esm/TaxonomyDescription.js +45 -46
- package/dist/esm/TemplateNormal.js +50 -50
- package/dist/esm/ThumbnailCard.js +7 -7
- package/dist/esm/Ustream.js +14 -14
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +53 -54
- package/dist/esm/VideoSeriesCard.js +14 -14
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +38 -38
- package/dist/esm/VideoSeriesListing.js +39 -37
- package/dist/esm/View.js +173 -93
- package/dist/esm/YahooHero.js +15 -15
- package/dist/esm/YoutubeGroup.js +26 -26
- 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-4877b617.js} +33 -33
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-83f53e4e.js} +4 -5
- 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 +325 -8
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +28 -445
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +44 -45
- package/dist/esm/{getTargeting-68291ce9.js → getTargeting-bd800589.js} +25 -16
- package/dist/esm/getTargeting.js +8 -8
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-f0fc23eb.js → index-41a678ea.js} +4 -4
- package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
- package/dist/esm/{index-0dbff1d1.js → index-73819142.js} +30 -36
- package/dist/esm/{index-98ca9cec.js → index-aaa2dae0.js} +11 -26
- package/dist/esm/{index-01d53c17.js → index-d6dc592a.js} +1261 -648
- package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
- package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
- package/dist/esm/{index.esm-f6156a57.js → index.esm-29e48d38.js} +16 -7
- package/dist/esm/{index.esm-d4932dea.js → index.esm-cf08bf18.js} +13 -6
- package/dist/esm/{index.esm-9b042655.js → index.esm-f8aaeeeb.js} +7 -4
- package/dist/esm/{index.esm-37268dca.js → index.esm-fd746768.js} +5 -4
- package/dist/esm/index.js +117 -125
- package/dist/esm/{inherits-a41fe93f.js → inherits-cf8dde54.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-17fdfebb.js} +31 -128
- package/dist/esm/main-e4a934b2.js +851 -0
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
- 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-6435ba1c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +116 -110
- package/dist/cjs/Auth.js +0 -3652
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/cjs/keys-7f2c2108.js +0 -25
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/cjs/md5-e1ca5797.js +0 -323
- package/dist/cjs/stringify-c9ac1214.js +0 -17
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/cjs/util-6f784d85.js +0 -576
- package/dist/esm/Auth.js +0 -3632
- package/dist/esm/index-db3bb315.js +0 -207
- package/dist/esm/main-d4165069.js +0 -961
- package/dist/esm/md5-4e42248e.js +0 -321
- package/dist/esm/stringify-59c8f690.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- package/dist/esm/util-3ab476bf.js +0 -574
|
@@ -1,438 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import getQuery from './getQuery.js';
|
|
5
|
-
import './es6.string.iterator-bc33758b.js';
|
|
6
|
-
import './_to-object-b50e61c3.js';
|
|
7
|
-
import './web.dom.iterable-4109ff68.js';
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
8
4
|
import './_library-528f1934.js';
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
map: false,
|
|
15
|
-
silent: false,
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
function isNonEmptyString(str) {
|
|
19
|
-
return typeof str === "string" && !!str.trim();
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function parseString(setCookieValue, options) {
|
|
23
|
-
var parts = setCookieValue.split(";").filter(isNonEmptyString);
|
|
24
|
-
var nameValue = parts.shift().split("=");
|
|
25
|
-
var name = nameValue.shift();
|
|
26
|
-
var value = nameValue.join("="); // everything after the first =, joined by a "=" if there was more than one part
|
|
27
|
-
|
|
28
|
-
options = options
|
|
29
|
-
? Object.assign({}, defaultParseOptions, options)
|
|
30
|
-
: defaultParseOptions;
|
|
31
|
-
|
|
32
|
-
try {
|
|
33
|
-
value = options.decodeValues ? decodeURIComponent(value) : value; // decode cookie value
|
|
34
|
-
} catch (e) {
|
|
35
|
-
console.error(
|
|
36
|
-
"set-cookie-parser encountered an error while decoding a cookie with value '" +
|
|
37
|
-
value +
|
|
38
|
-
"'. Set options.decodeValues to false to disable this feature.",
|
|
39
|
-
e
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
var cookie = {
|
|
44
|
-
name: name, // grab everything before the first =
|
|
45
|
-
value: value,
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
parts.forEach(function (part) {
|
|
49
|
-
var sides = part.split("=");
|
|
50
|
-
var key = sides.shift().trimLeft().toLowerCase();
|
|
51
|
-
var value = sides.join("=");
|
|
52
|
-
if (key === "expires") {
|
|
53
|
-
cookie.expires = new Date(value);
|
|
54
|
-
} else if (key === "max-age") {
|
|
55
|
-
cookie.maxAge = parseInt(value, 10);
|
|
56
|
-
} else if (key === "secure") {
|
|
57
|
-
cookie.secure = true;
|
|
58
|
-
} else if (key === "httponly") {
|
|
59
|
-
cookie.httpOnly = true;
|
|
60
|
-
} else if (key === "samesite") {
|
|
61
|
-
cookie.sameSite = value;
|
|
62
|
-
} else {
|
|
63
|
-
cookie[key] = value;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
return cookie;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
function parse(input, options) {
|
|
71
|
-
options = options
|
|
72
|
-
? Object.assign({}, defaultParseOptions, options)
|
|
73
|
-
: defaultParseOptions;
|
|
74
|
-
|
|
75
|
-
if (!input) {
|
|
76
|
-
if (!options.map) {
|
|
77
|
-
return [];
|
|
78
|
-
} else {
|
|
79
|
-
return {};
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
if (input.headers && input.headers["set-cookie"]) {
|
|
84
|
-
// fast-path for node.js (which automatically normalizes header names to lower-case
|
|
85
|
-
input = input.headers["set-cookie"];
|
|
86
|
-
} else if (input.headers) {
|
|
87
|
-
// slow-path for other environments - see #25
|
|
88
|
-
var sch =
|
|
89
|
-
input.headers[
|
|
90
|
-
Object.keys(input.headers).find(function (key) {
|
|
91
|
-
return key.toLowerCase() === "set-cookie";
|
|
92
|
-
})
|
|
93
|
-
];
|
|
94
|
-
// warn if called on a request-like object with a cookie header rather than a set-cookie header - see #34, 36
|
|
95
|
-
if (!sch && input.headers.cookie && !options.silent) {
|
|
96
|
-
console.warn(
|
|
97
|
-
"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."
|
|
98
|
-
);
|
|
99
|
-
}
|
|
100
|
-
input = sch;
|
|
101
|
-
}
|
|
102
|
-
if (!Array.isArray(input)) {
|
|
103
|
-
input = [input];
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
options = options
|
|
107
|
-
? Object.assign({}, defaultParseOptions, options)
|
|
108
|
-
: defaultParseOptions;
|
|
109
|
-
|
|
110
|
-
if (!options.map) {
|
|
111
|
-
return input.filter(isNonEmptyString).map(function (str) {
|
|
112
|
-
return parseString(str, options);
|
|
113
|
-
});
|
|
114
|
-
} else {
|
|
115
|
-
var cookies = {};
|
|
116
|
-
return input.filter(isNonEmptyString).reduce(function (cookies, str) {
|
|
117
|
-
var cookie = parseString(str, options);
|
|
118
|
-
cookies[cookie.name] = cookie;
|
|
119
|
-
return cookies;
|
|
120
|
-
}, cookies);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/*
|
|
125
|
-
Set-Cookie header field-values are sometimes comma joined in one string. This splits them without choking on commas
|
|
126
|
-
that are within a single set-cookie field-value, such as in the Expires portion.
|
|
127
|
-
|
|
128
|
-
This is uncommon, but explicitly allowed - see https://tools.ietf.org/html/rfc2616#section-4.2
|
|
129
|
-
Node.js does this for every header *except* set-cookie - see https://github.com/nodejs/node/blob/d5e363b77ebaf1caf67cd7528224b651c86815c1/lib/_http_incoming.js#L128
|
|
130
|
-
React Native's fetch does this for *every* header, including set-cookie.
|
|
131
|
-
|
|
132
|
-
Based on: https://github.com/google/j2objc/commit/16820fdbc8f76ca0c33472810ce0cb03d20efe25
|
|
133
|
-
Credits to: https://github.com/tomball for original and https://github.com/chrusart for JavaScript implementation
|
|
134
|
-
*/
|
|
135
|
-
function splitCookiesString(cookiesString) {
|
|
136
|
-
if (Array.isArray(cookiesString)) {
|
|
137
|
-
return cookiesString;
|
|
138
|
-
}
|
|
139
|
-
if (typeof cookiesString !== "string") {
|
|
140
|
-
return [];
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
var cookiesStrings = [];
|
|
144
|
-
var pos = 0;
|
|
145
|
-
var start;
|
|
146
|
-
var ch;
|
|
147
|
-
var lastComma;
|
|
148
|
-
var nextStart;
|
|
149
|
-
var cookiesSeparatorFound;
|
|
150
|
-
|
|
151
|
-
function skipWhitespace() {
|
|
152
|
-
while (pos < cookiesString.length && /\s/.test(cookiesString.charAt(pos))) {
|
|
153
|
-
pos += 1;
|
|
154
|
-
}
|
|
155
|
-
return pos < cookiesString.length;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
function notSpecialChar() {
|
|
159
|
-
ch = cookiesString.charAt(pos);
|
|
160
|
-
|
|
161
|
-
return ch !== "=" && ch !== ";" && ch !== ",";
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
while (pos < cookiesString.length) {
|
|
165
|
-
start = pos;
|
|
166
|
-
cookiesSeparatorFound = false;
|
|
167
|
-
|
|
168
|
-
while (skipWhitespace()) {
|
|
169
|
-
ch = cookiesString.charAt(pos);
|
|
170
|
-
if (ch === ",") {
|
|
171
|
-
// ',' is a cookie separator if we have later first '=', not ';' or ','
|
|
172
|
-
lastComma = pos;
|
|
173
|
-
pos += 1;
|
|
174
|
-
|
|
175
|
-
skipWhitespace();
|
|
176
|
-
nextStart = pos;
|
|
177
|
-
|
|
178
|
-
while (pos < cookiesString.length && notSpecialChar()) {
|
|
179
|
-
pos += 1;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
// currently special character
|
|
183
|
-
if (pos < cookiesString.length && cookiesString.charAt(pos) === "=") {
|
|
184
|
-
// we found cookies separator
|
|
185
|
-
cookiesSeparatorFound = true;
|
|
186
|
-
// pos is inside the next cookie, so back up and return it.
|
|
187
|
-
pos = nextStart;
|
|
188
|
-
cookiesStrings.push(cookiesString.substring(start, lastComma));
|
|
189
|
-
start = pos;
|
|
190
|
-
} else {
|
|
191
|
-
// in param ',' or param separator ';',
|
|
192
|
-
// we continue from that comma
|
|
193
|
-
pos = lastComma + 1;
|
|
194
|
-
}
|
|
195
|
-
} else {
|
|
196
|
-
pos += 1;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
if (!cookiesSeparatorFound || pos >= cookiesString.length) {
|
|
201
|
-
cookiesStrings.push(cookiesString.substring(start, cookiesString.length));
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
return cookiesStrings;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
var setCookie = parse;
|
|
209
|
-
var parse_1 = parse;
|
|
210
|
-
var parseString_1 = parseString;
|
|
211
|
-
var splitCookiesString_1 = splitCookiesString;
|
|
212
|
-
setCookie.parse = parse_1;
|
|
213
|
-
setCookie.parseString = parseString_1;
|
|
214
|
-
setCookie.splitCookiesString = splitCookiesString_1;
|
|
215
|
-
|
|
216
|
-
var utils = createCommonjsModule(function (module, exports) {
|
|
217
|
-
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
218
|
-
__assign = Object.assign || function(t) {
|
|
219
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
220
|
-
s = arguments[i];
|
|
221
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
222
|
-
t[p] = s[p];
|
|
223
|
-
}
|
|
224
|
-
return t;
|
|
225
|
-
};
|
|
226
|
-
return __assign.apply(this, arguments);
|
|
227
|
-
};
|
|
228
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
229
|
-
exports.areCookiesEqual = exports.hasSameProperties = exports.createCookie = exports.isBrowser = void 0;
|
|
230
|
-
/**
|
|
231
|
-
* Tells whether we are in a browser or server.
|
|
232
|
-
*/
|
|
233
|
-
function isBrowser() {
|
|
234
|
-
return typeof window !== 'undefined';
|
|
235
|
-
}
|
|
236
|
-
exports.isBrowser = isBrowser;
|
|
237
|
-
/**
|
|
238
|
-
* Create an instance of the Cookie interface
|
|
239
|
-
*/
|
|
240
|
-
function createCookie(name, value, options) {
|
|
241
|
-
var sameSite = options.sameSite;
|
|
242
|
-
if (sameSite === true) {
|
|
243
|
-
sameSite = 'strict';
|
|
244
|
-
}
|
|
245
|
-
if (sameSite === undefined || sameSite === false) {
|
|
246
|
-
sameSite = 'lax';
|
|
247
|
-
}
|
|
248
|
-
var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
|
|
249
|
-
delete cookieToSet.encode;
|
|
250
|
-
return __assign({ name: name, value: value }, cookieToSet);
|
|
251
|
-
}
|
|
252
|
-
exports.createCookie = createCookie;
|
|
253
|
-
/**
|
|
254
|
-
* Tells whether given objects have the same properties.
|
|
255
|
-
*/
|
|
256
|
-
function hasSameProperties(a, b) {
|
|
257
|
-
var aProps = Object.getOwnPropertyNames(a);
|
|
258
|
-
var bProps = Object.getOwnPropertyNames(b);
|
|
259
|
-
if (aProps.length !== bProps.length) {
|
|
260
|
-
return false;
|
|
261
|
-
}
|
|
262
|
-
for (var i = 0; i < aProps.length; i++) {
|
|
263
|
-
var propName = aProps[i];
|
|
264
|
-
if (a[propName] !== b[propName]) {
|
|
265
|
-
return false;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
return true;
|
|
269
|
-
}
|
|
270
|
-
exports.hasSameProperties = hasSameProperties;
|
|
271
|
-
/**
|
|
272
|
-
* Compare the cookie and return true if the cookies have equivalent
|
|
273
|
-
* options and the cookies would be overwritten in the browser storage.
|
|
274
|
-
*
|
|
275
|
-
* @param a first Cookie for comparison
|
|
276
|
-
* @param b second Cookie for comparison
|
|
277
|
-
*/
|
|
278
|
-
function areCookiesEqual(a, b) {
|
|
279
|
-
var sameSiteSame = a.sameSite === b.sameSite;
|
|
280
|
-
if (typeof a.sameSite === 'string' && typeof b.sameSite === 'string') {
|
|
281
|
-
sameSiteSame = a.sameSite.toLowerCase() === b.sameSite.toLowerCase();
|
|
282
|
-
}
|
|
283
|
-
return (hasSameProperties(__assign(__assign({}, a), { sameSite: undefined }), __assign(__assign({}, b), { sameSite: undefined })) && sameSiteSame);
|
|
284
|
-
}
|
|
285
|
-
exports.areCookiesEqual = areCookiesEqual;
|
|
286
|
-
/* Functions */
|
|
287
|
-
//# sourceMappingURL=utils.js.map
|
|
288
|
-
});
|
|
289
|
-
|
|
290
|
-
unwrapExports(utils);
|
|
291
|
-
utils.areCookiesEqual;
|
|
292
|
-
utils.hasSameProperties;
|
|
293
|
-
utils.createCookie;
|
|
294
|
-
utils.isBrowser;
|
|
295
|
-
|
|
296
|
-
var dist = createCommonjsModule(function (module, exports) {
|
|
297
|
-
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
298
|
-
__assign = Object.assign || function(t) {
|
|
299
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
300
|
-
s = arguments[i];
|
|
301
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
302
|
-
t[p] = s[p];
|
|
303
|
-
}
|
|
304
|
-
return t;
|
|
305
|
-
};
|
|
306
|
-
return __assign.apply(this, arguments);
|
|
307
|
-
};
|
|
308
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
309
|
-
exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* Parses cookies.
|
|
315
|
-
*
|
|
316
|
-
* @param ctx NextJS page or API context, express context, null or undefined.
|
|
317
|
-
* @param options Options that we pass down to `cookie` library.
|
|
318
|
-
*/
|
|
319
|
-
function parseCookies(ctx, options) {
|
|
320
|
-
var _a, _b;
|
|
321
|
-
if ((_b = (_a = ctx === null || ctx === void 0 ? void 0 : ctx.req) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b.cookie) {
|
|
322
|
-
return cookie.parse(ctx.req.headers.cookie, options);
|
|
323
|
-
}
|
|
324
|
-
if (utils.isBrowser()) {
|
|
325
|
-
return cookie.parse(document.cookie, options);
|
|
326
|
-
}
|
|
327
|
-
return {};
|
|
328
|
-
}
|
|
329
|
-
exports.parseCookies = parseCookies;
|
|
330
|
-
/**
|
|
331
|
-
* Sets a cookie.
|
|
332
|
-
*
|
|
333
|
-
* @param ctx NextJS page or API context, express context, null or undefined.
|
|
334
|
-
* @param name The name of your cookie.
|
|
335
|
-
* @param value The value of your cookie.
|
|
336
|
-
* @param options Options that we pass down to `cookie` library.
|
|
337
|
-
*/
|
|
338
|
-
function setCookie$1(ctx, name, value, options) {
|
|
339
|
-
var _a, _b;
|
|
340
|
-
if (options === void 0) { options = {}; }
|
|
341
|
-
// SSR
|
|
342
|
-
if (((_a = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _a === void 0 ? void 0 : _a.getHeader) && ctx.res.setHeader) {
|
|
343
|
-
// Check if response has finished and warn about it.
|
|
344
|
-
if ((_b = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _b === void 0 ? void 0 : _b.finished) {
|
|
345
|
-
console.warn("Not setting \"" + name + "\" cookie. Response has finished.");
|
|
346
|
-
console.warn("You should set cookie before res.send()");
|
|
347
|
-
return {};
|
|
348
|
-
}
|
|
349
|
-
/**
|
|
350
|
-
* Load existing cookies from the header and parse them.
|
|
351
|
-
*/
|
|
352
|
-
var cookies = ctx.res.getHeader('Set-Cookie') || [];
|
|
353
|
-
if (typeof cookies === 'string')
|
|
354
|
-
cookies = [cookies];
|
|
355
|
-
if (typeof cookies === 'number')
|
|
356
|
-
cookies = [];
|
|
357
|
-
/**
|
|
358
|
-
* Parse cookies but ignore values - we've already encoded
|
|
359
|
-
* them in the previous call.
|
|
360
|
-
*/
|
|
361
|
-
var parsedCookies = setCookie.parse(cookies, {
|
|
362
|
-
decodeValues: false,
|
|
363
|
-
});
|
|
364
|
-
/**
|
|
365
|
-
* We create the new cookie and make sure that none of
|
|
366
|
-
* the existing cookies match it.
|
|
367
|
-
*/
|
|
368
|
-
var newCookie_1 = utils.createCookie(name, value, options);
|
|
369
|
-
var cookiesToSet_1 = [];
|
|
370
|
-
parsedCookies.forEach(function (parsedCookie) {
|
|
371
|
-
if (!utils.areCookiesEqual(parsedCookie, newCookie_1)) {
|
|
372
|
-
/**
|
|
373
|
-
* We serialize the cookie back to the original format
|
|
374
|
-
* if it isn't the same as the new one.
|
|
375
|
-
*/
|
|
376
|
-
var serializedCookie = cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({
|
|
377
|
-
// we prevent reencoding by default, but you might override it
|
|
378
|
-
encode: function (val) { return val; } }, parsedCookie));
|
|
379
|
-
cookiesToSet_1.push(serializedCookie);
|
|
380
|
-
}
|
|
381
|
-
});
|
|
382
|
-
cookiesToSet_1.push(cookie.serialize(name, value, options));
|
|
383
|
-
// Update the header.
|
|
384
|
-
ctx.res.setHeader('Set-Cookie', cookiesToSet_1);
|
|
385
|
-
}
|
|
386
|
-
// Browser
|
|
387
|
-
if (utils.isBrowser()) {
|
|
388
|
-
if (options && options.httpOnly) {
|
|
389
|
-
throw new Error('Can not set a httpOnly cookie in the browser.');
|
|
390
|
-
}
|
|
391
|
-
document.cookie = cookie.serialize(name, value, options);
|
|
392
|
-
}
|
|
393
|
-
return {};
|
|
394
|
-
}
|
|
395
|
-
exports.setCookie = setCookie$1;
|
|
396
|
-
/**
|
|
397
|
-
* Destroys a cookie with a particular name.
|
|
398
|
-
*
|
|
399
|
-
* @param ctx NextJS page or API context, express context, null or undefined.
|
|
400
|
-
* @param name Cookie name.
|
|
401
|
-
* @param options Options that we pass down to `cookie` library.
|
|
402
|
-
*/
|
|
403
|
-
function destroyCookie(ctx, name, options) {
|
|
404
|
-
/**
|
|
405
|
-
* We forward the request destroy to setCookie function
|
|
406
|
-
* as it is the same function with modified maxAge value.
|
|
407
|
-
*/
|
|
408
|
-
return setCookie$1(ctx, name, '', __assign(__assign({}, (options || {})), { maxAge: -1 }));
|
|
409
|
-
}
|
|
410
|
-
exports.destroyCookie = destroyCookie;
|
|
411
|
-
/* Utility Exports */
|
|
412
|
-
exports.default = {
|
|
413
|
-
set: setCookie$1,
|
|
414
|
-
get: parseCookies,
|
|
415
|
-
destroy: destroyCookie,
|
|
416
|
-
};
|
|
417
|
-
//# sourceMappingURL=index.js.map
|
|
418
|
-
});
|
|
419
|
-
|
|
420
|
-
unwrapExports(dist);
|
|
421
|
-
dist.destroyCookie;
|
|
422
|
-
var dist_2 = dist.setCookie;
|
|
423
|
-
var dist_3 = dist.parseCookies;
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
+
import './web.dom.iterable-4439f05a.js';
|
|
8
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-4877b617.js';
|
|
9
|
+
import getQuery from './getQuery.js';
|
|
424
10
|
|
|
425
11
|
var _this = undefined;
|
|
426
12
|
|
|
427
13
|
var getRelatedArticle = function () {
|
|
428
14
|
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
|
|
429
|
-
var ctx = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
430
15
|
var client = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
431
16
|
var article = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
432
17
|
var prevUrl = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '/';
|
|
433
18
|
var articleCount = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
|
|
434
19
|
|
|
435
|
-
var _article$url, url, documentGroupMapping, issueGroup, content_placement, references, params, articles, filters,
|
|
20
|
+
var _article$url, url, documentGroupMapping, issueGroup, content_placement, references, params, articles, filters, query;
|
|
436
21
|
|
|
437
22
|
return regenerator.wrap(function _callee$(_context) {
|
|
438
23
|
while (1) {
|
|
@@ -490,48 +75,46 @@ var getRelatedArticle = function () {
|
|
|
490
75
|
articles = null;
|
|
491
76
|
|
|
492
77
|
if (!(references && references.length > 0)) {
|
|
493
|
-
_context.next =
|
|
78
|
+
_context.next = 23;
|
|
494
79
|
break;
|
|
495
80
|
}
|
|
496
81
|
|
|
497
82
|
filters = '&& references("' + references.join('","') + '") ';
|
|
498
83
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
} else dist_2(ctx, 'prevSlugs', '"' + url + '"', {});
|
|
508
|
-
}
|
|
84
|
+
// if (ctx && url) {
|
|
85
|
+
// const cookies = parseCookies(ctx)
|
|
86
|
+
// let prevSlugs = cookies['prevSlugs']
|
|
87
|
+
// if (!!prevSlugs) {
|
|
88
|
+
// if (!prevSlugs.includes(url)) setCookie(ctx, 'prevSlugs', `${prevSlugs},"${url}"`, {})
|
|
89
|
+
// filters = `${filters} && !(url.current in [${prevSlugs}])`
|
|
90
|
+
// } else setCookie(ctx, 'prevSlugs', `"${url}"`, {})
|
|
91
|
+
// }
|
|
509
92
|
|
|
510
93
|
query = getQuery('related', filters, '', articleCount).replace('&& taxonomyMapping[]._ref in $taxonomy', '');
|
|
511
|
-
_context.prev =
|
|
512
|
-
_context.next =
|
|
94
|
+
_context.prev = 14;
|
|
95
|
+
_context.next = 17;
|
|
513
96
|
return client.fetch(query, params);
|
|
514
97
|
|
|
515
|
-
case
|
|
98
|
+
case 17:
|
|
516
99
|
articles = _context.sent;
|
|
517
|
-
_context.next =
|
|
100
|
+
_context.next = 23;
|
|
518
101
|
break;
|
|
519
102
|
|
|
520
|
-
case
|
|
521
|
-
_context.prev =
|
|
522
|
-
_context.t0 = _context['catch'](
|
|
103
|
+
case 20:
|
|
104
|
+
_context.prev = 20;
|
|
105
|
+
_context.t0 = _context['catch'](14);
|
|
523
106
|
|
|
524
107
|
console.error(_context.t0);
|
|
525
108
|
|
|
526
|
-
case
|
|
109
|
+
case 23:
|
|
527
110
|
return _context.abrupt('return', articles);
|
|
528
111
|
|
|
529
|
-
case
|
|
112
|
+
case 24:
|
|
530
113
|
case 'end':
|
|
531
114
|
return _context.stop();
|
|
532
115
|
}
|
|
533
116
|
}
|
|
534
|
-
}, _callee, _this, [[
|
|
117
|
+
}, _callee, _this, [[14, 20]]);
|
|
535
118
|
}));
|
|
536
119
|
|
|
537
120
|
return function getRelatedArticle() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './web.dom.iterable-4109ff68.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
6
4
|
import './_library-528f1934.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
+
import './web.dom.iterable-4439f05a.js';
|
|
8
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-4877b617.js';
|
|
9
9
|
|
|
10
10
|
var _this = undefined;
|
|
11
11
|
|
|
@@ -1,55 +1,54 @@
|
|
|
1
|
-
import 'react';
|
|
2
|
-
export { g as default } from './index-01d53c17.js';
|
|
3
|
-
import './BlockContent-c99c9a8d.js';
|
|
4
|
-
import './entities-932b50cf.js';
|
|
5
|
-
import './slicedToArray-be2f7a22.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './es6.string.iterator-
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import '
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
+
import './_object-pie-33c40e79.js';
|
|
9
|
+
import './extends-6f2fcc99.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import './inherits-cf8dde54.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import './typeof-6435ba1c.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import 'react';
|
|
15
17
|
import './events-6c3a7a63.js';
|
|
18
|
+
import './index-41a678ea.js';
|
|
16
19
|
import 'prop-types';
|
|
20
|
+
import 'react-bootstrap/Row';
|
|
21
|
+
import 'react-bootstrap/Col';
|
|
22
|
+
import './moment-e2f9b20c.js';
|
|
17
23
|
import 'next/router';
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
21
|
-
import './stringify-59c8f690.js';
|
|
22
|
-
import './asyncToGenerator-7f8f9219.js';
|
|
23
|
-
import './_library-528f1934.js';
|
|
24
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
25
|
-
import './Segment.js';
|
|
26
|
-
import './main-d4165069.js';
|
|
27
|
-
import './extends-60e0e1c6.js';
|
|
28
|
-
import './_object-pie-133f504a.js';
|
|
29
|
-
import './index-755f2cc2.js';
|
|
24
|
+
import './isSymbol-1981418f.js';
|
|
25
|
+
import './debounce-9207d8ee.js';
|
|
26
|
+
import './toNumber-2f7a84cd.js';
|
|
30
27
|
import 'react-dom';
|
|
31
|
-
import './
|
|
32
|
-
import './
|
|
33
|
-
import './
|
|
28
|
+
import './index-73819142.js';
|
|
29
|
+
import './urlFor.js';
|
|
30
|
+
import './index-5f7e79e7.js';
|
|
31
|
+
import './main-e4a934b2.js';
|
|
32
|
+
import './entities-7cc3bf45.js';
|
|
33
|
+
import './slicedToArray-641f241f.js';
|
|
34
|
+
import './stringify-4330ccdc.js';
|
|
35
|
+
import './asyncToGenerator-4877b617.js';
|
|
36
|
+
import './Segment.js';
|
|
37
|
+
import './Beam.js';
|
|
38
|
+
import './AdSlot.js';
|
|
39
|
+
import 'react-bootstrap/Button';
|
|
40
|
+
import './BlockContent-e9b4ddcf.js';
|
|
41
|
+
import './index-c7e2ac95.js';
|
|
42
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
34
43
|
import './GroupDeck.js';
|
|
35
|
-
import '
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
44
|
+
import 'react-bootstrap';
|
|
45
|
+
import './iconBase-602d52fe.js';
|
|
46
|
+
import './index.esm-29e48d38.js';
|
|
47
|
+
export { g as default } from './index-d6dc592a.js';
|
|
48
|
+
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
38
49
|
import 'next/head';
|
|
39
50
|
import 'react-share';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
51
|
+
import './SocialShare.js';
|
|
52
|
+
import './_object-to-array-7e804fce.js';
|
|
42
53
|
import 'react-bootstrap/Pagination';
|
|
43
|
-
import 'react-bootstrap/Button';
|
|
44
|
-
import './AdSlot.js';
|
|
45
|
-
import './debounce-533d9748.js';
|
|
46
|
-
import './isSymbol-a7e9aafe.js';
|
|
47
|
-
import './toNumber-5aeba6e7.js';
|
|
48
|
-
import 'react-bootstrap/Row';
|
|
49
|
-
import 'react-bootstrap/Col';
|
|
50
|
-
import './inherits-a41fe93f.js';
|
|
51
|
-
import './_object-sap-f353c2a9.js';
|
|
52
|
-
import './define-property-fe54dc9f.js';
|
|
53
|
-
import './index.esm-f6156a57.js';
|
|
54
|
-
import './iconBase-ccc56b97.js';
|
|
55
54
|
import 'react-bootstrap/Figure';
|