@mjhls/mjh-framework 1.0.703 → 1.0.704-beta-v3

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 (266) hide show
  1. package/dist/cjs/AD.js +1 -1
  2. package/dist/cjs/AD300x250.js +17 -19
  3. package/dist/cjs/AD300x250x600.js +17 -19
  4. package/dist/cjs/AD728x90.js +18 -20
  5. package/dist/cjs/ADFloatingFooter.js +16 -18
  6. package/dist/cjs/ADFooter.js +5 -5
  7. package/dist/cjs/ADGutter.js +16 -18
  8. package/dist/cjs/{ADInfeed-ede153e2.js → ADInfeed-38066a36.js} +2 -2
  9. package/dist/cjs/ADSkyscraper.js +16 -18
  10. package/dist/cjs/ADSponsoredResources.js +16 -18
  11. package/dist/cjs/ADWebcast.js +16 -18
  12. package/dist/cjs/ADWelcome.js +18 -20
  13. package/dist/cjs/{ADlgInfeed-6a121a0d.js → ADlgInfeed-d95c9027.js} +2 -2
  14. package/dist/cjs/AccordionPanel.js +6 -6
  15. package/dist/cjs/AdSlot.js +17 -19
  16. package/dist/cjs/AdSlotsProvider.js +2 -4
  17. package/dist/cjs/AlphabeticList.js +9 -9
  18. package/dist/cjs/ArticleCarousel.js +13 -16
  19. package/dist/cjs/ArticleSeriesListing.js +24 -27
  20. package/dist/cjs/Auth.js +280 -762
  21. package/dist/cjs/{AuthorComponent-d19285ed.js → AuthorComponent-bb831b74.js} +1 -1
  22. package/dist/cjs/Beam.js +19 -19
  23. package/dist/cjs/{BlockContent-e53217a7.js → BlockContent-80b15fac.js} +25 -23
  24. package/dist/cjs/Breadcrumbs.js +5 -5
  25. package/dist/cjs/BrowseVideosListing.js +14 -17
  26. package/dist/cjs/CMEDeck.js +23 -26
  27. package/dist/cjs/Column2.js +13 -15
  28. package/dist/cjs/Column3.js +22 -24
  29. package/dist/cjs/ConferenceArticleCard.js +2 -2
  30. package/dist/cjs/DeckContent.js +30 -33
  31. package/dist/cjs/DeckQueue.js +29 -32
  32. package/dist/cjs/{Dfp-13ff07b4.js → Dfp-390337bf.js} +10 -13
  33. package/dist/cjs/EventsDeck.js +34 -35
  34. package/dist/cjs/ExternalResources.js +32 -35
  35. package/dist/cjs/Feature.js +3 -4
  36. package/dist/cjs/ForbesHero.js +9 -12
  37. package/dist/cjs/GridContent.js +42 -45
  38. package/dist/cjs/GridHero.js +9 -12
  39. package/dist/cjs/GroupDeck.js +13 -13
  40. package/dist/cjs/HamMagazine.js +17 -19
  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 +9 -12
  45. package/dist/cjs/IssueDeck.js +12 -15
  46. package/dist/cjs/IssueLanding.js +26 -29
  47. package/dist/cjs/LeftNav.js +16 -18
  48. package/dist/cjs/MasterDeck.js +34 -37
  49. package/dist/cjs/NavDvm.js +9 -9
  50. package/dist/cjs/NavMagazine.js +17 -19
  51. package/dist/cjs/NavNative.js +14 -16
  52. package/dist/cjs/NavNormal.js +10 -10
  53. package/dist/cjs/OncliveHero.js +3 -2
  54. package/dist/cjs/OncliveLargeHero.js +9 -12
  55. package/dist/cjs/PageFilter.js +5 -5
  56. package/dist/cjs/PartnerDetailListing.js +38 -41
  57. package/dist/cjs/PdfDownload.js +1 -1
  58. package/dist/cjs/PopUpModal.js +5 -5
  59. package/dist/cjs/PublicationDeck.js +5 -8
  60. package/dist/cjs/PublicationLanding.js +57 -60
  61. package/dist/cjs/QueueDeckExpanded.js +33 -36
  62. package/dist/cjs/RecentNews.js +3 -3
  63. package/dist/cjs/RelatedContent.js +3 -6
  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 +14 -16
  68. package/dist/cjs/{SocialSearchComponent-1ef1e6fb.js → SocialSearchComponent-56d49a1a.js} +7 -7
  69. package/dist/cjs/TaxonomyCard.js +7 -10
  70. package/dist/cjs/TemplateNormal.js +31 -33
  71. package/dist/cjs/ThumbnailCard.js +2 -5
  72. package/dist/cjs/Ustream.js +9 -10
  73. package/dist/cjs/VerticalHero.js +2 -2
  74. package/dist/cjs/VideoSeriesCard.js +10 -13
  75. package/dist/cjs/VideoSeriesFilter.js +11 -11
  76. package/dist/cjs/VideoSeriesListing.js +24 -27
  77. package/dist/cjs/View.js +46 -49
  78. package/dist/cjs/YahooHero.js +9 -12
  79. package/dist/cjs/YoutubeGroup.js +14 -17
  80. package/dist/cjs/{_is-array-a82382b4.js → _is-array-754e012d.js} +11 -11
  81. package/dist/cjs/{_iter-detect-671c90bd.js → _iter-detect-60b2f026.js} +10 -10
  82. package/dist/cjs/{_library-4360b4e4.js → _library-dd23b178.js} +1 -1
  83. package/dist/cjs/{_object-pie-6bed508e.js → _object-pie-68c5bcbc.js} +2 -2
  84. package/dist/cjs/_object-sap-5e74ba08.js +16 -0
  85. package/dist/cjs/{_set-species-47156c42.js → _set-species-f92c67c5.js} +17 -17
  86. package/dist/cjs/{_export-a917dedd.js → _to-object-329a650b.js} +31 -31
  87. package/dist/cjs/{asyncToGenerator-fd8e35e7.js → asyncToGenerator-533d476a.js} +69 -69
  88. package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-156bd4d6.js} +3 -4
  89. package/dist/cjs/core.get-iterator-method-f62321d4.js +39 -0
  90. package/dist/cjs/{debounce-fb3a46a9.js → debounce-eb287781.js} +7 -7
  91. package/dist/cjs/{define-property-9b6df20e.js → define-property-f4d12f4e.js} +4 -4
  92. package/dist/cjs/{defineProperty-d3c0cfc0.js → defineProperty-55548b25.js} +2 -2
  93. package/dist/cjs/{es6.string.iterator-e5f4ce45.js → es6.string.iterator-cc0bbaa4.js} +34 -34
  94. package/dist/cjs/{extends-5fde0677.js → extends-60837c34.js} +11 -11
  95. package/dist/cjs/{get-70ef997d.js → get-68c52cb1.js} +11 -11
  96. package/dist/cjs/getRelatedArticle.js +72 -134
  97. package/dist/cjs/getSerializers.js +30 -33
  98. package/dist/cjs/{getTargeting-5ca9bfaf.js → getTargeting-fee8c429.js} +2 -2
  99. package/dist/cjs/getTargeting.js +8 -8
  100. package/dist/cjs/{index-d7577df6.js → index-099d45ae.js} +16 -12
  101. package/dist/cjs/{index-949261b4.js → index-3294d3bc.js} +19 -18
  102. package/dist/cjs/{index-ff69979f.js → index-39beccb3.js} +21 -26
  103. package/dist/cjs/{index-b1ee7cd9.js → index-58dae365.js} +329 -335
  104. package/dist/cjs/{index-29e3f3a9.js → index-da796b8c.js} +12 -11
  105. package/dist/cjs/{index.es-e9d84959.js → index.es-9110add6.js} +5 -23
  106. package/dist/cjs/{index.esm-8a8fa078.js → index.esm-4d410430.js} +4 -3
  107. package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
  108. package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
  109. package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
  110. package/dist/cjs/index.js +54 -57
  111. package/dist/cjs/{inherits-02a27fbf.js → inherits-513d81cd.js} +16 -16
  112. package/dist/cjs/{isSymbol-a0d5eb50.js → isSymbol-04666465.js} +5 -5
  113. package/dist/cjs/{js.cookie-e4684873.js → js.cookie-a511c430.js} +1 -1
  114. package/dist/cjs/{keys-1a65eb47.js → keys-a586b7a0.js} +5 -5
  115. package/dist/cjs/{lodash-257df6c4.js → lodash-7fd85bcf.js} +1 -1
  116. package/dist/cjs/{main-1442052b.js → main-03ffa84c.js} +57 -90
  117. package/dist/cjs/{moment-29403f08.js → moment-575fe24c.js} +8 -11
  118. package/dist/cjs/{react-social-icons-5604d0d1.js → react-social-icons-f7f48f71.js} +13 -11
  119. package/dist/cjs/{slicedToArray-d0ac47b9.js → slicedToArray-8f385299.js} +10 -10
  120. package/dist/cjs/{smoothscroll-03c20c7d.js → smoothscroll-95231a70.js} +1 -1
  121. package/dist/cjs/{stringify-e064b7d0.js → stringify-7c5aff47.js} +2 -2
  122. package/dist/cjs/timeDifferenceCalc.js +1 -1
  123. package/dist/cjs/{toConsumableArray-d47f0c64.js → toConsumableArray-9a3476fe.js} +13 -13
  124. package/dist/cjs/{typeof-5763a25b.js → typeof-725500bc.js} +84 -84
  125. package/dist/cjs/urlFor.js +1 -1
  126. package/dist/cjs/{visibility-sensor-ede0bc7b.js → visibility-sensor-0c45a583.js} +6 -5
  127. package/dist/cjs/{web.dom.iterable-cd8a9ccb.js → web.dom.iterable-a0e279c1.js} +10 -10
  128. package/dist/esm/AD.js +1 -1
  129. package/dist/esm/AD300x250.js +19 -21
  130. package/dist/esm/AD300x250x600.js +19 -21
  131. package/dist/esm/AD728x90.js +20 -22
  132. package/dist/esm/ADFloatingFooter.js +18 -20
  133. package/dist/esm/ADFooter.js +5 -5
  134. package/dist/esm/ADGutter.js +18 -20
  135. package/dist/esm/{ADInfeed-d890d5ca.js → ADInfeed-7b1b2fcb.js} +4 -4
  136. package/dist/esm/ADSkyscraper.js +18 -20
  137. package/dist/esm/ADSponsoredResources.js +18 -20
  138. package/dist/esm/ADWebcast.js +18 -20
  139. package/dist/esm/ADWelcome.js +20 -22
  140. package/dist/esm/{ADlgInfeed-1d006b36.js → ADlgInfeed-2afe92e6.js} +4 -4
  141. package/dist/esm/AccordionPanel.js +6 -6
  142. package/dist/esm/AdSlot.js +17 -19
  143. package/dist/esm/AdSlotsProvider.js +2 -4
  144. package/dist/esm/AlphabeticList.js +9 -9
  145. package/dist/esm/ArticleCarousel.js +13 -16
  146. package/dist/esm/ArticleSeriesListing.js +24 -27
  147. package/dist/esm/Auth.js +280 -762
  148. package/dist/esm/{AuthorComponent-8ffb1deb.js → AuthorComponent-00f13201.js} +1 -1
  149. package/dist/esm/Beam.js +19 -19
  150. package/dist/esm/{BlockContent-e6f64e62.js → BlockContent-c409aca5.js} +21 -23
  151. package/dist/esm/Breadcrumbs.js +5 -5
  152. package/dist/esm/BrowseVideosListing.js +14 -17
  153. package/dist/esm/CMEDeck.js +23 -26
  154. package/dist/esm/Column2.js +13 -15
  155. package/dist/esm/Column3.js +22 -24
  156. package/dist/esm/ConferenceArticleCard.js +2 -2
  157. package/dist/esm/DeckContent.js +30 -33
  158. package/dist/esm/DeckQueue.js +29 -32
  159. package/dist/esm/{Dfp-7db56716.js → Dfp-741c01be.js} +10 -13
  160. package/dist/esm/EventsDeck.js +34 -35
  161. package/dist/esm/ExternalResources.js +32 -35
  162. package/dist/esm/Feature.js +3 -4
  163. package/dist/esm/ForbesHero.js +9 -12
  164. package/dist/esm/GridContent.js +42 -45
  165. package/dist/esm/GridHero.js +9 -12
  166. package/dist/esm/GroupDeck.js +13 -13
  167. package/dist/esm/HamMagazine.js +17 -19
  168. package/dist/esm/Hero.js +1 -1
  169. package/dist/esm/HighlightenVideo.js +1 -1
  170. package/dist/esm/HorizontalHero.js +3 -3
  171. package/dist/esm/IssueContentDeck.js +9 -12
  172. package/dist/esm/IssueDeck.js +12 -15
  173. package/dist/esm/IssueLanding.js +26 -29
  174. package/dist/esm/LeftNav.js +16 -18
  175. package/dist/esm/MasterDeck.js +34 -37
  176. package/dist/esm/NavDvm.js +9 -9
  177. package/dist/esm/NavMagazine.js +17 -19
  178. package/dist/esm/NavNative.js +14 -16
  179. package/dist/esm/NavNormal.js +10 -10
  180. package/dist/esm/OncliveHero.js +3 -2
  181. package/dist/esm/OncliveLargeHero.js +9 -12
  182. package/dist/esm/PageFilter.js +5 -5
  183. package/dist/esm/PartnerDetailListing.js +38 -41
  184. package/dist/esm/PdfDownload.js +1 -1
  185. package/dist/esm/PopUpModal.js +5 -5
  186. package/dist/esm/PublicationDeck.js +5 -8
  187. package/dist/esm/PublicationLanding.js +57 -60
  188. package/dist/esm/QueueDeckExpanded.js +33 -36
  189. package/dist/esm/RecentNews.js +3 -3
  190. package/dist/esm/RelatedContent.js +3 -6
  191. package/dist/esm/Search.js +5 -5
  192. package/dist/esm/Segment.js +20 -20
  193. package/dist/esm/SetCookie.js +2 -2
  194. package/dist/esm/SideFooter.js +14 -16
  195. package/dist/esm/{SocialSearchComponent-4eae0149.js → SocialSearchComponent-677ed3bd.js} +7 -7
  196. package/dist/esm/TaxonomyCard.js +7 -10
  197. package/dist/esm/TemplateNormal.js +33 -35
  198. package/dist/esm/ThumbnailCard.js +2 -5
  199. package/dist/esm/Ustream.js +9 -10
  200. package/dist/esm/VerticalHero.js +2 -2
  201. package/dist/esm/VideoSeriesCard.js +10 -13
  202. package/dist/esm/VideoSeriesFilter.js +11 -11
  203. package/dist/esm/VideoSeriesListing.js +24 -27
  204. package/dist/esm/View.js +51 -54
  205. package/dist/esm/YahooHero.js +9 -12
  206. package/dist/esm/YoutubeGroup.js +14 -17
  207. package/dist/esm/{_is-array-5bea6006.js → _is-array-49698029.js} +10 -10
  208. package/dist/esm/{_iter-detect-65720de7.js → _iter-detect-59409a32.js} +8 -8
  209. package/dist/esm/_library-528f1934.js +3 -0
  210. package/dist/esm/{_object-pie-8e2f6c3a.js → _object-pie-71ac75a4.js} +1 -1
  211. package/dist/esm/_object-sap-4d59d5bd.js +14 -0
  212. package/dist/esm/{_set-species-26ee5c2a.js → _set-species-cede29f8.js} +14 -14
  213. package/dist/esm/{_export-f7ec2adf.js → _to-object-ded78eb9.js} +3 -3
  214. package/dist/esm/{asyncToGenerator-0c61f551.js → asyncToGenerator-7c654f36.js} +69 -69
  215. package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-83f53e4e.js} +3 -4
  216. package/dist/esm/core.get-iterator-method-54d2e411.js +36 -0
  217. package/dist/esm/{debounce-7b569c00.js → debounce-1a993acf.js} +6 -6
  218. package/dist/esm/{define-property-7a40a451.js → define-property-de3fc946.js} +4 -4
  219. package/dist/esm/{defineProperty-a2ac5d3d.js → defineProperty-b798470d.js} +2 -2
  220. package/dist/esm/{es6.string.iterator-13b94db0.js → es6.string.iterator-9b2af4a5.js} +27 -27
  221. package/dist/esm/{extends-8e0228d5.js → extends-cc5da797.js} +11 -11
  222. package/dist/esm/{get-bb2155d5.js → get-5ee14cda.js} +10 -10
  223. package/dist/esm/getRelatedArticle.js +72 -134
  224. package/dist/esm/getSerializers.js +30 -33
  225. package/dist/esm/{getTargeting-d97a1e83.js → getTargeting-2acdec91.js} +2 -2
  226. package/dist/esm/getTargeting.js +8 -8
  227. package/dist/esm/{index-f7fdcc91.js → index-3849e3fe.js} +21 -26
  228. package/dist/esm/{index-17490425.js → index-3f4dd6f2.js} +12 -12
  229. package/dist/esm/{index-a4e850af.js → index-5f9f807a.js} +8 -11
  230. package/dist/esm/{index-4540328d.js → index-7779a6df.js} +332 -338
  231. package/dist/esm/{index-1295881c.js → index-ef6d5dcf.js} +17 -16
  232. package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
  233. package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
  234. package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
  235. package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
  236. package/dist/esm/{index.esm-4838a32e.js → index.esm-fd746768.js} +4 -3
  237. package/dist/esm/index.js +54 -57
  238. package/dist/esm/{inherits-d1948b66.js → inherits-7ee3e0c1.js} +16 -16
  239. package/dist/esm/{isSymbol-2b7f6e65.js → isSymbol-807e927e.js} +1 -1
  240. package/dist/esm/{js.cookie-2ce24ab0.js → js.cookie-6874175c.js} +1 -1
  241. package/dist/esm/{keys-e091cb65.js → keys-fc2d4c34.js} +5 -5
  242. package/dist/esm/{lodash-2b866578.js → lodash-ec8c6b48.js} +1 -1
  243. package/dist/esm/{main-140f99b4.js → main-35ff7b4f.js} +52 -88
  244. package/dist/esm/{moment-8797a4d3.js → moment-e2f9b20c.js} +9 -11
  245. package/dist/esm/{react-social-icons-40e8d28f.js → react-social-icons-a7d5c5c7.js} +9 -11
  246. package/dist/esm/{slicedToArray-8818fe95.js → slicedToArray-7021e5df.js} +10 -10
  247. package/dist/esm/{stringify-dedf4a20.js → stringify-008c8802.js} +2 -2
  248. package/dist/esm/timeDifferenceCalc.js +1 -1
  249. package/dist/esm/{toConsumableArray-02217419.js → toConsumableArray-725434a0.js} +13 -13
  250. package/dist/esm/{typeof-a10a5616.js → typeof-08f2c380.js} +85 -85
  251. package/dist/esm/urlFor.js +1 -1
  252. package/dist/esm/{visibility-sensor-7b6316cf.js → visibility-sensor-0baa4eea.js} +3 -5
  253. package/dist/esm/{web.dom.iterable-c3ba4d37.js → web.dom.iterable-8956f9a5.js} +10 -10
  254. package/package.json +3 -3
  255. package/dist/cjs/_object-sap-947ef6fb.js +0 -16
  256. package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +0 -10
  257. package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +0 -9
  258. package/dist/cjs/_react_commonjs-external-58b78ee1.js +0 -10
  259. package/dist/cjs/core.get-iterator-method-07b02ac3.js +0 -39
  260. package/dist/esm/_library-90219a8d.js +0 -3
  261. package/dist/esm/_object-sap-146241c9.js +0 -14
  262. package/dist/esm/_prop-types_commonjs-external-9481d338.js +0 -5
  263. package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +0 -5
  264. package/dist/esm/_react_commonjs-external-22b61490.js +0 -5
  265. package/dist/esm/core.get-iterator-method-dbbb346b.js +0 -36
  266. /package/dist/esm/{smoothscroll-2d74941c.js → smoothscroll-4b699764.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('./_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');
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');
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-e064b7d0.js');
21
- var slicedToArray = require('./slicedToArray-d0ac47b9.js');
22
- var asyncToGenerator = require('./asyncToGenerator-fd8e35e7.js');
23
- require('./_set-species-47156c42.js');
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');
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._regeneratorRuntime.mark(function _callee(api_url, body) {
150
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(api_url, body) {
151
151
  var res, result;
152
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
152
+ return asyncToGenerator.regenerator.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._regeneratorRuntime.mark(function _callee(e) {
255
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(e) {
256
256
  var body, res;
257
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
257
+ return asyncToGenerator.regenerator.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._regeneratorRuntime.mark(function _callee3(e) {
413
+ var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(e) {
414
414
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
415
415
 
416
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee3$(_context3) {
416
+ return asyncToGenerator.regenerator.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._regeneratorRuntime.mark(function _callee() {
546
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee() {
547
547
  var healthcare_occupation, non_healthcare_occupation;
548
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
548
+ return asyncToGenerator.regenerator.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._regeneratorRuntime.mark(function _callee2(e) {
619
+ var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee2(e) {
620
620
  var occupation, fields;
621
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee2$(_context2) {
621
+ return asyncToGenerator.regenerator.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._regeneratorRuntime.mark(function _callee3(e) {
791
+ var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(e) {
792
792
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
793
793
 
794
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee3$(_context3) {
794
+ return asyncToGenerator.regenerator.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._regeneratorRuntime.mark(function _callee() {
935
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee() {
936
936
  var healthcare_occupation, non_healthcare_occupation, foundOccupation, fields;
937
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
937
+ return asyncToGenerator.regenerator.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._regeneratorRuntime.mark(function _callee2(e) {
1031
+ var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee2(e) {
1032
1032
  var occupation, fields;
1033
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee2$(_context2) {
1033
+ return asyncToGenerator.regenerator.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._regeneratorRuntime.mark(function _callee(req) {
1286
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(req) {
1287
1287
  var token, buff;
1288
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
1288
+ return asyncToGenerator.regenerator.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 no-invalid-this: 1 */
1549
-
1550
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1551
- var slice$1 = Array.prototype.slice;
1552
- var toStr$3 = Object.prototype.toString;
1553
- var funcType = '[object Function]';
1554
-
1555
- var implementation$1 = function bind(that) {
1556
- var target = this;
1557
- if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
1558
- throw new TypeError(ERROR_MESSAGE + target);
1559
- }
1560
- var args = slice$1.call(arguments, 1);
1561
-
1562
- var bound;
1563
- var binder = function () {
1564
- if (this instanceof bound) {
1565
- var result = target.apply(
1566
- this,
1567
- args.concat(slice$1.call(arguments))
1568
- );
1569
- if (Object(result) === result) {
1570
- return result;
1571
- }
1572
- return this;
1573
- } else {
1574
- return target.apply(
1575
- that,
1576
- args.concat(slice$1.call(arguments))
1577
- );
1578
- }
1579
- };
1580
-
1581
- var boundLength = Math.max(0, target.length - args.length);
1582
- var boundArgs = [];
1583
- for (var i = 0; i < boundLength; i++) {
1584
- boundArgs.push('$' + i);
1585
- }
1586
-
1587
- bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1588
-
1589
- if (target.prototype) {
1590
- var Empty = function Empty() {};
1591
- Empty.prototype = target.prototype;
1592
- bound.prototype = new Empty();
1593
- Empty.prototype = null;
1594
- }
1595
-
1596
- return bound;
1597
- };
1598
-
1599
- var functionBind = Function.prototype.bind || implementation$1;
1600
-
1601
1548
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
1602
1549
  var shams = function hasSymbols() {
1603
1550
  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
@@ -1651,21 +1598,68 @@ var hasSymbols$1 = function hasNativeSymbols() {
1651
1598
  return shams();
1652
1599
  };
1653
1600
 
1654
- var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1601
+ /* eslint no-invalid-this: 1 */
1655
1602
 
1656
- var undefined$1;
1603
+ var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1604
+ var slice$1 = Array.prototype.slice;
1605
+ var toStr$3 = Object.prototype.toString;
1606
+ var funcType = '[object Function]';
1657
1607
 
1658
- var $SyntaxError = SyntaxError;
1659
- var $Function = Function;
1660
- var $TypeError = TypeError;
1608
+ var implementation$1 = function bind(that) {
1609
+ var target = this;
1610
+ if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
1611
+ throw new TypeError(ERROR_MESSAGE + target);
1612
+ }
1613
+ var args = slice$1.call(arguments, 1);
1661
1614
 
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) {}
1615
+ var bound;
1616
+ var binder = function () {
1617
+ if (this instanceof bound) {
1618
+ var result = target.apply(
1619
+ this,
1620
+ args.concat(slice$1.call(arguments))
1621
+ );
1622
+ if (Object(result) === result) {
1623
+ return result;
1624
+ }
1625
+ return this;
1626
+ } else {
1627
+ return target.apply(
1628
+ that,
1629
+ args.concat(slice$1.call(arguments))
1630
+ );
1631
+ }
1632
+ };
1633
+
1634
+ var boundLength = Math.max(0, target.length - args.length);
1635
+ var boundArgs = [];
1636
+ for (var i = 0; i < boundLength; i++) {
1637
+ boundArgs.push('$' + i);
1638
+ }
1639
+
1640
+ bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1641
+
1642
+ if (target.prototype) {
1643
+ var Empty = function Empty() {};
1644
+ Empty.prototype = target.prototype;
1645
+ bound.prototype = new Empty();
1646
+ Empty.prototype = null;
1647
+ }
1648
+
1649
+ return bound;
1667
1650
  };
1668
1651
 
1652
+ var functionBind = Function.prototype.bind || implementation$1;
1653
+
1654
+ /* globals
1655
+ Atomics,
1656
+ SharedArrayBuffer,
1657
+ */
1658
+
1659
+ var undefined$1;
1660
+
1661
+ var $TypeError = TypeError;
1662
+
1669
1663
  var $gOPD = Object.getOwnPropertyDescriptor;
1670
1664
  if ($gOPD) {
1671
1665
  try {
@@ -1675,9 +1669,7 @@ if ($gOPD) {
1675
1669
  }
1676
1670
  }
1677
1671
 
1678
- var throwTypeError = function () {
1679
- throw new $TypeError();
1680
- };
1672
+ var throwTypeError = function () { throw new $TypeError(); };
1681
1673
  var ThrowTypeError = $gOPD
1682
1674
  ? (function () {
1683
1675
  try {
@@ -1698,351 +1690,203 @@ var ThrowTypeError = $gOPD
1698
1690
  var hasSymbols$2 = hasSymbols$1();
1699
1691
 
1700
1692
  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1701
-
1702
- var needsEval = {};
1693
+ var generatorFunction = undefined$1;
1694
+ var asyncFunction = undefined$1;
1695
+ var asyncGenFunction = undefined$1;
1703
1696
 
1704
1697
  var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1705
1698
 
1706
1699
  var INTRINSICS = {
1707
- '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1708
1700
  '%Array%': Array,
1709
1701
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1702
+ '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
1710
1703
  '%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,
1711
1709
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
1712
- '%AsyncFunction%': needsEval,
1713
- '%AsyncGenerator%': needsEval,
1714
- '%AsyncGeneratorFunction%': needsEval,
1715
- '%AsyncIteratorPrototype%': needsEval,
1710
+ '%AsyncFunction%': asyncFunction,
1711
+ '%AsyncFunctionPrototype%': undefined$1,
1712
+ '%AsyncGenerator%': undefined$1,
1713
+ '%AsyncGeneratorFunction%': asyncGenFunction,
1714
+ '%AsyncGeneratorPrototype%': undefined$1,
1715
+ '%AsyncIteratorPrototype%': undefined$1,
1716
1716
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1717
- '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1718
1717
  '%Boolean%': Boolean,
1718
+ '%BooleanPrototype%': Boolean.prototype,
1719
1719
  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1720
+ '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
1720
1721
  '%Date%': Date,
1722
+ '%DatePrototype%': Date.prototype,
1721
1723
  '%decodeURI%': decodeURI,
1722
1724
  '%decodeURIComponent%': decodeURIComponent,
1723
1725
  '%encodeURI%': encodeURI,
1724
1726
  '%encodeURIComponent%': encodeURIComponent,
1725
1727
  '%Error%': Error,
1728
+ '%ErrorPrototype%': Error.prototype,
1726
1729
  '%eval%': eval, // eslint-disable-line no-eval
1727
1730
  '%EvalError%': EvalError,
1731
+ '%EvalErrorPrototype%': EvalError.prototype,
1728
1732
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1733
+ '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
1729
1734
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1730
- '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1731
- '%Function%': $Function,
1732
- '%GeneratorFunction%': needsEval,
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,
1733
1741
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1742
+ '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1734
1743
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1744
+ '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1735
1745
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1746
+ '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
1736
1747
  '%isFinite%': isFinite,
1737
1748
  '%isNaN%': isNaN,
1738
1749
  '%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1739
1750
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1751
+ '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
1740
1752
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1741
1753
  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1754
+ '%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
1742
1755
  '%Math%': Math,
1743
1756
  '%Number%': Number,
1757
+ '%NumberPrototype%': Number.prototype,
1744
1758
  '%Object%': Object,
1759
+ '%ObjectPrototype%': Object.prototype,
1760
+ '%ObjProto_toString%': Object.prototype.toString,
1761
+ '%ObjProto_valueOf%': Object.prototype.valueOf,
1745
1762
  '%parseFloat%': parseFloat,
1746
1763
  '%parseInt%': parseInt,
1747
1764
  '%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,
1748
1770
  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1749
1771
  '%RangeError%': RangeError,
1772
+ '%RangeErrorPrototype%': RangeError.prototype,
1750
1773
  '%ReferenceError%': ReferenceError,
1774
+ '%ReferenceErrorPrototype%': ReferenceError.prototype,
1751
1775
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1752
1776
  '%RegExp%': RegExp,
1777
+ '%RegExpPrototype%': RegExp.prototype,
1753
1778
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1754
1779
  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1780
+ '%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
1755
1781
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1782
+ '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
1756
1783
  '%String%': String,
1757
1784
  '%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
1785
+ '%StringPrototype%': String.prototype,
1758
1786
  '%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
1759
- '%SyntaxError%': $SyntaxError,
1787
+ '%SymbolPrototype%': hasSymbols$2 ? Symbol.prototype : undefined$1,
1788
+ '%SyntaxError%': SyntaxError,
1789
+ '%SyntaxErrorPrototype%': SyntaxError.prototype,
1760
1790
  '%ThrowTypeError%': ThrowTypeError,
1761
1791
  '%TypedArray%': TypedArray,
1792
+ '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined$1,
1762
1793
  '%TypeError%': $TypeError,
1794
+ '%TypeErrorPrototype%': $TypeError.prototype,
1763
1795
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1796
+ '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
1764
1797
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1798
+ '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
1765
1799
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1800
+ '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
1766
1801
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1802
+ '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
1767
1803
  '%URIError%': URIError,
1804
+ '%URIErrorPrototype%': URIError.prototype,
1768
1805
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1769
- '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1770
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1771
- };
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
- };
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']
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
1850
1809
  };
1851
1810
 
1852
1811
 
1853
-
1854
- var $concat = functionBind.call(Function.call, Array.prototype.concat);
1855
- var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
1856
1812
  var $replace = functionBind.call(Function.call, String.prototype.replace);
1857
- var $strSlice = functionBind.call(Function.call, String.prototype.slice);
1858
1813
 
1859
1814
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1860
1815
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
1861
1816
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
1862
1817
  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
- }
1870
1818
  var result = [];
1871
1819
  $replace(string, rePropName, function (match, number, quote, subString) {
1872
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
1820
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);
1873
1821
  });
1874
1822
  return result;
1875
1823
  };
1876
1824
  /* end adaptation */
1877
1825
 
1878
1826
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
1879
- var intrinsicName = name;
1880
- var alias;
1881
- if (src(LEGACY_ALIASES, intrinsicName)) {
1882
- alias = LEGACY_ALIASES[intrinsicName];
1883
- intrinsicName = '%' + alias[0] + '%';
1827
+ if (!(name in INTRINSICS)) {
1828
+ throw new SyntaxError('intrinsic ' + name + ' does not exist!');
1884
1829
  }
1885
1830
 
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
- };
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!');
1900
1834
  }
1901
1835
 
1902
- throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
1836
+ return INTRINSICS[name];
1903
1837
  };
1904
1838
 
1905
- var getIntrinsic = function GetIntrinsic(name, allowMissing) {
1839
+ var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1906
1840
  if (typeof name !== 'string' || name.length === 0) {
1907
- throw new $TypeError('intrinsic name must be a non-empty string');
1841
+ throw new TypeError('intrinsic name must be a non-empty string');
1908
1842
  }
1909
1843
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1910
- throw new $TypeError('"allowMissing" argument must be a boolean');
1844
+ throw new TypeError('"allowMissing" argument must be a boolean');
1911
1845
  }
1912
1846
 
1913
1847
  var parts = stringToPath(name);
1914
- var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
1915
1848
 
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
- }
1849
+ var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
1850
+ for (var i = 1; i < parts.length; i += 1) {
1851
+ if (value != null) {
1956
1852
  if ($gOPD && (i + 1) >= parts.length) {
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];
1853
+ var desc = $gOPD(value, parts[i]);
1854
+ if (!allowMissing && !(parts[i] in value)) {
1855
+ throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1971
1856
  }
1857
+ value = desc ? (desc.get || desc.value) : value[parts[i]];
1972
1858
  } else {
1973
- isOwn = src(value, part);
1974
- value = value[part];
1975
- }
1976
-
1977
- if (isOwn && !skipFurtherCaching) {
1978
- INTRINSICS[intrinsicRealName] = value;
1859
+ value = value[parts[i]];
1979
1860
  }
1980
1861
  }
1981
1862
  }
1982
1863
  return value;
1983
1864
  };
1984
1865
 
1985
- var callBind = _commonjsHelpers.createCommonjsModule(function (module) {
1986
-
1866
+ var $Function = GetIntrinsic('%Function%');
1867
+ var $apply = $Function.apply;
1868
+ var $call = $Function.call;
1987
1869
 
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
- }
2006
-
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;
1870
+ var callBind = function callBind() {
1871
+ return functionBind.apply($call, arguments);
2021
1872
  };
2022
1873
 
2023
- var applyBind = function applyBind() {
2024
- return $reflectApply(functionBind, $apply, arguments);
1874
+ var apply = function applyBind() {
1875
+ return functionBind.apply($apply, arguments);
2025
1876
  };
1877
+ callBind.apply = apply;
2026
1878
 
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'));
1879
+ var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
2036
1880
 
2037
1881
  var callBound = function callBoundIntrinsic(name, allowMissing) {
2038
- var intrinsic = getIntrinsic(name, !!allowMissing);
2039
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
1882
+ var intrinsic = GetIntrinsic(name, !!allowMissing);
1883
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
2040
1884
  return callBind(intrinsic);
2041
1885
  }
2042
1886
  return intrinsic;
2043
1887
  };
2044
1888
 
2045
- var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1889
+ var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2046
1890
 
2047
1891
  if ($defineProperty) {
2048
1892
  try {
@@ -2084,8 +1928,10 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
2084
1928
  return true;
2085
1929
  };
2086
1930
 
2087
- var $TypeError$1 = getIntrinsic('%TypeError%');
2088
- var $SyntaxError$1 = getIntrinsic('%SyntaxError%');
1931
+ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1932
+
1933
+ var $TypeError$1 = GetIntrinsic('%TypeError%');
1934
+ var $SyntaxError = GetIntrinsic('%SyntaxError%');
2089
1935
 
2090
1936
 
2091
1937
 
@@ -2122,14 +1968,14 @@ var predicates = {
2122
1968
  var assertRecord = function assertRecord(Type, recordType, argumentName, value) {
2123
1969
  var predicate = predicates[recordType];
2124
1970
  if (typeof predicate !== 'function') {
2125
- throw new $SyntaxError$1('unknown record type: ' + recordType);
1971
+ throw new $SyntaxError('unknown record type: ' + recordType);
2126
1972
  }
2127
1973
  if (!predicate(Type, value)) {
2128
1974
  throw new $TypeError$1(argumentName + ' must be a ' + recordType);
2129
1975
  }
2130
1976
  };
2131
1977
 
2132
- // https://ecma-international.org/ecma-262/5.1/#sec-8
1978
+ // https://www.ecma-international.org/ecma-262/5.1/#sec-8
2133
1979
 
2134
1980
  var Type = function Type(x) {
2135
1981
  if (x === null) {
@@ -2152,19 +1998,16 @@ var Type = function Type(x) {
2152
1998
  }
2153
1999
  };
2154
2000
 
2155
- // https://ecma-international.org/ecma-262/11.0/#sec-ecmascript-data-types-and-values
2001
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-tostring
2156
2002
 
2157
2003
  var Type$1 = function Type$1(x) {
2158
2004
  if (typeof x === 'symbol') {
2159
2005
  return 'Symbol';
2160
2006
  }
2161
- if (typeof x === 'bigint') {
2162
- return 'BigInt';
2163
- }
2164
2007
  return Type(x);
2165
2008
  };
2166
2009
 
2167
- // https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2010
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2168
2011
 
2169
2012
  var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2170
2013
  if (typeof Desc === 'undefined') {
@@ -2195,7 +2038,7 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2195
2038
  return obj;
2196
2039
  };
2197
2040
 
2198
- var $gOPD$1 = getIntrinsic('%Object.getOwnPropertyDescriptor%');
2041
+ var $gOPD$1 = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
2199
2042
  if ($gOPD$1) {
2200
2043
  try {
2201
2044
  $gOPD$1([], 'length');
@@ -2207,85 +2050,65 @@ if ($gOPD$1) {
2207
2050
 
2208
2051
  var getOwnPropertyDescriptor = $gOPD$1;
2209
2052
 
2210
- var $Array = getIntrinsic('%Array%');
2053
+ var $Array = GetIntrinsic('%Array%');
2211
2054
 
2212
2055
  // eslint-disable-next-line global-require
2213
2056
  var toStr$4 = !$Array.isArray && callBound('Object.prototype.toString');
2214
2057
 
2215
- // https://ecma-international.org/ecma-262/6.0/#sec-isarray
2058
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-isarray
2216
2059
 
2217
2060
  var IsArray = $Array.isArray || function IsArray(argument) {
2218
2061
  return toStr$4(argument) === '[object Array]';
2219
2062
  };
2220
2063
 
2221
- // https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2064
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2222
2065
 
2223
2066
  var IsPropertyKey = function IsPropertyKey(argument) {
2224
2067
  return typeof argument === 'string' || typeof argument === 'symbol';
2225
2068
  };
2226
2069
 
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
- };
2070
+ var regexExec = RegExp.prototype.exec;
2071
+ var gOPD = Object.getOwnPropertyDescriptor;
2246
2072
 
2247
- if (typeof Symbol.toPrimitive === 'symbol') {
2248
- badStringifier[Symbol.toPrimitive] = throwRegexMarker;
2249
- }
2250
- }
2073
+ var tryRegexExecCall = function tryRegexExec(value) {
2074
+ try {
2075
+ var lastIndex = value.lastIndex;
2076
+ value.lastIndex = 0; // eslint-disable-line no-param-reassign
2251
2077
 
2252
- var $toString = callBound('Object.prototype.toString');
2253
- var gOPD = Object.getOwnPropertyDescriptor;
2078
+ regexExec.call(value);
2079
+ return true;
2080
+ } catch (e) {
2081
+ return false;
2082
+ } finally {
2083
+ value.lastIndex = lastIndex; // eslint-disable-line no-param-reassign
2084
+ }
2085
+ };
2086
+ var toStr$5 = Object.prototype.toString;
2254
2087
  var regexClass = '[object RegExp]';
2088
+ var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2255
2089
 
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
- }
2090
+ var isRegex = function isRegex(value) {
2091
+ if (!value || typeof value !== 'object') {
2092
+ return false;
2093
+ }
2094
+ if (!hasToStringTag) {
2095
+ return toStr$5.call(value) === regexClass;
2096
+ }
2268
2097
 
2269
- try {
2270
- $exec(value, badStringifier);
2271
- } catch (e) {
2272
- return e === isRegexMarker;
2273
- }
2098
+ var descriptor = gOPD(value, 'lastIndex');
2099
+ var hasLastIndexDataProperty = descriptor && src(descriptor, 'value');
2100
+ if (!hasLastIndexDataProperty) {
2101
+ return false;
2274
2102
  }
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
2103
 
2281
- return $toString(value) === regexClass;
2282
- };
2104
+ return tryRegexExecCall(value);
2105
+ };
2283
2106
 
2284
- // http://ecma-international.org/ecma-262/5.1/#sec-9.2
2107
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.2
2285
2108
 
2286
2109
  var ToBoolean = function ToBoolean(value) { return !!value; };
2287
2110
 
2288
- var $match = getIntrinsic('%Symbol.match%', true);
2111
+ var $match = GetIntrinsic('%Symbol.match%', true);
2289
2112
 
2290
2113
 
2291
2114
 
@@ -2307,27 +2130,6 @@ var IsRegExp = function IsRegExp(argument) {
2307
2130
  };
2308
2131
 
2309
2132
  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
2133
 
2332
2134
  var constructorRegex = /^\s*class\b/;
2333
2135
  var isES6ClassFn = function isES6ClassFunction(value) {
@@ -2348,42 +2150,26 @@ var tryFunctionObject = function tryFunctionToStr(value) {
2348
2150
  return false;
2349
2151
  }
2350
2152
  };
2351
- var toStr$5 = Object.prototype.toString;
2153
+ var toStr$6 = Object.prototype.toString;
2352
2154
  var fnClass = '[object Function]';
2353
2155
  var genClass = '[object GeneratorFunction]';
2354
2156
  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
2157
 
2382
- // http://ecma-international.org/ecma-262/5.1/#sec-9.11
2158
+ var isCallable = function isCallable(value) {
2159
+ if (!value) { return false; }
2160
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2161
+ if (typeof value === 'function' && !value.prototype) { return true; }
2162
+ if (hasToStringTag$1) { return tryFunctionObject(value); }
2163
+ if (isES6ClassFn(value)) { return false; }
2164
+ var strClass = toStr$6.call(value);
2165
+ return strClass === fnClass || strClass === genClass;
2166
+ };
2167
+
2168
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.11
2383
2169
 
2384
2170
  var IsCallable = isCallable;
2385
2171
 
2386
- var $TypeError$2 = getIntrinsic('%TypeError%');
2172
+ var $TypeError$2 = GetIntrinsic('%TypeError%');
2387
2173
 
2388
2174
 
2389
2175
 
@@ -2412,7 +2198,7 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2412
2198
  if (src(Obj, 'get')) {
2413
2199
  var getter = Obj.get;
2414
2200
  if (typeof getter !== 'undefined' && !IsCallable(getter)) {
2415
- throw new $TypeError$2('getter must be a function');
2201
+ throw new TypeError('getter must be a function');
2416
2202
  }
2417
2203
  desc['[[Get]]'] = getter;
2418
2204
  }
@@ -2430,7 +2216,7 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2430
2216
  return desc;
2431
2217
  };
2432
2218
 
2433
- var $TypeError$3 = getIntrinsic('%TypeError%');
2219
+ var $TypeError$3 = GetIntrinsic('%TypeError%');
2434
2220
 
2435
2221
 
2436
2222
 
@@ -2444,7 +2230,7 @@ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2444
2230
 
2445
2231
 
2446
2232
 
2447
- // https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2233
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2448
2234
 
2449
2235
  var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2450
2236
  if (Type$1(O) !== 'Object') {
@@ -2470,7 +2256,7 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2470
2256
  return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
2471
2257
  };
2472
2258
 
2473
- // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2259
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2474
2260
 
2475
2261
  var IsDataDescriptor = function IsDataDescriptor(Desc) {
2476
2262
  if (typeof Desc === 'undefined') {
@@ -2490,14 +2276,14 @@ var isPrimitive = function isPrimitive(value) {
2490
2276
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
2491
2277
  };
2492
2278
 
2493
- var $Object = getIntrinsic('%Object%');
2279
+ var $Object = GetIntrinsic('%Object%');
2494
2280
 
2495
2281
 
2496
2282
 
2497
2283
  var $preventExtensions = $Object.preventExtensions;
2498
2284
  var $isExtensible = $Object.isExtensible;
2499
2285
 
2500
- // https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2286
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2501
2287
 
2502
2288
  var IsExtensible = $preventExtensions
2503
2289
  ? function IsExtensible(obj) {
@@ -2511,7 +2297,7 @@ var _isNaN = Number.isNaN || function isNaN(a) {
2511
2297
  return a !== a;
2512
2298
  };
2513
2299
 
2514
- // http://ecma-international.org/ecma-262/5.1/#sec-9.12
2300
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.12
2515
2301
 
2516
2302
  var SameValue = function SameValue(x, y) {
2517
2303
  if (x === y) { // 0 === -0, but they are not identical.
@@ -2521,7 +2307,7 @@ var SameValue = function SameValue(x, y) {
2521
2307
  return _isNaN(x) && _isNaN(y);
2522
2308
  };
2523
2309
 
2524
- var $TypeError$4 = getIntrinsic('%TypeError%');
2310
+ var $TypeError$4 = GetIntrinsic('%TypeError%');
2525
2311
 
2526
2312
 
2527
2313
 
@@ -2533,7 +2319,7 @@ var $TypeError$4 = getIntrinsic('%TypeError%');
2533
2319
 
2534
2320
 
2535
2321
 
2536
- // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2322
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2537
2323
 
2538
2324
  var CreateDataProperty = function CreateDataProperty(O, P, V) {
2539
2325
  if (Type$1(O) !== 'Object') {
@@ -2563,9 +2349,9 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2563
2349
  );
2564
2350
  };
2565
2351
 
2566
- var $TypeError$5 = getIntrinsic('%TypeError%');
2352
+ var $TypeError$5 = GetIntrinsic('%TypeError%');
2567
2353
 
2568
- // http://ecma-international.org/ecma-262/5.1/#sec-9.10
2354
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
2569
2355
 
2570
2356
  var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2571
2357
  if (value == null) {
@@ -2576,11 +2362,11 @@ var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2576
2362
 
2577
2363
  var RequireObjectCoercible = CheckObjectCoercible;
2578
2364
 
2579
- var $Object$1 = getIntrinsic('%Object%');
2365
+ var $Object$1 = GetIntrinsic('%Object%');
2580
2366
 
2581
2367
 
2582
2368
 
2583
- // https://ecma-international.org/ecma-262/6.0/#sec-toobject
2369
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-toobject
2584
2370
 
2585
2371
  var ToObject = function ToObject(value) {
2586
2372
  RequireObjectCoercible(value);
@@ -2590,10 +2376,10 @@ var ToObject = function ToObject(value) {
2590
2376
  var $gOPD$2 = Object.getOwnPropertyDescriptor;
2591
2377
  var $getOwnNames = Object.getOwnPropertyNames;
2592
2378
  var $getSymbols = Object.getOwnPropertySymbols;
2593
- var $concat$1 = callBound('Array.prototype.concat');
2379
+ var $concat = callBound('Array.prototype.concat');
2594
2380
  var $reduce = callBound('Array.prototype.reduce');
2595
2381
  var getAll = $getSymbols ? function (obj) {
2596
- return $concat$1($getOwnNames(obj), $getSymbols(obj));
2382
+ return $concat($getOwnNames(obj), $getSymbols(obj));
2597
2383
  } : $getOwnNames;
2598
2384
 
2599
2385
  var isES5 = IsCallable($gOPD$2) && IsCallable($getOwnNames);
@@ -2632,281 +2418,13 @@ var shim = function shimGetOwnPropertyDescriptors() {
2632
2418
  return polyfill$1;
2633
2419
  };
2634
2420
 
2635
- var bound = callBind(polyfill(), Object);
2636
-
2637
- defineProperties_1(bound, {
2421
+ defineProperties_1(implementation$2, {
2638
2422
  getPolyfill: polyfill,
2639
2423
  implementation: implementation$2,
2640
2424
  shim: shim
2641
2425
  });
2642
2426
 
2643
- var object_getownpropertydescriptors = bound;
2644
-
2645
- /* globals
2646
- Atomics,
2647
- SharedArrayBuffer,
2648
- */
2649
-
2650
- var undefined$2;
2651
-
2652
- var $TypeError$6 = TypeError;
2653
-
2654
- var $gOPD$3 = Object.getOwnPropertyDescriptor;
2655
- if ($gOPD$3) {
2656
- try {
2657
- $gOPD$3({}, '');
2658
- } catch (e) {
2659
- $gOPD$3 = null; // this is IE 8, which has a broken gOPD
2660
- }
2661
- }
2662
-
2663
- var throwTypeError$1 = function () { throw new $TypeError$6(); };
2664
- var ThrowTypeError$1 = $gOPD$3
2665
- ? (function () {
2666
- try {
2667
- // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
2668
- arguments.callee; // IE 8 does not throw here
2669
- return throwTypeError$1;
2670
- } catch (calleeThrows) {
2671
- try {
2672
- // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
2673
- return $gOPD$3(arguments, 'callee').get;
2674
- } catch (gOPDthrows) {
2675
- return throwTypeError$1;
2676
- }
2677
- }
2678
- }())
2679
- : throwTypeError$1;
2680
-
2681
- var hasSymbols$4 = hasSymbols$1();
2682
-
2683
- var getProto$1 = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
2684
- var generatorFunction = undefined$2;
2685
- var asyncFunction = undefined$2;
2686
- var asyncGenFunction = undefined$2;
2687
-
2688
- var TypedArray$1 = typeof Uint8Array === 'undefined' ? undefined$2 : getProto$1(Uint8Array);
2689
-
2690
- var INTRINSICS$1 = {
2691
- '%Array%': Array,
2692
- '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer,
2693
- '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer.prototype,
2694
- '%ArrayIteratorPrototype%': hasSymbols$4 ? getProto$1([][Symbol.iterator]()) : undefined$2,
2695
- '%ArrayPrototype%': Array.prototype,
2696
- '%ArrayProto_entries%': Array.prototype.entries,
2697
- '%ArrayProto_forEach%': Array.prototype.forEach,
2698
- '%ArrayProto_keys%': Array.prototype.keys,
2699
- '%ArrayProto_values%': Array.prototype.values,
2700
- '%AsyncFromSyncIteratorPrototype%': undefined$2,
2701
- '%AsyncFunction%': asyncFunction,
2702
- '%AsyncFunctionPrototype%': undefined$2,
2703
- '%AsyncGenerator%': undefined$2,
2704
- '%AsyncGeneratorFunction%': asyncGenFunction,
2705
- '%AsyncGeneratorPrototype%': undefined$2,
2706
- '%AsyncIteratorPrototype%': undefined$2,
2707
- '%Atomics%': typeof Atomics === 'undefined' ? undefined$2 : Atomics,
2708
- '%Boolean%': Boolean,
2709
- '%BooleanPrototype%': Boolean.prototype,
2710
- '%DataView%': typeof DataView === 'undefined' ? undefined$2 : DataView,
2711
- '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$2 : DataView.prototype,
2712
- '%Date%': Date,
2713
- '%DatePrototype%': Date.prototype,
2714
- '%decodeURI%': decodeURI,
2715
- '%decodeURIComponent%': decodeURIComponent,
2716
- '%encodeURI%': encodeURI,
2717
- '%encodeURIComponent%': encodeURIComponent,
2718
- '%Error%': Error,
2719
- '%ErrorPrototype%': Error.prototype,
2720
- '%eval%': eval, // eslint-disable-line no-eval
2721
- '%EvalError%': EvalError,
2722
- '%EvalErrorPrototype%': EvalError.prototype,
2723
- '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$2 : Float32Array,
2724
- '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$2 : Float32Array.prototype,
2725
- '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$2 : Float64Array,
2726
- '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$2 : Float64Array.prototype,
2727
- '%Function%': Function,
2728
- '%FunctionPrototype%': Function.prototype,
2729
- '%Generator%': undefined$2,
2730
- '%GeneratorFunction%': generatorFunction,
2731
- '%GeneratorPrototype%': undefined$2,
2732
- '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array,
2733
- '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array.prototype,
2734
- '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$2 : Int16Array,
2735
- '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$2 : Int8Array.prototype,
2736
- '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$2 : Int32Array,
2737
- '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$2 : Int32Array.prototype,
2738
- '%isFinite%': isFinite,
2739
- '%isNaN%': isNaN,
2740
- '%IteratorPrototype%': hasSymbols$4 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$2,
2741
- '%JSON%': typeof JSON === 'object' ? JSON : undefined$2,
2742
- '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$2,
2743
- '%Map%': typeof Map === 'undefined' ? undefined$2 : Map,
2744
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$4 ? undefined$2 : getProto$1(new Map()[Symbol.iterator]()),
2745
- '%MapPrototype%': typeof Map === 'undefined' ? undefined$2 : Map.prototype,
2746
- '%Math%': Math,
2747
- '%Number%': Number,
2748
- '%NumberPrototype%': Number.prototype,
2749
- '%Object%': Object,
2750
- '%ObjectPrototype%': Object.prototype,
2751
- '%ObjProto_toString%': Object.prototype.toString,
2752
- '%ObjProto_valueOf%': Object.prototype.valueOf,
2753
- '%parseFloat%': parseFloat,
2754
- '%parseInt%': parseInt,
2755
- '%Promise%': typeof Promise === 'undefined' ? undefined$2 : Promise,
2756
- '%PromisePrototype%': typeof Promise === 'undefined' ? undefined$2 : Promise.prototype,
2757
- '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$2 : Promise.prototype.then,
2758
- '%Promise_all%': typeof Promise === 'undefined' ? undefined$2 : Promise.all,
2759
- '%Promise_reject%': typeof Promise === 'undefined' ? undefined$2 : Promise.reject,
2760
- '%Promise_resolve%': typeof Promise === 'undefined' ? undefined$2 : Promise.resolve,
2761
- '%Proxy%': typeof Proxy === 'undefined' ? undefined$2 : Proxy,
2762
- '%RangeError%': RangeError,
2763
- '%RangeErrorPrototype%': RangeError.prototype,
2764
- '%ReferenceError%': ReferenceError,
2765
- '%ReferenceErrorPrototype%': ReferenceError.prototype,
2766
- '%Reflect%': typeof Reflect === 'undefined' ? undefined$2 : Reflect,
2767
- '%RegExp%': RegExp,
2768
- '%RegExpPrototype%': RegExp.prototype,
2769
- '%Set%': typeof Set === 'undefined' ? undefined$2 : Set,
2770
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$4 ? undefined$2 : getProto$1(new Set()[Symbol.iterator]()),
2771
- '%SetPrototype%': typeof Set === 'undefined' ? undefined$2 : Set.prototype,
2772
- '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer,
2773
- '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer.prototype,
2774
- '%String%': String,
2775
- '%StringIteratorPrototype%': hasSymbols$4 ? getProto$1(''[Symbol.iterator]()) : undefined$2,
2776
- '%StringPrototype%': String.prototype,
2777
- '%Symbol%': hasSymbols$4 ? Symbol : undefined$2,
2778
- '%SymbolPrototype%': hasSymbols$4 ? Symbol.prototype : undefined$2,
2779
- '%SyntaxError%': SyntaxError,
2780
- '%SyntaxErrorPrototype%': SyntaxError.prototype,
2781
- '%ThrowTypeError%': ThrowTypeError$1,
2782
- '%TypedArray%': TypedArray$1,
2783
- '%TypedArrayPrototype%': TypedArray$1 ? TypedArray$1.prototype : undefined$2,
2784
- '%TypeError%': $TypeError$6,
2785
- '%TypeErrorPrototype%': $TypeError$6.prototype,
2786
- '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array,
2787
- '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array.prototype,
2788
- '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$2 : Uint8ClampedArray,
2789
- '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$2 : Uint8ClampedArray.prototype,
2790
- '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$2 : Uint16Array,
2791
- '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$2 : Uint16Array.prototype,
2792
- '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$2 : Uint32Array,
2793
- '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$2 : Uint32Array.prototype,
2794
- '%URIError%': URIError,
2795
- '%URIErrorPrototype%': URIError.prototype,
2796
- '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$2 : WeakMap,
2797
- '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$2 : WeakMap.prototype,
2798
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$2 : WeakSet,
2799
- '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$2 : WeakSet.prototype
2800
- };
2801
-
2802
-
2803
- var $replace$1 = functionBind.call(Function.call, String.prototype.replace);
2804
-
2805
- /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
2806
- var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
2807
- var reEscapeChar$1 = /\\(\\)?/g; /** Used to match backslashes in property paths. */
2808
- var stringToPath$1 = function stringToPath(string) {
2809
- var result = [];
2810
- $replace$1(string, rePropName$1, function (match, number, quote, subString) {
2811
- result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, '$1') : (number || match);
2812
- });
2813
- return result;
2814
- };
2815
- /* end adaptation */
2816
-
2817
- var getBaseIntrinsic$1 = function getBaseIntrinsic(name, allowMissing) {
2818
- if (!(name in INTRINSICS$1)) {
2819
- throw new SyntaxError('intrinsic ' + name + ' does not exist!');
2820
- }
2821
-
2822
- // istanbul ignore if // hopefully this is impossible to test :-)
2823
- if (typeof INTRINSICS$1[name] === 'undefined' && !allowMissing) {
2824
- throw new $TypeError$6('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
2825
- }
2826
-
2827
- return INTRINSICS$1[name];
2828
- };
2829
-
2830
- var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
2831
- if (typeof name !== 'string' || name.length === 0) {
2832
- throw new TypeError('intrinsic name must be a non-empty string');
2833
- }
2834
- if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
2835
- throw new TypeError('"allowMissing" argument must be a boolean');
2836
- }
2837
-
2838
- var parts = stringToPath$1(name);
2839
-
2840
- var value = getBaseIntrinsic$1('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
2841
- for (var i = 1; i < parts.length; i += 1) {
2842
- if (value != null) {
2843
- if ($gOPD$3 && (i + 1) >= parts.length) {
2844
- var desc = $gOPD$3(value, parts[i]);
2845
- if (!allowMissing && !(parts[i] in value)) {
2846
- throw new $TypeError$6('base intrinsic for ' + name + ' exists, but the property is not available.');
2847
- }
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]];
2856
- } else {
2857
- value = value[parts[i]];
2858
- }
2859
- }
2860
- }
2861
- return value;
2862
- };
2863
-
2864
- var callBind$1 = _commonjsHelpers.createCommonjsModule(function (module) {
2865
-
2866
-
2867
-
2868
-
2869
-
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);
2887
- };
2888
-
2889
- var applyBind = function applyBind() {
2890
- return $reflectApply(functionBind, $apply, arguments);
2891
- };
2892
-
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'));
2902
-
2903
- var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
2904
- var intrinsic = GetIntrinsic(name, !!allowMissing);
2905
- if (typeof intrinsic === 'function' && $indexOf$1(name, '.prototype.')) {
2906
- return callBind$1(intrinsic);
2907
- }
2908
- return intrinsic;
2909
- };
2427
+ var object_getownpropertydescriptors = implementation$2;
2910
2428
 
2911
2429
  var isES5$1 = typeof Object.defineProperty === 'function'
2912
2430
  && typeof Object.defineProperties === 'function';
@@ -2925,14 +2443,14 @@ if (typeof Promise !== 'function') {
2925
2443
 
2926
2444
 
2927
2445
 
2928
- var $slice = callBound$1('Array.prototype.slice');
2929
- var $concat$2 = callBound$1('Array.prototype.concat');
2930
- var $forEach = callBound$1('Array.prototype.forEach');
2446
+ var $slice = callBound('Array.prototype.slice');
2447
+ var $concat$1 = callBound('Array.prototype.concat');
2448
+ var $forEach = callBound('Array.prototype.forEach');
2931
2449
 
2932
- var hasSymbols$5 = hasSymbols$1();
2450
+ var hasSymbols$3 = hasSymbols$1();
2933
2451
 
2934
- var kCustomPromisifiedSymbol = hasSymbols$5 ? Symbol('util.promisify.custom') : null;
2935
- var kCustomPromisifyArgsSymbol = hasSymbols$5 ? Symbol('customPromisifyArgs') : null;
2452
+ var kCustomPromisifiedSymbol = hasSymbols$3 ? Symbol('util.promisify.custom') : null;
2453
+ var kCustomPromisifyArgsSymbol = hasSymbols$3 ? Symbol('customPromisifyArgs') : null;
2936
2454
 
2937
2455
  var implementation$3 = function promisify(orig) {
2938
2456
  if (typeof orig !== 'function') {
@@ -2942,7 +2460,7 @@ var implementation$3 = function promisify(orig) {
2942
2460
  throw error;
2943
2461
  }
2944
2462
 
2945
- if (hasSymbols$5 && orig[kCustomPromisifiedSymbol]) {
2463
+ if (hasSymbols$3 && orig[kCustomPromisifiedSymbol]) {
2946
2464
  var customFunction = orig[kCustomPromisifiedSymbol];
2947
2465
  if (typeof customFunction !== 'function') {
2948
2466
  throw new TypeError('The [util.promisify.custom] property must be a function');
@@ -2964,7 +2482,7 @@ var implementation$3 = function promisify(orig) {
2964
2482
  var args = $slice(arguments);
2965
2483
  var self = this; // eslint-disable-line no-invalid-this
2966
2484
  return new Promise(function (resolve, reject) {
2967
- orig.apply(self, $concat$2(args, function (err) {
2485
+ orig.apply(self, $concat$1(args, function (err) {
2968
2486
  var values = arguments.length > 1 ? $slice(arguments, 1) : [];
2969
2487
  if (err) {
2970
2488
  reject(err);
@@ -3243,7 +2761,7 @@ var md5 = _commonjsHelpers.createCommonjsModule(function (module) {
3243
2761
  message = utf8.stringToBytes(message);
3244
2762
  else if (isBuffer(message))
3245
2763
  message = Array.prototype.slice.call(message, 0);
3246
- else if (!Array.isArray(message) && message.constructor !== Uint8Array)
2764
+ else if (!Array.isArray(message))
3247
2765
  message = message.toString();
3248
2766
  // else, assume byte array already
3249
2767
 
@@ -3399,10 +2917,10 @@ var config = {
3399
2917
  };
3400
2918
 
3401
2919
  var findUser = function () {
3402
- var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee(email) {
2920
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(email) {
3403
2921
  var password = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
3404
2922
  var db$1, query, res, user, hash, passwordsMatch, user_shared, occupation_id;
3405
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
2923
+ return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
3406
2924
  while (1) {
3407
2925
  switch (_context.prev = _context.next) {
3408
2926
  case 0:
@@ -3507,9 +3025,9 @@ var findUser = function () {
3507
3025
  }();
3508
3026
 
3509
3027
  var updateUser = function () {
3510
- var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee2(data) {
3028
+ var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee2(data) {
3511
3029
  var db$1, query, res, hash, columns, i, column, occupation_name;
3512
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee2$(_context2) {
3030
+ return asyncToGenerator.regenerator.wrap(function _callee2$(_context2) {
3513
3031
  while (1) {
3514
3032
  switch (_context2.prev = _context2.next) {
3515
3033
  case 0:
@@ -3710,9 +3228,9 @@ var validateUserData = function validateUserData(data) {
3710
3228
  };
3711
3229
 
3712
3230
  var getOccupationNameById = function () {
3713
- var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee3(db, occupation_id) {
3231
+ var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(db, occupation_id) {
3714
3232
  var query, res;
3715
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee3$(_context3) {
3233
+ return asyncToGenerator.regenerator.wrap(function _callee3$(_context3) {
3716
3234
  while (1) {
3717
3235
  switch (_context3.prev = _context3.next) {
3718
3236
  case 0:
@@ -3747,9 +3265,9 @@ var getOccupationNameById = function () {
3747
3265
  }();
3748
3266
 
3749
3267
  var createUser = function () {
3750
- var _ref4 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee4(data) {
3268
+ var _ref4 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee4(data) {
3751
3269
  var db$1, query, res, hash, columns, i, column, user_id, occupation_name;
3752
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee4$(_context4) {
3270
+ return asyncToGenerator.regenerator.wrap(function _callee4$(_context4) {
3753
3271
  while (1) {
3754
3272
  switch (_context4.prev = _context4.next) {
3755
3273
  case 0:
@@ -3894,9 +3412,9 @@ var createUser = function () {
3894
3412
  }();
3895
3413
 
3896
3414
  var createUser$1 = function () {
3897
- var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee(data) {
3415
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(data) {
3898
3416
  var res;
3899
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
3417
+ return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
3900
3418
  while (1) {
3901
3419
  switch (_context.prev = _context.next) {
3902
3420
  case 0:
@@ -3930,9 +3448,9 @@ var createUser$1 = function () {
3930
3448
  }();
3931
3449
 
3932
3450
  var updateUser$1 = function () {
3933
- var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee2(data) {
3451
+ var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee2(data) {
3934
3452
  var res;
3935
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee2$(_context2) {
3453
+ return asyncToGenerator.regenerator.wrap(function _callee2$(_context2) {
3936
3454
  while (1) {
3937
3455
  switch (_context2.prev = _context2.next) {
3938
3456
  case 0:
@@ -3966,11 +3484,11 @@ var updateUser$1 = function () {
3966
3484
  }();
3967
3485
 
3968
3486
  var findUser$1 = function () {
3969
- var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee3(_ref4) {
3487
+ var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(_ref4) {
3970
3488
  var email = _ref4.email,
3971
3489
  password = _ref4.password;
3972
3490
  var res;
3973
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee3$(_context3) {
3491
+ return asyncToGenerator.regenerator.wrap(function _callee3$(_context3) {
3974
3492
  while (1) {
3975
3493
  switch (_context3.prev = _context3.next) {
3976
3494
  case 0:
@@ -4037,9 +3555,9 @@ var config$1 = {
4037
3555
  };
4038
3556
 
4039
3557
  var getOccupation = function () {
4040
- var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee(type) {
3558
+ var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(type) {
4041
3559
  var db$1, query, result;
4042
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
3560
+ return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
4043
3561
  while (1) {
4044
3562
  switch (_context.prev = _context.next) {
4045
3563
  case 0:
@@ -4070,9 +3588,9 @@ var getOccupation = function () {
4070
3588
  }();
4071
3589
 
4072
3590
  var getFieldsAndOptions = function () {
4073
- var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee2(occupation) {
3591
+ var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee2(occupation) {
4074
3592
  var db$1, query, result, i, field, optionQuery, options;
4075
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee2$(_context2) {
3593
+ return asyncToGenerator.regenerator.wrap(function _callee2$(_context2) {
4076
3594
  while (1) {
4077
3595
  switch (_context2.prev = _context2.next) {
4078
3596
  case 0:
@@ -4133,9 +3651,9 @@ var getFieldsAndOptions = function () {
4133
3651
  }();
4134
3652
 
4135
3653
  var ProcessData = (function () {
4136
- var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee3(req, res) {
3654
+ var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(req, res) {
4137
3655
  var action, data, type, occupation;
4138
- return asyncToGenerator._regeneratorRuntime.wrap(function _callee3$(_context3) {
3656
+ return asyncToGenerator.regenerator.wrap(function _callee3$(_context3) {
4139
3657
  while (1) {
4140
3658
  switch (_context3.prev = _context3.next) {
4141
3659
  case 0: