@mjhls/mjh-framework 1.0.811-beta.0 → 1.0.811-gate-test
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 +170 -170
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +31 -30
- package/dist/cjs/AD300x250x600.js +31 -30
- package/dist/cjs/AD728x90.js +34 -33
- package/dist/cjs/ADFloatingFooter.js +33 -32
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +33 -32
- package/dist/cjs/{ADInfeed-7c4b33b3.js → ADInfeed-77f334bb.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +33 -32
- package/dist/cjs/ADSponsoredResources.js +33 -32
- package/dist/cjs/ADWebcast.js +33 -32
- package/dist/cjs/ADWelcome.js +34 -33
- package/dist/cjs/{ADlgInfeed-563e0168.js → ADlgInfeed-0664c67f.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +36 -35
- package/dist/cjs/AdSlotsProvider.js +20 -911
- package/dist/cjs/AlgoliaSearch.js +1085 -1066
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +58 -57
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -40
- package/dist/cjs/ArticleSeriesListing.js +61 -60
- package/dist/cjs/Auth.js +689 -782
- package/dist/cjs/AuthWrapper.js +725 -0
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-c21aac7f.js} +14 -13
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +36 -33
- package/dist/cjs/Column3.js +62 -59
- package/dist/cjs/ConferenceArticleCard.js +39 -38
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +107 -103
- package/dist/cjs/DeckQueue.js +92 -88
- package/dist/cjs/{Dfp-26baccf1.js → Dfp-93399f8c.js} +35 -34
- package/dist/cjs/EventsDeck.js +159 -152
- package/dist/cjs/ExternalResources.js +81 -80
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +182 -178
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +59 -58
- package/dist/cjs/HamMagazine.js +144 -139
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +71 -70
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +76 -71
- package/dist/cjs/IssueLanding.js +72 -71
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +41 -39
- package/dist/cjs/MasterDeck.js +81 -80
- package/dist/cjs/MediaSeriesLanding.js +1118 -1135
- package/dist/cjs/NavDvm.js +79 -74
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +152 -147
- package/dist/cjs/NavNative.js +147 -139
- package/dist/cjs/NavNormal.js +52 -47
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +109 -108
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +42 -41
- package/dist/cjs/PubToc.js +16 -15
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +142 -138
- package/dist/cjs/QueueDeckExpanded.js +294 -294
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -52
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +38 -38
- package/dist/cjs/{SeriesSlider-4abb21b4.js → SeriesSlider-c022ce04.js} +42 -41
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +39 -38
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-97dd19a5.js → SocialSearchComponent-ecb4f972.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +63 -58
- package/dist/cjs/TaxonomyDescription.js +55 -54
- package/dist/cjs/TemplateNormal.js +77 -76
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +30 -29
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoProgramLandingPage.js +77 -73
- package/dist/cjs/VideoSeriesCard.js +34 -33
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +50 -49
- package/dist/cjs/VideoSeriesListing.js +78 -77
- package/dist/cjs/View.js +265 -262
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +67 -66
- package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/{extends-0a918631.js → extends-9d158713.js} +7 -8
- package/dist/cjs/faundadb.js +329 -0
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +20 -20
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-021d644c.js → getTargeting-c8081c76.js} +12 -12
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-7340b76d.js → index-667c091e.js} +1059 -1261
- package/dist/cjs/{index-e2e62963.js → index-8041a4eb.js} +11 -1
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{index-be0c82be.js → index-efca863c.js} +36 -30
- package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index-98e01cb9.js → index-fc2f1ca2.js} +13 -12
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +167 -162
- package/dist/cjs/{inherits-9953db94.js → inherits-3ff1b657.js} +22 -25
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
- package/dist/cjs/main-025fdc78.js +973 -0
- package/dist/cjs/md5-e1ca5797.js +323 -0
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-725500bc.js → typeof-88a668c5.js} +36 -36
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +27 -27
- package/dist/esm/AD300x250x600.js +27 -27
- package/dist/esm/AD728x90.js +30 -30
- package/dist/esm/ADFloatingFooter.js +29 -29
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +29 -29
- package/dist/esm/{ADInfeed-31055afd.js → ADInfeed-6ed88032.js} +11 -11
- package/dist/esm/ADSkyscraper.js +29 -29
- package/dist/esm/ADSponsoredResources.js +29 -29
- package/dist/esm/ADWebcast.js +29 -29
- package/dist/esm/ADWelcome.js +30 -30
- package/dist/esm/{ADlgInfeed-dcb27a6c.js → ADlgInfeed-e02d1d98.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +27 -27
- package/dist/esm/AdSlotsProvider.js +17 -909
- package/dist/esm/AlgoliaSearch.js +735 -717
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +54 -54
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +56 -56
- package/dist/esm/Auth.js +665 -762
- package/dist/esm/AuthWrapper.js +719 -0
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-5ae7409f.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-52cf21c5.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +30 -30
- package/dist/esm/Column3.js +56 -56
- package/dist/esm/ConferenceArticleCard.js +34 -34
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +97 -97
- package/dist/esm/DeckQueue.js +82 -82
- package/dist/esm/{Dfp-b7236041.js → Dfp-43f121ff.js} +22 -22
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +74 -74
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +170 -170
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +115 -115
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +67 -67
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +60 -60
- package/dist/esm/IssueDeck.js +64 -64
- package/dist/esm/IssueLanding.js +68 -68
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -35
- package/dist/esm/MasterDeck.js +77 -77
- package/dist/esm/MediaSeriesLanding.js +843 -863
- package/dist/esm/NavDvm.js +59 -59
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +126 -126
- package/dist/esm/NavNative.js +116 -116
- package/dist/esm/NavNormal.js +38 -38
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +104 -104
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +38 -38
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +52 -52
- package/dist/esm/PublicationLanding.js +125 -125
- package/dist/esm/QueueDeckExpanded.js +274 -274
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +13 -13
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +32 -32
- package/dist/esm/{SeriesSlider-36be7223.js → SeriesSlider-8414085b.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +34 -34
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db5ba548.js → SocialSearchComponent-cd38ae60.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +53 -53
- package/dist/esm/TaxonomyDescription.js +49 -49
- package/dist/esm/TemplateNormal.js +72 -72
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +26 -26
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +66 -66
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +41 -41
- package/dist/esm/VideoSeriesListing.js +73 -73
- package/dist/esm/View.js +245 -246
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +50 -50
- package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/{extends-6f2fcc99.js → extends-f076879e.js} +8 -8
- package/dist/esm/faundadb.js +321 -0
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-82e86707.js → getTargeting-2302c1b4.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
- package/dist/esm/{index-41a678ea.js → index-2446af28.js} +6 -6
- package/dist/esm/{index-5f7e79e7.js → index-35bdcc81.js} +10 -10
- package/dist/esm/{index-aaa2dae0.js → index-67e1773f.js} +11 -2
- package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-73a91c0b.js → index-d2fb744b.js} +992 -1201
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +136 -134
- package/dist/esm/{inherits-cf8dde54.js → inherits-f71787cf.js} +20 -20
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
- package/dist/esm/main-b5c5aac1.js +961 -0
- package/dist/esm/md5-4e42248e.js +321 -0
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-6435ba1c.js → typeof-a286cf0c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +111 -109
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/keys-a586b7a0.js +0 -25
- package/dist/cjs/main-02daeefe.js +0 -862
- package/dist/cjs/stringify-7c5aff47.js +0 -17
- package/dist/esm/main-e4a934b2.js +0 -851
- package/dist/esm/stringify-4330ccdc.js +0 -15
package/dist/esm/Auth.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import '
|
|
5
|
-
import './_iter-detect-5d49a330.js';
|
|
6
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
-
import './_object-pie-33c40e79.js';
|
|
8
|
-
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React__default, { useEffect, useState } from 'react';
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
+
import { _ as _JSON$stringify } from './stringify-59c8f690.js';
|
|
3
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22.js';
|
|
4
|
+
import React, { useEffect, useState } from 'react';
|
|
11
5
|
import Router from 'next/router';
|
|
12
|
-
import { _ as
|
|
13
|
-
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
14
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
6
|
+
import { _ as _extends } from './extends-f076879e.js';
|
|
15
7
|
import { Col, Form, Button, Spinner } from 'react-bootstrap';
|
|
16
|
-
import { u as util } from './util-7700fc59.js';
|
|
17
|
-
import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
|
|
18
8
|
import useSWR from 'swr';
|
|
9
|
+
import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
|
|
19
10
|
import Local from 'passport-local';
|
|
20
11
|
import mysql from 'mysql';
|
|
12
|
+
import { u as util } from './util-3ab476bf.js';
|
|
13
|
+
import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
14
|
+
import { m as md5 } from './md5-4e42248e.js';
|
|
15
|
+
import './es6.string.iterator-bc33758b.js';
|
|
16
|
+
import './_to-object-b50e61c3.js';
|
|
17
|
+
import './web.dom.iterable-4109ff68.js';
|
|
18
|
+
import './_library-528f1934.js';
|
|
19
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
20
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
21
|
+
import './_object-pie-133f504a.js';
|
|
21
22
|
|
|
22
23
|
var returnFormField = function returnFormField(_ref) {
|
|
23
24
|
var name = _ref.name,
|
|
@@ -56,21 +57,21 @@ var returnFormField = function returnFormField(_ref) {
|
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
if (type == 'text' || type == 'email' || type == 'password' || type == 'number') {
|
|
59
|
-
return
|
|
60
|
+
return React.createElement(
|
|
60
61
|
Form.Group,
|
|
61
62
|
_extends({}, opts, { controlId: name }),
|
|
62
|
-
|
|
63
|
+
React.createElement(
|
|
63
64
|
Form.Label,
|
|
64
65
|
{ kye: name + '_label' },
|
|
65
66
|
label,
|
|
66
|
-
required &&
|
|
67
|
+
required && React.createElement(
|
|
67
68
|
'span',
|
|
68
69
|
{ style: { color: 'red' } },
|
|
69
70
|
'*'
|
|
70
71
|
)
|
|
71
72
|
),
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
React.createElement(Form.Control, { key: name + '_' + type, type: type, readOnly: readonly, name: name, placeholder: '', defaultValue: default_value, required: required }),
|
|
74
|
+
React.createElement(
|
|
74
75
|
Form.Control.Feedback,
|
|
75
76
|
{ key: name + '_feedback', type: 'invalid' },
|
|
76
77
|
errors[name]
|
|
@@ -78,28 +79,28 @@ var returnFormField = function returnFormField(_ref) {
|
|
|
78
79
|
);
|
|
79
80
|
}
|
|
80
81
|
if (type == 'select') {
|
|
81
|
-
return
|
|
82
|
+
return React.createElement(
|
|
82
83
|
Form.Group,
|
|
83
84
|
_extends({}, opts, { key: name, controlId: name }),
|
|
84
|
-
|
|
85
|
+
React.createElement(
|
|
85
86
|
Form.Label,
|
|
86
87
|
{ key: name + '_' + label },
|
|
87
88
|
label,
|
|
88
|
-
required &&
|
|
89
|
+
required && React.createElement(
|
|
89
90
|
'span',
|
|
90
91
|
{ key: name + '_required_span', style: { color: 'red' } },
|
|
91
92
|
'*'
|
|
92
93
|
)
|
|
93
94
|
),
|
|
94
|
-
|
|
95
|
+
React.createElement(
|
|
95
96
|
Form.Control,
|
|
96
97
|
{ key: name + '_select', as: 'select', name: name, required: required, defaultValue: default_value },
|
|
97
|
-
|
|
98
|
+
React.createElement('option', { value: '', key: name + '_options_empty' }),
|
|
98
99
|
options.map(function (option, index) {
|
|
99
100
|
var value = option.value ? option.value : option;
|
|
100
101
|
var label = option.label ? option.label : option;
|
|
101
102
|
var key = name + '_options_' + index;
|
|
102
|
-
return
|
|
103
|
+
return React.createElement(
|
|
103
104
|
'option',
|
|
104
105
|
{ key: key, value: value },
|
|
105
106
|
label
|
|
@@ -110,32 +111,32 @@ var returnFormField = function returnFormField(_ref) {
|
|
|
110
111
|
}
|
|
111
112
|
|
|
112
113
|
if (type == 'radio' || type == 'checkbox') {
|
|
113
|
-
return
|
|
114
|
+
return React.createElement(
|
|
114
115
|
Form.Group,
|
|
115
116
|
opts,
|
|
116
|
-
|
|
117
|
+
React.createElement(
|
|
117
118
|
Form.Label,
|
|
118
119
|
null,
|
|
119
120
|
label,
|
|
120
|
-
required &&
|
|
121
|
+
required && React.createElement(
|
|
121
122
|
'span',
|
|
122
123
|
{ style: { color: 'red' } },
|
|
123
124
|
'*'
|
|
124
125
|
)
|
|
125
126
|
),
|
|
126
127
|
options.map(function (option, index) {
|
|
127
|
-
return
|
|
128
|
+
return React.createElement(
|
|
128
129
|
Form.Check,
|
|
129
130
|
{ type: type, key: index, required: required },
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
React.createElement(Form.Check.Input, { type: type, key: type + '_' + index + '_input', defaultChecked: default_value ? default_value === option.value : false, name: name, id: name + '_' + index, value: option.value, required: required }),
|
|
132
|
+
React.createElement(Form.Check.Label, { style: { cursor: 'pointer' }, 'for': name + '_' + index, key: type + '_' + index + '_label', dangerouslySetInnerHTML: { __html: option.label } })
|
|
132
133
|
);
|
|
133
134
|
})
|
|
134
135
|
);
|
|
135
136
|
}
|
|
136
137
|
};
|
|
137
138
|
|
|
138
|
-
var _this = undefined;
|
|
139
|
+
var _this$4 = undefined;
|
|
139
140
|
|
|
140
141
|
var dataHandler = function () {
|
|
141
142
|
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(api_url, body) {
|
|
@@ -201,7 +202,7 @@ var dataHandler = function () {
|
|
|
201
202
|
return _context.stop();
|
|
202
203
|
}
|
|
203
204
|
}
|
|
204
|
-
}, _callee, _this, [[0, 20]]);
|
|
205
|
+
}, _callee, _this$4, [[0, 20]]);
|
|
205
206
|
}));
|
|
206
207
|
|
|
207
208
|
return function dataHandler(_x, _x2) {
|
|
@@ -335,43 +336,43 @@ var LoginForm = function LoginForm(props) {
|
|
|
335
336
|
loading = _useState4[0],
|
|
336
337
|
setLoading = _useState4[1];
|
|
337
338
|
|
|
338
|
-
return
|
|
339
|
+
return React.createElement(
|
|
339
340
|
Form,
|
|
340
341
|
{ className: 'login', onSubmit: handleSubmit },
|
|
341
|
-
|
|
342
|
+
React.createElement(
|
|
342
343
|
'h1',
|
|
343
344
|
null,
|
|
344
345
|
'Login'
|
|
345
346
|
),
|
|
346
|
-
|
|
347
|
+
React.createElement('hr', null),
|
|
347
348
|
returnFormField({ name: 'email', label: 'Email', type: 'email', required: true }),
|
|
348
349
|
returnFormField({ name: 'password', label: 'Password', type: 'password', required: true }),
|
|
349
|
-
|
|
350
|
-
|
|
350
|
+
React.createElement('hr', null),
|
|
351
|
+
React.createElement(
|
|
351
352
|
Form.Row,
|
|
352
353
|
null,
|
|
353
|
-
|
|
354
|
+
React.createElement(
|
|
354
355
|
Form.Group,
|
|
355
356
|
{ as: Col },
|
|
356
|
-
|
|
357
|
+
React.createElement(
|
|
357
358
|
'a',
|
|
358
359
|
{ href: '/auth/signup' },
|
|
359
360
|
'I don\'t have an account'
|
|
360
361
|
)
|
|
361
362
|
),
|
|
362
|
-
|
|
363
|
+
React.createElement(
|
|
363
364
|
Form.Group,
|
|
364
365
|
{ as: Col, className: 'text-right' },
|
|
365
|
-
!loading &&
|
|
366
|
+
!loading && React.createElement(
|
|
366
367
|
Button,
|
|
367
368
|
{ type: 'submit' },
|
|
368
369
|
'Login'
|
|
369
370
|
),
|
|
370
|
-
loading &&
|
|
371
|
+
loading && React.createElement(
|
|
371
372
|
Button,
|
|
372
373
|
{ variant: 'primary', disabled: true },
|
|
373
|
-
|
|
374
|
-
|
|
374
|
+
React.createElement(Spinner, { as: 'span', animation: 'border', role: 'status', 'aria-hidden': 'true', size: 'sm' }),
|
|
375
|
+
React.createElement(
|
|
375
376
|
'span',
|
|
376
377
|
{ className: 'sr-only' },
|
|
377
378
|
'Loading...'
|
|
@@ -379,12 +380,12 @@ var LoginForm = function LoginForm(props) {
|
|
|
379
380
|
)
|
|
380
381
|
)
|
|
381
382
|
),
|
|
382
|
-
errorMsg &&
|
|
383
|
+
errorMsg && React.createElement(
|
|
383
384
|
'p',
|
|
384
385
|
{ className: 'error' },
|
|
385
386
|
errorMsg
|
|
386
387
|
),
|
|
387
|
-
|
|
388
|
+
React.createElement(
|
|
388
389
|
'style',
|
|
389
390
|
{ jsx: 'true'.toString() },
|
|
390
391
|
'\n .login {\n margin: 0 auto;\n padding: 1rem;\n border: 1px solid #ccc;\n border-radius: 4px;\n }\n .error {\n color: red;\n margin: 1rem 0 0;\n }\n '
|
|
@@ -397,9 +398,9 @@ var countries = ["United States", "Afghanistan", "Albania", "Algeria", "American
|
|
|
397
398
|
|
|
398
399
|
var states = ['AL', 'AK', 'AS', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'DC', 'FM', 'FL', 'GA', 'GU', 'HI', 'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MH', 'MD', 'MA', 'MI', 'MN', 'MS', 'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM', 'NY', 'NC', 'ND', 'MP', 'OH', 'OK', 'OR', 'PW', 'PA', 'PR', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VT', 'VI', 'VA', 'WA', 'WV', 'WI', 'WY'];
|
|
399
400
|
|
|
400
|
-
var _this$
|
|
401
|
+
var _this$3 = undefined;
|
|
401
402
|
|
|
402
|
-
var SignupForm = function SignupForm(props) {
|
|
403
|
+
var SignupForm$1 = function SignupForm(props) {
|
|
403
404
|
var handleSubmit = function () {
|
|
404
405
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
|
|
405
406
|
var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
|
|
@@ -560,7 +561,7 @@ var SignupForm = function SignupForm(props) {
|
|
|
560
561
|
return _context.stop();
|
|
561
562
|
}
|
|
562
563
|
}
|
|
563
|
-
}, _callee, _this$
|
|
564
|
+
}, _callee, _this$3);
|
|
564
565
|
}));
|
|
565
566
|
|
|
566
567
|
return function loadInitData() {
|
|
@@ -627,7 +628,7 @@ var SignupForm = function SignupForm(props) {
|
|
|
627
628
|
return _context2.stop();
|
|
628
629
|
}
|
|
629
630
|
}
|
|
630
|
-
}, _callee2, _this$
|
|
631
|
+
}, _callee2, _this$3);
|
|
631
632
|
}));
|
|
632
633
|
|
|
633
634
|
return function handleOccupationChanged(_x) {
|
|
@@ -640,29 +641,29 @@ var SignupForm = function SignupForm(props) {
|
|
|
640
641
|
loading = _useState14[0],
|
|
641
642
|
setLoading = _useState14[1];
|
|
642
643
|
|
|
643
|
-
return
|
|
644
|
+
return React.createElement(
|
|
644
645
|
Form,
|
|
645
646
|
{ className: 'login', id: 'signupForm', onSubmit: handleSubmit },
|
|
646
|
-
|
|
647
|
+
React.createElement(
|
|
647
648
|
'h1',
|
|
648
649
|
null,
|
|
649
650
|
'Sign Up'
|
|
650
651
|
),
|
|
651
|
-
|
|
652
|
+
React.createElement('hr', null),
|
|
652
653
|
returnFormField({ name: 'email', label: 'Email', type: 'email', required: true }),
|
|
653
|
-
|
|
654
|
+
React.createElement(
|
|
654
655
|
Form.Row,
|
|
655
656
|
null,
|
|
656
657
|
returnFormField({ name: 'password', label: 'Password', type: 'password', groupType: Col, required: true }),
|
|
657
658
|
returnFormField({ name: 'rpassword', label: 'Retype Password', type: 'password', groupType: Col, required: true })
|
|
658
659
|
),
|
|
659
|
-
|
|
660
|
+
React.createElement(
|
|
660
661
|
Form.Row,
|
|
661
662
|
null,
|
|
662
663
|
returnFormField({ name: 'first_name', label: 'First Name', type: 'text', groupType: Col, required: true }),
|
|
663
664
|
returnFormField({ name: 'last_name', label: 'Last Name', type: 'text', groupType: Col, required: true })
|
|
664
665
|
),
|
|
665
|
-
|
|
666
|
+
React.createElement(
|
|
666
667
|
Form.Row,
|
|
667
668
|
null,
|
|
668
669
|
returnFormField({
|
|
@@ -676,7 +677,7 @@ var SignupForm = function SignupForm(props) {
|
|
|
676
677
|
}),
|
|
677
678
|
countryUS && returnFormField({ name: 'state', label: 'State', type: 'select', required: true, groupType: Col, options: states })
|
|
678
679
|
),
|
|
679
|
-
|
|
680
|
+
React.createElement(
|
|
680
681
|
Form.Row,
|
|
681
682
|
null,
|
|
682
683
|
countryUS && returnFormField({ name: 'zip', label: 'Working Zip Code', type: 'text', required: true, groupType: Col }),
|
|
@@ -723,38 +724,38 @@ var SignupForm = function SignupForm(props) {
|
|
|
723
724
|
required: true,
|
|
724
725
|
options: [{ label: 'By registering you agree to our <a href="/terms" style="color:blue">Terms and Conditions</a> and <a href="/privacy" style="color:blue">Privacy Policy</a> and understand that you will be receiving email communications', value: 'Y' }]
|
|
725
726
|
}),
|
|
726
|
-
|
|
727
|
-
|
|
727
|
+
React.createElement('hr', null),
|
|
728
|
+
React.createElement(
|
|
728
729
|
Form.Row,
|
|
729
730
|
null,
|
|
730
|
-
|
|
731
|
+
React.createElement(
|
|
731
732
|
Form.Group,
|
|
732
733
|
{ as: Col },
|
|
733
|
-
|
|
734
|
+
React.createElement(
|
|
734
735
|
'a',
|
|
735
736
|
{ href: '/auth/login' },
|
|
736
737
|
'I already have an account'
|
|
737
738
|
)
|
|
738
739
|
),
|
|
739
|
-
|
|
740
|
+
React.createElement(
|
|
740
741
|
Form.Group,
|
|
741
742
|
{ as: Col, className: 'text-right' },
|
|
742
|
-
!loading &&
|
|
743
|
+
!loading && React.createElement(
|
|
743
744
|
Button,
|
|
744
745
|
{ type: 'submit' },
|
|
745
746
|
'Sign Up'
|
|
746
747
|
),
|
|
747
|
-
loading &&
|
|
748
|
+
loading && React.createElement(
|
|
748
749
|
Button,
|
|
749
750
|
{ variant: 'primary', disabled: true },
|
|
750
|
-
|
|
751
|
+
React.createElement(Spinner, {
|
|
751
752
|
as: 'span',
|
|
752
753
|
animation: 'border',
|
|
753
754
|
role: 'status',
|
|
754
755
|
'aria-hidden': 'true',
|
|
755
756
|
size: 'sm'
|
|
756
757
|
}),
|
|
757
|
-
|
|
758
|
+
React.createElement(
|
|
758
759
|
'span',
|
|
759
760
|
{ className: 'sr-only' },
|
|
760
761
|
'Loading...'
|
|
@@ -762,12 +763,12 @@ var SignupForm = function SignupForm(props) {
|
|
|
762
763
|
)
|
|
763
764
|
)
|
|
764
765
|
),
|
|
765
|
-
errorMsg &&
|
|
766
|
+
errorMsg && React.createElement(
|
|
766
767
|
'p',
|
|
767
768
|
{ className: 'error' },
|
|
768
769
|
errorMsg
|
|
769
770
|
),
|
|
770
|
-
|
|
771
|
+
React.createElement(
|
|
771
772
|
'style',
|
|
772
773
|
{ jsx: 'true'.toString() },
|
|
773
774
|
' \n .login {\n margin: 0 auto;\n padding: 1rem;\n border: 1px solid #ccc;\n border-radius: 4px;\n }\n .error {\n color: red;\n margin: 1rem 0 0;\n }\n '
|
|
@@ -777,7 +778,7 @@ var SignupForm = function SignupForm(props) {
|
|
|
777
778
|
|
|
778
779
|
var _this$2 = undefined;
|
|
779
780
|
|
|
780
|
-
var SignupForm
|
|
781
|
+
var SignupForm = function SignupForm(props) {
|
|
781
782
|
var handleSubmit = function () {
|
|
782
783
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
|
|
783
784
|
var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
|
|
@@ -1057,32 +1058,32 @@ var SignupForm$1 = function SignupForm(props) {
|
|
|
1057
1058
|
loading = _useState18[0],
|
|
1058
1059
|
setLoading = _useState18[1];
|
|
1059
1060
|
|
|
1060
|
-
return
|
|
1061
|
+
return React.createElement(
|
|
1061
1062
|
Form,
|
|
1062
1063
|
{ className: 'login', id: 'signupForm', onSubmit: handleSubmit },
|
|
1063
|
-
|
|
1064
|
+
React.createElement(
|
|
1064
1065
|
'h1',
|
|
1065
1066
|
null,
|
|
1066
1067
|
'Profile'
|
|
1067
1068
|
),
|
|
1068
|
-
|
|
1069
|
-
userData ?
|
|
1070
|
-
|
|
1069
|
+
React.createElement('hr', null),
|
|
1070
|
+
userData ? React.createElement(
|
|
1071
|
+
React.Fragment,
|
|
1071
1072
|
null,
|
|
1072
1073
|
returnFormField({ name: 'email', label: 'Email', type: 'email', required: true, readonly: true, default_value: userData.email }),
|
|
1073
|
-
|
|
1074
|
+
React.createElement(
|
|
1074
1075
|
Form.Row,
|
|
1075
1076
|
null,
|
|
1076
1077
|
returnFormField({ name: 'password', label: 'Password', type: 'password', groupType: Col, required: false }),
|
|
1077
1078
|
returnFormField({ name: 'rpassword', label: 'Retype Password', type: 'password', groupType: Col, required: false })
|
|
1078
1079
|
),
|
|
1079
|
-
|
|
1080
|
+
React.createElement(
|
|
1080
1081
|
Form.Row,
|
|
1081
1082
|
null,
|
|
1082
1083
|
returnFormField({ name: 'first_name', label: 'First Name', type: 'text', groupType: Col, required: true, default_value: userData.shared.first_name }),
|
|
1083
1084
|
returnFormField({ name: 'last_name', label: 'Last Name', type: 'text', groupType: Col, required: true, default_value: userData.shared.last_name })
|
|
1084
1085
|
),
|
|
1085
|
-
|
|
1086
|
+
React.createElement(
|
|
1086
1087
|
Form.Row,
|
|
1087
1088
|
null,
|
|
1088
1089
|
returnFormField({
|
|
@@ -1097,7 +1098,7 @@ var SignupForm$1 = function SignupForm(props) {
|
|
|
1097
1098
|
}),
|
|
1098
1099
|
countryUS && returnFormField({ name: 'state', label: 'State', type: 'select', required: true, groupType: Col, options: states, default_value: userData.shared.state })
|
|
1099
1100
|
),
|
|
1100
|
-
|
|
1101
|
+
React.createElement(
|
|
1101
1102
|
Form.Row,
|
|
1102
1103
|
null,
|
|
1103
1104
|
countryUS && returnFormField({ name: 'zip', label: 'Working Zip Code', type: 'text', required: true, groupType: Col, default_value: userData.shared.zip }),
|
|
@@ -1147,29 +1148,29 @@ var SignupForm$1 = function SignupForm(props) {
|
|
|
1147
1148
|
required: true,
|
|
1148
1149
|
options: [{ label: 'By registering you agree to our <a href="/terms">Terms and Conditions</a> and <a href="/privacy">Privacy Policy</a> and understand that you will be receiving email communications', value: 'Y' }]
|
|
1149
1150
|
}),
|
|
1150
|
-
|
|
1151
|
-
|
|
1151
|
+
React.createElement('hr', null),
|
|
1152
|
+
React.createElement(
|
|
1152
1153
|
Form.Row,
|
|
1153
1154
|
null,
|
|
1154
|
-
|
|
1155
|
+
React.createElement(
|
|
1155
1156
|
Form.Group,
|
|
1156
1157
|
{ as: Col },
|
|
1157
|
-
!loading &&
|
|
1158
|
+
!loading && React.createElement(
|
|
1158
1159
|
Button,
|
|
1159
1160
|
{ type: 'submit' },
|
|
1160
1161
|
'Update'
|
|
1161
1162
|
),
|
|
1162
|
-
loading &&
|
|
1163
|
+
loading && React.createElement(
|
|
1163
1164
|
Button,
|
|
1164
1165
|
{ variant: 'primary', disabled: true },
|
|
1165
|
-
|
|
1166
|
+
React.createElement(Spinner, {
|
|
1166
1167
|
as: 'span',
|
|
1167
1168
|
animation: 'border',
|
|
1168
1169
|
role: 'status',
|
|
1169
1170
|
'aria-hidden': 'true',
|
|
1170
1171
|
size: 'sm'
|
|
1171
1172
|
}),
|
|
1172
|
-
|
|
1173
|
+
React.createElement(
|
|
1173
1174
|
'span',
|
|
1174
1175
|
{ className: 'sr-only' },
|
|
1175
1176
|
'Loading...'
|
|
@@ -1177,24 +1178,24 @@ var SignupForm$1 = function SignupForm(props) {
|
|
|
1177
1178
|
)
|
|
1178
1179
|
)
|
|
1179
1180
|
)
|
|
1180
|
-
) :
|
|
1181
|
+
) : React.createElement(Spinner, {
|
|
1181
1182
|
as: 'span',
|
|
1182
1183
|
animation: 'border',
|
|
1183
1184
|
role: 'status',
|
|
1184
1185
|
'aria-hidden': 'true',
|
|
1185
1186
|
size: 'sm'
|
|
1186
1187
|
}),
|
|
1187
|
-
errorMsg &&
|
|
1188
|
+
errorMsg && React.createElement(
|
|
1188
1189
|
'p',
|
|
1189
1190
|
{ className: 'error' },
|
|
1190
1191
|
errorMsg
|
|
1191
1192
|
),
|
|
1192
|
-
successMsg &&
|
|
1193
|
+
successMsg && React.createElement(
|
|
1193
1194
|
'p',
|
|
1194
1195
|
{ className: 'success' },
|
|
1195
1196
|
successMsg
|
|
1196
1197
|
),
|
|
1197
|
-
|
|
1198
|
+
React.createElement(
|
|
1198
1199
|
'style',
|
|
1199
1200
|
{ jsx: 'true'.toString() },
|
|
1200
1201
|
' \n .login {\n margin: 0 auto;\n padding: 1rem;\n border: 1px solid #ccc;\n border-radius: 4px;\n }\n .error {\n color: red;\n margin: 1rem 0 0;\n }\n .success {\n color: green;\n margin: 1rem 0 0;\n }\n '
|
|
@@ -1312,10 +1313,10 @@ var iron = /*#__PURE__*/Object.freeze({
|
|
|
1312
1313
|
getSession: getSession
|
|
1313
1314
|
});
|
|
1314
1315
|
|
|
1315
|
-
var toStr = Object.prototype.toString;
|
|
1316
|
+
var toStr$5 = Object.prototype.toString;
|
|
1316
1317
|
|
|
1317
1318
|
var isArguments = function isArguments(value) {
|
|
1318
|
-
var str = toStr.call(value);
|
|
1319
|
+
var str = toStr$5.call(value);
|
|
1319
1320
|
var isArgs = str === '[object Arguments]';
|
|
1320
1321
|
if (!isArgs) {
|
|
1321
1322
|
isArgs = str !== '[object Array]' &&
|
|
@@ -1323,16 +1324,16 @@ var isArguments = function isArguments(value) {
|
|
|
1323
1324
|
typeof value === 'object' &&
|
|
1324
1325
|
typeof value.length === 'number' &&
|
|
1325
1326
|
value.length >= 0 &&
|
|
1326
|
-
toStr.call(value.callee) === '[object Function]';
|
|
1327
|
+
toStr$5.call(value.callee) === '[object Function]';
|
|
1327
1328
|
}
|
|
1328
1329
|
return isArgs;
|
|
1329
1330
|
};
|
|
1330
1331
|
|
|
1331
|
-
var keysShim;
|
|
1332
|
+
var keysShim$1;
|
|
1332
1333
|
if (!Object.keys) {
|
|
1333
1334
|
// modified from https://github.com/es-shims/es5-shim
|
|
1334
|
-
var has = Object.prototype.hasOwnProperty;
|
|
1335
|
-
var toStr$
|
|
1335
|
+
var has$1 = Object.prototype.hasOwnProperty;
|
|
1336
|
+
var toStr$4 = Object.prototype.toString;
|
|
1336
1337
|
var isArgs = isArguments; // eslint-disable-line global-require
|
|
1337
1338
|
var isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
1338
1339
|
var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');
|
|
@@ -1380,7 +1381,7 @@ if (!Object.keys) {
|
|
|
1380
1381
|
if (typeof window === 'undefined') { return false; }
|
|
1381
1382
|
for (var k in window) {
|
|
1382
1383
|
try {
|
|
1383
|
-
if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
|
|
1384
|
+
if (!excludedKeys['$' + k] && has$1.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
|
|
1384
1385
|
try {
|
|
1385
1386
|
equalsConstructorPrototype(window[k]);
|
|
1386
1387
|
} catch (e) {
|
|
@@ -1405,11 +1406,11 @@ if (!Object.keys) {
|
|
|
1405
1406
|
}
|
|
1406
1407
|
};
|
|
1407
1408
|
|
|
1408
|
-
keysShim = function keys(object) {
|
|
1409
|
+
keysShim$1 = function keys(object) {
|
|
1409
1410
|
var isObject = object !== null && typeof object === 'object';
|
|
1410
|
-
var isFunction = toStr$
|
|
1411
|
+
var isFunction = toStr$4.call(object) === '[object Function]';
|
|
1411
1412
|
var isArguments = isArgs(object);
|
|
1412
|
-
var isString = isObject && toStr$
|
|
1413
|
+
var isString = isObject && toStr$4.call(object) === '[object String]';
|
|
1413
1414
|
var theKeys = [];
|
|
1414
1415
|
|
|
1415
1416
|
if (!isObject && !isFunction && !isArguments) {
|
|
@@ -1417,7 +1418,7 @@ if (!Object.keys) {
|
|
|
1417
1418
|
}
|
|
1418
1419
|
|
|
1419
1420
|
var skipProto = hasProtoEnumBug && isFunction;
|
|
1420
|
-
if (isString && object.length > 0 && !has.call(object, 0)) {
|
|
1421
|
+
if (isString && object.length > 0 && !has$1.call(object, 0)) {
|
|
1421
1422
|
for (var i = 0; i < object.length; ++i) {
|
|
1422
1423
|
theKeys.push(String(i));
|
|
1423
1424
|
}
|
|
@@ -1429,7 +1430,7 @@ if (!Object.keys) {
|
|
|
1429
1430
|
}
|
|
1430
1431
|
} else {
|
|
1431
1432
|
for (var name in object) {
|
|
1432
|
-
if (!(skipProto && name === 'prototype') && has.call(object, name)) {
|
|
1433
|
+
if (!(skipProto && name === 'prototype') && has$1.call(object, name)) {
|
|
1433
1434
|
theKeys.push(String(name));
|
|
1434
1435
|
}
|
|
1435
1436
|
}
|
|
@@ -1439,7 +1440,7 @@ if (!Object.keys) {
|
|
|
1439
1440
|
var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);
|
|
1440
1441
|
|
|
1441
1442
|
for (var k = 0; k < dontEnums.length; ++k) {
|
|
1442
|
-
if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {
|
|
1443
|
+
if (!(skipConstructor && dontEnums[k] === 'constructor') && has$1.call(object, dontEnums[k])) {
|
|
1443
1444
|
theKeys.push(dontEnums[k]);
|
|
1444
1445
|
}
|
|
1445
1446
|
}
|
|
@@ -1447,17 +1448,17 @@ if (!Object.keys) {
|
|
|
1447
1448
|
return theKeys;
|
|
1448
1449
|
};
|
|
1449
1450
|
}
|
|
1450
|
-
var implementation = keysShim;
|
|
1451
|
+
var implementation$3 = keysShim$1;
|
|
1451
1452
|
|
|
1452
|
-
var slice = Array.prototype.slice;
|
|
1453
|
+
var slice$1 = Array.prototype.slice;
|
|
1453
1454
|
|
|
1454
1455
|
|
|
1455
1456
|
var origKeys = Object.keys;
|
|
1456
|
-
var keysShim
|
|
1457
|
+
var keysShim = origKeys ? function keys(o) { return origKeys(o); } : implementation$3;
|
|
1457
1458
|
|
|
1458
1459
|
var originalKeys = Object.keys;
|
|
1459
1460
|
|
|
1460
|
-
keysShim
|
|
1461
|
+
keysShim.shim = function shimObjectKeys() {
|
|
1461
1462
|
if (Object.keys) {
|
|
1462
1463
|
var keysWorksWithArguments = (function () {
|
|
1463
1464
|
// Safari 5.0 bug
|
|
@@ -1467,27 +1468,27 @@ keysShim$1.shim = function shimObjectKeys() {
|
|
|
1467
1468
|
if (!keysWorksWithArguments) {
|
|
1468
1469
|
Object.keys = function keys(object) { // eslint-disable-line func-name-matching
|
|
1469
1470
|
if (isArguments(object)) {
|
|
1470
|
-
return originalKeys(slice.call(object));
|
|
1471
|
+
return originalKeys(slice$1.call(object));
|
|
1471
1472
|
}
|
|
1472
1473
|
return originalKeys(object);
|
|
1473
1474
|
};
|
|
1474
1475
|
}
|
|
1475
1476
|
} else {
|
|
1476
|
-
Object.keys = keysShim
|
|
1477
|
+
Object.keys = keysShim;
|
|
1477
1478
|
}
|
|
1478
|
-
return Object.keys || keysShim
|
|
1479
|
+
return Object.keys || keysShim;
|
|
1479
1480
|
};
|
|
1480
1481
|
|
|
1481
|
-
var objectKeys = keysShim
|
|
1482
|
+
var objectKeys = keysShim;
|
|
1482
1483
|
|
|
1483
|
-
var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
|
|
1484
|
+
var hasSymbols$4 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
|
|
1484
1485
|
|
|
1485
|
-
var toStr$
|
|
1486
|
+
var toStr$3 = Object.prototype.toString;
|
|
1486
1487
|
var concat = Array.prototype.concat;
|
|
1487
1488
|
var origDefineProperty = Object.defineProperty;
|
|
1488
1489
|
|
|
1489
1490
|
var isFunction = function (fn) {
|
|
1490
|
-
return typeof fn === 'function' && toStr$
|
|
1491
|
+
return typeof fn === 'function' && toStr$3.call(fn) === '[object Function]';
|
|
1491
1492
|
};
|
|
1492
1493
|
|
|
1493
1494
|
var arePropertyDescriptorsSupported = function () {
|
|
@@ -1524,7 +1525,7 @@ var defineProperty = function (object, name, value, predicate) {
|
|
|
1524
1525
|
var defineProperties = function (object, map) {
|
|
1525
1526
|
var predicates = arguments.length > 2 ? arguments[2] : {};
|
|
1526
1527
|
var props = objectKeys(map);
|
|
1527
|
-
if (hasSymbols) {
|
|
1528
|
+
if (hasSymbols$4) {
|
|
1528
1529
|
props = concat.call(props, Object.getOwnPropertySymbols(map));
|
|
1529
1530
|
}
|
|
1530
1531
|
for (var i = 0; i < props.length; i += 1) {
|
|
@@ -1536,6 +1537,59 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
|
|
|
1536
1537
|
|
|
1537
1538
|
var defineProperties_1 = defineProperties;
|
|
1538
1539
|
|
|
1540
|
+
/* eslint no-invalid-this: 1 */
|
|
1541
|
+
|
|
1542
|
+
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
1543
|
+
var slice = Array.prototype.slice;
|
|
1544
|
+
var toStr$2 = Object.prototype.toString;
|
|
1545
|
+
var funcType = '[object Function]';
|
|
1546
|
+
|
|
1547
|
+
var implementation$2 = function bind(that) {
|
|
1548
|
+
var target = this;
|
|
1549
|
+
if (typeof target !== 'function' || toStr$2.call(target) !== funcType) {
|
|
1550
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
1551
|
+
}
|
|
1552
|
+
var args = slice.call(arguments, 1);
|
|
1553
|
+
|
|
1554
|
+
var bound;
|
|
1555
|
+
var binder = function () {
|
|
1556
|
+
if (this instanceof bound) {
|
|
1557
|
+
var result = target.apply(
|
|
1558
|
+
this,
|
|
1559
|
+
args.concat(slice.call(arguments))
|
|
1560
|
+
);
|
|
1561
|
+
if (Object(result) === result) {
|
|
1562
|
+
return result;
|
|
1563
|
+
}
|
|
1564
|
+
return this;
|
|
1565
|
+
} else {
|
|
1566
|
+
return target.apply(
|
|
1567
|
+
that,
|
|
1568
|
+
args.concat(slice.call(arguments))
|
|
1569
|
+
);
|
|
1570
|
+
}
|
|
1571
|
+
};
|
|
1572
|
+
|
|
1573
|
+
var boundLength = Math.max(0, target.length - args.length);
|
|
1574
|
+
var boundArgs = [];
|
|
1575
|
+
for (var i = 0; i < boundLength; i++) {
|
|
1576
|
+
boundArgs.push('$' + i);
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
1580
|
+
|
|
1581
|
+
if (target.prototype) {
|
|
1582
|
+
var Empty = function Empty() {};
|
|
1583
|
+
Empty.prototype = target.prototype;
|
|
1584
|
+
bound.prototype = new Empty();
|
|
1585
|
+
Empty.prototype = null;
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
return bound;
|
|
1589
|
+
};
|
|
1590
|
+
|
|
1591
|
+
var functionBind = Function.prototype.bind || implementation$2;
|
|
1592
|
+
|
|
1539
1593
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
1540
1594
|
var shams = function hasSymbols() {
|
|
1541
1595
|
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
@@ -1559,7 +1613,7 @@ var shams = function hasSymbols() {
|
|
|
1559
1613
|
|
|
1560
1614
|
var symVal = 42;
|
|
1561
1615
|
obj[sym] = symVal;
|
|
1562
|
-
for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
|
|
1616
|
+
for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
1563
1617
|
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
1564
1618
|
|
|
1565
1619
|
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
@@ -1577,10 +1631,10 @@ var shams = function hasSymbols() {
|
|
|
1577
1631
|
return true;
|
|
1578
1632
|
};
|
|
1579
1633
|
|
|
1580
|
-
var origSymbol =
|
|
1634
|
+
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
1581
1635
|
|
|
1582
1636
|
|
|
1583
|
-
var hasSymbols$
|
|
1637
|
+
var hasSymbols$3 = function hasNativeSymbols() {
|
|
1584
1638
|
if (typeof origSymbol !== 'function') { return false; }
|
|
1585
1639
|
if (typeof Symbol !== 'function') { return false; }
|
|
1586
1640
|
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
@@ -1589,79 +1643,34 @@ var hasSymbols$1 = function hasNativeSymbols() {
|
|
|
1589
1643
|
return shams();
|
|
1590
1644
|
};
|
|
1591
1645
|
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
1595
|
-
var slice$1 = Array.prototype.slice;
|
|
1596
|
-
var toStr$3 = Object.prototype.toString;
|
|
1597
|
-
var funcType = '[object Function]';
|
|
1598
|
-
|
|
1599
|
-
var implementation$1 = function bind(that) {
|
|
1600
|
-
var target = this;
|
|
1601
|
-
if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
|
|
1602
|
-
throw new TypeError(ERROR_MESSAGE + target);
|
|
1603
|
-
}
|
|
1604
|
-
var args = slice$1.call(arguments, 1);
|
|
1605
|
-
|
|
1606
|
-
var bound;
|
|
1607
|
-
var binder = function () {
|
|
1608
|
-
if (this instanceof bound) {
|
|
1609
|
-
var result = target.apply(
|
|
1610
|
-
this,
|
|
1611
|
-
args.concat(slice$1.call(arguments))
|
|
1612
|
-
);
|
|
1613
|
-
if (Object(result) === result) {
|
|
1614
|
-
return result;
|
|
1615
|
-
}
|
|
1616
|
-
return this;
|
|
1617
|
-
} else {
|
|
1618
|
-
return target.apply(
|
|
1619
|
-
that,
|
|
1620
|
-
args.concat(slice$1.call(arguments))
|
|
1621
|
-
);
|
|
1622
|
-
}
|
|
1623
|
-
};
|
|
1624
|
-
|
|
1625
|
-
var boundLength = Math.max(0, target.length - args.length);
|
|
1626
|
-
var boundArgs = [];
|
|
1627
|
-
for (var i = 0; i < boundLength; i++) {
|
|
1628
|
-
boundArgs.push('$' + i);
|
|
1629
|
-
}
|
|
1646
|
+
var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
1630
1647
|
|
|
1631
|
-
|
|
1648
|
+
var undefined$1;
|
|
1632
1649
|
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
bound.prototype = new Empty();
|
|
1637
|
-
Empty.prototype = null;
|
|
1638
|
-
}
|
|
1650
|
+
var $SyntaxError$1 = SyntaxError;
|
|
1651
|
+
var $Function = Function;
|
|
1652
|
+
var $TypeError$5 = TypeError;
|
|
1639
1653
|
|
|
1640
|
-
|
|
1654
|
+
// eslint-disable-next-line consistent-return
|
|
1655
|
+
var getEvalledConstructor = function (expressionSyntax) {
|
|
1656
|
+
try {
|
|
1657
|
+
return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
|
|
1658
|
+
} catch (e) {}
|
|
1641
1659
|
};
|
|
1642
1660
|
|
|
1643
|
-
var
|
|
1644
|
-
|
|
1645
|
-
/* globals
|
|
1646
|
-
Atomics,
|
|
1647
|
-
SharedArrayBuffer,
|
|
1648
|
-
*/
|
|
1649
|
-
|
|
1650
|
-
var undefined$1;
|
|
1651
|
-
|
|
1652
|
-
var $TypeError = TypeError;
|
|
1653
|
-
|
|
1654
|
-
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
1655
|
-
if ($gOPD) {
|
|
1661
|
+
var $gOPD$2 = Object.getOwnPropertyDescriptor;
|
|
1662
|
+
if ($gOPD$2) {
|
|
1656
1663
|
try {
|
|
1657
|
-
$gOPD({}, '');
|
|
1664
|
+
$gOPD$2({}, '');
|
|
1658
1665
|
} catch (e) {
|
|
1659
|
-
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
1666
|
+
$gOPD$2 = null; // this is IE 8, which has a broken gOPD
|
|
1660
1667
|
}
|
|
1661
1668
|
}
|
|
1662
1669
|
|
|
1663
|
-
var throwTypeError = function () {
|
|
1664
|
-
|
|
1670
|
+
var throwTypeError = function () {
|
|
1671
|
+
throw new $TypeError$5();
|
|
1672
|
+
};
|
|
1673
|
+
var ThrowTypeError = $gOPD$2
|
|
1665
1674
|
? (function () {
|
|
1666
1675
|
try {
|
|
1667
1676
|
// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
|
|
@@ -1670,7 +1679,7 @@ var ThrowTypeError = $gOPD
|
|
|
1670
1679
|
} catch (calleeThrows) {
|
|
1671
1680
|
try {
|
|
1672
1681
|
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
|
|
1673
|
-
return $gOPD(arguments, 'callee').get;
|
|
1682
|
+
return $gOPD$2(arguments, 'callee').get;
|
|
1674
1683
|
} catch (gOPDthrows) {
|
|
1675
1684
|
return throwTypeError;
|
|
1676
1685
|
}
|
|
@@ -1678,206 +1687,354 @@ var ThrowTypeError = $gOPD
|
|
|
1678
1687
|
}())
|
|
1679
1688
|
: throwTypeError;
|
|
1680
1689
|
|
|
1681
|
-
var hasSymbols$2 = hasSymbols$
|
|
1690
|
+
var hasSymbols$2 = hasSymbols$3();
|
|
1682
1691
|
|
|
1683
1692
|
var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
|
|
1684
|
-
|
|
1685
|
-
var
|
|
1686
|
-
var asyncGenFunction = undefined$1;
|
|
1693
|
+
|
|
1694
|
+
var needsEval = {};
|
|
1687
1695
|
|
|
1688
1696
|
var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
|
|
1689
1697
|
|
|
1690
1698
|
var INTRINSICS = {
|
|
1699
|
+
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
|
|
1691
1700
|
'%Array%': Array,
|
|
1692
1701
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
|
|
1693
|
-
'%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
|
|
1694
1702
|
'%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
|
|
1695
|
-
'%ArrayPrototype%': Array.prototype,
|
|
1696
|
-
'%ArrayProto_entries%': Array.prototype.entries,
|
|
1697
|
-
'%ArrayProto_forEach%': Array.prototype.forEach,
|
|
1698
|
-
'%ArrayProto_keys%': Array.prototype.keys,
|
|
1699
|
-
'%ArrayProto_values%': Array.prototype.values,
|
|
1700
1703
|
'%AsyncFromSyncIteratorPrototype%': undefined$1,
|
|
1701
|
-
'%AsyncFunction%':
|
|
1702
|
-
'%
|
|
1703
|
-
'%
|
|
1704
|
-
'%
|
|
1705
|
-
'%AsyncGeneratorPrototype%': undefined$1,
|
|
1706
|
-
'%AsyncIteratorPrototype%': undefined$1,
|
|
1704
|
+
'%AsyncFunction%': needsEval,
|
|
1705
|
+
'%AsyncGenerator%': needsEval,
|
|
1706
|
+
'%AsyncGeneratorFunction%': needsEval,
|
|
1707
|
+
'%AsyncIteratorPrototype%': needsEval,
|
|
1707
1708
|
'%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
|
|
1709
|
+
'%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
|
|
1708
1710
|
'%Boolean%': Boolean,
|
|
1709
|
-
'%BooleanPrototype%': Boolean.prototype,
|
|
1710
1711
|
'%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
|
|
1711
|
-
'%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
|
|
1712
1712
|
'%Date%': Date,
|
|
1713
|
-
'%DatePrototype%': Date.prototype,
|
|
1714
1713
|
'%decodeURI%': decodeURI,
|
|
1715
1714
|
'%decodeURIComponent%': decodeURIComponent,
|
|
1716
1715
|
'%encodeURI%': encodeURI,
|
|
1717
1716
|
'%encodeURIComponent%': encodeURIComponent,
|
|
1718
1717
|
'%Error%': Error,
|
|
1719
|
-
'%ErrorPrototype%': Error.prototype,
|
|
1720
1718
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
1721
1719
|
'%EvalError%': EvalError,
|
|
1722
|
-
'%EvalErrorPrototype%': EvalError.prototype,
|
|
1723
1720
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
|
|
1724
|
-
'%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
|
|
1725
1721
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
|
|
1726
|
-
'%
|
|
1727
|
-
'%Function%': Function,
|
|
1728
|
-
'%
|
|
1729
|
-
'%Generator%': undefined$1,
|
|
1730
|
-
'%GeneratorFunction%': generatorFunction,
|
|
1731
|
-
'%GeneratorPrototype%': undefined$1,
|
|
1722
|
+
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
|
|
1723
|
+
'%Function%': $Function,
|
|
1724
|
+
'%GeneratorFunction%': needsEval,
|
|
1732
1725
|
'%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
|
|
1733
|
-
'%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
|
|
1734
1726
|
'%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
|
|
1735
|
-
'%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
|
|
1736
1727
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
|
|
1737
|
-
'%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
|
|
1738
1728
|
'%isFinite%': isFinite,
|
|
1739
1729
|
'%isNaN%': isNaN,
|
|
1740
1730
|
'%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
|
|
1741
1731
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
|
|
1742
|
-
'%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
|
|
1743
1732
|
'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
|
|
1744
1733
|
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
|
|
1745
|
-
'%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
|
|
1746
1734
|
'%Math%': Math,
|
|
1747
1735
|
'%Number%': Number,
|
|
1748
|
-
'%NumberPrototype%': Number.prototype,
|
|
1749
1736
|
'%Object%': Object,
|
|
1750
|
-
'%ObjectPrototype%': Object.prototype,
|
|
1751
|
-
'%ObjProto_toString%': Object.prototype.toString,
|
|
1752
|
-
'%ObjProto_valueOf%': Object.prototype.valueOf,
|
|
1753
1737
|
'%parseFloat%': parseFloat,
|
|
1754
1738
|
'%parseInt%': parseInt,
|
|
1755
1739
|
'%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
|
|
1756
|
-
'%PromisePrototype%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype,
|
|
1757
|
-
'%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype.then,
|
|
1758
|
-
'%Promise_all%': typeof Promise === 'undefined' ? undefined$1 : Promise.all,
|
|
1759
|
-
'%Promise_reject%': typeof Promise === 'undefined' ? undefined$1 : Promise.reject,
|
|
1760
|
-
'%Promise_resolve%': typeof Promise === 'undefined' ? undefined$1 : Promise.resolve,
|
|
1761
1740
|
'%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
|
|
1762
1741
|
'%RangeError%': RangeError,
|
|
1763
|
-
'%RangeErrorPrototype%': RangeError.prototype,
|
|
1764
1742
|
'%ReferenceError%': ReferenceError,
|
|
1765
|
-
'%ReferenceErrorPrototype%': ReferenceError.prototype,
|
|
1766
1743
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
|
|
1767
1744
|
'%RegExp%': RegExp,
|
|
1768
|
-
'%RegExpPrototype%': RegExp.prototype,
|
|
1769
1745
|
'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
|
|
1770
1746
|
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
|
|
1771
|
-
'%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
|
|
1772
1747
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
|
|
1773
|
-
'%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
|
|
1774
1748
|
'%String%': String,
|
|
1775
1749
|
'%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
|
|
1776
|
-
'%StringPrototype%': String.prototype,
|
|
1777
1750
|
'%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
|
|
1778
|
-
'%
|
|
1779
|
-
'%SyntaxError%': SyntaxError,
|
|
1780
|
-
'%SyntaxErrorPrototype%': SyntaxError.prototype,
|
|
1751
|
+
'%SyntaxError%': $SyntaxError$1,
|
|
1781
1752
|
'%ThrowTypeError%': ThrowTypeError,
|
|
1782
1753
|
'%TypedArray%': TypedArray,
|
|
1783
|
-
'%
|
|
1784
|
-
'%TypeError%': $TypeError,
|
|
1785
|
-
'%TypeErrorPrototype%': $TypeError.prototype,
|
|
1754
|
+
'%TypeError%': $TypeError$5,
|
|
1786
1755
|
'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
|
|
1787
|
-
'%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
|
|
1788
1756
|
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
|
|
1789
|
-
'%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
|
|
1790
1757
|
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
|
|
1791
|
-
'%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
|
|
1792
1758
|
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
|
|
1793
|
-
'%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
|
|
1794
1759
|
'%URIError%': URIError,
|
|
1795
|
-
'%URIErrorPrototype%': URIError.prototype,
|
|
1796
1760
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
|
|
1797
|
-
'%
|
|
1798
|
-
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
|
|
1799
|
-
'%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet.prototype
|
|
1761
|
+
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
|
|
1762
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
|
|
1800
1763
|
};
|
|
1801
1764
|
|
|
1765
|
+
var doEval = function doEval(name) {
|
|
1766
|
+
var value;
|
|
1767
|
+
if (name === '%AsyncFunction%') {
|
|
1768
|
+
value = getEvalledConstructor('async function () {}');
|
|
1769
|
+
} else if (name === '%GeneratorFunction%') {
|
|
1770
|
+
value = getEvalledConstructor('function* () {}');
|
|
1771
|
+
} else if (name === '%AsyncGeneratorFunction%') {
|
|
1772
|
+
value = getEvalledConstructor('async function* () {}');
|
|
1773
|
+
} else if (name === '%AsyncGenerator%') {
|
|
1774
|
+
var fn = doEval('%AsyncGeneratorFunction%');
|
|
1775
|
+
if (fn) {
|
|
1776
|
+
value = fn.prototype;
|
|
1777
|
+
}
|
|
1778
|
+
} else if (name === '%AsyncIteratorPrototype%') {
|
|
1779
|
+
var gen = doEval('%AsyncGenerator%');
|
|
1780
|
+
if (gen) {
|
|
1781
|
+
value = getProto(gen.prototype);
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
INTRINSICS[name] = value;
|
|
1802
1786
|
|
|
1787
|
+
return value;
|
|
1788
|
+
};
|
|
1789
|
+
|
|
1790
|
+
var LEGACY_ALIASES = {
|
|
1791
|
+
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
1792
|
+
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
1793
|
+
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
1794
|
+
'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
|
|
1795
|
+
'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
|
|
1796
|
+
'%ArrayProto_values%': ['Array', 'prototype', 'values'],
|
|
1797
|
+
'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
|
|
1798
|
+
'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
|
|
1799
|
+
'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
|
|
1800
|
+
'%BooleanPrototype%': ['Boolean', 'prototype'],
|
|
1801
|
+
'%DataViewPrototype%': ['DataView', 'prototype'],
|
|
1802
|
+
'%DatePrototype%': ['Date', 'prototype'],
|
|
1803
|
+
'%ErrorPrototype%': ['Error', 'prototype'],
|
|
1804
|
+
'%EvalErrorPrototype%': ['EvalError', 'prototype'],
|
|
1805
|
+
'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
|
|
1806
|
+
'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
|
|
1807
|
+
'%FunctionPrototype%': ['Function', 'prototype'],
|
|
1808
|
+
'%Generator%': ['GeneratorFunction', 'prototype'],
|
|
1809
|
+
'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
|
|
1810
|
+
'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
|
|
1811
|
+
'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
|
|
1812
|
+
'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
|
|
1813
|
+
'%JSONParse%': ['JSON', 'parse'],
|
|
1814
|
+
'%JSONStringify%': ['JSON', 'stringify'],
|
|
1815
|
+
'%MapPrototype%': ['Map', 'prototype'],
|
|
1816
|
+
'%NumberPrototype%': ['Number', 'prototype'],
|
|
1817
|
+
'%ObjectPrototype%': ['Object', 'prototype'],
|
|
1818
|
+
'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
|
|
1819
|
+
'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
|
|
1820
|
+
'%PromisePrototype%': ['Promise', 'prototype'],
|
|
1821
|
+
'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
|
|
1822
|
+
'%Promise_all%': ['Promise', 'all'],
|
|
1823
|
+
'%Promise_reject%': ['Promise', 'reject'],
|
|
1824
|
+
'%Promise_resolve%': ['Promise', 'resolve'],
|
|
1825
|
+
'%RangeErrorPrototype%': ['RangeError', 'prototype'],
|
|
1826
|
+
'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
|
|
1827
|
+
'%RegExpPrototype%': ['RegExp', 'prototype'],
|
|
1828
|
+
'%SetPrototype%': ['Set', 'prototype'],
|
|
1829
|
+
'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
|
|
1830
|
+
'%StringPrototype%': ['String', 'prototype'],
|
|
1831
|
+
'%SymbolPrototype%': ['Symbol', 'prototype'],
|
|
1832
|
+
'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
|
|
1833
|
+
'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
|
|
1834
|
+
'%TypeErrorPrototype%': ['TypeError', 'prototype'],
|
|
1835
|
+
'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
|
|
1836
|
+
'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
|
|
1837
|
+
'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
|
|
1838
|
+
'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
|
|
1839
|
+
'%URIErrorPrototype%': ['URIError', 'prototype'],
|
|
1840
|
+
'%WeakMapPrototype%': ['WeakMap', 'prototype'],
|
|
1841
|
+
'%WeakSetPrototype%': ['WeakSet', 'prototype']
|
|
1842
|
+
};
|
|
1843
|
+
|
|
1844
|
+
|
|
1845
|
+
|
|
1846
|
+
var $concat$2 = functionBind.call(Function.call, Array.prototype.concat);
|
|
1847
|
+
var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
|
|
1803
1848
|
var $replace = functionBind.call(Function.call, String.prototype.replace);
|
|
1849
|
+
var $strSlice = functionBind.call(Function.call, String.prototype.slice);
|
|
1804
1850
|
|
|
1805
1851
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
1806
1852
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
1807
1853
|
var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
|
|
1808
1854
|
var stringToPath = function stringToPath(string) {
|
|
1855
|
+
var first = $strSlice(string, 0, 1);
|
|
1856
|
+
var last = $strSlice(string, -1);
|
|
1857
|
+
if (first === '%' && last !== '%') {
|
|
1858
|
+
throw new $SyntaxError$1('invalid intrinsic syntax, expected closing `%`');
|
|
1859
|
+
} else if (last === '%' && first !== '%') {
|
|
1860
|
+
throw new $SyntaxError$1('invalid intrinsic syntax, expected opening `%`');
|
|
1861
|
+
}
|
|
1809
1862
|
var result = [];
|
|
1810
1863
|
$replace(string, rePropName, function (match, number, quote, subString) {
|
|
1811
|
-
result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') :
|
|
1864
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
|
|
1812
1865
|
});
|
|
1813
1866
|
return result;
|
|
1814
1867
|
};
|
|
1815
1868
|
/* end adaptation */
|
|
1816
1869
|
|
|
1817
1870
|
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
1818
|
-
|
|
1819
|
-
|
|
1871
|
+
var intrinsicName = name;
|
|
1872
|
+
var alias;
|
|
1873
|
+
if (src(LEGACY_ALIASES, intrinsicName)) {
|
|
1874
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
1875
|
+
intrinsicName = '%' + alias[0] + '%';
|
|
1820
1876
|
}
|
|
1821
1877
|
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1878
|
+
if (src(INTRINSICS, intrinsicName)) {
|
|
1879
|
+
var value = INTRINSICS[intrinsicName];
|
|
1880
|
+
if (value === needsEval) {
|
|
1881
|
+
value = doEval(intrinsicName);
|
|
1882
|
+
}
|
|
1883
|
+
if (typeof value === 'undefined' && !allowMissing) {
|
|
1884
|
+
throw new $TypeError$5('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
return {
|
|
1888
|
+
alias: alias,
|
|
1889
|
+
name: intrinsicName,
|
|
1890
|
+
value: value
|
|
1891
|
+
};
|
|
1825
1892
|
}
|
|
1826
1893
|
|
|
1827
|
-
|
|
1894
|
+
throw new $SyntaxError$1('intrinsic ' + name + ' does not exist!');
|
|
1828
1895
|
};
|
|
1829
1896
|
|
|
1830
|
-
var
|
|
1897
|
+
var getIntrinsic = function GetIntrinsic(name, allowMissing) {
|
|
1831
1898
|
if (typeof name !== 'string' || name.length === 0) {
|
|
1832
|
-
throw new TypeError('intrinsic name must be a non-empty string');
|
|
1899
|
+
throw new $TypeError$5('intrinsic name must be a non-empty string');
|
|
1833
1900
|
}
|
|
1834
1901
|
if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
|
|
1835
|
-
throw new TypeError('"allowMissing" argument must be a boolean');
|
|
1902
|
+
throw new $TypeError$5('"allowMissing" argument must be a boolean');
|
|
1836
1903
|
}
|
|
1837
1904
|
|
|
1838
1905
|
var parts = stringToPath(name);
|
|
1906
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
1907
|
+
|
|
1908
|
+
var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
|
|
1909
|
+
var intrinsicRealName = intrinsic.name;
|
|
1910
|
+
var value = intrinsic.value;
|
|
1911
|
+
var skipFurtherCaching = false;
|
|
1912
|
+
|
|
1913
|
+
var alias = intrinsic.alias;
|
|
1914
|
+
if (alias) {
|
|
1915
|
+
intrinsicBaseName = alias[0];
|
|
1916
|
+
$spliceApply(parts, $concat$2([0, 1], alias));
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
1920
|
+
var part = parts[i];
|
|
1921
|
+
var first = $strSlice(part, 0, 1);
|
|
1922
|
+
var last = $strSlice(part, -1);
|
|
1923
|
+
if (
|
|
1924
|
+
(
|
|
1925
|
+
(first === '"' || first === "'" || first === '`')
|
|
1926
|
+
|| (last === '"' || last === "'" || last === '`')
|
|
1927
|
+
)
|
|
1928
|
+
&& first !== last
|
|
1929
|
+
) {
|
|
1930
|
+
throw new $SyntaxError$1('property names with quotes must have matching quotes');
|
|
1931
|
+
}
|
|
1932
|
+
if (part === 'constructor' || !isOwn) {
|
|
1933
|
+
skipFurtherCaching = true;
|
|
1934
|
+
}
|
|
1839
1935
|
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1936
|
+
intrinsicBaseName += '.' + part;
|
|
1937
|
+
intrinsicRealName = '%' + intrinsicBaseName + '%';
|
|
1938
|
+
|
|
1939
|
+
if (src(INTRINSICS, intrinsicRealName)) {
|
|
1940
|
+
value = INTRINSICS[intrinsicRealName];
|
|
1941
|
+
} else if (value != null) {
|
|
1942
|
+
if (!(part in value)) {
|
|
1943
|
+
if (!allowMissing) {
|
|
1944
|
+
throw new $TypeError$5('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
1945
|
+
}
|
|
1946
|
+
return void undefined$1;
|
|
1947
|
+
}
|
|
1948
|
+
if ($gOPD$2 && (i + 1) >= parts.length) {
|
|
1949
|
+
var desc = $gOPD$2(value, part);
|
|
1950
|
+
isOwn = !!desc;
|
|
1951
|
+
|
|
1952
|
+
// By convention, when a data property is converted to an accessor
|
|
1953
|
+
// property to emulate a data property that does not suffer from
|
|
1954
|
+
// the override mistake, that accessor's getter is marked with
|
|
1955
|
+
// an `originalValue` property. Here, when we detect this, we
|
|
1956
|
+
// uphold the illusion by pretending to see that original data
|
|
1957
|
+
// property, i.e., returning the value rather than the getter
|
|
1958
|
+
// itself.
|
|
1959
|
+
if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
|
|
1960
|
+
value = desc.get;
|
|
1961
|
+
} else {
|
|
1962
|
+
value = value[part];
|
|
1847
1963
|
}
|
|
1848
|
-
value = desc ? (desc.get || desc.value) : value[parts[i]];
|
|
1849
1964
|
} else {
|
|
1850
|
-
|
|
1965
|
+
isOwn = src(value, part);
|
|
1966
|
+
value = value[part];
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
if (isOwn && !skipFurtherCaching) {
|
|
1970
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
1851
1971
|
}
|
|
1852
1972
|
}
|
|
1853
1973
|
}
|
|
1854
1974
|
return value;
|
|
1855
1975
|
};
|
|
1856
1976
|
|
|
1857
|
-
var
|
|
1858
|
-
|
|
1859
|
-
|
|
1977
|
+
var callBind = createCommonjsModule(function (module) {
|
|
1978
|
+
|
|
1979
|
+
|
|
1980
|
+
|
|
1981
|
+
|
|
1982
|
+
var $apply = getIntrinsic('%Function.prototype.apply%');
|
|
1983
|
+
var $call = getIntrinsic('%Function.prototype.call%');
|
|
1984
|
+
var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
|
|
1985
|
+
|
|
1986
|
+
var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);
|
|
1987
|
+
var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
|
|
1988
|
+
var $max = getIntrinsic('%Math.max%');
|
|
1989
|
+
|
|
1990
|
+
if ($defineProperty) {
|
|
1991
|
+
try {
|
|
1992
|
+
$defineProperty({}, 'a', { value: 1 });
|
|
1993
|
+
} catch (e) {
|
|
1994
|
+
// IE 8 has a broken defineProperty
|
|
1995
|
+
$defineProperty = null;
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1860
1998
|
|
|
1861
|
-
|
|
1862
|
-
|
|
1999
|
+
module.exports = function callBind(originalFunction) {
|
|
2000
|
+
var func = $reflectApply(functionBind, $call, arguments);
|
|
2001
|
+
if ($gOPD && $defineProperty) {
|
|
2002
|
+
var desc = $gOPD(func, 'length');
|
|
2003
|
+
if (desc.configurable) {
|
|
2004
|
+
// original length, plus the receiver, minus any additional arguments (after the receiver)
|
|
2005
|
+
$defineProperty(
|
|
2006
|
+
func,
|
|
2007
|
+
'length',
|
|
2008
|
+
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
|
2009
|
+
);
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
return func;
|
|
1863
2013
|
};
|
|
1864
2014
|
|
|
1865
|
-
var
|
|
1866
|
-
return functionBind
|
|
2015
|
+
var applyBind = function applyBind() {
|
|
2016
|
+
return $reflectApply(functionBind, $apply, arguments);
|
|
1867
2017
|
};
|
|
1868
|
-
callBind.apply = apply;
|
|
1869
2018
|
|
|
1870
|
-
|
|
2019
|
+
if ($defineProperty) {
|
|
2020
|
+
$defineProperty(module.exports, 'apply', { value: applyBind });
|
|
2021
|
+
} else {
|
|
2022
|
+
module.exports.apply = applyBind;
|
|
2023
|
+
}
|
|
2024
|
+
});
|
|
2025
|
+
callBind.apply;
|
|
1871
2026
|
|
|
1872
|
-
var
|
|
1873
|
-
|
|
1874
|
-
|
|
2027
|
+
var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
|
|
2028
|
+
|
|
2029
|
+
var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
|
|
2030
|
+
var intrinsic = getIntrinsic(name, !!allowMissing);
|
|
2031
|
+
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
1875
2032
|
return callBind(intrinsic);
|
|
1876
2033
|
}
|
|
1877
2034
|
return intrinsic;
|
|
1878
2035
|
};
|
|
1879
2036
|
|
|
1880
|
-
var $defineProperty =
|
|
2037
|
+
var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
|
|
1881
2038
|
|
|
1882
2039
|
if ($defineProperty) {
|
|
1883
2040
|
try {
|
|
@@ -1890,7 +2047,7 @@ if ($defineProperty) {
|
|
|
1890
2047
|
|
|
1891
2048
|
|
|
1892
2049
|
|
|
1893
|
-
var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
|
|
2050
|
+
var $isEnumerable$1 = callBound$1('Object.prototype.propertyIsEnumerable');
|
|
1894
2051
|
|
|
1895
2052
|
// eslint-disable-next-line max-params
|
|
1896
2053
|
var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {
|
|
@@ -1904,7 +2061,7 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
|
|
|
1904
2061
|
}
|
|
1905
2062
|
|
|
1906
2063
|
// fallback for ES3
|
|
1907
|
-
if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {
|
|
2064
|
+
if (P in O && $isEnumerable$1(O, P) !== !!desc['[[Enumerable]]']) {
|
|
1908
2065
|
// a non-enumerable existing property
|
|
1909
2066
|
return false;
|
|
1910
2067
|
}
|
|
@@ -1919,15 +2076,13 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
|
|
|
1919
2076
|
return true;
|
|
1920
2077
|
};
|
|
1921
2078
|
|
|
1922
|
-
var
|
|
1923
|
-
|
|
1924
|
-
var $TypeError$1 = GetIntrinsic('%TypeError%');
|
|
1925
|
-
var $SyntaxError = GetIntrinsic('%SyntaxError%');
|
|
2079
|
+
var $TypeError$4 = getIntrinsic('%TypeError%');
|
|
2080
|
+
var $SyntaxError = getIntrinsic('%SyntaxError%');
|
|
1926
2081
|
|
|
1927
2082
|
|
|
1928
2083
|
|
|
1929
2084
|
var predicates = {
|
|
1930
|
-
// https://ecma-international.org/
|
|
2085
|
+
// https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type
|
|
1931
2086
|
'Property Descriptor': function isPropertyDescriptor(Type, Desc) {
|
|
1932
2087
|
if (Type(Desc) !== 'Object') {
|
|
1933
2088
|
return false;
|
|
@@ -1950,7 +2105,7 @@ var predicates = {
|
|
|
1950
2105
|
var isData = src(Desc, '[[Value]]');
|
|
1951
2106
|
var IsAccessor = src(Desc, '[[Get]]') || src(Desc, '[[Set]]');
|
|
1952
2107
|
if (isData && IsAccessor) {
|
|
1953
|
-
throw new $TypeError$
|
|
2108
|
+
throw new $TypeError$4('Property Descriptors may not be both accessor and data descriptors');
|
|
1954
2109
|
}
|
|
1955
2110
|
return true;
|
|
1956
2111
|
}
|
|
@@ -1962,13 +2117,13 @@ var assertRecord = function assertRecord(Type, recordType, argumentName, value)
|
|
|
1962
2117
|
throw new $SyntaxError('unknown record type: ' + recordType);
|
|
1963
2118
|
}
|
|
1964
2119
|
if (!predicate(Type, value)) {
|
|
1965
|
-
throw new $TypeError$
|
|
2120
|
+
throw new $TypeError$4(argumentName + ' must be a ' + recordType);
|
|
1966
2121
|
}
|
|
1967
2122
|
};
|
|
1968
2123
|
|
|
1969
|
-
// https://
|
|
2124
|
+
// https://262.ecma-international.org/5.1/#sec-8
|
|
1970
2125
|
|
|
1971
|
-
var Type = function Type(x) {
|
|
2126
|
+
var Type$1 = function Type(x) {
|
|
1972
2127
|
if (x === null) {
|
|
1973
2128
|
return 'Null';
|
|
1974
2129
|
}
|
|
@@ -1989,23 +2144,26 @@ var Type = function Type(x) {
|
|
|
1989
2144
|
}
|
|
1990
2145
|
};
|
|
1991
2146
|
|
|
1992
|
-
// https://
|
|
2147
|
+
// https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values
|
|
1993
2148
|
|
|
1994
|
-
var Type
|
|
2149
|
+
var Type = function Type(x) {
|
|
1995
2150
|
if (typeof x === 'symbol') {
|
|
1996
2151
|
return 'Symbol';
|
|
1997
2152
|
}
|
|
1998
|
-
|
|
2153
|
+
if (typeof x === 'bigint') {
|
|
2154
|
+
return 'BigInt';
|
|
2155
|
+
}
|
|
2156
|
+
return Type$1(x);
|
|
1999
2157
|
};
|
|
2000
2158
|
|
|
2001
|
-
// https://
|
|
2159
|
+
// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
|
|
2002
2160
|
|
|
2003
2161
|
var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
|
|
2004
2162
|
if (typeof Desc === 'undefined') {
|
|
2005
2163
|
return Desc;
|
|
2006
2164
|
}
|
|
2007
2165
|
|
|
2008
|
-
assertRecord(Type
|
|
2166
|
+
assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
|
|
2009
2167
|
|
|
2010
2168
|
var obj = {};
|
|
2011
2169
|
if ('[[Value]]' in Desc) {
|
|
@@ -2029,7 +2187,7 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
|
|
|
2029
2187
|
return obj;
|
|
2030
2188
|
};
|
|
2031
2189
|
|
|
2032
|
-
var $gOPD$1 =
|
|
2190
|
+
var $gOPD$1 = getIntrinsic('%Object.getOwnPropertyDescriptor%');
|
|
2033
2191
|
if ($gOPD$1) {
|
|
2034
2192
|
try {
|
|
2035
2193
|
$gOPD$1([], 'length');
|
|
@@ -2041,65 +2199,85 @@ if ($gOPD$1) {
|
|
|
2041
2199
|
|
|
2042
2200
|
var getOwnPropertyDescriptor = $gOPD$1;
|
|
2043
2201
|
|
|
2044
|
-
var $Array =
|
|
2202
|
+
var $Array = getIntrinsic('%Array%');
|
|
2045
2203
|
|
|
2046
2204
|
// eslint-disable-next-line global-require
|
|
2047
|
-
var toStr$
|
|
2205
|
+
var toStr$1 = !$Array.isArray && callBound$1('Object.prototype.toString');
|
|
2048
2206
|
|
|
2049
|
-
// https://
|
|
2207
|
+
// https://ecma-international.org/ecma-262/6.0/#sec-isarray
|
|
2050
2208
|
|
|
2051
2209
|
var IsArray = $Array.isArray || function IsArray(argument) {
|
|
2052
|
-
return toStr$
|
|
2210
|
+
return toStr$1(argument) === '[object Array]';
|
|
2053
2211
|
};
|
|
2054
2212
|
|
|
2055
|
-
// https://
|
|
2213
|
+
// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
|
|
2056
2214
|
|
|
2057
2215
|
var IsPropertyKey = function IsPropertyKey(argument) {
|
|
2058
2216
|
return typeof argument === 'string' || typeof argument === 'symbol';
|
|
2059
2217
|
};
|
|
2060
2218
|
|
|
2061
|
-
var
|
|
2062
|
-
var
|
|
2219
|
+
var hasSymbols$1 = hasSymbols$3();
|
|
2220
|
+
var hasToStringTag$1 = hasSymbols$1 && typeof Symbol.toStringTag === 'symbol';
|
|
2221
|
+
var has;
|
|
2222
|
+
var $exec;
|
|
2223
|
+
var isRegexMarker;
|
|
2224
|
+
var badStringifier;
|
|
2063
2225
|
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2226
|
+
if (hasToStringTag$1) {
|
|
2227
|
+
has = callBound$1('Object.prototype.hasOwnProperty');
|
|
2228
|
+
$exec = callBound$1('RegExp.prototype.exec');
|
|
2229
|
+
isRegexMarker = {};
|
|
2068
2230
|
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
}
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2231
|
+
var throwRegexMarker = function () {
|
|
2232
|
+
throw isRegexMarker;
|
|
2233
|
+
};
|
|
2234
|
+
badStringifier = {
|
|
2235
|
+
toString: throwRegexMarker,
|
|
2236
|
+
valueOf: throwRegexMarker
|
|
2237
|
+
};
|
|
2238
|
+
|
|
2239
|
+
if (typeof Symbol.toPrimitive === 'symbol') {
|
|
2240
|
+
badStringifier[Symbol.toPrimitive] = throwRegexMarker;
|
|
2075
2241
|
}
|
|
2076
|
-
}
|
|
2077
|
-
|
|
2242
|
+
}
|
|
2243
|
+
|
|
2244
|
+
var $toString = callBound$1('Object.prototype.toString');
|
|
2245
|
+
var gOPD = Object.getOwnPropertyDescriptor;
|
|
2078
2246
|
var regexClass = '[object RegExp]';
|
|
2079
|
-
var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
|
|
2080
2247
|
|
|
2081
|
-
var isRegex =
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
}
|
|
2248
|
+
var isRegex = hasToStringTag$1
|
|
2249
|
+
// eslint-disable-next-line consistent-return
|
|
2250
|
+
? function isRegex(value) {
|
|
2251
|
+
if (!value || typeof value !== 'object') {
|
|
2252
|
+
return false;
|
|
2253
|
+
}
|
|
2088
2254
|
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2255
|
+
var descriptor = gOPD(value, 'lastIndex');
|
|
2256
|
+
var hasLastIndexDataProperty = descriptor && has(descriptor, 'value');
|
|
2257
|
+
if (!hasLastIndexDataProperty) {
|
|
2258
|
+
return false;
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
try {
|
|
2262
|
+
$exec(value, badStringifier);
|
|
2263
|
+
} catch (e) {
|
|
2264
|
+
return e === isRegexMarker;
|
|
2265
|
+
}
|
|
2093
2266
|
}
|
|
2267
|
+
: function isRegex(value) {
|
|
2268
|
+
// In older browsers, typeof regex incorrectly returns 'function'
|
|
2269
|
+
if (!value || (typeof value !== 'object' && typeof value !== 'function')) {
|
|
2270
|
+
return false;
|
|
2271
|
+
}
|
|
2094
2272
|
|
|
2095
|
-
|
|
2096
|
-
};
|
|
2273
|
+
return $toString(value) === regexClass;
|
|
2274
|
+
};
|
|
2097
2275
|
|
|
2098
|
-
// http://
|
|
2276
|
+
// http://262.ecma-international.org/5.1/#sec-9.2
|
|
2099
2277
|
|
|
2100
2278
|
var ToBoolean = function ToBoolean(value) { return !!value; };
|
|
2101
2279
|
|
|
2102
|
-
var $match =
|
|
2280
|
+
var $match = getIntrinsic('%Symbol.match%', true);
|
|
2103
2281
|
|
|
2104
2282
|
|
|
2105
2283
|
|
|
@@ -2121,6 +2299,27 @@ var IsRegExp = function IsRegExp(argument) {
|
|
|
2121
2299
|
};
|
|
2122
2300
|
|
|
2123
2301
|
var fnToStr = Function.prototype.toString;
|
|
2302
|
+
var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
|
|
2303
|
+
var badArrayLike;
|
|
2304
|
+
var isCallableMarker;
|
|
2305
|
+
if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
|
|
2306
|
+
try {
|
|
2307
|
+
badArrayLike = Object.defineProperty({}, 'length', {
|
|
2308
|
+
get: function () {
|
|
2309
|
+
throw isCallableMarker;
|
|
2310
|
+
}
|
|
2311
|
+
});
|
|
2312
|
+
isCallableMarker = {};
|
|
2313
|
+
// eslint-disable-next-line no-throw-literal
|
|
2314
|
+
reflectApply(function () { throw 42; }, null, badArrayLike);
|
|
2315
|
+
} catch (_) {
|
|
2316
|
+
if (_ !== isCallableMarker) {
|
|
2317
|
+
reflectApply = null;
|
|
2318
|
+
}
|
|
2319
|
+
}
|
|
2320
|
+
} else {
|
|
2321
|
+
reflectApply = null;
|
|
2322
|
+
}
|
|
2124
2323
|
|
|
2125
2324
|
var constructorRegex = /^\s*class\b/;
|
|
2126
2325
|
var isES6ClassFn = function isES6ClassFunction(value) {
|
|
@@ -2141,36 +2340,52 @@ var tryFunctionObject = function tryFunctionToStr(value) {
|
|
|
2141
2340
|
return false;
|
|
2142
2341
|
}
|
|
2143
2342
|
};
|
|
2144
|
-
var toStr
|
|
2343
|
+
var toStr = Object.prototype.toString;
|
|
2145
2344
|
var fnClass = '[object Function]';
|
|
2146
2345
|
var genClass = '[object GeneratorFunction]';
|
|
2147
|
-
var hasToStringTag
|
|
2148
|
-
|
|
2149
|
-
var
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2346
|
+
var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
|
|
2347
|
+
/* globals document: false */
|
|
2348
|
+
var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
|
|
2349
|
+
|
|
2350
|
+
var isCallable = reflectApply
|
|
2351
|
+
? function isCallable(value) {
|
|
2352
|
+
if (value === documentDotAll) { return true; }
|
|
2353
|
+
if (!value) { return false; }
|
|
2354
|
+
if (typeof value !== 'function' && typeof value !== 'object') { return false; }
|
|
2355
|
+
if (typeof value === 'function' && !value.prototype) { return true; }
|
|
2356
|
+
try {
|
|
2357
|
+
reflectApply(value, null, badArrayLike);
|
|
2358
|
+
} catch (e) {
|
|
2359
|
+
if (e !== isCallableMarker) { return false; }
|
|
2360
|
+
}
|
|
2361
|
+
return !isES6ClassFn(value);
|
|
2362
|
+
}
|
|
2363
|
+
: function isCallable(value) {
|
|
2364
|
+
if (value === documentDotAll) { return true; }
|
|
2365
|
+
if (!value) { return false; }
|
|
2366
|
+
if (typeof value !== 'function' && typeof value !== 'object') { return false; }
|
|
2367
|
+
if (typeof value === 'function' && !value.prototype) { return true; }
|
|
2368
|
+
if (hasToStringTag) { return tryFunctionObject(value); }
|
|
2369
|
+
if (isES6ClassFn(value)) { return false; }
|
|
2370
|
+
var strClass = toStr.call(value);
|
|
2371
|
+
return strClass === fnClass || strClass === genClass;
|
|
2372
|
+
};
|
|
2158
2373
|
|
|
2159
|
-
// http://
|
|
2374
|
+
// http://262.ecma-international.org/5.1/#sec-9.11
|
|
2160
2375
|
|
|
2161
2376
|
var IsCallable = isCallable;
|
|
2162
2377
|
|
|
2163
|
-
var $TypeError$
|
|
2378
|
+
var $TypeError$3 = getIntrinsic('%TypeError%');
|
|
2164
2379
|
|
|
2165
2380
|
|
|
2166
2381
|
|
|
2167
2382
|
|
|
2168
2383
|
|
|
2169
|
-
// https://ecma-international.org/
|
|
2384
|
+
// https://262.ecma-international.org/5.1/#sec-8.10.5
|
|
2170
2385
|
|
|
2171
2386
|
var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
|
|
2172
|
-
if (Type
|
|
2173
|
-
throw new $TypeError$
|
|
2387
|
+
if (Type(Obj) !== 'Object') {
|
|
2388
|
+
throw new $TypeError$3('ToPropertyDescriptor requires an object');
|
|
2174
2389
|
}
|
|
2175
2390
|
|
|
2176
2391
|
var desc = {};
|
|
@@ -2189,29 +2404,29 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
|
|
|
2189
2404
|
if (src(Obj, 'get')) {
|
|
2190
2405
|
var getter = Obj.get;
|
|
2191
2406
|
if (typeof getter !== 'undefined' && !IsCallable(getter)) {
|
|
2192
|
-
throw new TypeError('getter must be a function');
|
|
2407
|
+
throw new $TypeError$3('getter must be a function');
|
|
2193
2408
|
}
|
|
2194
2409
|
desc['[[Get]]'] = getter;
|
|
2195
2410
|
}
|
|
2196
2411
|
if (src(Obj, 'set')) {
|
|
2197
2412
|
var setter = Obj.set;
|
|
2198
2413
|
if (typeof setter !== 'undefined' && !IsCallable(setter)) {
|
|
2199
|
-
throw new $TypeError$
|
|
2414
|
+
throw new $TypeError$3('setter must be a function');
|
|
2200
2415
|
}
|
|
2201
2416
|
desc['[[Set]]'] = setter;
|
|
2202
2417
|
}
|
|
2203
2418
|
|
|
2204
2419
|
if ((src(desc, '[[Get]]') || src(desc, '[[Set]]')) && (src(desc, '[[Value]]') || src(desc, '[[Writable]]'))) {
|
|
2205
|
-
throw new $TypeError$
|
|
2420
|
+
throw new $TypeError$3('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
|
|
2206
2421
|
}
|
|
2207
2422
|
return desc;
|
|
2208
2423
|
};
|
|
2209
2424
|
|
|
2210
|
-
var $TypeError$
|
|
2425
|
+
var $TypeError$2 = getIntrinsic('%TypeError%');
|
|
2211
2426
|
|
|
2212
2427
|
|
|
2213
2428
|
|
|
2214
|
-
var $isEnumerable
|
|
2429
|
+
var $isEnumerable = callBound$1('Object.prototype.propertyIsEnumerable');
|
|
2215
2430
|
|
|
2216
2431
|
|
|
2217
2432
|
|
|
@@ -2221,14 +2436,14 @@ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
|
|
|
2221
2436
|
|
|
2222
2437
|
|
|
2223
2438
|
|
|
2224
|
-
// https://
|
|
2439
|
+
// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
|
|
2225
2440
|
|
|
2226
2441
|
var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
|
|
2227
|
-
if (Type
|
|
2228
|
-
throw new $TypeError$
|
|
2442
|
+
if (Type(O) !== 'Object') {
|
|
2443
|
+
throw new $TypeError$2('Assertion failed: O must be an Object');
|
|
2229
2444
|
}
|
|
2230
2445
|
if (!IsPropertyKey(P)) {
|
|
2231
|
-
throw new $TypeError$
|
|
2446
|
+
throw new $TypeError$2('Assertion failed: P must be a Property Key');
|
|
2232
2447
|
}
|
|
2233
2448
|
if (!src(O, P)) {
|
|
2234
2449
|
return void 0;
|
|
@@ -2239,7 +2454,7 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
|
|
|
2239
2454
|
var regexLastIndex = IsRegExp(O) && P === 'lastIndex';
|
|
2240
2455
|
return {
|
|
2241
2456
|
'[[Configurable]]': !(arrayLength || regexLastIndex),
|
|
2242
|
-
'[[Enumerable]]': $isEnumerable
|
|
2457
|
+
'[[Enumerable]]': $isEnumerable(O, P),
|
|
2243
2458
|
'[[Value]]': O[P],
|
|
2244
2459
|
'[[Writable]]': true
|
|
2245
2460
|
};
|
|
@@ -2247,14 +2462,14 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
|
|
|
2247
2462
|
return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
|
|
2248
2463
|
};
|
|
2249
2464
|
|
|
2250
|
-
// https://
|
|
2465
|
+
// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
|
|
2251
2466
|
|
|
2252
2467
|
var IsDataDescriptor = function IsDataDescriptor(Desc) {
|
|
2253
2468
|
if (typeof Desc === 'undefined') {
|
|
2254
2469
|
return false;
|
|
2255
2470
|
}
|
|
2256
2471
|
|
|
2257
|
-
assertRecord(Type
|
|
2472
|
+
assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
|
|
2258
2473
|
|
|
2259
2474
|
if (!src(Desc, '[[Value]]') && !src(Desc, '[[Writable]]')) {
|
|
2260
2475
|
return false;
|
|
@@ -2267,14 +2482,14 @@ var isPrimitive = function isPrimitive(value) {
|
|
|
2267
2482
|
return value === null || (typeof value !== 'function' && typeof value !== 'object');
|
|
2268
2483
|
};
|
|
2269
2484
|
|
|
2270
|
-
var $Object =
|
|
2485
|
+
var $Object$1 = getIntrinsic('%Object%');
|
|
2271
2486
|
|
|
2272
2487
|
|
|
2273
2488
|
|
|
2274
|
-
var $preventExtensions = $Object.preventExtensions;
|
|
2275
|
-
var $isExtensible = $Object.isExtensible;
|
|
2489
|
+
var $preventExtensions = $Object$1.preventExtensions;
|
|
2490
|
+
var $isExtensible = $Object$1.isExtensible;
|
|
2276
2491
|
|
|
2277
|
-
// https://
|
|
2492
|
+
// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
|
|
2278
2493
|
|
|
2279
2494
|
var IsExtensible = $preventExtensions
|
|
2280
2495
|
? function IsExtensible(obj) {
|
|
@@ -2288,7 +2503,7 @@ var _isNaN = Number.isNaN || function isNaN(a) {
|
|
|
2288
2503
|
return a !== a;
|
|
2289
2504
|
};
|
|
2290
2505
|
|
|
2291
|
-
// http://
|
|
2506
|
+
// http://262.ecma-international.org/5.1/#sec-9.12
|
|
2292
2507
|
|
|
2293
2508
|
var SameValue = function SameValue(x, y) {
|
|
2294
2509
|
if (x === y) { // 0 === -0, but they are not identical.
|
|
@@ -2298,7 +2513,7 @@ var SameValue = function SameValue(x, y) {
|
|
|
2298
2513
|
return _isNaN(x) && _isNaN(y);
|
|
2299
2514
|
};
|
|
2300
2515
|
|
|
2301
|
-
var $TypeError$
|
|
2516
|
+
var $TypeError$1 = getIntrinsic('%TypeError%');
|
|
2302
2517
|
|
|
2303
2518
|
|
|
2304
2519
|
|
|
@@ -2310,18 +2525,18 @@ var $TypeError$4 = GetIntrinsic('%TypeError%');
|
|
|
2310
2525
|
|
|
2311
2526
|
|
|
2312
2527
|
|
|
2313
|
-
// https://
|
|
2528
|
+
// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
|
|
2314
2529
|
|
|
2315
2530
|
var CreateDataProperty = function CreateDataProperty(O, P, V) {
|
|
2316
|
-
if (Type
|
|
2317
|
-
throw new $TypeError$
|
|
2531
|
+
if (Type(O) !== 'Object') {
|
|
2532
|
+
throw new $TypeError$1('Assertion failed: Type(O) is not Object');
|
|
2318
2533
|
}
|
|
2319
2534
|
if (!IsPropertyKey(P)) {
|
|
2320
|
-
throw new $TypeError$
|
|
2535
|
+
throw new $TypeError$1('Assertion failed: IsPropertyKey(P) is not true');
|
|
2321
2536
|
}
|
|
2322
2537
|
var oldDesc = OrdinaryGetOwnProperty(O, P);
|
|
2323
|
-
var extensible = oldDesc || IsExtensible(O);
|
|
2324
|
-
var immutable = oldDesc && (!oldDesc
|
|
2538
|
+
var extensible = !oldDesc || IsExtensible(O);
|
|
2539
|
+
var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
|
|
2325
2540
|
if (immutable || !extensible) {
|
|
2326
2541
|
return false;
|
|
2327
2542
|
}
|
|
@@ -2340,44 +2555,44 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
|
|
|
2340
2555
|
);
|
|
2341
2556
|
};
|
|
2342
2557
|
|
|
2343
|
-
var $TypeError
|
|
2558
|
+
var $TypeError = getIntrinsic('%TypeError%');
|
|
2344
2559
|
|
|
2345
|
-
// http://
|
|
2560
|
+
// http://262.ecma-international.org/5.1/#sec-9.10
|
|
2346
2561
|
|
|
2347
2562
|
var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
|
|
2348
2563
|
if (value == null) {
|
|
2349
|
-
throw new $TypeError
|
|
2564
|
+
throw new $TypeError(optMessage || ('Cannot call method on ' + value));
|
|
2350
2565
|
}
|
|
2351
2566
|
return value;
|
|
2352
2567
|
};
|
|
2353
2568
|
|
|
2354
2569
|
var RequireObjectCoercible = CheckObjectCoercible;
|
|
2355
2570
|
|
|
2356
|
-
var $Object
|
|
2571
|
+
var $Object = getIntrinsic('%Object%');
|
|
2357
2572
|
|
|
2358
2573
|
|
|
2359
2574
|
|
|
2360
|
-
// https://
|
|
2575
|
+
// https://ecma-international.org/ecma-262/6.0/#sec-toobject
|
|
2361
2576
|
|
|
2362
2577
|
var ToObject = function ToObject(value) {
|
|
2363
2578
|
RequireObjectCoercible(value);
|
|
2364
|
-
return $Object
|
|
2579
|
+
return $Object(value);
|
|
2365
2580
|
};
|
|
2366
2581
|
|
|
2367
|
-
var $gOPD
|
|
2582
|
+
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
2368
2583
|
var $getOwnNames = Object.getOwnPropertyNames;
|
|
2369
2584
|
var $getSymbols = Object.getOwnPropertySymbols;
|
|
2370
|
-
var $concat = callBound('Array.prototype.concat');
|
|
2371
|
-
var $reduce = callBound('Array.prototype.reduce');
|
|
2585
|
+
var $concat$1 = callBound$1('Array.prototype.concat');
|
|
2586
|
+
var $reduce = callBound$1('Array.prototype.reduce');
|
|
2372
2587
|
var getAll = $getSymbols ? function (obj) {
|
|
2373
|
-
return $concat($getOwnNames(obj), $getSymbols(obj));
|
|
2588
|
+
return $concat$1($getOwnNames(obj), $getSymbols(obj));
|
|
2374
2589
|
} : $getOwnNames;
|
|
2375
2590
|
|
|
2376
|
-
var isES5 = IsCallable($gOPD
|
|
2591
|
+
var isES5$1 = IsCallable($gOPD) && IsCallable($getOwnNames);
|
|
2377
2592
|
|
|
2378
|
-
var implementation$
|
|
2593
|
+
var implementation$1 = function getOwnPropertyDescriptors(value) {
|
|
2379
2594
|
RequireObjectCoercible(value);
|
|
2380
|
-
if (!isES5) {
|
|
2595
|
+
if (!isES5$1) {
|
|
2381
2596
|
throw new TypeError('getOwnPropertyDescriptors requires Object.getOwnPropertyDescriptor');
|
|
2382
2597
|
}
|
|
2383
2598
|
|
|
@@ -2385,7 +2600,7 @@ var implementation$2 = function getOwnPropertyDescriptors(value) {
|
|
|
2385
2600
|
return $reduce(
|
|
2386
2601
|
getAll(O),
|
|
2387
2602
|
function (acc, key) {
|
|
2388
|
-
var descriptor = $gOPD
|
|
2603
|
+
var descriptor = $gOPD(O, key);
|
|
2389
2604
|
if (typeof descriptor !== 'undefined') {
|
|
2390
2605
|
CreateDataProperty(acc, key, descriptor);
|
|
2391
2606
|
}
|
|
@@ -2395,34 +2610,40 @@ var implementation$2 = function getOwnPropertyDescriptors(value) {
|
|
|
2395
2610
|
);
|
|
2396
2611
|
};
|
|
2397
2612
|
|
|
2398
|
-
var polyfill = function getPolyfill() {
|
|
2399
|
-
return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation$
|
|
2613
|
+
var polyfill$2 = function getPolyfill() {
|
|
2614
|
+
return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation$1;
|
|
2400
2615
|
};
|
|
2401
2616
|
|
|
2402
|
-
var shim = function shimGetOwnPropertyDescriptors() {
|
|
2403
|
-
var polyfill
|
|
2617
|
+
var shim$1 = function shimGetOwnPropertyDescriptors() {
|
|
2618
|
+
var polyfill = polyfill$2();
|
|
2404
2619
|
defineProperties_1(
|
|
2405
2620
|
Object,
|
|
2406
|
-
{ getOwnPropertyDescriptors: polyfill
|
|
2407
|
-
{ getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill
|
|
2621
|
+
{ getOwnPropertyDescriptors: polyfill },
|
|
2622
|
+
{ getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill; } }
|
|
2408
2623
|
);
|
|
2409
|
-
return polyfill
|
|
2624
|
+
return polyfill;
|
|
2410
2625
|
};
|
|
2411
2626
|
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2627
|
+
var bound = callBind(polyfill$2(), Object);
|
|
2628
|
+
|
|
2629
|
+
defineProperties_1(bound, {
|
|
2630
|
+
getPolyfill: polyfill$2,
|
|
2631
|
+
implementation: implementation$1,
|
|
2632
|
+
shim: shim$1
|
|
2416
2633
|
});
|
|
2417
2634
|
|
|
2418
|
-
var object_getownpropertydescriptors =
|
|
2635
|
+
var object_getownpropertydescriptors = bound;
|
|
2636
|
+
|
|
2637
|
+
// TODO; semver-major: remove
|
|
2419
2638
|
|
|
2420
|
-
var
|
|
2639
|
+
var callBound = callBound$1;
|
|
2640
|
+
|
|
2641
|
+
var isES5 = typeof Object.defineProperty === 'function'
|
|
2421
2642
|
&& typeof Object.defineProperties === 'function';
|
|
2422
2643
|
|
|
2423
2644
|
var hasProto = [].__proto__ === Array.prototype; // eslint-disable-line no-proto
|
|
2424
2645
|
|
|
2425
|
-
if (!isES5
|
|
2646
|
+
if (!isES5 || !hasProto) {
|
|
2426
2647
|
throw new TypeError('util.promisify requires a true ES5 environment, that also supports `__proto__`');
|
|
2427
2648
|
}
|
|
2428
2649
|
|
|
@@ -2435,15 +2656,15 @@ if (typeof Promise !== 'function') {
|
|
|
2435
2656
|
|
|
2436
2657
|
|
|
2437
2658
|
var $slice = callBound('Array.prototype.slice');
|
|
2438
|
-
var $concat
|
|
2659
|
+
var $concat = callBound('Array.prototype.concat');
|
|
2439
2660
|
var $forEach = callBound('Array.prototype.forEach');
|
|
2440
2661
|
|
|
2441
|
-
var hasSymbols
|
|
2662
|
+
var hasSymbols = hasSymbols$3();
|
|
2442
2663
|
|
|
2443
|
-
var kCustomPromisifiedSymbol = hasSymbols
|
|
2444
|
-
var kCustomPromisifyArgsSymbol = hasSymbols
|
|
2664
|
+
var kCustomPromisifiedSymbol = hasSymbols ? Symbol('util.promisify.custom') : null;
|
|
2665
|
+
var kCustomPromisifyArgsSymbol = hasSymbols ? Symbol('customPromisifyArgs') : null;
|
|
2445
2666
|
|
|
2446
|
-
var implementation
|
|
2667
|
+
var implementation = function promisify(orig) {
|
|
2447
2668
|
if (typeof orig !== 'function') {
|
|
2448
2669
|
var error = new TypeError('The "original" argument must be of type function');
|
|
2449
2670
|
error.name = 'TypeError [ERR_INVALID_ARG_TYPE]';
|
|
@@ -2451,7 +2672,7 @@ var implementation$3 = function promisify(orig) {
|
|
|
2451
2672
|
throw error;
|
|
2452
2673
|
}
|
|
2453
2674
|
|
|
2454
|
-
if (hasSymbols
|
|
2675
|
+
if (hasSymbols && orig[kCustomPromisifiedSymbol]) {
|
|
2455
2676
|
var customFunction = orig[kCustomPromisifiedSymbol];
|
|
2456
2677
|
if (typeof customFunction !== 'function') {
|
|
2457
2678
|
throw new TypeError('The [util.promisify.custom] property must be a function');
|
|
@@ -2473,7 +2694,7 @@ var implementation$3 = function promisify(orig) {
|
|
|
2473
2694
|
var args = $slice(arguments);
|
|
2474
2695
|
var self = this; // eslint-disable-line no-invalid-this
|
|
2475
2696
|
return new Promise(function (resolve, reject) {
|
|
2476
|
-
orig.apply(self, $concat
|
|
2697
|
+
orig.apply(self, $concat(args, function (err) {
|
|
2477
2698
|
var values = arguments.length > 1 ? $slice(arguments, 1) : [];
|
|
2478
2699
|
if (err) {
|
|
2479
2700
|
reject(err);
|
|
@@ -2503,17 +2724,17 @@ var implementation$3 = function promisify(orig) {
|
|
|
2503
2724
|
|
|
2504
2725
|
var custom = kCustomPromisifiedSymbol;
|
|
2505
2726
|
var customPromisifyArgs = kCustomPromisifyArgsSymbol;
|
|
2506
|
-
implementation
|
|
2507
|
-
implementation
|
|
2727
|
+
implementation.custom = custom;
|
|
2728
|
+
implementation.customPromisifyArgs = customPromisifyArgs;
|
|
2508
2729
|
|
|
2509
2730
|
var polyfill$1 = function getPolyfill() {
|
|
2510
2731
|
if (typeof util.promisify === 'function') {
|
|
2511
2732
|
return util.promisify;
|
|
2512
2733
|
}
|
|
2513
|
-
return implementation
|
|
2734
|
+
return implementation;
|
|
2514
2735
|
};
|
|
2515
2736
|
|
|
2516
|
-
var shim
|
|
2737
|
+
var shim = function shimUtilPromisify() {
|
|
2517
2738
|
var polyfill = polyfill$1();
|
|
2518
2739
|
if (polyfill !== util.promisify) {
|
|
2519
2740
|
Object.defineProperty(util, 'promisify', {
|
|
@@ -2526,20 +2747,20 @@ var shim$1 = function shimUtilPromisify() {
|
|
|
2526
2747
|
return polyfill;
|
|
2527
2748
|
};
|
|
2528
2749
|
|
|
2529
|
-
var polyfill
|
|
2750
|
+
var polyfill = polyfill$1();
|
|
2530
2751
|
|
|
2531
2752
|
|
|
2532
2753
|
/* eslint-disable no-unused-vars */
|
|
2533
2754
|
var boundPromisify = function promisify(orig) {
|
|
2534
2755
|
/* eslint-enable no-unused-vars */
|
|
2535
|
-
return polyfill
|
|
2756
|
+
return polyfill.apply(util, arguments);
|
|
2536
2757
|
};
|
|
2537
2758
|
defineProperties_1(boundPromisify, {
|
|
2538
|
-
custom: polyfill
|
|
2539
|
-
customPromisifyArgs: polyfill
|
|
2759
|
+
custom: polyfill.custom,
|
|
2760
|
+
customPromisifyArgs: polyfill.customPromisifyArgs,
|
|
2540
2761
|
getPolyfill: polyfill$1,
|
|
2541
|
-
implementation: implementation
|
|
2542
|
-
shim: shim
|
|
2762
|
+
implementation: implementation,
|
|
2763
|
+
shim: shim
|
|
2543
2764
|
});
|
|
2544
2765
|
|
|
2545
2766
|
var util_promisify = boundPromisify;
|
|
@@ -2580,334 +2801,16 @@ function connect() {
|
|
|
2580
2801
|
|
|
2581
2802
|
var db = connect;
|
|
2582
2803
|
|
|
2583
|
-
var
|
|
2584
|
-
(function() {
|
|
2585
|
-
var base64map
|
|
2586
|
-
= 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',
|
|
2587
|
-
|
|
2588
|
-
crypt = {
|
|
2589
|
-
// Bit-wise rotation left
|
|
2590
|
-
rotl: function(n, b) {
|
|
2591
|
-
return (n << b) | (n >>> (32 - b));
|
|
2592
|
-
},
|
|
2593
|
-
|
|
2594
|
-
// Bit-wise rotation right
|
|
2595
|
-
rotr: function(n, b) {
|
|
2596
|
-
return (n << (32 - b)) | (n >>> b);
|
|
2597
|
-
},
|
|
2598
|
-
|
|
2599
|
-
// Swap big-endian to little-endian and vice versa
|
|
2600
|
-
endian: function(n) {
|
|
2601
|
-
// If number given, swap endian
|
|
2602
|
-
if (n.constructor == Number) {
|
|
2603
|
-
return crypt.rotl(n, 8) & 0x00FF00FF | crypt.rotl(n, 24) & 0xFF00FF00;
|
|
2604
|
-
}
|
|
2605
|
-
|
|
2606
|
-
// Else, assume array and swap all items
|
|
2607
|
-
for (var i = 0; i < n.length; i++)
|
|
2608
|
-
n[i] = crypt.endian(n[i]);
|
|
2609
|
-
return n;
|
|
2610
|
-
},
|
|
2611
|
-
|
|
2612
|
-
// Generate an array of any length of random bytes
|
|
2613
|
-
randomBytes: function(n) {
|
|
2614
|
-
for (var bytes = []; n > 0; n--)
|
|
2615
|
-
bytes.push(Math.floor(Math.random() * 256));
|
|
2616
|
-
return bytes;
|
|
2617
|
-
},
|
|
2618
|
-
|
|
2619
|
-
// Convert a byte array to big-endian 32-bit words
|
|
2620
|
-
bytesToWords: function(bytes) {
|
|
2621
|
-
for (var words = [], i = 0, b = 0; i < bytes.length; i++, b += 8)
|
|
2622
|
-
words[b >>> 5] |= bytes[i] << (24 - b % 32);
|
|
2623
|
-
return words;
|
|
2624
|
-
},
|
|
2625
|
-
|
|
2626
|
-
// Convert big-endian 32-bit words to a byte array
|
|
2627
|
-
wordsToBytes: function(words) {
|
|
2628
|
-
for (var bytes = [], b = 0; b < words.length * 32; b += 8)
|
|
2629
|
-
bytes.push((words[b >>> 5] >>> (24 - b % 32)) & 0xFF);
|
|
2630
|
-
return bytes;
|
|
2631
|
-
},
|
|
2632
|
-
|
|
2633
|
-
// Convert a byte array to a hex string
|
|
2634
|
-
bytesToHex: function(bytes) {
|
|
2635
|
-
for (var hex = [], i = 0; i < bytes.length; i++) {
|
|
2636
|
-
hex.push((bytes[i] >>> 4).toString(16));
|
|
2637
|
-
hex.push((bytes[i] & 0xF).toString(16));
|
|
2638
|
-
}
|
|
2639
|
-
return hex.join('');
|
|
2640
|
-
},
|
|
2641
|
-
|
|
2642
|
-
// Convert a hex string to a byte array
|
|
2643
|
-
hexToBytes: function(hex) {
|
|
2644
|
-
for (var bytes = [], c = 0; c < hex.length; c += 2)
|
|
2645
|
-
bytes.push(parseInt(hex.substr(c, 2), 16));
|
|
2646
|
-
return bytes;
|
|
2647
|
-
},
|
|
2648
|
-
|
|
2649
|
-
// Convert a byte array to a base-64 string
|
|
2650
|
-
bytesToBase64: function(bytes) {
|
|
2651
|
-
for (var base64 = [], i = 0; i < bytes.length; i += 3) {
|
|
2652
|
-
var triplet = (bytes[i] << 16) | (bytes[i + 1] << 8) | bytes[i + 2];
|
|
2653
|
-
for (var j = 0; j < 4; j++)
|
|
2654
|
-
if (i * 8 + j * 6 <= bytes.length * 8)
|
|
2655
|
-
base64.push(base64map.charAt((triplet >>> 6 * (3 - j)) & 0x3F));
|
|
2656
|
-
else
|
|
2657
|
-
base64.push('=');
|
|
2658
|
-
}
|
|
2659
|
-
return base64.join('');
|
|
2660
|
-
},
|
|
2661
|
-
|
|
2662
|
-
// Convert a base-64 string to a byte array
|
|
2663
|
-
base64ToBytes: function(base64) {
|
|
2664
|
-
// Remove non-base-64 characters
|
|
2665
|
-
base64 = base64.replace(/[^A-Z0-9+\/]/ig, '');
|
|
2666
|
-
|
|
2667
|
-
for (var bytes = [], i = 0, imod4 = 0; i < base64.length;
|
|
2668
|
-
imod4 = ++i % 4) {
|
|
2669
|
-
if (imod4 == 0) continue;
|
|
2670
|
-
bytes.push(((base64map.indexOf(base64.charAt(i - 1))
|
|
2671
|
-
& (Math.pow(2, -2 * imod4 + 8) - 1)) << (imod4 * 2))
|
|
2672
|
-
| (base64map.indexOf(base64.charAt(i)) >>> (6 - imod4 * 2)));
|
|
2673
|
-
}
|
|
2674
|
-
return bytes;
|
|
2675
|
-
}
|
|
2676
|
-
};
|
|
2677
|
-
|
|
2678
|
-
module.exports = crypt;
|
|
2679
|
-
})();
|
|
2680
|
-
});
|
|
2681
|
-
|
|
2682
|
-
var charenc = {
|
|
2683
|
-
// UTF-8 encoding
|
|
2684
|
-
utf8: {
|
|
2685
|
-
// Convert a string to a byte array
|
|
2686
|
-
stringToBytes: function(str) {
|
|
2687
|
-
return charenc.bin.stringToBytes(unescape(encodeURIComponent(str)));
|
|
2688
|
-
},
|
|
2689
|
-
|
|
2690
|
-
// Convert a byte array to a string
|
|
2691
|
-
bytesToString: function(bytes) {
|
|
2692
|
-
return decodeURIComponent(escape(charenc.bin.bytesToString(bytes)));
|
|
2693
|
-
}
|
|
2694
|
-
},
|
|
2695
|
-
|
|
2696
|
-
// Binary encoding
|
|
2697
|
-
bin: {
|
|
2698
|
-
// Convert a string to a byte array
|
|
2699
|
-
stringToBytes: function(str) {
|
|
2700
|
-
for (var bytes = [], i = 0; i < str.length; i++)
|
|
2701
|
-
bytes.push(str.charCodeAt(i) & 0xFF);
|
|
2702
|
-
return bytes;
|
|
2703
|
-
},
|
|
2704
|
-
|
|
2705
|
-
// Convert a byte array to a string
|
|
2706
|
-
bytesToString: function(bytes) {
|
|
2707
|
-
for (var str = [], i = 0; i < bytes.length; i++)
|
|
2708
|
-
str.push(String.fromCharCode(bytes[i]));
|
|
2709
|
-
return str.join('');
|
|
2710
|
-
}
|
|
2711
|
-
}
|
|
2712
|
-
};
|
|
2713
|
-
|
|
2714
|
-
var charenc_1 = charenc;
|
|
2715
|
-
|
|
2716
|
-
/*!
|
|
2717
|
-
* Determine if an object is a Buffer
|
|
2718
|
-
*
|
|
2719
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
2720
|
-
* @license MIT
|
|
2721
|
-
*/
|
|
2722
|
-
|
|
2723
|
-
// The _isBuffer check is for Safari 5-7 support, because it's missing
|
|
2724
|
-
// Object.prototype.constructor. Remove this eventually
|
|
2725
|
-
var isBuffer_1 = function (obj) {
|
|
2726
|
-
return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)
|
|
2727
|
-
};
|
|
2728
|
-
|
|
2729
|
-
function isBuffer (obj) {
|
|
2730
|
-
return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
|
|
2731
|
-
}
|
|
2732
|
-
|
|
2733
|
-
// For Node v0.10 support. Remove this eventually.
|
|
2734
|
-
function isSlowBuffer (obj) {
|
|
2735
|
-
return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))
|
|
2736
|
-
}
|
|
2737
|
-
|
|
2738
|
-
var md5 = createCommonjsModule(function (module) {
|
|
2739
|
-
(function(){
|
|
2740
|
-
var crypt$1 = crypt,
|
|
2741
|
-
utf8 = charenc_1.utf8,
|
|
2742
|
-
isBuffer = isBuffer_1,
|
|
2743
|
-
bin = charenc_1.bin,
|
|
2744
|
-
|
|
2745
|
-
// The core
|
|
2746
|
-
md5 = function (message, options) {
|
|
2747
|
-
// Convert to byte array
|
|
2748
|
-
if (message.constructor == String)
|
|
2749
|
-
if (options && options.encoding === 'binary')
|
|
2750
|
-
message = bin.stringToBytes(message);
|
|
2751
|
-
else
|
|
2752
|
-
message = utf8.stringToBytes(message);
|
|
2753
|
-
else if (isBuffer(message))
|
|
2754
|
-
message = Array.prototype.slice.call(message, 0);
|
|
2755
|
-
else if (!Array.isArray(message))
|
|
2756
|
-
message = message.toString();
|
|
2757
|
-
// else, assume byte array already
|
|
2758
|
-
|
|
2759
|
-
var m = crypt$1.bytesToWords(message),
|
|
2760
|
-
l = message.length * 8,
|
|
2761
|
-
a = 1732584193,
|
|
2762
|
-
b = -271733879,
|
|
2763
|
-
c = -1732584194,
|
|
2764
|
-
d = 271733878;
|
|
2765
|
-
|
|
2766
|
-
// Swap endian
|
|
2767
|
-
for (var i = 0; i < m.length; i++) {
|
|
2768
|
-
m[i] = ((m[i] << 8) | (m[i] >>> 24)) & 0x00FF00FF |
|
|
2769
|
-
((m[i] << 24) | (m[i] >>> 8)) & 0xFF00FF00;
|
|
2770
|
-
}
|
|
2771
|
-
|
|
2772
|
-
// Padding
|
|
2773
|
-
m[l >>> 5] |= 0x80 << (l % 32);
|
|
2774
|
-
m[(((l + 64) >>> 9) << 4) + 14] = l;
|
|
2775
|
-
|
|
2776
|
-
// Method shortcuts
|
|
2777
|
-
var FF = md5._ff,
|
|
2778
|
-
GG = md5._gg,
|
|
2779
|
-
HH = md5._hh,
|
|
2780
|
-
II = md5._ii;
|
|
2781
|
-
|
|
2782
|
-
for (var i = 0; i < m.length; i += 16) {
|
|
2783
|
-
|
|
2784
|
-
var aa = a,
|
|
2785
|
-
bb = b,
|
|
2786
|
-
cc = c,
|
|
2787
|
-
dd = d;
|
|
2788
|
-
|
|
2789
|
-
a = FF(a, b, c, d, m[i+ 0], 7, -680876936);
|
|
2790
|
-
d = FF(d, a, b, c, m[i+ 1], 12, -389564586);
|
|
2791
|
-
c = FF(c, d, a, b, m[i+ 2], 17, 606105819);
|
|
2792
|
-
b = FF(b, c, d, a, m[i+ 3], 22, -1044525330);
|
|
2793
|
-
a = FF(a, b, c, d, m[i+ 4], 7, -176418897);
|
|
2794
|
-
d = FF(d, a, b, c, m[i+ 5], 12, 1200080426);
|
|
2795
|
-
c = FF(c, d, a, b, m[i+ 6], 17, -1473231341);
|
|
2796
|
-
b = FF(b, c, d, a, m[i+ 7], 22, -45705983);
|
|
2797
|
-
a = FF(a, b, c, d, m[i+ 8], 7, 1770035416);
|
|
2798
|
-
d = FF(d, a, b, c, m[i+ 9], 12, -1958414417);
|
|
2799
|
-
c = FF(c, d, a, b, m[i+10], 17, -42063);
|
|
2800
|
-
b = FF(b, c, d, a, m[i+11], 22, -1990404162);
|
|
2801
|
-
a = FF(a, b, c, d, m[i+12], 7, 1804603682);
|
|
2802
|
-
d = FF(d, a, b, c, m[i+13], 12, -40341101);
|
|
2803
|
-
c = FF(c, d, a, b, m[i+14], 17, -1502002290);
|
|
2804
|
-
b = FF(b, c, d, a, m[i+15], 22, 1236535329);
|
|
2805
|
-
|
|
2806
|
-
a = GG(a, b, c, d, m[i+ 1], 5, -165796510);
|
|
2807
|
-
d = GG(d, a, b, c, m[i+ 6], 9, -1069501632);
|
|
2808
|
-
c = GG(c, d, a, b, m[i+11], 14, 643717713);
|
|
2809
|
-
b = GG(b, c, d, a, m[i+ 0], 20, -373897302);
|
|
2810
|
-
a = GG(a, b, c, d, m[i+ 5], 5, -701558691);
|
|
2811
|
-
d = GG(d, a, b, c, m[i+10], 9, 38016083);
|
|
2812
|
-
c = GG(c, d, a, b, m[i+15], 14, -660478335);
|
|
2813
|
-
b = GG(b, c, d, a, m[i+ 4], 20, -405537848);
|
|
2814
|
-
a = GG(a, b, c, d, m[i+ 9], 5, 568446438);
|
|
2815
|
-
d = GG(d, a, b, c, m[i+14], 9, -1019803690);
|
|
2816
|
-
c = GG(c, d, a, b, m[i+ 3], 14, -187363961);
|
|
2817
|
-
b = GG(b, c, d, a, m[i+ 8], 20, 1163531501);
|
|
2818
|
-
a = GG(a, b, c, d, m[i+13], 5, -1444681467);
|
|
2819
|
-
d = GG(d, a, b, c, m[i+ 2], 9, -51403784);
|
|
2820
|
-
c = GG(c, d, a, b, m[i+ 7], 14, 1735328473);
|
|
2821
|
-
b = GG(b, c, d, a, m[i+12], 20, -1926607734);
|
|
2822
|
-
|
|
2823
|
-
a = HH(a, b, c, d, m[i+ 5], 4, -378558);
|
|
2824
|
-
d = HH(d, a, b, c, m[i+ 8], 11, -2022574463);
|
|
2825
|
-
c = HH(c, d, a, b, m[i+11], 16, 1839030562);
|
|
2826
|
-
b = HH(b, c, d, a, m[i+14], 23, -35309556);
|
|
2827
|
-
a = HH(a, b, c, d, m[i+ 1], 4, -1530992060);
|
|
2828
|
-
d = HH(d, a, b, c, m[i+ 4], 11, 1272893353);
|
|
2829
|
-
c = HH(c, d, a, b, m[i+ 7], 16, -155497632);
|
|
2830
|
-
b = HH(b, c, d, a, m[i+10], 23, -1094730640);
|
|
2831
|
-
a = HH(a, b, c, d, m[i+13], 4, 681279174);
|
|
2832
|
-
d = HH(d, a, b, c, m[i+ 0], 11, -358537222);
|
|
2833
|
-
c = HH(c, d, a, b, m[i+ 3], 16, -722521979);
|
|
2834
|
-
b = HH(b, c, d, a, m[i+ 6], 23, 76029189);
|
|
2835
|
-
a = HH(a, b, c, d, m[i+ 9], 4, -640364487);
|
|
2836
|
-
d = HH(d, a, b, c, m[i+12], 11, -421815835);
|
|
2837
|
-
c = HH(c, d, a, b, m[i+15], 16, 530742520);
|
|
2838
|
-
b = HH(b, c, d, a, m[i+ 2], 23, -995338651);
|
|
2839
|
-
|
|
2840
|
-
a = II(a, b, c, d, m[i+ 0], 6, -198630844);
|
|
2841
|
-
d = II(d, a, b, c, m[i+ 7], 10, 1126891415);
|
|
2842
|
-
c = II(c, d, a, b, m[i+14], 15, -1416354905);
|
|
2843
|
-
b = II(b, c, d, a, m[i+ 5], 21, -57434055);
|
|
2844
|
-
a = II(a, b, c, d, m[i+12], 6, 1700485571);
|
|
2845
|
-
d = II(d, a, b, c, m[i+ 3], 10, -1894986606);
|
|
2846
|
-
c = II(c, d, a, b, m[i+10], 15, -1051523);
|
|
2847
|
-
b = II(b, c, d, a, m[i+ 1], 21, -2054922799);
|
|
2848
|
-
a = II(a, b, c, d, m[i+ 8], 6, 1873313359);
|
|
2849
|
-
d = II(d, a, b, c, m[i+15], 10, -30611744);
|
|
2850
|
-
c = II(c, d, a, b, m[i+ 6], 15, -1560198380);
|
|
2851
|
-
b = II(b, c, d, a, m[i+13], 21, 1309151649);
|
|
2852
|
-
a = II(a, b, c, d, m[i+ 4], 6, -145523070);
|
|
2853
|
-
d = II(d, a, b, c, m[i+11], 10, -1120210379);
|
|
2854
|
-
c = II(c, d, a, b, m[i+ 2], 15, 718787259);
|
|
2855
|
-
b = II(b, c, d, a, m[i+ 9], 21, -343485551);
|
|
2856
|
-
|
|
2857
|
-
a = (a + aa) >>> 0;
|
|
2858
|
-
b = (b + bb) >>> 0;
|
|
2859
|
-
c = (c + cc) >>> 0;
|
|
2860
|
-
d = (d + dd) >>> 0;
|
|
2861
|
-
}
|
|
2862
|
-
|
|
2863
|
-
return crypt$1.endian([a, b, c, d]);
|
|
2864
|
-
};
|
|
2865
|
-
|
|
2866
|
-
// Auxiliary functions
|
|
2867
|
-
md5._ff = function (a, b, c, d, x, s, t) {
|
|
2868
|
-
var n = a + (b & c | ~b & d) + (x >>> 0) + t;
|
|
2869
|
-
return ((n << s) | (n >>> (32 - s))) + b;
|
|
2870
|
-
};
|
|
2871
|
-
md5._gg = function (a, b, c, d, x, s, t) {
|
|
2872
|
-
var n = a + (b & d | c & ~d) + (x >>> 0) + t;
|
|
2873
|
-
return ((n << s) | (n >>> (32 - s))) + b;
|
|
2874
|
-
};
|
|
2875
|
-
md5._hh = function (a, b, c, d, x, s, t) {
|
|
2876
|
-
var n = a + (b ^ c ^ d) + (x >>> 0) + t;
|
|
2877
|
-
return ((n << s) | (n >>> (32 - s))) + b;
|
|
2878
|
-
};
|
|
2879
|
-
md5._ii = function (a, b, c, d, x, s, t) {
|
|
2880
|
-
var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;
|
|
2881
|
-
return ((n << s) | (n >>> (32 - s))) + b;
|
|
2882
|
-
};
|
|
2883
|
-
|
|
2884
|
-
// Package private blocksize
|
|
2885
|
-
md5._blocksize = 16;
|
|
2886
|
-
md5._digestsize = 16;
|
|
2887
|
-
|
|
2888
|
-
module.exports = function (message, options) {
|
|
2889
|
-
if (message === undefined || message === null)
|
|
2890
|
-
throw new Error('Illegal argument ' + message);
|
|
2891
|
-
|
|
2892
|
-
var digestbytes = crypt$1.wordsToBytes(md5(message, options));
|
|
2893
|
-
return options && options.asBytes ? digestbytes :
|
|
2894
|
-
options && options.asString ? bin.bytesToString(digestbytes) :
|
|
2895
|
-
crypt$1.bytesToHex(digestbytes);
|
|
2896
|
-
};
|
|
2897
|
-
|
|
2898
|
-
})();
|
|
2899
|
-
});
|
|
2900
|
-
|
|
2901
|
-
var _this$3 = undefined;
|
|
2804
|
+
var _this$1 = undefined;
|
|
2902
2805
|
|
|
2903
|
-
var config = {
|
|
2806
|
+
var config$1 = {
|
|
2904
2807
|
host: 'sanity-datasource.cluster-crao688bsrdh.us-east-1.rds.amazonaws.com',
|
|
2905
2808
|
user: 'nasp',
|
|
2906
2809
|
password: 'uRNkF9SkfXQs6AKK',
|
|
2907
2810
|
database: 'user'
|
|
2908
2811
|
};
|
|
2909
2812
|
|
|
2910
|
-
var findUser = function () {
|
|
2813
|
+
var findUser$1 = function () {
|
|
2911
2814
|
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(email) {
|
|
2912
2815
|
var password = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
2913
2816
|
var db$1, query, res, user, hash, passwordsMatch, user_shared, occupation_id;
|
|
@@ -2919,7 +2822,7 @@ var findUser = function () {
|
|
|
2919
2822
|
_context.prev = 1;
|
|
2920
2823
|
|
|
2921
2824
|
|
|
2922
|
-
db$1 = db(config);
|
|
2825
|
+
db$1 = db(config$1);
|
|
2923
2826
|
|
|
2924
2827
|
query = '\n select * \n from user \n where trim(lower(email)) = ?\n ';
|
|
2925
2828
|
_context.next = 6;
|
|
@@ -3015,7 +2918,7 @@ var findUser = function () {
|
|
|
3015
2918
|
};
|
|
3016
2919
|
}();
|
|
3017
2920
|
|
|
3018
|
-
var updateUser = function () {
|
|
2921
|
+
var updateUser$1 = function () {
|
|
3019
2922
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
|
|
3020
2923
|
var db$1, query, res, hash, columns, i, column, occupation_name;
|
|
3021
2924
|
return regenerator.wrap(function _callee2$(_context2) {
|
|
@@ -3028,7 +2931,7 @@ var updateUser = function () {
|
|
|
3028
2931
|
|
|
3029
2932
|
validateUserData(data);
|
|
3030
2933
|
|
|
3031
|
-
db$1 = db(config);
|
|
2934
|
+
db$1 = db(config$1);
|
|
3032
2935
|
|
|
3033
2936
|
_context2.next = 6;
|
|
3034
2937
|
return db$1.beginTransaction();
|
|
@@ -3135,7 +3038,7 @@ var updateUser = function () {
|
|
|
3135
3038
|
|
|
3136
3039
|
return _context2.abrupt('return', {
|
|
3137
3040
|
error: '',
|
|
3138
|
-
user: findUser(data.email)
|
|
3041
|
+
user: findUser$1(data.email)
|
|
3139
3042
|
});
|
|
3140
3043
|
|
|
3141
3044
|
case 45:
|
|
@@ -3247,7 +3150,7 @@ var getOccupationNameById = function () {
|
|
|
3247
3150
|
return _context3.stop();
|
|
3248
3151
|
}
|
|
3249
3152
|
}
|
|
3250
|
-
}, _callee3, _this$
|
|
3153
|
+
}, _callee3, _this$1);
|
|
3251
3154
|
}));
|
|
3252
3155
|
|
|
3253
3156
|
return function getOccupationNameById(_x5, _x6) {
|
|
@@ -3255,7 +3158,7 @@ var getOccupationNameById = function () {
|
|
|
3255
3158
|
};
|
|
3256
3159
|
}();
|
|
3257
3160
|
|
|
3258
|
-
var createUser = function () {
|
|
3161
|
+
var createUser$1 = function () {
|
|
3259
3162
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4(data) {
|
|
3260
3163
|
var db$1, query, res, hash, columns, i, column, user_id, occupation_name;
|
|
3261
3164
|
return regenerator.wrap(function _callee4$(_context4) {
|
|
@@ -3268,7 +3171,7 @@ var createUser = function () {
|
|
|
3268
3171
|
|
|
3269
3172
|
validateUserData(data, true);
|
|
3270
3173
|
|
|
3271
|
-
db$1 = db(config);
|
|
3174
|
+
db$1 = db(config$1);
|
|
3272
3175
|
|
|
3273
3176
|
_context4.next = 6;
|
|
3274
3177
|
return db$1.beginTransaction();
|
|
@@ -3364,7 +3267,7 @@ var createUser = function () {
|
|
|
3364
3267
|
case 39:
|
|
3365
3268
|
return _context4.abrupt('return', {
|
|
3366
3269
|
error: '',
|
|
3367
|
-
user: findUser(data.email)
|
|
3270
|
+
user: findUser$1(data.email)
|
|
3368
3271
|
});
|
|
3369
3272
|
|
|
3370
3273
|
case 42:
|
|
@@ -3402,7 +3305,7 @@ var createUser = function () {
|
|
|
3402
3305
|
};
|
|
3403
3306
|
}();
|
|
3404
3307
|
|
|
3405
|
-
var createUser
|
|
3308
|
+
var createUser = function () {
|
|
3406
3309
|
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(data) {
|
|
3407
3310
|
var res;
|
|
3408
3311
|
return regenerator.wrap(function _callee$(_context) {
|
|
@@ -3410,7 +3313,7 @@ var createUser$1 = function () {
|
|
|
3410
3313
|
switch (_context.prev = _context.next) {
|
|
3411
3314
|
case 0:
|
|
3412
3315
|
_context.next = 2;
|
|
3413
|
-
return createUser(data);
|
|
3316
|
+
return createUser$1(data);
|
|
3414
3317
|
|
|
3415
3318
|
case 2:
|
|
3416
3319
|
res = _context.sent;
|
|
@@ -3438,7 +3341,7 @@ var createUser$1 = function () {
|
|
|
3438
3341
|
};
|
|
3439
3342
|
}();
|
|
3440
3343
|
|
|
3441
|
-
var updateUser
|
|
3344
|
+
var updateUser = function () {
|
|
3442
3345
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
|
|
3443
3346
|
var res;
|
|
3444
3347
|
return regenerator.wrap(function _callee2$(_context2) {
|
|
@@ -3446,7 +3349,7 @@ var updateUser$1 = function () {
|
|
|
3446
3349
|
switch (_context2.prev = _context2.next) {
|
|
3447
3350
|
case 0:
|
|
3448
3351
|
_context2.next = 2;
|
|
3449
|
-
return updateUser(data);
|
|
3352
|
+
return updateUser$1(data);
|
|
3450
3353
|
|
|
3451
3354
|
case 2:
|
|
3452
3355
|
res = _context2.sent;
|
|
@@ -3474,7 +3377,7 @@ var updateUser$1 = function () {
|
|
|
3474
3377
|
};
|
|
3475
3378
|
}();
|
|
3476
3379
|
|
|
3477
|
-
var findUser
|
|
3380
|
+
var findUser = function () {
|
|
3478
3381
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(_ref4) {
|
|
3479
3382
|
var email = _ref4.email,
|
|
3480
3383
|
password = _ref4.password;
|
|
@@ -3484,7 +3387,7 @@ var findUser$1 = function () {
|
|
|
3484
3387
|
switch (_context3.prev = _context3.next) {
|
|
3485
3388
|
case 0:
|
|
3486
3389
|
_context3.next = 2;
|
|
3487
|
-
return findUser(email, password);
|
|
3390
|
+
return findUser$1(email, password);
|
|
3488
3391
|
|
|
3489
3392
|
case 2:
|
|
3490
3393
|
res = _context3.sent;
|
|
@@ -3514,9 +3417,9 @@ var findUser$1 = function () {
|
|
|
3514
3417
|
|
|
3515
3418
|
var user = /*#__PURE__*/Object.freeze({
|
|
3516
3419
|
__proto__: null,
|
|
3517
|
-
createUser: createUser
|
|
3518
|
-
updateUser: updateUser
|
|
3519
|
-
findUser: findUser
|
|
3420
|
+
createUser: createUser,
|
|
3421
|
+
updateUser: updateUser,
|
|
3422
|
+
findUser: findUser
|
|
3520
3423
|
});
|
|
3521
3424
|
|
|
3522
3425
|
var localStrategy = new Local.Strategy({
|
|
@@ -3524,7 +3427,7 @@ var localStrategy = new Local.Strategy({
|
|
|
3524
3427
|
passwordField: 'password'
|
|
3525
3428
|
}, function (email, password, done) {
|
|
3526
3429
|
|
|
3527
|
-
findUser
|
|
3430
|
+
findUser({ email: email, password: password }).then(function (user) {
|
|
3528
3431
|
done(null, user);
|
|
3529
3432
|
}).catch(function (error) {
|
|
3530
3433
|
done(error);
|
|
@@ -3536,9 +3439,9 @@ var passportLocal = /*#__PURE__*/Object.freeze({
|
|
|
3536
3439
|
localStrategy: localStrategy
|
|
3537
3440
|
});
|
|
3538
3441
|
|
|
3539
|
-
var _this
|
|
3442
|
+
var _this = undefined;
|
|
3540
3443
|
|
|
3541
|
-
var config
|
|
3444
|
+
var config = {
|
|
3542
3445
|
host: 'sanity-datasource.cluster-crao688bsrdh.us-east-1.rds.amazonaws.com',
|
|
3543
3446
|
user: 'nasp',
|
|
3544
3447
|
password: 'uRNkF9SkfXQs6AKK',
|
|
@@ -3552,7 +3455,7 @@ var getOccupation = function () {
|
|
|
3552
3455
|
while (1) {
|
|
3553
3456
|
switch (_context.prev = _context.next) {
|
|
3554
3457
|
case 0:
|
|
3555
|
-
db$1 = db(config
|
|
3458
|
+
db$1 = db(config);
|
|
3556
3459
|
query = '\n select name as label, id as value\n from occupation\n where type = ?\n ';
|
|
3557
3460
|
_context.next = 4;
|
|
3558
3461
|
return db$1.query(query, [type]);
|
|
@@ -3570,7 +3473,7 @@ var getOccupation = function () {
|
|
|
3570
3473
|
return _context.stop();
|
|
3571
3474
|
}
|
|
3572
3475
|
}
|
|
3573
|
-
}, _callee, _this
|
|
3476
|
+
}, _callee, _this);
|
|
3574
3477
|
}));
|
|
3575
3478
|
|
|
3576
3479
|
return function getOccupation(_x) {
|
|
@@ -3585,7 +3488,7 @@ var getFieldsAndOptions = function () {
|
|
|
3585
3488
|
while (1) {
|
|
3586
3489
|
switch (_context2.prev = _context2.next) {
|
|
3587
3490
|
case 0:
|
|
3588
|
-
db$1 = db(config
|
|
3491
|
+
db$1 = db(config);
|
|
3589
3492
|
query = '\n select * \n from field\n where occupation_id = ?\n order by sorting\n ';
|
|
3590
3493
|
_context2.next = 4;
|
|
3591
3494
|
return db$1.query(query, [occupation]);
|
|
@@ -3633,7 +3536,7 @@ var getFieldsAndOptions = function () {
|
|
|
3633
3536
|
return _context2.stop();
|
|
3634
3537
|
}
|
|
3635
3538
|
}
|
|
3636
|
-
}, _callee2, _this
|
|
3539
|
+
}, _callee2, _this);
|
|
3637
3540
|
}));
|
|
3638
3541
|
|
|
3639
3542
|
return function getFieldsAndOptions(_x2) {
|
|
@@ -3704,8 +3607,8 @@ var ProcessData = (function () {
|
|
|
3704
3607
|
})();
|
|
3705
3608
|
|
|
3706
3609
|
var LoginForm_1 = LoginForm;
|
|
3707
|
-
var SignupForm_1 = SignupForm;
|
|
3708
|
-
var ProfileForm_1 = SignupForm
|
|
3610
|
+
var SignupForm_1 = SignupForm$1;
|
|
3611
|
+
var ProfileForm_1 = SignupForm;
|
|
3709
3612
|
var AuthCookies_1 = authCookies;
|
|
3710
3613
|
var AuthHooks_1 = hooks;
|
|
3711
3614
|
var Iron_1 = iron;
|