@mjhls/mjh-framework 1.0.702-beta-v1 → 1.0.702

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 (268) hide show
  1. package/dist/cjs/AD.js +1 -1
  2. package/dist/cjs/AD300x250.js +19 -17
  3. package/dist/cjs/AD300x250x600.js +19 -17
  4. package/dist/cjs/AD728x90.js +20 -18
  5. package/dist/cjs/ADFloatingFooter.js +18 -16
  6. package/dist/cjs/ADFooter.js +5 -5
  7. package/dist/cjs/ADGutter.js +18 -16
  8. package/dist/cjs/{ADInfeed-38066a36.js → ADInfeed-ede153e2.js} +2 -2
  9. package/dist/cjs/ADSkyscraper.js +18 -16
  10. package/dist/cjs/ADSponsoredResources.js +18 -16
  11. package/dist/cjs/ADWebcast.js +18 -16
  12. package/dist/cjs/ADWelcome.js +18 -16
  13. package/dist/cjs/{ADlgInfeed-d95c9027.js → ADlgInfeed-6a121a0d.js} +2 -2
  14. package/dist/cjs/AccordionPanel.js +6 -6
  15. package/dist/cjs/AdSlot.js +19 -17
  16. package/dist/cjs/AdSlotsProvider.js +4 -2
  17. package/dist/cjs/AlphabeticList.js +9 -9
  18. package/dist/cjs/ArticleCarousel.js +16 -13
  19. package/dist/cjs/ArticleSeriesListing.js +27 -24
  20. package/dist/cjs/Auth.js +768 -486
  21. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-d19285ed.js} +1 -1
  22. package/dist/cjs/Beam.js +19 -19
  23. package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-e53217a7.js} +23 -25
  24. package/dist/cjs/Breadcrumbs.js +5 -5
  25. package/dist/cjs/BrowseVideosListing.js +17 -14
  26. package/dist/cjs/CMEDeck.js +26 -23
  27. package/dist/cjs/Column2.js +15 -13
  28. package/dist/cjs/Column3.js +24 -22
  29. package/dist/cjs/ConferenceArticleCard.js +2 -2
  30. package/dist/cjs/DeckContent.js +33 -30
  31. package/dist/cjs/DeckQueue.js +32 -29
  32. package/dist/cjs/{Dfp-390337bf.js → Dfp-13ff07b4.js} +13 -10
  33. package/dist/cjs/EventsDeck.js +35 -34
  34. package/dist/cjs/ExternalResources.js +35 -32
  35. package/dist/cjs/Feature.js +4 -3
  36. package/dist/cjs/ForbesHero.js +12 -9
  37. package/dist/cjs/GridContent.js +45 -42
  38. package/dist/cjs/GridHero.js +12 -9
  39. package/dist/cjs/GroupDeck.js +13 -13
  40. package/dist/cjs/HamMagazine.js +19 -17
  41. package/dist/cjs/Hero.js +1 -1
  42. package/dist/cjs/HighlightenVideo.js +1 -1
  43. package/dist/cjs/HorizontalHero.js +3 -3
  44. package/dist/cjs/IssueContentDeck.js +12 -9
  45. package/dist/cjs/IssueDeck.js +15 -12
  46. package/dist/cjs/IssueLanding.js +29 -26
  47. package/dist/cjs/LeftNav.js +18 -16
  48. package/dist/cjs/MasterDeck.js +37 -34
  49. package/dist/cjs/NavDvm.js +9 -9
  50. package/dist/cjs/NavMagazine.js +19 -17
  51. package/dist/cjs/NavNative.js +16 -14
  52. package/dist/cjs/NavNormal.js +10 -10
  53. package/dist/cjs/OncliveHero.js +2 -3
  54. package/dist/cjs/OncliveLargeHero.js +12 -9
  55. package/dist/cjs/PageFilter.js +5 -5
  56. package/dist/cjs/PartnerDetailListing.js +45 -1239
  57. package/dist/cjs/PdfDownload.js +1 -1
  58. package/dist/cjs/PopUpModal.js +5 -5
  59. package/dist/cjs/PublicationDeck.js +8 -5
  60. package/dist/cjs/PublicationLanding.js +60 -57
  61. package/dist/cjs/QueueDeckExpanded.js +36 -33
  62. package/dist/cjs/RecentNews.js +3 -3
  63. package/dist/cjs/RelatedContent.js +6 -3
  64. package/dist/cjs/Search.js +5 -5
  65. package/dist/cjs/Segment.js +20 -20
  66. package/dist/cjs/SetCookie.js +2 -2
  67. package/dist/cjs/SideFooter.js +16 -14
  68. package/dist/cjs/{SocialSearchComponent-56d49a1a.js → SocialSearchComponent-1ef1e6fb.js} +7 -7
  69. package/dist/cjs/TaxonomyCard.js +10 -7
  70. package/dist/cjs/TemplateNormal.js +33 -31
  71. package/dist/cjs/ThumbnailCard.js +5 -2
  72. package/dist/cjs/Ustream.js +10 -9
  73. package/dist/cjs/VerticalHero.js +2 -2
  74. package/dist/cjs/VideoSeriesCard.js +13 -10
  75. package/dist/cjs/VideoSeriesFilter.js +11 -11
  76. package/dist/cjs/VideoSeriesListing.js +27 -24
  77. package/dist/cjs/View.js +51 -48
  78. package/dist/cjs/YahooHero.js +12 -9
  79. package/dist/cjs/YoutubeGroup.js +17 -14
  80. package/dist/cjs/{_to-object-329a650b.js → _export-a917dedd.js} +31 -31
  81. package/dist/cjs/{_is-array-754e012d.js → _is-array-a82382b4.js} +11 -11
  82. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-671c90bd.js} +10 -10
  83. package/dist/cjs/{_library-dd23b178.js → _library-4360b4e4.js} +1 -1
  84. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-6bed508e.js} +2 -2
  85. package/dist/cjs/_object-sap-947ef6fb.js +16 -0
  86. package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +10 -0
  87. package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +9 -0
  88. package/dist/cjs/_react_commonjs-external-58b78ee1.js +10 -0
  89. package/dist/cjs/{_set-species-f92c67c5.js → _set-species-47156c42.js} +17 -17
  90. package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-fd8e35e7.js} +69 -69
  91. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-05029198.js} +4 -3
  92. package/dist/cjs/core.get-iterator-method-07b02ac3.js +39 -0
  93. package/dist/cjs/{debounce-eb287781.js → debounce-fb3a46a9.js} +7 -7
  94. package/dist/cjs/{define-property-f4d12f4e.js → define-property-9b6df20e.js} +4 -4
  95. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d3c0cfc0.js} +2 -2
  96. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-e5f4ce45.js} +34 -34
  97. package/dist/cjs/{extends-60837c34.js → extends-5fde0677.js} +11 -11
  98. package/dist/cjs/{get-68c52cb1.js → get-70ef997d.js} +11 -11
  99. package/dist/cjs/getRelatedArticle.js +426 -15
  100. package/dist/cjs/getSerializers.js +33 -30
  101. package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-5ca9bfaf.js} +2 -2
  102. package/dist/cjs/getTargeting.js +8 -8
  103. package/dist/cjs/{index-da796b8c.js → index-29e3f3a9.js} +11 -12
  104. package/dist/cjs/{index-3294d3bc.js → index-949261b4.js} +18 -19
  105. package/dist/cjs/{index-58dae365.js → index-b1ee7cd9.js} +335 -329
  106. package/dist/cjs/index-bd6c9f56.js +211 -0
  107. package/dist/cjs/{index-099d45ae.js → index-d7577df6.js} +12 -16
  108. package/dist/cjs/{index-39beccb3.js → index-ff69979f.js} +26 -21
  109. package/dist/cjs/{index.es-9110add6.js → index.es-e9d84959.js} +23 -5
  110. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
  111. package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
  112. package/dist/cjs/{index.esm-4d410430.js → index.esm-8a8fa078.js} +3 -4
  113. package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
  114. package/dist/cjs/index.js +61 -57
  115. package/dist/cjs/{inherits-513d81cd.js → inherits-02a27fbf.js} +16 -16
  116. package/dist/cjs/{isSymbol-04666465.js → isSymbol-a0d5eb50.js} +5 -5
  117. package/dist/cjs/{js.cookie-a511c430.js → js.cookie-e4684873.js} +1 -1
  118. package/dist/cjs/{keys-a586b7a0.js → keys-1a65eb47.js} +5 -5
  119. package/dist/cjs/{lodash-7fd85bcf.js → lodash-257df6c4.js} +1 -1
  120. package/dist/cjs/{main-03ffa84c.js → main-1442052b.js} +90 -57
  121. package/dist/cjs/{moment-575fe24c.js → moment-29403f08.js} +11 -8
  122. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-5604d0d1.js} +11 -13
  123. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-d0ac47b9.js} +10 -10
  124. package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-03c20c7d.js} +1 -1
  125. package/dist/cjs/{stringify-7c5aff47.js → stringify-e064b7d0.js} +2 -2
  126. package/dist/cjs/timeDifferenceCalc.js +1 -1
  127. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-d47f0c64.js} +13 -13
  128. package/dist/cjs/{typeof-725500bc.js → typeof-5763a25b.js} +84 -84
  129. package/dist/cjs/urlFor.js +1 -1
  130. package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-ede0bc7b.js} +5 -6
  131. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-cd8a9ccb.js} +10 -10
  132. package/dist/esm/AD.js +1 -1
  133. package/dist/esm/AD300x250.js +21 -19
  134. package/dist/esm/AD300x250x600.js +21 -19
  135. package/dist/esm/AD728x90.js +22 -20
  136. package/dist/esm/ADFloatingFooter.js +20 -18
  137. package/dist/esm/ADFooter.js +5 -5
  138. package/dist/esm/ADGutter.js +20 -18
  139. package/dist/esm/{ADInfeed-7b1b2fcb.js → ADInfeed-d890d5ca.js} +4 -4
  140. package/dist/esm/ADSkyscraper.js +20 -18
  141. package/dist/esm/ADSponsoredResources.js +20 -18
  142. package/dist/esm/ADWebcast.js +20 -18
  143. package/dist/esm/ADWelcome.js +20 -18
  144. package/dist/esm/{ADlgInfeed-2afe92e6.js → ADlgInfeed-1d006b36.js} +4 -4
  145. package/dist/esm/AccordionPanel.js +6 -6
  146. package/dist/esm/AdSlot.js +19 -17
  147. package/dist/esm/AdSlotsProvider.js +4 -2
  148. package/dist/esm/AlphabeticList.js +9 -9
  149. package/dist/esm/ArticleCarousel.js +16 -13
  150. package/dist/esm/ArticleSeriesListing.js +27 -24
  151. package/dist/esm/Auth.js +763 -481
  152. package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-8ffb1deb.js} +1 -1
  153. package/dist/esm/Beam.js +19 -19
  154. package/dist/esm/{BlockContent-c409aca5.js → BlockContent-e6f64e62.js} +23 -21
  155. package/dist/esm/Breadcrumbs.js +5 -5
  156. package/dist/esm/BrowseVideosListing.js +17 -14
  157. package/dist/esm/CMEDeck.js +26 -23
  158. package/dist/esm/Column2.js +15 -13
  159. package/dist/esm/Column3.js +24 -22
  160. package/dist/esm/ConferenceArticleCard.js +2 -2
  161. package/dist/esm/DeckContent.js +33 -30
  162. package/dist/esm/DeckQueue.js +32 -29
  163. package/dist/esm/{Dfp-741c01be.js → Dfp-7db56716.js} +13 -10
  164. package/dist/esm/EventsDeck.js +35 -34
  165. package/dist/esm/ExternalResources.js +35 -32
  166. package/dist/esm/Feature.js +4 -3
  167. package/dist/esm/ForbesHero.js +12 -9
  168. package/dist/esm/GridContent.js +45 -42
  169. package/dist/esm/GridHero.js +12 -9
  170. package/dist/esm/GroupDeck.js +13 -13
  171. package/dist/esm/HamMagazine.js +19 -17
  172. package/dist/esm/Hero.js +1 -1
  173. package/dist/esm/HighlightenVideo.js +1 -1
  174. package/dist/esm/HorizontalHero.js +3 -3
  175. package/dist/esm/IssueContentDeck.js +12 -9
  176. package/dist/esm/IssueDeck.js +15 -12
  177. package/dist/esm/IssueLanding.js +29 -26
  178. package/dist/esm/LeftNav.js +18 -16
  179. package/dist/esm/MasterDeck.js +37 -34
  180. package/dist/esm/NavDvm.js +9 -9
  181. package/dist/esm/NavMagazine.js +19 -17
  182. package/dist/esm/NavNative.js +16 -14
  183. package/dist/esm/NavNormal.js +10 -10
  184. package/dist/esm/OncliveHero.js +2 -3
  185. package/dist/esm/OncliveLargeHero.js +12 -9
  186. package/dist/esm/PageFilter.js +5 -5
  187. package/dist/esm/PartnerDetailListing.js +45 -1238
  188. package/dist/esm/PdfDownload.js +1 -1
  189. package/dist/esm/PopUpModal.js +5 -5
  190. package/dist/esm/PublicationDeck.js +8 -5
  191. package/dist/esm/PublicationLanding.js +60 -57
  192. package/dist/esm/QueueDeckExpanded.js +36 -33
  193. package/dist/esm/RecentNews.js +3 -3
  194. package/dist/esm/RelatedContent.js +6 -3
  195. package/dist/esm/Search.js +5 -5
  196. package/dist/esm/Segment.js +20 -20
  197. package/dist/esm/SetCookie.js +2 -2
  198. package/dist/esm/SideFooter.js +16 -14
  199. package/dist/esm/{SocialSearchComponent-677ed3bd.js → SocialSearchComponent-4eae0149.js} +7 -7
  200. package/dist/esm/TaxonomyCard.js +10 -7
  201. package/dist/esm/TemplateNormal.js +35 -33
  202. package/dist/esm/ThumbnailCard.js +5 -2
  203. package/dist/esm/Ustream.js +10 -9
  204. package/dist/esm/VerticalHero.js +2 -2
  205. package/dist/esm/VideoSeriesCard.js +13 -10
  206. package/dist/esm/VideoSeriesFilter.js +11 -11
  207. package/dist/esm/VideoSeriesListing.js +27 -24
  208. package/dist/esm/View.js +56 -53
  209. package/dist/esm/YahooHero.js +12 -9
  210. package/dist/esm/YoutubeGroup.js +17 -14
  211. package/dist/esm/{_to-object-ded78eb9.js → _export-f7ec2adf.js} +3 -3
  212. package/dist/esm/{_is-array-49698029.js → _is-array-5bea6006.js} +10 -10
  213. package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-65720de7.js} +8 -8
  214. package/dist/esm/_library-90219a8d.js +3 -0
  215. package/dist/esm/{_object-pie-71ac75a4.js → _object-pie-8e2f6c3a.js} +1 -1
  216. package/dist/esm/_object-sap-146241c9.js +14 -0
  217. package/dist/esm/_prop-types_commonjs-external-9481d338.js +5 -0
  218. package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +5 -0
  219. package/dist/esm/_react_commonjs-external-22b61490.js +5 -0
  220. package/dist/esm/{_set-species-cede29f8.js → _set-species-26ee5c2a.js} +14 -14
  221. package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-0c61f551.js} +69 -69
  222. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-e761d404.js} +4 -3
  223. package/dist/esm/core.get-iterator-method-dbbb346b.js +36 -0
  224. package/dist/esm/{debounce-1a993acf.js → debounce-7b569c00.js} +6 -6
  225. package/dist/esm/{define-property-de3fc946.js → define-property-7a40a451.js} +4 -4
  226. package/dist/esm/{defineProperty-b798470d.js → defineProperty-a2ac5d3d.js} +2 -2
  227. package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-13b94db0.js} +27 -27
  228. package/dist/esm/{extends-cc5da797.js → extends-8e0228d5.js} +11 -11
  229. package/dist/esm/{get-5ee14cda.js → get-bb2155d5.js} +10 -10
  230. package/dist/esm/getRelatedArticle.js +426 -15
  231. package/dist/esm/getSerializers.js +33 -30
  232. package/dist/esm/{getTargeting-2acdec91.js → getTargeting-d97a1e83.js} +2 -2
  233. package/dist/esm/getTargeting.js +8 -8
  234. package/dist/esm/{index-ef6d5dcf.js → index-1295881c.js} +16 -17
  235. package/dist/esm/{index-3f4dd6f2.js → index-17490425.js} +12 -12
  236. package/dist/esm/{index-7779a6df.js → index-4540328d.js} +338 -332
  237. package/dist/esm/{index-5f9f807a.js → index-a4e850af.js} +11 -8
  238. package/dist/esm/index-db3bb315.js +207 -0
  239. package/dist/esm/{index-3849e3fe.js → index-f7fdcc91.js} +26 -21
  240. package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
  241. package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
  242. package/dist/esm/{index.esm-fd746768.js → index.esm-4838a32e.js} +3 -4
  243. package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
  244. package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
  245. package/dist/esm/index.js +60 -56
  246. package/dist/esm/{inherits-7ee3e0c1.js → inherits-d1948b66.js} +16 -16
  247. package/dist/esm/{isSymbol-807e927e.js → isSymbol-2b7f6e65.js} +1 -1
  248. package/dist/esm/{js.cookie-6874175c.js → js.cookie-2ce24ab0.js} +1 -1
  249. package/dist/esm/{keys-fc2d4c34.js → keys-e091cb65.js} +5 -5
  250. package/dist/esm/{lodash-ec8c6b48.js → lodash-2b866578.js} +1 -1
  251. package/dist/esm/{main-35ff7b4f.js → main-140f99b4.js} +88 -52
  252. package/dist/esm/{moment-e2f9b20c.js → moment-8797a4d3.js} +11 -9
  253. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-40e8d28f.js} +11 -9
  254. package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-8818fe95.js} +10 -10
  255. package/dist/esm/{stringify-008c8802.js → stringify-dedf4a20.js} +2 -2
  256. package/dist/esm/timeDifferenceCalc.js +1 -1
  257. package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-02217419.js} +13 -13
  258. package/dist/esm/{typeof-08f2c380.js → typeof-a10a5616.js} +85 -85
  259. package/dist/esm/urlFor.js +1 -1
  260. package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-7b6316cf.js} +5 -3
  261. package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-c3ba4d37.js} +10 -10
  262. package/package.json +3 -3
  263. package/dist/cjs/_object-sap-5e74ba08.js +0 -16
  264. package/dist/cjs/core.get-iterator-method-f62321d4.js +0 -39
  265. package/dist/esm/_library-528f1934.js +0 -3
  266. package/dist/esm/_object-sap-4d59d5bd.js +0 -14
  267. package/dist/esm/core.get-iterator-method-54d2e411.js +0 -36
  268. /package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-2d74941c.js} +0 -0
package/dist/esm/Auth.js CHANGED
@@ -1,20 +1,21 @@
1
1
  import { a as commonjsGlobal, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-ded78eb9.js';
3
- import './es6.string.iterator-9b2af4a5.js';
4
- import './_library-528f1934.js';
5
- import './_iter-detect-59409a32.js';
6
- import './core.get-iterator-method-54d2e411.js';
7
- import './_object-pie-71ac75a4.js';
8
- import { _ as _extends } from './extends-cc5da797.js';
9
- import './web.dom.iterable-8956f9a5.js';
2
+ import './_export-f7ec2adf.js';
3
+ import './es6.string.iterator-13b94db0.js';
4
+ import './_library-90219a8d.js';
5
+ import './_iter-detect-65720de7.js';
6
+ import './core.get-iterator-method-dbbb346b.js';
7
+ import './_object-pie-8e2f6c3a.js';
8
+ import { _ as _extends } from './extends-8e0228d5.js';
9
+ import './web.dom.iterable-c3ba4d37.js';
10
10
  import React__default, { useEffect, useState } from 'react';
11
11
  import Router from 'next/router';
12
- import { _ as _JSON$stringify } from './stringify-008c8802.js';
13
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-7021e5df.js';
14
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7c654f36.js';
15
- import './_set-species-cede29f8.js';
12
+ import { _ as _JSON$stringify } from './stringify-dedf4a20.js';
13
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-8818fe95.js';
14
+ import { a as _asyncToGenerator, b as _regeneratorRuntime } from './asyncToGenerator-0c61f551.js';
15
+ import './_set-species-26ee5c2a.js';
16
16
  import { Col, Form, Button, Spinner } from 'react-bootstrap';
17
17
  import { u as util } from './util-7700fc59.js';
18
+ import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
18
19
  import useSWR from 'swr';
19
20
  import Local from 'passport-local';
20
21
  import mysql from 'mysql';
@@ -138,9 +139,9 @@ var returnFormField = function returnFormField(_ref) {
138
139
  var _this = undefined;
139
140
 
140
141
  var dataHandler = function () {
141
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(api_url, body) {
142
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(api_url, body) {
142
143
  var res, result;
143
- return regenerator.wrap(function _callee$(_context) {
144
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
144
145
  while (1) {
145
146
  switch (_context.prev = _context.next) {
146
147
  case 0:
@@ -243,9 +244,9 @@ var hooks = /*#__PURE__*/Object.freeze({
243
244
 
244
245
  var LoginForm = function LoginForm(props) {
245
246
  var handleSubmit = function () {
246
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(e) {
247
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(e) {
247
248
  var body, res;
248
- return regenerator.wrap(function _callee$(_context) {
249
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
249
250
  while (1) {
250
251
  switch (_context.prev = _context.next) {
251
252
  case 0:
@@ -401,10 +402,10 @@ var _this$1 = undefined;
401
402
 
402
403
  var SignupForm = function SignupForm(props) {
403
404
  var handleSubmit = function () {
404
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
405
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(e) {
405
406
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
406
407
 
407
- return regenerator.wrap(function _callee3$(_context3) {
408
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
408
409
  while (1) {
409
410
  switch (_context3.prev = _context3.next) {
410
411
  case 0:
@@ -534,9 +535,9 @@ var SignupForm = function SignupForm(props) {
534
535
  setNonHealthcareOccupation = _useState8[1];
535
536
 
536
537
  var loadInitData = function () {
537
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
538
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
538
539
  var healthcare_occupation, non_healthcare_occupation;
539
- return regenerator.wrap(function _callee$(_context) {
540
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
540
541
  while (1) {
541
542
  switch (_context.prev = _context.next) {
542
543
  case 0:
@@ -607,9 +608,9 @@ var SignupForm = function SignupForm(props) {
607
608
  setOccupationFields = _useState12[1];
608
609
 
609
610
  var handleOccupationChanged = function () {
610
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(e) {
611
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(e) {
611
612
  var occupation, fields;
612
- return regenerator.wrap(function _callee2$(_context2) {
613
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
613
614
  while (1) {
614
615
  switch (_context2.prev = _context2.next) {
615
616
  case 0:
@@ -779,10 +780,10 @@ var _this$2 = undefined;
779
780
 
780
781
  var SignupForm$1 = function SignupForm(props) {
781
782
  var handleSubmit = function () {
782
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
783
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(e) {
783
784
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
784
785
 
785
- return regenerator.wrap(function _callee3$(_context3) {
786
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
786
787
  while (1) {
787
788
  switch (_context3.prev = _context3.next) {
788
789
  case 0:
@@ -923,9 +924,9 @@ var SignupForm$1 = function SignupForm(props) {
923
924
  var user = props.user;
924
925
 
925
926
  var loadInitData = function () {
926
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
927
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
927
928
  var healthcare_occupation, non_healthcare_occupation, foundOccupation, fields;
928
- return regenerator.wrap(function _callee$(_context) {
929
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
929
930
  while (1) {
930
931
  switch (_context.prev = _context.next) {
931
932
  case 0:
@@ -1019,9 +1020,9 @@ var SignupForm$1 = function SignupForm(props) {
1019
1020
  setOccupationFields = _useState14[1];
1020
1021
 
1021
1022
  var handleOccupationChanged = function () {
1022
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(e) {
1023
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(e) {
1023
1024
  var occupation, fields;
1024
- return regenerator.wrap(function _callee2$(_context2) {
1025
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
1025
1026
  while (1) {
1026
1027
  switch (_context2.prev = _context2.next) {
1027
1028
  case 0:
@@ -1202,207 +1203,6 @@ var SignupForm$1 = function SignupForm(props) {
1202
1203
  );
1203
1204
  };
1204
1205
 
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
-
1406
1206
  var TOKEN_NAME = 'token';
1407
1207
  var MAX_AGE = 60 * 60 * 8; // 8 hours
1408
1208
 
@@ -1475,9 +1275,9 @@ function encryptSession(session) {
1475
1275
  }
1476
1276
 
1477
1277
  var getSession = function () {
1478
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(req) {
1278
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(req) {
1479
1279
  var token, buff;
1480
- return regenerator.wrap(function _callee$(_context) {
1280
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
1481
1281
  while (1) {
1482
1282
  switch (_context.prev = _context.next) {
1483
1283
  case 0:
@@ -1737,59 +1537,6 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
1737
1537
 
1738
1538
  var defineProperties_1 = defineProperties;
1739
1539
 
1740
- /* eslint complexity: [2, 18], max-statements: [2, 33] */
1741
- var shams = function hasSymbols() {
1742
- if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
1743
- if (typeof Symbol.iterator === 'symbol') { return true; }
1744
-
1745
- var obj = {};
1746
- var sym = Symbol('test');
1747
- var symObj = Object(sym);
1748
- if (typeof sym === 'string') { return false; }
1749
-
1750
- if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
1751
- if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
1752
-
1753
- // temp disabled per https://github.com/ljharb/object.assign/issues/17
1754
- // if (sym instanceof Symbol) { return false; }
1755
- // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
1756
- // if (!(symObj instanceof Symbol)) { return false; }
1757
-
1758
- // if (typeof Symbol.prototype.toString !== 'function') { return false; }
1759
- // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
1760
-
1761
- var symVal = 42;
1762
- obj[sym] = symVal;
1763
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
1764
- if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1765
-
1766
- if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
1767
-
1768
- var syms = Object.getOwnPropertySymbols(obj);
1769
- if (syms.length !== 1 || syms[0] !== sym) { return false; }
1770
-
1771
- if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
1772
-
1773
- if (typeof Object.getOwnPropertyDescriptor === 'function') {
1774
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
1775
- if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
1776
- }
1777
-
1778
- return true;
1779
- };
1780
-
1781
- var origSymbol = commonjsGlobal.Symbol;
1782
-
1783
-
1784
- var hasSymbols$1 = function hasNativeSymbols() {
1785
- if (typeof origSymbol !== 'function') { return false; }
1786
- if (typeof Symbol !== 'function') { return false; }
1787
- if (typeof origSymbol('foo') !== 'symbol') { return false; }
1788
- if (typeof Symbol('bar') !== 'symbol') { return false; }
1789
-
1790
- return shams();
1791
- };
1792
-
1793
1540
  /* eslint no-invalid-this: 1 */
1794
1541
 
1795
1542
  var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
@@ -1843,15 +1590,74 @@ var implementation$1 = function bind(that) {
1843
1590
 
1844
1591
  var functionBind = Function.prototype.bind || implementation$1;
1845
1592
 
1846
- /* globals
1847
- Atomics,
1848
- SharedArrayBuffer,
1849
- */
1593
+ /* eslint complexity: [2, 18], max-statements: [2, 33] */
1594
+ var shams = function hasSymbols() {
1595
+ if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
1596
+ if (typeof Symbol.iterator === 'symbol') { return true; }
1597
+
1598
+ var obj = {};
1599
+ var sym = Symbol('test');
1600
+ var symObj = Object(sym);
1601
+ if (typeof sym === 'string') { return false; }
1602
+
1603
+ if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
1604
+ if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
1605
+
1606
+ // temp disabled per https://github.com/ljharb/object.assign/issues/17
1607
+ // if (sym instanceof Symbol) { return false; }
1608
+ // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
1609
+ // if (!(symObj instanceof Symbol)) { return false; }
1610
+
1611
+ // if (typeof Symbol.prototype.toString !== 'function') { return false; }
1612
+ // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
1613
+
1614
+ var symVal = 42;
1615
+ obj[sym] = symVal;
1616
+ for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
1617
+ if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1618
+
1619
+ if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
1620
+
1621
+ var syms = Object.getOwnPropertySymbols(obj);
1622
+ if (syms.length !== 1 || syms[0] !== sym) { return false; }
1623
+
1624
+ if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
1625
+
1626
+ if (typeof Object.getOwnPropertyDescriptor === 'function') {
1627
+ var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
1628
+ if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
1629
+ }
1630
+
1631
+ return true;
1632
+ };
1633
+
1634
+ var origSymbol = commonjsGlobal.Symbol;
1635
+
1636
+
1637
+ var hasSymbols$1 = function hasNativeSymbols() {
1638
+ if (typeof origSymbol !== 'function') { return false; }
1639
+ if (typeof Symbol !== 'function') { return false; }
1640
+ if (typeof origSymbol('foo') !== 'symbol') { return false; }
1641
+ if (typeof Symbol('bar') !== 'symbol') { return false; }
1642
+
1643
+ return shams();
1644
+ };
1645
+
1646
+ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1850
1647
 
1851
1648
  var undefined$1;
1852
1649
 
1650
+ var $SyntaxError = SyntaxError;
1651
+ var $Function = Function;
1853
1652
  var $TypeError = TypeError;
1854
1653
 
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) {}
1659
+ };
1660
+
1855
1661
  var $gOPD = Object.getOwnPropertyDescriptor;
1856
1662
  if ($gOPD) {
1857
1663
  try {
@@ -1861,7 +1667,9 @@ if ($gOPD) {
1861
1667
  }
1862
1668
  }
1863
1669
 
1864
- var throwTypeError = function () { throw new $TypeError(); };
1670
+ var throwTypeError = function () {
1671
+ throw new $TypeError();
1672
+ };
1865
1673
  var ThrowTypeError = $gOPD
1866
1674
  ? (function () {
1867
1675
  try {
@@ -1882,203 +1690,351 @@ var ThrowTypeError = $gOPD
1882
1690
  var hasSymbols$2 = hasSymbols$1();
1883
1691
 
1884
1692
  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1885
- var generatorFunction = undefined$1;
1886
- var asyncFunction = undefined$1;
1887
- var asyncGenFunction = undefined$1;
1693
+
1694
+ var needsEval = {};
1888
1695
 
1889
1696
  var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1890
1697
 
1891
1698
  var INTRINSICS = {
1699
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1892
1700
  '%Array%': Array,
1893
1701
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1894
- '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
1895
1702
  '%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,
1901
1703
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
1902
- '%AsyncFunction%': asyncFunction,
1903
- '%AsyncFunctionPrototype%': undefined$1,
1904
- '%AsyncGenerator%': undefined$1,
1905
- '%AsyncGeneratorFunction%': asyncGenFunction,
1906
- '%AsyncGeneratorPrototype%': undefined$1,
1907
- '%AsyncIteratorPrototype%': undefined$1,
1704
+ '%AsyncFunction%': needsEval,
1705
+ '%AsyncGenerator%': needsEval,
1706
+ '%AsyncGeneratorFunction%': needsEval,
1707
+ '%AsyncIteratorPrototype%': needsEval,
1908
1708
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1709
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1909
1710
  '%Boolean%': Boolean,
1910
- '%BooleanPrototype%': Boolean.prototype,
1911
1711
  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1912
- '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
1913
1712
  '%Date%': Date,
1914
- '%DatePrototype%': Date.prototype,
1915
1713
  '%decodeURI%': decodeURI,
1916
1714
  '%decodeURIComponent%': decodeURIComponent,
1917
1715
  '%encodeURI%': encodeURI,
1918
1716
  '%encodeURIComponent%': encodeURIComponent,
1919
1717
  '%Error%': Error,
1920
- '%ErrorPrototype%': Error.prototype,
1921
1718
  '%eval%': eval, // eslint-disable-line no-eval
1922
1719
  '%EvalError%': EvalError,
1923
- '%EvalErrorPrototype%': EvalError.prototype,
1924
1720
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1925
- '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
1926
1721
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
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,
1722
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1723
+ '%Function%': $Function,
1724
+ '%GeneratorFunction%': needsEval,
1933
1725
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1934
- '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1935
1726
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1936
- '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1937
1727
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1938
- '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
1939
1728
  '%isFinite%': isFinite,
1940
1729
  '%isNaN%': isNaN,
1941
1730
  '%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1942
1731
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1943
- '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
1944
1732
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1945
1733
  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1946
- '%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
1947
1734
  '%Math%': Math,
1948
1735
  '%Number%': Number,
1949
- '%NumberPrototype%': Number.prototype,
1950
1736
  '%Object%': Object,
1951
- '%ObjectPrototype%': Object.prototype,
1952
- '%ObjProto_toString%': Object.prototype.toString,
1953
- '%ObjProto_valueOf%': Object.prototype.valueOf,
1954
1737
  '%parseFloat%': parseFloat,
1955
1738
  '%parseInt%': parseInt,
1956
1739
  '%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,
1962
1740
  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1963
1741
  '%RangeError%': RangeError,
1964
- '%RangeErrorPrototype%': RangeError.prototype,
1965
1742
  '%ReferenceError%': ReferenceError,
1966
- '%ReferenceErrorPrototype%': ReferenceError.prototype,
1967
1743
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1968
1744
  '%RegExp%': RegExp,
1969
- '%RegExpPrototype%': RegExp.prototype,
1970
1745
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1971
1746
  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1972
- '%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
1973
1747
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1974
- '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
1975
1748
  '%String%': String,
1976
1749
  '%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
1977
- '%StringPrototype%': String.prototype,
1978
1750
  '%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
1979
- '%SymbolPrototype%': hasSymbols$2 ? Symbol.prototype : undefined$1,
1980
- '%SyntaxError%': SyntaxError,
1981
- '%SyntaxErrorPrototype%': SyntaxError.prototype,
1751
+ '%SyntaxError%': $SyntaxError,
1982
1752
  '%ThrowTypeError%': ThrowTypeError,
1983
1753
  '%TypedArray%': TypedArray,
1984
- '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined$1,
1985
1754
  '%TypeError%': $TypeError,
1986
- '%TypeErrorPrototype%': $TypeError.prototype,
1987
1755
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1988
- '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
1989
1756
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1990
- '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
1991
1757
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1992
- '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
1993
1758
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1994
- '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
1995
1759
  '%URIError%': URIError,
1996
- '%URIErrorPrototype%': URIError.prototype,
1997
1760
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
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
1761
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1762
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
2001
1763
  };
2002
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
+ };
2003
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']
1842
+ };
1843
+
1844
+
1845
+
1846
+ var $concat = functionBind.call(Function.call, Array.prototype.concat);
1847
+ var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
2004
1848
  var $replace = functionBind.call(Function.call, String.prototype.replace);
1849
+ var $strSlice = functionBind.call(Function.call, String.prototype.slice);
2005
1850
 
2006
1851
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
2007
1852
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
2008
1853
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
2009
1854
  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
+ }
2010
1862
  var result = [];
2011
1863
  $replace(string, rePropName, function (match, number, quote, subString) {
2012
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);
1864
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
2013
1865
  });
2014
1866
  return result;
2015
1867
  };
2016
1868
  /* end adaptation */
2017
1869
 
2018
1870
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
2019
- if (!(name in INTRINSICS)) {
2020
- throw new SyntaxError('intrinsic ' + name + ' does not exist!');
1871
+ var intrinsicName = name;
1872
+ var alias;
1873
+ if (src(LEGACY_ALIASES, intrinsicName)) {
1874
+ alias = LEGACY_ALIASES[intrinsicName];
1875
+ intrinsicName = '%' + alias[0] + '%';
2021
1876
  }
2022
1877
 
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!');
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
+ };
2026
1892
  }
2027
1893
 
2028
- return INTRINSICS[name];
1894
+ throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
2029
1895
  };
2030
1896
 
2031
- var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1897
+ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
2032
1898
  if (typeof name !== 'string' || name.length === 0) {
2033
- throw new TypeError('intrinsic name must be a non-empty string');
1899
+ throw new $TypeError('intrinsic name must be a non-empty string');
2034
1900
  }
2035
1901
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
2036
- throw new TypeError('"allowMissing" argument must be a boolean');
1902
+ throw new $TypeError('"allowMissing" argument must be a boolean');
2037
1903
  }
2038
1904
 
2039
1905
  var parts = stringToPath(name);
1906
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
2040
1907
 
2041
- var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
2042
- for (var i = 1; i < parts.length; i += 1) {
2043
- if (value != null) {
2044
- if ($gOPD && (i + 1) >= parts.length) {
2045
- var desc = $gOPD(value, parts[i]);
2046
- if (!allowMissing && !(parts[i] in value)) {
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
+
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) {
2047
1944
  throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
2048
1945
  }
2049
- value = desc ? (desc.get || desc.value) : value[parts[i]];
1946
+ return void undefined$1;
1947
+ }
1948
+ 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];
1963
+ }
2050
1964
  } else {
2051
- value = value[parts[i]];
1965
+ isOwn = src(value, part);
1966
+ value = value[part];
1967
+ }
1968
+
1969
+ if (isOwn && !skipFurtherCaching) {
1970
+ INTRINSICS[intrinsicRealName] = value;
2052
1971
  }
2053
1972
  }
2054
1973
  }
2055
1974
  return value;
2056
1975
  };
2057
1976
 
2058
- var $Function = GetIntrinsic('%Function%');
2059
- var $apply = $Function.apply;
2060
- var $call = $Function.call;
1977
+ var callBind = createCommonjsModule(function (module) {
1978
+
1979
+
1980
+
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
+ }
2061
1998
 
2062
- var callBind = function callBind() {
2063
- return functionBind.apply($call, arguments);
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;
2064
2013
  };
2065
2014
 
2066
- var apply = function applyBind() {
2067
- return functionBind.apply($apply, arguments);
2015
+ var applyBind = function applyBind() {
2016
+ return $reflectApply(functionBind, $apply, arguments);
2068
2017
  };
2069
- callBind.apply = apply;
2070
2018
 
2071
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
2019
+ if ($defineProperty) {
2020
+ $defineProperty(module.exports, 'apply', { value: applyBind });
2021
+ } else {
2022
+ module.exports.apply = applyBind;
2023
+ }
2024
+ });
2025
+ var callBind_1 = callBind.apply;
2026
+
2027
+ var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
2072
2028
 
2073
2029
  var callBound = function callBoundIntrinsic(name, allowMissing) {
2074
- var intrinsic = GetIntrinsic(name, !!allowMissing);
2075
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
2030
+ var intrinsic = getIntrinsic(name, !!allowMissing);
2031
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
2076
2032
  return callBind(intrinsic);
2077
2033
  }
2078
2034
  return intrinsic;
2079
2035
  };
2080
2036
 
2081
- var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2037
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
2082
2038
 
2083
2039
  if ($defineProperty) {
2084
2040
  try {
@@ -2120,10 +2076,8 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
2120
2076
  return true;
2121
2077
  };
2122
2078
 
2123
- var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
2124
-
2125
- var $TypeError$1 = GetIntrinsic('%TypeError%');
2126
- var $SyntaxError = GetIntrinsic('%SyntaxError%');
2079
+ var $TypeError$1 = getIntrinsic('%TypeError%');
2080
+ var $SyntaxError$1 = getIntrinsic('%SyntaxError%');
2127
2081
 
2128
2082
 
2129
2083
 
@@ -2160,14 +2114,14 @@ var predicates = {
2160
2114
  var assertRecord = function assertRecord(Type, recordType, argumentName, value) {
2161
2115
  var predicate = predicates[recordType];
2162
2116
  if (typeof predicate !== 'function') {
2163
- throw new $SyntaxError('unknown record type: ' + recordType);
2117
+ throw new $SyntaxError$1('unknown record type: ' + recordType);
2164
2118
  }
2165
2119
  if (!predicate(Type, value)) {
2166
2120
  throw new $TypeError$1(argumentName + ' must be a ' + recordType);
2167
2121
  }
2168
2122
  };
2169
2123
 
2170
- // https://www.ecma-international.org/ecma-262/5.1/#sec-8
2124
+ // https://ecma-international.org/ecma-262/5.1/#sec-8
2171
2125
 
2172
2126
  var Type = function Type(x) {
2173
2127
  if (x === null) {
@@ -2190,16 +2144,19 @@ var Type = function Type(x) {
2190
2144
  }
2191
2145
  };
2192
2146
 
2193
- // https://www.ecma-international.org/ecma-262/6.0/#sec-tostring
2147
+ // https://ecma-international.org/ecma-262/11.0/#sec-ecmascript-data-types-and-values
2194
2148
 
2195
2149
  var Type$1 = function Type$1(x) {
2196
2150
  if (typeof x === 'symbol') {
2197
2151
  return 'Symbol';
2198
2152
  }
2153
+ if (typeof x === 'bigint') {
2154
+ return 'BigInt';
2155
+ }
2199
2156
  return Type(x);
2200
2157
  };
2201
2158
 
2202
- // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2159
+ // https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2203
2160
 
2204
2161
  var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2205
2162
  if (typeof Desc === 'undefined') {
@@ -2230,7 +2187,7 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2230
2187
  return obj;
2231
2188
  };
2232
2189
 
2233
- var $gOPD$1 = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
2190
+ var $gOPD$1 = getIntrinsic('%Object.getOwnPropertyDescriptor%');
2234
2191
  if ($gOPD$1) {
2235
2192
  try {
2236
2193
  $gOPD$1([], 'length');
@@ -2242,65 +2199,85 @@ if ($gOPD$1) {
2242
2199
 
2243
2200
  var getOwnPropertyDescriptor = $gOPD$1;
2244
2201
 
2245
- var $Array = GetIntrinsic('%Array%');
2202
+ var $Array = getIntrinsic('%Array%');
2246
2203
 
2247
2204
  // eslint-disable-next-line global-require
2248
2205
  var toStr$4 = !$Array.isArray && callBound('Object.prototype.toString');
2249
2206
 
2250
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isarray
2207
+ // https://ecma-international.org/ecma-262/6.0/#sec-isarray
2251
2208
 
2252
2209
  var IsArray = $Array.isArray || function IsArray(argument) {
2253
2210
  return toStr$4(argument) === '[object Array]';
2254
2211
  };
2255
2212
 
2256
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2213
+ // https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2257
2214
 
2258
2215
  var IsPropertyKey = function IsPropertyKey(argument) {
2259
2216
  return typeof argument === 'string' || typeof argument === 'symbol';
2260
2217
  };
2261
2218
 
2262
- var regexExec = RegExp.prototype.exec;
2263
- var gOPD = Object.getOwnPropertyDescriptor;
2264
-
2265
- var tryRegexExecCall = function tryRegexExec(value) {
2266
- try {
2267
- var lastIndex = value.lastIndex;
2268
- value.lastIndex = 0; // eslint-disable-line no-param-reassign
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
+ };
2269
2238
 
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
2239
+ if (typeof Symbol.toPrimitive === 'symbol') {
2240
+ badStringifier[Symbol.toPrimitive] = throwRegexMarker;
2276
2241
  }
2277
- };
2278
- var toStr$5 = Object.prototype.toString;
2242
+ }
2243
+
2244
+ var $toString = callBound('Object.prototype.toString');
2245
+ var gOPD = Object.getOwnPropertyDescriptor;
2279
2246
  var regexClass = '[object RegExp]';
2280
- var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2281
2247
 
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
- }
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
+ }
2289
2254
 
2290
- var descriptor = gOPD(value, 'lastIndex');
2291
- var hasLastIndexDataProperty = descriptor && src(descriptor, 'value');
2292
- if (!hasLastIndexDataProperty) {
2293
- return false;
2255
+ var descriptor = gOPD(value, 'lastIndex');
2256
+ var hasLastIndexDataProperty = descriptor && has$1(descriptor, 'value');
2257
+ if (!hasLastIndexDataProperty) {
2258
+ return false;
2259
+ }
2260
+
2261
+ try {
2262
+ $exec(value, badStringifier);
2263
+ } catch (e) {
2264
+ return e === isRegexMarker;
2265
+ }
2294
2266
  }
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
+ }
2295
2272
 
2296
- return tryRegexExecCall(value);
2297
- };
2273
+ return $toString(value) === regexClass;
2274
+ };
2298
2275
 
2299
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.2
2276
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.2
2300
2277
 
2301
2278
  var ToBoolean = function ToBoolean(value) { return !!value; };
2302
2279
 
2303
- var $match = GetIntrinsic('%Symbol.match%', true);
2280
+ var $match = getIntrinsic('%Symbol.match%', true);
2304
2281
 
2305
2282
 
2306
2283
 
@@ -2322,6 +2299,27 @@ var IsRegExp = function IsRegExp(argument) {
2322
2299
  };
2323
2300
 
2324
2301
  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
+ }
2325
2323
 
2326
2324
  var constructorRegex = /^\s*class\b/;
2327
2325
  var isES6ClassFn = function isES6ClassFunction(value) {
@@ -2342,26 +2340,42 @@ var tryFunctionObject = function tryFunctionToStr(value) {
2342
2340
  return false;
2343
2341
  }
2344
2342
  };
2345
- var toStr$6 = Object.prototype.toString;
2343
+ var toStr$5 = Object.prototype.toString;
2346
2344
  var fnClass = '[object Function]';
2347
2345
  var genClass = '[object GeneratorFunction]';
2348
2346
  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
+ };
2349
2373
 
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
2374
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.11
2361
2375
 
2362
2376
  var IsCallable = isCallable;
2363
2377
 
2364
- var $TypeError$2 = GetIntrinsic('%TypeError%');
2378
+ var $TypeError$2 = getIntrinsic('%TypeError%');
2365
2379
 
2366
2380
 
2367
2381
 
@@ -2390,7 +2404,7 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2390
2404
  if (src(Obj, 'get')) {
2391
2405
  var getter = Obj.get;
2392
2406
  if (typeof getter !== 'undefined' && !IsCallable(getter)) {
2393
- throw new TypeError('getter must be a function');
2407
+ throw new $TypeError$2('getter must be a function');
2394
2408
  }
2395
2409
  desc['[[Get]]'] = getter;
2396
2410
  }
@@ -2408,7 +2422,7 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2408
2422
  return desc;
2409
2423
  };
2410
2424
 
2411
- var $TypeError$3 = GetIntrinsic('%TypeError%');
2425
+ var $TypeError$3 = getIntrinsic('%TypeError%');
2412
2426
 
2413
2427
 
2414
2428
 
@@ -2422,7 +2436,7 @@ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2422
2436
 
2423
2437
 
2424
2438
 
2425
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2439
+ // https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2426
2440
 
2427
2441
  var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2428
2442
  if (Type$1(O) !== 'Object') {
@@ -2448,7 +2462,7 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2448
2462
  return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
2449
2463
  };
2450
2464
 
2451
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2465
+ // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2452
2466
 
2453
2467
  var IsDataDescriptor = function IsDataDescriptor(Desc) {
2454
2468
  if (typeof Desc === 'undefined') {
@@ -2468,14 +2482,14 @@ var isPrimitive = function isPrimitive(value) {
2468
2482
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
2469
2483
  };
2470
2484
 
2471
- var $Object = GetIntrinsic('%Object%');
2485
+ var $Object = getIntrinsic('%Object%');
2472
2486
 
2473
2487
 
2474
2488
 
2475
2489
  var $preventExtensions = $Object.preventExtensions;
2476
2490
  var $isExtensible = $Object.isExtensible;
2477
2491
 
2478
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2492
+ // https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2479
2493
 
2480
2494
  var IsExtensible = $preventExtensions
2481
2495
  ? function IsExtensible(obj) {
@@ -2489,7 +2503,7 @@ var _isNaN = Number.isNaN || function isNaN(a) {
2489
2503
  return a !== a;
2490
2504
  };
2491
2505
 
2492
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.12
2506
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.12
2493
2507
 
2494
2508
  var SameValue = function SameValue(x, y) {
2495
2509
  if (x === y) { // 0 === -0, but they are not identical.
@@ -2499,7 +2513,7 @@ var SameValue = function SameValue(x, y) {
2499
2513
  return _isNaN(x) && _isNaN(y);
2500
2514
  };
2501
2515
 
2502
- var $TypeError$4 = GetIntrinsic('%TypeError%');
2516
+ var $TypeError$4 = getIntrinsic('%TypeError%');
2503
2517
 
2504
2518
 
2505
2519
 
@@ -2511,7 +2525,7 @@ var $TypeError$4 = GetIntrinsic('%TypeError%');
2511
2525
 
2512
2526
 
2513
2527
 
2514
- // https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2528
+ // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2515
2529
 
2516
2530
  var CreateDataProperty = function CreateDataProperty(O, P, V) {
2517
2531
  if (Type$1(O) !== 'Object') {
@@ -2541,9 +2555,9 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2541
2555
  );
2542
2556
  };
2543
2557
 
2544
- var $TypeError$5 = GetIntrinsic('%TypeError%');
2558
+ var $TypeError$5 = getIntrinsic('%TypeError%');
2545
2559
 
2546
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
2560
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.10
2547
2561
 
2548
2562
  var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2549
2563
  if (value == null) {
@@ -2554,11 +2568,11 @@ var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2554
2568
 
2555
2569
  var RequireObjectCoercible = CheckObjectCoercible;
2556
2570
 
2557
- var $Object$1 = GetIntrinsic('%Object%');
2571
+ var $Object$1 = getIntrinsic('%Object%');
2558
2572
 
2559
2573
 
2560
2574
 
2561
- // https://www.ecma-international.org/ecma-262/6.0/#sec-toobject
2575
+ // https://ecma-international.org/ecma-262/6.0/#sec-toobject
2562
2576
 
2563
2577
  var ToObject = function ToObject(value) {
2564
2578
  RequireObjectCoercible(value);
@@ -2568,10 +2582,10 @@ var ToObject = function ToObject(value) {
2568
2582
  var $gOPD$2 = Object.getOwnPropertyDescriptor;
2569
2583
  var $getOwnNames = Object.getOwnPropertyNames;
2570
2584
  var $getSymbols = Object.getOwnPropertySymbols;
2571
- var $concat = callBound('Array.prototype.concat');
2585
+ var $concat$1 = callBound('Array.prototype.concat');
2572
2586
  var $reduce = callBound('Array.prototype.reduce');
2573
2587
  var getAll = $getSymbols ? function (obj) {
2574
- return $concat($getOwnNames(obj), $getSymbols(obj));
2588
+ return $concat$1($getOwnNames(obj), $getSymbols(obj));
2575
2589
  } : $getOwnNames;
2576
2590
 
2577
2591
  var isES5 = IsCallable($gOPD$2) && IsCallable($getOwnNames);
@@ -2610,13 +2624,281 @@ var shim = function shimGetOwnPropertyDescriptors() {
2610
2624
  return polyfill$1;
2611
2625
  };
2612
2626
 
2613
- defineProperties_1(implementation$2, {
2627
+ var bound = callBind(polyfill(), Object);
2628
+
2629
+ defineProperties_1(bound, {
2614
2630
  getPolyfill: polyfill,
2615
2631
  implementation: implementation$2,
2616
2632
  shim: shim
2617
2633
  });
2618
2634
 
2619
- var object_getownpropertydescriptors = implementation$2;
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
+ var callBind_1$1 = 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
+ };
2620
2902
 
2621
2903
  var isES5$1 = typeof Object.defineProperty === 'function'
2622
2904
  && typeof Object.defineProperties === 'function';
@@ -2635,14 +2917,14 @@ if (typeof Promise !== 'function') {
2635
2917
 
2636
2918
 
2637
2919
 
2638
- var $slice = callBound('Array.prototype.slice');
2639
- var $concat$1 = callBound('Array.prototype.concat');
2640
- var $forEach = callBound('Array.prototype.forEach');
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');
2641
2923
 
2642
- var hasSymbols$3 = hasSymbols$1();
2924
+ var hasSymbols$5 = hasSymbols$1();
2643
2925
 
2644
- var kCustomPromisifiedSymbol = hasSymbols$3 ? Symbol('util.promisify.custom') : null;
2645
- var kCustomPromisifyArgsSymbol = hasSymbols$3 ? Symbol('customPromisifyArgs') : null;
2926
+ var kCustomPromisifiedSymbol = hasSymbols$5 ? Symbol('util.promisify.custom') : null;
2927
+ var kCustomPromisifyArgsSymbol = hasSymbols$5 ? Symbol('customPromisifyArgs') : null;
2646
2928
 
2647
2929
  var implementation$3 = function promisify(orig) {
2648
2930
  if (typeof orig !== 'function') {
@@ -2652,7 +2934,7 @@ var implementation$3 = function promisify(orig) {
2652
2934
  throw error;
2653
2935
  }
2654
2936
 
2655
- if (hasSymbols$3 && orig[kCustomPromisifiedSymbol]) {
2937
+ if (hasSymbols$5 && orig[kCustomPromisifiedSymbol]) {
2656
2938
  var customFunction = orig[kCustomPromisifiedSymbol];
2657
2939
  if (typeof customFunction !== 'function') {
2658
2940
  throw new TypeError('The [util.promisify.custom] property must be a function');
@@ -2674,7 +2956,7 @@ var implementation$3 = function promisify(orig) {
2674
2956
  var args = $slice(arguments);
2675
2957
  var self = this; // eslint-disable-line no-invalid-this
2676
2958
  return new Promise(function (resolve, reject) {
2677
- orig.apply(self, $concat$1(args, function (err) {
2959
+ orig.apply(self, $concat$2(args, function (err) {
2678
2960
  var values = arguments.length > 1 ? $slice(arguments, 1) : [];
2679
2961
  if (err) {
2680
2962
  reject(err);
@@ -2953,7 +3235,7 @@ var md5 = createCommonjsModule(function (module) {
2953
3235
  message = utf8.stringToBytes(message);
2954
3236
  else if (isBuffer(message))
2955
3237
  message = Array.prototype.slice.call(message, 0);
2956
- else if (!Array.isArray(message))
3238
+ else if (!Array.isArray(message) && message.constructor !== Uint8Array)
2957
3239
  message = message.toString();
2958
3240
  // else, assume byte array already
2959
3241
 
@@ -3109,10 +3391,10 @@ var config = {
3109
3391
  };
3110
3392
 
3111
3393
  var findUser = function () {
3112
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(email) {
3394
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(email) {
3113
3395
  var password = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
3114
3396
  var db$1, query, res, user, hash, passwordsMatch, user_shared, occupation_id;
3115
- return regenerator.wrap(function _callee$(_context) {
3397
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
3116
3398
  while (1) {
3117
3399
  switch (_context.prev = _context.next) {
3118
3400
  case 0:
@@ -3217,9 +3499,9 @@ var findUser = function () {
3217
3499
  }();
3218
3500
 
3219
3501
  var updateUser = function () {
3220
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
3502
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data) {
3221
3503
  var db$1, query, res, hash, columns, i, column, occupation_name;
3222
- return regenerator.wrap(function _callee2$(_context2) {
3504
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
3223
3505
  while (1) {
3224
3506
  switch (_context2.prev = _context2.next) {
3225
3507
  case 0:
@@ -3420,9 +3702,9 @@ var validateUserData = function validateUserData(data) {
3420
3702
  };
3421
3703
 
3422
3704
  var getOccupationNameById = function () {
3423
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(db, occupation_id) {
3705
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(db, occupation_id) {
3424
3706
  var query, res;
3425
- return regenerator.wrap(function _callee3$(_context3) {
3707
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
3426
3708
  while (1) {
3427
3709
  switch (_context3.prev = _context3.next) {
3428
3710
  case 0:
@@ -3457,9 +3739,9 @@ var getOccupationNameById = function () {
3457
3739
  }();
3458
3740
 
3459
3741
  var createUser = function () {
3460
- var _ref4 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4(data) {
3742
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(data) {
3461
3743
  var db$1, query, res, hash, columns, i, column, user_id, occupation_name;
3462
- return regenerator.wrap(function _callee4$(_context4) {
3744
+ return _regeneratorRuntime.wrap(function _callee4$(_context4) {
3463
3745
  while (1) {
3464
3746
  switch (_context4.prev = _context4.next) {
3465
3747
  case 0:
@@ -3604,9 +3886,9 @@ var createUser = function () {
3604
3886
  }();
3605
3887
 
3606
3888
  var createUser$1 = function () {
3607
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(data) {
3889
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(data) {
3608
3890
  var res;
3609
- return regenerator.wrap(function _callee$(_context) {
3891
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
3610
3892
  while (1) {
3611
3893
  switch (_context.prev = _context.next) {
3612
3894
  case 0:
@@ -3640,9 +3922,9 @@ var createUser$1 = function () {
3640
3922
  }();
3641
3923
 
3642
3924
  var updateUser$1 = function () {
3643
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
3925
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data) {
3644
3926
  var res;
3645
- return regenerator.wrap(function _callee2$(_context2) {
3927
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
3646
3928
  while (1) {
3647
3929
  switch (_context2.prev = _context2.next) {
3648
3930
  case 0:
@@ -3676,11 +3958,11 @@ var updateUser$1 = function () {
3676
3958
  }();
3677
3959
 
3678
3960
  var findUser$1 = function () {
3679
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(_ref4) {
3961
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(_ref4) {
3680
3962
  var email = _ref4.email,
3681
3963
  password = _ref4.password;
3682
3964
  var res;
3683
- return regenerator.wrap(function _callee3$(_context3) {
3965
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
3684
3966
  while (1) {
3685
3967
  switch (_context3.prev = _context3.next) {
3686
3968
  case 0:
@@ -3747,9 +4029,9 @@ var config$1 = {
3747
4029
  };
3748
4030
 
3749
4031
  var getOccupation = function () {
3750
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(type) {
4032
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(type) {
3751
4033
  var db$1, query, result;
3752
- return regenerator.wrap(function _callee$(_context) {
4034
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
3753
4035
  while (1) {
3754
4036
  switch (_context.prev = _context.next) {
3755
4037
  case 0:
@@ -3780,9 +4062,9 @@ var getOccupation = function () {
3780
4062
  }();
3781
4063
 
3782
4064
  var getFieldsAndOptions = function () {
3783
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(occupation) {
4065
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(occupation) {
3784
4066
  var db$1, query, result, i, field, optionQuery, options;
3785
- return regenerator.wrap(function _callee2$(_context2) {
4067
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
3786
4068
  while (1) {
3787
4069
  switch (_context2.prev = _context2.next) {
3788
4070
  case 0:
@@ -3843,9 +4125,9 @@ var getFieldsAndOptions = function () {
3843
4125
  }();
3844
4126
 
3845
4127
  var ProcessData = (function () {
3846
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(req, res) {
4128
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(req, res) {
3847
4129
  var action, data, type, occupation;
3848
- return regenerator.wrap(function _callee3$(_context3) {
4130
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
3849
4131
  while (1) {
3850
4132
  switch (_context3.prev = _context3.next) {
3851
4133
  case 0: