@mjhls/mjh-framework 1.0.109-8.bc2 → 1.0.109

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 (370) hide show
  1. package/README.md +5 -1
  2. package/dist/index.es.js +20606 -0
  3. package/dist/index.es.js.map +1 -0
  4. package/dist/index.js +20644 -0
  5. package/dist/index.js.map +1 -0
  6. package/package.json +26 -55
  7. package/dist/cjs/AD.js +0 -32
  8. package/dist/cjs/AD300x250.js +0 -95
  9. package/dist/cjs/AD300x250x600.js +0 -112
  10. package/dist/cjs/AD728x90.js +0 -109
  11. package/dist/cjs/ADFloatingFooter.js +0 -151
  12. package/dist/cjs/ADFooter.js +0 -53
  13. package/dist/cjs/ADGutter.js +0 -123
  14. package/dist/cjs/ADInfeed-7c075eda.js +0 -75
  15. package/dist/cjs/ADSkyscraper.js +0 -125
  16. package/dist/cjs/ADSponsoredResources.js +0 -122
  17. package/dist/cjs/ADWebcast.js +0 -127
  18. package/dist/cjs/ADWelcome.js +0 -166
  19. package/dist/cjs/ADlgInfeed-d4f556bd.js +0 -69
  20. package/dist/cjs/AccordionPanel.js +0 -94
  21. package/dist/cjs/AdSlot.js +0 -283
  22. package/dist/cjs/AdSlotsProvider.js +0 -184
  23. package/dist/cjs/AlgoliaSearch.js +0 -15221
  24. package/dist/cjs/AlphabeticList.js +0 -134
  25. package/dist/cjs/ArticleCarousel.js +0 -45
  26. package/dist/cjs/ArticleProgramLandingPage.js +0 -186
  27. package/dist/cjs/ArticleSeriesLandingPage.js +0 -162
  28. package/dist/cjs/ArticleSeriesListing.js +0 -314
  29. package/dist/cjs/AuthWrapper.js +0 -1526
  30. package/dist/cjs/AuthorComponent-7d00f6d5.js +0 -96
  31. package/dist/cjs/Beam.js +0 -405
  32. package/dist/cjs/BlockContent-96b44364.js +0 -916
  33. package/dist/cjs/Breadcrumbs.js +0 -117
  34. package/dist/cjs/CEDeckSupabase.js +0 -444
  35. package/dist/cjs/CMEDeck.js +0 -444
  36. package/dist/cjs/Column1.js +0 -36
  37. package/dist/cjs/Column2.js +0 -73
  38. package/dist/cjs/Column3.js +0 -140
  39. package/dist/cjs/ConferenceArticleCard.js +0 -94
  40. package/dist/cjs/ConferenceBanner-213003ce.js +0 -24
  41. package/dist/cjs/ContentCardPaginated.js +0 -416
  42. package/dist/cjs/DeckContent.js +0 -507
  43. package/dist/cjs/DeckQueue.js +0 -402
  44. package/dist/cjs/DeckQueuePaginated.js +0 -347
  45. package/dist/cjs/Dfp-67646058.js +0 -103
  46. package/dist/cjs/EventsDeck.js +0 -856
  47. package/dist/cjs/ExternalResources.js +0 -220
  48. package/dist/cjs/Feature.js +0 -132
  49. package/dist/cjs/ForbesHero.js +0 -138
  50. package/dist/cjs/GridContent.js +0 -828
  51. package/dist/cjs/GridContentPaginated.js +0 -703
  52. package/dist/cjs/GridHero.js +0 -148
  53. package/dist/cjs/GroupDeck.js +0 -314
  54. package/dist/cjs/HamMagazine.js +0 -664
  55. package/dist/cjs/Header.js +0 -65
  56. package/dist/cjs/HealthCareProfessionalModal.js +0 -78
  57. package/dist/cjs/Hero.js +0 -49
  58. package/dist/cjs/HighlightenVideo.js +0 -69
  59. package/dist/cjs/HorizontalArticleListing.js +0 -167
  60. package/dist/cjs/HorizontalHero.js +0 -112
  61. package/dist/cjs/ImageSlider-7c995858.js +0 -2808
  62. package/dist/cjs/IssueContentDeck.js +0 -242
  63. package/dist/cjs/IssueDeck.js +0 -267
  64. package/dist/cjs/IssueLanding.js +0 -176
  65. package/dist/cjs/KMTracker.js +0 -27
  66. package/dist/cjs/LeftNav.js +0 -153
  67. package/dist/cjs/MasterDeck.js +0 -555
  68. package/dist/cjs/MasterDeckPaginated.js +0 -468
  69. package/dist/cjs/MediaSeriesCard.js +0 -134
  70. package/dist/cjs/MediaSeriesLanding.js +0 -507
  71. package/dist/cjs/MediaSeriesLandingPaginated.js +0 -532
  72. package/dist/cjs/NavDvm.js +0 -278
  73. package/dist/cjs/NavFooter-b7b16d48.js +0 -72
  74. package/dist/cjs/NavMagazine.js +0 -615
  75. package/dist/cjs/NavNative.js +0 -880
  76. package/dist/cjs/OncliveHero.js +0 -80
  77. package/dist/cjs/OncliveLargeHero.js +0 -242
  78. package/dist/cjs/PageFilter.js +0 -72
  79. package/dist/cjs/Pagination-6359861a.js +0 -97
  80. package/dist/cjs/PartnerDetailListing.js +0 -374
  81. package/dist/cjs/PartnerDetailListingPaginated.js +0 -365
  82. package/dist/cjs/PdfDownload.js +0 -28
  83. package/dist/cjs/PixelTracking.js +0 -191
  84. package/dist/cjs/PodcastsLanding.js +0 -234
  85. package/dist/cjs/PopUpModal.js +0 -58
  86. package/dist/cjs/PtceDeck.js +0 -150
  87. package/dist/cjs/PubSection.js +0 -120
  88. package/dist/cjs/PubToc.js +0 -88
  89. package/dist/cjs/PublicationDeck.js +0 -184
  90. package/dist/cjs/PublicationFeature-4b68e0db.js +0 -130
  91. package/dist/cjs/PublicationLanding.js +0 -826
  92. package/dist/cjs/QueueDeckExpanded.js +0 -1540
  93. package/dist/cjs/QueueDeckExpandedPaginated.js +0 -1387
  94. package/dist/cjs/RecentNews.js +0 -91
  95. package/dist/cjs/RelatedContent.js +0 -115
  96. package/dist/cjs/RelatedTopicsDropdown.js +0 -90
  97. package/dist/cjs/RolesDeck.js +0 -94
  98. package/dist/cjs/Schema.js +0 -102
  99. package/dist/cjs/Search.js +0 -66
  100. package/dist/cjs/Segment.js +0 -458
  101. package/dist/cjs/SeriesListingDeck.js +0 -247
  102. package/dist/cjs/SeriesSlider-086a8319.js +0 -332
  103. package/dist/cjs/SetCookie.js +0 -10
  104. package/dist/cjs/SideFooter.js +0 -152
  105. package/dist/cjs/SocialIcons.js +0 -103
  106. package/dist/cjs/SocialSearchComponent-d7e5d3a6.js +0 -213
  107. package/dist/cjs/SocialShare.js +0 -74
  108. package/dist/cjs/TaxonomyCard.js +0 -256
  109. package/dist/cjs/TaxonomyDescription.js +0 -208
  110. package/dist/cjs/TemplateNormal.js +0 -204
  111. package/dist/cjs/ThumbnailCard.js +0 -60
  112. package/dist/cjs/Tooltip-b8516cbf.js +0 -9541
  113. package/dist/cjs/Ustream.js +0 -157
  114. package/dist/cjs/VerticalHero.js +0 -75
  115. package/dist/cjs/VideoProgramLandingPage.js +0 -262
  116. package/dist/cjs/VideoSeriesCard.js +0 -88
  117. package/dist/cjs/VideoSeriesFilter.js +0 -129
  118. package/dist/cjs/VideoSeriesLandingPage.js +0 -178
  119. package/dist/cjs/VideoSeriesListing.js +0 -421
  120. package/dist/cjs/View.js +0 -2835
  121. package/dist/cjs/YahooHero.js +0 -127
  122. package/dist/cjs/YoutubeGroup.js +0 -372
  123. package/dist/cjs/_commonjsHelpers-06173234.js +0 -25
  124. package/dist/cjs/_is-array-54228b29.js +0 -74
  125. package/dist/cjs/_iter-detect-b1df62f0.js +0 -52
  126. package/dist/cjs/_library-dd23b178.js +0 -5
  127. package/dist/cjs/_object-sap-d1978572.js +0 -16
  128. package/dist/cjs/_object-to-array-9337ba83.js +0 -25
  129. package/dist/cjs/_set-species-0c7864a2.js +0 -55
  130. package/dist/cjs/asyncToGenerator-65df6bf8.js +0 -1347
  131. package/dist/cjs/brightcove-react-player-loader.es-35faab67.js +0 -2232
  132. package/dist/cjs/checkSisterSite-c3a4ac98.js +0 -19
  133. package/dist/cjs/core.get-iterator-method-5643aa10.js +0 -584
  134. package/dist/cjs/debounce-d4a2369b.js +0 -216
  135. package/dist/cjs/define-property-e8404b64.js +0 -20
  136. package/dist/cjs/defineProperty-19580e93.js +0 -71
  137. package/dist/cjs/defineProperty-9673846a.js +0 -34
  138. package/dist/cjs/entities-df1aed86.js +0 -510
  139. package/dist/cjs/eq-5fc26c07.js +0 -79
  140. package/dist/cjs/extends-be0d85bc.js +0 -100
  141. package/dist/cjs/faundadb.js +0 -765
  142. package/dist/cjs/get-5839e5b5.js +0 -920
  143. package/dist/cjs/getContentCategory-f38a4c00.js +0 -11
  144. package/dist/cjs/getKeywords.js +0 -46
  145. package/dist/cjs/getPtceActivities.js +0 -90
  146. package/dist/cjs/getQuery.js +0 -27
  147. package/dist/cjs/getRelatedArticle.js +0 -766
  148. package/dist/cjs/getRootDocGroup.js +0 -63
  149. package/dist/cjs/getSerializers.js +0 -66
  150. package/dist/cjs/getSeriesDetail.js +0 -40
  151. package/dist/cjs/getTIData.js +0 -93
  152. package/dist/cjs/getTargeting-5b954783.js +0 -164
  153. package/dist/cjs/getTargeting.js +0 -12
  154. package/dist/cjs/iconBase-be4097c0.js +0 -104
  155. package/dist/cjs/index-187c967e.js +0 -54
  156. package/dist/cjs/index-3177f564.js +0 -1573
  157. package/dist/cjs/index-65621b6c.js +0 -613
  158. package/dist/cjs/index-7435b964.js +0 -1683
  159. package/dist/cjs/index-a26637a3.js +0 -11764
  160. package/dist/cjs/index-d48b231c.js +0 -556
  161. package/dist/cjs/index-ff83a88b.js +0 -104
  162. package/dist/cjs/index.es-1ab8dda7.js +0 -445
  163. package/dist/cjs/index.esm-2ea9e9ff.js +0 -98
  164. package/dist/cjs/index.esm-c1e16606.js +0 -13
  165. package/dist/cjs/index.esm-d51c9ac6.js +0 -25
  166. package/dist/cjs/index.esm-d81454e7.js +0 -19
  167. package/dist/cjs/index.js +0 -638
  168. package/dist/cjs/inherits-e47b5342.js +0 -188
  169. package/dist/cjs/isSymbol-03abbdf0.js +0 -209
  170. package/dist/cjs/js.cookie-a511c430.js +0 -160
  171. package/dist/cjs/keys-e982b3fa.js +0 -25
  172. package/dist/cjs/lodash-f0783643.js +0 -17195
  173. package/dist/cjs/main-ae8472f3.js +0 -969
  174. package/dist/cjs/moment-f730814d.js +0 -5684
  175. package/dist/cjs/react-social-icons-2c5c389a.js +0 -616
  176. package/dist/cjs/slicedToArray-067dd3bc.js +0 -95
  177. package/dist/cjs/smoothscroll-99df7f93.js +0 -438
  178. package/dist/cjs/stringify-f7a37a8d.js +0 -17
  179. package/dist/cjs/style-inject.es-dcee06b6.js +0 -30
  180. package/dist/cjs/timeDifferenceCalc.js +0 -39
  181. package/dist/cjs/toConsumableArray-d7797c2b.js +0 -74
  182. package/dist/cjs/toNumber-5e1fac58.js +0 -104
  183. package/dist/cjs/typeof-220bbf73.js +0 -382
  184. package/dist/cjs/urlFor.js +0 -66
  185. package/dist/cjs/urlForFile-5084fc48.js +0 -29
  186. package/dist/cjs/ustream-api-3819e4aa.js +0 -106
  187. package/dist/cjs/visibility-sensor-56020df6.js +0 -597
  188. package/dist/cjs/web.dom.iterable-d98303e0.js +0 -50
  189. package/dist/esm/AD.js +0 -26
  190. package/dist/esm/AD300x250.js +0 -89
  191. package/dist/esm/AD300x250x600.js +0 -106
  192. package/dist/esm/AD728x90.js +0 -103
  193. package/dist/esm/ADFloatingFooter.js +0 -145
  194. package/dist/esm/ADFooter.js +0 -47
  195. package/dist/esm/ADGutter.js +0 -117
  196. package/dist/esm/ADInfeed-3442c999.js +0 -68
  197. package/dist/esm/ADSkyscraper.js +0 -119
  198. package/dist/esm/ADSponsoredResources.js +0 -116
  199. package/dist/esm/ADWebcast.js +0 -121
  200. package/dist/esm/ADWelcome.js +0 -160
  201. package/dist/esm/ADlgInfeed-30649360.js +0 -63
  202. package/dist/esm/AccordionPanel.js +0 -87
  203. package/dist/esm/AdSlot.js +0 -276
  204. package/dist/esm/AdSlotsProvider.js +0 -177
  205. package/dist/esm/AlgoliaSearch.js +0 -15214
  206. package/dist/esm/AlphabeticList.js +0 -128
  207. package/dist/esm/ArticleCarousel.js +0 -39
  208. package/dist/esm/ArticleProgramLandingPage.js +0 -180
  209. package/dist/esm/ArticleSeriesLandingPage.js +0 -156
  210. package/dist/esm/ArticleSeriesListing.js +0 -307
  211. package/dist/esm/AuthWrapper.js +0 -1520
  212. package/dist/esm/AuthorComponent-d9653ae5.js +0 -90
  213. package/dist/esm/Beam.js +0 -403
  214. package/dist/esm/BlockContent-1e73bd2c.js +0 -909
  215. package/dist/esm/Breadcrumbs.js +0 -110
  216. package/dist/esm/CEDeckSupabase.js +0 -438
  217. package/dist/esm/CMEDeck.js +0 -438
  218. package/dist/esm/Column1.js +0 -28
  219. package/dist/esm/Column2.js +0 -65
  220. package/dist/esm/Column3.js +0 -132
  221. package/dist/esm/ConferenceArticleCard.js +0 -88
  222. package/dist/esm/ConferenceBanner-8792ebd2.js +0 -18
  223. package/dist/esm/ContentCardPaginated.js +0 -405
  224. package/dist/esm/DeckContent.js +0 -497
  225. package/dist/esm/DeckQueue.js +0 -392
  226. package/dist/esm/DeckQueuePaginated.js +0 -336
  227. package/dist/esm/Dfp-3b6eb620.js +0 -96
  228. package/dist/esm/EventsDeck.js +0 -843
  229. package/dist/esm/ExternalResources.js +0 -213
  230. package/dist/esm/Feature.js +0 -125
  231. package/dist/esm/ForbesHero.js +0 -132
  232. package/dist/esm/GridContent.js +0 -818
  233. package/dist/esm/GridContentPaginated.js +0 -692
  234. package/dist/esm/GridHero.js +0 -142
  235. package/dist/esm/GroupDeck.js +0 -308
  236. package/dist/esm/HamMagazine.js +0 -651
  237. package/dist/esm/Header.js +0 -54
  238. package/dist/esm/HealthCareProfessionalModal.js +0 -70
  239. package/dist/esm/Hero.js +0 -43
  240. package/dist/esm/HighlightenVideo.js +0 -63
  241. package/dist/esm/HorizontalArticleListing.js +0 -161
  242. package/dist/esm/HorizontalHero.js +0 -106
  243. package/dist/esm/ImageSlider-75f7b81a.js +0 -2799
  244. package/dist/esm/IssueContentDeck.js +0 -232
  245. package/dist/esm/IssueDeck.js +0 -257
  246. package/dist/esm/IssueLanding.js +0 -170
  247. package/dist/esm/KMTracker.js +0 -25
  248. package/dist/esm/LeftNav.js +0 -143
  249. package/dist/esm/MasterDeck.js +0 -548
  250. package/dist/esm/MasterDeckPaginated.js +0 -460
  251. package/dist/esm/MediaSeriesCard.js +0 -128
  252. package/dist/esm/MediaSeriesLanding.js +0 -500
  253. package/dist/esm/MediaSeriesLandingPaginated.js +0 -525
  254. package/dist/esm/NavDvm.js +0 -265
  255. package/dist/esm/NavFooter-4bcffccb.js +0 -66
  256. package/dist/esm/NavMagazine.js +0 -602
  257. package/dist/esm/NavNative.js +0 -864
  258. package/dist/esm/OncliveHero.js +0 -74
  259. package/dist/esm/OncliveLargeHero.js +0 -236
  260. package/dist/esm/PageFilter.js +0 -66
  261. package/dist/esm/Pagination-9fe9f61d.js +0 -90
  262. package/dist/esm/PartnerDetailListing.js +0 -368
  263. package/dist/esm/PartnerDetailListingPaginated.js +0 -359
  264. package/dist/esm/PdfDownload.js +0 -22
  265. package/dist/esm/PixelTracking.js +0 -182
  266. package/dist/esm/PodcastsLanding.js +0 -227
  267. package/dist/esm/PopUpModal.js +0 -51
  268. package/dist/esm/PtceDeck.js +0 -144
  269. package/dist/esm/PubSection.js +0 -114
  270. package/dist/esm/PubToc.js +0 -82
  271. package/dist/esm/PublicationDeck.js +0 -174
  272. package/dist/esm/PublicationFeature-6c334891.js +0 -121
  273. package/dist/esm/PublicationLanding.js +0 -816
  274. package/dist/esm/QueueDeckExpanded.js +0 -1534
  275. package/dist/esm/QueueDeckExpandedPaginated.js +0 -1381
  276. package/dist/esm/RecentNews.js +0 -85
  277. package/dist/esm/RelatedContent.js +0 -109
  278. package/dist/esm/RelatedTopicsDropdown.js +0 -82
  279. package/dist/esm/RolesDeck.js +0 -84
  280. package/dist/esm/Schema.js +0 -96
  281. package/dist/esm/Search.js +0 -57
  282. package/dist/esm/Segment.js +0 -456
  283. package/dist/esm/SeriesListingDeck.js +0 -241
  284. package/dist/esm/SeriesSlider-acbdf4c9.js +0 -326
  285. package/dist/esm/SetCookie.js +0 -8
  286. package/dist/esm/SideFooter.js +0 -146
  287. package/dist/esm/SocialIcons.js +0 -97
  288. package/dist/esm/SocialSearchComponent-9e65c8d6.js +0 -204
  289. package/dist/esm/SocialShare.js +0 -67
  290. package/dist/esm/TaxonomyCard.js +0 -246
  291. package/dist/esm/TaxonomyDescription.js +0 -201
  292. package/dist/esm/TemplateNormal.js +0 -197
  293. package/dist/esm/ThumbnailCard.js +0 -53
  294. package/dist/esm/Tooltip-fe0ed92d.js +0 -9532
  295. package/dist/esm/Ustream.js +0 -151
  296. package/dist/esm/VerticalHero.js +0 -69
  297. package/dist/esm/VideoProgramLandingPage.js +0 -253
  298. package/dist/esm/VideoSeriesCard.js +0 -82
  299. package/dist/esm/VideoSeriesFilter.js +0 -123
  300. package/dist/esm/VideoSeriesLandingPage.js +0 -172
  301. package/dist/esm/VideoSeriesListing.js +0 -414
  302. package/dist/esm/View.js +0 -2825
  303. package/dist/esm/YahooHero.js +0 -121
  304. package/dist/esm/YoutubeGroup.js +0 -366
  305. package/dist/esm/_commonjsHelpers-0c4b6f40.js +0 -19
  306. package/dist/esm/_is-array-68c79b29.js +0 -71
  307. package/dist/esm/_iter-detect-2f89237f.js +0 -48
  308. package/dist/esm/_library-528f1934.js +0 -3
  309. package/dist/esm/_object-sap-14bd8e96.js +0 -14
  310. package/dist/esm/_object-to-array-9dfdfb29.js +0 -23
  311. package/dist/esm/_set-species-7d3317b7.js +0 -50
  312. package/dist/esm/asyncToGenerator-1ebeb135.js +0 -1343
  313. package/dist/esm/brightcove-react-player-loader.es-a2422c4b.js +0 -2226
  314. package/dist/esm/checkSisterSite-a7218fda.js +0 -17
  315. package/dist/esm/core.get-iterator-method-95db387d.js +0 -547
  316. package/dist/esm/debounce-533d9748.js +0 -214
  317. package/dist/esm/define-property-433c51d3.js +0 -18
  318. package/dist/esm/defineProperty-e5afb9eb.js +0 -32
  319. package/dist/esm/defineProperty-e8022d1e.js +0 -66
  320. package/dist/esm/entities-6d9154b4.js +0 -507
  321. package/dist/esm/eq-bdcbf886.js +0 -76
  322. package/dist/esm/extends-2f4448b8.js +0 -94
  323. package/dist/esm/faundadb.js +0 -754
  324. package/dist/esm/get-3c308da4.js +0 -918
  325. package/dist/esm/getContentCategory-15dcc413.js +0 -9
  326. package/dist/esm/getKeywords.js +0 -44
  327. package/dist/esm/getPtceActivities.js +0 -88
  328. package/dist/esm/getQuery.js +0 -25
  329. package/dist/esm/getRelatedArticle.js +0 -764
  330. package/dist/esm/getRootDocGroup.js +0 -61
  331. package/dist/esm/getSerializers.js +0 -60
  332. package/dist/esm/getSeriesDetail.js +0 -38
  333. package/dist/esm/getTIData.js +0 -91
  334. package/dist/esm/getTargeting-b62a177c.js +0 -161
  335. package/dist/esm/getTargeting.js +0 -6
  336. package/dist/esm/iconBase-ccc56b97.js +0 -81
  337. package/dist/esm/index-3f5c03b2.js +0 -553
  338. package/dist/esm/index-4550ef23.js +0 -1571
  339. package/dist/esm/index-5cc7b406.js +0 -1674
  340. package/dist/esm/index-755f2cc2.js +0 -605
  341. package/dist/esm/index-a68bfe70.js +0 -11743
  342. package/dist/esm/index-c7e2ac95.js +0 -52
  343. package/dist/esm/index-c8d5e72b.js +0 -99
  344. package/dist/esm/index.es-a6137319.js +0 -439
  345. package/dist/esm/index.esm-1bd8a0a8.js +0 -18
  346. package/dist/esm/index.esm-9508070a.js +0 -91
  347. package/dist/esm/index.esm-9b042655.js +0 -10
  348. package/dist/esm/index.esm-eb1e8e80.js +0 -14
  349. package/dist/esm/index.js +0 -531
  350. package/dist/esm/inherits-96c84cbd.js +0 -179
  351. package/dist/esm/isSymbol-a7e9aafe.js +0 -203
  352. package/dist/esm/js.cookie-6874175c.js +0 -158
  353. package/dist/esm/keys-185288f4.js +0 -23
  354. package/dist/esm/lodash-f97fd99a.js +0 -17193
  355. package/dist/esm/main-754d4992.js +0 -956
  356. package/dist/esm/moment-48faeb9c.js +0 -5682
  357. package/dist/esm/react-social-icons-9be47857.js +0 -609
  358. package/dist/esm/slicedToArray-72ed566b.js +0 -92
  359. package/dist/esm/smoothscroll-fa4e3f8c.js +0 -436
  360. package/dist/esm/stringify-1e2a5946.js +0 -15
  361. package/dist/esm/style-inject.es-1f59c1d0.js +0 -28
  362. package/dist/esm/timeDifferenceCalc.js +0 -37
  363. package/dist/esm/toConsumableArray-e6f28e5c.js +0 -71
  364. package/dist/esm/toNumber-5aeba6e7.js +0 -102
  365. package/dist/esm/typeof-3ab7d3b6.js +0 -378
  366. package/dist/esm/urlFor.js +0 -64
  367. package/dist/esm/urlForFile-2e523b67.js +0 -27
  368. package/dist/esm/ustream-api-63a164b3.js +0 -104
  369. package/dist/esm/visibility-sensor-72fd8f8b.js +0 -590
  370. package/dist/esm/web.dom.iterable-3fffc027.js +0 -48
@@ -1,920 +0,0 @@
1
- 'use strict';
2
-
3
- var isSymbol = require('./isSymbol-03abbdf0.js');
4
- var eq = require('./eq-5fc26c07.js');
5
-
6
- /**
7
- * Checks if `value` is classified as an `Array` object.
8
- *
9
- * @static
10
- * @memberOf _
11
- * @since 0.1.0
12
- * @category Lang
13
- * @param {*} value The value to check.
14
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
15
- * @example
16
- *
17
- * _.isArray([1, 2, 3]);
18
- * // => true
19
- *
20
- * _.isArray(document.body.children);
21
- * // => false
22
- *
23
- * _.isArray('abc');
24
- * // => false
25
- *
26
- * _.isArray(_.noop);
27
- * // => false
28
- */
29
- var isArray = Array.isArray;
30
-
31
- var isArray_1 = isArray;
32
-
33
- /** Used to match property names within property paths. */
34
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
35
- reIsPlainProp = /^\w*$/;
36
-
37
- /**
38
- * Checks if `value` is a property name and not a property path.
39
- *
40
- * @private
41
- * @param {*} value The value to check.
42
- * @param {Object} [object] The object to query keys on.
43
- * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
44
- */
45
- function isKey(value, object) {
46
- if (isArray_1(value)) {
47
- return false;
48
- }
49
- var type = typeof value;
50
- if (type == 'number' || type == 'symbol' || type == 'boolean' ||
51
- value == null || isSymbol.isSymbol_1(value)) {
52
- return true;
53
- }
54
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
55
- (object != null && value in Object(object));
56
- }
57
-
58
- var _isKey = isKey;
59
-
60
- /** Used to detect overreaching core-js shims. */
61
- var coreJsData = isSymbol._root['__core-js_shared__'];
62
-
63
- var _coreJsData = coreJsData;
64
-
65
- /** Used to detect methods masquerading as native. */
66
- var maskSrcKey = (function() {
67
- var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || '');
68
- return uid ? ('Symbol(src)_1.' + uid) : '';
69
- }());
70
-
71
- /**
72
- * Checks if `func` has its source masked.
73
- *
74
- * @private
75
- * @param {Function} func The function to check.
76
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
77
- */
78
- function isMasked(func) {
79
- return !!maskSrcKey && (maskSrcKey in func);
80
- }
81
-
82
- var _isMasked = isMasked;
83
-
84
- /** Used for built-in method references. */
85
- var funcProto$1 = Function.prototype;
86
-
87
- /** Used to resolve the decompiled source of functions. */
88
- var funcToString$1 = funcProto$1.toString;
89
-
90
- /**
91
- * Converts `func` to its source code.
92
- *
93
- * @private
94
- * @param {Function} func The function to convert.
95
- * @returns {string} Returns the source code.
96
- */
97
- function toSource(func) {
98
- if (func != null) {
99
- try {
100
- return funcToString$1.call(func);
101
- } catch (e) {}
102
- try {
103
- return (func + '');
104
- } catch (e) {}
105
- }
106
- return '';
107
- }
108
-
109
- var _toSource = toSource;
110
-
111
- /**
112
- * Used to match `RegExp`
113
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
114
- */
115
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
116
-
117
- /** Used to detect host constructors (Safari). */
118
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
119
-
120
- /** Used for built-in method references. */
121
- var funcProto = Function.prototype,
122
- objectProto$2 = Object.prototype;
123
-
124
- /** Used to resolve the decompiled source of functions. */
125
- var funcToString = funcProto.toString;
126
-
127
- /** Used to check objects for own properties. */
128
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
129
-
130
- /** Used to detect if a method is native. */
131
- var reIsNative = RegExp('^' +
132
- funcToString.call(hasOwnProperty$2).replace(reRegExpChar, '\\$&')
133
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
134
- );
135
-
136
- /**
137
- * The base implementation of `_.isNative` without bad shim checks.
138
- *
139
- * @private
140
- * @param {*} value The value to check.
141
- * @returns {boolean} Returns `true` if `value` is a native function,
142
- * else `false`.
143
- */
144
- function baseIsNative(value) {
145
- if (!isSymbol.isObject_1(value) || _isMasked(value)) {
146
- return false;
147
- }
148
- var pattern = eq.isFunction_1(value) ? reIsNative : reIsHostCtor;
149
- return pattern.test(_toSource(value));
150
- }
151
-
152
- var _baseIsNative = baseIsNative;
153
-
154
- /**
155
- * Gets the value at `key` of `object`.
156
- *
157
- * @private
158
- * @param {Object} [object] The object to query.
159
- * @param {string} key The key of the property to get.
160
- * @returns {*} Returns the property value.
161
- */
162
- function getValue(object, key) {
163
- return object == null ? undefined : object[key];
164
- }
165
-
166
- var _getValue = getValue;
167
-
168
- /**
169
- * Gets the native function at `key` of `object`.
170
- *
171
- * @private
172
- * @param {Object} object The object to query.
173
- * @param {string} key The key of the method to get.
174
- * @returns {*} Returns the function if it's native, else `undefined`.
175
- */
176
- function getNative(object, key) {
177
- var value = _getValue(object, key);
178
- return _baseIsNative(value) ? value : undefined;
179
- }
180
-
181
- var _getNative = getNative;
182
-
183
- /* Built-in method references that are verified to be native. */
184
- var nativeCreate = _getNative(Object, 'create');
185
-
186
- var _nativeCreate = nativeCreate;
187
-
188
- /**
189
- * Removes all key-value entries from the hash.
190
- *
191
- * @private
192
- * @name clear
193
- * @memberOf Hash
194
- */
195
- function hashClear() {
196
- this.__data__ = _nativeCreate ? _nativeCreate(null) : {};
197
- this.size = 0;
198
- }
199
-
200
- var _hashClear = hashClear;
201
-
202
- /**
203
- * Removes `key` and its value from the hash.
204
- *
205
- * @private
206
- * @name delete
207
- * @memberOf Hash
208
- * @param {Object} hash The hash to modify.
209
- * @param {string} key The key of the value to remove.
210
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
211
- */
212
- function hashDelete(key) {
213
- var result = this.has(key) && delete this.__data__[key];
214
- this.size -= result ? 1 : 0;
215
- return result;
216
- }
217
-
218
- var _hashDelete = hashDelete;
219
-
220
- /** Used to stand-in for `undefined` hash values. */
221
- var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
222
-
223
- /** Used for built-in method references. */
224
- var objectProto$1 = Object.prototype;
225
-
226
- /** Used to check objects for own properties. */
227
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
228
-
229
- /**
230
- * Gets the hash value for `key`.
231
- *
232
- * @private
233
- * @name get
234
- * @memberOf Hash
235
- * @param {string} key The key of the value to get.
236
- * @returns {*} Returns the entry value.
237
- */
238
- function hashGet(key) {
239
- var data = this.__data__;
240
- if (_nativeCreate) {
241
- var result = data[key];
242
- return result === HASH_UNDEFINED$1 ? undefined : result;
243
- }
244
- return hasOwnProperty$1.call(data, key) ? data[key] : undefined;
245
- }
246
-
247
- var _hashGet = hashGet;
248
-
249
- /** Used for built-in method references. */
250
- var objectProto = Object.prototype;
251
-
252
- /** Used to check objects for own properties. */
253
- var hasOwnProperty = objectProto.hasOwnProperty;
254
-
255
- /**
256
- * Checks if a hash value for `key` exists.
257
- *
258
- * @private
259
- * @name has
260
- * @memberOf Hash
261
- * @param {string} key The key of the entry to check.
262
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
263
- */
264
- function hashHas(key) {
265
- var data = this.__data__;
266
- return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
267
- }
268
-
269
- var _hashHas = hashHas;
270
-
271
- /** Used to stand-in for `undefined` hash values. */
272
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
273
-
274
- /**
275
- * Sets the hash `key` to `value`.
276
- *
277
- * @private
278
- * @name set
279
- * @memberOf Hash
280
- * @param {string} key The key of the value to set.
281
- * @param {*} value The value to set.
282
- * @returns {Object} Returns the hash instance.
283
- */
284
- function hashSet(key, value) {
285
- var data = this.__data__;
286
- this.size += this.has(key) ? 0 : 1;
287
- data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
288
- return this;
289
- }
290
-
291
- var _hashSet = hashSet;
292
-
293
- /**
294
- * Creates a hash object.
295
- *
296
- * @private
297
- * @constructor
298
- * @param {Array} [entries] The key-value pairs to cache.
299
- */
300
- function Hash(entries) {
301
- var index = -1,
302
- length = entries == null ? 0 : entries.length;
303
-
304
- this.clear();
305
- while (++index < length) {
306
- var entry = entries[index];
307
- this.set(entry[0], entry[1]);
308
- }
309
- }
310
-
311
- // Add methods to `Hash`.
312
- Hash.prototype.clear = _hashClear;
313
- Hash.prototype['delete'] = _hashDelete;
314
- Hash.prototype.get = _hashGet;
315
- Hash.prototype.has = _hashHas;
316
- Hash.prototype.set = _hashSet;
317
-
318
- var _Hash = Hash;
319
-
320
- /**
321
- * Removes all key-value entries from the list cache.
322
- *
323
- * @private
324
- * @name clear
325
- * @memberOf ListCache
326
- */
327
- function listCacheClear() {
328
- this.__data__ = [];
329
- this.size = 0;
330
- }
331
-
332
- var _listCacheClear = listCacheClear;
333
-
334
- /**
335
- * Gets the index at which the `key` is found in `array` of key-value pairs.
336
- *
337
- * @private
338
- * @param {Array} array The array to inspect.
339
- * @param {*} key The key to search for.
340
- * @returns {number} Returns the index of the matched value, else `-1`.
341
- */
342
- function assocIndexOf(array, key) {
343
- var length = array.length;
344
- while (length--) {
345
- if (eq.eq_1(array[length][0], key)) {
346
- return length;
347
- }
348
- }
349
- return -1;
350
- }
351
-
352
- var _assocIndexOf = assocIndexOf;
353
-
354
- /** Used for built-in method references. */
355
- var arrayProto = Array.prototype;
356
-
357
- /** Built-in value references. */
358
- var splice = arrayProto.splice;
359
-
360
- /**
361
- * Removes `key` and its value from the list cache.
362
- *
363
- * @private
364
- * @name delete
365
- * @memberOf ListCache
366
- * @param {string} key The key of the value to remove.
367
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
368
- */
369
- function listCacheDelete(key) {
370
- var data = this.__data__,
371
- index = _assocIndexOf(data, key);
372
-
373
- if (index < 0) {
374
- return false;
375
- }
376
- var lastIndex = data.length - 1;
377
- if (index == lastIndex) {
378
- data.pop();
379
- } else {
380
- splice.call(data, index, 1);
381
- }
382
- --this.size;
383
- return true;
384
- }
385
-
386
- var _listCacheDelete = listCacheDelete;
387
-
388
- /**
389
- * Gets the list cache value for `key`.
390
- *
391
- * @private
392
- * @name get
393
- * @memberOf ListCache
394
- * @param {string} key The key of the value to get.
395
- * @returns {*} Returns the entry value.
396
- */
397
- function listCacheGet(key) {
398
- var data = this.__data__,
399
- index = _assocIndexOf(data, key);
400
-
401
- return index < 0 ? undefined : data[index][1];
402
- }
403
-
404
- var _listCacheGet = listCacheGet;
405
-
406
- /**
407
- * Checks if a list cache value for `key` exists.
408
- *
409
- * @private
410
- * @name has
411
- * @memberOf ListCache
412
- * @param {string} key The key of the entry to check.
413
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
414
- */
415
- function listCacheHas(key) {
416
- return _assocIndexOf(this.__data__, key) > -1;
417
- }
418
-
419
- var _listCacheHas = listCacheHas;
420
-
421
- /**
422
- * Sets the list cache `key` to `value`.
423
- *
424
- * @private
425
- * @name set
426
- * @memberOf ListCache
427
- * @param {string} key The key of the value to set.
428
- * @param {*} value The value to set.
429
- * @returns {Object} Returns the list cache instance.
430
- */
431
- function listCacheSet(key, value) {
432
- var data = this.__data__,
433
- index = _assocIndexOf(data, key);
434
-
435
- if (index < 0) {
436
- ++this.size;
437
- data.push([key, value]);
438
- } else {
439
- data[index][1] = value;
440
- }
441
- return this;
442
- }
443
-
444
- var _listCacheSet = listCacheSet;
445
-
446
- /**
447
- * Creates an list cache object.
448
- *
449
- * @private
450
- * @constructor
451
- * @param {Array} [entries] The key-value pairs to cache.
452
- */
453
- function ListCache(entries) {
454
- var index = -1,
455
- length = entries == null ? 0 : entries.length;
456
-
457
- this.clear();
458
- while (++index < length) {
459
- var entry = entries[index];
460
- this.set(entry[0], entry[1]);
461
- }
462
- }
463
-
464
- // Add methods to `ListCache`.
465
- ListCache.prototype.clear = _listCacheClear;
466
- ListCache.prototype['delete'] = _listCacheDelete;
467
- ListCache.prototype.get = _listCacheGet;
468
- ListCache.prototype.has = _listCacheHas;
469
- ListCache.prototype.set = _listCacheSet;
470
-
471
- var _ListCache = ListCache;
472
-
473
- /* Built-in method references that are verified to be native. */
474
- var Map = _getNative(isSymbol._root, 'Map');
475
-
476
- var _Map = Map;
477
-
478
- /**
479
- * Removes all key-value entries from the map.
480
- *
481
- * @private
482
- * @name clear
483
- * @memberOf MapCache
484
- */
485
- function mapCacheClear() {
486
- this.size = 0;
487
- this.__data__ = {
488
- 'hash': new _Hash,
489
- 'map': new (_Map || _ListCache),
490
- 'string': new _Hash
491
- };
492
- }
493
-
494
- var _mapCacheClear = mapCacheClear;
495
-
496
- /**
497
- * Checks if `value` is suitable for use as unique object key.
498
- *
499
- * @private
500
- * @param {*} value The value to check.
501
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
502
- */
503
- function isKeyable(value) {
504
- var type = typeof value;
505
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
506
- ? (value !== '__proto__')
507
- : (value === null);
508
- }
509
-
510
- var _isKeyable = isKeyable;
511
-
512
- /**
513
- * Gets the data for `map`.
514
- *
515
- * @private
516
- * @param {Object} map The map to query.
517
- * @param {string} key The reference key.
518
- * @returns {*} Returns the map data.
519
- */
520
- function getMapData(map, key) {
521
- var data = map.__data__;
522
- return _isKeyable(key)
523
- ? data[typeof key == 'string' ? 'string' : 'hash']
524
- : data.map;
525
- }
526
-
527
- var _getMapData = getMapData;
528
-
529
- /**
530
- * Removes `key` and its value from the map.
531
- *
532
- * @private
533
- * @name delete
534
- * @memberOf MapCache
535
- * @param {string} key The key of the value to remove.
536
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
537
- */
538
- function mapCacheDelete(key) {
539
- var result = _getMapData(this, key)['delete'](key);
540
- this.size -= result ? 1 : 0;
541
- return result;
542
- }
543
-
544
- var _mapCacheDelete = mapCacheDelete;
545
-
546
- /**
547
- * Gets the map value for `key`.
548
- *
549
- * @private
550
- * @name get
551
- * @memberOf MapCache
552
- * @param {string} key The key of the value to get.
553
- * @returns {*} Returns the entry value.
554
- */
555
- function mapCacheGet(key) {
556
- return _getMapData(this, key).get(key);
557
- }
558
-
559
- var _mapCacheGet = mapCacheGet;
560
-
561
- /**
562
- * Checks if a map value for `key` exists.
563
- *
564
- * @private
565
- * @name has
566
- * @memberOf MapCache
567
- * @param {string} key The key of the entry to check.
568
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
569
- */
570
- function mapCacheHas(key) {
571
- return _getMapData(this, key).has(key);
572
- }
573
-
574
- var _mapCacheHas = mapCacheHas;
575
-
576
- /**
577
- * Sets the map `key` to `value`.
578
- *
579
- * @private
580
- * @name set
581
- * @memberOf MapCache
582
- * @param {string} key The key of the value to set.
583
- * @param {*} value The value to set.
584
- * @returns {Object} Returns the map cache instance.
585
- */
586
- function mapCacheSet(key, value) {
587
- var data = _getMapData(this, key),
588
- size = data.size;
589
-
590
- data.set(key, value);
591
- this.size += data.size == size ? 0 : 1;
592
- return this;
593
- }
594
-
595
- var _mapCacheSet = mapCacheSet;
596
-
597
- /**
598
- * Creates a map cache object to store key-value pairs.
599
- *
600
- * @private
601
- * @constructor
602
- * @param {Array} [entries] The key-value pairs to cache.
603
- */
604
- function MapCache(entries) {
605
- var index = -1,
606
- length = entries == null ? 0 : entries.length;
607
-
608
- this.clear();
609
- while (++index < length) {
610
- var entry = entries[index];
611
- this.set(entry[0], entry[1]);
612
- }
613
- }
614
-
615
- // Add methods to `MapCache`.
616
- MapCache.prototype.clear = _mapCacheClear;
617
- MapCache.prototype['delete'] = _mapCacheDelete;
618
- MapCache.prototype.get = _mapCacheGet;
619
- MapCache.prototype.has = _mapCacheHas;
620
- MapCache.prototype.set = _mapCacheSet;
621
-
622
- var _MapCache = MapCache;
623
-
624
- /** Error message constants. */
625
- var FUNC_ERROR_TEXT = 'Expected a function';
626
-
627
- /**
628
- * Creates a function that memoizes the result of `func`. If `resolver` is
629
- * provided, it determines the cache key for storing the result based on the
630
- * arguments provided to the memoized function. By default, the first argument
631
- * provided to the memoized function is used as the map cache key. The `func`
632
- * is invoked with the `this` binding of the memoized function.
633
- *
634
- * **Note:** The cache is exposed as the `cache` property on the memoized
635
- * function. Its creation may be customized by replacing the `_.memoize.Cache`
636
- * constructor with one whose instances implement the
637
- * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
638
- * method interface of `clear`, `delete`, `get`, `has`, and `set`.
639
- *
640
- * @static
641
- * @memberOf _
642
- * @since 0.1.0
643
- * @category Function
644
- * @param {Function} func The function to have its output memoized.
645
- * @param {Function} [resolver] The function to resolve the cache key.
646
- * @returns {Function} Returns the new memoized function.
647
- * @example
648
- *
649
- * var object = { 'a': 1, 'b': 2 };
650
- * var other = { 'c': 3, 'd': 4 };
651
- *
652
- * var values = _.memoize(_.values);
653
- * values(object);
654
- * // => [1, 2]
655
- *
656
- * values(other);
657
- * // => [3, 4]
658
- *
659
- * object.a = 2;
660
- * values(object);
661
- * // => [1, 2]
662
- *
663
- * // Modify the result cache.
664
- * values.cache.set(object, ['a', 'b']);
665
- * values(object);
666
- * // => ['a', 'b']
667
- *
668
- * // Replace `_.memoize.Cache`.
669
- * _.memoize.Cache = WeakMap;
670
- */
671
- function memoize(func, resolver) {
672
- if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
673
- throw new TypeError(FUNC_ERROR_TEXT);
674
- }
675
- var memoized = function() {
676
- var args = arguments,
677
- key = resolver ? resolver.apply(this, args) : args[0],
678
- cache = memoized.cache;
679
-
680
- if (cache.has(key)) {
681
- return cache.get(key);
682
- }
683
- var result = func.apply(this, args);
684
- memoized.cache = cache.set(key, result) || cache;
685
- return result;
686
- };
687
- memoized.cache = new (memoize.Cache || _MapCache);
688
- return memoized;
689
- }
690
-
691
- // Expose `MapCache`.
692
- memoize.Cache = _MapCache;
693
-
694
- var memoize_1 = memoize;
695
-
696
- /** Used as the maximum memoize cache size. */
697
- var MAX_MEMOIZE_SIZE = 500;
698
-
699
- /**
700
- * A specialized version of `_.memoize` which clears the memoized function's
701
- * cache when it exceeds `MAX_MEMOIZE_SIZE`.
702
- *
703
- * @private
704
- * @param {Function} func The function to have its output memoized.
705
- * @returns {Function} Returns the new memoized function.
706
- */
707
- function memoizeCapped(func) {
708
- var result = memoize_1(func, function(key) {
709
- if (cache.size === MAX_MEMOIZE_SIZE) {
710
- cache.clear();
711
- }
712
- return key;
713
- });
714
-
715
- var cache = result.cache;
716
- return result;
717
- }
718
-
719
- var _memoizeCapped = memoizeCapped;
720
-
721
- /** Used to match property names within property paths. */
722
- var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
723
-
724
- /** Used to match backslashes in property paths. */
725
- var reEscapeChar = /\\(\\)?/g;
726
-
727
- /**
728
- * Converts `string` to a property path array.
729
- *
730
- * @private
731
- * @param {string} string The string to convert.
732
- * @returns {Array} Returns the property path array.
733
- */
734
- var stringToPath = _memoizeCapped(function(string) {
735
- var result = [];
736
- if (string.charCodeAt(0) === 46 /* . */) {
737
- result.push('');
738
- }
739
- string.replace(rePropName, function(match, number, quote, subString) {
740
- result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
741
- });
742
- return result;
743
- });
744
-
745
- var _stringToPath = stringToPath;
746
-
747
- /**
748
- * A specialized version of `_.map` for arrays without support for iteratee
749
- * shorthands.
750
- *
751
- * @private
752
- * @param {Array} [array] The array to iterate over.
753
- * @param {Function} iteratee The function invoked per iteration.
754
- * @returns {Array} Returns the new mapped array.
755
- */
756
- function arrayMap(array, iteratee) {
757
- var index = -1,
758
- length = array == null ? 0 : array.length,
759
- result = Array(length);
760
-
761
- while (++index < length) {
762
- result[index] = iteratee(array[index], index, array);
763
- }
764
- return result;
765
- }
766
-
767
- var _arrayMap = arrayMap;
768
-
769
- /** Used as references for various `Number` constants. */
770
- var INFINITY$1 = 1 / 0;
771
-
772
- /** Used to convert symbols to primitives and strings. */
773
- var symbolProto = isSymbol._Symbol ? isSymbol._Symbol.prototype : undefined,
774
- symbolToString = symbolProto ? symbolProto.toString : undefined;
775
-
776
- /**
777
- * The base implementation of `_.toString` which doesn't convert nullish
778
- * values to empty strings.
779
- *
780
- * @private
781
- * @param {*} value The value to process.
782
- * @returns {string} Returns the string.
783
- */
784
- function baseToString(value) {
785
- // Exit early for strings to avoid a performance hit in some environments.
786
- if (typeof value == 'string') {
787
- return value;
788
- }
789
- if (isArray_1(value)) {
790
- // Recursively convert values (susceptible to call stack limits).
791
- return _arrayMap(value, baseToString) + '';
792
- }
793
- if (isSymbol.isSymbol_1(value)) {
794
- return symbolToString ? symbolToString.call(value) : '';
795
- }
796
- var result = (value + '');
797
- return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
798
- }
799
-
800
- var _baseToString = baseToString;
801
-
802
- /**
803
- * Converts `value` to a string. An empty string is returned for `null`
804
- * and `undefined` values. The sign of `-0` is preserved.
805
- *
806
- * @static
807
- * @memberOf _
808
- * @since 4.0.0
809
- * @category Lang
810
- * @param {*} value The value to convert.
811
- * @returns {string} Returns the converted string.
812
- * @example
813
- *
814
- * _.toString(null);
815
- * // => ''
816
- *
817
- * _.toString(-0);
818
- * // => '-0'
819
- *
820
- * _.toString([1, 2, 3]);
821
- * // => '1,2,3'
822
- */
823
- function toString(value) {
824
- return value == null ? '' : _baseToString(value);
825
- }
826
-
827
- var toString_1 = toString;
828
-
829
- /**
830
- * Casts `value` to a path array if it's not one.
831
- *
832
- * @private
833
- * @param {*} value The value to inspect.
834
- * @param {Object} [object] The object to query keys on.
835
- * @returns {Array} Returns the cast property path array.
836
- */
837
- function castPath(value, object) {
838
- if (isArray_1(value)) {
839
- return value;
840
- }
841
- return _isKey(value, object) ? [value] : _stringToPath(toString_1(value));
842
- }
843
-
844
- var _castPath = castPath;
845
-
846
- /** Used as references for various `Number` constants. */
847
- var INFINITY = 1 / 0;
848
-
849
- /**
850
- * Converts `value` to a string key if it's not a string or symbol.
851
- *
852
- * @private
853
- * @param {*} value The value to inspect.
854
- * @returns {string|symbol} Returns the key.
855
- */
856
- function toKey(value) {
857
- if (typeof value == 'string' || isSymbol.isSymbol_1(value)) {
858
- return value;
859
- }
860
- var result = (value + '');
861
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
862
- }
863
-
864
- var _toKey = toKey;
865
-
866
- /**
867
- * The base implementation of `_.get` without support for default values.
868
- *
869
- * @private
870
- * @param {Object} object The object to query.
871
- * @param {Array|string} path The path of the property to get.
872
- * @returns {*} Returns the resolved value.
873
- */
874
- function baseGet(object, path) {
875
- path = _castPath(path, object);
876
-
877
- var index = 0,
878
- length = path.length;
879
-
880
- while (object != null && index < length) {
881
- object = object[_toKey(path[index++])];
882
- }
883
- return (index && index == length) ? object : undefined;
884
- }
885
-
886
- var _baseGet = baseGet;
887
-
888
- /**
889
- * Gets the value at `path` of `object`. If the resolved value is
890
- * `undefined`, the `defaultValue` is returned in its place.
891
- *
892
- * @static
893
- * @memberOf _
894
- * @since 3.7.0
895
- * @category Object
896
- * @param {Object} object The object to query.
897
- * @param {Array|string} path The path of the property to get.
898
- * @param {*} [defaultValue] The value returned for `undefined` resolved values.
899
- * @returns {*} Returns the resolved value.
900
- * @example
901
- *
902
- * var object = { 'a': [{ 'b': { 'c': 3 } }] };
903
- *
904
- * _.get(object, 'a[0].b.c');
905
- * // => 3
906
- *
907
- * _.get(object, ['a', '0', 'b', 'c']);
908
- * // => 3
909
- *
910
- * _.get(object, 'a.b.c', 'default');
911
- * // => 'default'
912
- */
913
- function get(object, path, defaultValue) {
914
- var result = object == null ? undefined : _baseGet(object, path);
915
- return result === undefined ? defaultValue : result;
916
- }
917
-
918
- var get_1 = get;
919
-
920
- exports.get_1 = get_1;