@cuemath/leap 3.0.10-j → 3.0.11-akm

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 (443) hide show
  1. package/dist/assets/illustrations/illustrations.js +0 -3
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/lottie/lottie.js +0 -11
  4. package/dist/assets/lottie/lottie.js.map +1 -1
  5. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js +36 -27
  6. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js.map +1 -1
  7. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js +43 -31
  8. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js.map +1 -1
  9. package/dist/features/chapters/chapters-list/chapters-list.js +16 -15
  10. package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
  11. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +2 -2
  12. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -1
  13. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +30 -30
  14. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -1
  15. package/dist/features/chapters-v2/chapter-details/chapter-details.js +35 -35
  16. package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -1
  17. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +44 -44
  18. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -1
  19. package/dist/features/homework/homework-card.js +146 -131
  20. package/dist/features/homework/homework-card.js.map +1 -1
  21. package/dist/features/journey/hooks/use-chapter-journey.js +28 -28
  22. package/dist/features/journey/hooks/use-chapter-journey.js.map +1 -1
  23. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +40 -38
  24. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
  25. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +53 -50
  26. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
  27. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +64 -62
  28. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
  29. package/dist/features/milestone/milestone-list-container/milestone-list-container.js +44 -42
  30. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  31. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js +39 -37
  32. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
  33. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +38 -31
  34. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +1 -1
  35. package/dist/features/post-game-stats/clock/clock.js +45 -45
  36. package/dist/features/post-game-stats/clock/clock.js.map +1 -1
  37. package/dist/features/post-game-stats/digital-meter/digital-meter.js +49 -40
  38. package/dist/features/post-game-stats/digital-meter/digital-meter.js.map +1 -1
  39. package/dist/features/ui/loader/circular-loader/circular-loader.js +8 -6
  40. package/dist/features/ui/loader/circular-loader/circular-loader.js.map +1 -1
  41. package/dist/index.d.ts +9 -283
  42. package/dist/index.js +505 -551
  43. package/dist/index.js.map +1 -1
  44. package/package.json +2 -3
  45. package/dist/assets/illustrations/loader-1.svg.js +0 -6
  46. package/dist/assets/illustrations/loader-1.svg.js.map +0 -1
  47. package/dist/assets/line-icons/icons/apple-icon.js +0 -48
  48. package/dist/assets/line-icons/icons/apple-icon.js.map +0 -1
  49. package/dist/assets/line-icons/icons/google-icon.js +0 -42
  50. package/dist/assets/line-icons/icons/google-icon.js.map +0 -1
  51. package/dist/features/auth/account-selector/account-selector-styled.js +0 -37
  52. package/dist/features/auth/account-selector/account-selector-styled.js.map +0 -1
  53. package/dist/features/auth/account-selector/account-selector.js +0 -90
  54. package/dist/features/auth/account-selector/account-selector.js.map +0 -1
  55. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +0 -12
  56. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +0 -1
  57. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +0 -11
  58. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +0 -1
  59. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +0 -17
  60. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +0 -1
  61. package/dist/features/auth/comps/input-status-icon/input-status-icon.js +0 -20
  62. package/dist/features/auth/comps/input-status-icon/input-status-icon.js.map +0 -1
  63. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js +0 -29
  64. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +0 -1
  65. package/dist/features/auth/comps/overlay-loader/overlay-loader.js +0 -8
  66. package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +0 -1
  67. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +0 -25
  68. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +0 -1
  69. package/dist/features/auth/comps/resend-otp/resend-otp.js +0 -47
  70. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +0 -1
  71. package/dist/features/auth/comps/tabs/tabs-styled.js +0 -23
  72. package/dist/features/auth/comps/tabs/tabs-styled.js.map +0 -1
  73. package/dist/features/auth/comps/tabs/tabs.js +0 -23
  74. package/dist/features/auth/comps/tabs/tabs.js.map +0 -1
  75. package/dist/features/auth/forgot-password/forgot-password-styled.js +0 -12
  76. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +0 -1
  77. package/dist/features/auth/forgot-password/otp-form/otp-form.js +0 -67
  78. package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +0 -1
  79. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +0 -89
  80. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +0 -1
  81. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +0 -60
  82. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +0 -1
  83. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +0 -12
  84. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +0 -1
  85. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js +0 -88
  86. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js.map +0 -1
  87. package/dist/features/auth/login/login-constants.js +0 -12
  88. package/dist/features/auth/login/login-constants.js.map +0 -1
  89. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +0 -31
  90. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +0 -1
  91. package/dist/features/auth/login/social-login-methods/social-login-methods.js +0 -46
  92. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +0 -1
  93. package/dist/features/auth/login/username-password-form/username-password-form.js +0 -87
  94. package/dist/features/auth/login/username-password-form/username-password-form.js.map +0 -1
  95. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +0 -56
  96. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +0 -1
  97. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +0 -131
  98. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +0 -1
  99. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js +0 -27
  100. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js.map +0 -1
  101. package/dist/features/auth/signup/claim-user-account/claim-user-account.js +0 -76
  102. package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +0 -1
  103. package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js +0 -33
  104. package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js.map +0 -1
  105. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js +0 -98
  106. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js.map +0 -1
  107. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js +0 -57
  108. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js.map +0 -1
  109. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js +0 -26
  110. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js.map +0 -1
  111. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js +0 -30
  112. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js.map +0 -1
  113. package/dist/features/auth/signup/custom-input-field/custom-input-field.js +0 -93
  114. package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +0 -1
  115. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js +0 -88
  116. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js.map +0 -1
  117. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js +0 -58
  118. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js.map +0 -1
  119. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js +0 -31
  120. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js.map +0 -1
  121. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js +0 -30
  122. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js.map +0 -1
  123. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js +0 -11
  124. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js.map +0 -1
  125. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +0 -33
  126. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +0 -1
  127. package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js +0 -9
  128. package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js.map +0 -1
  129. package/dist/features/auth/signup/signup-constants.js +0 -1031
  130. package/dist/features/auth/signup/signup-constants.js.map +0 -1
  131. package/dist/features/auth/signup/signup-methods/signup-methods.js +0 -68
  132. package/dist/features/auth/signup/signup-methods/signup-methods.js.map +0 -1
  133. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +0 -19
  134. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +0 -1
  135. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +0 -62
  136. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +0 -1
  137. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +0 -24
  138. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +0 -1
  139. package/dist/features/auth/signup/user-type-selector/user-type-selector.js +0 -87
  140. package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +0 -1
  141. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -332
  142. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  143. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -370
  144. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  145. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -252
  146. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +0 -1
  147. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -24
  148. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +0 -1
  149. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -192
  150. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  151. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -19
  152. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  153. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -129
  154. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  155. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
  156. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  157. package/dist/node_modules/clsx/dist/clsx.js +0 -18
  158. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  159. package/dist/node_modules/date-fns/subYears.js +0 -9
  160. package/dist/node_modules/date-fns/subYears.js.map +0 -1
  161. package/dist/node_modules/react-datepicker/dist/index.es.js +0 -2700
  162. package/dist/node_modules/react-datepicker/dist/index.es.js.map +0 -1
  163. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +0 -8
  164. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +0 -1
  165. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +0 -8
  166. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +0 -1
  167. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +0 -518
  168. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +0 -1
  169. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +0 -60
  170. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +0 -1
  171. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +0 -53
  172. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +0 -1
  173. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -19
  174. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +0 -1
  175. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +0 -12
  176. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +0 -1
  177. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +0 -21
  178. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +0 -1
  179. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +0 -11
  180. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +0 -1
  181. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +0 -10
  182. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +0 -1
  183. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +0 -10
  184. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +0 -1
  185. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +0 -11
  186. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +0 -1
  187. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +0 -21
  188. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +0 -1
  189. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +0 -9
  190. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +0 -1
  191. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +0 -9
  192. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +0 -1
  193. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +0 -9
  194. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +0 -1
  195. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +0 -9
  196. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +0 -1
  197. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +0 -10
  198. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +0 -1
  199. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +0 -9
  200. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +0 -1
  201. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +0 -17
  202. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +0 -1
  203. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +0 -14
  204. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +0 -1
  205. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +0 -15
  206. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +0 -1
  207. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +0 -14
  208. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +0 -1
  209. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +0 -23
  210. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +0 -1
  211. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +0 -10
  212. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +0 -1
  213. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +0 -10
  214. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +0 -1
  215. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +0 -12
  216. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +0 -1
  217. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +0 -10
  218. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +0 -1
  219. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +0 -60
  220. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +0 -1
  221. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +0 -9
  222. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +0 -1
  223. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +0 -9
  224. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +0 -1
  225. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +0 -12
  226. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +0 -1
  227. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +0 -11
  228. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +0 -1
  229. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +0 -9
  230. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +0 -1
  231. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +0 -9
  232. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +0 -1
  233. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +0 -10
  234. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +0 -1
  235. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +0 -13
  236. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +0 -1
  237. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +0 -16
  238. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +0 -1
  239. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +0 -9
  240. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +0 -1
  241. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +0 -9
  242. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +0 -1
  243. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +0 -10
  244. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +0 -1
  245. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +0 -9
  246. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +0 -1
  247. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +0 -9
  248. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +0 -1
  249. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +0 -13
  250. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +0 -1
  251. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +0 -18
  252. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +0 -1
  253. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +0 -9
  254. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +0 -1
  255. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +0 -9
  256. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +0 -1
  257. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +0 -9
  258. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +0 -1
  259. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +0 -8
  260. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +0 -1
  261. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +0 -9
  262. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +0 -1
  263. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +0 -15
  264. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +0 -1
  265. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +0 -14
  266. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +0 -1
  267. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +0 -15
  268. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +0 -1
  269. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +0 -14
  270. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +0 -1
  271. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +0 -10
  272. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +0 -1
  273. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +0 -13
  274. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +0 -1
  275. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
  276. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +0 -1
  277. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -19
  278. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +0 -1
  279. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -32
  280. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +0 -1
  281. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -16
  282. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +0 -1
  283. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -71
  284. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +0 -1
  285. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -34
  286. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +0 -1
  287. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -12
  288. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +0 -1
  289. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -156
  290. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +0 -1
  291. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +0 -111
  292. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +0 -1
  293. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +0 -22
  294. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +0 -1
  295. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +0 -15
  296. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +0 -1
  297. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +0 -15
  298. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +0 -1
  299. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +0 -23
  300. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +0 -1
  301. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +0 -42
  302. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +0 -1
  303. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +0 -50
  304. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +0 -1
  305. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -50
  306. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +0 -1
  307. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -50
  308. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +0 -1
  309. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -62
  310. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +0 -1
  311. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -52
  312. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +0 -1
  313. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -46
  314. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +0 -1
  315. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -50
  316. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +0 -1
  317. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -31
  318. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +0 -1
  319. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -22
  320. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +0 -1
  321. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -23
  322. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +0 -1
  323. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -33
  324. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +0 -1
  325. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -33
  326. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +0 -1
  327. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -34
  328. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +0 -1
  329. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -34
  330. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +0 -1
  331. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -100
  332. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +0 -1
  333. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -49
  334. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +0 -1
  335. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -49
  336. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +0 -1
  337. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -50
  338. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +0 -1
  339. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -41
  340. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +0 -1
  341. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -75
  342. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +0 -1
  343. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -49
  344. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +0 -1
  345. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -70
  346. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +0 -1
  347. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -33
  348. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +0 -1
  349. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -72
  350. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +0 -1
  351. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -71
  352. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +0 -1
  353. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -33
  354. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +0 -1
  355. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -75
  356. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +0 -1
  357. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -72
  358. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +0 -1
  359. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -71
  360. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +0 -1
  361. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -23
  362. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +0 -1
  363. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -23
  364. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +0 -1
  365. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -50
  366. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +0 -1
  367. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +0 -68
  368. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +0 -1
  369. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +0 -104
  370. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +0 -1
  371. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +0 -88
  372. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +0 -1
  373. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +0 -123
  374. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +0 -1
  375. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +0 -13
  376. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +0 -1
  377. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +0 -10
  378. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +0 -1
  379. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +0 -12
  380. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +0 -1
  381. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +0 -11
  382. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +0 -1
  383. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +0 -10
  384. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +0 -1
  385. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +0 -14
  386. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +0 -1
  387. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +0 -11
  388. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +0 -1
  389. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +0 -10
  390. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +0 -1
  391. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +0 -11
  392. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +0 -1
  393. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +0 -11
  394. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +0 -1
  395. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +0 -10
  396. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +0 -1
  397. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +0 -9
  398. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +0 -1
  399. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +0 -12
  400. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +0 -1
  401. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +0 -10
  402. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +0 -1
  403. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +0 -10
  404. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +0 -1
  405. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +0 -12
  406. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +0 -1
  407. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +0 -14
  408. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +0 -1
  409. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +0 -10
  410. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +0 -1
  411. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +0 -9
  412. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +0 -1
  413. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +0 -9
  414. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +0 -1
  415. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +0 -9
  416. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +0 -1
  417. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +0 -9
  418. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +0 -1
  419. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +0 -9
  420. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +0 -1
  421. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +0 -9
  422. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +0 -1
  423. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +0 -19
  424. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +0 -1
  425. package/dist/static/avatar-selected.860ee923.json +0 -1
  426. package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +0 -1
  427. package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +0 -1
  428. package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
  429. package/dist/static/dob.9ce3c15b.json +0 -1
  430. package/dist/static/error.cbe1ddde.json +0 -1
  431. package/dist/static/grade.b3730524.json +0 -1
  432. package/dist/static/key.d6846476.json +0 -1
  433. package/dist/static/mail.c30e8708.json +0 -1
  434. package/dist/static/otp.2d08f874.json +0 -1
  435. package/dist/static/otp.a3029760.json +0 -1
  436. package/dist/static/parent-avatar.772d53e0.json +0 -1
  437. package/dist/static/phone-number.0be312ea.json +0 -1
  438. package/dist/static/phone-number.84f55562.json +0 -1
  439. package/dist/static/student-avatar.524226bd.json +0 -1
  440. package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +0 -1
  441. package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +0 -1
  442. package/dist/static/user-type-selector-grid-bg.aad0b059.svg +0 -1
  443. package/dist/static/username.9e034d51.json +0 -1
@@ -1,9 +1,9 @@
1
- import { jsxs as o, jsx as r, Fragment as k } from "react/jsx-runtime";
2
- import w, { memo as Y, useState as B, useCallback as K, useEffect as P } from "react";
1
+ import { jsxs as c, jsx as r, Fragment as k } from "react/jsx-runtime";
2
+ import U, { memo as Y, useState as B, useCallback as K, useEffect as P } from "react";
3
3
  import { LOTTIE as j } from "../../../assets/lottie/lottie.js";
4
- import { GAME_LAUNCHER_SIZE as c, GAME_LAUNCHER_SIZE_LARGE as d } from "../../circle-games/game-launcher/comps/card-container/constants.js";
4
+ import { GAME_LAUNCHER_SIZE as o, GAME_LAUNCHER_SIZE_LARGE as d } from "../../circle-games/game-launcher/comps/card-container/constants.js";
5
5
  import { useCircleSounds as Z } from "../../circle-games/hooks/use-circle-sounds/use-circle-sounds.js";
6
- import { CircleSoundKey as m } from "../../circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js";
6
+ import { CircleSoundKey as T } from "../../circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js";
7
7
  import I from "../../ui/animated-arc/animated-arc.js";
8
8
  import $ from "../../ui/layout/flex-view.js";
9
9
  import X from "../../ui/lottie-animation/lottie-animation.js";
@@ -12,34 +12,36 @@ import D from "../../ui/text/text.js";
12
12
  import { NumberCountAnimation as q } from "../number-count-animation/number-count-animation.js";
13
13
  import { TARGET_ACHIEVED_DELAY as G, TOTAL_ARC_AVAILABLE as h, STROKE_WIDTH as C, ARC_RADIUS as L, ANIMATED_ARC_START_ANGLE as p, PROGRESS_FILL_DURATION as f, PROGRESS_FILL_DELAY as b, TOTAL_ANIMATION_DURATION as z } from "./constants.js";
14
14
  import { DigitalMeter as J, ContentContainer as Q, NumberCountContainer as v, RainboxColorText as N, LineMarking as M, MarkingContainer as H, MarkingText as u, BottomAbsoluteView as O, HelperTextPrimary as x, HelperTextSecondary as V } from "./digital-meter-styled.js";
15
- const Er = Y(
15
+ const rr = {
16
+ renderer: "canvas"
17
+ }, _r = Y(
16
18
  ({
17
19
  show: R,
18
- value: T,
20
+ value: a,
19
21
  maxValue: n,
20
22
  targetValue: t = 0,
21
23
  displayText: F,
22
- progressType: s,
24
+ progressType: m,
23
25
  helperTextPrimary: W,
24
- helperTextSecondary: y,
26
+ helperTextSecondary: w,
25
27
  onComplete: S,
26
- actAsTimer: a
28
+ actAsTimer: s
27
29
  }) => {
28
- const [l, U] = B(!1), { play: E } = Z(), _ = K(
29
- (i) => t ? a ? i <= t : i >= t : !1,
30
- [t, a]
30
+ const [l, y] = B(!1), { play: E } = Z(), _ = K(
31
+ (i) => t ? s ? i <= t : i >= t : !1,
32
+ [t, s]
31
33
  );
32
34
  return P(() => {
33
35
  let i, e;
34
- const A = _(T);
35
- return R && (E(a ? m.TIME_INTRO : m.ACCURACY_INTRO), E(m.METER_FILL), A && (i = setTimeout(() => {
36
- E(a ? m.TIME_TARGET : m.ACCURACY_TARGET), U(!0);
36
+ const A = _(a);
37
+ return R && (E(s ? T.TIME_INTRO : T.ACCURACY_INTRO), E(T.METER_FILL), A && (i = setTimeout(() => {
38
+ E(s ? T.TIME_TARGET : T.ACCURACY_TARGET), y(!0);
37
39
  }, G * 1e3)), e = setTimeout(() => {
38
40
  S();
39
41
  }, (A ? z : G) * 1e3)), () => {
40
42
  i && clearTimeout(i), e && clearTimeout(e);
41
43
  };
42
- }, [R, T, S, _, a, E]), R ? /* @__PURE__ */ o(J, { $isTargetAchieved: l, children: [
44
+ }, [R, a, S, _, s, E]), R ? /* @__PURE__ */ c(J, { $isTargetAchieved: l, children: [
43
45
  /* @__PURE__ */ r(
44
46
  I,
45
47
  {
@@ -51,29 +53,29 @@ const Er = Y(
51
53
  startAngle: -p
52
54
  }
53
55
  ),
54
- /* @__PURE__ */ r(Q, { children: /* @__PURE__ */ o($, { $flexDirection: "column", $alignItems: "center", children: [
55
- /* @__PURE__ */ o($, { $flexDirection: "row", $alignItems: "flex-end", children: [
56
+ /* @__PURE__ */ r(Q, { children: /* @__PURE__ */ c($, { $flexDirection: "column", $alignItems: "center", children: [
57
+ /* @__PURE__ */ c($, { $flexDirection: "row", $alignItems: "flex-end", children: [
56
58
  /* @__PURE__ */ r(v, { children: /* @__PURE__ */ r(
57
59
  N,
58
60
  {
59
- $renderAs: c === d ? "ah1" : "ah2",
61
+ $renderAs: o === d ? "ah1" : "ah2",
60
62
  $color: "GREEN_4",
61
63
  $isTargetAchieved: l,
62
64
  children: /* @__PURE__ */ r(
63
65
  q,
64
66
  {
65
67
  initialValue: 0,
66
- targetValue: Math.floor(T),
68
+ targetValue: Math.floor(a),
67
69
  durationInSec: f,
68
70
  delayInSec: b
69
71
  }
70
72
  )
71
73
  }
72
74
  ) }),
73
- s === "stepper" && /* @__PURE__ */ o(
75
+ m === "stepper" && /* @__PURE__ */ c(
74
76
  D,
75
77
  {
76
- $renderAs: c === d ? "ah4" : "ab1",
78
+ $renderAs: o === d ? "ah4" : "ab1",
77
79
  $color: "WHITE",
78
80
  children: [
79
81
  "/",
@@ -86,13 +88,13 @@ const Er = Y(
86
88
  /* @__PURE__ */ r(
87
89
  D,
88
90
  {
89
- $renderAs: c === d ? "ac3-black" : "ac4-black",
91
+ $renderAs: o === d ? "ac3-black" : "ac4-black",
90
92
  $color: "WHITE_T_60",
91
93
  children: F
92
94
  }
93
95
  )
94
96
  ] }) }),
95
- s === "stepper" && Array.from({ length: T }, (i, e) => {
97
+ m === "stepper" && Array.from({ length: a }, (i, e) => {
96
98
  const A = h / n;
97
99
  return /* @__PURE__ */ r(
98
100
  I,
@@ -110,14 +112,14 @@ const Er = Y(
110
112
  e
111
113
  );
112
114
  }),
113
- s === "stepper" && Array.from({ length: n + 1 }, (i, e) => {
115
+ m === "stepper" && Array.from({ length: n + 1 }, (i, e) => {
114
116
  const A = h / n;
115
- return /* @__PURE__ */ o(w.Fragment, { children: [
117
+ return /* @__PURE__ */ c(U.Fragment, { children: [
116
118
  /* @__PURE__ */ r(M, { $angle: A * e }),
117
119
  /* @__PURE__ */ r(H, { $angle: A * e, children: /* @__PURE__ */ r(u, { $angle: A * e, children: /* @__PURE__ */ r(
118
120
  N,
119
121
  {
120
- $renderAs: c === d ? "ac3-black" : "ac4-black",
122
+ $renderAs: o === d ? "ac3-black" : "ac4-black",
121
123
  $color: t && t === e ? "GREEN_4" : "WHITE_T_60",
122
124
  $isTargetAchieved: t === e && _(e) && l,
123
125
  children: e
@@ -125,11 +127,11 @@ const Er = Y(
125
127
  ) }) }, e)
126
128
  ] }, e);
127
129
  }),
128
- s === "linear" && /* @__PURE__ */ o(k, { children: [
130
+ m === "linear" && /* @__PURE__ */ c(k, { children: [
129
131
  /* @__PURE__ */ r(
130
132
  I,
131
133
  {
132
- targetAngle: T * h / n,
134
+ targetAngle: a * h / n,
133
135
  strokeWidth: C,
134
136
  color: "GREEN_4",
135
137
  radius: L,
@@ -139,7 +141,7 @@ const Er = Y(
139
141
  startAngle: -p
140
142
  }
141
143
  ),
142
- /* @__PURE__ */ o(k, { children: [
144
+ /* @__PURE__ */ c(k, { children: [
143
145
  t && /* @__PURE__ */ r(M, { $angle: t * h / n }),
144
146
  Array.from(/* @__PURE__ */ new Set([0, t, n])).map((i, e) => /* @__PURE__ */ r(
145
147
  H,
@@ -148,7 +150,7 @@ const Er = Y(
148
150
  children: /* @__PURE__ */ r(u, { $angle: i * h / n, children: /* @__PURE__ */ r(
149
151
  N,
150
152
  {
151
- $renderAs: c === d ? "ac3-black" : "ac4-black",
153
+ $renderAs: o === d ? "ac3-black" : "ac4-black",
152
154
  $color: t && t === i ? "GREEN_4" : "WHITE_T_60",
153
155
  $isTargetAchieved: t === i && l && _(i),
154
156
  children: i
@@ -159,27 +161,34 @@ const Er = Y(
159
161
  ))
160
162
  ] })
161
163
  ] }),
162
- l && /* @__PURE__ */ r(O, { top: c, children: /* @__PURE__ */ r(X, { src: j.TARGET_ACHIEVED_TEXT }) }),
163
- !l && /* @__PURE__ */ o(O, { top: c, children: [
164
+ l && /* @__PURE__ */ r(O, { top: o, children: /* @__PURE__ */ r(
165
+ X,
166
+ {
167
+ src: j.TARGET_ACHIEVED_TEXT,
168
+ settings: rr,
169
+ width: o * 0.6
170
+ }
171
+ ) }),
172
+ !l && /* @__PURE__ */ c(O, { top: o, children: [
164
173
  /* @__PURE__ */ r(g, { height: 25 }),
165
- /* @__PURE__ */ o($, { $flexDirection: "column", $alignItems: "center", children: [
166
- /* @__PURE__ */ o(
174
+ /* @__PURE__ */ c($, { $flexDirection: "column", $alignItems: "center", children: [
175
+ /* @__PURE__ */ c(
167
176
  x,
168
177
  {
169
- $renderAs: c === d ? "ac3-black" : "ac4-black",
178
+ $renderAs: o === d ? "ac3-black" : "ac4-black",
170
179
  $color: "WHITE_T_60",
171
180
  children: [
172
181
  W,
173
- /* @__PURE__ */ r(g, { height: c * 0.03 })
182
+ /* @__PURE__ */ r(g, { height: o * 0.03 })
174
183
  ]
175
184
  }
176
185
  ),
177
186
  /* @__PURE__ */ r(
178
187
  V,
179
188
  {
180
- $renderAs: c === d ? "ah4" : "ab1",
189
+ $renderAs: o === d ? "ah4" : "ab1",
181
190
  $color: "WHITE",
182
- children: y
191
+ children: w
183
192
  }
184
193
  )
185
194
  ] })
@@ -188,6 +197,6 @@ const Er = Y(
188
197
  }
189
198
  );
190
199
  export {
191
- Er as DigitalMeter
200
+ _r as DigitalMeter
192
201
  };
193
202
  //# sourceMappingURL=digital-meter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"digital-meter.js","sources":["../../../../src/features/post-game-stats/digital-meter/digital-meter.tsx"],"sourcesContent":["import type { IDigitalMeterProps } from './digital-meter-types';\nimport type { FC } from 'react';\n\nimport React, { memo, useCallback, useEffect, useState } from 'react';\n\nimport { LOTTIE } from '../../../assets/lottie/lottie';\nimport {\n GAME_LAUNCHER_SIZE,\n GAME_LAUNCHER_SIZE_LARGE,\n} from '../../circle-games/game-launcher/comps/card-container/constants';\nimport { useCircleSounds } from '../../circle-games/hooks/use-circle-sounds/use-circle-sounds';\nimport { CircleSoundKey } from '../../circle-games/hooks/use-circle-sounds/use-circle-sounds-enums';\nimport AnimatedArc from '../../ui/animated-arc/animated-arc';\nimport FlexView from '../../ui/layout/flex-view';\nimport LottieAnimation from '../../ui/lottie-animation/lottie-animation';\nimport Separator from '../../ui/separator/separator';\nimport Text from '../../ui/text/text';\nimport { NumberCountAnimation } from '../number-count-animation/number-count-animation';\nimport {\n ANIMATED_ARC_START_ANGLE,\n ARC_RADIUS,\n PROGRESS_FILL_DELAY,\n PROGRESS_FILL_DURATION,\n STROKE_WIDTH,\n TARGET_ACHIEVED_DELAY,\n TOTAL_ANIMATION_DURATION,\n TOTAL_ARC_AVAILABLE,\n} from './constants';\nimport * as Styled from './digital-meter-styled';\n\nexport const DigitalMeter: FC<IDigitalMeterProps> = memo(\n ({\n show,\n value,\n maxValue,\n targetValue = 0,\n displayText,\n progressType,\n helperTextPrimary,\n helperTextSecondary,\n onComplete,\n actAsTimer,\n }) => {\n const [isTargetAchieved, setIsTargetAchieved] = useState(false);\n const { play } = useCircleSounds();\n\n const isTargetValueAchieved = useCallback(\n (valueToCompare: number) => {\n if (targetValue) {\n if (actAsTimer) {\n return valueToCompare <= targetValue;\n }\n\n return valueToCompare >= targetValue;\n }\n\n return false;\n },\n [targetValue, actAsTimer],\n );\n\n useEffect(() => {\n let timer: ReturnType<typeof setTimeout>;\n let timerForAnimationComplete: ReturnType<typeof setTimeout>;\n const isTargetAchievedFlag = isTargetValueAchieved(value);\n\n if (show) {\n play(actAsTimer ? CircleSoundKey.TIME_INTRO : CircleSoundKey.ACCURACY_INTRO);\n play(CircleSoundKey.METER_FILL);\n if (isTargetAchievedFlag) {\n timer = setTimeout(() => {\n play(actAsTimer ? CircleSoundKey.TIME_TARGET : CircleSoundKey.ACCURACY_TARGET);\n setIsTargetAchieved(true);\n }, TARGET_ACHIEVED_DELAY * 1000);\n }\n\n const timeToFinishAnimation = isTargetAchievedFlag\n ? TOTAL_ANIMATION_DURATION\n : TARGET_ACHIEVED_DELAY;\n\n timerForAnimationComplete = setTimeout(() => {\n onComplete();\n }, timeToFinishAnimation * 1000);\n }\n\n return () => {\n timer && clearTimeout(timer);\n timerForAnimationComplete && clearTimeout(timerForAnimationComplete);\n };\n }, [show, value, onComplete, isTargetValueAchieved, actAsTimer, play]);\n\n if (!show) return null;\n\n return (\n <Styled.DigitalMeter $isTargetAchieved={isTargetAchieved}>\n {/* complete arc area to be filled */}\n <AnimatedArc\n targetAngle={TOTAL_ARC_AVAILABLE}\n strokeWidth={STROKE_WIDTH}\n color=\"BLACK_5\"\n radius={ARC_RADIUS}\n duration={0}\n startAngle={-ANIMATED_ARC_START_ANGLE}\n />\n\n {/* center area for the content */}\n <Styled.ContentContainer>\n <FlexView $flexDirection=\"column\" $alignItems=\"center\">\n <FlexView $flexDirection=\"row\" $alignItems=\"flex-end\">\n <Styled.NumberCountContainer>\n <Styled.RainboxColorText\n $renderAs={GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ah1' : 'ah2'}\n $color=\"GREEN_4\"\n $isTargetAchieved={isTargetAchieved}\n >\n <NumberCountAnimation\n initialValue={0}\n targetValue={Math.floor(value)}\n durationInSec={PROGRESS_FILL_DURATION}\n delayInSec={PROGRESS_FILL_DELAY}\n />\n </Styled.RainboxColorText>\n </Styled.NumberCountContainer>\n {progressType === 'stepper' && (\n <Text\n $renderAs={GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ah4' : 'ab1'}\n $color=\"WHITE\"\n >\n /{maxValue}\n </Text>\n )}\n </FlexView>\n <Separator height={8} />\n <Text\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color=\"WHITE_T_60\"\n >\n {displayText}\n </Text>\n </FlexView>\n </Styled.ContentContainer>\n\n {/* stepper animation */}\n {progressType === 'stepper' &&\n Array.from({ length: value }, (_, index) => {\n const arcLength = TOTAL_ARC_AVAILABLE / maxValue;\n\n return (\n <AnimatedArc\n key={index}\n startAngle={-ANIMATED_ARC_START_ANGLE + arcLength * index}\n targetAngle={arcLength}\n strokeWidth={STROKE_WIDTH}\n color=\"GREEN_4\"\n radius={ARC_RADIUS}\n mode=\"fade\"\n duration={PROGRESS_FILL_DURATION / maxValue}\n delay={PROGRESS_FILL_DELAY + (PROGRESS_FILL_DURATION / maxValue) * index}\n showAnimatedRainbowArc={isTargetAchieved}\n />\n );\n })}\n\n {/* numbers with markings */}\n {progressType === 'stepper' &&\n Array.from({ length: maxValue + 1 }, (_, index) => {\n const arcLength = TOTAL_ARC_AVAILABLE / maxValue;\n\n return (\n <React.Fragment key={index}>\n <Styled.LineMarking $angle={arcLength * index} />\n <Styled.MarkingContainer key={index} $angle={arcLength * index}>\n <Styled.MarkingText $angle={arcLength * index}>\n <Styled.RainboxColorText\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color={targetValue && targetValue === index ? 'GREEN_4' : 'WHITE_T_60'}\n $isTargetAchieved={\n targetValue === index && isTargetValueAchieved(index) && isTargetAchieved\n }\n >\n {index}\n </Styled.RainboxColorText>\n </Styled.MarkingText>\n </Styled.MarkingContainer>\n </React.Fragment>\n );\n })}\n\n {/* progress of linear */}\n {progressType === 'linear' && (\n <>\n <AnimatedArc\n targetAngle={(value * TOTAL_ARC_AVAILABLE) / maxValue}\n strokeWidth={STROKE_WIDTH}\n color=\"GREEN_4\"\n radius={ARC_RADIUS}\n duration={PROGRESS_FILL_DURATION}\n delay={PROGRESS_FILL_DELAY}\n showAnimatedRainbowArc={isTargetAchieved}\n startAngle={-ANIMATED_ARC_START_ANGLE}\n />\n <>\n {/* target line marking */}\n {targetValue && (\n <Styled.LineMarking $angle={(targetValue * TOTAL_ARC_AVAILABLE) / maxValue} />\n )}\n\n {/* all markings */}\n {Array.from(new Set([0, targetValue, maxValue])).map((val, index) => (\n <Styled.MarkingContainer\n key={index}\n $angle={(val * TOTAL_ARC_AVAILABLE) / maxValue}\n >\n <Styled.MarkingText $angle={(val * TOTAL_ARC_AVAILABLE) / maxValue}>\n <Styled.RainboxColorText\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color={targetValue && targetValue === val ? 'GREEN_4' : 'WHITE_T_60'}\n $isTargetAchieved={\n targetValue === val && isTargetAchieved && isTargetValueAchieved(val)\n }\n >\n {val}\n </Styled.RainboxColorText>\n </Styled.MarkingText>\n </Styled.MarkingContainer>\n ))}\n </>\n </>\n )}\n\n {/* helper text below the animation */}\n {isTargetAchieved && (\n <Styled.BottomAbsoluteView top={GAME_LAUNCHER_SIZE}>\n <LottieAnimation src={LOTTIE.TARGET_ACHIEVED_TEXT} />\n </Styled.BottomAbsoluteView>\n )}\n {!isTargetAchieved && (\n <Styled.BottomAbsoluteView top={GAME_LAUNCHER_SIZE}>\n <Separator height={25} />\n <FlexView $flexDirection=\"column\" $alignItems=\"center\">\n <Styled.HelperTextPrimary\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color=\"WHITE_T_60\"\n >\n {helperTextPrimary}\n <Separator height={GAME_LAUNCHER_SIZE * 0.03} />\n </Styled.HelperTextPrimary>\n <Styled.HelperTextSecondary\n $renderAs={GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ah4' : 'ab1'}\n $color=\"WHITE\"\n >\n {helperTextSecondary}\n </Styled.HelperTextSecondary>\n </FlexView>\n </Styled.BottomAbsoluteView>\n )}\n </Styled.DigitalMeter>\n );\n },\n);\n"],"names":["DigitalMeter","memo","show","value","maxValue","targetValue","displayText","progressType","helperTextPrimary","helperTextSecondary","onComplete","actAsTimer","isTargetAchieved","setIsTargetAchieved","useState","play","useCircleSounds","isTargetValueAchieved","useCallback","valueToCompare","useEffect","timer","timerForAnimationComplete","isTargetAchievedFlag","CircleSoundKey","TARGET_ACHIEVED_DELAY","TOTAL_ANIMATION_DURATION","jsxs","Styled.DigitalMeter","jsx","AnimatedArc","TOTAL_ARC_AVAILABLE","STROKE_WIDTH","ARC_RADIUS","ANIMATED_ARC_START_ANGLE","Styled.ContentContainer","FlexView","Styled.NumberCountContainer","Styled.RainboxColorText","GAME_LAUNCHER_SIZE","GAME_LAUNCHER_SIZE_LARGE","NumberCountAnimation","PROGRESS_FILL_DURATION","PROGRESS_FILL_DELAY","Text","Separator","_","index","arcLength","React","Styled.LineMarking","Styled.MarkingContainer","Styled.MarkingText","Fragment","val","Styled.BottomAbsoluteView","LottieAnimation","LOTTIE","Styled.HelperTextPrimary","Styled.HelperTextSecondary"],"mappings":";;;;;;;;;;;;;;AA8BO,MAAMA,KAAuCC;AAAA,EAClD,CAAC;AAAA,IACC,MAAAC;AAAA,IACA,OAAAC;AAAA,IACA,UAAAC;AAAA,IACA,aAAAC,IAAc;AAAA,IACd,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,YAAAC;AAAA,EAAA,MACI;AACJ,UAAM,CAACC,GAAkBC,CAAmB,IAAIC,EAAS,EAAK,GACxD,EAAE,MAAAC,MAASC,KAEXC,IAAwBC;AAAA,MAC5B,CAACC,MACKd,IACEM,IACKQ,KAAkBd,IAGpBc,KAAkBd,IAGpB;AA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WACEC,MAAuBC,IAA2B,cAAc;AAAA,kBAElE,QAAQnC,KAAeA,MAAgBiD,IAAM,YAAY;AAAA,kBACzD,mBACEjD,MAAgBiD,KAAO1C,KAAoBK,EAAsBqC,CAAG;AAAA,kBAGrE,UAAAA;AAAA,gBAAA;AAAA,cAAA,GAEL;AAAA,YAAA;AAAA,YAfKP;AAAA,UAAA,CAiBR;AAAA,QAAA,GACH;AAAA,MAAA,GACF;AAAA,MAIDnC,KACC,gBAAAiB,EAAC0B,GAAA,EAA0B,KAAKhB,GAC9B,UAAA,gBAAAV,EAAC2B,GAAgB,EAAA,KAAKC,EAAO,qBAAA,CAAsB,EACrD,CAAA;AAAA,MAED,CAAC7C,KACA,gBAAAe,EAAC4B,GAAA,EAA0B,KAAKhB,GAC9B,UAAA;AAAA,QAAC,gBAAAV,EAAAgB,GAAA,EAAU,QAAQ,GAAI,CAAA;AAAA,QACtB,gBAAAlB,EAAAS,GAAA,EAAS,gBAAe,UAAS,aAAY,UAC5C,UAAA;AAAA,UAAA,gBAAAT;AAAA,YAAC+B;AAAAA,YAAA;AAAA,cACC,WACEnB,MAAuBC,IAA2B,cAAc;AAAA,cAElE,QAAO;AAAA,cAEN,UAAA;AAAA,gBAAAhC;AAAA,gBACA,gBAAAqB,EAAAgB,GAAA,EAAU,QAAQN,IAAqB,KAAM,CAAA;AAAA,cAAA;AAAA,YAAA;AAAA,UAChD;AAAA,UACA,gBAAAV;AAAA,YAAC8B;AAAAA,YAAA;AAAA,cACC,WAAWpB,MAAuBC,IAA2B,QAAQ;AAAA,cACrE,QAAO;AAAA,cAEN,UAAA/B;AAAA,YAAA;AAAA,UACH;AAAA,QAAA,GACF;AAAA,MAAA,GACF;AAAA,IAEJ,EAAA,CAAA,IA7KgB;AAAA,EA+KpB;AACF;"}
1
+ {"version":3,"file":"digital-meter.js","sources":["../../../../src/features/post-game-stats/digital-meter/digital-meter.tsx"],"sourcesContent":["import type { IDigitalMeterProps } from './digital-meter-types';\nimport type { FC } from 'react';\n\nimport React, { memo, useCallback, useEffect, useState } from 'react';\n\nimport { LOTTIE } from '../../../assets/lottie/lottie';\nimport {\n GAME_LAUNCHER_SIZE,\n GAME_LAUNCHER_SIZE_LARGE,\n} from '../../circle-games/game-launcher/comps/card-container/constants';\nimport { useCircleSounds } from '../../circle-games/hooks/use-circle-sounds/use-circle-sounds';\nimport { CircleSoundKey } from '../../circle-games/hooks/use-circle-sounds/use-circle-sounds-enums';\nimport AnimatedArc from '../../ui/animated-arc/animated-arc';\nimport FlexView from '../../ui/layout/flex-view';\nimport LottieAnimation from '../../ui/lottie-animation/lottie-animation';\nimport Separator from '../../ui/separator/separator';\nimport Text from '../../ui/text/text';\nimport { NumberCountAnimation } from '../number-count-animation/number-count-animation';\nimport {\n ANIMATED_ARC_START_ANGLE,\n ARC_RADIUS,\n PROGRESS_FILL_DELAY,\n PROGRESS_FILL_DURATION,\n STROKE_WIDTH,\n TARGET_ACHIEVED_DELAY,\n TOTAL_ANIMATION_DURATION,\n TOTAL_ARC_AVAILABLE,\n} from './constants';\nimport * as Styled from './digital-meter-styled';\n\nconst settings = {\n renderer: 'canvas',\n};\n\nexport const DigitalMeter: FC<IDigitalMeterProps> = memo(\n ({\n show,\n value,\n maxValue,\n targetValue = 0,\n displayText,\n progressType,\n helperTextPrimary,\n helperTextSecondary,\n onComplete,\n actAsTimer,\n }) => {\n const [isTargetAchieved, setIsTargetAchieved] = useState(false);\n const { play } = useCircleSounds();\n\n const isTargetValueAchieved = useCallback(\n (valueToCompare: number) => {\n if (targetValue) {\n if (actAsTimer) {\n return valueToCompare <= targetValue;\n }\n\n return valueToCompare >= targetValue;\n }\n\n return false;\n },\n [targetValue, actAsTimer],\n );\n\n useEffect(() => {\n let timer: ReturnType<typeof setTimeout>;\n let timerForAnimationComplete: ReturnType<typeof setTimeout>;\n const isTargetAchievedFlag = isTargetValueAchieved(value);\n\n if (show) {\n play(actAsTimer ? CircleSoundKey.TIME_INTRO : CircleSoundKey.ACCURACY_INTRO);\n play(CircleSoundKey.METER_FILL);\n if (isTargetAchievedFlag) {\n timer = setTimeout(() => {\n play(actAsTimer ? CircleSoundKey.TIME_TARGET : CircleSoundKey.ACCURACY_TARGET);\n setIsTargetAchieved(true);\n }, TARGET_ACHIEVED_DELAY * 1000);\n }\n\n const timeToFinishAnimation = isTargetAchievedFlag\n ? TOTAL_ANIMATION_DURATION\n : TARGET_ACHIEVED_DELAY;\n\n timerForAnimationComplete = setTimeout(() => {\n onComplete();\n }, timeToFinishAnimation * 1000);\n }\n\n return () => {\n timer && clearTimeout(timer);\n timerForAnimationComplete && clearTimeout(timerForAnimationComplete);\n };\n }, [show, value, onComplete, isTargetValueAchieved, actAsTimer, play]);\n\n if (!show) return null;\n\n return (\n <Styled.DigitalMeter $isTargetAchieved={isTargetAchieved}>\n {/* complete arc area to be filled */}\n <AnimatedArc\n targetAngle={TOTAL_ARC_AVAILABLE}\n strokeWidth={STROKE_WIDTH}\n color=\"BLACK_5\"\n radius={ARC_RADIUS}\n duration={0}\n startAngle={-ANIMATED_ARC_START_ANGLE}\n />\n\n {/* center area for the content */}\n <Styled.ContentContainer>\n <FlexView $flexDirection=\"column\" $alignItems=\"center\">\n <FlexView $flexDirection=\"row\" $alignItems=\"flex-end\">\n <Styled.NumberCountContainer>\n <Styled.RainboxColorText\n $renderAs={GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ah1' : 'ah2'}\n $color=\"GREEN_4\"\n $isTargetAchieved={isTargetAchieved}\n >\n <NumberCountAnimation\n initialValue={0}\n targetValue={Math.floor(value)}\n durationInSec={PROGRESS_FILL_DURATION}\n delayInSec={PROGRESS_FILL_DELAY}\n />\n </Styled.RainboxColorText>\n </Styled.NumberCountContainer>\n {progressType === 'stepper' && (\n <Text\n $renderAs={GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ah4' : 'ab1'}\n $color=\"WHITE\"\n >\n /{maxValue}\n </Text>\n )}\n </FlexView>\n <Separator height={8} />\n <Text\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color=\"WHITE_T_60\"\n >\n {displayText}\n </Text>\n </FlexView>\n </Styled.ContentContainer>\n\n {/* stepper animation */}\n {progressType === 'stepper' &&\n Array.from({ length: value }, (_, index) => {\n const arcLength = TOTAL_ARC_AVAILABLE / maxValue;\n\n return (\n <AnimatedArc\n key={index}\n startAngle={-ANIMATED_ARC_START_ANGLE + arcLength * index}\n targetAngle={arcLength}\n strokeWidth={STROKE_WIDTH}\n color=\"GREEN_4\"\n radius={ARC_RADIUS}\n mode=\"fade\"\n duration={PROGRESS_FILL_DURATION / maxValue}\n delay={PROGRESS_FILL_DELAY + (PROGRESS_FILL_DURATION / maxValue) * index}\n showAnimatedRainbowArc={isTargetAchieved}\n />\n );\n })}\n\n {/* numbers with markings */}\n {progressType === 'stepper' &&\n Array.from({ length: maxValue + 1 }, (_, index) => {\n const arcLength = TOTAL_ARC_AVAILABLE / maxValue;\n\n return (\n <React.Fragment key={index}>\n <Styled.LineMarking $angle={arcLength * index} />\n <Styled.MarkingContainer key={index} $angle={arcLength * index}>\n <Styled.MarkingText $angle={arcLength * index}>\n <Styled.RainboxColorText\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color={targetValue && targetValue === index ? 'GREEN_4' : 'WHITE_T_60'}\n $isTargetAchieved={\n targetValue === index && isTargetValueAchieved(index) && isTargetAchieved\n }\n >\n {index}\n </Styled.RainboxColorText>\n </Styled.MarkingText>\n </Styled.MarkingContainer>\n </React.Fragment>\n );\n })}\n\n {/* progress of linear */}\n {progressType === 'linear' && (\n <>\n <AnimatedArc\n targetAngle={(value * TOTAL_ARC_AVAILABLE) / maxValue}\n strokeWidth={STROKE_WIDTH}\n color=\"GREEN_4\"\n radius={ARC_RADIUS}\n duration={PROGRESS_FILL_DURATION}\n delay={PROGRESS_FILL_DELAY}\n showAnimatedRainbowArc={isTargetAchieved}\n startAngle={-ANIMATED_ARC_START_ANGLE}\n />\n <>\n {/* target line marking */}\n {targetValue && (\n <Styled.LineMarking $angle={(targetValue * TOTAL_ARC_AVAILABLE) / maxValue} />\n )}\n\n {/* all markings */}\n {Array.from(new Set([0, targetValue, maxValue])).map((val, index) => (\n <Styled.MarkingContainer\n key={index}\n $angle={(val * TOTAL_ARC_AVAILABLE) / maxValue}\n >\n <Styled.MarkingText $angle={(val * TOTAL_ARC_AVAILABLE) / maxValue}>\n <Styled.RainboxColorText\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color={targetValue && targetValue === val ? 'GREEN_4' : 'WHITE_T_60'}\n $isTargetAchieved={\n targetValue === val && isTargetAchieved && isTargetValueAchieved(val)\n }\n >\n {val}\n </Styled.RainboxColorText>\n </Styled.MarkingText>\n </Styled.MarkingContainer>\n ))}\n </>\n </>\n )}\n\n {/* helper text below the animation */}\n {isTargetAchieved && (\n <Styled.BottomAbsoluteView top={GAME_LAUNCHER_SIZE}>\n <LottieAnimation\n src={LOTTIE.TARGET_ACHIEVED_TEXT}\n settings={settings}\n width={GAME_LAUNCHER_SIZE * 0.6}\n />\n </Styled.BottomAbsoluteView>\n )}\n {!isTargetAchieved && (\n <Styled.BottomAbsoluteView top={GAME_LAUNCHER_SIZE}>\n <Separator height={25} />\n <FlexView $flexDirection=\"column\" $alignItems=\"center\">\n <Styled.HelperTextPrimary\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color=\"WHITE_T_60\"\n >\n {helperTextPrimary}\n <Separator height={GAME_LAUNCHER_SIZE * 0.03} />\n </Styled.HelperTextPrimary>\n <Styled.HelperTextSecondary\n $renderAs={GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ah4' : 'ab1'}\n $color=\"WHITE\"\n >\n {helperTextSecondary}\n </Styled.HelperTextSecondary>\n </FlexView>\n </Styled.BottomAbsoluteView>\n )}\n </Styled.DigitalMeter>\n );\n },\n);\n"],"names":["settings","DigitalMeter","memo","show","value","maxValue","targetValue","displayText","progressType","helperTextPrimary","helperTextSecondary","onComplete","actAsTimer","isTargetAchieved","setIsTargetAchieved","useState","play","useCircleSounds","isTargetValueAchieved","useCallback","valueToCompare","useEffect","timer","timerForAnimationComplete","isTargetAchievedFlag","CircleSoundKey","TARGET_ACHIEVED_DELAY","TOTAL_ANIMATION_DURATION","jsxs","Styled.DigitalMeter","jsx","AnimatedArc","TOTAL_ARC_AVAILABLE","STROKE_WIDTH","ARC_RADIUS","ANIMATED_ARC_START_ANGLE","Styled.ContentContainer","FlexView","Styled.NumberCountContainer","Styled.RainboxColorText","GAME_LAUNCHER_SIZE","GAME_LAUNCHER_SIZE_LARGE","NumberCountAnimation","PROGRESS_FILL_DURATION","PROGRESS_FILL_DELAY","Text","Separator","_","index","arcLength","React","Styled.LineMarking","Styled.MarkingContainer","Styled.MarkingText","Fragment","val","Styled.BottomAbsoluteView","LottieAnimation","LOTTIE","Styled.HelperTextPrimary","Styled.HelperTextSecondary"],"mappings":";;;;;;;;;;;;;;AA8BA,MAAMA,KAAW;AAAA,EACf,UAAU;AACZ,GAEaC,KAAuCC;AAAA,EAClD,CAAC;AAAA,IACC,MAAAC;AAAA,IACA,OAAAC;AAAA,IACA,UAAAC;AAAA,IACA,aAAAC,IAAc;AAAA,IACd,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,YAAAC;AAAA,EAAA,MACI;AACJ,UAAM,CAACC,GAAkBC,CAAmB,IAAIC,EAAS,EAAK,GACxD,EAAE,MAAAC,MAASC,KAEXC,IAAwBC;AAAA,MAC5B,CAACC,MACKd,IACEM,IACKQ,KAAkBd,IAGpBc,KAAkBd,IAGp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2
2
  import { LOTTIE as r } from "../../../../assets/lottie/lottie.js";
3
- import i from "../../layout/flex-view.js";
4
- import o from "../../lottie-animation/lottie-animation.js";
5
- const h = () => /* @__PURE__ */ t(
6
- i,
3
+ import e from "../../layout/flex-view.js";
4
+ import i from "../../lottie-animation/lottie-animation.js";
5
+ const o = {
6
+ renderer: "canvas"
7
+ }, a = () => /* @__PURE__ */ t(
8
+ e,
7
9
  {
8
10
  $width: "100%",
9
11
  $height: "100%",
10
12
  $alignItems: "center",
11
13
  $justifyContent: "center",
12
14
  $background: "TRANSPARENT",
13
- children: /* @__PURE__ */ t(o, { width: "50%", height: "50%", src: r.CIRCULAR_LOADER })
15
+ children: /* @__PURE__ */ t(i, { width: "50%", height: "50%", src: r.CIRCULAR_LOADER, settings: o })
14
16
  }
15
17
  );
16
18
  export {
17
- h as CircularLoader
19
+ a as CircularLoader
18
20
  };
19
21
  //# sourceMappingURL=circular-loader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"circular-loader.js","sources":["../../../../../src/features/ui/loader/circular-loader/circular-loader.tsx"],"sourcesContent":["import { LOTTIE } from '../../../../assets/lottie/lottie';\nimport FlexView from '../../layout/flex-view';\nimport LottieAnimation from '../../lottie-animation/lottie-animation';\n\nexport const CircularLoader = () => (\n <FlexView\n $width=\"100%\"\n $height=\"100%\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"TRANSPARENT\"\n >\n <LottieAnimation width=\"50%\" height=\"50%\" src={LOTTIE.CIRCULAR_LOADER} />\n </FlexView>\n);\n"],"names":["CircularLoader","jsx","FlexView","LottieAnimation","LOTTIE"],"mappings":";;;;AAIO,MAAMA,IAAiB,MAC5B,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,aAAY;AAAA,IACZ,iBAAgB;AAAA,IAChB,aAAY;AAAA,IAEZ,UAAA,gBAAAD,EAACE,KAAgB,OAAM,OAAM,QAAO,OAAM,KAAKC,EAAO,gBAAiB,CAAA;AAAA,EAAA;AACzE;"}
1
+ {"version":3,"file":"circular-loader.js","sources":["../../../../../src/features/ui/loader/circular-loader/circular-loader.tsx"],"sourcesContent":["import { LOTTIE } from '../../../../assets/lottie/lottie';\nimport FlexView from '../../layout/flex-view';\nimport LottieAnimation from '../../lottie-animation/lottie-animation';\n\nconst settings = {\n renderer: 'canvas',\n};\n\nexport const CircularLoader = () => (\n <FlexView\n $width=\"100%\"\n $height=\"100%\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"TRANSPARENT\"\n >\n <LottieAnimation width=\"50%\" height=\"50%\" src={LOTTIE.CIRCULAR_LOADER} settings={settings} />\n </FlexView>\n);\n"],"names":["settings","CircularLoader","jsx","FlexView","LottieAnimation","LOTTIE"],"mappings":";;;;AAIA,MAAMA,IAAW;AAAA,EACf,UAAU;AACZ,GAEaC,IAAiB,MAC5B,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,aAAY;AAAA,IACZ,iBAAgB;AAAA,IAChB,aAAY;AAAA,IAEZ,UAAA,gBAAAD,EAACE,KAAgB,OAAM,OAAM,QAAO,OAAM,KAAKC,EAAO,iBAAiB,UAAAL,EAAoB,CAAA;AAAA,EAAA;AAC7F;"}