@sparkle-learning/core 0.0.56 → 0.0.57

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 (1100) hide show
  1. package/dist/sparkle-core/PrivateRoute-a12e7ee5.js +37 -0
  2. package/dist/sparkle-core/account.service-e711795d.js +63 -0
  3. package/dist/sparkle-core/active-router-af86c9b4.js +73 -0
  4. package/dist/sparkle-core/animation-676a644d.js +984 -0
  5. package/dist/sparkle-core/app-globals-9ffa9ec3.js +10 -0
  6. package/dist/sparkle-core/appdata.service-703dff70.js +69 -0
  7. package/dist/sparkle-core/assets/user.png +0 -0
  8. package/dist/sparkle-core/assets.service-6508aae6.js +71 -0
  9. package/dist/sparkle-core/assignment.service-e42e9368.js +17 -0
  10. package/dist/sparkle-core/button-active-d68c5eb7.js +67 -0
  11. package/dist/sparkle-core/compass-svg.entry.js +128 -0
  12. package/dist/sparkle-core/context-consumer.entry.js +25 -0
  13. package/dist/sparkle-core/course-select.entry.js +26 -0
  14. package/dist/sparkle-core/css-shim-04165e59.js +4 -0
  15. package/dist/sparkle-core/dom-26e7cb2c.js +73 -0
  16. package/dist/sparkle-core/dom-utils-8e73e88b.js +55 -0
  17. package/dist/sparkle-core/facilitator.service-00a88935.js +79 -0
  18. package/dist/sparkle-core/facilitator.store-01be0386.js +18 -0
  19. package/dist/sparkle-core/feed.service-d495f3e1.js +53 -0
  20. package/dist/sparkle-core/framework-delegate-d3fa493f.js +107 -0
  21. package/dist/sparkle-core/haptic-a9e94599.js +124 -0
  22. package/dist/sparkle-core/header-mobile-collapse.entry.js +86 -0
  23. package/dist/sparkle-core/helpers-f11f0674.js +406 -0
  24. package/dist/sparkle-core/icons-758d1417.js +41 -0
  25. package/dist/sparkle-core/index-05b398c2.js +34 -0
  26. package/dist/sparkle-core/index-0af0deac.js +312 -0
  27. package/dist/sparkle-core/index-0df264ee.js +4518 -0
  28. package/dist/sparkle-core/index-183cda39.js +223 -0
  29. package/dist/sparkle-core/index-18a69883.js +1336 -0
  30. package/dist/sparkle-core/index-1d7a6fa0.js +269 -0
  31. package/dist/sparkle-core/index-1dec9544.js +3064 -0
  32. package/dist/sparkle-core/index-81dab78f.js +85 -0
  33. package/dist/sparkle-core/index-9b5bcea1.js +22 -0
  34. package/dist/sparkle-core/index-bb469fe3.js +128 -0
  35. package/dist/sparkle-core/index-d2990a48.js +184 -0
  36. package/dist/sparkle-core/index-dd414b33.js +653 -0
  37. package/dist/sparkle-core/index-faeec85a.js +8 -0
  38. package/dist/sparkle-core/index.es-1f6eedc5.js +11066 -0
  39. package/dist/sparkle-core/index.esm.js +19 -1
  40. package/dist/sparkle-core/input-shims-0b2f5522.js +418 -0
  41. package/dist/sparkle-core/ion-accordion-group.entry.js +201 -0
  42. package/dist/sparkle-core/ion-accordion.entry.js +332 -0
  43. package/dist/sparkle-core/ion-action-sheet.entry.js +263 -0
  44. package/dist/sparkle-core/ion-alert.entry.js +448 -0
  45. package/dist/sparkle-core/ion-app.entry.js +75 -0
  46. package/dist/sparkle-core/ion-avatar.entry.js +21 -0
  47. package/dist/sparkle-core/ion-back-button.entry.js +90 -0
  48. package/dist/sparkle-core/ion-backdrop.entry.js +63 -0
  49. package/dist/sparkle-core/ion-badge.entry.js +25 -0
  50. package/dist/sparkle-core/ion-breadcrumb.entry.js +91 -0
  51. package/dist/sparkle-core/ion-breadcrumbs.entry.js +129 -0
  52. package/dist/sparkle-core/ion-button.entry.js +125 -0
  53. package/dist/sparkle-core/ion-buttons.entry.js +38 -0
  54. package/dist/sparkle-core/ion-card-content.entry.js +26 -0
  55. package/dist/sparkle-core/ion-card-header.entry.js +33 -0
  56. package/dist/sparkle-core/ion-card-subtitle.entry.js +26 -0
  57. package/dist/sparkle-core/ion-card-title.entry.js +26 -0
  58. package/dist/sparkle-core/ion-card.entry.js +64 -0
  59. package/dist/sparkle-core/ion-checkbox.entry.js +109 -0
  60. package/dist/sparkle-core/ion-chip.entry.js +36 -0
  61. package/dist/sparkle-core/ion-col.entry.js +121 -0
  62. package/dist/sparkle-core/ion-content.entry.js +319 -0
  63. package/dist/sparkle-core/ion-datetime-button.entry.js +308 -0
  64. package/dist/sparkle-core/ion-datetime.entry.js +1619 -0
  65. package/dist/sparkle-core/ion-fab-button.entry.js +104 -0
  66. package/dist/sparkle-core/ion-fab-list.entry.js +41 -0
  67. package/dist/sparkle-core/ion-fab.entry.js +72 -0
  68. package/dist/sparkle-core/ion-footer.entry.js +116 -0
  69. package/dist/sparkle-core/ion-grid.entry.js +24 -0
  70. package/dist/sparkle-core/ion-header.entry.js +341 -0
  71. package/dist/sparkle-core/ion-icon.entry.js +200 -0
  72. package/dist/sparkle-core/ion-img.entry.js +97 -0
  73. package/dist/sparkle-core/ion-infinite-scroll-content.entry.js +33 -0
  74. package/dist/sparkle-core/ion-infinite-scroll.entry.js +202 -0
  75. package/dist/sparkle-core/ion-input.entry.js +293 -0
  76. package/dist/sparkle-core/ion-item-divider.entry.js +36 -0
  77. package/dist/sparkle-core/ion-item-group.entry.js +27 -0
  78. package/dist/sparkle-core/ion-item-option.entry.js +56 -0
  79. package/dist/sparkle-core/ion-item-options.entry.js +43 -0
  80. package/dist/sparkle-core/ion-item-sliding.entry.js +394 -0
  81. package/dist/sparkle-core/ion-item.entry.js +267 -0
  82. package/dist/sparkle-core/ion-label.entry.js +77 -0
  83. package/dist/sparkle-core/ion-list-header.entry.js +27 -0
  84. package/dist/sparkle-core/ion-list.entry.js +48 -0
  85. package/dist/sparkle-core/ion-loading.entry.js +211 -0
  86. package/dist/sparkle-core/ion-menu-button.entry.js +72 -0
  87. package/dist/sparkle-core/ion-menu-toggle.entry.js +43 -0
  88. package/dist/sparkle-core/ion-menu.entry.js +575 -0
  89. package/dist/sparkle-core/ion-modal.entry.js +1706 -0
  90. package/dist/sparkle-core/ion-nav-link.entry.js +43 -0
  91. package/dist/sparkle-core/ion-nav.entry.js +872 -0
  92. package/dist/sparkle-core/ion-note.entry.js +25 -0
  93. package/dist/sparkle-core/ion-picker-column-internal.entry.js +363 -0
  94. package/dist/sparkle-core/ion-picker-column.entry.js +327 -0
  95. package/dist/sparkle-core/ion-picker-internal.entry.js +454 -0
  96. package/dist/sparkle-core/ion-picker.entry.js +217 -0
  97. package/dist/sparkle-core/ion-popover.entry.js +1362 -0
  98. package/dist/sparkle-core/ion-progress-bar.entry.js +70 -0
  99. package/dist/sparkle-core/ion-radio-group.entry.js +121 -0
  100. package/dist/sparkle-core/ion-radio.entry.js +111 -0
  101. package/dist/sparkle-core/ion-range.entry.js +511 -0
  102. package/dist/sparkle-core/ion-refresher-content.entry.js +31 -0
  103. package/dist/sparkle-core/ion-refresher.entry.js +798 -0
  104. package/dist/sparkle-core/ion-reorder-group.entry.js +277 -0
  105. package/dist/sparkle-core/ion-reorder.entry.js +34 -0
  106. package/dist/sparkle-core/ion-ripple-effect.entry.js +89 -0
  107. package/dist/sparkle-core/ion-route-redirect.entry.js +20 -0
  108. package/dist/sparkle-core/ion-route.entry.js +45 -0
  109. package/dist/sparkle-core/ion-router-link.entry.js +34 -0
  110. package/dist/sparkle-core/ion-router-outlet.entry.js +196 -0
  111. package/dist/sparkle-core/ion-router.entry.js +827 -0
  112. package/dist/sparkle-core/ion-row.entry.js +16 -0
  113. package/dist/sparkle-core/ion-searchbar.entry.js +366 -0
  114. package/dist/sparkle-core/ion-segment-button.entry.js +98 -0
  115. package/dist/sparkle-core/ion-segment.entry.js +415 -0
  116. package/dist/sparkle-core/ion-select-option.entry.js +23 -0
  117. package/dist/sparkle-core/ion-select-popover.entry.js +96 -0
  118. package/dist/sparkle-core/ion-select.entry.js +510 -0
  119. package/dist/sparkle-core/ion-skeleton-text.entry.js +29 -0
  120. package/dist/sparkle-core/ion-slide.entry.js +21 -0
  121. package/dist/sparkle-core/ion-slides.entry.js +387 -0
  122. package/dist/sparkle-core/ion-spinner.entry.js +60 -0
  123. package/dist/sparkle-core/ion-split-pane.entry.js +156 -0
  124. package/dist/sparkle-core/ion-tab-bar.entry.js +71 -0
  125. package/dist/sparkle-core/ion-tab-button.entry.js +99 -0
  126. package/dist/sparkle-core/ion-tab.entry.js +63 -0
  127. package/dist/sparkle-core/ion-tabs.entry.js +150 -0
  128. package/dist/sparkle-core/ion-text.entry.js +20 -0
  129. package/dist/sparkle-core/ion-textarea.entry.js +244 -0
  130. package/dist/sparkle-core/ion-thumbnail.entry.js +16 -0
  131. package/dist/sparkle-core/ion-title.entry.js +48 -0
  132. package/dist/sparkle-core/ion-toast.entry.js +268 -0
  133. package/dist/sparkle-core/ion-toggle.entry.js +173 -0
  134. package/dist/sparkle-core/ion-toolbar.entry.js +70 -0
  135. package/dist/sparkle-core/ion-virtual-scroll.entry.js +551 -0
  136. package/dist/sparkle-core/ionic-global-127576f6.js +226 -0
  137. package/dist/sparkle-core/ios.transition-02531dda.js +479 -0
  138. package/dist/sparkle-core/location-utils-fea12957.js +229 -0
  139. package/dist/sparkle-core/match-path-760e1797.js +343 -0
  140. package/dist/sparkle-core/md.transition-f8765467.js +55 -0
  141. package/dist/sparkle-core/media.service-2609406e.js +36 -0
  142. package/dist/sparkle-core/menu-toggle-util-6cc13cbd.js +12 -0
  143. package/dist/sparkle-core/overlays-fd3cfa13.js +493 -0
  144. package/dist/sparkle-core/parse-60474840.js +1196 -0
  145. package/dist/sparkle-core/purify-d9093094.js +1469 -0
  146. package/dist/sparkle-core/quiz.model-1cff62e4.js +5 -0
  147. package/dist/sparkle-core/shadow-css-1257b266.js +387 -0
  148. package/dist/sparkle-core/signalR.service-2b7645c1.js +2983 -0
  149. package/dist/sparkle-core/sparkle-animation-player.entry.js +513 -0
  150. package/dist/sparkle-core/sparkle-assignment.entry.js +114 -0
  151. package/dist/sparkle-core/sparkle-button.entry.js +24 -0
  152. package/dist/sparkle-core/sparkle-card.entry.js +61 -0
  153. package/dist/sparkle-core/sparkle-cards.entry.js +15 -0
  154. package/dist/sparkle-core/sparkle-character-intro.entry.js +22 -0
  155. package/dist/sparkle-core/sparkle-code.entry.js +39 -0
  156. package/dist/sparkle-core/sparkle-compass-post.entry.js +129 -0
  157. package/dist/sparkle-core/sparkle-compass.entry.js +122 -0
  158. package/dist/sparkle-core/sparkle-core.css +2660 -1
  159. package/dist/sparkle-core/sparkle-core.esm.js +130 -1
  160. package/dist/sparkle-core/sparkle-course-root.entry.js +155 -0
  161. package/dist/sparkle-core/sparkle-discussion-questions.entry.js +122 -0
  162. package/dist/sparkle-core/sparkle-discussion-results.entry.js +189 -0
  163. package/dist/sparkle-core/sparkle-discussion.entry.js +52 -0
  164. package/dist/sparkle-core/sparkle-dropdown.entry.js +57 -0
  165. package/dist/sparkle-core/sparkle-emoji.entry.js +77 -0
  166. package/dist/sparkle-core/sparkle-export-lessons.entry.js +10081 -0
  167. package/dist/sparkle-core/sparkle-facilitator-dashboard.entry.js +93 -0
  168. package/dist/sparkle-core/sparkle-facilitator-header.entry.js +60 -0
  169. package/dist/sparkle-core/sparkle-facilitator-notes-form.entry.js +160 -0
  170. package/dist/sparkle-core/sparkle-facilitator-notes.entry.js +65 -0
  171. package/dist/sparkle-core/sparkle-facilitator-page.entry.js +198 -0
  172. package/dist/sparkle-core/sparkle-feed-post.entry.js +131 -0
  173. package/dist/sparkle-core/sparkle-feedback.entry.js +106 -0
  174. package/dist/sparkle-core/sparkle-file-upload.entry.js +57 -0
  175. package/dist/sparkle-core/sparkle-forgot-password.entry.js +80 -0
  176. package/dist/sparkle-core/sparkle-goal-form.entry.js +182 -0
  177. package/dist/sparkle-core/sparkle-goal-item.entry.js +15 -0
  178. package/dist/sparkle-core/sparkle-goal-progress.entry.js +15 -0
  179. package/dist/sparkle-core/sparkle-goals.entry.js +47 -0
  180. package/dist/sparkle-core/sparkle-gww-comment-list.entry.js +22 -0
  181. package/dist/sparkle-core/sparkle-gww-graph.entry.js +15 -0
  182. package/dist/sparkle-core/sparkle-gww-item.entry.js +80 -0
  183. package/dist/sparkle-core/sparkle-gww.entry.js +44 -0
  184. package/dist/sparkle-core/sparkle-header.entry.js +97 -0
  185. package/dist/sparkle-core/sparkle-health.entry.js +70 -0
  186. package/dist/sparkle-core/sparkle-input.entry.js +52 -0
  187. package/dist/sparkle-core/sparkle-intro.entry.js +22 -0
  188. package/dist/sparkle-core/sparkle-login.entry.js +116 -0
  189. package/dist/sparkle-core/sparkle-lower-content-nav.entry.js +18 -0
  190. package/dist/sparkle-core/sparkle-menu-collapsible.entry.js +42 -0
  191. package/dist/sparkle-core/sparkle-menu-toggle.entry.js +24 -0
  192. package/dist/sparkle-core/sparkle-menu.entry.js +26 -0
  193. package/dist/sparkle-core/sparkle-modal-image.entry.js +33 -0
  194. package/dist/sparkle-core/sparkle-mood.entry.js +76 -0
  195. package/dist/sparkle-core/sparkle-nav.entry.js +113 -0
  196. package/dist/sparkle-core/sparkle-notfound-page.entry.js +25 -0
  197. package/dist/sparkle-core/sparkle-online-students.entry.js +55 -0
  198. package/dist/sparkle-core/sparkle-overlay.entry.js +90 -0
  199. package/dist/sparkle-core/sparkle-page-footer.entry.js +24 -0
  200. package/dist/sparkle-core/sparkle-page.entry.js +245 -0
  201. package/dist/sparkle-core/sparkle-pagination.entry.js +67 -0
  202. package/dist/sparkle-core/sparkle-poll.entry.js +15 -0
  203. package/dist/sparkle-core/sparkle-quiz-container.entry.js +43 -0
  204. package/dist/sparkle-core/sparkle-quiz-feedback.entry.js +18 -0
  205. package/dist/sparkle-core/sparkle-quiz-input.entry.js +16 -0
  206. package/dist/sparkle-core/sparkle-quiz-old.entry.js +116 -0
  207. package/dist/sparkle-core/sparkle-quiz-opinion.entry.js +41 -0
  208. package/dist/sparkle-core/sparkle-quiz-poll.entry.js +16 -0
  209. package/dist/sparkle-core/sparkle-quiz-select.entry.js +29 -0
  210. package/dist/sparkle-core/sparkle-quiz.entry.js +98 -0
  211. package/dist/sparkle-core/sparkle-reset-password.entry.js +96 -0
  212. package/dist/sparkle-core/sparkle-root.entry.js +79 -0
  213. package/dist/sparkle-core/sparkle-select.entry.js +57 -0
  214. package/dist/sparkle-core/sparkle-sidebar.entry.js +39 -0
  215. package/dist/sparkle-core/sparkle-signup.entry.js +144 -0
  216. package/dist/sparkle-core/sparkle-tab.entry.js +22 -0
  217. package/dist/sparkle-core/sparkle-table-of-contents.entry.js +67 -0
  218. package/dist/sparkle-core/sparkle-tabs.entry.js +62 -0
  219. package/dist/sparkle-core/sparkle-unauthorized.entry.js +17 -0
  220. package/dist/sparkle-core/sparkle-user-enrollment.entry.js +85 -0
  221. package/dist/sparkle-core/sparkle-user-profile.entry.js +129 -0
  222. package/dist/sparkle-core/sparkle-validation-error.entry.js +17 -0
  223. package/dist/sparkle-core/sparkle-video-player.entry.js +18 -0
  224. package/dist/sparkle-core/sparkle-youtube.entry.js +35 -0
  225. package/dist/sparkle-core/status-tap-52feb1b1.js +40 -0
  226. package/dist/sparkle-core/stencil-async-content.entry.js +28 -0
  227. package/dist/sparkle-core/stencil-route-link.entry.js +74 -0
  228. package/dist/sparkle-core/stencil-route-switch.entry.js +100 -0
  229. package/dist/sparkle-core/stencil-route-title.entry.js +28 -0
  230. package/dist/sparkle-core/stencil-route.entry.js +93 -0
  231. package/dist/sparkle-core/stencil-router-prompt.entry.js +55 -0
  232. package/dist/sparkle-core/stencil-router-redirect.entry.js +28 -0
  233. package/dist/sparkle-core/stencil-router.entry.js +636 -0
  234. package/dist/sparkle-core/store.service-0f7d998b.js +16 -0
  235. package/dist/sparkle-core/student.service-f0375229.js +59 -0
  236. package/dist/sparkle-core/swipe-back-9a614189.js +73 -0
  237. package/dist/sparkle-core/swiper.bundle-4274e115.js +6418 -0
  238. package/dist/sparkle-core/user.store-3d052406.js +19 -0
  239. package/dist/sparkle-core/util-ba470e54.js +14683 -0
  240. package/dist/sparkle-core/utils-cae23bce.js +114 -0
  241. package/package.json +1 -1
  242. package/dist/cjs/PrivateRoute-f97245ce.js +0 -217
  243. package/dist/cjs/active-router-f9e18bd8.js +0 -75
  244. package/dist/cjs/animation-ee586546.js +0 -986
  245. package/dist/cjs/app-globals-33c9f31b.js +0 -9
  246. package/dist/cjs/appdata.service-c8d71e05.js +0 -73
  247. package/dist/cjs/assets.service-bfa75092.js +0 -50
  248. package/dist/cjs/assignment.service-690fb59c.js +0 -19
  249. package/dist/cjs/auth.store-1e630a7d.js +0 -3392
  250. package/dist/cjs/compass-svg.cjs.entry.js +0 -132
  251. package/dist/cjs/context-consumer.cjs.entry.js +0 -29
  252. package/dist/cjs/course-select.cjs.entry.js +0 -30
  253. package/dist/cjs/cubic-bezier-53d26d05.js +0 -93
  254. package/dist/cjs/dir-5af5259a.js +0 -20
  255. package/dist/cjs/environment-config.service-c8ff1f3d.js +0 -28
  256. package/dist/cjs/facilitator.service-ff0e1659.js +0 -95
  257. package/dist/cjs/feed.service-8eca4de6.js +0 -57
  258. package/dist/cjs/focus-visible-b0b07ba6.js +0 -76
  259. package/dist/cjs/framework-delegate-59a98abd.js +0 -111
  260. package/dist/cjs/gesture-controller-0eb5579e.js +0 -196
  261. package/dist/cjs/haptic-780f33c4.js +0 -116
  262. package/dist/cjs/hardware-back-button-92d97ff8.js +0 -76
  263. package/dist/cjs/header-mobile-collapse_61.cjs.entry.js +0 -15124
  264. package/dist/cjs/helpers-c2496722.js +0 -425
  265. package/dist/cjs/httpService-d2e7bf8f.js +0 -687
  266. package/dist/cjs/icons-fda820af.js +0 -26
  267. package/dist/cjs/index-12082cba.js +0 -465
  268. package/dist/cjs/index-15ea05f5.js +0 -314
  269. package/dist/cjs/index-51e8292e.js +0 -1928
  270. package/dist/cjs/index-787d4498.js +0 -232
  271. package/dist/cjs/index-8b5629a6.js +0 -186
  272. package/dist/cjs/index-975586fd.js +0 -48
  273. package/dist/cjs/index-9c7b27e4.js +0 -140
  274. package/dist/cjs/index-af080b50.js +0 -139
  275. package/dist/cjs/index-e56e09b8.js +0 -38
  276. package/dist/cjs/index.cjs.js +0 -26
  277. package/dist/cjs/index.es-38cbcdbe.js +0 -10666
  278. package/dist/cjs/input-shims-eff63b88.js +0 -418
  279. package/dist/cjs/ion-accordion-group.cjs.entry.js +0 -205
  280. package/dist/cjs/ion-accordion.cjs.entry.js +0 -336
  281. package/dist/cjs/ion-action-sheet_7.cjs.entry.js +0 -2935
  282. package/dist/cjs/ion-app.cjs.entry.js +0 -79
  283. package/dist/cjs/ion-back-button.cjs.entry.js +0 -94
  284. package/dist/cjs/ion-backdrop.cjs.entry.js +0 -67
  285. package/dist/cjs/ion-badge.cjs.entry.js +0 -29
  286. package/dist/cjs/ion-breadcrumb.cjs.entry.js +0 -95
  287. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +0 -133
  288. package/dist/cjs/ion-buttons_3.cjs.entry.js +0 -153
  289. package/dist/cjs/ion-card-header.cjs.entry.js +0 -37
  290. package/dist/cjs/ion-card-subtitle.cjs.entry.js +0 -30
  291. package/dist/cjs/ion-card-title.cjs.entry.js +0 -30
  292. package/dist/cjs/ion-chip.cjs.entry.js +0 -40
  293. package/dist/cjs/ion-content_2.cjs.entry.js +0 -659
  294. package/dist/cjs/ion-datetime-button.cjs.entry.js +0 -312
  295. package/dist/cjs/ion-datetime.cjs.entry.js +0 -1623
  296. package/dist/cjs/ion-fab-button.cjs.entry.js +0 -108
  297. package/dist/cjs/ion-fab-list.cjs.entry.js +0 -45
  298. package/dist/cjs/ion-fab.cjs.entry.js +0 -76
  299. package/dist/cjs/ion-footer.cjs.entry.js +0 -120
  300. package/dist/cjs/ion-img.cjs.entry.js +0 -101
  301. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +0 -37
  302. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +0 -206
  303. package/dist/cjs/ion-item-divider.cjs.entry.js +0 -40
  304. package/dist/cjs/ion-item-group.cjs.entry.js +0 -31
  305. package/dist/cjs/ion-item-option.cjs.entry.js +0 -60
  306. package/dist/cjs/ion-item-options.cjs.entry.js +0 -47
  307. package/dist/cjs/ion-item-sliding.cjs.entry.js +0 -398
  308. package/dist/cjs/ion-loading.cjs.entry.js +0 -215
  309. package/dist/cjs/ion-menu-button.cjs.entry.js +0 -76
  310. package/dist/cjs/ion-menu-toggle.cjs.entry.js +0 -47
  311. package/dist/cjs/ion-menu.cjs.entry.js +0 -575
  312. package/dist/cjs/ion-modal.cjs.entry.js +0 -1711
  313. package/dist/cjs/ion-nav-link.cjs.entry.js +0 -47
  314. package/dist/cjs/ion-nav.cjs.entry.js +0 -872
  315. package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +0 -808
  316. package/dist/cjs/ion-picker-column.cjs.entry.js +0 -331
  317. package/dist/cjs/ion-picker.cjs.entry.js +0 -221
  318. package/dist/cjs/ion-progress-bar.cjs.entry.js +0 -74
  319. package/dist/cjs/ion-refresher-content.cjs.entry.js +0 -35
  320. package/dist/cjs/ion-refresher.cjs.entry.js +0 -802
  321. package/dist/cjs/ion-reorder-group.cjs.entry.js +0 -281
  322. package/dist/cjs/ion-reorder.cjs.entry.js +0 -38
  323. package/dist/cjs/ion-route-redirect.cjs.entry.js +0 -24
  324. package/dist/cjs/ion-route.cjs.entry.js +0 -49
  325. package/dist/cjs/ion-router-link.cjs.entry.js +0 -38
  326. package/dist/cjs/ion-router-outlet.cjs.entry.js +0 -200
  327. package/dist/cjs/ion-router.cjs.entry.js +0 -831
  328. package/dist/cjs/ion-searchbar.cjs.entry.js +0 -370
  329. package/dist/cjs/ion-segment-button.cjs.entry.js +0 -102
  330. package/dist/cjs/ion-segment.cjs.entry.js +0 -417
  331. package/dist/cjs/ion-skeleton-text.cjs.entry.js +0 -33
  332. package/dist/cjs/ion-slide.cjs.entry.js +0 -25
  333. package/dist/cjs/ion-slides.cjs.entry.js +0 -391
  334. package/dist/cjs/ion-split-pane.cjs.entry.js +0 -154
  335. package/dist/cjs/ion-tab-bar.cjs.entry.js +0 -75
  336. package/dist/cjs/ion-tab-button.cjs.entry.js +0 -103
  337. package/dist/cjs/ion-tab.cjs.entry.js +0 -59
  338. package/dist/cjs/ion-tabs.cjs.entry.js +0 -154
  339. package/dist/cjs/ion-thumbnail.cjs.entry.js +0 -20
  340. package/dist/cjs/ion-toast.cjs.entry.js +0 -272
  341. package/dist/cjs/ion-toggle.cjs.entry.js +0 -177
  342. package/dist/cjs/ion-virtual-scroll.cjs.entry.js +0 -555
  343. package/dist/cjs/ionic-global-2cde9d3a.js +0 -231
  344. package/dist/cjs/ios.transition-da235483.js +0 -482
  345. package/dist/cjs/keyboard-91096619.js +0 -140
  346. package/dist/cjs/loader.cjs.js +0 -24
  347. package/dist/cjs/localstorage.service-6346a41d.js +0 -40
  348. package/dist/cjs/md.transition-be429e07.js +0 -57
  349. package/dist/cjs/media.service-8a1b9bc5.js +0 -40
  350. package/dist/cjs/menu-toggle-util-7a01448c.js +0 -14
  351. package/dist/cjs/overlays-32df265a.js +0 -507
  352. package/dist/cjs/parse-d0071120.js +0 -1237
  353. package/dist/cjs/purify-fb9c107e.js +0 -1468
  354. package/dist/cjs/signalR.service-bd6b42f9.js +0 -2985
  355. package/dist/cjs/sparkle-animation-player.cjs.entry.js +0 -515
  356. package/dist/cjs/sparkle-assignment.cjs.entry.js +0 -110
  357. package/dist/cjs/sparkle-character-intro.cjs.entry.js +0 -26
  358. package/dist/cjs/sparkle-code.cjs.entry.js +0 -43
  359. package/dist/cjs/sparkle-compass-post.cjs.entry.js +0 -133
  360. package/dist/cjs/sparkle-compass.cjs.entry.js +0 -126
  361. package/dist/cjs/sparkle-core.cjs.js +0 -22
  362. package/dist/cjs/sparkle-discussion-questions_2.cjs.entry.js +0 -281
  363. package/dist/cjs/sparkle-discussion.cjs.entry.js +0 -42
  364. package/dist/cjs/sparkle-emoji.cjs.entry.js +0 -80
  365. package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +0 -121
  366. package/dist/cjs/sparkle-feed-post.cjs.entry.js +0 -116
  367. package/dist/cjs/sparkle-feedback.cjs.entry.js +0 -101
  368. package/dist/cjs/sparkle-file-upload.cjs.entry.js +0 -53
  369. package/dist/cjs/sparkle-goal-form.cjs.entry.js +0 -179
  370. package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +0 -26
  371. package/dist/cjs/sparkle-gww-graph.cjs.entry.js +0 -19
  372. package/dist/cjs/sparkle-input.cjs.entry.js +0 -56
  373. package/dist/cjs/sparkle-intro.cjs.entry.js +0 -26
  374. package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +0 -22
  375. package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +0 -46
  376. package/dist/cjs/sparkle-modal-image.cjs.entry.js +0 -34
  377. package/dist/cjs/sparkle-notfound-page.cjs.entry.js +0 -25
  378. package/dist/cjs/sparkle-overlay.cjs.entry.js +0 -92
  379. package/dist/cjs/sparkle-poll.cjs.entry.js +0 -19
  380. package/dist/cjs/sparkle-quiz-container.cjs.entry.js +0 -47
  381. package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +0 -117
  382. package/dist/cjs/sparkle-quiz-old.cjs.entry.js +0 -120
  383. package/dist/cjs/sparkle-quiz.cjs.entry.js +0 -103
  384. package/dist/cjs/sparkle-select.cjs.entry.js +0 -61
  385. package/dist/cjs/sparkle-sidebar.cjs.entry.js +0 -43
  386. package/dist/cjs/sparkle-tab.cjs.entry.js +0 -26
  387. package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +0 -71
  388. package/dist/cjs/sparkle-tabs.cjs.entry.js +0 -66
  389. package/dist/cjs/sparkle-video-player.cjs.entry.js +0 -22
  390. package/dist/cjs/sparkle-youtube.cjs.entry.js +0 -39
  391. package/dist/cjs/spinner-configs-0ac05f2d.js +0 -147
  392. package/dist/cjs/status-tap-033befa2.js +0 -42
  393. package/dist/cjs/stencil-async-content.cjs.entry.js +0 -32
  394. package/dist/cjs/stencil-route-title.cjs.entry.js +0 -32
  395. package/dist/cjs/stencil-router-prompt.cjs.entry.js +0 -59
  396. package/dist/cjs/student.service-7e5385be.js +0 -78
  397. package/dist/cjs/swipe-back-4a826f9b.js +0 -76
  398. package/dist/cjs/swiper.bundle-8c897c07.js +0 -6420
  399. package/dist/cjs/theme-b0b295c1.js +0 -48
  400. package/dist/cjs/token.service-7a41953d.js +0 -97
  401. package/dist/cjs/util-47e320b2.js +0 -2462
  402. package/dist/collection/PrivateRoute.js +0 -27
  403. package/dist/collection/appconst.js +0 -13
  404. package/dist/collection/assets/img/forward.svg +0 -5
  405. package/dist/collection/assets/img/help/fitt-logo.svg +0 -1
  406. package/dist/collection/assets/img/home/big-white-wall.svg +0 -15
  407. package/dist/collection/assets/img/home/find-help.svg +0 -23
  408. package/dist/collection/assets/img/home/lessons.svg +0 -26
  409. package/dist/collection/assets/img/home/my-goals.svg +0 -19
  410. package/dist/collection/assets/img/home/my-health.svg +0 -17
  411. package/dist/collection/assets/img/home/my-mood.svg +0 -26
  412. package/dist/collection/assets/img/pause.svg +0 -5
  413. package/dist/collection/assets/img/play-symbol.svg +0 -8
  414. package/dist/collection/assets/img/play.svg +0 -4
  415. package/dist/collection/assets/img/rewind.svg +0 -5
  416. package/dist/collection/assets/lib/SignalRAspNetCoreHelper.js +0 -17
  417. package/dist/collection/assets/lib/sparkleUtility.js +0 -8
  418. package/dist/collection/assets/svg/profile.svg +0 -2
  419. package/dist/collection/collection-manifest.json +0 -219
  420. package/dist/collection/components/compass-svg/compass-svg.css +0 -15
  421. package/dist/collection/components/compass-svg/compass-svg.js +0 -156
  422. package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.css +0 -7
  423. package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.js +0 -110
  424. package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.css +0 -3
  425. package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.js +0 -214
  426. package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header-mobile-collapse/facilitator-header-mobile-collapse.js +0 -0
  427. package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.css +0 -172
  428. package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.js +0 -104
  429. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.css +0 -3
  430. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.js +0 -144
  431. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.css +0 -14
  432. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.js +0 -64
  433. package/dist/collection/components/layout/facilitator/facilitator-page.css +0 -196
  434. package/dist/collection/components/layout/facilitator/facilitator-page.js +0 -281
  435. package/dist/collection/components/layout/facilitator/online-students/online-students.css +0 -0
  436. package/dist/collection/components/layout/facilitator/online-students/online-students.js +0 -70
  437. package/dist/collection/components/layout/page/page.css +0 -183
  438. package/dist/collection/components/layout/page/page.js +0 -321
  439. package/dist/collection/components/layout/page/templates/default.js +0 -9
  440. package/dist/collection/components/layout/page/templates/error.js +0 -33
  441. package/dist/collection/components/layout/page/templates/index.js +0 -8
  442. package/dist/collection/components/layout/page/templates/pdf.js +0 -8
  443. package/dist/collection/components/layout/page/to-hypertext.js +0 -27
  444. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.css +0 -3
  445. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.js +0 -252
  446. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.css +0 -12
  447. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.js +0 -59
  448. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.css +0 -33
  449. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.js +0 -37
  450. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.css +0 -8
  451. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.js +0 -40
  452. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.css +0 -7
  453. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.js +0 -52
  454. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.css +0 -3
  455. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.js +0 -14
  456. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.css +0 -30
  457. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.js +0 -187
  458. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.css +0 -3
  459. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.js +0 -43
  460. package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.css +0 -10
  461. package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.js +0 -111
  462. package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.css +0 -11
  463. package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.js +0 -127
  464. package/dist/collection/components/modal-image/modal-image.css +0 -61
  465. package/dist/collection/components/modal-image/modal-image.js +0 -159
  466. package/dist/collection/components/sparkle-animation-player/assets/play-button-disabled-overlay.png +0 -0
  467. package/dist/collection/components/sparkle-animation-player/assets/play-button-overlay.png +0 -0
  468. package/dist/collection/components/sparkle-animation-player/caption-parser.js +0 -94
  469. package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.css +0 -157
  470. package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.js +0 -598
  471. package/dist/collection/components/sparkle-assignment/sparkle-assignment.css +0 -30
  472. package/dist/collection/components/sparkle-assignment/sparkle-assignment.js +0 -159
  473. package/dist/collection/components/sparkle-character-intro/assets/characters/character-img.jpg +0 -0
  474. package/dist/collection/components/sparkle-character-intro/assets/characters/jen.png +0 -0
  475. package/dist/collection/components/sparkle-character-intro/assets/characters/kimberly.png +0 -0
  476. package/dist/collection/components/sparkle-character-intro/assets/characters/valeria.png +0 -0
  477. package/dist/collection/components/sparkle-character-intro/assets/characters/yuna.png +0 -0
  478. package/dist/collection/components/sparkle-character-intro/assets/characters/zynab.png +0 -0
  479. package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.css +0 -74
  480. package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.js +0 -68
  481. package/dist/collection/components/sparkle-compass/sparkle-compass-post/sparkle-compass-post.css +0 -35
  482. package/dist/collection/components/sparkle-compass/sparkle-compass-post/sparkle-compass-post.js +0 -171
  483. package/dist/collection/components/sparkle-compass/sparkle-compass.css +0 -25
  484. package/dist/collection/components/sparkle-compass/sparkle-compass.js +0 -283
  485. package/dist/collection/components/sparkle-course-root/sparkle-course-root.css +0 -3
  486. package/dist/collection/components/sparkle-course-root/sparkle-course-root.js +0 -196
  487. package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.css +0 -157
  488. package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.js +0 -232
  489. package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.css +0 -158
  490. package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.js +0 -274
  491. package/dist/collection/components/sparkle-discussion/sparkle-discussion.css +0 -5
  492. package/dist/collection/components/sparkle-discussion/sparkle-discussion.js +0 -112
  493. package/dist/collection/components/sparkle-emoji/sparkle-emoji.css +0 -16
  494. package/dist/collection/components/sparkle-emoji/sparkle-emoji.js +0 -116
  495. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +0 -35
  496. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +0 -193
  497. package/dist/collection/components/sparkle-feedback/sparkle-feedback.css +0 -3
  498. package/dist/collection/components/sparkle-feedback/sparkle-feedback.js +0 -118
  499. package/dist/collection/components/sparkle-file-upload/sparkle-file-upload.css +0 -0
  500. package/dist/collection/components/sparkle-file-upload/sparkle-file-upload.js +0 -105
  501. package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.css +0 -4
  502. package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.js +0 -107
  503. package/dist/collection/components/sparkle-input/sparkle-input.css +0 -0
  504. package/dist/collection/components/sparkle-input/sparkle-input.js +0 -212
  505. package/dist/collection/components/sparkle-intro/sparkle-intro.css +0 -15
  506. package/dist/collection/components/sparkle-intro/sparkle-intro.js +0 -35
  507. package/dist/collection/components/sparkle-login/sparkle-login.css +0 -4
  508. package/dist/collection/components/sparkle-login/sparkle-login.js +0 -173
  509. package/dist/collection/components/sparkle-poll/sparkle-poll.css +0 -3
  510. package/dist/collection/components/sparkle-poll/sparkle-poll.js +0 -15
  511. package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.css +0 -3
  512. package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.js +0 -69
  513. package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.css +0 -3
  514. package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.js +0 -59
  515. package/dist/collection/components/sparkle-quiz/sparkle-quiz-old/sparkle-quiz-old.css +0 -48
  516. package/dist/collection/components/sparkle-quiz/sparkle-quiz-old/sparkle-quiz-old.js +0 -327
  517. package/dist/collection/components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.css +0 -18
  518. package/dist/collection/components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.js +0 -106
  519. package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.css +0 -3
  520. package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.js +0 -59
  521. package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.css +0 -3
  522. package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.js +0 -100
  523. package/dist/collection/components/sparkle-quiz/sparkle-quiz.css +0 -48
  524. package/dist/collection/components/sparkle-quiz/sparkle-quiz.js +0 -221
  525. package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.css +0 -3
  526. package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.js +0 -98
  527. package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.css +0 -3
  528. package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.js +0 -126
  529. package/dist/collection/components/sparkle-root/sparkle-root.css +0 -61
  530. package/dist/collection/components/sparkle-root/sparkle-root.js +0 -86
  531. package/dist/collection/components/sparkle-signup/sparkle-signup.css +0 -6
  532. package/dist/collection/components/sparkle-signup/sparkle-signup.js +0 -197
  533. package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.css +0 -13
  534. package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.js +0 -18
  535. package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.css +0 -3
  536. package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.js +0 -93
  537. package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.css +0 -54
  538. package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.js +0 -151
  539. package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.css +0 -11
  540. package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.js +0 -44
  541. package/dist/collection/components/sparkle-video-player/sparkle-video-player.css +0 -0
  542. package/dist/collection/components/sparkle-video-player/sparkle-video-player.js +0 -92
  543. package/dist/collection/components/sparkle-youtube/sparkle-youtube.css +0 -24
  544. package/dist/collection/components/sparkle-youtube/sparkle-youtube.js +0 -99
  545. package/dist/collection/global/app.js +0 -4
  546. package/dist/collection/helpers/utils.js +0 -3
  547. package/dist/collection/icons.js +0 -36
  548. package/dist/collection/index.js +0 -3
  549. package/dist/collection/l10n.js +0 -18
  550. package/dist/collection/models/api.model.js +0 -7
  551. package/dist/collection/models/assets.model.js +0 -1
  552. package/dist/collection/models/auth/auth.user.js +0 -1
  553. package/dist/collection/models/class.model.js +0 -5
  554. package/dist/collection/models/course.model.js +0 -10
  555. package/dist/collection/models/definitions.js +0 -1
  556. package/dist/collection/models/facilitator-dashboard.model.js +0 -5
  557. package/dist/collection/models/goal.model.js +0 -1
  558. package/dist/collection/models/index.js +0 -1
  559. package/dist/collection/models/markdown.model.js +0 -1
  560. package/dist/collection/models/page.model.js +0 -1
  561. package/dist/collection/models/quiz.model.js +0 -3
  562. package/dist/collection/models/user.model.js +0 -1
  563. package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1_part1.js +0 -2727
  564. package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1_part2.js +0 -2042
  565. package/dist/collection/services/account.service.js +0 -61
  566. package/dist/collection/services/appdata.service.js +0 -60
  567. package/dist/collection/services/assignment.service.js +0 -14
  568. package/dist/collection/services/auth/auth.service.js +0 -64
  569. package/dist/collection/services/core/assets.service.js +0 -45
  570. package/dist/collection/services/core/localstorage.service.js +0 -34
  571. package/dist/collection/services/environment/environment-config.js +0 -24
  572. package/dist/collection/services/environment/environment-config.service.js +0 -24
  573. package/dist/collection/services/facilitator.service.js +0 -76
  574. package/dist/collection/services/feed.service.js +0 -43
  575. package/dist/collection/services/httpService.js +0 -103
  576. package/dist/collection/services/index.js +0 -4
  577. package/dist/collection/services/media.service.js +0 -29
  578. package/dist/collection/services/signalR.service.js +0 -83
  579. package/dist/collection/services/store.service.js +0 -13
  580. package/dist/collection/services/student.service.js +0 -56
  581. package/dist/collection/services/token.service.js +0 -79
  582. package/dist/collection/stores/auth.store.js +0 -12
  583. package/dist/collection/stores/class.store.js +0 -5
  584. package/dist/collection/stores/error.store.js +0 -5
  585. package/dist/collection/stores/facilitator.store.js +0 -15
  586. package/dist/collection/stores/feed.store.js +0 -8
  587. package/dist/collection/stores/goal.store.js +0 -7
  588. package/dist/collection/stores/index.js +0 -1
  589. package/dist/collection/stores/media.store.js +0 -5
  590. package/dist/collection/stores/mood.store.js +0 -5
  591. package/dist/collection/stores/nav.store.js +0 -11
  592. package/dist/collection/stores/signalR.store.js +0 -6
  593. package/dist/collection/stores/theme.store.js +0 -9
  594. package/dist/collection/stores/toc.store.js +0 -5
  595. package/dist/collection/stores/user.store.js +0 -16
  596. package/dist/collection/util.js +0 -55
  597. package/dist/collection/utils.js +0 -92
  598. package/dist/esm/PrivateRoute-90ac95b8.js +0 -212
  599. package/dist/esm/active-router-fc9e4e06.js +0 -73
  600. package/dist/esm/animation-12377cb3.js +0 -984
  601. package/dist/esm/app-globals-3f0347b0.js +0 -7
  602. package/dist/esm/appdata.service-2e84e167.js +0 -70
  603. package/dist/esm/assets.service-def1d63c.js +0 -48
  604. package/dist/esm/assignment.service-8d31f141.js +0 -17
  605. package/dist/esm/auth.store-dba2c2da.js +0 -3381
  606. package/dist/esm/compass-svg.entry.js +0 -128
  607. package/dist/esm/context-consumer.entry.js +0 -25
  608. package/dist/esm/course-select.entry.js +0 -26
  609. package/dist/esm/dir-03012648.js +0 -18
  610. package/dist/esm/environment-config.service-b191f276.js +0 -26
  611. package/dist/esm/facilitator.service-18c47bdf.js +0 -92
  612. package/dist/esm/feed.service-b4f3cae4.js +0 -54
  613. package/dist/esm/framework-delegate-3e634a5c.js +0 -107
  614. package/dist/esm/gesture-controller-7be18351.js +0 -194
  615. package/dist/esm/haptic-522f76f2.js +0 -110
  616. package/dist/esm/header-mobile-collapse_61.entry.js +0 -15060
  617. package/dist/esm/helpers-bf0e23d6.js +0 -403
  618. package/dist/esm/httpService-7986aeed.js +0 -685
  619. package/dist/esm/icons-1c794c74.js +0 -18
  620. package/dist/esm/index-21661af2.js +0 -463
  621. package/dist/esm/index-2b84cad2.js +0 -223
  622. package/dist/esm/index-4044fde9.js +0 -25
  623. package/dist/esm/index-45fec1e7.js +0 -184
  624. package/dist/esm/index-5e8971ae.js +0 -128
  625. package/dist/esm/index-c04b9ed5.js +0 -1888
  626. package/dist/esm/index-cded2d87.js +0 -312
  627. package/dist/esm/index-dad75b83.js +0 -34
  628. package/dist/esm/index.es-e0c0f891.js +0 -10580
  629. package/dist/esm/index.js +0 -12
  630. package/dist/esm/input-shims-671d8d9f.js +0 -416
  631. package/dist/esm/ion-accordion-group.entry.js +0 -201
  632. package/dist/esm/ion-accordion.entry.js +0 -332
  633. package/dist/esm/ion-action-sheet_7.entry.js +0 -2925
  634. package/dist/esm/ion-app.entry.js +0 -75
  635. package/dist/esm/ion-back-button.entry.js +0 -90
  636. package/dist/esm/ion-backdrop.entry.js +0 -63
  637. package/dist/esm/ion-badge.entry.js +0 -25
  638. package/dist/esm/ion-breadcrumb.entry.js +0 -91
  639. package/dist/esm/ion-breadcrumbs.entry.js +0 -129
  640. package/dist/esm/ion-buttons_3.entry.js +0 -147
  641. package/dist/esm/ion-card-header.entry.js +0 -33
  642. package/dist/esm/ion-card-subtitle.entry.js +0 -26
  643. package/dist/esm/ion-card-title.entry.js +0 -26
  644. package/dist/esm/ion-chip.entry.js +0 -36
  645. package/dist/esm/ion-content_2.entry.js +0 -654
  646. package/dist/esm/ion-datetime-button.entry.js +0 -308
  647. package/dist/esm/ion-datetime.entry.js +0 -1619
  648. package/dist/esm/ion-fab-button.entry.js +0 -104
  649. package/dist/esm/ion-fab-list.entry.js +0 -41
  650. package/dist/esm/ion-fab.entry.js +0 -72
  651. package/dist/esm/ion-footer.entry.js +0 -116
  652. package/dist/esm/ion-img.entry.js +0 -97
  653. package/dist/esm/ion-infinite-scroll-content.entry.js +0 -33
  654. package/dist/esm/ion-infinite-scroll.entry.js +0 -202
  655. package/dist/esm/ion-item-divider.entry.js +0 -36
  656. package/dist/esm/ion-item-group.entry.js +0 -27
  657. package/dist/esm/ion-item-option.entry.js +0 -56
  658. package/dist/esm/ion-item-options.entry.js +0 -43
  659. package/dist/esm/ion-item-sliding.entry.js +0 -394
  660. package/dist/esm/ion-loading.entry.js +0 -211
  661. package/dist/esm/ion-menu-button.entry.js +0 -72
  662. package/dist/esm/ion-menu-toggle.entry.js +0 -43
  663. package/dist/esm/ion-menu.entry.js +0 -571
  664. package/dist/esm/ion-modal.entry.js +0 -1707
  665. package/dist/esm/ion-nav-link.entry.js +0 -43
  666. package/dist/esm/ion-nav.entry.js +0 -868
  667. package/dist/esm/ion-picker-column-internal_2.entry.js +0 -803
  668. package/dist/esm/ion-picker-column.entry.js +0 -327
  669. package/dist/esm/ion-picker.entry.js +0 -217
  670. package/dist/esm/ion-progress-bar.entry.js +0 -70
  671. package/dist/esm/ion-refresher-content.entry.js +0 -31
  672. package/dist/esm/ion-refresher.entry.js +0 -798
  673. package/dist/esm/ion-reorder-group.entry.js +0 -277
  674. package/dist/esm/ion-reorder.entry.js +0 -34
  675. package/dist/esm/ion-route-redirect.entry.js +0 -20
  676. package/dist/esm/ion-route.entry.js +0 -45
  677. package/dist/esm/ion-router-link.entry.js +0 -34
  678. package/dist/esm/ion-router-outlet.entry.js +0 -196
  679. package/dist/esm/ion-router.entry.js +0 -827
  680. package/dist/esm/ion-searchbar.entry.js +0 -366
  681. package/dist/esm/ion-segment-button.entry.js +0 -98
  682. package/dist/esm/ion-segment.entry.js +0 -413
  683. package/dist/esm/ion-skeleton-text.entry.js +0 -29
  684. package/dist/esm/ion-slide.entry.js +0 -21
  685. package/dist/esm/ion-slides.entry.js +0 -387
  686. package/dist/esm/ion-split-pane.entry.js +0 -150
  687. package/dist/esm/ion-tab-bar.entry.js +0 -71
  688. package/dist/esm/ion-tab-button.entry.js +0 -99
  689. package/dist/esm/ion-tab.entry.js +0 -55
  690. package/dist/esm/ion-tabs.entry.js +0 -150
  691. package/dist/esm/ion-thumbnail.entry.js +0 -16
  692. package/dist/esm/ion-toast.entry.js +0 -268
  693. package/dist/esm/ion-toggle.entry.js +0 -173
  694. package/dist/esm/ion-virtual-scroll.entry.js +0 -551
  695. package/dist/esm/ionic-global-4903e23e.js +0 -226
  696. package/dist/esm/ios.transition-131d64fe.js +0 -479
  697. package/dist/esm/loader.js +0 -20
  698. package/dist/esm/md.transition-f6126011.js +0 -55
  699. package/dist/esm/media.service-6e90bc41.js +0 -37
  700. package/dist/esm/menu-toggle-util-bace8ae6.js +0 -12
  701. package/dist/esm/overlays-4233a39d.js +0 -491
  702. package/dist/esm/parse-1ae3a9bb.js +0 -1196
  703. package/dist/esm/polyfills/core-js.js +0 -11
  704. package/dist/esm/polyfills/css-shim.js +0 -1
  705. package/dist/esm/polyfills/dom.js +0 -79
  706. package/dist/esm/polyfills/es5-html-element.js +0 -1
  707. package/dist/esm/polyfills/index.js +0 -34
  708. package/dist/esm/polyfills/system.js +0 -6
  709. package/dist/esm/purify-85bfcc69.js +0 -1466
  710. package/dist/esm/signalR.service-c33fba50.js +0 -2982
  711. package/dist/esm/sparkle-animation-player.entry.js +0 -511
  712. package/dist/esm/sparkle-assignment.entry.js +0 -106
  713. package/dist/esm/sparkle-character-intro.entry.js +0 -22
  714. package/dist/esm/sparkle-code.entry.js +0 -39
  715. package/dist/esm/sparkle-compass-post.entry.js +0 -129
  716. package/dist/esm/sparkle-compass.entry.js +0 -122
  717. package/dist/esm/sparkle-core.js +0 -20
  718. package/dist/esm/sparkle-discussion-questions_2.entry.js +0 -276
  719. package/dist/esm/sparkle-discussion.entry.js +0 -38
  720. package/dist/esm/sparkle-emoji.entry.js +0 -76
  721. package/dist/esm/sparkle-facilitator-notes-form.entry.js +0 -117
  722. package/dist/esm/sparkle-feed-post.entry.js +0 -112
  723. package/dist/esm/sparkle-feedback.entry.js +0 -97
  724. package/dist/esm/sparkle-file-upload.entry.js +0 -49
  725. package/dist/esm/sparkle-goal-form.entry.js +0 -175
  726. package/dist/esm/sparkle-gww-comment-list.entry.js +0 -22
  727. package/dist/esm/sparkle-gww-graph.entry.js +0 -15
  728. package/dist/esm/sparkle-input.entry.js +0 -52
  729. package/dist/esm/sparkle-intro.entry.js +0 -22
  730. package/dist/esm/sparkle-lower-content-nav.entry.js +0 -18
  731. package/dist/esm/sparkle-menu-collapsible.entry.js +0 -42
  732. package/dist/esm/sparkle-modal-image.entry.js +0 -30
  733. package/dist/esm/sparkle-notfound-page.entry.js +0 -21
  734. package/dist/esm/sparkle-overlay.entry.js +0 -88
  735. package/dist/esm/sparkle-poll.entry.js +0 -15
  736. package/dist/esm/sparkle-quiz-container.entry.js +0 -43
  737. package/dist/esm/sparkle-quiz-feedback_5.entry.js +0 -109
  738. package/dist/esm/sparkle-quiz-old.entry.js +0 -116
  739. package/dist/esm/sparkle-quiz.entry.js +0 -99
  740. package/dist/esm/sparkle-select.entry.js +0 -57
  741. package/dist/esm/sparkle-sidebar.entry.js +0 -39
  742. package/dist/esm/sparkle-tab.entry.js +0 -22
  743. package/dist/esm/sparkle-table-of-contents.entry.js +0 -67
  744. package/dist/esm/sparkle-tabs.entry.js +0 -62
  745. package/dist/esm/sparkle-video-player.entry.js +0 -18
  746. package/dist/esm/sparkle-youtube.entry.js +0 -35
  747. package/dist/esm/status-tap-dde52787.js +0 -40
  748. package/dist/esm/stencil-async-content.entry.js +0 -28
  749. package/dist/esm/stencil-route-title.entry.js +0 -28
  750. package/dist/esm/stencil-router-prompt.entry.js +0 -55
  751. package/dist/esm/student.service-08af124f.js +0 -75
  752. package/dist/esm/swipe-back-7847a0c1.js +0 -74
  753. package/dist/esm/swiper.bundle-b6a959de.js +0 -6418
  754. package/dist/esm/token.service-71a5d33f.js +0 -94
  755. package/dist/esm/util-57cc8006.js +0 -2451
  756. package/dist/index.cjs.js +0 -1
  757. package/dist/index.js +0 -1
  758. package/dist/loader/cdn.js +0 -3
  759. package/dist/loader/index.cjs.js +0 -3
  760. package/dist/loader/index.d.ts +0 -12
  761. package/dist/loader/index.es2017.js +0 -3
  762. package/dist/loader/index.js +0 -4
  763. package/dist/loader/package.json +0 -10
  764. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +0 -75
  765. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +0 -72
  766. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +0 -25
  767. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +0 -59
  768. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +0 -357
  769. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +0 -290
  770. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +0 -494
  771. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +0 -502
  772. package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +0 -17
  773. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +0 -22
  774. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +0 -22
  775. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +0 -281
  776. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +0 -309
  777. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +0 -26
  778. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +0 -26
  779. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +0 -58
  780. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +0 -62
  781. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +0 -234
  782. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +0 -237
  783. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -38
  784. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -37
  785. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +0 -439
  786. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +0 -428
  787. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +0 -128
  788. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +0 -151
  789. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +0 -101
  790. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +0 -95
  791. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +0 -61
  792. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +0 -63
  793. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +0 -37
  794. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +0 -35
  795. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -28
  796. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -26
  797. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +0 -27
  798. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +0 -27
  799. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +0 -169
  800. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +0 -172
  801. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.ios.css +0 -200
  802. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.md.css +0 -200
  803. package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +0 -108
  804. package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +0 -237
  805. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +0 -648
  806. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +0 -637
  807. package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +0 -60
  808. package/dist/node_modules/@ionic/core/dist/collection/components/fab/fab.css +0 -61
  809. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +0 -338
  810. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +0 -307
  811. package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +0 -116
  812. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +0 -37
  813. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +0 -37
  814. package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +0 -151
  815. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +0 -108
  816. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +0 -40
  817. package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +0 -12
  818. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +0 -8
  819. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -54
  820. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -54
  821. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +0 -185
  822. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +0 -185
  823. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +0 -669
  824. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +0 -928
  825. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +0 -204
  826. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +0 -297
  827. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +0 -3
  828. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +0 -3
  829. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +0 -186
  830. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +0 -180
  831. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +0 -88
  832. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +0 -85
  833. package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +0 -42
  834. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +0 -156
  835. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +0 -250
  836. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +0 -91
  837. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +0 -114
  838. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +0 -118
  839. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +0 -94
  840. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +0 -109
  841. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +0 -100
  842. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +0 -127
  843. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +0 -123
  844. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +0 -175
  845. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +0 -178
  846. package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +0 -3
  847. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +0 -250
  848. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +0 -177
  849. package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +0 -10
  850. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +0 -16
  851. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +0 -17
  852. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +0 -217
  853. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +0 -204
  854. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +0 -122
  855. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +0 -123
  856. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +0 -82
  857. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +0 -85
  858. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +0 -126
  859. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +0 -122
  860. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +0 -201
  861. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +0 -132
  862. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +0 -206
  863. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +0 -206
  864. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +0 -177
  865. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +0 -178
  866. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +0 -275
  867. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +0 -320
  868. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +0 -189
  869. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +0 -210
  870. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +0 -15
  871. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +0 -15
  872. package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +0 -33
  873. package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +0 -58
  874. package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +0 -29
  875. package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/route-outlet.css +0 -10
  876. package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +0 -4
  877. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +0 -348
  878. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +0 -279
  879. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +0 -65
  880. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +0 -36
  881. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +0 -446
  882. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +0 -424
  883. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +0 -145
  884. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +0 -177
  885. package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +0 -3
  886. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.ios.css +0 -14
  887. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +0 -37
  888. package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +0 -53
  889. package/dist/node_modules/@ionic/core/dist/collection/components/slide/slide.css +0 -31
  890. package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.ios.css +0 -764
  891. package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.md.css +0 -764
  892. package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +0 -167
  893. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +0 -108
  894. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +0 -108
  895. package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +0 -4
  896. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +0 -97
  897. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +0 -82
  898. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +0 -308
  899. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +0 -331
  900. package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +0 -19
  901. package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +0 -3
  902. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +0 -175
  903. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +0 -179
  904. package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +0 -21
  905. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +0 -122
  906. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +0 -55
  907. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +0 -262
  908. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +0 -295
  909. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +0 -286
  910. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +0 -261
  911. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +0 -175
  912. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +0 -168
  913. package/dist/node_modules/@ionic/core/dist/collection/components/virtual-scroll/virtual-scroll.css +0 -21
  914. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/button/button.css +0 -49
  915. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/card/card.css +0 -208
  916. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/cards.css +0 -31
  917. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/code/code.css +0 -245
  918. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/dropdown/dropdown.css +0 -115
  919. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header-mobile-collapse/header-mobile-collapse.css +0 -255
  920. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header.css +0 -232
  921. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/collapsible/collapsible.css +0 -3
  922. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu-toggle/menu-toggle.css +0 -25
  923. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu.css +0 -71
  924. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/nav/nav.css +0 -194
  925. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/notfound-page/notfound-page.css +0 -4
  926. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/overlay/overlay.css +0 -67
  927. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/page-footer/page-footer.css +0 -25
  928. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/pagination/pagination.css +0 -93
  929. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/select/select.css +0 -52
  930. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sidebar/sidebar.css +0 -98
  931. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sparkle-lower-content-nav/sparkle-lower-content-nav.css +0 -8
  932. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/table-of-contents/table-of-contents.css +0 -37
  933. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/tabs/tabs.css +0 -64
  934. package/dist/node_modules/@stencil/router/dist/collection/components/route/route.css +0 -3
  935. package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +0 -101
  936. package/dist/sparkle-core/p-00d10dc9.js +0 -4
  937. package/dist/sparkle-core/p-0147266a.js +0 -1
  938. package/dist/sparkle-core/p-04c7b276.entry.js +0 -1
  939. package/dist/sparkle-core/p-05c032dd.js +0 -4
  940. package/dist/sparkle-core/p-06642405.entry.js +0 -1
  941. package/dist/sparkle-core/p-0664370b.entry.js +0 -1
  942. package/dist/sparkle-core/p-06c7d0f2.entry.js +0 -1
  943. package/dist/sparkle-core/p-076f0239.js +0 -4
  944. package/dist/sparkle-core/p-077c732b.js +0 -4
  945. package/dist/sparkle-core/p-08420531.entry.js +0 -1
  946. package/dist/sparkle-core/p-08cca80d.entry.js +0 -1
  947. package/dist/sparkle-core/p-0ad5c123.entry.js +0 -1
  948. package/dist/sparkle-core/p-0afa3a4d.entry.js +0 -1
  949. package/dist/sparkle-core/p-0c3f3ea6.entry.js +0 -1
  950. package/dist/sparkle-core/p-0e4de1d0.js +0 -4
  951. package/dist/sparkle-core/p-0e8e539f.entry.js +0 -1
  952. package/dist/sparkle-core/p-11356b03.entry.js +0 -1
  953. package/dist/sparkle-core/p-11a6c175.entry.js +0 -1
  954. package/dist/sparkle-core/p-12dd96d7.js +0 -4
  955. package/dist/sparkle-core/p-13ec39db.entry.js +0 -1
  956. package/dist/sparkle-core/p-1adc98f6.js +0 -1
  957. package/dist/sparkle-core/p-1b1ba156.entry.js +0 -1
  958. package/dist/sparkle-core/p-1e125ca5.entry.js +0 -1
  959. package/dist/sparkle-core/p-1e4782af.entry.js +0 -1
  960. package/dist/sparkle-core/p-2033cd86.js +0 -7
  961. package/dist/sparkle-core/p-214d1229.entry.js +0 -1
  962. package/dist/sparkle-core/p-23aca7ca.js +0 -4
  963. package/dist/sparkle-core/p-24cb9a33.entry.js +0 -1
  964. package/dist/sparkle-core/p-27fbabc3.entry.js +0 -1
  965. package/dist/sparkle-core/p-2ba70507.entry.js +0 -1
  966. package/dist/sparkle-core/p-2c1ca854.entry.js +0 -1
  967. package/dist/sparkle-core/p-2d9659e2.entry.js +0 -1
  968. package/dist/sparkle-core/p-2f569553.js +0 -1
  969. package/dist/sparkle-core/p-30b810d1.entry.js +0 -4
  970. package/dist/sparkle-core/p-32f4e565.entry.js +0 -1
  971. package/dist/sparkle-core/p-352677e6.entry.js +0 -1
  972. package/dist/sparkle-core/p-38b7cf68.entry.js +0 -1
  973. package/dist/sparkle-core/p-38c842d5.entry.js +0 -1
  974. package/dist/sparkle-core/p-3963e02b.entry.js +0 -1
  975. package/dist/sparkle-core/p-39712c56.entry.js +0 -4
  976. package/dist/sparkle-core/p-39a31e43.js +0 -1
  977. package/dist/sparkle-core/p-3daf2915.entry.js +0 -352
  978. package/dist/sparkle-core/p-3de0e00c.js +0 -4
  979. package/dist/sparkle-core/p-4053ecdb.entry.js +0 -1
  980. package/dist/sparkle-core/p-408176ba.js +0 -1
  981. package/dist/sparkle-core/p-42ed7d5f.entry.js +0 -1
  982. package/dist/sparkle-core/p-48f72e63.js +0 -4
  983. package/dist/sparkle-core/p-4b4a8703.js +0 -1
  984. package/dist/sparkle-core/p-4c6a7e52.js +0 -1
  985. package/dist/sparkle-core/p-4d1cfcbe.entry.js +0 -1
  986. package/dist/sparkle-core/p-4d4077ea.js +0 -4
  987. package/dist/sparkle-core/p-4fba3e4c.js +0 -1
  988. package/dist/sparkle-core/p-506221fe.js +0 -4
  989. package/dist/sparkle-core/p-5096739e.entry.js +0 -1
  990. package/dist/sparkle-core/p-5322c920.entry.js +0 -1
  991. package/dist/sparkle-core/p-5893bbe5.entry.js +0 -1
  992. package/dist/sparkle-core/p-594a6982.entry.js +0 -1
  993. package/dist/sparkle-core/p-5c435d5a.entry.js +0 -1
  994. package/dist/sparkle-core/p-5cad23f1.js +0 -3
  995. package/dist/sparkle-core/p-5d409601.js +0 -1
  996. package/dist/sparkle-core/p-601397df.entry.js +0 -1
  997. package/dist/sparkle-core/p-604a7987.js +0 -4
  998. package/dist/sparkle-core/p-616941c6.entry.js +0 -1
  999. package/dist/sparkle-core/p-6316d124.entry.js +0 -1
  1000. package/dist/sparkle-core/p-63f71ada.entry.js +0 -1
  1001. package/dist/sparkle-core/p-69487d90.entry.js +0 -1
  1002. package/dist/sparkle-core/p-6bde0192.entry.js +0 -7
  1003. package/dist/sparkle-core/p-6d2f4093.entry.js +0 -7
  1004. package/dist/sparkle-core/p-6ffd2420.entry.js +0 -1
  1005. package/dist/sparkle-core/p-72053ae0.entry.js +0 -1
  1006. package/dist/sparkle-core/p-73721c84.js +0 -4
  1007. package/dist/sparkle-core/p-74864276.entry.js +0 -1
  1008. package/dist/sparkle-core/p-7d8427eb.js +0 -4
  1009. package/dist/sparkle-core/p-7dae0f0e.js +0 -1
  1010. package/dist/sparkle-core/p-7dbfc316.js +0 -1
  1011. package/dist/sparkle-core/p-7e7ce516.js +0 -4
  1012. package/dist/sparkle-core/p-81714d94.entry.js +0 -1
  1013. package/dist/sparkle-core/p-8492a765.entry.js +0 -1
  1014. package/dist/sparkle-core/p-859563db.entry.js +0 -1
  1015. package/dist/sparkle-core/p-85d4cd5c.entry.js +0 -1
  1016. package/dist/sparkle-core/p-865f36a8.entry.js +0 -1
  1017. package/dist/sparkle-core/p-86ed13f0.js +0 -5
  1018. package/dist/sparkle-core/p-871106e0.js +0 -4
  1019. package/dist/sparkle-core/p-894ff7e6.entry.js +0 -1
  1020. package/dist/sparkle-core/p-8a41b502.entry.js +0 -1
  1021. package/dist/sparkle-core/p-8b56f734.js +0 -1
  1022. package/dist/sparkle-core/p-8c74cbb6.entry.js +0 -1
  1023. package/dist/sparkle-core/p-924b2917.js +0 -4
  1024. package/dist/sparkle-core/p-9289cdbc.entry.js +0 -1
  1025. package/dist/sparkle-core/p-957715c5.entry.js +0 -1
  1026. package/dist/sparkle-core/p-973fe404.entry.js +0 -22
  1027. package/dist/sparkle-core/p-975b99ee.entry.js +0 -1
  1028. package/dist/sparkle-core/p-98daeddb.entry.js +0 -1
  1029. package/dist/sparkle-core/p-99ee9919.js +0 -1
  1030. package/dist/sparkle-core/p-9abbd715.entry.js +0 -1
  1031. package/dist/sparkle-core/p-9d894ed4.js +0 -4
  1032. package/dist/sparkle-core/p-9e309b3e.entry.js +0 -1
  1033. package/dist/sparkle-core/p-9e7fee8f.entry.js +0 -1
  1034. package/dist/sparkle-core/p-9ebf0537.entry.js +0 -1
  1035. package/dist/sparkle-core/p-a208ab2d.js +0 -4
  1036. package/dist/sparkle-core/p-a2638250.entry.js +0 -1
  1037. package/dist/sparkle-core/p-a2ebcf0a.entry.js +0 -1
  1038. package/dist/sparkle-core/p-a98d7ebe.entry.js +0 -1
  1039. package/dist/sparkle-core/p-add30d46.js +0 -4
  1040. package/dist/sparkle-core/p-b0603d19.js +0 -16
  1041. package/dist/sparkle-core/p-b06e2bef.js +0 -1
  1042. package/dist/sparkle-core/p-b3f375fb.entry.js +0 -1
  1043. package/dist/sparkle-core/p-b5f3e1bf.entry.js +0 -1
  1044. package/dist/sparkle-core/p-b6fec622.entry.js +0 -1
  1045. package/dist/sparkle-core/p-b8d71ff4.js +0 -1
  1046. package/dist/sparkle-core/p-b96f3c84.entry.js +0 -7
  1047. package/dist/sparkle-core/p-bd80ff43.js +0 -4
  1048. package/dist/sparkle-core/p-bd90903e.js +0 -1
  1049. package/dist/sparkle-core/p-be64105c.entry.js +0 -1
  1050. package/dist/sparkle-core/p-c0533c23.entry.js +0 -1
  1051. package/dist/sparkle-core/p-c2990b24.entry.js +0 -1
  1052. package/dist/sparkle-core/p-c3cadfc6.entry.js +0 -1
  1053. package/dist/sparkle-core/p-c60b29bd.entry.js +0 -4
  1054. package/dist/sparkle-core/p-c64a34cd.entry.js +0 -1
  1055. package/dist/sparkle-core/p-c7e21070.entry.js +0 -1
  1056. package/dist/sparkle-core/p-c9f753a4.js +0 -1
  1057. package/dist/sparkle-core/p-cabe9139.js +0 -1
  1058. package/dist/sparkle-core/p-cabfbf22.entry.js +0 -1
  1059. package/dist/sparkle-core/p-cc518c36.entry.js +0 -1
  1060. package/dist/sparkle-core/p-cffd4817.entry.js +0 -1
  1061. package/dist/sparkle-core/p-d0adf726.entry.js +0 -1
  1062. package/dist/sparkle-core/p-d20e4fcf.entry.js +0 -1
  1063. package/dist/sparkle-core/p-d24e53ab.entry.js +0 -1
  1064. package/dist/sparkle-core/p-d288e6c1.entry.js +0 -1
  1065. package/dist/sparkle-core/p-d601810e.entry.js +0 -1
  1066. package/dist/sparkle-core/p-d68092b7.js +0 -4
  1067. package/dist/sparkle-core/p-da391f3f.js +0 -1
  1068. package/dist/sparkle-core/p-de4deb61.entry.js +0 -1
  1069. package/dist/sparkle-core/p-e0cad1bb.js +0 -1
  1070. package/dist/sparkle-core/p-e249aebf.entry.js +0 -1
  1071. package/dist/sparkle-core/p-e3e36ce9.entry.js +0 -1
  1072. package/dist/sparkle-core/p-e421d638.entry.js +0 -1
  1073. package/dist/sparkle-core/p-e686d8b5.entry.js +0 -4
  1074. package/dist/sparkle-core/p-e8988989.entry.js +0 -1
  1075. package/dist/sparkle-core/p-e9431eeb.js +0 -7
  1076. package/dist/sparkle-core/p-ea962e1b.entry.js +0 -1
  1077. package/dist/sparkle-core/p-eaa8bbee.js +0 -4
  1078. package/dist/sparkle-core/p-ebd4354b.entry.js +0 -1
  1079. package/dist/sparkle-core/p-ee1e0eb4.js +0 -2
  1080. package/dist/sparkle-core/p-ef4edc48.entry.js +0 -4
  1081. package/dist/sparkle-core/p-f196c124.entry.js +0 -7
  1082. package/dist/sparkle-core/p-f3cba72a.js +0 -4
  1083. package/dist/sparkle-core/p-f47fe1fe.entry.js +0 -1
  1084. package/dist/sparkle-core/p-f714f77a.entry.js +0 -1
  1085. package/dist/sparkle-core/p-f891c79a.entry.js +0 -1
  1086. package/dist/sparkle-core/p-fb0ca75e.entry.js +0 -5
  1087. package/dist/sparkle-core/p-fb757951.entry.js +0 -1
  1088. package/dist/sparkle-core/p-fd8d0738.entry.js +0 -4
  1089. package/dist/sparkle-core/p-fda95b6e.entry.js +0 -1
  1090. package/dist/sparkle-core/p-fe6dc976.entry.js +0 -1
  1091. package/dist/sparkle-core/p-ff080f82.entry.js +0 -10
  1092. package/dist/sparkle-core/p-ff7a8a71.js +0 -4
  1093. /package/dist/{esm → sparkle-core}/cubic-bezier-4c0db14f.js +0 -0
  1094. /package/dist/{esm → sparkle-core}/focus-visible-4e9a0764.js +0 -0
  1095. /package/dist/{esm → sparkle-core}/hardware-back-button-fa04d6e9.js +0 -0
  1096. /package/dist/{esm → sparkle-core}/index-be6112f8.js +0 -0
  1097. /package/dist/{esm → sparkle-core}/keyboard-7e8329b3.js +0 -0
  1098. /package/dist/{esm → sparkle-core}/localstorage.service-4bf408c8.js +0 -0
  1099. /package/dist/{esm → sparkle-core}/spinner-configs-a37e628a.js +0 -0
  1100. /package/dist/{esm → sparkle-core}/theme-7ef00c83.js +0 -0
@@ -1,3392 +0,0 @@
1
- 'use strict';
2
-
3
- const index = require('./index-51e8292e.js');
4
-
5
- var bind = function bind(fn, thisArg) {
6
- return function wrap() {
7
- var args = new Array(arguments.length);
8
- for (var i = 0; i < args.length; i++) {
9
- args[i] = arguments[i];
10
- }
11
- return fn.apply(thisArg, args);
12
- };
13
- };
14
-
15
- // utils is a library of generic helper functions non-specific to axios
16
-
17
- var toString = Object.prototype.toString;
18
-
19
- /**
20
- * Determine if a value is an Array
21
- *
22
- * @param {Object} val The value to test
23
- * @returns {boolean} True if value is an Array, otherwise false
24
- */
25
- function isArray$2(val) {
26
- return Array.isArray(val);
27
- }
28
-
29
- /**
30
- * Determine if a value is undefined
31
- *
32
- * @param {Object} val The value to test
33
- * @returns {boolean} True if the value is undefined, otherwise false
34
- */
35
- function isUndefined(val) {
36
- return typeof val === 'undefined';
37
- }
38
-
39
- /**
40
- * Determine if a value is a Buffer
41
- *
42
- * @param {Object} val The value to test
43
- * @returns {boolean} True if value is a Buffer, otherwise false
44
- */
45
- function isBuffer$1(val) {
46
- return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
47
- && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);
48
- }
49
-
50
- /**
51
- * Determine if a value is an ArrayBuffer
52
- *
53
- * @param {Object} val The value to test
54
- * @returns {boolean} True if value is an ArrayBuffer, otherwise false
55
- */
56
- function isArrayBuffer(val) {
57
- return toString.call(val) === '[object ArrayBuffer]';
58
- }
59
-
60
- /**
61
- * Determine if a value is a FormData
62
- *
63
- * @param {Object} val The value to test
64
- * @returns {boolean} True if value is an FormData, otherwise false
65
- */
66
- function isFormData(val) {
67
- return toString.call(val) === '[object FormData]';
68
- }
69
-
70
- /**
71
- * Determine if a value is a view on an ArrayBuffer
72
- *
73
- * @param {Object} val The value to test
74
- * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
75
- */
76
- function isArrayBufferView(val) {
77
- var result;
78
- if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
79
- result = ArrayBuffer.isView(val);
80
- } else {
81
- result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));
82
- }
83
- return result;
84
- }
85
-
86
- /**
87
- * Determine if a value is a String
88
- *
89
- * @param {Object} val The value to test
90
- * @returns {boolean} True if value is a String, otherwise false
91
- */
92
- function isString$1(val) {
93
- return typeof val === 'string';
94
- }
95
-
96
- /**
97
- * Determine if a value is a Number
98
- *
99
- * @param {Object} val The value to test
100
- * @returns {boolean} True if value is a Number, otherwise false
101
- */
102
- function isNumber$1(val) {
103
- return typeof val === 'number';
104
- }
105
-
106
- /**
107
- * Determine if a value is an Object
108
- *
109
- * @param {Object} val The value to test
110
- * @returns {boolean} True if value is an Object, otherwise false
111
- */
112
- function isObject(val) {
113
- return val !== null && typeof val === 'object';
114
- }
115
-
116
- /**
117
- * Determine if a value is a plain Object
118
- *
119
- * @param {Object} val The value to test
120
- * @return {boolean} True if value is a plain Object, otherwise false
121
- */
122
- function isPlainObject(val) {
123
- if (toString.call(val) !== '[object Object]') {
124
- return false;
125
- }
126
-
127
- var prototype = Object.getPrototypeOf(val);
128
- return prototype === null || prototype === Object.prototype;
129
- }
130
-
131
- /**
132
- * Determine if a value is a Date
133
- *
134
- * @param {Object} val The value to test
135
- * @returns {boolean} True if value is a Date, otherwise false
136
- */
137
- function isDate$1(val) {
138
- return toString.call(val) === '[object Date]';
139
- }
140
-
141
- /**
142
- * Determine if a value is a File
143
- *
144
- * @param {Object} val The value to test
145
- * @returns {boolean} True if value is a File, otherwise false
146
- */
147
- function isFile(val) {
148
- return toString.call(val) === '[object File]';
149
- }
150
-
151
- /**
152
- * Determine if a value is a Blob
153
- *
154
- * @param {Object} val The value to test
155
- * @returns {boolean} True if value is a Blob, otherwise false
156
- */
157
- function isBlob(val) {
158
- return toString.call(val) === '[object Blob]';
159
- }
160
-
161
- /**
162
- * Determine if a value is a Function
163
- *
164
- * @param {Object} val The value to test
165
- * @returns {boolean} True if value is a Function, otherwise false
166
- */
167
- function isFunction(val) {
168
- return toString.call(val) === '[object Function]';
169
- }
170
-
171
- /**
172
- * Determine if a value is a Stream
173
- *
174
- * @param {Object} val The value to test
175
- * @returns {boolean} True if value is a Stream, otherwise false
176
- */
177
- function isStream(val) {
178
- return isObject(val) && isFunction(val.pipe);
179
- }
180
-
181
- /**
182
- * Determine if a value is a URLSearchParams object
183
- *
184
- * @param {Object} val The value to test
185
- * @returns {boolean} True if value is a URLSearchParams object, otherwise false
186
- */
187
- function isURLSearchParams(val) {
188
- return toString.call(val) === '[object URLSearchParams]';
189
- }
190
-
191
- /**
192
- * Trim excess whitespace off the beginning and end of a string
193
- *
194
- * @param {String} str The String to trim
195
- * @returns {String} The String freed of excess whitespace
196
- */
197
- function trim(str) {
198
- return str.trim ? str.trim() : str.replace(/^\s+|\s+$/g, '');
199
- }
200
-
201
- /**
202
- * Determine if we're running in a standard browser environment
203
- *
204
- * This allows axios to run in a web worker, and react-native.
205
- * Both environments support XMLHttpRequest, but not fully standard globals.
206
- *
207
- * web workers:
208
- * typeof window -> undefined
209
- * typeof document -> undefined
210
- *
211
- * react-native:
212
- * navigator.product -> 'ReactNative'
213
- * nativescript
214
- * navigator.product -> 'NativeScript' or 'NS'
215
- */
216
- function isStandardBrowserEnv() {
217
- if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||
218
- navigator.product === 'NativeScript' ||
219
- navigator.product === 'NS')) {
220
- return false;
221
- }
222
- return (
223
- typeof window !== 'undefined' &&
224
- typeof document !== 'undefined'
225
- );
226
- }
227
-
228
- /**
229
- * Iterate over an Array or an Object invoking a function for each item.
230
- *
231
- * If `obj` is an Array callback will be called passing
232
- * the value, index, and complete array for each item.
233
- *
234
- * If 'obj' is an Object callback will be called passing
235
- * the value, key, and complete object for each property.
236
- *
237
- * @param {Object|Array} obj The object to iterate
238
- * @param {Function} fn The callback to invoke for each item
239
- */
240
- function forEach(obj, fn) {
241
- // Don't bother if no value provided
242
- if (obj === null || typeof obj === 'undefined') {
243
- return;
244
- }
245
-
246
- // Force an array if not already something iterable
247
- if (typeof obj !== 'object') {
248
- /*eslint no-param-reassign:0*/
249
- obj = [obj];
250
- }
251
-
252
- if (isArray$2(obj)) {
253
- // Iterate over array values
254
- for (var i = 0, l = obj.length; i < l; i++) {
255
- fn.call(null, obj[i], i, obj);
256
- }
257
- } else {
258
- // Iterate over object keys
259
- for (var key in obj) {
260
- if (Object.prototype.hasOwnProperty.call(obj, key)) {
261
- fn.call(null, obj[key], key, obj);
262
- }
263
- }
264
- }
265
- }
266
-
267
- /**
268
- * Accepts varargs expecting each argument to be an object, then
269
- * immutably merges the properties of each object and returns result.
270
- *
271
- * When multiple objects contain the same key the later object in
272
- * the arguments list will take precedence.
273
- *
274
- * Example:
275
- *
276
- * ```js
277
- * var result = merge({foo: 123}, {foo: 456});
278
- * console.log(result.foo); // outputs 456
279
- * ```
280
- *
281
- * @param {Object} obj1 Object to merge
282
- * @returns {Object} Result of all merge properties
283
- */
284
- function merge$1(/* obj1, obj2, obj3, ... */) {
285
- var result = {};
286
- function assignValue(val, key) {
287
- if (isPlainObject(result[key]) && isPlainObject(val)) {
288
- result[key] = merge$1(result[key], val);
289
- } else if (isPlainObject(val)) {
290
- result[key] = merge$1({}, val);
291
- } else if (isArray$2(val)) {
292
- result[key] = val.slice();
293
- } else {
294
- result[key] = val;
295
- }
296
- }
297
-
298
- for (var i = 0, l = arguments.length; i < l; i++) {
299
- forEach(arguments[i], assignValue);
300
- }
301
- return result;
302
- }
303
-
304
- /**
305
- * Extends object a by mutably adding to it the properties of object b.
306
- *
307
- * @param {Object} a The object to be extended
308
- * @param {Object} b The object to copy properties from
309
- * @param {Object} thisArg The object to bind function to
310
- * @return {Object} The resulting value of object a
311
- */
312
- function extend(a, b, thisArg) {
313
- forEach(b, function assignValue(val, key) {
314
- if (thisArg && typeof val === 'function') {
315
- a[key] = bind(val, thisArg);
316
- } else {
317
- a[key] = val;
318
- }
319
- });
320
- return a;
321
- }
322
-
323
- /**
324
- * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
325
- *
326
- * @param {string} content with BOM
327
- * @return {string} content value without BOM
328
- */
329
- function stripBOM(content) {
330
- if (content.charCodeAt(0) === 0xFEFF) {
331
- content = content.slice(1);
332
- }
333
- return content;
334
- }
335
-
336
- var utils$1 = {
337
- isArray: isArray$2,
338
- isArrayBuffer: isArrayBuffer,
339
- isBuffer: isBuffer$1,
340
- isFormData: isFormData,
341
- isArrayBufferView: isArrayBufferView,
342
- isString: isString$1,
343
- isNumber: isNumber$1,
344
- isObject: isObject,
345
- isPlainObject: isPlainObject,
346
- isUndefined: isUndefined,
347
- isDate: isDate$1,
348
- isFile: isFile,
349
- isBlob: isBlob,
350
- isFunction: isFunction,
351
- isStream: isStream,
352
- isURLSearchParams: isURLSearchParams,
353
- isStandardBrowserEnv: isStandardBrowserEnv,
354
- forEach: forEach,
355
- merge: merge$1,
356
- extend: extend,
357
- trim: trim,
358
- stripBOM: stripBOM
359
- };
360
-
361
- function encode$1(val) {
362
- return encodeURIComponent(val).
363
- replace(/%3A/gi, ':').
364
- replace(/%24/g, '$').
365
- replace(/%2C/gi, ',').
366
- replace(/%20/g, '+').
367
- replace(/%5B/gi, '[').
368
- replace(/%5D/gi, ']');
369
- }
370
-
371
- /**
372
- * Build a URL by appending params to the end
373
- *
374
- * @param {string} url The base of the url (e.g., http://www.google.com)
375
- * @param {object} [params] The params to be appended
376
- * @returns {string} The formatted url
377
- */
378
- var buildURL = function buildURL(url, params, paramsSerializer) {
379
- /*eslint no-param-reassign:0*/
380
- if (!params) {
381
- return url;
382
- }
383
-
384
- var serializedParams;
385
- if (paramsSerializer) {
386
- serializedParams = paramsSerializer(params);
387
- } else if (utils$1.isURLSearchParams(params)) {
388
- serializedParams = params.toString();
389
- } else {
390
- var parts = [];
391
-
392
- utils$1.forEach(params, function serialize(val, key) {
393
- if (val === null || typeof val === 'undefined') {
394
- return;
395
- }
396
-
397
- if (utils$1.isArray(val)) {
398
- key = key + '[]';
399
- } else {
400
- val = [val];
401
- }
402
-
403
- utils$1.forEach(val, function parseValue(v) {
404
- if (utils$1.isDate(v)) {
405
- v = v.toISOString();
406
- } else if (utils$1.isObject(v)) {
407
- v = JSON.stringify(v);
408
- }
409
- parts.push(encode$1(key) + '=' + encode$1(v));
410
- });
411
- });
412
-
413
- serializedParams = parts.join('&');
414
- }
415
-
416
- if (serializedParams) {
417
- var hashmarkIndex = url.indexOf('#');
418
- if (hashmarkIndex !== -1) {
419
- url = url.slice(0, hashmarkIndex);
420
- }
421
-
422
- url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
423
- }
424
-
425
- return url;
426
- };
427
-
428
- function InterceptorManager() {
429
- this.handlers = [];
430
- }
431
-
432
- /**
433
- * Add a new interceptor to the stack
434
- *
435
- * @param {Function} fulfilled The function to handle `then` for a `Promise`
436
- * @param {Function} rejected The function to handle `reject` for a `Promise`
437
- *
438
- * @return {Number} An ID used to remove interceptor later
439
- */
440
- InterceptorManager.prototype.use = function use(fulfilled, rejected, options) {
441
- this.handlers.push({
442
- fulfilled: fulfilled,
443
- rejected: rejected,
444
- synchronous: options ? options.synchronous : false,
445
- runWhen: options ? options.runWhen : null
446
- });
447
- return this.handlers.length - 1;
448
- };
449
-
450
- /**
451
- * Remove an interceptor from the stack
452
- *
453
- * @param {Number} id The ID that was returned by `use`
454
- */
455
- InterceptorManager.prototype.eject = function eject(id) {
456
- if (this.handlers[id]) {
457
- this.handlers[id] = null;
458
- }
459
- };
460
-
461
- /**
462
- * Iterate over all the registered interceptors
463
- *
464
- * This method is particularly useful for skipping over any
465
- * interceptors that may have become `null` calling `eject`.
466
- *
467
- * @param {Function} fn The function to call for each interceptor
468
- */
469
- InterceptorManager.prototype.forEach = function forEach(fn) {
470
- utils$1.forEach(this.handlers, function forEachHandler(h) {
471
- if (h !== null) {
472
- fn(h);
473
- }
474
- });
475
- };
476
-
477
- var InterceptorManager_1 = InterceptorManager;
478
-
479
- var normalizeHeaderName = function normalizeHeaderName(headers, normalizedName) {
480
- utils$1.forEach(headers, function processHeader(value, name) {
481
- if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
482
- headers[normalizedName] = value;
483
- delete headers[name];
484
- }
485
- });
486
- };
487
-
488
- /**
489
- * Update an Error with the specified config, error code, and response.
490
- *
491
- * @param {Error} error The error to update.
492
- * @param {Object} config The config.
493
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
494
- * @param {Object} [request] The request.
495
- * @param {Object} [response] The response.
496
- * @returns {Error} The error.
497
- */
498
- var enhanceError = function enhanceError(error, config, code, request, response) {
499
- error.config = config;
500
- if (code) {
501
- error.code = code;
502
- }
503
-
504
- error.request = request;
505
- error.response = response;
506
- error.isAxiosError = true;
507
-
508
- error.toJSON = function toJSON() {
509
- return {
510
- // Standard
511
- message: this.message,
512
- name: this.name,
513
- // Microsoft
514
- description: this.description,
515
- number: this.number,
516
- // Mozilla
517
- fileName: this.fileName,
518
- lineNumber: this.lineNumber,
519
- columnNumber: this.columnNumber,
520
- stack: this.stack,
521
- // Axios
522
- config: this.config,
523
- code: this.code,
524
- status: this.response && this.response.status ? this.response.status : null
525
- };
526
- };
527
- return error;
528
- };
529
-
530
- var transitional = {
531
- silentJSONParsing: true,
532
- forcedJSONParsing: true,
533
- clarifyTimeoutError: false
534
- };
535
-
536
- /**
537
- * Create an Error with the specified message, config, error code, request and response.
538
- *
539
- * @param {string} message The error message.
540
- * @param {Object} config The config.
541
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
542
- * @param {Object} [request] The request.
543
- * @param {Object} [response] The response.
544
- * @returns {Error} The created error.
545
- */
546
- var createError = function createError(message, config, code, request, response) {
547
- var error = new Error(message);
548
- return enhanceError(error, config, code, request, response);
549
- };
550
-
551
- /**
552
- * Resolve or reject a Promise based on response status.
553
- *
554
- * @param {Function} resolve A function that resolves the promise.
555
- * @param {Function} reject A function that rejects the promise.
556
- * @param {object} response The response.
557
- */
558
- var settle = function settle(resolve, reject, response) {
559
- var validateStatus = response.config.validateStatus;
560
- if (!response.status || !validateStatus || validateStatus(response.status)) {
561
- resolve(response);
562
- } else {
563
- reject(createError(
564
- 'Request failed with status code ' + response.status,
565
- response.config,
566
- null,
567
- response.request,
568
- response
569
- ));
570
- }
571
- };
572
-
573
- var cookies = (
574
- utils$1.isStandardBrowserEnv() ?
575
-
576
- // Standard browser envs support document.cookie
577
- (function standardBrowserEnv() {
578
- return {
579
- write: function write(name, value, expires, path, domain, secure) {
580
- var cookie = [];
581
- cookie.push(name + '=' + encodeURIComponent(value));
582
-
583
- if (utils$1.isNumber(expires)) {
584
- cookie.push('expires=' + new Date(expires).toGMTString());
585
- }
586
-
587
- if (utils$1.isString(path)) {
588
- cookie.push('path=' + path);
589
- }
590
-
591
- if (utils$1.isString(domain)) {
592
- cookie.push('domain=' + domain);
593
- }
594
-
595
- if (secure === true) {
596
- cookie.push('secure');
597
- }
598
-
599
- document.cookie = cookie.join('; ');
600
- },
601
-
602
- read: function read(name) {
603
- var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
604
- return (match ? decodeURIComponent(match[3]) : null);
605
- },
606
-
607
- remove: function remove(name) {
608
- this.write(name, '', Date.now() - 86400000);
609
- }
610
- };
611
- })() :
612
-
613
- // Non standard browser env (web workers, react-native) lack needed support.
614
- (function nonStandardBrowserEnv() {
615
- return {
616
- write: function write() {},
617
- read: function read() { return null; },
618
- remove: function remove() {}
619
- };
620
- })()
621
- );
622
-
623
- /**
624
- * Determines whether the specified URL is absolute
625
- *
626
- * @param {string} url The URL to test
627
- * @returns {boolean} True if the specified URL is absolute, otherwise false
628
- */
629
- var isAbsoluteURL = function isAbsoluteURL(url) {
630
- // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
631
- // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
632
- // by any combination of letters, digits, plus, period, or hyphen.
633
- return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
634
- };
635
-
636
- /**
637
- * Creates a new URL by combining the specified URLs
638
- *
639
- * @param {string} baseURL The base URL
640
- * @param {string} relativeURL The relative URL
641
- * @returns {string} The combined URL
642
- */
643
- var combineURLs = function combineURLs(baseURL, relativeURL) {
644
- return relativeURL
645
- ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
646
- : baseURL;
647
- };
648
-
649
- /**
650
- * Creates a new URL by combining the baseURL with the requestedURL,
651
- * only when the requestedURL is not already an absolute URL.
652
- * If the requestURL is absolute, this function returns the requestedURL untouched.
653
- *
654
- * @param {string} baseURL The base URL
655
- * @param {string} requestedURL Absolute or relative URL to combine
656
- * @returns {string} The combined full path
657
- */
658
- var buildFullPath = function buildFullPath(baseURL, requestedURL) {
659
- if (baseURL && !isAbsoluteURL(requestedURL)) {
660
- return combineURLs(baseURL, requestedURL);
661
- }
662
- return requestedURL;
663
- };
664
-
665
- // Headers whose duplicates are ignored by node
666
- // c.f. https://nodejs.org/api/http.html#http_message_headers
667
- var ignoreDuplicateOf = [
668
- 'age', 'authorization', 'content-length', 'content-type', 'etag',
669
- 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
670
- 'last-modified', 'location', 'max-forwards', 'proxy-authorization',
671
- 'referer', 'retry-after', 'user-agent'
672
- ];
673
-
674
- /**
675
- * Parse headers into an object
676
- *
677
- * ```
678
- * Date: Wed, 27 Aug 2014 08:58:49 GMT
679
- * Content-Type: application/json
680
- * Connection: keep-alive
681
- * Transfer-Encoding: chunked
682
- * ```
683
- *
684
- * @param {String} headers Headers needing to be parsed
685
- * @returns {Object} Headers parsed into an object
686
- */
687
- var parseHeaders = function parseHeaders(headers) {
688
- var parsed = {};
689
- var key;
690
- var val;
691
- var i;
692
-
693
- if (!headers) { return parsed; }
694
-
695
- utils$1.forEach(headers.split('\n'), function parser(line) {
696
- i = line.indexOf(':');
697
- key = utils$1.trim(line.substr(0, i)).toLowerCase();
698
- val = utils$1.trim(line.substr(i + 1));
699
-
700
- if (key) {
701
- if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
702
- return;
703
- }
704
- if (key === 'set-cookie') {
705
- parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);
706
- } else {
707
- parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
708
- }
709
- }
710
- });
711
-
712
- return parsed;
713
- };
714
-
715
- var isURLSameOrigin = (
716
- utils$1.isStandardBrowserEnv() ?
717
-
718
- // Standard browser envs have full support of the APIs needed to test
719
- // whether the request URL is of the same origin as current location.
720
- (function standardBrowserEnv() {
721
- var msie = /(msie|trident)/i.test(navigator.userAgent);
722
- var urlParsingNode = document.createElement('a');
723
- var originURL;
724
-
725
- /**
726
- * Parse a URL to discover it's components
727
- *
728
- * @param {String} url The URL to be parsed
729
- * @returns {Object}
730
- */
731
- function resolveURL(url) {
732
- var href = url;
733
-
734
- if (msie) {
735
- // IE needs attribute set twice to normalize properties
736
- urlParsingNode.setAttribute('href', href);
737
- href = urlParsingNode.href;
738
- }
739
-
740
- urlParsingNode.setAttribute('href', href);
741
-
742
- // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
743
- return {
744
- href: urlParsingNode.href,
745
- protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
746
- host: urlParsingNode.host,
747
- search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
748
- hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
749
- hostname: urlParsingNode.hostname,
750
- port: urlParsingNode.port,
751
- pathname: (urlParsingNode.pathname.charAt(0) === '/') ?
752
- urlParsingNode.pathname :
753
- '/' + urlParsingNode.pathname
754
- };
755
- }
756
-
757
- originURL = resolveURL(window.location.href);
758
-
759
- /**
760
- * Determine if a URL shares the same origin as the current location
761
- *
762
- * @param {String} requestURL The URL to test
763
- * @returns {boolean} True if URL shares the same origin, otherwise false
764
- */
765
- return function isURLSameOrigin(requestURL) {
766
- var parsed = (utils$1.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
767
- return (parsed.protocol === originURL.protocol &&
768
- parsed.host === originURL.host);
769
- };
770
- })() :
771
-
772
- // Non standard browser envs (web workers, react-native) lack needed support.
773
- (function nonStandardBrowserEnv() {
774
- return function isURLSameOrigin() {
775
- return true;
776
- };
777
- })()
778
- );
779
-
780
- /**
781
- * A `Cancel` is an object that is thrown when an operation is canceled.
782
- *
783
- * @class
784
- * @param {string=} message The message.
785
- */
786
- function Cancel(message) {
787
- this.message = message;
788
- }
789
-
790
- Cancel.prototype.toString = function toString() {
791
- return 'Cancel' + (this.message ? ': ' + this.message : '');
792
- };
793
-
794
- Cancel.prototype.__CANCEL__ = true;
795
-
796
- var Cancel_1 = Cancel;
797
-
798
- var xhr = function xhrAdapter(config) {
799
- return new Promise(function dispatchXhrRequest(resolve, reject) {
800
- var requestData = config.data;
801
- var requestHeaders = config.headers;
802
- var responseType = config.responseType;
803
- var onCanceled;
804
- function done() {
805
- if (config.cancelToken) {
806
- config.cancelToken.unsubscribe(onCanceled);
807
- }
808
-
809
- if (config.signal) {
810
- config.signal.removeEventListener('abort', onCanceled);
811
- }
812
- }
813
-
814
- if (utils$1.isFormData(requestData)) {
815
- delete requestHeaders['Content-Type']; // Let the browser set it
816
- }
817
-
818
- var request = new XMLHttpRequest();
819
-
820
- // HTTP basic authentication
821
- if (config.auth) {
822
- var username = config.auth.username || '';
823
- var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
824
- requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
825
- }
826
-
827
- var fullPath = buildFullPath(config.baseURL, config.url);
828
- request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);
829
-
830
- // Set the request timeout in MS
831
- request.timeout = config.timeout;
832
-
833
- function onloadend() {
834
- if (!request) {
835
- return;
836
- }
837
- // Prepare the response
838
- var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;
839
- var responseData = !responseType || responseType === 'text' || responseType === 'json' ?
840
- request.responseText : request.response;
841
- var response = {
842
- data: responseData,
843
- status: request.status,
844
- statusText: request.statusText,
845
- headers: responseHeaders,
846
- config: config,
847
- request: request
848
- };
849
-
850
- settle(function _resolve(value) {
851
- resolve(value);
852
- done();
853
- }, function _reject(err) {
854
- reject(err);
855
- done();
856
- }, response);
857
-
858
- // Clean up request
859
- request = null;
860
- }
861
-
862
- if ('onloadend' in request) {
863
- // Use onloadend if available
864
- request.onloadend = onloadend;
865
- } else {
866
- // Listen for ready state to emulate onloadend
867
- request.onreadystatechange = function handleLoad() {
868
- if (!request || request.readyState !== 4) {
869
- return;
870
- }
871
-
872
- // The request errored out and we didn't get a response, this will be
873
- // handled by onerror instead
874
- // With one exception: request that using file: protocol, most browsers
875
- // will return status as 0 even though it's a successful request
876
- if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
877
- return;
878
- }
879
- // readystate handler is calling before onerror or ontimeout handlers,
880
- // so we should call onloadend on the next 'tick'
881
- setTimeout(onloadend);
882
- };
883
- }
884
-
885
- // Handle browser request cancellation (as opposed to a manual cancellation)
886
- request.onabort = function handleAbort() {
887
- if (!request) {
888
- return;
889
- }
890
-
891
- reject(createError('Request aborted', config, 'ECONNABORTED', request));
892
-
893
- // Clean up request
894
- request = null;
895
- };
896
-
897
- // Handle low level network errors
898
- request.onerror = function handleError() {
899
- // Real errors are hidden from us by the browser
900
- // onerror should only fire if it's a network error
901
- reject(createError('Network Error', config, null, request));
902
-
903
- // Clean up request
904
- request = null;
905
- };
906
-
907
- // Handle timeout
908
- request.ontimeout = function handleTimeout() {
909
- var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
910
- var transitional$1 = config.transitional || transitional;
911
- if (config.timeoutErrorMessage) {
912
- timeoutErrorMessage = config.timeoutErrorMessage;
913
- }
914
- reject(createError(
915
- timeoutErrorMessage,
916
- config,
917
- transitional$1.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',
918
- request));
919
-
920
- // Clean up request
921
- request = null;
922
- };
923
-
924
- // Add xsrf header
925
- // This is only done if running in a standard browser environment.
926
- // Specifically not if we're in a web worker, or react-native.
927
- if (utils$1.isStandardBrowserEnv()) {
928
- // Add xsrf header
929
- var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?
930
- cookies.read(config.xsrfCookieName) :
931
- undefined;
932
-
933
- if (xsrfValue) {
934
- requestHeaders[config.xsrfHeaderName] = xsrfValue;
935
- }
936
- }
937
-
938
- // Add headers to the request
939
- if ('setRequestHeader' in request) {
940
- utils$1.forEach(requestHeaders, function setRequestHeader(val, key) {
941
- if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
942
- // Remove Content-Type if data is undefined
943
- delete requestHeaders[key];
944
- } else {
945
- // Otherwise add header to the request
946
- request.setRequestHeader(key, val);
947
- }
948
- });
949
- }
950
-
951
- // Add withCredentials to request if needed
952
- if (!utils$1.isUndefined(config.withCredentials)) {
953
- request.withCredentials = !!config.withCredentials;
954
- }
955
-
956
- // Add responseType to request if needed
957
- if (responseType && responseType !== 'json') {
958
- request.responseType = config.responseType;
959
- }
960
-
961
- // Handle progress if needed
962
- if (typeof config.onDownloadProgress === 'function') {
963
- request.addEventListener('progress', config.onDownloadProgress);
964
- }
965
-
966
- // Not all browsers support upload events
967
- if (typeof config.onUploadProgress === 'function' && request.upload) {
968
- request.upload.addEventListener('progress', config.onUploadProgress);
969
- }
970
-
971
- if (config.cancelToken || config.signal) {
972
- // Handle cancellation
973
- // eslint-disable-next-line func-names
974
- onCanceled = function(cancel) {
975
- if (!request) {
976
- return;
977
- }
978
- reject(!cancel || (cancel && cancel.type) ? new Cancel_1('canceled') : cancel);
979
- request.abort();
980
- request = null;
981
- };
982
-
983
- config.cancelToken && config.cancelToken.subscribe(onCanceled);
984
- if (config.signal) {
985
- config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);
986
- }
987
- }
988
-
989
- if (!requestData) {
990
- requestData = null;
991
- }
992
-
993
- // Send the request
994
- request.send(requestData);
995
- });
996
- };
997
-
998
- var DEFAULT_CONTENT_TYPE = {
999
- 'Content-Type': 'application/x-www-form-urlencoded'
1000
- };
1001
-
1002
- function setContentTypeIfUnset(headers, value) {
1003
- if (!utils$1.isUndefined(headers) && utils$1.isUndefined(headers['Content-Type'])) {
1004
- headers['Content-Type'] = value;
1005
- }
1006
- }
1007
-
1008
- function getDefaultAdapter() {
1009
- var adapter;
1010
- if (typeof XMLHttpRequest !== 'undefined') {
1011
- // For browsers use XHR adapter
1012
- adapter = xhr;
1013
- } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {
1014
- // For node use HTTP adapter
1015
- adapter = xhr;
1016
- }
1017
- return adapter;
1018
- }
1019
-
1020
- function stringifySafely(rawValue, parser, encoder) {
1021
- if (utils$1.isString(rawValue)) {
1022
- try {
1023
- (parser || JSON.parse)(rawValue);
1024
- return utils$1.trim(rawValue);
1025
- } catch (e) {
1026
- if (e.name !== 'SyntaxError') {
1027
- throw e;
1028
- }
1029
- }
1030
- }
1031
-
1032
- return (encoder || JSON.stringify)(rawValue);
1033
- }
1034
-
1035
- var defaults = {
1036
-
1037
- transitional: transitional,
1038
-
1039
- adapter: getDefaultAdapter(),
1040
-
1041
- transformRequest: [function transformRequest(data, headers) {
1042
- normalizeHeaderName(headers, 'Accept');
1043
- normalizeHeaderName(headers, 'Content-Type');
1044
-
1045
- if (utils$1.isFormData(data) ||
1046
- utils$1.isArrayBuffer(data) ||
1047
- utils$1.isBuffer(data) ||
1048
- utils$1.isStream(data) ||
1049
- utils$1.isFile(data) ||
1050
- utils$1.isBlob(data)
1051
- ) {
1052
- return data;
1053
- }
1054
- if (utils$1.isArrayBufferView(data)) {
1055
- return data.buffer;
1056
- }
1057
- if (utils$1.isURLSearchParams(data)) {
1058
- setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
1059
- return data.toString();
1060
- }
1061
- if (utils$1.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {
1062
- setContentTypeIfUnset(headers, 'application/json');
1063
- return stringifySafely(data);
1064
- }
1065
- return data;
1066
- }],
1067
-
1068
- transformResponse: [function transformResponse(data) {
1069
- var transitional = this.transitional || defaults.transitional;
1070
- var silentJSONParsing = transitional && transitional.silentJSONParsing;
1071
- var forcedJSONParsing = transitional && transitional.forcedJSONParsing;
1072
- var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';
1073
-
1074
- if (strictJSONParsing || (forcedJSONParsing && utils$1.isString(data) && data.length)) {
1075
- try {
1076
- return JSON.parse(data);
1077
- } catch (e) {
1078
- if (strictJSONParsing) {
1079
- if (e.name === 'SyntaxError') {
1080
- throw enhanceError(e, this, 'E_JSON_PARSE');
1081
- }
1082
- throw e;
1083
- }
1084
- }
1085
- }
1086
-
1087
- return data;
1088
- }],
1089
-
1090
- /**
1091
- * A timeout in milliseconds to abort a request. If set to 0 (default) a
1092
- * timeout is not created.
1093
- */
1094
- timeout: 0,
1095
-
1096
- xsrfCookieName: 'XSRF-TOKEN',
1097
- xsrfHeaderName: 'X-XSRF-TOKEN',
1098
-
1099
- maxContentLength: -1,
1100
- maxBodyLength: -1,
1101
-
1102
- validateStatus: function validateStatus(status) {
1103
- return status >= 200 && status < 300;
1104
- },
1105
-
1106
- headers: {
1107
- common: {
1108
- 'Accept': 'application/json, text/plain, */*'
1109
- }
1110
- }
1111
- };
1112
-
1113
- utils$1.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {
1114
- defaults.headers[method] = {};
1115
- });
1116
-
1117
- utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
1118
- defaults.headers[method] = utils$1.merge(DEFAULT_CONTENT_TYPE);
1119
- });
1120
-
1121
- var defaults_1 = defaults;
1122
-
1123
- /**
1124
- * Transform the data for a request or a response
1125
- *
1126
- * @param {Object|String} data The data to be transformed
1127
- * @param {Array} headers The headers for the request or response
1128
- * @param {Array|Function} fns A single function or Array of functions
1129
- * @returns {*} The resulting transformed data
1130
- */
1131
- var transformData = function transformData(data, headers, fns) {
1132
- var context = this || defaults_1;
1133
- /*eslint no-param-reassign:0*/
1134
- utils$1.forEach(fns, function transform(fn) {
1135
- data = fn.call(context, data, headers);
1136
- });
1137
-
1138
- return data;
1139
- };
1140
-
1141
- var isCancel = function isCancel(value) {
1142
- return !!(value && value.__CANCEL__);
1143
- };
1144
-
1145
- /**
1146
- * Throws a `Cancel` if cancellation has been requested.
1147
- */
1148
- function throwIfCancellationRequested(config) {
1149
- if (config.cancelToken) {
1150
- config.cancelToken.throwIfRequested();
1151
- }
1152
-
1153
- if (config.signal && config.signal.aborted) {
1154
- throw new Cancel_1('canceled');
1155
- }
1156
- }
1157
-
1158
- /**
1159
- * Dispatch a request to the server using the configured adapter.
1160
- *
1161
- * @param {object} config The config that is to be used for the request
1162
- * @returns {Promise} The Promise to be fulfilled
1163
- */
1164
- var dispatchRequest = function dispatchRequest(config) {
1165
- throwIfCancellationRequested(config);
1166
-
1167
- // Ensure headers exist
1168
- config.headers = config.headers || {};
1169
-
1170
- // Transform request data
1171
- config.data = transformData.call(
1172
- config,
1173
- config.data,
1174
- config.headers,
1175
- config.transformRequest
1176
- );
1177
-
1178
- // Flatten headers
1179
- config.headers = utils$1.merge(
1180
- config.headers.common || {},
1181
- config.headers[config.method] || {},
1182
- config.headers
1183
- );
1184
-
1185
- utils$1.forEach(
1186
- ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
1187
- function cleanHeaderConfig(method) {
1188
- delete config.headers[method];
1189
- }
1190
- );
1191
-
1192
- var adapter = config.adapter || defaults_1.adapter;
1193
-
1194
- return adapter(config).then(function onAdapterResolution(response) {
1195
- throwIfCancellationRequested(config);
1196
-
1197
- // Transform response data
1198
- response.data = transformData.call(
1199
- config,
1200
- response.data,
1201
- response.headers,
1202
- config.transformResponse
1203
- );
1204
-
1205
- return response;
1206
- }, function onAdapterRejection(reason) {
1207
- if (!isCancel(reason)) {
1208
- throwIfCancellationRequested(config);
1209
-
1210
- // Transform response data
1211
- if (reason && reason.response) {
1212
- reason.response.data = transformData.call(
1213
- config,
1214
- reason.response.data,
1215
- reason.response.headers,
1216
- config.transformResponse
1217
- );
1218
- }
1219
- }
1220
-
1221
- return Promise.reject(reason);
1222
- });
1223
- };
1224
-
1225
- /**
1226
- * Config-specific merge-function which creates a new config-object
1227
- * by merging two configuration objects together.
1228
- *
1229
- * @param {Object} config1
1230
- * @param {Object} config2
1231
- * @returns {Object} New object resulting from merging config2 to config1
1232
- */
1233
- var mergeConfig = function mergeConfig(config1, config2) {
1234
- // eslint-disable-next-line no-param-reassign
1235
- config2 = config2 || {};
1236
- var config = {};
1237
-
1238
- function getMergedValue(target, source) {
1239
- if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
1240
- return utils$1.merge(target, source);
1241
- } else if (utils$1.isPlainObject(source)) {
1242
- return utils$1.merge({}, source);
1243
- } else if (utils$1.isArray(source)) {
1244
- return source.slice();
1245
- }
1246
- return source;
1247
- }
1248
-
1249
- // eslint-disable-next-line consistent-return
1250
- function mergeDeepProperties(prop) {
1251
- if (!utils$1.isUndefined(config2[prop])) {
1252
- return getMergedValue(config1[prop], config2[prop]);
1253
- } else if (!utils$1.isUndefined(config1[prop])) {
1254
- return getMergedValue(undefined, config1[prop]);
1255
- }
1256
- }
1257
-
1258
- // eslint-disable-next-line consistent-return
1259
- function valueFromConfig2(prop) {
1260
- if (!utils$1.isUndefined(config2[prop])) {
1261
- return getMergedValue(undefined, config2[prop]);
1262
- }
1263
- }
1264
-
1265
- // eslint-disable-next-line consistent-return
1266
- function defaultToConfig2(prop) {
1267
- if (!utils$1.isUndefined(config2[prop])) {
1268
- return getMergedValue(undefined, config2[prop]);
1269
- } else if (!utils$1.isUndefined(config1[prop])) {
1270
- return getMergedValue(undefined, config1[prop]);
1271
- }
1272
- }
1273
-
1274
- // eslint-disable-next-line consistent-return
1275
- function mergeDirectKeys(prop) {
1276
- if (prop in config2) {
1277
- return getMergedValue(config1[prop], config2[prop]);
1278
- } else if (prop in config1) {
1279
- return getMergedValue(undefined, config1[prop]);
1280
- }
1281
- }
1282
-
1283
- var mergeMap = {
1284
- 'url': valueFromConfig2,
1285
- 'method': valueFromConfig2,
1286
- 'data': valueFromConfig2,
1287
- 'baseURL': defaultToConfig2,
1288
- 'transformRequest': defaultToConfig2,
1289
- 'transformResponse': defaultToConfig2,
1290
- 'paramsSerializer': defaultToConfig2,
1291
- 'timeout': defaultToConfig2,
1292
- 'timeoutMessage': defaultToConfig2,
1293
- 'withCredentials': defaultToConfig2,
1294
- 'adapter': defaultToConfig2,
1295
- 'responseType': defaultToConfig2,
1296
- 'xsrfCookieName': defaultToConfig2,
1297
- 'xsrfHeaderName': defaultToConfig2,
1298
- 'onUploadProgress': defaultToConfig2,
1299
- 'onDownloadProgress': defaultToConfig2,
1300
- 'decompress': defaultToConfig2,
1301
- 'maxContentLength': defaultToConfig2,
1302
- 'maxBodyLength': defaultToConfig2,
1303
- 'transport': defaultToConfig2,
1304
- 'httpAgent': defaultToConfig2,
1305
- 'httpsAgent': defaultToConfig2,
1306
- 'cancelToken': defaultToConfig2,
1307
- 'socketPath': defaultToConfig2,
1308
- 'responseEncoding': defaultToConfig2,
1309
- 'validateStatus': mergeDirectKeys
1310
- };
1311
-
1312
- utils$1.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {
1313
- var merge = mergeMap[prop] || mergeDeepProperties;
1314
- var configValue = merge(prop);
1315
- (utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
1316
- });
1317
-
1318
- return config;
1319
- };
1320
-
1321
- var data = {
1322
- "version": "0.26.1"
1323
- };
1324
-
1325
- var VERSION = data.version;
1326
-
1327
- var validators$1 = {};
1328
-
1329
- // eslint-disable-next-line func-names
1330
- ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {
1331
- validators$1[type] = function validator(thing) {
1332
- return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
1333
- };
1334
- });
1335
-
1336
- var deprecatedWarnings = {};
1337
-
1338
- /**
1339
- * Transitional option validator
1340
- * @param {function|boolean?} validator - set to false if the transitional option has been removed
1341
- * @param {string?} version - deprecated version / removed since version
1342
- * @param {string?} message - some message with additional info
1343
- * @returns {function}
1344
- */
1345
- validators$1.transitional = function transitional(validator, version, message) {
1346
- function formatMessage(opt, desc) {
1347
- return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
1348
- }
1349
-
1350
- // eslint-disable-next-line func-names
1351
- return function(value, opt, opts) {
1352
- if (validator === false) {
1353
- throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));
1354
- }
1355
-
1356
- if (version && !deprecatedWarnings[opt]) {
1357
- deprecatedWarnings[opt] = true;
1358
- // eslint-disable-next-line no-console
1359
- console.warn(
1360
- formatMessage(
1361
- opt,
1362
- ' has been deprecated since v' + version + ' and will be removed in the near future'
1363
- )
1364
- );
1365
- }
1366
-
1367
- return validator ? validator(value, opt, opts) : true;
1368
- };
1369
- };
1370
-
1371
- /**
1372
- * Assert object's properties type
1373
- * @param {object} options
1374
- * @param {object} schema
1375
- * @param {boolean?} allowUnknown
1376
- */
1377
-
1378
- function assertOptions(options, schema, allowUnknown) {
1379
- if (typeof options !== 'object') {
1380
- throw new TypeError('options must be an object');
1381
- }
1382
- var keys = Object.keys(options);
1383
- var i = keys.length;
1384
- while (i-- > 0) {
1385
- var opt = keys[i];
1386
- var validator = schema[opt];
1387
- if (validator) {
1388
- var value = options[opt];
1389
- var result = value === undefined || validator(value, opt, options);
1390
- if (result !== true) {
1391
- throw new TypeError('option ' + opt + ' must be ' + result);
1392
- }
1393
- continue;
1394
- }
1395
- if (allowUnknown !== true) {
1396
- throw Error('Unknown option ' + opt);
1397
- }
1398
- }
1399
- }
1400
-
1401
- var validator = {
1402
- assertOptions: assertOptions,
1403
- validators: validators$1
1404
- };
1405
-
1406
- var validators = validator.validators;
1407
- /**
1408
- * Create a new instance of Axios
1409
- *
1410
- * @param {Object} instanceConfig The default config for the instance
1411
- */
1412
- function Axios(instanceConfig) {
1413
- this.defaults = instanceConfig;
1414
- this.interceptors = {
1415
- request: new InterceptorManager_1(),
1416
- response: new InterceptorManager_1()
1417
- };
1418
- }
1419
-
1420
- /**
1421
- * Dispatch a request
1422
- *
1423
- * @param {Object} config The config specific for this request (merged with this.defaults)
1424
- */
1425
- Axios.prototype.request = function request(configOrUrl, config) {
1426
- /*eslint no-param-reassign:0*/
1427
- // Allow for axios('example/url'[, config]) a la fetch API
1428
- if (typeof configOrUrl === 'string') {
1429
- config = config || {};
1430
- config.url = configOrUrl;
1431
- } else {
1432
- config = configOrUrl || {};
1433
- }
1434
-
1435
- config = mergeConfig(this.defaults, config);
1436
-
1437
- // Set config.method
1438
- if (config.method) {
1439
- config.method = config.method.toLowerCase();
1440
- } else if (this.defaults.method) {
1441
- config.method = this.defaults.method.toLowerCase();
1442
- } else {
1443
- config.method = 'get';
1444
- }
1445
-
1446
- var transitional = config.transitional;
1447
-
1448
- if (transitional !== undefined) {
1449
- validator.assertOptions(transitional, {
1450
- silentJSONParsing: validators.transitional(validators.boolean),
1451
- forcedJSONParsing: validators.transitional(validators.boolean),
1452
- clarifyTimeoutError: validators.transitional(validators.boolean)
1453
- }, false);
1454
- }
1455
-
1456
- // filter out skipped interceptors
1457
- var requestInterceptorChain = [];
1458
- var synchronousRequestInterceptors = true;
1459
- this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
1460
- if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {
1461
- return;
1462
- }
1463
-
1464
- synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
1465
-
1466
- requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
1467
- });
1468
-
1469
- var responseInterceptorChain = [];
1470
- this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
1471
- responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
1472
- });
1473
-
1474
- var promise;
1475
-
1476
- if (!synchronousRequestInterceptors) {
1477
- var chain = [dispatchRequest, undefined];
1478
-
1479
- Array.prototype.unshift.apply(chain, requestInterceptorChain);
1480
- chain = chain.concat(responseInterceptorChain);
1481
-
1482
- promise = Promise.resolve(config);
1483
- while (chain.length) {
1484
- promise = promise.then(chain.shift(), chain.shift());
1485
- }
1486
-
1487
- return promise;
1488
- }
1489
-
1490
-
1491
- var newConfig = config;
1492
- while (requestInterceptorChain.length) {
1493
- var onFulfilled = requestInterceptorChain.shift();
1494
- var onRejected = requestInterceptorChain.shift();
1495
- try {
1496
- newConfig = onFulfilled(newConfig);
1497
- } catch (error) {
1498
- onRejected(error);
1499
- break;
1500
- }
1501
- }
1502
-
1503
- try {
1504
- promise = dispatchRequest(newConfig);
1505
- } catch (error) {
1506
- return Promise.reject(error);
1507
- }
1508
-
1509
- while (responseInterceptorChain.length) {
1510
- promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());
1511
- }
1512
-
1513
- return promise;
1514
- };
1515
-
1516
- Axios.prototype.getUri = function getUri(config) {
1517
- config = mergeConfig(this.defaults, config);
1518
- return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\?/, '');
1519
- };
1520
-
1521
- // Provide aliases for supported request methods
1522
- utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
1523
- /*eslint func-names:0*/
1524
- Axios.prototype[method] = function(url, config) {
1525
- return this.request(mergeConfig(config || {}, {
1526
- method: method,
1527
- url: url,
1528
- data: (config || {}).data
1529
- }));
1530
- };
1531
- });
1532
-
1533
- utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
1534
- /*eslint func-names:0*/
1535
- Axios.prototype[method] = function(url, data, config) {
1536
- return this.request(mergeConfig(config || {}, {
1537
- method: method,
1538
- url: url,
1539
- data: data
1540
- }));
1541
- };
1542
- });
1543
-
1544
- var Axios_1 = Axios;
1545
-
1546
- /**
1547
- * A `CancelToken` is an object that can be used to request cancellation of an operation.
1548
- *
1549
- * @class
1550
- * @param {Function} executor The executor function.
1551
- */
1552
- function CancelToken(executor) {
1553
- if (typeof executor !== 'function') {
1554
- throw new TypeError('executor must be a function.');
1555
- }
1556
-
1557
- var resolvePromise;
1558
-
1559
- this.promise = new Promise(function promiseExecutor(resolve) {
1560
- resolvePromise = resolve;
1561
- });
1562
-
1563
- var token = this;
1564
-
1565
- // eslint-disable-next-line func-names
1566
- this.promise.then(function(cancel) {
1567
- if (!token._listeners) return;
1568
-
1569
- var i;
1570
- var l = token._listeners.length;
1571
-
1572
- for (i = 0; i < l; i++) {
1573
- token._listeners[i](cancel);
1574
- }
1575
- token._listeners = null;
1576
- });
1577
-
1578
- // eslint-disable-next-line func-names
1579
- this.promise.then = function(onfulfilled) {
1580
- var _resolve;
1581
- // eslint-disable-next-line func-names
1582
- var promise = new Promise(function(resolve) {
1583
- token.subscribe(resolve);
1584
- _resolve = resolve;
1585
- }).then(onfulfilled);
1586
-
1587
- promise.cancel = function reject() {
1588
- token.unsubscribe(_resolve);
1589
- };
1590
-
1591
- return promise;
1592
- };
1593
-
1594
- executor(function cancel(message) {
1595
- if (token.reason) {
1596
- // Cancellation has already been requested
1597
- return;
1598
- }
1599
-
1600
- token.reason = new Cancel_1(message);
1601
- resolvePromise(token.reason);
1602
- });
1603
- }
1604
-
1605
- /**
1606
- * Throws a `Cancel` if cancellation has been requested.
1607
- */
1608
- CancelToken.prototype.throwIfRequested = function throwIfRequested() {
1609
- if (this.reason) {
1610
- throw this.reason;
1611
- }
1612
- };
1613
-
1614
- /**
1615
- * Subscribe to the cancel signal
1616
- */
1617
-
1618
- CancelToken.prototype.subscribe = function subscribe(listener) {
1619
- if (this.reason) {
1620
- listener(this.reason);
1621
- return;
1622
- }
1623
-
1624
- if (this._listeners) {
1625
- this._listeners.push(listener);
1626
- } else {
1627
- this._listeners = [listener];
1628
- }
1629
- };
1630
-
1631
- /**
1632
- * Unsubscribe from the cancel signal
1633
- */
1634
-
1635
- CancelToken.prototype.unsubscribe = function unsubscribe(listener) {
1636
- if (!this._listeners) {
1637
- return;
1638
- }
1639
- var index = this._listeners.indexOf(listener);
1640
- if (index !== -1) {
1641
- this._listeners.splice(index, 1);
1642
- }
1643
- };
1644
-
1645
- /**
1646
- * Returns an object that contains a new `CancelToken` and a function that, when called,
1647
- * cancels the `CancelToken`.
1648
- */
1649
- CancelToken.source = function source() {
1650
- var cancel;
1651
- var token = new CancelToken(function executor(c) {
1652
- cancel = c;
1653
- });
1654
- return {
1655
- token: token,
1656
- cancel: cancel
1657
- };
1658
- };
1659
-
1660
- var CancelToken_1 = CancelToken;
1661
-
1662
- /**
1663
- * Syntactic sugar for invoking a function and expanding an array for arguments.
1664
- *
1665
- * Common use case would be to use `Function.prototype.apply`.
1666
- *
1667
- * ```js
1668
- * function f(x, y, z) {}
1669
- * var args = [1, 2, 3];
1670
- * f.apply(null, args);
1671
- * ```
1672
- *
1673
- * With `spread` this example can be re-written.
1674
- *
1675
- * ```js
1676
- * spread(function(x, y, z) {})([1, 2, 3]);
1677
- * ```
1678
- *
1679
- * @param {Function} callback
1680
- * @returns {Function}
1681
- */
1682
- var spread = function spread(callback) {
1683
- return function wrap(arr) {
1684
- return callback.apply(null, arr);
1685
- };
1686
- };
1687
-
1688
- /**
1689
- * Determines whether the payload is an error thrown by Axios
1690
- *
1691
- * @param {*} payload The value to test
1692
- * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
1693
- */
1694
- var isAxiosError = function isAxiosError(payload) {
1695
- return utils$1.isObject(payload) && (payload.isAxiosError === true);
1696
- };
1697
-
1698
- /**
1699
- * Create an instance of Axios
1700
- *
1701
- * @param {Object} defaultConfig The default config for the instance
1702
- * @return {Axios} A new instance of Axios
1703
- */
1704
- function createInstance(defaultConfig) {
1705
- var context = new Axios_1(defaultConfig);
1706
- var instance = bind(Axios_1.prototype.request, context);
1707
-
1708
- // Copy axios.prototype to instance
1709
- utils$1.extend(instance, Axios_1.prototype, context);
1710
-
1711
- // Copy context to instance
1712
- utils$1.extend(instance, context);
1713
-
1714
- // Factory for creating new instances
1715
- instance.create = function create(instanceConfig) {
1716
- return createInstance(mergeConfig(defaultConfig, instanceConfig));
1717
- };
1718
-
1719
- return instance;
1720
- }
1721
-
1722
- // Create the default instance to be exported
1723
- var axios = createInstance(defaults_1);
1724
-
1725
- // Expose Axios class to allow class inheritance
1726
- axios.Axios = Axios_1;
1727
-
1728
- // Expose Cancel & CancelToken
1729
- axios.Cancel = Cancel_1;
1730
- axios.CancelToken = CancelToken_1;
1731
- axios.isCancel = isCancel;
1732
- axios.VERSION = data.version;
1733
-
1734
- // Expose all/spread
1735
- axios.all = function all(promises) {
1736
- return Promise.all(promises);
1737
- };
1738
- axios.spread = spread;
1739
-
1740
- // Expose isAxiosError
1741
- axios.isAxiosError = isAxiosError;
1742
-
1743
- var axios_1 = axios;
1744
-
1745
- // Allow use of default import syntax in TypeScript
1746
- var _default = axios;
1747
- axios_1.default = _default;
1748
-
1749
- /* eslint complexity: [2, 18], max-statements: [2, 33] */
1750
- var shams = function hasSymbols() {
1751
- if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
1752
- if (typeof Symbol.iterator === 'symbol') { return true; }
1753
-
1754
- var obj = {};
1755
- var sym = Symbol('test');
1756
- var symObj = Object(sym);
1757
- if (typeof sym === 'string') { return false; }
1758
-
1759
- if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
1760
- if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
1761
-
1762
- // temp disabled per https://github.com/ljharb/object.assign/issues/17
1763
- // if (sym instanceof Symbol) { return false; }
1764
- // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
1765
- // if (!(symObj instanceof Symbol)) { return false; }
1766
-
1767
- // if (typeof Symbol.prototype.toString !== 'function') { return false; }
1768
- // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
1769
-
1770
- var symVal = 42;
1771
- obj[sym] = symVal;
1772
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
1773
- if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1774
-
1775
- if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
1776
-
1777
- var syms = Object.getOwnPropertySymbols(obj);
1778
- if (syms.length !== 1 || syms[0] !== sym) { return false; }
1779
-
1780
- if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
1781
-
1782
- if (typeof Object.getOwnPropertyDescriptor === 'function') {
1783
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
1784
- if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
1785
- }
1786
-
1787
- return true;
1788
- };
1789
-
1790
- var origSymbol = typeof Symbol !== 'undefined' && Symbol;
1791
-
1792
-
1793
- var hasSymbols$1 = function hasNativeSymbols() {
1794
- if (typeof origSymbol !== 'function') { return false; }
1795
- if (typeof Symbol !== 'function') { return false; }
1796
- if (typeof origSymbol('foo') !== 'symbol') { return false; }
1797
- if (typeof Symbol('bar') !== 'symbol') { return false; }
1798
-
1799
- return shams();
1800
- };
1801
-
1802
- /* eslint no-invalid-this: 1 */
1803
-
1804
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1805
- var slice = Array.prototype.slice;
1806
- var toStr$1 = Object.prototype.toString;
1807
- var funcType = '[object Function]';
1808
-
1809
- var implementation = function bind(that) {
1810
- var target = this;
1811
- if (typeof target !== 'function' || toStr$1.call(target) !== funcType) {
1812
- throw new TypeError(ERROR_MESSAGE + target);
1813
- }
1814
- var args = slice.call(arguments, 1);
1815
-
1816
- var bound;
1817
- var binder = function () {
1818
- if (this instanceof bound) {
1819
- var result = target.apply(
1820
- this,
1821
- args.concat(slice.call(arguments))
1822
- );
1823
- if (Object(result) === result) {
1824
- return result;
1825
- }
1826
- return this;
1827
- } else {
1828
- return target.apply(
1829
- that,
1830
- args.concat(slice.call(arguments))
1831
- );
1832
- }
1833
- };
1834
-
1835
- var boundLength = Math.max(0, target.length - args.length);
1836
- var boundArgs = [];
1837
- for (var i = 0; i < boundLength; i++) {
1838
- boundArgs.push('$' + i);
1839
- }
1840
-
1841
- bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1842
-
1843
- if (target.prototype) {
1844
- var Empty = function Empty() {};
1845
- Empty.prototype = target.prototype;
1846
- bound.prototype = new Empty();
1847
- Empty.prototype = null;
1848
- }
1849
-
1850
- return bound;
1851
- };
1852
-
1853
- var functionBind = Function.prototype.bind || implementation;
1854
-
1855
- var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1856
-
1857
- var undefined$1;
1858
-
1859
- var $SyntaxError = SyntaxError;
1860
- var $Function = Function;
1861
- var $TypeError$1 = TypeError;
1862
-
1863
- // eslint-disable-next-line consistent-return
1864
- var getEvalledConstructor = function (expressionSyntax) {
1865
- try {
1866
- return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1867
- } catch (e) {}
1868
- };
1869
-
1870
- var $gOPD = Object.getOwnPropertyDescriptor;
1871
-
1872
- var throwTypeError = function () {
1873
- throw new $TypeError$1();
1874
- };
1875
- var ThrowTypeError = $gOPD
1876
- ? (function () {
1877
- try {
1878
- return throwTypeError;
1879
- } catch (calleeThrows) {
1880
- try {
1881
- // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
1882
- return $gOPD(arguments, 'callee').get;
1883
- } catch (gOPDthrows) {
1884
- return throwTypeError;
1885
- }
1886
- }
1887
- }())
1888
- : throwTypeError;
1889
-
1890
- var hasSymbols = hasSymbols$1();
1891
-
1892
- var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1893
-
1894
- var needsEval = {};
1895
-
1896
- var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1897
-
1898
- var INTRINSICS = {
1899
- '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1900
- '%Array%': Array,
1901
- '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1902
- '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined$1,
1903
- '%AsyncFromSyncIteratorPrototype%': undefined$1,
1904
- '%AsyncFunction%': needsEval,
1905
- '%AsyncGenerator%': needsEval,
1906
- '%AsyncGeneratorFunction%': needsEval,
1907
- '%AsyncIteratorPrototype%': needsEval,
1908
- '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1909
- '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1910
- '%Boolean%': Boolean,
1911
- '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1912
- '%Date%': Date,
1913
- '%decodeURI%': decodeURI,
1914
- '%decodeURIComponent%': decodeURIComponent,
1915
- '%encodeURI%': encodeURI,
1916
- '%encodeURIComponent%': encodeURIComponent,
1917
- '%Error%': Error,
1918
- '%eval%': eval, // eslint-disable-line no-eval
1919
- '%EvalError%': EvalError,
1920
- '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1921
- '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1922
- '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1923
- '%Function%': $Function,
1924
- '%GeneratorFunction%': needsEval,
1925
- '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1926
- '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1927
- '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1928
- '%isFinite%': isFinite,
1929
- '%isNaN%': isNaN,
1930
- '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1931
- '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1932
- '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1933
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1934
- '%Math%': Math,
1935
- '%Number%': Number,
1936
- '%Object%': Object,
1937
- '%parseFloat%': parseFloat,
1938
- '%parseInt%': parseInt,
1939
- '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
1940
- '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1941
- '%RangeError%': RangeError,
1942
- '%ReferenceError%': ReferenceError,
1943
- '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1944
- '%RegExp%': RegExp,
1945
- '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1946
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1947
- '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1948
- '%String%': String,
1949
- '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined$1,
1950
- '%Symbol%': hasSymbols ? Symbol : undefined$1,
1951
- '%SyntaxError%': $SyntaxError,
1952
- '%ThrowTypeError%': ThrowTypeError,
1953
- '%TypedArray%': TypedArray,
1954
- '%TypeError%': $TypeError$1,
1955
- '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1956
- '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1957
- '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1958
- '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1959
- '%URIError%': URIError,
1960
- '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1961
- '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1962
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1963
- };
1964
-
1965
- var doEval = function doEval(name) {
1966
- var value;
1967
- if (name === '%AsyncFunction%') {
1968
- value = getEvalledConstructor('async function () {}');
1969
- } else if (name === '%GeneratorFunction%') {
1970
- value = getEvalledConstructor('function* () {}');
1971
- } else if (name === '%AsyncGeneratorFunction%') {
1972
- value = getEvalledConstructor('async function* () {}');
1973
- } else if (name === '%AsyncGenerator%') {
1974
- var fn = doEval('%AsyncGeneratorFunction%');
1975
- if (fn) {
1976
- value = fn.prototype;
1977
- }
1978
- } else if (name === '%AsyncIteratorPrototype%') {
1979
- var gen = doEval('%AsyncGenerator%');
1980
- if (gen) {
1981
- value = getProto(gen.prototype);
1982
- }
1983
- }
1984
-
1985
- INTRINSICS[name] = value;
1986
-
1987
- return value;
1988
- };
1989
-
1990
- var LEGACY_ALIASES = {
1991
- '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1992
- '%ArrayPrototype%': ['Array', 'prototype'],
1993
- '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1994
- '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1995
- '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1996
- '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1997
- '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1998
- '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1999
- '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
2000
- '%BooleanPrototype%': ['Boolean', 'prototype'],
2001
- '%DataViewPrototype%': ['DataView', 'prototype'],
2002
- '%DatePrototype%': ['Date', 'prototype'],
2003
- '%ErrorPrototype%': ['Error', 'prototype'],
2004
- '%EvalErrorPrototype%': ['EvalError', 'prototype'],
2005
- '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
2006
- '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
2007
- '%FunctionPrototype%': ['Function', 'prototype'],
2008
- '%Generator%': ['GeneratorFunction', 'prototype'],
2009
- '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
2010
- '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
2011
- '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
2012
- '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
2013
- '%JSONParse%': ['JSON', 'parse'],
2014
- '%JSONStringify%': ['JSON', 'stringify'],
2015
- '%MapPrototype%': ['Map', 'prototype'],
2016
- '%NumberPrototype%': ['Number', 'prototype'],
2017
- '%ObjectPrototype%': ['Object', 'prototype'],
2018
- '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
2019
- '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
2020
- '%PromisePrototype%': ['Promise', 'prototype'],
2021
- '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
2022
- '%Promise_all%': ['Promise', 'all'],
2023
- '%Promise_reject%': ['Promise', 'reject'],
2024
- '%Promise_resolve%': ['Promise', 'resolve'],
2025
- '%RangeErrorPrototype%': ['RangeError', 'prototype'],
2026
- '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
2027
- '%RegExpPrototype%': ['RegExp', 'prototype'],
2028
- '%SetPrototype%': ['Set', 'prototype'],
2029
- '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
2030
- '%StringPrototype%': ['String', 'prototype'],
2031
- '%SymbolPrototype%': ['Symbol', 'prototype'],
2032
- '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
2033
- '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
2034
- '%TypeErrorPrototype%': ['TypeError', 'prototype'],
2035
- '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
2036
- '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
2037
- '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
2038
- '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
2039
- '%URIErrorPrototype%': ['URIError', 'prototype'],
2040
- '%WeakMapPrototype%': ['WeakMap', 'prototype'],
2041
- '%WeakSetPrototype%': ['WeakSet', 'prototype']
2042
- };
2043
-
2044
-
2045
-
2046
- var $concat$1 = functionBind.call(Function.call, Array.prototype.concat);
2047
- var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
2048
- var $replace$1 = functionBind.call(Function.call, String.prototype.replace);
2049
- var $strSlice = functionBind.call(Function.call, String.prototype.slice);
2050
-
2051
- /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
2052
- var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
2053
- var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
2054
- var stringToPath = function stringToPath(string) {
2055
- var first = $strSlice(string, 0, 1);
2056
- var last = $strSlice(string, -1);
2057
- if (first === '%' && last !== '%') {
2058
- throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
2059
- } else if (last === '%' && first !== '%') {
2060
- throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
2061
- }
2062
- var result = [];
2063
- $replace$1(string, rePropName, function (match, number, quote, subString) {
2064
- result[result.length] = quote ? $replace$1(subString, reEscapeChar, '$1') : number || match;
2065
- });
2066
- return result;
2067
- };
2068
- /* end adaptation */
2069
-
2070
- var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
2071
- var intrinsicName = name;
2072
- var alias;
2073
- if (src(LEGACY_ALIASES, intrinsicName)) {
2074
- alias = LEGACY_ALIASES[intrinsicName];
2075
- intrinsicName = '%' + alias[0] + '%';
2076
- }
2077
-
2078
- if (src(INTRINSICS, intrinsicName)) {
2079
- var value = INTRINSICS[intrinsicName];
2080
- if (value === needsEval) {
2081
- value = doEval(intrinsicName);
2082
- }
2083
- if (typeof value === 'undefined' && !allowMissing) {
2084
- throw new $TypeError$1('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
2085
- }
2086
-
2087
- return {
2088
- alias: alias,
2089
- name: intrinsicName,
2090
- value: value
2091
- };
2092
- }
2093
-
2094
- throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
2095
- };
2096
-
2097
- var getIntrinsic = function GetIntrinsic(name, allowMissing) {
2098
- if (typeof name !== 'string' || name.length === 0) {
2099
- throw new $TypeError$1('intrinsic name must be a non-empty string');
2100
- }
2101
- if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
2102
- throw new $TypeError$1('"allowMissing" argument must be a boolean');
2103
- }
2104
-
2105
- var parts = stringToPath(name);
2106
- var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
2107
-
2108
- var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
2109
- var intrinsicRealName = intrinsic.name;
2110
- var value = intrinsic.value;
2111
- var skipFurtherCaching = false;
2112
-
2113
- var alias = intrinsic.alias;
2114
- if (alias) {
2115
- intrinsicBaseName = alias[0];
2116
- $spliceApply(parts, $concat$1([0, 1], alias));
2117
- }
2118
-
2119
- for (var i = 1, isOwn = true; i < parts.length; i += 1) {
2120
- var part = parts[i];
2121
- var first = $strSlice(part, 0, 1);
2122
- var last = $strSlice(part, -1);
2123
- if (
2124
- (
2125
- (first === '"' || first === "'" || first === '`')
2126
- || (last === '"' || last === "'" || last === '`')
2127
- )
2128
- && first !== last
2129
- ) {
2130
- throw new $SyntaxError('property names with quotes must have matching quotes');
2131
- }
2132
- if (part === 'constructor' || !isOwn) {
2133
- skipFurtherCaching = true;
2134
- }
2135
-
2136
- intrinsicBaseName += '.' + part;
2137
- intrinsicRealName = '%' + intrinsicBaseName + '%';
2138
-
2139
- if (src(INTRINSICS, intrinsicRealName)) {
2140
- value = INTRINSICS[intrinsicRealName];
2141
- } else if (value != null) {
2142
- if (!(part in value)) {
2143
- if (!allowMissing) {
2144
- throw new $TypeError$1('base intrinsic for ' + name + ' exists, but the property is not available.');
2145
- }
2146
- return void undefined$1;
2147
- }
2148
- if ($gOPD && (i + 1) >= parts.length) {
2149
- var desc = $gOPD(value, part);
2150
- isOwn = !!desc;
2151
-
2152
- // By convention, when a data property is converted to an accessor
2153
- // property to emulate a data property that does not suffer from
2154
- // the override mistake, that accessor's getter is marked with
2155
- // an `originalValue` property. Here, when we detect this, we
2156
- // uphold the illusion by pretending to see that original data
2157
- // property, i.e., returning the value rather than the getter
2158
- // itself.
2159
- if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
2160
- value = desc.get;
2161
- } else {
2162
- value = value[part];
2163
- }
2164
- } else {
2165
- isOwn = src(value, part);
2166
- value = value[part];
2167
- }
2168
-
2169
- if (isOwn && !skipFurtherCaching) {
2170
- INTRINSICS[intrinsicRealName] = value;
2171
- }
2172
- }
2173
- }
2174
- return value;
2175
- };
2176
-
2177
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2178
-
2179
- function getDefaultExportFromCjs (x) {
2180
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
2181
- }
2182
-
2183
- function createCommonjsModule(fn, basedir, module) {
2184
- return module = {
2185
- path: basedir,
2186
- exports: {},
2187
- require: function (path, base) {
2188
- return commonjsRequire();
2189
- }
2190
- }, fn(module, module.exports), module.exports;
2191
- }
2192
-
2193
- function getAugmentedNamespace(n) {
2194
- if (n.__esModule) return n;
2195
- var a = Object.defineProperty({}, '__esModule', {value: true});
2196
- Object.keys(n).forEach(function (k) {
2197
- var d = Object.getOwnPropertyDescriptor(n, k);
2198
- Object.defineProperty(a, k, d.get ? d : {
2199
- enumerable: true,
2200
- get: function () {
2201
- return n[k];
2202
- }
2203
- });
2204
- });
2205
- return a;
2206
- }
2207
-
2208
- function commonjsRequire () {
2209
- throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
2210
- }
2211
-
2212
- var callBind = createCommonjsModule(function (module) {
2213
-
2214
-
2215
-
2216
-
2217
- var $apply = getIntrinsic('%Function.prototype.apply%');
2218
- var $call = getIntrinsic('%Function.prototype.call%');
2219
- var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
2220
-
2221
- var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);
2222
- var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
2223
- var $max = getIntrinsic('%Math.max%');
2224
-
2225
- if ($defineProperty) {
2226
- try {
2227
- $defineProperty({}, 'a', { value: 1 });
2228
- } catch (e) {
2229
- // IE 8 has a broken defineProperty
2230
- $defineProperty = null;
2231
- }
2232
- }
2233
-
2234
- module.exports = function callBind(originalFunction) {
2235
- var func = $reflectApply(functionBind, $call, arguments);
2236
- if ($gOPD && $defineProperty) {
2237
- var desc = $gOPD(func, 'length');
2238
- if (desc.configurable) {
2239
- // original length, plus the receiver, minus any additional arguments (after the receiver)
2240
- $defineProperty(
2241
- func,
2242
- 'length',
2243
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
2244
- );
2245
- }
2246
- }
2247
- return func;
2248
- };
2249
-
2250
- var applyBind = function applyBind() {
2251
- return $reflectApply(functionBind, $apply, arguments);
2252
- };
2253
-
2254
- if ($defineProperty) {
2255
- $defineProperty(module.exports, 'apply', { value: applyBind });
2256
- } else {
2257
- module.exports.apply = applyBind;
2258
- }
2259
- });
2260
-
2261
- var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
2262
-
2263
- var callBound = function callBoundIntrinsic(name, allowMissing) {
2264
- var intrinsic = getIntrinsic(name, !!allowMissing);
2265
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
2266
- return callBind(intrinsic);
2267
- }
2268
- return intrinsic;
2269
- };
2270
-
2271
- const _nodeResolve_empty = {};
2272
-
2273
- const _nodeResolve_empty$1 = /*#__PURE__*/Object.freeze({
2274
- __proto__: null,
2275
- 'default': _nodeResolve_empty
2276
- });
2277
-
2278
- const require$$0 = /*@__PURE__*/getAugmentedNamespace(_nodeResolve_empty$1);
2279
-
2280
- var hasMap = typeof Map === 'function' && Map.prototype;
2281
- var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
2282
- var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
2283
- var mapForEach = hasMap && Map.prototype.forEach;
2284
- var hasSet = typeof Set === 'function' && Set.prototype;
2285
- var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
2286
- var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
2287
- var setForEach = hasSet && Set.prototype.forEach;
2288
- var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
2289
- var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
2290
- var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
2291
- var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
2292
- var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
2293
- var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
2294
- var booleanValueOf = Boolean.prototype.valueOf;
2295
- var objectToString = Object.prototype.toString;
2296
- var functionToString = Function.prototype.toString;
2297
- var $match = String.prototype.match;
2298
- var $slice = String.prototype.slice;
2299
- var $replace = String.prototype.replace;
2300
- var $toUpperCase = String.prototype.toUpperCase;
2301
- var $toLowerCase = String.prototype.toLowerCase;
2302
- var $test = RegExp.prototype.test;
2303
- var $concat = Array.prototype.concat;
2304
- var $join = Array.prototype.join;
2305
- var $arrSlice = Array.prototype.slice;
2306
- var $floor = Math.floor;
2307
- var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
2308
- var gOPS = Object.getOwnPropertySymbols;
2309
- var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
2310
- var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
2311
- // ie, `has-tostringtag/shams
2312
- var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
2313
- ? Symbol.toStringTag
2314
- : null;
2315
- var isEnumerable = Object.prototype.propertyIsEnumerable;
2316
-
2317
- var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
2318
- [].__proto__ === Array.prototype // eslint-disable-line no-proto
2319
- ? function (O) {
2320
- return O.__proto__; // eslint-disable-line no-proto
2321
- }
2322
- : null
2323
- );
2324
-
2325
- function addNumericSeparator(num, str) {
2326
- if (
2327
- num === Infinity
2328
- || num === -Infinity
2329
- || num !== num
2330
- || (num && num > -1000 && num < 1000)
2331
- || $test.call(/e/, str)
2332
- ) {
2333
- return str;
2334
- }
2335
- var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
2336
- if (typeof num === 'number') {
2337
- var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
2338
- if (int !== num) {
2339
- var intStr = String(int);
2340
- var dec = $slice.call(str, intStr.length + 1);
2341
- return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
2342
- }
2343
- }
2344
- return $replace.call(str, sepRegex, '$&_');
2345
- }
2346
-
2347
- var inspectCustom = require$$0.custom;
2348
- var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
2349
-
2350
- var objectInspect = function inspect_(obj, options, depth, seen) {
2351
- var opts = options || {};
2352
-
2353
- if (has$1(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
2354
- throw new TypeError('option "quoteStyle" must be "single" or "double"');
2355
- }
2356
- if (
2357
- has$1(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
2358
- ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
2359
- : opts.maxStringLength !== null
2360
- )
2361
- ) {
2362
- throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
2363
- }
2364
- var customInspect = has$1(opts, 'customInspect') ? opts.customInspect : true;
2365
- if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
2366
- throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
2367
- }
2368
-
2369
- if (
2370
- has$1(opts, 'indent')
2371
- && opts.indent !== null
2372
- && opts.indent !== '\t'
2373
- && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
2374
- ) {
2375
- throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
2376
- }
2377
- if (has$1(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
2378
- throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
2379
- }
2380
- var numericSeparator = opts.numericSeparator;
2381
-
2382
- if (typeof obj === 'undefined') {
2383
- return 'undefined';
2384
- }
2385
- if (obj === null) {
2386
- return 'null';
2387
- }
2388
- if (typeof obj === 'boolean') {
2389
- return obj ? 'true' : 'false';
2390
- }
2391
-
2392
- if (typeof obj === 'string') {
2393
- return inspectString(obj, opts);
2394
- }
2395
- if (typeof obj === 'number') {
2396
- if (obj === 0) {
2397
- return Infinity / obj > 0 ? '0' : '-0';
2398
- }
2399
- var str = String(obj);
2400
- return numericSeparator ? addNumericSeparator(obj, str) : str;
2401
- }
2402
- if (typeof obj === 'bigint') {
2403
- var bigIntStr = String(obj) + 'n';
2404
- return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
2405
- }
2406
-
2407
- var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
2408
- if (typeof depth === 'undefined') { depth = 0; }
2409
- if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
2410
- return isArray$1(obj) ? '[Array]' : '[Object]';
2411
- }
2412
-
2413
- var indent = getIndent(opts, depth);
2414
-
2415
- if (typeof seen === 'undefined') {
2416
- seen = [];
2417
- } else if (indexOf(seen, obj) >= 0) {
2418
- return '[Circular]';
2419
- }
2420
-
2421
- function inspect(value, from, noIndent) {
2422
- if (from) {
2423
- seen = $arrSlice.call(seen);
2424
- seen.push(from);
2425
- }
2426
- if (noIndent) {
2427
- var newOpts = {
2428
- depth: opts.depth
2429
- };
2430
- if (has$1(opts, 'quoteStyle')) {
2431
- newOpts.quoteStyle = opts.quoteStyle;
2432
- }
2433
- return inspect_(value, newOpts, depth + 1, seen);
2434
- }
2435
- return inspect_(value, opts, depth + 1, seen);
2436
- }
2437
-
2438
- if (typeof obj === 'function') {
2439
- var name = nameOf(obj);
2440
- var keys = arrObjKeys(obj, inspect);
2441
- return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
2442
- }
2443
- if (isSymbol(obj)) {
2444
- var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
2445
- return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
2446
- }
2447
- if (isElement(obj)) {
2448
- var s = '<' + $toLowerCase.call(String(obj.nodeName));
2449
- var attrs = obj.attributes || [];
2450
- for (var i = 0; i < attrs.length; i++) {
2451
- s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
2452
- }
2453
- s += '>';
2454
- if (obj.childNodes && obj.childNodes.length) { s += '...'; }
2455
- s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
2456
- return s;
2457
- }
2458
- if (isArray$1(obj)) {
2459
- if (obj.length === 0) { return '[]'; }
2460
- var xs = arrObjKeys(obj, inspect);
2461
- if (indent && !singleLineValues(xs)) {
2462
- return '[' + indentedJoin(xs, indent) + ']';
2463
- }
2464
- return '[ ' + $join.call(xs, ', ') + ' ]';
2465
- }
2466
- if (isError(obj)) {
2467
- var parts = arrObjKeys(obj, inspect);
2468
- if ('cause' in obj && !isEnumerable.call(obj, 'cause')) {
2469
- return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
2470
- }
2471
- if (parts.length === 0) { return '[' + String(obj) + ']'; }
2472
- return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
2473
- }
2474
- if (typeof obj === 'object' && customInspect) {
2475
- if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {
2476
- return obj[inspectSymbol]();
2477
- } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {
2478
- return obj.inspect();
2479
- }
2480
- }
2481
- if (isMap(obj)) {
2482
- var mapParts = [];
2483
- mapForEach.call(obj, function (value, key) {
2484
- mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
2485
- });
2486
- return collectionOf('Map', mapSize.call(obj), mapParts, indent);
2487
- }
2488
- if (isSet(obj)) {
2489
- var setParts = [];
2490
- setForEach.call(obj, function (value) {
2491
- setParts.push(inspect(value, obj));
2492
- });
2493
- return collectionOf('Set', setSize.call(obj), setParts, indent);
2494
- }
2495
- if (isWeakMap(obj)) {
2496
- return weakCollectionOf('WeakMap');
2497
- }
2498
- if (isWeakSet(obj)) {
2499
- return weakCollectionOf('WeakSet');
2500
- }
2501
- if (isWeakRef(obj)) {
2502
- return weakCollectionOf('WeakRef');
2503
- }
2504
- if (isNumber(obj)) {
2505
- return markBoxed(inspect(Number(obj)));
2506
- }
2507
- if (isBigInt(obj)) {
2508
- return markBoxed(inspect(bigIntValueOf.call(obj)));
2509
- }
2510
- if (isBoolean(obj)) {
2511
- return markBoxed(booleanValueOf.call(obj));
2512
- }
2513
- if (isString(obj)) {
2514
- return markBoxed(inspect(String(obj)));
2515
- }
2516
- if (!isDate(obj) && !isRegExp$1(obj)) {
2517
- var ys = arrObjKeys(obj, inspect);
2518
- var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
2519
- var protoTag = obj instanceof Object ? '' : 'null prototype';
2520
- var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';
2521
- var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
2522
- var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
2523
- if (ys.length === 0) { return tag + '{}'; }
2524
- if (indent) {
2525
- return tag + '{' + indentedJoin(ys, indent) + '}';
2526
- }
2527
- return tag + '{ ' + $join.call(ys, ', ') + ' }';
2528
- }
2529
- return String(obj);
2530
- };
2531
-
2532
- function wrapQuotes(s, defaultStyle, opts) {
2533
- var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
2534
- return quoteChar + s + quoteChar;
2535
- }
2536
-
2537
- function quote(s) {
2538
- return $replace.call(String(s), /"/g, '&quot;');
2539
- }
2540
-
2541
- function isArray$1(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2542
- function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2543
- function isRegExp$1(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2544
- function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2545
- function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2546
- function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2547
- function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2548
-
2549
- // Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
2550
- function isSymbol(obj) {
2551
- if (hasShammedSymbols) {
2552
- return obj && typeof obj === 'object' && obj instanceof Symbol;
2553
- }
2554
- if (typeof obj === 'symbol') {
2555
- return true;
2556
- }
2557
- if (!obj || typeof obj !== 'object' || !symToString) {
2558
- return false;
2559
- }
2560
- try {
2561
- symToString.call(obj);
2562
- return true;
2563
- } catch (e) {}
2564
- return false;
2565
- }
2566
-
2567
- function isBigInt(obj) {
2568
- if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
2569
- return false;
2570
- }
2571
- try {
2572
- bigIntValueOf.call(obj);
2573
- return true;
2574
- } catch (e) {}
2575
- return false;
2576
- }
2577
-
2578
- var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
2579
- function has$1(obj, key) {
2580
- return hasOwn.call(obj, key);
2581
- }
2582
-
2583
- function toStr(obj) {
2584
- return objectToString.call(obj);
2585
- }
2586
-
2587
- function nameOf(f) {
2588
- if (f.name) { return f.name; }
2589
- var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
2590
- if (m) { return m[1]; }
2591
- return null;
2592
- }
2593
-
2594
- function indexOf(xs, x) {
2595
- if (xs.indexOf) { return xs.indexOf(x); }
2596
- for (var i = 0, l = xs.length; i < l; i++) {
2597
- if (xs[i] === x) { return i; }
2598
- }
2599
- return -1;
2600
- }
2601
-
2602
- function isMap(x) {
2603
- if (!mapSize || !x || typeof x !== 'object') {
2604
- return false;
2605
- }
2606
- try {
2607
- mapSize.call(x);
2608
- try {
2609
- setSize.call(x);
2610
- } catch (s) {
2611
- return true;
2612
- }
2613
- return x instanceof Map; // core-js workaround, pre-v2.5.0
2614
- } catch (e) {}
2615
- return false;
2616
- }
2617
-
2618
- function isWeakMap(x) {
2619
- if (!weakMapHas || !x || typeof x !== 'object') {
2620
- return false;
2621
- }
2622
- try {
2623
- weakMapHas.call(x, weakMapHas);
2624
- try {
2625
- weakSetHas.call(x, weakSetHas);
2626
- } catch (s) {
2627
- return true;
2628
- }
2629
- return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
2630
- } catch (e) {}
2631
- return false;
2632
- }
2633
-
2634
- function isWeakRef(x) {
2635
- if (!weakRefDeref || !x || typeof x !== 'object') {
2636
- return false;
2637
- }
2638
- try {
2639
- weakRefDeref.call(x);
2640
- return true;
2641
- } catch (e) {}
2642
- return false;
2643
- }
2644
-
2645
- function isSet(x) {
2646
- if (!setSize || !x || typeof x !== 'object') {
2647
- return false;
2648
- }
2649
- try {
2650
- setSize.call(x);
2651
- try {
2652
- mapSize.call(x);
2653
- } catch (m) {
2654
- return true;
2655
- }
2656
- return x instanceof Set; // core-js workaround, pre-v2.5.0
2657
- } catch (e) {}
2658
- return false;
2659
- }
2660
-
2661
- function isWeakSet(x) {
2662
- if (!weakSetHas || !x || typeof x !== 'object') {
2663
- return false;
2664
- }
2665
- try {
2666
- weakSetHas.call(x, weakSetHas);
2667
- try {
2668
- weakMapHas.call(x, weakMapHas);
2669
- } catch (s) {
2670
- return true;
2671
- }
2672
- return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
2673
- } catch (e) {}
2674
- return false;
2675
- }
2676
-
2677
- function isElement(x) {
2678
- if (!x || typeof x !== 'object') { return false; }
2679
- if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
2680
- return true;
2681
- }
2682
- return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
2683
- }
2684
-
2685
- function inspectString(str, opts) {
2686
- if (str.length > opts.maxStringLength) {
2687
- var remaining = str.length - opts.maxStringLength;
2688
- var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
2689
- return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
2690
- }
2691
- // eslint-disable-next-line no-control-regex
2692
- var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
2693
- return wrapQuotes(s, 'single', opts);
2694
- }
2695
-
2696
- function lowbyte(c) {
2697
- var n = c.charCodeAt(0);
2698
- var x = {
2699
- 8: 'b',
2700
- 9: 't',
2701
- 10: 'n',
2702
- 12: 'f',
2703
- 13: 'r'
2704
- }[n];
2705
- if (x) { return '\\' + x; }
2706
- return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
2707
- }
2708
-
2709
- function markBoxed(str) {
2710
- return 'Object(' + str + ')';
2711
- }
2712
-
2713
- function weakCollectionOf(type) {
2714
- return type + ' { ? }';
2715
- }
2716
-
2717
- function collectionOf(type, size, entries, indent) {
2718
- var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
2719
- return type + ' (' + size + ') {' + joinedEntries + '}';
2720
- }
2721
-
2722
- function singleLineValues(xs) {
2723
- for (var i = 0; i < xs.length; i++) {
2724
- if (indexOf(xs[i], '\n') >= 0) {
2725
- return false;
2726
- }
2727
- }
2728
- return true;
2729
- }
2730
-
2731
- function getIndent(opts, depth) {
2732
- var baseIndent;
2733
- if (opts.indent === '\t') {
2734
- baseIndent = '\t';
2735
- } else if (typeof opts.indent === 'number' && opts.indent > 0) {
2736
- baseIndent = $join.call(Array(opts.indent + 1), ' ');
2737
- } else {
2738
- return null;
2739
- }
2740
- return {
2741
- base: baseIndent,
2742
- prev: $join.call(Array(depth + 1), baseIndent)
2743
- };
2744
- }
2745
-
2746
- function indentedJoin(xs, indent) {
2747
- if (xs.length === 0) { return ''; }
2748
- var lineJoiner = '\n' + indent.prev + indent.base;
2749
- return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
2750
- }
2751
-
2752
- function arrObjKeys(obj, inspect) {
2753
- var isArr = isArray$1(obj);
2754
- var xs = [];
2755
- if (isArr) {
2756
- xs.length = obj.length;
2757
- for (var i = 0; i < obj.length; i++) {
2758
- xs[i] = has$1(obj, i) ? inspect(obj[i], obj) : '';
2759
- }
2760
- }
2761
- var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
2762
- var symMap;
2763
- if (hasShammedSymbols) {
2764
- symMap = {};
2765
- for (var k = 0; k < syms.length; k++) {
2766
- symMap['$' + syms[k]] = syms[k];
2767
- }
2768
- }
2769
-
2770
- for (var key in obj) { // eslint-disable-line no-restricted-syntax
2771
- if (!has$1(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
2772
- if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
2773
- if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
2774
- // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
2775
- continue; // eslint-disable-line no-restricted-syntax, no-continue
2776
- } else if ($test.call(/[^\w$]/, key)) {
2777
- xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
2778
- } else {
2779
- xs.push(key + ': ' + inspect(obj[key], obj));
2780
- }
2781
- }
2782
- if (typeof gOPS === 'function') {
2783
- for (var j = 0; j < syms.length; j++) {
2784
- if (isEnumerable.call(obj, syms[j])) {
2785
- xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
2786
- }
2787
- }
2788
- }
2789
- return xs;
2790
- }
2791
-
2792
- var $TypeError = getIntrinsic('%TypeError%');
2793
- var $WeakMap = getIntrinsic('%WeakMap%', true);
2794
- var $Map = getIntrinsic('%Map%', true);
2795
-
2796
- var $weakMapGet = callBound('WeakMap.prototype.get', true);
2797
- var $weakMapSet = callBound('WeakMap.prototype.set', true);
2798
- var $weakMapHas = callBound('WeakMap.prototype.has', true);
2799
- var $mapGet = callBound('Map.prototype.get', true);
2800
- var $mapSet = callBound('Map.prototype.set', true);
2801
- var $mapHas = callBound('Map.prototype.has', true);
2802
-
2803
- /*
2804
- * This function traverses the list returning the node corresponding to the
2805
- * given key.
2806
- *
2807
- * That node is also moved to the head of the list, so that if it's accessed
2808
- * again we don't need to traverse the whole list. By doing so, all the recently
2809
- * used nodes can be accessed relatively quickly.
2810
- */
2811
- var listGetNode = function (list, key) { // eslint-disable-line consistent-return
2812
- for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
2813
- if (curr.key === key) {
2814
- prev.next = curr.next;
2815
- curr.next = list.next;
2816
- list.next = curr; // eslint-disable-line no-param-reassign
2817
- return curr;
2818
- }
2819
- }
2820
- };
2821
-
2822
- var listGet = function (objects, key) {
2823
- var node = listGetNode(objects, key);
2824
- return node && node.value;
2825
- };
2826
- var listSet = function (objects, key, value) {
2827
- var node = listGetNode(objects, key);
2828
- if (node) {
2829
- node.value = value;
2830
- } else {
2831
- // Prepend the new node to the beginning of the list
2832
- objects.next = { // eslint-disable-line no-param-reassign
2833
- key: key,
2834
- next: objects.next,
2835
- value: value
2836
- };
2837
- }
2838
- };
2839
- var listHas = function (objects, key) {
2840
- return !!listGetNode(objects, key);
2841
- };
2842
-
2843
- var sideChannel = function getSideChannel() {
2844
- var $wm;
2845
- var $m;
2846
- var $o;
2847
- var channel = {
2848
- assert: function (key) {
2849
- if (!channel.has(key)) {
2850
- throw new $TypeError('Side channel does not contain ' + objectInspect(key));
2851
- }
2852
- },
2853
- get: function (key) { // eslint-disable-line consistent-return
2854
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
2855
- if ($wm) {
2856
- return $weakMapGet($wm, key);
2857
- }
2858
- } else if ($Map) {
2859
- if ($m) {
2860
- return $mapGet($m, key);
2861
- }
2862
- } else {
2863
- if ($o) { // eslint-disable-line no-lonely-if
2864
- return listGet($o, key);
2865
- }
2866
- }
2867
- },
2868
- has: function (key) {
2869
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
2870
- if ($wm) {
2871
- return $weakMapHas($wm, key);
2872
- }
2873
- } else if ($Map) {
2874
- if ($m) {
2875
- return $mapHas($m, key);
2876
- }
2877
- } else {
2878
- if ($o) { // eslint-disable-line no-lonely-if
2879
- return listHas($o, key);
2880
- }
2881
- }
2882
- return false;
2883
- },
2884
- set: function (key, value) {
2885
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
2886
- if (!$wm) {
2887
- $wm = new $WeakMap();
2888
- }
2889
- $weakMapSet($wm, key, value);
2890
- } else if ($Map) {
2891
- if (!$m) {
2892
- $m = new $Map();
2893
- }
2894
- $mapSet($m, key, value);
2895
- } else {
2896
- if (!$o) {
2897
- /*
2898
- * Initialize the linked list as an empty node, so that we don't have
2899
- * to special-case handling of the first node: we can always refer to
2900
- * it as (previous node).next, instead of something like (list).head
2901
- */
2902
- $o = { key: {}, next: null };
2903
- }
2904
- listSet($o, key, value);
2905
- }
2906
- }
2907
- };
2908
- return channel;
2909
- };
2910
-
2911
- var replace = String.prototype.replace;
2912
- var percentTwenties = /%20/g;
2913
-
2914
- var Format = {
2915
- RFC1738: 'RFC1738',
2916
- RFC3986: 'RFC3986'
2917
- };
2918
-
2919
- var formats = {
2920
- 'default': Format.RFC3986,
2921
- formatters: {
2922
- RFC1738: function (value) {
2923
- return replace.call(value, percentTwenties, '+');
2924
- },
2925
- RFC3986: function (value) {
2926
- return String(value);
2927
- }
2928
- },
2929
- RFC1738: Format.RFC1738,
2930
- RFC3986: Format.RFC3986
2931
- };
2932
-
2933
- var has = Object.prototype.hasOwnProperty;
2934
- var isArray = Array.isArray;
2935
-
2936
- var hexTable = (function () {
2937
- var array = [];
2938
- for (var i = 0; i < 256; ++i) {
2939
- array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
2940
- }
2941
-
2942
- return array;
2943
- }());
2944
-
2945
- var compactQueue = function compactQueue(queue) {
2946
- while (queue.length > 1) {
2947
- var item = queue.pop();
2948
- var obj = item.obj[item.prop];
2949
-
2950
- if (isArray(obj)) {
2951
- var compacted = [];
2952
-
2953
- for (var j = 0; j < obj.length; ++j) {
2954
- if (typeof obj[j] !== 'undefined') {
2955
- compacted.push(obj[j]);
2956
- }
2957
- }
2958
-
2959
- item.obj[item.prop] = compacted;
2960
- }
2961
- }
2962
- };
2963
-
2964
- var arrayToObject = function arrayToObject(source, options) {
2965
- var obj = options && options.plainObjects ? Object.create(null) : {};
2966
- for (var i = 0; i < source.length; ++i) {
2967
- if (typeof source[i] !== 'undefined') {
2968
- obj[i] = source[i];
2969
- }
2970
- }
2971
-
2972
- return obj;
2973
- };
2974
-
2975
- var merge = function merge(target, source, options) {
2976
- /* eslint no-param-reassign: 0 */
2977
- if (!source) {
2978
- return target;
2979
- }
2980
-
2981
- if (typeof source !== 'object') {
2982
- if (isArray(target)) {
2983
- target.push(source);
2984
- } else if (target && typeof target === 'object') {
2985
- if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
2986
- target[source] = true;
2987
- }
2988
- } else {
2989
- return [target, source];
2990
- }
2991
-
2992
- return target;
2993
- }
2994
-
2995
- if (!target || typeof target !== 'object') {
2996
- return [target].concat(source);
2997
- }
2998
-
2999
- var mergeTarget = target;
3000
- if (isArray(target) && !isArray(source)) {
3001
- mergeTarget = arrayToObject(target, options);
3002
- }
3003
-
3004
- if (isArray(target) && isArray(source)) {
3005
- source.forEach(function (item, i) {
3006
- if (has.call(target, i)) {
3007
- var targetItem = target[i];
3008
- if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
3009
- target[i] = merge(targetItem, item, options);
3010
- } else {
3011
- target.push(item);
3012
- }
3013
- } else {
3014
- target[i] = item;
3015
- }
3016
- });
3017
- return target;
3018
- }
3019
-
3020
- return Object.keys(source).reduce(function (acc, key) {
3021
- var value = source[key];
3022
-
3023
- if (has.call(acc, key)) {
3024
- acc[key] = merge(acc[key], value, options);
3025
- } else {
3026
- acc[key] = value;
3027
- }
3028
- return acc;
3029
- }, mergeTarget);
3030
- };
3031
-
3032
- var assign = function assignSingleSource(target, source) {
3033
- return Object.keys(source).reduce(function (acc, key) {
3034
- acc[key] = source[key];
3035
- return acc;
3036
- }, target);
3037
- };
3038
-
3039
- var decode = function (str, decoder, charset) {
3040
- var strWithoutPlus = str.replace(/\+/g, ' ');
3041
- if (charset === 'iso-8859-1') {
3042
- // unescape never throws, no try...catch needed:
3043
- return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
3044
- }
3045
- // utf-8
3046
- try {
3047
- return decodeURIComponent(strWithoutPlus);
3048
- } catch (e) {
3049
- return strWithoutPlus;
3050
- }
3051
- };
3052
-
3053
- var encode = function encode(str, defaultEncoder, charset, kind, format) {
3054
- // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
3055
- // It has been adapted here for stricter adherence to RFC 3986
3056
- if (str.length === 0) {
3057
- return str;
3058
- }
3059
-
3060
- var string = str;
3061
- if (typeof str === 'symbol') {
3062
- string = Symbol.prototype.toString.call(str);
3063
- } else if (typeof str !== 'string') {
3064
- string = String(str);
3065
- }
3066
-
3067
- if (charset === 'iso-8859-1') {
3068
- return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {
3069
- return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
3070
- });
3071
- }
3072
-
3073
- var out = '';
3074
- for (var i = 0; i < string.length; ++i) {
3075
- var c = string.charCodeAt(i);
3076
-
3077
- if (
3078
- c === 0x2D // -
3079
- || c === 0x2E // .
3080
- || c === 0x5F // _
3081
- || c === 0x7E // ~
3082
- || (c >= 0x30 && c <= 0x39) // 0-9
3083
- || (c >= 0x41 && c <= 0x5A) // a-z
3084
- || (c >= 0x61 && c <= 0x7A) // A-Z
3085
- || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )
3086
- ) {
3087
- out += string.charAt(i);
3088
- continue;
3089
- }
3090
-
3091
- if (c < 0x80) {
3092
- out = out + hexTable[c];
3093
- continue;
3094
- }
3095
-
3096
- if (c < 0x800) {
3097
- out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
3098
- continue;
3099
- }
3100
-
3101
- if (c < 0xD800 || c >= 0xE000) {
3102
- out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
3103
- continue;
3104
- }
3105
-
3106
- i += 1;
3107
- c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
3108
- /* eslint operator-linebreak: [2, "before"] */
3109
- out += hexTable[0xF0 | (c >> 18)]
3110
- + hexTable[0x80 | ((c >> 12) & 0x3F)]
3111
- + hexTable[0x80 | ((c >> 6) & 0x3F)]
3112
- + hexTable[0x80 | (c & 0x3F)];
3113
- }
3114
-
3115
- return out;
3116
- };
3117
-
3118
- var compact = function compact(value) {
3119
- var queue = [{ obj: { o: value }, prop: 'o' }];
3120
- var refs = [];
3121
-
3122
- for (var i = 0; i < queue.length; ++i) {
3123
- var item = queue[i];
3124
- var obj = item.obj[item.prop];
3125
-
3126
- var keys = Object.keys(obj);
3127
- for (var j = 0; j < keys.length; ++j) {
3128
- var key = keys[j];
3129
- var val = obj[key];
3130
- if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
3131
- queue.push({ obj: obj, prop: key });
3132
- refs.push(val);
3133
- }
3134
- }
3135
- }
3136
-
3137
- compactQueue(queue);
3138
-
3139
- return value;
3140
- };
3141
-
3142
- var isRegExp = function isRegExp(obj) {
3143
- return Object.prototype.toString.call(obj) === '[object RegExp]';
3144
- };
3145
-
3146
- var isBuffer = function isBuffer(obj) {
3147
- if (!obj || typeof obj !== 'object') {
3148
- return false;
3149
- }
3150
-
3151
- return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
3152
- };
3153
-
3154
- var combine = function combine(a, b) {
3155
- return [].concat(a, b);
3156
- };
3157
-
3158
- var maybeMap = function maybeMap(val, fn) {
3159
- if (isArray(val)) {
3160
- var mapped = [];
3161
- for (var i = 0; i < val.length; i += 1) {
3162
- mapped.push(fn(val[i]));
3163
- }
3164
- return mapped;
3165
- }
3166
- return fn(val);
3167
- };
3168
-
3169
- var utils = {
3170
- arrayToObject: arrayToObject,
3171
- assign: assign,
3172
- combine: combine,
3173
- compact: compact,
3174
- decode: decode,
3175
- encode: encode,
3176
- isBuffer: isBuffer,
3177
- isRegExp: isRegExp,
3178
- maybeMap: maybeMap,
3179
- merge: merge
3180
- };
3181
-
3182
- const appendToMap = (map, propName, value) => {
3183
- const items = map.get(propName);
3184
- if (!items) {
3185
- map.set(propName, [value]);
3186
- }
3187
- else if (!items.includes(value)) {
3188
- items.push(value);
3189
- }
3190
- };
3191
- const debounce = (fn, ms) => {
3192
- let timeoutId;
3193
- return (...args) => {
3194
- if (timeoutId) {
3195
- clearTimeout(timeoutId);
3196
- }
3197
- timeoutId = setTimeout(() => {
3198
- timeoutId = 0;
3199
- fn(...args);
3200
- }, ms);
3201
- };
3202
- };
3203
-
3204
- /**
3205
- * Check if a possible element isConnected.
3206
- * The property might not be there, so we check for it.
3207
- *
3208
- * We want it to return true if isConnected is not a property,
3209
- * otherwise we would remove these elements and would not update.
3210
- *
3211
- * Better leak in Edge than to be useless.
3212
- */
3213
- const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
3214
- const cleanupElements = debounce((map) => {
3215
- for (let key of map.keys()) {
3216
- map.set(key, map.get(key).filter(isConnected));
3217
- }
3218
- }, 2000);
3219
- const stencilSubscription = () => {
3220
- if (typeof index.getRenderingRef !== 'function') {
3221
- // If we are not in a stencil project, we do nothing.
3222
- // This function is not really exported by @stencil/core.
3223
- return {};
3224
- }
3225
- const elmsToUpdate = new Map();
3226
- return {
3227
- dispose: () => elmsToUpdate.clear(),
3228
- get: (propName) => {
3229
- const elm = index.getRenderingRef();
3230
- if (elm) {
3231
- appendToMap(elmsToUpdate, propName, elm);
3232
- }
3233
- },
3234
- set: (propName) => {
3235
- const elements = elmsToUpdate.get(propName);
3236
- if (elements) {
3237
- elmsToUpdate.set(propName, elements.filter(index.forceUpdate));
3238
- }
3239
- cleanupElements(elmsToUpdate);
3240
- },
3241
- reset: () => {
3242
- elmsToUpdate.forEach((elms) => elms.forEach(index.forceUpdate));
3243
- cleanupElements(elmsToUpdate);
3244
- },
3245
- };
3246
- };
3247
-
3248
- const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
3249
- let states = new Map(Object.entries(defaultState !== null && defaultState !== void 0 ? defaultState : {}));
3250
- const handlers = {
3251
- dispose: [],
3252
- get: [],
3253
- set: [],
3254
- reset: [],
3255
- };
3256
- const reset = () => {
3257
- states = new Map(Object.entries(defaultState !== null && defaultState !== void 0 ? defaultState : {}));
3258
- handlers.reset.forEach((cb) => cb());
3259
- };
3260
- const dispose = () => {
3261
- // Call first dispose as resetting the state would
3262
- // cause less updates ;)
3263
- handlers.dispose.forEach((cb) => cb());
3264
- reset();
3265
- };
3266
- const get = (propName) => {
3267
- handlers.get.forEach((cb) => cb(propName));
3268
- return states.get(propName);
3269
- };
3270
- const set = (propName, value) => {
3271
- const oldValue = states.get(propName);
3272
- if (shouldUpdate(value, oldValue, propName)) {
3273
- states.set(propName, value);
3274
- handlers.set.forEach((cb) => cb(propName, value, oldValue));
3275
- }
3276
- };
3277
- const state = (typeof Proxy === 'undefined'
3278
- ? {}
3279
- : new Proxy(defaultState, {
3280
- get(_, propName) {
3281
- return get(propName);
3282
- },
3283
- ownKeys(_) {
3284
- return Array.from(states.keys());
3285
- },
3286
- getOwnPropertyDescriptor() {
3287
- return {
3288
- enumerable: true,
3289
- configurable: true,
3290
- };
3291
- },
3292
- has(_, propName) {
3293
- return states.has(propName);
3294
- },
3295
- set(_, propName, value) {
3296
- set(propName, value);
3297
- return true;
3298
- },
3299
- }));
3300
- const on = (eventName, callback) => {
3301
- handlers[eventName].push(callback);
3302
- return () => {
3303
- removeFromArray(handlers[eventName], callback);
3304
- };
3305
- };
3306
- const onChange = (propName, cb) => {
3307
- const unSet = on('set', (key, newValue) => {
3308
- if (key === propName) {
3309
- cb(newValue);
3310
- }
3311
- });
3312
- const unReset = on('reset', () => cb(defaultState[propName]));
3313
- return () => {
3314
- unSet();
3315
- unReset();
3316
- };
3317
- };
3318
- const use = (...subscriptions) => {
3319
- const unsubs = subscriptions.reduce((unsubs, subscription) => {
3320
- if (subscription.set) {
3321
- unsubs.push(on('set', subscription.set));
3322
- }
3323
- if (subscription.get) {
3324
- unsubs.push(on('get', subscription.get));
3325
- }
3326
- if (subscription.reset) {
3327
- unsubs.push(on('reset', subscription.reset));
3328
- }
3329
- if (subscription.dispose) {
3330
- unsubs.push(on('dispose', subscription.dispose));
3331
- }
3332
- return unsubs;
3333
- }, []);
3334
- return () => unsubs.forEach((unsub) => unsub());
3335
- };
3336
- const forceUpdate = (key) => {
3337
- const oldValue = states.get(key);
3338
- handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
3339
- };
3340
- return {
3341
- state,
3342
- get,
3343
- set,
3344
- on,
3345
- onChange,
3346
- use,
3347
- dispose,
3348
- reset,
3349
- forceUpdate,
3350
- };
3351
- };
3352
- const removeFromArray = (array, item) => {
3353
- const index = array.indexOf(item);
3354
- if (index >= 0) {
3355
- array[index] = array[array.length - 1];
3356
- array.length--;
3357
- }
3358
- };
3359
-
3360
- const createStore = (defaultState, shouldUpdate) => {
3361
- const map = createObservableMap(defaultState, shouldUpdate);
3362
- map.use(stencilSubscription());
3363
- return map;
3364
- };
3365
-
3366
- const { state: state$1, onChange: onChange$1, reset: reset$1 } = createStore({
3367
- toc: undefined,
3368
- });
3369
- const TocStore = { state: state$1, onChange: onChange$1, reset: reset$1 };
3370
-
3371
- const { state, onChange, reset } = createStore({
3372
- authUser: null,
3373
- bearer: 'Bearer ',
3374
- isAuthenticated: false,
3375
- loading: false
3376
- });
3377
- onChange('authUser', (authUser) => {
3378
- state.bearer = `Bearer ${authUser ? authUser.JWToken : ''}`;
3379
- state.isAuthenticated = authUser && !!authUser.Id;
3380
- });
3381
- const AuthStore = { state, onChange, reset };
3382
-
3383
- exports.AuthStore = AuthStore;
3384
- exports.TocStore = TocStore;
3385
- exports.axios_1 = axios_1;
3386
- exports.commonjsGlobal = commonjsGlobal;
3387
- exports.createCommonjsModule = createCommonjsModule;
3388
- exports.createStore = createStore;
3389
- exports.formats = formats;
3390
- exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
3391
- exports.sideChannel = sideChannel;
3392
- exports.utils = utils;