@mjhls/mjh-framework 1.0.850-beta.3 → 1.0.850-slideshow
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +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-98c71bcd.js → ADInfeed-fb136f1d.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-9de32585.js → ADlgInfeed-d303d27e.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +36 -35
- package/dist/cjs/AdSlotsProvider.js +21 -19
- package/dist/cjs/AlgoliaSearch.js +1087 -1068
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +60 -58
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -40
- package/dist/cjs/ArticleSeriesListing.js +62 -61
- package/dist/cjs/Auth.js +3652 -0
- package/dist/cjs/AuthWrapper.js +311 -269
- 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 +38 -37
- 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 -79
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +43 -42
- package/dist/cjs/GridContent.js +238 -233
- package/dist/cjs/GridHero.js +45 -44
- package/dist/cjs/GroupDeck.js +60 -59
- package/dist/cjs/HamMagazine.js +145 -140
- 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 +73 -71
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/IssueContentDeck.js +78 -73
- package/dist/cjs/IssueDeck.js +77 -72
- package/dist/cjs/IssueLanding.js +96 -92
- 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 -1126
- 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/OncliveHero.js +19 -19
- package/dist/cjs/OncliveLargeHero.js +73 -72
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +109 -105
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +43 -40
- package/dist/cjs/PubToc.js +16 -15
- package/dist/cjs/PublicationDeck.js +67 -62
- package/dist/cjs/PublicationLanding.js +139 -135
- package/dist/cjs/QueueDeckExpanded.js +1174 -2074
- package/dist/cjs/RecentNews.js +22 -21
- package/dist/cjs/RelatedContent.js +55 -54
- 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-8bbc989f.js → SeriesSlider-cbab9f0f.js} +40 -39
- 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-cea213aa.js → SocialSearchComponent-ecb4f972.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +64 -59
- package/dist/cjs/TaxonomyDescription.js +56 -54
- package/dist/cjs/TemplateNormal.js +75 -74
- package/dist/cjs/ThumbnailCard.js +23 -21
- package/dist/cjs/Ustream.js +30 -29
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoProgramLandingPage.js +78 -73
- package/dist/cjs/VideoSeriesCard.js +34 -33
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +51 -50
- package/dist/cjs/VideoSeriesListing.js +79 -78
- package/dist/cjs/View.js +277 -280
- package/dist/cjs/YahooHero.js +42 -41
- 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-29bdbc6d.js} +7 -7
- package/dist/cjs/faundadb.js +10 -327
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +445 -28
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -44
- package/dist/cjs/{getTargeting-f1821260.js → getTargeting-faf37284.js} +12 -12
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-e2e62963.js → index-8041a4eb.js} +11 -1
- package/dist/cjs/{index-4151deb3.js → index-991f0c65.js} +1010 -1564
- package/dist/cjs/index-bd6c9f56.js +211 -0
- 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-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
- 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 +169 -158
- package/dist/cjs/{inherits-9953db94.js → inherits-c2065b95.js} +22 -22
- 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 +3 -3
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
- package/dist/cjs/util-6f784d85.js +576 -0
- 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-bbdd5398.js → ADInfeed-df562a07.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-4473ee3b.js → ADlgInfeed-53992119.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +27 -27
- package/dist/esm/AdSlotsProvider.js +14 -14
- package/dist/esm/AlgoliaSearch.js +736 -718
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +56 -55
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +57 -57
- package/dist/esm/Auth.js +3632 -0
- package/dist/esm/AuthWrapper.js +308 -267
- 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 +35 -35
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +98 -98
- package/dist/esm/DeckQueue.js +83 -83
- package/dist/esm/{Dfp-b7236041.js → Dfp-43f121ff.js} +22 -22
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +74 -73
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -35
- package/dist/esm/GridContent.js +201 -201
- package/dist/esm/GridHero.js +37 -37
- package/dist/esm/GroupDeck.js +47 -47
- package/dist/esm/HamMagazine.js +116 -116
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -10
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +69 -68
- package/dist/esm/HorizontalHero.js +22 -22
- package/dist/esm/IssueContentDeck.js +61 -61
- package/dist/esm/IssueDeck.js +65 -65
- package/dist/esm/IssueLanding.js +92 -89
- 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 +841 -852
- 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/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +60 -60
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +105 -102
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +39 -37
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +53 -53
- package/dist/esm/PublicationLanding.js +122 -122
- package/dist/esm/QueueDeckExpanded.js +1152 -2052
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +48 -48
- 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-a866bb21.js → SeriesSlider-5c62a578.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-03c3e869.js → SocialSearchComponent-cd38ae60.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +54 -54
- package/dist/esm/TaxonomyDescription.js +50 -49
- package/dist/esm/TemplateNormal.js +70 -70
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +26 -26
- package/dist/esm/VerticalHero.js +14 -14
- package/dist/esm/VideoProgramLandingPage.js +67 -66
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +42 -42
- package/dist/esm/VideoSeriesListing.js +74 -74
- package/dist/esm/View.js +257 -264
- package/dist/esm/YahooHero.js +35 -35
- package/dist/esm/YoutubeGroup.js +51 -51
- 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-4877b617.js → asyncToGenerator-7f8f9219.js} +33 -33
- 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-60e0e1c6.js} +7 -7
- package/dist/esm/faundadb.js +8 -325
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +445 -28
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -44
- package/dist/esm/{getTargeting-bd800589.js → getTargeting-c3401fa7.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-d6dc592a.js → index-2dcd3f28.js} +964 -1525
- 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-db3bb315.js +207 -0
- 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-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
- package/dist/esm/index.js +139 -132
- package/dist/esm/{inherits-cf8dde54.js → inherits-a41fe93f.js} +19 -19
- 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-3ab476bf.js +574 -0
- 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 +110 -116
- 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
|
@@ -0,0 +1,574 @@
|
|
|
1
|
+
var inherits;
|
|
2
|
+
if (typeof Object.create === 'function'){
|
|
3
|
+
inherits = function inherits(ctor, superCtor) {
|
|
4
|
+
// implementation from standard node.js 'util' module
|
|
5
|
+
ctor.super_ = superCtor;
|
|
6
|
+
ctor.prototype = Object.create(superCtor.prototype, {
|
|
7
|
+
constructor: {
|
|
8
|
+
value: ctor,
|
|
9
|
+
enumerable: false,
|
|
10
|
+
writable: true,
|
|
11
|
+
configurable: true
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
} else {
|
|
16
|
+
inherits = function inherits(ctor, superCtor) {
|
|
17
|
+
ctor.super_ = superCtor;
|
|
18
|
+
var TempCtor = function () {};
|
|
19
|
+
TempCtor.prototype = superCtor.prototype;
|
|
20
|
+
ctor.prototype = new TempCtor();
|
|
21
|
+
ctor.prototype.constructor = ctor;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
var inherits$1 = inherits;
|
|
25
|
+
|
|
26
|
+
// Copyright Joyent, Inc. and other Node contributors.
|
|
27
|
+
var formatRegExp = /%[sdj%]/g;
|
|
28
|
+
function format(f) {
|
|
29
|
+
if (!isString(f)) {
|
|
30
|
+
var objects = [];
|
|
31
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
32
|
+
objects.push(inspect(arguments[i]));
|
|
33
|
+
}
|
|
34
|
+
return objects.join(' ');
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
var i = 1;
|
|
38
|
+
var args = arguments;
|
|
39
|
+
var len = args.length;
|
|
40
|
+
var str = String(f).replace(formatRegExp, function(x) {
|
|
41
|
+
if (x === '%%') return '%';
|
|
42
|
+
if (i >= len) return x;
|
|
43
|
+
switch (x) {
|
|
44
|
+
case '%s': return String(args[i++]);
|
|
45
|
+
case '%d': return Number(args[i++]);
|
|
46
|
+
case '%j':
|
|
47
|
+
try {
|
|
48
|
+
return JSON.stringify(args[i++]);
|
|
49
|
+
} catch (_) {
|
|
50
|
+
return '[Circular]';
|
|
51
|
+
}
|
|
52
|
+
default:
|
|
53
|
+
return x;
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
for (var x = args[i]; i < len; x = args[++i]) {
|
|
57
|
+
if (isNull(x) || !isObject(x)) {
|
|
58
|
+
str += ' ' + x;
|
|
59
|
+
} else {
|
|
60
|
+
str += ' ' + inspect(x);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return str;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Mark that a method should not be used.
|
|
67
|
+
// Returns a modified function which warns once by default.
|
|
68
|
+
// If --no-deprecation is set, then it is a no-op.
|
|
69
|
+
function deprecate(fn, msg) {
|
|
70
|
+
// Allow for deprecating things in the process of starting up.
|
|
71
|
+
if (isUndefined(global.process)) {
|
|
72
|
+
return function() {
|
|
73
|
+
return deprecate(fn, msg).apply(this, arguments);
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
var warned = false;
|
|
78
|
+
function deprecated() {
|
|
79
|
+
if (!warned) {
|
|
80
|
+
{
|
|
81
|
+
console.error(msg);
|
|
82
|
+
}
|
|
83
|
+
warned = true;
|
|
84
|
+
}
|
|
85
|
+
return fn.apply(this, arguments);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return deprecated;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
var debugs = {};
|
|
92
|
+
var debugEnviron;
|
|
93
|
+
function debuglog(set) {
|
|
94
|
+
if (isUndefined(debugEnviron))
|
|
95
|
+
debugEnviron = '';
|
|
96
|
+
set = set.toUpperCase();
|
|
97
|
+
if (!debugs[set]) {
|
|
98
|
+
if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
|
|
99
|
+
var pid = 0;
|
|
100
|
+
debugs[set] = function() {
|
|
101
|
+
var msg = format.apply(null, arguments);
|
|
102
|
+
console.error('%s %d: %s', set, pid, msg);
|
|
103
|
+
};
|
|
104
|
+
} else {
|
|
105
|
+
debugs[set] = function() {};
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return debugs[set];
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Echos the value of a value. Trys to print the value out
|
|
113
|
+
* in the best way possible given the different types.
|
|
114
|
+
*
|
|
115
|
+
* @param {Object} obj The object to print out.
|
|
116
|
+
* @param {Object} opts Optional options object that alters the output.
|
|
117
|
+
*/
|
|
118
|
+
/* legacy: obj, showHidden, depth, colors*/
|
|
119
|
+
function inspect(obj, opts) {
|
|
120
|
+
// default options
|
|
121
|
+
var ctx = {
|
|
122
|
+
seen: [],
|
|
123
|
+
stylize: stylizeNoColor
|
|
124
|
+
};
|
|
125
|
+
// legacy...
|
|
126
|
+
if (arguments.length >= 3) ctx.depth = arguments[2];
|
|
127
|
+
if (arguments.length >= 4) ctx.colors = arguments[3];
|
|
128
|
+
if (isBoolean(opts)) {
|
|
129
|
+
// legacy...
|
|
130
|
+
ctx.showHidden = opts;
|
|
131
|
+
} else if (opts) {
|
|
132
|
+
// got an "options" object
|
|
133
|
+
_extend(ctx, opts);
|
|
134
|
+
}
|
|
135
|
+
// set default options
|
|
136
|
+
if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
|
|
137
|
+
if (isUndefined(ctx.depth)) ctx.depth = 2;
|
|
138
|
+
if (isUndefined(ctx.colors)) ctx.colors = false;
|
|
139
|
+
if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
|
|
140
|
+
if (ctx.colors) ctx.stylize = stylizeWithColor;
|
|
141
|
+
return formatValue(ctx, obj, ctx.depth);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics
|
|
145
|
+
inspect.colors = {
|
|
146
|
+
'bold' : [1, 22],
|
|
147
|
+
'italic' : [3, 23],
|
|
148
|
+
'underline' : [4, 24],
|
|
149
|
+
'inverse' : [7, 27],
|
|
150
|
+
'white' : [37, 39],
|
|
151
|
+
'grey' : [90, 39],
|
|
152
|
+
'black' : [30, 39],
|
|
153
|
+
'blue' : [34, 39],
|
|
154
|
+
'cyan' : [36, 39],
|
|
155
|
+
'green' : [32, 39],
|
|
156
|
+
'magenta' : [35, 39],
|
|
157
|
+
'red' : [31, 39],
|
|
158
|
+
'yellow' : [33, 39]
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
// Don't use 'blue' not visible on cmd.exe
|
|
162
|
+
inspect.styles = {
|
|
163
|
+
'special': 'cyan',
|
|
164
|
+
'number': 'yellow',
|
|
165
|
+
'boolean': 'yellow',
|
|
166
|
+
'undefined': 'grey',
|
|
167
|
+
'null': 'bold',
|
|
168
|
+
'string': 'green',
|
|
169
|
+
'date': 'magenta',
|
|
170
|
+
// "name": intentionally not styling
|
|
171
|
+
'regexp': 'red'
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
function stylizeWithColor(str, styleType) {
|
|
176
|
+
var style = inspect.styles[styleType];
|
|
177
|
+
|
|
178
|
+
if (style) {
|
|
179
|
+
return '\u001b[' + inspect.colors[style][0] + 'm' + str +
|
|
180
|
+
'\u001b[' + inspect.colors[style][1] + 'm';
|
|
181
|
+
} else {
|
|
182
|
+
return str;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
function stylizeNoColor(str, styleType) {
|
|
188
|
+
return str;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
function arrayToHash(array) {
|
|
193
|
+
var hash = {};
|
|
194
|
+
|
|
195
|
+
array.forEach(function(val, idx) {
|
|
196
|
+
hash[val] = true;
|
|
197
|
+
});
|
|
198
|
+
|
|
199
|
+
return hash;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
function formatValue(ctx, value, recurseTimes) {
|
|
204
|
+
// Provide a hook for user-specified inspect functions.
|
|
205
|
+
// Check that value is an object with an inspect function on it
|
|
206
|
+
if (ctx.customInspect &&
|
|
207
|
+
value &&
|
|
208
|
+
isFunction(value.inspect) &&
|
|
209
|
+
// Filter out the util module, it's inspect function is special
|
|
210
|
+
value.inspect !== inspect &&
|
|
211
|
+
// Also filter out any prototype objects using the circular check.
|
|
212
|
+
!(value.constructor && value.constructor.prototype === value)) {
|
|
213
|
+
var ret = value.inspect(recurseTimes, ctx);
|
|
214
|
+
if (!isString(ret)) {
|
|
215
|
+
ret = formatValue(ctx, ret, recurseTimes);
|
|
216
|
+
}
|
|
217
|
+
return ret;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// Primitive types cannot have properties
|
|
221
|
+
var primitive = formatPrimitive(ctx, value);
|
|
222
|
+
if (primitive) {
|
|
223
|
+
return primitive;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
// Look up the keys of the object.
|
|
227
|
+
var keys = Object.keys(value);
|
|
228
|
+
var visibleKeys = arrayToHash(keys);
|
|
229
|
+
|
|
230
|
+
if (ctx.showHidden) {
|
|
231
|
+
keys = Object.getOwnPropertyNames(value);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
// IE doesn't make error fields non-enumerable
|
|
235
|
+
// http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx
|
|
236
|
+
if (isError(value)
|
|
237
|
+
&& (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {
|
|
238
|
+
return formatError(value);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
// Some type of object without properties can be shortcutted.
|
|
242
|
+
if (keys.length === 0) {
|
|
243
|
+
if (isFunction(value)) {
|
|
244
|
+
var name = value.name ? ': ' + value.name : '';
|
|
245
|
+
return ctx.stylize('[Function' + name + ']', 'special');
|
|
246
|
+
}
|
|
247
|
+
if (isRegExp(value)) {
|
|
248
|
+
return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
|
|
249
|
+
}
|
|
250
|
+
if (isDate(value)) {
|
|
251
|
+
return ctx.stylize(Date.prototype.toString.call(value), 'date');
|
|
252
|
+
}
|
|
253
|
+
if (isError(value)) {
|
|
254
|
+
return formatError(value);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
var base = '', array = false, braces = ['{', '}'];
|
|
259
|
+
|
|
260
|
+
// Make Array say that they are Array
|
|
261
|
+
if (isArray(value)) {
|
|
262
|
+
array = true;
|
|
263
|
+
braces = ['[', ']'];
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
// Make functions say that they are functions
|
|
267
|
+
if (isFunction(value)) {
|
|
268
|
+
var n = value.name ? ': ' + value.name : '';
|
|
269
|
+
base = ' [Function' + n + ']';
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
// Make RegExps say that they are RegExps
|
|
273
|
+
if (isRegExp(value)) {
|
|
274
|
+
base = ' ' + RegExp.prototype.toString.call(value);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// Make dates with properties first say the date
|
|
278
|
+
if (isDate(value)) {
|
|
279
|
+
base = ' ' + Date.prototype.toUTCString.call(value);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
// Make error with message first say the error
|
|
283
|
+
if (isError(value)) {
|
|
284
|
+
base = ' ' + formatError(value);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
if (keys.length === 0 && (!array || value.length == 0)) {
|
|
288
|
+
return braces[0] + base + braces[1];
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
if (recurseTimes < 0) {
|
|
292
|
+
if (isRegExp(value)) {
|
|
293
|
+
return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
|
|
294
|
+
} else {
|
|
295
|
+
return ctx.stylize('[Object]', 'special');
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
ctx.seen.push(value);
|
|
300
|
+
|
|
301
|
+
var output;
|
|
302
|
+
if (array) {
|
|
303
|
+
output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
|
|
304
|
+
} else {
|
|
305
|
+
output = keys.map(function(key) {
|
|
306
|
+
return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
ctx.seen.pop();
|
|
311
|
+
|
|
312
|
+
return reduceToSingleString(output, base, braces);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
function formatPrimitive(ctx, value) {
|
|
317
|
+
if (isUndefined(value))
|
|
318
|
+
return ctx.stylize('undefined', 'undefined');
|
|
319
|
+
if (isString(value)) {
|
|
320
|
+
var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '')
|
|
321
|
+
.replace(/'/g, "\\'")
|
|
322
|
+
.replace(/\\"/g, '"') + '\'';
|
|
323
|
+
return ctx.stylize(simple, 'string');
|
|
324
|
+
}
|
|
325
|
+
if (isNumber(value))
|
|
326
|
+
return ctx.stylize('' + value, 'number');
|
|
327
|
+
if (isBoolean(value))
|
|
328
|
+
return ctx.stylize('' + value, 'boolean');
|
|
329
|
+
// For some reason typeof null is "object", so special case here.
|
|
330
|
+
if (isNull(value))
|
|
331
|
+
return ctx.stylize('null', 'null');
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
function formatError(value) {
|
|
336
|
+
return '[' + Error.prototype.toString.call(value) + ']';
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
|
|
341
|
+
var output = [];
|
|
342
|
+
for (var i = 0, l = value.length; i < l; ++i) {
|
|
343
|
+
if (hasOwnProperty(value, String(i))) {
|
|
344
|
+
output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
|
|
345
|
+
String(i), true));
|
|
346
|
+
} else {
|
|
347
|
+
output.push('');
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
keys.forEach(function(key) {
|
|
351
|
+
if (!key.match(/^\d+$/)) {
|
|
352
|
+
output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
|
|
353
|
+
key, true));
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
return output;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
|
|
361
|
+
var name, str, desc;
|
|
362
|
+
desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };
|
|
363
|
+
if (desc.get) {
|
|
364
|
+
if (desc.set) {
|
|
365
|
+
str = ctx.stylize('[Getter/Setter]', 'special');
|
|
366
|
+
} else {
|
|
367
|
+
str = ctx.stylize('[Getter]', 'special');
|
|
368
|
+
}
|
|
369
|
+
} else {
|
|
370
|
+
if (desc.set) {
|
|
371
|
+
str = ctx.stylize('[Setter]', 'special');
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
if (!hasOwnProperty(visibleKeys, key)) {
|
|
375
|
+
name = '[' + key + ']';
|
|
376
|
+
}
|
|
377
|
+
if (!str) {
|
|
378
|
+
if (ctx.seen.indexOf(desc.value) < 0) {
|
|
379
|
+
if (isNull(recurseTimes)) {
|
|
380
|
+
str = formatValue(ctx, desc.value, null);
|
|
381
|
+
} else {
|
|
382
|
+
str = formatValue(ctx, desc.value, recurseTimes - 1);
|
|
383
|
+
}
|
|
384
|
+
if (str.indexOf('\n') > -1) {
|
|
385
|
+
if (array) {
|
|
386
|
+
str = str.split('\n').map(function(line) {
|
|
387
|
+
return ' ' + line;
|
|
388
|
+
}).join('\n').substr(2);
|
|
389
|
+
} else {
|
|
390
|
+
str = '\n' + str.split('\n').map(function(line) {
|
|
391
|
+
return ' ' + line;
|
|
392
|
+
}).join('\n');
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
} else {
|
|
396
|
+
str = ctx.stylize('[Circular]', 'special');
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
if (isUndefined(name)) {
|
|
400
|
+
if (array && key.match(/^\d+$/)) {
|
|
401
|
+
return str;
|
|
402
|
+
}
|
|
403
|
+
name = JSON.stringify('' + key);
|
|
404
|
+
if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
|
|
405
|
+
name = name.substr(1, name.length - 2);
|
|
406
|
+
name = ctx.stylize(name, 'name');
|
|
407
|
+
} else {
|
|
408
|
+
name = name.replace(/'/g, "\\'")
|
|
409
|
+
.replace(/\\"/g, '"')
|
|
410
|
+
.replace(/(^"|"$)/g, "'");
|
|
411
|
+
name = ctx.stylize(name, 'string');
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
return name + ': ' + str;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
function reduceToSingleString(output, base, braces) {
|
|
420
|
+
var length = output.reduce(function(prev, cur) {
|
|
421
|
+
if (cur.indexOf('\n') >= 0) ;
|
|
422
|
+
return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1;
|
|
423
|
+
}, 0);
|
|
424
|
+
|
|
425
|
+
if (length > 60) {
|
|
426
|
+
return braces[0] +
|
|
427
|
+
(base === '' ? '' : base + '\n ') +
|
|
428
|
+
' ' +
|
|
429
|
+
output.join(',\n ') +
|
|
430
|
+
' ' +
|
|
431
|
+
braces[1];
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
// NOTE: These type checking functions intentionally don't use `instanceof`
|
|
439
|
+
// because it is fragile and can be easily faked with `Object.create()`.
|
|
440
|
+
function isArray(ar) {
|
|
441
|
+
return Array.isArray(ar);
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
function isBoolean(arg) {
|
|
445
|
+
return typeof arg === 'boolean';
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
function isNull(arg) {
|
|
449
|
+
return arg === null;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
function isNullOrUndefined(arg) {
|
|
453
|
+
return arg == null;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
function isNumber(arg) {
|
|
457
|
+
return typeof arg === 'number';
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
function isString(arg) {
|
|
461
|
+
return typeof arg === 'string';
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
function isSymbol(arg) {
|
|
465
|
+
return typeof arg === 'symbol';
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
function isUndefined(arg) {
|
|
469
|
+
return arg === void 0;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
function isRegExp(re) {
|
|
473
|
+
return isObject(re) && objectToString(re) === '[object RegExp]';
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
function isObject(arg) {
|
|
477
|
+
return typeof arg === 'object' && arg !== null;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
function isDate(d) {
|
|
481
|
+
return isObject(d) && objectToString(d) === '[object Date]';
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
function isError(e) {
|
|
485
|
+
return isObject(e) &&
|
|
486
|
+
(objectToString(e) === '[object Error]' || e instanceof Error);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
function isFunction(arg) {
|
|
490
|
+
return typeof arg === 'function';
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
function isPrimitive(arg) {
|
|
494
|
+
return arg === null ||
|
|
495
|
+
typeof arg === 'boolean' ||
|
|
496
|
+
typeof arg === 'number' ||
|
|
497
|
+
typeof arg === 'string' ||
|
|
498
|
+
typeof arg === 'symbol' || // ES6 symbol
|
|
499
|
+
typeof arg === 'undefined';
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
function isBuffer(maybeBuf) {
|
|
503
|
+
return Buffer.isBuffer(maybeBuf);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
function objectToString(o) {
|
|
507
|
+
return Object.prototype.toString.call(o);
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
function pad(n) {
|
|
512
|
+
return n < 10 ? '0' + n.toString(10) : n.toString(10);
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',
|
|
517
|
+
'Oct', 'Nov', 'Dec'];
|
|
518
|
+
|
|
519
|
+
// 26 Feb 16:19:34
|
|
520
|
+
function timestamp() {
|
|
521
|
+
var d = new Date();
|
|
522
|
+
var time = [pad(d.getHours()),
|
|
523
|
+
pad(d.getMinutes()),
|
|
524
|
+
pad(d.getSeconds())].join(':');
|
|
525
|
+
return [d.getDate(), months[d.getMonth()], time].join(' ');
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
// log is just a thin wrapper to console.log that prepends a timestamp
|
|
530
|
+
function log() {
|
|
531
|
+
console.log('%s - %s', timestamp(), format.apply(null, arguments));
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
function _extend(origin, add) {
|
|
535
|
+
// Don't do anything if add isn't an object
|
|
536
|
+
if (!add || !isObject(add)) return origin;
|
|
537
|
+
|
|
538
|
+
var keys = Object.keys(add);
|
|
539
|
+
var i = keys.length;
|
|
540
|
+
while (i--) {
|
|
541
|
+
origin[keys[i]] = add[keys[i]];
|
|
542
|
+
}
|
|
543
|
+
return origin;
|
|
544
|
+
}
|
|
545
|
+
function hasOwnProperty(obj, prop) {
|
|
546
|
+
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
var util = {
|
|
550
|
+
inherits: inherits$1,
|
|
551
|
+
_extend: _extend,
|
|
552
|
+
log: log,
|
|
553
|
+
isBuffer: isBuffer,
|
|
554
|
+
isPrimitive: isPrimitive,
|
|
555
|
+
isFunction: isFunction,
|
|
556
|
+
isError: isError,
|
|
557
|
+
isDate: isDate,
|
|
558
|
+
isObject: isObject,
|
|
559
|
+
isRegExp: isRegExp,
|
|
560
|
+
isUndefined: isUndefined,
|
|
561
|
+
isSymbol: isSymbol,
|
|
562
|
+
isString: isString,
|
|
563
|
+
isNumber: isNumber,
|
|
564
|
+
isNullOrUndefined: isNullOrUndefined,
|
|
565
|
+
isNull: isNull,
|
|
566
|
+
isBoolean: isBoolean,
|
|
567
|
+
isArray: isArray,
|
|
568
|
+
inspect: inspect,
|
|
569
|
+
deprecate: deprecate,
|
|
570
|
+
format: format,
|
|
571
|
+
debuglog: debuglog
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
export { util as u };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import ReactDOM from 'react-dom';
|
|
4
4
|
|
|
5
5
|
var visibilitySensor = createCommonjsModule(function (module, exports) {
|
|
6
6
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
7
|
-
module.exports = factory(
|
|
7
|
+
module.exports = factory(React, ReactDOM);
|
|
8
8
|
})(commonjsGlobal, function(__WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) {
|
|
9
9
|
return /******/ (function(modules) { // webpackBootstrap
|
|
10
10
|
/******/ // The module cache
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { a as _iterDefine, f as _iterators, b as _wks } from './es6.string.iterator-bc33758b.js';
|
|
2
|
+
import { r as _toIobject, i as _global, k as _hide } from './_to-object-b50e61c3.js';
|
|
3
3
|
|
|
4
4
|
var _iterStep = function (done, value) {
|
|
5
5
|
return { value: value, done: !!done };
|
|
@@ -9,7 +9,7 @@ var _iterStep = function (done, value) {
|
|
|
9
9
|
// 22.1.3.13 Array.prototype.keys()
|
|
10
10
|
// 22.1.3.29 Array.prototype.values()
|
|
11
11
|
// 22.1.3.30 Array.prototype[@@iterator]()
|
|
12
|
-
|
|
12
|
+
_iterDefine(Array, 'Array', function (iterated, kind) {
|
|
13
13
|
this._t = _toIobject(iterated); // target
|
|
14
14
|
this._i = 0; // next index
|
|
15
15
|
this._k = kind; // kind
|