@mjhls/mjh-framework 1.0.804-beta.3 → 1.0.804-ustream-reporting
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-6c2d52f3.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-fd573385.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 +17 -16
- 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 +686 -662
- 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 +1114 -1123
- 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 +148 -140
- 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 +84 -27
- 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 +266 -263
- 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-60837c34.js → extends-9d158713.js} +7 -7
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +425 -12
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-34e3ba68.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-b53c1261.js → index-667c091e.js} +1007 -984
- package/dist/cjs/{index-e2e62963.js → index-8041a4eb.js} +11 -1
- 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-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 +165 -162
- package/dist/cjs/{inherits-513d81cd.js → inherits-3ff1b657.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/{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-b2b9092f.js +106 -0
- 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-04878bcc.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-fb45c8cf.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 +13 -13
- 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 -645
- 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 +838 -850
- 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 +117 -117
- 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 +80 -24
- 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 +246 -247
- 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-eb69e8ac.js → extends-f076879e.js} +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +425 -12
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-739e9fed.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-6271cfc8.js → index-d2fb744b.js} +940 -924
- 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-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +134 -134
- package/dist/esm/{inherits-fb9b6e8f.js → inherits-f71787cf.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/{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-33a866b6.js +104 -0
- 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 +109 -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
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var stringify = require('./stringify-c9ac1214.js');
|
|
4
|
+
var keys = require('./keys-7f2c2108.js');
|
|
5
|
+
require('./_commonjsHelpers-06173234.js');
|
|
6
|
+
require('./_to-object-6de10e57.js');
|
|
7
|
+
require('./_object-sap-a175b4a9.js');
|
|
8
|
+
|
|
9
|
+
var UstreamEmbed = function () {
|
|
10
|
+
function a(a) {
|
|
11
|
+
return b(a);
|
|
12
|
+
}function b(a) {
|
|
13
|
+
var b = c(a),
|
|
14
|
+
m = function (a) {
|
|
15
|
+
function b(b) {
|
|
16
|
+
if ("socialstream" !== b) {
|
|
17
|
+
if (!w) return y || (y = []), y.push(arguments), void 0;var d = i(arguments).slice(1);d[0] && "function" == typeof d[0] && (z[b] || (z[b] = []), z[b].push(d[0])), g(a, t, { cmd: b, args: d });
|
|
18
|
+
} else if (j(window, "message", n), v = c(arguments[1]), u = h(v.getAttribute("src")), x = !0, B.length) for (var e = 0, k = B.length; k > e; e++) {
|
|
19
|
+
f(B[e]);
|
|
20
|
+
}
|
|
21
|
+
}function m() {
|
|
22
|
+
if (y) {
|
|
23
|
+
for (; y.length;) {
|
|
24
|
+
b.apply(this, y.shift());
|
|
25
|
+
}y = null;
|
|
26
|
+
}
|
|
27
|
+
}function n(a) {
|
|
28
|
+
var b = v;b && b.contentWindow && b.contentWindow === a.source ? s.onmessage(a) : a.source === v.id && s.onmessage(a);
|
|
29
|
+
}function o(a) {
|
|
30
|
+
var c,
|
|
31
|
+
d = JSON.parse(a.data);return d.cmd && "ready" == d.cmd ? (g(v, u, { cmd: "ready" }), void 0) : (c = [d.cmd], c = c.concat(d.args), b.apply(this, c), void 0);
|
|
32
|
+
}function p() {
|
|
33
|
+
g(a, t, { cmd: "ready" });
|
|
34
|
+
}function q() {
|
|
35
|
+
w = !0, g(a, t, { cmd: "apihandshake", args: [] }), m(), v && g(v, u, { cmd: "viewer_ready" });
|
|
36
|
+
}function r() {
|
|
37
|
+
b.apply(this, arguments);
|
|
38
|
+
}var s,
|
|
39
|
+
t,
|
|
40
|
+
u,
|
|
41
|
+
v,
|
|
42
|
+
w = !1,
|
|
43
|
+
x = !1,
|
|
44
|
+
y = [],
|
|
45
|
+
z = {},
|
|
46
|
+
A = {},
|
|
47
|
+
B = [];return t = h(a.getAttribute("src")).toLowerCase(), a.onload = p, s = { host: t, callMethod: r, getProperty: function getProperty() {
|
|
48
|
+
r.apply(this, arguments);
|
|
49
|
+
}, addListener: function addListener(a, b) {
|
|
50
|
+
A[a] || (A[a] = []), A[a].push(b);
|
|
51
|
+
}, removeListener: function removeListener(a, b) {
|
|
52
|
+
if (b) for (var c = 0, d = A[a].length; d > c; c++) {
|
|
53
|
+
A[a][c] === b && A[a].splice(c, 1);
|
|
54
|
+
} else A[a] = null;
|
|
55
|
+
}, onmessage: function onmessage(a) {
|
|
56
|
+
var b;if (t || u || B.push({ origin: a.origin, data: a.data }), a.origin.toLowerCase() == t) {
|
|
57
|
+
try {
|
|
58
|
+
b = JSON.parse(a.data);
|
|
59
|
+
} catch (c) {
|
|
60
|
+
return;
|
|
61
|
+
}if (b.sstream) return o(a), void 0;if (b.event && b.event.ready && (q(), d(A, "ready")), b.event && b.event.live === !0) return d(A, "live"), void 0;if (b.event && b.event.live === !1) return d(A, "offline"), void 0;if (b.event && !b.event.ready) if (k) keys._Object$keys(b.event).forEach(function (a) {
|
|
62
|
+
d(A, a, b.event[a]);
|
|
63
|
+
});else for (var f in b.event) {
|
|
64
|
+
b.event.hasOwnProperty(f) && d(A, f, b.event[f]);
|
|
65
|
+
}if (b.property) if (k) keys._Object$keys(b.property).forEach(function (a) {
|
|
66
|
+
e(z, a, b.property[a]);
|
|
67
|
+
});else for (var f in b.property) {
|
|
68
|
+
b.property.hasOwnProperty(f) && e(z, f, b.property[f]);
|
|
69
|
+
}
|
|
70
|
+
} else if (x && a.origin == u) return o(a), void 0;
|
|
71
|
+
}, destroy: function destroy() {
|
|
72
|
+
w = !1, t = "", x = !1, u = "", v = null, y = [], z = {}, A = {}, B = [], l[a.id] && (l[a.id] = null), a = null;
|
|
73
|
+
} };
|
|
74
|
+
}(b);return b.id || (b.id = "UstreamEmbed" + Math.ceil(1e5 * Math.random())), m.id = b.id, l[b.id] = m, m;
|
|
75
|
+
}function c(a) {
|
|
76
|
+
return "string" == typeof a && (a = document.getElementById(a)), a;
|
|
77
|
+
}function d(a, b, c) {
|
|
78
|
+
for (var d in a[b]) {
|
|
79
|
+
a[b].hasOwnProperty(d) && a[b][d].call(window, b, c);
|
|
80
|
+
}
|
|
81
|
+
}function e(a, b, c) {
|
|
82
|
+
if (a[b]) {
|
|
83
|
+
var d = a[b];a[b] = null, delete a[b], d.forEach(function (a) {
|
|
84
|
+
a.call(window, c);
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
}function f(a) {
|
|
88
|
+
var b, c;for (b in l) {
|
|
89
|
+
l.hasOwnProperty(b) && l[b] && (c = document.getElementById(b), c && c.contentWindow ? c.contentWindow === a.source && l[b].onmessage(a) : "string" == typeof a.source && a.source == b && l[b].onmessage(a));
|
|
90
|
+
}
|
|
91
|
+
}function g(a, b, c) {
|
|
92
|
+
a.contentWindow.postMessage(stringify._JSON$stringify(c), b);
|
|
93
|
+
}function h(a) {
|
|
94
|
+
return a.indexOf("http") < 0 && (a = location.protocol + a), a.match(m)[1].toString();
|
|
95
|
+
}function i(a) {
|
|
96
|
+
return Array.prototype.slice.call(a, 0);
|
|
97
|
+
}function j(a, b, c) {
|
|
98
|
+
a.addEventListener ? a.addEventListener(b, c, !1) : a.attachEvent("on" + b, c);
|
|
99
|
+
}var k = "undefined" != typeof keys._Object$keys,
|
|
100
|
+
l = {},
|
|
101
|
+
m = new RegExp("^(http(?:s)?://[^/]+)", "im");return j(window, "message", f), "function" == typeof define && define.amd && define([], function () {
|
|
102
|
+
return a;
|
|
103
|
+
}), window.UstreamEmbed = a;
|
|
104
|
+
}();
|
|
105
|
+
|
|
106
|
+
exports.default = UstreamEmbed;
|
|
@@ -94,7 +94,7 @@ var debugs = {};
|
|
|
94
94
|
var debugEnviron;
|
|
95
95
|
function debuglog(set) {
|
|
96
96
|
if (isUndefined(debugEnviron))
|
|
97
|
-
debugEnviron =
|
|
97
|
+
debugEnviron = '';
|
|
98
98
|
set = set.toUpperCase();
|
|
99
99
|
if (!debugs[set]) {
|
|
100
100
|
if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
-
|
|
5
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
6
4
|
var React = require('react');
|
|
7
|
-
var
|
|
8
|
-
|
|
5
|
+
var ReactDOM = require('react-dom');
|
|
6
|
+
|
|
7
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
+
|
|
9
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
10
|
+
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
9
11
|
|
|
10
12
|
var visibilitySensor = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
11
13
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
12
|
-
module.exports = factory(React__default,
|
|
14
|
+
module.exports = factory(React__default['default'], ReactDOM__default['default']);
|
|
13
15
|
})(_commonjsHelpers.commonjsGlobal, function(__WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) {
|
|
14
16
|
return /******/ (function(modules) { // webpackBootstrap
|
|
15
17
|
/******/ // The module cache
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var es6_string_iterator = require('./es6.string.iterator-c2573ffd.js');
|
|
4
|
+
var _toObject = require('./_to-object-6de10e57.js');
|
|
5
5
|
|
|
6
6
|
var _iterStep = function (done, value) {
|
|
7
7
|
return { value: value, done: !!done };
|
|
@@ -11,7 +11,7 @@ var _iterStep = function (done, value) {
|
|
|
11
11
|
// 22.1.3.13 Array.prototype.keys()
|
|
12
12
|
// 22.1.3.29 Array.prototype.values()
|
|
13
13
|
// 22.1.3.30 Array.prototype[@@iterator]()
|
|
14
|
-
|
|
14
|
+
es6_string_iterator._iterDefine(Array, 'Array', function (iterated, kind) {
|
|
15
15
|
this._t = _toObject._toIobject(iterated); // target
|
|
16
16
|
this._i = 0; // next index
|
|
17
17
|
this._k = kind; // kind
|
package/dist/esm/AD.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React, { Suspense } from 'react';
|
|
2
2
|
|
|
3
|
-
var Dfp =
|
|
4
|
-
return import('./Dfp-
|
|
3
|
+
var Dfp = React.lazy(function () {
|
|
4
|
+
return import('./Dfp-43f121ff.js');
|
|
5
5
|
});
|
|
6
6
|
|
|
7
7
|
var AD = function AD(props) {
|
|
8
8
|
if (typeof window === 'undefined') {
|
|
9
9
|
return null;
|
|
10
10
|
}
|
|
11
|
-
return
|
|
11
|
+
return React.createElement(
|
|
12
12
|
'div',
|
|
13
13
|
null,
|
|
14
|
-
|
|
14
|
+
React.createElement(
|
|
15
15
|
Suspense,
|
|
16
|
-
{ fallback:
|
|
16
|
+
{ fallback: React.createElement(
|
|
17
17
|
'div',
|
|
18
18
|
null,
|
|
19
19
|
'Loading...'
|
|
20
20
|
) },
|
|
21
|
-
|
|
21
|
+
React.createElement(Dfp, props)
|
|
22
22
|
)
|
|
23
23
|
);
|
|
24
24
|
};
|
package/dist/esm/AD300x250.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
+
import './stringify-59c8f690.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
5
|
+
import DFPAdSlot from './AdSlot.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './_object-pie-
|
|
8
|
-
import './extends-eb69e8ac.js';
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React__default, { useState, useEffect } from 'react';
|
|
11
|
-
import './events-6c3a7a63.js';
|
|
12
|
-
import './index-41a678ea.js';
|
|
7
|
+
import './_to-object-b50e61c3.js';
|
|
8
|
+
import './web.dom.iterable-4109ff68.js';
|
|
9
|
+
import './es6.string.iterator-bc33758b.js';
|
|
10
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
11
|
+
import './extends-f076879e.js';
|
|
12
|
+
import './_object-pie-133f504a.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import './stringify-4330ccdc.js';
|
|
20
|
-
import './asyncToGenerator-fc1c2e29.js';
|
|
21
|
-
import './Segment.js';
|
|
14
|
+
import './index-2446af28.js';
|
|
15
|
+
import './events-6c3a7a63.js';
|
|
16
|
+
import './debounce-533d9748.js';
|
|
17
|
+
import './isSymbol-a7e9aafe.js';
|
|
18
|
+
import './toNumber-5aeba6e7.js';
|
|
22
19
|
import './Beam.js';
|
|
23
|
-
import
|
|
20
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
21
|
+
import './_library-528f1934.js';
|
|
22
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
23
|
+
import './Segment.js';
|
|
24
24
|
|
|
25
25
|
// removed static slotID ,because defining static slotID is restricting AD to render only once.
|
|
26
26
|
var AD300x250 = function AD300x250(_ref) {
|
|
@@ -34,15 +34,15 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
34
34
|
pos = _ref$pos === undefined ? 'rec1' : _ref$pos;
|
|
35
35
|
|
|
36
36
|
var mobileView = false;
|
|
37
|
-
if (
|
|
37
|
+
if (main_43) {
|
|
38
38
|
pos = 'rec1-mobile';
|
|
39
39
|
mobileView = true;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
var _useState = useState(true),
|
|
43
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
44
|
-
|
|
45
|
-
setPreviewAd = _useState2[1];
|
|
43
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
44
|
+
_useState2[0];
|
|
45
|
+
var setPreviewAd = _useState2[1];
|
|
46
46
|
|
|
47
47
|
useEffect(function () {
|
|
48
48
|
var path = window && window.location && window.location.search;
|
|
@@ -67,10 +67,10 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
67
67
|
var browserSizes = [[300, 600], [300, 250], [300, 100]];
|
|
68
68
|
var mobileSizes = [[300, 250], [300, 100]];
|
|
69
69
|
|
|
70
|
-
return
|
|
70
|
+
return React.createElement(
|
|
71
71
|
'div',
|
|
72
72
|
null,
|
|
73
|
-
|
|
73
|
+
React.createElement(DFPAdSlot, {
|
|
74
74
|
networkID: networkID,
|
|
75
75
|
adUnit: adUnit,
|
|
76
76
|
slotId: slotId,
|
|
@@ -81,7 +81,7 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
81
81
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
82
82
|
// style={{ display: 'none' }}
|
|
83
83
|
}),
|
|
84
|
-
|
|
84
|
+
React.createElement(
|
|
85
85
|
'style',
|
|
86
86
|
{ jsx: 'true' },
|
|
87
87
|
'\n .AD300x250 .div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
+
import './stringify-59c8f690.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
5
|
+
import DFPAdSlot from './AdSlot.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './_object-pie-
|
|
8
|
-
import './extends-eb69e8ac.js';
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React__default, { useState, useEffect } from 'react';
|
|
11
|
-
import './events-6c3a7a63.js';
|
|
12
|
-
import './index-41a678ea.js';
|
|
7
|
+
import './_to-object-b50e61c3.js';
|
|
8
|
+
import './web.dom.iterable-4109ff68.js';
|
|
9
|
+
import './es6.string.iterator-bc33758b.js';
|
|
10
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
11
|
+
import './extends-f076879e.js';
|
|
12
|
+
import './_object-pie-133f504a.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import './stringify-4330ccdc.js';
|
|
20
|
-
import './asyncToGenerator-fc1c2e29.js';
|
|
21
|
-
import './Segment.js';
|
|
14
|
+
import './index-2446af28.js';
|
|
15
|
+
import './events-6c3a7a63.js';
|
|
16
|
+
import './debounce-533d9748.js';
|
|
17
|
+
import './isSymbol-a7e9aafe.js';
|
|
18
|
+
import './toNumber-5aeba6e7.js';
|
|
22
19
|
import './Beam.js';
|
|
23
|
-
import
|
|
20
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
21
|
+
import './_library-528f1934.js';
|
|
22
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
23
|
+
import './Segment.js';
|
|
24
24
|
|
|
25
25
|
// removed static slotID ,because defining static slotID is restricting AD to render only once.
|
|
26
26
|
var AD300x250x600 = function AD300x250x600(_ref) {
|
|
@@ -35,14 +35,14 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
35
35
|
_ref$sizeMapFlag = _ref.sizeMapFlag,
|
|
36
36
|
sizeMapFlag = _ref$sizeMapFlag === undefined ? true : _ref$sizeMapFlag;
|
|
37
37
|
|
|
38
|
-
if (
|
|
38
|
+
if (main_43) {
|
|
39
39
|
pos = 'rec2-mobile';
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
var _useState = useState(true),
|
|
43
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
44
|
-
|
|
45
|
-
setPreviewAd = _useState2[1];
|
|
43
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
44
|
+
_useState2[0];
|
|
45
|
+
var setPreviewAd = _useState2[1];
|
|
46
46
|
|
|
47
47
|
useEffect(function () {
|
|
48
48
|
var path = window && window.location && window.location.search;
|
|
@@ -81,10 +81,10 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
81
81
|
sizes: [[300, 100], [300, 250]]
|
|
82
82
|
}];
|
|
83
83
|
|
|
84
|
-
return
|
|
84
|
+
return React.createElement(
|
|
85
85
|
'div',
|
|
86
86
|
null,
|
|
87
|
-
|
|
87
|
+
React.createElement(DFPAdSlot, {
|
|
88
88
|
networkID: networkID,
|
|
89
89
|
adUnit: adUnit,
|
|
90
90
|
className: 'AD300x250',
|
|
@@ -98,7 +98,7 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
98
98
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
99
99
|
// style={{ display: 'none' }}
|
|
100
100
|
}),
|
|
101
|
-
|
|
101
|
+
React.createElement(
|
|
102
102
|
'style',
|
|
103
103
|
{ jsx: 'true' },
|
|
104
104
|
'\n .AD300x250 .div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/AD728x90.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
+
import './stringify-59c8f690.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
5
|
+
import DFPAdSlot from './AdSlot.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './_object-pie-
|
|
8
|
-
import './extends-eb69e8ac.js';
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React__default, { useState, useEffect } from 'react';
|
|
11
|
-
import './events-6c3a7a63.js';
|
|
12
|
-
import './index-41a678ea.js';
|
|
7
|
+
import './_to-object-b50e61c3.js';
|
|
8
|
+
import './web.dom.iterable-4109ff68.js';
|
|
9
|
+
import './es6.string.iterator-bc33758b.js';
|
|
10
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
11
|
+
import './extends-f076879e.js';
|
|
12
|
+
import './_object-pie-133f504a.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import './stringify-4330ccdc.js';
|
|
20
|
-
import './asyncToGenerator-fc1c2e29.js';
|
|
21
|
-
import './Segment.js';
|
|
14
|
+
import './index-2446af28.js';
|
|
15
|
+
import './events-6c3a7a63.js';
|
|
16
|
+
import './debounce-533d9748.js';
|
|
17
|
+
import './isSymbol-a7e9aafe.js';
|
|
18
|
+
import './toNumber-5aeba6e7.js';
|
|
22
19
|
import './Beam.js';
|
|
23
|
-
import
|
|
20
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
21
|
+
import './_library-528f1934.js';
|
|
22
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
23
|
+
import './Segment.js';
|
|
24
24
|
|
|
25
25
|
var AD728x90 = function AD728x90(_ref) {
|
|
26
26
|
var networkID = _ref.networkID,
|
|
@@ -30,19 +30,19 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
30
30
|
_ref$targeting = _ref.targeting,
|
|
31
31
|
targeting = _ref$targeting === undefined ? {} : _ref$targeting,
|
|
32
32
|
_ref$pos = _ref.pos,
|
|
33
|
-
pos = _ref$pos === undefined ? 'top' : _ref$pos
|
|
34
|
-
_ref
|
|
33
|
+
pos = _ref$pos === undefined ? 'top' : _ref$pos;
|
|
34
|
+
_ref.fixedPos;
|
|
35
35
|
|
|
36
36
|
var mobileView = false;
|
|
37
|
-
if (
|
|
37
|
+
if (main_43) {
|
|
38
38
|
pos = 'top-mobile';
|
|
39
39
|
mobileView = true;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
var _useState = useState(true),
|
|
43
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
44
|
-
|
|
45
|
-
setPreviewAd = _useState2[1];
|
|
43
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
44
|
+
_useState2[0];
|
|
45
|
+
var setPreviewAd = _useState2[1];
|
|
46
46
|
|
|
47
47
|
useEffect(function () {
|
|
48
48
|
var path = window && window.location && window.location.search;
|
|
@@ -67,10 +67,10 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
67
67
|
var browserSizes = [[728, 90], [970, 90], [320, 50], [300, 50]];
|
|
68
68
|
var mobileSizes = [[320, 50], [300, 50]];
|
|
69
69
|
|
|
70
|
-
return
|
|
70
|
+
return React.createElement(
|
|
71
71
|
'div',
|
|
72
72
|
{ className: 'leaderboard-ad-wrapper' },
|
|
73
|
-
|
|
73
|
+
React.createElement(DFPAdSlot, {
|
|
74
74
|
slotId: slotId,
|
|
75
75
|
networkID: networkID,
|
|
76
76
|
adUnit: adUnit,
|
|
@@ -90,12 +90,12 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
90
90
|
/* Passing function to check for ad creative only if it is not in preview. */
|
|
91
91
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
92
92
|
}),
|
|
93
|
-
|
|
93
|
+
React.createElement(
|
|
94
94
|
'style',
|
|
95
95
|
{ jsx: 'true' },
|
|
96
96
|
'\n .leaderboard-ad-wrapper {\n height: auto !important;\n min-height: 90px;\n background: #fff;\n }\n .leaderboard-ad-wrapper .AD728x90 {\n height: auto !important;\n }\n /* setting height to 0px when the ad slot is empty. */\n .leaderboard-ad-wrapper .AD728x90 div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
97
97
|
),
|
|
98
|
-
|
|
98
|
+
main_43 && React.createElement(
|
|
99
99
|
'style',
|
|
100
100
|
{ jsx: 'true' },
|
|
101
101
|
'\n @media screen and (max-width: 768px) {\n .leaderboard-ad-wrapper {\n min-height: 0px;\n position: fixed;\n background: transparent;\n background-color: transparent;\n bottom: 0px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9999;\n }\n }\n '
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
+
import React, { useState, useEffect } from 'react';
|
|
3
|
+
import DFPAdSlot from './AdSlot.js';
|
|
1
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './_object-pie-
|
|
8
|
-
import './extends-eb69e8ac.js';
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React__default, { useState, useEffect } from 'react';
|
|
11
|
-
import './events-6c3a7a63.js';
|
|
12
|
-
import './index-41a678ea.js';
|
|
5
|
+
import './web.dom.iterable-4109ff68.js';
|
|
6
|
+
import './es6.string.iterator-bc33758b.js';
|
|
7
|
+
import './_to-object-b50e61c3.js';
|
|
8
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
9
|
+
import './extends-f076879e.js';
|
|
10
|
+
import './_object-pie-133f504a.js';
|
|
13
11
|
import 'prop-types';
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
17
|
-
import './
|
|
18
|
-
import
|
|
19
|
-
import './stringify-4330ccdc.js';
|
|
20
|
-
import './asyncToGenerator-fc1c2e29.js';
|
|
21
|
-
import './Segment.js';
|
|
12
|
+
import './index-2446af28.js';
|
|
13
|
+
import './events-6c3a7a63.js';
|
|
14
|
+
import './debounce-533d9748.js';
|
|
15
|
+
import './isSymbol-a7e9aafe.js';
|
|
16
|
+
import './toNumber-5aeba6e7.js';
|
|
22
17
|
import './Beam.js';
|
|
23
|
-
import
|
|
18
|
+
import './stringify-59c8f690.js';
|
|
19
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
20
|
+
import './_library-528f1934.js';
|
|
21
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
22
|
+
import './Segment.js';
|
|
23
|
+
import './main-b5c5aac1.js';
|
|
24
24
|
|
|
25
25
|
var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
26
26
|
var title = _ref.title,
|
|
@@ -55,9 +55,9 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
55
55
|
setWidthFlag = _useState2[1];
|
|
56
56
|
|
|
57
57
|
var _useState3 = useState(true),
|
|
58
|
-
_useState4 = _slicedToArray(_useState3, 2)
|
|
59
|
-
|
|
60
|
-
setPreviewAd = _useState4[1];
|
|
58
|
+
_useState4 = _slicedToArray(_useState3, 2);
|
|
59
|
+
_useState4[0];
|
|
60
|
+
var setPreviewAd = _useState4[1];
|
|
61
61
|
|
|
62
62
|
var _useState5 = useState(false),
|
|
63
63
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
@@ -102,13 +102,13 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
102
102
|
sessionStorage.setItem('mjh-floating-footer-ad', Math.floor(Date.now() / 1000));
|
|
103
103
|
};
|
|
104
104
|
|
|
105
|
-
return
|
|
106
|
-
|
|
105
|
+
return React.createElement(
|
|
106
|
+
React.Fragment,
|
|
107
107
|
null,
|
|
108
|
-
showAd && widthFlag && adTargeting.document_url &&
|
|
108
|
+
showAd && widthFlag && adTargeting.document_url && React.createElement(
|
|
109
109
|
'div',
|
|
110
110
|
{ id: 'floating-ad-wrapper', className: 'floating-ad-wrapper display-floating ' + title },
|
|
111
|
-
|
|
111
|
+
React.createElement(DFPAdSlot, {
|
|
112
112
|
className: className,
|
|
113
113
|
slotId: slotId,
|
|
114
114
|
networkID: networkID,
|
|
@@ -119,7 +119,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
119
119
|
/* Passing function to check for ad creative only if it is not in preview. */
|
|
120
120
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
121
121
|
}),
|
|
122
|
-
|
|
122
|
+
React.createElement(
|
|
123
123
|
'div',
|
|
124
124
|
{ className: 'closeButton', onClick: function onClick() {
|
|
125
125
|
return collapseAd();
|
|
@@ -127,7 +127,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
127
127
|
'x'
|
|
128
128
|
)
|
|
129
129
|
),
|
|
130
|
-
|
|
130
|
+
React.createElement(
|
|
131
131
|
'style',
|
|
132
132
|
{ jsx: 'true' },
|
|
133
133
|
'\n .display-floating {\n display: block;\n }\n .hide-floating {\n display: none;\n }\n .floating-ad-wrapper {\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n }\n .closeButton {\n position: absolute;\n top: -16px;\n right: -16px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 15px;\n cursor: pointer;\n z-index: 999999;\n }\n .floating-ad-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/ADFooter.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
+
import React, { useState, useEffect } from 'react';
|
|
1
3
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import React__default, { useState, useEffect } from 'react';
|
|
7
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
4
|
+
import './web.dom.iterable-4109ff68.js';
|
|
5
|
+
import './es6.string.iterator-bc33758b.js';
|
|
6
|
+
import './_to-object-b50e61c3.js';
|
|
7
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
8
8
|
|
|
9
9
|
var ADFooter = function ADFooter(_ref) {
|
|
10
10
|
var children = _ref.children;
|
|
@@ -25,20 +25,20 @@ var ADFooter = function ADFooter(_ref) {
|
|
|
25
25
|
sessionStorage.setItem('mjh-floating-footer-ad', Math.floor(Date.now() / 1000));
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
return
|
|
29
|
-
|
|
28
|
+
return React.createElement(
|
|
29
|
+
React.Fragment,
|
|
30
30
|
null,
|
|
31
|
-
showAd &&
|
|
31
|
+
showAd && React.createElement(
|
|
32
32
|
'div',
|
|
33
33
|
{ className: 'ADFooter' },
|
|
34
34
|
children,
|
|
35
|
-
|
|
35
|
+
React.createElement(
|
|
36
36
|
'div',
|
|
37
37
|
{ className: 'closeButton', onClick: handleCloseAd },
|
|
38
38
|
'x'
|
|
39
39
|
)
|
|
40
40
|
),
|
|
41
|
-
|
|
41
|
+
React.createElement(
|
|
42
42
|
'style',
|
|
43
43
|
{ jsx: 'true' },
|
|
44
44
|
'\n .ADFooter {\n width: auto;\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n }\n .adBox > div:empty {\n display: none !important;\n }\n .adBox > div:not(:empty) {\n display: block !important;\n }\n .closeButton {\n position: absolute;\n top: -10px;\n right: -10px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 17px;\n cursor: pointer;\n }\n '
|