@learncard/react 2.5.16 → 2.5.17

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 (462) hide show
  1. package/package.json +2 -2
  2. package/dist/base.css +0 -1
  3. package/dist/base.js +0 -3
  4. package/dist/cjs/AchievementCard-f0130caa.js +0 -67
  5. package/dist/cjs/AchievementCard-f0130caa.js.map +0 -1
  6. package/dist/cjs/ArrowArcLeft.svg +0 -4
  7. package/dist/cjs/ArrowArcRight.svg +0 -4
  8. package/dist/cjs/AwardRibbon-14ba45fb.js +0 -33
  9. package/dist/cjs/AwardRibbon-14ba45fb.js.map +0 -1
  10. package/dist/cjs/BoostGenericCard-315c6b82.js +0 -77
  11. package/dist/cjs/BoostGenericCard-315c6b82.js.map +0 -1
  12. package/dist/cjs/BoostSmallCard-30f75abb.js +0 -117
  13. package/dist/cjs/BoostSmallCard-30f75abb.js.map +0 -1
  14. package/dist/cjs/Button-a7af702b.js +0 -18
  15. package/dist/cjs/Button-a7af702b.js.map +0 -1
  16. package/dist/cjs/CaretRightFilled.svg +0 -3
  17. package/dist/cjs/Checkmark-f611aa4d.js +0 -58
  18. package/dist/cjs/Checkmark-f611aa4d.js.map +0 -1
  19. package/dist/cjs/CircleCheckButton-43c96841.js +0 -30
  20. package/dist/cjs/CircleCheckButton-43c96841.js.map +0 -1
  21. package/dist/cjs/CircleIcon-a45953f5.js +0 -1083
  22. package/dist/cjs/CircleIcon-a45953f5.js.map +0 -1
  23. package/dist/cjs/CircleSpinner-093cce04.js +0 -49
  24. package/dist/cjs/CircleSpinner-093cce04.js.map +0 -1
  25. package/dist/cjs/CourseCard-338a32ee.js +0 -92
  26. package/dist/cjs/CourseCard-338a32ee.js.map +0 -1
  27. package/dist/cjs/CourseVerticalCard-b76f5407.js +0 -98
  28. package/dist/cjs/CourseVerticalCard-b76f5407.js.map +0 -1
  29. package/dist/cjs/FlippyCard-209549c5.js +0 -34
  30. package/dist/cjs/FlippyCard-209549c5.js.map +0 -1
  31. package/dist/cjs/GenericArrow-8dfb261d.js +0 -27
  32. package/dist/cjs/GenericArrow-8dfb261d.js.map +0 -1
  33. package/dist/cjs/GenericCard-9674fcc0.js +0 -61
  34. package/dist/cjs/GenericCard-9674fcc0.js.map +0 -1
  35. package/dist/cjs/GreenCheckCircle.svg +0 -4
  36. package/dist/cjs/JobHistoryCard-05a3f98b.js +0 -43
  37. package/dist/cjs/JobHistoryCard-05a3f98b.js.map +0 -1
  38. package/dist/cjs/JobListCard-c662e649.js +0 -127
  39. package/dist/cjs/JobListCard-c662e649.js.map +0 -1
  40. package/dist/cjs/LearnCardCreditCardBackFace-87cc8b9f.js +0 -72
  41. package/dist/cjs/LearnCardCreditCardBackFace-87cc8b9f.js.map +0 -1
  42. package/dist/cjs/LearnCardCreditCardFrontFace-4452fd7a.js +0 -78
  43. package/dist/cjs/LearnCardCreditCardFrontFace-4452fd7a.js.map +0 -1
  44. package/dist/cjs/LearnPill-5c9bf172.js +0 -40
  45. package/dist/cjs/LearnPill-5c9bf172.js.map +0 -1
  46. package/dist/cjs/Lightbulb-1c28af02.js +0 -22
  47. package/dist/cjs/Lightbulb-1c28af02.js.map +0 -1
  48. package/dist/cjs/MiniVCThumbnail-a78e44f2.js +0 -69
  49. package/dist/cjs/MiniVCThumbnail-a78e44f2.js.map +0 -1
  50. package/dist/cjs/Notification-9d230f1b.js +0 -94
  51. package/dist/cjs/Notification-9d230f1b.js.map +0 -1
  52. package/dist/cjs/NotificationBoostCard-3b3bd47d.js +0 -121
  53. package/dist/cjs/NotificationBoostCard-3b3bd47d.js.map +0 -1
  54. package/dist/cjs/NotificationUserAcceptedBoostCard-423b9320.js +0 -74
  55. package/dist/cjs/NotificationUserAcceptedBoostCard-423b9320.js.map +0 -1
  56. package/dist/cjs/NotificationUserCard-d4dab06c.js +0 -94
  57. package/dist/cjs/NotificationUserCard-d4dab06c.js.map +0 -1
  58. package/dist/cjs/QRCodeCard-efaa58e1.js +0 -42
  59. package/dist/cjs/QRCodeCard-efaa58e1.js.map +0 -1
  60. package/dist/cjs/RedXCircle.svg +0 -5
  61. package/dist/cjs/RoundedPill-85e7ed68.js +0 -106
  62. package/dist/cjs/RoundedPill-85e7ed68.js.map +0 -1
  63. package/dist/cjs/SchoolIDCard-1baf77e8.js +0 -4728
  64. package/dist/cjs/SchoolIDCard-1baf77e8.js.map +0 -1
  65. package/dist/cjs/SkillTabCard-14ba0618.js +0 -42
  66. package/dist/cjs/SkillTabCard-14ba0618.js.map +0 -1
  67. package/dist/cjs/SkillVerticalCard-3eb3a8e9.js +0 -35
  68. package/dist/cjs/SkillVerticalCard-3eb3a8e9.js.map +0 -1
  69. package/dist/cjs/SkillsCard-4b6dbb4f.js +0 -66
  70. package/dist/cjs/SkillsCard-4b6dbb4f.js.map +0 -1
  71. package/dist/cjs/SkillsStatsCard-97a35a88.js +0 -77
  72. package/dist/cjs/SkillsStatsCard-97a35a88.js.map +0 -1
  73. package/dist/cjs/SmallAchievementCard-c76701ce.js +0 -43
  74. package/dist/cjs/SmallAchievementCard-c76701ce.js.map +0 -1
  75. package/dist/cjs/Trophy-9ede7f2b.js +0 -25
  76. package/dist/cjs/Trophy-9ede7f2b.js.map +0 -1
  77. package/dist/cjs/User-92f9cf40.js +0 -91
  78. package/dist/cjs/User-92f9cf40.js.map +0 -1
  79. package/dist/cjs/VCCard-c82aadc9.js +0 -79
  80. package/dist/cjs/VCCard-c82aadc9.js.map +0 -1
  81. package/dist/cjs/VCDisplayBackFace-7000dc04.js +0 -87
  82. package/dist/cjs/VCDisplayBackFace-7000dc04.js.map +0 -1
  83. package/dist/cjs/VCDisplayCard-043dc048.js +0 -191
  84. package/dist/cjs/VCDisplayCard-043dc048.js.map +0 -1
  85. package/dist/cjs/VCDisplayCard2-2227e05c.js +0 -1012
  86. package/dist/cjs/VCDisplayCard2-2227e05c.js.map +0 -1
  87. package/dist/cjs/VCThumbnail-6bf86bb2.js +0 -143
  88. package/dist/cjs/VCThumbnail-6bf86bb2.js.map +0 -1
  89. package/dist/cjs/VCVerificationCheck-46fa75d3.js +0 -81
  90. package/dist/cjs/VCVerificationCheck-46fa75d3.js.map +0 -1
  91. package/dist/cjs/VCVerificationPill-f270da3c.js +0 -75
  92. package/dist/cjs/VCVerificationPill-f270da3c.js.map +0 -1
  93. package/dist/cjs/X.svg +0 -4
  94. package/dist/cjs/YellowWarningCircle.svg +0 -4
  95. package/dist/cjs/addawardlight.svg +0 -8
  96. package/dist/cjs/award.svg +0 -3
  97. package/dist/cjs/badge.png +0 -0
  98. package/dist/cjs/briefcase.svg +0 -6
  99. package/dist/cjs/card-chip.svg +0 -26
  100. package/dist/cjs/coins.svg +0 -3
  101. package/dist/cjs/constants-35d9ebc6.js +0 -109
  102. package/dist/cjs/constants-35d9ebc6.js.map +0 -1
  103. package/dist/cjs/contactless-symbol.svg +0 -3
  104. package/dist/cjs/credential.helpers-86774cc9.js +0 -2188
  105. package/dist/cjs/credential.helpers-86774cc9.js.map +0 -1
  106. package/dist/cjs/default-face.jpeg +0 -0
  107. package/dist/cjs/gradcaplight.svg +0 -3
  108. package/dist/cjs/graduation.svg +0 -3
  109. package/dist/cjs/icon.green.fat-arrow.png +0 -0
  110. package/dist/cjs/icons-ac6eb6ec.js +0 -48
  111. package/dist/cjs/icons-ac6eb6ec.js.map +0 -1
  112. package/dist/cjs/index-82de573c.js +0 -774
  113. package/dist/cjs/index-82de573c.js.map +0 -1
  114. package/dist/cjs/index-83152f8d.js +0 -74
  115. package/dist/cjs/index-83152f8d.js.map +0 -1
  116. package/dist/cjs/index-a961acab.js +0 -3538
  117. package/dist/cjs/index-a961acab.js.map +0 -1
  118. package/dist/cjs/index-d836b84d.js +0 -51
  119. package/dist/cjs/index-d836b84d.js.map +0 -1
  120. package/dist/cjs/index.js +0 -161
  121. package/dist/cjs/index.js.map +0 -1
  122. package/dist/cjs/index10.js +0 -11
  123. package/dist/cjs/index10.js.map +0 -1
  124. package/dist/cjs/index11.js +0 -36
  125. package/dist/cjs/index11.js.map +0 -1
  126. package/dist/cjs/index12.js +0 -161
  127. package/dist/cjs/index12.js.map +0 -1
  128. package/dist/cjs/index13.js +0 -12
  129. package/dist/cjs/index13.js.map +0 -1
  130. package/dist/cjs/index14.js +0 -24
  131. package/dist/cjs/index14.js.map +0 -1
  132. package/dist/cjs/index15.js +0 -12
  133. package/dist/cjs/index15.js.map +0 -1
  134. package/dist/cjs/index16.js +0 -14
  135. package/dist/cjs/index16.js.map +0 -1
  136. package/dist/cjs/index17.js +0 -23
  137. package/dist/cjs/index17.js.map +0 -1
  138. package/dist/cjs/index18.js +0 -11
  139. package/dist/cjs/index18.js.map +0 -1
  140. package/dist/cjs/index19.js +0 -12
  141. package/dist/cjs/index19.js.map +0 -1
  142. package/dist/cjs/index2.js +0 -37
  143. package/dist/cjs/index2.js.map +0 -1
  144. package/dist/cjs/index20.js +0 -17
  145. package/dist/cjs/index20.js.map +0 -1
  146. package/dist/cjs/index21.js +0 -19
  147. package/dist/cjs/index21.js.map +0 -1
  148. package/dist/cjs/index22.js +0 -15
  149. package/dist/cjs/index22.js.map +0 -1
  150. package/dist/cjs/index23.js +0 -17
  151. package/dist/cjs/index23.js.map +0 -1
  152. package/dist/cjs/index24.js +0 -12
  153. package/dist/cjs/index24.js.map +0 -1
  154. package/dist/cjs/index25.js +0 -24
  155. package/dist/cjs/index25.js.map +0 -1
  156. package/dist/cjs/index26.js +0 -40
  157. package/dist/cjs/index26.js.map +0 -1
  158. package/dist/cjs/index27.js +0 -11
  159. package/dist/cjs/index27.js.map +0 -1
  160. package/dist/cjs/index28.js +0 -12
  161. package/dist/cjs/index28.js.map +0 -1
  162. package/dist/cjs/index29.js +0 -12
  163. package/dist/cjs/index29.js.map +0 -1
  164. package/dist/cjs/index3.js +0 -36
  165. package/dist/cjs/index3.js.map +0 -1
  166. package/dist/cjs/index30.js +0 -25
  167. package/dist/cjs/index30.js.map +0 -1
  168. package/dist/cjs/index31.js +0 -12
  169. package/dist/cjs/index31.js.map +0 -1
  170. package/dist/cjs/index32.js +0 -12
  171. package/dist/cjs/index32.js.map +0 -1
  172. package/dist/cjs/index33.js +0 -24
  173. package/dist/cjs/index33.js.map +0 -1
  174. package/dist/cjs/index34.js +0 -31
  175. package/dist/cjs/index34.js.map +0 -1
  176. package/dist/cjs/index35.js +0 -22
  177. package/dist/cjs/index35.js.map +0 -1
  178. package/dist/cjs/index36.js +0 -26
  179. package/dist/cjs/index36.js.map +0 -1
  180. package/dist/cjs/index37.js +0 -20
  181. package/dist/cjs/index37.js.map +0 -1
  182. package/dist/cjs/index38.js +0 -10
  183. package/dist/cjs/index38.js.map +0 -1
  184. package/dist/cjs/index39.js +0 -13
  185. package/dist/cjs/index39.js.map +0 -1
  186. package/dist/cjs/index4.js +0 -39
  187. package/dist/cjs/index4.js.map +0 -1
  188. package/dist/cjs/index40.js +0 -15
  189. package/dist/cjs/index40.js.map +0 -1
  190. package/dist/cjs/index41.js +0 -15
  191. package/dist/cjs/index41.js.map +0 -1
  192. package/dist/cjs/index5.js +0 -11
  193. package/dist/cjs/index5.js.map +0 -1
  194. package/dist/cjs/index6.js +0 -24
  195. package/dist/cjs/index6.js.map +0 -1
  196. package/dist/cjs/index7.js +0 -24
  197. package/dist/cjs/index7.js.map +0 -1
  198. package/dist/cjs/index8.js +0 -15
  199. package/dist/cjs/index8.js.map +0 -1
  200. package/dist/cjs/index9.js +0 -27
  201. package/dist/cjs/index9.js.map +0 -1
  202. package/dist/cjs/lhplaceholder.png +0 -0
  203. package/dist/cjs/lightbulb.svg +0 -3
  204. package/dist/cjs/master-card-logo.svg +0 -20
  205. package/dist/cjs/minigradcapcolored.svg +0 -3
  206. package/dist/cjs/minijob.svg +0 -5
  207. package/dist/cjs/minipuzzle.svg +0 -3
  208. package/dist/cjs/minipuzzlecolored.svg +0 -3
  209. package/dist/cjs/minitrophy.svg +0 -3
  210. package/dist/cjs/minitrophycolored.svg +0 -3
  211. package/dist/cjs/notifications-56c6fc94.js +0 -21
  212. package/dist/cjs/notifications-56c6fc94.js.map +0 -1
  213. package/dist/cjs/skillgraph.svg +0 -29
  214. package/dist/cjs/skillplaceholder.png +0 -0
  215. package/dist/cjs/social-badge.png +0 -0
  216. package/dist/cjs/trophy.svg +0 -3
  217. package/dist/cjs/types-c83b33ec.js +0 -115
  218. package/dist/cjs/types-c83b33ec.js.map +0 -1
  219. package/dist/cjs/types-e4d9a257.js +0 -25
  220. package/dist/cjs/types-e4d9a257.js.map +0 -1
  221. package/dist/cjs/types.esm-6fa436eb.js +0 -4080
  222. package/dist/cjs/types.esm-6fa436eb.js.map +0 -1
  223. package/dist/cjs/user.svg +0 -4
  224. package/dist/cjs/vc.check.svg +0 -10
  225. package/dist/cjs/verified-check.png +0 -0
  226. package/dist/cjs/walletTrophy.webp +0 -0
  227. package/dist/cjs/walletcurrency.webp +0 -0
  228. package/dist/cjs/walletids.webp +0 -0
  229. package/dist/cjs/walletjobhistory.webp +0 -0
  230. package/dist/cjs/walletlearninghistory.webp +0 -0
  231. package/dist/cjs/walletskills.webp +0 -0
  232. package/dist/esm/AchievementCard-b9eb551c.js +0 -61
  233. package/dist/esm/AchievementCard-b9eb551c.js.map +0 -1
  234. package/dist/esm/ArrowArcLeft.svg +0 -4
  235. package/dist/esm/ArrowArcRight.svg +0 -4
  236. package/dist/esm/AwardRibbon-3e682281.js +0 -27
  237. package/dist/esm/AwardRibbon-3e682281.js.map +0 -1
  238. package/dist/esm/BoostGenericCard-9c14e541.js +0 -71
  239. package/dist/esm/BoostGenericCard-9c14e541.js.map +0 -1
  240. package/dist/esm/BoostSmallCard-e42ec5ed.js +0 -108
  241. package/dist/esm/BoostSmallCard-e42ec5ed.js.map +0 -1
  242. package/dist/esm/Button-5f805204.js +0 -12
  243. package/dist/esm/Button-5f805204.js.map +0 -1
  244. package/dist/esm/CaretRightFilled.svg +0 -3
  245. package/dist/esm/Checkmark-d8b8f43d.js +0 -52
  246. package/dist/esm/Checkmark-d8b8f43d.js.map +0 -1
  247. package/dist/esm/CircleCheckButton-551054f6.js +0 -24
  248. package/dist/esm/CircleCheckButton-551054f6.js.map +0 -1
  249. package/dist/esm/CircleIcon-38b874e2.js +0 -1076
  250. package/dist/esm/CircleIcon-38b874e2.js.map +0 -1
  251. package/dist/esm/CircleSpinner-9b8b1a6b.js +0 -42
  252. package/dist/esm/CircleSpinner-9b8b1a6b.js.map +0 -1
  253. package/dist/esm/CourseCard-663ff174.js +0 -82
  254. package/dist/esm/CourseCard-663ff174.js.map +0 -1
  255. package/dist/esm/CourseVerticalCard-922a0860.js +0 -88
  256. package/dist/esm/CourseVerticalCard-922a0860.js.map +0 -1
  257. package/dist/esm/FlippyCard-a2de5cf1.js +0 -28
  258. package/dist/esm/FlippyCard-a2de5cf1.js.map +0 -1
  259. package/dist/esm/GenericArrow-0dba1707.js +0 -21
  260. package/dist/esm/GenericArrow-0dba1707.js.map +0 -1
  261. package/dist/esm/GenericCard-eaab7759.js +0 -55
  262. package/dist/esm/GenericCard-eaab7759.js.map +0 -1
  263. package/dist/esm/GreenCheckCircle.svg +0 -4
  264. package/dist/esm/JobHistoryCard-80d4ef27.js +0 -37
  265. package/dist/esm/JobHistoryCard-80d4ef27.js.map +0 -1
  266. package/dist/esm/JobListCard-5e3879ea.js +0 -120
  267. package/dist/esm/JobListCard-5e3879ea.js.map +0 -1
  268. package/dist/esm/LearnCardCreditCardBackFace-9baa9e6b.js +0 -65
  269. package/dist/esm/LearnCardCreditCardBackFace-9baa9e6b.js.map +0 -1
  270. package/dist/esm/LearnCardCreditCardFrontFace-cf793917.js +0 -70
  271. package/dist/esm/LearnCardCreditCardFrontFace-cf793917.js.map +0 -1
  272. package/dist/esm/LearnPill-3d9564d4.js +0 -34
  273. package/dist/esm/LearnPill-3d9564d4.js.map +0 -1
  274. package/dist/esm/Lightbulb-a3c1679f.js +0 -16
  275. package/dist/esm/Lightbulb-a3c1679f.js.map +0 -1
  276. package/dist/esm/MiniVCThumbnail-6a07e810.js +0 -62
  277. package/dist/esm/MiniVCThumbnail-6a07e810.js.map +0 -1
  278. package/dist/esm/Notification-0f58ef6a.js +0 -88
  279. package/dist/esm/Notification-0f58ef6a.js.map +0 -1
  280. package/dist/esm/NotificationBoostCard-134edf94.js +0 -112
  281. package/dist/esm/NotificationBoostCard-134edf94.js.map +0 -1
  282. package/dist/esm/NotificationUserAcceptedBoostCard-8c13bd3f.js +0 -66
  283. package/dist/esm/NotificationUserAcceptedBoostCard-8c13bd3f.js.map +0 -1
  284. package/dist/esm/NotificationUserCard-dbcc80f9.js +0 -86
  285. package/dist/esm/NotificationUserCard-dbcc80f9.js.map +0 -1
  286. package/dist/esm/QRCodeCard-c57e2067.js +0 -36
  287. package/dist/esm/QRCodeCard-c57e2067.js.map +0 -1
  288. package/dist/esm/RedXCircle.svg +0 -5
  289. package/dist/esm/RoundedPill-731211b3.js +0 -99
  290. package/dist/esm/RoundedPill-731211b3.js.map +0 -1
  291. package/dist/esm/SchoolIDCard-3b746226.js +0 -4722
  292. package/dist/esm/SchoolIDCard-3b746226.js.map +0 -1
  293. package/dist/esm/SkillTabCard-d86c6452.js +0 -36
  294. package/dist/esm/SkillTabCard-d86c6452.js.map +0 -1
  295. package/dist/esm/SkillVerticalCard-108f49bb.js +0 -28
  296. package/dist/esm/SkillVerticalCard-108f49bb.js.map +0 -1
  297. package/dist/esm/SkillsCard-92a51db2.js +0 -59
  298. package/dist/esm/SkillsCard-92a51db2.js.map +0 -1
  299. package/dist/esm/SkillsStatsCard-1628fe9c.js +0 -70
  300. package/dist/esm/SkillsStatsCard-1628fe9c.js.map +0 -1
  301. package/dist/esm/SmallAchievementCard-2d87ac82.js +0 -37
  302. package/dist/esm/SmallAchievementCard-2d87ac82.js.map +0 -1
  303. package/dist/esm/Trophy-702610b8.js +0 -19
  304. package/dist/esm/Trophy-702610b8.js.map +0 -1
  305. package/dist/esm/User-fd276ad5.js +0 -82
  306. package/dist/esm/User-fd276ad5.js.map +0 -1
  307. package/dist/esm/VCCard-cfeb5f08.js +0 -73
  308. package/dist/esm/VCCard-cfeb5f08.js.map +0 -1
  309. package/dist/esm/VCDisplayBackFace-927c7c9e.js +0 -80
  310. package/dist/esm/VCDisplayBackFace-927c7c9e.js.map +0 -1
  311. package/dist/esm/VCDisplayCard-aea6b2e1.js +0 -183
  312. package/dist/esm/VCDisplayCard-aea6b2e1.js.map +0 -1
  313. package/dist/esm/VCDisplayCard2-158e09a6.js +0 -1005
  314. package/dist/esm/VCDisplayCard2-158e09a6.js.map +0 -1
  315. package/dist/esm/VCThumbnail-3c254bda.js +0 -135
  316. package/dist/esm/VCThumbnail-3c254bda.js.map +0 -1
  317. package/dist/esm/VCVerificationCheck-80249524.js +0 -72
  318. package/dist/esm/VCVerificationCheck-80249524.js.map +0 -1
  319. package/dist/esm/VCVerificationPill-2c7fa3de.js +0 -65
  320. package/dist/esm/VCVerificationPill-2c7fa3de.js.map +0 -1
  321. package/dist/esm/X.svg +0 -4
  322. package/dist/esm/YellowWarningCircle.svg +0 -4
  323. package/dist/esm/addawardlight.svg +0 -8
  324. package/dist/esm/award.svg +0 -3
  325. package/dist/esm/badge.png +0 -0
  326. package/dist/esm/briefcase.svg +0 -6
  327. package/dist/esm/card-chip.svg +0 -26
  328. package/dist/esm/coins.svg +0 -3
  329. package/dist/esm/constants-db0e356b.js +0 -89
  330. package/dist/esm/constants-db0e356b.js.map +0 -1
  331. package/dist/esm/contactless-symbol.svg +0 -3
  332. package/dist/esm/credential.helpers-d440380c.js +0 -2182
  333. package/dist/esm/credential.helpers-d440380c.js.map +0 -1
  334. package/dist/esm/default-face.jpeg +0 -0
  335. package/dist/esm/gradcaplight.svg +0 -3
  336. package/dist/esm/graduation.svg +0 -3
  337. package/dist/esm/icon.green.fat-arrow.png +0 -0
  338. package/dist/esm/icons-9d160530.js +0 -32
  339. package/dist/esm/icons-9d160530.js.map +0 -1
  340. package/dist/esm/index-7103ad3c.js +0 -46
  341. package/dist/esm/index-7103ad3c.js.map +0 -1
  342. package/dist/esm/index-7dcfe90e.js +0 -56
  343. package/dist/esm/index-7dcfe90e.js.map +0 -1
  344. package/dist/esm/index-aa1098e1.js +0 -768
  345. package/dist/esm/index-aa1098e1.js.map +0 -1
  346. package/dist/esm/index-e1f279c6.js +0 -3529
  347. package/dist/esm/index-e1f279c6.js.map +0 -1
  348. package/dist/esm/index.js +0 -96
  349. package/dist/esm/index.js.map +0 -1
  350. package/dist/esm/index10.js +0 -3
  351. package/dist/esm/index10.js.map +0 -1
  352. package/dist/esm/index11.js +0 -28
  353. package/dist/esm/index11.js.map +0 -1
  354. package/dist/esm/index12.js +0 -96
  355. package/dist/esm/index12.js.map +0 -1
  356. package/dist/esm/index13.js +0 -4
  357. package/dist/esm/index13.js.map +0 -1
  358. package/dist/esm/index14.js +0 -15
  359. package/dist/esm/index14.js.map +0 -1
  360. package/dist/esm/index15.js +0 -4
  361. package/dist/esm/index15.js.map +0 -1
  362. package/dist/esm/index16.js +0 -6
  363. package/dist/esm/index16.js.map +0 -1
  364. package/dist/esm/index17.js +0 -15
  365. package/dist/esm/index17.js.map +0 -1
  366. package/dist/esm/index18.js +0 -3
  367. package/dist/esm/index18.js.map +0 -1
  368. package/dist/esm/index19.js +0 -4
  369. package/dist/esm/index19.js.map +0 -1
  370. package/dist/esm/index2.js +0 -29
  371. package/dist/esm/index2.js.map +0 -1
  372. package/dist/esm/index20.js +0 -8
  373. package/dist/esm/index20.js.map +0 -1
  374. package/dist/esm/index21.js +0 -11
  375. package/dist/esm/index21.js.map +0 -1
  376. package/dist/esm/index22.js +0 -7
  377. package/dist/esm/index22.js.map +0 -1
  378. package/dist/esm/index23.js +0 -8
  379. package/dist/esm/index23.js.map +0 -1
  380. package/dist/esm/index24.js +0 -4
  381. package/dist/esm/index24.js.map +0 -1
  382. package/dist/esm/index25.js +0 -15
  383. package/dist/esm/index25.js.map +0 -1
  384. package/dist/esm/index26.js +0 -28
  385. package/dist/esm/index26.js.map +0 -1
  386. package/dist/esm/index27.js +0 -3
  387. package/dist/esm/index27.js.map +0 -1
  388. package/dist/esm/index28.js +0 -3
  389. package/dist/esm/index28.js.map +0 -1
  390. package/dist/esm/index29.js +0 -4
  391. package/dist/esm/index29.js.map +0 -1
  392. package/dist/esm/index3.js +0 -28
  393. package/dist/esm/index3.js.map +0 -1
  394. package/dist/esm/index30.js +0 -17
  395. package/dist/esm/index30.js.map +0 -1
  396. package/dist/esm/index31.js +0 -4
  397. package/dist/esm/index31.js.map +0 -1
  398. package/dist/esm/index32.js +0 -4
  399. package/dist/esm/index32.js.map +0 -1
  400. package/dist/esm/index33.js +0 -8
  401. package/dist/esm/index33.js.map +0 -1
  402. package/dist/esm/index34.js +0 -23
  403. package/dist/esm/index34.js.map +0 -1
  404. package/dist/esm/index35.js +0 -14
  405. package/dist/esm/index35.js.map +0 -1
  406. package/dist/esm/index36.js +0 -18
  407. package/dist/esm/index36.js.map +0 -1
  408. package/dist/esm/index37.js +0 -12
  409. package/dist/esm/index37.js.map +0 -1
  410. package/dist/esm/index38.js +0 -7
  411. package/dist/esm/index38.js.map +0 -1
  412. package/dist/esm/index39.js +0 -5
  413. package/dist/esm/index39.js.map +0 -1
  414. package/dist/esm/index4.js +0 -31
  415. package/dist/esm/index4.js.map +0 -1
  416. package/dist/esm/index40.js +0 -5
  417. package/dist/esm/index40.js.map +0 -1
  418. package/dist/esm/index41.js +0 -7
  419. package/dist/esm/index41.js.map +0 -1
  420. package/dist/esm/index5.js +0 -3
  421. package/dist/esm/index5.js.map +0 -1
  422. package/dist/esm/index6.js +0 -16
  423. package/dist/esm/index6.js.map +0 -1
  424. package/dist/esm/index7.js +0 -15
  425. package/dist/esm/index7.js.map +0 -1
  426. package/dist/esm/index8.js +0 -7
  427. package/dist/esm/index8.js.map +0 -1
  428. package/dist/esm/index9.js +0 -19
  429. package/dist/esm/index9.js.map +0 -1
  430. package/dist/esm/lhplaceholder.png +0 -0
  431. package/dist/esm/lightbulb.svg +0 -3
  432. package/dist/esm/master-card-logo.svg +0 -20
  433. package/dist/esm/minigradcapcolored.svg +0 -3
  434. package/dist/esm/minijob.svg +0 -5
  435. package/dist/esm/minipuzzle.svg +0 -3
  436. package/dist/esm/minipuzzlecolored.svg +0 -3
  437. package/dist/esm/minitrophy.svg +0 -3
  438. package/dist/esm/minitrophycolored.svg +0 -3
  439. package/dist/esm/notifications-009bbd80.js +0 -18
  440. package/dist/esm/notifications-009bbd80.js.map +0 -1
  441. package/dist/esm/skillgraph.svg +0 -29
  442. package/dist/esm/skillplaceholder.png +0 -0
  443. package/dist/esm/social-badge.png +0 -0
  444. package/dist/esm/trophy.svg +0 -3
  445. package/dist/esm/types-7081a9e5.js +0 -109
  446. package/dist/esm/types-7081a9e5.js.map +0 -1
  447. package/dist/esm/types-b32d28d5.js +0 -23
  448. package/dist/esm/types-b32d28d5.js.map +0 -1
  449. package/dist/esm/types.esm-ee6b190e.js +0 -4078
  450. package/dist/esm/types.esm-ee6b190e.js.map +0 -1
  451. package/dist/esm/user.svg +0 -4
  452. package/dist/esm/vc.check.svg +0 -10
  453. package/dist/esm/verified-check.png +0 -0
  454. package/dist/esm/walletTrophy.webp +0 -0
  455. package/dist/esm/walletcurrency.webp +0 -0
  456. package/dist/esm/walletids.webp +0 -0
  457. package/dist/esm/walletjobhistory.webp +0 -0
  458. package/dist/esm/walletlearninghistory.webp +0 -0
  459. package/dist/esm/walletskills.webp +0 -0
  460. package/dist/index.d.ts +0 -857
  461. package/dist/main.css +0 -1
  462. package/dist/main.js +0 -3
@@ -1,1076 +0,0 @@
1
- import React from 'react';
2
- import { I as Icons } from './index-7103ad3c.js';
3
- import { I as ICONS_TO_SOURCE } from './icons-9d160530.js';
4
-
5
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
6
-
7
- var numeral$1 = {exports: {}};
8
-
9
- /*! @preserve
10
- * numeral.js
11
- * version : 2.0.6
12
- * author : Adam Draper
13
- * license : MIT
14
- * http://adamwdraper.github.com/Numeral-js/
15
- */
16
-
17
- (function (module) {
18
- (function (global, factory) {
19
- if (module.exports) {
20
- module.exports = factory();
21
- } else {
22
- global.numeral = factory();
23
- }
24
- }(commonjsGlobal, function () {
25
- /************************************
26
- Variables
27
- ************************************/
28
-
29
- var numeral,
30
- _,
31
- VERSION = '2.0.6',
32
- formats = {},
33
- locales = {},
34
- defaults = {
35
- currentLocale: 'en',
36
- zeroFormat: null,
37
- nullFormat: null,
38
- defaultFormat: '0,0',
39
- scalePercentBy100: true
40
- },
41
- options = {
42
- currentLocale: defaults.currentLocale,
43
- zeroFormat: defaults.zeroFormat,
44
- nullFormat: defaults.nullFormat,
45
- defaultFormat: defaults.defaultFormat,
46
- scalePercentBy100: defaults.scalePercentBy100
47
- };
48
-
49
-
50
- /************************************
51
- Constructors
52
- ************************************/
53
-
54
- // Numeral prototype object
55
- function Numeral(input, number) {
56
- this._input = input;
57
-
58
- this._value = number;
59
- }
60
-
61
- numeral = function(input) {
62
- var value,
63
- kind,
64
- unformatFunction,
65
- regexp;
66
-
67
- if (numeral.isNumeral(input)) {
68
- value = input.value();
69
- } else if (input === 0 || typeof input === 'undefined') {
70
- value = 0;
71
- } else if (input === null || _.isNaN(input)) {
72
- value = null;
73
- } else if (typeof input === 'string') {
74
- if (options.zeroFormat && input === options.zeroFormat) {
75
- value = 0;
76
- } else if (options.nullFormat && input === options.nullFormat || !input.replace(/[^0-9]+/g, '').length) {
77
- value = null;
78
- } else {
79
- for (kind in formats) {
80
- regexp = typeof formats[kind].regexps.unformat === 'function' ? formats[kind].regexps.unformat() : formats[kind].regexps.unformat;
81
-
82
- if (regexp && input.match(regexp)) {
83
- unformatFunction = formats[kind].unformat;
84
-
85
- break;
86
- }
87
- }
88
-
89
- unformatFunction = unformatFunction || numeral._.stringToNumber;
90
-
91
- value = unformatFunction(input);
92
- }
93
- } else {
94
- value = Number(input)|| null;
95
- }
96
-
97
- return new Numeral(input, value);
98
- };
99
-
100
- // version number
101
- numeral.version = VERSION;
102
-
103
- // compare numeral object
104
- numeral.isNumeral = function(obj) {
105
- return obj instanceof Numeral;
106
- };
107
-
108
- // helper functions
109
- numeral._ = _ = {
110
- // formats numbers separators, decimals places, signs, abbreviations
111
- numberToFormat: function(value, format, roundingFunction) {
112
- var locale = locales[numeral.options.currentLocale],
113
- negP = false,
114
- optDec = false,
115
- leadingCount = 0,
116
- abbr = '',
117
- trillion = 1000000000000,
118
- billion = 1000000000,
119
- million = 1000000,
120
- thousand = 1000,
121
- decimal = '',
122
- neg = false,
123
- abbrForce, // force abbreviation
124
- abs,
125
- int,
126
- precision,
127
- signed,
128
- thousands,
129
- output;
130
-
131
- // make sure we never format a null value
132
- value = value || 0;
133
-
134
- abs = Math.abs(value);
135
-
136
- // see if we should use parentheses for negative number or if we should prefix with a sign
137
- // if both are present we default to parentheses
138
- if (numeral._.includes(format, '(')) {
139
- negP = true;
140
- format = format.replace(/[\(|\)]/g, '');
141
- } else if (numeral._.includes(format, '+') || numeral._.includes(format, '-')) {
142
- signed = numeral._.includes(format, '+') ? format.indexOf('+') : value < 0 ? format.indexOf('-') : -1;
143
- format = format.replace(/[\+|\-]/g, '');
144
- }
145
-
146
- // see if abbreviation is wanted
147
- if (numeral._.includes(format, 'a')) {
148
- abbrForce = format.match(/a(k|m|b|t)?/);
149
-
150
- abbrForce = abbrForce ? abbrForce[1] : false;
151
-
152
- // check for space before abbreviation
153
- if (numeral._.includes(format, ' a')) {
154
- abbr = ' ';
155
- }
156
-
157
- format = format.replace(new RegExp(abbr + 'a[kmbt]?'), '');
158
-
159
- if (abs >= trillion && !abbrForce || abbrForce === 't') {
160
- // trillion
161
- abbr += locale.abbreviations.trillion;
162
- value = value / trillion;
163
- } else if (abs < trillion && abs >= billion && !abbrForce || abbrForce === 'b') {
164
- // billion
165
- abbr += locale.abbreviations.billion;
166
- value = value / billion;
167
- } else if (abs < billion && abs >= million && !abbrForce || abbrForce === 'm') {
168
- // million
169
- abbr += locale.abbreviations.million;
170
- value = value / million;
171
- } else if (abs < million && abs >= thousand && !abbrForce || abbrForce === 'k') {
172
- // thousand
173
- abbr += locale.abbreviations.thousand;
174
- value = value / thousand;
175
- }
176
- }
177
-
178
- // check for optional decimals
179
- if (numeral._.includes(format, '[.]')) {
180
- optDec = true;
181
- format = format.replace('[.]', '.');
182
- }
183
-
184
- // break number and format
185
- int = value.toString().split('.')[0];
186
- precision = format.split('.')[1];
187
- thousands = format.indexOf(',');
188
- leadingCount = (format.split('.')[0].split(',')[0].match(/0/g) || []).length;
189
-
190
- if (precision) {
191
- if (numeral._.includes(precision, '[')) {
192
- precision = precision.replace(']', '');
193
- precision = precision.split('[');
194
- decimal = numeral._.toFixed(value, (precision[0].length + precision[1].length), roundingFunction, precision[1].length);
195
- } else {
196
- decimal = numeral._.toFixed(value, precision.length, roundingFunction);
197
- }
198
-
199
- int = decimal.split('.')[0];
200
-
201
- if (numeral._.includes(decimal, '.')) {
202
- decimal = locale.delimiters.decimal + decimal.split('.')[1];
203
- } else {
204
- decimal = '';
205
- }
206
-
207
- if (optDec && Number(decimal.slice(1)) === 0) {
208
- decimal = '';
209
- }
210
- } else {
211
- int = numeral._.toFixed(value, 0, roundingFunction);
212
- }
213
-
214
- // check abbreviation again after rounding
215
- if (abbr && !abbrForce && Number(int) >= 1000 && abbr !== locale.abbreviations.trillion) {
216
- int = String(Number(int) / 1000);
217
-
218
- switch (abbr) {
219
- case locale.abbreviations.thousand:
220
- abbr = locale.abbreviations.million;
221
- break;
222
- case locale.abbreviations.million:
223
- abbr = locale.abbreviations.billion;
224
- break;
225
- case locale.abbreviations.billion:
226
- abbr = locale.abbreviations.trillion;
227
- break;
228
- }
229
- }
230
-
231
-
232
- // format number
233
- if (numeral._.includes(int, '-')) {
234
- int = int.slice(1);
235
- neg = true;
236
- }
237
-
238
- if (int.length < leadingCount) {
239
- for (var i = leadingCount - int.length; i > 0; i--) {
240
- int = '0' + int;
241
- }
242
- }
243
-
244
- if (thousands > -1) {
245
- int = int.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1' + locale.delimiters.thousands);
246
- }
247
-
248
- if (format.indexOf('.') === 0) {
249
- int = '';
250
- }
251
-
252
- output = int + decimal + (abbr ? abbr : '');
253
-
254
- if (negP) {
255
- output = (negP && neg ? '(' : '') + output + (negP && neg ? ')' : '');
256
- } else {
257
- if (signed >= 0) {
258
- output = signed === 0 ? (neg ? '-' : '+') + output : output + (neg ? '-' : '+');
259
- } else if (neg) {
260
- output = '-' + output;
261
- }
262
- }
263
-
264
- return output;
265
- },
266
- // unformats numbers separators, decimals places, signs, abbreviations
267
- stringToNumber: function(string) {
268
- var locale = locales[options.currentLocale],
269
- stringOriginal = string,
270
- abbreviations = {
271
- thousand: 3,
272
- million: 6,
273
- billion: 9,
274
- trillion: 12
275
- },
276
- abbreviation,
277
- value,
278
- regexp;
279
-
280
- if (options.zeroFormat && string === options.zeroFormat) {
281
- value = 0;
282
- } else if (options.nullFormat && string === options.nullFormat || !string.replace(/[^0-9]+/g, '').length) {
283
- value = null;
284
- } else {
285
- value = 1;
286
-
287
- if (locale.delimiters.decimal !== '.') {
288
- string = string.replace(/\./g, '').replace(locale.delimiters.decimal, '.');
289
- }
290
-
291
- for (abbreviation in abbreviations) {
292
- regexp = new RegExp('[^a-zA-Z]' + locale.abbreviations[abbreviation] + '(?:\\)|(\\' + locale.currency.symbol + ')?(?:\\))?)?$');
293
-
294
- if (stringOriginal.match(regexp)) {
295
- value *= Math.pow(10, abbreviations[abbreviation]);
296
- break;
297
- }
298
- }
299
-
300
- // check for negative number
301
- value *= (string.split('-').length + Math.min(string.split('(').length - 1, string.split(')').length - 1)) % 2 ? 1 : -1;
302
-
303
- // remove non numbers
304
- string = string.replace(/[^0-9\.]+/g, '');
305
-
306
- value *= Number(string);
307
- }
308
-
309
- return value;
310
- },
311
- isNaN: function(value) {
312
- return typeof value === 'number' && isNaN(value);
313
- },
314
- includes: function(string, search) {
315
- return string.indexOf(search) !== -1;
316
- },
317
- insert: function(string, subString, start) {
318
- return string.slice(0, start) + subString + string.slice(start);
319
- },
320
- reduce: function(array, callback /*, initialValue*/) {
321
- if (this === null) {
322
- throw new TypeError('Array.prototype.reduce called on null or undefined');
323
- }
324
-
325
- if (typeof callback !== 'function') {
326
- throw new TypeError(callback + ' is not a function');
327
- }
328
-
329
- var t = Object(array),
330
- len = t.length >>> 0,
331
- k = 0,
332
- value;
333
-
334
- if (arguments.length === 3) {
335
- value = arguments[2];
336
- } else {
337
- while (k < len && !(k in t)) {
338
- k++;
339
- }
340
-
341
- if (k >= len) {
342
- throw new TypeError('Reduce of empty array with no initial value');
343
- }
344
-
345
- value = t[k++];
346
- }
347
- for (; k < len; k++) {
348
- if (k in t) {
349
- value = callback(value, t[k], k, t);
350
- }
351
- }
352
- return value;
353
- },
354
- /**
355
- * Computes the multiplier necessary to make x >= 1,
356
- * effectively eliminating miscalculations caused by
357
- * finite precision.
358
- */
359
- multiplier: function (x) {
360
- var parts = x.toString().split('.');
361
-
362
- return parts.length < 2 ? 1 : Math.pow(10, parts[1].length);
363
- },
364
- /**
365
- * Given a variable number of arguments, returns the maximum
366
- * multiplier that must be used to normalize an operation involving
367
- * all of them.
368
- */
369
- correctionFactor: function () {
370
- var args = Array.prototype.slice.call(arguments);
371
-
372
- return args.reduce(function(accum, next) {
373
- var mn = _.multiplier(next);
374
- return accum > mn ? accum : mn;
375
- }, 1);
376
- },
377
- /**
378
- * Implementation of toFixed() that treats floats more like decimals
379
- *
380
- * Fixes binary rounding issues (eg. (0.615).toFixed(2) === '0.61') that present
381
- * problems for accounting- and finance-related software.
382
- */
383
- toFixed: function(value, maxDecimals, roundingFunction, optionals) {
384
- var splitValue = value.toString().split('.'),
385
- minDecimals = maxDecimals - (optionals || 0),
386
- boundedPrecision,
387
- optionalsRegExp,
388
- power,
389
- output;
390
-
391
- // Use the smallest precision value possible to avoid errors from floating point representation
392
- if (splitValue.length === 2) {
393
- boundedPrecision = Math.min(Math.max(splitValue[1].length, minDecimals), maxDecimals);
394
- } else {
395
- boundedPrecision = minDecimals;
396
- }
397
-
398
- power = Math.pow(10, boundedPrecision);
399
-
400
- // Multiply up by precision, round accurately, then divide and use native toFixed():
401
- output = (roundingFunction(value + 'e+' + boundedPrecision) / power).toFixed(boundedPrecision);
402
-
403
- if (optionals > maxDecimals - boundedPrecision) {
404
- optionalsRegExp = new RegExp('\\.?0{1,' + (optionals - (maxDecimals - boundedPrecision)) + '}$');
405
- output = output.replace(optionalsRegExp, '');
406
- }
407
-
408
- return output;
409
- }
410
- };
411
-
412
- // avaliable options
413
- numeral.options = options;
414
-
415
- // avaliable formats
416
- numeral.formats = formats;
417
-
418
- // avaliable formats
419
- numeral.locales = locales;
420
-
421
- // This function sets the current locale. If
422
- // no arguments are passed in, it will simply return the current global
423
- // locale key.
424
- numeral.locale = function(key) {
425
- if (key) {
426
- options.currentLocale = key.toLowerCase();
427
- }
428
-
429
- return options.currentLocale;
430
- };
431
-
432
- // This function provides access to the loaded locale data. If
433
- // no arguments are passed in, it will simply return the current
434
- // global locale object.
435
- numeral.localeData = function(key) {
436
- if (!key) {
437
- return locales[options.currentLocale];
438
- }
439
-
440
- key = key.toLowerCase();
441
-
442
- if (!locales[key]) {
443
- throw new Error('Unknown locale : ' + key);
444
- }
445
-
446
- return locales[key];
447
- };
448
-
449
- numeral.reset = function() {
450
- for (var property in defaults) {
451
- options[property] = defaults[property];
452
- }
453
- };
454
-
455
- numeral.zeroFormat = function(format) {
456
- options.zeroFormat = typeof(format) === 'string' ? format : null;
457
- };
458
-
459
- numeral.nullFormat = function (format) {
460
- options.nullFormat = typeof(format) === 'string' ? format : null;
461
- };
462
-
463
- numeral.defaultFormat = function(format) {
464
- options.defaultFormat = typeof(format) === 'string' ? format : '0.0';
465
- };
466
-
467
- numeral.register = function(type, name, format) {
468
- name = name.toLowerCase();
469
-
470
- if (this[type + 's'][name]) {
471
- throw new TypeError(name + ' ' + type + ' already registered.');
472
- }
473
-
474
- this[type + 's'][name] = format;
475
-
476
- return format;
477
- };
478
-
479
-
480
- numeral.validate = function(val, culture) {
481
- var _decimalSep,
482
- _thousandSep,
483
- _currSymbol,
484
- _valArray,
485
- _abbrObj,
486
- _thousandRegEx,
487
- localeData,
488
- temp;
489
-
490
- //coerce val to string
491
- if (typeof val !== 'string') {
492
- val += '';
493
-
494
- if (console.warn) {
495
- console.warn('Numeral.js: Value is not string. It has been co-erced to: ', val);
496
- }
497
- }
498
-
499
- //trim whitespaces from either sides
500
- val = val.trim();
501
-
502
- //if val is just digits return true
503
- if (!!val.match(/^\d+$/)) {
504
- return true;
505
- }
506
-
507
- //if val is empty return false
508
- if (val === '') {
509
- return false;
510
- }
511
-
512
- //get the decimal and thousands separator from numeral.localeData
513
- try {
514
- //check if the culture is understood by numeral. if not, default it to current locale
515
- localeData = numeral.localeData(culture);
516
- } catch (e) {
517
- localeData = numeral.localeData(numeral.locale());
518
- }
519
-
520
- //setup the delimiters and currency symbol based on culture/locale
521
- _currSymbol = localeData.currency.symbol;
522
- _abbrObj = localeData.abbreviations;
523
- _decimalSep = localeData.delimiters.decimal;
524
- if (localeData.delimiters.thousands === '.') {
525
- _thousandSep = '\\.';
526
- } else {
527
- _thousandSep = localeData.delimiters.thousands;
528
- }
529
-
530
- // validating currency symbol
531
- temp = val.match(/^[^\d]+/);
532
- if (temp !== null) {
533
- val = val.substr(1);
534
- if (temp[0] !== _currSymbol) {
535
- return false;
536
- }
537
- }
538
-
539
- //validating abbreviation symbol
540
- temp = val.match(/[^\d]+$/);
541
- if (temp !== null) {
542
- val = val.slice(0, -1);
543
- if (temp[0] !== _abbrObj.thousand && temp[0] !== _abbrObj.million && temp[0] !== _abbrObj.billion && temp[0] !== _abbrObj.trillion) {
544
- return false;
545
- }
546
- }
547
-
548
- _thousandRegEx = new RegExp(_thousandSep + '{2}');
549
-
550
- if (!val.match(/[^\d.,]/g)) {
551
- _valArray = val.split(_decimalSep);
552
- if (_valArray.length > 2) {
553
- return false;
554
- } else {
555
- if (_valArray.length < 2) {
556
- return ( !! _valArray[0].match(/^\d+.*\d$/) && !_valArray[0].match(_thousandRegEx));
557
- } else {
558
- if (_valArray[0].length === 1) {
559
- return ( !! _valArray[0].match(/^\d+$/) && !_valArray[0].match(_thousandRegEx) && !! _valArray[1].match(/^\d+$/));
560
- } else {
561
- return ( !! _valArray[0].match(/^\d+.*\d$/) && !_valArray[0].match(_thousandRegEx) && !! _valArray[1].match(/^\d+$/));
562
- }
563
- }
564
- }
565
- }
566
-
567
- return false;
568
- };
569
-
570
-
571
- /************************************
572
- Numeral Prototype
573
- ************************************/
574
-
575
- numeral.fn = Numeral.prototype = {
576
- clone: function() {
577
- return numeral(this);
578
- },
579
- format: function(inputString, roundingFunction) {
580
- var value = this._value,
581
- format = inputString || options.defaultFormat,
582
- kind,
583
- output,
584
- formatFunction;
585
-
586
- // make sure we have a roundingFunction
587
- roundingFunction = roundingFunction || Math.round;
588
-
589
- // format based on value
590
- if (value === 0 && options.zeroFormat !== null) {
591
- output = options.zeroFormat;
592
- } else if (value === null && options.nullFormat !== null) {
593
- output = options.nullFormat;
594
- } else {
595
- for (kind in formats) {
596
- if (format.match(formats[kind].regexps.format)) {
597
- formatFunction = formats[kind].format;
598
-
599
- break;
600
- }
601
- }
602
-
603
- formatFunction = formatFunction || numeral._.numberToFormat;
604
-
605
- output = formatFunction(value, format, roundingFunction);
606
- }
607
-
608
- return output;
609
- },
610
- value: function() {
611
- return this._value;
612
- },
613
- input: function() {
614
- return this._input;
615
- },
616
- set: function(value) {
617
- this._value = Number(value);
618
-
619
- return this;
620
- },
621
- add: function(value) {
622
- var corrFactor = _.correctionFactor.call(null, this._value, value);
623
-
624
- function cback(accum, curr, currI, O) {
625
- return accum + Math.round(corrFactor * curr);
626
- }
627
-
628
- this._value = _.reduce([this._value, value], cback, 0) / corrFactor;
629
-
630
- return this;
631
- },
632
- subtract: function(value) {
633
- var corrFactor = _.correctionFactor.call(null, this._value, value);
634
-
635
- function cback(accum, curr, currI, O) {
636
- return accum - Math.round(corrFactor * curr);
637
- }
638
-
639
- this._value = _.reduce([value], cback, Math.round(this._value * corrFactor)) / corrFactor;
640
-
641
- return this;
642
- },
643
- multiply: function(value) {
644
- function cback(accum, curr, currI, O) {
645
- var corrFactor = _.correctionFactor(accum, curr);
646
- return Math.round(accum * corrFactor) * Math.round(curr * corrFactor) / Math.round(corrFactor * corrFactor);
647
- }
648
-
649
- this._value = _.reduce([this._value, value], cback, 1);
650
-
651
- return this;
652
- },
653
- divide: function(value) {
654
- function cback(accum, curr, currI, O) {
655
- var corrFactor = _.correctionFactor(accum, curr);
656
- return Math.round(accum * corrFactor) / Math.round(curr * corrFactor);
657
- }
658
-
659
- this._value = _.reduce([this._value, value], cback);
660
-
661
- return this;
662
- },
663
- difference: function(value) {
664
- return Math.abs(numeral(this._value).subtract(value).value());
665
- }
666
- };
667
-
668
- /************************************
669
- Default Locale && Format
670
- ************************************/
671
-
672
- numeral.register('locale', 'en', {
673
- delimiters: {
674
- thousands: ',',
675
- decimal: '.'
676
- },
677
- abbreviations: {
678
- thousand: 'k',
679
- million: 'm',
680
- billion: 'b',
681
- trillion: 't'
682
- },
683
- ordinal: function(number) {
684
- var b = number % 10;
685
- return (~~(number % 100 / 10) === 1) ? 'th' :
686
- (b === 1) ? 'st' :
687
- (b === 2) ? 'nd' :
688
- (b === 3) ? 'rd' : 'th';
689
- },
690
- currency: {
691
- symbol: '$'
692
- }
693
- });
694
-
695
-
696
-
697
- (function() {
698
- numeral.register('format', 'bps', {
699
- regexps: {
700
- format: /(BPS)/,
701
- unformat: /(BPS)/
702
- },
703
- format: function(value, format, roundingFunction) {
704
- var space = numeral._.includes(format, ' BPS') ? ' ' : '',
705
- output;
706
-
707
- value = value * 10000;
708
-
709
- // check for space before BPS
710
- format = format.replace(/\s?BPS/, '');
711
-
712
- output = numeral._.numberToFormat(value, format, roundingFunction);
713
-
714
- if (numeral._.includes(output, ')')) {
715
- output = output.split('');
716
-
717
- output.splice(-1, 0, space + 'BPS');
718
-
719
- output = output.join('');
720
- } else {
721
- output = output + space + 'BPS';
722
- }
723
-
724
- return output;
725
- },
726
- unformat: function(string) {
727
- return +(numeral._.stringToNumber(string) * 0.0001).toFixed(15);
728
- }
729
- });
730
- })();
731
-
732
-
733
- (function() {
734
- var decimal = {
735
- base: 1000,
736
- suffixes: ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']
737
- },
738
- binary = {
739
- base: 1024,
740
- suffixes: ['B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB']
741
- };
742
-
743
- var allSuffixes = decimal.suffixes.concat(binary.suffixes.filter(function (item) {
744
- return decimal.suffixes.indexOf(item) < 0;
745
- }));
746
- var unformatRegex = allSuffixes.join('|');
747
- // Allow support for BPS (http://www.investopedia.com/terms/b/basispoint.asp)
748
- unformatRegex = '(' + unformatRegex.replace('B', 'B(?!PS)') + ')';
749
-
750
- numeral.register('format', 'bytes', {
751
- regexps: {
752
- format: /([0\s]i?b)/,
753
- unformat: new RegExp(unformatRegex)
754
- },
755
- format: function(value, format, roundingFunction) {
756
- var output,
757
- bytes = numeral._.includes(format, 'ib') ? binary : decimal,
758
- suffix = numeral._.includes(format, ' b') || numeral._.includes(format, ' ib') ? ' ' : '',
759
- power,
760
- min,
761
- max;
762
-
763
- // check for space before
764
- format = format.replace(/\s?i?b/, '');
765
-
766
- for (power = 0; power <= bytes.suffixes.length; power++) {
767
- min = Math.pow(bytes.base, power);
768
- max = Math.pow(bytes.base, power + 1);
769
-
770
- if (value === null || value === 0 || value >= min && value < max) {
771
- suffix += bytes.suffixes[power];
772
-
773
- if (min > 0) {
774
- value = value / min;
775
- }
776
-
777
- break;
778
- }
779
- }
780
-
781
- output = numeral._.numberToFormat(value, format, roundingFunction);
782
-
783
- return output + suffix;
784
- },
785
- unformat: function(string) {
786
- var value = numeral._.stringToNumber(string),
787
- power,
788
- bytesMultiplier;
789
-
790
- if (value) {
791
- for (power = decimal.suffixes.length - 1; power >= 0; power--) {
792
- if (numeral._.includes(string, decimal.suffixes[power])) {
793
- bytesMultiplier = Math.pow(decimal.base, power);
794
-
795
- break;
796
- }
797
-
798
- if (numeral._.includes(string, binary.suffixes[power])) {
799
- bytesMultiplier = Math.pow(binary.base, power);
800
-
801
- break;
802
- }
803
- }
804
-
805
- value *= (bytesMultiplier || 1);
806
- }
807
-
808
- return value;
809
- }
810
- });
811
- })();
812
-
813
-
814
- (function() {
815
- numeral.register('format', 'currency', {
816
- regexps: {
817
- format: /(\$)/
818
- },
819
- format: function(value, format, roundingFunction) {
820
- var locale = numeral.locales[numeral.options.currentLocale],
821
- symbols = {
822
- before: format.match(/^([\+|\-|\(|\s|\$]*)/)[0],
823
- after: format.match(/([\+|\-|\)|\s|\$]*)$/)[0]
824
- },
825
- output,
826
- symbol,
827
- i;
828
-
829
- // strip format of spaces and $
830
- format = format.replace(/\s?\$\s?/, '');
831
-
832
- // format the number
833
- output = numeral._.numberToFormat(value, format, roundingFunction);
834
-
835
- // update the before and after based on value
836
- if (value >= 0) {
837
- symbols.before = symbols.before.replace(/[\-\(]/, '');
838
- symbols.after = symbols.after.replace(/[\-\)]/, '');
839
- } else if (value < 0 && (!numeral._.includes(symbols.before, '-') && !numeral._.includes(symbols.before, '('))) {
840
- symbols.before = '-' + symbols.before;
841
- }
842
-
843
- // loop through each before symbol
844
- for (i = 0; i < symbols.before.length; i++) {
845
- symbol = symbols.before[i];
846
-
847
- switch (symbol) {
848
- case '$':
849
- output = numeral._.insert(output, locale.currency.symbol, i);
850
- break;
851
- case ' ':
852
- output = numeral._.insert(output, ' ', i + locale.currency.symbol.length - 1);
853
- break;
854
- }
855
- }
856
-
857
- // loop through each after symbol
858
- for (i = symbols.after.length - 1; i >= 0; i--) {
859
- symbol = symbols.after[i];
860
-
861
- switch (symbol) {
862
- case '$':
863
- output = i === symbols.after.length - 1 ? output + locale.currency.symbol : numeral._.insert(output, locale.currency.symbol, -(symbols.after.length - (1 + i)));
864
- break;
865
- case ' ':
866
- output = i === symbols.after.length - 1 ? output + ' ' : numeral._.insert(output, ' ', -(symbols.after.length - (1 + i) + locale.currency.symbol.length - 1));
867
- break;
868
- }
869
- }
870
-
871
-
872
- return output;
873
- }
874
- });
875
- })();
876
-
877
-
878
- (function() {
879
- numeral.register('format', 'exponential', {
880
- regexps: {
881
- format: /(e\+|e-)/,
882
- unformat: /(e\+|e-)/
883
- },
884
- format: function(value, format, roundingFunction) {
885
- var output,
886
- exponential = typeof value === 'number' && !numeral._.isNaN(value) ? value.toExponential() : '0e+0',
887
- parts = exponential.split('e');
888
-
889
- format = format.replace(/e[\+|\-]{1}0/, '');
890
-
891
- output = numeral._.numberToFormat(Number(parts[0]), format, roundingFunction);
892
-
893
- return output + 'e' + parts[1];
894
- },
895
- unformat: function(string) {
896
- var parts = numeral._.includes(string, 'e+') ? string.split('e+') : string.split('e-'),
897
- value = Number(parts[0]),
898
- power = Number(parts[1]);
899
-
900
- power = numeral._.includes(string, 'e-') ? power *= -1 : power;
901
-
902
- function cback(accum, curr, currI, O) {
903
- var corrFactor = numeral._.correctionFactor(accum, curr),
904
- num = (accum * corrFactor) * (curr * corrFactor) / (corrFactor * corrFactor);
905
- return num;
906
- }
907
-
908
- return numeral._.reduce([value, Math.pow(10, power)], cback, 1);
909
- }
910
- });
911
- })();
912
-
913
-
914
- (function() {
915
- numeral.register('format', 'ordinal', {
916
- regexps: {
917
- format: /(o)/
918
- },
919
- format: function(value, format, roundingFunction) {
920
- var locale = numeral.locales[numeral.options.currentLocale],
921
- output,
922
- ordinal = numeral._.includes(format, ' o') ? ' ' : '';
923
-
924
- // check for space before
925
- format = format.replace(/\s?o/, '');
926
-
927
- ordinal += locale.ordinal(value);
928
-
929
- output = numeral._.numberToFormat(value, format, roundingFunction);
930
-
931
- return output + ordinal;
932
- }
933
- });
934
- })();
935
-
936
-
937
- (function() {
938
- numeral.register('format', 'percentage', {
939
- regexps: {
940
- format: /(%)/,
941
- unformat: /(%)/
942
- },
943
- format: function(value, format, roundingFunction) {
944
- var space = numeral._.includes(format, ' %') ? ' ' : '',
945
- output;
946
-
947
- if (numeral.options.scalePercentBy100) {
948
- value = value * 100;
949
- }
950
-
951
- // check for space before %
952
- format = format.replace(/\s?\%/, '');
953
-
954
- output = numeral._.numberToFormat(value, format, roundingFunction);
955
-
956
- if (numeral._.includes(output, ')')) {
957
- output = output.split('');
958
-
959
- output.splice(-1, 0, space + '%');
960
-
961
- output = output.join('');
962
- } else {
963
- output = output + space + '%';
964
- }
965
-
966
- return output;
967
- },
968
- unformat: function(string) {
969
- var number = numeral._.stringToNumber(string);
970
- if (numeral.options.scalePercentBy100) {
971
- return number * 0.01;
972
- }
973
- return number;
974
- }
975
- });
976
- })();
977
-
978
-
979
- (function() {
980
- numeral.register('format', 'time', {
981
- regexps: {
982
- format: /(:)/,
983
- unformat: /(:)/
984
- },
985
- format: function(value, format, roundingFunction) {
986
- var hours = Math.floor(value / 60 / 60),
987
- minutes = Math.floor((value - (hours * 60 * 60)) / 60),
988
- seconds = Math.round(value - (hours * 60 * 60) - (minutes * 60));
989
-
990
- return hours + ':' + (minutes < 10 ? '0' + minutes : minutes) + ':' + (seconds < 10 ? '0' + seconds : seconds);
991
- },
992
- unformat: function(string) {
993
- var timeArray = string.split(':'),
994
- seconds = 0;
995
-
996
- // turn hours and minutes into seconds and add them all up
997
- if (timeArray.length === 3) {
998
- // hours
999
- seconds = seconds + (Number(timeArray[0]) * 60 * 60);
1000
- // minutes
1001
- seconds = seconds + (Number(timeArray[1]) * 60);
1002
- // seconds
1003
- seconds = seconds + Number(timeArray[2]);
1004
- } else if (timeArray.length === 2) {
1005
- // minutes
1006
- seconds = seconds + (Number(timeArray[0]) * 60);
1007
- // seconds
1008
- seconds = seconds + Number(timeArray[1]);
1009
- }
1010
- return Number(seconds);
1011
- }
1012
- });
1013
- })();
1014
-
1015
- return numeral;
1016
- }));
1017
- } (numeral$1));
1018
-
1019
- var numeral = numeral$1.exports;
1020
-
1021
- const CountCircle = ({
1022
- size = "auto",
1023
- count = "28",
1024
- innerPadding = "3px 5px",
1025
- className,
1026
- onClick = () => {
1027
- },
1028
- bgColor = "bg-grayscale-50"
1029
- }) => {
1030
- const _count = count >= 1e3 ? numeral(count).format("0.0a") : count;
1031
- const style = {
1032
- width: size,
1033
- height: size,
1034
- padding: innerPadding
1035
- };
1036
- return /* @__PURE__ */ React.createElement("section", {
1037
- onClick,
1038
- className: `${bgColor} rounded-full circle-icon-wrapper text-center absolute right-[-18px] top-[-18px] min-w-[25px] ${className}`,
1039
- style
1040
- }, /* @__PURE__ */ React.createElement("div", {
1041
- className: `h-full`
1042
- }, /* @__PURE__ */ React.createElement("p", {
1043
- className: "h-full line-clamp-1 font-semibold text-grayscale-900 text-[12px]"
1044
- }, _count)));
1045
- };
1046
- const CircleIcon = ({
1047
- iconSrc = ICONS_TO_SOURCE[Icons.coinsIcon],
1048
- size = "52px",
1049
- count = "28",
1050
- innerPadding = "6px",
1051
- onClick = () => {
1052
- },
1053
- bgColor = "bg-grayscale-900"
1054
- }) => {
1055
- const style = {
1056
- width: size,
1057
- height: size,
1058
- padding: innerPadding
1059
- };
1060
- return /* @__PURE__ */ React.createElement("section", {
1061
- onClick,
1062
- className: `${bgColor} rounded-full circle-icon-wrapper p-[0px] m-[0px]`,
1063
- style
1064
- }, /* @__PURE__ */ React.createElement("div", {
1065
- className: `relative w-full h-full`
1066
- }, /* @__PURE__ */ React.createElement(CountCircle, {
1067
- count
1068
- }), /* @__PURE__ */ React.createElement("img", {
1069
- className: "h-full w-full object-cover",
1070
- src: iconSrc != null ? iconSrc : "",
1071
- alt: "Icon image"
1072
- })));
1073
- };
1074
-
1075
- export { CountCircle as C, CircleIcon as a };
1076
- //# sourceMappingURL=CircleIcon-38b874e2.js.map