@mjhls/mjh-framework 1.0.109-8.rlTest → 1.0.109

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 (370) hide show
  1. package/README.md +5 -1
  2. package/dist/index.es.js +20606 -0
  3. package/dist/index.es.js.map +1 -0
  4. package/dist/index.js +20644 -0
  5. package/dist/index.js.map +1 -0
  6. package/package.json +26 -55
  7. package/dist/cjs/AD.js +0 -32
  8. package/dist/cjs/AD300x250.js +0 -95
  9. package/dist/cjs/AD300x250x600.js +0 -112
  10. package/dist/cjs/AD728x90.js +0 -109
  11. package/dist/cjs/ADFloatingFooter.js +0 -151
  12. package/dist/cjs/ADFooter.js +0 -53
  13. package/dist/cjs/ADGutter.js +0 -123
  14. package/dist/cjs/ADInfeed-7c075eda.js +0 -75
  15. package/dist/cjs/ADSkyscraper.js +0 -125
  16. package/dist/cjs/ADSponsoredResources.js +0 -122
  17. package/dist/cjs/ADWebcast.js +0 -127
  18. package/dist/cjs/ADWelcome.js +0 -166
  19. package/dist/cjs/ADlgInfeed-d4f556bd.js +0 -69
  20. package/dist/cjs/AccordionPanel.js +0 -94
  21. package/dist/cjs/AdSlot.js +0 -283
  22. package/dist/cjs/AdSlotsProvider.js +0 -184
  23. package/dist/cjs/AlgoliaSearch.js +0 -15221
  24. package/dist/cjs/AlphabeticList.js +0 -134
  25. package/dist/cjs/ArticleCarousel.js +0 -45
  26. package/dist/cjs/ArticleProgramLandingPage.js +0 -186
  27. package/dist/cjs/ArticleSeriesLandingPage.js +0 -162
  28. package/dist/cjs/ArticleSeriesListing.js +0 -314
  29. package/dist/cjs/AuthWrapper.js +0 -1526
  30. package/dist/cjs/AuthorComponent-7d00f6d5.js +0 -96
  31. package/dist/cjs/Beam.js +0 -405
  32. package/dist/cjs/BlockContent-96b44364.js +0 -916
  33. package/dist/cjs/Breadcrumbs.js +0 -107
  34. package/dist/cjs/CEDeckSupabase.js +0 -444
  35. package/dist/cjs/CMEDeck.js +0 -444
  36. package/dist/cjs/Column1.js +0 -36
  37. package/dist/cjs/Column2.js +0 -73
  38. package/dist/cjs/Column3.js +0 -140
  39. package/dist/cjs/ConferenceArticleCard.js +0 -94
  40. package/dist/cjs/ConferenceBanner-213003ce.js +0 -24
  41. package/dist/cjs/ContentCardPaginated.js +0 -416
  42. package/dist/cjs/DeckContent.js +0 -507
  43. package/dist/cjs/DeckQueue.js +0 -402
  44. package/dist/cjs/DeckQueuePaginated.js +0 -347
  45. package/dist/cjs/Dfp-67646058.js +0 -103
  46. package/dist/cjs/EventsDeck.js +0 -856
  47. package/dist/cjs/ExternalResources.js +0 -220
  48. package/dist/cjs/Feature.js +0 -132
  49. package/dist/cjs/ForbesHero.js +0 -138
  50. package/dist/cjs/GridContent.js +0 -828
  51. package/dist/cjs/GridContentPaginated.js +0 -703
  52. package/dist/cjs/GridHero.js +0 -148
  53. package/dist/cjs/GroupDeck.js +0 -314
  54. package/dist/cjs/HamMagazine.js +0 -664
  55. package/dist/cjs/Header.js +0 -65
  56. package/dist/cjs/HealthCareProfessionalModal.js +0 -78
  57. package/dist/cjs/Hero.js +0 -49
  58. package/dist/cjs/HighlightenVideo.js +0 -69
  59. package/dist/cjs/HorizontalArticleListing.js +0 -167
  60. package/dist/cjs/HorizontalHero.js +0 -112
  61. package/dist/cjs/ImageSlider-7c995858.js +0 -2808
  62. package/dist/cjs/IssueContentDeck.js +0 -242
  63. package/dist/cjs/IssueDeck.js +0 -267
  64. package/dist/cjs/IssueLanding.js +0 -176
  65. package/dist/cjs/KMTracker.js +0 -27
  66. package/dist/cjs/LeftNav.js +0 -153
  67. package/dist/cjs/MasterDeck.js +0 -555
  68. package/dist/cjs/MasterDeckPaginated.js +0 -468
  69. package/dist/cjs/MediaSeriesCard.js +0 -134
  70. package/dist/cjs/MediaSeriesLanding.js +0 -507
  71. package/dist/cjs/MediaSeriesLandingPaginated.js +0 -532
  72. package/dist/cjs/NavDvm.js +0 -278
  73. package/dist/cjs/NavFooter-b7b16d48.js +0 -72
  74. package/dist/cjs/NavMagazine.js +0 -615
  75. package/dist/cjs/NavNative.js +0 -880
  76. package/dist/cjs/OncliveHero.js +0 -80
  77. package/dist/cjs/OncliveLargeHero.js +0 -242
  78. package/dist/cjs/PageFilter.js +0 -72
  79. package/dist/cjs/Pagination-6359861a.js +0 -97
  80. package/dist/cjs/PartnerDetailListing.js +0 -374
  81. package/dist/cjs/PartnerDetailListingPaginated.js +0 -365
  82. package/dist/cjs/PdfDownload.js +0 -28
  83. package/dist/cjs/PixelTracking.js +0 -191
  84. package/dist/cjs/PodcastsLanding.js +0 -234
  85. package/dist/cjs/PopUpModal.js +0 -58
  86. package/dist/cjs/PtceDeck.js +0 -150
  87. package/dist/cjs/PubSection.js +0 -120
  88. package/dist/cjs/PubToc.js +0 -88
  89. package/dist/cjs/PublicationDeck.js +0 -184
  90. package/dist/cjs/PublicationFeature-4b68e0db.js +0 -130
  91. package/dist/cjs/PublicationLanding.js +0 -826
  92. package/dist/cjs/QueueDeckExpanded.js +0 -1540
  93. package/dist/cjs/QueueDeckExpandedPaginated.js +0 -1387
  94. package/dist/cjs/RecentNews.js +0 -91
  95. package/dist/cjs/RelatedContent.js +0 -115
  96. package/dist/cjs/RelatedTopicsDropdown.js +0 -90
  97. package/dist/cjs/RolesDeck.js +0 -94
  98. package/dist/cjs/Schema.js +0 -102
  99. package/dist/cjs/Search.js +0 -66
  100. package/dist/cjs/Segment.js +0 -458
  101. package/dist/cjs/SeriesListingDeck.js +0 -247
  102. package/dist/cjs/SeriesSlider-086a8319.js +0 -332
  103. package/dist/cjs/SetCookie.js +0 -10
  104. package/dist/cjs/SideFooter.js +0 -152
  105. package/dist/cjs/SocialIcons.js +0 -103
  106. package/dist/cjs/SocialSearchComponent-d7e5d3a6.js +0 -213
  107. package/dist/cjs/SocialShare.js +0 -74
  108. package/dist/cjs/TaxonomyCard.js +0 -256
  109. package/dist/cjs/TaxonomyDescription.js +0 -208
  110. package/dist/cjs/TemplateNormal.js +0 -204
  111. package/dist/cjs/ThumbnailCard.js +0 -60
  112. package/dist/cjs/Tooltip-b8516cbf.js +0 -9541
  113. package/dist/cjs/Ustream.js +0 -157
  114. package/dist/cjs/VerticalHero.js +0 -75
  115. package/dist/cjs/VideoProgramLandingPage.js +0 -262
  116. package/dist/cjs/VideoSeriesCard.js +0 -88
  117. package/dist/cjs/VideoSeriesFilter.js +0 -129
  118. package/dist/cjs/VideoSeriesLandingPage.js +0 -178
  119. package/dist/cjs/VideoSeriesListing.js +0 -421
  120. package/dist/cjs/View.js +0 -2835
  121. package/dist/cjs/YahooHero.js +0 -127
  122. package/dist/cjs/YoutubeGroup.js +0 -372
  123. package/dist/cjs/_commonjsHelpers-06173234.js +0 -25
  124. package/dist/cjs/_is-array-54228b29.js +0 -74
  125. package/dist/cjs/_iter-detect-b1df62f0.js +0 -52
  126. package/dist/cjs/_library-dd23b178.js +0 -5
  127. package/dist/cjs/_object-sap-d1978572.js +0 -16
  128. package/dist/cjs/_object-to-array-9337ba83.js +0 -25
  129. package/dist/cjs/_set-species-0c7864a2.js +0 -55
  130. package/dist/cjs/asyncToGenerator-65df6bf8.js +0 -1347
  131. package/dist/cjs/brightcove-react-player-loader.es-35faab67.js +0 -2232
  132. package/dist/cjs/checkSisterSite-c3a4ac98.js +0 -19
  133. package/dist/cjs/core.get-iterator-method-5643aa10.js +0 -584
  134. package/dist/cjs/debounce-d4a2369b.js +0 -216
  135. package/dist/cjs/define-property-e8404b64.js +0 -20
  136. package/dist/cjs/defineProperty-19580e93.js +0 -71
  137. package/dist/cjs/defineProperty-9673846a.js +0 -34
  138. package/dist/cjs/entities-df1aed86.js +0 -510
  139. package/dist/cjs/eq-5fc26c07.js +0 -79
  140. package/dist/cjs/extends-be0d85bc.js +0 -100
  141. package/dist/cjs/faundadb.js +0 -765
  142. package/dist/cjs/get-5839e5b5.js +0 -920
  143. package/dist/cjs/getContentCategory-f38a4c00.js +0 -11
  144. package/dist/cjs/getKeywords.js +0 -46
  145. package/dist/cjs/getPtceActivities.js +0 -90
  146. package/dist/cjs/getQuery.js +0 -27
  147. package/dist/cjs/getRelatedArticle.js +0 -766
  148. package/dist/cjs/getRootDocGroup.js +0 -63
  149. package/dist/cjs/getSerializers.js +0 -66
  150. package/dist/cjs/getSeriesDetail.js +0 -40
  151. package/dist/cjs/getTIData.js +0 -93
  152. package/dist/cjs/getTargeting-7ce7037b.js +0 -166
  153. package/dist/cjs/getTargeting.js +0 -12
  154. package/dist/cjs/iconBase-be4097c0.js +0 -104
  155. package/dist/cjs/index-187c967e.js +0 -54
  156. package/dist/cjs/index-3177f564.js +0 -1573
  157. package/dist/cjs/index-65621b6c.js +0 -613
  158. package/dist/cjs/index-7435b964.js +0 -1683
  159. package/dist/cjs/index-a26637a3.js +0 -11764
  160. package/dist/cjs/index-d48b231c.js +0 -556
  161. package/dist/cjs/index-ff83a88b.js +0 -104
  162. package/dist/cjs/index.es-1ab8dda7.js +0 -445
  163. package/dist/cjs/index.esm-2ea9e9ff.js +0 -98
  164. package/dist/cjs/index.esm-c1e16606.js +0 -13
  165. package/dist/cjs/index.esm-d51c9ac6.js +0 -25
  166. package/dist/cjs/index.esm-d81454e7.js +0 -19
  167. package/dist/cjs/index.js +0 -638
  168. package/dist/cjs/inherits-e47b5342.js +0 -188
  169. package/dist/cjs/isSymbol-03abbdf0.js +0 -209
  170. package/dist/cjs/js.cookie-a511c430.js +0 -160
  171. package/dist/cjs/keys-e982b3fa.js +0 -25
  172. package/dist/cjs/lodash-f0783643.js +0 -17195
  173. package/dist/cjs/main-ae8472f3.js +0 -969
  174. package/dist/cjs/moment-f730814d.js +0 -5684
  175. package/dist/cjs/react-social-icons-2c5c389a.js +0 -616
  176. package/dist/cjs/slicedToArray-067dd3bc.js +0 -95
  177. package/dist/cjs/smoothscroll-99df7f93.js +0 -438
  178. package/dist/cjs/stringify-f7a37a8d.js +0 -17
  179. package/dist/cjs/style-inject.es-dcee06b6.js +0 -30
  180. package/dist/cjs/timeDifferenceCalc.js +0 -39
  181. package/dist/cjs/toConsumableArray-d7797c2b.js +0 -74
  182. package/dist/cjs/toNumber-5e1fac58.js +0 -104
  183. package/dist/cjs/typeof-220bbf73.js +0 -382
  184. package/dist/cjs/urlFor.js +0 -66
  185. package/dist/cjs/urlForFile-5084fc48.js +0 -29
  186. package/dist/cjs/ustream-api-3819e4aa.js +0 -106
  187. package/dist/cjs/visibility-sensor-56020df6.js +0 -597
  188. package/dist/cjs/web.dom.iterable-d98303e0.js +0 -50
  189. package/dist/esm/AD.js +0 -26
  190. package/dist/esm/AD300x250.js +0 -89
  191. package/dist/esm/AD300x250x600.js +0 -106
  192. package/dist/esm/AD728x90.js +0 -103
  193. package/dist/esm/ADFloatingFooter.js +0 -145
  194. package/dist/esm/ADFooter.js +0 -47
  195. package/dist/esm/ADGutter.js +0 -117
  196. package/dist/esm/ADInfeed-3442c999.js +0 -68
  197. package/dist/esm/ADSkyscraper.js +0 -119
  198. package/dist/esm/ADSponsoredResources.js +0 -116
  199. package/dist/esm/ADWebcast.js +0 -121
  200. package/dist/esm/ADWelcome.js +0 -160
  201. package/dist/esm/ADlgInfeed-30649360.js +0 -63
  202. package/dist/esm/AccordionPanel.js +0 -87
  203. package/dist/esm/AdSlot.js +0 -276
  204. package/dist/esm/AdSlotsProvider.js +0 -177
  205. package/dist/esm/AlgoliaSearch.js +0 -15214
  206. package/dist/esm/AlphabeticList.js +0 -128
  207. package/dist/esm/ArticleCarousel.js +0 -39
  208. package/dist/esm/ArticleProgramLandingPage.js +0 -180
  209. package/dist/esm/ArticleSeriesLandingPage.js +0 -156
  210. package/dist/esm/ArticleSeriesListing.js +0 -307
  211. package/dist/esm/AuthWrapper.js +0 -1520
  212. package/dist/esm/AuthorComponent-d9653ae5.js +0 -90
  213. package/dist/esm/Beam.js +0 -403
  214. package/dist/esm/BlockContent-1e73bd2c.js +0 -909
  215. package/dist/esm/Breadcrumbs.js +0 -100
  216. package/dist/esm/CEDeckSupabase.js +0 -438
  217. package/dist/esm/CMEDeck.js +0 -438
  218. package/dist/esm/Column1.js +0 -28
  219. package/dist/esm/Column2.js +0 -65
  220. package/dist/esm/Column3.js +0 -132
  221. package/dist/esm/ConferenceArticleCard.js +0 -88
  222. package/dist/esm/ConferenceBanner-8792ebd2.js +0 -18
  223. package/dist/esm/ContentCardPaginated.js +0 -405
  224. package/dist/esm/DeckContent.js +0 -497
  225. package/dist/esm/DeckQueue.js +0 -392
  226. package/dist/esm/DeckQueuePaginated.js +0 -336
  227. package/dist/esm/Dfp-3b6eb620.js +0 -96
  228. package/dist/esm/EventsDeck.js +0 -843
  229. package/dist/esm/ExternalResources.js +0 -213
  230. package/dist/esm/Feature.js +0 -125
  231. package/dist/esm/ForbesHero.js +0 -132
  232. package/dist/esm/GridContent.js +0 -818
  233. package/dist/esm/GridContentPaginated.js +0 -692
  234. package/dist/esm/GridHero.js +0 -142
  235. package/dist/esm/GroupDeck.js +0 -308
  236. package/dist/esm/HamMagazine.js +0 -651
  237. package/dist/esm/Header.js +0 -54
  238. package/dist/esm/HealthCareProfessionalModal.js +0 -70
  239. package/dist/esm/Hero.js +0 -43
  240. package/dist/esm/HighlightenVideo.js +0 -63
  241. package/dist/esm/HorizontalArticleListing.js +0 -161
  242. package/dist/esm/HorizontalHero.js +0 -106
  243. package/dist/esm/ImageSlider-75f7b81a.js +0 -2799
  244. package/dist/esm/IssueContentDeck.js +0 -232
  245. package/dist/esm/IssueDeck.js +0 -257
  246. package/dist/esm/IssueLanding.js +0 -170
  247. package/dist/esm/KMTracker.js +0 -25
  248. package/dist/esm/LeftNav.js +0 -143
  249. package/dist/esm/MasterDeck.js +0 -548
  250. package/dist/esm/MasterDeckPaginated.js +0 -460
  251. package/dist/esm/MediaSeriesCard.js +0 -128
  252. package/dist/esm/MediaSeriesLanding.js +0 -500
  253. package/dist/esm/MediaSeriesLandingPaginated.js +0 -525
  254. package/dist/esm/NavDvm.js +0 -265
  255. package/dist/esm/NavFooter-4bcffccb.js +0 -66
  256. package/dist/esm/NavMagazine.js +0 -602
  257. package/dist/esm/NavNative.js +0 -864
  258. package/dist/esm/OncliveHero.js +0 -74
  259. package/dist/esm/OncliveLargeHero.js +0 -236
  260. package/dist/esm/PageFilter.js +0 -66
  261. package/dist/esm/Pagination-9fe9f61d.js +0 -90
  262. package/dist/esm/PartnerDetailListing.js +0 -368
  263. package/dist/esm/PartnerDetailListingPaginated.js +0 -359
  264. package/dist/esm/PdfDownload.js +0 -22
  265. package/dist/esm/PixelTracking.js +0 -182
  266. package/dist/esm/PodcastsLanding.js +0 -227
  267. package/dist/esm/PopUpModal.js +0 -51
  268. package/dist/esm/PtceDeck.js +0 -144
  269. package/dist/esm/PubSection.js +0 -114
  270. package/dist/esm/PubToc.js +0 -82
  271. package/dist/esm/PublicationDeck.js +0 -174
  272. package/dist/esm/PublicationFeature-6c334891.js +0 -121
  273. package/dist/esm/PublicationLanding.js +0 -816
  274. package/dist/esm/QueueDeckExpanded.js +0 -1534
  275. package/dist/esm/QueueDeckExpandedPaginated.js +0 -1381
  276. package/dist/esm/RecentNews.js +0 -85
  277. package/dist/esm/RelatedContent.js +0 -109
  278. package/dist/esm/RelatedTopicsDropdown.js +0 -82
  279. package/dist/esm/RolesDeck.js +0 -84
  280. package/dist/esm/Schema.js +0 -96
  281. package/dist/esm/Search.js +0 -57
  282. package/dist/esm/Segment.js +0 -456
  283. package/dist/esm/SeriesListingDeck.js +0 -241
  284. package/dist/esm/SeriesSlider-acbdf4c9.js +0 -326
  285. package/dist/esm/SetCookie.js +0 -8
  286. package/dist/esm/SideFooter.js +0 -146
  287. package/dist/esm/SocialIcons.js +0 -97
  288. package/dist/esm/SocialSearchComponent-9e65c8d6.js +0 -204
  289. package/dist/esm/SocialShare.js +0 -67
  290. package/dist/esm/TaxonomyCard.js +0 -246
  291. package/dist/esm/TaxonomyDescription.js +0 -201
  292. package/dist/esm/TemplateNormal.js +0 -197
  293. package/dist/esm/ThumbnailCard.js +0 -53
  294. package/dist/esm/Tooltip-fe0ed92d.js +0 -9532
  295. package/dist/esm/Ustream.js +0 -151
  296. package/dist/esm/VerticalHero.js +0 -69
  297. package/dist/esm/VideoProgramLandingPage.js +0 -253
  298. package/dist/esm/VideoSeriesCard.js +0 -82
  299. package/dist/esm/VideoSeriesFilter.js +0 -123
  300. package/dist/esm/VideoSeriesLandingPage.js +0 -172
  301. package/dist/esm/VideoSeriesListing.js +0 -414
  302. package/dist/esm/View.js +0 -2825
  303. package/dist/esm/YahooHero.js +0 -121
  304. package/dist/esm/YoutubeGroup.js +0 -366
  305. package/dist/esm/_commonjsHelpers-0c4b6f40.js +0 -19
  306. package/dist/esm/_is-array-68c79b29.js +0 -71
  307. package/dist/esm/_iter-detect-2f89237f.js +0 -48
  308. package/dist/esm/_library-528f1934.js +0 -3
  309. package/dist/esm/_object-sap-14bd8e96.js +0 -14
  310. package/dist/esm/_object-to-array-9dfdfb29.js +0 -23
  311. package/dist/esm/_set-species-7d3317b7.js +0 -50
  312. package/dist/esm/asyncToGenerator-1ebeb135.js +0 -1343
  313. package/dist/esm/brightcove-react-player-loader.es-a2422c4b.js +0 -2226
  314. package/dist/esm/checkSisterSite-a7218fda.js +0 -17
  315. package/dist/esm/core.get-iterator-method-95db387d.js +0 -547
  316. package/dist/esm/debounce-533d9748.js +0 -214
  317. package/dist/esm/define-property-433c51d3.js +0 -18
  318. package/dist/esm/defineProperty-e5afb9eb.js +0 -32
  319. package/dist/esm/defineProperty-e8022d1e.js +0 -66
  320. package/dist/esm/entities-6d9154b4.js +0 -507
  321. package/dist/esm/eq-bdcbf886.js +0 -76
  322. package/dist/esm/extends-2f4448b8.js +0 -94
  323. package/dist/esm/faundadb.js +0 -754
  324. package/dist/esm/get-3c308da4.js +0 -918
  325. package/dist/esm/getContentCategory-15dcc413.js +0 -9
  326. package/dist/esm/getKeywords.js +0 -44
  327. package/dist/esm/getPtceActivities.js +0 -88
  328. package/dist/esm/getQuery.js +0 -25
  329. package/dist/esm/getRelatedArticle.js +0 -764
  330. package/dist/esm/getRootDocGroup.js +0 -61
  331. package/dist/esm/getSerializers.js +0 -60
  332. package/dist/esm/getSeriesDetail.js +0 -38
  333. package/dist/esm/getTIData.js +0 -91
  334. package/dist/esm/getTargeting-301942ae.js +0 -163
  335. package/dist/esm/getTargeting.js +0 -6
  336. package/dist/esm/iconBase-ccc56b97.js +0 -81
  337. package/dist/esm/index-3f5c03b2.js +0 -553
  338. package/dist/esm/index-4550ef23.js +0 -1571
  339. package/dist/esm/index-5cc7b406.js +0 -1674
  340. package/dist/esm/index-755f2cc2.js +0 -605
  341. package/dist/esm/index-a68bfe70.js +0 -11743
  342. package/dist/esm/index-c7e2ac95.js +0 -52
  343. package/dist/esm/index-c8d5e72b.js +0 -99
  344. package/dist/esm/index.es-a6137319.js +0 -439
  345. package/dist/esm/index.esm-1bd8a0a8.js +0 -18
  346. package/dist/esm/index.esm-9508070a.js +0 -91
  347. package/dist/esm/index.esm-9b042655.js +0 -10
  348. package/dist/esm/index.esm-eb1e8e80.js +0 -14
  349. package/dist/esm/index.js +0 -531
  350. package/dist/esm/inherits-96c84cbd.js +0 -179
  351. package/dist/esm/isSymbol-a7e9aafe.js +0 -203
  352. package/dist/esm/js.cookie-6874175c.js +0 -158
  353. package/dist/esm/keys-185288f4.js +0 -23
  354. package/dist/esm/lodash-f97fd99a.js +0 -17193
  355. package/dist/esm/main-754d4992.js +0 -956
  356. package/dist/esm/moment-48faeb9c.js +0 -5682
  357. package/dist/esm/react-social-icons-9be47857.js +0 -609
  358. package/dist/esm/slicedToArray-72ed566b.js +0 -92
  359. package/dist/esm/smoothscroll-fa4e3f8c.js +0 -436
  360. package/dist/esm/stringify-1e2a5946.js +0 -15
  361. package/dist/esm/style-inject.es-1f59c1d0.js +0 -28
  362. package/dist/esm/timeDifferenceCalc.js +0 -37
  363. package/dist/esm/toConsumableArray-e6f28e5c.js +0 -71
  364. package/dist/esm/toNumber-5aeba6e7.js +0 -102
  365. package/dist/esm/typeof-3ab7d3b6.js +0 -378
  366. package/dist/esm/urlFor.js +0 -64
  367. package/dist/esm/urlForFile-2e523b67.js +0 -27
  368. package/dist/esm/ustream-api-63a164b3.js +0 -104
  369. package/dist/esm/visibility-sensor-72fd8f8b.js +0 -590
  370. package/dist/esm/web.dom.iterable-3fffc027.js +0 -48
@@ -1,1347 +0,0 @@
1
- 'use strict';
2
-
3
- var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
4
- var core_getIteratorMethod = require('./core.get-iterator-method-5643aa10.js');
5
- require('./web.dom.iterable-d98303e0.js');
6
- var _library = require('./_library-dd23b178.js');
7
- var _setSpecies = require('./_set-species-0c7864a2.js');
8
- var _iterDetect = require('./_iter-detect-b1df62f0.js');
9
-
10
- var runtime = _commonjsHelpers.createCommonjsModule(function (module) {
11
- /**
12
- * Copyright (c) 2014-present, Facebook, Inc.
13
- *
14
- * This source code is licensed under the MIT license found in the
15
- * LICENSE file in the root directory of this source tree.
16
- */
17
-
18
- !(function(global) {
19
-
20
- var Op = Object.prototype;
21
- var hasOwn = Op.hasOwnProperty;
22
- var undefined$1; // More compressible than void 0.
23
- var $Symbol = typeof Symbol === "function" ? Symbol : {};
24
- var iteratorSymbol = $Symbol.iterator || "@@iterator";
25
- var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
26
- var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
27
- var runtime = global.regeneratorRuntime;
28
- if (runtime) {
29
- {
30
- // If regeneratorRuntime is defined globally and we're in a module,
31
- // make the exports object identical to regeneratorRuntime.
32
- module.exports = runtime;
33
- }
34
- // Don't bother evaluating the rest of this file if the runtime was
35
- // already defined globally.
36
- return;
37
- }
38
-
39
- // Define the runtime globally (as expected by generated code) as either
40
- // module.exports (if we're in a module) or a new, empty object.
41
- runtime = global.regeneratorRuntime = module.exports ;
42
-
43
- function wrap(innerFn, outerFn, self, tryLocsList) {
44
- // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
45
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
46
- var generator = Object.create(protoGenerator.prototype);
47
- var context = new Context(tryLocsList || []);
48
-
49
- // The ._invoke method unifies the implementations of the .next,
50
- // .throw, and .return methods.
51
- generator._invoke = makeInvokeMethod(innerFn, self, context);
52
-
53
- return generator;
54
- }
55
- runtime.wrap = wrap;
56
-
57
- // Try/catch helper to minimize deoptimizations. Returns a completion
58
- // record like context.tryEntries[i].completion. This interface could
59
- // have been (and was previously) designed to take a closure to be
60
- // invoked without arguments, but in all the cases we care about we
61
- // already have an existing method we want to call, so there's no need
62
- // to create a new function object. We can even get away with assuming
63
- // the method takes exactly one argument, since that happens to be true
64
- // in every case, so we don't have to touch the arguments object. The
65
- // only additional allocation required is the completion record, which
66
- // has a stable shape and so hopefully should be cheap to allocate.
67
- function tryCatch(fn, obj, arg) {
68
- try {
69
- return { type: "normal", arg: fn.call(obj, arg) };
70
- } catch (err) {
71
- return { type: "throw", arg: err };
72
- }
73
- }
74
-
75
- var GenStateSuspendedStart = "suspendedStart";
76
- var GenStateSuspendedYield = "suspendedYield";
77
- var GenStateExecuting = "executing";
78
- var GenStateCompleted = "completed";
79
-
80
- // Returning this object from the innerFn has the same effect as
81
- // breaking out of the dispatch switch statement.
82
- var ContinueSentinel = {};
83
-
84
- // Dummy constructor functions that we use as the .constructor and
85
- // .constructor.prototype properties for functions that return Generator
86
- // objects. For full spec compliance, you may wish to configure your
87
- // minifier not to mangle the names of these two functions.
88
- function Generator() {}
89
- function GeneratorFunction() {}
90
- function GeneratorFunctionPrototype() {}
91
-
92
- // This is a polyfill for %IteratorPrototype% for environments that
93
- // don't natively support it.
94
- var IteratorPrototype = {};
95
- IteratorPrototype[iteratorSymbol] = function () {
96
- return this;
97
- };
98
-
99
- var getProto = Object.getPrototypeOf;
100
- var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
101
- if (NativeIteratorPrototype &&
102
- NativeIteratorPrototype !== Op &&
103
- hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
104
- // This environment has a native %IteratorPrototype%; use it instead
105
- // of the polyfill.
106
- IteratorPrototype = NativeIteratorPrototype;
107
- }
108
-
109
- var Gp = GeneratorFunctionPrototype.prototype =
110
- Generator.prototype = Object.create(IteratorPrototype);
111
- GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
112
- GeneratorFunctionPrototype.constructor = GeneratorFunction;
113
- GeneratorFunctionPrototype[toStringTagSymbol] =
114
- GeneratorFunction.displayName = "GeneratorFunction";
115
-
116
- // Helper for defining the .next, .throw, and .return methods of the
117
- // Iterator interface in terms of a single ._invoke method.
118
- function defineIteratorMethods(prototype) {
119
- ["next", "throw", "return"].forEach(function(method) {
120
- prototype[method] = function(arg) {
121
- return this._invoke(method, arg);
122
- };
123
- });
124
- }
125
-
126
- runtime.isGeneratorFunction = function(genFun) {
127
- var ctor = typeof genFun === "function" && genFun.constructor;
128
- return ctor
129
- ? ctor === GeneratorFunction ||
130
- // For the native GeneratorFunction constructor, the best we can
131
- // do is to check its .name property.
132
- (ctor.displayName || ctor.name) === "GeneratorFunction"
133
- : false;
134
- };
135
-
136
- runtime.mark = function(genFun) {
137
- if (Object.setPrototypeOf) {
138
- Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
139
- } else {
140
- genFun.__proto__ = GeneratorFunctionPrototype;
141
- if (!(toStringTagSymbol in genFun)) {
142
- genFun[toStringTagSymbol] = "GeneratorFunction";
143
- }
144
- }
145
- genFun.prototype = Object.create(Gp);
146
- return genFun;
147
- };
148
-
149
- // Within the body of any async function, `await x` is transformed to
150
- // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
151
- // `hasOwn.call(value, "__await")` to determine if the yielded value is
152
- // meant to be awaited.
153
- runtime.awrap = function(arg) {
154
- return { __await: arg };
155
- };
156
-
157
- function AsyncIterator(generator) {
158
- function invoke(method, arg, resolve, reject) {
159
- var record = tryCatch(generator[method], generator, arg);
160
- if (record.type === "throw") {
161
- reject(record.arg);
162
- } else {
163
- var result = record.arg;
164
- var value = result.value;
165
- if (value &&
166
- typeof value === "object" &&
167
- hasOwn.call(value, "__await")) {
168
- return Promise.resolve(value.__await).then(function(value) {
169
- invoke("next", value, resolve, reject);
170
- }, function(err) {
171
- invoke("throw", err, resolve, reject);
172
- });
173
- }
174
-
175
- return Promise.resolve(value).then(function(unwrapped) {
176
- // When a yielded Promise is resolved, its final value becomes
177
- // the .value of the Promise<{value,done}> result for the
178
- // current iteration. If the Promise is rejected, however, the
179
- // result for this iteration will be rejected with the same
180
- // reason. Note that rejections of yielded Promises are not
181
- // thrown back into the generator function, as is the case
182
- // when an awaited Promise is rejected. This difference in
183
- // behavior between yield and await is important, because it
184
- // allows the consumer to decide what to do with the yielded
185
- // rejection (swallow it and continue, manually .throw it back
186
- // into the generator, abandon iteration, whatever). With
187
- // await, by contrast, there is no opportunity to examine the
188
- // rejection reason outside the generator function, so the
189
- // only option is to throw it from the await expression, and
190
- // let the generator function handle the exception.
191
- result.value = unwrapped;
192
- resolve(result);
193
- }, reject);
194
- }
195
- }
196
-
197
- var previousPromise;
198
-
199
- function enqueue(method, arg) {
200
- function callInvokeWithMethodAndArg() {
201
- return new Promise(function(resolve, reject) {
202
- invoke(method, arg, resolve, reject);
203
- });
204
- }
205
-
206
- return previousPromise =
207
- // If enqueue has been called before, then we want to wait until
208
- // all previous Promises have been resolved before calling invoke,
209
- // so that results are always delivered in the correct order. If
210
- // enqueue has not been called before, then it is important to
211
- // call invoke immediately, without waiting on a callback to fire,
212
- // so that the async generator function has the opportunity to do
213
- // any necessary setup in a predictable way. This predictability
214
- // is why the Promise constructor synchronously invokes its
215
- // executor callback, and why async functions synchronously
216
- // execute code before the first await. Since we implement simple
217
- // async functions in terms of async generators, it is especially
218
- // important to get this right, even though it requires care.
219
- previousPromise ? previousPromise.then(
220
- callInvokeWithMethodAndArg,
221
- // Avoid propagating failures to Promises returned by later
222
- // invocations of the iterator.
223
- callInvokeWithMethodAndArg
224
- ) : callInvokeWithMethodAndArg();
225
- }
226
-
227
- // Define the unified helper method that is used to implement .next,
228
- // .throw, and .return (see defineIteratorMethods).
229
- this._invoke = enqueue;
230
- }
231
-
232
- defineIteratorMethods(AsyncIterator.prototype);
233
- AsyncIterator.prototype[asyncIteratorSymbol] = function () {
234
- return this;
235
- };
236
- runtime.AsyncIterator = AsyncIterator;
237
-
238
- // Note that simple async functions are implemented on top of
239
- // AsyncIterator objects; they just return a Promise for the value of
240
- // the final result produced by the iterator.
241
- runtime.async = function(innerFn, outerFn, self, tryLocsList) {
242
- var iter = new AsyncIterator(
243
- wrap(innerFn, outerFn, self, tryLocsList)
244
- );
245
-
246
- return runtime.isGeneratorFunction(outerFn)
247
- ? iter // If outerFn is a generator, return the full iterator.
248
- : iter.next().then(function(result) {
249
- return result.done ? result.value : iter.next();
250
- });
251
- };
252
-
253
- function makeInvokeMethod(innerFn, self, context) {
254
- var state = GenStateSuspendedStart;
255
-
256
- return function invoke(method, arg) {
257
- if (state === GenStateExecuting) {
258
- throw new Error("Generator is already running");
259
- }
260
-
261
- if (state === GenStateCompleted) {
262
- if (method === "throw") {
263
- throw arg;
264
- }
265
-
266
- // Be forgiving, per 25.3.3.3.3 of the spec:
267
- // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
268
- return doneResult();
269
- }
270
-
271
- context.method = method;
272
- context.arg = arg;
273
-
274
- while (true) {
275
- var delegate = context.delegate;
276
- if (delegate) {
277
- var delegateResult = maybeInvokeDelegate(delegate, context);
278
- if (delegateResult) {
279
- if (delegateResult === ContinueSentinel) continue;
280
- return delegateResult;
281
- }
282
- }
283
-
284
- if (context.method === "next") {
285
- // Setting context._sent for legacy support of Babel's
286
- // function.sent implementation.
287
- context.sent = context._sent = context.arg;
288
-
289
- } else if (context.method === "throw") {
290
- if (state === GenStateSuspendedStart) {
291
- state = GenStateCompleted;
292
- throw context.arg;
293
- }
294
-
295
- context.dispatchException(context.arg);
296
-
297
- } else if (context.method === "return") {
298
- context.abrupt("return", context.arg);
299
- }
300
-
301
- state = GenStateExecuting;
302
-
303
- var record = tryCatch(innerFn, self, context);
304
- if (record.type === "normal") {
305
- // If an exception is thrown from innerFn, we leave state ===
306
- // GenStateExecuting and loop back for another invocation.
307
- state = context.done
308
- ? GenStateCompleted
309
- : GenStateSuspendedYield;
310
-
311
- if (record.arg === ContinueSentinel) {
312
- continue;
313
- }
314
-
315
- return {
316
- value: record.arg,
317
- done: context.done
318
- };
319
-
320
- } else if (record.type === "throw") {
321
- state = GenStateCompleted;
322
- // Dispatch the exception by looping back around to the
323
- // context.dispatchException(context.arg) call above.
324
- context.method = "throw";
325
- context.arg = record.arg;
326
- }
327
- }
328
- };
329
- }
330
-
331
- // Call delegate.iterator[context.method](context.arg) and handle the
332
- // result, either by returning a { value, done } result from the
333
- // delegate iterator, or by modifying context.method and context.arg,
334
- // setting context.delegate to null, and returning the ContinueSentinel.
335
- function maybeInvokeDelegate(delegate, context) {
336
- var method = delegate.iterator[context.method];
337
- if (method === undefined$1) {
338
- // A .throw or .return when the delegate iterator has no .throw
339
- // method always terminates the yield* loop.
340
- context.delegate = null;
341
-
342
- if (context.method === "throw") {
343
- if (delegate.iterator.return) {
344
- // If the delegate iterator has a return method, give it a
345
- // chance to clean up.
346
- context.method = "return";
347
- context.arg = undefined$1;
348
- maybeInvokeDelegate(delegate, context);
349
-
350
- if (context.method === "throw") {
351
- // If maybeInvokeDelegate(context) changed context.method from
352
- // "return" to "throw", let that override the TypeError below.
353
- return ContinueSentinel;
354
- }
355
- }
356
-
357
- context.method = "throw";
358
- context.arg = new TypeError(
359
- "The iterator does not provide a 'throw' method");
360
- }
361
-
362
- return ContinueSentinel;
363
- }
364
-
365
- var record = tryCatch(method, delegate.iterator, context.arg);
366
-
367
- if (record.type === "throw") {
368
- context.method = "throw";
369
- context.arg = record.arg;
370
- context.delegate = null;
371
- return ContinueSentinel;
372
- }
373
-
374
- var info = record.arg;
375
-
376
- if (! info) {
377
- context.method = "throw";
378
- context.arg = new TypeError("iterator result is not an object");
379
- context.delegate = null;
380
- return ContinueSentinel;
381
- }
382
-
383
- if (info.done) {
384
- // Assign the result of the finished delegate to the temporary
385
- // variable specified by delegate.resultName (see delegateYield).
386
- context[delegate.resultName] = info.value;
387
-
388
- // Resume execution at the desired location (see delegateYield).
389
- context.next = delegate.nextLoc;
390
-
391
- // If context.method was "throw" but the delegate handled the
392
- // exception, let the outer generator proceed normally. If
393
- // context.method was "next", forget context.arg since it has been
394
- // "consumed" by the delegate iterator. If context.method was
395
- // "return", allow the original .return call to continue in the
396
- // outer generator.
397
- if (context.method !== "return") {
398
- context.method = "next";
399
- context.arg = undefined$1;
400
- }
401
-
402
- } else {
403
- // Re-yield the result returned by the delegate method.
404
- return info;
405
- }
406
-
407
- // The delegate iterator is finished, so forget it and continue with
408
- // the outer generator.
409
- context.delegate = null;
410
- return ContinueSentinel;
411
- }
412
-
413
- // Define Generator.prototype.{next,throw,return} in terms of the
414
- // unified ._invoke helper method.
415
- defineIteratorMethods(Gp);
416
-
417
- Gp[toStringTagSymbol] = "Generator";
418
-
419
- // A Generator should always return itself as the iterator object when the
420
- // @@iterator function is called on it. Some browsers' implementations of the
421
- // iterator prototype chain incorrectly implement this, causing the Generator
422
- // object to not be returned from this call. This ensures that doesn't happen.
423
- // See https://github.com/facebook/regenerator/issues/274 for more details.
424
- Gp[iteratorSymbol] = function() {
425
- return this;
426
- };
427
-
428
- Gp.toString = function() {
429
- return "[object Generator]";
430
- };
431
-
432
- function pushTryEntry(locs) {
433
- var entry = { tryLoc: locs[0] };
434
-
435
- if (1 in locs) {
436
- entry.catchLoc = locs[1];
437
- }
438
-
439
- if (2 in locs) {
440
- entry.finallyLoc = locs[2];
441
- entry.afterLoc = locs[3];
442
- }
443
-
444
- this.tryEntries.push(entry);
445
- }
446
-
447
- function resetTryEntry(entry) {
448
- var record = entry.completion || {};
449
- record.type = "normal";
450
- delete record.arg;
451
- entry.completion = record;
452
- }
453
-
454
- function Context(tryLocsList) {
455
- // The root entry object (effectively a try statement without a catch
456
- // or a finally block) gives us a place to store values thrown from
457
- // locations where there is no enclosing try statement.
458
- this.tryEntries = [{ tryLoc: "root" }];
459
- tryLocsList.forEach(pushTryEntry, this);
460
- this.reset(true);
461
- }
462
-
463
- runtime.keys = function(object) {
464
- var keys = [];
465
- for (var key in object) {
466
- keys.push(key);
467
- }
468
- keys.reverse();
469
-
470
- // Rather than returning an object with a next method, we keep
471
- // things simple and return the next function itself.
472
- return function next() {
473
- while (keys.length) {
474
- var key = keys.pop();
475
- if (key in object) {
476
- next.value = key;
477
- next.done = false;
478
- return next;
479
- }
480
- }
481
-
482
- // To avoid creating an additional object, we just hang the .value
483
- // and .done properties off the next function object itself. This
484
- // also ensures that the minifier will not anonymize the function.
485
- next.done = true;
486
- return next;
487
- };
488
- };
489
-
490
- function values(iterable) {
491
- if (iterable) {
492
- var iteratorMethod = iterable[iteratorSymbol];
493
- if (iteratorMethod) {
494
- return iteratorMethod.call(iterable);
495
- }
496
-
497
- if (typeof iterable.next === "function") {
498
- return iterable;
499
- }
500
-
501
- if (!isNaN(iterable.length)) {
502
- var i = -1, next = function next() {
503
- while (++i < iterable.length) {
504
- if (hasOwn.call(iterable, i)) {
505
- next.value = iterable[i];
506
- next.done = false;
507
- return next;
508
- }
509
- }
510
-
511
- next.value = undefined$1;
512
- next.done = true;
513
-
514
- return next;
515
- };
516
-
517
- return next.next = next;
518
- }
519
- }
520
-
521
- // Return an iterator with no values.
522
- return { next: doneResult };
523
- }
524
- runtime.values = values;
525
-
526
- function doneResult() {
527
- return { value: undefined$1, done: true };
528
- }
529
-
530
- Context.prototype = {
531
- constructor: Context,
532
-
533
- reset: function(skipTempReset) {
534
- this.prev = 0;
535
- this.next = 0;
536
- // Resetting context._sent for legacy support of Babel's
537
- // function.sent implementation.
538
- this.sent = this._sent = undefined$1;
539
- this.done = false;
540
- this.delegate = null;
541
-
542
- this.method = "next";
543
- this.arg = undefined$1;
544
-
545
- this.tryEntries.forEach(resetTryEntry);
546
-
547
- if (!skipTempReset) {
548
- for (var name in this) {
549
- // Not sure about the optimal order of these conditions:
550
- if (name.charAt(0) === "t" &&
551
- hasOwn.call(this, name) &&
552
- !isNaN(+name.slice(1))) {
553
- this[name] = undefined$1;
554
- }
555
- }
556
- }
557
- },
558
-
559
- stop: function() {
560
- this.done = true;
561
-
562
- var rootEntry = this.tryEntries[0];
563
- var rootRecord = rootEntry.completion;
564
- if (rootRecord.type === "throw") {
565
- throw rootRecord.arg;
566
- }
567
-
568
- return this.rval;
569
- },
570
-
571
- dispatchException: function(exception) {
572
- if (this.done) {
573
- throw exception;
574
- }
575
-
576
- var context = this;
577
- function handle(loc, caught) {
578
- record.type = "throw";
579
- record.arg = exception;
580
- context.next = loc;
581
-
582
- if (caught) {
583
- // If the dispatched exception was caught by a catch block,
584
- // then let that catch block handle the exception normally.
585
- context.method = "next";
586
- context.arg = undefined$1;
587
- }
588
-
589
- return !! caught;
590
- }
591
-
592
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
593
- var entry = this.tryEntries[i];
594
- var record = entry.completion;
595
-
596
- if (entry.tryLoc === "root") {
597
- // Exception thrown outside of any try block that could handle
598
- // it, so set the completion value of the entire function to
599
- // throw the exception.
600
- return handle("end");
601
- }
602
-
603
- if (entry.tryLoc <= this.prev) {
604
- var hasCatch = hasOwn.call(entry, "catchLoc");
605
- var hasFinally = hasOwn.call(entry, "finallyLoc");
606
-
607
- if (hasCatch && hasFinally) {
608
- if (this.prev < entry.catchLoc) {
609
- return handle(entry.catchLoc, true);
610
- } else if (this.prev < entry.finallyLoc) {
611
- return handle(entry.finallyLoc);
612
- }
613
-
614
- } else if (hasCatch) {
615
- if (this.prev < entry.catchLoc) {
616
- return handle(entry.catchLoc, true);
617
- }
618
-
619
- } else if (hasFinally) {
620
- if (this.prev < entry.finallyLoc) {
621
- return handle(entry.finallyLoc);
622
- }
623
-
624
- } else {
625
- throw new Error("try statement without catch or finally");
626
- }
627
- }
628
- }
629
- },
630
-
631
- abrupt: function(type, arg) {
632
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
633
- var entry = this.tryEntries[i];
634
- if (entry.tryLoc <= this.prev &&
635
- hasOwn.call(entry, "finallyLoc") &&
636
- this.prev < entry.finallyLoc) {
637
- var finallyEntry = entry;
638
- break;
639
- }
640
- }
641
-
642
- if (finallyEntry &&
643
- (type === "break" ||
644
- type === "continue") &&
645
- finallyEntry.tryLoc <= arg &&
646
- arg <= finallyEntry.finallyLoc) {
647
- // Ignore the finally entry if control is not jumping to a
648
- // location outside the try/catch block.
649
- finallyEntry = null;
650
- }
651
-
652
- var record = finallyEntry ? finallyEntry.completion : {};
653
- record.type = type;
654
- record.arg = arg;
655
-
656
- if (finallyEntry) {
657
- this.method = "next";
658
- this.next = finallyEntry.finallyLoc;
659
- return ContinueSentinel;
660
- }
661
-
662
- return this.complete(record);
663
- },
664
-
665
- complete: function(record, afterLoc) {
666
- if (record.type === "throw") {
667
- throw record.arg;
668
- }
669
-
670
- if (record.type === "break" ||
671
- record.type === "continue") {
672
- this.next = record.arg;
673
- } else if (record.type === "return") {
674
- this.rval = this.arg = record.arg;
675
- this.method = "return";
676
- this.next = "end";
677
- } else if (record.type === "normal" && afterLoc) {
678
- this.next = afterLoc;
679
- }
680
-
681
- return ContinueSentinel;
682
- },
683
-
684
- finish: function(finallyLoc) {
685
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
686
- var entry = this.tryEntries[i];
687
- if (entry.finallyLoc === finallyLoc) {
688
- this.complete(entry.completion, entry.afterLoc);
689
- resetTryEntry(entry);
690
- return ContinueSentinel;
691
- }
692
- }
693
- },
694
-
695
- "catch": function(tryLoc) {
696
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
697
- var entry = this.tryEntries[i];
698
- if (entry.tryLoc === tryLoc) {
699
- var record = entry.completion;
700
- if (record.type === "throw") {
701
- var thrown = record.arg;
702
- resetTryEntry(entry);
703
- }
704
- return thrown;
705
- }
706
- }
707
-
708
- // The context.catch method must only be called with a location
709
- // argument that corresponds to a known catch block.
710
- throw new Error("illegal catch attempt");
711
- },
712
-
713
- delegateYield: function(iterable, resultName, nextLoc) {
714
- this.delegate = {
715
- iterator: values(iterable),
716
- resultName: resultName,
717
- nextLoc: nextLoc
718
- };
719
-
720
- if (this.method === "next") {
721
- // Deliberately forget the last sent value so that we don't
722
- // accidentally pass it on to the delegate.
723
- this.arg = undefined$1;
724
- }
725
-
726
- return ContinueSentinel;
727
- }
728
- };
729
- })(
730
- // In sloppy mode, unbound `this` refers to the global object, fallback to
731
- // Function constructor if we're in global strict mode. That is sadly a form
732
- // of indirect eval which violates Content Security Policy.
733
- (function() { return this })() || Function("return this")()
734
- );
735
- });
736
-
737
- /**
738
- * Copyright (c) 2014-present, Facebook, Inc.
739
- *
740
- * This source code is licensed under the MIT license found in the
741
- * LICENSE file in the root directory of this source tree.
742
- */
743
-
744
- // This method of obtaining a reference to the global object needs to be
745
- // kept identical to the way it is obtained in runtime.js
746
- var g = (function() { return this })() || Function("return this")();
747
-
748
- // Use `getOwnPropertyNames` because not all browsers support calling
749
- // `hasOwnProperty` on the global `self` object in a worker. See #183.
750
- var hadRuntime = g.regeneratorRuntime &&
751
- Object.getOwnPropertyNames(g).indexOf("regeneratorRuntime") >= 0;
752
-
753
- // Save the old regeneratorRuntime in case it needs to be restored later.
754
- var oldRuntime = hadRuntime && g.regeneratorRuntime;
755
-
756
- // Force reevalutation of runtime.js.
757
- g.regeneratorRuntime = undefined;
758
-
759
- var runtimeModule = runtime;
760
-
761
- if (hadRuntime) {
762
- // Restore the original runtime.
763
- g.regeneratorRuntime = oldRuntime;
764
- } else {
765
- // Remove the global property added by runtime.js.
766
- try {
767
- delete g.regeneratorRuntime;
768
- } catch(e) {
769
- g.regeneratorRuntime = undefined;
770
- }
771
- }
772
-
773
- var regenerator = runtimeModule;
774
-
775
- // 7.3.20 SpeciesConstructor(O, defaultConstructor)
776
-
777
-
778
- var SPECIES = core_getIteratorMethod._wks('species');
779
- var _speciesConstructor = function (O, D) {
780
- var C = core_getIteratorMethod._anObject(O).constructor;
781
- var S;
782
- return C === undefined || (S = core_getIteratorMethod._anObject(C)[SPECIES]) == undefined ? D : core_getIteratorMethod._aFunction(S);
783
- };
784
-
785
- // fast apply, http://jsperf.lnkit.com/fast-apply/5
786
- var _invoke = function (fn, args, that) {
787
- var un = that === undefined;
788
- switch (args.length) {
789
- case 0: return un ? fn()
790
- : fn.call(that);
791
- case 1: return un ? fn(args[0])
792
- : fn.call(that, args[0]);
793
- case 2: return un ? fn(args[0], args[1])
794
- : fn.call(that, args[0], args[1]);
795
- case 3: return un ? fn(args[0], args[1], args[2])
796
- : fn.call(that, args[0], args[1], args[2]);
797
- case 4: return un ? fn(args[0], args[1], args[2], args[3])
798
- : fn.call(that, args[0], args[1], args[2], args[3]);
799
- } return fn.apply(that, args);
800
- };
801
-
802
- var process$2 = core_getIteratorMethod._global.process;
803
- var setTask = core_getIteratorMethod._global.setImmediate;
804
- var clearTask = core_getIteratorMethod._global.clearImmediate;
805
- var MessageChannel = core_getIteratorMethod._global.MessageChannel;
806
- var Dispatch = core_getIteratorMethod._global.Dispatch;
807
- var counter = 0;
808
- var queue = {};
809
- var ONREADYSTATECHANGE = 'onreadystatechange';
810
- var defer, channel, port;
811
- var run = function () {
812
- var id = +this;
813
- // eslint-disable-next-line no-prototype-builtins
814
- if (queue.hasOwnProperty(id)) {
815
- var fn = queue[id];
816
- delete queue[id];
817
- fn();
818
- }
819
- };
820
- var listener = function (event) {
821
- run.call(event.data);
822
- };
823
- // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
824
- if (!setTask || !clearTask) {
825
- setTask = function setImmediate(fn) {
826
- var args = [];
827
- var i = 1;
828
- while (arguments.length > i) args.push(arguments[i++]);
829
- queue[++counter] = function () {
830
- // eslint-disable-next-line no-new-func
831
- _invoke(typeof fn == 'function' ? fn : Function(fn), args);
832
- };
833
- defer(counter);
834
- return counter;
835
- };
836
- clearTask = function clearImmediate(id) {
837
- delete queue[id];
838
- };
839
- // Node.js 0.8-
840
- if (core_getIteratorMethod._cof(process$2) == 'process') {
841
- defer = function (id) {
842
- process$2.nextTick(core_getIteratorMethod._ctx(run, id, 1));
843
- };
844
- // Sphere (JS game engine) Dispatch API
845
- } else if (Dispatch && Dispatch.now) {
846
- defer = function (id) {
847
- Dispatch.now(core_getIteratorMethod._ctx(run, id, 1));
848
- };
849
- // Browsers with MessageChannel, includes WebWorkers
850
- } else if (MessageChannel) {
851
- channel = new MessageChannel();
852
- port = channel.port2;
853
- channel.port1.onmessage = listener;
854
- defer = core_getIteratorMethod._ctx(port.postMessage, port, 1);
855
- // Browsers with postMessage, skip WebWorkers
856
- // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
857
- } else if (core_getIteratorMethod._global.addEventListener && typeof postMessage == 'function' && !core_getIteratorMethod._global.importScripts) {
858
- defer = function (id) {
859
- core_getIteratorMethod._global.postMessage(id + '', '*');
860
- };
861
- core_getIteratorMethod._global.addEventListener('message', listener, false);
862
- // IE8-
863
- } else if (ONREADYSTATECHANGE in core_getIteratorMethod._domCreate('script')) {
864
- defer = function (id) {
865
- core_getIteratorMethod._html.appendChild(core_getIteratorMethod._domCreate('script'))[ONREADYSTATECHANGE] = function () {
866
- core_getIteratorMethod._html.removeChild(this);
867
- run.call(id);
868
- };
869
- };
870
- // Rest old browsers
871
- } else {
872
- defer = function (id) {
873
- setTimeout(core_getIteratorMethod._ctx(run, id, 1), 0);
874
- };
875
- }
876
- }
877
- var _task = {
878
- set: setTask,
879
- clear: clearTask
880
- };
881
-
882
- var macrotask = _task.set;
883
- var Observer = core_getIteratorMethod._global.MutationObserver || core_getIteratorMethod._global.WebKitMutationObserver;
884
- var process$1 = core_getIteratorMethod._global.process;
885
- var Promise$1 = core_getIteratorMethod._global.Promise;
886
- var isNode$1 = core_getIteratorMethod._cof(process$1) == 'process';
887
-
888
- var _microtask = function () {
889
- var head, last, notify;
890
-
891
- var flush = function () {
892
- var parent, fn;
893
- if (isNode$1 && (parent = process$1.domain)) parent.exit();
894
- while (head) {
895
- fn = head.fn;
896
- head = head.next;
897
- try {
898
- fn();
899
- } catch (e) {
900
- if (head) notify();
901
- else last = undefined;
902
- throw e;
903
- }
904
- } last = undefined;
905
- if (parent) parent.enter();
906
- };
907
-
908
- // Node.js
909
- if (isNode$1) {
910
- notify = function () {
911
- process$1.nextTick(flush);
912
- };
913
- // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339
914
- } else if (Observer && !(core_getIteratorMethod._global.navigator && core_getIteratorMethod._global.navigator.standalone)) {
915
- var toggle = true;
916
- var node = document.createTextNode('');
917
- new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new
918
- notify = function () {
919
- node.data = toggle = !toggle;
920
- };
921
- // environments with maybe non-completely correct, but existent Promise
922
- } else if (Promise$1 && Promise$1.resolve) {
923
- // Promise.resolve without an argument throws an error in LG WebOS 2
924
- var promise = Promise$1.resolve(undefined);
925
- notify = function () {
926
- promise.then(flush);
927
- };
928
- // for other environments - macrotask based on:
929
- // - setImmediate
930
- // - MessageChannel
931
- // - window.postMessag
932
- // - onreadystatechange
933
- // - setTimeout
934
- } else {
935
- notify = function () {
936
- // strange IE + webpack dev server bug - use .call(global)
937
- macrotask.call(core_getIteratorMethod._global, flush);
938
- };
939
- }
940
-
941
- return function (fn) {
942
- var task = { fn: fn, next: undefined };
943
- if (last) last.next = task;
944
- if (!head) {
945
- head = task;
946
- notify();
947
- } last = task;
948
- };
949
- };
950
-
951
- // 25.4.1.5 NewPromiseCapability(C)
952
-
953
-
954
- function PromiseCapability(C) {
955
- var resolve, reject;
956
- this.promise = new C(function ($$resolve, $$reject) {
957
- if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
958
- resolve = $$resolve;
959
- reject = $$reject;
960
- });
961
- this.resolve = core_getIteratorMethod._aFunction(resolve);
962
- this.reject = core_getIteratorMethod._aFunction(reject);
963
- }
964
-
965
- var f = function (C) {
966
- return new PromiseCapability(C);
967
- };
968
-
969
- var _newPromiseCapability = {
970
- f: f
971
- };
972
-
973
- var _perform = function (exec) {
974
- try {
975
- return { e: false, v: exec() };
976
- } catch (e) {
977
- return { e: true, v: e };
978
- }
979
- };
980
-
981
- var navigator = core_getIteratorMethod._global.navigator;
982
-
983
- var _userAgent = navigator && navigator.userAgent || '';
984
-
985
- var _promiseResolve = function (C, x) {
986
- core_getIteratorMethod._anObject(C);
987
- if (core_getIteratorMethod._isObject(x) && x.constructor === C) return x;
988
- var promiseCapability = _newPromiseCapability.f(C);
989
- var resolve = promiseCapability.resolve;
990
- resolve(x);
991
- return promiseCapability.promise;
992
- };
993
-
994
- var task = _task.set;
995
- var microtask = _microtask();
996
-
997
-
998
-
999
-
1000
- var PROMISE = 'Promise';
1001
- var TypeError$1 = core_getIteratorMethod._global.TypeError;
1002
- var process = core_getIteratorMethod._global.process;
1003
- var versions = process && process.versions;
1004
- var v8 = versions && versions.v8 || '';
1005
- var $Promise = core_getIteratorMethod._global[PROMISE];
1006
- var isNode = core_getIteratorMethod._classof(process) == 'process';
1007
- var empty = function () { /* empty */ };
1008
- var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;
1009
- var newPromiseCapability = newGenericPromiseCapability = _newPromiseCapability.f;
1010
-
1011
- var USE_NATIVE = !!function () {
1012
- try {
1013
- // correct subclassing with @@species support
1014
- var promise = $Promise.resolve(1);
1015
- var FakePromise = (promise.constructor = {})[core_getIteratorMethod._wks('species')] = function (exec) {
1016
- exec(empty, empty);
1017
- };
1018
- // unhandled rejections tracking support, NodeJS Promise without it fails @@species test
1019
- return (isNode || typeof PromiseRejectionEvent == 'function')
1020
- && promise.then(empty) instanceof FakePromise
1021
- // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
1022
- // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
1023
- // we can't detect it synchronously, so just check versions
1024
- && v8.indexOf('6.6') !== 0
1025
- && _userAgent.indexOf('Chrome/66') === -1;
1026
- } catch (e) { /* empty */ }
1027
- }();
1028
-
1029
- // helpers
1030
- var isThenable = function (it) {
1031
- var then;
1032
- return core_getIteratorMethod._isObject(it) && typeof (then = it.then) == 'function' ? then : false;
1033
- };
1034
- var notify = function (promise, isReject) {
1035
- if (promise._n) return;
1036
- promise._n = true;
1037
- var chain = promise._c;
1038
- microtask(function () {
1039
- var value = promise._v;
1040
- var ok = promise._s == 1;
1041
- var i = 0;
1042
- var run = function (reaction) {
1043
- var handler = ok ? reaction.ok : reaction.fail;
1044
- var resolve = reaction.resolve;
1045
- var reject = reaction.reject;
1046
- var domain = reaction.domain;
1047
- var result, then, exited;
1048
- try {
1049
- if (handler) {
1050
- if (!ok) {
1051
- if (promise._h == 2) onHandleUnhandled(promise);
1052
- promise._h = 1;
1053
- }
1054
- if (handler === true) result = value;
1055
- else {
1056
- if (domain) domain.enter();
1057
- result = handler(value); // may throw
1058
- if (domain) {
1059
- domain.exit();
1060
- exited = true;
1061
- }
1062
- }
1063
- if (result === reaction.promise) {
1064
- reject(TypeError$1('Promise-chain cycle'));
1065
- } else if (then = isThenable(result)) {
1066
- then.call(result, resolve, reject);
1067
- } else resolve(result);
1068
- } else reject(value);
1069
- } catch (e) {
1070
- if (domain && !exited) domain.exit();
1071
- reject(e);
1072
- }
1073
- };
1074
- while (chain.length > i) run(chain[i++]); // variable length - can't use forEach
1075
- promise._c = [];
1076
- promise._n = false;
1077
- if (isReject && !promise._h) onUnhandled(promise);
1078
- });
1079
- };
1080
- var onUnhandled = function (promise) {
1081
- task.call(core_getIteratorMethod._global, function () {
1082
- var value = promise._v;
1083
- var unhandled = isUnhandled(promise);
1084
- var result, handler, console;
1085
- if (unhandled) {
1086
- result = _perform(function () {
1087
- if (isNode) {
1088
- process.emit('unhandledRejection', value, promise);
1089
- } else if (handler = core_getIteratorMethod._global.onunhandledrejection) {
1090
- handler({ promise: promise, reason: value });
1091
- } else if ((console = core_getIteratorMethod._global.console) && console.error) {
1092
- console.error('Unhandled promise rejection', value);
1093
- }
1094
- });
1095
- // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
1096
- promise._h = isNode || isUnhandled(promise) ? 2 : 1;
1097
- } promise._a = undefined;
1098
- if (unhandled && result.e) throw result.v;
1099
- });
1100
- };
1101
- var isUnhandled = function (promise) {
1102
- return promise._h !== 1 && (promise._a || promise._c).length === 0;
1103
- };
1104
- var onHandleUnhandled = function (promise) {
1105
- task.call(core_getIteratorMethod._global, function () {
1106
- var handler;
1107
- if (isNode) {
1108
- process.emit('rejectionHandled', promise);
1109
- } else if (handler = core_getIteratorMethod._global.onrejectionhandled) {
1110
- handler({ promise: promise, reason: promise._v });
1111
- }
1112
- });
1113
- };
1114
- var $reject = function (value) {
1115
- var promise = this;
1116
- if (promise._d) return;
1117
- promise._d = true;
1118
- promise = promise._w || promise; // unwrap
1119
- promise._v = value;
1120
- promise._s = 2;
1121
- if (!promise._a) promise._a = promise._c.slice();
1122
- notify(promise, true);
1123
- };
1124
- var $resolve = function (value) {
1125
- var promise = this;
1126
- var then;
1127
- if (promise._d) return;
1128
- promise._d = true;
1129
- promise = promise._w || promise; // unwrap
1130
- try {
1131
- if (promise === value) throw TypeError$1("Promise can't be resolved itself");
1132
- if (then = isThenable(value)) {
1133
- microtask(function () {
1134
- var wrapper = { _w: promise, _d: false }; // wrap
1135
- try {
1136
- then.call(value, core_getIteratorMethod._ctx($resolve, wrapper, 1), core_getIteratorMethod._ctx($reject, wrapper, 1));
1137
- } catch (e) {
1138
- $reject.call(wrapper, e);
1139
- }
1140
- });
1141
- } else {
1142
- promise._v = value;
1143
- promise._s = 1;
1144
- notify(promise, false);
1145
- }
1146
- } catch (e) {
1147
- $reject.call({ _w: promise, _d: false }, e); // wrap
1148
- }
1149
- };
1150
-
1151
- // constructor polyfill
1152
- if (!USE_NATIVE) {
1153
- // 25.4.3.1 Promise(executor)
1154
- $Promise = function Promise(executor) {
1155
- _setSpecies._anInstance(this, $Promise, PROMISE, '_h');
1156
- core_getIteratorMethod._aFunction(executor);
1157
- Internal.call(this);
1158
- try {
1159
- executor(core_getIteratorMethod._ctx($resolve, this, 1), core_getIteratorMethod._ctx($reject, this, 1));
1160
- } catch (err) {
1161
- $reject.call(this, err);
1162
- }
1163
- };
1164
- // eslint-disable-next-line no-unused-vars
1165
- Internal = function Promise(executor) {
1166
- this._c = []; // <- awaiting reactions
1167
- this._a = undefined; // <- checked in isUnhandled reactions
1168
- this._s = 0; // <- state
1169
- this._d = false; // <- done
1170
- this._v = undefined; // <- value
1171
- this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled
1172
- this._n = false; // <- notify
1173
- };
1174
- Internal.prototype = _setSpecies._redefineAll($Promise.prototype, {
1175
- // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
1176
- then: function then(onFulfilled, onRejected) {
1177
- var reaction = newPromiseCapability(_speciesConstructor(this, $Promise));
1178
- reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
1179
- reaction.fail = typeof onRejected == 'function' && onRejected;
1180
- reaction.domain = isNode ? process.domain : undefined;
1181
- this._c.push(reaction);
1182
- if (this._a) this._a.push(reaction);
1183
- if (this._s) notify(this, false);
1184
- return reaction.promise;
1185
- },
1186
- // 25.4.5.1 Promise.prototype.catch(onRejected)
1187
- 'catch': function (onRejected) {
1188
- return this.then(undefined, onRejected);
1189
- }
1190
- });
1191
- OwnPromiseCapability = function () {
1192
- var promise = new Internal();
1193
- this.promise = promise;
1194
- this.resolve = core_getIteratorMethod._ctx($resolve, promise, 1);
1195
- this.reject = core_getIteratorMethod._ctx($reject, promise, 1);
1196
- };
1197
- _newPromiseCapability.f = newPromiseCapability = function (C) {
1198
- return C === $Promise || C === Wrapper
1199
- ? new OwnPromiseCapability(C)
1200
- : newGenericPromiseCapability(C);
1201
- };
1202
- }
1203
-
1204
- core_getIteratorMethod._export(core_getIteratorMethod._export.G + core_getIteratorMethod._export.W + core_getIteratorMethod._export.F * !USE_NATIVE, { Promise: $Promise });
1205
- core_getIteratorMethod._setToStringTag($Promise, PROMISE);
1206
- _setSpecies._setSpecies(PROMISE);
1207
- Wrapper = core_getIteratorMethod._core[PROMISE];
1208
-
1209
- // statics
1210
- core_getIteratorMethod._export(core_getIteratorMethod._export.S + core_getIteratorMethod._export.F * !USE_NATIVE, PROMISE, {
1211
- // 25.4.4.5 Promise.reject(r)
1212
- reject: function reject(r) {
1213
- var capability = newPromiseCapability(this);
1214
- var $$reject = capability.reject;
1215
- $$reject(r);
1216
- return capability.promise;
1217
- }
1218
- });
1219
- core_getIteratorMethod._export(core_getIteratorMethod._export.S + core_getIteratorMethod._export.F * (_library._library ), PROMISE, {
1220
- // 25.4.4.6 Promise.resolve(x)
1221
- resolve: function resolve(x) {
1222
- return _promiseResolve(this === Wrapper ? $Promise : this, x);
1223
- }
1224
- });
1225
- core_getIteratorMethod._export(core_getIteratorMethod._export.S + core_getIteratorMethod._export.F * !(USE_NATIVE && _iterDetect._iterDetect(function (iter) {
1226
- $Promise.all(iter)['catch'](empty);
1227
- })), PROMISE, {
1228
- // 25.4.4.1 Promise.all(iterable)
1229
- all: function all(iterable) {
1230
- var C = this;
1231
- var capability = newPromiseCapability(C);
1232
- var resolve = capability.resolve;
1233
- var reject = capability.reject;
1234
- var result = _perform(function () {
1235
- var values = [];
1236
- var index = 0;
1237
- var remaining = 1;
1238
- _setSpecies._forOf(iterable, false, function (promise) {
1239
- var $index = index++;
1240
- var alreadyCalled = false;
1241
- values.push(undefined);
1242
- remaining++;
1243
- C.resolve(promise).then(function (value) {
1244
- if (alreadyCalled) return;
1245
- alreadyCalled = true;
1246
- values[$index] = value;
1247
- --remaining || resolve(values);
1248
- }, reject);
1249
- });
1250
- --remaining || resolve(values);
1251
- });
1252
- if (result.e) reject(result.v);
1253
- return capability.promise;
1254
- },
1255
- // 25.4.4.4 Promise.race(iterable)
1256
- race: function race(iterable) {
1257
- var C = this;
1258
- var capability = newPromiseCapability(C);
1259
- var reject = capability.reject;
1260
- var result = _perform(function () {
1261
- _setSpecies._forOf(iterable, false, function (promise) {
1262
- C.resolve(promise).then(capability.resolve, reject);
1263
- });
1264
- });
1265
- if (result.e) reject(result.v);
1266
- return capability.promise;
1267
- }
1268
- });
1269
-
1270
- core_getIteratorMethod._export(core_getIteratorMethod._export.P + core_getIteratorMethod._export.R, 'Promise', { 'finally': function (onFinally) {
1271
- var C = _speciesConstructor(this, core_getIteratorMethod._core.Promise || core_getIteratorMethod._global.Promise);
1272
- var isFunction = typeof onFinally == 'function';
1273
- return this.then(
1274
- isFunction ? function (x) {
1275
- return _promiseResolve(C, onFinally()).then(function () { return x; });
1276
- } : onFinally,
1277
- isFunction ? function (e) {
1278
- return _promiseResolve(C, onFinally()).then(function () { throw e; });
1279
- } : onFinally
1280
- );
1281
- } });
1282
-
1283
- // https://github.com/tc39/proposal-promise-try
1284
-
1285
-
1286
-
1287
-
1288
- core_getIteratorMethod._export(core_getIteratorMethod._export.S, 'Promise', { 'try': function (callbackfn) {
1289
- var promiseCapability = _newPromiseCapability.f(this);
1290
- var result = _perform(callbackfn);
1291
- (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v);
1292
- return promiseCapability.promise;
1293
- } });
1294
-
1295
- var promise$1 = core_getIteratorMethod._core.Promise;
1296
-
1297
- var promise = _commonjsHelpers.createCommonjsModule(function (module) {
1298
- module.exports = { "default": promise$1, __esModule: true };
1299
- });
1300
-
1301
- var _Promise = _commonjsHelpers.unwrapExports(promise);
1302
-
1303
- var asyncToGenerator = _commonjsHelpers.createCommonjsModule(function (module, exports) {
1304
-
1305
- exports.__esModule = true;
1306
-
1307
-
1308
-
1309
- var _promise2 = _interopRequireDefault(promise);
1310
-
1311
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
1312
-
1313
- exports.default = function (fn) {
1314
- return function () {
1315
- var gen = fn.apply(this, arguments);
1316
- return new _promise2.default(function (resolve, reject) {
1317
- function step(key, arg) {
1318
- try {
1319
- var info = gen[key](arg);
1320
- var value = info.value;
1321
- } catch (error) {
1322
- reject(error);
1323
- return;
1324
- }
1325
-
1326
- if (info.done) {
1327
- resolve(value);
1328
- } else {
1329
- return _promise2.default.resolve(value).then(function (value) {
1330
- step("next", value);
1331
- }, function (err) {
1332
- step("throw", err);
1333
- });
1334
- }
1335
- }
1336
-
1337
- return step("next");
1338
- });
1339
- };
1340
- };
1341
- });
1342
-
1343
- var _asyncToGenerator = _commonjsHelpers.unwrapExports(asyncToGenerator);
1344
-
1345
- exports._Promise = _Promise;
1346
- exports._asyncToGenerator = _asyncToGenerator;
1347
- exports.regenerator = regenerator;