@mjhls/mjh-framework 1.0.802 → 1.0.803-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +9 -10
  3. package/dist/cjs/AD300x250.js +30 -30
  4. package/dist/cjs/AD300x250x600.js +30 -30
  5. package/dist/cjs/AD728x90.js +33 -33
  6. package/dist/cjs/ADFloatingFooter.js +32 -32
  7. package/dist/cjs/ADFooter.js +28 -20
  8. package/dist/cjs/ADGutter.js +32 -32
  9. package/dist/cjs/{ADInfeed-7cf51090.js → ADInfeed-6c2d52f3.js} +13 -15
  10. package/dist/cjs/ADSkyscraper.js +32 -32
  11. package/dist/cjs/ADSponsoredResources.js +32 -32
  12. package/dist/cjs/ADWebcast.js +32 -32
  13. package/dist/cjs/ADWelcome.js +33 -33
  14. package/dist/cjs/{ADlgInfeed-bf24708d.js → ADlgInfeed-fd573385.js} +10 -11
  15. package/dist/cjs/AccordionPanel.js +29 -31
  16. package/dist/cjs/AdSlot.js +35 -35
  17. package/dist/cjs/AdSlotsProvider.js +17 -17
  18. package/dist/cjs/AlgoliaSearch.js +14122 -60
  19. package/dist/cjs/AlphabeticList.js +25 -26
  20. package/dist/cjs/ArticleCarousel.js +23 -24
  21. package/dist/cjs/ArticleProgramLandingPage.js +57 -57
  22. package/dist/cjs/ArticleSeriesLandingPage.js +41 -41
  23. package/dist/cjs/ArticleSeriesListing.js +61 -61
  24. package/dist/cjs/Auth.js +662 -686
  25. package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-bb831b74.js} +13 -14
  26. package/dist/cjs/Beam.js +8 -8
  27. package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-091a991f.js} +55 -56
  28. package/dist/cjs/Breadcrumbs.js +27 -29
  29. package/dist/cjs/CMEDeck.js +84 -83
  30. package/dist/cjs/Column1.js +11 -14
  31. package/dist/cjs/Column2.js +33 -36
  32. package/dist/cjs/Column3.js +59 -61
  33. package/dist/cjs/ConferenceArticleCard.js +23 -24
  34. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  35. package/dist/cjs/DeckContent.js +96 -99
  36. package/dist/cjs/DeckQueue.js +89 -92
  37. package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-26baccf1.js} +34 -34
  38. package/dist/cjs/EventsDeck.js +135 -142
  39. package/dist/cjs/ExternalResources.js +80 -80
  40. package/dist/cjs/Feature.js +25 -27
  41. package/dist/cjs/ForbesHero.js +40 -41
  42. package/dist/cjs/GridContent.js +179 -182
  43. package/dist/cjs/GridHero.js +42 -43
  44. package/dist/cjs/GroupDeck.js +58 -59
  45. package/dist/cjs/HamMagazine.js +131 -136
  46. package/dist/cjs/Header.js +12 -14
  47. package/dist/cjs/Hero.js +12 -13
  48. package/dist/cjs/HighlightenVideo.js +17 -18
  49. package/dist/cjs/HorizontalArticleListing.js +70 -70
  50. package/dist/cjs/HorizontalHero.js +26 -27
  51. package/dist/cjs/IssueContentDeck.js +72 -77
  52. package/dist/cjs/IssueDeck.js +71 -76
  53. package/dist/cjs/IssueLanding.js +43 -43
  54. package/dist/cjs/LeftNav.js +39 -40
  55. package/dist/cjs/MasterDeck.js +72 -72
  56. package/dist/cjs/MediaSeriesLanding.js +1091 -1182
  57. package/dist/cjs/NavDvm.js +74 -79
  58. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  59. package/dist/cjs/NavMagazine.js +138 -143
  60. package/dist/cjs/NavNative.js +130 -138
  61. package/dist/cjs/NavNormal.js +48 -53
  62. package/dist/cjs/OncliveHero.js +20 -20
  63. package/dist/cjs/OncliveLargeHero.js +66 -67
  64. package/dist/cjs/PageFilter.js +14 -15
  65. package/dist/cjs/PartnerDetailListing.js +109 -109
  66. package/dist/cjs/PdfDownload.js +9 -10
  67. package/dist/cjs/PopUpModal.js +19 -21
  68. package/dist/cjs/PubSection.js +42 -42
  69. package/dist/cjs/PubToc.js +15 -16
  70. package/dist/cjs/PublicationDeck.js +61 -66
  71. package/dist/cjs/PublicationLanding.js +108 -112
  72. package/dist/cjs/QueueDeckExpanded.js +295 -294
  73. package/dist/cjs/RecentNews.js +24 -25
  74. package/dist/cjs/RelatedContent.js +24 -25
  75. package/dist/cjs/RelatedTopicsDropdown.js +19 -22
  76. package/dist/cjs/RolesDeck.js +27 -32
  77. package/dist/cjs/Search.js +18 -22
  78. package/dist/cjs/Segment.js +6 -6
  79. package/dist/cjs/SeriesListingDeck.js +39 -38
  80. package/dist/cjs/{SeriesSlider-2db54929.js → SeriesSlider-4abb21b4.js} +37 -38
  81. package/dist/cjs/SetCookie.js +1 -1
  82. package/dist/cjs/SideFooter.js +36 -37
  83. package/dist/cjs/SocialIcons.js +9 -10
  84. package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-97dd19a5.js} +36 -40
  85. package/dist/cjs/SocialShare.js +29 -31
  86. package/dist/cjs/TaxonomyCard.js +58 -63
  87. package/dist/cjs/TaxonomyDescription.js +54 -54
  88. package/dist/cjs/TemplateNormal.js +76 -76
  89. package/dist/cjs/ThumbnailCard.js +20 -22
  90. package/dist/cjs/Ustream.js +27 -28
  91. package/dist/cjs/VerticalHero.js +17 -18
  92. package/dist/cjs/VideoProgramLandingPage.js +73 -76
  93. package/dist/cjs/VideoSeriesCard.js +32 -33
  94. package/dist/cjs/VideoSeriesFilter.js +18 -18
  95. package/dist/cjs/VideoSeriesLandingPage.js +50 -50
  96. package/dist/cjs/VideoSeriesListing.js +78 -78
  97. package/dist/cjs/View.js +262 -264
  98. package/dist/cjs/YahooHero.js +39 -40
  99. package/dist/cjs/YoutubeGroup.js +62 -63
  100. package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
  101. package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
  102. package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
  103. package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
  104. package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
  105. package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
  106. package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
  107. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
  108. package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
  109. package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
  110. package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
  111. package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
  112. package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
  113. package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
  114. package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
  115. package/dist/cjs/events-1b438fe7.js +469 -0
  116. package/dist/cjs/{extends-29bdbc6d.js → extends-60837c34.js} +7 -8
  117. package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
  118. package/dist/cjs/getRelatedArticle.js +12 -425
  119. package/dist/cjs/getRootDocGroup.js +6 -6
  120. package/dist/cjs/getSerializers.js +44 -43
  121. package/dist/cjs/{getTargeting-a100d6e5.js → getTargeting-34e3ba68.js} +3 -3
  122. package/dist/cjs/getTargeting.js +8 -8
  123. package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
  124. package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
  125. package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
  126. package/dist/cjs/{index-0e4427c8.js → index-98e01cb9.js} +13 -479
  127. package/dist/cjs/{index-ada773fa.js → index-b53c1261.js} +1050 -1290
  128. package/dist/cjs/{index-efca863c.js → index-be0c82be.js} +30 -36
  129. package/dist/cjs/index-e2e62963.js +89 -0
  130. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  131. package/dist/cjs/{index.esm-2bb721c8.js → index.esm-4d410430.js} +21 -21
  132. package/dist/cjs/{index.esm-9225638f.js → index.esm-66ffa47a.js} +10 -5
  133. package/dist/cjs/{index.esm-00a6aade.js → index.esm-90433435.js} +16 -7
  134. package/dist/cjs/{index.esm-f27f80d9.js → index.esm-ff47db6f.js} +13 -6
  135. package/dist/cjs/index.js +162 -164
  136. package/dist/cjs/{inherits-c2065b95.js → inherits-513d81cd.js} +22 -25
  137. package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
  138. package/dist/cjs/keys-a586b7a0.js +25 -0
  139. package/dist/cjs/{lodash-f0783643.js → lodash-fc2922d0.js} +31 -128
  140. package/dist/cjs/main-02daeefe.js +862 -0
  141. package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
  142. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
  143. package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
  144. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  145. package/dist/cjs/stringify-7c5aff47.js +17 -0
  146. package/dist/cjs/timeDifferenceCalc.js +1 -1
  147. package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
  148. package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
  149. package/dist/cjs/{typeof-88a668c5.js → typeof-725500bc.js} +36 -36
  150. package/dist/cjs/urlFor.js +2 -2
  151. package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
  152. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
  153. package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
  154. package/dist/esm/AD.js +1 -1
  155. package/dist/esm/AD300x250.js +24 -23
  156. package/dist/esm/AD300x250x600.js +24 -23
  157. package/dist/esm/AD728x90.js +27 -26
  158. package/dist/esm/ADFloatingFooter.js +23 -22
  159. package/dist/esm/ADFooter.js +20 -11
  160. package/dist/esm/ADGutter.js +23 -22
  161. package/dist/esm/{ADInfeed-f7d00a9a.js → ADInfeed-04878bcc.js} +6 -6
  162. package/dist/esm/ADSkyscraper.js +23 -22
  163. package/dist/esm/ADSponsoredResources.js +23 -22
  164. package/dist/esm/ADWebcast.js +23 -22
  165. package/dist/esm/ADWelcome.js +20 -19
  166. package/dist/esm/{ADlgInfeed-db64f46d.js → ADlgInfeed-fb45c8cf.js} +4 -4
  167. package/dist/esm/AccordionPanel.js +8 -8
  168. package/dist/esm/AdSlot.js +24 -23
  169. package/dist/esm/AdSlotsProvider.js +13 -12
  170. package/dist/esm/AlgoliaSearch.js +14091 -28
  171. package/dist/esm/AlphabeticList.js +10 -10
  172. package/dist/esm/ArticleCarousel.js +17 -17
  173. package/dist/esm/ArticleProgramLandingPage.js +48 -47
  174. package/dist/esm/ArticleSeriesLandingPage.js +33 -32
  175. package/dist/esm/ArticleSeriesListing.js +34 -33
  176. package/dist/esm/Auth.js +575 -595
  177. package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-34b16174.js} +1 -1
  178. package/dist/esm/Beam.js +8 -8
  179. package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-e9b4ddcf.js} +34 -34
  180. package/dist/esm/Breadcrumbs.js +7 -7
  181. package/dist/esm/CMEDeck.js +25 -24
  182. package/dist/esm/Column1.js +4 -4
  183. package/dist/esm/Column2.js +21 -21
  184. package/dist/esm/Column3.js +39 -38
  185. package/dist/esm/ConferenceArticleCard.js +7 -7
  186. package/dist/esm/DeckContent.js +49 -48
  187. package/dist/esm/DeckQueue.js +48 -47
  188. package/dist/esm/{Dfp-be030f2a.js → Dfp-b7236041.js} +15 -14
  189. package/dist/esm/EventsDeck.js +50 -50
  190. package/dist/esm/ExternalResources.js +48 -47
  191. package/dist/esm/Feature.js +4 -4
  192. package/dist/esm/ForbesHero.js +11 -11
  193. package/dist/esm/GridContent.js +81 -80
  194. package/dist/esm/GridHero.js +12 -12
  195. package/dist/esm/GroupDeck.js +13 -13
  196. package/dist/esm/HamMagazine.js +29 -29
  197. package/dist/esm/Hero.js +3 -3
  198. package/dist/esm/HighlightenVideo.js +2 -2
  199. package/dist/esm/HorizontalArticleListing.js +45 -44
  200. package/dist/esm/HorizontalHero.js +5 -5
  201. package/dist/esm/IssueContentDeck.js +26 -26
  202. package/dist/esm/IssueDeck.js +36 -36
  203. package/dist/esm/IssueLanding.js +36 -35
  204. package/dist/esm/LeftNav.js +22 -21
  205. package/dist/esm/MasterDeck.js +37 -36
  206. package/dist/esm/MediaSeriesLanding.js +643 -731
  207. package/dist/esm/NavDvm.js +16 -16
  208. package/dist/esm/NavMagazine.js +34 -34
  209. package/dist/esm/NavNative.js +34 -34
  210. package/dist/esm/NavNormal.js +18 -18
  211. package/dist/esm/OncliveHero.js +5 -4
  212. package/dist/esm/OncliveLargeHero.js +12 -12
  213. package/dist/esm/PageFilter.js +6 -6
  214. package/dist/esm/PartnerDetailListing.js +57 -56
  215. package/dist/esm/PdfDownload.js +2 -2
  216. package/dist/esm/PopUpModal.js +6 -6
  217. package/dist/esm/PubSection.js +34 -33
  218. package/dist/esm/PubToc.js +8 -8
  219. package/dist/esm/PublicationDeck.js +23 -23
  220. package/dist/esm/PublicationLanding.js +49 -49
  221. package/dist/esm/QueueDeckExpanded.js +38 -37
  222. package/dist/esm/RecentNews.js +6 -6
  223. package/dist/esm/RelatedContent.js +6 -6
  224. package/dist/esm/RolesDeck.js +12 -12
  225. package/dist/esm/Search.js +8 -8
  226. package/dist/esm/Segment.js +6 -6
  227. package/dist/esm/SeriesListingDeck.js +20 -19
  228. package/dist/esm/{SeriesSlider-c8477bf3.js → SeriesSlider-36be7223.js} +10 -10
  229. package/dist/esm/SetCookie.js +1 -1
  230. package/dist/esm/SideFooter.js +15 -15
  231. package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-db5ba548.js} +12 -12
  232. package/dist/esm/TaxonomyCard.js +24 -24
  233. package/dist/esm/TaxonomyDescription.js +45 -44
  234. package/dist/esm/TemplateNormal.js +51 -50
  235. package/dist/esm/ThumbnailCard.js +6 -6
  236. package/dist/esm/Ustream.js +11 -11
  237. package/dist/esm/VerticalHero.js +3 -3
  238. package/dist/esm/VideoProgramLandingPage.js +53 -52
  239. package/dist/esm/VideoSeriesCard.js +12 -12
  240. package/dist/esm/VideoSeriesFilter.js +9 -9
  241. package/dist/esm/VideoSeriesLandingPage.js +38 -37
  242. package/dist/esm/VideoSeriesListing.js +35 -34
  243. package/dist/esm/View.js +92 -90
  244. package/dist/esm/YahooHero.js +14 -14
  245. package/dist/esm/YoutubeGroup.js +21 -21
  246. package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
  247. package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.js} +8 -8
  248. package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
  249. package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-964b6feb.js} +1 -1
  250. package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
  251. package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
  252. package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-fc1c2e29.js} +32 -32
  253. package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-83f53e4e.js} +4 -5
  254. package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
  255. package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
  256. package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
  257. package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.js} +1 -1
  258. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  259. package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
  260. package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-c990c18c.js} +7 -7
  261. package/dist/esm/events-6c3a7a63.js +467 -0
  262. package/dist/esm/{extends-60e0e1c6.js → extends-eb69e8ac.js} +8 -8
  263. package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
  264. package/dist/esm/getRelatedArticle.js +12 -425
  265. package/dist/esm/getRootDocGroup.js +6 -6
  266. package/dist/esm/getSerializers.js +44 -43
  267. package/dist/esm/{getTargeting-05c216d6.js → getTargeting-739e9fed.js} +2 -2
  268. package/dist/esm/getTargeting.js +8 -8
  269. package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
  270. package/dist/esm/{index-5cc7b406.js → index-41a678ea.js} +4 -469
  271. package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
  272. package/dist/esm/{index-255b4063.js → index-6271cfc8.js} +680 -913
  273. package/dist/esm/{index-0dbff1d1.js → index-73819142.js} +30 -36
  274. package/dist/esm/index-aaa2dae0.js +85 -0
  275. package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
  276. package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
  277. package/dist/esm/{index.esm-f6156a57.js → index.esm-29e48d38.js} +16 -7
  278. package/dist/esm/{index.esm-e874e770.js → index.esm-b08f4b04.js} +10 -5
  279. package/dist/esm/{index.esm-d4932dea.js → index.esm-cf08bf18.js} +13 -6
  280. package/dist/esm/{index.esm-37268dca.js → index.esm-fd746768.js} +5 -4
  281. package/dist/esm/index.js +119 -118
  282. package/dist/esm/{inherits-a41fe93f.js → inherits-fb9b6e8f.js} +20 -20
  283. package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
  284. package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
  285. package/dist/esm/{lodash-f97fd99a.js → lodash-17fdfebb.js} +31 -128
  286. package/dist/esm/main-e4a934b2.js +851 -0
  287. package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
  288. package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
  289. package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
  290. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  291. package/dist/esm/stringify-4330ccdc.js +15 -0
  292. package/dist/esm/timeDifferenceCalc.js +1 -1
  293. package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
  294. package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
  295. package/dist/esm/{typeof-a286cf0c.js → typeof-6435ba1c.js} +36 -36
  296. package/dist/esm/urlFor.js +1 -1
  297. package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
  298. package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
  299. package/package.json +1 -1
  300. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  301. package/dist/cjs/index-bd6c9f56.js +0 -211
  302. package/dist/cjs/keys-7f2c2108.js +0 -25
  303. package/dist/cjs/main-f1c77adb.js +0 -973
  304. package/dist/cjs/stringify-c9ac1214.js +0 -17
  305. package/dist/esm/index-db3bb315.js +0 -207
  306. package/dist/esm/main-d4165069.js +0 -961
  307. package/dist/esm/stringify-59c8f690.js +0 -15
package/dist/esm/Auth.js CHANGED
@@ -1,23 +1,22 @@
1
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
2
- import { _ as _JSON$stringify } from './stringify-59c8f690.js';
3
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22.js';
1
+ import { a as commonjsGlobal, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
+ import './_to-object-a4107da3.js';
3
+ import './es6.string.iterator-c990c18c.js';
4
+ import './_library-528f1934.js';
5
+ import './_iter-detect-5d49a330.js';
6
+ import './core.get-iterator-method-e1de7503.js';
7
+ import './_object-pie-33c40e79.js';
8
+ import { _ as _extends } from './extends-eb69e8ac.js';
9
+ import './web.dom.iterable-4439f05a.js';
4
10
  import React__default, { useEffect, useState } from 'react';
5
11
  import Router from 'next/router';
6
- import { _ as _extends } from './extends-60e0e1c6.js';
12
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-641f241f.js';
13
+ import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
14
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
7
15
  import { Col, Form, Button, Spinner } from 'react-bootstrap';
16
+ import { u as util } from './util-7700fc59.js';
8
17
  import useSWR from 'swr';
9
- import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
10
18
  import Local from 'passport-local';
11
19
  import mysql from 'mysql';
12
- import { u as util } from './util-3ab476bf.js';
13
- import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
14
- import './es6.string.iterator-bc33758b.js';
15
- import './_to-object-b50e61c3.js';
16
- import './web.dom.iterable-4109ff68.js';
17
- import './_library-528f1934.js';
18
- import './core.get-iterator-method-133dfacd.js';
19
- import './_iter-detect-7e5e5ce2.js';
20
- import './_object-pie-133f504a.js';
21
20
 
22
21
  var returnFormField = function returnFormField(_ref) {
23
22
  var name = _ref.name,
@@ -135,7 +134,7 @@ var returnFormField = function returnFormField(_ref) {
135
134
  }
136
135
  };
137
136
 
138
- var _this$4 = undefined;
137
+ var _this = undefined;
139
138
 
140
139
  var dataHandler = function () {
141
140
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(api_url, body) {
@@ -201,7 +200,7 @@ var dataHandler = function () {
201
200
  return _context.stop();
202
201
  }
203
202
  }
204
- }, _callee, _this$4, [[0, 20]]);
203
+ }, _callee, _this, [[0, 20]]);
205
204
  }));
206
205
 
207
206
  return function dataHandler(_x, _x2) {
@@ -397,9 +396,9 @@ var countries = ["United States", "Afghanistan", "Albania", "Algeria", "American
397
396
 
398
397
  var states = ['AL', 'AK', 'AS', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'DC', 'FM', 'FL', 'GA', 'GU', 'HI', 'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MH', 'MD', 'MA', 'MI', 'MN', 'MS', 'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM', 'NY', 'NC', 'ND', 'MP', 'OH', 'OK', 'OR', 'PW', 'PA', 'PR', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VT', 'VI', 'VA', 'WA', 'WV', 'WI', 'WY'];
399
398
 
400
- var _this$3 = undefined;
399
+ var _this$1 = undefined;
401
400
 
402
- var SignupForm$1 = function SignupForm(props) {
401
+ var SignupForm = function SignupForm(props) {
403
402
  var handleSubmit = function () {
404
403
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
405
404
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
@@ -560,7 +559,7 @@ var SignupForm$1 = function SignupForm(props) {
560
559
  return _context.stop();
561
560
  }
562
561
  }
563
- }, _callee, _this$3);
562
+ }, _callee, _this$1);
564
563
  }));
565
564
 
566
565
  return function loadInitData() {
@@ -627,7 +626,7 @@ var SignupForm$1 = function SignupForm(props) {
627
626
  return _context2.stop();
628
627
  }
629
628
  }
630
- }, _callee2, _this$3);
629
+ }, _callee2, _this$1);
631
630
  }));
632
631
 
633
632
  return function handleOccupationChanged(_x) {
@@ -777,7 +776,7 @@ var SignupForm$1 = function SignupForm(props) {
777
776
 
778
777
  var _this$2 = undefined;
779
778
 
780
- var SignupForm = function SignupForm(props) {
779
+ var SignupForm$1 = function SignupForm(props) {
781
780
  var handleSubmit = function () {
782
781
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
783
782
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
@@ -1202,6 +1201,207 @@ var SignupForm = function SignupForm(props) {
1202
1201
  );
1203
1202
  };
1204
1203
 
1204
+ /*!
1205
+ * cookie
1206
+ * Copyright(c) 2012-2014 Roman Shtylman
1207
+ * Copyright(c) 2015 Douglas Christopher Wilson
1208
+ * MIT Licensed
1209
+ */
1210
+
1211
+ /**
1212
+ * Module exports.
1213
+ * @public
1214
+ */
1215
+
1216
+ var parse_1 = parse;
1217
+ var serialize_1 = serialize;
1218
+
1219
+ /**
1220
+ * Module variables.
1221
+ * @private
1222
+ */
1223
+
1224
+ var decode = decodeURIComponent;
1225
+ var encode = encodeURIComponent;
1226
+ var pairSplitRegExp = /; */;
1227
+
1228
+ /**
1229
+ * RegExp to match field-content in RFC 7230 sec 3.2
1230
+ *
1231
+ * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
1232
+ * field-vchar = VCHAR / obs-text
1233
+ * obs-text = %x80-FF
1234
+ */
1235
+
1236
+ var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
1237
+
1238
+ /**
1239
+ * Parse a cookie header.
1240
+ *
1241
+ * Parse the given cookie header string into an object
1242
+ * The object has the various cookies as keys(names) => values
1243
+ *
1244
+ * @param {string} str
1245
+ * @param {object} [options]
1246
+ * @return {object}
1247
+ * @public
1248
+ */
1249
+
1250
+ function parse(str, options) {
1251
+ if (typeof str !== 'string') {
1252
+ throw new TypeError('argument str must be a string');
1253
+ }
1254
+
1255
+ var obj = {};
1256
+ var opt = options || {};
1257
+ var pairs = str.split(pairSplitRegExp);
1258
+ var dec = opt.decode || decode;
1259
+
1260
+ for (var i = 0; i < pairs.length; i++) {
1261
+ var pair = pairs[i];
1262
+ var eq_idx = pair.indexOf('=');
1263
+
1264
+ // skip things that don't look like key=value
1265
+ if (eq_idx < 0) {
1266
+ continue;
1267
+ }
1268
+
1269
+ var key = pair.substr(0, eq_idx).trim();
1270
+ var val = pair.substr(++eq_idx, pair.length).trim();
1271
+
1272
+ // quoted values
1273
+ if ('"' == val[0]) {
1274
+ val = val.slice(1, -1);
1275
+ }
1276
+
1277
+ // only assign once
1278
+ if (undefined == obj[key]) {
1279
+ obj[key] = tryDecode(val, dec);
1280
+ }
1281
+ }
1282
+
1283
+ return obj;
1284
+ }
1285
+
1286
+ /**
1287
+ * Serialize data into a cookie header.
1288
+ *
1289
+ * Serialize the a name value pair into a cookie string suitable for
1290
+ * http headers. An optional options object specified cookie parameters.
1291
+ *
1292
+ * serialize('foo', 'bar', { httpOnly: true })
1293
+ * => "foo=bar; httpOnly"
1294
+ *
1295
+ * @param {string} name
1296
+ * @param {string} val
1297
+ * @param {object} [options]
1298
+ * @return {string}
1299
+ * @public
1300
+ */
1301
+
1302
+ function serialize(name, val, options) {
1303
+ var opt = options || {};
1304
+ var enc = opt.encode || encode;
1305
+
1306
+ if (typeof enc !== 'function') {
1307
+ throw new TypeError('option encode is invalid');
1308
+ }
1309
+
1310
+ if (!fieldContentRegExp.test(name)) {
1311
+ throw new TypeError('argument name is invalid');
1312
+ }
1313
+
1314
+ var value = enc(val);
1315
+
1316
+ if (value && !fieldContentRegExp.test(value)) {
1317
+ throw new TypeError('argument val is invalid');
1318
+ }
1319
+
1320
+ var str = name + '=' + value;
1321
+
1322
+ if (null != opt.maxAge) {
1323
+ var maxAge = opt.maxAge - 0;
1324
+
1325
+ if (isNaN(maxAge) || !isFinite(maxAge)) {
1326
+ throw new TypeError('option maxAge is invalid')
1327
+ }
1328
+
1329
+ str += '; Max-Age=' + Math.floor(maxAge);
1330
+ }
1331
+
1332
+ if (opt.domain) {
1333
+ if (!fieldContentRegExp.test(opt.domain)) {
1334
+ throw new TypeError('option domain is invalid');
1335
+ }
1336
+
1337
+ str += '; Domain=' + opt.domain;
1338
+ }
1339
+
1340
+ if (opt.path) {
1341
+ if (!fieldContentRegExp.test(opt.path)) {
1342
+ throw new TypeError('option path is invalid');
1343
+ }
1344
+
1345
+ str += '; Path=' + opt.path;
1346
+ }
1347
+
1348
+ if (opt.expires) {
1349
+ if (typeof opt.expires.toUTCString !== 'function') {
1350
+ throw new TypeError('option expires is invalid');
1351
+ }
1352
+
1353
+ str += '; Expires=' + opt.expires.toUTCString();
1354
+ }
1355
+
1356
+ if (opt.httpOnly) {
1357
+ str += '; HttpOnly';
1358
+ }
1359
+
1360
+ if (opt.secure) {
1361
+ str += '; Secure';
1362
+ }
1363
+
1364
+ if (opt.sameSite) {
1365
+ var sameSite = typeof opt.sameSite === 'string'
1366
+ ? opt.sameSite.toLowerCase() : opt.sameSite;
1367
+
1368
+ switch (sameSite) {
1369
+ case true:
1370
+ str += '; SameSite=Strict';
1371
+ break;
1372
+ case 'lax':
1373
+ str += '; SameSite=Lax';
1374
+ break;
1375
+ case 'strict':
1376
+ str += '; SameSite=Strict';
1377
+ break;
1378
+ case 'none':
1379
+ str += '; SameSite=None';
1380
+ break;
1381
+ default:
1382
+ throw new TypeError('option sameSite is invalid');
1383
+ }
1384
+ }
1385
+
1386
+ return str;
1387
+ }
1388
+
1389
+ /**
1390
+ * Try decoding a string using a decoding function.
1391
+ *
1392
+ * @param {string} str
1393
+ * @param {function} decode
1394
+ * @private
1395
+ */
1396
+
1397
+ function tryDecode(str, decode) {
1398
+ try {
1399
+ return decode(str);
1400
+ } catch (e) {
1401
+ return str;
1402
+ }
1403
+ }
1404
+
1205
1405
  var TOKEN_NAME = 'token';
1206
1406
  var MAX_AGE = 60 * 60 * 8; // 8 hours
1207
1407
 
@@ -1312,10 +1512,10 @@ var iron = /*#__PURE__*/Object.freeze({
1312
1512
  getSession: getSession
1313
1513
  });
1314
1514
 
1315
- var toStr$5 = Object.prototype.toString;
1515
+ var toStr = Object.prototype.toString;
1316
1516
 
1317
1517
  var isArguments = function isArguments(value) {
1318
- var str = toStr$5.call(value);
1518
+ var str = toStr.call(value);
1319
1519
  var isArgs = str === '[object Arguments]';
1320
1520
  if (!isArgs) {
1321
1521
  isArgs = str !== '[object Array]' &&
@@ -1323,16 +1523,16 @@ var isArguments = function isArguments(value) {
1323
1523
  typeof value === 'object' &&
1324
1524
  typeof value.length === 'number' &&
1325
1525
  value.length >= 0 &&
1326
- toStr$5.call(value.callee) === '[object Function]';
1526
+ toStr.call(value.callee) === '[object Function]';
1327
1527
  }
1328
1528
  return isArgs;
1329
1529
  };
1330
1530
 
1331
- var keysShim$1;
1531
+ var keysShim;
1332
1532
  if (!Object.keys) {
1333
1533
  // modified from https://github.com/es-shims/es5-shim
1334
- var has$1 = Object.prototype.hasOwnProperty;
1335
- var toStr$4 = Object.prototype.toString;
1534
+ var has = Object.prototype.hasOwnProperty;
1535
+ var toStr$1 = Object.prototype.toString;
1336
1536
  var isArgs = isArguments; // eslint-disable-line global-require
1337
1537
  var isEnumerable = Object.prototype.propertyIsEnumerable;
1338
1538
  var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');
@@ -1380,7 +1580,7 @@ if (!Object.keys) {
1380
1580
  if (typeof window === 'undefined') { return false; }
1381
1581
  for (var k in window) {
1382
1582
  try {
1383
- if (!excludedKeys['$' + k] && has$1.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
1583
+ if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
1384
1584
  try {
1385
1585
  equalsConstructorPrototype(window[k]);
1386
1586
  } catch (e) {
@@ -1405,11 +1605,11 @@ if (!Object.keys) {
1405
1605
  }
1406
1606
  };
1407
1607
 
1408
- keysShim$1 = function keys(object) {
1608
+ keysShim = function keys(object) {
1409
1609
  var isObject = object !== null && typeof object === 'object';
1410
- var isFunction = toStr$4.call(object) === '[object Function]';
1610
+ var isFunction = toStr$1.call(object) === '[object Function]';
1411
1611
  var isArguments = isArgs(object);
1412
- var isString = isObject && toStr$4.call(object) === '[object String]';
1612
+ var isString = isObject && toStr$1.call(object) === '[object String]';
1413
1613
  var theKeys = [];
1414
1614
 
1415
1615
  if (!isObject && !isFunction && !isArguments) {
@@ -1417,7 +1617,7 @@ if (!Object.keys) {
1417
1617
  }
1418
1618
 
1419
1619
  var skipProto = hasProtoEnumBug && isFunction;
1420
- if (isString && object.length > 0 && !has$1.call(object, 0)) {
1620
+ if (isString && object.length > 0 && !has.call(object, 0)) {
1421
1621
  for (var i = 0; i < object.length; ++i) {
1422
1622
  theKeys.push(String(i));
1423
1623
  }
@@ -1429,7 +1629,7 @@ if (!Object.keys) {
1429
1629
  }
1430
1630
  } else {
1431
1631
  for (var name in object) {
1432
- if (!(skipProto && name === 'prototype') && has$1.call(object, name)) {
1632
+ if (!(skipProto && name === 'prototype') && has.call(object, name)) {
1433
1633
  theKeys.push(String(name));
1434
1634
  }
1435
1635
  }
@@ -1439,7 +1639,7 @@ if (!Object.keys) {
1439
1639
  var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);
1440
1640
 
1441
1641
  for (var k = 0; k < dontEnums.length; ++k) {
1442
- if (!(skipConstructor && dontEnums[k] === 'constructor') && has$1.call(object, dontEnums[k])) {
1642
+ if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {
1443
1643
  theKeys.push(dontEnums[k]);
1444
1644
  }
1445
1645
  }
@@ -1447,17 +1647,17 @@ if (!Object.keys) {
1447
1647
  return theKeys;
1448
1648
  };
1449
1649
  }
1450
- var implementation$3 = keysShim$1;
1650
+ var implementation = keysShim;
1451
1651
 
1452
- var slice$1 = Array.prototype.slice;
1652
+ var slice = Array.prototype.slice;
1453
1653
 
1454
1654
 
1455
1655
  var origKeys = Object.keys;
1456
- var keysShim = origKeys ? function keys(o) { return origKeys(o); } : implementation$3;
1656
+ var keysShim$1 = origKeys ? function keys(o) { return origKeys(o); } : implementation;
1457
1657
 
1458
1658
  var originalKeys = Object.keys;
1459
1659
 
1460
- keysShim.shim = function shimObjectKeys() {
1660
+ keysShim$1.shim = function shimObjectKeys() {
1461
1661
  if (Object.keys) {
1462
1662
  var keysWorksWithArguments = (function () {
1463
1663
  // Safari 5.0 bug
@@ -1467,27 +1667,27 @@ keysShim.shim = function shimObjectKeys() {
1467
1667
  if (!keysWorksWithArguments) {
1468
1668
  Object.keys = function keys(object) { // eslint-disable-line func-name-matching
1469
1669
  if (isArguments(object)) {
1470
- return originalKeys(slice$1.call(object));
1670
+ return originalKeys(slice.call(object));
1471
1671
  }
1472
1672
  return originalKeys(object);
1473
1673
  };
1474
1674
  }
1475
1675
  } else {
1476
- Object.keys = keysShim;
1676
+ Object.keys = keysShim$1;
1477
1677
  }
1478
- return Object.keys || keysShim;
1678
+ return Object.keys || keysShim$1;
1479
1679
  };
1480
1680
 
1481
- var objectKeys = keysShim;
1681
+ var objectKeys = keysShim$1;
1482
1682
 
1483
- var hasSymbols$4 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
1683
+ var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
1484
1684
 
1485
- var toStr$3 = Object.prototype.toString;
1685
+ var toStr$2 = Object.prototype.toString;
1486
1686
  var concat = Array.prototype.concat;
1487
1687
  var origDefineProperty = Object.defineProperty;
1488
1688
 
1489
1689
  var isFunction = function (fn) {
1490
- return typeof fn === 'function' && toStr$3.call(fn) === '[object Function]';
1690
+ return typeof fn === 'function' && toStr$2.call(fn) === '[object Function]';
1491
1691
  };
1492
1692
 
1493
1693
  var arePropertyDescriptorsSupported = function () {
@@ -1524,7 +1724,7 @@ var defineProperty = function (object, name, value, predicate) {
1524
1724
  var defineProperties = function (object, map) {
1525
1725
  var predicates = arguments.length > 2 ? arguments[2] : {};
1526
1726
  var props = objectKeys(map);
1527
- if (hasSymbols$4) {
1727
+ if (hasSymbols) {
1528
1728
  props = concat.call(props, Object.getOwnPropertySymbols(map));
1529
1729
  }
1530
1730
  for (var i = 0; i < props.length; i += 1) {
@@ -1536,59 +1736,6 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
1536
1736
 
1537
1737
  var defineProperties_1 = defineProperties;
1538
1738
 
1539
- /* eslint no-invalid-this: 1 */
1540
-
1541
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1542
- var slice = Array.prototype.slice;
1543
- var toStr$2 = Object.prototype.toString;
1544
- var funcType = '[object Function]';
1545
-
1546
- var implementation$2 = function bind(that) {
1547
- var target = this;
1548
- if (typeof target !== 'function' || toStr$2.call(target) !== funcType) {
1549
- throw new TypeError(ERROR_MESSAGE + target);
1550
- }
1551
- var args = slice.call(arguments, 1);
1552
-
1553
- var bound;
1554
- var binder = function () {
1555
- if (this instanceof bound) {
1556
- var result = target.apply(
1557
- this,
1558
- args.concat(slice.call(arguments))
1559
- );
1560
- if (Object(result) === result) {
1561
- return result;
1562
- }
1563
- return this;
1564
- } else {
1565
- return target.apply(
1566
- that,
1567
- args.concat(slice.call(arguments))
1568
- );
1569
- }
1570
- };
1571
-
1572
- var boundLength = Math.max(0, target.length - args.length);
1573
- var boundArgs = [];
1574
- for (var i = 0; i < boundLength; i++) {
1575
- boundArgs.push('$' + i);
1576
- }
1577
-
1578
- bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1579
-
1580
- if (target.prototype) {
1581
- var Empty = function Empty() {};
1582
- Empty.prototype = target.prototype;
1583
- bound.prototype = new Empty();
1584
- Empty.prototype = null;
1585
- }
1586
-
1587
- return bound;
1588
- };
1589
-
1590
- var functionBind = Function.prototype.bind || implementation$2;
1591
-
1592
1739
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
1593
1740
  var shams = function hasSymbols() {
1594
1741
  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
@@ -1612,7 +1759,7 @@ var shams = function hasSymbols() {
1612
1759
 
1613
1760
  var symVal = 42;
1614
1761
  obj[sym] = symVal;
1615
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
1762
+ for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
1616
1763
  if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1617
1764
 
1618
1765
  if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
@@ -1630,10 +1777,10 @@ var shams = function hasSymbols() {
1630
1777
  return true;
1631
1778
  };
1632
1779
 
1633
- var origSymbol = typeof Symbol !== 'undefined' && Symbol;
1780
+ var origSymbol = commonjsGlobal.Symbol;
1634
1781
 
1635
1782
 
1636
- var hasSymbols$3 = function hasNativeSymbols() {
1783
+ var hasSymbols$1 = function hasNativeSymbols() {
1637
1784
  if (typeof origSymbol !== 'function') { return false; }
1638
1785
  if (typeof Symbol !== 'function') { return false; }
1639
1786
  if (typeof origSymbol('foo') !== 'symbol') { return false; }
@@ -1642,34 +1789,79 @@ var hasSymbols$3 = function hasNativeSymbols() {
1642
1789
  return shams();
1643
1790
  };
1644
1791
 
1645
- var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1792
+ /* eslint no-invalid-this: 1 */
1646
1793
 
1647
- var undefined$1;
1794
+ var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1795
+ var slice$1 = Array.prototype.slice;
1796
+ var toStr$3 = Object.prototype.toString;
1797
+ var funcType = '[object Function]';
1648
1798
 
1649
- var $SyntaxError$1 = SyntaxError;
1650
- var $Function = Function;
1651
- var $TypeError$5 = TypeError;
1799
+ var implementation$1 = function bind(that) {
1800
+ var target = this;
1801
+ if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
1802
+ throw new TypeError(ERROR_MESSAGE + target);
1803
+ }
1804
+ var args = slice$1.call(arguments, 1);
1652
1805
 
1653
- // eslint-disable-next-line consistent-return
1654
- var getEvalledConstructor = function (expressionSyntax) {
1655
- try {
1656
- return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1657
- } catch (e) {}
1806
+ var bound;
1807
+ var binder = function () {
1808
+ if (this instanceof bound) {
1809
+ var result = target.apply(
1810
+ this,
1811
+ args.concat(slice$1.call(arguments))
1812
+ );
1813
+ if (Object(result) === result) {
1814
+ return result;
1815
+ }
1816
+ return this;
1817
+ } else {
1818
+ return target.apply(
1819
+ that,
1820
+ args.concat(slice$1.call(arguments))
1821
+ );
1822
+ }
1823
+ };
1824
+
1825
+ var boundLength = Math.max(0, target.length - args.length);
1826
+ var boundArgs = [];
1827
+ for (var i = 0; i < boundLength; i++) {
1828
+ boundArgs.push('$' + i);
1829
+ }
1830
+
1831
+ bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1832
+
1833
+ if (target.prototype) {
1834
+ var Empty = function Empty() {};
1835
+ Empty.prototype = target.prototype;
1836
+ bound.prototype = new Empty();
1837
+ Empty.prototype = null;
1838
+ }
1839
+
1840
+ return bound;
1658
1841
  };
1659
1842
 
1660
- var $gOPD$2 = Object.getOwnPropertyDescriptor;
1661
- if ($gOPD$2) {
1843
+ var functionBind = Function.prototype.bind || implementation$1;
1844
+
1845
+ /* globals
1846
+ Atomics,
1847
+ SharedArrayBuffer,
1848
+ */
1849
+
1850
+ var undefined$1;
1851
+
1852
+ var $TypeError = TypeError;
1853
+
1854
+ var $gOPD = Object.getOwnPropertyDescriptor;
1855
+ if ($gOPD) {
1662
1856
  try {
1663
- $gOPD$2({}, '');
1857
+ $gOPD({}, '');
1664
1858
  } catch (e) {
1665
- $gOPD$2 = null; // this is IE 8, which has a broken gOPD
1859
+ $gOPD = null; // this is IE 8, which has a broken gOPD
1666
1860
  }
1667
1861
  }
1668
1862
 
1669
- var throwTypeError = function () {
1670
- throw new $TypeError$5();
1671
- };
1672
- var ThrowTypeError = $gOPD$2
1863
+ var throwTypeError = function () { throw new $TypeError(); };
1864
+ var ThrowTypeError = $gOPD
1673
1865
  ? (function () {
1674
1866
  try {
1675
1867
  // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
@@ -1678,7 +1870,7 @@ var ThrowTypeError = $gOPD$2
1678
1870
  } catch (calleeThrows) {
1679
1871
  try {
1680
1872
  // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
1681
- return $gOPD$2(arguments, 'callee').get;
1873
+ return $gOPD(arguments, 'callee').get;
1682
1874
  } catch (gOPDthrows) {
1683
1875
  return throwTypeError;
1684
1876
  }
@@ -1686,354 +1878,206 @@ var ThrowTypeError = $gOPD$2
1686
1878
  }())
1687
1879
  : throwTypeError;
1688
1880
 
1689
- var hasSymbols$2 = hasSymbols$3();
1881
+ var hasSymbols$2 = hasSymbols$1();
1690
1882
 
1691
1883
  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1692
-
1693
- var needsEval = {};
1884
+ var generatorFunction = undefined$1;
1885
+ var asyncFunction = undefined$1;
1886
+ var asyncGenFunction = undefined$1;
1694
1887
 
1695
1888
  var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1696
1889
 
1697
1890
  var INTRINSICS = {
1698
- '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1699
1891
  '%Array%': Array,
1700
1892
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1893
+ '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
1701
1894
  '%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
1895
+ '%ArrayPrototype%': Array.prototype,
1896
+ '%ArrayProto_entries%': Array.prototype.entries,
1897
+ '%ArrayProto_forEach%': Array.prototype.forEach,
1898
+ '%ArrayProto_keys%': Array.prototype.keys,
1899
+ '%ArrayProto_values%': Array.prototype.values,
1702
1900
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
1703
- '%AsyncFunction%': needsEval,
1704
- '%AsyncGenerator%': needsEval,
1705
- '%AsyncGeneratorFunction%': needsEval,
1706
- '%AsyncIteratorPrototype%': needsEval,
1901
+ '%AsyncFunction%': asyncFunction,
1902
+ '%AsyncFunctionPrototype%': undefined$1,
1903
+ '%AsyncGenerator%': undefined$1,
1904
+ '%AsyncGeneratorFunction%': asyncGenFunction,
1905
+ '%AsyncGeneratorPrototype%': undefined$1,
1906
+ '%AsyncIteratorPrototype%': undefined$1,
1707
1907
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1708
- '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1709
1908
  '%Boolean%': Boolean,
1909
+ '%BooleanPrototype%': Boolean.prototype,
1710
1910
  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1911
+ '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
1711
1912
  '%Date%': Date,
1913
+ '%DatePrototype%': Date.prototype,
1712
1914
  '%decodeURI%': decodeURI,
1713
1915
  '%decodeURIComponent%': decodeURIComponent,
1714
1916
  '%encodeURI%': encodeURI,
1715
1917
  '%encodeURIComponent%': encodeURIComponent,
1716
1918
  '%Error%': Error,
1919
+ '%ErrorPrototype%': Error.prototype,
1717
1920
  '%eval%': eval, // eslint-disable-line no-eval
1718
1921
  '%EvalError%': EvalError,
1922
+ '%EvalErrorPrototype%': EvalError.prototype,
1719
1923
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1924
+ '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
1720
1925
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1721
- '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1722
- '%Function%': $Function,
1723
- '%GeneratorFunction%': needsEval,
1926
+ '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array.prototype,
1927
+ '%Function%': Function,
1928
+ '%FunctionPrototype%': Function.prototype,
1929
+ '%Generator%': undefined$1,
1930
+ '%GeneratorFunction%': generatorFunction,
1931
+ '%GeneratorPrototype%': undefined$1,
1724
1932
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1933
+ '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1725
1934
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1935
+ '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1726
1936
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1937
+ '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
1727
1938
  '%isFinite%': isFinite,
1728
1939
  '%isNaN%': isNaN,
1729
1940
  '%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1730
1941
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1942
+ '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
1731
1943
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1732
1944
  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1945
+ '%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
1733
1946
  '%Math%': Math,
1734
1947
  '%Number%': Number,
1948
+ '%NumberPrototype%': Number.prototype,
1735
1949
  '%Object%': Object,
1950
+ '%ObjectPrototype%': Object.prototype,
1951
+ '%ObjProto_toString%': Object.prototype.toString,
1952
+ '%ObjProto_valueOf%': Object.prototype.valueOf,
1736
1953
  '%parseFloat%': parseFloat,
1737
1954
  '%parseInt%': parseInt,
1738
1955
  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
1956
+ '%PromisePrototype%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype,
1957
+ '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype.then,
1958
+ '%Promise_all%': typeof Promise === 'undefined' ? undefined$1 : Promise.all,
1959
+ '%Promise_reject%': typeof Promise === 'undefined' ? undefined$1 : Promise.reject,
1960
+ '%Promise_resolve%': typeof Promise === 'undefined' ? undefined$1 : Promise.resolve,
1739
1961
  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1740
1962
  '%RangeError%': RangeError,
1963
+ '%RangeErrorPrototype%': RangeError.prototype,
1741
1964
  '%ReferenceError%': ReferenceError,
1965
+ '%ReferenceErrorPrototype%': ReferenceError.prototype,
1742
1966
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1743
1967
  '%RegExp%': RegExp,
1968
+ '%RegExpPrototype%': RegExp.prototype,
1744
1969
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1745
1970
  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1971
+ '%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
1746
1972
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1973
+ '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
1747
1974
  '%String%': String,
1748
1975
  '%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
1976
+ '%StringPrototype%': String.prototype,
1749
1977
  '%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
1750
- '%SyntaxError%': $SyntaxError$1,
1978
+ '%SymbolPrototype%': hasSymbols$2 ? Symbol.prototype : undefined$1,
1979
+ '%SyntaxError%': SyntaxError,
1980
+ '%SyntaxErrorPrototype%': SyntaxError.prototype,
1751
1981
  '%ThrowTypeError%': ThrowTypeError,
1752
1982
  '%TypedArray%': TypedArray,
1753
- '%TypeError%': $TypeError$5,
1983
+ '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined$1,
1984
+ '%TypeError%': $TypeError,
1985
+ '%TypeErrorPrototype%': $TypeError.prototype,
1754
1986
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1987
+ '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
1755
1988
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1989
+ '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
1756
1990
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1991
+ '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
1757
1992
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1993
+ '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
1758
1994
  '%URIError%': URIError,
1995
+ '%URIErrorPrototype%': URIError.prototype,
1759
1996
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1760
- '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1761
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1762
- };
1763
-
1764
- var doEval = function doEval(name) {
1765
- var value;
1766
- if (name === '%AsyncFunction%') {
1767
- value = getEvalledConstructor('async function () {}');
1768
- } else if (name === '%GeneratorFunction%') {
1769
- value = getEvalledConstructor('function* () {}');
1770
- } else if (name === '%AsyncGeneratorFunction%') {
1771
- value = getEvalledConstructor('async function* () {}');
1772
- } else if (name === '%AsyncGenerator%') {
1773
- var fn = doEval('%AsyncGeneratorFunction%');
1774
- if (fn) {
1775
- value = fn.prototype;
1776
- }
1777
- } else if (name === '%AsyncIteratorPrototype%') {
1778
- var gen = doEval('%AsyncGenerator%');
1779
- if (gen) {
1780
- value = getProto(gen.prototype);
1781
- }
1782
- }
1783
-
1784
- INTRINSICS[name] = value;
1785
-
1786
- return value;
1997
+ '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap.prototype,
1998
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet,
1999
+ '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet.prototype
1787
2000
  };
1788
2001
 
1789
- var LEGACY_ALIASES = {
1790
- '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1791
- '%ArrayPrototype%': ['Array', 'prototype'],
1792
- '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1793
- '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1794
- '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1795
- '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1796
- '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1797
- '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1798
- '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1799
- '%BooleanPrototype%': ['Boolean', 'prototype'],
1800
- '%DataViewPrototype%': ['DataView', 'prototype'],
1801
- '%DatePrototype%': ['Date', 'prototype'],
1802
- '%ErrorPrototype%': ['Error', 'prototype'],
1803
- '%EvalErrorPrototype%': ['EvalError', 'prototype'],
1804
- '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
1805
- '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
1806
- '%FunctionPrototype%': ['Function', 'prototype'],
1807
- '%Generator%': ['GeneratorFunction', 'prototype'],
1808
- '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
1809
- '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
1810
- '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
1811
- '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
1812
- '%JSONParse%': ['JSON', 'parse'],
1813
- '%JSONStringify%': ['JSON', 'stringify'],
1814
- '%MapPrototype%': ['Map', 'prototype'],
1815
- '%NumberPrototype%': ['Number', 'prototype'],
1816
- '%ObjectPrototype%': ['Object', 'prototype'],
1817
- '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
1818
- '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
1819
- '%PromisePrototype%': ['Promise', 'prototype'],
1820
- '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
1821
- '%Promise_all%': ['Promise', 'all'],
1822
- '%Promise_reject%': ['Promise', 'reject'],
1823
- '%Promise_resolve%': ['Promise', 'resolve'],
1824
- '%RangeErrorPrototype%': ['RangeError', 'prototype'],
1825
- '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
1826
- '%RegExpPrototype%': ['RegExp', 'prototype'],
1827
- '%SetPrototype%': ['Set', 'prototype'],
1828
- '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
1829
- '%StringPrototype%': ['String', 'prototype'],
1830
- '%SymbolPrototype%': ['Symbol', 'prototype'],
1831
- '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
1832
- '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
1833
- '%TypeErrorPrototype%': ['TypeError', 'prototype'],
1834
- '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
1835
- '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
1836
- '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
1837
- '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
1838
- '%URIErrorPrototype%': ['URIError', 'prototype'],
1839
- '%WeakMapPrototype%': ['WeakMap', 'prototype'],
1840
- '%WeakSetPrototype%': ['WeakSet', 'prototype']
1841
- };
1842
-
1843
-
1844
2002
 
1845
- var $concat$2 = functionBind.call(Function.call, Array.prototype.concat);
1846
- var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
1847
2003
  var $replace = functionBind.call(Function.call, String.prototype.replace);
1848
- var $strSlice = functionBind.call(Function.call, String.prototype.slice);
1849
2004
 
1850
2005
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1851
2006
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
1852
2007
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
1853
2008
  var stringToPath = function stringToPath(string) {
1854
- var first = $strSlice(string, 0, 1);
1855
- var last = $strSlice(string, -1);
1856
- if (first === '%' && last !== '%') {
1857
- throw new $SyntaxError$1('invalid intrinsic syntax, expected closing `%`');
1858
- } else if (last === '%' && first !== '%') {
1859
- throw new $SyntaxError$1('invalid intrinsic syntax, expected opening `%`');
1860
- }
1861
2009
  var result = [];
1862
2010
  $replace(string, rePropName, function (match, number, quote, subString) {
1863
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
2011
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);
1864
2012
  });
1865
2013
  return result;
1866
2014
  };
1867
2015
  /* end adaptation */
1868
2016
 
1869
2017
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
1870
- var intrinsicName = name;
1871
- var alias;
1872
- if (src(LEGACY_ALIASES, intrinsicName)) {
1873
- alias = LEGACY_ALIASES[intrinsicName];
1874
- intrinsicName = '%' + alias[0] + '%';
2018
+ if (!(name in INTRINSICS)) {
2019
+ throw new SyntaxError('intrinsic ' + name + ' does not exist!');
1875
2020
  }
1876
2021
 
1877
- if (src(INTRINSICS, intrinsicName)) {
1878
- var value = INTRINSICS[intrinsicName];
1879
- if (value === needsEval) {
1880
- value = doEval(intrinsicName);
1881
- }
1882
- if (typeof value === 'undefined' && !allowMissing) {
1883
- throw new $TypeError$5('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1884
- }
1885
-
1886
- return {
1887
- alias: alias,
1888
- name: intrinsicName,
1889
- value: value
1890
- };
2022
+ // istanbul ignore if // hopefully this is impossible to test :-)
2023
+ if (typeof INTRINSICS[name] === 'undefined' && !allowMissing) {
2024
+ throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1891
2025
  }
1892
2026
 
1893
- throw new $SyntaxError$1('intrinsic ' + name + ' does not exist!');
2027
+ return INTRINSICS[name];
1894
2028
  };
1895
2029
 
1896
- var getIntrinsic = function GetIntrinsic(name, allowMissing) {
2030
+ var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1897
2031
  if (typeof name !== 'string' || name.length === 0) {
1898
- throw new $TypeError$5('intrinsic name must be a non-empty string');
2032
+ throw new TypeError('intrinsic name must be a non-empty string');
1899
2033
  }
1900
2034
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1901
- throw new $TypeError$5('"allowMissing" argument must be a boolean');
2035
+ throw new TypeError('"allowMissing" argument must be a boolean');
1902
2036
  }
1903
2037
 
1904
2038
  var parts = stringToPath(name);
1905
- var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
1906
-
1907
- var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
1908
- var intrinsicRealName = intrinsic.name;
1909
- var value = intrinsic.value;
1910
- var skipFurtherCaching = false;
1911
-
1912
- var alias = intrinsic.alias;
1913
- if (alias) {
1914
- intrinsicBaseName = alias[0];
1915
- $spliceApply(parts, $concat$2([0, 1], alias));
1916
- }
1917
-
1918
- for (var i = 1, isOwn = true; i < parts.length; i += 1) {
1919
- var part = parts[i];
1920
- var first = $strSlice(part, 0, 1);
1921
- var last = $strSlice(part, -1);
1922
- if (
1923
- (
1924
- (first === '"' || first === "'" || first === '`')
1925
- || (last === '"' || last === "'" || last === '`')
1926
- )
1927
- && first !== last
1928
- ) {
1929
- throw new $SyntaxError$1('property names with quotes must have matching quotes');
1930
- }
1931
- if (part === 'constructor' || !isOwn) {
1932
- skipFurtherCaching = true;
1933
- }
1934
2039
 
1935
- intrinsicBaseName += '.' + part;
1936
- intrinsicRealName = '%' + intrinsicBaseName + '%';
1937
-
1938
- if (src(INTRINSICS, intrinsicRealName)) {
1939
- value = INTRINSICS[intrinsicRealName];
1940
- } else if (value != null) {
1941
- if (!(part in value)) {
1942
- if (!allowMissing) {
1943
- throw new $TypeError$5('base intrinsic for ' + name + ' exists, but the property is not available.');
1944
- }
1945
- return void undefined$1;
1946
- }
1947
- if ($gOPD$2 && (i + 1) >= parts.length) {
1948
- var desc = $gOPD$2(value, part);
1949
- isOwn = !!desc;
1950
-
1951
- // By convention, when a data property is converted to an accessor
1952
- // property to emulate a data property that does not suffer from
1953
- // the override mistake, that accessor's getter is marked with
1954
- // an `originalValue` property. Here, when we detect this, we
1955
- // uphold the illusion by pretending to see that original data
1956
- // property, i.e., returning the value rather than the getter
1957
- // itself.
1958
- if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
1959
- value = desc.get;
1960
- } else {
1961
- value = value[part];
2040
+ var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
2041
+ for (var i = 1; i < parts.length; i += 1) {
2042
+ if (value != null) {
2043
+ if ($gOPD && (i + 1) >= parts.length) {
2044
+ var desc = $gOPD(value, parts[i]);
2045
+ if (!allowMissing && !(parts[i] in value)) {
2046
+ throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1962
2047
  }
2048
+ value = desc ? (desc.get || desc.value) : value[parts[i]];
1963
2049
  } else {
1964
- isOwn = src(value, part);
1965
- value = value[part];
1966
- }
1967
-
1968
- if (isOwn && !skipFurtherCaching) {
1969
- INTRINSICS[intrinsicRealName] = value;
2050
+ value = value[parts[i]];
1970
2051
  }
1971
2052
  }
1972
2053
  }
1973
2054
  return value;
1974
2055
  };
1975
2056
 
1976
- var callBind = createCommonjsModule(function (module) {
1977
-
1978
-
1979
-
1980
-
1981
- var $apply = getIntrinsic('%Function.prototype.apply%');
1982
- var $call = getIntrinsic('%Function.prototype.call%');
1983
- var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
2057
+ var $Function = GetIntrinsic('%Function%');
2058
+ var $apply = $Function.apply;
2059
+ var $call = $Function.call;
1984
2060
 
1985
- var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);
1986
- var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1987
- var $max = getIntrinsic('%Math.max%');
1988
-
1989
- if ($defineProperty) {
1990
- try {
1991
- $defineProperty({}, 'a', { value: 1 });
1992
- } catch (e) {
1993
- // IE 8 has a broken defineProperty
1994
- $defineProperty = null;
1995
- }
1996
- }
1997
-
1998
- module.exports = function callBind(originalFunction) {
1999
- var func = $reflectApply(functionBind, $call, arguments);
2000
- if ($gOPD && $defineProperty) {
2001
- var desc = $gOPD(func, 'length');
2002
- if (desc.configurable) {
2003
- // original length, plus the receiver, minus any additional arguments (after the receiver)
2004
- $defineProperty(
2005
- func,
2006
- 'length',
2007
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
2008
- );
2009
- }
2010
- }
2011
- return func;
2061
+ var callBind = function callBind() {
2062
+ return functionBind.apply($call, arguments);
2012
2063
  };
2013
2064
 
2014
- var applyBind = function applyBind() {
2015
- return $reflectApply(functionBind, $apply, arguments);
2065
+ var apply = function applyBind() {
2066
+ return functionBind.apply($apply, arguments);
2016
2067
  };
2068
+ callBind.apply = apply;
2017
2069
 
2018
- if ($defineProperty) {
2019
- $defineProperty(module.exports, 'apply', { value: applyBind });
2020
- } else {
2021
- module.exports.apply = applyBind;
2022
- }
2023
- });
2024
- callBind.apply;
2025
-
2026
- var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
2070
+ var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
2027
2071
 
2028
- var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
2029
- var intrinsic = getIntrinsic(name, !!allowMissing);
2030
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
2072
+ var callBound = function callBoundIntrinsic(name, allowMissing) {
2073
+ var intrinsic = GetIntrinsic(name, !!allowMissing);
2074
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
2031
2075
  return callBind(intrinsic);
2032
2076
  }
2033
2077
  return intrinsic;
2034
2078
  };
2035
2079
 
2036
- var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
2080
+ var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2037
2081
 
2038
2082
  if ($defineProperty) {
2039
2083
  try {
@@ -2046,7 +2090,7 @@ if ($defineProperty) {
2046
2090
 
2047
2091
 
2048
2092
 
2049
- var $isEnumerable$1 = callBound$1('Object.prototype.propertyIsEnumerable');
2093
+ var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
2050
2094
 
2051
2095
  // eslint-disable-next-line max-params
2052
2096
  var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {
@@ -2060,7 +2104,7 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
2060
2104
  }
2061
2105
 
2062
2106
  // fallback for ES3
2063
- if (P in O && $isEnumerable$1(O, P) !== !!desc['[[Enumerable]]']) {
2107
+ if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {
2064
2108
  // a non-enumerable existing property
2065
2109
  return false;
2066
2110
  }
@@ -2075,13 +2119,15 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
2075
2119
  return true;
2076
2120
  };
2077
2121
 
2078
- var $TypeError$4 = getIntrinsic('%TypeError%');
2079
- var $SyntaxError = getIntrinsic('%SyntaxError%');
2122
+ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
2123
+
2124
+ var $TypeError$1 = GetIntrinsic('%TypeError%');
2125
+ var $SyntaxError = GetIntrinsic('%SyntaxError%');
2080
2126
 
2081
2127
 
2082
2128
 
2083
2129
  var predicates = {
2084
- // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type
2130
+ // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type
2085
2131
  'Property Descriptor': function isPropertyDescriptor(Type, Desc) {
2086
2132
  if (Type(Desc) !== 'Object') {
2087
2133
  return false;
@@ -2104,7 +2150,7 @@ var predicates = {
2104
2150
  var isData = src(Desc, '[[Value]]');
2105
2151
  var IsAccessor = src(Desc, '[[Get]]') || src(Desc, '[[Set]]');
2106
2152
  if (isData && IsAccessor) {
2107
- throw new $TypeError$4('Property Descriptors may not be both accessor and data descriptors');
2153
+ throw new $TypeError$1('Property Descriptors may not be both accessor and data descriptors');
2108
2154
  }
2109
2155
  return true;
2110
2156
  }
@@ -2116,13 +2162,13 @@ var assertRecord = function assertRecord(Type, recordType, argumentName, value)
2116
2162
  throw new $SyntaxError('unknown record type: ' + recordType);
2117
2163
  }
2118
2164
  if (!predicate(Type, value)) {
2119
- throw new $TypeError$4(argumentName + ' must be a ' + recordType);
2165
+ throw new $TypeError$1(argumentName + ' must be a ' + recordType);
2120
2166
  }
2121
2167
  };
2122
2168
 
2123
- // https://262.ecma-international.org/5.1/#sec-8
2169
+ // https://www.ecma-international.org/ecma-262/5.1/#sec-8
2124
2170
 
2125
- var Type$1 = function Type(x) {
2171
+ var Type = function Type(x) {
2126
2172
  if (x === null) {
2127
2173
  return 'Null';
2128
2174
  }
@@ -2143,26 +2189,23 @@ var Type$1 = function Type(x) {
2143
2189
  }
2144
2190
  };
2145
2191
 
2146
- // https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values
2192
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-tostring
2147
2193
 
2148
- var Type = function Type(x) {
2194
+ var Type$1 = function Type$1(x) {
2149
2195
  if (typeof x === 'symbol') {
2150
2196
  return 'Symbol';
2151
2197
  }
2152
- if (typeof x === 'bigint') {
2153
- return 'BigInt';
2154
- }
2155
- return Type$1(x);
2198
+ return Type(x);
2156
2199
  };
2157
2200
 
2158
- // https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2201
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2159
2202
 
2160
2203
  var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2161
2204
  if (typeof Desc === 'undefined') {
2162
2205
  return Desc;
2163
2206
  }
2164
2207
 
2165
- assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
2208
+ assertRecord(Type$1, 'Property Descriptor', 'Desc', Desc);
2166
2209
 
2167
2210
  var obj = {};
2168
2211
  if ('[[Value]]' in Desc) {
@@ -2186,7 +2229,7 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2186
2229
  return obj;
2187
2230
  };
2188
2231
 
2189
- var $gOPD$1 = getIntrinsic('%Object.getOwnPropertyDescriptor%');
2232
+ var $gOPD$1 = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
2190
2233
  if ($gOPD$1) {
2191
2234
  try {
2192
2235
  $gOPD$1([], 'length');
@@ -2198,85 +2241,65 @@ if ($gOPD$1) {
2198
2241
 
2199
2242
  var getOwnPropertyDescriptor = $gOPD$1;
2200
2243
 
2201
- var $Array = getIntrinsic('%Array%');
2244
+ var $Array = GetIntrinsic('%Array%');
2202
2245
 
2203
2246
  // eslint-disable-next-line global-require
2204
- var toStr$1 = !$Array.isArray && callBound$1('Object.prototype.toString');
2247
+ var toStr$4 = !$Array.isArray && callBound('Object.prototype.toString');
2205
2248
 
2206
- // https://ecma-international.org/ecma-262/6.0/#sec-isarray
2249
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-isarray
2207
2250
 
2208
2251
  var IsArray = $Array.isArray || function IsArray(argument) {
2209
- return toStr$1(argument) === '[object Array]';
2252
+ return toStr$4(argument) === '[object Array]';
2210
2253
  };
2211
2254
 
2212
- // https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2255
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2213
2256
 
2214
2257
  var IsPropertyKey = function IsPropertyKey(argument) {
2215
2258
  return typeof argument === 'string' || typeof argument === 'symbol';
2216
2259
  };
2217
2260
 
2218
- var hasSymbols$1 = hasSymbols$3();
2219
- var hasToStringTag$1 = hasSymbols$1 && typeof Symbol.toStringTag === 'symbol';
2220
- var has;
2221
- var $exec;
2222
- var isRegexMarker;
2223
- var badStringifier;
2224
-
2225
- if (hasToStringTag$1) {
2226
- has = callBound$1('Object.prototype.hasOwnProperty');
2227
- $exec = callBound$1('RegExp.prototype.exec');
2228
- isRegexMarker = {};
2261
+ var regexExec = RegExp.prototype.exec;
2262
+ var gOPD = Object.getOwnPropertyDescriptor;
2229
2263
 
2230
- var throwRegexMarker = function () {
2231
- throw isRegexMarker;
2232
- };
2233
- badStringifier = {
2234
- toString: throwRegexMarker,
2235
- valueOf: throwRegexMarker
2236
- };
2264
+ var tryRegexExecCall = function tryRegexExec(value) {
2265
+ try {
2266
+ var lastIndex = value.lastIndex;
2267
+ value.lastIndex = 0; // eslint-disable-line no-param-reassign
2237
2268
 
2238
- if (typeof Symbol.toPrimitive === 'symbol') {
2239
- badStringifier[Symbol.toPrimitive] = throwRegexMarker;
2269
+ regexExec.call(value);
2270
+ return true;
2271
+ } catch (e) {
2272
+ return false;
2273
+ } finally {
2274
+ value.lastIndex = lastIndex; // eslint-disable-line no-param-reassign
2240
2275
  }
2241
- }
2242
-
2243
- var $toString = callBound$1('Object.prototype.toString');
2244
- var gOPD = Object.getOwnPropertyDescriptor;
2276
+ };
2277
+ var toStr$5 = Object.prototype.toString;
2245
2278
  var regexClass = '[object RegExp]';
2279
+ var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2246
2280
 
2247
- var isRegex = hasToStringTag$1
2248
- // eslint-disable-next-line consistent-return
2249
- ? function isRegex(value) {
2250
- if (!value || typeof value !== 'object') {
2251
- return false;
2252
- }
2253
-
2254
- var descriptor = gOPD(value, 'lastIndex');
2255
- var hasLastIndexDataProperty = descriptor && has(descriptor, 'value');
2256
- if (!hasLastIndexDataProperty) {
2257
- return false;
2258
- }
2281
+ var isRegex = function isRegex(value) {
2282
+ if (!value || typeof value !== 'object') {
2283
+ return false;
2284
+ }
2285
+ if (!hasToStringTag) {
2286
+ return toStr$5.call(value) === regexClass;
2287
+ }
2259
2288
 
2260
- try {
2261
- $exec(value, badStringifier);
2262
- } catch (e) {
2263
- return e === isRegexMarker;
2264
- }
2289
+ var descriptor = gOPD(value, 'lastIndex');
2290
+ var hasLastIndexDataProperty = descriptor && src(descriptor, 'value');
2291
+ if (!hasLastIndexDataProperty) {
2292
+ return false;
2265
2293
  }
2266
- : function isRegex(value) {
2267
- // In older browsers, typeof regex incorrectly returns 'function'
2268
- if (!value || (typeof value !== 'object' && typeof value !== 'function')) {
2269
- return false;
2270
- }
2271
2294
 
2272
- return $toString(value) === regexClass;
2273
- };
2295
+ return tryRegexExecCall(value);
2296
+ };
2274
2297
 
2275
- // http://262.ecma-international.org/5.1/#sec-9.2
2298
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.2
2276
2299
 
2277
2300
  var ToBoolean = function ToBoolean(value) { return !!value; };
2278
2301
 
2279
- var $match = getIntrinsic('%Symbol.match%', true);
2302
+ var $match = GetIntrinsic('%Symbol.match%', true);
2280
2303
 
2281
2304
 
2282
2305
 
@@ -2298,27 +2321,6 @@ var IsRegExp = function IsRegExp(argument) {
2298
2321
  };
2299
2322
 
2300
2323
  var fnToStr = Function.prototype.toString;
2301
- var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
2302
- var badArrayLike;
2303
- var isCallableMarker;
2304
- if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
2305
- try {
2306
- badArrayLike = Object.defineProperty({}, 'length', {
2307
- get: function () {
2308
- throw isCallableMarker;
2309
- }
2310
- });
2311
- isCallableMarker = {};
2312
- // eslint-disable-next-line no-throw-literal
2313
- reflectApply(function () { throw 42; }, null, badArrayLike);
2314
- } catch (_) {
2315
- if (_ !== isCallableMarker) {
2316
- reflectApply = null;
2317
- }
2318
- }
2319
- } else {
2320
- reflectApply = null;
2321
- }
2322
2324
 
2323
2325
  var constructorRegex = /^\s*class\b/;
2324
2326
  var isES6ClassFn = function isES6ClassFunction(value) {
@@ -2339,52 +2341,36 @@ var tryFunctionObject = function tryFunctionToStr(value) {
2339
2341
  return false;
2340
2342
  }
2341
2343
  };
2342
- var toStr = Object.prototype.toString;
2344
+ var toStr$6 = Object.prototype.toString;
2343
2345
  var fnClass = '[object Function]';
2344
2346
  var genClass = '[object GeneratorFunction]';
2345
- var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2346
- /* globals document: false */
2347
- var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
2348
-
2349
- var isCallable = reflectApply
2350
- ? function isCallable(value) {
2351
- if (value === documentDotAll) { return true; }
2352
- if (!value) { return false; }
2353
- if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2354
- if (typeof value === 'function' && !value.prototype) { return true; }
2355
- try {
2356
- reflectApply(value, null, badArrayLike);
2357
- } catch (e) {
2358
- if (e !== isCallableMarker) { return false; }
2359
- }
2360
- return !isES6ClassFn(value);
2361
- }
2362
- : function isCallable(value) {
2363
- if (value === documentDotAll) { return true; }
2364
- if (!value) { return false; }
2365
- if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2366
- if (typeof value === 'function' && !value.prototype) { return true; }
2367
- if (hasToStringTag) { return tryFunctionObject(value); }
2368
- if (isES6ClassFn(value)) { return false; }
2369
- var strClass = toStr.call(value);
2370
- return strClass === fnClass || strClass === genClass;
2371
- };
2347
+ var hasToStringTag$1 = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2348
+
2349
+ var isCallable = function isCallable(value) {
2350
+ if (!value) { return false; }
2351
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2352
+ if (typeof value === 'function' && !value.prototype) { return true; }
2353
+ if (hasToStringTag$1) { return tryFunctionObject(value); }
2354
+ if (isES6ClassFn(value)) { return false; }
2355
+ var strClass = toStr$6.call(value);
2356
+ return strClass === fnClass || strClass === genClass;
2357
+ };
2372
2358
 
2373
- // http://262.ecma-international.org/5.1/#sec-9.11
2359
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.11
2374
2360
 
2375
2361
  var IsCallable = isCallable;
2376
2362
 
2377
- var $TypeError$3 = getIntrinsic('%TypeError%');
2363
+ var $TypeError$2 = GetIntrinsic('%TypeError%');
2378
2364
 
2379
2365
 
2380
2366
 
2381
2367
 
2382
2368
 
2383
- // https://262.ecma-international.org/5.1/#sec-8.10.5
2369
+ // https://ecma-international.org/ecma-262/5.1/#sec-8.10.5
2384
2370
 
2385
2371
  var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2386
- if (Type(Obj) !== 'Object') {
2387
- throw new $TypeError$3('ToPropertyDescriptor requires an object');
2372
+ if (Type$1(Obj) !== 'Object') {
2373
+ throw new $TypeError$2('ToPropertyDescriptor requires an object');
2388
2374
  }
2389
2375
 
2390
2376
  var desc = {};
@@ -2403,29 +2389,29 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2403
2389
  if (src(Obj, 'get')) {
2404
2390
  var getter = Obj.get;
2405
2391
  if (typeof getter !== 'undefined' && !IsCallable(getter)) {
2406
- throw new $TypeError$3('getter must be a function');
2392
+ throw new TypeError('getter must be a function');
2407
2393
  }
2408
2394
  desc['[[Get]]'] = getter;
2409
2395
  }
2410
2396
  if (src(Obj, 'set')) {
2411
2397
  var setter = Obj.set;
2412
2398
  if (typeof setter !== 'undefined' && !IsCallable(setter)) {
2413
- throw new $TypeError$3('setter must be a function');
2399
+ throw new $TypeError$2('setter must be a function');
2414
2400
  }
2415
2401
  desc['[[Set]]'] = setter;
2416
2402
  }
2417
2403
 
2418
2404
  if ((src(desc, '[[Get]]') || src(desc, '[[Set]]')) && (src(desc, '[[Value]]') || src(desc, '[[Writable]]'))) {
2419
- throw new $TypeError$3('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2405
+ throw new $TypeError$2('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2420
2406
  }
2421
2407
  return desc;
2422
2408
  };
2423
2409
 
2424
- var $TypeError$2 = getIntrinsic('%TypeError%');
2410
+ var $TypeError$3 = GetIntrinsic('%TypeError%');
2425
2411
 
2426
2412
 
2427
2413
 
2428
- var $isEnumerable = callBound$1('Object.prototype.propertyIsEnumerable');
2414
+ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2429
2415
 
2430
2416
 
2431
2417
 
@@ -2435,14 +2421,14 @@ var $isEnumerable = callBound$1('Object.prototype.propertyIsEnumerable');
2435
2421
 
2436
2422
 
2437
2423
 
2438
- // https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2424
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2439
2425
 
2440
2426
  var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2441
- if (Type(O) !== 'Object') {
2442
- throw new $TypeError$2('Assertion failed: O must be an Object');
2427
+ if (Type$1(O) !== 'Object') {
2428
+ throw new $TypeError$3('Assertion failed: O must be an Object');
2443
2429
  }
2444
2430
  if (!IsPropertyKey(P)) {
2445
- throw new $TypeError$2('Assertion failed: P must be a Property Key');
2431
+ throw new $TypeError$3('Assertion failed: P must be a Property Key');
2446
2432
  }
2447
2433
  if (!src(O, P)) {
2448
2434
  return void 0;
@@ -2453,7 +2439,7 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2453
2439
  var regexLastIndex = IsRegExp(O) && P === 'lastIndex';
2454
2440
  return {
2455
2441
  '[[Configurable]]': !(arrayLength || regexLastIndex),
2456
- '[[Enumerable]]': $isEnumerable(O, P),
2442
+ '[[Enumerable]]': $isEnumerable$1(O, P),
2457
2443
  '[[Value]]': O[P],
2458
2444
  '[[Writable]]': true
2459
2445
  };
@@ -2461,14 +2447,14 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2461
2447
  return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
2462
2448
  };
2463
2449
 
2464
- // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2450
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2465
2451
 
2466
2452
  var IsDataDescriptor = function IsDataDescriptor(Desc) {
2467
2453
  if (typeof Desc === 'undefined') {
2468
2454
  return false;
2469
2455
  }
2470
2456
 
2471
- assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
2457
+ assertRecord(Type$1, 'Property Descriptor', 'Desc', Desc);
2472
2458
 
2473
2459
  if (!src(Desc, '[[Value]]') && !src(Desc, '[[Writable]]')) {
2474
2460
  return false;
@@ -2481,14 +2467,14 @@ var isPrimitive = function isPrimitive(value) {
2481
2467
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
2482
2468
  };
2483
2469
 
2484
- var $Object$1 = getIntrinsic('%Object%');
2470
+ var $Object = GetIntrinsic('%Object%');
2485
2471
 
2486
2472
 
2487
2473
 
2488
- var $preventExtensions = $Object$1.preventExtensions;
2489
- var $isExtensible = $Object$1.isExtensible;
2474
+ var $preventExtensions = $Object.preventExtensions;
2475
+ var $isExtensible = $Object.isExtensible;
2490
2476
 
2491
- // https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2477
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2492
2478
 
2493
2479
  var IsExtensible = $preventExtensions
2494
2480
  ? function IsExtensible(obj) {
@@ -2502,7 +2488,7 @@ var _isNaN = Number.isNaN || function isNaN(a) {
2502
2488
  return a !== a;
2503
2489
  };
2504
2490
 
2505
- // http://262.ecma-international.org/5.1/#sec-9.12
2491
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.12
2506
2492
 
2507
2493
  var SameValue = function SameValue(x, y) {
2508
2494
  if (x === y) { // 0 === -0, but they are not identical.
@@ -2512,7 +2498,7 @@ var SameValue = function SameValue(x, y) {
2512
2498
  return _isNaN(x) && _isNaN(y);
2513
2499
  };
2514
2500
 
2515
- var $TypeError$1 = getIntrinsic('%TypeError%');
2501
+ var $TypeError$4 = GetIntrinsic('%TypeError%');
2516
2502
 
2517
2503
 
2518
2504
 
@@ -2524,18 +2510,18 @@ var $TypeError$1 = getIntrinsic('%TypeError%');
2524
2510
 
2525
2511
 
2526
2512
 
2527
- // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2513
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2528
2514
 
2529
2515
  var CreateDataProperty = function CreateDataProperty(O, P, V) {
2530
- if (Type(O) !== 'Object') {
2531
- throw new $TypeError$1('Assertion failed: Type(O) is not Object');
2516
+ if (Type$1(O) !== 'Object') {
2517
+ throw new $TypeError$4('Assertion failed: Type(O) is not Object');
2532
2518
  }
2533
2519
  if (!IsPropertyKey(P)) {
2534
- throw new $TypeError$1('Assertion failed: IsPropertyKey(P) is not true');
2520
+ throw new $TypeError$4('Assertion failed: IsPropertyKey(P) is not true');
2535
2521
  }
2536
2522
  var oldDesc = OrdinaryGetOwnProperty(O, P);
2537
- var extensible = !oldDesc || IsExtensible(O);
2538
- var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
2523
+ var extensible = oldDesc || IsExtensible(O);
2524
+ var immutable = oldDesc && (!oldDesc.writable || !oldDesc.configurable);
2539
2525
  if (immutable || !extensible) {
2540
2526
  return false;
2541
2527
  }
@@ -2554,44 +2540,44 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2554
2540
  );
2555
2541
  };
2556
2542
 
2557
- var $TypeError = getIntrinsic('%TypeError%');
2543
+ var $TypeError$5 = GetIntrinsic('%TypeError%');
2558
2544
 
2559
- // http://262.ecma-international.org/5.1/#sec-9.10
2545
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
2560
2546
 
2561
2547
  var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2562
2548
  if (value == null) {
2563
- throw new $TypeError(optMessage || ('Cannot call method on ' + value));
2549
+ throw new $TypeError$5(optMessage || ('Cannot call method on ' + value));
2564
2550
  }
2565
2551
  return value;
2566
2552
  };
2567
2553
 
2568
2554
  var RequireObjectCoercible = CheckObjectCoercible;
2569
2555
 
2570
- var $Object = getIntrinsic('%Object%');
2556
+ var $Object$1 = GetIntrinsic('%Object%');
2571
2557
 
2572
2558
 
2573
2559
 
2574
- // https://ecma-international.org/ecma-262/6.0/#sec-toobject
2560
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-toobject
2575
2561
 
2576
2562
  var ToObject = function ToObject(value) {
2577
2563
  RequireObjectCoercible(value);
2578
- return $Object(value);
2564
+ return $Object$1(value);
2579
2565
  };
2580
2566
 
2581
- var $gOPD = Object.getOwnPropertyDescriptor;
2567
+ var $gOPD$2 = Object.getOwnPropertyDescriptor;
2582
2568
  var $getOwnNames = Object.getOwnPropertyNames;
2583
2569
  var $getSymbols = Object.getOwnPropertySymbols;
2584
- var $concat$1 = callBound$1('Array.prototype.concat');
2585
- var $reduce = callBound$1('Array.prototype.reduce');
2570
+ var $concat = callBound('Array.prototype.concat');
2571
+ var $reduce = callBound('Array.prototype.reduce');
2586
2572
  var getAll = $getSymbols ? function (obj) {
2587
- return $concat$1($getOwnNames(obj), $getSymbols(obj));
2573
+ return $concat($getOwnNames(obj), $getSymbols(obj));
2588
2574
  } : $getOwnNames;
2589
2575
 
2590
- var isES5$1 = IsCallable($gOPD) && IsCallable($getOwnNames);
2576
+ var isES5 = IsCallable($gOPD$2) && IsCallable($getOwnNames);
2591
2577
 
2592
- var implementation$1 = function getOwnPropertyDescriptors(value) {
2578
+ var implementation$2 = function getOwnPropertyDescriptors(value) {
2593
2579
  RequireObjectCoercible(value);
2594
- if (!isES5$1) {
2580
+ if (!isES5) {
2595
2581
  throw new TypeError('getOwnPropertyDescriptors requires Object.getOwnPropertyDescriptor');
2596
2582
  }
2597
2583
 
@@ -2599,7 +2585,7 @@ var implementation$1 = function getOwnPropertyDescriptors(value) {
2599
2585
  return $reduce(
2600
2586
  getAll(O),
2601
2587
  function (acc, key) {
2602
- var descriptor = $gOPD(O, key);
2588
+ var descriptor = $gOPD$2(O, key);
2603
2589
  if (typeof descriptor !== 'undefined') {
2604
2590
  CreateDataProperty(acc, key, descriptor);
2605
2591
  }
@@ -2609,40 +2595,34 @@ var implementation$1 = function getOwnPropertyDescriptors(value) {
2609
2595
  );
2610
2596
  };
2611
2597
 
2612
- var polyfill$2 = function getPolyfill() {
2613
- return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation$1;
2598
+ var polyfill = function getPolyfill() {
2599
+ return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation$2;
2614
2600
  };
2615
2601
 
2616
- var shim$1 = function shimGetOwnPropertyDescriptors() {
2617
- var polyfill = polyfill$2();
2602
+ var shim = function shimGetOwnPropertyDescriptors() {
2603
+ var polyfill$1 = polyfill();
2618
2604
  defineProperties_1(
2619
2605
  Object,
2620
- { getOwnPropertyDescriptors: polyfill },
2621
- { getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill; } }
2606
+ { getOwnPropertyDescriptors: polyfill$1 },
2607
+ { getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill$1; } }
2622
2608
  );
2623
- return polyfill;
2609
+ return polyfill$1;
2624
2610
  };
2625
2611
 
2626
- var bound = callBind(polyfill$2(), Object);
2627
-
2628
- defineProperties_1(bound, {
2629
- getPolyfill: polyfill$2,
2630
- implementation: implementation$1,
2631
- shim: shim$1
2612
+ defineProperties_1(implementation$2, {
2613
+ getPolyfill: polyfill,
2614
+ implementation: implementation$2,
2615
+ shim: shim
2632
2616
  });
2633
2617
 
2634
- var object_getownpropertydescriptors = bound;
2618
+ var object_getownpropertydescriptors = implementation$2;
2635
2619
 
2636
- // TODO; semver-major: remove
2637
-
2638
- var callBound = callBound$1;
2639
-
2640
- var isES5 = typeof Object.defineProperty === 'function'
2620
+ var isES5$1 = typeof Object.defineProperty === 'function'
2641
2621
  && typeof Object.defineProperties === 'function';
2642
2622
 
2643
2623
  var hasProto = [].__proto__ === Array.prototype; // eslint-disable-line no-proto
2644
2624
 
2645
- if (!isES5 || !hasProto) {
2625
+ if (!isES5$1 || !hasProto) {
2646
2626
  throw new TypeError('util.promisify requires a true ES5 environment, that also supports `__proto__`');
2647
2627
  }
2648
2628
 
@@ -2655,15 +2635,15 @@ if (typeof Promise !== 'function') {
2655
2635
 
2656
2636
 
2657
2637
  var $slice = callBound('Array.prototype.slice');
2658
- var $concat = callBound('Array.prototype.concat');
2638
+ var $concat$1 = callBound('Array.prototype.concat');
2659
2639
  var $forEach = callBound('Array.prototype.forEach');
2660
2640
 
2661
- var hasSymbols = hasSymbols$3();
2641
+ var hasSymbols$3 = hasSymbols$1();
2662
2642
 
2663
- var kCustomPromisifiedSymbol = hasSymbols ? Symbol('util.promisify.custom') : null;
2664
- var kCustomPromisifyArgsSymbol = hasSymbols ? Symbol('customPromisifyArgs') : null;
2643
+ var kCustomPromisifiedSymbol = hasSymbols$3 ? Symbol('util.promisify.custom') : null;
2644
+ var kCustomPromisifyArgsSymbol = hasSymbols$3 ? Symbol('customPromisifyArgs') : null;
2665
2645
 
2666
- var implementation = function promisify(orig) {
2646
+ var implementation$3 = function promisify(orig) {
2667
2647
  if (typeof orig !== 'function') {
2668
2648
  var error = new TypeError('The "original" argument must be of type function');
2669
2649
  error.name = 'TypeError [ERR_INVALID_ARG_TYPE]';
@@ -2671,7 +2651,7 @@ var implementation = function promisify(orig) {
2671
2651
  throw error;
2672
2652
  }
2673
2653
 
2674
- if (hasSymbols && orig[kCustomPromisifiedSymbol]) {
2654
+ if (hasSymbols$3 && orig[kCustomPromisifiedSymbol]) {
2675
2655
  var customFunction = orig[kCustomPromisifiedSymbol];
2676
2656
  if (typeof customFunction !== 'function') {
2677
2657
  throw new TypeError('The [util.promisify.custom] property must be a function');
@@ -2693,7 +2673,7 @@ var implementation = function promisify(orig) {
2693
2673
  var args = $slice(arguments);
2694
2674
  var self = this; // eslint-disable-line no-invalid-this
2695
2675
  return new Promise(function (resolve, reject) {
2696
- orig.apply(self, $concat(args, function (err) {
2676
+ orig.apply(self, $concat$1(args, function (err) {
2697
2677
  var values = arguments.length > 1 ? $slice(arguments, 1) : [];
2698
2678
  if (err) {
2699
2679
  reject(err);
@@ -2723,17 +2703,17 @@ var implementation = function promisify(orig) {
2723
2703
 
2724
2704
  var custom = kCustomPromisifiedSymbol;
2725
2705
  var customPromisifyArgs = kCustomPromisifyArgsSymbol;
2726
- implementation.custom = custom;
2727
- implementation.customPromisifyArgs = customPromisifyArgs;
2706
+ implementation$3.custom = custom;
2707
+ implementation$3.customPromisifyArgs = customPromisifyArgs;
2728
2708
 
2729
2709
  var polyfill$1 = function getPolyfill() {
2730
2710
  if (typeof util.promisify === 'function') {
2731
2711
  return util.promisify;
2732
2712
  }
2733
- return implementation;
2713
+ return implementation$3;
2734
2714
  };
2735
2715
 
2736
- var shim = function shimUtilPromisify() {
2716
+ var shim$1 = function shimUtilPromisify() {
2737
2717
  var polyfill = polyfill$1();
2738
2718
  if (polyfill !== util.promisify) {
2739
2719
  Object.defineProperty(util, 'promisify', {
@@ -2746,20 +2726,20 @@ var shim = function shimUtilPromisify() {
2746
2726
  return polyfill;
2747
2727
  };
2748
2728
 
2749
- var polyfill = polyfill$1();
2729
+ var polyfill$2 = polyfill$1();
2750
2730
 
2751
2731
 
2752
2732
  /* eslint-disable no-unused-vars */
2753
2733
  var boundPromisify = function promisify(orig) {
2754
2734
  /* eslint-enable no-unused-vars */
2755
- return polyfill.apply(util, arguments);
2735
+ return polyfill$2.apply(util, arguments);
2756
2736
  };
2757
2737
  defineProperties_1(boundPromisify, {
2758
- custom: polyfill.custom,
2759
- customPromisifyArgs: polyfill.customPromisifyArgs,
2738
+ custom: polyfill$2.custom,
2739
+ customPromisifyArgs: polyfill$2.customPromisifyArgs,
2760
2740
  getPolyfill: polyfill$1,
2761
- implementation: implementation,
2762
- shim: shim
2741
+ implementation: implementation$3,
2742
+ shim: shim$1
2763
2743
  });
2764
2744
 
2765
2745
  var util_promisify = boundPromisify;
@@ -2972,7 +2952,7 @@ var md5 = createCommonjsModule(function (module) {
2972
2952
  message = utf8.stringToBytes(message);
2973
2953
  else if (isBuffer(message))
2974
2954
  message = Array.prototype.slice.call(message, 0);
2975
- else if (!Array.isArray(message) && message.constructor !== Uint8Array)
2955
+ else if (!Array.isArray(message))
2976
2956
  message = message.toString();
2977
2957
  // else, assume byte array already
2978
2958
 
@@ -3118,16 +3098,16 @@ var md5 = createCommonjsModule(function (module) {
3118
3098
  })();
3119
3099
  });
3120
3100
 
3121
- var _this$1 = undefined;
3101
+ var _this$3 = undefined;
3122
3102
 
3123
- var config$1 = {
3103
+ var config = {
3124
3104
  host: 'sanity-datasource.cluster-crao688bsrdh.us-east-1.rds.amazonaws.com',
3125
3105
  user: 'nasp',
3126
3106
  password: 'uRNkF9SkfXQs6AKK',
3127
3107
  database: 'user'
3128
3108
  };
3129
3109
 
3130
- var findUser$1 = function () {
3110
+ var findUser = function () {
3131
3111
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(email) {
3132
3112
  var password = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
3133
3113
  var db$1, query, res, user, hash, passwordsMatch, user_shared, occupation_id;
@@ -3139,7 +3119,7 @@ var findUser$1 = function () {
3139
3119
  _context.prev = 1;
3140
3120
 
3141
3121
 
3142
- db$1 = db(config$1);
3122
+ db$1 = db(config);
3143
3123
 
3144
3124
  query = '\n select * \n from user \n where trim(lower(email)) = ?\n ';
3145
3125
  _context.next = 6;
@@ -3235,7 +3215,7 @@ var findUser$1 = function () {
3235
3215
  };
3236
3216
  }();
3237
3217
 
3238
- var updateUser$1 = function () {
3218
+ var updateUser = function () {
3239
3219
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
3240
3220
  var db$1, query, res, hash, columns, i, column, occupation_name;
3241
3221
  return regenerator.wrap(function _callee2$(_context2) {
@@ -3248,7 +3228,7 @@ var updateUser$1 = function () {
3248
3228
 
3249
3229
  validateUserData(data);
3250
3230
 
3251
- db$1 = db(config$1);
3231
+ db$1 = db(config);
3252
3232
 
3253
3233
  _context2.next = 6;
3254
3234
  return db$1.beginTransaction();
@@ -3355,7 +3335,7 @@ var updateUser$1 = function () {
3355
3335
 
3356
3336
  return _context2.abrupt('return', {
3357
3337
  error: '',
3358
- user: findUser$1(data.email)
3338
+ user: findUser(data.email)
3359
3339
  });
3360
3340
 
3361
3341
  case 45:
@@ -3467,7 +3447,7 @@ var getOccupationNameById = function () {
3467
3447
  return _context3.stop();
3468
3448
  }
3469
3449
  }
3470
- }, _callee3, _this$1);
3450
+ }, _callee3, _this$3);
3471
3451
  }));
3472
3452
 
3473
3453
  return function getOccupationNameById(_x5, _x6) {
@@ -3475,7 +3455,7 @@ var getOccupationNameById = function () {
3475
3455
  };
3476
3456
  }();
3477
3457
 
3478
- var createUser$1 = function () {
3458
+ var createUser = function () {
3479
3459
  var _ref4 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4(data) {
3480
3460
  var db$1, query, res, hash, columns, i, column, user_id, occupation_name;
3481
3461
  return regenerator.wrap(function _callee4$(_context4) {
@@ -3488,7 +3468,7 @@ var createUser$1 = function () {
3488
3468
 
3489
3469
  validateUserData(data, true);
3490
3470
 
3491
- db$1 = db(config$1);
3471
+ db$1 = db(config);
3492
3472
 
3493
3473
  _context4.next = 6;
3494
3474
  return db$1.beginTransaction();
@@ -3584,7 +3564,7 @@ var createUser$1 = function () {
3584
3564
  case 39:
3585
3565
  return _context4.abrupt('return', {
3586
3566
  error: '',
3587
- user: findUser$1(data.email)
3567
+ user: findUser(data.email)
3588
3568
  });
3589
3569
 
3590
3570
  case 42:
@@ -3622,7 +3602,7 @@ var createUser$1 = function () {
3622
3602
  };
3623
3603
  }();
3624
3604
 
3625
- var createUser = function () {
3605
+ var createUser$1 = function () {
3626
3606
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(data) {
3627
3607
  var res;
3628
3608
  return regenerator.wrap(function _callee$(_context) {
@@ -3630,7 +3610,7 @@ var createUser = function () {
3630
3610
  switch (_context.prev = _context.next) {
3631
3611
  case 0:
3632
3612
  _context.next = 2;
3633
- return createUser$1(data);
3613
+ return createUser(data);
3634
3614
 
3635
3615
  case 2:
3636
3616
  res = _context.sent;
@@ -3658,7 +3638,7 @@ var createUser = function () {
3658
3638
  };
3659
3639
  }();
3660
3640
 
3661
- var updateUser = function () {
3641
+ var updateUser$1 = function () {
3662
3642
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
3663
3643
  var res;
3664
3644
  return regenerator.wrap(function _callee2$(_context2) {
@@ -3666,7 +3646,7 @@ var updateUser = function () {
3666
3646
  switch (_context2.prev = _context2.next) {
3667
3647
  case 0:
3668
3648
  _context2.next = 2;
3669
- return updateUser$1(data);
3649
+ return updateUser(data);
3670
3650
 
3671
3651
  case 2:
3672
3652
  res = _context2.sent;
@@ -3694,7 +3674,7 @@ var updateUser = function () {
3694
3674
  };
3695
3675
  }();
3696
3676
 
3697
- var findUser = function () {
3677
+ var findUser$1 = function () {
3698
3678
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(_ref4) {
3699
3679
  var email = _ref4.email,
3700
3680
  password = _ref4.password;
@@ -3704,7 +3684,7 @@ var findUser = function () {
3704
3684
  switch (_context3.prev = _context3.next) {
3705
3685
  case 0:
3706
3686
  _context3.next = 2;
3707
- return findUser$1(email, password);
3687
+ return findUser(email, password);
3708
3688
 
3709
3689
  case 2:
3710
3690
  res = _context3.sent;
@@ -3734,9 +3714,9 @@ var findUser = function () {
3734
3714
 
3735
3715
  var user = /*#__PURE__*/Object.freeze({
3736
3716
  __proto__: null,
3737
- createUser: createUser,
3738
- updateUser: updateUser,
3739
- findUser: findUser
3717
+ createUser: createUser$1,
3718
+ updateUser: updateUser$1,
3719
+ findUser: findUser$1
3740
3720
  });
3741
3721
 
3742
3722
  var localStrategy = new Local.Strategy({
@@ -3744,7 +3724,7 @@ var localStrategy = new Local.Strategy({
3744
3724
  passwordField: 'password'
3745
3725
  }, function (email, password, done) {
3746
3726
 
3747
- findUser({ email: email, password: password }).then(function (user) {
3727
+ findUser$1({ email: email, password: password }).then(function (user) {
3748
3728
  done(null, user);
3749
3729
  }).catch(function (error) {
3750
3730
  done(error);
@@ -3756,9 +3736,9 @@ var passportLocal = /*#__PURE__*/Object.freeze({
3756
3736
  localStrategy: localStrategy
3757
3737
  });
3758
3738
 
3759
- var _this = undefined;
3739
+ var _this$4 = undefined;
3760
3740
 
3761
- var config = {
3741
+ var config$1 = {
3762
3742
  host: 'sanity-datasource.cluster-crao688bsrdh.us-east-1.rds.amazonaws.com',
3763
3743
  user: 'nasp',
3764
3744
  password: 'uRNkF9SkfXQs6AKK',
@@ -3772,7 +3752,7 @@ var getOccupation = function () {
3772
3752
  while (1) {
3773
3753
  switch (_context.prev = _context.next) {
3774
3754
  case 0:
3775
- db$1 = db(config);
3755
+ db$1 = db(config$1);
3776
3756
  query = '\n select name as label, id as value\n from occupation\n where type = ?\n ';
3777
3757
  _context.next = 4;
3778
3758
  return db$1.query(query, [type]);
@@ -3790,7 +3770,7 @@ var getOccupation = function () {
3790
3770
  return _context.stop();
3791
3771
  }
3792
3772
  }
3793
- }, _callee, _this);
3773
+ }, _callee, _this$4);
3794
3774
  }));
3795
3775
 
3796
3776
  return function getOccupation(_x) {
@@ -3805,7 +3785,7 @@ var getFieldsAndOptions = function () {
3805
3785
  while (1) {
3806
3786
  switch (_context2.prev = _context2.next) {
3807
3787
  case 0:
3808
- db$1 = db(config);
3788
+ db$1 = db(config$1);
3809
3789
  query = '\n select * \n from field\n where occupation_id = ?\n order by sorting\n ';
3810
3790
  _context2.next = 4;
3811
3791
  return db$1.query(query, [occupation]);
@@ -3853,7 +3833,7 @@ var getFieldsAndOptions = function () {
3853
3833
  return _context2.stop();
3854
3834
  }
3855
3835
  }
3856
- }, _callee2, _this);
3836
+ }, _callee2, _this$4);
3857
3837
  }));
3858
3838
 
3859
3839
  return function getFieldsAndOptions(_x2) {
@@ -3924,8 +3904,8 @@ var ProcessData = (function () {
3924
3904
  })();
3925
3905
 
3926
3906
  var LoginForm_1 = LoginForm;
3927
- var SignupForm_1 = SignupForm$1;
3928
- var ProfileForm_1 = SignupForm;
3907
+ var SignupForm_1 = SignupForm;
3908
+ var ProfileForm_1 = SignupForm$1;
3929
3909
  var AuthCookies_1 = authCookies;
3930
3910
  var AuthHooks_1 = hooks;
3931
3911
  var Iron_1 = iron;