@mjhls/mjh-framework 1.0.866-d4d665.2 → 1.0.866

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 (309) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +23 -24
  4. package/dist/cjs/AD300x250x600.js +23 -24
  5. package/dist/cjs/AD728x90.js +26 -27
  6. package/dist/cjs/ADFloatingFooter.js +22 -23
  7. package/dist/cjs/ADFooter.js +6 -6
  8. package/dist/cjs/ADGutter.js +22 -23
  9. package/dist/cjs/{ADInfeed-799275aa.js → ADInfeed-f8324b70.js} +4 -4
  10. package/dist/cjs/ADSkyscraper.js +22 -23
  11. package/dist/cjs/ADSponsoredResources.js +22 -23
  12. package/dist/cjs/ADWebcast.js +22 -23
  13. package/dist/cjs/ADWelcome.js +19 -20
  14. package/dist/cjs/{ADlgInfeed-591d014e.js → ADlgInfeed-98d7c699.js} +4 -4
  15. package/dist/cjs/AccordionPanel.js +8 -8
  16. package/dist/cjs/AdSlot.js +23 -24
  17. package/dist/cjs/AdSlotsProvider.js +13 -14
  18. package/dist/cjs/AlgoliaSearch.js +30 -14121
  19. package/dist/cjs/AlphabeticList.js +10 -10
  20. package/dist/cjs/ArticleCarousel.js +15 -15
  21. package/dist/cjs/ArticleProgramLandingPage.js +49 -50
  22. package/dist/cjs/ArticleSeriesLandingPage.js +32 -33
  23. package/dist/cjs/ArticleSeriesListing.js +33 -34
  24. package/dist/cjs/Auth.js +519 -348
  25. package/dist/cjs/AuthWrapper.js +20 -20
  26. package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-c21aac7f.js} +1 -1
  27. package/dist/cjs/Beam.js +8 -8
  28. package/dist/cjs/{BlockContent-8b494587.js → BlockContent-36e54d77.js} +34 -34
  29. package/dist/cjs/Breadcrumbs.js +8 -8
  30. package/dist/cjs/CMEDeck.js +24 -25
  31. package/dist/cjs/Column2.js +16 -16
  32. package/dist/cjs/Column3.js +32 -33
  33. package/dist/cjs/ConferenceArticleCard.js +22 -22
  34. package/dist/cjs/DeckContent.js +42 -43
  35. package/dist/cjs/DeckQueue.js +31 -32
  36. package/dist/cjs/{Dfp-391fd124.js → Dfp-3f0ed4c8.js} +14 -15
  37. package/dist/cjs/EventsDeck.js +45 -45
  38. package/dist/cjs/ExternalResources.js +46 -47
  39. package/dist/cjs/Feature.js +4 -4
  40. package/dist/cjs/ForbesHero.js +12 -12
  41. package/dist/cjs/GridContent.js +47 -48
  42. package/dist/cjs/GridHero.js +13 -13
  43. package/dist/cjs/GroupDeck.js +14 -14
  44. package/dist/cjs/HamMagazine.js +37 -37
  45. package/dist/cjs/Hero.js +4 -4
  46. package/dist/cjs/HighlightenVideo.js +2 -2
  47. package/dist/cjs/HorizontalArticleListing.js +47 -48
  48. package/dist/cjs/HorizontalHero.js +5 -5
  49. package/dist/cjs/IssueContentDeck.js +13 -13
  50. package/dist/cjs/IssueDeck.js +17 -17
  51. package/dist/cjs/IssueLanding.js +84 -85
  52. package/dist/cjs/KMTracker.js +15 -15
  53. package/dist/cjs/LeftNav.js +21 -22
  54. package/dist/cjs/MasterDeck.js +41 -42
  55. package/dist/cjs/MediaSeriesLanding.js +713 -613
  56. package/dist/cjs/NavDvm.js +13 -13
  57. package/dist/cjs/NavMagazine.js +41 -41
  58. package/dist/cjs/NavNative.js +41 -41
  59. package/dist/cjs/OncliveHero.js +4 -4
  60. package/dist/cjs/OncliveLargeHero.js +13 -13
  61. package/dist/cjs/PageFilter.js +6 -6
  62. package/dist/cjs/PartnerDetailListing.js +67 -2796
  63. package/dist/cjs/PdfDownload.js +2 -2
  64. package/dist/cjs/PopUpModal.js +6 -6
  65. package/dist/cjs/PubSection.js +34 -35
  66. package/dist/cjs/PubToc.js +8 -8
  67. package/dist/cjs/PublicationDeck.js +8 -8
  68. package/dist/cjs/PublicationLanding.js +55 -55
  69. package/dist/cjs/QueueDeckExpanded.js +40 -41
  70. package/dist/cjs/RecentNews.js +4 -4
  71. package/dist/cjs/RelatedContent.js +35 -35
  72. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  73. package/dist/cjs/Search.js +8 -8
  74. package/dist/cjs/Segment.js +6 -6
  75. package/dist/cjs/SeriesListingDeck.js +20 -21
  76. package/dist/cjs/{SeriesSlider-d38767ae.js → SeriesSlider-e3e8ead7.js} +14 -14
  77. package/dist/cjs/SetCookie.js +1 -1
  78. package/dist/cjs/SideFooter.js +17 -17
  79. package/dist/cjs/{SocialSearchComponent-9a9d6f8c.js → SocialSearchComponent-948138c7.js} +11 -11
  80. package/dist/cjs/TaxonomyCard.js +10 -10
  81. package/dist/cjs/TaxonomyDescription.js +45 -46
  82. package/dist/cjs/TemplateNormal.js +47 -48
  83. package/dist/cjs/ThumbnailCard.js +7 -7
  84. package/dist/cjs/Ustream.js +14 -14
  85. package/dist/cjs/VerticalHero.js +3 -3
  86. package/dist/cjs/VideoProgramLandingPage.js +51 -52
  87. package/dist/cjs/VideoSeriesCard.js +14 -14
  88. package/dist/cjs/VideoSeriesFilter.js +9 -9
  89. package/dist/cjs/VideoSeriesLandingPage.js +38 -39
  90. package/dist/cjs/VideoSeriesListing.js +33 -34
  91. package/dist/cjs/View.js +90 -92
  92. package/dist/cjs/YahooHero.js +15 -15
  93. package/dist/cjs/YoutubeGroup.js +23 -23
  94. package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
  95. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
  96. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  97. package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
  98. package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
  99. package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
  100. package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
  101. package/dist/cjs/{brightcove-react-player-loader.es-4ba0d3d5.js → brightcove-react-player-loader.es-a195642e.js} +5 -4
  102. package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
  103. package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
  104. package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
  105. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
  106. package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
  107. package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
  108. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
  109. package/dist/cjs/{extends-0a918631.js → extends-29bdbc6d.js} +7 -7
  110. package/dist/cjs/faundadb.js +7 -7
  111. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  112. package/dist/cjs/getRelatedArticle.js +14 -14
  113. package/dist/cjs/getRootDocGroup.js +6 -6
  114. package/dist/cjs/getSerializers.js +45 -46
  115. package/dist/cjs/{getTargeting-21103688.js → getTargeting-32d1c2e4.js} +11 -11
  116. package/dist/cjs/getTargeting.js +8 -8
  117. package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
  118. package/dist/cjs/{index-2cf30c83.js → index-0e4427c8.js} +470 -5
  119. package/dist/cjs/{index-4990e6c9.js → index-32097c80.js} +175 -175
  120. package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
  121. package/dist/cjs/{index-b5eb3ff8.js → index-efca863c.js} +16 -11
  122. package/dist/cjs/{index-5be2866f.js → index-f86bb269.js} +44 -45
  123. package/dist/cjs/{index.es-13533f24.js → index.es-f3e47207.js} +20 -4
  124. package/dist/cjs/{index.esm-974f47d9.js → index.esm-00a6aade.js} +1 -1
  125. package/dist/cjs/{index.esm-3ffa049c.js → index.esm-2bb721c8.js} +2 -2
  126. package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
  127. package/dist/cjs/{index.esm-05850a2f.js → index.esm-f27f80d9.js} +1 -1
  128. package/dist/cjs/index.js +140 -140
  129. package/dist/cjs/{inherits-0c7830c5.js → inherits-c2065b95.js} +19 -19
  130. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  131. package/dist/cjs/keys-7f2c2108.js +25 -0
  132. package/dist/cjs/{lodash-7fd85bcf.js → lodash-f0783643.js} +58 -10
  133. package/dist/cjs/main-f1c77adb.js +973 -0
  134. package/dist/cjs/{moment-66a6a284.js → moment-aca40de1.js} +11 -9
  135. package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
  136. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
  137. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  138. package/dist/cjs/stringify-c9ac1214.js +17 -0
  139. package/dist/cjs/timeDifferenceCalc.js +1 -1
  140. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
  141. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  142. package/dist/cjs/{typeof-9d7f610f.js → typeof-88a668c5.js} +35 -35
  143. package/dist/cjs/urlFor.js +1 -1
  144. package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
  145. package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
  146. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
  147. package/dist/esm/AD.js +7 -7
  148. package/dist/esm/AD300x250.js +26 -27
  149. package/dist/esm/AD300x250x600.js +26 -27
  150. package/dist/esm/AD728x90.js +29 -30
  151. package/dist/esm/ADFloatingFooter.js +28 -29
  152. package/dist/esm/ADFooter.js +11 -11
  153. package/dist/esm/ADGutter.js +28 -29
  154. package/dist/esm/{ADInfeed-4b8902ae.js → ADInfeed-a71a3972.js} +9 -9
  155. package/dist/esm/ADSkyscraper.js +28 -29
  156. package/dist/esm/ADSponsoredResources.js +28 -29
  157. package/dist/esm/ADWebcast.js +28 -29
  158. package/dist/esm/ADWelcome.js +29 -30
  159. package/dist/esm/{ADlgInfeed-5193b48f.js → ADlgInfeed-d94f1437.js} +8 -8
  160. package/dist/esm/AccordionPanel.js +24 -24
  161. package/dist/esm/AdSlot.js +26 -27
  162. package/dist/esm/AdSlotsProvider.js +14 -15
  163. package/dist/esm/AlgoliaSearch.js +52 -14143
  164. package/dist/esm/AlphabeticList.js +22 -22
  165. package/dist/esm/ArticleCarousel.js +18 -18
  166. package/dist/esm/ArticleProgramLandingPage.js +55 -56
  167. package/dist/esm/ArticleSeriesLandingPage.js +37 -38
  168. package/dist/esm/ArticleSeriesListing.js +56 -57
  169. package/dist/esm/Auth.js +589 -418
  170. package/dist/esm/AuthWrapper.js +45 -45
  171. package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-30aeba69.js} +11 -11
  172. package/dist/esm/Beam.js +8 -8
  173. package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-c99c9a8d.js} +35 -35
  174. package/dist/esm/Breadcrumbs.js +17 -17
  175. package/dist/esm/CMEDeck.js +79 -80
  176. package/dist/esm/Column1.js +5 -5
  177. package/dist/esm/Column2.js +27 -27
  178. package/dist/esm/Column3.js +51 -52
  179. package/dist/esm/ConferenceArticleCard.js +35 -35
  180. package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
  181. package/dist/esm/DeckContent.js +86 -87
  182. package/dist/esm/DeckQueue.js +68 -69
  183. package/dist/esm/{Dfp-2f9796e1.js → Dfp-be030f2a.js} +22 -23
  184. package/dist/esm/EventsDeck.js +105 -105
  185. package/dist/esm/ExternalResources.js +72 -73
  186. package/dist/esm/Feature.js +18 -18
  187. package/dist/esm/ForbesHero.js +35 -35
  188. package/dist/esm/GridContent.js +163 -164
  189. package/dist/esm/GridHero.js +37 -37
  190. package/dist/esm/GroupDeck.js +47 -47
  191. package/dist/esm/HamMagazine.js +114 -114
  192. package/dist/esm/Header.js +8 -8
  193. package/dist/esm/Hero.js +10 -10
  194. package/dist/esm/HighlightenVideo.js +14 -14
  195. package/dist/esm/HorizontalArticleListing.js +69 -70
  196. package/dist/esm/HorizontalHero.js +23 -23
  197. package/dist/esm/IssueContentDeck.js +50 -50
  198. package/dist/esm/IssueDeck.js +47 -47
  199. package/dist/esm/IssueLanding.js +92 -93
  200. package/dist/esm/KMTracker.js +15 -15
  201. package/dist/esm/LeftNav.js +34 -35
  202. package/dist/esm/MasterDeck.js +73 -74
  203. package/dist/esm/MediaSeriesLanding.js +725 -625
  204. package/dist/esm/NavDvm.js +56 -56
  205. package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
  206. package/dist/esm/NavMagazine.js +123 -123
  207. package/dist/esm/NavNative.js +112 -112
  208. package/dist/esm/OncliveHero.js +16 -16
  209. package/dist/esm/OncliveLargeHero.js +60 -60
  210. package/dist/esm/PageFilter.js +12 -12
  211. package/dist/esm/PartnerDetailListing.js +114 -2842
  212. package/dist/esm/PdfDownload.js +7 -7
  213. package/dist/esm/PopUpModal.js +14 -14
  214. package/dist/esm/PubSection.js +39 -40
  215. package/dist/esm/PubToc.js +12 -12
  216. package/dist/esm/PublicationDeck.js +39 -39
  217. package/dist/esm/PublicationLanding.js +102 -102
  218. package/dist/esm/QueueDeckExpanded.js +277 -278
  219. package/dist/esm/RecentNews.js +20 -20
  220. package/dist/esm/RelatedContent.js +48 -48
  221. package/dist/esm/RelatedTopicsDropdown.js +21 -21
  222. package/dist/esm/RolesDeck.js +13 -13
  223. package/dist/esm/Search.js +12 -12
  224. package/dist/esm/Segment.js +6 -6
  225. package/dist/esm/SeriesListingDeck.js +32 -33
  226. package/dist/esm/{SeriesSlider-b8cc1baa.js → SeriesSlider-ae17159f.js} +31 -31
  227. package/dist/esm/SetCookie.js +1 -1
  228. package/dist/esm/SideFooter.js +34 -34
  229. package/dist/esm/SocialIcons.js +7 -7
  230. package/dist/esm/{SocialSearchComponent-c54d43cb.js → SocialSearchComponent-db963c3e.js} +29 -29
  231. package/dist/esm/SocialShare.js +25 -25
  232. package/dist/esm/TaxonomyCard.js +42 -42
  233. package/dist/esm/TaxonomyDescription.js +49 -50
  234. package/dist/esm/TemplateNormal.js +67 -68
  235. package/dist/esm/ThumbnailCard.js +14 -14
  236. package/dist/esm/Ustream.js +27 -27
  237. package/dist/esm/VerticalHero.js +14 -14
  238. package/dist/esm/VideoProgramLandingPage.js +63 -64
  239. package/dist/esm/VideoSeriesCard.js +26 -26
  240. package/dist/esm/VideoSeriesFilter.js +15 -15
  241. package/dist/esm/VideoSeriesLandingPage.js +42 -43
  242. package/dist/esm/VideoSeriesListing.js +72 -73
  243. package/dist/esm/View.js +246 -248
  244. package/dist/esm/YahooHero.js +35 -35
  245. package/dist/esm/YoutubeGroup.js +48 -48
  246. package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
  247. package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
  248. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  249. package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
  250. package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
  251. package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
  252. package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
  253. package/dist/esm/{brightcove-react-player-loader.es-e1c6b0f2.js → brightcove-react-player-loader.es-57a70a56.js} +7 -6
  254. package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
  255. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  256. package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
  257. package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
  258. package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
  259. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  260. package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
  261. package/dist/esm/{extends-6f2fcc99.js → extends-60e0e1c6.js} +7 -7
  262. package/dist/esm/faundadb.js +7 -7
  263. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  264. package/dist/esm/getRelatedArticle.js +14 -14
  265. package/dist/esm/getRootDocGroup.js +6 -6
  266. package/dist/esm/getSerializers.js +45 -46
  267. package/dist/esm/{getTargeting-88d69971.js → getTargeting-cf2724e3.js} +11 -11
  268. package/dist/esm/getTargeting.js +8 -8
  269. package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
  270. package/dist/esm/{index-51a80699.js → index-0dbff1d1.js} +16 -11
  271. package/dist/esm/{index-f7fb1e25.js → index-5cc7b406.js} +472 -7
  272. package/dist/esm/{index-bec35c6c.js → index-5e84f9cd.js} +573 -573
  273. package/dist/esm/{index-6c12bdd5.js → index-755f2cc2.js} +10 -10
  274. package/dist/esm/{index-d2f90501.js → index-79cfd25c.js} +44 -45
  275. package/dist/esm/{index.es-7dda2f0a.js → index.es-a6137319.js} +25 -9
  276. package/dist/esm/{index.esm-8ee5ff72.js → index.esm-37268dca.js} +16 -16
  277. package/dist/esm/{index.esm-c6715e80.js → index.esm-9b042655.js} +1 -1
  278. package/dist/esm/{index.esm-a8ff922c.js → index.esm-d4932dea.js} +1 -1
  279. package/dist/esm/{index.esm-3fdda599.js → index.esm-f6156a57.js} +1 -1
  280. package/dist/esm/index.js +136 -136
  281. package/dist/esm/{inherits-75d45541.js → inherits-a41fe93f.js} +19 -19
  282. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  283. package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
  284. package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
  285. package/dist/esm/main-d4165069.js +961 -0
  286. package/dist/esm/{moment-12415288.js → moment-bc12cb97.js} +11 -9
  287. package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-9be47857.js} +20 -20
  288. package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
  289. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  290. package/dist/esm/stringify-59c8f690.js +15 -0
  291. package/dist/esm/timeDifferenceCalc.js +1 -1
  292. package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
  293. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  294. package/dist/esm/{typeof-af9c50d8.js → typeof-a286cf0c.js} +35 -35
  295. package/dist/esm/urlFor.js +1 -1
  296. package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
  297. package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
  298. package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
  299. package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
  300. package/package.json +111 -111
  301. package/dist/cjs/events-1b438fe7.js +0 -469
  302. package/dist/cjs/index-f0677b9d.js +0 -99
  303. package/dist/cjs/keys-a586b7a0.js +0 -25
  304. package/dist/cjs/main-11ec04d2.js +0 -894
  305. package/dist/cjs/stringify-7c5aff47.js +0 -17
  306. package/dist/esm/events-6c3a7a63.js +0 -467
  307. package/dist/esm/index-b68072f5.js +0 -94
  308. package/dist/esm/main-aef58dbc.js +0 -882
  309. package/dist/esm/stringify-4330ccdc.js +0 -15
package/dist/cjs/Auth.js CHANGED
@@ -2,27 +2,27 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
6
- require('./_to-object-329a650b.js');
7
- require('./es6.string.iterator-cc0bbaa4.js');
8
- require('./_library-dd23b178.js');
9
- require('./_iter-detect-60b2f026.js');
10
- require('./core.get-iterator-method-f62321d4.js');
11
- require('./_object-pie-68c5bcbc.js');
12
- var _extends = require('./extends-0a918631.js');
13
- require('./web.dom.iterable-a0e279c1.js');
5
+ var asyncToGenerator = require('./asyncToGenerator-58c289d9.js');
6
+ var stringify = require('./stringify-c9ac1214.js');
7
+ var slicedToArray = require('./slicedToArray-5d1bc3b3.js');
14
8
  var React = require('react');
15
9
  var Router = require('next/router');
16
- var slicedToArray = require('./slicedToArray-8f385299.js');
17
- var stringify = require('./stringify-7c5aff47.js');
18
- var asyncToGenerator = require('./asyncToGenerator-140e5f89.js');
10
+ var _extends = require('./extends-29bdbc6d.js');
19
11
  var reactBootstrap = require('react-bootstrap');
20
- var util = require('./util-f2c1b65b.js');
21
- var index = require('./index-bd6c9f56.js');
22
12
  var useSWR = require('swr');
13
+ var index = require('./index-bd6c9f56.js');
23
14
  var Local = require('passport-local');
24
15
  var mysql = require('mysql');
16
+ var util = require('./util-6f784d85.js');
17
+ var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
25
18
  var md5 = require('./md5-e1ca5797.js');
19
+ require('./es6.string.iterator-c2573ffd.js');
20
+ require('./_to-object-6de10e57.js');
21
+ require('./web.dom.iterable-46657b5c.js');
22
+ require('./_library-dd23b178.js');
23
+ require('./core.get-iterator-method-f474eacc.js');
24
+ require('./_iter-detect-55a5657a.js');
25
+ require('./_object-pie-083f2dd6.js');
26
26
 
27
27
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
28
28
 
@@ -148,7 +148,7 @@ var returnFormField = function returnFormField(_ref) {
148
148
  }
149
149
  };
150
150
 
151
- var _this = undefined;
151
+ var _this$4 = undefined;
152
152
 
153
153
  var dataHandler = function () {
154
154
  var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(api_url, body) {
@@ -214,7 +214,7 @@ var dataHandler = function () {
214
214
  return _context.stop();
215
215
  }
216
216
  }
217
- }, _callee, _this, [[0, 20]]);
217
+ }, _callee, _this$4, [[0, 20]]);
218
218
  }));
219
219
 
220
220
  return function dataHandler(_x, _x2) {
@@ -410,9 +410,9 @@ var countries = ["United States", "Afghanistan", "Albania", "Algeria", "American
410
410
 
411
411
  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'];
412
412
 
413
- var _this$1 = undefined;
413
+ var _this$3 = undefined;
414
414
 
415
- var SignupForm = function SignupForm(props) {
415
+ var SignupForm$1 = function SignupForm(props) {
416
416
  var handleSubmit = function () {
417
417
  var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(e) {
418
418
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
@@ -573,7 +573,7 @@ var SignupForm = function SignupForm(props) {
573
573
  return _context.stop();
574
574
  }
575
575
  }
576
- }, _callee, _this$1);
576
+ }, _callee, _this$3);
577
577
  }));
578
578
 
579
579
  return function loadInitData() {
@@ -640,7 +640,7 @@ var SignupForm = function SignupForm(props) {
640
640
  return _context2.stop();
641
641
  }
642
642
  }
643
- }, _callee2, _this$1);
643
+ }, _callee2, _this$3);
644
644
  }));
645
645
 
646
646
  return function handleOccupationChanged(_x) {
@@ -790,7 +790,7 @@ var SignupForm = function SignupForm(props) {
790
790
 
791
791
  var _this$2 = undefined;
792
792
 
793
- var SignupForm$1 = function SignupForm(props) {
793
+ var SignupForm = function SignupForm(props) {
794
794
  var handleSubmit = function () {
795
795
  var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(e) {
796
796
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
@@ -1325,10 +1325,10 @@ var iron = /*#__PURE__*/Object.freeze({
1325
1325
  getSession: getSession
1326
1326
  });
1327
1327
 
1328
- var toStr = Object.prototype.toString;
1328
+ var toStr$5 = Object.prototype.toString;
1329
1329
 
1330
1330
  var isArguments = function isArguments(value) {
1331
- var str = toStr.call(value);
1331
+ var str = toStr$5.call(value);
1332
1332
  var isArgs = str === '[object Arguments]';
1333
1333
  if (!isArgs) {
1334
1334
  isArgs = str !== '[object Array]' &&
@@ -1336,16 +1336,16 @@ var isArguments = function isArguments(value) {
1336
1336
  typeof value === 'object' &&
1337
1337
  typeof value.length === 'number' &&
1338
1338
  value.length >= 0 &&
1339
- toStr.call(value.callee) === '[object Function]';
1339
+ toStr$5.call(value.callee) === '[object Function]';
1340
1340
  }
1341
1341
  return isArgs;
1342
1342
  };
1343
1343
 
1344
- var keysShim;
1344
+ var keysShim$1;
1345
1345
  if (!Object.keys) {
1346
1346
  // modified from https://github.com/es-shims/es5-shim
1347
- var has = Object.prototype.hasOwnProperty;
1348
- var toStr$1 = Object.prototype.toString;
1347
+ var has$1 = Object.prototype.hasOwnProperty;
1348
+ var toStr$4 = Object.prototype.toString;
1349
1349
  var isArgs = isArguments; // eslint-disable-line global-require
1350
1350
  var isEnumerable = Object.prototype.propertyIsEnumerable;
1351
1351
  var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');
@@ -1393,7 +1393,7 @@ if (!Object.keys) {
1393
1393
  if (typeof window === 'undefined') { return false; }
1394
1394
  for (var k in window) {
1395
1395
  try {
1396
- if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
1396
+ if (!excludedKeys['$' + k] && has$1.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
1397
1397
  try {
1398
1398
  equalsConstructorPrototype(window[k]);
1399
1399
  } catch (e) {
@@ -1418,11 +1418,11 @@ if (!Object.keys) {
1418
1418
  }
1419
1419
  };
1420
1420
 
1421
- keysShim = function keys(object) {
1421
+ keysShim$1 = function keys(object) {
1422
1422
  var isObject = object !== null && typeof object === 'object';
1423
- var isFunction = toStr$1.call(object) === '[object Function]';
1423
+ var isFunction = toStr$4.call(object) === '[object Function]';
1424
1424
  var isArguments = isArgs(object);
1425
- var isString = isObject && toStr$1.call(object) === '[object String]';
1425
+ var isString = isObject && toStr$4.call(object) === '[object String]';
1426
1426
  var theKeys = [];
1427
1427
 
1428
1428
  if (!isObject && !isFunction && !isArguments) {
@@ -1430,7 +1430,7 @@ if (!Object.keys) {
1430
1430
  }
1431
1431
 
1432
1432
  var skipProto = hasProtoEnumBug && isFunction;
1433
- if (isString && object.length > 0 && !has.call(object, 0)) {
1433
+ if (isString && object.length > 0 && !has$1.call(object, 0)) {
1434
1434
  for (var i = 0; i < object.length; ++i) {
1435
1435
  theKeys.push(String(i));
1436
1436
  }
@@ -1442,7 +1442,7 @@ if (!Object.keys) {
1442
1442
  }
1443
1443
  } else {
1444
1444
  for (var name in object) {
1445
- if (!(skipProto && name === 'prototype') && has.call(object, name)) {
1445
+ if (!(skipProto && name === 'prototype') && has$1.call(object, name)) {
1446
1446
  theKeys.push(String(name));
1447
1447
  }
1448
1448
  }
@@ -1452,7 +1452,7 @@ if (!Object.keys) {
1452
1452
  var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);
1453
1453
 
1454
1454
  for (var k = 0; k < dontEnums.length; ++k) {
1455
- if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {
1455
+ if (!(skipConstructor && dontEnums[k] === 'constructor') && has$1.call(object, dontEnums[k])) {
1456
1456
  theKeys.push(dontEnums[k]);
1457
1457
  }
1458
1458
  }
@@ -1460,17 +1460,17 @@ if (!Object.keys) {
1460
1460
  return theKeys;
1461
1461
  };
1462
1462
  }
1463
- var implementation = keysShim;
1463
+ var implementation$3 = keysShim$1;
1464
1464
 
1465
- var slice = Array.prototype.slice;
1465
+ var slice$1 = Array.prototype.slice;
1466
1466
 
1467
1467
 
1468
1468
  var origKeys = Object.keys;
1469
- var keysShim$1 = origKeys ? function keys(o) { return origKeys(o); } : implementation;
1469
+ var keysShim = origKeys ? function keys(o) { return origKeys(o); } : implementation$3;
1470
1470
 
1471
1471
  var originalKeys = Object.keys;
1472
1472
 
1473
- keysShim$1.shim = function shimObjectKeys() {
1473
+ keysShim.shim = function shimObjectKeys() {
1474
1474
  if (Object.keys) {
1475
1475
  var keysWorksWithArguments = (function () {
1476
1476
  // Safari 5.0 bug
@@ -1480,27 +1480,27 @@ keysShim$1.shim = function shimObjectKeys() {
1480
1480
  if (!keysWorksWithArguments) {
1481
1481
  Object.keys = function keys(object) { // eslint-disable-line func-name-matching
1482
1482
  if (isArguments(object)) {
1483
- return originalKeys(slice.call(object));
1483
+ return originalKeys(slice$1.call(object));
1484
1484
  }
1485
1485
  return originalKeys(object);
1486
1486
  };
1487
1487
  }
1488
1488
  } else {
1489
- Object.keys = keysShim$1;
1489
+ Object.keys = keysShim;
1490
1490
  }
1491
- return Object.keys || keysShim$1;
1491
+ return Object.keys || keysShim;
1492
1492
  };
1493
1493
 
1494
- var objectKeys = keysShim$1;
1494
+ var objectKeys = keysShim;
1495
1495
 
1496
- var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
1496
+ var hasSymbols$4 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
1497
1497
 
1498
- var toStr$2 = Object.prototype.toString;
1498
+ var toStr$3 = Object.prototype.toString;
1499
1499
  var concat = Array.prototype.concat;
1500
1500
  var origDefineProperty = Object.defineProperty;
1501
1501
 
1502
1502
  var isFunction = function (fn) {
1503
- return typeof fn === 'function' && toStr$2.call(fn) === '[object Function]';
1503
+ return typeof fn === 'function' && toStr$3.call(fn) === '[object Function]';
1504
1504
  };
1505
1505
 
1506
1506
  var arePropertyDescriptorsSupported = function () {
@@ -1537,7 +1537,7 @@ var defineProperty = function (object, name, value, predicate) {
1537
1537
  var defineProperties = function (object, map) {
1538
1538
  var predicates = arguments.length > 2 ? arguments[2] : {};
1539
1539
  var props = objectKeys(map);
1540
- if (hasSymbols) {
1540
+ if (hasSymbols$4) {
1541
1541
  props = concat.call(props, Object.getOwnPropertySymbols(map));
1542
1542
  }
1543
1543
  for (var i = 0; i < props.length; i += 1) {
@@ -1549,6 +1549,59 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
1549
1549
 
1550
1550
  var defineProperties_1 = defineProperties;
1551
1551
 
1552
+ /* eslint no-invalid-this: 1 */
1553
+
1554
+ var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1555
+ var slice = Array.prototype.slice;
1556
+ var toStr$2 = Object.prototype.toString;
1557
+ var funcType = '[object Function]';
1558
+
1559
+ var implementation$2 = function bind(that) {
1560
+ var target = this;
1561
+ if (typeof target !== 'function' || toStr$2.call(target) !== funcType) {
1562
+ throw new TypeError(ERROR_MESSAGE + target);
1563
+ }
1564
+ var args = slice.call(arguments, 1);
1565
+
1566
+ var bound;
1567
+ var binder = function () {
1568
+ if (this instanceof bound) {
1569
+ var result = target.apply(
1570
+ this,
1571
+ args.concat(slice.call(arguments))
1572
+ );
1573
+ if (Object(result) === result) {
1574
+ return result;
1575
+ }
1576
+ return this;
1577
+ } else {
1578
+ return target.apply(
1579
+ that,
1580
+ args.concat(slice.call(arguments))
1581
+ );
1582
+ }
1583
+ };
1584
+
1585
+ var boundLength = Math.max(0, target.length - args.length);
1586
+ var boundArgs = [];
1587
+ for (var i = 0; i < boundLength; i++) {
1588
+ boundArgs.push('$' + i);
1589
+ }
1590
+
1591
+ bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1592
+
1593
+ if (target.prototype) {
1594
+ var Empty = function Empty() {};
1595
+ Empty.prototype = target.prototype;
1596
+ bound.prototype = new Empty();
1597
+ Empty.prototype = null;
1598
+ }
1599
+
1600
+ return bound;
1601
+ };
1602
+
1603
+ var functionBind = Function.prototype.bind || implementation$2;
1604
+
1552
1605
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
1553
1606
  var shams = function hasSymbols() {
1554
1607
  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
@@ -1572,7 +1625,7 @@ var shams = function hasSymbols() {
1572
1625
 
1573
1626
  var symVal = 42;
1574
1627
  obj[sym] = symVal;
1575
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
1628
+ for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
1576
1629
  if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1577
1630
 
1578
1631
  if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
@@ -1590,10 +1643,10 @@ var shams = function hasSymbols() {
1590
1643
  return true;
1591
1644
  };
1592
1645
 
1593
- var origSymbol = _commonjsHelpers.commonjsGlobal.Symbol;
1646
+ var origSymbol = typeof Symbol !== 'undefined' && Symbol;
1594
1647
 
1595
1648
 
1596
- var hasSymbols$1 = function hasNativeSymbols() {
1649
+ var hasSymbols$3 = function hasNativeSymbols() {
1597
1650
  if (typeof origSymbol !== 'function') { return false; }
1598
1651
  if (typeof Symbol !== 'function') { return false; }
1599
1652
  if (typeof origSymbol('foo') !== 'symbol') { return false; }
@@ -1602,79 +1655,34 @@ var hasSymbols$1 = function hasNativeSymbols() {
1602
1655
  return shams();
1603
1656
  };
1604
1657
 
1605
- /* eslint no-invalid-this: 1 */
1606
-
1607
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1608
- var slice$1 = Array.prototype.slice;
1609
- var toStr$3 = Object.prototype.toString;
1610
- var funcType = '[object Function]';
1611
-
1612
- var implementation$1 = function bind(that) {
1613
- var target = this;
1614
- if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
1615
- throw new TypeError(ERROR_MESSAGE + target);
1616
- }
1617
- var args = slice$1.call(arguments, 1);
1618
-
1619
- var bound;
1620
- var binder = function () {
1621
- if (this instanceof bound) {
1622
- var result = target.apply(
1623
- this,
1624
- args.concat(slice$1.call(arguments))
1625
- );
1626
- if (Object(result) === result) {
1627
- return result;
1628
- }
1629
- return this;
1630
- } else {
1631
- return target.apply(
1632
- that,
1633
- args.concat(slice$1.call(arguments))
1634
- );
1635
- }
1636
- };
1637
-
1638
- var boundLength = Math.max(0, target.length - args.length);
1639
- var boundArgs = [];
1640
- for (var i = 0; i < boundLength; i++) {
1641
- boundArgs.push('$' + i);
1642
- }
1658
+ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1643
1659
 
1644
- bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1660
+ var undefined$1;
1645
1661
 
1646
- if (target.prototype) {
1647
- var Empty = function Empty() {};
1648
- Empty.prototype = target.prototype;
1649
- bound.prototype = new Empty();
1650
- Empty.prototype = null;
1651
- }
1662
+ var $SyntaxError$1 = SyntaxError;
1663
+ var $Function = Function;
1664
+ var $TypeError$5 = TypeError;
1652
1665
 
1653
- return bound;
1666
+ // eslint-disable-next-line consistent-return
1667
+ var getEvalledConstructor = function (expressionSyntax) {
1668
+ try {
1669
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1670
+ } catch (e) {}
1654
1671
  };
1655
1672
 
1656
- var functionBind = Function.prototype.bind || implementation$1;
1657
-
1658
- /* globals
1659
- Atomics,
1660
- SharedArrayBuffer,
1661
- */
1662
-
1663
- var undefined$1;
1664
-
1665
- var $TypeError = TypeError;
1666
-
1667
- var $gOPD = Object.getOwnPropertyDescriptor;
1668
- if ($gOPD) {
1673
+ var $gOPD$2 = Object.getOwnPropertyDescriptor;
1674
+ if ($gOPD$2) {
1669
1675
  try {
1670
- $gOPD({}, '');
1676
+ $gOPD$2({}, '');
1671
1677
  } catch (e) {
1672
- $gOPD = null; // this is IE 8, which has a broken gOPD
1678
+ $gOPD$2 = null; // this is IE 8, which has a broken gOPD
1673
1679
  }
1674
1680
  }
1675
1681
 
1676
- var throwTypeError = function () { throw new $TypeError(); };
1677
- var ThrowTypeError = $gOPD
1682
+ var throwTypeError = function () {
1683
+ throw new $TypeError$5();
1684
+ };
1685
+ var ThrowTypeError = $gOPD$2
1678
1686
  ? (function () {
1679
1687
  try {
1680
1688
  // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
@@ -1683,7 +1691,7 @@ var ThrowTypeError = $gOPD
1683
1691
  } catch (calleeThrows) {
1684
1692
  try {
1685
1693
  // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
1686
- return $gOPD(arguments, 'callee').get;
1694
+ return $gOPD$2(arguments, 'callee').get;
1687
1695
  } catch (gOPDthrows) {
1688
1696
  return throwTypeError;
1689
1697
  }
@@ -1691,206 +1699,354 @@ var ThrowTypeError = $gOPD
1691
1699
  }())
1692
1700
  : throwTypeError;
1693
1701
 
1694
- var hasSymbols$2 = hasSymbols$1();
1702
+ var hasSymbols$2 = hasSymbols$3();
1695
1703
 
1696
1704
  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1697
- var generatorFunction = undefined$1;
1698
- var asyncFunction = undefined$1;
1699
- var asyncGenFunction = undefined$1;
1705
+
1706
+ var needsEval = {};
1700
1707
 
1701
1708
  var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1702
1709
 
1703
1710
  var INTRINSICS = {
1711
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1704
1712
  '%Array%': Array,
1705
1713
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1706
- '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
1707
1714
  '%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
1708
- '%ArrayPrototype%': Array.prototype,
1709
- '%ArrayProto_entries%': Array.prototype.entries,
1710
- '%ArrayProto_forEach%': Array.prototype.forEach,
1711
- '%ArrayProto_keys%': Array.prototype.keys,
1712
- '%ArrayProto_values%': Array.prototype.values,
1713
1715
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
1714
- '%AsyncFunction%': asyncFunction,
1715
- '%AsyncFunctionPrototype%': undefined$1,
1716
- '%AsyncGenerator%': undefined$1,
1717
- '%AsyncGeneratorFunction%': asyncGenFunction,
1718
- '%AsyncGeneratorPrototype%': undefined$1,
1719
- '%AsyncIteratorPrototype%': undefined$1,
1716
+ '%AsyncFunction%': needsEval,
1717
+ '%AsyncGenerator%': needsEval,
1718
+ '%AsyncGeneratorFunction%': needsEval,
1719
+ '%AsyncIteratorPrototype%': needsEval,
1720
1720
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1721
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1721
1722
  '%Boolean%': Boolean,
1722
- '%BooleanPrototype%': Boolean.prototype,
1723
1723
  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1724
- '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
1725
1724
  '%Date%': Date,
1726
- '%DatePrototype%': Date.prototype,
1727
1725
  '%decodeURI%': decodeURI,
1728
1726
  '%decodeURIComponent%': decodeURIComponent,
1729
1727
  '%encodeURI%': encodeURI,
1730
1728
  '%encodeURIComponent%': encodeURIComponent,
1731
1729
  '%Error%': Error,
1732
- '%ErrorPrototype%': Error.prototype,
1733
1730
  '%eval%': eval, // eslint-disable-line no-eval
1734
1731
  '%EvalError%': EvalError,
1735
- '%EvalErrorPrototype%': EvalError.prototype,
1736
1732
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1737
- '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
1738
1733
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1739
- '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array.prototype,
1740
- '%Function%': Function,
1741
- '%FunctionPrototype%': Function.prototype,
1742
- '%Generator%': undefined$1,
1743
- '%GeneratorFunction%': generatorFunction,
1744
- '%GeneratorPrototype%': undefined$1,
1734
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1735
+ '%Function%': $Function,
1736
+ '%GeneratorFunction%': needsEval,
1745
1737
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1746
- '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1747
1738
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1748
- '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1749
1739
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1750
- '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
1751
1740
  '%isFinite%': isFinite,
1752
1741
  '%isNaN%': isNaN,
1753
1742
  '%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1754
1743
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1755
- '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
1756
1744
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1757
1745
  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1758
- '%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
1759
1746
  '%Math%': Math,
1760
1747
  '%Number%': Number,
1761
- '%NumberPrototype%': Number.prototype,
1762
1748
  '%Object%': Object,
1763
- '%ObjectPrototype%': Object.prototype,
1764
- '%ObjProto_toString%': Object.prototype.toString,
1765
- '%ObjProto_valueOf%': Object.prototype.valueOf,
1766
1749
  '%parseFloat%': parseFloat,
1767
1750
  '%parseInt%': parseInt,
1768
1751
  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
1769
- '%PromisePrototype%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype,
1770
- '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype.then,
1771
- '%Promise_all%': typeof Promise === 'undefined' ? undefined$1 : Promise.all,
1772
- '%Promise_reject%': typeof Promise === 'undefined' ? undefined$1 : Promise.reject,
1773
- '%Promise_resolve%': typeof Promise === 'undefined' ? undefined$1 : Promise.resolve,
1774
1752
  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1775
1753
  '%RangeError%': RangeError,
1776
- '%RangeErrorPrototype%': RangeError.prototype,
1777
1754
  '%ReferenceError%': ReferenceError,
1778
- '%ReferenceErrorPrototype%': ReferenceError.prototype,
1779
1755
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1780
1756
  '%RegExp%': RegExp,
1781
- '%RegExpPrototype%': RegExp.prototype,
1782
1757
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1783
1758
  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1784
- '%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
1785
1759
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1786
- '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
1787
1760
  '%String%': String,
1788
1761
  '%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
1789
- '%StringPrototype%': String.prototype,
1790
1762
  '%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
1791
- '%SymbolPrototype%': hasSymbols$2 ? Symbol.prototype : undefined$1,
1792
- '%SyntaxError%': SyntaxError,
1793
- '%SyntaxErrorPrototype%': SyntaxError.prototype,
1763
+ '%SyntaxError%': $SyntaxError$1,
1794
1764
  '%ThrowTypeError%': ThrowTypeError,
1795
1765
  '%TypedArray%': TypedArray,
1796
- '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined$1,
1797
- '%TypeError%': $TypeError,
1798
- '%TypeErrorPrototype%': $TypeError.prototype,
1766
+ '%TypeError%': $TypeError$5,
1799
1767
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1800
- '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
1801
1768
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1802
- '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
1803
1769
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1804
- '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
1805
1770
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1806
- '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
1807
1771
  '%URIError%': URIError,
1808
- '%URIErrorPrototype%': URIError.prototype,
1809
1772
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1810
- '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap.prototype,
1811
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet,
1812
- '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet.prototype
1773
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1774
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1813
1775
  };
1814
1776
 
1777
+ var doEval = function doEval(name) {
1778
+ var value;
1779
+ if (name === '%AsyncFunction%') {
1780
+ value = getEvalledConstructor('async function () {}');
1781
+ } else if (name === '%GeneratorFunction%') {
1782
+ value = getEvalledConstructor('function* () {}');
1783
+ } else if (name === '%AsyncGeneratorFunction%') {
1784
+ value = getEvalledConstructor('async function* () {}');
1785
+ } else if (name === '%AsyncGenerator%') {
1786
+ var fn = doEval('%AsyncGeneratorFunction%');
1787
+ if (fn) {
1788
+ value = fn.prototype;
1789
+ }
1790
+ } else if (name === '%AsyncIteratorPrototype%') {
1791
+ var gen = doEval('%AsyncGenerator%');
1792
+ if (gen) {
1793
+ value = getProto(gen.prototype);
1794
+ }
1795
+ }
1796
+
1797
+ INTRINSICS[name] = value;
1798
+
1799
+ return value;
1800
+ };
1801
+
1802
+ var LEGACY_ALIASES = {
1803
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1804
+ '%ArrayPrototype%': ['Array', 'prototype'],
1805
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1806
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1807
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1808
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1809
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1810
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1811
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1812
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
1813
+ '%DataViewPrototype%': ['DataView', 'prototype'],
1814
+ '%DatePrototype%': ['Date', 'prototype'],
1815
+ '%ErrorPrototype%': ['Error', 'prototype'],
1816
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
1817
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
1818
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
1819
+ '%FunctionPrototype%': ['Function', 'prototype'],
1820
+ '%Generator%': ['GeneratorFunction', 'prototype'],
1821
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
1822
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
1823
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
1824
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
1825
+ '%JSONParse%': ['JSON', 'parse'],
1826
+ '%JSONStringify%': ['JSON', 'stringify'],
1827
+ '%MapPrototype%': ['Map', 'prototype'],
1828
+ '%NumberPrototype%': ['Number', 'prototype'],
1829
+ '%ObjectPrototype%': ['Object', 'prototype'],
1830
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
1831
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
1832
+ '%PromisePrototype%': ['Promise', 'prototype'],
1833
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
1834
+ '%Promise_all%': ['Promise', 'all'],
1835
+ '%Promise_reject%': ['Promise', 'reject'],
1836
+ '%Promise_resolve%': ['Promise', 'resolve'],
1837
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
1838
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
1839
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
1840
+ '%SetPrototype%': ['Set', 'prototype'],
1841
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
1842
+ '%StringPrototype%': ['String', 'prototype'],
1843
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
1844
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
1845
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
1846
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
1847
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
1848
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
1849
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
1850
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
1851
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
1852
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
1853
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
1854
+ };
1815
1855
 
1856
+
1857
+
1858
+ var $concat$2 = functionBind.call(Function.call, Array.prototype.concat);
1859
+ var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
1816
1860
  var $replace = functionBind.call(Function.call, String.prototype.replace);
1861
+ var $strSlice = functionBind.call(Function.call, String.prototype.slice);
1817
1862
 
1818
1863
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1819
1864
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
1820
1865
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
1821
1866
  var stringToPath = function stringToPath(string) {
1867
+ var first = $strSlice(string, 0, 1);
1868
+ var last = $strSlice(string, -1);
1869
+ if (first === '%' && last !== '%') {
1870
+ throw new $SyntaxError$1('invalid intrinsic syntax, expected closing `%`');
1871
+ } else if (last === '%' && first !== '%') {
1872
+ throw new $SyntaxError$1('invalid intrinsic syntax, expected opening `%`');
1873
+ }
1822
1874
  var result = [];
1823
1875
  $replace(string, rePropName, function (match, number, quote, subString) {
1824
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);
1876
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
1825
1877
  });
1826
1878
  return result;
1827
1879
  };
1828
1880
  /* end adaptation */
1829
1881
 
1830
1882
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
1831
- if (!(name in INTRINSICS)) {
1832
- throw new SyntaxError('intrinsic ' + name + ' does not exist!');
1883
+ var intrinsicName = name;
1884
+ var alias;
1885
+ if (src(LEGACY_ALIASES, intrinsicName)) {
1886
+ alias = LEGACY_ALIASES[intrinsicName];
1887
+ intrinsicName = '%' + alias[0] + '%';
1833
1888
  }
1834
1889
 
1835
- // istanbul ignore if // hopefully this is impossible to test :-)
1836
- if (typeof INTRINSICS[name] === 'undefined' && !allowMissing) {
1837
- throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1890
+ if (src(INTRINSICS, intrinsicName)) {
1891
+ var value = INTRINSICS[intrinsicName];
1892
+ if (value === needsEval) {
1893
+ value = doEval(intrinsicName);
1894
+ }
1895
+ if (typeof value === 'undefined' && !allowMissing) {
1896
+ throw new $TypeError$5('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1897
+ }
1898
+
1899
+ return {
1900
+ alias: alias,
1901
+ name: intrinsicName,
1902
+ value: value
1903
+ };
1838
1904
  }
1839
1905
 
1840
- return INTRINSICS[name];
1906
+ throw new $SyntaxError$1('intrinsic ' + name + ' does not exist!');
1841
1907
  };
1842
1908
 
1843
- var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1909
+ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
1844
1910
  if (typeof name !== 'string' || name.length === 0) {
1845
- throw new TypeError('intrinsic name must be a non-empty string');
1911
+ throw new $TypeError$5('intrinsic name must be a non-empty string');
1846
1912
  }
1847
1913
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1848
- throw new TypeError('"allowMissing" argument must be a boolean');
1914
+ throw new $TypeError$5('"allowMissing" argument must be a boolean');
1849
1915
  }
1850
1916
 
1851
1917
  var parts = stringToPath(name);
1918
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
1919
+
1920
+ var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
1921
+ var intrinsicRealName = intrinsic.name;
1922
+ var value = intrinsic.value;
1923
+ var skipFurtherCaching = false;
1924
+
1925
+ var alias = intrinsic.alias;
1926
+ if (alias) {
1927
+ intrinsicBaseName = alias[0];
1928
+ $spliceApply(parts, $concat$2([0, 1], alias));
1929
+ }
1930
+
1931
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
1932
+ var part = parts[i];
1933
+ var first = $strSlice(part, 0, 1);
1934
+ var last = $strSlice(part, -1);
1935
+ if (
1936
+ (
1937
+ (first === '"' || first === "'" || first === '`')
1938
+ || (last === '"' || last === "'" || last === '`')
1939
+ )
1940
+ && first !== last
1941
+ ) {
1942
+ throw new $SyntaxError$1('property names with quotes must have matching quotes');
1943
+ }
1944
+ if (part === 'constructor' || !isOwn) {
1945
+ skipFurtherCaching = true;
1946
+ }
1852
1947
 
1853
- var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
1854
- for (var i = 1; i < parts.length; i += 1) {
1855
- if (value != null) {
1856
- if ($gOPD && (i + 1) >= parts.length) {
1857
- var desc = $gOPD(value, parts[i]);
1858
- if (!allowMissing && !(parts[i] in value)) {
1859
- throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1948
+ intrinsicBaseName += '.' + part;
1949
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
1950
+
1951
+ if (src(INTRINSICS, intrinsicRealName)) {
1952
+ value = INTRINSICS[intrinsicRealName];
1953
+ } else if (value != null) {
1954
+ if (!(part in value)) {
1955
+ if (!allowMissing) {
1956
+ throw new $TypeError$5('base intrinsic for ' + name + ' exists, but the property is not available.');
1957
+ }
1958
+ return void undefined$1;
1959
+ }
1960
+ if ($gOPD$2 && (i + 1) >= parts.length) {
1961
+ var desc = $gOPD$2(value, part);
1962
+ isOwn = !!desc;
1963
+
1964
+ // By convention, when a data property is converted to an accessor
1965
+ // property to emulate a data property that does not suffer from
1966
+ // the override mistake, that accessor's getter is marked with
1967
+ // an `originalValue` property. Here, when we detect this, we
1968
+ // uphold the illusion by pretending to see that original data
1969
+ // property, i.e., returning the value rather than the getter
1970
+ // itself.
1971
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
1972
+ value = desc.get;
1973
+ } else {
1974
+ value = value[part];
1860
1975
  }
1861
- value = desc ? (desc.get || desc.value) : value[parts[i]];
1862
1976
  } else {
1863
- value = value[parts[i]];
1977
+ isOwn = src(value, part);
1978
+ value = value[part];
1979
+ }
1980
+
1981
+ if (isOwn && !skipFurtherCaching) {
1982
+ INTRINSICS[intrinsicRealName] = value;
1864
1983
  }
1865
1984
  }
1866
1985
  }
1867
1986
  return value;
1868
1987
  };
1869
1988
 
1870
- var $apply = GetIntrinsic('%Function.prototype.apply%');
1871
- var $call = GetIntrinsic('%Function.prototype.call%');
1872
- var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
1989
+ var callBind = _commonjsHelpers.createCommonjsModule(function (module) {
1990
+
1991
+
1992
+
1993
+
1994
+ var $apply = getIntrinsic('%Function.prototype.apply%');
1995
+ var $call = getIntrinsic('%Function.prototype.call%');
1996
+ var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
1873
1997
 
1874
- var callBind = function callBind() {
1875
- return $reflectApply(functionBind, $call, arguments);
1998
+ var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);
1999
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
2000
+ var $max = getIntrinsic('%Math.max%');
2001
+
2002
+ if ($defineProperty) {
2003
+ try {
2004
+ $defineProperty({}, 'a', { value: 1 });
2005
+ } catch (e) {
2006
+ // IE 8 has a broken defineProperty
2007
+ $defineProperty = null;
2008
+ }
2009
+ }
2010
+
2011
+ module.exports = function callBind(originalFunction) {
2012
+ var func = $reflectApply(functionBind, $call, arguments);
2013
+ if ($gOPD && $defineProperty) {
2014
+ var desc = $gOPD(func, 'length');
2015
+ if (desc.configurable) {
2016
+ // original length, plus the receiver, minus any additional arguments (after the receiver)
2017
+ $defineProperty(
2018
+ func,
2019
+ 'length',
2020
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
2021
+ );
2022
+ }
2023
+ }
2024
+ return func;
1876
2025
  };
1877
2026
 
1878
- var apply = function applyBind() {
2027
+ var applyBind = function applyBind() {
1879
2028
  return $reflectApply(functionBind, $apply, arguments);
1880
2029
  };
1881
- callBind.apply = apply;
1882
2030
 
1883
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
2031
+ if ($defineProperty) {
2032
+ $defineProperty(module.exports, 'apply', { value: applyBind });
2033
+ } else {
2034
+ module.exports.apply = applyBind;
2035
+ }
2036
+ });
2037
+ callBind.apply;
2038
+
2039
+ var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
1884
2040
 
1885
- var callBound = function callBoundIntrinsic(name, allowMissing) {
1886
- var intrinsic = GetIntrinsic(name, !!allowMissing);
1887
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
2041
+ var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
2042
+ var intrinsic = getIntrinsic(name, !!allowMissing);
2043
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
1888
2044
  return callBind(intrinsic);
1889
2045
  }
1890
2046
  return intrinsic;
1891
2047
  };
1892
2048
 
1893
- var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2049
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1894
2050
 
1895
2051
  if ($defineProperty) {
1896
2052
  try {
@@ -1903,7 +2059,7 @@ if ($defineProperty) {
1903
2059
 
1904
2060
 
1905
2061
 
1906
- var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
2062
+ var $isEnumerable$1 = callBound$1('Object.prototype.propertyIsEnumerable');
1907
2063
 
1908
2064
  // eslint-disable-next-line max-params
1909
2065
  var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {
@@ -1917,7 +2073,7 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
1917
2073
  }
1918
2074
 
1919
2075
  // fallback for ES3
1920
- if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {
2076
+ if (P in O && $isEnumerable$1(O, P) !== !!desc['[[Enumerable]]']) {
1921
2077
  // a non-enumerable existing property
1922
2078
  return false;
1923
2079
  }
@@ -1932,15 +2088,13 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
1932
2088
  return true;
1933
2089
  };
1934
2090
 
1935
- var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1936
-
1937
- var $TypeError$1 = GetIntrinsic('%TypeError%');
1938
- var $SyntaxError = GetIntrinsic('%SyntaxError%');
2091
+ var $TypeError$4 = getIntrinsic('%TypeError%');
2092
+ var $SyntaxError = getIntrinsic('%SyntaxError%');
1939
2093
 
1940
2094
 
1941
2095
 
1942
2096
  var predicates = {
1943
- // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type
2097
+ // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type
1944
2098
  'Property Descriptor': function isPropertyDescriptor(Type, Desc) {
1945
2099
  if (Type(Desc) !== 'Object') {
1946
2100
  return false;
@@ -1963,7 +2117,7 @@ var predicates = {
1963
2117
  var isData = src(Desc, '[[Value]]');
1964
2118
  var IsAccessor = src(Desc, '[[Get]]') || src(Desc, '[[Set]]');
1965
2119
  if (isData && IsAccessor) {
1966
- throw new $TypeError$1('Property Descriptors may not be both accessor and data descriptors');
2120
+ throw new $TypeError$4('Property Descriptors may not be both accessor and data descriptors');
1967
2121
  }
1968
2122
  return true;
1969
2123
  }
@@ -1975,13 +2129,13 @@ var assertRecord = function assertRecord(Type, recordType, argumentName, value)
1975
2129
  throw new $SyntaxError('unknown record type: ' + recordType);
1976
2130
  }
1977
2131
  if (!predicate(Type, value)) {
1978
- throw new $TypeError$1(argumentName + ' must be a ' + recordType);
2132
+ throw new $TypeError$4(argumentName + ' must be a ' + recordType);
1979
2133
  }
1980
2134
  };
1981
2135
 
1982
- // https://www.ecma-international.org/ecma-262/5.1/#sec-8
2136
+ // https://262.ecma-international.org/5.1/#sec-8
1983
2137
 
1984
- var Type = function Type(x) {
2138
+ var Type$1 = function Type(x) {
1985
2139
  if (x === null) {
1986
2140
  return 'Null';
1987
2141
  }
@@ -2002,23 +2156,26 @@ var Type = function Type(x) {
2002
2156
  }
2003
2157
  };
2004
2158
 
2005
- // https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values
2159
+ // https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values
2006
2160
 
2007
- var Type$1 = function Type$1(x) {
2161
+ var Type = function Type(x) {
2008
2162
  if (typeof x === 'symbol') {
2009
2163
  return 'Symbol';
2010
2164
  }
2011
- return Type(x);
2165
+ if (typeof x === 'bigint') {
2166
+ return 'BigInt';
2167
+ }
2168
+ return Type$1(x);
2012
2169
  };
2013
2170
 
2014
- // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2171
+ // https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2015
2172
 
2016
2173
  var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2017
2174
  if (typeof Desc === 'undefined') {
2018
2175
  return Desc;
2019
2176
  }
2020
2177
 
2021
- assertRecord(Type$1, 'Property Descriptor', 'Desc', Desc);
2178
+ assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
2022
2179
 
2023
2180
  var obj = {};
2024
2181
  if ('[[Value]]' in Desc) {
@@ -2042,7 +2199,7 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2042
2199
  return obj;
2043
2200
  };
2044
2201
 
2045
- var $gOPD$1 = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
2202
+ var $gOPD$1 = getIntrinsic('%Object.getOwnPropertyDescriptor%');
2046
2203
  if ($gOPD$1) {
2047
2204
  try {
2048
2205
  $gOPD$1([], 'length');
@@ -2054,33 +2211,33 @@ if ($gOPD$1) {
2054
2211
 
2055
2212
  var getOwnPropertyDescriptor = $gOPD$1;
2056
2213
 
2057
- var $Array = GetIntrinsic('%Array%');
2214
+ var $Array = getIntrinsic('%Array%');
2058
2215
 
2059
2216
  // eslint-disable-next-line global-require
2060
- var toStr$4 = !$Array.isArray && callBound('Object.prototype.toString');
2217
+ var toStr$1 = !$Array.isArray && callBound$1('Object.prototype.toString');
2061
2218
 
2062
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isarray
2219
+ // https://ecma-international.org/ecma-262/6.0/#sec-isarray
2063
2220
 
2064
2221
  var IsArray = $Array.isArray || function IsArray(argument) {
2065
- return toStr$4(argument) === '[object Array]';
2222
+ return toStr$1(argument) === '[object Array]';
2066
2223
  };
2067
2224
 
2068
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2225
+ // https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2069
2226
 
2070
2227
  var IsPropertyKey = function IsPropertyKey(argument) {
2071
2228
  return typeof argument === 'string' || typeof argument === 'symbol';
2072
2229
  };
2073
2230
 
2074
- var hasSymbols$3 = hasSymbols$1();
2075
- var hasToStringTag = hasSymbols$3 && typeof Symbol.toStringTag === 'symbol';
2076
- var hasOwnProperty;
2077
- var regexExec;
2231
+ var hasSymbols$1 = hasSymbols$3();
2232
+ var hasToStringTag$1 = hasSymbols$1 && typeof Symbol.toStringTag === 'symbol';
2233
+ var has;
2234
+ var $exec;
2078
2235
  var isRegexMarker;
2079
2236
  var badStringifier;
2080
2237
 
2081
- if (hasToStringTag) {
2082
- hasOwnProperty = Function.call.bind(Object.prototype.hasOwnProperty);
2083
- regexExec = Function.call.bind(RegExp.prototype.exec);
2238
+ if (hasToStringTag$1) {
2239
+ has = callBound$1('Object.prototype.hasOwnProperty');
2240
+ $exec = callBound$1('RegExp.prototype.exec');
2084
2241
  isRegexMarker = {};
2085
2242
 
2086
2243
  var throwRegexMarker = function () {
@@ -2096,11 +2253,11 @@ if (hasToStringTag) {
2096
2253
  }
2097
2254
  }
2098
2255
 
2099
- var toStr$5 = Object.prototype.toString;
2256
+ var $toString = callBound$1('Object.prototype.toString');
2100
2257
  var gOPD = Object.getOwnPropertyDescriptor;
2101
2258
  var regexClass = '[object RegExp]';
2102
2259
 
2103
- var isRegex = hasToStringTag
2260
+ var isRegex = hasToStringTag$1
2104
2261
  // eslint-disable-next-line consistent-return
2105
2262
  ? function isRegex(value) {
2106
2263
  if (!value || typeof value !== 'object') {
@@ -2108,13 +2265,13 @@ var isRegex = hasToStringTag
2108
2265
  }
2109
2266
 
2110
2267
  var descriptor = gOPD(value, 'lastIndex');
2111
- var hasLastIndexDataProperty = descriptor && hasOwnProperty(descriptor, 'value');
2268
+ var hasLastIndexDataProperty = descriptor && has(descriptor, 'value');
2112
2269
  if (!hasLastIndexDataProperty) {
2113
2270
  return false;
2114
2271
  }
2115
2272
 
2116
2273
  try {
2117
- regexExec(value, badStringifier);
2274
+ $exec(value, badStringifier);
2118
2275
  } catch (e) {
2119
2276
  return e === isRegexMarker;
2120
2277
  }
@@ -2125,14 +2282,14 @@ var isRegex = hasToStringTag
2125
2282
  return false;
2126
2283
  }
2127
2284
 
2128
- return toStr$5.call(value) === regexClass;
2285
+ return $toString(value) === regexClass;
2129
2286
  };
2130
2287
 
2131
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.2
2288
+ // http://262.ecma-international.org/5.1/#sec-9.2
2132
2289
 
2133
2290
  var ToBoolean = function ToBoolean(value) { return !!value; };
2134
2291
 
2135
- var $match = GetIntrinsic('%Symbol.match%', true);
2292
+ var $match = getIntrinsic('%Symbol.match%', true);
2136
2293
 
2137
2294
 
2138
2295
 
@@ -2165,8 +2322,12 @@ if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'func
2165
2322
  }
2166
2323
  });
2167
2324
  isCallableMarker = {};
2325
+ // eslint-disable-next-line no-throw-literal
2326
+ reflectApply(function () { throw 42; }, null, badArrayLike);
2168
2327
  } catch (_) {
2169
- reflectApply = null;
2328
+ if (_ !== isCallableMarker) {
2329
+ reflectApply = null;
2330
+ }
2170
2331
  }
2171
2332
  } else {
2172
2333
  reflectApply = null;
@@ -2191,13 +2352,16 @@ var tryFunctionObject = function tryFunctionToStr(value) {
2191
2352
  return false;
2192
2353
  }
2193
2354
  };
2194
- var toStr$6 = Object.prototype.toString;
2355
+ var toStr = Object.prototype.toString;
2195
2356
  var fnClass = '[object Function]';
2196
2357
  var genClass = '[object GeneratorFunction]';
2197
- var hasToStringTag$1 = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2358
+ var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2359
+ /* globals document: false */
2360
+ var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
2198
2361
 
2199
2362
  var isCallable = reflectApply
2200
2363
  ? function isCallable(value) {
2364
+ if (value === documentDotAll) { return true; }
2201
2365
  if (!value) { return false; }
2202
2366
  if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2203
2367
  if (typeof value === 'function' && !value.prototype) { return true; }
@@ -2209,30 +2373,31 @@ var isCallable = reflectApply
2209
2373
  return !isES6ClassFn(value);
2210
2374
  }
2211
2375
  : function isCallable(value) {
2376
+ if (value === documentDotAll) { return true; }
2212
2377
  if (!value) { return false; }
2213
2378
  if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2214
2379
  if (typeof value === 'function' && !value.prototype) { return true; }
2215
- if (hasToStringTag$1) { return tryFunctionObject(value); }
2380
+ if (hasToStringTag) { return tryFunctionObject(value); }
2216
2381
  if (isES6ClassFn(value)) { return false; }
2217
- var strClass = toStr$6.call(value);
2382
+ var strClass = toStr.call(value);
2218
2383
  return strClass === fnClass || strClass === genClass;
2219
2384
  };
2220
2385
 
2221
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.11
2386
+ // http://262.ecma-international.org/5.1/#sec-9.11
2222
2387
 
2223
2388
  var IsCallable = isCallable;
2224
2389
 
2225
- var $TypeError$2 = GetIntrinsic('%TypeError%');
2390
+ var $TypeError$3 = getIntrinsic('%TypeError%');
2226
2391
 
2227
2392
 
2228
2393
 
2229
2394
 
2230
2395
 
2231
- // https://ecma-international.org/ecma-262/5.1/#sec-8.10.5
2396
+ // https://262.ecma-international.org/5.1/#sec-8.10.5
2232
2397
 
2233
2398
  var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2234
- if (Type$1(Obj) !== 'Object') {
2235
- throw new $TypeError$2('ToPropertyDescriptor requires an object');
2399
+ if (Type(Obj) !== 'Object') {
2400
+ throw new $TypeError$3('ToPropertyDescriptor requires an object');
2236
2401
  }
2237
2402
 
2238
2403
  var desc = {};
@@ -2251,29 +2416,29 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2251
2416
  if (src(Obj, 'get')) {
2252
2417
  var getter = Obj.get;
2253
2418
  if (typeof getter !== 'undefined' && !IsCallable(getter)) {
2254
- throw new TypeError('getter must be a function');
2419
+ throw new $TypeError$3('getter must be a function');
2255
2420
  }
2256
2421
  desc['[[Get]]'] = getter;
2257
2422
  }
2258
2423
  if (src(Obj, 'set')) {
2259
2424
  var setter = Obj.set;
2260
2425
  if (typeof setter !== 'undefined' && !IsCallable(setter)) {
2261
- throw new $TypeError$2('setter must be a function');
2426
+ throw new $TypeError$3('setter must be a function');
2262
2427
  }
2263
2428
  desc['[[Set]]'] = setter;
2264
2429
  }
2265
2430
 
2266
2431
  if ((src(desc, '[[Get]]') || src(desc, '[[Set]]')) && (src(desc, '[[Value]]') || src(desc, '[[Writable]]'))) {
2267
- throw new $TypeError$2('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2432
+ throw new $TypeError$3('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2268
2433
  }
2269
2434
  return desc;
2270
2435
  };
2271
2436
 
2272
- var $TypeError$3 = GetIntrinsic('%TypeError%');
2437
+ var $TypeError$2 = getIntrinsic('%TypeError%');
2273
2438
 
2274
2439
 
2275
2440
 
2276
- var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2441
+ var $isEnumerable = callBound$1('Object.prototype.propertyIsEnumerable');
2277
2442
 
2278
2443
 
2279
2444
 
@@ -2283,14 +2448,14 @@ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2283
2448
 
2284
2449
 
2285
2450
 
2286
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2451
+ // https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2287
2452
 
2288
2453
  var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2289
- if (Type$1(O) !== 'Object') {
2290
- throw new $TypeError$3('Assertion failed: O must be an Object');
2454
+ if (Type(O) !== 'Object') {
2455
+ throw new $TypeError$2('Assertion failed: O must be an Object');
2291
2456
  }
2292
2457
  if (!IsPropertyKey(P)) {
2293
- throw new $TypeError$3('Assertion failed: P must be a Property Key');
2458
+ throw new $TypeError$2('Assertion failed: P must be a Property Key');
2294
2459
  }
2295
2460
  if (!src(O, P)) {
2296
2461
  return void 0;
@@ -2301,7 +2466,7 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2301
2466
  var regexLastIndex = IsRegExp(O) && P === 'lastIndex';
2302
2467
  return {
2303
2468
  '[[Configurable]]': !(arrayLength || regexLastIndex),
2304
- '[[Enumerable]]': $isEnumerable$1(O, P),
2469
+ '[[Enumerable]]': $isEnumerable(O, P),
2305
2470
  '[[Value]]': O[P],
2306
2471
  '[[Writable]]': true
2307
2472
  };
@@ -2309,14 +2474,14 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2309
2474
  return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
2310
2475
  };
2311
2476
 
2312
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2477
+ // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2313
2478
 
2314
2479
  var IsDataDescriptor = function IsDataDescriptor(Desc) {
2315
2480
  if (typeof Desc === 'undefined') {
2316
2481
  return false;
2317
2482
  }
2318
2483
 
2319
- assertRecord(Type$1, 'Property Descriptor', 'Desc', Desc);
2484
+ assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
2320
2485
 
2321
2486
  if (!src(Desc, '[[Value]]') && !src(Desc, '[[Writable]]')) {
2322
2487
  return false;
@@ -2329,14 +2494,14 @@ var isPrimitive = function isPrimitive(value) {
2329
2494
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
2330
2495
  };
2331
2496
 
2332
- var $Object = GetIntrinsic('%Object%');
2497
+ var $Object$1 = getIntrinsic('%Object%');
2333
2498
 
2334
2499
 
2335
2500
 
2336
- var $preventExtensions = $Object.preventExtensions;
2337
- var $isExtensible = $Object.isExtensible;
2501
+ var $preventExtensions = $Object$1.preventExtensions;
2502
+ var $isExtensible = $Object$1.isExtensible;
2338
2503
 
2339
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2504
+ // https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2340
2505
 
2341
2506
  var IsExtensible = $preventExtensions
2342
2507
  ? function IsExtensible(obj) {
@@ -2350,7 +2515,7 @@ var _isNaN = Number.isNaN || function isNaN(a) {
2350
2515
  return a !== a;
2351
2516
  };
2352
2517
 
2353
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.12
2518
+ // http://262.ecma-international.org/5.1/#sec-9.12
2354
2519
 
2355
2520
  var SameValue = function SameValue(x, y) {
2356
2521
  if (x === y) { // 0 === -0, but they are not identical.
@@ -2360,7 +2525,7 @@ var SameValue = function SameValue(x, y) {
2360
2525
  return _isNaN(x) && _isNaN(y);
2361
2526
  };
2362
2527
 
2363
- var $TypeError$4 = GetIntrinsic('%TypeError%');
2528
+ var $TypeError$1 = getIntrinsic('%TypeError%');
2364
2529
 
2365
2530
 
2366
2531
 
@@ -2372,14 +2537,14 @@ var $TypeError$4 = GetIntrinsic('%TypeError%');
2372
2537
 
2373
2538
 
2374
2539
 
2375
- // https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2540
+ // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2376
2541
 
2377
2542
  var CreateDataProperty = function CreateDataProperty(O, P, V) {
2378
- if (Type$1(O) !== 'Object') {
2379
- throw new $TypeError$4('Assertion failed: Type(O) is not Object');
2543
+ if (Type(O) !== 'Object') {
2544
+ throw new $TypeError$1('Assertion failed: Type(O) is not Object');
2380
2545
  }
2381
2546
  if (!IsPropertyKey(P)) {
2382
- throw new $TypeError$4('Assertion failed: IsPropertyKey(P) is not true');
2547
+ throw new $TypeError$1('Assertion failed: IsPropertyKey(P) is not true');
2383
2548
  }
2384
2549
  var oldDesc = OrdinaryGetOwnProperty(O, P);
2385
2550
  var extensible = !oldDesc || IsExtensible(O);
@@ -2402,44 +2567,44 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2402
2567
  );
2403
2568
  };
2404
2569
 
2405
- var $TypeError$5 = GetIntrinsic('%TypeError%');
2570
+ var $TypeError = getIntrinsic('%TypeError%');
2406
2571
 
2407
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
2572
+ // http://262.ecma-international.org/5.1/#sec-9.10
2408
2573
 
2409
2574
  var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2410
2575
  if (value == null) {
2411
- throw new $TypeError$5(optMessage || ('Cannot call method on ' + value));
2576
+ throw new $TypeError(optMessage || ('Cannot call method on ' + value));
2412
2577
  }
2413
2578
  return value;
2414
2579
  };
2415
2580
 
2416
2581
  var RequireObjectCoercible = CheckObjectCoercible;
2417
2582
 
2418
- var $Object$1 = GetIntrinsic('%Object%');
2583
+ var $Object = getIntrinsic('%Object%');
2419
2584
 
2420
2585
 
2421
2586
 
2422
- // https://www.ecma-international.org/ecma-262/6.0/#sec-toobject
2587
+ // https://ecma-international.org/ecma-262/6.0/#sec-toobject
2423
2588
 
2424
2589
  var ToObject = function ToObject(value) {
2425
2590
  RequireObjectCoercible(value);
2426
- return $Object$1(value);
2591
+ return $Object(value);
2427
2592
  };
2428
2593
 
2429
- var $gOPD$2 = Object.getOwnPropertyDescriptor;
2594
+ var $gOPD = Object.getOwnPropertyDescriptor;
2430
2595
  var $getOwnNames = Object.getOwnPropertyNames;
2431
2596
  var $getSymbols = Object.getOwnPropertySymbols;
2432
- var $concat = callBound('Array.prototype.concat');
2433
- var $reduce = callBound('Array.prototype.reduce');
2597
+ var $concat$1 = callBound$1('Array.prototype.concat');
2598
+ var $reduce = callBound$1('Array.prototype.reduce');
2434
2599
  var getAll = $getSymbols ? function (obj) {
2435
- return $concat($getOwnNames(obj), $getSymbols(obj));
2600
+ return $concat$1($getOwnNames(obj), $getSymbols(obj));
2436
2601
  } : $getOwnNames;
2437
2602
 
2438
- var isES5 = IsCallable($gOPD$2) && IsCallable($getOwnNames);
2603
+ var isES5$1 = IsCallable($gOPD) && IsCallable($getOwnNames);
2439
2604
 
2440
- var implementation$2 = function getOwnPropertyDescriptors(value) {
2605
+ var implementation$1 = function getOwnPropertyDescriptors(value) {
2441
2606
  RequireObjectCoercible(value);
2442
- if (!isES5) {
2607
+ if (!isES5$1) {
2443
2608
  throw new TypeError('getOwnPropertyDescriptors requires Object.getOwnPropertyDescriptor');
2444
2609
  }
2445
2610
 
@@ -2447,7 +2612,7 @@ var implementation$2 = function getOwnPropertyDescriptors(value) {
2447
2612
  return $reduce(
2448
2613
  getAll(O),
2449
2614
  function (acc, key) {
2450
- var descriptor = $gOPD$2(O, key);
2615
+ var descriptor = $gOPD(O, key);
2451
2616
  if (typeof descriptor !== 'undefined') {
2452
2617
  CreateDataProperty(acc, key, descriptor);
2453
2618
  }
@@ -2457,34 +2622,40 @@ var implementation$2 = function getOwnPropertyDescriptors(value) {
2457
2622
  );
2458
2623
  };
2459
2624
 
2460
- var polyfill = function getPolyfill() {
2461
- return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation$2;
2625
+ var polyfill$2 = function getPolyfill() {
2626
+ return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation$1;
2462
2627
  };
2463
2628
 
2464
- var shim = function shimGetOwnPropertyDescriptors() {
2465
- var polyfill$1 = polyfill();
2629
+ var shim$1 = function shimGetOwnPropertyDescriptors() {
2630
+ var polyfill = polyfill$2();
2466
2631
  defineProperties_1(
2467
2632
  Object,
2468
- { getOwnPropertyDescriptors: polyfill$1 },
2469
- { getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill$1; } }
2633
+ { getOwnPropertyDescriptors: polyfill },
2634
+ { getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill; } }
2470
2635
  );
2471
- return polyfill$1;
2636
+ return polyfill;
2472
2637
  };
2473
2638
 
2474
- defineProperties_1(implementation$2, {
2475
- getPolyfill: polyfill,
2476
- implementation: implementation$2,
2477
- shim: shim
2639
+ var bound = callBind(polyfill$2(), Object);
2640
+
2641
+ defineProperties_1(bound, {
2642
+ getPolyfill: polyfill$2,
2643
+ implementation: implementation$1,
2644
+ shim: shim$1
2478
2645
  });
2479
2646
 
2480
- var object_getownpropertydescriptors = implementation$2;
2647
+ var object_getownpropertydescriptors = bound;
2648
+
2649
+ // TODO; semver-major: remove
2650
+
2651
+ var callBound = callBound$1;
2481
2652
 
2482
- var isES5$1 = typeof Object.defineProperty === 'function'
2653
+ var isES5 = typeof Object.defineProperty === 'function'
2483
2654
  && typeof Object.defineProperties === 'function';
2484
2655
 
2485
2656
  var hasProto = [].__proto__ === Array.prototype; // eslint-disable-line no-proto
2486
2657
 
2487
- if (!isES5$1 || !hasProto) {
2658
+ if (!isES5 || !hasProto) {
2488
2659
  throw new TypeError('util.promisify requires a true ES5 environment, that also supports `__proto__`');
2489
2660
  }
2490
2661
 
@@ -2497,15 +2668,15 @@ if (typeof Promise !== 'function') {
2497
2668
 
2498
2669
 
2499
2670
  var $slice = callBound('Array.prototype.slice');
2500
- var $concat$1 = callBound('Array.prototype.concat');
2671
+ var $concat = callBound('Array.prototype.concat');
2501
2672
  var $forEach = callBound('Array.prototype.forEach');
2502
2673
 
2503
- var hasSymbols$4 = hasSymbols$1();
2674
+ var hasSymbols = hasSymbols$3();
2504
2675
 
2505
- var kCustomPromisifiedSymbol = hasSymbols$4 ? Symbol('util.promisify.custom') : null;
2506
- var kCustomPromisifyArgsSymbol = hasSymbols$4 ? Symbol('customPromisifyArgs') : null;
2676
+ var kCustomPromisifiedSymbol = hasSymbols ? Symbol('util.promisify.custom') : null;
2677
+ var kCustomPromisifyArgsSymbol = hasSymbols ? Symbol('customPromisifyArgs') : null;
2507
2678
 
2508
- var implementation$3 = function promisify(orig) {
2679
+ var implementation = function promisify(orig) {
2509
2680
  if (typeof orig !== 'function') {
2510
2681
  var error = new TypeError('The "original" argument must be of type function');
2511
2682
  error.name = 'TypeError [ERR_INVALID_ARG_TYPE]';
@@ -2513,7 +2684,7 @@ var implementation$3 = function promisify(orig) {
2513
2684
  throw error;
2514
2685
  }
2515
2686
 
2516
- if (hasSymbols$4 && orig[kCustomPromisifiedSymbol]) {
2687
+ if (hasSymbols && orig[kCustomPromisifiedSymbol]) {
2517
2688
  var customFunction = orig[kCustomPromisifiedSymbol];
2518
2689
  if (typeof customFunction !== 'function') {
2519
2690
  throw new TypeError('The [util.promisify.custom] property must be a function');
@@ -2535,7 +2706,7 @@ var implementation$3 = function promisify(orig) {
2535
2706
  var args = $slice(arguments);
2536
2707
  var self = this; // eslint-disable-line no-invalid-this
2537
2708
  return new Promise(function (resolve, reject) {
2538
- orig.apply(self, $concat$1(args, function (err) {
2709
+ orig.apply(self, $concat(args, function (err) {
2539
2710
  var values = arguments.length > 1 ? $slice(arguments, 1) : [];
2540
2711
  if (err) {
2541
2712
  reject(err);
@@ -2565,17 +2736,17 @@ var implementation$3 = function promisify(orig) {
2565
2736
 
2566
2737
  var custom = kCustomPromisifiedSymbol;
2567
2738
  var customPromisifyArgs = kCustomPromisifyArgsSymbol;
2568
- implementation$3.custom = custom;
2569
- implementation$3.customPromisifyArgs = customPromisifyArgs;
2739
+ implementation.custom = custom;
2740
+ implementation.customPromisifyArgs = customPromisifyArgs;
2570
2741
 
2571
2742
  var polyfill$1 = function getPolyfill() {
2572
2743
  if (typeof util.util.promisify === 'function') {
2573
2744
  return util.util.promisify;
2574
2745
  }
2575
- return implementation$3;
2746
+ return implementation;
2576
2747
  };
2577
2748
 
2578
- var shim$1 = function shimUtilPromisify() {
2749
+ var shim = function shimUtilPromisify() {
2579
2750
  var polyfill = polyfill$1();
2580
2751
  if (polyfill !== util.util.promisify) {
2581
2752
  Object.defineProperty(util.util, 'promisify', {
@@ -2588,20 +2759,20 @@ var shim$1 = function shimUtilPromisify() {
2588
2759
  return polyfill;
2589
2760
  };
2590
2761
 
2591
- var polyfill$2 = polyfill$1();
2762
+ var polyfill = polyfill$1();
2592
2763
 
2593
2764
 
2594
2765
  /* eslint-disable no-unused-vars */
2595
2766
  var boundPromisify = function promisify(orig) {
2596
2767
  /* eslint-enable no-unused-vars */
2597
- return polyfill$2.apply(util.util, arguments);
2768
+ return polyfill.apply(util.util, arguments);
2598
2769
  };
2599
2770
  defineProperties_1(boundPromisify, {
2600
- custom: polyfill$2.custom,
2601
- customPromisifyArgs: polyfill$2.customPromisifyArgs,
2771
+ custom: polyfill.custom,
2772
+ customPromisifyArgs: polyfill.customPromisifyArgs,
2602
2773
  getPolyfill: polyfill$1,
2603
- implementation: implementation$3,
2604
- shim: shim$1
2774
+ implementation: implementation,
2775
+ shim: shim
2605
2776
  });
2606
2777
 
2607
2778
  var util_promisify = boundPromisify;
@@ -2642,16 +2813,16 @@ function connect() {
2642
2813
 
2643
2814
  var db = connect;
2644
2815
 
2645
- var _this$3 = undefined;
2816
+ var _this$1 = undefined;
2646
2817
 
2647
- var config = {
2818
+ var config$1 = {
2648
2819
  host: 'sanity-datasource.cluster-crao688bsrdh.us-east-1.rds.amazonaws.com',
2649
2820
  user: 'nasp',
2650
2821
  password: 'uRNkF9SkfXQs6AKK',
2651
2822
  database: 'user'
2652
2823
  };
2653
2824
 
2654
- var findUser = function () {
2825
+ var findUser$1 = function () {
2655
2826
  var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(email) {
2656
2827
  var password = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
2657
2828
  var db$1, query, res, user, hash, passwordsMatch, user_shared, occupation_id;
@@ -2663,7 +2834,7 @@ var findUser = function () {
2663
2834
  _context.prev = 1;
2664
2835
 
2665
2836
 
2666
- db$1 = db(config);
2837
+ db$1 = db(config$1);
2667
2838
 
2668
2839
  query = '\n select * \n from user \n where trim(lower(email)) = ?\n ';
2669
2840
  _context.next = 6;
@@ -2759,7 +2930,7 @@ var findUser = function () {
2759
2930
  };
2760
2931
  }();
2761
2932
 
2762
- var updateUser = function () {
2933
+ var updateUser$1 = function () {
2763
2934
  var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee2(data) {
2764
2935
  var db$1, query, res, hash, columns, i, column, occupation_name;
2765
2936
  return asyncToGenerator.regenerator.wrap(function _callee2$(_context2) {
@@ -2772,7 +2943,7 @@ var updateUser = function () {
2772
2943
 
2773
2944
  validateUserData(data);
2774
2945
 
2775
- db$1 = db(config);
2946
+ db$1 = db(config$1);
2776
2947
 
2777
2948
  _context2.next = 6;
2778
2949
  return db$1.beginTransaction();
@@ -2879,7 +3050,7 @@ var updateUser = function () {
2879
3050
 
2880
3051
  return _context2.abrupt('return', {
2881
3052
  error: '',
2882
- user: findUser(data.email)
3053
+ user: findUser$1(data.email)
2883
3054
  });
2884
3055
 
2885
3056
  case 45:
@@ -2991,7 +3162,7 @@ var getOccupationNameById = function () {
2991
3162
  return _context3.stop();
2992
3163
  }
2993
3164
  }
2994
- }, _callee3, _this$3);
3165
+ }, _callee3, _this$1);
2995
3166
  }));
2996
3167
 
2997
3168
  return function getOccupationNameById(_x5, _x6) {
@@ -2999,7 +3170,7 @@ var getOccupationNameById = function () {
2999
3170
  };
3000
3171
  }();
3001
3172
 
3002
- var createUser = function () {
3173
+ var createUser$1 = function () {
3003
3174
  var _ref4 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee4(data) {
3004
3175
  var db$1, query, res, hash, columns, i, column, user_id, occupation_name;
3005
3176
  return asyncToGenerator.regenerator.wrap(function _callee4$(_context4) {
@@ -3012,7 +3183,7 @@ var createUser = function () {
3012
3183
 
3013
3184
  validateUserData(data, true);
3014
3185
 
3015
- db$1 = db(config);
3186
+ db$1 = db(config$1);
3016
3187
 
3017
3188
  _context4.next = 6;
3018
3189
  return db$1.beginTransaction();
@@ -3108,7 +3279,7 @@ var createUser = function () {
3108
3279
  case 39:
3109
3280
  return _context4.abrupt('return', {
3110
3281
  error: '',
3111
- user: findUser(data.email)
3282
+ user: findUser$1(data.email)
3112
3283
  });
3113
3284
 
3114
3285
  case 42:
@@ -3146,7 +3317,7 @@ var createUser = function () {
3146
3317
  };
3147
3318
  }();
3148
3319
 
3149
- var createUser$1 = function () {
3320
+ var createUser = function () {
3150
3321
  var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(data) {
3151
3322
  var res;
3152
3323
  return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
@@ -3154,7 +3325,7 @@ var createUser$1 = function () {
3154
3325
  switch (_context.prev = _context.next) {
3155
3326
  case 0:
3156
3327
  _context.next = 2;
3157
- return createUser(data);
3328
+ return createUser$1(data);
3158
3329
 
3159
3330
  case 2:
3160
3331
  res = _context.sent;
@@ -3182,7 +3353,7 @@ var createUser$1 = function () {
3182
3353
  };
3183
3354
  }();
3184
3355
 
3185
- var updateUser$1 = function () {
3356
+ var updateUser = function () {
3186
3357
  var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee2(data) {
3187
3358
  var res;
3188
3359
  return asyncToGenerator.regenerator.wrap(function _callee2$(_context2) {
@@ -3190,7 +3361,7 @@ var updateUser$1 = function () {
3190
3361
  switch (_context2.prev = _context2.next) {
3191
3362
  case 0:
3192
3363
  _context2.next = 2;
3193
- return updateUser(data);
3364
+ return updateUser$1(data);
3194
3365
 
3195
3366
  case 2:
3196
3367
  res = _context2.sent;
@@ -3218,7 +3389,7 @@ var updateUser$1 = function () {
3218
3389
  };
3219
3390
  }();
3220
3391
 
3221
- var findUser$1 = function () {
3392
+ var findUser = function () {
3222
3393
  var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(_ref4) {
3223
3394
  var email = _ref4.email,
3224
3395
  password = _ref4.password;
@@ -3228,7 +3399,7 @@ var findUser$1 = function () {
3228
3399
  switch (_context3.prev = _context3.next) {
3229
3400
  case 0:
3230
3401
  _context3.next = 2;
3231
- return findUser(email, password);
3402
+ return findUser$1(email, password);
3232
3403
 
3233
3404
  case 2:
3234
3405
  res = _context3.sent;
@@ -3258,9 +3429,9 @@ var findUser$1 = function () {
3258
3429
 
3259
3430
  var user = /*#__PURE__*/Object.freeze({
3260
3431
  __proto__: null,
3261
- createUser: createUser$1,
3262
- updateUser: updateUser$1,
3263
- findUser: findUser$1
3432
+ createUser: createUser,
3433
+ updateUser: updateUser,
3434
+ findUser: findUser
3264
3435
  });
3265
3436
 
3266
3437
  var localStrategy = new Local__default['default'].Strategy({
@@ -3268,7 +3439,7 @@ var localStrategy = new Local__default['default'].Strategy({
3268
3439
  passwordField: 'password'
3269
3440
  }, function (email, password, done) {
3270
3441
 
3271
- findUser$1({ email: email, password: password }).then(function (user) {
3442
+ findUser({ email: email, password: password }).then(function (user) {
3272
3443
  done(null, user);
3273
3444
  }).catch(function (error) {
3274
3445
  done(error);
@@ -3280,9 +3451,9 @@ var passportLocal = /*#__PURE__*/Object.freeze({
3280
3451
  localStrategy: localStrategy
3281
3452
  });
3282
3453
 
3283
- var _this$4 = undefined;
3454
+ var _this = undefined;
3284
3455
 
3285
- var config$1 = {
3456
+ var config = {
3286
3457
  host: 'sanity-datasource.cluster-crao688bsrdh.us-east-1.rds.amazonaws.com',
3287
3458
  user: 'nasp',
3288
3459
  password: 'uRNkF9SkfXQs6AKK',
@@ -3296,7 +3467,7 @@ var getOccupation = function () {
3296
3467
  while (1) {
3297
3468
  switch (_context.prev = _context.next) {
3298
3469
  case 0:
3299
- db$1 = db(config$1);
3470
+ db$1 = db(config);
3300
3471
  query = '\n select name as label, id as value\n from occupation\n where type = ?\n ';
3301
3472
  _context.next = 4;
3302
3473
  return db$1.query(query, [type]);
@@ -3314,7 +3485,7 @@ var getOccupation = function () {
3314
3485
  return _context.stop();
3315
3486
  }
3316
3487
  }
3317
- }, _callee, _this$4);
3488
+ }, _callee, _this);
3318
3489
  }));
3319
3490
 
3320
3491
  return function getOccupation(_x) {
@@ -3329,7 +3500,7 @@ var getFieldsAndOptions = function () {
3329
3500
  while (1) {
3330
3501
  switch (_context2.prev = _context2.next) {
3331
3502
  case 0:
3332
- db$1 = db(config$1);
3503
+ db$1 = db(config);
3333
3504
  query = '\n select * \n from field\n where occupation_id = ?\n order by sorting\n ';
3334
3505
  _context2.next = 4;
3335
3506
  return db$1.query(query, [occupation]);
@@ -3377,7 +3548,7 @@ var getFieldsAndOptions = function () {
3377
3548
  return _context2.stop();
3378
3549
  }
3379
3550
  }
3380
- }, _callee2, _this$4);
3551
+ }, _callee2, _this);
3381
3552
  }));
3382
3553
 
3383
3554
  return function getFieldsAndOptions(_x2) {
@@ -3448,8 +3619,8 @@ var ProcessData = (function () {
3448
3619
  })();
3449
3620
 
3450
3621
  var LoginForm_1 = LoginForm;
3451
- var SignupForm_1 = SignupForm;
3452
- var ProfileForm_1 = SignupForm$1;
3622
+ var SignupForm_1 = SignupForm$1;
3623
+ var ProfileForm_1 = SignupForm;
3453
3624
  var AuthCookies_1 = authCookies;
3454
3625
  var AuthHooks_1 = hooks;
3455
3626
  var Iron_1 = iron;