@mjhls/mjh-framework 1.0.990-next-12-02 → 1.0.990

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.
Files changed (246) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +2 -1
  4. package/dist/cjs/AD300x250x600.js +2 -1
  5. package/dist/cjs/AD728x90.js +2 -1
  6. package/dist/cjs/ADFloatingFooter.js +2 -1
  7. package/dist/cjs/ADGutter.js +2 -1
  8. package/dist/cjs/ADSkyscraper.js +2 -1
  9. package/dist/cjs/ADSponsoredResources.js +2 -1
  10. package/dist/cjs/ADWebcast.js +2 -1
  11. package/dist/cjs/ADWelcome.js +2 -1
  12. package/dist/cjs/AdSlot.js +2 -1
  13. package/dist/cjs/AdSlotsProvider.js +2 -1
  14. package/dist/cjs/AlgoliaSearch.js +14165 -18
  15. package/dist/cjs/ArticleCarousel.js +1 -1
  16. package/dist/cjs/ArticleProgramLandingPage.js +7 -5
  17. package/dist/cjs/ArticleSeriesLandingPage.js +5 -4
  18. package/dist/cjs/ArticleSeriesListing.js +3 -2
  19. package/dist/cjs/Auth.js +3650 -0
  20. package/dist/cjs/AuthWrapper.js +1470 -294
  21. package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-9ebd251f.js} +1 -1
  22. package/dist/cjs/CMEDeck.js +2 -1
  23. package/dist/cjs/Column3.js +2 -1
  24. package/dist/cjs/ConferenceArticleCard.js +16 -16
  25. package/dist/cjs/ContentCardPaginated.js +5 -4
  26. package/dist/cjs/DeckContent.js +13 -12
  27. package/dist/cjs/DeckQueue.js +4 -3
  28. package/dist/cjs/DeckQueuePaginated.js +4 -3
  29. package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-9be904d5.js} +2 -1
  30. package/dist/cjs/EventsDeck.js +17 -17
  31. package/dist/cjs/ExternalResources.js +7 -5
  32. package/dist/cjs/Feature.js +1 -1
  33. package/dist/cjs/ForbesHero.js +1 -1
  34. package/dist/cjs/GridContent.js +7 -6
  35. package/dist/cjs/GridContentPaginated.js +7 -6
  36. package/dist/cjs/GridHero.js +2 -2
  37. package/dist/cjs/GroupDeck.js +1 -1
  38. package/dist/cjs/HamMagazine.js +9 -9
  39. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  40. package/dist/cjs/Hero.js +2 -2
  41. package/dist/cjs/HorizontalArticleListing.js +7 -5
  42. package/dist/cjs/HorizontalHero.js +1 -1
  43. package/dist/cjs/ImageSlider-6c00b878.js +2813 -0
  44. package/dist/cjs/IssueContentDeck.js +1 -1
  45. package/dist/cjs/IssueDeck.js +1 -1
  46. package/dist/cjs/IssueLanding.js +38 -36
  47. package/dist/cjs/KMTracker.js +15 -15
  48. package/dist/cjs/LeftNav.js +2 -1
  49. package/dist/cjs/MasterDeck.js +13 -12
  50. package/dist/cjs/MasterDeckPaginated.js +12 -11
  51. package/dist/cjs/{MediaSeriesCard-36eab8b7.js → MediaSeriesCard-90875937.js} +394 -391
  52. package/dist/cjs/MediaSeriesLanding.js +17 -14
  53. package/dist/cjs/MediaSeriesLandingPaginated.js +17 -14
  54. package/dist/cjs/NavMagazine.js +10 -10
  55. package/dist/cjs/NavNative.js +9 -9
  56. package/dist/cjs/OncliveHero.js +1 -1
  57. package/dist/cjs/OncliveLargeHero.js +2 -2
  58. package/dist/cjs/PartnerDetailListing.js +13 -11
  59. package/dist/cjs/PartnerDetailListingPaginated.js +13 -11
  60. package/dist/cjs/PubSection.js +6 -5
  61. package/dist/cjs/PublicationDeck.js +1 -1
  62. package/dist/cjs/PublicationLanding.js +30 -26
  63. package/dist/cjs/QueueDeckExpanded.js +6 -5
  64. package/dist/cjs/QueueDeckExpandedPaginated.js +6 -5
  65. package/dist/cjs/RelatedContent.js +29 -29
  66. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  67. package/dist/cjs/Schema.js +1 -1
  68. package/dist/cjs/SeriesListingDeck.js +4 -3
  69. package/dist/cjs/{SeriesSlider-b94f1dd5.js → SeriesSlider-594b19eb.js} +4 -4
  70. package/dist/cjs/SideFooter.js +2 -2
  71. package/dist/cjs/TaxonomyCard.js +2 -2
  72. package/dist/cjs/TaxonomyDescription.js +7 -5
  73. package/dist/cjs/TemplateNormal.js +2 -1
  74. package/dist/cjs/ThumbnailCard.js +2 -2
  75. package/dist/cjs/VerticalHero.js +1 -1
  76. package/dist/cjs/VideoProgramLandingPage.js +7 -5
  77. package/dist/cjs/VideoSeriesCard.js +2 -2
  78. package/dist/cjs/VideoSeriesLandingPage.js +5 -4
  79. package/dist/cjs/VideoSeriesListing.js +3 -2
  80. package/dist/cjs/View.js +12 -9
  81. package/dist/cjs/YahooHero.js +2 -2
  82. package/dist/cjs/YoutubeGroup.js +5 -5
  83. package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
  84. package/dist/cjs/{entities-3f9d0f2f.js → entities-df1aed86.js} +4 -0
  85. package/dist/cjs/events-1b438fe7.js +469 -0
  86. package/dist/cjs/faundadb.js +4 -321
  87. package/dist/cjs/getRelatedArticle.js +8 -213
  88. package/dist/cjs/getSerializers.js +7 -5
  89. package/dist/cjs/{getTargeting-4439c99d.js → getTargeting-ba942d9a.js} +9 -9
  90. package/dist/cjs/getTargeting.js +1 -1
  91. package/dist/cjs/index-50be6759.js +105 -0
  92. package/dist/cjs/{index-7361fa72.js → index-869cab56.js} +16 -588
  93. package/dist/cjs/index-bd6c9f56.js +211 -0
  94. package/dist/cjs/{index-efca863c.js → index-d48b231c.js} +5 -5
  95. package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
  96. package/dist/cjs/index.js +23 -13
  97. package/dist/cjs/md5-e1ca5797.js +323 -0
  98. package/dist/cjs/typeof-1358762e.js +33 -0
  99. package/dist/cjs/urlFor.js +1 -1
  100. package/dist/cjs/util-93a37fd0.js +587 -0
  101. package/dist/esm/AD.js +1 -1
  102. package/dist/esm/AD300x250.js +9 -8
  103. package/dist/esm/AD300x250x600.js +9 -8
  104. package/dist/esm/AD728x90.js +9 -8
  105. package/dist/esm/ADFloatingFooter.js +9 -8
  106. package/dist/esm/ADFooter.js +3 -3
  107. package/dist/esm/ADGutter.js +9 -8
  108. package/dist/esm/{ADInfeed-f684cac9.js → ADInfeed-6d1fc6bf.js} +1 -1
  109. package/dist/esm/ADSkyscraper.js +9 -8
  110. package/dist/esm/ADSponsoredResources.js +9 -8
  111. package/dist/esm/ADWebcast.js +9 -8
  112. package/dist/esm/ADWelcome.js +9 -8
  113. package/dist/esm/{ADlgInfeed-8c438cee.js → ADlgInfeed-dc36c928.js} +1 -1
  114. package/dist/esm/AccordionPanel.js +3 -3
  115. package/dist/esm/AdSlot.js +9 -8
  116. package/dist/esm/AdSlotsProvider.js +7 -6
  117. package/dist/esm/AlgoliaSearch.js +14165 -18
  118. package/dist/esm/AlphabeticList.js +6 -6
  119. package/dist/esm/ArticleCarousel.js +5 -5
  120. package/dist/esm/ArticleProgramLandingPage.js +22 -20
  121. package/dist/esm/ArticleSeriesLandingPage.js +18 -17
  122. package/dist/esm/ArticleSeriesListing.js +12 -11
  123. package/dist/esm/Auth.js +3630 -0
  124. package/dist/esm/AuthWrapper.js +1467 -291
  125. package/dist/esm/{AuthorComponent-defe68b6.js → AuthorComponent-11adff02.js} +1 -1
  126. package/dist/esm/Beam.js +5 -5
  127. package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-1e73bd2c.js} +1 -1
  128. package/dist/esm/Breadcrumbs.js +3 -3
  129. package/dist/esm/CMEDeck.js +9 -8
  130. package/dist/esm/Column2.js +6 -6
  131. package/dist/esm/Column3.js +11 -10
  132. package/dist/esm/ConferenceArticleCard.js +19 -19
  133. package/dist/esm/ContentCardPaginated.js +18 -17
  134. package/dist/esm/DeckContent.js +26 -25
  135. package/dist/esm/DeckQueue.js +15 -14
  136. package/dist/esm/DeckQueuePaginated.js +16 -15
  137. package/dist/esm/{Dfp-4b99f79d.js → Dfp-102f0beb.js} +5 -4
  138. package/dist/esm/EventsDeck.js +27 -27
  139. package/dist/esm/ExternalResources.js +22 -20
  140. package/dist/esm/Feature.js +4 -4
  141. package/dist/esm/ForbesHero.js +5 -5
  142. package/dist/esm/GridContent.js +21 -20
  143. package/dist/esm/GridContentPaginated.js +21 -20
  144. package/dist/esm/GridHero.js +6 -6
  145. package/dist/esm/GroupDeck.js +6 -6
  146. package/dist/esm/HamMagazine.js +15 -15
  147. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  148. package/dist/esm/Hero.js +5 -5
  149. package/dist/esm/HorizontalArticleListing.js +22 -20
  150. package/dist/esm/HorizontalHero.js +4 -4
  151. package/dist/esm/ImageSlider-f84174cb.js +2804 -0
  152. package/dist/esm/IssueContentDeck.js +5 -5
  153. package/dist/esm/IssueDeck.js +7 -7
  154. package/dist/esm/IssueLanding.js +54 -52
  155. package/dist/esm/KMTracker.js +15 -15
  156. package/dist/esm/LeftNav.js +9 -8
  157. package/dist/esm/MasterDeck.js +26 -25
  158. package/dist/esm/MasterDeckPaginated.js +25 -24
  159. package/dist/esm/{MediaSeriesCard-99048e65.js → MediaSeriesCard-767d6d90.js} +110 -107
  160. package/dist/esm/MediaSeriesLanding.js +32 -29
  161. package/dist/esm/MediaSeriesLandingPaginated.js +32 -29
  162. package/dist/esm/NavDvm.js +5 -5
  163. package/dist/esm/NavMagazine.js +16 -16
  164. package/dist/esm/NavNative.js +14 -14
  165. package/dist/esm/OncliveHero.js +4 -4
  166. package/dist/esm/OncliveLargeHero.js +6 -6
  167. package/dist/esm/PageFilter.js +3 -3
  168. package/dist/esm/PartnerDetailListing.js +28 -26
  169. package/dist/esm/PartnerDetailListingPaginated.js +28 -26
  170. package/dist/esm/PixelTracking.js +3 -3
  171. package/dist/esm/PopUpModal.js +3 -3
  172. package/dist/esm/PtceDeck.js +7 -7
  173. package/dist/esm/PubSection.js +15 -14
  174. package/dist/esm/PubToc.js +5 -5
  175. package/dist/esm/PublicationDeck.js +4 -4
  176. package/dist/esm/PublicationLanding.js +39 -35
  177. package/dist/esm/QueueDeckExpanded.js +15 -14
  178. package/dist/esm/QueueDeckExpandedPaginated.js +15 -14
  179. package/dist/esm/RelatedContent.js +32 -32
  180. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  181. package/dist/esm/Schema.js +8 -8
  182. package/dist/esm/Search.js +3 -3
  183. package/dist/esm/Segment.js +4 -4
  184. package/dist/esm/SeriesListingDeck.js +10 -9
  185. package/dist/esm/{SeriesSlider-609f9d94.js → SeriesSlider-f771e20d.js} +5 -5
  186. package/dist/esm/SideFooter.js +8 -8
  187. package/dist/esm/{SocialSearchComponent-1d8a9f59.js → SocialSearchComponent-4b56cd8c.js} +1 -1
  188. package/dist/esm/TaxonomyCard.js +6 -6
  189. package/dist/esm/TaxonomyDescription.js +22 -20
  190. package/dist/esm/TemplateNormal.js +12 -11
  191. package/dist/esm/ThumbnailCard.js +5 -5
  192. package/dist/esm/Ustream.js +6 -6
  193. package/dist/esm/VerticalHero.js +4 -4
  194. package/dist/esm/VideoProgramLandingPage.js +22 -20
  195. package/dist/esm/VideoSeriesCard.js +7 -7
  196. package/dist/esm/VideoSeriesFilter.js +5 -5
  197. package/dist/esm/VideoSeriesLandingPage.js +18 -17
  198. package/dist/esm/VideoSeriesListing.js +12 -11
  199. package/dist/esm/View.js +28 -25
  200. package/dist/esm/YahooHero.js +6 -6
  201. package/dist/esm/YoutubeGroup.js +8 -8
  202. package/dist/esm/{_is-array-893ab020.js → _is-array-8d21b9e3.js} +1 -1
  203. package/dist/esm/{_iter-detect-f089461c.js → _iter-detect-98db3b07.js} +1 -1
  204. package/dist/esm/{_object-sap-169d6272.js → _object-sap-7cee6f84.js} +1 -1
  205. package/dist/esm/{_object-to-array-50a6b9a3.js → _object-to-array-2300e51b.js} +1 -1
  206. package/dist/esm/{asyncToGenerator-9716ae8d.js → asyncToGenerator-958ef5fc.js} +3 -3
  207. package/dist/esm/{core.get-iterator-method-e903ff31.js → core.get-iterator-method-ea258bb1.js} +1 -1
  208. package/dist/esm/{define-property-99e66838.js → define-property-5f1bda73.js} +1 -1
  209. package/dist/esm/defineProperty-23a8f8cd.js +68 -0
  210. package/dist/esm/{defineProperty-8fa0bc8d.js → defineProperty-8c30428f.js} +1 -1
  211. package/dist/esm/{entities-932b50cf.js → entities-6d9154b4.js} +4 -0
  212. package/dist/esm/events-6c3a7a63.js +467 -0
  213. package/dist/esm/{extends-dc6a71fd.js → extends-6d8e3924.js} +1 -1
  214. package/dist/esm/faundadb.js +6 -323
  215. package/dist/esm/getPtceActivities.js +4 -4
  216. package/dist/esm/getRelatedArticle.js +8 -213
  217. package/dist/esm/getRootDocGroup.js +4 -4
  218. package/dist/esm/getSerializers.js +22 -20
  219. package/dist/esm/{getTargeting-db566006.js → getTargeting-9bd28724.js} +11 -11
  220. package/dist/esm/getTargeting.js +5 -5
  221. package/dist/esm/{index-0dbff1d1.js → index-3f5c03b2.js} +5 -5
  222. package/dist/esm/{index-c60f3bb6.js → index-4959f8e7.js} +15 -587
  223. package/dist/esm/index-98ca9cec.js +100 -0
  224. package/dist/esm/index-db3bb315.js +207 -0
  225. package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
  226. package/dist/esm/index.js +41 -32
  227. package/dist/esm/{inherits-8a801a18.js → inherits-a6ba2ec4.js} +4 -4
  228. package/dist/esm/{keys-425c8ab0.js → keys-31dcdb31.js} +2 -2
  229. package/dist/esm/md5-4e42248e.js +321 -0
  230. package/dist/esm/{slicedToArray-ca2c8b8d.js → slicedToArray-6ebcbfea.js} +2 -2
  231. package/dist/esm/{stringify-c21932b3.js → stringify-2b084bee.js} +1 -1
  232. package/dist/esm/{toConsumableArray-7b1c0e23.js → toConsumableArray-f7074d7c.js} +2 -2
  233. package/dist/esm/typeof-2f07d0e8.js +30 -0
  234. package/dist/esm/{typeof-83d9eb10.js → typeof-e9fc0c5d.js} +3 -3
  235. package/dist/esm/urlFor.js +4 -4
  236. package/dist/esm/{urlForFile-413f5ddb.js → urlForFile-b69adffc.js} +1 -1
  237. package/dist/esm/{ustream-api-41166338.js → ustream-api-d3714624.js} +4 -4
  238. package/dist/esm/util-8ed16d48.js +585 -0
  239. package/dist/esm/{web.dom.iterable-fdf034f5.js → web.dom.iterable-ab4dea5c.js} +1 -1
  240. package/package.json +115 -115
  241. package/dist/cjs/ImageSlider-a7fb6218.js +0 -182
  242. package/dist/esm/ImageSlider-eab2fe41.js +0 -176
  243. /package/dist/cjs/{ADInfeed-cf54cb8a.js → ADInfeed-81006615.js} +0 -0
  244. /package/dist/cjs/{ADlgInfeed-d06624d8.js → ADlgInfeed-0db07099.js} +0 -0
  245. /package/dist/cjs/{PublicationFeature-be5f3503.js → PublicationFeature-5ccf9b13.js} +0 -0
  246. /package/dist/esm/{PublicationFeature-03500094.js → PublicationFeature-d88e76b9.js} +0 -0
@@ -4,15 +4,16 @@ var React = require('react');
4
4
  var slicedToArray = require('./slicedToArray-067dd3bc.js');
5
5
  var reactBootstrap = require('react-bootstrap');
6
6
  var urlFor = require('./urlFor.js');
7
- var index = require('./index-0e4427c8.js');
7
+ var index = require('./index-fc2f1ca2.js');
8
8
  var Router = require('next/router');
9
9
  var index$1 = require('./index-187c967e.js');
10
10
  var PropTypes = require('prop-types');
11
11
  var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
12
+ var util = require('./util-93a37fd0.js');
12
13
  require('./Beam.js');
13
14
  var Segment = require('./Segment.js');
14
15
  var main = require('./main-f1c77adb.js');
15
- var BlockContent = require('./BlockContent-36e54d77.js');
16
+ var BlockContent = require('./BlockContent-9ebd251f.js');
16
17
  var _extends = require('./extends-7c86182f.js');
17
18
  var urlForFile = require('./urlForFile-29d3815a.js');
18
19
  var index$2 = require('./index-eadd5035.js');
@@ -31,12 +32,12 @@ var core_getIteratorMethod = require('./core.get-iterator-method-5643aa10.js');
31
32
  var _objectToArray = require('./_object-to-array-ce86cae7.js');
32
33
  var toConsumableArray = require('./toConsumableArray-d7797c2b.js');
33
34
  var Pagination = require('react-bootstrap/Pagination');
34
- var entities = require('./entities-3f9d0f2f.js');
35
+ var entities = require('./entities-df1aed86.js');
35
36
  var AdSlot = require('./AdSlot.js');
36
37
  var Row = require('react-bootstrap/Row');
37
38
  var Col = require('react-bootstrap/Col');
38
39
  var Head = require('next/head');
39
- var inherits$2 = require('./inherits-de66ea16.js');
40
+ var inherits = require('./inherits-de66ea16.js');
40
41
  var index_esm = require('./index.esm-d81454e7.js');
41
42
  var Figure$1 = require('react-bootstrap/Figure');
42
43
  var OverlayTrigger = require('react-bootstrap/OverlayTrigger');
@@ -929,579 +930,6 @@ var tty = {
929
930
  WriteStream: WriteStream
930
931
  };
931
932
 
932
- var inherits;
933
- if (typeof Object.create === 'function'){
934
- inherits = function inherits(ctor, superCtor) {
935
- // implementation from standard node.js 'util' module
936
- ctor.super_ = superCtor;
937
- ctor.prototype = Object.create(superCtor.prototype, {
938
- constructor: {
939
- value: ctor,
940
- enumerable: false,
941
- writable: true,
942
- configurable: true
943
- }
944
- });
945
- };
946
- } else {
947
- inherits = function inherits(ctor, superCtor) {
948
- ctor.super_ = superCtor;
949
- var TempCtor = function () {};
950
- TempCtor.prototype = superCtor.prototype;
951
- ctor.prototype = new TempCtor();
952
- ctor.prototype.constructor = ctor;
953
- };
954
- }
955
- var inherits$1 = inherits;
956
-
957
- // Copyright Joyent, Inc. and other Node contributors.
958
- var formatRegExp = /%[sdj%]/g;
959
- function format(f) {
960
- if (!isString(f)) {
961
- var objects = [];
962
- for (var i = 0; i < arguments.length; i++) {
963
- objects.push(inspect(arguments[i]));
964
- }
965
- return objects.join(' ');
966
- }
967
-
968
- var i = 1;
969
- var args = arguments;
970
- var len = args.length;
971
- var str = String(f).replace(formatRegExp, function(x) {
972
- if (x === '%%') return '%';
973
- if (i >= len) return x;
974
- switch (x) {
975
- case '%s': return String(args[i++]);
976
- case '%d': return Number(args[i++]);
977
- case '%j':
978
- try {
979
- return JSON.stringify(args[i++]);
980
- } catch (_) {
981
- return '[Circular]';
982
- }
983
- default:
984
- return x;
985
- }
986
- });
987
- for (var x = args[i]; i < len; x = args[++i]) {
988
- if (isNull(x) || !isObject(x)) {
989
- str += ' ' + x;
990
- } else {
991
- str += ' ' + inspect(x);
992
- }
993
- }
994
- return str;
995
- }
996
-
997
- // Mark that a method should not be used.
998
- // Returns a modified function which warns once by default.
999
- // If --no-deprecation is set, then it is a no-op.
1000
- function deprecate(fn, msg) {
1001
- // Allow for deprecating things in the process of starting up.
1002
- if (isUndefined(global.process)) {
1003
- return function() {
1004
- return deprecate(fn, msg).apply(this, arguments);
1005
- };
1006
- }
1007
-
1008
- var warned = false;
1009
- function deprecated() {
1010
- if (!warned) {
1011
- {
1012
- console.error(msg);
1013
- }
1014
- warned = true;
1015
- }
1016
- return fn.apply(this, arguments);
1017
- }
1018
-
1019
- return deprecated;
1020
- }
1021
-
1022
- var debugs = {};
1023
- var debugEnviron;
1024
- function debuglog(set) {
1025
- if (isUndefined(debugEnviron))
1026
- debugEnviron = '';
1027
- set = set.toUpperCase();
1028
- if (!debugs[set]) {
1029
- if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
1030
- var pid = 0;
1031
- debugs[set] = function() {
1032
- var msg = format.apply(null, arguments);
1033
- console.error('%s %d: %s', set, pid, msg);
1034
- };
1035
- } else {
1036
- debugs[set] = function() {};
1037
- }
1038
- }
1039
- return debugs[set];
1040
- }
1041
-
1042
- /**
1043
- * Echos the value of a value. Trys to print the value out
1044
- * in the best way possible given the different types.
1045
- *
1046
- * @param {Object} obj The object to print out.
1047
- * @param {Object} opts Optional options object that alters the output.
1048
- */
1049
- /* legacy: obj, showHidden, depth, colors*/
1050
- function inspect(obj, opts) {
1051
- // default options
1052
- var ctx = {
1053
- seen: [],
1054
- stylize: stylizeNoColor
1055
- };
1056
- // legacy...
1057
- if (arguments.length >= 3) ctx.depth = arguments[2];
1058
- if (arguments.length >= 4) ctx.colors = arguments[3];
1059
- if (isBoolean(opts)) {
1060
- // legacy...
1061
- ctx.showHidden = opts;
1062
- } else if (opts) {
1063
- // got an "options" object
1064
- _extend(ctx, opts);
1065
- }
1066
- // set default options
1067
- if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
1068
- if (isUndefined(ctx.depth)) ctx.depth = 2;
1069
- if (isUndefined(ctx.colors)) ctx.colors = false;
1070
- if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
1071
- if (ctx.colors) ctx.stylize = stylizeWithColor;
1072
- return formatValue(ctx, obj, ctx.depth);
1073
- }
1074
-
1075
- // http://en.wikipedia.org/wiki/ANSI_escape_code#graphics
1076
- inspect.colors = {
1077
- 'bold' : [1, 22],
1078
- 'italic' : [3, 23],
1079
- 'underline' : [4, 24],
1080
- 'inverse' : [7, 27],
1081
- 'white' : [37, 39],
1082
- 'grey' : [90, 39],
1083
- 'black' : [30, 39],
1084
- 'blue' : [34, 39],
1085
- 'cyan' : [36, 39],
1086
- 'green' : [32, 39],
1087
- 'magenta' : [35, 39],
1088
- 'red' : [31, 39],
1089
- 'yellow' : [33, 39]
1090
- };
1091
-
1092
- // Don't use 'blue' not visible on cmd.exe
1093
- inspect.styles = {
1094
- 'special': 'cyan',
1095
- 'number': 'yellow',
1096
- 'boolean': 'yellow',
1097
- 'undefined': 'grey',
1098
- 'null': 'bold',
1099
- 'string': 'green',
1100
- 'date': 'magenta',
1101
- // "name": intentionally not styling
1102
- 'regexp': 'red'
1103
- };
1104
-
1105
-
1106
- function stylizeWithColor(str, styleType) {
1107
- var style = inspect.styles[styleType];
1108
-
1109
- if (style) {
1110
- return '\u001b[' + inspect.colors[style][0] + 'm' + str +
1111
- '\u001b[' + inspect.colors[style][1] + 'm';
1112
- } else {
1113
- return str;
1114
- }
1115
- }
1116
-
1117
-
1118
- function stylizeNoColor(str, styleType) {
1119
- return str;
1120
- }
1121
-
1122
-
1123
- function arrayToHash(array) {
1124
- var hash = {};
1125
-
1126
- array.forEach(function(val, idx) {
1127
- hash[val] = true;
1128
- });
1129
-
1130
- return hash;
1131
- }
1132
-
1133
-
1134
- function formatValue(ctx, value, recurseTimes) {
1135
- // Provide a hook for user-specified inspect functions.
1136
- // Check that value is an object with an inspect function on it
1137
- if (ctx.customInspect &&
1138
- value &&
1139
- isFunction(value.inspect) &&
1140
- // Filter out the util module, it's inspect function is special
1141
- value.inspect !== inspect &&
1142
- // Also filter out any prototype objects using the circular check.
1143
- !(value.constructor && value.constructor.prototype === value)) {
1144
- var ret = value.inspect(recurseTimes, ctx);
1145
- if (!isString(ret)) {
1146
- ret = formatValue(ctx, ret, recurseTimes);
1147
- }
1148
- return ret;
1149
- }
1150
-
1151
- // Primitive types cannot have properties
1152
- var primitive = formatPrimitive(ctx, value);
1153
- if (primitive) {
1154
- return primitive;
1155
- }
1156
-
1157
- // Look up the keys of the object.
1158
- var keys = Object.keys(value);
1159
- var visibleKeys = arrayToHash(keys);
1160
-
1161
- if (ctx.showHidden) {
1162
- keys = Object.getOwnPropertyNames(value);
1163
- }
1164
-
1165
- // IE doesn't make error fields non-enumerable
1166
- // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx
1167
- if (isError(value)
1168
- && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {
1169
- return formatError(value);
1170
- }
1171
-
1172
- // Some type of object without properties can be shortcutted.
1173
- if (keys.length === 0) {
1174
- if (isFunction(value)) {
1175
- var name = value.name ? ': ' + value.name : '';
1176
- return ctx.stylize('[Function' + name + ']', 'special');
1177
- }
1178
- if (isRegExp(value)) {
1179
- return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
1180
- }
1181
- if (isDate(value)) {
1182
- return ctx.stylize(Date.prototype.toString.call(value), 'date');
1183
- }
1184
- if (isError(value)) {
1185
- return formatError(value);
1186
- }
1187
- }
1188
-
1189
- var base = '', array = false, braces = ['{', '}'];
1190
-
1191
- // Make Array say that they are Array
1192
- if (isArray(value)) {
1193
- array = true;
1194
- braces = ['[', ']'];
1195
- }
1196
-
1197
- // Make functions say that they are functions
1198
- if (isFunction(value)) {
1199
- var n = value.name ? ': ' + value.name : '';
1200
- base = ' [Function' + n + ']';
1201
- }
1202
-
1203
- // Make RegExps say that they are RegExps
1204
- if (isRegExp(value)) {
1205
- base = ' ' + RegExp.prototype.toString.call(value);
1206
- }
1207
-
1208
- // Make dates with properties first say the date
1209
- if (isDate(value)) {
1210
- base = ' ' + Date.prototype.toUTCString.call(value);
1211
- }
1212
-
1213
- // Make error with message first say the error
1214
- if (isError(value)) {
1215
- base = ' ' + formatError(value);
1216
- }
1217
-
1218
- if (keys.length === 0 && (!array || value.length == 0)) {
1219
- return braces[0] + base + braces[1];
1220
- }
1221
-
1222
- if (recurseTimes < 0) {
1223
- if (isRegExp(value)) {
1224
- return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
1225
- } else {
1226
- return ctx.stylize('[Object]', 'special');
1227
- }
1228
- }
1229
-
1230
- ctx.seen.push(value);
1231
-
1232
- var output;
1233
- if (array) {
1234
- output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
1235
- } else {
1236
- output = keys.map(function(key) {
1237
- return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
1238
- });
1239
- }
1240
-
1241
- ctx.seen.pop();
1242
-
1243
- return reduceToSingleString(output, base, braces);
1244
- }
1245
-
1246
-
1247
- function formatPrimitive(ctx, value) {
1248
- if (isUndefined(value))
1249
- return ctx.stylize('undefined', 'undefined');
1250
- if (isString(value)) {
1251
- var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '')
1252
- .replace(/'/g, "\\'")
1253
- .replace(/\\"/g, '"') + '\'';
1254
- return ctx.stylize(simple, 'string');
1255
- }
1256
- if (isNumber(value))
1257
- return ctx.stylize('' + value, 'number');
1258
- if (isBoolean(value))
1259
- return ctx.stylize('' + value, 'boolean');
1260
- // For some reason typeof null is "object", so special case here.
1261
- if (isNull(value))
1262
- return ctx.stylize('null', 'null');
1263
- }
1264
-
1265
-
1266
- function formatError(value) {
1267
- return '[' + Error.prototype.toString.call(value) + ']';
1268
- }
1269
-
1270
-
1271
- function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
1272
- var output = [];
1273
- for (var i = 0, l = value.length; i < l; ++i) {
1274
- if (hasOwnProperty(value, String(i))) {
1275
- output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
1276
- String(i), true));
1277
- } else {
1278
- output.push('');
1279
- }
1280
- }
1281
- keys.forEach(function(key) {
1282
- if (!key.match(/^\d+$/)) {
1283
- output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
1284
- key, true));
1285
- }
1286
- });
1287
- return output;
1288
- }
1289
-
1290
-
1291
- function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
1292
- var name, str, desc;
1293
- desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };
1294
- if (desc.get) {
1295
- if (desc.set) {
1296
- str = ctx.stylize('[Getter/Setter]', 'special');
1297
- } else {
1298
- str = ctx.stylize('[Getter]', 'special');
1299
- }
1300
- } else {
1301
- if (desc.set) {
1302
- str = ctx.stylize('[Setter]', 'special');
1303
- }
1304
- }
1305
- if (!hasOwnProperty(visibleKeys, key)) {
1306
- name = '[' + key + ']';
1307
- }
1308
- if (!str) {
1309
- if (ctx.seen.indexOf(desc.value) < 0) {
1310
- if (isNull(recurseTimes)) {
1311
- str = formatValue(ctx, desc.value, null);
1312
- } else {
1313
- str = formatValue(ctx, desc.value, recurseTimes - 1);
1314
- }
1315
- if (str.indexOf('\n') > -1) {
1316
- if (array) {
1317
- str = str.split('\n').map(function(line) {
1318
- return ' ' + line;
1319
- }).join('\n').substr(2);
1320
- } else {
1321
- str = '\n' + str.split('\n').map(function(line) {
1322
- return ' ' + line;
1323
- }).join('\n');
1324
- }
1325
- }
1326
- } else {
1327
- str = ctx.stylize('[Circular]', 'special');
1328
- }
1329
- }
1330
- if (isUndefined(name)) {
1331
- if (array && key.match(/^\d+$/)) {
1332
- return str;
1333
- }
1334
- name = JSON.stringify('' + key);
1335
- if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
1336
- name = name.substr(1, name.length - 2);
1337
- name = ctx.stylize(name, 'name');
1338
- } else {
1339
- name = name.replace(/'/g, "\\'")
1340
- .replace(/\\"/g, '"')
1341
- .replace(/(^"|"$)/g, "'");
1342
- name = ctx.stylize(name, 'string');
1343
- }
1344
- }
1345
-
1346
- return name + ': ' + str;
1347
- }
1348
-
1349
-
1350
- function reduceToSingleString(output, base, braces) {
1351
- var length = output.reduce(function(prev, cur) {
1352
- if (cur.indexOf('\n') >= 0) ;
1353
- return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1;
1354
- }, 0);
1355
-
1356
- if (length > 60) {
1357
- return braces[0] +
1358
- (base === '' ? '' : base + '\n ') +
1359
- ' ' +
1360
- output.join(',\n ') +
1361
- ' ' +
1362
- braces[1];
1363
- }
1364
-
1365
- return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];
1366
- }
1367
-
1368
-
1369
- // NOTE: These type checking functions intentionally don't use `instanceof`
1370
- // because it is fragile and can be easily faked with `Object.create()`.
1371
- function isArray(ar) {
1372
- return Array.isArray(ar);
1373
- }
1374
-
1375
- function isBoolean(arg) {
1376
- return typeof arg === 'boolean';
1377
- }
1378
-
1379
- function isNull(arg) {
1380
- return arg === null;
1381
- }
1382
-
1383
- function isNullOrUndefined(arg) {
1384
- return arg == null;
1385
- }
1386
-
1387
- function isNumber(arg) {
1388
- return typeof arg === 'number';
1389
- }
1390
-
1391
- function isString(arg) {
1392
- return typeof arg === 'string';
1393
- }
1394
-
1395
- function isSymbol(arg) {
1396
- return typeof arg === 'symbol';
1397
- }
1398
-
1399
- function isUndefined(arg) {
1400
- return arg === void 0;
1401
- }
1402
-
1403
- function isRegExp(re) {
1404
- return isObject(re) && objectToString(re) === '[object RegExp]';
1405
- }
1406
-
1407
- function isObject(arg) {
1408
- return typeof arg === 'object' && arg !== null;
1409
- }
1410
-
1411
- function isDate(d) {
1412
- return isObject(d) && objectToString(d) === '[object Date]';
1413
- }
1414
-
1415
- function isError(e) {
1416
- return isObject(e) &&
1417
- (objectToString(e) === '[object Error]' || e instanceof Error);
1418
- }
1419
-
1420
- function isFunction(arg) {
1421
- return typeof arg === 'function';
1422
- }
1423
-
1424
- function isPrimitive(arg) {
1425
- return arg === null ||
1426
- typeof arg === 'boolean' ||
1427
- typeof arg === 'number' ||
1428
- typeof arg === 'string' ||
1429
- typeof arg === 'symbol' || // ES6 symbol
1430
- typeof arg === 'undefined';
1431
- }
1432
-
1433
- function isBuffer(maybeBuf) {
1434
- return Buffer.isBuffer(maybeBuf);
1435
- }
1436
-
1437
- function objectToString(o) {
1438
- return Object.prototype.toString.call(o);
1439
- }
1440
-
1441
-
1442
- function pad(n) {
1443
- return n < 10 ? '0' + n.toString(10) : n.toString(10);
1444
- }
1445
-
1446
-
1447
- var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',
1448
- 'Oct', 'Nov', 'Dec'];
1449
-
1450
- // 26 Feb 16:19:34
1451
- function timestamp() {
1452
- var d = new Date();
1453
- var time = [pad(d.getHours()),
1454
- pad(d.getMinutes()),
1455
- pad(d.getSeconds())].join(':');
1456
- return [d.getDate(), months[d.getMonth()], time].join(' ');
1457
- }
1458
-
1459
-
1460
- // log is just a thin wrapper to console.log that prepends a timestamp
1461
- function log() {
1462
- console.log('%s - %s', timestamp(), format.apply(null, arguments));
1463
- }
1464
-
1465
- function _extend(origin, add) {
1466
- // Don't do anything if add isn't an object
1467
- if (!add || !isObject(add)) return origin;
1468
-
1469
- var keys = Object.keys(add);
1470
- var i = keys.length;
1471
- while (i--) {
1472
- origin[keys[i]] = add[keys[i]];
1473
- }
1474
- return origin;
1475
- }
1476
- function hasOwnProperty(obj, prop) {
1477
- return Object.prototype.hasOwnProperty.call(obj, prop);
1478
- }
1479
-
1480
- var util = {
1481
- inherits: inherits$1,
1482
- _extend: _extend,
1483
- log: log,
1484
- isBuffer: isBuffer,
1485
- isPrimitive: isPrimitive,
1486
- isFunction: isFunction,
1487
- isError: isError,
1488
- isDate: isDate,
1489
- isObject: isObject,
1490
- isRegExp: isRegExp,
1491
- isUndefined: isUndefined,
1492
- isSymbol: isSymbol,
1493
- isString: isString,
1494
- isNumber: isNumber,
1495
- isNullOrUndefined: isNullOrUndefined,
1496
- isNull: isNull,
1497
- isBoolean: isBoolean,
1498
- isArray: isArray,
1499
- inspect: inspect,
1500
- deprecate: deprecate,
1501
- format: format,
1502
- debuglog: debuglog
1503
- };
1504
-
1505
933
  var require$$2 = {};
1506
934
 
1507
935
  var node = _commonjsHelpers.createCommonjsModule(function (module, exports) {
@@ -1568,7 +996,7 @@ exports.inspectOpts = Object.keys(process.env).filter(function (key) {
1568
996
  var fd = parseInt(process.env.DEBUG_FD, 10) || 2;
1569
997
 
1570
998
  if (1 !== fd && 2 !== fd) {
1571
- util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')();
999
+ util.util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')();
1572
1000
  }
1573
1001
 
1574
1002
  var stream = 1 === fd ? process.stdout :
@@ -1591,7 +1019,7 @@ function useColors() {
1591
1019
 
1592
1020
  exports.formatters.o = function(v) {
1593
1021
  this.inspectOpts.colors = this.useColors;
1594
- return util.inspect(v, this.inspectOpts)
1022
+ return util.util.inspect(v, this.inspectOpts)
1595
1023
  .split('\n').map(function(str) {
1596
1024
  return str.trim()
1597
1025
  }).join(' ');
@@ -1603,7 +1031,7 @@ exports.formatters.o = function(v) {
1603
1031
 
1604
1032
  exports.formatters.O = function(v) {
1605
1033
  this.inspectOpts.colors = this.useColors;
1606
- return util.inspect(v, this.inspectOpts);
1034
+ return util.util.inspect(v, this.inspectOpts);
1607
1035
  };
1608
1036
 
1609
1037
  /**
@@ -1633,7 +1061,7 @@ function formatArgs(args) {
1633
1061
  */
1634
1062
 
1635
1063
  function log() {
1636
- return stream.write(util.format.apply(util, arguments) + '\n');
1064
+ return stream.write(util.util.format.apply(util.util, arguments) + '\n');
1637
1065
  }
1638
1066
 
1639
1067
  /**
@@ -9429,12 +8857,12 @@ var MultiMedia = function MultiMedia(props) {
9429
8857
  };
9430
8858
 
9431
8859
  var InscreenSensor = function (_React$Component) {
9432
- inherits$2._inherits(InscreenSensor, _React$Component);
8860
+ inherits._inherits(InscreenSensor, _React$Component);
9433
8861
 
9434
8862
  function InscreenSensor(props) {
9435
- inherits$2._classCallCheck(this, InscreenSensor);
8863
+ inherits._classCallCheck(this, InscreenSensor);
9436
8864
 
9437
- var _this = inherits$2._possibleConstructorReturn(this, (InscreenSensor.__proto__ || inherits$2._Object$getPrototypeOf(InscreenSensor)).call(this, props));
8865
+ var _this = inherits._possibleConstructorReturn(this, (InscreenSensor.__proto__ || inherits._Object$getPrototypeOf(InscreenSensor)).call(this, props));
9438
8866
 
9439
8867
  _this.scrollHandler = function () {
9440
8868
  var visible = _this.checkInside();
@@ -9470,7 +8898,7 @@ var InscreenSensor = function (_React$Component) {
9470
8898
  return _this;
9471
8899
  }
9472
8900
 
9473
- inherits$2._createClass(InscreenSensor, [{
8901
+ inherits._createClass(InscreenSensor, [{
9474
8902
  key: 'componentDidMount',
9475
8903
  value: function componentDidMount() {
9476
8904
  this.visible = this.checkInside();
@@ -10598,15 +10026,15 @@ var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
10598
10026
 
10599
10027
 
10600
10028
 
10601
- var _classCallCheck3 = _interopRequireDefault(inherits$2.classCallCheck);
10029
+ var _classCallCheck3 = _interopRequireDefault(inherits.classCallCheck);
10602
10030
 
10603
10031
 
10604
10032
 
10605
- var _possibleConstructorReturn3 = _interopRequireDefault(inherits$2.possibleConstructorReturn);
10033
+ var _possibleConstructorReturn3 = _interopRequireDefault(inherits.possibleConstructorReturn);
10606
10034
 
10607
10035
 
10608
10036
 
10609
- var _inherits3 = _interopRequireDefault(inherits$2.inherits);
10037
+ var _inherits3 = _interopRequireDefault(inherits.inherits);
10610
10038
 
10611
10039
 
10612
10040