@mjhls/mjh-framework 1.0.923 → 1.0.925
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 +22 -21
- package/dist/cjs/AD300x250x600.js +22 -21
- package/dist/cjs/AD728x90.js +25 -24
- package/dist/cjs/ADFloatingFooter.js +21 -20
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +21 -20
- package/dist/cjs/{ADInfeed-a4d973da.js → ADInfeed-44d43b8a.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +21 -20
- package/dist/cjs/ADSponsoredResources.js +21 -20
- package/dist/cjs/ADWebcast.js +21 -20
- package/dist/cjs/ADWelcome.js +18 -17
- package/dist/cjs/{ADlgInfeed-def2c25d.js → ADlgInfeed-24d739f6.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +20 -19
- package/dist/cjs/AdSlotsProvider.js +12 -11
- package/dist/cjs/AlgoliaSearch.js +14178 -31
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +49 -49
- package/dist/cjs/ArticleSeriesLandingPage.js +30 -29
- package/dist/cjs/ArticleSeriesListing.js +31 -30
- package/dist/cjs/Auth.js +482 -346
- package/dist/cjs/AuthWrapper.js +1766 -13
- package/dist/cjs/{AuthorComponent-17e1c62b.js → AuthorComponent-39b37d84.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-9ebd251f.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +23 -22
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +31 -30
- package/dist/cjs/ConferenceArticleCard.js +10 -10
- package/dist/cjs/ContentCardPaginated.js +38 -37
- package/dist/cjs/DeckContent.js +32 -31
- package/dist/cjs/DeckQueue.js +30 -29
- package/dist/cjs/DeckQueuePaginated.js +34 -33
- package/dist/cjs/{Dfp-bcaa7e3f.js → Dfp-9be904d5.js} +13 -12
- package/dist/cjs/EventsDeck.js +26 -26
- package/dist/cjs/ExternalResources.js +46 -46
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +46 -45
- package/dist/cjs/GridContentPaginated.js +49 -46
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +27 -27
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -47
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-6c00b878.js +2813 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +55 -55
- package/dist/cjs/LeftNav.js +20 -19
- package/dist/cjs/MasterDeck.js +33 -30
- package/dist/cjs/MasterDeckPaginated.js +36 -33
- package/dist/cjs/{MediaSeriesCard-be3f9e36.js → MediaSeriesCard-86991254.js} +1002 -799
- package/dist/cjs/MediaSeriesLanding.js +51 -50
- package/dist/cjs/MediaSeriesLandingPaginated.js +57 -56
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +29 -29
- package/dist/cjs/NavNative.js +30 -30
- package/dist/cjs/OncliveHero.js +7 -7
- package/dist/cjs/OncliveLargeHero.js +11 -11
- package/dist/cjs/PageFilter.js +4 -4
- package/dist/cjs/{Pagination-a2807e27.js → Pagination-885dcfbd.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +62 -61
- package/dist/cjs/PartnerDetailListingPaginated.js +62 -61
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PubSection.js +33 -32
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-6f89fb97.js → PublicationFeature-5ccf9b13.js} +2 -2
- package/dist/cjs/PublicationLanding.js +31 -27
- package/dist/cjs/QueueDeckExpanded.js +38 -35
- package/dist/cjs/QueueDeckExpandedPaginated.js +41 -38
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +10 -10
- package/dist/cjs/Schema.js +10 -10
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +18 -17
- package/dist/cjs/{SeriesSlider-88e59074.js → SeriesSlider-ba0c5d1a.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +13 -13
- package/dist/cjs/{SocialSearchComponent-af6ddcc0.js → SocialSearchComponent-b7faaedc.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +45 -45
- package/dist/cjs/TemplateNormal.js +46 -45
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +21 -21
- package/dist/cjs/VerticalHero.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +51 -51
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +36 -35
- package/dist/cjs/VideoSeriesListing.js +31 -30
- package/dist/cjs/View.js +91 -92
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +17 -17
- package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-54228b29.js} +6 -6
- package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-b1df62f0.js} +7 -7
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-171b9ea5.js → _object-sap-d1978572.js} +1 -1
- package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-ce86cae7.js} +2 -2
- package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-77821af0.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-f3c44602.js → core.get-iterator-method-5643aa10.js} +35 -35
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-21887c62.js → define-property-e8404b64.js} +6 -6
- package/dist/cjs/{defineProperty-77a37684.js → defineProperty-9673846a.js} +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/{entities-310b46ee.js → entities-df1aed86.js} +5 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-7df78678.js → extends-7c86182f.js} +8 -7
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +132 -68
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +45 -45
- package/dist/cjs/{getTargeting-1359b868.js → getTargeting-3c5754ac.js} +2 -2
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/index-50be6759.js +105 -0
- package/dist/cjs/{index-faf269e6.js → index-d0404e0f.js} +407 -157
- package/dist/cjs/{index-b5eb3ff8.js → index-d48b231c.js} +11 -6
- package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
- package/dist/cjs/{index-99edf08a.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index-44481153.js → index-fc2f1ca2.js} +42 -488
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-2bb721c8.js} +2 -2
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
- package/dist/cjs/{index.esm-f93506ac.js → index.esm-d51c9ac6.js} +1 -1
- package/dist/cjs/{index.esm-48e0f0d8.js → index.esm-d81454e7.js} +1 -1
- package/dist/cjs/index.js +146 -144
- package/dist/cjs/{inherits-420ee86f.js → inherits-de66ea16.js} +21 -18
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/{keys-d207942e.js → keys-e982b3fa.js} +6 -6
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-f0783643.js} +58 -10
- package/dist/cjs/main-f1c77adb.js +973 -0
- package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
- package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-067dd3bc.js} +12 -12
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-bbc68047.js → stringify-f7a37a8d.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-d7797c2b.js} +7 -7
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/cjs/{typeof-ec08d471.js → typeof-567e31ff.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-ad96158c.js → urlForFile-29d3815a.js} +1 -1
- package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-93a37fd0.js} +12 -1
- package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-d98303e0.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +25 -24
- package/dist/esm/AD300x250x600.js +25 -24
- package/dist/esm/AD728x90.js +28 -27
- package/dist/esm/ADFloatingFooter.js +27 -26
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +27 -26
- package/dist/esm/{ADInfeed-7ba4f982.js → ADInfeed-36171412.js} +9 -9
- package/dist/esm/ADSkyscraper.js +27 -26
- package/dist/esm/ADSponsoredResources.js +27 -26
- package/dist/esm/ADWebcast.js +27 -26
- package/dist/esm/ADWelcome.js +28 -27
- package/dist/esm/{ADlgInfeed-8eb5060f.js → ADlgInfeed-a1e9682e.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +23 -22
- package/dist/esm/AdSlotsProvider.js +13 -12
- package/dist/esm/AlgoliaSearch.js +14202 -55
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +55 -55
- package/dist/esm/ArticleSeriesLandingPage.js +36 -35
- package/dist/esm/ArticleSeriesListing.js +55 -54
- package/dist/esm/Auth.js +553 -417
- package/dist/esm/AuthWrapper.js +1780 -26
- package/dist/esm/{AuthorComponent-37ebc2bd.js → AuthorComponent-11adff02.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-1e73bd2c.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +78 -77
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +50 -49
- package/dist/esm/ConferenceArticleCard.js +23 -23
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +73 -72
- package/dist/esm/DeckContent.js +77 -76
- package/dist/esm/DeckQueue.js +68 -67
- package/dist/esm/DeckQueuePaginated.js +64 -63
- package/dist/esm/{Dfp-23281963.js → Dfp-102f0beb.js} +21 -20
- package/dist/esm/EventsDeck.js +86 -86
- package/dist/esm/ExternalResources.js +72 -72
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +143 -142
- package/dist/esm/GridContentPaginated.js +136 -133
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +104 -104
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +69 -69
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-f84174cb.js +2804 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +63 -63
- package/dist/esm/LeftNav.js +33 -32
- package/dist/esm/MasterDeck.js +66 -63
- package/dist/esm/MasterDeckPaginated.js +58 -55
- package/dist/esm/{MediaSeriesCard-b6034225.js → MediaSeriesCard-4d034b5b.js} +1002 -799
- package/dist/esm/MediaSeriesLanding.js +76 -75
- package/dist/esm/MediaSeriesLandingPaginated.js +80 -79
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +111 -111
- package/dist/esm/NavNative.js +101 -101
- package/dist/esm/OncliveHero.js +19 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/{Pagination-185dfca0.js → Pagination-59436882.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +95 -94
- package/dist/esm/PartnerDetailListingPaginated.js +93 -92
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +38 -37
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-d79db241.js → PublicationFeature-d88e76b9.js} +23 -23
- package/dist/esm/PublicationLanding.js +78 -74
- package/dist/esm/QueueDeckExpanded.js +276 -273
- package/dist/esm/QueueDeckExpandedPaginated.js +256 -253
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +23 -23
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Schema.js +12 -12
- package/dist/esm/Search.js +10 -10
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +31 -30
- package/dist/esm/{SeriesSlider-0a8cfca0.js → SeriesSlider-45adb8dc.js} +27 -27
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +30 -30
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-32ee0f63.js → SocialSearchComponent-4b56cd8c.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +49 -49
- package/dist/esm/TemplateNormal.js +66 -65
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +29 -29
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +63 -63
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +41 -40
- package/dist/esm/VideoSeriesListing.js +71 -70
- package/dist/esm/View.js +248 -249
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +48 -48
- package/dist/esm/{_is-array-4df618a6.js → _is-array-8d21b9e3.js} +6 -6
- package/dist/esm/{_iter-detect-130ee549.js → _iter-detect-98db3b07.js} +7 -7
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-8b8ea5a9.js → _object-sap-7cee6f84.js} +1 -1
- package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-2300e51b.js} +2 -2
- package/dist/esm/{asyncToGenerator-7bf8bc4d.js → asyncToGenerator-5ef104a7.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/{core.get-iterator-method-86d4db69.js → core.get-iterator-method-ea258bb1.js} +36 -36
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/define-property-5f1bda73.js +18 -0
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/{defineProperty-d7d9b577.js → defineProperty-8c30428f.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-6d9154b4.js} +5 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-a4230287.js → extends-6d8e3924.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +133 -69
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +45 -45
- package/dist/esm/{getTargeting-ba1ffe43.js → getTargeting-42f9b439.js} +2 -2
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-51a80699.js → index-3f5c03b2.js} +11 -6
- package/dist/esm/{index-93fc4be2.js → index-3f653f73.js} +802 -551
- package/dist/esm/{index-6c12bdd5.js → index-755f2cc2.js} +10 -10
- package/dist/esm/{index-fa2ffe86.js → index-79cfd25c.js} +44 -45
- package/dist/esm/index-98ca9cec.js +100 -0
- package/dist/esm/{index-1819118a.js → index-f0fc23eb.js} +44 -490
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-d1125763.js → index.esm-1bd8a0a8.js} +1 -1
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-37268dca.js} +16 -16
- package/dist/esm/{index.esm-c6715e80.js → index.esm-9b042655.js} +1 -1
- package/dist/esm/{index.esm-55f22b35.js → index.esm-eb1e8e80.js} +1 -1
- package/dist/esm/index.js +141 -139
- package/dist/esm/{inherits-91a2c374.js → inherits-a6ba2ec4.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-69989821.js → keys-31dcdb31.js} +6 -6
- package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
- package/dist/esm/main-1894c974.js +961 -0
- package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-9be47857.js} +20 -20
- package/dist/esm/{slicedToArray-67a08c9c.js → slicedToArray-6ebcbfea.js} +12 -12
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-2b084bee.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-32282905.js → toConsumableArray-f7074d7c.js} +7 -7
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/dist/esm/{typeof-f1b7564e.js → typeof-e9fc0c5d.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-d2a27665.js → urlForFile-b69adffc.js} +1 -1
- package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-d3714624.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-8ed16d48.js} +12 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-ab4dea5c.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ImageSlider-10cd194f.js +0 -1383
- package/dist/cjs/main-7b5e57b0.js +0 -898
- package/dist/esm/ImageSlider-522a2cd0.js +0 -1375
- package/dist/esm/define-property-6d26cb48.js +0 -18
- package/dist/esm/main-43ca42fe.js +0 -886
- package/dist/esm/stringify-70b72959.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-a195642e.js} +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './
|
|
3
|
-
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-130ee549.js';
|
|
5
|
-
import './web.dom.iterable-f8f967cd.js';
|
|
6
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7bf8bc4d.js';
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-5ef104a7.js';
|
|
2
|
+
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
7
3
|
import { c as cookie } from './index-db3bb315.js';
|
|
8
4
|
import getQuery from './getQuery.js';
|
|
5
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
6
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
7
|
+
import './_library-528f1934.js';
|
|
8
|
+
import './_iter-detect-98db3b07.js';
|
|
9
9
|
|
|
10
10
|
var defaultParseOptions = {
|
|
11
11
|
decodeValues: true,
|
|
@@ -27,9 +27,20 @@ function parseString(setCookieValue, options) {
|
|
|
27
27
|
? Object.assign({}, defaultParseOptions, options)
|
|
28
28
|
: defaultParseOptions;
|
|
29
29
|
|
|
30
|
+
try {
|
|
31
|
+
value = options.decodeValues ? decodeURIComponent(value) : value; // decode cookie value
|
|
32
|
+
} catch (e) {
|
|
33
|
+
console.error(
|
|
34
|
+
"set-cookie-parser encountered an error while decoding a cookie with value '" +
|
|
35
|
+
value +
|
|
36
|
+
"'. Set options.decodeValues to false to disable this feature.",
|
|
37
|
+
e
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
30
41
|
var cookie = {
|
|
31
42
|
name: name, // grab everything before the first =
|
|
32
|
-
value:
|
|
43
|
+
value: value,
|
|
33
44
|
};
|
|
34
45
|
|
|
35
46
|
parts.forEach(function (part) {
|
|
@@ -200,7 +211,7 @@ setCookie.parse = parse_1;
|
|
|
200
211
|
setCookie.parseString = parseString_1;
|
|
201
212
|
setCookie.splitCookiesString = splitCookiesString_1;
|
|
202
213
|
|
|
203
|
-
var
|
|
214
|
+
var utils = createCommonjsModule(function (module, exports) {
|
|
204
215
|
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
205
216
|
__assign = Object.assign || function(t) {
|
|
206
217
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -213,10 +224,33 @@ var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
|
213
224
|
return __assign.apply(this, arguments);
|
|
214
225
|
};
|
|
215
226
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
216
|
-
exports.
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
227
|
+
exports.areCookiesEqual = exports.hasSameProperties = exports.createCookie = exports.isBrowser = void 0;
|
|
228
|
+
/**
|
|
229
|
+
* Tells whether we are in a browser or server.
|
|
230
|
+
*/
|
|
231
|
+
function isBrowser() {
|
|
232
|
+
return typeof window !== 'undefined';
|
|
233
|
+
}
|
|
234
|
+
exports.isBrowser = isBrowser;
|
|
235
|
+
/**
|
|
236
|
+
* Create an instance of the Cookie interface
|
|
237
|
+
*/
|
|
238
|
+
function createCookie(name, value, options) {
|
|
239
|
+
var sameSite = options.sameSite;
|
|
240
|
+
if (sameSite === true) {
|
|
241
|
+
sameSite = 'strict';
|
|
242
|
+
}
|
|
243
|
+
if (sameSite === undefined || sameSite === false) {
|
|
244
|
+
sameSite = 'lax';
|
|
245
|
+
}
|
|
246
|
+
var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
|
|
247
|
+
delete cookieToSet.encode;
|
|
248
|
+
return __assign({ name: name, value: value }, cookieToSet);
|
|
249
|
+
}
|
|
250
|
+
exports.createCookie = createCookie;
|
|
251
|
+
/**
|
|
252
|
+
* Tells whether given objects have the same properties.
|
|
253
|
+
*/
|
|
220
254
|
function hasSameProperties(a, b) {
|
|
221
255
|
var aProps = Object.getOwnPropertyNames(a);
|
|
222
256
|
var bProps = Object.getOwnPropertyNames(b);
|
|
@@ -231,8 +265,9 @@ function hasSameProperties(a, b) {
|
|
|
231
265
|
}
|
|
232
266
|
return true;
|
|
233
267
|
}
|
|
268
|
+
exports.hasSameProperties = hasSameProperties;
|
|
234
269
|
/**
|
|
235
|
-
* Compare the cookie and return true if the cookies
|
|
270
|
+
* Compare the cookie and return true if the cookies have equivalent
|
|
236
271
|
* options and the cookies would be overwritten in the browser storage.
|
|
237
272
|
*
|
|
238
273
|
* @param a first Cookie for comparison
|
|
@@ -245,71 +280,109 @@ function areCookiesEqual(a, b) {
|
|
|
245
280
|
}
|
|
246
281
|
return (hasSameProperties(__assign(__assign({}, a), { sameSite: undefined }), __assign(__assign({}, b), { sameSite: undefined })) && sameSiteSame);
|
|
247
282
|
}
|
|
283
|
+
exports.areCookiesEqual = areCookiesEqual;
|
|
284
|
+
/* Functions */
|
|
285
|
+
|
|
286
|
+
});
|
|
287
|
+
|
|
288
|
+
unwrapExports(utils);
|
|
289
|
+
utils.areCookiesEqual;
|
|
290
|
+
utils.hasSameProperties;
|
|
291
|
+
utils.createCookie;
|
|
292
|
+
utils.isBrowser;
|
|
293
|
+
|
|
294
|
+
var dist = createCommonjsModule(function (module, exports) {
|
|
295
|
+
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
296
|
+
__assign = Object.assign || function(t) {
|
|
297
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
298
|
+
s = arguments[i];
|
|
299
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
300
|
+
t[p] = s[p];
|
|
301
|
+
}
|
|
302
|
+
return t;
|
|
303
|
+
};
|
|
304
|
+
return __assign.apply(this, arguments);
|
|
305
|
+
};
|
|
306
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
307
|
+
exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
248
311
|
/**
|
|
249
|
-
* Create an instance of the Cookie interface
|
|
250
|
-
*
|
|
251
|
-
* @param name name of the Cookie
|
|
252
|
-
* @param value value of the Cookie
|
|
253
|
-
* @param options Cookie options
|
|
254
|
-
*/
|
|
255
|
-
function createCookie(name, value, options) {
|
|
256
|
-
var sameSite = options.sameSite;
|
|
257
|
-
if (sameSite === true) {
|
|
258
|
-
sameSite = 'strict';
|
|
259
|
-
}
|
|
260
|
-
if (sameSite === undefined || sameSite === false) {
|
|
261
|
-
sameSite = 'lax';
|
|
262
|
-
}
|
|
263
|
-
var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
|
|
264
|
-
delete cookieToSet.encode;
|
|
265
|
-
return __assign({ name: name, value: value }, cookieToSet);
|
|
266
|
-
}
|
|
267
|
-
/**
|
|
268
|
-
*
|
|
269
312
|
* Parses cookies.
|
|
270
313
|
*
|
|
271
|
-
* @param ctx
|
|
272
|
-
* @param options
|
|
314
|
+
* @param ctx NextJS page or API context, express context, null or undefined.
|
|
315
|
+
* @param options Options that we pass down to `cookie` library.
|
|
273
316
|
*/
|
|
274
317
|
function parseCookies(ctx, options) {
|
|
275
|
-
|
|
318
|
+
var _a, _b;
|
|
319
|
+
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) {
|
|
276
320
|
return cookie.parse(ctx.req.headers.cookie, options);
|
|
277
321
|
}
|
|
278
|
-
if (isBrowser()) {
|
|
322
|
+
if (utils.isBrowser()) {
|
|
279
323
|
return cookie.parse(document.cookie, options);
|
|
280
324
|
}
|
|
281
325
|
return {};
|
|
282
326
|
}
|
|
283
327
|
exports.parseCookies = parseCookies;
|
|
284
328
|
/**
|
|
285
|
-
*
|
|
286
329
|
* Sets a cookie.
|
|
287
330
|
*
|
|
288
|
-
* @param ctx
|
|
289
|
-
* @param name
|
|
290
|
-
* @param value
|
|
291
|
-
* @param options
|
|
331
|
+
* @param ctx NextJS page or API context, express context, null or undefined.
|
|
332
|
+
* @param name The name of your cookie.
|
|
333
|
+
* @param value The value of your cookie.
|
|
334
|
+
* @param options Options that we pass down to `cookie` library.
|
|
292
335
|
*/
|
|
293
336
|
function setCookie$1(ctx, name, value, options) {
|
|
294
|
-
|
|
337
|
+
var _a, _b;
|
|
338
|
+
if (options === void 0) { options = {}; }
|
|
339
|
+
// SSR
|
|
340
|
+
if (((_a = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _a === void 0 ? void 0 : _a.getHeader) && ctx.res.setHeader) {
|
|
341
|
+
// Check if response has finished and warn about it.
|
|
342
|
+
if ((_b = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _b === void 0 ? void 0 : _b.finished) {
|
|
343
|
+
console.warn("Not setting \"" + name + "\" cookie. Response has finished.");
|
|
344
|
+
console.warn("You should set cookie before res.send()");
|
|
345
|
+
return {};
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Load existing cookies from the header and parse them.
|
|
349
|
+
*/
|
|
295
350
|
var cookies = ctx.res.getHeader('Set-Cookie') || [];
|
|
296
351
|
if (typeof cookies === 'string')
|
|
297
352
|
cookies = [cookies];
|
|
298
353
|
if (typeof cookies === 'number')
|
|
299
354
|
cookies = [];
|
|
300
|
-
|
|
355
|
+
/**
|
|
356
|
+
* Parse cookies but ignore values - we've already encoded
|
|
357
|
+
* them in the previous call.
|
|
358
|
+
*/
|
|
359
|
+
var parsedCookies = setCookie.parse(cookies, {
|
|
360
|
+
decodeValues: false,
|
|
361
|
+
});
|
|
362
|
+
/**
|
|
363
|
+
* We create the new cookie and make sure that none of
|
|
364
|
+
* the existing cookies match it.
|
|
365
|
+
*/
|
|
366
|
+
var newCookie_1 = utils.createCookie(name, value, options);
|
|
301
367
|
var cookiesToSet_1 = [];
|
|
302
368
|
parsedCookies.forEach(function (parsedCookie) {
|
|
303
|
-
if (!areCookiesEqual(parsedCookie,
|
|
304
|
-
|
|
369
|
+
if (!utils.areCookiesEqual(parsedCookie, newCookie_1)) {
|
|
370
|
+
/**
|
|
371
|
+
* We serialize the cookie back to the original format
|
|
372
|
+
* if it isn't the same as the new one.
|
|
373
|
+
*/
|
|
374
|
+
var serializedCookie = cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({
|
|
375
|
+
// we prevent reencoding by default, but you might override it
|
|
376
|
+
encode: function (val) { return val; } }, parsedCookie));
|
|
377
|
+
cookiesToSet_1.push(serializedCookie);
|
|
305
378
|
}
|
|
306
379
|
});
|
|
307
380
|
cookiesToSet_1.push(cookie.serialize(name, value, options));
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
}
|
|
381
|
+
// Update the header.
|
|
382
|
+
ctx.res.setHeader('Set-Cookie', cookiesToSet_1);
|
|
311
383
|
}
|
|
312
|
-
|
|
384
|
+
// Browser
|
|
385
|
+
if (utils.isBrowser()) {
|
|
313
386
|
if (options && options.httpOnly) {
|
|
314
387
|
throw new Error('Can not set a httpOnly cookie in the browser.');
|
|
315
388
|
}
|
|
@@ -319,30 +392,21 @@ function setCookie$1(ctx, name, value, options) {
|
|
|
319
392
|
}
|
|
320
393
|
exports.setCookie = setCookie$1;
|
|
321
394
|
/**
|
|
322
|
-
*
|
|
323
395
|
* Destroys a cookie with a particular name.
|
|
324
396
|
*
|
|
325
|
-
* @param ctx
|
|
326
|
-
* @param name
|
|
327
|
-
* @param options
|
|
397
|
+
* @param ctx NextJS page or API context, express context, null or undefined.
|
|
398
|
+
* @param name Cookie name.
|
|
399
|
+
* @param options Options that we pass down to `cookie` library.
|
|
328
400
|
*/
|
|
329
401
|
function destroyCookie(ctx, name, options) {
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
if (typeof cookies === 'number')
|
|
336
|
-
cookies = [];
|
|
337
|
-
cookies.push(cookie.serialize(name, '', opts));
|
|
338
|
-
ctx.res.setHeader('Set-Cookie', cookies);
|
|
339
|
-
}
|
|
340
|
-
if (isBrowser()) {
|
|
341
|
-
document.cookie = cookie.serialize(name, '', opts);
|
|
342
|
-
}
|
|
343
|
-
return {};
|
|
402
|
+
/**
|
|
403
|
+
* We forward the request destroy to setCookie function
|
|
404
|
+
* as it is the same function with modified maxAge value.
|
|
405
|
+
*/
|
|
406
|
+
return setCookie$1(ctx, name, '', __assign(__assign({}, (options || {})), { maxAge: -1 }));
|
|
344
407
|
}
|
|
345
408
|
exports.destroyCookie = destroyCookie;
|
|
409
|
+
/* Utility Exports */
|
|
346
410
|
exports.default = {
|
|
347
411
|
set: setCookie$1,
|
|
348
412
|
get: parseCookies,
|
|
@@ -352,7 +416,7 @@ exports.default = {
|
|
|
352
416
|
});
|
|
353
417
|
|
|
354
418
|
unwrapExports(dist);
|
|
355
|
-
|
|
419
|
+
dist.destroyCookie;
|
|
356
420
|
var dist_2 = dist.setCookie;
|
|
357
421
|
var dist_3 = dist.parseCookies;
|
|
358
422
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-5ef104a7.js';
|
|
1
2
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './core.get-iterator-method-
|
|
3
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
4
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
3
5
|
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-
|
|
5
|
-
import './web.dom.iterable-f8f967cd.js';
|
|
6
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7bf8bc4d.js';
|
|
6
|
+
import './_iter-detect-98db3b07.js';
|
|
7
7
|
|
|
8
8
|
var _this = undefined;
|
|
9
9
|
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
-
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-130ee549.js';
|
|
5
|
-
import './toConsumableArray-32282905.js';
|
|
6
|
-
import './_object-pie-33c40e79.js';
|
|
7
|
-
import './extends-a4230287.js';
|
|
8
|
-
import './_object-sap-8b8ea5a9.js';
|
|
9
|
-
import './inherits-91a2c374.js';
|
|
10
|
-
import './define-property-6d26cb48.js';
|
|
11
|
-
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
-
import './typeof-f1b7564e.js';
|
|
13
|
-
import './_is-array-4df618a6.js';
|
|
1
|
+
import './extends-6d8e3924.js';
|
|
14
2
|
import 'react';
|
|
15
|
-
|
|
3
|
+
export { g as default } from './index-3f653f73.js';
|
|
4
|
+
import './BlockContent-1e73bd2c.js';
|
|
5
|
+
import './entities-6d9154b4.js';
|
|
6
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
8
|
+
import './_object-pie-133f504a.js';
|
|
9
|
+
import './slicedToArray-6ebcbfea.js';
|
|
10
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
11
|
+
import 'react-bootstrap';
|
|
12
|
+
import './urlFor.js';
|
|
13
|
+
import './index-3f5c03b2.js';
|
|
14
|
+
import './index-f0fc23eb.js';
|
|
15
|
+
import './events-6c3a7a63.js';
|
|
16
16
|
import 'prop-types';
|
|
17
|
-
import 'react-bootstrap/Row';
|
|
18
|
-
import 'react-bootstrap/Col';
|
|
19
|
-
import './moment-b6f49411.js';
|
|
20
17
|
import 'next/router';
|
|
21
|
-
import './isSymbol-1981418f.js';
|
|
22
|
-
import './debounce-9207d8ee.js';
|
|
23
|
-
import './toNumber-2f7a84cd.js';
|
|
24
|
-
import 'react-dom';
|
|
25
|
-
import './slicedToArray-67a08c9c.js';
|
|
26
|
-
import './index-51a80699.js';
|
|
27
|
-
import './urlFor.js';
|
|
28
|
-
import './index-6c12bdd5.js';
|
|
29
|
-
import './main-43ca42fe.js';
|
|
30
|
-
import './entities-7cc3bf45.js';
|
|
31
|
-
import './stringify-70b72959.js';
|
|
32
|
-
import './asyncToGenerator-7bf8bc4d.js';
|
|
33
|
-
import './Segment.js';
|
|
34
|
-
import './Beam.js';
|
|
35
|
-
import './AdSlot.js';
|
|
36
|
-
import 'react-bootstrap/Button';
|
|
37
|
-
import './BlockContent-d05b5b23.js';
|
|
38
18
|
import './index-c7e2ac95.js';
|
|
39
|
-
import './
|
|
19
|
+
import './util-8ed16d48.js';
|
|
20
|
+
import './Beam.js';
|
|
21
|
+
import './stringify-2b084bee.js';
|
|
22
|
+
import './asyncToGenerator-5ef104a7.js';
|
|
23
|
+
import './_library-528f1934.js';
|
|
24
|
+
import './_iter-detect-98db3b07.js';
|
|
25
|
+
import './Segment.js';
|
|
26
|
+
import './main-1894c974.js';
|
|
27
|
+
import './urlForFile-b69adffc.js';
|
|
28
|
+
import './index-755f2cc2.js';
|
|
29
|
+
import 'react-dom';
|
|
30
|
+
import './typeof-e9fc0c5d.js';
|
|
31
|
+
import './_is-array-8d21b9e3.js';
|
|
32
|
+
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
40
33
|
import './GroupDeck.js';
|
|
41
|
-
import '
|
|
42
|
-
import './
|
|
43
|
-
import './
|
|
44
|
-
export { g as default } from './index-93fc4be2.js';
|
|
45
|
-
import './util-7700fc59.js';
|
|
46
|
-
import './urlForFile-d2a27665.js';
|
|
47
|
-
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
34
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
35
|
+
import './moment-bc12cb97.js';
|
|
36
|
+
import './SocialShare.js';
|
|
48
37
|
import 'next/head';
|
|
49
38
|
import 'react-share';
|
|
50
|
-
import './
|
|
51
|
-
import './
|
|
39
|
+
import './_object-to-array-2300e51b.js';
|
|
40
|
+
import './toConsumableArray-f7074d7c.js';
|
|
52
41
|
import 'react-bootstrap/Pagination';
|
|
42
|
+
import 'react-bootstrap/Button';
|
|
43
|
+
import './AdSlot.js';
|
|
44
|
+
import './debounce-533d9748.js';
|
|
45
|
+
import './isSymbol-a7e9aafe.js';
|
|
46
|
+
import './toNumber-5aeba6e7.js';
|
|
47
|
+
import 'react-bootstrap/Row';
|
|
48
|
+
import 'react-bootstrap/Col';
|
|
49
|
+
import './inherits-a6ba2ec4.js';
|
|
50
|
+
import './_object-sap-7cee6f84.js';
|
|
51
|
+
import './define-property-5f1bda73.js';
|
|
52
|
+
import './index.esm-eb1e8e80.js';
|
|
53
|
+
import './iconBase-ccc56b97.js';
|
|
53
54
|
import 'react-bootstrap/Figure';
|
|
54
55
|
import 'react-bootstrap/OverlayTrigger';
|
|
55
56
|
import 'react-bootstrap/Tooltip';
|
|
56
57
|
import 'react-bootstrap/Popover';
|
|
57
|
-
import 'react-script-tag';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { _ as
|
|
1
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
2
|
+
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
3
3
|
|
|
4
4
|
var getContentPlacementUrl = function getContentPlacementUrl(cp) {
|
|
5
5
|
var cp_url = '';
|
package/dist/esm/getTargeting.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import './extends-6d8e3924.js';
|
|
2
|
+
import './toConsumableArray-f7074d7c.js';
|
|
3
|
+
export { g as default } from './getTargeting-42f9b439.js';
|
|
1
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './core.get-iterator-method-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './_object-pie-33c40e79.js';
|
|
6
|
-
import './extends-a4230287.js';
|
|
7
|
-
export { g as default } from './getTargeting-ba1ffe43.js';
|
|
5
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
6
|
+
import './_object-pie-133f504a.js';
|
|
7
|
+
import './_iter-detect-98db3b07.js';
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
1
|
+
import * as React from 'react';
|
|
4
2
|
|
|
5
3
|
var DefaultContext = {
|
|
6
4
|
color: undefined,
|
|
@@ -80,5 +78,4 @@ function IconBase(props) {
|
|
|
80
78
|
}) : elem(DefaultContext);
|
|
81
79
|
}
|
|
82
80
|
|
|
83
|
-
|
|
84
|
-
exports.IconContext = IconContext;
|
|
81
|
+
export { GenIcon as G, IconContext as I };
|
|
@@ -183,6 +183,7 @@ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS = [
|
|
|
183
183
|
['saturation', 'sat'],
|
|
184
184
|
['auto', 'auto'],
|
|
185
185
|
['dpr', 'dpr'],
|
|
186
|
+
['pad', 'pad'],
|
|
186
187
|
];
|
|
187
188
|
function urlForImage(options) {
|
|
188
189
|
var spec = __assign({}, (options || {}));
|
|
@@ -329,8 +330,8 @@ function fit(source, spec) {
|
|
|
329
330
|
});
|
|
330
331
|
|
|
331
332
|
unwrapExports(urlForImage_1);
|
|
332
|
-
|
|
333
|
-
|
|
333
|
+
urlForImage_1.parseSource;
|
|
334
|
+
urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
|
|
334
335
|
|
|
335
336
|
var builder = createCommonjsModule(function (module, exports) {
|
|
336
337
|
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
@@ -356,7 +357,7 @@ var urlForImage_1$1 = __importStar(urlForImage_1);
|
|
|
356
357
|
var validFits = ['clip', 'crop', 'fill', 'fillmax', 'max', 'scale', 'min'];
|
|
357
358
|
var validCrops = ['top', 'bottom', 'left', 'right', 'center', 'focalpoint', 'entropy'];
|
|
358
359
|
var validAutoModes = ['format'];
|
|
359
|
-
function
|
|
360
|
+
function isSanityClientLike(client) {
|
|
360
361
|
return client ? typeof client.clientConfig === 'object' : false;
|
|
361
362
|
}
|
|
362
363
|
function rewriteSpecName(key) {
|
|
@@ -373,7 +374,7 @@ function rewriteSpecName(key) {
|
|
|
373
374
|
function urlBuilder(options) {
|
|
374
375
|
// Did we get a SanityClient?
|
|
375
376
|
var client = options;
|
|
376
|
-
if (
|
|
377
|
+
if (isSanityClientLike(client)) {
|
|
377
378
|
// Inherit config from client
|
|
378
379
|
var _a = client.clientConfig, apiUrl = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
|
|
379
380
|
var apiHost = apiUrl || 'https://api.sanity.io';
|
|
@@ -487,7 +488,7 @@ var ImageUrlBuilder = /** @class */ (function () {
|
|
|
487
488
|
ImageUrlBuilder.prototype.flipHorizontal = function () {
|
|
488
489
|
return this.withOptions({ flipHorizontal: true });
|
|
489
490
|
};
|
|
490
|
-
// Flip image
|
|
491
|
+
// Flip image vertically
|
|
491
492
|
ImageUrlBuilder.prototype.flipVertical = function () {
|
|
492
493
|
return this.withOptions({ flipVertical: true });
|
|
493
494
|
};
|
|
@@ -517,6 +518,10 @@ var ImageUrlBuilder = /** @class */ (function () {
|
|
|
517
518
|
}
|
|
518
519
|
return this.withOptions({ auto: value });
|
|
519
520
|
};
|
|
521
|
+
// Specify the number of pixels to pad the image
|
|
522
|
+
ImageUrlBuilder.prototype.pad = function (pad) {
|
|
523
|
+
return this.withOptions({ pad: pad });
|
|
524
|
+
};
|
|
520
525
|
// Gets the url based on the submitted parameters
|
|
521
526
|
ImageUrlBuilder.prototype.url = function () {
|
|
522
527
|
return urlForImage_1$1.default(this.options);
|
|
@@ -532,7 +537,7 @@ exports.ImageUrlBuilder = ImageUrlBuilder;
|
|
|
532
537
|
});
|
|
533
538
|
|
|
534
539
|
unwrapExports(builder);
|
|
535
|
-
|
|
540
|
+
builder.ImageUrlBuilder;
|
|
536
541
|
|
|
537
542
|
var node = createCommonjsModule(function (module) {
|
|
538
543
|
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|