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