@mjhls/mjh-framework 1.0.799-ad-initial-load-disabled → 1.0.799-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +29 -30
- package/dist/cjs/AD300x250x600.js +29 -30
- package/dist/cjs/AD728x90.js +32 -33
- package/dist/cjs/ADFloatingFooter.js +31 -32
- package/dist/cjs/ADFooter.js +14 -15
- package/dist/cjs/ADGutter.js +31 -32
- package/dist/cjs/{ADInfeed-484d6d01.js → ADInfeed-5b042ade.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +31 -32
- package/dist/cjs/ADSponsoredResources.js +31 -32
- package/dist/cjs/ADWebcast.js +31 -32
- package/dist/cjs/ADWelcome.js +32 -33
- package/dist/cjs/{ADlgInfeed-560406f8.js → ADlgInfeed-e92b6f9f.js} +10 -11
- package/dist/cjs/AccordionPanel.js +29 -31
- package/dist/cjs/AdSlot.js +34 -36
- package/dist/cjs/AdSlotsProvider.js +16 -17
- package/dist/cjs/AlphabeticList.js +25 -26
- package/dist/cjs/ArticleCarousel.js +23 -24
- package/dist/cjs/ArticleProgramLandingPage.js +56 -57
- package/dist/cjs/ArticleSeriesLandingPage.js +40 -41
- package/dist/cjs/ArticleSeriesListing.js +60 -61
- package/dist/cjs/Auth.js +462 -686
- 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 +58 -61
- package/dist/cjs/ConferenceArticleCard.js +23 -24
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +95 -99
- package/dist/cjs/DeckQueue.js +88 -92
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-946b8c39.js} +33 -34
- package/dist/cjs/EventsDeck.js +135 -142
- package/dist/cjs/ExternalResources.js +79 -80
- package/dist/cjs/Feature.js +25 -27
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +178 -182
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +58 -59
- package/dist/cjs/HamMagazine.js +131 -136
- 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 +69 -70
- package/dist/cjs/HorizontalHero.js +26 -27
- package/dist/cjs/IssueContentDeck.js +72 -77
- package/dist/cjs/IssueDeck.js +71 -76
- package/dist/cjs/IssueLanding.js +42 -43
- package/dist/cjs/LeftNav.js +38 -40
- package/dist/cjs/MasterDeck.js +71 -72
- package/dist/cjs/MediaSeriesLanding.js +955 -966
- package/dist/cjs/NavDvm.js +74 -79
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +138 -143
- package/dist/cjs/NavNative.js +130 -138
- package/dist/cjs/NavNormal.js +48 -53
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +66 -67
- package/dist/cjs/PageFilter.js +14 -15
- package/dist/cjs/PartnerDetailListing.js +108 -109
- package/dist/cjs/PdfDownload.js +9 -10
- package/dist/cjs/PopUpModal.js +19 -21
- package/dist/cjs/PubSection.js +41 -42
- package/dist/cjs/PubToc.js +15 -16
- package/dist/cjs/PublicationDeck.js +61 -66
- package/dist/cjs/PublicationLanding.js +108 -112
- package/dist/cjs/QueueDeckExpanded.js +294 -294
- package/dist/cjs/RecentNews.js +24 -25
- package/dist/cjs/RelatedContent.js +24 -25
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -22
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +38 -38
- package/dist/cjs/{SeriesSlider-2db54929.js → SeriesSlider-4abb21b4.js} +37 -38
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +36 -37
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-9cb50ae4.js → SocialSearchComponent-8dd468fd.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +58 -63
- package/dist/cjs/TaxonomyDescription.js +53 -54
- package/dist/cjs/TemplateNormal.js +75 -76
- package/dist/cjs/ThumbnailCard.js +20 -22
- package/dist/cjs/Ustream.js +27 -28
- package/dist/cjs/VerticalHero.js +17 -18
- package/dist/cjs/VideoProgramLandingPage.js +72 -76
- package/dist/cjs/VideoSeriesCard.js +31 -32
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +48 -49
- package/dist/cjs/VideoSeriesListing.js +77 -78
- package/dist/cjs/View.js +259 -262
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +62 -63
- 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-60837c34.js} +7 -8
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +76 -140
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-a100d6e5.js → getTargeting-34e3ba68.js} +3 -3
- 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-b310b11f.js → index-61690275.js} +1040 -1280
- package/dist/cjs/{index-0e4427c8.js → index-8bf6c863.js} +11 -12
- package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
- package/dist/cjs/{index-efca863c.js → index-be0c82be.js} +30 -36
- 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-9225638f.js → index.esm-66ffa47a.js} +10 -5
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-90433435.js} +16 -7
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-ff47db6f.js} +13 -6
- package/dist/cjs/index.js +160 -163
- package/dist/cjs/{inherits-c2065b95.js → inherits-c9f99d47.js} +19 -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 +2 -2
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- 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 +23 -23
- package/dist/esm/AD300x250x600.js +23 -23
- package/dist/esm/AD728x90.js +26 -26
- package/dist/esm/ADFloatingFooter.js +22 -22
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +22 -22
- package/dist/esm/{ADInfeed-8e1143df.js → ADInfeed-171677b4.js} +6 -6
- package/dist/esm/ADSkyscraper.js +22 -22
- package/dist/esm/ADSponsoredResources.js +22 -22
- package/dist/esm/ADWebcast.js +22 -22
- package/dist/esm/ADWelcome.js +19 -19
- package/dist/esm/{ADlgInfeed-dbaf7c64.js → ADlgInfeed-f2ac31d1.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +23 -24
- package/dist/esm/AdSlotsProvider.js +12 -12
- package/dist/esm/AlphabeticList.js +10 -10
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +47 -47
- package/dist/esm/ArticleSeriesLandingPage.js +32 -32
- package/dist/esm/ArticleSeriesListing.js +33 -33
- package/dist/esm/Auth.js +375 -595
- 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 +38 -38
- package/dist/esm/ConferenceArticleCard.js +7 -7
- package/dist/esm/DeckContent.js +48 -48
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-be030f2a.js → Dfp-965b3873.js} +14 -14
- package/dist/esm/EventsDeck.js +50 -50
- package/dist/esm/ExternalResources.js +47 -47
- package/dist/esm/Feature.js +4 -4
- package/dist/esm/ForbesHero.js +11 -11
- package/dist/esm/GridContent.js +80 -80
- package/dist/esm/GridHero.js +12 -12
- package/dist/esm/GroupDeck.js +13 -13
- package/dist/esm/HamMagazine.js +29 -29
- package/dist/esm/Hero.js +3 -3
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +44 -44
- package/dist/esm/HorizontalHero.js +5 -5
- package/dist/esm/IssueContentDeck.js +26 -26
- package/dist/esm/IssueDeck.js +36 -36
- package/dist/esm/IssueLanding.js +35 -35
- package/dist/esm/LeftNav.js +21 -21
- package/dist/esm/MasterDeck.js +36 -36
- package/dist/esm/MediaSeriesLanding.js +493 -501
- package/dist/esm/NavDvm.js +16 -16
- package/dist/esm/NavMagazine.js +34 -34
- package/dist/esm/NavNative.js +34 -34
- package/dist/esm/NavNormal.js +18 -18
- package/dist/esm/OncliveHero.js +5 -4
- package/dist/esm/OncliveLargeHero.js +12 -12
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +56 -56
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +6 -6
- package/dist/esm/PubSection.js +33 -33
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +23 -23
- package/dist/esm/PublicationLanding.js +49 -49
- package/dist/esm/QueueDeckExpanded.js +37 -37
- package/dist/esm/RecentNews.js +6 -6
- package/dist/esm/RelatedContent.js +6 -6
- package/dist/esm/RolesDeck.js +12 -12
- package/dist/esm/Search.js +8 -8
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +19 -19
- package/dist/esm/{SeriesSlider-c8477bf3.js → SeriesSlider-36be7223.js} +10 -10
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialSearchComponent-09775683.js → SocialSearchComponent-719f230f.js} +12 -12
- package/dist/esm/TaxonomyCard.js +24 -24
- package/dist/esm/TaxonomyDescription.js +44 -44
- package/dist/esm/TemplateNormal.js +50 -50
- package/dist/esm/ThumbnailCard.js +6 -6
- package/dist/esm/Ustream.js +11 -11
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +52 -52
- package/dist/esm/VideoSeriesCard.js +12 -12
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +37 -37
- package/dist/esm/VideoSeriesListing.js +34 -34
- package/dist/esm/View.js +90 -89
- package/dist/esm/YahooHero.js +14 -14
- package/dist/esm/YoutubeGroup.js +21 -21
- 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-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-eb69e8ac.js} +8 -8
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +71 -135
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-05c216d6.js → getTargeting-739e9fed.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-755f2cc2.js → index-5f7e79e7.js} +6 -6
- package/dist/esm/{index-0dbff1d1.js → index-73819142.js} +30 -36
- package/dist/esm/{index-5cc7b406.js → index-a9e53f80.js} +3 -3
- package/dist/esm/{index-d0ce5597.js → index-c1691ede.js} +681 -914
- 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-e874e770.js → index.esm-b08f4b04.js} +10 -5
- package/dist/esm/{index.esm-d4932dea.js → index.esm-cf08bf18.js} +13 -6
- package/dist/esm/{index.esm-37268dca.js → index.esm-fd746768.js} +5 -4
- package/dist/esm/index.js +117 -117
- package/dist/esm/{inherits-a41fe93f.js → inherits-fb9b6e8f.js} +20 -20
- 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/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- 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/esm/main-d4165069.js +0 -961
- package/dist/esm/stringify-59c8f690.js +0 -15
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './defineProperty-f5ff6f5a.js';
|
|
2
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
3
|
-
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
4
|
-
import { _ as _extends$1 } from './extends-60e0e1c6.js';
|
|
5
|
-
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
6
|
-
import React__default, { useCallback, useRef, useState, useContext, useMemo, useEffect, useImperativeHandle, useReducer, forwardRef, cloneElement } from 'react';
|
|
7
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import Link from 'next/link';
|
|
11
|
-
import MasterDeck from './MasterDeck.js';
|
|
12
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
13
|
-
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
14
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
15
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
16
|
-
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
17
|
-
import { g as getSerializers } from './index-d0ce5597.js';
|
|
18
|
-
import './define-property-fe54dc9f.js';
|
|
19
|
-
import './_to-object-b50e61c3.js';
|
|
20
|
-
import './es6.string.iterator-bc33758b.js';
|
|
21
|
-
import './web.dom.iterable-4109ff68.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
22
4
|
import './_library-528f1934.js';
|
|
23
|
-
import './
|
|
24
|
-
import './
|
|
25
|
-
import './
|
|
26
|
-
import './_object-pie-
|
|
27
|
-
import './
|
|
28
|
-
import './
|
|
29
|
-
import './
|
|
30
|
-
import './
|
|
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 { _ as _extends$2 } from './extends-eb69e8ac.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import './inherits-fb9b6e8f.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import { _ as _typeof } from './typeof-6435ba1c.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React__default, { useCallback, useRef, useState, useContext, useMemo, useEffect, useImperativeHandle, useReducer, forwardRef, cloneElement } from 'react';
|
|
17
|
+
import './index-a9e53f80.js';
|
|
18
|
+
import PropTypes from 'prop-types';
|
|
31
19
|
import 'react-bootstrap/Container';
|
|
32
20
|
import 'react-bootstrap/Row';
|
|
33
21
|
import 'react-bootstrap/Col';
|
|
34
22
|
import 'react-bootstrap/Card';
|
|
23
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
35
24
|
import 'next/router';
|
|
36
|
-
import './
|
|
37
|
-
import './debounce-
|
|
38
|
-
import './
|
|
39
|
-
import './
|
|
40
|
-
import '
|
|
25
|
+
import './isSymbol-1981418f.js';
|
|
26
|
+
import './debounce-9207d8ee.js';
|
|
27
|
+
import './toNumber-2f7a84cd.js';
|
|
28
|
+
import './index.es-29c1cef5.js';
|
|
29
|
+
import ReactDOM from 'react-dom';
|
|
41
30
|
import './visibility-sensor-72fd8f8b.js';
|
|
42
|
-
import './
|
|
43
|
-
import './
|
|
44
|
-
import './
|
|
45
|
-
import './
|
|
31
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
32
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
33
|
+
import './main-e4a934b2.js';
|
|
34
|
+
import './entities-7cc3bf45.js';
|
|
35
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
36
|
+
import './stringify-4330ccdc.js';
|
|
37
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
46
38
|
import './Segment.js';
|
|
47
|
-
import './
|
|
48
|
-
import './
|
|
49
|
-
import '
|
|
39
|
+
import './Beam.js';
|
|
40
|
+
import './AdSlot.js';
|
|
41
|
+
import './ADInfeed-171677b4.js';
|
|
42
|
+
import './lodash-17fdfebb.js';
|
|
43
|
+
import './ADlgInfeed-f2ac31d1.js';
|
|
44
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
50
45
|
import './index-c7e2ac95.js';
|
|
51
|
-
import './
|
|
52
|
-
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
46
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
53
47
|
import './GroupDeck.js';
|
|
54
|
-
import '
|
|
55
|
-
import './
|
|
48
|
+
import 'react-bootstrap';
|
|
49
|
+
import './iconBase-602d52fe.js';
|
|
50
|
+
import './index.esm-29e48d38.js';
|
|
51
|
+
import { g as getSerializers } from './index-c1691ede.js';
|
|
52
|
+
import './util-7700fc59.js';
|
|
53
|
+
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
56
54
|
import 'next/head';
|
|
57
55
|
import 'react-share';
|
|
58
|
-
import './
|
|
56
|
+
import './SocialShare.js';
|
|
57
|
+
import './_object-to-array-7e804fce.js';
|
|
59
58
|
import 'react-bootstrap/Pagination';
|
|
60
59
|
import 'react-bootstrap/Button';
|
|
61
|
-
import './entities-932b50cf.js';
|
|
62
|
-
import './index.esm-f6156a57.js';
|
|
63
|
-
import './iconBase-ccc56b97.js';
|
|
64
60
|
import 'react-bootstrap/Figure';
|
|
61
|
+
import MasterDeck from './MasterDeck.js';
|
|
62
|
+
import { _ as _defineProperty } from './defineProperty-94fd8bfc.js';
|
|
63
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
64
|
+
import Link from 'next/link';
|
|
65
65
|
|
|
66
66
|
function _extends() {
|
|
67
67
|
_extends = Object.assign || function (target) {
|
|
@@ -136,7 +136,7 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
136
136
|
return classes.join(' ');
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
if (module.exports) {
|
|
139
|
+
if ( module.exports) {
|
|
140
140
|
classNames.default = classNames;
|
|
141
141
|
module.exports = classNames;
|
|
142
142
|
} else {
|
|
@@ -250,24 +250,15 @@ function useUncontrolled(props, config) {
|
|
|
250
250
|
}, props);
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
function _setPrototypeOf(o, p) {
|
|
254
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
255
|
-
o.__proto__ = p;
|
|
256
|
-
return o;
|
|
257
|
-
};
|
|
258
|
-
|
|
259
|
-
return _setPrototypeOf(o, p);
|
|
260
|
-
}
|
|
261
|
-
|
|
262
253
|
function _inheritsLoose(subClass, superClass) {
|
|
263
254
|
subClass.prototype = Object.create(superClass.prototype);
|
|
264
255
|
subClass.prototype.constructor = subClass;
|
|
265
|
-
|
|
256
|
+
subClass.__proto__ = superClass;
|
|
266
257
|
}
|
|
267
258
|
|
|
268
259
|
var ThemeContext = React__default.createContext({});
|
|
269
|
-
ThemeContext.Consumer
|
|
270
|
-
ThemeContext.Provider;
|
|
260
|
+
var Consumer = ThemeContext.Consumer,
|
|
261
|
+
Provider = ThemeContext.Provider;
|
|
271
262
|
|
|
272
263
|
function useBootstrapPrefix(prefix, defaultPrefix) {
|
|
273
264
|
var prefixes = useContext(ThemeContext);
|
|
@@ -284,11 +275,11 @@ var makeEventKey = function makeEventKey(eventKey, href) {
|
|
|
284
275
|
return href || null;
|
|
285
276
|
};
|
|
286
277
|
|
|
287
|
-
var context
|
|
288
|
-
context
|
|
278
|
+
var context = React__default.createContext(null);
|
|
279
|
+
context.displayName = 'AccordionContext';
|
|
289
280
|
|
|
290
281
|
function useAccordionToggle(eventKey, onClick) {
|
|
291
|
-
var contextEventKey = useContext(context
|
|
282
|
+
var contextEventKey = useContext(context);
|
|
292
283
|
var onSelect = useContext(SelectableContext);
|
|
293
284
|
return function (e) {
|
|
294
285
|
/*
|
|
@@ -320,16 +311,16 @@ var AccordionToggle = React__default.forwardRef(function (_ref, ref) {
|
|
|
320
311
|
}, props), children);
|
|
321
312
|
});
|
|
322
313
|
|
|
323
|
-
function ownerDocument
|
|
314
|
+
function ownerDocument(node) {
|
|
324
315
|
return node && node.ownerDocument || document;
|
|
325
316
|
}
|
|
326
317
|
|
|
327
318
|
function ownerWindow(node) {
|
|
328
|
-
var doc = ownerDocument
|
|
319
|
+
var doc = ownerDocument(node);
|
|
329
320
|
return doc && doc.defaultView || window;
|
|
330
321
|
}
|
|
331
322
|
|
|
332
|
-
function getComputedStyle$
|
|
323
|
+
function getComputedStyle$1(node, psuedoElement) {
|
|
333
324
|
return ownerWindow(node).getComputedStyle(node, psuedoElement);
|
|
334
325
|
}
|
|
335
326
|
|
|
@@ -358,7 +349,7 @@ function style(node, property) {
|
|
|
358
349
|
var transforms = '';
|
|
359
350
|
|
|
360
351
|
if (typeof property === 'string') {
|
|
361
|
-
return node.style.getPropertyValue(hyphenateStyleName(property)) || getComputedStyle$
|
|
352
|
+
return node.style.getPropertyValue(hyphenateStyleName(property)) || getComputedStyle$1(node).getPropertyValue(hyphenateStyleName(property));
|
|
362
353
|
}
|
|
363
354
|
|
|
364
355
|
Object.keys(property).forEach(function (key) {
|
|
@@ -498,7 +489,7 @@ var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType(
|
|
|
498
489
|
exit: PropTypes.number,
|
|
499
490
|
appear: PropTypes.number
|
|
500
491
|
}).isRequired]) : null;
|
|
501
|
-
process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({
|
|
492
|
+
var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({
|
|
502
493
|
enter: PropTypes.string,
|
|
503
494
|
exit: PropTypes.string,
|
|
504
495
|
active: PropTypes.string
|
|
@@ -880,23 +871,23 @@ var Transition = /*#__PURE__*/function (_React$Component) {
|
|
|
880
871
|
}
|
|
881
872
|
|
|
882
873
|
var _this$props = this.props,
|
|
883
|
-
children = _this$props.children
|
|
884
|
-
_this$props.in
|
|
885
|
-
_this$props.mountOnEnter
|
|
886
|
-
_this$props.unmountOnExit
|
|
887
|
-
_this$props.appear
|
|
888
|
-
_this$props.enter
|
|
889
|
-
_this$props.exit
|
|
890
|
-
_this$props.timeout
|
|
891
|
-
_this$props.addEndListener
|
|
892
|
-
_this$props.onEnter
|
|
893
|
-
_this$props.onEntering
|
|
894
|
-
_this$props.onEntered
|
|
895
|
-
_this$props.onExit
|
|
896
|
-
_this$props.onExiting
|
|
897
|
-
_this$props.onExited
|
|
898
|
-
_this$props.nodeRef
|
|
899
|
-
|
|
874
|
+
children = _this$props.children,
|
|
875
|
+
_in = _this$props.in,
|
|
876
|
+
_mountOnEnter = _this$props.mountOnEnter,
|
|
877
|
+
_unmountOnExit = _this$props.unmountOnExit,
|
|
878
|
+
_appear = _this$props.appear,
|
|
879
|
+
_enter = _this$props.enter,
|
|
880
|
+
_exit = _this$props.exit,
|
|
881
|
+
_timeout = _this$props.timeout,
|
|
882
|
+
_addEndListener = _this$props.addEndListener,
|
|
883
|
+
_onEnter = _this$props.onEnter,
|
|
884
|
+
_onEntering = _this$props.onEntering,
|
|
885
|
+
_onEntered = _this$props.onEntered,
|
|
886
|
+
_onExit = _this$props.onExit,
|
|
887
|
+
_onExiting = _this$props.onExiting,
|
|
888
|
+
_onExited = _this$props.onExited,
|
|
889
|
+
_nodeRef = _this$props.nodeRef,
|
|
890
|
+
childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
900
891
|
|
|
901
892
|
return (
|
|
902
893
|
/*#__PURE__*/
|
|
@@ -1096,7 +1087,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1096
1087
|
onExited: PropTypes.func
|
|
1097
1088
|
} : {}; // Name the function so it is clearer in the documentation
|
|
1098
1089
|
|
|
1099
|
-
function noop
|
|
1090
|
+
function noop() {}
|
|
1100
1091
|
|
|
1101
1092
|
Transition.defaultProps = {
|
|
1102
1093
|
in: false,
|
|
@@ -1105,12 +1096,12 @@ Transition.defaultProps = {
|
|
|
1105
1096
|
appear: false,
|
|
1106
1097
|
enter: true,
|
|
1107
1098
|
exit: true,
|
|
1108
|
-
onEnter: noop
|
|
1109
|
-
onEntering: noop
|
|
1110
|
-
onEntered: noop
|
|
1111
|
-
onExit: noop
|
|
1112
|
-
onExiting: noop
|
|
1113
|
-
onExited: noop
|
|
1099
|
+
onEnter: noop,
|
|
1100
|
+
onEntering: noop,
|
|
1101
|
+
onEntered: noop,
|
|
1102
|
+
onExit: noop,
|
|
1103
|
+
onExiting: noop,
|
|
1104
|
+
onExited: noop
|
|
1114
1105
|
};
|
|
1115
1106
|
Transition.UNMOUNTED = UNMOUNTED;
|
|
1116
1107
|
Transition.EXITED = EXITED;
|
|
@@ -1176,7 +1167,7 @@ function getDefaultDimensionValue(dimension, elem) {
|
|
|
1176
1167
|
}
|
|
1177
1168
|
|
|
1178
1169
|
var collapseStyles = (_collapseStyles = {}, _collapseStyles[EXITED] = 'collapse', _collapseStyles[EXITING] = 'collapsing', _collapseStyles[ENTERING] = 'collapsing', _collapseStyles[ENTERED] = 'collapse show', _collapseStyles);
|
|
1179
|
-
var defaultProps
|
|
1170
|
+
var defaultProps = {
|
|
1180
1171
|
in: false,
|
|
1181
1172
|
timeout: 300,
|
|
1182
1173
|
mountOnEnter: false,
|
|
@@ -1250,14 +1241,14 @@ var Collapse = React__default.forwardRef(function (_ref, ref) {
|
|
|
1250
1241
|
}); // @ts-ignore
|
|
1251
1242
|
|
|
1252
1243
|
// @ts-ignore
|
|
1253
|
-
Collapse.defaultProps = defaultProps
|
|
1244
|
+
Collapse.defaultProps = defaultProps;
|
|
1254
1245
|
|
|
1255
1246
|
var AccordionCollapse = React__default.forwardRef(function (_ref, ref) {
|
|
1256
1247
|
var children = _ref.children,
|
|
1257
1248
|
eventKey = _ref.eventKey,
|
|
1258
1249
|
props = _objectWithoutPropertiesLoose(_ref, ["children", "eventKey"]);
|
|
1259
1250
|
|
|
1260
|
-
var contextEventKey = useContext(context
|
|
1251
|
+
var contextEventKey = useContext(context); // Empty SelectableContext is to prevent elements in the collapse
|
|
1261
1252
|
// from collapsing the accordion when clicked.
|
|
1262
1253
|
|
|
1263
1254
|
return /*#__PURE__*/React__default.createElement(SelectableContext.Provider, {
|
|
@@ -1283,7 +1274,7 @@ var Accordion = React__default.forwardRef(function (props, ref) {
|
|
|
1283
1274
|
controlledProps = _objectWithoutPropertiesLoose(_useUncontrolled, ["as", "activeKey", "bsPrefix", "children", "className", "onSelect"]);
|
|
1284
1275
|
|
|
1285
1276
|
var finalClassName = classnames(className, useBootstrapPrefix(bsPrefix, 'accordion'));
|
|
1286
|
-
return /*#__PURE__*/React__default.createElement(context
|
|
1277
|
+
return /*#__PURE__*/React__default.createElement(context.Provider, {
|
|
1287
1278
|
value: activeKey || null
|
|
1288
1279
|
}, /*#__PURE__*/React__default.createElement(SelectableContext.Provider, {
|
|
1289
1280
|
value: onSelect || null
|
|
@@ -1323,7 +1314,7 @@ function useEventCallback(fn) {
|
|
|
1323
1314
|
}
|
|
1324
1315
|
|
|
1325
1316
|
var _fadeStyles;
|
|
1326
|
-
var defaultProps$
|
|
1317
|
+
var defaultProps$1 = {
|
|
1327
1318
|
in: false,
|
|
1328
1319
|
timeout: 300,
|
|
1329
1320
|
mountOnEnter: false,
|
|
@@ -1351,14 +1342,14 @@ var Fade = React__default.forwardRef(function (_ref, ref) {
|
|
|
1351
1342
|
}));
|
|
1352
1343
|
});
|
|
1353
1344
|
});
|
|
1354
|
-
Fade.defaultProps = defaultProps$
|
|
1345
|
+
Fade.defaultProps = defaultProps$1;
|
|
1355
1346
|
Fade.displayName = 'Fade';
|
|
1356
1347
|
|
|
1357
|
-
var propTypes
|
|
1348
|
+
var propTypes = {
|
|
1358
1349
|
label: PropTypes.string.isRequired,
|
|
1359
1350
|
onClick: PropTypes.func
|
|
1360
1351
|
};
|
|
1361
|
-
var defaultProps$
|
|
1352
|
+
var defaultProps$2 = {
|
|
1362
1353
|
label: 'Close'
|
|
1363
1354
|
};
|
|
1364
1355
|
var CloseButton = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -1379,8 +1370,8 @@ var CloseButton = React__default.forwardRef(function (_ref, ref) {
|
|
|
1379
1370
|
}, label));
|
|
1380
1371
|
});
|
|
1381
1372
|
CloseButton.displayName = 'CloseButton';
|
|
1382
|
-
CloseButton.propTypes = propTypes
|
|
1383
|
-
CloseButton.defaultProps = defaultProps$
|
|
1373
|
+
CloseButton.propTypes = propTypes;
|
|
1374
|
+
CloseButton.defaultProps = defaultProps$2;
|
|
1384
1375
|
|
|
1385
1376
|
var divWithClassName = (function (className) {
|
|
1386
1377
|
return React__default.forwardRef(function (p, ref) {
|
|
@@ -1493,15 +1484,15 @@ var SafeAnchor = React__default.forwardRef(function (_ref, ref) {
|
|
|
1493
1484
|
});
|
|
1494
1485
|
SafeAnchor.displayName = 'SafeAnchor';
|
|
1495
1486
|
|
|
1496
|
-
var DivStyledAsH4
|
|
1497
|
-
DivStyledAsH4
|
|
1487
|
+
var DivStyledAsH4 = divWithClassName('h4');
|
|
1488
|
+
DivStyledAsH4.displayName = 'DivStyledAsH4';
|
|
1498
1489
|
var AlertHeading = createWithBsPrefix('alert-heading', {
|
|
1499
|
-
Component: DivStyledAsH4
|
|
1490
|
+
Component: DivStyledAsH4
|
|
1500
1491
|
});
|
|
1501
1492
|
var AlertLink = createWithBsPrefix('alert-link', {
|
|
1502
1493
|
Component: SafeAnchor
|
|
1503
1494
|
});
|
|
1504
|
-
var defaultProps$
|
|
1495
|
+
var defaultProps$3 = {
|
|
1505
1496
|
show: true,
|
|
1506
1497
|
transition: Fade,
|
|
1507
1498
|
closeLabel: 'Close alert'
|
|
@@ -1546,11 +1537,11 @@ var Alert = React__default.forwardRef(function (uncontrolledProps, ref) {
|
|
|
1546
1537
|
}), alert);
|
|
1547
1538
|
});
|
|
1548
1539
|
Alert.displayName = 'Alert';
|
|
1549
|
-
Alert.defaultProps = defaultProps$
|
|
1540
|
+
Alert.defaultProps = defaultProps$3;
|
|
1550
1541
|
Alert.Link = AlertLink;
|
|
1551
1542
|
Alert.Heading = AlertHeading;
|
|
1552
1543
|
|
|
1553
|
-
var defaultProps$
|
|
1544
|
+
var defaultProps$4 = {
|
|
1554
1545
|
pill: false
|
|
1555
1546
|
};
|
|
1556
1547
|
var Badge = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -1570,9 +1561,9 @@ var Badge = React__default.forwardRef(function (_ref, ref) {
|
|
|
1570
1561
|
}));
|
|
1571
1562
|
});
|
|
1572
1563
|
Badge.displayName = 'Badge';
|
|
1573
|
-
Badge.defaultProps = defaultProps$
|
|
1564
|
+
Badge.defaultProps = defaultProps$4;
|
|
1574
1565
|
|
|
1575
|
-
var defaultProps$
|
|
1566
|
+
var defaultProps$5 = {
|
|
1576
1567
|
active: false,
|
|
1577
1568
|
linkProps: {}
|
|
1578
1569
|
};
|
|
@@ -1606,9 +1597,9 @@ var BreadcrumbItem = React__default.forwardRef(function (_ref, ref) {
|
|
|
1606
1597
|
}), children));
|
|
1607
1598
|
});
|
|
1608
1599
|
BreadcrumbItem.displayName = 'BreadcrumbItem';
|
|
1609
|
-
BreadcrumbItem.defaultProps = defaultProps$
|
|
1600
|
+
BreadcrumbItem.defaultProps = defaultProps$5;
|
|
1610
1601
|
|
|
1611
|
-
var defaultProps$
|
|
1602
|
+
var defaultProps$6 = {
|
|
1612
1603
|
label: 'breadcrumb',
|
|
1613
1604
|
listProps: {}
|
|
1614
1605
|
};
|
|
@@ -1632,10 +1623,10 @@ var Breadcrumb = React__default.forwardRef(function (_ref, ref) {
|
|
|
1632
1623
|
}), children));
|
|
1633
1624
|
});
|
|
1634
1625
|
Breadcrumb.displayName = 'Breadcrumb';
|
|
1635
|
-
Breadcrumb.defaultProps = defaultProps$
|
|
1626
|
+
Breadcrumb.defaultProps = defaultProps$6;
|
|
1636
1627
|
Breadcrumb.Item = BreadcrumbItem;
|
|
1637
1628
|
|
|
1638
|
-
var defaultProps$
|
|
1629
|
+
var defaultProps$7 = {
|
|
1639
1630
|
variant: 'primary',
|
|
1640
1631
|
active: false,
|
|
1641
1632
|
disabled: false
|
|
@@ -1678,9 +1669,9 @@ var Button = React__default.forwardRef(function (_ref, ref) {
|
|
|
1678
1669
|
}));
|
|
1679
1670
|
});
|
|
1680
1671
|
Button.displayName = 'Button';
|
|
1681
|
-
Button.defaultProps = defaultProps$
|
|
1672
|
+
Button.defaultProps = defaultProps$7;
|
|
1682
1673
|
|
|
1683
|
-
var defaultProps$
|
|
1674
|
+
var defaultProps$8 = {
|
|
1684
1675
|
vertical: false,
|
|
1685
1676
|
toggle: false,
|
|
1686
1677
|
role: 'group'
|
|
@@ -1704,9 +1695,9 @@ var ButtonGroup = React__default.forwardRef(function (_ref, ref) {
|
|
|
1704
1695
|
}));
|
|
1705
1696
|
});
|
|
1706
1697
|
ButtonGroup.displayName = 'ButtonGroup';
|
|
1707
|
-
ButtonGroup.defaultProps = defaultProps$
|
|
1698
|
+
ButtonGroup.defaultProps = defaultProps$8;
|
|
1708
1699
|
|
|
1709
|
-
var defaultProps$
|
|
1700
|
+
var defaultProps$9 = {
|
|
1710
1701
|
role: 'toolbar'
|
|
1711
1702
|
};
|
|
1712
1703
|
var ButtonToolbar = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -1721,12 +1712,12 @@ var ButtonToolbar = React__default.forwardRef(function (_ref, ref) {
|
|
|
1721
1712
|
}));
|
|
1722
1713
|
});
|
|
1723
1714
|
ButtonToolbar.displayName = 'ButtonToolbar';
|
|
1724
|
-
ButtonToolbar.defaultProps = defaultProps$
|
|
1715
|
+
ButtonToolbar.defaultProps = defaultProps$9;
|
|
1725
1716
|
|
|
1726
1717
|
var context$1 = React__default.createContext(null);
|
|
1727
1718
|
context$1.displayName = 'CardContext';
|
|
1728
1719
|
|
|
1729
|
-
var defaultProps$
|
|
1720
|
+
var defaultProps$a = {
|
|
1730
1721
|
variant: null
|
|
1731
1722
|
};
|
|
1732
1723
|
var CardImg = React__default.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
@@ -1745,7 +1736,7 @@ function (_ref, ref) {
|
|
|
1745
1736
|
}, props));
|
|
1746
1737
|
});
|
|
1747
1738
|
CardImg.displayName = 'CardImg';
|
|
1748
|
-
CardImg.defaultProps = defaultProps$
|
|
1739
|
+
CardImg.defaultProps = defaultProps$a;
|
|
1749
1740
|
|
|
1750
1741
|
var DivStyledAsH5 = divWithClassName('h5');
|
|
1751
1742
|
var DivStyledAsH6 = divWithClassName('h6');
|
|
@@ -1765,7 +1756,7 @@ var CardText = createWithBsPrefix('card-text', {
|
|
|
1765
1756
|
var CardHeader = createWithBsPrefix('card-header');
|
|
1766
1757
|
var CardFooter = createWithBsPrefix('card-footer');
|
|
1767
1758
|
var CardImgOverlay = createWithBsPrefix('card-img-overlay');
|
|
1768
|
-
var defaultProps$
|
|
1759
|
+
var defaultProps$b = {
|
|
1769
1760
|
body: false
|
|
1770
1761
|
};
|
|
1771
1762
|
var Card = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -1798,7 +1789,7 @@ var Card = React__default.forwardRef(function (_ref, ref) {
|
|
|
1798
1789
|
React__default.createElement(CardBody, null, children) : children));
|
|
1799
1790
|
});
|
|
1800
1791
|
Card.displayName = 'Card';
|
|
1801
|
-
Card.defaultProps = defaultProps$
|
|
1792
|
+
Card.defaultProps = defaultProps$b;
|
|
1802
1793
|
Card.Img = CardImg;
|
|
1803
1794
|
Card.Title = CardTitle;
|
|
1804
1795
|
Card.Subtitle = CardSubtitle;
|
|
@@ -2033,7 +2024,7 @@ function forEach(children, func) {
|
|
|
2033
2024
|
}
|
|
2034
2025
|
|
|
2035
2026
|
var SWIPE_THRESHOLD = 40;
|
|
2036
|
-
var propTypes$
|
|
2027
|
+
var propTypes$1 = {
|
|
2037
2028
|
/**
|
|
2038
2029
|
* @default 'carousel'
|
|
2039
2030
|
*/
|
|
@@ -2135,7 +2126,7 @@ var propTypes$9 = {
|
|
|
2135
2126
|
*/
|
|
2136
2127
|
nextLabel: PropTypes.string
|
|
2137
2128
|
};
|
|
2138
|
-
var defaultProps$
|
|
2129
|
+
var defaultProps$c = {
|
|
2139
2130
|
slide: true,
|
|
2140
2131
|
fade: false,
|
|
2141
2132
|
controls: true,
|
|
@@ -2505,12 +2496,12 @@ function CarouselFunc(uncontrolledProps, ref) {
|
|
|
2505
2496
|
|
|
2506
2497
|
var Carousel = React__default.forwardRef(CarouselFunc);
|
|
2507
2498
|
Carousel.displayName = 'Carousel';
|
|
2508
|
-
Carousel.propTypes = propTypes$
|
|
2509
|
-
Carousel.defaultProps = defaultProps$
|
|
2499
|
+
Carousel.propTypes = propTypes$1;
|
|
2500
|
+
Carousel.defaultProps = defaultProps$c;
|
|
2510
2501
|
Carousel.Caption = CarouselCaption;
|
|
2511
2502
|
Carousel.Item = CarouselItem;
|
|
2512
2503
|
|
|
2513
|
-
var DEVICE_SIZES
|
|
2504
|
+
var DEVICE_SIZES = ['xl', 'lg', 'md', 'sm', 'xs'];
|
|
2514
2505
|
var Col = React__default.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
2515
2506
|
function (_ref, ref) {
|
|
2516
2507
|
var bsPrefix = _ref.bsPrefix,
|
|
@@ -2522,7 +2513,7 @@ function (_ref, ref) {
|
|
|
2522
2513
|
var prefix = useBootstrapPrefix(bsPrefix, 'col');
|
|
2523
2514
|
var spans = [];
|
|
2524
2515
|
var classes = [];
|
|
2525
|
-
DEVICE_SIZES
|
|
2516
|
+
DEVICE_SIZES.forEach(function (brkPoint) {
|
|
2526
2517
|
var propValue = props[brkPoint];
|
|
2527
2518
|
delete props[brkPoint];
|
|
2528
2519
|
var span;
|
|
@@ -2659,6 +2650,39 @@ function useForceUpdate() {
|
|
|
2659
2650
|
|
|
2660
2651
|
var DropdownContext = /*#__PURE__*/React__default.createContext(null);
|
|
2661
2652
|
|
|
2653
|
+
function _extends$1() {
|
|
2654
|
+
_extends$1 = Object.assign || function (target) {
|
|
2655
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
2656
|
+
var source = arguments[i];
|
|
2657
|
+
|
|
2658
|
+
for (var key in source) {
|
|
2659
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
2660
|
+
target[key] = source[key];
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
}
|
|
2664
|
+
|
|
2665
|
+
return target;
|
|
2666
|
+
};
|
|
2667
|
+
|
|
2668
|
+
return _extends$1.apply(this, arguments);
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
2672
|
+
if (source == null) return {};
|
|
2673
|
+
var target = {};
|
|
2674
|
+
var sourceKeys = Object.keys(source);
|
|
2675
|
+
var key, i;
|
|
2676
|
+
|
|
2677
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
2678
|
+
key = sourceKeys[i];
|
|
2679
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
2680
|
+
target[key] = source[key];
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
return target;
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2662
2686
|
function useSafeState(state) {
|
|
2663
2687
|
var isMounted = useMounted();
|
|
2664
2688
|
return [state[0], useCallback(function (nextState) {
|
|
@@ -2703,50 +2727,21 @@ function getBasePlacement(placement) {
|
|
|
2703
2727
|
return placement.split('-')[0];
|
|
2704
2728
|
}
|
|
2705
2729
|
|
|
2706
|
-
|
|
2707
|
-
var rect = element.getBoundingClientRect();
|
|
2708
|
-
return {
|
|
2709
|
-
width: rect.width,
|
|
2710
|
-
height: rect.height,
|
|
2711
|
-
top: rect.top,
|
|
2712
|
-
right: rect.right,
|
|
2713
|
-
bottom: rect.bottom,
|
|
2714
|
-
left: rect.left,
|
|
2715
|
-
x: rect.left,
|
|
2716
|
-
y: rect.top
|
|
2717
|
-
};
|
|
2718
|
-
}
|
|
2719
|
-
|
|
2730
|
+
// Returns the layout rect of an element relative to its offsetParent. Layout
|
|
2720
2731
|
// means it doesn't take into account transforms.
|
|
2721
|
-
|
|
2722
2732
|
function getLayoutRect(element) {
|
|
2723
|
-
var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
|
|
2724
|
-
// Fixes https://github.com/popperjs/popper-core/issues/1223
|
|
2725
|
-
|
|
2726
|
-
var width = element.offsetWidth;
|
|
2727
|
-
var height = element.offsetHeight;
|
|
2728
|
-
|
|
2729
|
-
if (Math.abs(clientRect.width - width) <= 1) {
|
|
2730
|
-
width = clientRect.width;
|
|
2731
|
-
}
|
|
2732
|
-
|
|
2733
|
-
if (Math.abs(clientRect.height - height) <= 1) {
|
|
2734
|
-
height = clientRect.height;
|
|
2735
|
-
}
|
|
2736
|
-
|
|
2737
2733
|
return {
|
|
2738
2734
|
x: element.offsetLeft,
|
|
2739
2735
|
y: element.offsetTop,
|
|
2740
|
-
width:
|
|
2741
|
-
height:
|
|
2736
|
+
width: element.offsetWidth,
|
|
2737
|
+
height: element.offsetHeight
|
|
2742
2738
|
};
|
|
2743
2739
|
}
|
|
2744
2740
|
|
|
2745
|
-
|
|
2746
|
-
if (node == null) {
|
|
2747
|
-
return window;
|
|
2748
|
-
}
|
|
2741
|
+
/*:: import type { Window } from '../types'; */
|
|
2749
2742
|
|
|
2743
|
+
/*:: declare function getWindow(node: Node | Window): Window; */
|
|
2744
|
+
function getWindow(node) {
|
|
2750
2745
|
if (node.toString() !== '[object Window]') {
|
|
2751
2746
|
var ownerDocument = node.ownerDocument;
|
|
2752
2747
|
return ownerDocument ? ownerDocument.defaultView || window : window;
|
|
@@ -2755,27 +2750,31 @@ function getWindow(node) {
|
|
|
2755
2750
|
return node;
|
|
2756
2751
|
}
|
|
2757
2752
|
|
|
2753
|
+
/*:: declare function isElement(node: mixed): boolean %checks(node instanceof
|
|
2754
|
+
Element); */
|
|
2755
|
+
|
|
2758
2756
|
function isElement(node) {
|
|
2759
2757
|
var OwnElement = getWindow(node).Element;
|
|
2760
2758
|
return node instanceof OwnElement || node instanceof Element;
|
|
2761
2759
|
}
|
|
2760
|
+
/*:: declare function isHTMLElement(node: mixed): boolean %checks(node instanceof
|
|
2761
|
+
HTMLElement); */
|
|
2762
|
+
|
|
2762
2763
|
|
|
2763
2764
|
function isHTMLElement(node) {
|
|
2764
2765
|
var OwnElement = getWindow(node).HTMLElement;
|
|
2765
2766
|
return node instanceof OwnElement || node instanceof HTMLElement;
|
|
2766
2767
|
}
|
|
2768
|
+
/*:: declare function isShadowRoot(node: mixed): boolean %checks(node instanceof
|
|
2769
|
+
ShadowRoot); */
|
|
2767
2770
|
|
|
2768
|
-
function isShadowRoot(node) {
|
|
2769
|
-
// IE 11 has no ShadowRoot
|
|
2770
|
-
if (typeof ShadowRoot === 'undefined') {
|
|
2771
|
-
return false;
|
|
2772
|
-
}
|
|
2773
2771
|
|
|
2772
|
+
function isShadowRoot(node) {
|
|
2774
2773
|
var OwnElement = getWindow(node).ShadowRoot;
|
|
2775
2774
|
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
2776
2775
|
}
|
|
2777
2776
|
|
|
2778
|
-
function contains
|
|
2777
|
+
function contains(parent, child) {
|
|
2779
2778
|
var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
|
|
2780
2779
|
|
|
2781
2780
|
if (parent.contains(child)) {
|
|
@@ -2802,7 +2801,7 @@ function getNodeName(element) {
|
|
|
2802
2801
|
return element ? (element.nodeName || '').toLowerCase() : null;
|
|
2803
2802
|
}
|
|
2804
2803
|
|
|
2805
|
-
function getComputedStyle$
|
|
2804
|
+
function getComputedStyle$2(element) {
|
|
2806
2805
|
return getWindow(element).getComputedStyle(element);
|
|
2807
2806
|
}
|
|
2808
2807
|
|
|
@@ -2825,8 +2824,9 @@ function getParentNode(element) {
|
|
|
2825
2824
|
// $FlowFixMe[incompatible-return]
|
|
2826
2825
|
// $FlowFixMe[prop-missing]
|
|
2827
2826
|
element.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
2828
|
-
element.parentNode ||
|
|
2829
|
-
|
|
2827
|
+
element.parentNode || // DOM Element detected
|
|
2828
|
+
// $FlowFixMe[incompatible-return]: need a better way to handle this...
|
|
2829
|
+
element.host || // ShadowRoot detected
|
|
2830
2830
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
2831
2831
|
getDocumentElement(element) // fallback
|
|
2832
2832
|
|
|
@@ -2835,36 +2835,33 @@ function getParentNode(element) {
|
|
|
2835
2835
|
|
|
2836
2836
|
function getTrueOffsetParent(element) {
|
|
2837
2837
|
if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837
|
|
2838
|
-
getComputedStyle$
|
|
2838
|
+
getComputedStyle$2(element).position === 'fixed') {
|
|
2839
2839
|
return null;
|
|
2840
2840
|
}
|
|
2841
2841
|
|
|
2842
|
-
|
|
2843
|
-
} // `.offsetParent` reports `null` for fixed elements, while absolute elements
|
|
2844
|
-
// return the containing block
|
|
2842
|
+
var offsetParent = element.offsetParent;
|
|
2845
2843
|
|
|
2844
|
+
if (offsetParent) {
|
|
2845
|
+
var html = getDocumentElement(offsetParent);
|
|
2846
2846
|
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
var isIE = navigator.userAgent.indexOf('Trident') !== -1;
|
|
2850
|
-
|
|
2851
|
-
if (isIE && isHTMLElement(element)) {
|
|
2852
|
-
// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
|
|
2853
|
-
var elementCss = getComputedStyle$1(element);
|
|
2854
|
-
|
|
2855
|
-
if (elementCss.position === 'fixed') {
|
|
2856
|
-
return null;
|
|
2847
|
+
if (getNodeName(offsetParent) === 'body' && getComputedStyle$2(offsetParent).position === 'static' && getComputedStyle$2(html).position !== 'static') {
|
|
2848
|
+
return html;
|
|
2857
2849
|
}
|
|
2858
2850
|
}
|
|
2859
2851
|
|
|
2852
|
+
return offsetParent;
|
|
2853
|
+
} // `.offsetParent` reports `null` for fixed elements, while absolute elements
|
|
2854
|
+
// return the containing block
|
|
2855
|
+
|
|
2856
|
+
|
|
2857
|
+
function getContainingBlock(element) {
|
|
2860
2858
|
var currentNode = getParentNode(element);
|
|
2861
2859
|
|
|
2862
2860
|
while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
|
|
2863
|
-
var css = getComputedStyle$
|
|
2861
|
+
var css = getComputedStyle$2(currentNode); // This is non-exhaustive but covers the most common CSS properties that
|
|
2864
2862
|
// create a containing block.
|
|
2865
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
2866
2863
|
|
|
2867
|
-
if (css.transform !== 'none' || css.perspective !== 'none' || css.
|
|
2864
|
+
if (css.transform !== 'none' || css.perspective !== 'none' || css.willChange && css.willChange !== 'auto') {
|
|
2868
2865
|
return currentNode;
|
|
2869
2866
|
} else {
|
|
2870
2867
|
currentNode = currentNode.parentNode;
|
|
@@ -2880,11 +2877,11 @@ function getOffsetParent(element) {
|
|
|
2880
2877
|
var window = getWindow(element);
|
|
2881
2878
|
var offsetParent = getTrueOffsetParent(element);
|
|
2882
2879
|
|
|
2883
|
-
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$
|
|
2880
|
+
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$2(offsetParent).position === 'static') {
|
|
2884
2881
|
offsetParent = getTrueOffsetParent(offsetParent);
|
|
2885
2882
|
}
|
|
2886
2883
|
|
|
2887
|
-
if (offsetParent &&
|
|
2884
|
+
if (offsetParent && getNodeName(offsetParent) === 'body' && getComputedStyle$2(offsetParent).position === 'static') {
|
|
2888
2885
|
return window;
|
|
2889
2886
|
}
|
|
2890
2887
|
|
|
@@ -2895,12 +2892,8 @@ function getMainAxisFromPlacement(placement) {
|
|
|
2895
2892
|
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
|
|
2896
2893
|
}
|
|
2897
2894
|
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
var round = Math.round;
|
|
2901
|
-
|
|
2902
|
-
function within(min$1, value, max$1) {
|
|
2903
|
-
return max(min$1, min(value, max$1));
|
|
2895
|
+
function within(min, value, max) {
|
|
2896
|
+
return Math.max(min, Math.min(value, max));
|
|
2904
2897
|
}
|
|
2905
2898
|
|
|
2906
2899
|
function getFreshSideObject() {
|
|
@@ -2913,7 +2906,7 @@ function getFreshSideObject() {
|
|
|
2913
2906
|
}
|
|
2914
2907
|
|
|
2915
2908
|
function mergePaddingObject(paddingObject) {
|
|
2916
|
-
return Object.assign({}, getFreshSideObject(), paddingObject);
|
|
2909
|
+
return Object.assign(Object.assign({}, getFreshSideObject()), paddingObject);
|
|
2917
2910
|
}
|
|
2918
2911
|
|
|
2919
2912
|
function expandToHashMap(value, keys) {
|
|
@@ -2923,19 +2916,11 @@ function expandToHashMap(value, keys) {
|
|
|
2923
2916
|
}, {});
|
|
2924
2917
|
}
|
|
2925
2918
|
|
|
2926
|
-
var toPaddingObject = function toPaddingObject(padding, state) {
|
|
2927
|
-
padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {
|
|
2928
|
-
placement: state.placement
|
|
2929
|
-
})) : padding;
|
|
2930
|
-
return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
2931
|
-
};
|
|
2932
|
-
|
|
2933
2919
|
function arrow(_ref) {
|
|
2934
2920
|
var _state$modifiersData$;
|
|
2935
2921
|
|
|
2936
2922
|
var state = _ref.state,
|
|
2937
|
-
name = _ref.name
|
|
2938
|
-
options = _ref.options;
|
|
2923
|
+
name = _ref.name;
|
|
2939
2924
|
var arrowElement = state.elements.arrow;
|
|
2940
2925
|
var popperOffsets = state.modifiersData.popperOffsets;
|
|
2941
2926
|
var basePlacement = getBasePlacement(state.placement);
|
|
@@ -2947,7 +2932,7 @@ function arrow(_ref) {
|
|
|
2947
2932
|
return;
|
|
2948
2933
|
}
|
|
2949
2934
|
|
|
2950
|
-
var paddingObject =
|
|
2935
|
+
var paddingObject = state.modifiersData[name + "#persistent"].padding;
|
|
2951
2936
|
var arrowRect = getLayoutRect(arrowElement);
|
|
2952
2937
|
var minProp = axis === 'y' ? top : left;
|
|
2953
2938
|
var maxProp = axis === 'y' ? bottom : right;
|
|
@@ -2967,11 +2952,14 @@ function arrow(_ref) {
|
|
|
2967
2952
|
state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
|
|
2968
2953
|
}
|
|
2969
2954
|
|
|
2970
|
-
function effect
|
|
2955
|
+
function effect(_ref2) {
|
|
2971
2956
|
var state = _ref2.state,
|
|
2972
|
-
options = _ref2.options
|
|
2957
|
+
options = _ref2.options,
|
|
2958
|
+
name = _ref2.name;
|
|
2973
2959
|
var _options$element = options.element,
|
|
2974
|
-
arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element
|
|
2960
|
+
arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element,
|
|
2961
|
+
_options$padding = options.padding,
|
|
2962
|
+
padding = _options$padding === void 0 ? 0 : _options$padding;
|
|
2975
2963
|
|
|
2976
2964
|
if (arrowElement == null) {
|
|
2977
2965
|
return;
|
|
@@ -2992,7 +2980,7 @@ function effect$1(_ref2) {
|
|
|
2992
2980
|
}
|
|
2993
2981
|
}
|
|
2994
2982
|
|
|
2995
|
-
if (!contains
|
|
2983
|
+
if (!contains(state.elements.popper, arrowElement)) {
|
|
2996
2984
|
if (process.env.NODE_ENV !== "production") {
|
|
2997
2985
|
console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', 'element.'].join(' '));
|
|
2998
2986
|
}
|
|
@@ -3001,6 +2989,9 @@ function effect$1(_ref2) {
|
|
|
3001
2989
|
}
|
|
3002
2990
|
|
|
3003
2991
|
state.elements.arrow = arrowElement;
|
|
2992
|
+
state.modifiersData[name + "#persistent"] = {
|
|
2993
|
+
padding: mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements))
|
|
2994
|
+
};
|
|
3004
2995
|
} // eslint-disable-next-line import/no-unused-modules
|
|
3005
2996
|
|
|
3006
2997
|
|
|
@@ -3009,7 +3000,7 @@ var arrow$1 = {
|
|
|
3009
3000
|
enabled: true,
|
|
3010
3001
|
phase: 'main',
|
|
3011
3002
|
fn: arrow,
|
|
3012
|
-
effect: effect
|
|
3003
|
+
effect: effect,
|
|
3013
3004
|
requires: ['popperOffsets'],
|
|
3014
3005
|
requiresIfExists: ['preventOverflow']
|
|
3015
3006
|
};
|
|
@@ -3029,8 +3020,8 @@ function roundOffsetsByDPR(_ref) {
|
|
|
3029
3020
|
var win = window;
|
|
3030
3021
|
var dpr = win.devicePixelRatio || 1;
|
|
3031
3022
|
return {
|
|
3032
|
-
x: round(
|
|
3033
|
-
y: round(
|
|
3023
|
+
x: Math.round(x * dpr) / dpr || 0,
|
|
3024
|
+
y: Math.round(y * dpr) / dpr || 0
|
|
3034
3025
|
};
|
|
3035
3026
|
}
|
|
3036
3027
|
|
|
@@ -3046,7 +3037,7 @@ function mapToStyles(_ref2) {
|
|
|
3046
3037
|
adaptive = _ref2.adaptive,
|
|
3047
3038
|
roundOffsets = _ref2.roundOffsets;
|
|
3048
3039
|
|
|
3049
|
-
var _ref3 = roundOffsets
|
|
3040
|
+
var _ref3 = roundOffsets ? roundOffsetsByDPR(offsets) : offsets,
|
|
3050
3041
|
_ref3$x = _ref3.x,
|
|
3051
3042
|
x = _ref3$x === void 0 ? 0 : _ref3$x,
|
|
3052
3043
|
_ref3$y = _ref3.y,
|
|
@@ -3060,32 +3051,23 @@ function mapToStyles(_ref2) {
|
|
|
3060
3051
|
|
|
3061
3052
|
if (adaptive) {
|
|
3062
3053
|
var offsetParent = getOffsetParent(popper);
|
|
3063
|
-
var heightProp = 'clientHeight';
|
|
3064
|
-
var widthProp = 'clientWidth';
|
|
3065
3054
|
|
|
3066
3055
|
if (offsetParent === getWindow(popper)) {
|
|
3067
3056
|
offsetParent = getDocumentElement(popper);
|
|
3068
|
-
|
|
3069
|
-
if (getComputedStyle$1(offsetParent).position !== 'static') {
|
|
3070
|
-
heightProp = 'scrollHeight';
|
|
3071
|
-
widthProp = 'scrollWidth';
|
|
3072
|
-
}
|
|
3073
3057
|
} // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it
|
|
3074
3058
|
|
|
3059
|
+
/*:: offsetParent = (offsetParent: Element); */
|
|
3075
3060
|
|
|
3076
|
-
offsetParent = offsetParent;
|
|
3077
3061
|
|
|
3078
3062
|
if (placement === top) {
|
|
3079
|
-
sideY = bottom;
|
|
3080
|
-
|
|
3081
|
-
y -= offsetParent[heightProp] - popperRect.height;
|
|
3063
|
+
sideY = bottom;
|
|
3064
|
+
y -= offsetParent.clientHeight - popperRect.height;
|
|
3082
3065
|
y *= gpuAcceleration ? 1 : -1;
|
|
3083
3066
|
}
|
|
3084
3067
|
|
|
3085
3068
|
if (placement === left) {
|
|
3086
|
-
sideX = right;
|
|
3087
|
-
|
|
3088
|
-
x -= offsetParent[widthProp] - popperRect.width;
|
|
3069
|
+
sideX = right;
|
|
3070
|
+
x -= offsetParent.clientWidth - popperRect.width;
|
|
3089
3071
|
x *= gpuAcceleration ? 1 : -1;
|
|
3090
3072
|
}
|
|
3091
3073
|
}
|
|
@@ -3097,10 +3079,10 @@ function mapToStyles(_ref2) {
|
|
|
3097
3079
|
if (gpuAcceleration) {
|
|
3098
3080
|
var _Object$assign;
|
|
3099
3081
|
|
|
3100
|
-
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
|
|
3082
|
+
return Object.assign(Object.assign({}, commonStyles), {}, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
|
|
3101
3083
|
}
|
|
3102
3084
|
|
|
3103
|
-
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
3085
|
+
return Object.assign(Object.assign({}, commonStyles), {}, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
3104
3086
|
}
|
|
3105
3087
|
|
|
3106
3088
|
function computeStyles(_ref4) {
|
|
@@ -3114,7 +3096,7 @@ function computeStyles(_ref4) {
|
|
|
3114
3096
|
roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
|
|
3115
3097
|
|
|
3116
3098
|
if (process.env.NODE_ENV !== "production") {
|
|
3117
|
-
var transitionProperty = getComputedStyle$
|
|
3099
|
+
var transitionProperty = getComputedStyle$2(state.elements.popper).transitionProperty || '';
|
|
3118
3100
|
|
|
3119
3101
|
if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {
|
|
3120
3102
|
return transitionProperty.indexOf(property) >= 0;
|
|
@@ -3131,7 +3113,7 @@ function computeStyles(_ref4) {
|
|
|
3131
3113
|
};
|
|
3132
3114
|
|
|
3133
3115
|
if (state.modifiersData.popperOffsets != null) {
|
|
3134
|
-
state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {
|
|
3116
|
+
state.styles.popper = Object.assign(Object.assign({}, state.styles.popper), mapToStyles(Object.assign(Object.assign({}, commonStyles), {}, {
|
|
3135
3117
|
offsets: state.modifiersData.popperOffsets,
|
|
3136
3118
|
position: state.options.strategy,
|
|
3137
3119
|
adaptive: adaptive,
|
|
@@ -3140,7 +3122,7 @@ function computeStyles(_ref4) {
|
|
|
3140
3122
|
}
|
|
3141
3123
|
|
|
3142
3124
|
if (state.modifiersData.arrow != null) {
|
|
3143
|
-
state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {
|
|
3125
|
+
state.styles.arrow = Object.assign(Object.assign({}, state.styles.arrow), mapToStyles(Object.assign(Object.assign({}, commonStyles), {}, {
|
|
3144
3126
|
offsets: state.modifiersData.arrow,
|
|
3145
3127
|
position: 'absolute',
|
|
3146
3128
|
adaptive: false,
|
|
@@ -3148,7 +3130,7 @@ function computeStyles(_ref4) {
|
|
|
3148
3130
|
})));
|
|
3149
3131
|
}
|
|
3150
3132
|
|
|
3151
|
-
state.attributes.popper = Object.assign({}, state.attributes.popper, {
|
|
3133
|
+
state.attributes.popper = Object.assign(Object.assign({}, state.attributes.popper), {}, {
|
|
3152
3134
|
'data-popper-placement': state.placement
|
|
3153
3135
|
});
|
|
3154
3136
|
} // eslint-disable-next-line import/no-unused-modules
|
|
@@ -3166,7 +3148,7 @@ var passive = {
|
|
|
3166
3148
|
passive: true
|
|
3167
3149
|
};
|
|
3168
3150
|
|
|
3169
|
-
function effect(_ref) {
|
|
3151
|
+
function effect$1(_ref) {
|
|
3170
3152
|
var state = _ref.state,
|
|
3171
3153
|
instance = _ref.instance,
|
|
3172
3154
|
options = _ref.options;
|
|
@@ -3206,11 +3188,11 @@ var eventListeners = {
|
|
|
3206
3188
|
enabled: true,
|
|
3207
3189
|
phase: 'write',
|
|
3208
3190
|
fn: function fn() {},
|
|
3209
|
-
effect: effect,
|
|
3191
|
+
effect: effect$1,
|
|
3210
3192
|
data: {}
|
|
3211
3193
|
};
|
|
3212
3194
|
|
|
3213
|
-
var hash
|
|
3195
|
+
var hash = {
|
|
3214
3196
|
left: 'right',
|
|
3215
3197
|
right: 'left',
|
|
3216
3198
|
bottom: 'top',
|
|
@@ -3218,20 +3200,34 @@ var hash$1 = {
|
|
|
3218
3200
|
};
|
|
3219
3201
|
function getOppositePlacement(placement) {
|
|
3220
3202
|
return placement.replace(/left|right|bottom|top/g, function (matched) {
|
|
3221
|
-
return hash
|
|
3203
|
+
return hash[matched];
|
|
3222
3204
|
});
|
|
3223
3205
|
}
|
|
3224
3206
|
|
|
3225
|
-
var hash = {
|
|
3207
|
+
var hash$1 = {
|
|
3226
3208
|
start: 'end',
|
|
3227
3209
|
end: 'start'
|
|
3228
3210
|
};
|
|
3229
3211
|
function getOppositeVariationPlacement(placement) {
|
|
3230
3212
|
return placement.replace(/start|end/g, function (matched) {
|
|
3231
|
-
return hash[matched];
|
|
3213
|
+
return hash$1[matched];
|
|
3232
3214
|
});
|
|
3233
3215
|
}
|
|
3234
3216
|
|
|
3217
|
+
function getBoundingClientRect(element) {
|
|
3218
|
+
var rect = element.getBoundingClientRect();
|
|
3219
|
+
return {
|
|
3220
|
+
width: rect.width,
|
|
3221
|
+
height: rect.height,
|
|
3222
|
+
top: rect.top,
|
|
3223
|
+
right: rect.right,
|
|
3224
|
+
bottom: rect.bottom,
|
|
3225
|
+
left: rect.left,
|
|
3226
|
+
x: rect.left,
|
|
3227
|
+
y: rect.top
|
|
3228
|
+
};
|
|
3229
|
+
}
|
|
3230
|
+
|
|
3235
3231
|
function getWindowScroll(node) {
|
|
3236
3232
|
var win = getWindow(node);
|
|
3237
3233
|
var scrollLeft = win.pageXOffset;
|
|
@@ -3294,18 +3290,16 @@ function getViewportRect(element) {
|
|
|
3294
3290
|
// of the `<html>` and `<body>` rect bounds if horizontally scrollable
|
|
3295
3291
|
|
|
3296
3292
|
function getDocumentRect(element) {
|
|
3297
|
-
var _element$ownerDocumen;
|
|
3298
|
-
|
|
3299
3293
|
var html = getDocumentElement(element);
|
|
3300
3294
|
var winScroll = getWindowScroll(element);
|
|
3301
|
-
var body =
|
|
3302
|
-
var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
3303
|
-
var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
3295
|
+
var body = element.ownerDocument.body;
|
|
3296
|
+
var width = Math.max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
3297
|
+
var height = Math.max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
3304
3298
|
var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
|
|
3305
3299
|
var y = -winScroll.scrollTop;
|
|
3306
3300
|
|
|
3307
|
-
if (getComputedStyle$
|
|
3308
|
-
x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
|
|
3301
|
+
if (getComputedStyle$2(body || html).direction === 'rtl') {
|
|
3302
|
+
x += Math.max(html.clientWidth, body ? body.clientWidth : 0) - width;
|
|
3309
3303
|
}
|
|
3310
3304
|
|
|
3311
3305
|
return {
|
|
@@ -3318,7 +3312,7 @@ function getDocumentRect(element) {
|
|
|
3318
3312
|
|
|
3319
3313
|
function isScrollParent(element) {
|
|
3320
3314
|
// Firefox wants us to check `-x` and `-y` variations as well
|
|
3321
|
-
var _getComputedStyle = getComputedStyle$
|
|
3315
|
+
var _getComputedStyle = getComputedStyle$2(element),
|
|
3322
3316
|
overflow = _getComputedStyle.overflow,
|
|
3323
3317
|
overflowX = _getComputedStyle.overflowX,
|
|
3324
3318
|
overflowY = _getComputedStyle.overflowY;
|
|
@@ -3347,14 +3341,12 @@ reference element's position.
|
|
|
3347
3341
|
*/
|
|
3348
3342
|
|
|
3349
3343
|
function listScrollParents(element, list) {
|
|
3350
|
-
var _element$ownerDocumen;
|
|
3351
|
-
|
|
3352
3344
|
if (list === void 0) {
|
|
3353
3345
|
list = [];
|
|
3354
3346
|
}
|
|
3355
3347
|
|
|
3356
3348
|
var scrollParent = getScrollParent(element);
|
|
3357
|
-
var isBody = scrollParent ===
|
|
3349
|
+
var isBody = getNodeName(scrollParent) === 'body';
|
|
3358
3350
|
var win = getWindow(scrollParent);
|
|
3359
3351
|
var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
|
|
3360
3352
|
var updatedList = list.concat(target);
|
|
@@ -3363,7 +3355,7 @@ function listScrollParents(element, list) {
|
|
|
3363
3355
|
}
|
|
3364
3356
|
|
|
3365
3357
|
function rectToClientRect(rect) {
|
|
3366
|
-
return Object.assign({}, rect, {
|
|
3358
|
+
return Object.assign(Object.assign({}, rect), {}, {
|
|
3367
3359
|
left: rect.x,
|
|
3368
3360
|
top: rect.y,
|
|
3369
3361
|
right: rect.x + rect.width,
|
|
@@ -3393,7 +3385,7 @@ function getClientRectFromMixedType(element, clippingParent) {
|
|
|
3393
3385
|
|
|
3394
3386
|
function getClippingParents(element) {
|
|
3395
3387
|
var clippingParents = listScrollParents(getParentNode(element));
|
|
3396
|
-
var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle$
|
|
3388
|
+
var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle$2(element).position) >= 0;
|
|
3397
3389
|
var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
|
|
3398
3390
|
|
|
3399
3391
|
if (!isElement(clipperElement)) {
|
|
@@ -3402,7 +3394,7 @@ function getClippingParents(element) {
|
|
|
3402
3394
|
|
|
3403
3395
|
|
|
3404
3396
|
return clippingParents.filter(function (clippingParent) {
|
|
3405
|
-
return isElement(clippingParent) && contains
|
|
3397
|
+
return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
3406
3398
|
});
|
|
3407
3399
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
3408
3400
|
// clipping parents
|
|
@@ -3414,10 +3406,10 @@ function getClippingRect(element, boundary, rootBoundary) {
|
|
|
3414
3406
|
var firstClippingParent = clippingParents[0];
|
|
3415
3407
|
var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
|
|
3416
3408
|
var rect = getClientRectFromMixedType(element, clippingParent);
|
|
3417
|
-
accRect.top = max(rect.top, accRect.top);
|
|
3418
|
-
accRect.right = min(rect.right, accRect.right);
|
|
3419
|
-
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
3420
|
-
accRect.left = max(rect.left, accRect.left);
|
|
3409
|
+
accRect.top = Math.max(rect.top, accRect.top);
|
|
3410
|
+
accRect.right = Math.min(rect.right, accRect.right);
|
|
3411
|
+
accRect.bottom = Math.min(rect.bottom, accRect.bottom);
|
|
3412
|
+
accRect.left = Math.max(rect.left, accRect.left);
|
|
3421
3413
|
return accRect;
|
|
3422
3414
|
}, getClientRectFromMixedType(element, firstClippingParent));
|
|
3423
3415
|
clippingRect.width = clippingRect.right - clippingRect.left;
|
|
@@ -3527,7 +3519,7 @@ function detectOverflow(state, options) {
|
|
|
3527
3519
|
strategy: 'absolute',
|
|
3528
3520
|
placement: placement
|
|
3529
3521
|
});
|
|
3530
|
-
var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));
|
|
3522
|
+
var popperClientRect = rectToClientRect(Object.assign(Object.assign({}, popperRect), popperOffsets));
|
|
3531
3523
|
var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect
|
|
3532
3524
|
// 0 or negative = within the clipping rect
|
|
3533
3525
|
|
|
@@ -3551,6 +3543,9 @@ function detectOverflow(state, options) {
|
|
|
3551
3543
|
return overflowOffsets;
|
|
3552
3544
|
}
|
|
3553
3545
|
|
|
3546
|
+
/*:: type OverflowsMap = { [ComputedPlacement]: number }; */
|
|
3547
|
+
|
|
3548
|
+
/*;; type OverflowsMap = { [key in ComputedPlacement]: number }; */
|
|
3554
3549
|
function computeAutoPlacement(state, options) {
|
|
3555
3550
|
if (options === void 0) {
|
|
3556
3551
|
options = {};
|
|
@@ -3779,7 +3774,7 @@ function hide(_ref) {
|
|
|
3779
3774
|
isReferenceHidden: isReferenceHidden,
|
|
3780
3775
|
hasPopperEscaped: hasPopperEscaped
|
|
3781
3776
|
};
|
|
3782
|
-
state.attributes.popper = Object.assign({}, state.attributes.popper, {
|
|
3777
|
+
state.attributes.popper = Object.assign(Object.assign({}, state.attributes.popper), {}, {
|
|
3783
3778
|
'data-popper-reference-hidden': isReferenceHidden,
|
|
3784
3779
|
'data-popper-escaped': hasPopperEscaped
|
|
3785
3780
|
});
|
|
@@ -3798,7 +3793,7 @@ function distanceAndSkiddingToXY(placement, rects, offset) {
|
|
|
3798
3793
|
var basePlacement = getBasePlacement(placement);
|
|
3799
3794
|
var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;
|
|
3800
3795
|
|
|
3801
|
-
var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {
|
|
3796
|
+
var _ref = typeof offset === 'function' ? offset(Object.assign(Object.assign({}, rects), {}, {
|
|
3802
3797
|
placement: placement
|
|
3803
3798
|
})) : offset,
|
|
3804
3799
|
skidding = _ref[0],
|
|
@@ -3904,7 +3899,7 @@ function preventOverflow(_ref) {
|
|
|
3904
3899
|
var popperOffsets = state.modifiersData.popperOffsets;
|
|
3905
3900
|
var referenceRect = state.rects.reference;
|
|
3906
3901
|
var popperRect = state.rects.popper;
|
|
3907
|
-
var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
|
|
3902
|
+
var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign(Object.assign({}, state.rects), {}, {
|
|
3908
3903
|
placement: state.placement
|
|
3909
3904
|
})) : tetherOffset;
|
|
3910
3905
|
var data = {
|
|
@@ -3916,13 +3911,13 @@ function preventOverflow(_ref) {
|
|
|
3916
3911
|
return;
|
|
3917
3912
|
}
|
|
3918
3913
|
|
|
3919
|
-
if (checkMainAxis
|
|
3914
|
+
if (checkMainAxis) {
|
|
3920
3915
|
var mainSide = mainAxis === 'y' ? top : left;
|
|
3921
3916
|
var altSide = mainAxis === 'y' ? bottom : right;
|
|
3922
3917
|
var len = mainAxis === 'y' ? 'height' : 'width';
|
|
3923
3918
|
var offset = popperOffsets[mainAxis];
|
|
3924
|
-
var min
|
|
3925
|
-
var max
|
|
3919
|
+
var min = popperOffsets[mainAxis] + overflow[mainSide];
|
|
3920
|
+
var max = popperOffsets[mainAxis] - overflow[altSide];
|
|
3926
3921
|
var additive = tether ? -popperRect[len] / 2 : 0;
|
|
3927
3922
|
var minLen = variation === start ? referenceRect[len] : popperRect[len];
|
|
3928
3923
|
var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
|
|
@@ -3949,29 +3944,26 @@ function preventOverflow(_ref) {
|
|
|
3949
3944
|
var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;
|
|
3950
3945
|
var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;
|
|
3951
3946
|
var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;
|
|
3947
|
+
var preventedOffset = within(tether ? Math.min(min, tetherMin) : min, offset, tether ? Math.max(max, tetherMax) : max);
|
|
3948
|
+
popperOffsets[mainAxis] = preventedOffset;
|
|
3949
|
+
data[mainAxis] = preventedOffset - offset;
|
|
3950
|
+
}
|
|
3952
3951
|
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
popperOffsets[mainAxis] = preventedOffset;
|
|
3956
|
-
data[mainAxis] = preventedOffset - offset;
|
|
3957
|
-
}
|
|
3958
|
-
|
|
3959
|
-
if (checkAltAxis) {
|
|
3960
|
-
var _mainSide = mainAxis === 'x' ? top : left;
|
|
3952
|
+
if (checkAltAxis) {
|
|
3953
|
+
var _mainSide = mainAxis === 'x' ? top : left;
|
|
3961
3954
|
|
|
3962
|
-
|
|
3955
|
+
var _altSide = mainAxis === 'x' ? bottom : right;
|
|
3963
3956
|
|
|
3964
|
-
|
|
3957
|
+
var _offset = popperOffsets[altAxis];
|
|
3965
3958
|
|
|
3966
|
-
|
|
3959
|
+
var _min = _offset + overflow[_mainSide];
|
|
3967
3960
|
|
|
3968
|
-
|
|
3961
|
+
var _max = _offset - overflow[_altSide];
|
|
3969
3962
|
|
|
3970
|
-
|
|
3963
|
+
var _preventedOffset = within(_min, _offset, _max);
|
|
3971
3964
|
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
}
|
|
3965
|
+
popperOffsets[altAxis] = _preventedOffset;
|
|
3966
|
+
data[altAxis] = _preventedOffset - _offset;
|
|
3975
3967
|
}
|
|
3976
3968
|
|
|
3977
3969
|
state.modifiersData[name] = data;
|
|
@@ -4202,9 +4194,9 @@ function uniqueBy(arr, fn) {
|
|
|
4202
4194
|
function mergeByName(modifiers) {
|
|
4203
4195
|
var merged = modifiers.reduce(function (merged, current) {
|
|
4204
4196
|
var existing = merged[current.name];
|
|
4205
|
-
merged[current.name] = existing ? Object.assign({}, existing, current, {
|
|
4206
|
-
options: Object.assign({}, existing.options, current.options),
|
|
4207
|
-
data: Object.assign({}, existing.data, current.data)
|
|
4197
|
+
merged[current.name] = existing ? Object.assign(Object.assign(Object.assign({}, existing), current), {}, {
|
|
4198
|
+
options: Object.assign(Object.assign({}, existing.options), current.options),
|
|
4199
|
+
data: Object.assign(Object.assign({}, existing.data), current.data)
|
|
4208
4200
|
}) : current;
|
|
4209
4201
|
return merged;
|
|
4210
4202
|
}, {}); // IE11 does not support Object.values
|
|
@@ -4250,7 +4242,7 @@ function popperGenerator(generatorOptions) {
|
|
|
4250
4242
|
var state = {
|
|
4251
4243
|
placement: 'bottom',
|
|
4252
4244
|
orderedModifiers: [],
|
|
4253
|
-
options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),
|
|
4245
|
+
options: Object.assign(Object.assign({}, DEFAULT_OPTIONS), defaultOptions),
|
|
4254
4246
|
modifiersData: {},
|
|
4255
4247
|
elements: {
|
|
4256
4248
|
reference: reference,
|
|
@@ -4265,7 +4257,7 @@ function popperGenerator(generatorOptions) {
|
|
|
4265
4257
|
state: state,
|
|
4266
4258
|
setOptions: function setOptions(options) {
|
|
4267
4259
|
cleanupModifierEffects();
|
|
4268
|
-
state.options = Object.assign({}, defaultOptions, state.options, options);
|
|
4260
|
+
state.options = Object.assign(Object.assign(Object.assign({}, defaultOptions), state.options), options);
|
|
4269
4261
|
state.scrollParents = {
|
|
4270
4262
|
reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],
|
|
4271
4263
|
popper: listScrollParents(popper)
|
|
@@ -4297,7 +4289,7 @@ function popperGenerator(generatorOptions) {
|
|
|
4297
4289
|
}
|
|
4298
4290
|
}
|
|
4299
4291
|
|
|
4300
|
-
var _getComputedStyle = getComputedStyle$
|
|
4292
|
+
var _getComputedStyle = getComputedStyle$2(popper),
|
|
4301
4293
|
marginTop = _getComputedStyle.marginTop,
|
|
4302
4294
|
marginRight = _getComputedStyle.marginRight,
|
|
4303
4295
|
marginBottom = _getComputedStyle.marginBottom,
|
|
@@ -4544,7 +4536,7 @@ function usePopper(referenceElement, popperElement, _temp) {
|
|
|
4544
4536
|
strategy = _ref3$strategy === void 0 ? 'absolute' : _ref3$strategy,
|
|
4545
4537
|
_ref3$modifiers = _ref3.modifiers,
|
|
4546
4538
|
modifiers = _ref3$modifiers === void 0 ? EMPTY_MODIFIERS : _ref3$modifiers,
|
|
4547
|
-
config = _objectWithoutPropertiesLoose(_ref3, ["enabled", "placement", "strategy", "modifiers"]);
|
|
4539
|
+
config = _objectWithoutPropertiesLoose$1(_ref3, ["enabled", "placement", "strategy", "modifiers"]);
|
|
4548
4540
|
|
|
4549
4541
|
var popperInstanceRef = useRef();
|
|
4550
4542
|
var update = useCallback(function () {
|
|
@@ -4610,7 +4602,7 @@ function usePopper(referenceElement, popperElement, _temp) {
|
|
|
4610
4602
|
return undefined;
|
|
4611
4603
|
}
|
|
4612
4604
|
|
|
4613
|
-
popperInstanceRef.current = createPopper(referenceElement, popperElement, _extends({}, config, {
|
|
4605
|
+
popperInstanceRef.current = createPopper(referenceElement, popperElement, _extends$1({}, config, {
|
|
4614
4606
|
placement: placement,
|
|
4615
4607
|
strategy: strategy,
|
|
4616
4608
|
modifiers: [].concat(modifiers, [ariaDescribedByModifier, updateModifier])
|
|
@@ -4620,7 +4612,7 @@ function usePopper(referenceElement, popperElement, _temp) {
|
|
|
4620
4612
|
popperInstanceRef.current.destroy();
|
|
4621
4613
|
popperInstanceRef.current = undefined;
|
|
4622
4614
|
setState(function (s) {
|
|
4623
|
-
return _extends({}, s, {
|
|
4615
|
+
return _extends$1({}, s, {
|
|
4624
4616
|
attributes: {},
|
|
4625
4617
|
styles: {
|
|
4626
4618
|
popper: initialPopperStyles(strategy)
|
|
@@ -4637,7 +4629,7 @@ function usePopper(referenceElement, popperElement, _temp) {
|
|
|
4637
4629
|
/* eslint-disable no-bitwise, no-cond-assign */
|
|
4638
4630
|
// HTML DOM and SVG DOM may have different support levels,
|
|
4639
4631
|
// so we need to check on context instead of a document root element.
|
|
4640
|
-
function contains(context, node) {
|
|
4632
|
+
function contains$1(context, node) {
|
|
4641
4633
|
if (context.contains) return context.contains(node);
|
|
4642
4634
|
if (context.compareDocumentPosition) return context === node || !!(context.compareDocumentPosition(node) & 16);
|
|
4643
4635
|
}
|
|
@@ -4711,13 +4703,13 @@ function safeFindDOMNode(componentOrElement) {
|
|
|
4711
4703
|
return componentOrElement != null ? componentOrElement : null;
|
|
4712
4704
|
}
|
|
4713
4705
|
|
|
4714
|
-
var ownerDocument = (function (componentOrElement) {
|
|
4715
|
-
return ownerDocument
|
|
4706
|
+
var ownerDocument$1 = (function (componentOrElement) {
|
|
4707
|
+
return ownerDocument(safeFindDOMNode(componentOrElement));
|
|
4716
4708
|
});
|
|
4717
4709
|
|
|
4718
4710
|
var escapeKeyCode = 27;
|
|
4719
4711
|
|
|
4720
|
-
var noop$
|
|
4712
|
+
var noop$1 = function noop() {};
|
|
4721
4713
|
|
|
4722
4714
|
function isLeftClickEvent(event) {
|
|
4723
4715
|
return event.button === 0;
|
|
@@ -4750,11 +4742,11 @@ function useRootClose(ref, onRootClose, _temp) {
|
|
|
4750
4742
|
clickTrigger = _ref$clickTrigger === void 0 ? 'click' : _ref$clickTrigger;
|
|
4751
4743
|
|
|
4752
4744
|
var preventMouseRootCloseRef = useRef(false);
|
|
4753
|
-
var onClose = onRootClose || noop$
|
|
4745
|
+
var onClose = onRootClose || noop$1;
|
|
4754
4746
|
var handleMouseCapture = useCallback(function (e) {
|
|
4755
4747
|
var currentTarget = getRefTarget(ref);
|
|
4756
4748
|
warning_1(!!currentTarget, 'RootClose captured a close event but does not have a ref to compare it to. ' + 'useRootClose(), should be passed a ref that resolves to a DOM node');
|
|
4757
|
-
preventMouseRootCloseRef.current = !currentTarget || isModifiedEvent(e) || !isLeftClickEvent(e) || !!contains(currentTarget, e.target);
|
|
4749
|
+
preventMouseRootCloseRef.current = !currentTarget || isModifiedEvent(e) || !isLeftClickEvent(e) || !!contains$1(currentTarget, e.target);
|
|
4758
4750
|
}, [ref]);
|
|
4759
4751
|
var handleMouse = useEventCallback(function (e) {
|
|
4760
4752
|
if (!preventMouseRootCloseRef.current) {
|
|
@@ -4771,7 +4763,7 @@ function useRootClose(ref, onRootClose, _temp) {
|
|
|
4771
4763
|
// https://github.com/facebook/react/issues/20074
|
|
4772
4764
|
|
|
4773
4765
|
var currentEvent = window.event;
|
|
4774
|
-
var doc = ownerDocument(getRefTarget(ref)); // Use capture for this listener so it fires before React's listener, to
|
|
4766
|
+
var doc = ownerDocument$1(getRefTarget(ref)); // Use capture for this listener so it fires before React's listener, to
|
|
4775
4767
|
// avoid false positives in the contains() check below if the target DOM
|
|
4776
4768
|
// element is removed in the React mouse callback.
|
|
4777
4769
|
|
|
@@ -4798,7 +4790,7 @@ function useRootClose(ref, onRootClose, _temp) {
|
|
|
4798
4790
|
|
|
4799
4791
|
if ('ontouchstart' in doc.documentElement) {
|
|
4800
4792
|
mobileSafariHackListeners = [].slice.call(doc.body.children).map(function (el) {
|
|
4801
|
-
return listen(el, 'mousemove', noop$
|
|
4793
|
+
return listen(el, 'mousemove', noop$1);
|
|
4802
4794
|
});
|
|
4803
4795
|
}
|
|
4804
4796
|
|
|
@@ -4850,37 +4842,37 @@ function mergeOptionsWithPopperConfig(_ref) {
|
|
|
4850
4842
|
_ref$popperConfig = _ref.popperConfig,
|
|
4851
4843
|
popperConfig = _ref$popperConfig === void 0 ? {} : _ref$popperConfig;
|
|
4852
4844
|
var modifiers = toModifierMap(popperConfig.modifiers);
|
|
4853
|
-
return _extends({}, popperConfig, {
|
|
4845
|
+
return _extends$1({}, popperConfig, {
|
|
4854
4846
|
placement: placement,
|
|
4855
4847
|
enabled: enabled,
|
|
4856
|
-
modifiers: toModifierArray(_extends({}, modifiers, {
|
|
4848
|
+
modifiers: toModifierArray(_extends$1({}, modifiers, {
|
|
4857
4849
|
eventListeners: {
|
|
4858
4850
|
enabled: enableEvents
|
|
4859
4851
|
},
|
|
4860
|
-
preventOverflow: _extends({}, modifiers.preventOverflow, {
|
|
4861
|
-
options: containerPadding ? _extends({
|
|
4852
|
+
preventOverflow: _extends$1({}, modifiers.preventOverflow, {
|
|
4853
|
+
options: containerPadding ? _extends$1({
|
|
4862
4854
|
padding: containerPadding
|
|
4863
4855
|
}, (_modifiers$preventOve = modifiers.preventOverflow) == null ? void 0 : _modifiers$preventOve.options) : (_modifiers$preventOve2 = modifiers.preventOverflow) == null ? void 0 : _modifiers$preventOve2.options
|
|
4864
4856
|
}),
|
|
4865
4857
|
offset: {
|
|
4866
|
-
options: _extends({
|
|
4858
|
+
options: _extends$1({
|
|
4867
4859
|
offset: offset
|
|
4868
4860
|
}, (_modifiers$offset = modifiers.offset) == null ? void 0 : _modifiers$offset.options)
|
|
4869
4861
|
},
|
|
4870
|
-
arrow: _extends({}, modifiers.arrow, {
|
|
4862
|
+
arrow: _extends$1({}, modifiers.arrow, {
|
|
4871
4863
|
enabled: !!arrowElement,
|
|
4872
|
-
options: _extends({}, (_modifiers$arrow = modifiers.arrow) == null ? void 0 : _modifiers$arrow.options, {
|
|
4864
|
+
options: _extends$1({}, (_modifiers$arrow = modifiers.arrow) == null ? void 0 : _modifiers$arrow.options, {
|
|
4873
4865
|
element: arrowElement
|
|
4874
4866
|
})
|
|
4875
4867
|
}),
|
|
4876
|
-
flip: _extends({
|
|
4868
|
+
flip: _extends$1({
|
|
4877
4869
|
enabled: !!flip
|
|
4878
4870
|
}, modifiers.flip)
|
|
4879
4871
|
}))
|
|
4880
4872
|
});
|
|
4881
4873
|
}
|
|
4882
4874
|
|
|
4883
|
-
var noop$
|
|
4875
|
+
var noop$2 = function noop() {};
|
|
4884
4876
|
/**
|
|
4885
4877
|
* @memberOf Dropdown
|
|
4886
4878
|
* @param {object} options
|
|
@@ -4944,11 +4936,11 @@ function useDropdownMenu(options) {
|
|
|
4944
4936
|
})),
|
|
4945
4937
|
styles = _usePopper.styles,
|
|
4946
4938
|
attributes = _usePopper.attributes,
|
|
4947
|
-
popper = _objectWithoutPropertiesLoose(_usePopper, ["styles", "attributes"]);
|
|
4939
|
+
popper = _objectWithoutPropertiesLoose$1(_usePopper, ["styles", "attributes"]);
|
|
4948
4940
|
|
|
4949
4941
|
var menu;
|
|
4950
4942
|
var menuProps = {
|
|
4951
|
-
ref: setMenu || noop$
|
|
4943
|
+
ref: setMenu || noop$2,
|
|
4952
4944
|
'aria-labelledby': toggleElement == null ? void 0 : toggleElement.id
|
|
4953
4945
|
};
|
|
4954
4946
|
var childArgs = {
|
|
@@ -4959,15 +4951,15 @@ function useDropdownMenu(options) {
|
|
|
4959
4951
|
};
|
|
4960
4952
|
|
|
4961
4953
|
if (!shouldUsePopper) {
|
|
4962
|
-
menu = _extends({}, childArgs, {
|
|
4954
|
+
menu = _extends$1({}, childArgs, {
|
|
4963
4955
|
props: menuProps
|
|
4964
4956
|
});
|
|
4965
4957
|
} else {
|
|
4966
|
-
menu = _extends({}, popper, childArgs, {
|
|
4967
|
-
props: _extends({}, menuProps, attributes.popper, {
|
|
4958
|
+
menu = _extends$1({}, popper, childArgs, {
|
|
4959
|
+
props: _extends$1({}, menuProps, attributes.popper, {
|
|
4968
4960
|
style: styles.popper
|
|
4969
4961
|
}),
|
|
4970
|
-
arrowProps: _extends({
|
|
4962
|
+
arrowProps: _extends$1({
|
|
4971
4963
|
ref: attachArrowRef
|
|
4972
4964
|
}, attributes.arrow, {
|
|
4973
4965
|
style: styles.arrow
|
|
@@ -4981,7 +4973,7 @@ function useDropdownMenu(options) {
|
|
|
4981
4973
|
});
|
|
4982
4974
|
return menu;
|
|
4983
4975
|
}
|
|
4984
|
-
var propTypes$
|
|
4976
|
+
var propTypes$2 = {
|
|
4985
4977
|
/**
|
|
4986
4978
|
* A render prop that returns a Menu element. The `props`
|
|
4987
4979
|
* argument should spread through to **a component that can accept a ref**.
|
|
@@ -5038,7 +5030,7 @@ var propTypes$8 = {
|
|
|
5038
5030
|
*/
|
|
5039
5031
|
rootCloseEvent: PropTypes.string
|
|
5040
5032
|
};
|
|
5041
|
-
var defaultProps$
|
|
5033
|
+
var defaultProps$d = {
|
|
5042
5034
|
usePopper: true
|
|
5043
5035
|
};
|
|
5044
5036
|
|
|
@@ -5048,19 +5040,19 @@ var defaultProps$r = {
|
|
|
5048
5040
|
* @displayName DropdownMenu
|
|
5049
5041
|
* @memberOf Dropdown
|
|
5050
5042
|
*/
|
|
5051
|
-
function DropdownMenu
|
|
5043
|
+
function DropdownMenu(_ref2) {
|
|
5052
5044
|
var children = _ref2.children,
|
|
5053
|
-
options = _objectWithoutPropertiesLoose(_ref2, ["children"]);
|
|
5045
|
+
options = _objectWithoutPropertiesLoose$1(_ref2, ["children"]);
|
|
5054
5046
|
|
|
5055
5047
|
var args = useDropdownMenu(options);
|
|
5056
5048
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, args.hasShown ? children(args) : null);
|
|
5057
5049
|
}
|
|
5058
5050
|
|
|
5059
|
-
DropdownMenu
|
|
5060
|
-
DropdownMenu
|
|
5061
|
-
DropdownMenu
|
|
5051
|
+
DropdownMenu.displayName = 'ReactOverlaysDropdownMenu';
|
|
5052
|
+
DropdownMenu.propTypes = propTypes$2;
|
|
5053
|
+
DropdownMenu.defaultProps = defaultProps$d;
|
|
5062
5054
|
|
|
5063
|
-
var noop$
|
|
5055
|
+
var noop$3 = function noop() {};
|
|
5064
5056
|
/**
|
|
5065
5057
|
* Wires up Dropdown toggle functionality, returning a set a props to attach
|
|
5066
5058
|
* to the element that functions as the dropdown toggle (generally a button).
|
|
@@ -5074,11 +5066,11 @@ function useDropdownToggle() {
|
|
|
5074
5066
|
_ref$show = _ref.show,
|
|
5075
5067
|
show = _ref$show === void 0 ? false : _ref$show,
|
|
5076
5068
|
_ref$toggle = _ref.toggle,
|
|
5077
|
-
toggle = _ref$toggle === void 0 ? noop$
|
|
5069
|
+
toggle = _ref$toggle === void 0 ? noop$3 : _ref$toggle,
|
|
5078
5070
|
setToggle = _ref.setToggle;
|
|
5079
5071
|
|
|
5080
5072
|
return [{
|
|
5081
|
-
ref: setToggle || noop$
|
|
5073
|
+
ref: setToggle || noop$3,
|
|
5082
5074
|
'aria-haspopup': true,
|
|
5083
5075
|
'aria-expanded': !!show
|
|
5084
5076
|
}, {
|
|
@@ -5086,7 +5078,7 @@ function useDropdownToggle() {
|
|
|
5086
5078
|
toggle: toggle
|
|
5087
5079
|
}];
|
|
5088
5080
|
}
|
|
5089
|
-
var propTypes$
|
|
5081
|
+
var propTypes$3 = {
|
|
5090
5082
|
/**
|
|
5091
5083
|
* A render prop that returns a Toggle element. The `props`
|
|
5092
5084
|
* argument should spread through to **a component that can accept a ref**. Use
|
|
@@ -5111,7 +5103,7 @@ var propTypes$7 = {
|
|
|
5111
5103
|
* @displayName DropdownToggle
|
|
5112
5104
|
* @memberOf Dropdown
|
|
5113
5105
|
*/
|
|
5114
|
-
function DropdownToggle
|
|
5106
|
+
function DropdownToggle(_ref2) {
|
|
5115
5107
|
var children = _ref2.children;
|
|
5116
5108
|
|
|
5117
5109
|
var _useDropdownToggle = useDropdownToggle(),
|
|
@@ -5127,10 +5119,10 @@ function DropdownToggle$1(_ref2) {
|
|
|
5127
5119
|
}));
|
|
5128
5120
|
}
|
|
5129
5121
|
|
|
5130
|
-
DropdownToggle
|
|
5131
|
-
DropdownToggle
|
|
5122
|
+
DropdownToggle.displayName = 'ReactOverlaysDropdownToggle';
|
|
5123
|
+
DropdownToggle.propTypes = propTypes$3;
|
|
5132
5124
|
|
|
5133
|
-
var propTypes$
|
|
5125
|
+
var propTypes$4 = {
|
|
5134
5126
|
/**
|
|
5135
5127
|
* A render prop that returns the root dropdown element. The `props`
|
|
5136
5128
|
* argument should spread through to an element containing _both_ the
|
|
@@ -5202,7 +5194,7 @@ var propTypes$6 = {
|
|
|
5202
5194
|
/**
|
|
5203
5195
|
* @displayName Dropdown
|
|
5204
5196
|
*/
|
|
5205
|
-
function Dropdown
|
|
5197
|
+
function Dropdown(_ref) {
|
|
5206
5198
|
var drop = _ref.drop,
|
|
5207
5199
|
alignEnd = _ref.alignEnd,
|
|
5208
5200
|
defaultShow = _ref.defaultShow,
|
|
@@ -5344,15 +5336,15 @@ function Dropdown$1(_ref) {
|
|
|
5344
5336
|
}));
|
|
5345
5337
|
}
|
|
5346
5338
|
|
|
5347
|
-
Dropdown
|
|
5348
|
-
Dropdown
|
|
5349
|
-
Dropdown
|
|
5350
|
-
Dropdown
|
|
5339
|
+
Dropdown.displayName = 'ReactOverlaysDropdown';
|
|
5340
|
+
Dropdown.propTypes = propTypes$4;
|
|
5341
|
+
Dropdown.Menu = DropdownMenu;
|
|
5342
|
+
Dropdown.Toggle = DropdownToggle;
|
|
5351
5343
|
|
|
5352
5344
|
var NavContext = React__default.createContext(null);
|
|
5353
5345
|
NavContext.displayName = 'NavContext';
|
|
5354
5346
|
|
|
5355
|
-
var defaultProps$
|
|
5347
|
+
var defaultProps$e = {
|
|
5356
5348
|
as: SafeAnchor,
|
|
5357
5349
|
disabled: false
|
|
5358
5350
|
};
|
|
@@ -5401,7 +5393,7 @@ var DropdownItem = React__default.forwardRef(function (_ref, ref) {
|
|
|
5401
5393
|
);
|
|
5402
5394
|
});
|
|
5403
5395
|
DropdownItem.displayName = 'DropdownItem';
|
|
5404
|
-
DropdownItem.defaultProps = defaultProps$
|
|
5396
|
+
DropdownItem.defaultProps = defaultProps$e;
|
|
5405
5397
|
|
|
5406
5398
|
var toFnRef = function toFnRef(ref) {
|
|
5407
5399
|
return !ref || typeof ref === 'function' ? ref : function (value) {
|
|
@@ -5440,8 +5432,8 @@ function useMergedRefs(refA, refB) {
|
|
|
5440
5432
|
}, [refA, refB]);
|
|
5441
5433
|
}
|
|
5442
5434
|
|
|
5443
|
-
var context = React__default.createContext(null);
|
|
5444
|
-
context.displayName = 'NavbarContext';
|
|
5435
|
+
var context$2 = React__default.createContext(null);
|
|
5436
|
+
context$2.displayName = 'NavbarContext';
|
|
5445
5437
|
|
|
5446
5438
|
function useWrappedRefWithWarning(ref, componentName) {
|
|
5447
5439
|
// @ts-ignore
|
|
@@ -5562,13 +5554,13 @@ var alignPropType = PropTypes.oneOfType([alignDirection, PropTypes.shape({
|
|
|
5562
5554
|
}), PropTypes.shape({
|
|
5563
5555
|
xl: alignDirection
|
|
5564
5556
|
})]);
|
|
5565
|
-
var defaultProps$
|
|
5557
|
+
var defaultProps$f = {
|
|
5566
5558
|
align: 'left',
|
|
5567
5559
|
alignRight: false,
|
|
5568
5560
|
flip: true
|
|
5569
5561
|
}; // TODO: remove this hack
|
|
5570
5562
|
|
|
5571
|
-
var DropdownMenu = React__default.forwardRef(function (_ref, ref) {
|
|
5563
|
+
var DropdownMenu$1 = React__default.forwardRef(function (_ref, ref) {
|
|
5572
5564
|
var bsPrefix = _ref.bsPrefix,
|
|
5573
5565
|
className = _ref.className,
|
|
5574
5566
|
align = _ref.align,
|
|
@@ -5582,7 +5574,7 @@ var DropdownMenu = React__default.forwardRef(function (_ref, ref) {
|
|
|
5582
5574
|
popperConfig = _ref.popperConfig,
|
|
5583
5575
|
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "className", "align", "alignRight", "rootCloseEvent", "flip", "show", "renderOnMount", "as", "popperConfig"]);
|
|
5584
5576
|
|
|
5585
|
-
var isNavbar = useContext(context);
|
|
5577
|
+
var isNavbar = useContext(context$2);
|
|
5586
5578
|
var prefix = useBootstrapPrefix(bsPrefix, 'dropdown-menu');
|
|
5587
5579
|
|
|
5588
5580
|
var _usePopperMarginModif = usePopperMarginModifiers(),
|
|
@@ -5647,8 +5639,8 @@ var DropdownMenu = React__default.forwardRef(function (_ref, ref) {
|
|
|
5647
5639
|
className: classnames.apply(void 0, [className, prefix, show && 'show', alignEnd && prefix + "-right"].concat(alignClasses))
|
|
5648
5640
|
}));
|
|
5649
5641
|
});
|
|
5650
|
-
DropdownMenu.displayName = 'DropdownMenu';
|
|
5651
|
-
DropdownMenu.defaultProps = defaultProps$
|
|
5642
|
+
DropdownMenu$1.displayName = 'DropdownMenu';
|
|
5643
|
+
DropdownMenu$1.defaultProps = defaultProps$f;
|
|
5652
5644
|
|
|
5653
5645
|
var isRequiredForA11y_1 = createCommonjsModule(function (module, exports) {
|
|
5654
5646
|
|
|
@@ -5677,7 +5669,7 @@ module.exports = exports['default'];
|
|
|
5677
5669
|
|
|
5678
5670
|
unwrapExports(isRequiredForA11y_1);
|
|
5679
5671
|
|
|
5680
|
-
var DropdownToggle = React__default.forwardRef(function (_ref, ref) {
|
|
5672
|
+
var DropdownToggle$1 = React__default.forwardRef(function (_ref, ref) {
|
|
5681
5673
|
var bsPrefix = _ref.bsPrefix,
|
|
5682
5674
|
split = _ref.split,
|
|
5683
5675
|
className = _ref.className,
|
|
@@ -5704,7 +5696,7 @@ var DropdownToggle = React__default.forwardRef(function (_ref, ref) {
|
|
|
5704
5696
|
className: classnames(className, prefix, split && prefix + "-split")
|
|
5705
5697
|
}, toggleProps, props));
|
|
5706
5698
|
});
|
|
5707
|
-
DropdownToggle.displayName = 'DropdownToggle';
|
|
5699
|
+
DropdownToggle$1.displayName = 'DropdownToggle';
|
|
5708
5700
|
|
|
5709
5701
|
var DropdownHeader = createWithBsPrefix('dropdown-header', {
|
|
5710
5702
|
defaultProps: {
|
|
@@ -5719,10 +5711,10 @@ var DropdownDivider = createWithBsPrefix('dropdown-divider', {
|
|
|
5719
5711
|
var DropdownItemText = createWithBsPrefix('dropdown-item-text', {
|
|
5720
5712
|
Component: 'span'
|
|
5721
5713
|
});
|
|
5722
|
-
var defaultProps$
|
|
5714
|
+
var defaultProps$g = {
|
|
5723
5715
|
navbar: false
|
|
5724
5716
|
};
|
|
5725
|
-
var Dropdown = React__default.forwardRef(function (pProps, ref) {
|
|
5717
|
+
var Dropdown$1 = React__default.forwardRef(function (pProps, ref) {
|
|
5726
5718
|
var _useUncontrolled = useUncontrolled(pProps, {
|
|
5727
5719
|
show: 'onToggle'
|
|
5728
5720
|
}),
|
|
@@ -5735,9 +5727,9 @@ var Dropdown = React__default.forwardRef(function (pProps, ref) {
|
|
|
5735
5727
|
onToggle = _useUncontrolled.onToggle,
|
|
5736
5728
|
focusFirstItemOnShow = _useUncontrolled.focusFirstItemOnShow,
|
|
5737
5729
|
_useUncontrolled$as = _useUncontrolled.as,
|
|
5738
|
-
Component = _useUncontrolled$as === void 0 ? 'div' : _useUncontrolled$as
|
|
5739
|
-
_useUncontrolled.navbar
|
|
5740
|
-
|
|
5730
|
+
Component = _useUncontrolled$as === void 0 ? 'div' : _useUncontrolled$as,
|
|
5731
|
+
_4 = _useUncontrolled.navbar,
|
|
5732
|
+
props = _objectWithoutPropertiesLoose(_useUncontrolled, ["bsPrefix", "drop", "show", "className", "alignRight", "onSelect", "onToggle", "focusFirstItemOnShow", "as", "navbar"]);
|
|
5741
5733
|
|
|
5742
5734
|
var onSelectCtx = useContext(SelectableContext);
|
|
5743
5735
|
var prefix = useBootstrapPrefix(bsPrefix, 'dropdown');
|
|
@@ -5761,7 +5753,7 @@ var Dropdown = React__default.forwardRef(function (pProps, ref) {
|
|
|
5761
5753
|
});
|
|
5762
5754
|
return /*#__PURE__*/React__default.createElement(SelectableContext.Provider, {
|
|
5763
5755
|
value: handleSelect
|
|
5764
|
-
}, /*#__PURE__*/React__default.createElement(Dropdown
|
|
5756
|
+
}, /*#__PURE__*/React__default.createElement(Dropdown, {
|
|
5765
5757
|
drop: drop,
|
|
5766
5758
|
show: show,
|
|
5767
5759
|
alignEnd: alignRight,
|
|
@@ -5776,14 +5768,14 @@ var Dropdown = React__default.forwardRef(function (pProps, ref) {
|
|
|
5776
5768
|
}));
|
|
5777
5769
|
}));
|
|
5778
5770
|
});
|
|
5779
|
-
Dropdown.displayName = 'Dropdown';
|
|
5780
|
-
Dropdown.defaultProps = defaultProps$
|
|
5781
|
-
Dropdown.Divider = DropdownDivider;
|
|
5782
|
-
Dropdown.Header = DropdownHeader;
|
|
5783
|
-
Dropdown.Item = DropdownItem;
|
|
5784
|
-
Dropdown.ItemText = DropdownItemText;
|
|
5785
|
-
Dropdown.Menu = DropdownMenu;
|
|
5786
|
-
Dropdown.Toggle = DropdownToggle;
|
|
5771
|
+
Dropdown$1.displayName = 'Dropdown';
|
|
5772
|
+
Dropdown$1.defaultProps = defaultProps$g;
|
|
5773
|
+
Dropdown$1.Divider = DropdownDivider;
|
|
5774
|
+
Dropdown$1.Header = DropdownHeader;
|
|
5775
|
+
Dropdown$1.Item = DropdownItem;
|
|
5776
|
+
Dropdown$1.ItemText = DropdownItemText;
|
|
5777
|
+
Dropdown$1.Menu = DropdownMenu$1;
|
|
5778
|
+
Dropdown$1.Toggle = DropdownToggle$1;
|
|
5787
5779
|
|
|
5788
5780
|
var propTypes$5 = {
|
|
5789
5781
|
/**
|
|
@@ -5860,16 +5852,16 @@ var DropdownButton = React__default.forwardRef(function (_ref, ref) {
|
|
|
5860
5852
|
id = _ref.id,
|
|
5861
5853
|
props = _objectWithoutPropertiesLoose(_ref, ["title", "children", "bsPrefix", "rootCloseEvent", "variant", "size", "menuAlign", "menuRole", "renderMenuOnMount", "disabled", "href", "id"]);
|
|
5862
5854
|
|
|
5863
|
-
return /*#__PURE__*/React__default.createElement(Dropdown, _extends({
|
|
5855
|
+
return /*#__PURE__*/React__default.createElement(Dropdown$1, _extends({
|
|
5864
5856
|
ref: ref
|
|
5865
|
-
}, props), /*#__PURE__*/React__default.createElement(DropdownToggle, {
|
|
5857
|
+
}, props), /*#__PURE__*/React__default.createElement(DropdownToggle$1, {
|
|
5866
5858
|
id: id,
|
|
5867
5859
|
href: href,
|
|
5868
5860
|
size: size,
|
|
5869
5861
|
variant: variant,
|
|
5870
5862
|
disabled: disabled,
|
|
5871
5863
|
childBsPrefix: bsPrefix
|
|
5872
|
-
}, title), /*#__PURE__*/React__default.createElement(DropdownMenu, {
|
|
5864
|
+
}, title), /*#__PURE__*/React__default.createElement(DropdownMenu$1, {
|
|
5873
5865
|
align: menuAlign,
|
|
5874
5866
|
role: menuRole,
|
|
5875
5867
|
renderOnMount: renderMenuOnMount,
|
|
@@ -5972,7 +5964,7 @@ module.exports = exports['default'];
|
|
|
5972
5964
|
|
|
5973
5965
|
unwrapExports(all_1);
|
|
5974
5966
|
|
|
5975
|
-
var propTypes$
|
|
5967
|
+
var propTypes$6 = {
|
|
5976
5968
|
/**
|
|
5977
5969
|
* Specify whether the feedback is for valid or invalid fields
|
|
5978
5970
|
*
|
|
@@ -6001,7 +5993,7 @@ function (_ref, ref) {
|
|
|
6001
5993
|
}));
|
|
6002
5994
|
});
|
|
6003
5995
|
Feedback.displayName = 'Feedback';
|
|
6004
|
-
Feedback.propTypes = propTypes$
|
|
5996
|
+
Feedback.propTypes = propTypes$6;
|
|
6005
5997
|
|
|
6006
5998
|
var FormContext = React__default.createContext({
|
|
6007
5999
|
controlId: undefined
|
|
@@ -6351,7 +6343,7 @@ var FormGroup = React__default.forwardRef(function (_ref, ref) {
|
|
|
6351
6343
|
});
|
|
6352
6344
|
FormGroup.displayName = 'FormGroup';
|
|
6353
6345
|
|
|
6354
|
-
var defaultProps$
|
|
6346
|
+
var defaultProps$h = {
|
|
6355
6347
|
column: false,
|
|
6356
6348
|
srOnly: false
|
|
6357
6349
|
};
|
|
@@ -6390,7 +6382,7 @@ var FormLabel = React__default.forwardRef(function (_ref, ref) {
|
|
|
6390
6382
|
);
|
|
6391
6383
|
});
|
|
6392
6384
|
FormLabel.displayName = 'FormLabel';
|
|
6393
|
-
FormLabel.defaultProps = defaultProps$
|
|
6385
|
+
FormLabel.defaultProps = defaultProps$h;
|
|
6394
6386
|
|
|
6395
6387
|
var FormText = React__default.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
6396
6388
|
function (_ref, ref) {
|
|
@@ -6420,7 +6412,7 @@ Switch.Input = FormCheck.Input;
|
|
|
6420
6412
|
Switch.Label = FormCheck.Label;
|
|
6421
6413
|
|
|
6422
6414
|
var FormRow = createWithBsPrefix('form-row');
|
|
6423
|
-
var defaultProps$
|
|
6415
|
+
var defaultProps$i = {
|
|
6424
6416
|
inline: false
|
|
6425
6417
|
};
|
|
6426
6418
|
var FormImpl = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -6439,7 +6431,7 @@ var FormImpl = React__default.forwardRef(function (_ref, ref) {
|
|
|
6439
6431
|
}));
|
|
6440
6432
|
});
|
|
6441
6433
|
FormImpl.displayName = 'Form';
|
|
6442
|
-
FormImpl.defaultProps = defaultProps$
|
|
6434
|
+
FormImpl.defaultProps = defaultProps$i;
|
|
6443
6435
|
FormImpl.Row = FormRow;
|
|
6444
6436
|
FormImpl.Group = FormGroup;
|
|
6445
6437
|
FormImpl.Control = FormControl$1;
|
|
@@ -6449,7 +6441,7 @@ FormImpl.Switch = Switch;
|
|
|
6449
6441
|
FormImpl.Label = FormLabel;
|
|
6450
6442
|
FormImpl.Text = FormText;
|
|
6451
6443
|
|
|
6452
|
-
var defaultProps$
|
|
6444
|
+
var defaultProps$j = {
|
|
6453
6445
|
fluid: false
|
|
6454
6446
|
};
|
|
6455
6447
|
var Container = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -6469,9 +6461,9 @@ var Container = React__default.forwardRef(function (_ref, ref) {
|
|
|
6469
6461
|
}));
|
|
6470
6462
|
});
|
|
6471
6463
|
Container.displayName = 'Container';
|
|
6472
|
-
Container.defaultProps = defaultProps$
|
|
6464
|
+
Container.defaultProps = defaultProps$j;
|
|
6473
6465
|
|
|
6474
|
-
var propTypes$
|
|
6466
|
+
var propTypes$7 = {
|
|
6475
6467
|
/**
|
|
6476
6468
|
* @default 'img'
|
|
6477
6469
|
*/
|
|
@@ -6524,7 +6516,7 @@ var Image = React__default.forwardRef(function (_ref, ref) {
|
|
|
6524
6516
|
Image.displayName = 'Image';
|
|
6525
6517
|
Image.defaultProps = defaultProps$k;
|
|
6526
6518
|
|
|
6527
|
-
var defaultProps$
|
|
6519
|
+
var defaultProps$l = {
|
|
6528
6520
|
fluid: true
|
|
6529
6521
|
};
|
|
6530
6522
|
var FigureImage = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -6538,8 +6530,8 @@ var FigureImage = React__default.forwardRef(function (_ref, ref) {
|
|
|
6538
6530
|
}));
|
|
6539
6531
|
});
|
|
6540
6532
|
FigureImage.displayName = 'FigureImage';
|
|
6541
|
-
FigureImage.propTypes = propTypes$
|
|
6542
|
-
FigureImage.defaultProps = defaultProps$
|
|
6533
|
+
FigureImage.propTypes = propTypes$7;
|
|
6534
|
+
FigureImage.defaultProps = defaultProps$l;
|
|
6543
6535
|
|
|
6544
6536
|
var FigureCaption = createWithBsPrefix('figure-caption', {
|
|
6545
6537
|
Component: 'figcaption'
|
|
@@ -6594,7 +6586,7 @@ var InputGroup = React__default.forwardRef(function (_ref, ref) {
|
|
|
6594
6586
|
});
|
|
6595
6587
|
InputGroup.displayName = 'InputGroup';
|
|
6596
6588
|
|
|
6597
|
-
_extends({}, InputGroup, {
|
|
6589
|
+
var InputGroupWithExtras = _extends({}, InputGroup, {
|
|
6598
6590
|
Text: InputGroupText,
|
|
6599
6591
|
Radio: InputGroupRadio,
|
|
6600
6592
|
Checkbox: InputGroupCheckbox,
|
|
@@ -6602,7 +6594,7 @@ _extends({}, InputGroup, {
|
|
|
6602
6594
|
Prepend: InputGroupPrepend
|
|
6603
6595
|
});
|
|
6604
6596
|
|
|
6605
|
-
var defaultProps$
|
|
6597
|
+
var defaultProps$m = {
|
|
6606
6598
|
fluid: false
|
|
6607
6599
|
};
|
|
6608
6600
|
var Jumbotron = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -6623,13 +6615,13 @@ var Jumbotron = React__default.forwardRef(function (_ref, ref) {
|
|
|
6623
6615
|
className: classnames(className, classes)
|
|
6624
6616
|
}));
|
|
6625
6617
|
});
|
|
6626
|
-
Jumbotron.defaultProps = defaultProps$
|
|
6618
|
+
Jumbotron.defaultProps = defaultProps$m;
|
|
6627
6619
|
Jumbotron.displayName = 'Jumbotron';
|
|
6628
6620
|
|
|
6629
6621
|
var TabContext = React__default.createContext(null);
|
|
6630
6622
|
|
|
6631
6623
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
6632
|
-
var noop$
|
|
6624
|
+
var noop$4 = function noop() {};
|
|
6633
6625
|
|
|
6634
6626
|
var AbstractNav = React__default.forwardRef(function (_ref, ref) {
|
|
6635
6627
|
var _ref$as = _ref.as,
|
|
@@ -6719,8 +6711,8 @@ var AbstractNav = React__default.forwardRef(function (_ref, ref) {
|
|
|
6719
6711
|
role: role,
|
|
6720
6712
|
// used by NavLink to determine it's role
|
|
6721
6713
|
activeKey: makeEventKey(activeKey),
|
|
6722
|
-
getControlledId: getControlledId || noop$
|
|
6723
|
-
getControllerId: getControllerId || noop$
|
|
6714
|
+
getControlledId: getControlledId || noop$4,
|
|
6715
|
+
getControllerId: getControllerId || noop$4
|
|
6724
6716
|
}
|
|
6725
6717
|
}, /*#__PURE__*/React__default.createElement(Component, _extends({}, props, {
|
|
6726
6718
|
onKeyDown: handleKeyDown,
|
|
@@ -6729,7 +6721,7 @@ var AbstractNav = React__default.forwardRef(function (_ref, ref) {
|
|
|
6729
6721
|
}))));
|
|
6730
6722
|
});
|
|
6731
6723
|
|
|
6732
|
-
var defaultProps$
|
|
6724
|
+
var defaultProps$n = {
|
|
6733
6725
|
disabled: false
|
|
6734
6726
|
};
|
|
6735
6727
|
var AbstractNavItem = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -6775,9 +6767,9 @@ var AbstractNavItem = React__default.forwardRef(function (_ref, ref) {
|
|
|
6775
6767
|
className: classnames(className, isActive && 'active')
|
|
6776
6768
|
}));
|
|
6777
6769
|
});
|
|
6778
|
-
AbstractNavItem.defaultProps = defaultProps$
|
|
6770
|
+
AbstractNavItem.defaultProps = defaultProps$n;
|
|
6779
6771
|
|
|
6780
|
-
var defaultProps$
|
|
6772
|
+
var defaultProps$o = {
|
|
6781
6773
|
variant: undefined,
|
|
6782
6774
|
active: false,
|
|
6783
6775
|
disabled: false
|
|
@@ -6815,10 +6807,10 @@ var ListGroupItem = React__default.forwardRef(function (_ref, ref) {
|
|
|
6815
6807
|
className: classnames(className, bsPrefix, active && 'active', disabled && 'disabled', variant && bsPrefix + "-" + variant, action && bsPrefix + "-action")
|
|
6816
6808
|
}));
|
|
6817
6809
|
});
|
|
6818
|
-
ListGroupItem.defaultProps = defaultProps$
|
|
6810
|
+
ListGroupItem.defaultProps = defaultProps$o;
|
|
6819
6811
|
ListGroupItem.displayName = 'ListGroupItem';
|
|
6820
6812
|
|
|
6821
|
-
var defaultProps$
|
|
6813
|
+
var defaultProps$p = {
|
|
6822
6814
|
variant: undefined,
|
|
6823
6815
|
horizontal: undefined
|
|
6824
6816
|
};
|
|
@@ -6851,7 +6843,7 @@ var ListGroup = React__default.forwardRef(function (props, ref) {
|
|
|
6851
6843
|
className: classnames(className, bsPrefix, variant && bsPrefix + "-" + variant, horizontalVariant && bsPrefix + "-" + horizontalVariant)
|
|
6852
6844
|
}));
|
|
6853
6845
|
});
|
|
6854
|
-
ListGroup.defaultProps = defaultProps$
|
|
6846
|
+
ListGroup.defaultProps = defaultProps$p;
|
|
6855
6847
|
ListGroup.displayName = 'ListGroup';
|
|
6856
6848
|
ListGroup.Item = ListGroupItem;
|
|
6857
6849
|
|
|
@@ -6900,7 +6892,7 @@ function scrollbarSize(recalc) {
|
|
|
6900
6892
|
|
|
6901
6893
|
function activeElement(doc) {
|
|
6902
6894
|
if (doc === void 0) {
|
|
6903
|
-
doc = ownerDocument
|
|
6895
|
+
doc = ownerDocument();
|
|
6904
6896
|
}
|
|
6905
6897
|
|
|
6906
6898
|
// Support: IE 9 only
|
|
@@ -6950,7 +6942,7 @@ function isBody(node) {
|
|
|
6950
6942
|
}
|
|
6951
6943
|
|
|
6952
6944
|
function bodyIsOverflowing(node) {
|
|
6953
|
-
var doc = isWindow(node) ? ownerDocument
|
|
6945
|
+
var doc = isWindow(node) ? ownerDocument() : ownerDocument(node);
|
|
6954
6946
|
var win = isWindow(node) || doc.defaultView;
|
|
6955
6947
|
return doc.body.clientWidth < win.innerWidth;
|
|
6956
6948
|
}
|
|
@@ -7162,7 +7154,7 @@ var resolveContainerRef = function resolveContainerRef(ref) {
|
|
|
7162
7154
|
var _ref;
|
|
7163
7155
|
|
|
7164
7156
|
if (typeof document === 'undefined') return null;
|
|
7165
|
-
if (ref == null) return ownerDocument
|
|
7157
|
+
if (ref == null) return ownerDocument().body;
|
|
7166
7158
|
if (typeof ref === 'function') ref = ref();
|
|
7167
7159
|
if (ref && 'current' in ref) ref = ref.current;
|
|
7168
7160
|
if ((_ref = ref) == null ? void 0 : _ref.nodeType) return ref || null;
|
|
@@ -7195,11 +7187,11 @@ function useWaitForDOMRef(ref, onResolved) {
|
|
|
7195
7187
|
return resolvedRef;
|
|
7196
7188
|
}
|
|
7197
7189
|
|
|
7198
|
-
var manager
|
|
7190
|
+
var manager;
|
|
7199
7191
|
|
|
7200
7192
|
function getManager() {
|
|
7201
|
-
if (!manager
|
|
7202
|
-
return manager
|
|
7193
|
+
if (!manager) manager = new ModalManager();
|
|
7194
|
+
return manager;
|
|
7203
7195
|
}
|
|
7204
7196
|
|
|
7205
7197
|
function useModalManager(provided) {
|
|
@@ -7227,7 +7219,7 @@ function useModalManager(provided) {
|
|
|
7227
7219
|
});
|
|
7228
7220
|
}
|
|
7229
7221
|
|
|
7230
|
-
var Modal
|
|
7222
|
+
var Modal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
7231
7223
|
var _ref$show = _ref.show,
|
|
7232
7224
|
show = _ref$show === void 0 ? false : _ref$show,
|
|
7233
7225
|
_ref$role = _ref.role,
|
|
@@ -7267,7 +7259,7 @@ var Modal$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
7267
7259
|
onEnter = _ref.onEnter,
|
|
7268
7260
|
onEntering = _ref.onEntering,
|
|
7269
7261
|
onEntered = _ref.onEntered,
|
|
7270
|
-
rest = _objectWithoutPropertiesLoose(_ref, ["show", "role", "className", "style", "children", "backdrop", "keyboard", "onBackdropClick", "onEscapeKeyDown", "transition", "backdropTransition", "autoFocus", "enforceFocus", "restoreFocus", "restoreFocusOptions", "renderDialog", "renderBackdrop", "manager", "container", "containerClassName", "onShow", "onHide", "onExit", "onExited", "onExiting", "onEnter", "onEntering", "onEntered"]);
|
|
7262
|
+
rest = _objectWithoutPropertiesLoose$1(_ref, ["show", "role", "className", "style", "children", "backdrop", "keyboard", "onBackdropClick", "onEscapeKeyDown", "transition", "backdropTransition", "autoFocus", "enforceFocus", "restoreFocus", "restoreFocusOptions", "renderDialog", "renderBackdrop", "manager", "container", "containerClassName", "onShow", "onHide", "onExit", "onExited", "onExiting", "onEnter", "onEntering", "onEntered"]);
|
|
7271
7263
|
|
|
7272
7264
|
var container = useWaitForDOMRef(containerRef);
|
|
7273
7265
|
var modal = useModalManager(providedManager);
|
|
@@ -7311,7 +7303,7 @@ var Modal$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
7311
7303
|
if (autoFocus) {
|
|
7312
7304
|
var currentActiveElement = activeElement(document);
|
|
7313
7305
|
|
|
7314
|
-
if (modal.dialog && currentActiveElement && !contains(modal.dialog, currentActiveElement)) {
|
|
7306
|
+
if (modal.dialog && currentActiveElement && !contains$1(modal.dialog, currentActiveElement)) {
|
|
7315
7307
|
lastFocusRef.current = currentActiveElement;
|
|
7316
7308
|
modal.dialog.focus();
|
|
7317
7309
|
}
|
|
@@ -7357,7 +7349,7 @@ var Modal$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
7357
7349
|
|
|
7358
7350
|
var currentActiveElement = activeElement();
|
|
7359
7351
|
|
|
7360
|
-
if (modal.dialog && currentActiveElement && !contains(modal.dialog, currentActiveElement)) {
|
|
7352
|
+
if (modal.dialog && currentActiveElement && !contains$1(modal.dialog, currentActiveElement)) {
|
|
7361
7353
|
modal.dialog.focus();
|
|
7362
7354
|
}
|
|
7363
7355
|
});
|
|
@@ -7400,7 +7392,7 @@ var Modal$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
7400
7392
|
return null;
|
|
7401
7393
|
}
|
|
7402
7394
|
|
|
7403
|
-
var dialogProps = _extends({
|
|
7395
|
+
var dialogProps = _extends$1({
|
|
7404
7396
|
role: role,
|
|
7405
7397
|
ref: modal.setDialogRef,
|
|
7406
7398
|
// apparently only works on the dialog role element
|
|
@@ -7448,7 +7440,7 @@ var Modal$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
7448
7440
|
|
|
7449
7441
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React__default.createElement(React__default.Fragment, null, backdropElement, dialog), container));
|
|
7450
7442
|
});
|
|
7451
|
-
var propTypes$
|
|
7443
|
+
var propTypes$8 = {
|
|
7452
7444
|
/**
|
|
7453
7445
|
* Set the visibility of the Modal
|
|
7454
7446
|
*/
|
|
@@ -7604,9 +7596,9 @@ var propTypes$2 = {
|
|
|
7604
7596
|
*/
|
|
7605
7597
|
manager: PropTypes.instanceOf(ModalManager)
|
|
7606
7598
|
};
|
|
7607
|
-
Modal
|
|
7608
|
-
Modal
|
|
7609
|
-
var BaseModal = Object.assign(Modal
|
|
7599
|
+
Modal.displayName = 'Modal';
|
|
7600
|
+
Modal.propTypes = propTypes$8;
|
|
7601
|
+
var BaseModal = Object.assign(Modal, {
|
|
7610
7602
|
Manager: ModalManager
|
|
7611
7603
|
});
|
|
7612
7604
|
|
|
@@ -7713,7 +7705,7 @@ ModalDialog.displayName = 'ModalDialog';
|
|
|
7713
7705
|
|
|
7714
7706
|
var ModalFooter = createWithBsPrefix('modal-footer');
|
|
7715
7707
|
|
|
7716
|
-
var defaultProps$
|
|
7708
|
+
var defaultProps$q = {
|
|
7717
7709
|
closeLabel: 'Close',
|
|
7718
7710
|
closeButton: false
|
|
7719
7711
|
};
|
|
@@ -7742,15 +7734,15 @@ var ModalHeader = React__default.forwardRef(function (_ref, ref) {
|
|
|
7742
7734
|
}));
|
|
7743
7735
|
});
|
|
7744
7736
|
ModalHeader.displayName = 'ModalHeader';
|
|
7745
|
-
ModalHeader.defaultProps = defaultProps$
|
|
7737
|
+
ModalHeader.defaultProps = defaultProps$q;
|
|
7746
7738
|
|
|
7747
|
-
var DivStyledAsH4 = divWithClassName('h4');
|
|
7739
|
+
var DivStyledAsH4$1 = divWithClassName('h4');
|
|
7748
7740
|
var ModalTitle = createWithBsPrefix('modal-title', {
|
|
7749
|
-
Component: DivStyledAsH4
|
|
7741
|
+
Component: DivStyledAsH4$1
|
|
7750
7742
|
});
|
|
7751
7743
|
|
|
7752
|
-
var manager;
|
|
7753
|
-
var defaultProps$
|
|
7744
|
+
var manager$1;
|
|
7745
|
+
var defaultProps$r = {
|
|
7754
7746
|
show: false,
|
|
7755
7747
|
backdrop: true,
|
|
7756
7748
|
keyboard: true,
|
|
@@ -7772,7 +7764,7 @@ function BackdropTransition(props) {
|
|
|
7772
7764
|
/* eslint-enable no-use-before-define */
|
|
7773
7765
|
|
|
7774
7766
|
|
|
7775
|
-
var Modal = React__default.forwardRef(function (_ref, ref) {
|
|
7767
|
+
var Modal$1 = React__default.forwardRef(function (_ref, ref) {
|
|
7776
7768
|
var bsPrefix = _ref.bsPrefix,
|
|
7777
7769
|
className = _ref.className,
|
|
7778
7770
|
style = _ref.style,
|
|
@@ -7838,14 +7830,14 @@ var Modal = React__default.forwardRef(function (_ref, ref) {
|
|
|
7838
7830
|
|
|
7839
7831
|
function getModalManager() {
|
|
7840
7832
|
if (propsManager) return propsManager;
|
|
7841
|
-
if (!manager) manager = new BootstrapModalManager();
|
|
7842
|
-
return manager;
|
|
7833
|
+
if (!manager$1) manager$1 = new BootstrapModalManager();
|
|
7834
|
+
return manager$1;
|
|
7843
7835
|
}
|
|
7844
7836
|
|
|
7845
7837
|
function updateDialogStyle(node) {
|
|
7846
7838
|
if (!canUseDOM) return;
|
|
7847
7839
|
var containerIsOverflowing = getModalManager().isContainerOverflowing(modal);
|
|
7848
|
-
var modalIsOverflowing = node.scrollHeight > ownerDocument
|
|
7840
|
+
var modalIsOverflowing = node.scrollHeight > ownerDocument(node).documentElement.clientHeight;
|
|
7849
7841
|
setStyle({
|
|
7850
7842
|
paddingRight: containerIsOverflowing && !modalIsOverflowing ? scrollbarSize() : undefined,
|
|
7851
7843
|
paddingLeft: !containerIsOverflowing && modalIsOverflowing ? scrollbarSize() : undefined
|
|
@@ -8026,15 +8018,15 @@ var Modal = React__default.forwardRef(function (_ref, ref) {
|
|
|
8026
8018
|
renderDialog: renderDialog
|
|
8027
8019
|
}));
|
|
8028
8020
|
});
|
|
8029
|
-
Modal.displayName = 'Modal';
|
|
8030
|
-
Modal.defaultProps = defaultProps$
|
|
8031
|
-
Modal.Body = ModalBody;
|
|
8032
|
-
Modal.Header = ModalHeader;
|
|
8033
|
-
Modal.Title = ModalTitle;
|
|
8034
|
-
Modal.Footer = ModalFooter;
|
|
8035
|
-
Modal.Dialog = ModalDialog;
|
|
8036
|
-
Modal.TRANSITION_DURATION = 300;
|
|
8037
|
-
Modal.BACKDROP_TRANSITION_DURATION = 150;
|
|
8021
|
+
Modal$1.displayName = 'Modal';
|
|
8022
|
+
Modal$1.defaultProps = defaultProps$r;
|
|
8023
|
+
Modal$1.Body = ModalBody;
|
|
8024
|
+
Modal$1.Header = ModalHeader;
|
|
8025
|
+
Modal$1.Title = ModalTitle;
|
|
8026
|
+
Modal$1.Footer = ModalFooter;
|
|
8027
|
+
Modal$1.Dialog = ModalDialog;
|
|
8028
|
+
Modal$1.TRANSITION_DURATION = 300;
|
|
8029
|
+
Modal$1.BACKDROP_TRANSITION_DURATION = 150;
|
|
8038
8030
|
|
|
8039
8031
|
var NavItem = React__default.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
8040
8032
|
function (_ref, ref) {
|
|
@@ -8053,7 +8045,7 @@ function (_ref, ref) {
|
|
|
8053
8045
|
});
|
|
8054
8046
|
NavItem.displayName = 'NavItem';
|
|
8055
8047
|
|
|
8056
|
-
var defaultProps$
|
|
8048
|
+
var defaultProps$s = {
|
|
8057
8049
|
disabled: false,
|
|
8058
8050
|
as: SafeAnchor
|
|
8059
8051
|
};
|
|
@@ -8079,9 +8071,9 @@ var NavLink = React__default.forwardRef(function (_ref, ref) {
|
|
|
8079
8071
|
}));
|
|
8080
8072
|
});
|
|
8081
8073
|
NavLink.displayName = 'NavLink';
|
|
8082
|
-
NavLink.defaultProps = defaultProps$
|
|
8074
|
+
NavLink.defaultProps = defaultProps$s;
|
|
8083
8075
|
|
|
8084
|
-
var defaultProps$
|
|
8076
|
+
var defaultProps$t = {
|
|
8085
8077
|
justify: false,
|
|
8086
8078
|
fill: false
|
|
8087
8079
|
};
|
|
@@ -8107,7 +8099,7 @@ var Nav = React__default.forwardRef(function (uncontrolledProps, ref) {
|
|
|
8107
8099
|
var navbarBsPrefix;
|
|
8108
8100
|
var cardHeaderBsPrefix;
|
|
8109
8101
|
var isNavbar = false;
|
|
8110
|
-
var navbarContext = useContext(context);
|
|
8102
|
+
var navbarContext = useContext(context$2);
|
|
8111
8103
|
var cardContext = useContext(context$1);
|
|
8112
8104
|
|
|
8113
8105
|
if (navbarContext) {
|
|
@@ -8125,7 +8117,7 @@ var Nav = React__default.forwardRef(function (uncontrolledProps, ref) {
|
|
|
8125
8117
|
}, props), children);
|
|
8126
8118
|
});
|
|
8127
8119
|
Nav.displayName = 'Nav';
|
|
8128
|
-
Nav.defaultProps = defaultProps$
|
|
8120
|
+
Nav.defaultProps = defaultProps$t;
|
|
8129
8121
|
Nav.Item = NavItem;
|
|
8130
8122
|
Nav.Link = NavLink;
|
|
8131
8123
|
|
|
@@ -8150,7 +8142,7 @@ var NavbarCollapse = React__default.forwardRef(function (_ref, ref) {
|
|
|
8150
8142
|
props = _objectWithoutPropertiesLoose(_ref, ["children", "bsPrefix"]);
|
|
8151
8143
|
|
|
8152
8144
|
bsPrefix = useBootstrapPrefix(bsPrefix, 'navbar-collapse');
|
|
8153
|
-
return /*#__PURE__*/React__default.createElement(context.Consumer, null, function (context) {
|
|
8145
|
+
return /*#__PURE__*/React__default.createElement(context$2.Consumer, null, function (context) {
|
|
8154
8146
|
return /*#__PURE__*/React__default.createElement(Collapse, _extends({
|
|
8155
8147
|
in: !!(context && context.expanded)
|
|
8156
8148
|
}, props), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -8161,7 +8153,7 @@ var NavbarCollapse = React__default.forwardRef(function (_ref, ref) {
|
|
|
8161
8153
|
});
|
|
8162
8154
|
NavbarCollapse.displayName = 'NavbarCollapse';
|
|
8163
8155
|
|
|
8164
|
-
var defaultProps$
|
|
8156
|
+
var defaultProps$u = {
|
|
8165
8157
|
label: 'Toggle navigation'
|
|
8166
8158
|
};
|
|
8167
8159
|
var NavbarToggle = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -8176,7 +8168,7 @@ var NavbarToggle = React__default.forwardRef(function (_ref, ref) {
|
|
|
8176
8168
|
|
|
8177
8169
|
bsPrefix = useBootstrapPrefix(bsPrefix, 'navbar-toggler');
|
|
8178
8170
|
|
|
8179
|
-
var _ref2 = useContext(context) || {},
|
|
8171
|
+
var _ref2 = useContext(context$2) || {},
|
|
8180
8172
|
onToggle = _ref2.onToggle,
|
|
8181
8173
|
expanded = _ref2.expanded;
|
|
8182
8174
|
|
|
@@ -8199,12 +8191,12 @@ var NavbarToggle = React__default.forwardRef(function (_ref, ref) {
|
|
|
8199
8191
|
}));
|
|
8200
8192
|
});
|
|
8201
8193
|
NavbarToggle.displayName = 'NavbarToggle';
|
|
8202
|
-
NavbarToggle.defaultProps = defaultProps$
|
|
8194
|
+
NavbarToggle.defaultProps = defaultProps$u;
|
|
8203
8195
|
|
|
8204
8196
|
var NavbarText = createWithBsPrefix('navbar-text', {
|
|
8205
8197
|
Component: 'span'
|
|
8206
8198
|
});
|
|
8207
|
-
var defaultProps$
|
|
8199
|
+
var defaultProps$v = {
|
|
8208
8200
|
expand: true,
|
|
8209
8201
|
variant: 'light',
|
|
8210
8202
|
collapseOnSelect: false
|
|
@@ -8257,7 +8249,7 @@ var Navbar = React__default.forwardRef(function (props, ref) {
|
|
|
8257
8249
|
expanded: !!expanded
|
|
8258
8250
|
};
|
|
8259
8251
|
}, [bsPrefix, expanded, _onToggle]);
|
|
8260
|
-
return /*#__PURE__*/React__default.createElement(context.Provider, {
|
|
8252
|
+
return /*#__PURE__*/React__default.createElement(context$2.Provider, {
|
|
8261
8253
|
value: navbarContext
|
|
8262
8254
|
}, /*#__PURE__*/React__default.createElement(SelectableContext.Provider, {
|
|
8263
8255
|
value: handleCollapse
|
|
@@ -8267,14 +8259,14 @@ var Navbar = React__default.forwardRef(function (props, ref) {
|
|
|
8267
8259
|
className: classnames(className, bsPrefix, expand && expandClass, variant && bsPrefix + "-" + variant, bg && "bg-" + bg, sticky && "sticky-" + sticky, fixed && "fixed-" + fixed)
|
|
8268
8260
|
}), children)));
|
|
8269
8261
|
});
|
|
8270
|
-
Navbar.defaultProps = defaultProps$
|
|
8262
|
+
Navbar.defaultProps = defaultProps$v;
|
|
8271
8263
|
Navbar.displayName = 'Navbar';
|
|
8272
8264
|
Navbar.Brand = NavbarBrand;
|
|
8273
8265
|
Navbar.Toggle = NavbarToggle;
|
|
8274
8266
|
Navbar.Collapse = NavbarCollapse;
|
|
8275
8267
|
Navbar.Text = NavbarText;
|
|
8276
8268
|
|
|
8277
|
-
var propTypes$
|
|
8269
|
+
var propTypes$9 = {
|
|
8278
8270
|
/**
|
|
8279
8271
|
* An html id attribute for the Toggle button, necessary for assistive technologies, such as screen readers.
|
|
8280
8272
|
* @type {string|number}
|
|
@@ -8322,29 +8314,29 @@ var NavDropdown = React__default.forwardRef(function (_ref, ref) {
|
|
|
8322
8314
|
renderMenuOnMount = _ref.renderMenuOnMount,
|
|
8323
8315
|
props = _objectWithoutPropertiesLoose(_ref, ["id", "title", "children", "bsPrefix", "rootCloseEvent", "menuRole", "disabled", "active", "renderMenuOnMount"]);
|
|
8324
8316
|
|
|
8325
|
-
return /*#__PURE__*/React__default.createElement(Dropdown, _extends({
|
|
8317
|
+
return /*#__PURE__*/React__default.createElement(Dropdown$1, _extends({
|
|
8326
8318
|
ref: ref
|
|
8327
8319
|
}, props, {
|
|
8328
8320
|
as: NavItem
|
|
8329
|
-
}), /*#__PURE__*/React__default.createElement(Dropdown.Toggle, {
|
|
8321
|
+
}), /*#__PURE__*/React__default.createElement(Dropdown$1.Toggle, {
|
|
8330
8322
|
id: id,
|
|
8331
8323
|
eventKey: null,
|
|
8332
8324
|
active: active,
|
|
8333
8325
|
disabled: disabled,
|
|
8334
8326
|
childBsPrefix: bsPrefix,
|
|
8335
8327
|
as: NavLink
|
|
8336
|
-
}, title), /*#__PURE__*/React__default.createElement(Dropdown.Menu, {
|
|
8328
|
+
}, title), /*#__PURE__*/React__default.createElement(Dropdown$1.Menu, {
|
|
8337
8329
|
role: menuRole,
|
|
8338
8330
|
renderOnMount: renderMenuOnMount,
|
|
8339
8331
|
rootCloseEvent: rootCloseEvent
|
|
8340
8332
|
}, children));
|
|
8341
8333
|
});
|
|
8342
8334
|
NavDropdown.displayName = 'NavDropdown';
|
|
8343
|
-
NavDropdown.propTypes = propTypes$
|
|
8344
|
-
NavDropdown.Item = Dropdown.Item;
|
|
8345
|
-
NavDropdown.ItemText = Dropdown.ItemText;
|
|
8346
|
-
NavDropdown.Divider = Dropdown.Divider;
|
|
8347
|
-
NavDropdown.Header = Dropdown.Header;
|
|
8335
|
+
NavDropdown.propTypes = propTypes$9;
|
|
8336
|
+
NavDropdown.Item = Dropdown$1.Item;
|
|
8337
|
+
NavDropdown.ItemText = Dropdown$1.ItemText;
|
|
8338
|
+
NavDropdown.Divider = Dropdown$1.Divider;
|
|
8339
|
+
NavDropdown.Header = Dropdown$1.Header;
|
|
8348
8340
|
|
|
8349
8341
|
/**
|
|
8350
8342
|
* Built on top of `Popper.js`, the overlay component is
|
|
@@ -8387,7 +8379,7 @@ var Overlay = /*#__PURE__*/React__default.forwardRef(function (props, outerRef)
|
|
|
8387
8379
|
})),
|
|
8388
8380
|
styles = _usePopper.styles,
|
|
8389
8381
|
attributes = _usePopper.attributes,
|
|
8390
|
-
popper = _objectWithoutPropertiesLoose(_usePopper, ["styles", "attributes"]);
|
|
8382
|
+
popper = _objectWithoutPropertiesLoose$1(_usePopper, ["styles", "attributes"]);
|
|
8391
8383
|
|
|
8392
8384
|
if (props.show) {
|
|
8393
8385
|
if (exited) setExited(false);
|
|
@@ -8415,13 +8407,13 @@ var Overlay = /*#__PURE__*/React__default.forwardRef(function (props, outerRef)
|
|
|
8415
8407
|
return null;
|
|
8416
8408
|
}
|
|
8417
8409
|
|
|
8418
|
-
var child = props.children(_extends({}, popper, {
|
|
8410
|
+
var child = props.children(_extends$1({}, popper, {
|
|
8419
8411
|
show: !!props.show,
|
|
8420
|
-
props: _extends({}, attributes.popper, {
|
|
8412
|
+
props: _extends$1({}, attributes.popper, {
|
|
8421
8413
|
style: styles.popper,
|
|
8422
8414
|
ref: mergedRef
|
|
8423
8415
|
}),
|
|
8424
|
-
arrowProps: _extends({}, attributes.arrow, {
|
|
8416
|
+
arrowProps: _extends$1({}, attributes.arrow, {
|
|
8425
8417
|
style: styles.arrow,
|
|
8426
8418
|
ref: attachArrowRef
|
|
8427
8419
|
})
|
|
@@ -8585,7 +8577,7 @@ Overlay.propTypes = {
|
|
|
8585
8577
|
onExited: PropTypes.func
|
|
8586
8578
|
};
|
|
8587
8579
|
|
|
8588
|
-
/*#__PURE__*/
|
|
8580
|
+
var RefHolder = /*#__PURE__*/function (_React$Component) {
|
|
8589
8581
|
_inheritsLoose(RefHolder, _React$Component);
|
|
8590
8582
|
|
|
8591
8583
|
function RefHolder() {
|
|
@@ -8599,9 +8591,9 @@ Overlay.propTypes = {
|
|
|
8599
8591
|
};
|
|
8600
8592
|
|
|
8601
8593
|
return RefHolder;
|
|
8602
|
-
}
|
|
8594
|
+
}(React__default.Component);
|
|
8603
8595
|
|
|
8604
|
-
var defaultProps$
|
|
8596
|
+
var defaultProps$w = {
|
|
8605
8597
|
active: false,
|
|
8606
8598
|
disabled: false,
|
|
8607
8599
|
activeLabel: '(current)'
|
|
@@ -8630,7 +8622,7 @@ var PageItem = React__default.forwardRef(function (_ref, ref) {
|
|
|
8630
8622
|
className: "sr-only"
|
|
8631
8623
|
}, activeLabel)));
|
|
8632
8624
|
});
|
|
8633
|
-
PageItem.defaultProps = defaultProps$
|
|
8625
|
+
PageItem.defaultProps = defaultProps$w;
|
|
8634
8626
|
PageItem.displayName = 'PageItem';
|
|
8635
8627
|
|
|
8636
8628
|
function createButton(name, defaultValue, label) {
|
|
@@ -8720,7 +8712,7 @@ var PopoverContent = React__default.forwardRef(function (_ref, ref) {
|
|
|
8720
8712
|
}), children);
|
|
8721
8713
|
});
|
|
8722
8714
|
|
|
8723
|
-
var defaultProps$
|
|
8715
|
+
var defaultProps$x = {
|
|
8724
8716
|
placement: 'right'
|
|
8725
8717
|
};
|
|
8726
8718
|
var Popover = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -8730,10 +8722,10 @@ var Popover = React__default.forwardRef(function (_ref, ref) {
|
|
|
8730
8722
|
style = _ref.style,
|
|
8731
8723
|
children = _ref.children,
|
|
8732
8724
|
content = _ref.content,
|
|
8733
|
-
arrowProps = _ref.arrowProps
|
|
8734
|
-
_ref.popper
|
|
8735
|
-
_ref.show
|
|
8736
|
-
|
|
8725
|
+
arrowProps = _ref.arrowProps,
|
|
8726
|
+
_ = _ref.popper,
|
|
8727
|
+
_1 = _ref.show,
|
|
8728
|
+
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "placement", "className", "style", "children", "content", "arrowProps", "popper", "show"]);
|
|
8737
8729
|
|
|
8738
8730
|
var decoratedBsPrefix = useBootstrapPrefix(bsPrefix, 'popover');
|
|
8739
8731
|
|
|
@@ -8750,13 +8742,13 @@ var Popover = React__default.forwardRef(function (_ref, ref) {
|
|
|
8750
8742
|
className: "arrow"
|
|
8751
8743
|
}, arrowProps)), content ? /*#__PURE__*/React__default.createElement(PopoverContent, null, children) : children);
|
|
8752
8744
|
});
|
|
8753
|
-
Popover.defaultProps = defaultProps$
|
|
8745
|
+
Popover.defaultProps = defaultProps$x;
|
|
8754
8746
|
Popover.Title = PopoverTitle;
|
|
8755
8747
|
Popover.Content = PopoverContent;
|
|
8756
8748
|
|
|
8757
8749
|
var ROUND_PRECISION = 1000;
|
|
8758
8750
|
|
|
8759
|
-
var defaultProps$
|
|
8751
|
+
var defaultProps$y = {
|
|
8760
8752
|
min: 0,
|
|
8761
8753
|
max: 100,
|
|
8762
8754
|
animated: false,
|
|
@@ -8846,9 +8838,9 @@ var ProgressBar = React__default.forwardRef(function (_ref2, ref) {
|
|
|
8846
8838
|
}, ref));
|
|
8847
8839
|
});
|
|
8848
8840
|
ProgressBar.displayName = 'ProgressBar';
|
|
8849
|
-
ProgressBar.defaultProps = defaultProps$
|
|
8841
|
+
ProgressBar.defaultProps = defaultProps$y;
|
|
8850
8842
|
|
|
8851
|
-
var defaultProps$
|
|
8843
|
+
var defaultProps$z = {
|
|
8852
8844
|
aspectRatio: '1by1'
|
|
8853
8845
|
};
|
|
8854
8846
|
var ResponsiveEmbed = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -8868,10 +8860,10 @@ var ResponsiveEmbed = React__default.forwardRef(function (_ref, ref) {
|
|
|
8868
8860
|
className: classnames(child.props.className, decoratedBsPrefix + "-item")
|
|
8869
8861
|
}));
|
|
8870
8862
|
});
|
|
8871
|
-
ResponsiveEmbed.defaultProps = defaultProps$
|
|
8863
|
+
ResponsiveEmbed.defaultProps = defaultProps$z;
|
|
8872
8864
|
|
|
8873
|
-
var DEVICE_SIZES = ['xl', 'lg', 'md', 'sm', 'xs'];
|
|
8874
|
-
var defaultProps$
|
|
8865
|
+
var DEVICE_SIZES$1 = ['xl', 'lg', 'md', 'sm', 'xs'];
|
|
8866
|
+
var defaultProps$A = {
|
|
8875
8867
|
noGutters: false
|
|
8876
8868
|
};
|
|
8877
8869
|
var Row = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -8885,7 +8877,7 @@ var Row = React__default.forwardRef(function (_ref, ref) {
|
|
|
8885
8877
|
var decoratedBsPrefix = useBootstrapPrefix(bsPrefix, 'row');
|
|
8886
8878
|
var sizePrefix = decoratedBsPrefix + "-cols";
|
|
8887
8879
|
var classes = [];
|
|
8888
|
-
DEVICE_SIZES.forEach(function (brkPoint) {
|
|
8880
|
+
DEVICE_SIZES$1.forEach(function (brkPoint) {
|
|
8889
8881
|
var propValue = props[brkPoint];
|
|
8890
8882
|
delete props[brkPoint];
|
|
8891
8883
|
var cols;
|
|
@@ -8906,7 +8898,7 @@ var Row = React__default.forwardRef(function (_ref, ref) {
|
|
|
8906
8898
|
}));
|
|
8907
8899
|
});
|
|
8908
8900
|
Row.displayName = 'Row';
|
|
8909
|
-
Row.defaultProps = defaultProps$
|
|
8901
|
+
Row.defaultProps = defaultProps$A;
|
|
8910
8902
|
|
|
8911
8903
|
var Spinner = React__default.forwardRef(function (_ref, ref) {
|
|
8912
8904
|
var bsPrefix = _ref.bsPrefix,
|
|
@@ -8929,7 +8921,7 @@ var Spinner = React__default.forwardRef(function (_ref, ref) {
|
|
|
8929
8921
|
});
|
|
8930
8922
|
Spinner.displayName = 'Spinner';
|
|
8931
8923
|
|
|
8932
|
-
var propTypes = {
|
|
8924
|
+
var propTypes$a = {
|
|
8933
8925
|
/**
|
|
8934
8926
|
* An html id attribute for the Toggle button, necessary for assistive technologies, such as screen readers.
|
|
8935
8927
|
* @type {string|number}
|
|
@@ -8991,7 +8983,7 @@ var propTypes = {
|
|
|
8991
8983
|
/** @ignore */
|
|
8992
8984
|
size: PropTypes.string
|
|
8993
8985
|
};
|
|
8994
|
-
var defaultProps$
|
|
8986
|
+
var defaultProps$B = {
|
|
8995
8987
|
toggleLabel: 'Toggle dropdown',
|
|
8996
8988
|
type: 'button'
|
|
8997
8989
|
};
|
|
@@ -9013,7 +9005,7 @@ var SplitButton = React__default.forwardRef(function (_ref, ref) {
|
|
|
9013
9005
|
rootCloseEvent = _ref.rootCloseEvent,
|
|
9014
9006
|
props = _objectWithoutPropertiesLoose(_ref, ["id", "bsPrefix", "size", "variant", "title", "type", "toggleLabel", "children", "onClick", "href", "target", "menuAlign", "menuRole", "renderMenuOnMount", "rootCloseEvent"]);
|
|
9015
9007
|
|
|
9016
|
-
return /*#__PURE__*/React__default.createElement(Dropdown, _extends({
|
|
9008
|
+
return /*#__PURE__*/React__default.createElement(Dropdown$1, _extends({
|
|
9017
9009
|
ref: ref
|
|
9018
9010
|
}, props, {
|
|
9019
9011
|
as: ButtonGroup
|
|
@@ -9026,7 +9018,7 @@ var SplitButton = React__default.forwardRef(function (_ref, ref) {
|
|
|
9026
9018
|
target: target,
|
|
9027
9019
|
onClick: onClick,
|
|
9028
9020
|
type: type
|
|
9029
|
-
}, title), /*#__PURE__*/React__default.createElement(Dropdown.Toggle, {
|
|
9021
|
+
}, title), /*#__PURE__*/React__default.createElement(Dropdown$1.Toggle, {
|
|
9030
9022
|
split: true,
|
|
9031
9023
|
id: id ? id.toString() : undefined,
|
|
9032
9024
|
size: size,
|
|
@@ -9035,15 +9027,15 @@ var SplitButton = React__default.forwardRef(function (_ref, ref) {
|
|
|
9035
9027
|
childBsPrefix: bsPrefix
|
|
9036
9028
|
}, /*#__PURE__*/React__default.createElement("span", {
|
|
9037
9029
|
className: "sr-only"
|
|
9038
|
-
}, toggleLabel)), /*#__PURE__*/React__default.createElement(Dropdown.Menu, {
|
|
9030
|
+
}, toggleLabel)), /*#__PURE__*/React__default.createElement(Dropdown$1.Menu, {
|
|
9039
9031
|
align: menuAlign,
|
|
9040
9032
|
role: menuRole,
|
|
9041
9033
|
renderOnMount: renderMenuOnMount,
|
|
9042
9034
|
rootCloseEvent: rootCloseEvent
|
|
9043
9035
|
}, children));
|
|
9044
9036
|
});
|
|
9045
|
-
SplitButton.propTypes = propTypes;
|
|
9046
|
-
SplitButton.defaultProps = defaultProps$
|
|
9037
|
+
SplitButton.propTypes = propTypes$a;
|
|
9038
|
+
SplitButton.defaultProps = defaultProps$B;
|
|
9047
9039
|
SplitButton.displayName = 'SplitButton';
|
|
9048
9040
|
|
|
9049
9041
|
var TabContainer = function TabContainer(props) {
|
|
@@ -9137,9 +9129,9 @@ var TabPane = React__default.forwardRef(function (props, ref) {
|
|
|
9137
9129
|
unmountOnExit = _useTabContext.unmountOnExit,
|
|
9138
9130
|
Transition = _useTabContext.transition,
|
|
9139
9131
|
_useTabContext$as = _useTabContext.as,
|
|
9140
|
-
Component = _useTabContext$as === void 0 ? 'div' : _useTabContext$as
|
|
9141
|
-
_useTabContext.eventKey
|
|
9142
|
-
|
|
9132
|
+
Component = _useTabContext$as === void 0 ? 'div' : _useTabContext$as,
|
|
9133
|
+
_ = _useTabContext.eventKey,
|
|
9134
|
+
rest = _objectWithoutPropertiesLoose(_useTabContext, ["bsPrefix", "className", "active", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "mountOnEnter", "unmountOnExit", "transition", "as", "eventKey"]);
|
|
9143
9135
|
|
|
9144
9136
|
var prefix = useBootstrapPrefix(bsPrefix, 'tab-pane');
|
|
9145
9137
|
if (!active && !Transition && unmountOnExit) return null;
|
|
@@ -9193,7 +9185,7 @@ Tab.Container = TabContainer;
|
|
|
9193
9185
|
Tab.Content = TabContent;
|
|
9194
9186
|
Tab.Pane = TabPane;
|
|
9195
9187
|
|
|
9196
|
-
React__default.forwardRef(function (_ref, ref) {
|
|
9188
|
+
var Table = React__default.forwardRef(function (_ref, ref) {
|
|
9197
9189
|
var bsPrefix = _ref.bsPrefix,
|
|
9198
9190
|
className = _ref.className,
|
|
9199
9191
|
striped = _ref.striped,
|
|
@@ -9232,7 +9224,7 @@ var ToastContext = React__default.createContext({
|
|
|
9232
9224
|
onClose: function onClose() {}
|
|
9233
9225
|
});
|
|
9234
9226
|
|
|
9235
|
-
var defaultProps$
|
|
9227
|
+
var defaultProps$C = {
|
|
9236
9228
|
closeLabel: 'Close',
|
|
9237
9229
|
closeButton: true
|
|
9238
9230
|
};
|
|
@@ -9263,7 +9255,7 @@ var ToastHeader = React__default.forwardRef(function (_ref, ref) {
|
|
|
9263
9255
|
}));
|
|
9264
9256
|
});
|
|
9265
9257
|
ToastHeader.displayName = 'ToastHeader';
|
|
9266
|
-
ToastHeader.defaultProps = defaultProps$
|
|
9258
|
+
ToastHeader.defaultProps = defaultProps$C;
|
|
9267
9259
|
|
|
9268
9260
|
var ToastBody = createWithBsPrefix('toast-body');
|
|
9269
9261
|
|
|
@@ -9330,7 +9322,7 @@ Object.assign(Toast, {
|
|
|
9330
9322
|
Header: ToastHeader
|
|
9331
9323
|
});
|
|
9332
9324
|
|
|
9333
|
-
var noop = function noop() {
|
|
9325
|
+
var noop$5 = function noop() {
|
|
9334
9326
|
return undefined;
|
|
9335
9327
|
};
|
|
9336
9328
|
|
|
@@ -9372,12 +9364,12 @@ var ToggleButton = React__default.forwardRef(function (_ref, ref) {
|
|
|
9372
9364
|
disabled: !!disabled,
|
|
9373
9365
|
onFocus: handleFocus,
|
|
9374
9366
|
onBlur: handleBlur,
|
|
9375
|
-
onChange: onChange || noop
|
|
9367
|
+
onChange: onChange || noop$5
|
|
9376
9368
|
}), children);
|
|
9377
9369
|
});
|
|
9378
9370
|
ToggleButton.displayName = 'ToggleButton';
|
|
9379
9371
|
|
|
9380
|
-
var defaultProps$
|
|
9372
|
+
var defaultProps$D = {
|
|
9381
9373
|
type: 'radio',
|
|
9382
9374
|
vertical: false
|
|
9383
9375
|
};
|
|
@@ -9440,10 +9432,10 @@ var ToggleButtonGroup = React__default.forwardRef(function (props, ref) {
|
|
|
9440
9432
|
});
|
|
9441
9433
|
}));
|
|
9442
9434
|
});
|
|
9443
|
-
ToggleButtonGroup.defaultProps = defaultProps$
|
|
9435
|
+
ToggleButtonGroup.defaultProps = defaultProps$D;
|
|
9444
9436
|
ToggleButtonGroup.Button = ToggleButton;
|
|
9445
9437
|
|
|
9446
|
-
var defaultProps = {
|
|
9438
|
+
var defaultProps$E = {
|
|
9447
9439
|
placement: 'right'
|
|
9448
9440
|
};
|
|
9449
9441
|
var Tooltip = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -9452,10 +9444,10 @@ var Tooltip = React__default.forwardRef(function (_ref, ref) {
|
|
|
9452
9444
|
className = _ref.className,
|
|
9453
9445
|
style = _ref.style,
|
|
9454
9446
|
children = _ref.children,
|
|
9455
|
-
arrowProps = _ref.arrowProps
|
|
9456
|
-
_ref.popper
|
|
9457
|
-
_ref.show
|
|
9458
|
-
|
|
9447
|
+
arrowProps = _ref.arrowProps,
|
|
9448
|
+
_ = _ref.popper,
|
|
9449
|
+
_2 = _ref.show,
|
|
9450
|
+
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "placement", "className", "style", "children", "arrowProps", "popper", "show"]);
|
|
9459
9451
|
|
|
9460
9452
|
bsPrefix = useBootstrapPrefix(bsPrefix, 'tooltip');
|
|
9461
9453
|
|
|
@@ -9474,7 +9466,7 @@ var Tooltip = React__default.forwardRef(function (_ref, ref) {
|
|
|
9474
9466
|
className: bsPrefix + "-inner"
|
|
9475
9467
|
}, children));
|
|
9476
9468
|
});
|
|
9477
|
-
Tooltip.defaultProps = defaultProps;
|
|
9469
|
+
Tooltip.defaultProps = defaultProps$E;
|
|
9478
9470
|
Tooltip.displayName = 'Tooltip';
|
|
9479
9471
|
|
|
9480
9472
|
var css = ".MediaSeriesCard-module_article__SAFYK {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.MediaSeriesCard-module_article__SAFYK a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU {\r\n width: 25%;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_published__E4oiz {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_summary__1xanh {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR {\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR span {\r\n color: #6d6d6d;\r\n}\r\n.MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1.3rem;\r\n font-weight: bold;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .MediaSeriesCard-module_article__SAFYK {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .MediaSeriesCard-module_article__SAFYK a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU figure {\r\n margin: 0;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o {\r\n width: 90%;\r\n padding: 0rem !important;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o h2 {\r\n font-size: 1rem;\r\n }\r\n .MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1rem;\r\n \r\n }\r\n}\r\n";
|
|
@@ -9584,7 +9576,7 @@ var Filter = function Filter(_ref) {
|
|
|
9584
9576
|
var handleFilterSelect = function handleFilterSelect(group, type) {
|
|
9585
9577
|
if (type === 'parent') {
|
|
9586
9578
|
setParentData(function (prevState) {
|
|
9587
|
-
return _extends$
|
|
9579
|
+
return _extends$2({}, prevState, { name: group.name ? group.name : null });
|
|
9588
9580
|
});
|
|
9589
9581
|
if (group && group.children && group.children.length > 0) {
|
|
9590
9582
|
setChildData({ data: group.children, _id: group._id });
|
|
@@ -9598,7 +9590,7 @@ var Filter = function Filter(_ref) {
|
|
|
9598
9590
|
}
|
|
9599
9591
|
if (type === 'child') {
|
|
9600
9592
|
setChildData(function (prevState) {
|
|
9601
|
-
return _extends$
|
|
9593
|
+
return _extends$2({}, prevState, { name: group.name ? group.name : null, _id: group._id });
|
|
9602
9594
|
});
|
|
9603
9595
|
if (group && group.grandchildren && group.grandchildren.length > 0) {
|
|
9604
9596
|
setGrandChildData({ data: group.grandchildren, _id: group._id });
|
|
@@ -9617,7 +9609,7 @@ var Filter = function Filter(_ref) {
|
|
|
9617
9609
|
}
|
|
9618
9610
|
if (type === 'grandchild') {
|
|
9619
9611
|
setGrandChildData(function (prevState) {
|
|
9620
|
-
return _extends$
|
|
9612
|
+
return _extends$2({}, prevState, { name: group.name ? group.name : 'All', _id: group._id });
|
|
9621
9613
|
});
|
|
9622
9614
|
//handle filter
|
|
9623
9615
|
if (!group._id) {
|
|
@@ -9640,7 +9632,7 @@ var Filter = function Filter(_ref) {
|
|
|
9640
9632
|
DropdownButton,
|
|
9641
9633
|
{ drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn', title: parentData.name ? parentData.name : 'Filter By Category' },
|
|
9642
9634
|
React__default.createElement(
|
|
9643
|
-
Dropdown.Item,
|
|
9635
|
+
Dropdown$1.Item,
|
|
9644
9636
|
{ onSelect: function onSelect() {
|
|
9645
9637
|
return handleFilterSelect({}, 'parent');
|
|
9646
9638
|
} },
|
|
@@ -9649,7 +9641,7 @@ var Filter = function Filter(_ref) {
|
|
|
9649
9641
|
parentData.data.map(function (docGroup) {
|
|
9650
9642
|
if (!docGroup._id) return null;
|
|
9651
9643
|
return React__default.createElement(
|
|
9652
|
-
Dropdown.Item,
|
|
9644
|
+
Dropdown$1.Item,
|
|
9653
9645
|
{ key: docGroup._id, onSelect: function onSelect() {
|
|
9654
9646
|
return handleFilterSelect(docGroup, 'parent');
|
|
9655
9647
|
} },
|
|
@@ -9661,7 +9653,7 @@ var Filter = function Filter(_ref) {
|
|
|
9661
9653
|
DropdownButton,
|
|
9662
9654
|
{ drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn ml-3', title: childData.name ? childData.name : 'Filter By Topic' },
|
|
9663
9655
|
React__default.createElement(
|
|
9664
|
-
Dropdown.Item,
|
|
9656
|
+
Dropdown$1.Item,
|
|
9665
9657
|
{ onSelect: function onSelect() {
|
|
9666
9658
|
return handleFilterSelect({}, 'child');
|
|
9667
9659
|
} },
|
|
@@ -9670,7 +9662,7 @@ var Filter = function Filter(_ref) {
|
|
|
9670
9662
|
childData.data.map(function (docGroup) {
|
|
9671
9663
|
if (!docGroup._id) return null;
|
|
9672
9664
|
return React__default.createElement(
|
|
9673
|
-
Dropdown.Item,
|
|
9665
|
+
Dropdown$1.Item,
|
|
9674
9666
|
{ key: docGroup._id, onSelect: function onSelect() {
|
|
9675
9667
|
return handleFilterSelect(docGroup, 'child');
|
|
9676
9668
|
} },
|
|
@@ -9682,7 +9674,7 @@ var Filter = function Filter(_ref) {
|
|
|
9682
9674
|
DropdownButton,
|
|
9683
9675
|
{ drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn ml-3', title: grandChildData.name ? grandChildData.name : 'Select Sub Topic' },
|
|
9684
9676
|
React__default.createElement(
|
|
9685
|
-
Dropdown.Item,
|
|
9677
|
+
Dropdown$1.Item,
|
|
9686
9678
|
{ onSelect: function onSelect() {
|
|
9687
9679
|
return handleFilterSelect({}, 'grandchild');
|
|
9688
9680
|
} },
|
|
@@ -9691,7 +9683,7 @@ var Filter = function Filter(_ref) {
|
|
|
9691
9683
|
grandChildData.data.map(function (docGroup) {
|
|
9692
9684
|
if (!docGroup._id) return null;
|
|
9693
9685
|
return React__default.createElement(
|
|
9694
|
-
Dropdown.Item,
|
|
9686
|
+
Dropdown$1.Item,
|
|
9695
9687
|
{ key: docGroup._id, onSelect: function onSelect() {
|
|
9696
9688
|
return handleFilterSelect(docGroup, 'grandchild');
|
|
9697
9689
|
} },
|
|
@@ -9747,7 +9739,7 @@ var MediaSeriesLanding = function MediaSeriesLanding(props) {
|
|
|
9747
9739
|
while (1) {
|
|
9748
9740
|
switch (_context.prev = _context.next) {
|
|
9749
9741
|
case 0:
|
|
9750
|
-
newParams = _extends$
|
|
9742
|
+
newParams = _extends$2({}, params, { from: 0, to: 10 });
|
|
9751
9743
|
filterQuery = void 0;
|
|
9752
9744
|
|
|
9753
9745
|
if ((typeof filterTopicID === 'undefined' ? 'undefined' : _typeof(filterTopicID)) == 'object') {
|
|
@@ -9846,12 +9838,12 @@ var MediaSeriesLanding = function MediaSeriesLanding(props) {
|
|
|
9846
9838
|
|
|
9847
9839
|
MediaSeriesLanding.getInitialData = function () {
|
|
9848
9840
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(ctx, client, cache) {
|
|
9849
|
-
var urlQuery, pathname, identifier, itemsPerPage, currentPage, start, statusCode, params, docGroupID, seriesQuery, seriesData, allSeries, buildUsedTopicsArray, usedTopics, taxonomyFilter;
|
|
9841
|
+
var urlQuery, pathname, req, identifier, itemsPerPage, currentPage, start, statusCode, params, docGroupID, seriesQuery, seriesData, allSeries, buildUsedTopicsArray, usedTopics, taxonomyFilter;
|
|
9850
9842
|
return regenerator.wrap(function _callee2$(_context2) {
|
|
9851
9843
|
while (1) {
|
|
9852
9844
|
switch (_context2.prev = _context2.next) {
|
|
9853
9845
|
case 0:
|
|
9854
|
-
urlQuery = ctx.query, pathname = ctx.pathname, ctx.req;
|
|
9846
|
+
urlQuery = ctx.query, pathname = ctx.pathname, req = ctx.req;
|
|
9855
9847
|
identifier = pathname.replace('/', '');
|
|
9856
9848
|
itemsPerPage = 10;
|
|
9857
9849
|
currentPage = urlQuery.page ? parseInt(urlQuery.page) : 1;
|