@mjhls/mjh-framework 1.0.701 → 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 (267) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +19 -15
  4. package/dist/cjs/AD300x250x600.js +19 -15
  5. package/dist/cjs/AD728x90.js +20 -16
  6. package/dist/cjs/ADFloatingFooter.js +18 -14
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +18 -14
  9. package/dist/cjs/{ADInfeed-f60d8625.js → ADInfeed-ede153e2.js} +2 -2
  10. package/dist/cjs/ADSkyscraper.js +18 -14
  11. package/dist/cjs/ADSponsoredResources.js +18 -14
  12. package/dist/cjs/ADWebcast.js +18 -14
  13. package/dist/cjs/ADWelcome.js +18 -14
  14. package/dist/cjs/{ADlgInfeed-a08f8a4b.js → ADlgInfeed-6a121a0d.js} +2 -2
  15. package/dist/cjs/AccordionPanel.js +6 -6
  16. package/dist/cjs/AdSlot.js +29 -16
  17. package/dist/cjs/AdSlotsProvider.js +4 -2
  18. package/dist/cjs/AlphabeticList.js +9 -9
  19. package/dist/cjs/ArticleCarousel.js +16 -13
  20. package/dist/cjs/ArticleSeriesListing.js +27 -24
  21. package/dist/cjs/Auth.js +743 -312
  22. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-d19285ed.js} +1 -1
  23. package/dist/cjs/Beam.js +19 -19
  24. package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-e53217a7.js} +23 -25
  25. package/dist/cjs/Breadcrumbs.js +5 -5
  26. package/dist/cjs/BrowseVideosListing.js +17 -14
  27. package/dist/cjs/CMEDeck.js +26 -23
  28. package/dist/cjs/Column2.js +15 -13
  29. package/dist/cjs/Column3.js +24 -20
  30. package/dist/cjs/ConferenceArticleCard.js +2 -2
  31. package/dist/cjs/DeckContent.js +33 -30
  32. package/dist/cjs/DeckQueue.js +32 -29
  33. package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-13ff07b4.js} +13 -10
  34. package/dist/cjs/EventsDeck.js +35 -34
  35. package/dist/cjs/ExternalResources.js +35 -32
  36. package/dist/cjs/Feature.js +4 -3
  37. package/dist/cjs/ForbesHero.js +12 -9
  38. package/dist/cjs/GridContent.js +45 -42
  39. package/dist/cjs/GridHero.js +12 -9
  40. package/dist/cjs/GroupDeck.js +13 -13
  41. package/dist/cjs/HamMagazine.js +19 -17
  42. package/dist/cjs/Hero.js +1 -1
  43. package/dist/cjs/HighlightenVideo.js +1 -1
  44. package/dist/cjs/HorizontalHero.js +3 -3
  45. package/dist/cjs/IssueContentDeck.js +12 -9
  46. package/dist/cjs/IssueDeck.js +15 -12
  47. package/dist/cjs/IssueLanding.js +29 -26
  48. package/dist/cjs/LeftNav.js +18 -14
  49. package/dist/cjs/MasterDeck.js +37 -34
  50. package/dist/cjs/NavDvm.js +9 -9
  51. package/dist/cjs/NavMagazine.js +19 -17
  52. package/dist/cjs/NavNative.js +16 -14
  53. package/dist/cjs/NavNormal.js +10 -10
  54. package/dist/cjs/OncliveHero.js +2 -3
  55. package/dist/cjs/OncliveLargeHero.js +12 -9
  56. package/dist/cjs/PageFilter.js +5 -5
  57. package/dist/cjs/PartnerDetailListing.js +45 -1239
  58. package/dist/cjs/PdfDownload.js +1 -1
  59. package/dist/cjs/PopUpModal.js +5 -5
  60. package/dist/cjs/PublicationDeck.js +8 -5
  61. package/dist/cjs/PublicationLanding.js +60 -57
  62. package/dist/cjs/QueueDeckExpanded.js +36 -33
  63. package/dist/cjs/RecentNews.js +3 -3
  64. package/dist/cjs/RelatedContent.js +6 -3
  65. package/dist/cjs/Search.js +5 -5
  66. package/dist/cjs/Segment.js +20 -20
  67. package/dist/cjs/SetCookie.js +2 -2
  68. package/dist/cjs/SideFooter.js +16 -14
  69. package/dist/cjs/{SocialSearchComponent-75c51b47.js → SocialSearchComponent-1ef1e6fb.js} +5 -5
  70. package/dist/cjs/TaxonomyCard.js +10 -7
  71. package/dist/cjs/TemplateNormal.js +33 -29
  72. package/dist/cjs/ThumbnailCard.js +5 -2
  73. package/dist/cjs/Ustream.js +10 -9
  74. package/dist/cjs/VerticalHero.js +2 -2
  75. package/dist/cjs/VideoSeriesCard.js +13 -10
  76. package/dist/cjs/VideoSeriesFilter.js +11 -11
  77. package/dist/cjs/VideoSeriesListing.js +27 -24
  78. package/dist/cjs/View.js +49 -46
  79. package/dist/cjs/YahooHero.js +12 -9
  80. package/dist/cjs/YoutubeGroup.js +17 -14
  81. package/dist/cjs/{_to-object-329a650b.js → _export-a917dedd.js} +31 -31
  82. package/dist/cjs/{_is-array-754e012d.js → _is-array-a82382b4.js} +11 -11
  83. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-671c90bd.js} +10 -10
  84. package/dist/cjs/{_library-dd23b178.js → _library-4360b4e4.js} +1 -1
  85. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-6bed508e.js} +2 -2
  86. package/dist/cjs/_object-sap-947ef6fb.js +16 -0
  87. package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +10 -0
  88. package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +9 -0
  89. package/dist/cjs/_react_commonjs-external-58b78ee1.js +10 -0
  90. package/dist/cjs/{_set-species-f92c67c5.js → _set-species-47156c42.js} +17 -17
  91. package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-fd8e35e7.js} +69 -69
  92. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-05029198.js} +4 -3
  93. package/dist/cjs/core.get-iterator-method-07b02ac3.js +39 -0
  94. package/dist/cjs/{debounce-eb287781.js → debounce-fb3a46a9.js} +7 -7
  95. package/dist/cjs/{define-property-f4d12f4e.js → define-property-9b6df20e.js} +4 -4
  96. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d3c0cfc0.js} +2 -2
  97. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-e5f4ce45.js} +34 -34
  98. package/dist/cjs/{extends-60837c34.js → extends-5fde0677.js} +11 -11
  99. package/dist/cjs/{get-68c52cb1.js → get-70ef997d.js} +11 -11
  100. package/dist/cjs/getRelatedArticle.js +10 -10
  101. package/dist/cjs/getSerializers.js +33 -30
  102. package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-5ca9bfaf.js} +2 -2
  103. package/dist/cjs/getTargeting.js +8 -8
  104. package/dist/cjs/{index-da796b8c.js → index-29e3f3a9.js} +11 -12
  105. package/dist/cjs/{index-5be2866f.js → index-949261b4.js} +18 -19
  106. package/dist/cjs/{index-ec02006c.js → index-b1ee7cd9.js} +335 -329
  107. package/dist/cjs/{index-2d0a4911.js → index-d7577df6.js} +8 -10
  108. package/dist/cjs/{index-b5eb3ff8.js → index-ff69979f.js} +8 -3
  109. package/dist/cjs/{index.es-ab3f2690.js → index.es-e9d84959.js} +20 -4
  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 +58 -54
  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-fc2922d0.js → lodash-257df6c4.js} +72 -23
  120. package/dist/cjs/{main-99536bdc.js → main-1442052b.js} +48 -46
  121. package/dist/cjs/{moment-66a6a284.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 -17
  134. package/dist/esm/AD300x250x600.js +21 -17
  135. package/dist/esm/AD728x90.js +22 -18
  136. package/dist/esm/ADFloatingFooter.js +20 -16
  137. package/dist/esm/ADFooter.js +5 -5
  138. package/dist/esm/ADGutter.js +20 -16
  139. package/dist/esm/{ADInfeed-c7e745f1.js → ADInfeed-d890d5ca.js} +4 -4
  140. package/dist/esm/ADSkyscraper.js +20 -16
  141. package/dist/esm/ADSponsoredResources.js +20 -16
  142. package/dist/esm/ADWebcast.js +20 -16
  143. package/dist/esm/ADWelcome.js +20 -16
  144. package/dist/esm/{ADlgInfeed-6fedd79b.js → ADlgInfeed-1d006b36.js} +4 -4
  145. package/dist/esm/AccordionPanel.js +6 -6
  146. package/dist/esm/AdSlot.js +30 -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 +743 -312
  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-a614acdf.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 -20
  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-8a8fca18.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 -14
  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-5a9c4628.js → SocialSearchComponent-4eae0149.js} +5 -5
  200. package/dist/esm/TaxonomyCard.js +10 -7
  201. package/dist/esm/TemplateNormal.js +35 -31
  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 +54 -51
  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 +10 -10
  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-d2f90501.js → index-1295881c.js} +16 -17
  235. package/dist/esm/{index-93ec3c59.js → index-17490425.js} +8 -6
  236. package/dist/esm/{index-50d0fbc7.js → index-4540328d.js} +338 -332
  237. package/dist/esm/{index-5f9f807a.js → index-a4e850af.js} +11 -8
  238. package/dist/esm/{index-51a80699.js → index-f7fdcc91.js} +8 -3
  239. package/dist/esm/{index.es-938a3a58.js → index.es-a6137319.js} +20 -4
  240. package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
  241. package/dist/esm/{index.esm-fd746768.js → index.esm-4838a32e.js} +3 -4
  242. package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
  243. package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
  244. package/dist/esm/index.js +58 -54
  245. package/dist/esm/{inherits-7ee3e0c1.js → inherits-d1948b66.js} +16 -16
  246. package/dist/esm/{isSymbol-807e927e.js → isSymbol-2b7f6e65.js} +1 -1
  247. package/dist/esm/{js.cookie-6874175c.js → js.cookie-2ce24ab0.js} +1 -1
  248. package/dist/esm/{keys-fc2d4c34.js → keys-e091cb65.js} +5 -5
  249. package/dist/esm/{lodash-17fdfebb.js → lodash-2b866578.js} +72 -23
  250. package/dist/esm/{main-e2627831.js → main-140f99b4.js} +49 -44
  251. package/dist/esm/{moment-12415288.js → moment-8797a4d3.js} +11 -9
  252. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-40e8d28f.js} +11 -9
  253. package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-8818fe95.js} +10 -10
  254. package/dist/esm/{stringify-008c8802.js → stringify-dedf4a20.js} +2 -2
  255. package/dist/esm/timeDifferenceCalc.js +1 -1
  256. package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-02217419.js} +13 -13
  257. package/dist/esm/{typeof-08f2c380.js → typeof-a10a5616.js} +85 -85
  258. package/dist/esm/urlFor.js +1 -1
  259. package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-7b6316cf.js} +5 -3
  260. package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-c3ba4d37.js} +10 -10
  261. package/package.json +1 -1
  262. package/dist/cjs/_object-sap-5e74ba08.js +0 -16
  263. package/dist/cjs/core.get-iterator-method-f62321d4.js +0 -39
  264. package/dist/esm/_library-528f1934.js +0 -3
  265. package/dist/esm/_object-sap-4d59d5bd.js +0 -14
  266. package/dist/esm/core.get-iterator-method-54d2e411.js +0 -36
  267. /package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-2d74941c.js} +0 -0
package/dist/cjs/Auth.js CHANGED
@@ -5,22 +5,22 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
6
 
7
7
  var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
8
- require('./_to-object-329a650b.js');
9
- require('./es6.string.iterator-cc0bbaa4.js');
10
- require('./_library-dd23b178.js');
11
- require('./_iter-detect-60b2f026.js');
12
- require('./core.get-iterator-method-f62321d4.js');
13
- require('./_object-pie-68c5bcbc.js');
14
- var _extends = require('./extends-60837c34.js');
15
- require('./web.dom.iterable-a0e279c1.js');
8
+ require('./_export-a917dedd.js');
9
+ require('./es6.string.iterator-e5f4ce45.js');
10
+ require('./_library-4360b4e4.js');
11
+ require('./_iter-detect-671c90bd.js');
12
+ require('./core.get-iterator-method-07b02ac3.js');
13
+ require('./_object-pie-6bed508e.js');
14
+ var _extends = require('./extends-5fde0677.js');
15
+ require('./web.dom.iterable-cd8a9ccb.js');
16
16
  var React = require('react');
17
17
  var React__default = _interopDefault(React);
18
18
  var Router = require('next/router');
19
19
  var Router__default = _interopDefault(Router);
20
- var stringify = require('./stringify-7c5aff47.js');
21
- var slicedToArray = require('./slicedToArray-8f385299.js');
22
- var asyncToGenerator = require('./asyncToGenerator-533d476a.js');
23
- require('./_set-species-f92c67c5.js');
20
+ var stringify = require('./stringify-e064b7d0.js');
21
+ var slicedToArray = require('./slicedToArray-d0ac47b9.js');
22
+ var asyncToGenerator = require('./asyncToGenerator-fd8e35e7.js');
23
+ require('./_set-species-47156c42.js');
24
24
  var reactBootstrap = require('react-bootstrap');
25
25
  var util = require('./util-f2c1b65b.js');
26
26
  var index$4 = require('./index-bd6c9f56.js');
@@ -147,9 +147,9 @@ var returnFormField = function returnFormField(_ref) {
147
147
  var _this = undefined;
148
148
 
149
149
  var dataHandler = function () {
150
- var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(api_url, body) {
150
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee(api_url, body) {
151
151
  var res, result;
152
- return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
152
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
153
153
  while (1) {
154
154
  switch (_context.prev = _context.next) {
155
155
  case 0:
@@ -252,9 +252,9 @@ var hooks = /*#__PURE__*/Object.freeze({
252
252
 
253
253
  var LoginForm = function LoginForm(props) {
254
254
  var handleSubmit = function () {
255
- var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(e) {
255
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee(e) {
256
256
  var body, res;
257
- return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
257
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
258
258
  while (1) {
259
259
  switch (_context.prev = _context.next) {
260
260
  case 0:
@@ -410,10 +410,10 @@ var _this$1 = undefined;
410
410
 
411
411
  var SignupForm = function SignupForm(props) {
412
412
  var handleSubmit = function () {
413
- var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(e) {
413
+ var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee3(e) {
414
414
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
415
415
 
416
- return asyncToGenerator.regenerator.wrap(function _callee3$(_context3) {
416
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee3$(_context3) {
417
417
  while (1) {
418
418
  switch (_context3.prev = _context3.next) {
419
419
  case 0:
@@ -543,9 +543,9 @@ var SignupForm = function SignupForm(props) {
543
543
  setNonHealthcareOccupation = _useState8[1];
544
544
 
545
545
  var loadInitData = function () {
546
- var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee() {
546
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee() {
547
547
  var healthcare_occupation, non_healthcare_occupation;
548
- return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
548
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
549
549
  while (1) {
550
550
  switch (_context.prev = _context.next) {
551
551
  case 0:
@@ -616,9 +616,9 @@ var SignupForm = function SignupForm(props) {
616
616
  setOccupationFields = _useState12[1];
617
617
 
618
618
  var handleOccupationChanged = function () {
619
- var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee2(e) {
619
+ var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee2(e) {
620
620
  var occupation, fields;
621
- return asyncToGenerator.regenerator.wrap(function _callee2$(_context2) {
621
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee2$(_context2) {
622
622
  while (1) {
623
623
  switch (_context2.prev = _context2.next) {
624
624
  case 0:
@@ -788,10 +788,10 @@ var _this$2 = undefined;
788
788
 
789
789
  var SignupForm$1 = function SignupForm(props) {
790
790
  var handleSubmit = function () {
791
- var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(e) {
791
+ var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee3(e) {
792
792
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
793
793
 
794
- return asyncToGenerator.regenerator.wrap(function _callee3$(_context3) {
794
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee3$(_context3) {
795
795
  while (1) {
796
796
  switch (_context3.prev = _context3.next) {
797
797
  case 0:
@@ -932,9 +932,9 @@ var SignupForm$1 = function SignupForm(props) {
932
932
  var user = props.user;
933
933
 
934
934
  var loadInitData = function () {
935
- var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee() {
935
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee() {
936
936
  var healthcare_occupation, non_healthcare_occupation, foundOccupation, fields;
937
- return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
937
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
938
938
  while (1) {
939
939
  switch (_context.prev = _context.next) {
940
940
  case 0:
@@ -1028,9 +1028,9 @@ var SignupForm$1 = function SignupForm(props) {
1028
1028
  setOccupationFields = _useState14[1];
1029
1029
 
1030
1030
  var handleOccupationChanged = function () {
1031
- var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee2(e) {
1031
+ var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee2(e) {
1032
1032
  var occupation, fields;
1033
- return asyncToGenerator.regenerator.wrap(function _callee2$(_context2) {
1033
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee2$(_context2) {
1034
1034
  while (1) {
1035
1035
  switch (_context2.prev = _context2.next) {
1036
1036
  case 0:
@@ -1283,9 +1283,9 @@ function encryptSession(session) {
1283
1283
  }
1284
1284
 
1285
1285
  var getSession = function () {
1286
- var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(req) {
1286
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee(req) {
1287
1287
  var token, buff;
1288
- return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
1288
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
1289
1289
  while (1) {
1290
1290
  switch (_context.prev = _context.next) {
1291
1291
  case 0:
@@ -1545,59 +1545,6 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
1545
1545
 
1546
1546
  var defineProperties_1 = defineProperties;
1547
1547
 
1548
- /* eslint complexity: [2, 18], max-statements: [2, 33] */
1549
- var shams = function hasSymbols() {
1550
- if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
1551
- if (typeof Symbol.iterator === 'symbol') { return true; }
1552
-
1553
- var obj = {};
1554
- var sym = Symbol('test');
1555
- var symObj = Object(sym);
1556
- if (typeof sym === 'string') { return false; }
1557
-
1558
- if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
1559
- if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
1560
-
1561
- // temp disabled per https://github.com/ljharb/object.assign/issues/17
1562
- // if (sym instanceof Symbol) { return false; }
1563
- // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
1564
- // if (!(symObj instanceof Symbol)) { return false; }
1565
-
1566
- // if (typeof Symbol.prototype.toString !== 'function') { return false; }
1567
- // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
1568
-
1569
- var symVal = 42;
1570
- obj[sym] = symVal;
1571
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
1572
- if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1573
-
1574
- if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
1575
-
1576
- var syms = Object.getOwnPropertySymbols(obj);
1577
- if (syms.length !== 1 || syms[0] !== sym) { return false; }
1578
-
1579
- if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
1580
-
1581
- if (typeof Object.getOwnPropertyDescriptor === 'function') {
1582
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
1583
- if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
1584
- }
1585
-
1586
- return true;
1587
- };
1588
-
1589
- var origSymbol = _commonjsHelpers.commonjsGlobal.Symbol;
1590
-
1591
-
1592
- var hasSymbols$1 = function hasNativeSymbols() {
1593
- if (typeof origSymbol !== 'function') { return false; }
1594
- if (typeof Symbol !== 'function') { return false; }
1595
- if (typeof origSymbol('foo') !== 'symbol') { return false; }
1596
- if (typeof Symbol('bar') !== 'symbol') { return false; }
1597
-
1598
- return shams();
1599
- };
1600
-
1601
1548
  /* eslint no-invalid-this: 1 */
1602
1549
 
1603
1550
  var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
@@ -1651,15 +1598,74 @@ var implementation$1 = function bind(that) {
1651
1598
 
1652
1599
  var functionBind = Function.prototype.bind || implementation$1;
1653
1600
 
1654
- /* globals
1655
- Atomics,
1656
- SharedArrayBuffer,
1657
- */
1601
+ /* eslint complexity: [2, 18], max-statements: [2, 33] */
1602
+ var shams = function hasSymbols() {
1603
+ if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
1604
+ if (typeof Symbol.iterator === 'symbol') { return true; }
1605
+
1606
+ var obj = {};
1607
+ var sym = Symbol('test');
1608
+ var symObj = Object(sym);
1609
+ if (typeof sym === 'string') { return false; }
1610
+
1611
+ if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
1612
+ if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
1613
+
1614
+ // temp disabled per https://github.com/ljharb/object.assign/issues/17
1615
+ // if (sym instanceof Symbol) { return false; }
1616
+ // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
1617
+ // if (!(symObj instanceof Symbol)) { return false; }
1618
+
1619
+ // if (typeof Symbol.prototype.toString !== 'function') { return false; }
1620
+ // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
1621
+
1622
+ var symVal = 42;
1623
+ obj[sym] = symVal;
1624
+ for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
1625
+ if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1626
+
1627
+ if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
1628
+
1629
+ var syms = Object.getOwnPropertySymbols(obj);
1630
+ if (syms.length !== 1 || syms[0] !== sym) { return false; }
1631
+
1632
+ if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
1633
+
1634
+ if (typeof Object.getOwnPropertyDescriptor === 'function') {
1635
+ var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
1636
+ if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
1637
+ }
1638
+
1639
+ return true;
1640
+ };
1641
+
1642
+ var origSymbol = _commonjsHelpers.commonjsGlobal.Symbol;
1643
+
1644
+
1645
+ var hasSymbols$1 = function hasNativeSymbols() {
1646
+ if (typeof origSymbol !== 'function') { return false; }
1647
+ if (typeof Symbol !== 'function') { return false; }
1648
+ if (typeof origSymbol('foo') !== 'symbol') { return false; }
1649
+ if (typeof Symbol('bar') !== 'symbol') { return false; }
1650
+
1651
+ return shams();
1652
+ };
1653
+
1654
+ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1658
1655
 
1659
1656
  var undefined$1;
1660
1657
 
1658
+ var $SyntaxError = SyntaxError;
1659
+ var $Function = Function;
1661
1660
  var $TypeError = TypeError;
1662
1661
 
1662
+ // eslint-disable-next-line consistent-return
1663
+ var getEvalledConstructor = function (expressionSyntax) {
1664
+ try {
1665
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1666
+ } catch (e) {}
1667
+ };
1668
+
1663
1669
  var $gOPD = Object.getOwnPropertyDescriptor;
1664
1670
  if ($gOPD) {
1665
1671
  try {
@@ -1669,7 +1675,9 @@ if ($gOPD) {
1669
1675
  }
1670
1676
  }
1671
1677
 
1672
- var throwTypeError = function () { throw new $TypeError(); };
1678
+ var throwTypeError = function () {
1679
+ throw new $TypeError();
1680
+ };
1673
1681
  var ThrowTypeError = $gOPD
1674
1682
  ? (function () {
1675
1683
  try {
@@ -1690,200 +1698,360 @@ var ThrowTypeError = $gOPD
1690
1698
  var hasSymbols$2 = hasSymbols$1();
1691
1699
 
1692
1700
  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1693
- var generatorFunction = undefined$1;
1694
- var asyncFunction = undefined$1;
1695
- var asyncGenFunction = undefined$1;
1701
+
1702
+ var needsEval = {};
1696
1703
 
1697
1704
  var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1698
1705
 
1699
1706
  var INTRINSICS = {
1707
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1700
1708
  '%Array%': Array,
1701
1709
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1702
- '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
1703
1710
  '%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
1704
- '%ArrayPrototype%': Array.prototype,
1705
- '%ArrayProto_entries%': Array.prototype.entries,
1706
- '%ArrayProto_forEach%': Array.prototype.forEach,
1707
- '%ArrayProto_keys%': Array.prototype.keys,
1708
- '%ArrayProto_values%': Array.prototype.values,
1709
1711
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
1710
- '%AsyncFunction%': asyncFunction,
1711
- '%AsyncFunctionPrototype%': undefined$1,
1712
- '%AsyncGenerator%': undefined$1,
1713
- '%AsyncGeneratorFunction%': asyncGenFunction,
1714
- '%AsyncGeneratorPrototype%': undefined$1,
1715
- '%AsyncIteratorPrototype%': undefined$1,
1712
+ '%AsyncFunction%': needsEval,
1713
+ '%AsyncGenerator%': needsEval,
1714
+ '%AsyncGeneratorFunction%': needsEval,
1715
+ '%AsyncIteratorPrototype%': needsEval,
1716
1716
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1717
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1717
1718
  '%Boolean%': Boolean,
1718
- '%BooleanPrototype%': Boolean.prototype,
1719
1719
  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1720
- '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
1721
1720
  '%Date%': Date,
1722
- '%DatePrototype%': Date.prototype,
1723
1721
  '%decodeURI%': decodeURI,
1724
1722
  '%decodeURIComponent%': decodeURIComponent,
1725
1723
  '%encodeURI%': encodeURI,
1726
1724
  '%encodeURIComponent%': encodeURIComponent,
1727
1725
  '%Error%': Error,
1728
- '%ErrorPrototype%': Error.prototype,
1729
1726
  '%eval%': eval, // eslint-disable-line no-eval
1730
1727
  '%EvalError%': EvalError,
1731
- '%EvalErrorPrototype%': EvalError.prototype,
1732
1728
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1733
- '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
1734
1729
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1735
- '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array.prototype,
1736
- '%Function%': Function,
1737
- '%FunctionPrototype%': Function.prototype,
1738
- '%Generator%': undefined$1,
1739
- '%GeneratorFunction%': generatorFunction,
1740
- '%GeneratorPrototype%': undefined$1,
1730
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1731
+ '%Function%': $Function,
1732
+ '%GeneratorFunction%': needsEval,
1741
1733
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1742
- '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1743
1734
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1744
- '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1745
1735
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1746
- '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
1747
1736
  '%isFinite%': isFinite,
1748
1737
  '%isNaN%': isNaN,
1749
1738
  '%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1750
1739
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1751
- '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
1752
1740
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1753
1741
  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1754
- '%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
1755
1742
  '%Math%': Math,
1756
1743
  '%Number%': Number,
1757
- '%NumberPrototype%': Number.prototype,
1758
1744
  '%Object%': Object,
1759
- '%ObjectPrototype%': Object.prototype,
1760
- '%ObjProto_toString%': Object.prototype.toString,
1761
- '%ObjProto_valueOf%': Object.prototype.valueOf,
1762
1745
  '%parseFloat%': parseFloat,
1763
1746
  '%parseInt%': parseInt,
1764
1747
  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
1765
- '%PromisePrototype%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype,
1766
- '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype.then,
1767
- '%Promise_all%': typeof Promise === 'undefined' ? undefined$1 : Promise.all,
1768
- '%Promise_reject%': typeof Promise === 'undefined' ? undefined$1 : Promise.reject,
1769
- '%Promise_resolve%': typeof Promise === 'undefined' ? undefined$1 : Promise.resolve,
1770
1748
  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1771
1749
  '%RangeError%': RangeError,
1772
- '%RangeErrorPrototype%': RangeError.prototype,
1773
1750
  '%ReferenceError%': ReferenceError,
1774
- '%ReferenceErrorPrototype%': ReferenceError.prototype,
1775
1751
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1776
1752
  '%RegExp%': RegExp,
1777
- '%RegExpPrototype%': RegExp.prototype,
1778
1753
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1779
1754
  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1780
- '%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
1781
1755
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1782
- '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
1783
1756
  '%String%': String,
1784
1757
  '%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
1785
- '%StringPrototype%': String.prototype,
1786
1758
  '%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
1787
- '%SymbolPrototype%': hasSymbols$2 ? Symbol.prototype : undefined$1,
1788
- '%SyntaxError%': SyntaxError,
1789
- '%SyntaxErrorPrototype%': SyntaxError.prototype,
1759
+ '%SyntaxError%': $SyntaxError,
1790
1760
  '%ThrowTypeError%': ThrowTypeError,
1791
1761
  '%TypedArray%': TypedArray,
1792
- '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined$1,
1793
1762
  '%TypeError%': $TypeError,
1794
- '%TypeErrorPrototype%': $TypeError.prototype,
1795
1763
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1796
- '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
1797
1764
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1798
- '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
1799
1765
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1800
- '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
1801
1766
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1802
- '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
1803
1767
  '%URIError%': URIError,
1804
- '%URIErrorPrototype%': URIError.prototype,
1805
1768
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1806
- '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap.prototype,
1807
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet,
1808
- '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet.prototype
1769
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1770
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1809
1771
  };
1810
1772
 
1773
+ var doEval = function doEval(name) {
1774
+ var value;
1775
+ if (name === '%AsyncFunction%') {
1776
+ value = getEvalledConstructor('async function () {}');
1777
+ } else if (name === '%GeneratorFunction%') {
1778
+ value = getEvalledConstructor('function* () {}');
1779
+ } else if (name === '%AsyncGeneratorFunction%') {
1780
+ value = getEvalledConstructor('async function* () {}');
1781
+ } else if (name === '%AsyncGenerator%') {
1782
+ var fn = doEval('%AsyncGeneratorFunction%');
1783
+ if (fn) {
1784
+ value = fn.prototype;
1785
+ }
1786
+ } else if (name === '%AsyncIteratorPrototype%') {
1787
+ var gen = doEval('%AsyncGenerator%');
1788
+ if (gen) {
1789
+ value = getProto(gen.prototype);
1790
+ }
1791
+ }
1792
+
1793
+ INTRINSICS[name] = value;
1794
+
1795
+ return value;
1796
+ };
1811
1797
 
1798
+ var LEGACY_ALIASES = {
1799
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1800
+ '%ArrayPrototype%': ['Array', 'prototype'],
1801
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1802
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1803
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1804
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1805
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1806
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1807
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1808
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
1809
+ '%DataViewPrototype%': ['DataView', 'prototype'],
1810
+ '%DatePrototype%': ['Date', 'prototype'],
1811
+ '%ErrorPrototype%': ['Error', 'prototype'],
1812
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
1813
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
1814
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
1815
+ '%FunctionPrototype%': ['Function', 'prototype'],
1816
+ '%Generator%': ['GeneratorFunction', 'prototype'],
1817
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
1818
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
1819
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
1820
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
1821
+ '%JSONParse%': ['JSON', 'parse'],
1822
+ '%JSONStringify%': ['JSON', 'stringify'],
1823
+ '%MapPrototype%': ['Map', 'prototype'],
1824
+ '%NumberPrototype%': ['Number', 'prototype'],
1825
+ '%ObjectPrototype%': ['Object', 'prototype'],
1826
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
1827
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
1828
+ '%PromisePrototype%': ['Promise', 'prototype'],
1829
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
1830
+ '%Promise_all%': ['Promise', 'all'],
1831
+ '%Promise_reject%': ['Promise', 'reject'],
1832
+ '%Promise_resolve%': ['Promise', 'resolve'],
1833
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
1834
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
1835
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
1836
+ '%SetPrototype%': ['Set', 'prototype'],
1837
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
1838
+ '%StringPrototype%': ['String', 'prototype'],
1839
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
1840
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
1841
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
1842
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
1843
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
1844
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
1845
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
1846
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
1847
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
1848
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
1849
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
1850
+ };
1851
+
1852
+
1853
+
1854
+ var $concat = functionBind.call(Function.call, Array.prototype.concat);
1855
+ var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
1812
1856
  var $replace = functionBind.call(Function.call, String.prototype.replace);
1857
+ var $strSlice = functionBind.call(Function.call, String.prototype.slice);
1813
1858
 
1814
1859
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1815
1860
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
1816
1861
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
1817
1862
  var stringToPath = function stringToPath(string) {
1863
+ var first = $strSlice(string, 0, 1);
1864
+ var last = $strSlice(string, -1);
1865
+ if (first === '%' && last !== '%') {
1866
+ throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
1867
+ } else if (last === '%' && first !== '%') {
1868
+ throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
1869
+ }
1818
1870
  var result = [];
1819
1871
  $replace(string, rePropName, function (match, number, quote, subString) {
1820
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);
1872
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
1821
1873
  });
1822
1874
  return result;
1823
1875
  };
1824
1876
  /* end adaptation */
1825
1877
 
1826
1878
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
1827
- if (!(name in INTRINSICS)) {
1828
- throw new SyntaxError('intrinsic ' + name + ' does not exist!');
1879
+ var intrinsicName = name;
1880
+ var alias;
1881
+ if (src(LEGACY_ALIASES, intrinsicName)) {
1882
+ alias = LEGACY_ALIASES[intrinsicName];
1883
+ intrinsicName = '%' + alias[0] + '%';
1829
1884
  }
1830
1885
 
1831
- // istanbul ignore if // hopefully this is impossible to test :-)
1832
- if (typeof INTRINSICS[name] === 'undefined' && !allowMissing) {
1833
- throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1886
+ if (src(INTRINSICS, intrinsicName)) {
1887
+ var value = INTRINSICS[intrinsicName];
1888
+ if (value === needsEval) {
1889
+ value = doEval(intrinsicName);
1890
+ }
1891
+ if (typeof value === 'undefined' && !allowMissing) {
1892
+ throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1893
+ }
1894
+
1895
+ return {
1896
+ alias: alias,
1897
+ name: intrinsicName,
1898
+ value: value
1899
+ };
1834
1900
  }
1835
1901
 
1836
- return INTRINSICS[name];
1902
+ throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
1837
1903
  };
1838
1904
 
1839
- var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1905
+ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
1840
1906
  if (typeof name !== 'string' || name.length === 0) {
1841
- throw new TypeError('intrinsic name must be a non-empty string');
1907
+ throw new $TypeError('intrinsic name must be a non-empty string');
1842
1908
  }
1843
1909
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1844
- throw new TypeError('"allowMissing" argument must be a boolean');
1910
+ throw new $TypeError('"allowMissing" argument must be a boolean');
1845
1911
  }
1846
1912
 
1847
1913
  var parts = stringToPath(name);
1914
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
1848
1915
 
1849
- var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
1850
- for (var i = 1; i < parts.length; i += 1) {
1851
- if (value != null) {
1916
+ var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
1917
+ var intrinsicRealName = intrinsic.name;
1918
+ var value = intrinsic.value;
1919
+ var skipFurtherCaching = false;
1920
+
1921
+ var alias = intrinsic.alias;
1922
+ if (alias) {
1923
+ intrinsicBaseName = alias[0];
1924
+ $spliceApply(parts, $concat([0, 1], alias));
1925
+ }
1926
+
1927
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
1928
+ var part = parts[i];
1929
+ var first = $strSlice(part, 0, 1);
1930
+ var last = $strSlice(part, -1);
1931
+ if (
1932
+ (
1933
+ (first === '"' || first === "'" || first === '`')
1934
+ || (last === '"' || last === "'" || last === '`')
1935
+ )
1936
+ && first !== last
1937
+ ) {
1938
+ throw new $SyntaxError('property names with quotes must have matching quotes');
1939
+ }
1940
+ if (part === 'constructor' || !isOwn) {
1941
+ skipFurtherCaching = true;
1942
+ }
1943
+
1944
+ intrinsicBaseName += '.' + part;
1945
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
1946
+
1947
+ if (src(INTRINSICS, intrinsicRealName)) {
1948
+ value = INTRINSICS[intrinsicRealName];
1949
+ } else if (value != null) {
1950
+ if (!(part in value)) {
1951
+ if (!allowMissing) {
1952
+ throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1953
+ }
1954
+ return void undefined$1;
1955
+ }
1852
1956
  if ($gOPD && (i + 1) >= parts.length) {
1853
- var desc = $gOPD(value, parts[i]);
1854
- value = desc ? (desc.get || desc.value) : value[parts[i]];
1957
+ var desc = $gOPD(value, part);
1958
+ isOwn = !!desc;
1959
+
1960
+ // By convention, when a data property is converted to an accessor
1961
+ // property to emulate a data property that does not suffer from
1962
+ // the override mistake, that accessor's getter is marked with
1963
+ // an `originalValue` property. Here, when we detect this, we
1964
+ // uphold the illusion by pretending to see that original data
1965
+ // property, i.e., returning the value rather than the getter
1966
+ // itself.
1967
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
1968
+ value = desc.get;
1969
+ } else {
1970
+ value = value[part];
1971
+ }
1855
1972
  } else {
1856
- value = value[parts[i]];
1973
+ isOwn = src(value, part);
1974
+ value = value[part];
1975
+ }
1976
+
1977
+ if (isOwn && !skipFurtherCaching) {
1978
+ INTRINSICS[intrinsicRealName] = value;
1857
1979
  }
1858
1980
  }
1859
1981
  }
1860
1982
  return value;
1861
1983
  };
1862
1984
 
1863
- var $Function = GetIntrinsic('%Function%');
1864
- var $apply = $Function.apply;
1865
- var $call = $Function.call;
1985
+ var callBind = _commonjsHelpers.createCommonjsModule(function (module) {
1986
+
1987
+
1988
+
1989
+
1990
+ var $apply = getIntrinsic('%Function.prototype.apply%');
1991
+ var $call = getIntrinsic('%Function.prototype.call%');
1992
+ var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
1993
+
1994
+ var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);
1995
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1996
+ var $max = getIntrinsic('%Math.max%');
1997
+
1998
+ if ($defineProperty) {
1999
+ try {
2000
+ $defineProperty({}, 'a', { value: 1 });
2001
+ } catch (e) {
2002
+ // IE 8 has a broken defineProperty
2003
+ $defineProperty = null;
2004
+ }
2005
+ }
1866
2006
 
1867
- var callBind = function callBind() {
1868
- return functionBind.apply($call, arguments);
2007
+ module.exports = function callBind(originalFunction) {
2008
+ var func = $reflectApply(functionBind, $call, arguments);
2009
+ if ($gOPD && $defineProperty) {
2010
+ var desc = $gOPD(func, 'length');
2011
+ if (desc.configurable) {
2012
+ // original length, plus the receiver, minus any additional arguments (after the receiver)
2013
+ $defineProperty(
2014
+ func,
2015
+ 'length',
2016
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
2017
+ );
2018
+ }
2019
+ }
2020
+ return func;
1869
2021
  };
1870
2022
 
1871
- var apply = function applyBind() {
1872
- return functionBind.apply($apply, arguments);
2023
+ var applyBind = function applyBind() {
2024
+ return $reflectApply(functionBind, $apply, arguments);
1873
2025
  };
1874
- callBind.apply = apply;
1875
2026
 
1876
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
2027
+ if ($defineProperty) {
2028
+ $defineProperty(module.exports, 'apply', { value: applyBind });
2029
+ } else {
2030
+ module.exports.apply = applyBind;
2031
+ }
2032
+ });
2033
+ var callBind_1 = callBind.apply;
2034
+
2035
+ var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
1877
2036
 
1878
2037
  var callBound = function callBoundIntrinsic(name, allowMissing) {
1879
- var intrinsic = GetIntrinsic(name, !!allowMissing);
1880
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
2038
+ var intrinsic = getIntrinsic(name, !!allowMissing);
2039
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
1881
2040
  return callBind(intrinsic);
1882
2041
  }
1883
2042
  return intrinsic;
1884
2043
  };
1885
2044
 
1886
- var $defineProperty = GetIntrinsic('%Object.defineProperty%');
2045
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
2046
+
2047
+ if ($defineProperty) {
2048
+ try {
2049
+ $defineProperty({}, 'a', { value: 1 });
2050
+ } catch (e) {
2051
+ // IE 8 has a broken defineProperty
2052
+ $defineProperty = null;
2053
+ }
2054
+ }
1887
2055
 
1888
2056
 
1889
2057
 
@@ -1916,10 +2084,8 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
1916
2084
  return true;
1917
2085
  };
1918
2086
 
1919
- var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1920
-
1921
- var $TypeError$1 = GetIntrinsic('%TypeError%');
1922
- var $SyntaxError = GetIntrinsic('%SyntaxError%');
2087
+ var $TypeError$1 = getIntrinsic('%TypeError%');
2088
+ var $SyntaxError$1 = getIntrinsic('%SyntaxError%');
1923
2089
 
1924
2090
 
1925
2091
 
@@ -1956,14 +2122,14 @@ var predicates = {
1956
2122
  var assertRecord = function assertRecord(Type, recordType, argumentName, value) {
1957
2123
  var predicate = predicates[recordType];
1958
2124
  if (typeof predicate !== 'function') {
1959
- throw new $SyntaxError('unknown record type: ' + recordType);
2125
+ throw new $SyntaxError$1('unknown record type: ' + recordType);
1960
2126
  }
1961
2127
  if (!predicate(Type, value)) {
1962
2128
  throw new $TypeError$1(argumentName + ' must be a ' + recordType);
1963
2129
  }
1964
2130
  };
1965
2131
 
1966
- // https://www.ecma-international.org/ecma-262/5.1/#sec-8
2132
+ // https://ecma-international.org/ecma-262/5.1/#sec-8
1967
2133
 
1968
2134
  var Type = function Type(x) {
1969
2135
  if (x === null) {
@@ -1986,16 +2152,19 @@ var Type = function Type(x) {
1986
2152
  }
1987
2153
  };
1988
2154
 
1989
- // https://www.ecma-international.org/ecma-262/6.0/#sec-tostring
2155
+ // https://ecma-international.org/ecma-262/11.0/#sec-ecmascript-data-types-and-values
1990
2156
 
1991
2157
  var Type$1 = function Type$1(x) {
1992
2158
  if (typeof x === 'symbol') {
1993
2159
  return 'Symbol';
1994
2160
  }
2161
+ if (typeof x === 'bigint') {
2162
+ return 'BigInt';
2163
+ }
1995
2164
  return Type(x);
1996
2165
  };
1997
2166
 
1998
- // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2167
+ // https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
1999
2168
 
2000
2169
  var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2001
2170
  if (typeof Desc === 'undefined') {
@@ -2026,7 +2195,282 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2026
2195
  return obj;
2027
2196
  };
2028
2197
 
2029
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2198
+ var $gOPD$1 = getIntrinsic('%Object.getOwnPropertyDescriptor%');
2199
+ if ($gOPD$1) {
2200
+ try {
2201
+ $gOPD$1([], 'length');
2202
+ } catch (e) {
2203
+ // IE 8 has a broken gOPD
2204
+ $gOPD$1 = null;
2205
+ }
2206
+ }
2207
+
2208
+ var getOwnPropertyDescriptor = $gOPD$1;
2209
+
2210
+ var $Array = getIntrinsic('%Array%');
2211
+
2212
+ // eslint-disable-next-line global-require
2213
+ var toStr$4 = !$Array.isArray && callBound('Object.prototype.toString');
2214
+
2215
+ // https://ecma-international.org/ecma-262/6.0/#sec-isarray
2216
+
2217
+ var IsArray = $Array.isArray || function IsArray(argument) {
2218
+ return toStr$4(argument) === '[object Array]';
2219
+ };
2220
+
2221
+ // https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2222
+
2223
+ var IsPropertyKey = function IsPropertyKey(argument) {
2224
+ return typeof argument === 'string' || typeof argument === 'symbol';
2225
+ };
2226
+
2227
+ var hasSymbols$3 = hasSymbols$1();
2228
+ var hasToStringTag = hasSymbols$3 && typeof Symbol.toStringTag === 'symbol';
2229
+ var has$1;
2230
+ var $exec;
2231
+ var isRegexMarker;
2232
+ var badStringifier;
2233
+
2234
+ if (hasToStringTag) {
2235
+ has$1 = callBound('Object.prototype.hasOwnProperty');
2236
+ $exec = callBound('RegExp.prototype.exec');
2237
+ isRegexMarker = {};
2238
+
2239
+ var throwRegexMarker = function () {
2240
+ throw isRegexMarker;
2241
+ };
2242
+ badStringifier = {
2243
+ toString: throwRegexMarker,
2244
+ valueOf: throwRegexMarker
2245
+ };
2246
+
2247
+ if (typeof Symbol.toPrimitive === 'symbol') {
2248
+ badStringifier[Symbol.toPrimitive] = throwRegexMarker;
2249
+ }
2250
+ }
2251
+
2252
+ var $toString = callBound('Object.prototype.toString');
2253
+ var gOPD = Object.getOwnPropertyDescriptor;
2254
+ var regexClass = '[object RegExp]';
2255
+
2256
+ var isRegex = hasToStringTag
2257
+ // eslint-disable-next-line consistent-return
2258
+ ? function isRegex(value) {
2259
+ if (!value || typeof value !== 'object') {
2260
+ return false;
2261
+ }
2262
+
2263
+ var descriptor = gOPD(value, 'lastIndex');
2264
+ var hasLastIndexDataProperty = descriptor && has$1(descriptor, 'value');
2265
+ if (!hasLastIndexDataProperty) {
2266
+ return false;
2267
+ }
2268
+
2269
+ try {
2270
+ $exec(value, badStringifier);
2271
+ } catch (e) {
2272
+ return e === isRegexMarker;
2273
+ }
2274
+ }
2275
+ : function isRegex(value) {
2276
+ // In older browsers, typeof regex incorrectly returns 'function'
2277
+ if (!value || (typeof value !== 'object' && typeof value !== 'function')) {
2278
+ return false;
2279
+ }
2280
+
2281
+ return $toString(value) === regexClass;
2282
+ };
2283
+
2284
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.2
2285
+
2286
+ var ToBoolean = function ToBoolean(value) { return !!value; };
2287
+
2288
+ var $match = getIntrinsic('%Symbol.match%', true);
2289
+
2290
+
2291
+
2292
+
2293
+
2294
+ // https://ecma-international.org/ecma-262/6.0/#sec-isregexp
2295
+
2296
+ var IsRegExp = function IsRegExp(argument) {
2297
+ if (!argument || typeof argument !== 'object') {
2298
+ return false;
2299
+ }
2300
+ if ($match) {
2301
+ var isRegExp = argument[$match];
2302
+ if (typeof isRegExp !== 'undefined') {
2303
+ return ToBoolean(isRegExp);
2304
+ }
2305
+ }
2306
+ return isRegex(argument);
2307
+ };
2308
+
2309
+ var fnToStr = Function.prototype.toString;
2310
+ var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
2311
+ var badArrayLike;
2312
+ var isCallableMarker;
2313
+ if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
2314
+ try {
2315
+ badArrayLike = Object.defineProperty({}, 'length', {
2316
+ get: function () {
2317
+ throw isCallableMarker;
2318
+ }
2319
+ });
2320
+ isCallableMarker = {};
2321
+ // eslint-disable-next-line no-throw-literal
2322
+ reflectApply(function () { throw 42; }, null, badArrayLike);
2323
+ } catch (_) {
2324
+ if (_ !== isCallableMarker) {
2325
+ reflectApply = null;
2326
+ }
2327
+ }
2328
+ } else {
2329
+ reflectApply = null;
2330
+ }
2331
+
2332
+ var constructorRegex = /^\s*class\b/;
2333
+ var isES6ClassFn = function isES6ClassFunction(value) {
2334
+ try {
2335
+ var fnStr = fnToStr.call(value);
2336
+ return constructorRegex.test(fnStr);
2337
+ } catch (e) {
2338
+ return false; // not a function
2339
+ }
2340
+ };
2341
+
2342
+ var tryFunctionObject = function tryFunctionToStr(value) {
2343
+ try {
2344
+ if (isES6ClassFn(value)) { return false; }
2345
+ fnToStr.call(value);
2346
+ return true;
2347
+ } catch (e) {
2348
+ return false;
2349
+ }
2350
+ };
2351
+ var toStr$5 = Object.prototype.toString;
2352
+ var fnClass = '[object Function]';
2353
+ var genClass = '[object GeneratorFunction]';
2354
+ var hasToStringTag$1 = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2355
+ /* globals document: false */
2356
+ var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
2357
+
2358
+ var isCallable = reflectApply
2359
+ ? function isCallable(value) {
2360
+ if (value === documentDotAll) { return true; }
2361
+ if (!value) { return false; }
2362
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2363
+ if (typeof value === 'function' && !value.prototype) { return true; }
2364
+ try {
2365
+ reflectApply(value, null, badArrayLike);
2366
+ } catch (e) {
2367
+ if (e !== isCallableMarker) { return false; }
2368
+ }
2369
+ return !isES6ClassFn(value);
2370
+ }
2371
+ : function isCallable(value) {
2372
+ if (value === documentDotAll) { return true; }
2373
+ if (!value) { return false; }
2374
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2375
+ if (typeof value === 'function' && !value.prototype) { return true; }
2376
+ if (hasToStringTag$1) { return tryFunctionObject(value); }
2377
+ if (isES6ClassFn(value)) { return false; }
2378
+ var strClass = toStr$5.call(value);
2379
+ return strClass === fnClass || strClass === genClass;
2380
+ };
2381
+
2382
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.11
2383
+
2384
+ var IsCallable = isCallable;
2385
+
2386
+ var $TypeError$2 = getIntrinsic('%TypeError%');
2387
+
2388
+
2389
+
2390
+
2391
+
2392
+ // https://ecma-international.org/ecma-262/5.1/#sec-8.10.5
2393
+
2394
+ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2395
+ if (Type$1(Obj) !== 'Object') {
2396
+ throw new $TypeError$2('ToPropertyDescriptor requires an object');
2397
+ }
2398
+
2399
+ var desc = {};
2400
+ if (src(Obj, 'enumerable')) {
2401
+ desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable);
2402
+ }
2403
+ if (src(Obj, 'configurable')) {
2404
+ desc['[[Configurable]]'] = ToBoolean(Obj.configurable);
2405
+ }
2406
+ if (src(Obj, 'value')) {
2407
+ desc['[[Value]]'] = Obj.value;
2408
+ }
2409
+ if (src(Obj, 'writable')) {
2410
+ desc['[[Writable]]'] = ToBoolean(Obj.writable);
2411
+ }
2412
+ if (src(Obj, 'get')) {
2413
+ var getter = Obj.get;
2414
+ if (typeof getter !== 'undefined' && !IsCallable(getter)) {
2415
+ throw new $TypeError$2('getter must be a function');
2416
+ }
2417
+ desc['[[Get]]'] = getter;
2418
+ }
2419
+ if (src(Obj, 'set')) {
2420
+ var setter = Obj.set;
2421
+ if (typeof setter !== 'undefined' && !IsCallable(setter)) {
2422
+ throw new $TypeError$2('setter must be a function');
2423
+ }
2424
+ desc['[[Set]]'] = setter;
2425
+ }
2426
+
2427
+ if ((src(desc, '[[Get]]') || src(desc, '[[Set]]')) && (src(desc, '[[Value]]') || src(desc, '[[Writable]]'))) {
2428
+ throw new $TypeError$2('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2429
+ }
2430
+ return desc;
2431
+ };
2432
+
2433
+ var $TypeError$3 = getIntrinsic('%TypeError%');
2434
+
2435
+
2436
+
2437
+ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2438
+
2439
+
2440
+
2441
+
2442
+
2443
+
2444
+
2445
+
2446
+
2447
+ // https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2448
+
2449
+ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2450
+ if (Type$1(O) !== 'Object') {
2451
+ throw new $TypeError$3('Assertion failed: O must be an Object');
2452
+ }
2453
+ if (!IsPropertyKey(P)) {
2454
+ throw new $TypeError$3('Assertion failed: P must be a Property Key');
2455
+ }
2456
+ if (!src(O, P)) {
2457
+ return void 0;
2458
+ }
2459
+ if (!getOwnPropertyDescriptor) {
2460
+ // ES3 / IE 8 fallback
2461
+ var arrayLength = IsArray(O) && P === 'length';
2462
+ var regexLastIndex = IsRegExp(O) && P === 'lastIndex';
2463
+ return {
2464
+ '[[Configurable]]': !(arrayLength || regexLastIndex),
2465
+ '[[Enumerable]]': $isEnumerable$1(O, P),
2466
+ '[[Value]]': O[P],
2467
+ '[[Writable]]': true
2468
+ };
2469
+ }
2470
+ return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
2471
+ };
2472
+
2473
+ // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2030
2474
 
2031
2475
  var IsDataDescriptor = function IsDataDescriptor(Desc) {
2032
2476
  if (typeof Desc === 'undefined') {
@@ -2046,34 +2490,28 @@ var isPrimitive = function isPrimitive(value) {
2046
2490
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
2047
2491
  };
2048
2492
 
2049
- var $Object = GetIntrinsic('%Object%');
2493
+ var $Object = getIntrinsic('%Object%');
2050
2494
 
2051
2495
 
2052
2496
 
2053
2497
  var $preventExtensions = $Object.preventExtensions;
2054
2498
  var $isExtensible = $Object.isExtensible;
2055
2499
 
2056
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2500
+ // https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2057
2501
 
2058
2502
  var IsExtensible = $preventExtensions
2059
2503
  ? function IsExtensible(obj) {
2060
2504
  return !isPrimitive(obj) && $isExtensible(obj);
2061
2505
  }
2062
- : function IsExtensible(obj) { // eslint-disable-line no-unused-vars
2063
- return true;
2506
+ : function IsExtensible(obj) {
2507
+ return !isPrimitive(obj);
2064
2508
  };
2065
2509
 
2066
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2067
-
2068
- var IsPropertyKey = function IsPropertyKey(argument) {
2069
- return typeof argument === 'string' || typeof argument === 'symbol';
2070
- };
2071
-
2072
2510
  var _isNaN = Number.isNaN || function isNaN(a) {
2073
2511
  return a !== a;
2074
2512
  };
2075
2513
 
2076
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.12
2514
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.12
2077
2515
 
2078
2516
  var SameValue = function SameValue(x, y) {
2079
2517
  if (x === y) { // 0 === -0, but they are not identical.
@@ -2083,8 +2521,8 @@ var SameValue = function SameValue(x, y) {
2083
2521
  return _isNaN(x) && _isNaN(y);
2084
2522
  };
2085
2523
 
2086
- var $gOPD$1 = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
2087
- var $TypeError$2 = GetIntrinsic('%TypeError%');
2524
+ var $TypeError$4 = getIntrinsic('%TypeError%');
2525
+
2088
2526
 
2089
2527
 
2090
2528
 
@@ -2095,18 +2533,18 @@ var $TypeError$2 = GetIntrinsic('%TypeError%');
2095
2533
 
2096
2534
 
2097
2535
 
2098
- // https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2536
+ // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2099
2537
 
2100
2538
  var CreateDataProperty = function CreateDataProperty(O, P, V) {
2101
2539
  if (Type$1(O) !== 'Object') {
2102
- throw new $TypeError$2('Assertion failed: Type(O) is not Object');
2540
+ throw new $TypeError$4('Assertion failed: Type(O) is not Object');
2103
2541
  }
2104
2542
  if (!IsPropertyKey(P)) {
2105
- throw new $TypeError$2('Assertion failed: IsPropertyKey(P) is not true');
2543
+ throw new $TypeError$4('Assertion failed: IsPropertyKey(P) is not true');
2106
2544
  }
2107
- var oldDesc = $gOPD$1(O, P);
2108
- var extensible = oldDesc || IsExtensible(O);
2109
- var immutable = oldDesc && (!oldDesc.writable || !oldDesc.configurable);
2545
+ var oldDesc = OrdinaryGetOwnProperty(O, P);
2546
+ var extensible = !oldDesc || IsExtensible(O);
2547
+ var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
2110
2548
  if (immutable || !extensible) {
2111
2549
  return false;
2112
2550
  }
@@ -2125,64 +2563,24 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2125
2563
  );
2126
2564
  };
2127
2565
 
2128
- var fnToStr = Function.prototype.toString;
2566
+ var $TypeError$5 = getIntrinsic('%TypeError%');
2129
2567
 
2130
- var constructorRegex = /^\s*class\b/;
2131
- var isES6ClassFn = function isES6ClassFunction(value) {
2132
- try {
2133
- var fnStr = fnToStr.call(value);
2134
- return constructorRegex.test(fnStr);
2135
- } catch (e) {
2136
- return false; // not a function
2137
- }
2138
- };
2139
-
2140
- var tryFunctionObject = function tryFunctionToStr(value) {
2141
- try {
2142
- if (isES6ClassFn(value)) { return false; }
2143
- fnToStr.call(value);
2144
- return true;
2145
- } catch (e) {
2146
- return false;
2147
- }
2148
- };
2149
- var toStr$4 = Object.prototype.toString;
2150
- var fnClass = '[object Function]';
2151
- var genClass = '[object GeneratorFunction]';
2152
- var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2153
-
2154
- var isCallable = function isCallable(value) {
2155
- if (!value) { return false; }
2156
- if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2157
- if (typeof value === 'function' && !value.prototype) { return true; }
2158
- if (hasToStringTag) { return tryFunctionObject(value); }
2159
- if (isES6ClassFn(value)) { return false; }
2160
- var strClass = toStr$4.call(value);
2161
- return strClass === fnClass || strClass === genClass;
2162
- };
2163
-
2164
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.11
2165
-
2166
- var IsCallable = isCallable;
2167
-
2168
- var $TypeError$3 = GetIntrinsic('%TypeError%');
2169
-
2170
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
2568
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.10
2171
2569
 
2172
2570
  var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2173
2571
  if (value == null) {
2174
- throw new $TypeError$3(optMessage || ('Cannot call method on ' + value));
2572
+ throw new $TypeError$5(optMessage || ('Cannot call method on ' + value));
2175
2573
  }
2176
2574
  return value;
2177
2575
  };
2178
2576
 
2179
2577
  var RequireObjectCoercible = CheckObjectCoercible;
2180
2578
 
2181
- var $Object$1 = GetIntrinsic('%Object%');
2579
+ var $Object$1 = getIntrinsic('%Object%');
2182
2580
 
2183
2581
 
2184
2582
 
2185
- // https://www.ecma-international.org/ecma-262/6.0/#sec-toobject
2583
+ // https://ecma-international.org/ecma-262/6.0/#sec-toobject
2186
2584
 
2187
2585
  var ToObject = function ToObject(value) {
2188
2586
  RequireObjectCoercible(value);
@@ -2192,10 +2590,10 @@ var ToObject = function ToObject(value) {
2192
2590
  var $gOPD$2 = Object.getOwnPropertyDescriptor;
2193
2591
  var $getOwnNames = Object.getOwnPropertyNames;
2194
2592
  var $getSymbols = Object.getOwnPropertySymbols;
2195
- var $concat = callBound('Array.prototype.concat');
2593
+ var $concat$1 = callBound('Array.prototype.concat');
2196
2594
  var $reduce = callBound('Array.prototype.reduce');
2197
2595
  var getAll = $getSymbols ? function (obj) {
2198
- return $concat($getOwnNames(obj), $getSymbols(obj));
2596
+ return $concat$1($getOwnNames(obj), $getSymbols(obj));
2199
2597
  } : $getOwnNames;
2200
2598
 
2201
2599
  var isES5 = IsCallable($gOPD$2) && IsCallable($getOwnNames);
@@ -2234,13 +2632,15 @@ var shim = function shimGetOwnPropertyDescriptors() {
2234
2632
  return polyfill$1;
2235
2633
  };
2236
2634
 
2237
- defineProperties_1(implementation$2, {
2635
+ var bound = callBind(polyfill(), Object);
2636
+
2637
+ defineProperties_1(bound, {
2238
2638
  getPolyfill: polyfill,
2239
2639
  implementation: implementation$2,
2240
2640
  shim: shim
2241
2641
  });
2242
2642
 
2243
- var object_getownpropertydescriptors = implementation$2;
2643
+ var object_getownpropertydescriptors = bound;
2244
2644
 
2245
2645
  /* globals
2246
2646
  Atomics,
@@ -2249,7 +2649,7 @@ var object_getownpropertydescriptors = implementation$2;
2249
2649
 
2250
2650
  var undefined$2;
2251
2651
 
2252
- var $TypeError$4 = TypeError;
2652
+ var $TypeError$6 = TypeError;
2253
2653
 
2254
2654
  var $gOPD$3 = Object.getOwnPropertyDescriptor;
2255
2655
  if ($gOPD$3) {
@@ -2260,7 +2660,7 @@ if ($gOPD$3) {
2260
2660
  }
2261
2661
  }
2262
2662
 
2263
- var throwTypeError$1 = function () { throw new $TypeError$4(); };
2663
+ var throwTypeError$1 = function () { throw new $TypeError$6(); };
2264
2664
  var ThrowTypeError$1 = $gOPD$3
2265
2665
  ? (function () {
2266
2666
  try {
@@ -2278,12 +2678,12 @@ var ThrowTypeError$1 = $gOPD$3
2278
2678
  }())
2279
2679
  : throwTypeError$1;
2280
2680
 
2281
- var hasSymbols$3 = hasSymbols$1();
2681
+ var hasSymbols$4 = hasSymbols$1();
2282
2682
 
2283
2683
  var getProto$1 = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
2284
- var generatorFunction$1 = undefined$2;
2285
- var asyncFunction$1 = undefined$2;
2286
- var asyncGenFunction$1 = undefined$2;
2684
+ var generatorFunction = undefined$2;
2685
+ var asyncFunction = undefined$2;
2686
+ var asyncGenFunction = undefined$2;
2287
2687
 
2288
2688
  var TypedArray$1 = typeof Uint8Array === 'undefined' ? undefined$2 : getProto$1(Uint8Array);
2289
2689
 
@@ -2291,17 +2691,17 @@ var INTRINSICS$1 = {
2291
2691
  '%Array%': Array,
2292
2692
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer,
2293
2693
  '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer.prototype,
2294
- '%ArrayIteratorPrototype%': hasSymbols$3 ? getProto$1([][Symbol.iterator]()) : undefined$2,
2694
+ '%ArrayIteratorPrototype%': hasSymbols$4 ? getProto$1([][Symbol.iterator]()) : undefined$2,
2295
2695
  '%ArrayPrototype%': Array.prototype,
2296
2696
  '%ArrayProto_entries%': Array.prototype.entries,
2297
2697
  '%ArrayProto_forEach%': Array.prototype.forEach,
2298
2698
  '%ArrayProto_keys%': Array.prototype.keys,
2299
2699
  '%ArrayProto_values%': Array.prototype.values,
2300
2700
  '%AsyncFromSyncIteratorPrototype%': undefined$2,
2301
- '%AsyncFunction%': asyncFunction$1,
2701
+ '%AsyncFunction%': asyncFunction,
2302
2702
  '%AsyncFunctionPrototype%': undefined$2,
2303
2703
  '%AsyncGenerator%': undefined$2,
2304
- '%AsyncGeneratorFunction%': asyncGenFunction$1,
2704
+ '%AsyncGeneratorFunction%': asyncGenFunction,
2305
2705
  '%AsyncGeneratorPrototype%': undefined$2,
2306
2706
  '%AsyncIteratorPrototype%': undefined$2,
2307
2707
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$2 : Atomics,
@@ -2327,7 +2727,7 @@ var INTRINSICS$1 = {
2327
2727
  '%Function%': Function,
2328
2728
  '%FunctionPrototype%': Function.prototype,
2329
2729
  '%Generator%': undefined$2,
2330
- '%GeneratorFunction%': generatorFunction$1,
2730
+ '%GeneratorFunction%': generatorFunction,
2331
2731
  '%GeneratorPrototype%': undefined$2,
2332
2732
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array,
2333
2733
  '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array.prototype,
@@ -2337,11 +2737,11 @@ var INTRINSICS$1 = {
2337
2737
  '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$2 : Int32Array.prototype,
2338
2738
  '%isFinite%': isFinite,
2339
2739
  '%isNaN%': isNaN,
2340
- '%IteratorPrototype%': hasSymbols$3 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$2,
2740
+ '%IteratorPrototype%': hasSymbols$4 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$2,
2341
2741
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$2,
2342
2742
  '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$2,
2343
2743
  '%Map%': typeof Map === 'undefined' ? undefined$2 : Map,
2344
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$3 ? undefined$2 : getProto$1(new Map()[Symbol.iterator]()),
2744
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$4 ? undefined$2 : getProto$1(new Map()[Symbol.iterator]()),
2345
2745
  '%MapPrototype%': typeof Map === 'undefined' ? undefined$2 : Map.prototype,
2346
2746
  '%Math%': Math,
2347
2747
  '%Number%': Number,
@@ -2367,22 +2767,22 @@ var INTRINSICS$1 = {
2367
2767
  '%RegExp%': RegExp,
2368
2768
  '%RegExpPrototype%': RegExp.prototype,
2369
2769
  '%Set%': typeof Set === 'undefined' ? undefined$2 : Set,
2370
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$3 ? undefined$2 : getProto$1(new Set()[Symbol.iterator]()),
2770
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$4 ? undefined$2 : getProto$1(new Set()[Symbol.iterator]()),
2371
2771
  '%SetPrototype%': typeof Set === 'undefined' ? undefined$2 : Set.prototype,
2372
2772
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer,
2373
2773
  '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer.prototype,
2374
2774
  '%String%': String,
2375
- '%StringIteratorPrototype%': hasSymbols$3 ? getProto$1(''[Symbol.iterator]()) : undefined$2,
2775
+ '%StringIteratorPrototype%': hasSymbols$4 ? getProto$1(''[Symbol.iterator]()) : undefined$2,
2376
2776
  '%StringPrototype%': String.prototype,
2377
- '%Symbol%': hasSymbols$3 ? Symbol : undefined$2,
2378
- '%SymbolPrototype%': hasSymbols$3 ? Symbol.prototype : undefined$2,
2777
+ '%Symbol%': hasSymbols$4 ? Symbol : undefined$2,
2778
+ '%SymbolPrototype%': hasSymbols$4 ? Symbol.prototype : undefined$2,
2379
2779
  '%SyntaxError%': SyntaxError,
2380
2780
  '%SyntaxErrorPrototype%': SyntaxError.prototype,
2381
2781
  '%ThrowTypeError%': ThrowTypeError$1,
2382
2782
  '%TypedArray%': TypedArray$1,
2383
2783
  '%TypedArrayPrototype%': TypedArray$1 ? TypedArray$1.prototype : undefined$2,
2384
- '%TypeError%': $TypeError$4,
2385
- '%TypeErrorPrototype%': $TypeError$4.prototype,
2784
+ '%TypeError%': $TypeError$6,
2785
+ '%TypeErrorPrototype%': $TypeError$6.prototype,
2386
2786
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array,
2387
2787
  '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array.prototype,
2388
2788
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$2 : Uint8ClampedArray,
@@ -2421,13 +2821,13 @@ var getBaseIntrinsic$1 = function getBaseIntrinsic(name, allowMissing) {
2421
2821
 
2422
2822
  // istanbul ignore if // hopefully this is impossible to test :-)
2423
2823
  if (typeof INTRINSICS$1[name] === 'undefined' && !allowMissing) {
2424
- throw new $TypeError$4('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
2824
+ throw new $TypeError$6('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
2425
2825
  }
2426
2826
 
2427
2827
  return INTRINSICS$1[name];
2428
2828
  };
2429
2829
 
2430
- var GetIntrinsic$1 = function GetIntrinsic(name, allowMissing) {
2830
+ var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
2431
2831
  if (typeof name !== 'string' || name.length === 0) {
2432
2832
  throw new TypeError('intrinsic name must be a non-empty string');
2433
2833
  }
@@ -2443,9 +2843,16 @@ var GetIntrinsic$1 = function GetIntrinsic(name, allowMissing) {
2443
2843
  if ($gOPD$3 && (i + 1) >= parts.length) {
2444
2844
  var desc = $gOPD$3(value, parts[i]);
2445
2845
  if (!allowMissing && !(parts[i] in value)) {
2446
- throw new $TypeError$4('base intrinsic for ' + name + ' exists, but the property is not available.');
2846
+ throw new $TypeError$6('base intrinsic for ' + name + ' exists, but the property is not available.');
2447
2847
  }
2448
- value = desc ? (desc.get || desc.value) : value[parts[i]];
2848
+ // By convention, when a data property is converted to an accessor
2849
+ // property to emulate a data property that does not suffer from
2850
+ // the override mistake, that accessor's getter is marked with
2851
+ // an `originalValue` property. Here, when we detect this, we
2852
+ // uphold the illusion by pretending to see that original data
2853
+ // property, i.e., returning the value rather than the getter
2854
+ // itself.
2855
+ value = desc && 'get' in desc && !('originalValue' in desc.get) ? desc.get : value[parts[i]];
2449
2856
  } else {
2450
2857
  value = value[parts[i]];
2451
2858
  }
@@ -2454,23 +2861,47 @@ var GetIntrinsic$1 = function GetIntrinsic(name, allowMissing) {
2454
2861
  return value;
2455
2862
  };
2456
2863
 
2457
- var $apply$1 = GetIntrinsic$1('%Function.prototype.apply%');
2458
- var $call$1 = GetIntrinsic$1('%Function.prototype.call%');
2459
- var $reflectApply = GetIntrinsic$1('%Reflect.apply%', true) || functionBind.call($call$1, $apply$1);
2864
+ var callBind$1 = _commonjsHelpers.createCommonjsModule(function (module) {
2865
+
2866
+
2867
+
2868
+
2460
2869
 
2461
- var callBind$1 = function callBind() {
2462
- return $reflectApply(functionBind, $call$1, arguments);
2870
+ var $apply = GetIntrinsic('%Function.prototype.apply%');
2871
+ var $call = GetIntrinsic('%Function.prototype.call%');
2872
+ var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
2873
+
2874
+ var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2875
+
2876
+ if ($defineProperty) {
2877
+ try {
2878
+ $defineProperty({}, 'a', { value: 1 });
2879
+ } catch (e) {
2880
+ // IE 8 has a broken defineProperty
2881
+ $defineProperty = null;
2882
+ }
2883
+ }
2884
+
2885
+ module.exports = function callBind() {
2886
+ return $reflectApply(functionBind, $call, arguments);
2463
2887
  };
2464
2888
 
2465
- var apply$1 = function applyBind() {
2466
- return $reflectApply(functionBind, $apply$1, arguments);
2889
+ var applyBind = function applyBind() {
2890
+ return $reflectApply(functionBind, $apply, arguments);
2467
2891
  };
2468
- callBind$1.apply = apply$1;
2469
2892
 
2470
- var $indexOf$1 = callBind$1(GetIntrinsic$1('String.prototype.indexOf'));
2893
+ if ($defineProperty) {
2894
+ $defineProperty(module.exports, 'apply', { value: applyBind });
2895
+ } else {
2896
+ module.exports.apply = applyBind;
2897
+ }
2898
+ });
2899
+ var callBind_1$1 = callBind$1.apply;
2900
+
2901
+ var $indexOf$1 = callBind$1(GetIntrinsic('String.prototype.indexOf'));
2471
2902
 
2472
2903
  var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
2473
- var intrinsic = GetIntrinsic$1(name, !!allowMissing);
2904
+ var intrinsic = GetIntrinsic(name, !!allowMissing);
2474
2905
  if (typeof intrinsic === 'function' && $indexOf$1(name, '.prototype.')) {
2475
2906
  return callBind$1(intrinsic);
2476
2907
  }
@@ -2495,13 +2926,13 @@ if (typeof Promise !== 'function') {
2495
2926
 
2496
2927
 
2497
2928
  var $slice = callBound$1('Array.prototype.slice');
2498
- var $concat$1 = callBound$1('Array.prototype.concat');
2929
+ var $concat$2 = callBound$1('Array.prototype.concat');
2499
2930
  var $forEach = callBound$1('Array.prototype.forEach');
2500
2931
 
2501
- var hasSymbols$4 = hasSymbols$1();
2932
+ var hasSymbols$5 = hasSymbols$1();
2502
2933
 
2503
- var kCustomPromisifiedSymbol = hasSymbols$4 ? Symbol('util.promisify.custom') : null;
2504
- var kCustomPromisifyArgsSymbol = hasSymbols$4 ? Symbol('customPromisifyArgs') : null;
2934
+ var kCustomPromisifiedSymbol = hasSymbols$5 ? Symbol('util.promisify.custom') : null;
2935
+ var kCustomPromisifyArgsSymbol = hasSymbols$5 ? Symbol('customPromisifyArgs') : null;
2505
2936
 
2506
2937
  var implementation$3 = function promisify(orig) {
2507
2938
  if (typeof orig !== 'function') {
@@ -2511,7 +2942,7 @@ var implementation$3 = function promisify(orig) {
2511
2942
  throw error;
2512
2943
  }
2513
2944
 
2514
- if (hasSymbols$4 && orig[kCustomPromisifiedSymbol]) {
2945
+ if (hasSymbols$5 && orig[kCustomPromisifiedSymbol]) {
2515
2946
  var customFunction = orig[kCustomPromisifiedSymbol];
2516
2947
  if (typeof customFunction !== 'function') {
2517
2948
  throw new TypeError('The [util.promisify.custom] property must be a function');
@@ -2533,7 +2964,7 @@ var implementation$3 = function promisify(orig) {
2533
2964
  var args = $slice(arguments);
2534
2965
  var self = this; // eslint-disable-line no-invalid-this
2535
2966
  return new Promise(function (resolve, reject) {
2536
- orig.apply(self, $concat$1(args, function (err) {
2967
+ orig.apply(self, $concat$2(args, function (err) {
2537
2968
  var values = arguments.length > 1 ? $slice(arguments, 1) : [];
2538
2969
  if (err) {
2539
2970
  reject(err);
@@ -2812,7 +3243,7 @@ var md5 = _commonjsHelpers.createCommonjsModule(function (module) {
2812
3243
  message = utf8.stringToBytes(message);
2813
3244
  else if (isBuffer(message))
2814
3245
  message = Array.prototype.slice.call(message, 0);
2815
- else if (!Array.isArray(message))
3246
+ else if (!Array.isArray(message) && message.constructor !== Uint8Array)
2816
3247
  message = message.toString();
2817
3248
  // else, assume byte array already
2818
3249
 
@@ -2968,10 +3399,10 @@ var config = {
2968
3399
  };
2969
3400
 
2970
3401
  var findUser = function () {
2971
- var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(email) {
3402
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee(email) {
2972
3403
  var password = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
2973
3404
  var db$1, query, res, user, hash, passwordsMatch, user_shared, occupation_id;
2974
- return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
3405
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
2975
3406
  while (1) {
2976
3407
  switch (_context.prev = _context.next) {
2977
3408
  case 0:
@@ -3076,9 +3507,9 @@ var findUser = function () {
3076
3507
  }();
3077
3508
 
3078
3509
  var updateUser = function () {
3079
- var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee2(data) {
3510
+ var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee2(data) {
3080
3511
  var db$1, query, res, hash, columns, i, column, occupation_name;
3081
- return asyncToGenerator.regenerator.wrap(function _callee2$(_context2) {
3512
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee2$(_context2) {
3082
3513
  while (1) {
3083
3514
  switch (_context2.prev = _context2.next) {
3084
3515
  case 0:
@@ -3279,9 +3710,9 @@ var validateUserData = function validateUserData(data) {
3279
3710
  };
3280
3711
 
3281
3712
  var getOccupationNameById = function () {
3282
- var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(db, occupation_id) {
3713
+ var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee3(db, occupation_id) {
3283
3714
  var query, res;
3284
- return asyncToGenerator.regenerator.wrap(function _callee3$(_context3) {
3715
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee3$(_context3) {
3285
3716
  while (1) {
3286
3717
  switch (_context3.prev = _context3.next) {
3287
3718
  case 0:
@@ -3316,9 +3747,9 @@ var getOccupationNameById = function () {
3316
3747
  }();
3317
3748
 
3318
3749
  var createUser = function () {
3319
- var _ref4 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee4(data) {
3750
+ var _ref4 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee4(data) {
3320
3751
  var db$1, query, res, hash, columns, i, column, user_id, occupation_name;
3321
- return asyncToGenerator.regenerator.wrap(function _callee4$(_context4) {
3752
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee4$(_context4) {
3322
3753
  while (1) {
3323
3754
  switch (_context4.prev = _context4.next) {
3324
3755
  case 0:
@@ -3463,9 +3894,9 @@ var createUser = function () {
3463
3894
  }();
3464
3895
 
3465
3896
  var createUser$1 = function () {
3466
- var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(data) {
3897
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee(data) {
3467
3898
  var res;
3468
- return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
3899
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
3469
3900
  while (1) {
3470
3901
  switch (_context.prev = _context.next) {
3471
3902
  case 0:
@@ -3499,9 +3930,9 @@ var createUser$1 = function () {
3499
3930
  }();
3500
3931
 
3501
3932
  var updateUser$1 = function () {
3502
- var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee2(data) {
3933
+ var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee2(data) {
3503
3934
  var res;
3504
- return asyncToGenerator.regenerator.wrap(function _callee2$(_context2) {
3935
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee2$(_context2) {
3505
3936
  while (1) {
3506
3937
  switch (_context2.prev = _context2.next) {
3507
3938
  case 0:
@@ -3535,11 +3966,11 @@ var updateUser$1 = function () {
3535
3966
  }();
3536
3967
 
3537
3968
  var findUser$1 = function () {
3538
- var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(_ref4) {
3969
+ var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee3(_ref4) {
3539
3970
  var email = _ref4.email,
3540
3971
  password = _ref4.password;
3541
3972
  var res;
3542
- return asyncToGenerator.regenerator.wrap(function _callee3$(_context3) {
3973
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee3$(_context3) {
3543
3974
  while (1) {
3544
3975
  switch (_context3.prev = _context3.next) {
3545
3976
  case 0:
@@ -3606,9 +4037,9 @@ var config$1 = {
3606
4037
  };
3607
4038
 
3608
4039
  var getOccupation = function () {
3609
- var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(type) {
4040
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee(type) {
3610
4041
  var db$1, query, result;
3611
- return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
4042
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
3612
4043
  while (1) {
3613
4044
  switch (_context.prev = _context.next) {
3614
4045
  case 0:
@@ -3639,9 +4070,9 @@ var getOccupation = function () {
3639
4070
  }();
3640
4071
 
3641
4072
  var getFieldsAndOptions = function () {
3642
- var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee2(occupation) {
4073
+ var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee2(occupation) {
3643
4074
  var db$1, query, result, i, field, optionQuery, options;
3644
- return asyncToGenerator.regenerator.wrap(function _callee2$(_context2) {
4075
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee2$(_context2) {
3645
4076
  while (1) {
3646
4077
  switch (_context2.prev = _context2.next) {
3647
4078
  case 0:
@@ -3702,9 +4133,9 @@ var getFieldsAndOptions = function () {
3702
4133
  }();
3703
4134
 
3704
4135
  var ProcessData = (function () {
3705
- var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(req, res) {
4136
+ var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee3(req, res) {
3706
4137
  var action, data, type, occupation;
3707
- return asyncToGenerator.regenerator.wrap(function _callee3$(_context3) {
4138
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee3$(_context3) {
3708
4139
  while (1) {
3709
4140
  switch (_context3.prev = _context3.next) {
3710
4141
  case 0: