@mjhls/mjh-framework 1.0.719 → 1.0.720-beta.0

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 (280) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +9 -10
  3. package/dist/cjs/AD300x250.js +24 -25
  4. package/dist/cjs/AD300x250x600.js +24 -25
  5. package/dist/cjs/AD728x90.js +27 -28
  6. package/dist/cjs/ADFloatingFooter.js +26 -27
  7. package/dist/cjs/ADFooter.js +14 -15
  8. package/dist/cjs/ADGutter.js +26 -27
  9. package/dist/cjs/{ADInfeed-2c7a6dd8.js → ADInfeed-5a561d7c.js} +11 -13
  10. package/dist/cjs/ADSkyscraper.js +26 -27
  11. package/dist/cjs/ADSponsoredResources.js +26 -27
  12. package/dist/cjs/ADWebcast.js +26 -27
  13. package/dist/cjs/ADWelcome.js +30 -31
  14. package/dist/cjs/{ADlgInfeed-fb101797.js → ADlgInfeed-c50f81d4.js} +8 -9
  15. package/dist/cjs/AccordionPanel.js +29 -31
  16. package/dist/cjs/AdSlot.js +31 -32
  17. package/dist/cjs/AdSlotsProvider.js +16 -17
  18. package/dist/cjs/AlphabeticList.js +24 -25
  19. package/dist/cjs/ArticleCarousel.js +23 -24
  20. package/dist/cjs/ArticleProgramLandingPage.js +54 -55
  21. package/dist/cjs/ArticleSeriesLandingPage.js +38 -39
  22. package/dist/cjs/ArticleSeriesListing.js +59 -60
  23. package/dist/cjs/Auth.js +534 -820
  24. package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-bb831b74.js} +13 -14
  25. package/dist/cjs/Beam.js +9 -9
  26. package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-091a991f.js} +24 -25
  27. package/dist/cjs/Breadcrumbs.js +27 -29
  28. package/dist/cjs/CMEDeck.js +83 -83
  29. package/dist/cjs/Column1.js +11 -14
  30. package/dist/cjs/Column2.js +32 -35
  31. package/dist/cjs/Column3.js +55 -58
  32. package/dist/cjs/ConferenceArticleCard.js +22 -23
  33. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  34. package/dist/cjs/DeckContent.js +94 -98
  35. package/dist/cjs/DeckQueue.js +86 -90
  36. package/dist/cjs/{Dfp-a863cf48.js → Dfp-ce7ac168.js} +30 -31
  37. package/dist/cjs/EventsDeck.js +131 -138
  38. package/dist/cjs/ExternalResources.js +76 -77
  39. package/dist/cjs/Feature.js +25 -27
  40. package/dist/cjs/ForbesHero.js +40 -41
  41. package/dist/cjs/GridContent.js +177 -181
  42. package/dist/cjs/GridHero.js +42 -43
  43. package/dist/cjs/GroupDeck.js +58 -59
  44. package/dist/cjs/HamMagazine.js +130 -135
  45. package/dist/cjs/Header.js +11 -13
  46. package/dist/cjs/Hero.js +12 -13
  47. package/dist/cjs/HighlightenVideo.js +17 -18
  48. package/dist/cjs/HorizontalArticleListing.js +68 -69
  49. package/dist/cjs/HorizontalHero.js +25 -26
  50. package/dist/cjs/IssueContentDeck.js +72 -77
  51. package/dist/cjs/IssueDeck.js +70 -75
  52. package/dist/cjs/IssueLanding.js +40 -41
  53. package/dist/cjs/LeftNav.js +36 -38
  54. package/dist/cjs/MasterDeck.js +71 -72
  55. package/dist/cjs/NavDvm.js +75 -80
  56. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  57. package/dist/cjs/NavMagazine.js +138 -143
  58. package/dist/cjs/NavNative.js +115 -123
  59. package/dist/cjs/NavNormal.js +48 -53
  60. package/dist/cjs/OncliveHero.js +20 -20
  61. package/dist/cjs/OncliveLargeHero.js +66 -67
  62. package/dist/cjs/PageFilter.js +14 -15
  63. package/dist/cjs/PartnerDetailListing.js +105 -106
  64. package/dist/cjs/PdfDownload.js +8 -9
  65. package/dist/cjs/PopUpModal.js +19 -21
  66. package/dist/cjs/PublicationDeck.js +61 -66
  67. package/dist/cjs/PublicationLanding.js +74 -78
  68. package/dist/cjs/QueueDeckExpanded.js +292 -292
  69. package/dist/cjs/RecentNews.js +23 -24
  70. package/dist/cjs/RelatedContent.js +24 -25
  71. package/dist/cjs/RelatedTopicsDropdown.js +19 -22
  72. package/dist/cjs/RolesDeck.js +27 -32
  73. package/dist/cjs/Search.js +18 -22
  74. package/dist/cjs/Segment.js +7 -7
  75. package/dist/cjs/SetCookie.js +1 -1
  76. package/dist/cjs/SideFooter.js +35 -36
  77. package/dist/cjs/SocialIcons.js +9 -10
  78. package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-8dd468fd.js} +36 -40
  79. package/dist/cjs/SocialShare.js +29 -31
  80. package/dist/cjs/TaxonomyCard.js +57 -62
  81. package/dist/cjs/TaxonomyDescription.js +51 -52
  82. package/dist/cjs/TemplateNormal.js +72 -73
  83. package/dist/cjs/ThumbnailCard.js +20 -22
  84. package/dist/cjs/Ustream.js +26 -27
  85. package/dist/cjs/VerticalHero.js +17 -18
  86. package/dist/cjs/VideoProgramLandingPage.js +70 -74
  87. package/dist/cjs/VideoSeriesCard.js +31 -32
  88. package/dist/cjs/VideoSeriesFilter.js +19 -19
  89. package/dist/cjs/VideoSeriesLandingPage.js +46 -47
  90. package/dist/cjs/VideoSeriesListing.js +74 -75
  91. package/dist/cjs/View.js +232 -235
  92. package/dist/cjs/YahooHero.js +39 -40
  93. package/dist/cjs/YoutubeGroup.js +72 -71
  94. package/dist/cjs/{_is-array-63ae4740.js → _is-array-754e012d.js} +6 -6
  95. package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-60b2f026.js} +2 -2
  96. package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-5e74ba08.js} +1 -1
  97. package/dist/cjs/{_object-to-array-bec5fcf2.js → _object-to-array-5762f850.js} +1 -1
  98. package/dist/cjs/{_set-species-a8cfdb84.js → _set-species-f92c67c5.js} +4 -4
  99. package/dist/cjs/{_to-object-821a2927.js → _to-object-329a650b.js} +4 -4
  100. package/dist/cjs/{asyncToGenerator-2edcb6ad.js → asyncToGenerator-533d476a.js} +8 -8
  101. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
  102. package/dist/cjs/{core.get-iterator-method-b4615fd3.js → core.get-iterator-method-f62321d4.js} +2 -2
  103. package/dist/cjs/{define-property-aff11f8a.js → define-property-f4d12f4e.js} +1 -1
  104. package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-55548b25.js} +1 -1
  105. package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
  106. package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-cc0bbaa4.js} +2 -2
  107. package/dist/cjs/{extends-1e24fc8d.js → extends-60837c34.js} +1 -1
  108. package/dist/cjs/getRelatedArticle.js +13 -424
  109. package/dist/cjs/getSerializers.js +42 -42
  110. package/dist/cjs/{getTargeting-497b581d.js → getTargeting-9af0ef69.js} +3 -3
  111. package/dist/cjs/getTargeting.js +7 -7
  112. package/dist/cjs/iconBase-68959171.js +3 -0
  113. package/dist/cjs/{index-4d74ffd6.js → index-3294d3bc.js} +41 -40
  114. package/dist/cjs/{index-7d880c49.js → index-792274b1.js} +898 -921
  115. package/dist/cjs/{index-5ad2b070.js → index-8bf6c863.js} +48 -30
  116. package/dist/cjs/{index-d48b231c.js → index-be0c82be.js} +25 -31
  117. package/dist/cjs/{index-80f57cff.js → index-da796b8c.js} +15 -17
  118. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  119. package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
  120. package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
  121. package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
  122. package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
  123. package/dist/cjs/index.js +133 -133
  124. package/dist/cjs/{inherits-2eb23889.js → inherits-c9f99d47.js} +5 -5
  125. package/dist/cjs/{keys-95c064c9.js → keys-a586b7a0.js} +2 -2
  126. package/dist/cjs/{lodash-4ef21f0f.js → lodash-fc2922d0.js} +23 -72
  127. package/dist/cjs/{main-dc082238.js → main-02daeefe.js} +80 -116
  128. package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
  129. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
  130. package/dist/cjs/{slicedToArray-db24842a.js → slicedToArray-8f385299.js} +4 -4
  131. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  132. package/dist/cjs/{stringify-01cf47f7.js → stringify-7c5aff47.js} +1 -1
  133. package/dist/cjs/timeDifferenceCalc.js +1 -1
  134. package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-9a3476fe.js} +4 -4
  135. package/dist/cjs/{typeof-97065d40.js → typeof-725500bc.js} +7 -7
  136. package/dist/cjs/urlFor.js +2 -2
  137. package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
  138. package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
  139. package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-a0e279c1.js} +3 -3
  140. package/dist/esm/AD.js +7 -7
  141. package/dist/esm/AD300x250.js +21 -21
  142. package/dist/esm/AD300x250x600.js +21 -21
  143. package/dist/esm/AD728x90.js +24 -24
  144. package/dist/esm/ADFloatingFooter.js +23 -23
  145. package/dist/esm/ADFooter.js +11 -11
  146. package/dist/esm/ADGutter.js +23 -23
  147. package/dist/esm/{ADInfeed-3ee501b9.js → ADInfeed-bb62ee44.js} +7 -7
  148. package/dist/esm/ADSkyscraper.js +23 -23
  149. package/dist/esm/ADSponsoredResources.js +23 -23
  150. package/dist/esm/ADWebcast.js +23 -23
  151. package/dist/esm/ADWelcome.js +27 -27
  152. package/dist/esm/{ADlgInfeed-0bf06b17.js → ADlgInfeed-ef0a892e.js} +6 -6
  153. package/dist/esm/AccordionPanel.js +24 -24
  154. package/dist/esm/AdSlot.js +23 -23
  155. package/dist/esm/AdSlotsProvider.js +13 -13
  156. package/dist/esm/AlphabeticList.js +21 -21
  157. package/dist/esm/ArticleCarousel.js +20 -20
  158. package/dist/esm/ArticleProgramLandingPage.js +51 -51
  159. package/dist/esm/ArticleSeriesLandingPage.js +35 -35
  160. package/dist/esm/ArticleSeriesListing.js +54 -54
  161. package/dist/esm/Auth.js +517 -799
  162. package/dist/esm/{AuthorComponent-c7ff069f.js → AuthorComponent-34b16174.js} +11 -11
  163. package/dist/esm/Beam.js +9 -9
  164. package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-e9b4ddcf.js} +4 -4
  165. package/dist/esm/Breadcrumbs.js +17 -17
  166. package/dist/esm/CMEDeck.js +79 -79
  167. package/dist/esm/Column1.js +5 -5
  168. package/dist/esm/Column2.js +26 -26
  169. package/dist/esm/Column3.js +48 -48
  170. package/dist/esm/ConferenceArticleCard.js +18 -18
  171. package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
  172. package/dist/esm/DeckContent.js +76 -76
  173. package/dist/esm/DeckQueue.js +64 -64
  174. package/dist/esm/{Dfp-5d779279.js → Dfp-e9a07597.js} +20 -20
  175. package/dist/esm/EventsDeck.js +84 -84
  176. package/dist/esm/ExternalResources.js +70 -70
  177. package/dist/esm/Feature.js +18 -18
  178. package/dist/esm/ForbesHero.js +34 -34
  179. package/dist/esm/GridContent.js +139 -139
  180. package/dist/esm/GridHero.js +36 -36
  181. package/dist/esm/GroupDeck.js +46 -46
  182. package/dist/esm/HamMagazine.js +104 -104
  183. package/dist/esm/Header.js +7 -7
  184. package/dist/esm/Hero.js +9 -9
  185. package/dist/esm/HighlightenVideo.js +14 -14
  186. package/dist/esm/HorizontalArticleListing.js +65 -65
  187. package/dist/esm/HorizontalHero.js +21 -21
  188. package/dist/esm/IssueContentDeck.js +49 -49
  189. package/dist/esm/IssueDeck.js +46 -46
  190. package/dist/esm/IssueLanding.js +37 -37
  191. package/dist/esm/LeftNav.js +32 -32
  192. package/dist/esm/MasterDeck.js +65 -65
  193. package/dist/esm/NavDvm.js +57 -57
  194. package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
  195. package/dist/esm/NavMagazine.js +114 -114
  196. package/dist/esm/NavNative.js +91 -91
  197. package/dist/esm/NavNormal.js +36 -36
  198. package/dist/esm/OncliveHero.js +17 -16
  199. package/dist/esm/OncliveLargeHero.js +59 -59
  200. package/dist/esm/PageFilter.js +12 -12
  201. package/dist/esm/PartnerDetailListing.js +101 -101
  202. package/dist/esm/PdfDownload.js +6 -6
  203. package/dist/esm/PopUpModal.js +14 -14
  204. package/dist/esm/PublicationDeck.js +38 -38
  205. package/dist/esm/PublicationLanding.js +50 -50
  206. package/dist/esm/QueueDeckExpanded.js +272 -272
  207. package/dist/esm/RecentNews.js +20 -20
  208. package/dist/esm/RelatedContent.js +19 -19
  209. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  210. package/dist/esm/RolesDeck.js +13 -13
  211. package/dist/esm/Search.js +12 -12
  212. package/dist/esm/Segment.js +7 -7
  213. package/dist/esm/SetCookie.js +1 -1
  214. package/dist/esm/SideFooter.js +31 -31
  215. package/dist/esm/SocialIcons.js +7 -7
  216. package/dist/esm/{SocialSearchComponent-c3216d1a.js → SocialSearchComponent-a2ae84d1.js} +28 -28
  217. package/dist/esm/SocialShare.js +25 -25
  218. package/dist/esm/TaxonomyCard.js +41 -41
  219. package/dist/esm/TaxonomyDescription.js +46 -46
  220. package/dist/esm/TemplateNormal.js +66 -66
  221. package/dist/esm/ThumbnailCard.js +13 -13
  222. package/dist/esm/Ustream.js +23 -23
  223. package/dist/esm/VerticalHero.js +13 -13
  224. package/dist/esm/VideoProgramLandingPage.js +60 -60
  225. package/dist/esm/VideoSeriesCard.js +24 -24
  226. package/dist/esm/VideoSeriesFilter.js +16 -16
  227. package/dist/esm/VideoSeriesLandingPage.js +39 -39
  228. package/dist/esm/VideoSeriesListing.js +68 -68
  229. package/dist/esm/View.js +216 -215
  230. package/dist/esm/YahooHero.js +34 -34
  231. package/dist/esm/YoutubeGroup.js +56 -54
  232. package/dist/esm/{_is-array-674f71ec.js → _is-array-58e95429.js} +6 -6
  233. package/dist/esm/{_iter-detect-48516cd3.js → _iter-detect-5d49a330.js} +2 -2
  234. package/dist/esm/{_object-sap-fd3054d0.js → _object-sap-964b6feb.js} +1 -1
  235. package/dist/esm/{_object-to-array-8f409e54.js → _object-to-array-7e804fce.js} +1 -1
  236. package/dist/esm/{_set-species-494ed292.js → _set-species-3f8319f5.js} +4 -4
  237. package/dist/esm/{_to-object-97770c52.js → _to-object-a4107da3.js} +5 -5
  238. package/dist/esm/{asyncToGenerator-2bd4099a.js → asyncToGenerator-502f13b4.js} +8 -8
  239. package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
  240. package/dist/esm/{core.get-iterator-method-d1d5ed02.js → core.get-iterator-method-e1de7503.js} +2 -2
  241. package/dist/esm/{define-property-ec6d528d.js → define-property-8af5f002.js} +1 -1
  242. package/dist/esm/{defineProperty-ea516b15.js → defineProperty-94fd8bfc.js} +1 -1
  243. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  244. package/dist/esm/{es6.string.iterator-aa6068a3.js → es6.string.iterator-c990c18c.js} +3 -3
  245. package/dist/esm/{extends-31d65aba.js → extends-eb69e8ac.js} +1 -1
  246. package/dist/esm/getRelatedArticle.js +13 -424
  247. package/dist/esm/getSerializers.js +42 -42
  248. package/dist/esm/{getTargeting-2d402d66.js → getTargeting-7211f12c.js} +2 -2
  249. package/dist/esm/getTargeting.js +7 -7
  250. package/dist/esm/{index-752d1dae.js → index-5f9f807a.js} +10 -10
  251. package/dist/esm/{index-3f5c03b2.js → index-73819142.js} +25 -31
  252. package/dist/esm/{index-669ff425.js → index-a9e53f80.js} +43 -24
  253. package/dist/esm/{index-998e7b12.js → index-c3a5ff39.js} +839 -855
  254. package/dist/esm/{index-ccb770c7.js → index-ef6d5dcf.js} +41 -40
  255. package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
  256. package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
  257. package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
  258. package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
  259. package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
  260. package/dist/esm/index.js +111 -111
  261. package/dist/esm/{inherits-5906fbea.js → inherits-fb9b6e8f.js} +5 -5
  262. package/dist/esm/{keys-a0b0c7a4.js → keys-8eda7a5c.js} +2 -2
  263. package/dist/esm/{lodash-ad27652f.js → lodash-17fdfebb.js} +23 -72
  264. package/dist/esm/{main-1450d277.js → main-e4a934b2.js} +78 -113
  265. package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
  266. package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
  267. package/dist/esm/{slicedToArray-cdeaee08.js → slicedToArray-641f241f.js} +4 -4
  268. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  269. package/dist/esm/{stringify-d4839bab.js → stringify-4330ccdc.js} +1 -1
  270. package/dist/esm/timeDifferenceCalc.js +1 -1
  271. package/dist/esm/{toConsumableArray-fa2dcda7.js → toConsumableArray-43aa614d.js} +4 -4
  272. package/dist/esm/{typeof-e9cea9e8.js → typeof-6435ba1c.js} +7 -7
  273. package/dist/esm/urlFor.js +1 -1
  274. package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
  275. package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
  276. package/dist/esm/{web.dom.iterable-035980f3.js → web.dom.iterable-4439f05a.js} +3 -3
  277. package/package.json +1 -1
  278. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  279. package/dist/cjs/index-bd6c9f56.js +0 -211
  280. package/dist/esm/index-db3bb315.js +0 -207
package/dist/esm/Auth.js CHANGED
@@ -1,24 +1,23 @@
1
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-2bd4099a.js';
2
- import { _ as _JSON$stringify } from './stringify-d4839bab.js';
3
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-cdeaee08.js';
4
- import React, { useEffect, useState } from 'react';
1
+ import { a as commonjsGlobal, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
+ import './_to-object-a4107da3.js';
3
+ import './es6.string.iterator-c990c18c.js';
4
+ import './_library-528f1934.js';
5
+ import './_iter-detect-5d49a330.js';
6
+ import './core.get-iterator-method-e1de7503.js';
7
+ import './_object-pie-33c40e79.js';
8
+ import { _ as _extends } from './extends-eb69e8ac.js';
9
+ import './web.dom.iterable-4439f05a.js';
10
+ import React__default, { useEffect, useState } from 'react';
5
11
  import Router from 'next/router';
6
- import { _ as _extends } from './extends-31d65aba.js';
12
+ import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
13
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-641f241f.js';
14
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-502f13b4.js';
15
+ import './_set-species-3f8319f5.js';
7
16
  import { Col, Form, Button, Spinner } from 'react-bootstrap';
17
+ import { u as util } from './util-7700fc59.js';
8
18
  import useSWR from 'swr';
9
- import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
10
19
  import Local from 'passport-local';
11
20
  import mysql from 'mysql';
12
- import { u as util } from './util-3ab476bf.js';
13
- import { a as commonjsGlobal, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
14
- import './es6.string.iterator-aa6068a3.js';
15
- import './_to-object-97770c52.js';
16
- import './web.dom.iterable-035980f3.js';
17
- import './_library-528f1934.js';
18
- import './core.get-iterator-method-d1d5ed02.js';
19
- import './_set-species-494ed292.js';
20
- import './_iter-detect-48516cd3.js';
21
- import './_object-pie-33c40e79.js';
22
21
 
23
22
  var returnFormField = function returnFormField(_ref) {
24
23
  var name = _ref.name,
@@ -57,21 +56,21 @@ var returnFormField = function returnFormField(_ref) {
57
56
  }
58
57
 
59
58
  if (type == 'text' || type == 'email' || type == 'password' || type == 'number') {
60
- return React.createElement(
59
+ return React__default.createElement(
61
60
  Form.Group,
62
61
  _extends({}, opts, { controlId: name }),
63
- React.createElement(
62
+ React__default.createElement(
64
63
  Form.Label,
65
64
  { kye: name + '_label' },
66
65
  label,
67
- required && React.createElement(
66
+ required && React__default.createElement(
68
67
  'span',
69
68
  { style: { color: 'red' } },
70
69
  '*'
71
70
  )
72
71
  ),
73
- React.createElement(Form.Control, { key: name + '_' + type, type: type, readOnly: readonly, name: name, placeholder: '', defaultValue: default_value, required: required }),
74
- React.createElement(
72
+ React__default.createElement(Form.Control, { key: name + '_' + type, type: type, readOnly: readonly, name: name, placeholder: '', defaultValue: default_value, required: required }),
73
+ React__default.createElement(
75
74
  Form.Control.Feedback,
76
75
  { key: name + '_feedback', type: 'invalid' },
77
76
  errors[name]
@@ -79,28 +78,28 @@ var returnFormField = function returnFormField(_ref) {
79
78
  );
80
79
  }
81
80
  if (type == 'select') {
82
- return React.createElement(
81
+ return React__default.createElement(
83
82
  Form.Group,
84
83
  _extends({}, opts, { key: name, controlId: name }),
85
- React.createElement(
84
+ React__default.createElement(
86
85
  Form.Label,
87
86
  { key: name + '_' + label },
88
87
  label,
89
- required && React.createElement(
88
+ required && React__default.createElement(
90
89
  'span',
91
90
  { key: name + '_required_span', style: { color: 'red' } },
92
91
  '*'
93
92
  )
94
93
  ),
95
- React.createElement(
94
+ React__default.createElement(
96
95
  Form.Control,
97
96
  { key: name + '_select', as: 'select', name: name, required: required, defaultValue: default_value },
98
- React.createElement('option', { value: '', key: name + '_options_empty' }),
97
+ React__default.createElement('option', { value: '', key: name + '_options_empty' }),
99
98
  options.map(function (option, index) {
100
99
  var value = option.value ? option.value : option;
101
100
  var label = option.label ? option.label : option;
102
101
  var key = name + '_options_' + index;
103
- return React.createElement(
102
+ return React__default.createElement(
104
103
  'option',
105
104
  { key: key, value: value },
106
105
  label
@@ -111,25 +110,25 @@ var returnFormField = function returnFormField(_ref) {
111
110
  }
112
111
 
113
112
  if (type == 'radio' || type == 'checkbox') {
114
- return React.createElement(
113
+ return React__default.createElement(
115
114
  Form.Group,
116
115
  opts,
117
- React.createElement(
116
+ React__default.createElement(
118
117
  Form.Label,
119
118
  null,
120
119
  label,
121
- required && React.createElement(
120
+ required && React__default.createElement(
122
121
  'span',
123
122
  { style: { color: 'red' } },
124
123
  '*'
125
124
  )
126
125
  ),
127
126
  options.map(function (option, index) {
128
- return React.createElement(
127
+ return React__default.createElement(
129
128
  Form.Check,
130
129
  { type: type, key: index, required: required },
131
- React.createElement(Form.Check.Input, { type: type, key: type + '_' + index + '_input', defaultChecked: default_value ? default_value === option.value : false, name: name, id: name + '_' + index, value: option.value, required: required }),
132
- React.createElement(Form.Check.Label, { style: { cursor: 'pointer' }, 'for': name + '_' + index, key: type + '_' + index + '_label', dangerouslySetInnerHTML: { __html: option.label } })
130
+ React__default.createElement(Form.Check.Input, { type: type, key: type + '_' + index + '_input', defaultChecked: default_value ? default_value === option.value : false, name: name, id: name + '_' + index, value: option.value, required: required }),
131
+ React__default.createElement(Form.Check.Label, { style: { cursor: 'pointer' }, 'for': name + '_' + index, key: type + '_' + index + '_label', dangerouslySetInnerHTML: { __html: option.label } })
133
132
  );
134
133
  })
135
134
  );
@@ -336,43 +335,43 @@ var LoginForm = function LoginForm(props) {
336
335
  loading = _useState4[0],
337
336
  setLoading = _useState4[1];
338
337
 
339
- return React.createElement(
338
+ return React__default.createElement(
340
339
  Form,
341
340
  { className: 'login', onSubmit: handleSubmit },
342
- React.createElement(
341
+ React__default.createElement(
343
342
  'h1',
344
343
  null,
345
344
  'Login'
346
345
  ),
347
- React.createElement('hr', null),
346
+ React__default.createElement('hr', null),
348
347
  returnFormField({ name: 'email', label: 'Email', type: 'email', required: true }),
349
348
  returnFormField({ name: 'password', label: 'Password', type: 'password', required: true }),
350
- React.createElement('hr', null),
351
- React.createElement(
349
+ React__default.createElement('hr', null),
350
+ React__default.createElement(
352
351
  Form.Row,
353
352
  null,
354
- React.createElement(
353
+ React__default.createElement(
355
354
  Form.Group,
356
355
  { as: Col },
357
- React.createElement(
356
+ React__default.createElement(
358
357
  'a',
359
358
  { href: '/auth/signup' },
360
359
  'I don\'t have an account'
361
360
  )
362
361
  ),
363
- React.createElement(
362
+ React__default.createElement(
364
363
  Form.Group,
365
364
  { as: Col, className: 'text-right' },
366
- !loading && React.createElement(
365
+ !loading && React__default.createElement(
367
366
  Button,
368
367
  { type: 'submit' },
369
368
  'Login'
370
369
  ),
371
- loading && React.createElement(
370
+ loading && React__default.createElement(
372
371
  Button,
373
372
  { variant: 'primary', disabled: true },
374
- React.createElement(Spinner, { as: 'span', animation: 'border', role: 'status', 'aria-hidden': 'true', size: 'sm' }),
375
- React.createElement(
373
+ React__default.createElement(Spinner, { as: 'span', animation: 'border', role: 'status', 'aria-hidden': 'true', size: 'sm' }),
374
+ React__default.createElement(
376
375
  'span',
377
376
  { className: 'sr-only' },
378
377
  'Loading...'
@@ -380,12 +379,12 @@ var LoginForm = function LoginForm(props) {
380
379
  )
381
380
  )
382
381
  ),
383
- errorMsg && React.createElement(
382
+ errorMsg && React__default.createElement(
384
383
  'p',
385
384
  { className: 'error' },
386
385
  errorMsg
387
386
  ),
388
- React.createElement(
387
+ React__default.createElement(
389
388
  'style',
390
389
  { jsx: 'true'.toString() },
391
390
  '\n .login {\n margin: 0 auto;\n padding: 1rem;\n border: 1px solid #ccc;\n border-radius: 4px;\n }\n .error {\n color: red;\n margin: 1rem 0 0;\n }\n '
@@ -641,29 +640,29 @@ var SignupForm = function SignupForm(props) {
641
640
  loading = _useState14[0],
642
641
  setLoading = _useState14[1];
643
642
 
644
- return React.createElement(
643
+ return React__default.createElement(
645
644
  Form,
646
645
  { className: 'login', id: 'signupForm', onSubmit: handleSubmit },
647
- React.createElement(
646
+ React__default.createElement(
648
647
  'h1',
649
648
  null,
650
649
  'Sign Up'
651
650
  ),
652
- React.createElement('hr', null),
651
+ React__default.createElement('hr', null),
653
652
  returnFormField({ name: 'email', label: 'Email', type: 'email', required: true }),
654
- React.createElement(
653
+ React__default.createElement(
655
654
  Form.Row,
656
655
  null,
657
656
  returnFormField({ name: 'password', label: 'Password', type: 'password', groupType: Col, required: true }),
658
657
  returnFormField({ name: 'rpassword', label: 'Retype Password', type: 'password', groupType: Col, required: true })
659
658
  ),
660
- React.createElement(
659
+ React__default.createElement(
661
660
  Form.Row,
662
661
  null,
663
662
  returnFormField({ name: 'first_name', label: 'First Name', type: 'text', groupType: Col, required: true }),
664
663
  returnFormField({ name: 'last_name', label: 'Last Name', type: 'text', groupType: Col, required: true })
665
664
  ),
666
- React.createElement(
665
+ React__default.createElement(
667
666
  Form.Row,
668
667
  null,
669
668
  returnFormField({
@@ -677,7 +676,7 @@ var SignupForm = function SignupForm(props) {
677
676
  }),
678
677
  countryUS && returnFormField({ name: 'state', label: 'State', type: 'select', required: true, groupType: Col, options: states })
679
678
  ),
680
- React.createElement(
679
+ React__default.createElement(
681
680
  Form.Row,
682
681
  null,
683
682
  countryUS && returnFormField({ name: 'zip', label: 'Working Zip Code', type: 'text', required: true, groupType: Col }),
@@ -724,38 +723,38 @@ var SignupForm = function SignupForm(props) {
724
723
  required: true,
725
724
  options: [{ label: 'By registering you agree to our <a href="/terms" style="color:blue">Terms and Conditions</a> and <a href="/privacy" style="color:blue">Privacy Policy</a> and understand that you will be receiving email communications', value: 'Y' }]
726
725
  }),
727
- React.createElement('hr', null),
728
- React.createElement(
726
+ React__default.createElement('hr', null),
727
+ React__default.createElement(
729
728
  Form.Row,
730
729
  null,
731
- React.createElement(
730
+ React__default.createElement(
732
731
  Form.Group,
733
732
  { as: Col },
734
- React.createElement(
733
+ React__default.createElement(
735
734
  'a',
736
735
  { href: '/auth/login' },
737
736
  'I already have an account'
738
737
  )
739
738
  ),
740
- React.createElement(
739
+ React__default.createElement(
741
740
  Form.Group,
742
741
  { as: Col, className: 'text-right' },
743
- !loading && React.createElement(
742
+ !loading && React__default.createElement(
744
743
  Button,
745
744
  { type: 'submit' },
746
745
  'Sign Up'
747
746
  ),
748
- loading && React.createElement(
747
+ loading && React__default.createElement(
749
748
  Button,
750
749
  { variant: 'primary', disabled: true },
751
- React.createElement(Spinner, {
750
+ React__default.createElement(Spinner, {
752
751
  as: 'span',
753
752
  animation: 'border',
754
753
  role: 'status',
755
754
  'aria-hidden': 'true',
756
755
  size: 'sm'
757
756
  }),
758
- React.createElement(
757
+ React__default.createElement(
759
758
  'span',
760
759
  { className: 'sr-only' },
761
760
  'Loading...'
@@ -763,12 +762,12 @@ var SignupForm = function SignupForm(props) {
763
762
  )
764
763
  )
765
764
  ),
766
- errorMsg && React.createElement(
765
+ errorMsg && React__default.createElement(
767
766
  'p',
768
767
  { className: 'error' },
769
768
  errorMsg
770
769
  ),
771
- React.createElement(
770
+ React__default.createElement(
772
771
  'style',
773
772
  { jsx: 'true'.toString() },
774
773
  ' \n .login {\n margin: 0 auto;\n padding: 1rem;\n border: 1px solid #ccc;\n border-radius: 4px;\n }\n .error {\n color: red;\n margin: 1rem 0 0;\n }\n '
@@ -1058,32 +1057,32 @@ var SignupForm$1 = function SignupForm(props) {
1058
1057
  loading = _useState18[0],
1059
1058
  setLoading = _useState18[1];
1060
1059
 
1061
- return React.createElement(
1060
+ return React__default.createElement(
1062
1061
  Form,
1063
1062
  { className: 'login', id: 'signupForm', onSubmit: handleSubmit },
1064
- React.createElement(
1063
+ React__default.createElement(
1065
1064
  'h1',
1066
1065
  null,
1067
1066
  'Profile'
1068
1067
  ),
1069
- React.createElement('hr', null),
1070
- userData ? React.createElement(
1071
- React.Fragment,
1068
+ React__default.createElement('hr', null),
1069
+ userData ? React__default.createElement(
1070
+ React__default.Fragment,
1072
1071
  null,
1073
1072
  returnFormField({ name: 'email', label: 'Email', type: 'email', required: true, readonly: true, default_value: userData.email }),
1074
- React.createElement(
1073
+ React__default.createElement(
1075
1074
  Form.Row,
1076
1075
  null,
1077
1076
  returnFormField({ name: 'password', label: 'Password', type: 'password', groupType: Col, required: false }),
1078
1077
  returnFormField({ name: 'rpassword', label: 'Retype Password', type: 'password', groupType: Col, required: false })
1079
1078
  ),
1080
- React.createElement(
1079
+ React__default.createElement(
1081
1080
  Form.Row,
1082
1081
  null,
1083
1082
  returnFormField({ name: 'first_name', label: 'First Name', type: 'text', groupType: Col, required: true, default_value: userData.shared.first_name }),
1084
1083
  returnFormField({ name: 'last_name', label: 'Last Name', type: 'text', groupType: Col, required: true, default_value: userData.shared.last_name })
1085
1084
  ),
1086
- React.createElement(
1085
+ React__default.createElement(
1087
1086
  Form.Row,
1088
1087
  null,
1089
1088
  returnFormField({
@@ -1098,7 +1097,7 @@ var SignupForm$1 = function SignupForm(props) {
1098
1097
  }),
1099
1098
  countryUS && returnFormField({ name: 'state', label: 'State', type: 'select', required: true, groupType: Col, options: states, default_value: userData.shared.state })
1100
1099
  ),
1101
- React.createElement(
1100
+ React__default.createElement(
1102
1101
  Form.Row,
1103
1102
  null,
1104
1103
  countryUS && returnFormField({ name: 'zip', label: 'Working Zip Code', type: 'text', required: true, groupType: Col, default_value: userData.shared.zip }),
@@ -1148,29 +1147,29 @@ var SignupForm$1 = function SignupForm(props) {
1148
1147
  required: true,
1149
1148
  options: [{ label: 'By registering you agree to our <a href="/terms">Terms and Conditions</a> and <a href="/privacy">Privacy Policy</a> and understand that you will be receiving email communications', value: 'Y' }]
1150
1149
  }),
1151
- React.createElement('hr', null),
1152
- React.createElement(
1150
+ React__default.createElement('hr', null),
1151
+ React__default.createElement(
1153
1152
  Form.Row,
1154
1153
  null,
1155
- React.createElement(
1154
+ React__default.createElement(
1156
1155
  Form.Group,
1157
1156
  { as: Col },
1158
- !loading && React.createElement(
1157
+ !loading && React__default.createElement(
1159
1158
  Button,
1160
1159
  { type: 'submit' },
1161
1160
  'Update'
1162
1161
  ),
1163
- loading && React.createElement(
1162
+ loading && React__default.createElement(
1164
1163
  Button,
1165
1164
  { variant: 'primary', disabled: true },
1166
- React.createElement(Spinner, {
1165
+ React__default.createElement(Spinner, {
1167
1166
  as: 'span',
1168
1167
  animation: 'border',
1169
1168
  role: 'status',
1170
1169
  'aria-hidden': 'true',
1171
1170
  size: 'sm'
1172
1171
  }),
1173
- React.createElement(
1172
+ React__default.createElement(
1174
1173
  'span',
1175
1174
  { className: 'sr-only' },
1176
1175
  'Loading...'
@@ -1178,24 +1177,24 @@ var SignupForm$1 = function SignupForm(props) {
1178
1177
  )
1179
1178
  )
1180
1179
  )
1181
- ) : React.createElement(Spinner, {
1180
+ ) : React__default.createElement(Spinner, {
1182
1181
  as: 'span',
1183
1182
  animation: 'border',
1184
1183
  role: 'status',
1185
1184
  'aria-hidden': 'true',
1186
1185
  size: 'sm'
1187
1186
  }),
1188
- errorMsg && React.createElement(
1187
+ errorMsg && React__default.createElement(
1189
1188
  'p',
1190
1189
  { className: 'error' },
1191
1190
  errorMsg
1192
1191
  ),
1193
- successMsg && React.createElement(
1192
+ successMsg && React__default.createElement(
1194
1193
  'p',
1195
1194
  { className: 'success' },
1196
1195
  successMsg
1197
1196
  ),
1198
- React.createElement(
1197
+ React__default.createElement(
1199
1198
  'style',
1200
1199
  { jsx: 'true'.toString() },
1201
1200
  ' \n .login {\n margin: 0 auto;\n padding: 1rem;\n border: 1px solid #ccc;\n border-radius: 4px;\n }\n .error {\n color: red;\n margin: 1rem 0 0;\n }\n .success {\n color: green;\n margin: 1rem 0 0;\n }\n '
@@ -1203,6 +1202,207 @@ var SignupForm$1 = function SignupForm(props) {
1203
1202
  );
1204
1203
  };
1205
1204
 
1205
+ /*!
1206
+ * cookie
1207
+ * Copyright(c) 2012-2014 Roman Shtylman
1208
+ * Copyright(c) 2015 Douglas Christopher Wilson
1209
+ * MIT Licensed
1210
+ */
1211
+
1212
+ /**
1213
+ * Module exports.
1214
+ * @public
1215
+ */
1216
+
1217
+ var parse_1 = parse;
1218
+ var serialize_1 = serialize;
1219
+
1220
+ /**
1221
+ * Module variables.
1222
+ * @private
1223
+ */
1224
+
1225
+ var decode = decodeURIComponent;
1226
+ var encode = encodeURIComponent;
1227
+ var pairSplitRegExp = /; */;
1228
+
1229
+ /**
1230
+ * RegExp to match field-content in RFC 7230 sec 3.2
1231
+ *
1232
+ * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
1233
+ * field-vchar = VCHAR / obs-text
1234
+ * obs-text = %x80-FF
1235
+ */
1236
+
1237
+ var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
1238
+
1239
+ /**
1240
+ * Parse a cookie header.
1241
+ *
1242
+ * Parse the given cookie header string into an object
1243
+ * The object has the various cookies as keys(names) => values
1244
+ *
1245
+ * @param {string} str
1246
+ * @param {object} [options]
1247
+ * @return {object}
1248
+ * @public
1249
+ */
1250
+
1251
+ function parse(str, options) {
1252
+ if (typeof str !== 'string') {
1253
+ throw new TypeError('argument str must be a string');
1254
+ }
1255
+
1256
+ var obj = {};
1257
+ var opt = options || {};
1258
+ var pairs = str.split(pairSplitRegExp);
1259
+ var dec = opt.decode || decode;
1260
+
1261
+ for (var i = 0; i < pairs.length; i++) {
1262
+ var pair = pairs[i];
1263
+ var eq_idx = pair.indexOf('=');
1264
+
1265
+ // skip things that don't look like key=value
1266
+ if (eq_idx < 0) {
1267
+ continue;
1268
+ }
1269
+
1270
+ var key = pair.substr(0, eq_idx).trim();
1271
+ var val = pair.substr(++eq_idx, pair.length).trim();
1272
+
1273
+ // quoted values
1274
+ if ('"' == val[0]) {
1275
+ val = val.slice(1, -1);
1276
+ }
1277
+
1278
+ // only assign once
1279
+ if (undefined == obj[key]) {
1280
+ obj[key] = tryDecode(val, dec);
1281
+ }
1282
+ }
1283
+
1284
+ return obj;
1285
+ }
1286
+
1287
+ /**
1288
+ * Serialize data into a cookie header.
1289
+ *
1290
+ * Serialize the a name value pair into a cookie string suitable for
1291
+ * http headers. An optional options object specified cookie parameters.
1292
+ *
1293
+ * serialize('foo', 'bar', { httpOnly: true })
1294
+ * => "foo=bar; httpOnly"
1295
+ *
1296
+ * @param {string} name
1297
+ * @param {string} val
1298
+ * @param {object} [options]
1299
+ * @return {string}
1300
+ * @public
1301
+ */
1302
+
1303
+ function serialize(name, val, options) {
1304
+ var opt = options || {};
1305
+ var enc = opt.encode || encode;
1306
+
1307
+ if (typeof enc !== 'function') {
1308
+ throw new TypeError('option encode is invalid');
1309
+ }
1310
+
1311
+ if (!fieldContentRegExp.test(name)) {
1312
+ throw new TypeError('argument name is invalid');
1313
+ }
1314
+
1315
+ var value = enc(val);
1316
+
1317
+ if (value && !fieldContentRegExp.test(value)) {
1318
+ throw new TypeError('argument val is invalid');
1319
+ }
1320
+
1321
+ var str = name + '=' + value;
1322
+
1323
+ if (null != opt.maxAge) {
1324
+ var maxAge = opt.maxAge - 0;
1325
+
1326
+ if (isNaN(maxAge) || !isFinite(maxAge)) {
1327
+ throw new TypeError('option maxAge is invalid')
1328
+ }
1329
+
1330
+ str += '; Max-Age=' + Math.floor(maxAge);
1331
+ }
1332
+
1333
+ if (opt.domain) {
1334
+ if (!fieldContentRegExp.test(opt.domain)) {
1335
+ throw new TypeError('option domain is invalid');
1336
+ }
1337
+
1338
+ str += '; Domain=' + opt.domain;
1339
+ }
1340
+
1341
+ if (opt.path) {
1342
+ if (!fieldContentRegExp.test(opt.path)) {
1343
+ throw new TypeError('option path is invalid');
1344
+ }
1345
+
1346
+ str += '; Path=' + opt.path;
1347
+ }
1348
+
1349
+ if (opt.expires) {
1350
+ if (typeof opt.expires.toUTCString !== 'function') {
1351
+ throw new TypeError('option expires is invalid');
1352
+ }
1353
+
1354
+ str += '; Expires=' + opt.expires.toUTCString();
1355
+ }
1356
+
1357
+ if (opt.httpOnly) {
1358
+ str += '; HttpOnly';
1359
+ }
1360
+
1361
+ if (opt.secure) {
1362
+ str += '; Secure';
1363
+ }
1364
+
1365
+ if (opt.sameSite) {
1366
+ var sameSite = typeof opt.sameSite === 'string'
1367
+ ? opt.sameSite.toLowerCase() : opt.sameSite;
1368
+
1369
+ switch (sameSite) {
1370
+ case true:
1371
+ str += '; SameSite=Strict';
1372
+ break;
1373
+ case 'lax':
1374
+ str += '; SameSite=Lax';
1375
+ break;
1376
+ case 'strict':
1377
+ str += '; SameSite=Strict';
1378
+ break;
1379
+ case 'none':
1380
+ str += '; SameSite=None';
1381
+ break;
1382
+ default:
1383
+ throw new TypeError('option sameSite is invalid');
1384
+ }
1385
+ }
1386
+
1387
+ return str;
1388
+ }
1389
+
1390
+ /**
1391
+ * Try decoding a string using a decoding function.
1392
+ *
1393
+ * @param {string} str
1394
+ * @param {function} decode
1395
+ * @private
1396
+ */
1397
+
1398
+ function tryDecode(str, decode) {
1399
+ try {
1400
+ return decode(str);
1401
+ } catch (e) {
1402
+ return str;
1403
+ }
1404
+ }
1405
+
1206
1406
  var TOKEN_NAME = 'token';
1207
1407
  var MAX_AGE = 60 * 60 * 8; // 8 hours
1208
1408
 
@@ -1537,59 +1737,6 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
1537
1737
 
1538
1738
  var defineProperties_1 = defineProperties;
1539
1739
 
1540
- /* eslint no-invalid-this: 1 */
1541
-
1542
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1543
- var slice$1 = Array.prototype.slice;
1544
- var toStr$3 = Object.prototype.toString;
1545
- var funcType = '[object Function]';
1546
-
1547
- var implementation$1 = function bind(that) {
1548
- var target = this;
1549
- if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
1550
- throw new TypeError(ERROR_MESSAGE + target);
1551
- }
1552
- var args = slice$1.call(arguments, 1);
1553
-
1554
- var bound;
1555
- var binder = function () {
1556
- if (this instanceof bound) {
1557
- var result = target.apply(
1558
- this,
1559
- args.concat(slice$1.call(arguments))
1560
- );
1561
- if (Object(result) === result) {
1562
- return result;
1563
- }
1564
- return this;
1565
- } else {
1566
- return target.apply(
1567
- that,
1568
- args.concat(slice$1.call(arguments))
1569
- );
1570
- }
1571
- };
1572
-
1573
- var boundLength = Math.max(0, target.length - args.length);
1574
- var boundArgs = [];
1575
- for (var i = 0; i < boundLength; i++) {
1576
- boundArgs.push('$' + i);
1577
- }
1578
-
1579
- bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1580
-
1581
- if (target.prototype) {
1582
- var Empty = function Empty() {};
1583
- Empty.prototype = target.prototype;
1584
- bound.prototype = new Empty();
1585
- Empty.prototype = null;
1586
- }
1587
-
1588
- return bound;
1589
- };
1590
-
1591
- var functionBind = Function.prototype.bind || implementation$1;
1592
-
1593
1740
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
1594
1741
  var shams = function hasSymbols() {
1595
1742
  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
@@ -1643,21 +1790,68 @@ var hasSymbols$1 = function hasNativeSymbols() {
1643
1790
  return shams();
1644
1791
  };
1645
1792
 
1646
- var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1793
+ /* eslint no-invalid-this: 1 */
1647
1794
 
1648
- var undefined$1;
1795
+ var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1796
+ var slice$1 = Array.prototype.slice;
1797
+ var toStr$3 = Object.prototype.toString;
1798
+ var funcType = '[object Function]';
1649
1799
 
1650
- var $SyntaxError = SyntaxError;
1651
- var $Function = Function;
1652
- var $TypeError = TypeError;
1800
+ var implementation$1 = function bind(that) {
1801
+ var target = this;
1802
+ if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
1803
+ throw new TypeError(ERROR_MESSAGE + target);
1804
+ }
1805
+ var args = slice$1.call(arguments, 1);
1653
1806
 
1654
- // eslint-disable-next-line consistent-return
1655
- var getEvalledConstructor = function (expressionSyntax) {
1656
- try {
1657
- return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1658
- } catch (e) {}
1807
+ var bound;
1808
+ var binder = function () {
1809
+ if (this instanceof bound) {
1810
+ var result = target.apply(
1811
+ this,
1812
+ args.concat(slice$1.call(arguments))
1813
+ );
1814
+ if (Object(result) === result) {
1815
+ return result;
1816
+ }
1817
+ return this;
1818
+ } else {
1819
+ return target.apply(
1820
+ that,
1821
+ args.concat(slice$1.call(arguments))
1822
+ );
1823
+ }
1824
+ };
1825
+
1826
+ var boundLength = Math.max(0, target.length - args.length);
1827
+ var boundArgs = [];
1828
+ for (var i = 0; i < boundLength; i++) {
1829
+ boundArgs.push('$' + i);
1830
+ }
1831
+
1832
+ bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1833
+
1834
+ if (target.prototype) {
1835
+ var Empty = function Empty() {};
1836
+ Empty.prototype = target.prototype;
1837
+ bound.prototype = new Empty();
1838
+ Empty.prototype = null;
1839
+ }
1840
+
1841
+ return bound;
1659
1842
  };
1660
1843
 
1844
+ var functionBind = Function.prototype.bind || implementation$1;
1845
+
1846
+ /* globals
1847
+ Atomics,
1848
+ SharedArrayBuffer,
1849
+ */
1850
+
1851
+ var undefined$1;
1852
+
1853
+ var $TypeError = TypeError;
1854
+
1661
1855
  var $gOPD = Object.getOwnPropertyDescriptor;
1662
1856
  if ($gOPD) {
1663
1857
  try {
@@ -1667,9 +1861,7 @@ if ($gOPD) {
1667
1861
  }
1668
1862
  }
1669
1863
 
1670
- var throwTypeError = function () {
1671
- throw new $TypeError();
1672
- };
1864
+ var throwTypeError = function () { throw new $TypeError(); };
1673
1865
  var ThrowTypeError = $gOPD
1674
1866
  ? (function () {
1675
1867
  try {
@@ -1690,351 +1882,203 @@ var ThrowTypeError = $gOPD
1690
1882
  var hasSymbols$2 = hasSymbols$1();
1691
1883
 
1692
1884
  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1693
-
1694
- var needsEval = {};
1885
+ var generatorFunction = undefined$1;
1886
+ var asyncFunction = undefined$1;
1887
+ var asyncGenFunction = undefined$1;
1695
1888
 
1696
1889
  var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1697
1890
 
1698
1891
  var INTRINSICS = {
1699
- '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1700
1892
  '%Array%': Array,
1701
1893
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1894
+ '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
1702
1895
  '%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
1896
+ '%ArrayPrototype%': Array.prototype,
1897
+ '%ArrayProto_entries%': Array.prototype.entries,
1898
+ '%ArrayProto_forEach%': Array.prototype.forEach,
1899
+ '%ArrayProto_keys%': Array.prototype.keys,
1900
+ '%ArrayProto_values%': Array.prototype.values,
1703
1901
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
1704
- '%AsyncFunction%': needsEval,
1705
- '%AsyncGenerator%': needsEval,
1706
- '%AsyncGeneratorFunction%': needsEval,
1707
- '%AsyncIteratorPrototype%': needsEval,
1902
+ '%AsyncFunction%': asyncFunction,
1903
+ '%AsyncFunctionPrototype%': undefined$1,
1904
+ '%AsyncGenerator%': undefined$1,
1905
+ '%AsyncGeneratorFunction%': asyncGenFunction,
1906
+ '%AsyncGeneratorPrototype%': undefined$1,
1907
+ '%AsyncIteratorPrototype%': undefined$1,
1708
1908
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1709
- '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1710
1909
  '%Boolean%': Boolean,
1910
+ '%BooleanPrototype%': Boolean.prototype,
1711
1911
  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1912
+ '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
1712
1913
  '%Date%': Date,
1914
+ '%DatePrototype%': Date.prototype,
1713
1915
  '%decodeURI%': decodeURI,
1714
1916
  '%decodeURIComponent%': decodeURIComponent,
1715
1917
  '%encodeURI%': encodeURI,
1716
1918
  '%encodeURIComponent%': encodeURIComponent,
1717
1919
  '%Error%': Error,
1920
+ '%ErrorPrototype%': Error.prototype,
1718
1921
  '%eval%': eval, // eslint-disable-line no-eval
1719
1922
  '%EvalError%': EvalError,
1923
+ '%EvalErrorPrototype%': EvalError.prototype,
1720
1924
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1925
+ '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
1721
1926
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1722
- '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1723
- '%Function%': $Function,
1724
- '%GeneratorFunction%': needsEval,
1927
+ '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array.prototype,
1928
+ '%Function%': Function,
1929
+ '%FunctionPrototype%': Function.prototype,
1930
+ '%Generator%': undefined$1,
1931
+ '%GeneratorFunction%': generatorFunction,
1932
+ '%GeneratorPrototype%': undefined$1,
1725
1933
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1934
+ '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1726
1935
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1936
+ '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1727
1937
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1938
+ '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
1728
1939
  '%isFinite%': isFinite,
1729
1940
  '%isNaN%': isNaN,
1730
1941
  '%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1731
1942
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1943
+ '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
1732
1944
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1733
1945
  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1946
+ '%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
1734
1947
  '%Math%': Math,
1735
1948
  '%Number%': Number,
1949
+ '%NumberPrototype%': Number.prototype,
1736
1950
  '%Object%': Object,
1951
+ '%ObjectPrototype%': Object.prototype,
1952
+ '%ObjProto_toString%': Object.prototype.toString,
1953
+ '%ObjProto_valueOf%': Object.prototype.valueOf,
1737
1954
  '%parseFloat%': parseFloat,
1738
1955
  '%parseInt%': parseInt,
1739
1956
  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
1957
+ '%PromisePrototype%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype,
1958
+ '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype.then,
1959
+ '%Promise_all%': typeof Promise === 'undefined' ? undefined$1 : Promise.all,
1960
+ '%Promise_reject%': typeof Promise === 'undefined' ? undefined$1 : Promise.reject,
1961
+ '%Promise_resolve%': typeof Promise === 'undefined' ? undefined$1 : Promise.resolve,
1740
1962
  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1741
1963
  '%RangeError%': RangeError,
1964
+ '%RangeErrorPrototype%': RangeError.prototype,
1742
1965
  '%ReferenceError%': ReferenceError,
1966
+ '%ReferenceErrorPrototype%': ReferenceError.prototype,
1743
1967
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1744
1968
  '%RegExp%': RegExp,
1969
+ '%RegExpPrototype%': RegExp.prototype,
1745
1970
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1746
1971
  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1972
+ '%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
1747
1973
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1974
+ '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
1748
1975
  '%String%': String,
1749
1976
  '%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
1977
+ '%StringPrototype%': String.prototype,
1750
1978
  '%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
1751
- '%SyntaxError%': $SyntaxError,
1979
+ '%SymbolPrototype%': hasSymbols$2 ? Symbol.prototype : undefined$1,
1980
+ '%SyntaxError%': SyntaxError,
1981
+ '%SyntaxErrorPrototype%': SyntaxError.prototype,
1752
1982
  '%ThrowTypeError%': ThrowTypeError,
1753
1983
  '%TypedArray%': TypedArray,
1984
+ '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined$1,
1754
1985
  '%TypeError%': $TypeError,
1986
+ '%TypeErrorPrototype%': $TypeError.prototype,
1755
1987
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1988
+ '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
1756
1989
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1990
+ '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
1757
1991
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1992
+ '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
1758
1993
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1994
+ '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
1759
1995
  '%URIError%': URIError,
1996
+ '%URIErrorPrototype%': URIError.prototype,
1760
1997
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1761
- '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1762
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1763
- };
1764
-
1765
- var doEval = function doEval(name) {
1766
- var value;
1767
- if (name === '%AsyncFunction%') {
1768
- value = getEvalledConstructor('async function () {}');
1769
- } else if (name === '%GeneratorFunction%') {
1770
- value = getEvalledConstructor('function* () {}');
1771
- } else if (name === '%AsyncGeneratorFunction%') {
1772
- value = getEvalledConstructor('async function* () {}');
1773
- } else if (name === '%AsyncGenerator%') {
1774
- var fn = doEval('%AsyncGeneratorFunction%');
1775
- if (fn) {
1776
- value = fn.prototype;
1777
- }
1778
- } else if (name === '%AsyncIteratorPrototype%') {
1779
- var gen = doEval('%AsyncGenerator%');
1780
- if (gen) {
1781
- value = getProto(gen.prototype);
1782
- }
1783
- }
1784
-
1785
- INTRINSICS[name] = value;
1786
-
1787
- return value;
1788
- };
1789
-
1790
- var LEGACY_ALIASES = {
1791
- '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1792
- '%ArrayPrototype%': ['Array', 'prototype'],
1793
- '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1794
- '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1795
- '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1796
- '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1797
- '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1798
- '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1799
- '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1800
- '%BooleanPrototype%': ['Boolean', 'prototype'],
1801
- '%DataViewPrototype%': ['DataView', 'prototype'],
1802
- '%DatePrototype%': ['Date', 'prototype'],
1803
- '%ErrorPrototype%': ['Error', 'prototype'],
1804
- '%EvalErrorPrototype%': ['EvalError', 'prototype'],
1805
- '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
1806
- '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
1807
- '%FunctionPrototype%': ['Function', 'prototype'],
1808
- '%Generator%': ['GeneratorFunction', 'prototype'],
1809
- '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
1810
- '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
1811
- '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
1812
- '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
1813
- '%JSONParse%': ['JSON', 'parse'],
1814
- '%JSONStringify%': ['JSON', 'stringify'],
1815
- '%MapPrototype%': ['Map', 'prototype'],
1816
- '%NumberPrototype%': ['Number', 'prototype'],
1817
- '%ObjectPrototype%': ['Object', 'prototype'],
1818
- '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
1819
- '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
1820
- '%PromisePrototype%': ['Promise', 'prototype'],
1821
- '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
1822
- '%Promise_all%': ['Promise', 'all'],
1823
- '%Promise_reject%': ['Promise', 'reject'],
1824
- '%Promise_resolve%': ['Promise', 'resolve'],
1825
- '%RangeErrorPrototype%': ['RangeError', 'prototype'],
1826
- '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
1827
- '%RegExpPrototype%': ['RegExp', 'prototype'],
1828
- '%SetPrototype%': ['Set', 'prototype'],
1829
- '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
1830
- '%StringPrototype%': ['String', 'prototype'],
1831
- '%SymbolPrototype%': ['Symbol', 'prototype'],
1832
- '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
1833
- '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
1834
- '%TypeErrorPrototype%': ['TypeError', 'prototype'],
1835
- '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
1836
- '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
1837
- '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
1838
- '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
1839
- '%URIErrorPrototype%': ['URIError', 'prototype'],
1840
- '%WeakMapPrototype%': ['WeakMap', 'prototype'],
1841
- '%WeakSetPrototype%': ['WeakSet', 'prototype']
1998
+ '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap.prototype,
1999
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet,
2000
+ '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet.prototype
1842
2001
  };
1843
2002
 
1844
2003
 
1845
-
1846
- var $concat = functionBind.call(Function.call, Array.prototype.concat);
1847
- var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
1848
2004
  var $replace = functionBind.call(Function.call, String.prototype.replace);
1849
- var $strSlice = functionBind.call(Function.call, String.prototype.slice);
1850
2005
 
1851
2006
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1852
2007
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
1853
2008
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
1854
2009
  var stringToPath = function stringToPath(string) {
1855
- var first = $strSlice(string, 0, 1);
1856
- var last = $strSlice(string, -1);
1857
- if (first === '%' && last !== '%') {
1858
- throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
1859
- } else if (last === '%' && first !== '%') {
1860
- throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
1861
- }
1862
2010
  var result = [];
1863
2011
  $replace(string, rePropName, function (match, number, quote, subString) {
1864
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
2012
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);
1865
2013
  });
1866
2014
  return result;
1867
2015
  };
1868
2016
  /* end adaptation */
1869
2017
 
1870
2018
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
1871
- var intrinsicName = name;
1872
- var alias;
1873
- if (src(LEGACY_ALIASES, intrinsicName)) {
1874
- alias = LEGACY_ALIASES[intrinsicName];
1875
- intrinsicName = '%' + alias[0] + '%';
2019
+ if (!(name in INTRINSICS)) {
2020
+ throw new SyntaxError('intrinsic ' + name + ' does not exist!');
1876
2021
  }
1877
2022
 
1878
- if (src(INTRINSICS, intrinsicName)) {
1879
- var value = INTRINSICS[intrinsicName];
1880
- if (value === needsEval) {
1881
- value = doEval(intrinsicName);
1882
- }
1883
- if (typeof value === 'undefined' && !allowMissing) {
1884
- throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1885
- }
1886
-
1887
- return {
1888
- alias: alias,
1889
- name: intrinsicName,
1890
- value: value
1891
- };
2023
+ // istanbul ignore if // hopefully this is impossible to test :-)
2024
+ if (typeof INTRINSICS[name] === 'undefined' && !allowMissing) {
2025
+ throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1892
2026
  }
1893
2027
 
1894
- throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
2028
+ return INTRINSICS[name];
1895
2029
  };
1896
2030
 
1897
- var getIntrinsic = function GetIntrinsic(name, allowMissing) {
2031
+ var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1898
2032
  if (typeof name !== 'string' || name.length === 0) {
1899
- throw new $TypeError('intrinsic name must be a non-empty string');
2033
+ throw new TypeError('intrinsic name must be a non-empty string');
1900
2034
  }
1901
2035
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1902
- throw new $TypeError('"allowMissing" argument must be a boolean');
2036
+ throw new TypeError('"allowMissing" argument must be a boolean');
1903
2037
  }
1904
2038
 
1905
2039
  var parts = stringToPath(name);
1906
- var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
1907
-
1908
- var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
1909
- var intrinsicRealName = intrinsic.name;
1910
- var value = intrinsic.value;
1911
- var skipFurtherCaching = false;
1912
-
1913
- var alias = intrinsic.alias;
1914
- if (alias) {
1915
- intrinsicBaseName = alias[0];
1916
- $spliceApply(parts, $concat([0, 1], alias));
1917
- }
1918
-
1919
- for (var i = 1, isOwn = true; i < parts.length; i += 1) {
1920
- var part = parts[i];
1921
- var first = $strSlice(part, 0, 1);
1922
- var last = $strSlice(part, -1);
1923
- if (
1924
- (
1925
- (first === '"' || first === "'" || first === '`')
1926
- || (last === '"' || last === "'" || last === '`')
1927
- )
1928
- && first !== last
1929
- ) {
1930
- throw new $SyntaxError('property names with quotes must have matching quotes');
1931
- }
1932
- if (part === 'constructor' || !isOwn) {
1933
- skipFurtherCaching = true;
1934
- }
1935
2040
 
1936
- intrinsicBaseName += '.' + part;
1937
- intrinsicRealName = '%' + intrinsicBaseName + '%';
1938
-
1939
- if (src(INTRINSICS, intrinsicRealName)) {
1940
- value = INTRINSICS[intrinsicRealName];
1941
- } else if (value != null) {
1942
- if (!(part in value)) {
1943
- if (!allowMissing) {
1944
- throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1945
- }
1946
- return void undefined$1;
1947
- }
2041
+ var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
2042
+ for (var i = 1; i < parts.length; i += 1) {
2043
+ if (value != null) {
1948
2044
  if ($gOPD && (i + 1) >= parts.length) {
1949
- var desc = $gOPD(value, part);
1950
- isOwn = !!desc;
1951
-
1952
- // By convention, when a data property is converted to an accessor
1953
- // property to emulate a data property that does not suffer from
1954
- // the override mistake, that accessor's getter is marked with
1955
- // an `originalValue` property. Here, when we detect this, we
1956
- // uphold the illusion by pretending to see that original data
1957
- // property, i.e., returning the value rather than the getter
1958
- // itself.
1959
- if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
1960
- value = desc.get;
1961
- } else {
1962
- value = value[part];
2045
+ var desc = $gOPD(value, parts[i]);
2046
+ if (!allowMissing && !(parts[i] in value)) {
2047
+ throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1963
2048
  }
2049
+ value = desc ? (desc.get || desc.value) : value[parts[i]];
1964
2050
  } else {
1965
- isOwn = src(value, part);
1966
- value = value[part];
1967
- }
1968
-
1969
- if (isOwn && !skipFurtherCaching) {
1970
- INTRINSICS[intrinsicRealName] = value;
2051
+ value = value[parts[i]];
1971
2052
  }
1972
2053
  }
1973
2054
  }
1974
2055
  return value;
1975
2056
  };
1976
2057
 
1977
- var callBind = createCommonjsModule(function (module) {
1978
-
1979
-
2058
+ var $Function = GetIntrinsic('%Function%');
2059
+ var $apply = $Function.apply;
2060
+ var $call = $Function.call;
1980
2061
 
1981
-
1982
- var $apply = getIntrinsic('%Function.prototype.apply%');
1983
- var $call = getIntrinsic('%Function.prototype.call%');
1984
- var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
1985
-
1986
- var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);
1987
- var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1988
- var $max = getIntrinsic('%Math.max%');
1989
-
1990
- if ($defineProperty) {
1991
- try {
1992
- $defineProperty({}, 'a', { value: 1 });
1993
- } catch (e) {
1994
- // IE 8 has a broken defineProperty
1995
- $defineProperty = null;
1996
- }
1997
- }
1998
-
1999
- module.exports = function callBind(originalFunction) {
2000
- var func = $reflectApply(functionBind, $call, arguments);
2001
- if ($gOPD && $defineProperty) {
2002
- var desc = $gOPD(func, 'length');
2003
- if (desc.configurable) {
2004
- // original length, plus the receiver, minus any additional arguments (after the receiver)
2005
- $defineProperty(
2006
- func,
2007
- 'length',
2008
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
2009
- );
2010
- }
2011
- }
2012
- return func;
2062
+ var callBind = function callBind() {
2063
+ return functionBind.apply($call, arguments);
2013
2064
  };
2014
2065
 
2015
- var applyBind = function applyBind() {
2016
- return $reflectApply(functionBind, $apply, arguments);
2066
+ var apply = function applyBind() {
2067
+ return functionBind.apply($apply, arguments);
2017
2068
  };
2069
+ callBind.apply = apply;
2018
2070
 
2019
- if ($defineProperty) {
2020
- $defineProperty(module.exports, 'apply', { value: applyBind });
2021
- } else {
2022
- module.exports.apply = applyBind;
2023
- }
2024
- });
2025
- callBind.apply;
2026
-
2027
- var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
2071
+ var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
2028
2072
 
2029
2073
  var callBound = function callBoundIntrinsic(name, allowMissing) {
2030
- var intrinsic = getIntrinsic(name, !!allowMissing);
2031
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
2074
+ var intrinsic = GetIntrinsic(name, !!allowMissing);
2075
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
2032
2076
  return callBind(intrinsic);
2033
2077
  }
2034
2078
  return intrinsic;
2035
2079
  };
2036
2080
 
2037
- var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
2081
+ var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2038
2082
 
2039
2083
  if ($defineProperty) {
2040
2084
  try {
@@ -2076,8 +2120,10 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
2076
2120
  return true;
2077
2121
  };
2078
2122
 
2079
- var $TypeError$1 = getIntrinsic('%TypeError%');
2080
- var $SyntaxError$1 = getIntrinsic('%SyntaxError%');
2123
+ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
2124
+
2125
+ var $TypeError$1 = GetIntrinsic('%TypeError%');
2126
+ var $SyntaxError = GetIntrinsic('%SyntaxError%');
2081
2127
 
2082
2128
 
2083
2129
 
@@ -2114,14 +2160,14 @@ var predicates = {
2114
2160
  var assertRecord = function assertRecord(Type, recordType, argumentName, value) {
2115
2161
  var predicate = predicates[recordType];
2116
2162
  if (typeof predicate !== 'function') {
2117
- throw new $SyntaxError$1('unknown record type: ' + recordType);
2163
+ throw new $SyntaxError('unknown record type: ' + recordType);
2118
2164
  }
2119
2165
  if (!predicate(Type, value)) {
2120
2166
  throw new $TypeError$1(argumentName + ' must be a ' + recordType);
2121
2167
  }
2122
2168
  };
2123
2169
 
2124
- // https://ecma-international.org/ecma-262/5.1/#sec-8
2170
+ // https://www.ecma-international.org/ecma-262/5.1/#sec-8
2125
2171
 
2126
2172
  var Type = function Type(x) {
2127
2173
  if (x === null) {
@@ -2144,19 +2190,16 @@ var Type = function Type(x) {
2144
2190
  }
2145
2191
  };
2146
2192
 
2147
- // https://ecma-international.org/ecma-262/11.0/#sec-ecmascript-data-types-and-values
2193
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-tostring
2148
2194
 
2149
2195
  var Type$1 = function Type$1(x) {
2150
2196
  if (typeof x === 'symbol') {
2151
2197
  return 'Symbol';
2152
2198
  }
2153
- if (typeof x === 'bigint') {
2154
- return 'BigInt';
2155
- }
2156
2199
  return Type(x);
2157
2200
  };
2158
2201
 
2159
- // https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2202
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2160
2203
 
2161
2204
  var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2162
2205
  if (typeof Desc === 'undefined') {
@@ -2187,7 +2230,7 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2187
2230
  return obj;
2188
2231
  };
2189
2232
 
2190
- var $gOPD$1 = getIntrinsic('%Object.getOwnPropertyDescriptor%');
2233
+ var $gOPD$1 = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
2191
2234
  if ($gOPD$1) {
2192
2235
  try {
2193
2236
  $gOPD$1([], 'length');
@@ -2199,85 +2242,65 @@ if ($gOPD$1) {
2199
2242
 
2200
2243
  var getOwnPropertyDescriptor = $gOPD$1;
2201
2244
 
2202
- var $Array = getIntrinsic('%Array%');
2245
+ var $Array = GetIntrinsic('%Array%');
2203
2246
 
2204
2247
  // eslint-disable-next-line global-require
2205
2248
  var toStr$4 = !$Array.isArray && callBound('Object.prototype.toString');
2206
2249
 
2207
- // https://ecma-international.org/ecma-262/6.0/#sec-isarray
2250
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-isarray
2208
2251
 
2209
2252
  var IsArray = $Array.isArray || function IsArray(argument) {
2210
2253
  return toStr$4(argument) === '[object Array]';
2211
2254
  };
2212
2255
 
2213
- // https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2256
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2214
2257
 
2215
2258
  var IsPropertyKey = function IsPropertyKey(argument) {
2216
2259
  return typeof argument === 'string' || typeof argument === 'symbol';
2217
2260
  };
2218
2261
 
2219
- var hasSymbols$3 = hasSymbols$1();
2220
- var hasToStringTag = hasSymbols$3 && typeof Symbol.toStringTag === 'symbol';
2221
- var has$1;
2222
- var $exec;
2223
- var isRegexMarker;
2224
- var badStringifier;
2225
-
2226
- if (hasToStringTag) {
2227
- has$1 = callBound('Object.prototype.hasOwnProperty');
2228
- $exec = callBound('RegExp.prototype.exec');
2229
- isRegexMarker = {};
2230
-
2231
- var throwRegexMarker = function () {
2232
- throw isRegexMarker;
2233
- };
2234
- badStringifier = {
2235
- toString: throwRegexMarker,
2236
- valueOf: throwRegexMarker
2237
- };
2262
+ var regexExec = RegExp.prototype.exec;
2263
+ var gOPD = Object.getOwnPropertyDescriptor;
2238
2264
 
2239
- if (typeof Symbol.toPrimitive === 'symbol') {
2240
- badStringifier[Symbol.toPrimitive] = throwRegexMarker;
2241
- }
2242
- }
2265
+ var tryRegexExecCall = function tryRegexExec(value) {
2266
+ try {
2267
+ var lastIndex = value.lastIndex;
2268
+ value.lastIndex = 0; // eslint-disable-line no-param-reassign
2243
2269
 
2244
- var $toString = callBound('Object.prototype.toString');
2245
- var gOPD = Object.getOwnPropertyDescriptor;
2270
+ regexExec.call(value);
2271
+ return true;
2272
+ } catch (e) {
2273
+ return false;
2274
+ } finally {
2275
+ value.lastIndex = lastIndex; // eslint-disable-line no-param-reassign
2276
+ }
2277
+ };
2278
+ var toStr$5 = Object.prototype.toString;
2246
2279
  var regexClass = '[object RegExp]';
2280
+ var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2247
2281
 
2248
- var isRegex = hasToStringTag
2249
- // eslint-disable-next-line consistent-return
2250
- ? function isRegex(value) {
2251
- if (!value || typeof value !== 'object') {
2252
- return false;
2253
- }
2254
-
2255
- var descriptor = gOPD(value, 'lastIndex');
2256
- var hasLastIndexDataProperty = descriptor && has$1(descriptor, 'value');
2257
- if (!hasLastIndexDataProperty) {
2258
- return false;
2259
- }
2282
+ var isRegex = function isRegex(value) {
2283
+ if (!value || typeof value !== 'object') {
2284
+ return false;
2285
+ }
2286
+ if (!hasToStringTag) {
2287
+ return toStr$5.call(value) === regexClass;
2288
+ }
2260
2289
 
2261
- try {
2262
- $exec(value, badStringifier);
2263
- } catch (e) {
2264
- return e === isRegexMarker;
2265
- }
2290
+ var descriptor = gOPD(value, 'lastIndex');
2291
+ var hasLastIndexDataProperty = descriptor && src(descriptor, 'value');
2292
+ if (!hasLastIndexDataProperty) {
2293
+ return false;
2266
2294
  }
2267
- : function isRegex(value) {
2268
- // In older browsers, typeof regex incorrectly returns 'function'
2269
- if (!value || (typeof value !== 'object' && typeof value !== 'function')) {
2270
- return false;
2271
- }
2272
2295
 
2273
- return $toString(value) === regexClass;
2274
- };
2296
+ return tryRegexExecCall(value);
2297
+ };
2275
2298
 
2276
- // http://ecma-international.org/ecma-262/5.1/#sec-9.2
2299
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.2
2277
2300
 
2278
2301
  var ToBoolean = function ToBoolean(value) { return !!value; };
2279
2302
 
2280
- var $match = getIntrinsic('%Symbol.match%', true);
2303
+ var $match = GetIntrinsic('%Symbol.match%', true);
2281
2304
 
2282
2305
 
2283
2306
 
@@ -2299,27 +2322,6 @@ var IsRegExp = function IsRegExp(argument) {
2299
2322
  };
2300
2323
 
2301
2324
  var fnToStr = Function.prototype.toString;
2302
- var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
2303
- var badArrayLike;
2304
- var isCallableMarker;
2305
- if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
2306
- try {
2307
- badArrayLike = Object.defineProperty({}, 'length', {
2308
- get: function () {
2309
- throw isCallableMarker;
2310
- }
2311
- });
2312
- isCallableMarker = {};
2313
- // eslint-disable-next-line no-throw-literal
2314
- reflectApply(function () { throw 42; }, null, badArrayLike);
2315
- } catch (_) {
2316
- if (_ !== isCallableMarker) {
2317
- reflectApply = null;
2318
- }
2319
- }
2320
- } else {
2321
- reflectApply = null;
2322
- }
2323
2325
 
2324
2326
  var constructorRegex = /^\s*class\b/;
2325
2327
  var isES6ClassFn = function isES6ClassFunction(value) {
@@ -2340,42 +2342,26 @@ var tryFunctionObject = function tryFunctionToStr(value) {
2340
2342
  return false;
2341
2343
  }
2342
2344
  };
2343
- var toStr$5 = Object.prototype.toString;
2345
+ var toStr$6 = Object.prototype.toString;
2344
2346
  var fnClass = '[object Function]';
2345
2347
  var genClass = '[object GeneratorFunction]';
2346
2348
  var hasToStringTag$1 = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2347
- /* globals document: false */
2348
- var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
2349
-
2350
- var isCallable = reflectApply
2351
- ? function isCallable(value) {
2352
- if (value === documentDotAll) { return true; }
2353
- if (!value) { return false; }
2354
- if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2355
- if (typeof value === 'function' && !value.prototype) { return true; }
2356
- try {
2357
- reflectApply(value, null, badArrayLike);
2358
- } catch (e) {
2359
- if (e !== isCallableMarker) { return false; }
2360
- }
2361
- return !isES6ClassFn(value);
2362
- }
2363
- : function isCallable(value) {
2364
- if (value === documentDotAll) { return true; }
2365
- if (!value) { return false; }
2366
- if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2367
- if (typeof value === 'function' && !value.prototype) { return true; }
2368
- if (hasToStringTag$1) { return tryFunctionObject(value); }
2369
- if (isES6ClassFn(value)) { return false; }
2370
- var strClass = toStr$5.call(value);
2371
- return strClass === fnClass || strClass === genClass;
2372
- };
2373
2349
 
2374
- // http://ecma-international.org/ecma-262/5.1/#sec-9.11
2350
+ var isCallable = function isCallable(value) {
2351
+ if (!value) { return false; }
2352
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2353
+ if (typeof value === 'function' && !value.prototype) { return true; }
2354
+ if (hasToStringTag$1) { return tryFunctionObject(value); }
2355
+ if (isES6ClassFn(value)) { return false; }
2356
+ var strClass = toStr$6.call(value);
2357
+ return strClass === fnClass || strClass === genClass;
2358
+ };
2359
+
2360
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.11
2375
2361
 
2376
2362
  var IsCallable = isCallable;
2377
2363
 
2378
- var $TypeError$2 = getIntrinsic('%TypeError%');
2364
+ var $TypeError$2 = GetIntrinsic('%TypeError%');
2379
2365
 
2380
2366
 
2381
2367
 
@@ -2404,7 +2390,7 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2404
2390
  if (src(Obj, 'get')) {
2405
2391
  var getter = Obj.get;
2406
2392
  if (typeof getter !== 'undefined' && !IsCallable(getter)) {
2407
- throw new $TypeError$2('getter must be a function');
2393
+ throw new TypeError('getter must be a function');
2408
2394
  }
2409
2395
  desc['[[Get]]'] = getter;
2410
2396
  }
@@ -2422,7 +2408,7 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2422
2408
  return desc;
2423
2409
  };
2424
2410
 
2425
- var $TypeError$3 = getIntrinsic('%TypeError%');
2411
+ var $TypeError$3 = GetIntrinsic('%TypeError%');
2426
2412
 
2427
2413
 
2428
2414
 
@@ -2436,7 +2422,7 @@ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2436
2422
 
2437
2423
 
2438
2424
 
2439
- // https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2425
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2440
2426
 
2441
2427
  var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2442
2428
  if (Type$1(O) !== 'Object') {
@@ -2462,7 +2448,7 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2462
2448
  return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
2463
2449
  };
2464
2450
 
2465
- // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2451
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2466
2452
 
2467
2453
  var IsDataDescriptor = function IsDataDescriptor(Desc) {
2468
2454
  if (typeof Desc === 'undefined') {
@@ -2482,14 +2468,14 @@ var isPrimitive = function isPrimitive(value) {
2482
2468
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
2483
2469
  };
2484
2470
 
2485
- var $Object = getIntrinsic('%Object%');
2471
+ var $Object = GetIntrinsic('%Object%');
2486
2472
 
2487
2473
 
2488
2474
 
2489
2475
  var $preventExtensions = $Object.preventExtensions;
2490
2476
  var $isExtensible = $Object.isExtensible;
2491
2477
 
2492
- // https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2478
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2493
2479
 
2494
2480
  var IsExtensible = $preventExtensions
2495
2481
  ? function IsExtensible(obj) {
@@ -2503,7 +2489,7 @@ var _isNaN = Number.isNaN || function isNaN(a) {
2503
2489
  return a !== a;
2504
2490
  };
2505
2491
 
2506
- // http://ecma-international.org/ecma-262/5.1/#sec-9.12
2492
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.12
2507
2493
 
2508
2494
  var SameValue = function SameValue(x, y) {
2509
2495
  if (x === y) { // 0 === -0, but they are not identical.
@@ -2513,7 +2499,7 @@ var SameValue = function SameValue(x, y) {
2513
2499
  return _isNaN(x) && _isNaN(y);
2514
2500
  };
2515
2501
 
2516
- var $TypeError$4 = getIntrinsic('%TypeError%');
2502
+ var $TypeError$4 = GetIntrinsic('%TypeError%');
2517
2503
 
2518
2504
 
2519
2505
 
@@ -2525,7 +2511,7 @@ var $TypeError$4 = getIntrinsic('%TypeError%');
2525
2511
 
2526
2512
 
2527
2513
 
2528
- // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2514
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2529
2515
 
2530
2516
  var CreateDataProperty = function CreateDataProperty(O, P, V) {
2531
2517
  if (Type$1(O) !== 'Object') {
@@ -2535,8 +2521,8 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2535
2521
  throw new $TypeError$4('Assertion failed: IsPropertyKey(P) is not true');
2536
2522
  }
2537
2523
  var oldDesc = OrdinaryGetOwnProperty(O, P);
2538
- var extensible = !oldDesc || IsExtensible(O);
2539
- var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
2524
+ var extensible = oldDesc || IsExtensible(O);
2525
+ var immutable = oldDesc && (!oldDesc.writable || !oldDesc.configurable);
2540
2526
  if (immutable || !extensible) {
2541
2527
  return false;
2542
2528
  }
@@ -2555,9 +2541,9 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2555
2541
  );
2556
2542
  };
2557
2543
 
2558
- var $TypeError$5 = getIntrinsic('%TypeError%');
2544
+ var $TypeError$5 = GetIntrinsic('%TypeError%');
2559
2545
 
2560
- // http://ecma-international.org/ecma-262/5.1/#sec-9.10
2546
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
2561
2547
 
2562
2548
  var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2563
2549
  if (value == null) {
@@ -2568,11 +2554,11 @@ var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2568
2554
 
2569
2555
  var RequireObjectCoercible = CheckObjectCoercible;
2570
2556
 
2571
- var $Object$1 = getIntrinsic('%Object%');
2557
+ var $Object$1 = GetIntrinsic('%Object%');
2572
2558
 
2573
2559
 
2574
2560
 
2575
- // https://ecma-international.org/ecma-262/6.0/#sec-toobject
2561
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-toobject
2576
2562
 
2577
2563
  var ToObject = function ToObject(value) {
2578
2564
  RequireObjectCoercible(value);
@@ -2582,10 +2568,10 @@ var ToObject = function ToObject(value) {
2582
2568
  var $gOPD$2 = Object.getOwnPropertyDescriptor;
2583
2569
  var $getOwnNames = Object.getOwnPropertyNames;
2584
2570
  var $getSymbols = Object.getOwnPropertySymbols;
2585
- var $concat$1 = callBound('Array.prototype.concat');
2571
+ var $concat = callBound('Array.prototype.concat');
2586
2572
  var $reduce = callBound('Array.prototype.reduce');
2587
2573
  var getAll = $getSymbols ? function (obj) {
2588
- return $concat$1($getOwnNames(obj), $getSymbols(obj));
2574
+ return $concat($getOwnNames(obj), $getSymbols(obj));
2589
2575
  } : $getOwnNames;
2590
2576
 
2591
2577
  var isES5 = IsCallable($gOPD$2) && IsCallable($getOwnNames);
@@ -2624,281 +2610,13 @@ var shim = function shimGetOwnPropertyDescriptors() {
2624
2610
  return polyfill$1;
2625
2611
  };
2626
2612
 
2627
- var bound = callBind(polyfill(), Object);
2628
-
2629
- defineProperties_1(bound, {
2613
+ defineProperties_1(implementation$2, {
2630
2614
  getPolyfill: polyfill,
2631
2615
  implementation: implementation$2,
2632
2616
  shim: shim
2633
2617
  });
2634
2618
 
2635
- var object_getownpropertydescriptors = bound;
2636
-
2637
- /* globals
2638
- Atomics,
2639
- SharedArrayBuffer,
2640
- */
2641
-
2642
- var undefined$2;
2643
-
2644
- var $TypeError$6 = TypeError;
2645
-
2646
- var $gOPD$3 = Object.getOwnPropertyDescriptor;
2647
- if ($gOPD$3) {
2648
- try {
2649
- $gOPD$3({}, '');
2650
- } catch (e) {
2651
- $gOPD$3 = null; // this is IE 8, which has a broken gOPD
2652
- }
2653
- }
2654
-
2655
- var throwTypeError$1 = function () { throw new $TypeError$6(); };
2656
- var ThrowTypeError$1 = $gOPD$3
2657
- ? (function () {
2658
- try {
2659
- // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
2660
- arguments.callee; // IE 8 does not throw here
2661
- return throwTypeError$1;
2662
- } catch (calleeThrows) {
2663
- try {
2664
- // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
2665
- return $gOPD$3(arguments, 'callee').get;
2666
- } catch (gOPDthrows) {
2667
- return throwTypeError$1;
2668
- }
2669
- }
2670
- }())
2671
- : throwTypeError$1;
2672
-
2673
- var hasSymbols$4 = hasSymbols$1();
2674
-
2675
- var getProto$1 = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
2676
- var generatorFunction = undefined$2;
2677
- var asyncFunction = undefined$2;
2678
- var asyncGenFunction = undefined$2;
2679
-
2680
- var TypedArray$1 = typeof Uint8Array === 'undefined' ? undefined$2 : getProto$1(Uint8Array);
2681
-
2682
- var INTRINSICS$1 = {
2683
- '%Array%': Array,
2684
- '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer,
2685
- '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer.prototype,
2686
- '%ArrayIteratorPrototype%': hasSymbols$4 ? getProto$1([][Symbol.iterator]()) : undefined$2,
2687
- '%ArrayPrototype%': Array.prototype,
2688
- '%ArrayProto_entries%': Array.prototype.entries,
2689
- '%ArrayProto_forEach%': Array.prototype.forEach,
2690
- '%ArrayProto_keys%': Array.prototype.keys,
2691
- '%ArrayProto_values%': Array.prototype.values,
2692
- '%AsyncFromSyncIteratorPrototype%': undefined$2,
2693
- '%AsyncFunction%': asyncFunction,
2694
- '%AsyncFunctionPrototype%': undefined$2,
2695
- '%AsyncGenerator%': undefined$2,
2696
- '%AsyncGeneratorFunction%': asyncGenFunction,
2697
- '%AsyncGeneratorPrototype%': undefined$2,
2698
- '%AsyncIteratorPrototype%': undefined$2,
2699
- '%Atomics%': typeof Atomics === 'undefined' ? undefined$2 : Atomics,
2700
- '%Boolean%': Boolean,
2701
- '%BooleanPrototype%': Boolean.prototype,
2702
- '%DataView%': typeof DataView === 'undefined' ? undefined$2 : DataView,
2703
- '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$2 : DataView.prototype,
2704
- '%Date%': Date,
2705
- '%DatePrototype%': Date.prototype,
2706
- '%decodeURI%': decodeURI,
2707
- '%decodeURIComponent%': decodeURIComponent,
2708
- '%encodeURI%': encodeURI,
2709
- '%encodeURIComponent%': encodeURIComponent,
2710
- '%Error%': Error,
2711
- '%ErrorPrototype%': Error.prototype,
2712
- '%eval%': eval, // eslint-disable-line no-eval
2713
- '%EvalError%': EvalError,
2714
- '%EvalErrorPrototype%': EvalError.prototype,
2715
- '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$2 : Float32Array,
2716
- '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$2 : Float32Array.prototype,
2717
- '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$2 : Float64Array,
2718
- '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$2 : Float64Array.prototype,
2719
- '%Function%': Function,
2720
- '%FunctionPrototype%': Function.prototype,
2721
- '%Generator%': undefined$2,
2722
- '%GeneratorFunction%': generatorFunction,
2723
- '%GeneratorPrototype%': undefined$2,
2724
- '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array,
2725
- '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array.prototype,
2726
- '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$2 : Int16Array,
2727
- '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$2 : Int8Array.prototype,
2728
- '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$2 : Int32Array,
2729
- '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$2 : Int32Array.prototype,
2730
- '%isFinite%': isFinite,
2731
- '%isNaN%': isNaN,
2732
- '%IteratorPrototype%': hasSymbols$4 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$2,
2733
- '%JSON%': typeof JSON === 'object' ? JSON : undefined$2,
2734
- '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$2,
2735
- '%Map%': typeof Map === 'undefined' ? undefined$2 : Map,
2736
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$4 ? undefined$2 : getProto$1(new Map()[Symbol.iterator]()),
2737
- '%MapPrototype%': typeof Map === 'undefined' ? undefined$2 : Map.prototype,
2738
- '%Math%': Math,
2739
- '%Number%': Number,
2740
- '%NumberPrototype%': Number.prototype,
2741
- '%Object%': Object,
2742
- '%ObjectPrototype%': Object.prototype,
2743
- '%ObjProto_toString%': Object.prototype.toString,
2744
- '%ObjProto_valueOf%': Object.prototype.valueOf,
2745
- '%parseFloat%': parseFloat,
2746
- '%parseInt%': parseInt,
2747
- '%Promise%': typeof Promise === 'undefined' ? undefined$2 : Promise,
2748
- '%PromisePrototype%': typeof Promise === 'undefined' ? undefined$2 : Promise.prototype,
2749
- '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$2 : Promise.prototype.then,
2750
- '%Promise_all%': typeof Promise === 'undefined' ? undefined$2 : Promise.all,
2751
- '%Promise_reject%': typeof Promise === 'undefined' ? undefined$2 : Promise.reject,
2752
- '%Promise_resolve%': typeof Promise === 'undefined' ? undefined$2 : Promise.resolve,
2753
- '%Proxy%': typeof Proxy === 'undefined' ? undefined$2 : Proxy,
2754
- '%RangeError%': RangeError,
2755
- '%RangeErrorPrototype%': RangeError.prototype,
2756
- '%ReferenceError%': ReferenceError,
2757
- '%ReferenceErrorPrototype%': ReferenceError.prototype,
2758
- '%Reflect%': typeof Reflect === 'undefined' ? undefined$2 : Reflect,
2759
- '%RegExp%': RegExp,
2760
- '%RegExpPrototype%': RegExp.prototype,
2761
- '%Set%': typeof Set === 'undefined' ? undefined$2 : Set,
2762
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$4 ? undefined$2 : getProto$1(new Set()[Symbol.iterator]()),
2763
- '%SetPrototype%': typeof Set === 'undefined' ? undefined$2 : Set.prototype,
2764
- '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer,
2765
- '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer.prototype,
2766
- '%String%': String,
2767
- '%StringIteratorPrototype%': hasSymbols$4 ? getProto$1(''[Symbol.iterator]()) : undefined$2,
2768
- '%StringPrototype%': String.prototype,
2769
- '%Symbol%': hasSymbols$4 ? Symbol : undefined$2,
2770
- '%SymbolPrototype%': hasSymbols$4 ? Symbol.prototype : undefined$2,
2771
- '%SyntaxError%': SyntaxError,
2772
- '%SyntaxErrorPrototype%': SyntaxError.prototype,
2773
- '%ThrowTypeError%': ThrowTypeError$1,
2774
- '%TypedArray%': TypedArray$1,
2775
- '%TypedArrayPrototype%': TypedArray$1 ? TypedArray$1.prototype : undefined$2,
2776
- '%TypeError%': $TypeError$6,
2777
- '%TypeErrorPrototype%': $TypeError$6.prototype,
2778
- '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array,
2779
- '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array.prototype,
2780
- '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$2 : Uint8ClampedArray,
2781
- '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$2 : Uint8ClampedArray.prototype,
2782
- '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$2 : Uint16Array,
2783
- '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$2 : Uint16Array.prototype,
2784
- '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$2 : Uint32Array,
2785
- '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$2 : Uint32Array.prototype,
2786
- '%URIError%': URIError,
2787
- '%URIErrorPrototype%': URIError.prototype,
2788
- '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$2 : WeakMap,
2789
- '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$2 : WeakMap.prototype,
2790
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$2 : WeakSet,
2791
- '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$2 : WeakSet.prototype
2792
- };
2793
-
2794
-
2795
- var $replace$1 = functionBind.call(Function.call, String.prototype.replace);
2796
-
2797
- /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
2798
- var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
2799
- var reEscapeChar$1 = /\\(\\)?/g; /** Used to match backslashes in property paths. */
2800
- var stringToPath$1 = function stringToPath(string) {
2801
- var result = [];
2802
- $replace$1(string, rePropName$1, function (match, number, quote, subString) {
2803
- result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, '$1') : (number || match);
2804
- });
2805
- return result;
2806
- };
2807
- /* end adaptation */
2808
-
2809
- var getBaseIntrinsic$1 = function getBaseIntrinsic(name, allowMissing) {
2810
- if (!(name in INTRINSICS$1)) {
2811
- throw new SyntaxError('intrinsic ' + name + ' does not exist!');
2812
- }
2813
-
2814
- // istanbul ignore if // hopefully this is impossible to test :-)
2815
- if (typeof INTRINSICS$1[name] === 'undefined' && !allowMissing) {
2816
- throw new $TypeError$6('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
2817
- }
2818
-
2819
- return INTRINSICS$1[name];
2820
- };
2821
-
2822
- var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
2823
- if (typeof name !== 'string' || name.length === 0) {
2824
- throw new TypeError('intrinsic name must be a non-empty string');
2825
- }
2826
- if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
2827
- throw new TypeError('"allowMissing" argument must be a boolean');
2828
- }
2829
-
2830
- var parts = stringToPath$1(name);
2831
-
2832
- var value = getBaseIntrinsic$1('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
2833
- for (var i = 1; i < parts.length; i += 1) {
2834
- if (value != null) {
2835
- if ($gOPD$3 && (i + 1) >= parts.length) {
2836
- var desc = $gOPD$3(value, parts[i]);
2837
- if (!allowMissing && !(parts[i] in value)) {
2838
- throw new $TypeError$6('base intrinsic for ' + name + ' exists, but the property is not available.');
2839
- }
2840
- // By convention, when a data property is converted to an accessor
2841
- // property to emulate a data property that does not suffer from
2842
- // the override mistake, that accessor's getter is marked with
2843
- // an `originalValue` property. Here, when we detect this, we
2844
- // uphold the illusion by pretending to see that original data
2845
- // property, i.e., returning the value rather than the getter
2846
- // itself.
2847
- value = desc && 'get' in desc && !('originalValue' in desc.get) ? desc.get : value[parts[i]];
2848
- } else {
2849
- value = value[parts[i]];
2850
- }
2851
- }
2852
- }
2853
- return value;
2854
- };
2855
-
2856
- var callBind$1 = createCommonjsModule(function (module) {
2857
-
2858
-
2859
-
2860
-
2861
-
2862
- var $apply = GetIntrinsic('%Function.prototype.apply%');
2863
- var $call = GetIntrinsic('%Function.prototype.call%');
2864
- var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
2865
-
2866
- var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2867
-
2868
- if ($defineProperty) {
2869
- try {
2870
- $defineProperty({}, 'a', { value: 1 });
2871
- } catch (e) {
2872
- // IE 8 has a broken defineProperty
2873
- $defineProperty = null;
2874
- }
2875
- }
2876
-
2877
- module.exports = function callBind() {
2878
- return $reflectApply(functionBind, $call, arguments);
2879
- };
2880
-
2881
- var applyBind = function applyBind() {
2882
- return $reflectApply(functionBind, $apply, arguments);
2883
- };
2884
-
2885
- if ($defineProperty) {
2886
- $defineProperty(module.exports, 'apply', { value: applyBind });
2887
- } else {
2888
- module.exports.apply = applyBind;
2889
- }
2890
- });
2891
- callBind$1.apply;
2892
-
2893
- var $indexOf$1 = callBind$1(GetIntrinsic('String.prototype.indexOf'));
2894
-
2895
- var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
2896
- var intrinsic = GetIntrinsic(name, !!allowMissing);
2897
- if (typeof intrinsic === 'function' && $indexOf$1(name, '.prototype.')) {
2898
- return callBind$1(intrinsic);
2899
- }
2900
- return intrinsic;
2901
- };
2619
+ var object_getownpropertydescriptors = implementation$2;
2902
2620
 
2903
2621
  var isES5$1 = typeof Object.defineProperty === 'function'
2904
2622
  && typeof Object.defineProperties === 'function';
@@ -2917,14 +2635,14 @@ if (typeof Promise !== 'function') {
2917
2635
 
2918
2636
 
2919
2637
 
2920
- var $slice = callBound$1('Array.prototype.slice');
2921
- var $concat$2 = callBound$1('Array.prototype.concat');
2922
- var $forEach = callBound$1('Array.prototype.forEach');
2638
+ var $slice = callBound('Array.prototype.slice');
2639
+ var $concat$1 = callBound('Array.prototype.concat');
2640
+ var $forEach = callBound('Array.prototype.forEach');
2923
2641
 
2924
- var hasSymbols$5 = hasSymbols$1();
2642
+ var hasSymbols$3 = hasSymbols$1();
2925
2643
 
2926
- var kCustomPromisifiedSymbol = hasSymbols$5 ? Symbol('util.promisify.custom') : null;
2927
- var kCustomPromisifyArgsSymbol = hasSymbols$5 ? Symbol('customPromisifyArgs') : null;
2644
+ var kCustomPromisifiedSymbol = hasSymbols$3 ? Symbol('util.promisify.custom') : null;
2645
+ var kCustomPromisifyArgsSymbol = hasSymbols$3 ? Symbol('customPromisifyArgs') : null;
2928
2646
 
2929
2647
  var implementation$3 = function promisify(orig) {
2930
2648
  if (typeof orig !== 'function') {
@@ -2934,7 +2652,7 @@ var implementation$3 = function promisify(orig) {
2934
2652
  throw error;
2935
2653
  }
2936
2654
 
2937
- if (hasSymbols$5 && orig[kCustomPromisifiedSymbol]) {
2655
+ if (hasSymbols$3 && orig[kCustomPromisifiedSymbol]) {
2938
2656
  var customFunction = orig[kCustomPromisifiedSymbol];
2939
2657
  if (typeof customFunction !== 'function') {
2940
2658
  throw new TypeError('The [util.promisify.custom] property must be a function');
@@ -2956,7 +2674,7 @@ var implementation$3 = function promisify(orig) {
2956
2674
  var args = $slice(arguments);
2957
2675
  var self = this; // eslint-disable-line no-invalid-this
2958
2676
  return new Promise(function (resolve, reject) {
2959
- orig.apply(self, $concat$2(args, function (err) {
2677
+ orig.apply(self, $concat$1(args, function (err) {
2960
2678
  var values = arguments.length > 1 ? $slice(arguments, 1) : [];
2961
2679
  if (err) {
2962
2680
  reject(err);
@@ -3235,7 +2953,7 @@ var md5 = createCommonjsModule(function (module) {
3235
2953
  message = utf8.stringToBytes(message);
3236
2954
  else if (isBuffer(message))
3237
2955
  message = Array.prototype.slice.call(message, 0);
3238
- else if (!Array.isArray(message) && message.constructor !== Uint8Array)
2956
+ else if (!Array.isArray(message))
3239
2957
  message = message.toString();
3240
2958
  // else, assume byte array already
3241
2959