@cuemath/leap 2.9.12-j2 → 3.0.1-rj-0

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 (687) hide show
  1. package/dist/assets/illustrations/illustrations.js +9 -3
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/line-icons/icons/bin2.js +7 -8
  4. package/dist/assets/line-icons/icons/bin2.js.map +1 -1
  5. package/dist/assets/line-icons/icons/chevron-left.js.map +1 -1
  6. package/dist/assets/line-icons/icons/exclamation.js +26 -0
  7. package/dist/assets/line-icons/icons/exclamation.js.map +1 -0
  8. package/dist/assets/line-icons/icons/home2.js +25 -0
  9. package/dist/assets/line-icons/icons/home2.js.map +1 -0
  10. package/dist/assets/line-icons/icons/important.js +23 -0
  11. package/dist/assets/line-icons/icons/important.js.map +1 -0
  12. package/dist/assets/line-icons/icons/skip-colored.js +43 -0
  13. package/dist/assets/line-icons/icons/skip-colored.js.map +1 -0
  14. package/dist/assets/line-icons/icons/status.js +41 -0
  15. package/dist/assets/line-icons/icons/status.js.map +1 -0
  16. package/dist/assets/lottie/lottie.js +8 -11
  17. package/dist/assets/lottie/lottie.js.map +1 -1
  18. package/dist/constants/api.js +3 -2
  19. package/dist/constants/api.js.map +1 -1
  20. package/dist/features/analytics-events/platform-events-student.js +3 -3
  21. package/dist/features/analytics-events/platform-events-student.js.map +1 -1
  22. package/dist/features/analytics-events/whitelist-events.js +13 -11
  23. package/dist/features/analytics-events/whitelist-events.js.map +1 -1
  24. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js +99 -33
  25. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js.map +1 -1
  26. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js +92 -49
  27. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js.map +1 -1
  28. package/dist/features/chapters/chapters-list/chapters-list-styled.js +5 -5
  29. package/dist/features/chapters/chapters-list/chapters-list-styled.js.map +1 -1
  30. package/dist/features/chapters/chapters-list/chapters-list.js +64 -70
  31. package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
  32. package/dist/features/chapters-v2/api/chapter.js +10 -0
  33. package/dist/features/chapters-v2/api/chapter.js.map +1 -0
  34. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +112 -0
  35. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -0
  36. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js +35 -0
  37. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js.map +1 -0
  38. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +83 -0
  39. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -0
  40. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js +90 -0
  41. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js.map +1 -0
  42. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js +98 -0
  43. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js.map +1 -0
  44. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js +51 -0
  45. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js.map +1 -0
  46. package/dist/features/chapters-v2/chapter-details/chapter-details.js +129 -0
  47. package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -0
  48. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +159 -0
  49. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +1 -0
  50. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js +16 -0
  51. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js.map +1 -0
  52. package/dist/features/chapters-v2/comps/node-card/node-card.js +12 -0
  53. package/dist/features/chapters-v2/comps/node-card/node-card.js.map +1 -0
  54. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js +30 -0
  55. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js.map +1 -0
  56. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js +32 -0
  57. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js.map +1 -0
  58. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js +9 -0
  59. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js.map +1 -0
  60. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +187 -0
  61. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +1 -0
  62. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +192 -0
  63. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -0
  64. package/dist/features/chapters-v2/comps/tag/tag-styled.js +13 -0
  65. package/dist/features/chapters-v2/comps/tag/tag-styled.js.map +1 -0
  66. package/dist/features/chapters-v2/comps/tag/tag.js +28 -0
  67. package/dist/features/chapters-v2/comps/tag/tag.js.map +1 -0
  68. package/dist/features/chapters-v2/constants/block-constants.js +20 -0
  69. package/dist/features/chapters-v2/constants/block-constants.js.map +1 -0
  70. package/dist/features/chapters-v2/constants/node-constants.js +14 -0
  71. package/dist/features/chapters-v2/constants/node-constants.js.map +1 -0
  72. package/dist/features/chapters-v2/utils/index.js +45 -0
  73. package/dist/features/chapters-v2/utils/index.js.map +1 -0
  74. package/dist/features/chapters-v2/utils/node-card-utils.js +169 -0
  75. package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -0
  76. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +107 -100
  77. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
  78. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +96 -93
  79. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
  80. package/dist/features/circle-games/games/tutorial/tutorial-styled.js +1 -1
  81. package/dist/features/circle-games/games/tutorial/tutorial-styled.js.map +1 -1
  82. package/dist/features/communication/pub-sub/constants.js +12 -6
  83. package/dist/features/communication/pub-sub/constants.js.map +1 -1
  84. package/dist/features/homework/card-menu-option.js +28 -0
  85. package/dist/features/homework/card-menu-option.js.map +1 -0
  86. package/dist/features/homework/card-menu-options.js +22 -0
  87. package/dist/features/homework/card-menu-options.js.map +1 -0
  88. package/dist/features/homework/card-title.js +16 -0
  89. package/dist/features/homework/card-title.js.map +1 -0
  90. package/dist/features/homework/homework-analytics-events.js +10 -0
  91. package/dist/features/homework/homework-analytics-events.js.map +1 -0
  92. package/dist/features/homework/homework-card-view.js +143 -0
  93. package/dist/features/homework/homework-card-view.js.map +1 -0
  94. package/dist/features/homework/homework-card.js +245 -0
  95. package/dist/features/homework/homework-card.js.map +1 -0
  96. package/dist/features/homework/hw-card-list/api/get-homeworks.js +10 -0
  97. package/dist/features/homework/hw-card-list/api/get-homeworks.js.map +1 -0
  98. package/dist/features/homework/hw-card-list/hw-card-list-styled.js +63 -0
  99. package/dist/features/homework/hw-card-list/hw-card-list-styled.js.map +1 -0
  100. package/dist/features/homework/hw-card-list/hw-card-list-view.js +157 -0
  101. package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +1 -0
  102. package/dist/features/homework/hw-card-list/hw-card-list.js +67 -0
  103. package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -0
  104. package/dist/features/homework/node-progress.js +29 -0
  105. package/dist/features/homework/node-progress.js.map +1 -0
  106. package/dist/features/homework/styles.js +130 -0
  107. package/dist/features/homework/styles.js.map +1 -0
  108. package/dist/features/homework/utils.js +48 -0
  109. package/dist/features/homework/utils.js.map +1 -0
  110. package/dist/features/journey/comps/coachmark/coachmark.js +29 -28
  111. package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
  112. package/dist/features/journey/hooks/use-chapter-journey.js +173 -0
  113. package/dist/features/journey/hooks/use-chapter-journey.js.map +1 -0
  114. package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js +268 -0
  115. package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js.map +1 -0
  116. package/dist/features/journey/hooks/use-home-page-journey/recent-chapters-mock.js +513 -0
  117. package/dist/features/journey/hooks/use-home-page-journey/recent-chapters-mock.js.map +1 -0
  118. package/dist/features/journey/hooks/use-home-page-journey/styles.js +23 -0
  119. package/dist/features/journey/hooks/use-home-page-journey/styles.js.map +1 -0
  120. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +22 -0
  121. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -0
  122. package/dist/features/journey/hooks/use-home-page-journey/use-home-page-journey.js +270 -0
  123. package/dist/features/journey/hooks/use-home-page-journey/use-home-page-journey.js.map +1 -0
  124. package/dist/features/journey/journey-id/journey-id-student.js +1 -1
  125. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  126. package/dist/features/journey/journey-id/journey-id-teacher.js +5 -0
  127. package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -0
  128. package/dist/features/journey/mocks/chapter-page-journey-mock-data.js +584 -0
  129. package/dist/features/journey/mocks/chapter-page-journey-mock-data.js.map +1 -0
  130. package/dist/features/journey/use-journey/constants.js +2 -4
  131. package/dist/features/journey/use-journey/constants.js.map +1 -1
  132. package/dist/features/journey/use-journey/journey-context-provider.js +36 -28
  133. package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
  134. package/dist/features/journey/use-journey/journey-styled.js +9 -5
  135. package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
  136. package/dist/features/milestone/create/api/goal-submit.js +1 -1
  137. package/dist/features/milestone/create/api/goal-submit.js.map +1 -1
  138. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js +42 -49
  139. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js.map +1 -1
  140. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js +12 -4
  141. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js.map +1 -1
  142. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +128 -105
  143. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
  144. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js +14 -20
  145. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js.map +1 -1
  146. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js +26 -50
  147. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js.map +1 -1
  148. package/dist/features/milestone/create/milestone-create.js +49 -43
  149. package/dist/features/milestone/create/milestone-create.js.map +1 -1
  150. package/dist/features/milestone/create/utils/index.js +33 -38
  151. package/dist/features/milestone/create/utils/index.js.map +1 -1
  152. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js +1 -1
  153. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js.map +1 -1
  154. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js +1 -1
  155. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js.map +1 -1
  156. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js +51 -53
  157. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js.map +1 -1
  158. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js +42 -40
  159. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js.map +1 -1
  160. package/dist/features/milestone/edit/goal-edit-container.js +64 -62
  161. package/dist/features/milestone/edit/goal-edit-container.js.map +1 -1
  162. package/dist/features/milestone/edit/goal-edit-helpers.js +50 -53
  163. package/dist/features/milestone/edit/goal-edit-helpers.js.map +1 -1
  164. package/dist/features/milestone/edit/milestone-edit-container.js +54 -52
  165. package/dist/features/milestone/edit/milestone-edit-container.js.map +1 -1
  166. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js +1 -1
  167. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js.map +1 -1
  168. package/dist/features/milestone/milestone-list-container/api/get-milestones.js +9 -17
  169. package/dist/features/milestone/milestone-list-container/api/get-milestones.js.map +1 -1
  170. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js +1 -1
  171. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js.map +1 -1
  172. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +138 -105
  173. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
  174. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js +107 -123
  175. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js.map +1 -1
  176. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js +157 -176
  177. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
  178. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js +24 -10
  179. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js.map +1 -1
  180. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +80 -86
  181. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
  182. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js +10 -22
  183. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js.map +1 -1
  184. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js +70 -37
  185. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js.map +1 -1
  186. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +114 -176
  187. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
  188. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js +29 -16
  189. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js.map +1 -1
  190. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js +17 -25
  191. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js.map +1 -1
  192. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js +23 -35
  193. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js.map +1 -1
  194. package/dist/features/milestone/milestone-list-container/milestone-list-container.js +110 -113
  195. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  196. package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js +1 -1
  197. package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js.map +1 -1
  198. package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js +8 -8
  199. package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js.map +1 -1
  200. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js +1 -1
  201. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js.map +1 -1
  202. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js +116 -113
  203. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
  204. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +165 -0
  205. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +1 -0
  206. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js +25 -0
  207. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js.map +1 -0
  208. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js +87 -0
  209. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js.map +1 -0
  210. package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js +5 -5
  211. package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js.map +1 -1
  212. package/dist/features/milestone/milestone-tests/tests-creation/test-stages/chapter-selection/chapter-item/chapter-item.js.map +1 -1
  213. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js +46 -50
  214. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js.map +1 -1
  215. package/dist/features/recent-chapters/api/get-recent-chapters.js +9 -0
  216. package/dist/features/recent-chapters/api/get-recent-chapters.js.map +1 -0
  217. package/dist/features/recent-chapters/recent-chapters-styled.js +16 -0
  218. package/dist/features/recent-chapters/recent-chapters-styled.js.map +1 -0
  219. package/dist/features/recent-chapters/recent-chapters.js +39 -0
  220. package/dist/features/recent-chapters/recent-chapters.js.map +1 -0
  221. package/dist/features/sheet-v2/resource-list/resource-list.js +45 -0
  222. package/dist/features/sheet-v2/resource-list/resource-list.js.map +1 -0
  223. package/dist/features/sheets/resources-list/resource-item/styled.js +1 -1
  224. package/dist/features/sheets/resources-list/resource-item/styled.js.map +1 -1
  225. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js +4 -3
  226. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
  227. package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
  228. package/dist/features/ui/animated-arc/animated-arc.js +7 -7
  229. package/dist/features/ui/animated-arc/animated-arc.js.map +1 -1
  230. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +30 -29
  231. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
  232. package/dist/features/ui/constants/z-index.js +3 -2
  233. package/dist/features/ui/constants/z-index.js.map +1 -1
  234. package/dist/features/ui/context-menu/context-menu-styled.js +28 -14
  235. package/dist/features/ui/context-menu/context-menu-styled.js.map +1 -1
  236. package/dist/features/ui/context-menu/context-menu.js +25 -17
  237. package/dist/features/ui/context-menu/context-menu.js.map +1 -1
  238. package/dist/features/ui/lottie-animation/lottie-animation.js +32 -24
  239. package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
  240. package/dist/features/ui/theme/button.js +24 -7
  241. package/dist/features/ui/theme/button.js.map +1 -1
  242. package/dist/features/ui/theme/device.js +5 -0
  243. package/dist/features/ui/theme/device.js.map +1 -0
  244. package/dist/features/ui/theme/get-theme.js +21 -19
  245. package/dist/features/ui/theme/get-theme.js.map +1 -1
  246. package/dist/index.d.ts +346 -269
  247. package/dist/index.js +451 -471
  248. package/dist/index.js.map +1 -1
  249. package/dist/node_modules/date-fns/differenceInDays.js +17 -0
  250. package/dist/node_modules/date-fns/differenceInDays.js.map +1 -0
  251. package/dist/static/chapter-header-bg-2.c8d96894.svg +1 -0
  252. package/dist/static/competitive-arena.b9c40801.json +1 -0
  253. package/dist/static/learn.71b13323.json +1 -0
  254. package/dist/static/node-custom-test-bg.d3b757be.svg +1 -0
  255. package/dist/static/node-learn-bg.b61f815c.svg +1 -0
  256. package/dist/static/node-practice-bg.16cbaf2a.svg +1 -0
  257. package/dist/static/node-project-bg.e6a33e28.svg +1 -0
  258. package/dist/static/node-puzzle-bg.3422135c.svg +1 -0
  259. package/dist/static/node-recap-bg.546154e4.svg +1 -0
  260. package/dist/static/node-test-prep-bg.42c0b9c4.svg +1 -0
  261. package/dist/static/node-video-bg.3df3f73a.svg +1 -0
  262. package/dist/static/practice.158dd488.json +1 -0
  263. package/dist/static/project.eb665827.json +1 -0
  264. package/dist/static/puzzle.b298c7e4.json +1 -0
  265. package/dist/static/recap.0dd2c1e2.json +1 -0
  266. package/dist/static/test.803d6036.json +1 -0
  267. package/dist/static/video.b41451e2.json +1 -0
  268. package/package.json +2 -3
  269. package/dist/assets/illustrations/loader-1.svg.js +0 -6
  270. package/dist/assets/illustrations/loader-1.svg.js.map +0 -1
  271. package/dist/assets/line-icons/icons/apple-icon.js +0 -48
  272. package/dist/assets/line-icons/icons/apple-icon.js.map +0 -1
  273. package/dist/assets/line-icons/icons/google-icon.js +0 -42
  274. package/dist/assets/line-icons/icons/google-icon.js.map +0 -1
  275. package/dist/features/auth/account-selector/account-selector-styled.js +0 -37
  276. package/dist/features/auth/account-selector/account-selector-styled.js.map +0 -1
  277. package/dist/features/auth/account-selector/account-selector.js +0 -90
  278. package/dist/features/auth/account-selector/account-selector.js.map +0 -1
  279. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +0 -12
  280. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +0 -1
  281. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +0 -11
  282. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +0 -1
  283. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +0 -17
  284. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +0 -1
  285. package/dist/features/auth/comps/input-status-icon/input-status-icon.js +0 -20
  286. package/dist/features/auth/comps/input-status-icon/input-status-icon.js.map +0 -1
  287. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js +0 -29
  288. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +0 -1
  289. package/dist/features/auth/comps/overlay-loader/overlay-loader.js +0 -8
  290. package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +0 -1
  291. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +0 -25
  292. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +0 -1
  293. package/dist/features/auth/comps/resend-otp/resend-otp.js +0 -38
  294. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +0 -1
  295. package/dist/features/auth/comps/tabs/tabs-styled.js +0 -23
  296. package/dist/features/auth/comps/tabs/tabs-styled.js.map +0 -1
  297. package/dist/features/auth/comps/tabs/tabs.js +0 -23
  298. package/dist/features/auth/comps/tabs/tabs.js.map +0 -1
  299. package/dist/features/auth/forgot-password/forgot-password-styled.js +0 -12
  300. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +0 -1
  301. package/dist/features/auth/forgot-password/otp-form/otp-form.js +0 -67
  302. package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +0 -1
  303. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +0 -89
  304. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +0 -1
  305. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +0 -60
  306. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +0 -1
  307. package/dist/features/auth/login/login-constants.js +0 -12
  308. package/dist/features/auth/login/login-constants.js.map +0 -1
  309. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +0 -31
  310. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +0 -1
  311. package/dist/features/auth/login/social-login-methods/social-login-methods.js +0 -46
  312. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +0 -1
  313. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +0 -50
  314. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +0 -1
  315. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +0 -129
  316. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +0 -1
  317. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js +0 -27
  318. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js.map +0 -1
  319. package/dist/features/auth/signup/claim-user-account/claim-user-account.js +0 -76
  320. package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +0 -1
  321. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js +0 -38
  322. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js.map +0 -1
  323. package/dist/features/auth/signup/custom-input-field/custom-input-field.js +0 -85
  324. package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +0 -1
  325. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js +0 -86
  326. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js.map +0 -1
  327. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js +0 -58
  328. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js.map +0 -1
  329. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js +0 -31
  330. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js.map +0 -1
  331. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js +0 -30
  332. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js.map +0 -1
  333. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js +0 -11
  334. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js.map +0 -1
  335. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +0 -33
  336. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +0 -1
  337. package/dist/features/auth/signup/custom-input-field/phone-input/country-selector/country-code-button.js +0 -33
  338. package/dist/features/auth/signup/custom-input-field/phone-input/country-selector/country-code-button.js.map +0 -1
  339. package/dist/features/auth/signup/custom-input-field/phone-input/country-selector/country-list-menu.js +0 -28
  340. package/dist/features/auth/signup/custom-input-field/phone-input/country-selector/country-list-menu.js.map +0 -1
  341. package/dist/features/auth/signup/custom-input-field/phone-input/phone-input-styled.js +0 -29
  342. package/dist/features/auth/signup/custom-input-field/phone-input/phone-input-styled.js.map +0 -1
  343. package/dist/features/auth/signup/custom-input-field/phone-input/phone-input.js +0 -67
  344. package/dist/features/auth/signup/custom-input-field/phone-input/phone-input.js.map +0 -1
  345. package/dist/features/auth/signup/signup-constants.js +0 -1022
  346. package/dist/features/auth/signup/signup-constants.js.map +0 -1
  347. package/dist/features/auth/signup/signup-methods/signup-methods.js +0 -68
  348. package/dist/features/auth/signup/signup-methods/signup-methods.js.map +0 -1
  349. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +0 -19
  350. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +0 -1
  351. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +0 -62
  352. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +0 -1
  353. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +0 -24
  354. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +0 -1
  355. package/dist/features/auth/signup/user-type-selector/user-type-selector.js +0 -87
  356. package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +0 -1
  357. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js +0 -92
  358. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +0 -1
  359. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js +0 -25
  360. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +0 -1
  361. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js +0 -13
  362. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js.map +0 -1
  363. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js +0 -38
  364. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js.map +0 -1
  365. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js +0 -53
  366. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js.map +0 -1
  367. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js +0 -25
  368. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js.map +0 -1
  369. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js +0 -71
  370. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js.map +0 -1
  371. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js +0 -31
  372. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js.map +0 -1
  373. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js +0 -38
  374. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js.map +0 -1
  375. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js +0 -79
  376. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js.map +0 -1
  377. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js +0 -18
  378. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js.map +0 -1
  379. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js +0 -51
  380. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js.map +0 -1
  381. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js +0 -11
  382. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js.map +0 -1
  383. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js +0 -135
  384. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js.map +0 -1
  385. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -332
  386. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  387. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -370
  388. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  389. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -252
  390. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +0 -1
  391. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -24
  392. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +0 -1
  393. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -192
  394. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  395. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -19
  396. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  397. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -129
  398. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  399. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
  400. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  401. package/dist/node_modules/clsx/dist/clsx.js +0 -18
  402. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  403. package/dist/node_modules/date-fns/subYears.js +0 -9
  404. package/dist/node_modules/date-fns/subYears.js.map +0 -1
  405. package/dist/node_modules/react-datepicker/dist/index.es.js +0 -2700
  406. package/dist/node_modules/react-datepicker/dist/index.es.js.map +0 -1
  407. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +0 -8
  408. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +0 -1
  409. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +0 -8
  410. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +0 -1
  411. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +0 -518
  412. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +0 -1
  413. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +0 -60
  414. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +0 -1
  415. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +0 -53
  416. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +0 -1
  417. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -19
  418. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +0 -1
  419. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +0 -12
  420. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +0 -1
  421. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +0 -21
  422. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +0 -1
  423. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +0 -11
  424. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +0 -1
  425. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +0 -10
  426. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +0 -1
  427. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +0 -10
  428. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +0 -1
  429. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +0 -11
  430. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +0 -1
  431. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +0 -21
  432. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +0 -1
  433. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +0 -9
  434. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +0 -1
  435. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +0 -9
  436. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +0 -1
  437. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +0 -9
  438. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +0 -1
  439. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +0 -9
  440. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +0 -1
  441. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +0 -10
  442. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +0 -1
  443. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +0 -9
  444. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +0 -1
  445. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +0 -17
  446. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +0 -1
  447. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +0 -14
  448. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +0 -1
  449. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +0 -15
  450. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +0 -1
  451. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +0 -14
  452. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +0 -1
  453. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +0 -23
  454. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +0 -1
  455. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +0 -10
  456. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +0 -1
  457. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +0 -10
  458. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +0 -1
  459. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +0 -12
  460. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +0 -1
  461. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +0 -10
  462. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +0 -1
  463. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +0 -60
  464. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +0 -1
  465. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +0 -9
  466. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +0 -1
  467. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +0 -9
  468. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +0 -1
  469. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +0 -12
  470. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +0 -1
  471. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +0 -11
  472. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +0 -1
  473. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +0 -9
  474. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +0 -1
  475. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +0 -9
  476. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +0 -1
  477. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +0 -10
  478. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +0 -1
  479. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +0 -13
  480. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +0 -1
  481. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +0 -16
  482. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +0 -1
  483. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +0 -9
  484. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +0 -1
  485. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +0 -9
  486. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +0 -1
  487. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +0 -10
  488. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +0 -1
  489. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +0 -9
  490. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +0 -1
  491. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +0 -9
  492. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +0 -1
  493. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +0 -13
  494. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +0 -1
  495. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +0 -18
  496. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +0 -1
  497. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +0 -9
  498. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +0 -1
  499. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +0 -9
  500. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +0 -1
  501. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +0 -9
  502. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +0 -1
  503. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +0 -8
  504. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +0 -1
  505. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +0 -9
  506. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +0 -1
  507. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +0 -15
  508. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +0 -1
  509. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +0 -14
  510. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +0 -1
  511. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +0 -15
  512. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +0 -1
  513. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +0 -14
  514. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +0 -1
  515. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +0 -10
  516. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +0 -1
  517. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +0 -13
  518. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +0 -1
  519. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
  520. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +0 -1
  521. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -19
  522. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +0 -1
  523. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -32
  524. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +0 -1
  525. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -16
  526. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +0 -1
  527. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -71
  528. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +0 -1
  529. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -34
  530. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +0 -1
  531. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -12
  532. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +0 -1
  533. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -156
  534. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +0 -1
  535. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +0 -111
  536. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +0 -1
  537. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +0 -22
  538. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +0 -1
  539. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +0 -15
  540. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +0 -1
  541. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +0 -15
  542. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +0 -1
  543. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +0 -23
  544. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +0 -1
  545. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +0 -42
  546. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +0 -1
  547. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +0 -50
  548. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +0 -1
  549. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -50
  550. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +0 -1
  551. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -50
  552. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +0 -1
  553. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -62
  554. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +0 -1
  555. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -52
  556. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +0 -1
  557. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -46
  558. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +0 -1
  559. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -50
  560. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +0 -1
  561. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -31
  562. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +0 -1
  563. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -22
  564. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +0 -1
  565. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -23
  566. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +0 -1
  567. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -33
  568. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +0 -1
  569. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -33
  570. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +0 -1
  571. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -34
  572. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +0 -1
  573. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -34
  574. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +0 -1
  575. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -100
  576. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +0 -1
  577. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -49
  578. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +0 -1
  579. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -49
  580. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +0 -1
  581. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -50
  582. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +0 -1
  583. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -41
  584. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +0 -1
  585. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -75
  586. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +0 -1
  587. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -49
  588. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +0 -1
  589. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -70
  590. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +0 -1
  591. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -33
  592. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +0 -1
  593. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -72
  594. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +0 -1
  595. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -71
  596. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +0 -1
  597. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -33
  598. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +0 -1
  599. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -75
  600. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +0 -1
  601. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -72
  602. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +0 -1
  603. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -71
  604. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +0 -1
  605. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -23
  606. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +0 -1
  607. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -23
  608. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +0 -1
  609. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -50
  610. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +0 -1
  611. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +0 -68
  612. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +0 -1
  613. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +0 -104
  614. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +0 -1
  615. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +0 -88
  616. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +0 -1
  617. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +0 -123
  618. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +0 -1
  619. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +0 -13
  620. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +0 -1
  621. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +0 -10
  622. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +0 -1
  623. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +0 -12
  624. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +0 -1
  625. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +0 -11
  626. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +0 -1
  627. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +0 -10
  628. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +0 -1
  629. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +0 -14
  630. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +0 -1
  631. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +0 -11
  632. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +0 -1
  633. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +0 -10
  634. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +0 -1
  635. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +0 -11
  636. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +0 -1
  637. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +0 -11
  638. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +0 -1
  639. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +0 -10
  640. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +0 -1
  641. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +0 -9
  642. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +0 -1
  643. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +0 -12
  644. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +0 -1
  645. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +0 -10
  646. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +0 -1
  647. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +0 -10
  648. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +0 -1
  649. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +0 -12
  650. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +0 -1
  651. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +0 -14
  652. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +0 -1
  653. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +0 -10
  654. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +0 -1
  655. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +0 -9
  656. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +0 -1
  657. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +0 -9
  658. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +0 -1
  659. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +0 -9
  660. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +0 -1
  661. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +0 -9
  662. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +0 -1
  663. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +0 -9
  664. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +0 -1
  665. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +0 -9
  666. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +0 -1
  667. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +0 -19
  668. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +0 -1
  669. package/dist/static/avatar-selected.860ee923.json +0 -1
  670. package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +0 -1
  671. package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +0 -1
  672. package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
  673. package/dist/static/dob.9ce3c15b.json +0 -1
  674. package/dist/static/error.cbe1ddde.json +0 -1
  675. package/dist/static/grade.b3730524.json +0 -1
  676. package/dist/static/key.d6846476.json +0 -1
  677. package/dist/static/mail.c30e8708.json +0 -1
  678. package/dist/static/otp.2d08f874.json +0 -1
  679. package/dist/static/otp.a3029760.json +0 -1
  680. package/dist/static/parent-avatar.772d53e0.json +0 -1
  681. package/dist/static/phone-number.0be312ea.json +0 -1
  682. package/dist/static/phone-number.84f55562.json +0 -1
  683. package/dist/static/student-avatar.524226bd.json +0 -1
  684. package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +0 -1
  685. package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +0 -1
  686. package/dist/static/user-type-selector-grid-bg.aad0b059.svg +0 -1
  687. package/dist/static/username.9e034d51.json +0 -1
@@ -1,121 +1,122 @@
1
- import { jsx as r, Fragment as b } from "react/jsx-runtime";
2
- import { useRef as O, useCallback as A, useEffect as X } from "react";
3
- import J from "../../../../../assets/line-icons/icons/carat-right.js";
4
- import { PLATFORM_EVENTS_STUDENT as G } from "../../../../analytics-events/platform-events-student.js";
5
- import { JOURNEY_ID_STUDENT as K } from "../../../../journey/journey-id/journey-id-student.js";
1
+ import { jsx as r, Fragment as O } from "react/jsx-runtime";
2
+ import { useRef as N, useCallback as L, useEffect as j } from "react";
3
+ import Z from "../../../../../assets/line-icons/icons/carat-right.js";
4
+ import { PLATFORM_EVENTS_STUDENT as M } from "../../../../analytics-events/platform-events-student.js";
5
+ import { JOURNEY_ID_STUDENT as q } from "../../../../journey/journey-id/journey-id-student.js";
6
6
  import { IndicatorType as d } from "../../../../journey/use-journey/constants.js";
7
- import { useJourney as j } from "../../../../journey/use-journey/use-journey.js";
8
- import Z from "../../../../ui/buttons/icon-button/icon-button.js";
9
- import { useUIContext as q } from "../../../../ui/context/context.js";
10
- import R from "../../../../ui/layout/flex-view.js";
11
- import m from "../../../../ui/text/text.js";
12
- import { CIRCLE_ONBOARDING_ANALYTICS_STEPS as v } from "../../../enum/circle-onboarding-steps.js";
13
- import { useCircleSounds as z } from "../../../hooks/use-circle-sounds/use-circle-sounds.js";
14
- import { TablesCard as M } from "../../comps/tables-card/tables-card.js";
15
- import { GAME_LAUNCHER_ANALYTICS_EVENTS as Q } from "../../game-launcher-analytics-events.js";
16
- import { SHOW_PICK_A_LEVEL_TOOLTIP_AFTER_MS as ee, SHOW_PICK_A_LEVEL_NUDGE_AFTER_MS as te, START_ANIMATING_CLONED_ELEM as $, TABLE_CARD_INDEX as x, GO_TO_TABLE_LAUNCHER_DURATION_MS as re, SHOW_CLICK_TABLE_NUDGE_AFTER_MS as ne, PUZZLE_CARD_INDEX as oe, SHOW_INITIAL_COACHMARK_AFTER_MS as w, LESSON_CARD_INDEX as ie, SHOW_INITIAL_TOOLTIP_AFTER_MS as le } from "./constants.js";
17
- import { Indicator as ce } from "./use-table-launcher-journey-styled.js";
18
- const Oe = ({
7
+ import { useJourney as z } from "../../../../journey/use-journey/use-journey.js";
8
+ import Q from "../../../../ui/buttons/icon-button/icon-button.js";
9
+ import { useUIContext as ee } from "../../../../ui/context/context.js";
10
+ import S from "../../../../ui/layout/flex-view.js";
11
+ import T from "../../../../ui/text/text.js";
12
+ import { getTheme as te } from "../../../../ui/theme/get-theme.js";
13
+ import { CIRCLE_ONBOARDING_ANALYTICS_STEPS as x } from "../../../enum/circle-onboarding-steps.js";
14
+ import { useCircleSounds as re } from "../../../hooks/use-circle-sounds/use-circle-sounds.js";
15
+ import { TablesCard as $ } from "../../comps/tables-card/tables-card.js";
16
+ import { GAME_LAUNCHER_ANALYTICS_EVENTS as ne } from "../../game-launcher-analytics-events.js";
17
+ import { SHOW_PICK_A_LEVEL_TOOLTIP_AFTER_MS as oe, SHOW_PICK_A_LEVEL_NUDGE_AFTER_MS as ie, START_ANIMATING_CLONED_ELEM as w, TABLE_CARD_INDEX as F, GO_TO_TABLE_LAUNCHER_DURATION_MS as le, SHOW_CLICK_TABLE_NUDGE_AFTER_MS as ce, PUZZLE_CARD_INDEX as ae, SHOW_INITIAL_COACHMARK_AFTER_MS as V, LESSON_CARD_INDEX as se, SHOW_INITIAL_TOOLTIP_AFTER_MS as de } from "./constants.js";
18
+ import { Indicator as ue } from "./use-table-launcher-journey-styled.js";
19
+ const He = ({
19
20
  carouselRefs: a,
20
- onTableSegmentClick: N,
21
- onJourneyComplete: S
21
+ onTableSegmentClick: P,
22
+ onJourneyComplete: H
22
23
  }) => {
23
- const e = K.CIRCLE_TABLES_INTRO_JOURNEY, t = O(null), p = O(null), T = O([]), { playButtonSound: P } = z(), { nextCoachmark: l, setJourney: C, addCoachmark: u, endJourney: H } = j(), { onEvent: f } = q(), L = A(
24
+ const e = q.CIRCLE_TABLES_INTRO_JOURNEY, { device: X } = te(), u = X === "mobile", g = u ? "ab3-bold" : "ab2-bold", t = N(null), A = N(null), E = N([]), { playButtonSound: y } = re(), { nextCoachmark: l, setJourney: I, addCoachmark: m, endJourney: D } = z(), { onEvent: C } = ee(), R = L(
24
25
  (n) => {
25
26
  var c, o;
26
- H(e), n && N(n), f(G.ONBOARDING_STEP_COMPLETED, {
27
- step: v.TABLES
28
- }), (c = t == null ? void 0 : t.current) == null || c.setLabelVisiblity(!0), (o = t == null ? void 0 : t.current) == null || o.stopLabelAnimation(), S(e);
27
+ D(e), n && P(n), C(M.ONBOARDING_STEP_COMPLETED, {
28
+ step: x.TABLES
29
+ }), (c = t == null ? void 0 : t.current) == null || c.setLabelVisiblity(!0), (o = t == null ? void 0 : t.current) == null || o.stopLabelAnimation(), H(e);
29
30
  },
30
- [H, e, S, N, f]
31
- ), y = A(
31
+ [D, e, H, P, C]
32
+ ), W = L(
32
33
  (n, c) => {
33
- var g, E, h;
34
- if (!((g = t.current) != null && g.segmentedCardWrapperRef.current) || !((E = t.current) != null && E.labelRef.current))
34
+ var h, p, _;
35
+ if (!((h = t.current) != null && h.segmentedCardWrapperRef.current) || !((p = t.current) != null && p.labelRef.current))
35
36
  return;
36
- const o = t.current.labelRef.current.getBoundingClientRect(), i = (h = t.current) == null ? void 0 : h.segmentedCardWrapperRef.current.getBoundingClientRect();
37
- u(e, {
37
+ const o = t.current.labelRef.current.getBoundingClientRect(), i = (_ = t.current) == null ? void 0 : _.segmentedCardWrapperRef.current.getBoundingClientRect();
38
+ m(e, {
38
39
  originalElementToHighlightRef: t.current.segmentedCardWrapperRef,
39
40
  isActive: !1,
40
41
  type: d.TOOLTIP,
41
42
  elementToHighlight: /* @__PURE__ */ r(
42
- M,
43
+ $,
43
44
  {
44
- ref: p,
45
+ ref: A,
45
46
  defaultTable: c,
46
47
  label: n.label,
47
48
  data: n.data,
48
- onPress: L,
49
- onGoBackFromTableLevel: L
49
+ onPress: R,
50
+ onGoBackFromTableLevel: R
50
51
  }
51
52
  ),
52
53
  indicator: {
53
- position: "left",
54
+ position: "top",
54
55
  backgroundColor: "YELLOW_4",
55
56
  width: 236,
56
- tooltipItem: /* @__PURE__ */ r(R, { children: /* @__PURE__ */ r(m, { $renderAs: "ab2-bold", children: "Each table has 3 levels—clear them and earn 3 stars!" }) }),
57
- tooltipXCoOrdinates: 0,
58
- tooltipYCoOrdinates: o.height * 0.35
57
+ tooltipItem: /* @__PURE__ */ r(S, { children: /* @__PURE__ */ r(T, { $renderAs: g, children: "Each table has 3 levels—clear them and earn 3 stars!" }) }),
58
+ tooltipXCoOrdinates: o.width / 2,
59
+ tooltipYCoOrdinates: 45
59
60
  }
60
- }), u(e, {
61
+ }), m(e, {
61
62
  originalElementToHighlightRef: t.current.segmentedCardWrapperRef,
62
63
  isActive: !1,
63
64
  type: d.NUDGE,
64
65
  indicator: {
65
66
  nudge: "click",
66
- content: /* @__PURE__ */ r(m, { $renderAs: "ab1", $color: "WHITE", children: "Pick a level" }),
67
+ content: !u && /* @__PURE__ */ r(T, { $renderAs: "ab1", $color: "WHITE", children: "Pick a level" }),
67
68
  nudgePointerX: i.width / 2 + 50,
68
69
  nudgePointerY: i.height * 0.4
69
70
  },
70
- elementToHighlight: /* @__PURE__ */ r(b, {})
71
- }), l(e, !1, ee), l(e, !0, te);
71
+ elementToHighlight: /* @__PURE__ */ r(O, {})
72
+ }), l(e, !1, oe), l(e, !0, ie);
72
73
  const s = setTimeout(() => {
73
- var _;
74
- clearTimeout(s), (_ = p.current) == null || _.startLabelAnimation("YELLOW_4");
75
- }, $);
76
- T.current.push(s);
74
+ var f;
75
+ clearTimeout(s), (f = A.current) == null || f.startLabelAnimation("YELLOW_4");
76
+ }, w);
77
+ E.current.push(s);
77
78
  },
78
- [u, L, e, l]
79
- ), I = A(() => {
79
+ [m, R, u, e, l, g]
80
+ ), b = L(() => {
80
81
  var o;
81
- P(), (o = a.current) == null || o.goToIndex(x), l(e, !1, re), f(G.ONBOARDING_STEP_VIEWED, {
82
- step: v.TABLES
82
+ y(), (o = a.current) == null || o.goToIndex(F), l(e, !1, le), C(M.ONBOARDING_STEP_VIEWED, {
83
+ step: x.TABLES
83
84
  });
84
85
  const n = setTimeout(() => {
85
86
  var i;
86
87
  clearTimeout(n), (i = t.current) == null || i.setLabelVisiblity(!1), l(e, !0);
87
- }, ne);
88
- T.current.push(n);
88
+ }, ce);
89
+ E.current.push(n);
89
90
  const c = setTimeout(() => {
90
91
  var i;
91
- clearTimeout(c), (i = p.current) == null || i.startLabelAnimation("YELLOW_4");
92
- }, $);
93
- T.current.push(c);
94
- }, [a, e, l, P, f]), F = A(
92
+ clearTimeout(c), (i = A.current) == null || i.startLabelAnimation("YELLOW_4");
93
+ }, w);
94
+ E.current.push(c);
95
+ }, [a, e, l, y, C]), J = L(
95
96
  (n, c = !1) => {
96
- var h, _, D, W, Y, k, B, U;
97
- const o = (h = a.current) == null ? void 0 : h.indicatorRefs, i = (_ = a.current) == null ? void 0 : _.nextBtnRef, s = o == null ? void 0 : o[x];
98
- if (!((D = t.current) != null && D.segmentedCardWrapperRef.current) || !((W = t.current) != null && W.labelRef.current) || !o || !(i != null && i.current) || !s || !s.current)
97
+ var _, f, Y, k, B, U, v, G;
98
+ const o = (_ = a.current) == null ? void 0 : _.indicatorRefs, i = (f = a.current) == null ? void 0 : f.nextBtnRef, s = o == null ? void 0 : o[F];
99
+ if (!((Y = t.current) != null && Y.segmentedCardWrapperRef.current) || !((k = t.current) != null && k.labelRef.current) || !o || !(i != null && i.current) || !s || !s.current)
99
100
  return;
100
- const g = t.current.labelRef.current.getBoundingClientRect(), E = (Y = t.current) == null ? void 0 : Y.segmentedCardWrapperRef.current.getBoundingClientRect();
101
- c ? (C(e, [
101
+ const h = t.current.labelRef.current.getBoundingClientRect(), p = (B = t.current) == null ? void 0 : B.segmentedCardWrapperRef.current.getBoundingClientRect();
102
+ c ? (I(e, [
102
103
  {
103
104
  originalElementToHighlightRef: s,
104
105
  isActive: !1,
105
106
  type: d.TOOLTIP,
106
- elementToHighlight: /* @__PURE__ */ r(ce, { $isActive: !1 }),
107
+ elementToHighlight: /* @__PURE__ */ r(ue, { $isActive: !1 }),
107
108
  indicator: {
108
109
  position: "bottom",
109
110
  backgroundColor: "YELLOW_4",
110
111
  width: 52,
111
112
  tooltipItem: /* @__PURE__ */ r(
112
- R,
113
+ S,
113
114
  {
114
115
  $position: "absolute",
115
116
  $flexDirection: "row",
116
117
  style: { top: 6, left: 8, cursor: "pointer" },
117
- onClick: I,
118
- children: /* @__PURE__ */ r(m, { $renderAs: "ab2-bold", children: "NEW" })
118
+ onClick: b,
119
+ children: /* @__PURE__ */ r(T, { $renderAs: g, children: "NEW" })
119
120
  }
120
121
  ),
121
122
  tooltipYCoOrdinates: 14
@@ -131,83 +132,85 @@ const Oe = ({
131
132
  content: "",
132
133
  nudgePointerY: 20
133
134
  },
134
- elementToHighlight: /* @__PURE__ */ r(b, {})
135
+ elementToHighlight: /* @__PURE__ */ r(O, {})
135
136
  }
136
- ]), (U = a.current) == null || U.goToIndex(ie), l(e, !1, w), l(e, !0, le)) : (C(e, [
137
+ ]), (G = a.current) == null || G.goToIndex(se), l(e, !1, V), l(e, !0, de)) : (I(e, [
137
138
  {
138
- originalElementToHighlightRef: (k = a.current) == null ? void 0 : k.nextBtnRef,
139
+ originalElementToHighlightRef: (U = a.current) == null ? void 0 : U.nextBtnRef,
139
140
  isActive: !1,
140
141
  type: d.NUDGE,
141
142
  indicator: {
142
143
  nudge: "click",
143
- content: /* @__PURE__ */ r(m, { $renderAs: "ab1", $color: "WHITE", children: "Click to proceed" }),
144
+ content: !u && /* @__PURE__ */ r(T, { $renderAs: "ab1", $color: "WHITE", children: "Click to proceed" }),
144
145
  nudgePointerX: 0,
145
146
  nudgePointerY: 0
146
147
  },
147
148
  elementToHighlight: /* @__PURE__ */ r(
148
- Z,
149
+ Q,
149
150
  {
150
151
  renderAs: "secondary",
151
- Icon: J,
152
- onClick: I,
153
- analyticsLabel: Q.JOURNEY_NEXT_ACTIVITY
152
+ Icon: Z,
153
+ onClick: b,
154
+ analyticsLabel: ne.JOURNEY_NEXT_ACTIVITY
154
155
  }
155
156
  )
156
157
  }
157
- ]), (B = a.current) == null || B.goToIndex(oe), l(e, !1, w)), u(e, {
158
+ ]), (v = a.current) == null || v.goToIndex(ae), l(e, !1, V)), m(e, {
158
159
  originalElementToHighlightRef: t.current.labelRef,
159
160
  isActive: !1,
160
161
  type: d.TOOLTIP,
161
- elementToHighlight: /* @__PURE__ */ r(b, {}),
162
+ elementToHighlight: /* @__PURE__ */ r(O, {}),
162
163
  indicator: {
163
- position: "right",
164
+ position: "top",
164
165
  backgroundColor: "YELLOW_4",
165
166
  width: 264,
166
- tooltipItem: /* @__PURE__ */ r(R, { children: /* @__PURE__ */ r(m, { $renderAs: "ab2-bold", children: "Get faster at multiplication! Practice everyday and become a Tables champ." }) }),
167
- tooltipXCoOrdinates: g.width + 50,
168
- tooltipYCoOrdinates: g.height / 2
167
+ tooltipItem: /* @__PURE__ */ r(S, { children: /* @__PURE__ */ r(T, { $renderAs: g, children: "Get faster at multiplication! Practice everyday and become a Tables champ." }) }),
168
+ tooltipXCoOrdinates: h.width / 2,
169
+ tooltipYCoOrdinates: h.height + 10
169
170
  }
170
- }), u(e, {
171
+ }), m(e, {
171
172
  originalElementToHighlightRef: t.current.segmentedCardWrapperRef,
172
173
  isActive: !1,
173
174
  type: d.NUDGE,
174
175
  indicator: {
175
176
  nudge: "click",
176
- content: /* @__PURE__ */ r(m, { $renderAs: "ab1", $color: "WHITE", children: "Pick a table to start" }),
177
- nudgePointerX: E.width / 2 + 50,
178
- nudgePointerY: E.height / 2
177
+ content: !u && /* @__PURE__ */ r(T, { $renderAs: "ab1", $color: "WHITE", children: "Pick a table to start" }),
178
+ nudgePointerX: p.width / 2 + 50,
179
+ nudgePointerY: p.height / 2
179
180
  },
180
181
  elementToHighlight: /* @__PURE__ */ r(
181
- M,
182
+ $,
182
183
  {
183
- ref: p,
184
+ ref: A,
184
185
  label: n.label,
185
186
  data: n.data,
186
187
  onPress: () => {
187
188
  },
188
- onPressTableSegment: (V) => y(n, V)
189
+ onPressTableSegment: (K) => W(n, K)
189
190
  }
190
191
  )
191
192
  });
192
193
  },
193
194
  [
194
- u,
195
+ m,
195
196
  a,
196
- I,
197
- y,
197
+ b,
198
+ W,
199
+ u,
198
200
  e,
199
201
  l,
200
- C
202
+ I,
203
+ g
201
204
  ]
202
205
  );
203
- return X(() => () => {
204
- T.current.forEach((n) => clearTimeout(n)), T.current = [];
206
+ return j(() => () => {
207
+ E.current.forEach((n) => clearTimeout(n)), E.current = [];
205
208
  }, [e]), {
206
209
  tableRef: t,
207
- startJourney: F
210
+ startJourney: J
208
211
  };
209
212
  };
210
213
  export {
211
- Oe as useTableLauncherJourney
214
+ He as useTableLauncherJourney
212
215
  };
213
216
  //# sourceMappingURL=use-table-launcher-journey.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-table-launcher-journey.js","sources":["../../../../../../src/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.tsx"],"sourcesContent":["/* eslint-disable react-native/no-inline-styles */\nimport type { IArrowTooltipProps } from '../../../../ui/arrow-tooltip/arrow-tooltip-types';\nimport type { INudgeProps } from '../../../../ui/nudge/nudge-types';\nimport type { ITableCardRef, ITableDetails } from '../../comps/tables-card/tables-card-types';\nimport type {\n ITableInfo,\n ITables,\n} from '../../dal/use-get-circle-home-details-dal/use-get-circle-home-dal-types';\nimport type { IUseTableJourneyProps } from './use-table-launcher-journey-types';\n\nimport { useCallback, useEffect, useRef } from 'react';\n\nimport CaratRightIcon from '../../../../../assets/line-icons/icons/carat-right';\nimport { PLATFORM_EVENTS_STUDENT } from '../../../../analytics-events/platform-events-student';\nimport { JOURNEY_ID_STUDENT } from '../../../../journey/journey-id/journey-id-student';\nimport { IndicatorType } from '../../../../journey/use-journey/constants';\nimport { useJourney } from '../../../../journey/use-journey/use-journey';\nimport IconButton from '../../../../ui/buttons/icon-button/icon-button';\nimport { useUIContext } from '../../../../ui/context/context';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Text from '../../../../ui/text/text';\nimport { CIRCLE_ONBOARDING_ANALYTICS_STEPS as Action } from '../../../enum/circle-onboarding-steps';\nimport { useCircleSounds } from '../../../hooks/use-circle-sounds/use-circle-sounds';\nimport { TablesCard } from '../../comps/tables-card/tables-card';\nimport { GAME_LAUNCHER_ANALYTICS_EVENTS } from '../../game-launcher-analytics-events';\nimport {\n LESSON_CARD_INDEX,\n PUZZLE_CARD_INDEX,\n SHOW_PICK_A_LEVEL_NUDGE_AFTER_MS,\n SHOW_PICK_A_LEVEL_TOOLTIP_AFTER_MS,\n TABLE_CARD_INDEX,\n} from './constants';\nimport {\n GO_TO_TABLE_LAUNCHER_DURATION_MS,\n SHOW_CLICK_TABLE_NUDGE_AFTER_MS,\n SHOW_INITIAL_COACHMARK_AFTER_MS,\n SHOW_INITIAL_TOOLTIP_AFTER_MS,\n START_ANIMATING_CLONED_ELEM,\n} from './constants';\nimport * as S from './use-table-launcher-journey-styled';\n\nexport const useTableLauncherJourney = ({\n carouselRefs,\n onTableSegmentClick,\n onJourneyComplete,\n}: IUseTableJourneyProps) => {\n const journeyId = JOURNEY_ID_STUDENT.CIRCLE_TABLES_INTRO_JOURNEY;\n\n const originalTableRef = useRef<ITableCardRef>(null);\n const highlightedTableRef = useRef<ITableCardRef>(null);\n\n const timerRefs = useRef<ReturnType<typeof setTimeout>[]>([]);\n\n const { playButtonSound } = useCircleSounds();\n const { nextCoachmark, setJourney, addCoachmark, endJourney } = useJourney();\n const { onEvent: trackAnalytics } = useUIContext();\n\n const handleEndJourney = useCallback(\n (tableDetails?: ITableDetails) => {\n endJourney(journeyId);\n // Only when User clicked on play\n if (tableDetails) {\n onTableSegmentClick(tableDetails);\n }\n trackAnalytics(PLATFORM_EVENTS_STUDENT.ONBOARDING_STEP_COMPLETED, {\n step: Action.TABLES,\n });\n\n // Reset original table card ref label\n originalTableRef?.current?.setLabelVisiblity(true);\n originalTableRef?.current?.stopLabelAnimation();\n onJourneyComplete(journeyId);\n },\n [endJourney, journeyId, onJourneyComplete, onTableSegmentClick, trackAnalytics],\n );\n\n const handleTableSegmentClick = useCallback(\n (launcherData: ITables, tableData: ITableInfo) => {\n if (\n !originalTableRef.current?.segmentedCardWrapperRef.current ||\n !originalTableRef.current?.labelRef.current\n ) {\n return;\n }\n\n const segmentedCardDims = originalTableRef.current.labelRef.current.getBoundingClientRect();\n const tableCardDims =\n originalTableRef.current?.segmentedCardWrapperRef.current.getBoundingClientRect();\n\n addCoachmark(journeyId, {\n originalElementToHighlightRef: originalTableRef.current.segmentedCardWrapperRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: (\n <TablesCard\n ref={highlightedTableRef}\n defaultTable={tableData}\n label={launcherData.label}\n data={launcherData.data}\n onPress={handleEndJourney}\n onGoBackFromTableLevel={handleEndJourney}\n />\n ),\n indicator: {\n position: 'left',\n backgroundColor: 'YELLOW_4',\n width: 236,\n tooltipItem: (\n <FlexView>\n <Text $renderAs=\"ab2-bold\">Each table has 3 levels—clear them and earn 3 stars!</Text>\n </FlexView>\n ),\n tooltipXCoOrdinates: 0,\n tooltipYCoOrdinates: segmentedCardDims.height * 0.35,\n } as IArrowTooltipProps,\n });\n\n addCoachmark(journeyId, {\n originalElementToHighlightRef: originalTableRef.current.segmentedCardWrapperRef,\n isActive: false,\n type: IndicatorType.NUDGE,\n indicator: {\n nudge: 'click',\n content: (\n <Text $renderAs=\"ab1\" $color=\"WHITE\">\n Pick a level\n </Text>\n ),\n nudgePointerX: tableCardDims.width / 2 + 50,\n nudgePointerY: tableCardDims.height * 0.4,\n } as INudgeProps,\n elementToHighlight: <></>,\n });\n\n nextCoachmark(journeyId, false, SHOW_PICK_A_LEVEL_TOOLTIP_AFTER_MS); // Show coachmark => Each table has 3... and Hide the previous two\n nextCoachmark(journeyId, true, SHOW_PICK_A_LEVEL_NUDGE_AFTER_MS); // Show nudge => Pick a level\n\n const startAnimationOnLabelAgain = setTimeout(() => {\n clearTimeout(startAnimationOnLabelAgain);\n highlightedTableRef.current?.startLabelAnimation('YELLOW_4');\n }, START_ANIMATING_CLONED_ELEM);\n\n timerRefs.current.push(startAnimationOnLabelAgain);\n },\n [addCoachmark, handleEndJourney, journeyId, nextCoachmark],\n );\n\n const goToTableLauncher = useCallback(() => {\n playButtonSound();\n carouselRefs.current?.goToIndex(TABLE_CARD_INDEX);\n nextCoachmark(journeyId, false, GO_TO_TABLE_LAUNCHER_DURATION_MS);\n\n trackAnalytics(PLATFORM_EVENTS_STUDENT.ONBOARDING_STEP_VIEWED, {\n step: Action.TABLES,\n });\n\n const showNudge = setTimeout(() => {\n clearTimeout(showNudge);\n originalTableRef.current?.setLabelVisiblity(false);\n nextCoachmark(journeyId, true);\n }, SHOW_CLICK_TABLE_NUDGE_AFTER_MS);\n\n timerRefs.current.push(showNudge);\n\n const animateLabel = setTimeout(() => {\n clearTimeout(animateLabel);\n highlightedTableRef.current?.startLabelAnimation('YELLOW_4');\n }, START_ANIMATING_CLONED_ELEM);\n\n timerRefs.current.push(animateLabel);\n }, [carouselRefs, journeyId, nextCoachmark, playButtonSound, trackAnalytics]);\n\n const startJourney = useCallback(\n (tablesData: ITables, isTutorialOnboardingDone: boolean = false) => {\n const paginationList = carouselRefs.current?.indicatorRefs;\n const carouselNextBtnRef = carouselRefs.current?.nextBtnRef;\n const tablePaginationRef = paginationList?.[TABLE_CARD_INDEX];\n\n if (\n !originalTableRef.current?.segmentedCardWrapperRef.current ||\n !originalTableRef.current?.labelRef.current ||\n !paginationList ||\n !carouselNextBtnRef?.current ||\n !tablePaginationRef ||\n !tablePaginationRef.current\n ) {\n return;\n }\n\n const labelDims = originalTableRef.current.labelRef.current.getBoundingClientRect();\n const tableCardDims =\n originalTableRef.current?.segmentedCardWrapperRef.current.getBoundingClientRect();\n\n // TAKE THE USER TO THE TABLE CARD\n if (!isTutorialOnboardingDone) {\n setJourney(journeyId, [\n {\n originalElementToHighlightRef: carouselRefs.current?.nextBtnRef,\n isActive: false,\n type: IndicatorType.NUDGE,\n indicator: {\n nudge: 'click',\n content: (\n <Text $renderAs=\"ab1\" $color=\"WHITE\">\n Click to proceed\n </Text>\n ),\n nudgePointerX: 0,\n nudgePointerY: 0,\n } as INudgeProps,\n elementToHighlight: (\n <IconButton\n renderAs=\"secondary\"\n Icon={CaratRightIcon}\n onClick={goToTableLauncher}\n analyticsLabel={GAME_LAUNCHER_ANALYTICS_EVENTS.JOURNEY_NEXT_ACTIVITY}\n />\n ),\n },\n ]);\n carouselRefs.current?.goToIndex(PUZZLE_CARD_INDEX);\n nextCoachmark(journeyId, false, SHOW_INITIAL_COACHMARK_AFTER_MS); // Show nudge => Click to proceed\n } else {\n setJourney(journeyId, [\n {\n originalElementToHighlightRef: tablePaginationRef as React.RefObject<HTMLDivElement>,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: <S.Indicator $isActive={false} />,\n indicator: {\n position: 'bottom',\n backgroundColor: 'YELLOW_4',\n width: 52,\n tooltipItem: (\n <FlexView\n $position=\"absolute\"\n $flexDirection=\"row\"\n style={{ top: 6, left: 8, cursor: 'pointer' }}\n onClick={goToTableLauncher}\n >\n <Text $renderAs=\"ab2-bold\">NEW</Text>\n </FlexView>\n ),\n tooltipYCoOrdinates: 14, // Need some offset in Y direction from top\n } as IArrowTooltipProps,\n },\n {\n originalElementToHighlightRef: tablePaginationRef as React.RefObject<HTMLDivElement>,\n isActive: false,\n type: IndicatorType.NUDGE,\n indicator: {\n nudge: 'click',\n content: '',\n nudgePointerY: 20,\n } as INudgeProps,\n elementToHighlight: <></>,\n },\n ]);\n carouselRefs.current?.goToIndex(LESSON_CARD_INDEX);\n nextCoachmark(journeyId, false, SHOW_INITIAL_COACHMARK_AFTER_MS); // Show Coachmark => NEW\n nextCoachmark(journeyId, true, SHOW_INITIAL_TOOLTIP_AFTER_MS); // Show Nudge over Coachmark\n }\n\n // SHOW THE USER SELECT A TABLE\n addCoachmark(journeyId, {\n originalElementToHighlightRef: originalTableRef.current.labelRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: <></>,\n indicator: {\n position: 'right',\n backgroundColor: 'YELLOW_4',\n width: 264,\n tooltipItem: (\n <FlexView>\n <Text $renderAs=\"ab2-bold\">\n Get faster at multiplication! Practice everyday and become a Tables champ.\n </Text>\n </FlexView>\n ),\n tooltipXCoOrdinates: labelDims.width + 50,\n tooltipYCoOrdinates: labelDims.height / 2,\n } as IArrowTooltipProps,\n });\n\n addCoachmark(journeyId, {\n originalElementToHighlightRef: originalTableRef.current.segmentedCardWrapperRef,\n isActive: false,\n type: IndicatorType.NUDGE,\n indicator: {\n nudge: 'click',\n content: (\n <Text $renderAs=\"ab1\" $color=\"WHITE\">\n {'Pick a table to start'}\n </Text>\n ),\n nudgePointerX: tableCardDims.width / 2 + 50,\n nudgePointerY: tableCardDims.height / 2,\n } as INudgeProps,\n elementToHighlight: (\n <TablesCard\n ref={highlightedTableRef}\n label={tablesData.label}\n data={tablesData.data}\n onPress={() => {}}\n onPressTableSegment={tableInfo => handleTableSegmentClick(tablesData, tableInfo)}\n />\n ),\n });\n },\n [\n addCoachmark,\n carouselRefs,\n goToTableLauncher,\n handleTableSegmentClick,\n journeyId,\n nextCoachmark,\n setJourney,\n ],\n );\n\n // Cleanup on unmount\n useEffect(() => {\n return () => {\n timerRefs.current.forEach(timer => clearTimeout(timer));\n timerRefs.current = [];\n };\n }, [journeyId]);\n\n return {\n tableRef: originalTableRef,\n startJourney,\n };\n};\n"],"names":["useTableLauncherJourney","carouselRefs","onTableSegmentClick","onJourneyComplete","journeyId","JOURNEY_ID_STUDENT","originalTableRef","useRef","highlightedTableRef","timerRefs","playButtonSound","useCircleSounds","nextCoachmark","setJourney","addCoachmark","endJourney","useJourney","trackAnalytics","useUIContext","handleEndJourney","useCallback","tableDetails","PLATFORM_EVENTS_STUDENT","Action","_a","_b","handleTableSegmentClick","launcherData","tableData","segmentedCardDims","tableCardDims","_c","IndicatorType","jsx","TablesCard","FlexView","Text","Fragment","SHOW_PICK_A_LEVEL_TOOLTIP_AFTER_MS","SHOW_PICK_A_LEVEL_NUDGE_AFTER_MS","startAnimationOnLabelAgain","START_ANIMATING_CLONED_ELEM","goToTableLauncher","TABLE_CARD_INDEX","GO_TO_TABLE_LAUNCHER_DURATION_MS","showNudge","SHOW_CLICK_TABLE_NUDGE_AFTER_MS","animateLabel","startJourney","tablesData","isTutorialOnboardingDone","paginationList","carouselNextBtnRef","tablePaginationRef","_d","labelDims","_e","S.Indicator","_h","LESSON_CARD_INDEX","SHOW_INITIAL_COACHMARK_AFTER_MS","SHOW_INITIAL_TOOLTIP_AFTER_MS","_f","IconButton","CaratRightIcon","GAME_LAUNCHER_ANALYTICS_EVENTS","_g","PUZ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AAA,EAAA;AAIF,SAAAwD,EAAU,MACD,MAAM;AACX,IAAA5D,EAAU,QAAQ,QAAQ,CAAS6D,MAAA,aAAaA,CAAK,CAAC,GACtD7D,EAAU,UAAU;EAAC,GAEtB,CAACL,CAAS,CAAC,GAEP;AAAA,IACL,UAAUE;AAAA,IACV,cAAA0C;AAAA,EAAA;AAEJ;"}
1
+ {"version":3,"file":"use-table-launcher-journey.js","sources":["../../../../../../src/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.tsx"],"sourcesContent":["/* eslint-disable react-native/no-inline-styles */\nimport type { IArrowTooltipProps } from '../../../../ui/arrow-tooltip/arrow-tooltip-types';\nimport type { INudgeProps } from '../../../../ui/nudge/nudge-types';\nimport type { ITableCardRef, ITableDetails } from '../../comps/tables-card/tables-card-types';\nimport type {\n ITableInfo,\n ITables,\n} from '../../dal/use-get-circle-home-details-dal/use-get-circle-home-dal-types';\nimport type { IUseTableJourneyProps } from './use-table-launcher-journey-types';\n\nimport { useCallback, useEffect, useRef } from 'react';\n\nimport CaratRightIcon from '../../../../../assets/line-icons/icons/carat-right';\nimport { PLATFORM_EVENTS_STUDENT } from '../../../../analytics-events/platform-events-student';\nimport { JOURNEY_ID_STUDENT } from '../../../../journey/journey-id/journey-id-student';\nimport { IndicatorType } from '../../../../journey/use-journey/constants';\nimport { useJourney } from '../../../../journey/use-journey/use-journey';\nimport IconButton from '../../../../ui/buttons/icon-button/icon-button';\nimport { useUIContext } from '../../../../ui/context/context';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Text from '../../../../ui/text/text';\nimport { getTheme } from '../../../../ui/theme/get-theme';\nimport { CIRCLE_ONBOARDING_ANALYTICS_STEPS as Action } from '../../../enum/circle-onboarding-steps';\nimport { useCircleSounds } from '../../../hooks/use-circle-sounds/use-circle-sounds';\nimport { TablesCard } from '../../comps/tables-card/tables-card';\nimport { GAME_LAUNCHER_ANALYTICS_EVENTS } from '../../game-launcher-analytics-events';\nimport {\n LESSON_CARD_INDEX,\n PUZZLE_CARD_INDEX,\n SHOW_PICK_A_LEVEL_NUDGE_AFTER_MS,\n SHOW_PICK_A_LEVEL_TOOLTIP_AFTER_MS,\n TABLE_CARD_INDEX,\n} from './constants';\nimport {\n GO_TO_TABLE_LAUNCHER_DURATION_MS,\n SHOW_CLICK_TABLE_NUDGE_AFTER_MS,\n SHOW_INITIAL_COACHMARK_AFTER_MS,\n SHOW_INITIAL_TOOLTIP_AFTER_MS,\n START_ANIMATING_CLONED_ELEM,\n} from './constants';\nimport * as S from './use-table-launcher-journey-styled';\n\nexport const useTableLauncherJourney = ({\n carouselRefs,\n onTableSegmentClick,\n onJourneyComplete,\n}: IUseTableJourneyProps) => {\n const journeyId = JOURNEY_ID_STUDENT.CIRCLE_TABLES_INTRO_JOURNEY;\n\n const { device } = getTheme();\n const isMobile = device === 'mobile';\n const tooltipTextRenderAs = isMobile ? 'ab3-bold' : 'ab2-bold';\n\n const originalTableRef = useRef<ITableCardRef>(null);\n const highlightedTableRef = useRef<ITableCardRef>(null);\n\n const timerRefs = useRef<ReturnType<typeof setTimeout>[]>([]);\n\n const { playButtonSound } = useCircleSounds();\n const { nextCoachmark, setJourney, addCoachmark, endJourney } = useJourney();\n const { onEvent: trackAnalytics } = useUIContext();\n\n const handleEndJourney = useCallback(\n (tableDetails?: ITableDetails) => {\n endJourney(journeyId);\n // Only when User clicked on play\n if (tableDetails) {\n onTableSegmentClick(tableDetails);\n }\n trackAnalytics(PLATFORM_EVENTS_STUDENT.ONBOARDING_STEP_COMPLETED, {\n step: Action.TABLES,\n });\n\n // Reset original table card ref label\n originalTableRef?.current?.setLabelVisiblity(true);\n originalTableRef?.current?.stopLabelAnimation();\n onJourneyComplete(journeyId);\n },\n [endJourney, journeyId, onJourneyComplete, onTableSegmentClick, trackAnalytics],\n );\n\n const handleTableSegmentClick = useCallback(\n (launcherData: ITables, tableData: ITableInfo) => {\n if (\n !originalTableRef.current?.segmentedCardWrapperRef.current ||\n !originalTableRef.current?.labelRef.current\n ) {\n return;\n }\n\n const segmentedCardDims = originalTableRef.current.labelRef.current.getBoundingClientRect();\n const tableCardDims =\n originalTableRef.current?.segmentedCardWrapperRef.current.getBoundingClientRect();\n\n addCoachmark(journeyId, {\n originalElementToHighlightRef: originalTableRef.current.segmentedCardWrapperRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: (\n <TablesCard\n ref={highlightedTableRef}\n defaultTable={tableData}\n label={launcherData.label}\n data={launcherData.data}\n onPress={handleEndJourney}\n onGoBackFromTableLevel={handleEndJourney}\n />\n ),\n indicator: {\n position: 'top',\n backgroundColor: 'YELLOW_4',\n width: 236,\n tooltipItem: (\n <FlexView>\n <Text $renderAs={tooltipTextRenderAs}>\n Each table has 3 levels—clear them and earn 3 stars!\n </Text>\n </FlexView>\n ),\n tooltipXCoOrdinates: segmentedCardDims.width / 2,\n tooltipYCoOrdinates: 45,\n } as IArrowTooltipProps,\n });\n\n addCoachmark(journeyId, {\n originalElementToHighlightRef: originalTableRef.current.segmentedCardWrapperRef,\n isActive: false,\n type: IndicatorType.NUDGE,\n indicator: {\n nudge: 'click',\n content: !isMobile && (\n <Text $renderAs=\"ab1\" $color=\"WHITE\">\n Pick a level\n </Text>\n ),\n nudgePointerX: tableCardDims.width / 2 + 50,\n nudgePointerY: tableCardDims.height * 0.4,\n } as INudgeProps,\n elementToHighlight: <></>,\n });\n\n nextCoachmark(journeyId, false, SHOW_PICK_A_LEVEL_TOOLTIP_AFTER_MS); // Show coachmark => Each table has 3... and Hide the previous two\n nextCoachmark(journeyId, true, SHOW_PICK_A_LEVEL_NUDGE_AFTER_MS); // Show nudge => Pick a level\n\n const startAnimationOnLabelAgain = setTimeout(() => {\n clearTimeout(startAnimationOnLabelAgain);\n highlightedTableRef.current?.startLabelAnimation('YELLOW_4');\n }, START_ANIMATING_CLONED_ELEM);\n\n timerRefs.current.push(startAnimationOnLabelAgain);\n },\n [addCoachmark, handleEndJourney, isMobile, journeyId, nextCoachmark, tooltipTextRenderAs],\n );\n\n const goToTableLauncher = useCallback(() => {\n playButtonSound();\n carouselRefs.current?.goToIndex(TABLE_CARD_INDEX);\n nextCoachmark(journeyId, false, GO_TO_TABLE_LAUNCHER_DURATION_MS);\n\n trackAnalytics(PLATFORM_EVENTS_STUDENT.ONBOARDING_STEP_VIEWED, {\n step: Action.TABLES,\n });\n\n const showNudge = setTimeout(() => {\n clearTimeout(showNudge);\n originalTableRef.current?.setLabelVisiblity(false);\n nextCoachmark(journeyId, true);\n }, SHOW_CLICK_TABLE_NUDGE_AFTER_MS);\n\n timerRefs.current.push(showNudge);\n\n const animateLabel = setTimeout(() => {\n clearTimeout(animateLabel);\n highlightedTableRef.current?.startLabelAnimation('YELLOW_4');\n }, START_ANIMATING_CLONED_ELEM);\n\n timerRefs.current.push(animateLabel);\n }, [carouselRefs, journeyId, nextCoachmark, playButtonSound, trackAnalytics]);\n\n const startJourney = useCallback(\n (tablesData: ITables, isTutorialOnboardingDone: boolean = false) => {\n const paginationList = carouselRefs.current?.indicatorRefs;\n const carouselNextBtnRef = carouselRefs.current?.nextBtnRef;\n const tablePaginationRef = paginationList?.[TABLE_CARD_INDEX];\n\n if (\n !originalTableRef.current?.segmentedCardWrapperRef.current ||\n !originalTableRef.current?.labelRef.current ||\n !paginationList ||\n !carouselNextBtnRef?.current ||\n !tablePaginationRef ||\n !tablePaginationRef.current\n ) {\n return;\n }\n\n const labelDims = originalTableRef.current.labelRef.current.getBoundingClientRect();\n const tableCardDims =\n originalTableRef.current?.segmentedCardWrapperRef.current.getBoundingClientRect();\n\n // TAKE THE USER TO THE TABLE CARD\n if (!isTutorialOnboardingDone) {\n setJourney(journeyId, [\n {\n originalElementToHighlightRef: carouselRefs.current?.nextBtnRef,\n isActive: false,\n type: IndicatorType.NUDGE,\n indicator: {\n nudge: 'click',\n content: !isMobile && (\n <Text $renderAs=\"ab1\" $color=\"WHITE\">\n Click to proceed\n </Text>\n ),\n nudgePointerX: 0,\n nudgePointerY: 0,\n } as INudgeProps,\n elementToHighlight: (\n <IconButton\n renderAs=\"secondary\"\n Icon={CaratRightIcon}\n onClick={goToTableLauncher}\n analyticsLabel={GAME_LAUNCHER_ANALYTICS_EVENTS.JOURNEY_NEXT_ACTIVITY}\n />\n ),\n },\n ]);\n carouselRefs.current?.goToIndex(PUZZLE_CARD_INDEX);\n nextCoachmark(journeyId, false, SHOW_INITIAL_COACHMARK_AFTER_MS); // Show nudge => Click to proceed\n } else {\n setJourney(journeyId, [\n {\n originalElementToHighlightRef: tablePaginationRef as React.RefObject<HTMLDivElement>,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: <S.Indicator $isActive={false} />,\n indicator: {\n position: 'bottom',\n backgroundColor: 'YELLOW_4',\n width: 52,\n tooltipItem: (\n <FlexView\n $position=\"absolute\"\n $flexDirection=\"row\"\n style={{ top: 6, left: 8, cursor: 'pointer' }}\n onClick={goToTableLauncher}\n >\n <Text $renderAs={tooltipTextRenderAs}>NEW</Text>\n </FlexView>\n ),\n tooltipYCoOrdinates: 14, // Need some offset in Y direction from top\n } as IArrowTooltipProps,\n },\n {\n originalElementToHighlightRef: tablePaginationRef as React.RefObject<HTMLDivElement>,\n isActive: false,\n type: IndicatorType.NUDGE,\n indicator: {\n nudge: 'click',\n content: '',\n nudgePointerY: 20,\n } as INudgeProps,\n elementToHighlight: <></>,\n },\n ]);\n carouselRefs.current?.goToIndex(LESSON_CARD_INDEX);\n nextCoachmark(journeyId, false, SHOW_INITIAL_COACHMARK_AFTER_MS); // Show Coachmark => NEW\n nextCoachmark(journeyId, true, SHOW_INITIAL_TOOLTIP_AFTER_MS); // Show Nudge over Coachmark\n }\n\n // SHOW THE USER SELECT A TABLE\n addCoachmark(journeyId, {\n originalElementToHighlightRef: originalTableRef.current.labelRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: <></>,\n indicator: {\n position: 'top',\n backgroundColor: 'YELLOW_4',\n width: 264,\n tooltipItem: (\n <FlexView>\n <Text $renderAs={tooltipTextRenderAs}>\n Get faster at multiplication! Practice everyday and become a Tables champ.\n </Text>\n </FlexView>\n ),\n tooltipXCoOrdinates: labelDims.width / 2,\n tooltipYCoOrdinates: labelDims.height + 10,\n } as IArrowTooltipProps,\n });\n\n addCoachmark(journeyId, {\n originalElementToHighlightRef: originalTableRef.current.segmentedCardWrapperRef,\n isActive: false,\n type: IndicatorType.NUDGE,\n indicator: {\n nudge: 'click',\n content: !isMobile && (\n <Text $renderAs=\"ab1\" $color=\"WHITE\">\n {'Pick a table to start'}\n </Text>\n ),\n nudgePointerX: tableCardDims.width / 2 + 50,\n nudgePointerY: tableCardDims.height / 2,\n } as INudgeProps,\n elementToHighlight: (\n <TablesCard\n ref={highlightedTableRef}\n label={tablesData.label}\n data={tablesData.data}\n onPress={() => {}}\n onPressTableSegment={tableInfo => handleTableSegmentClick(tablesData, tableInfo)}\n />\n ),\n });\n },\n [\n addCoachmark,\n carouselRefs,\n goToTableLauncher,\n handleTableSegmentClick,\n isMobile,\n journeyId,\n nextCoachmark,\n setJourney,\n tooltipTextRenderAs,\n ],\n );\n\n // Cleanup on unmount\n useEffect(() => {\n return () => {\n timerRefs.current.forEach(timer => clearTimeout(timer));\n timerRefs.current = [];\n };\n }, [journeyId]);\n\n return {\n tableRef: originalTableRef,\n startJourney,\n };\n};\n"],"names":["useTableLauncherJourney","carouselRefs","onTableSegmentClick","onJourneyComplete","journeyId","JOURNEY_ID_STUDENT","device","getTheme","isMobile","tooltipTextRenderAs","originalTableRef","useRef","highlightedTableRef","timerRefs","playButtonSound","useCircleSounds","nextCoachmark","setJourney","addCoachmark","endJourney","useJourney","trackAnalytics","useUIContext","handleEndJourney","useCallback","tableDetails","PLATFORM_EVENTS_STUDENT","Action","_a","_b","handleTableSegmentClick","launcherData","tableData","segmentedCardDims","tableCardDims","_c","IndicatorType","jsx","TablesCard","FlexView","Text","Fragment","SHOW_PICK_A_LEVEL_TOOLTIP_AFTER_MS","SHOW_PICK_A_LEVEL_NUDGE_AFTER_MS","startAnimationOnLabelAgain","START_ANIMATING_CLONED_ELEM","goToTableLauncher","TABLE_CARD_INDEX","GO_TO_TABLE_LAUNCHER_DURATION_MS","showNudge","SHOW_CLICK_TABLE_NUDGE_AFTER_MS","animateLabel","startJourney","tablesData","isTutorialOnboardingDone","paginationList","carouselNextBtnRef","tablePaginationRef","_d","labelDims","_e","S.Indicator","_h","LESSON_CARD_INDEX","SHOW_INITIAL_COACHMARK_AFTER_MS","SHOW_INITIAL_TOOLTIP_AFTER_MS","_f","IconButton","CaratRightIcon","GAME_LAUNCHER_ANALYTICS_EVENTS","_g","PUZZLE_CARD_INDEX","tableInfo","useEffect","timer"],"mappings":";;;;;;;;;;;;;;;;;;AA0CO,MAAMA,KAA0B,CAAC;AAAA,EACtC,cAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,mBAAAC;AACF,MAA6B;AAC3B,QAAMC,IAAYC,EAAmB,6BAE/B,EAAE,QAAAC,MAAWC,MACbC,IAAWF,MAAW,UACtBG,IAAsBD,IAAW,aAAa,YAE9CE,IAAmBC,EAAsB,IAAI,GAC7CC,IAAsBD,EAAsB,IAAI,GAEhDE,IAAYF,EAAwC,CAAA,CAAE,GAEtD,EAAE,iBAAAG,MAAoBC,MACtB,EAAE,eAAAC,GAAe,YAAAC,GAAY,cAAAC,GAAc,YAAAC,EAAA,IAAeC,KAC1D,EAAE,SAASC,EAAe,IAAIC,GAAa,GAE3CC,IAAmBC;AAAA,IACvB,CAACC,MAAiC;;AAChC,MAAAN,EAAWf,CAAS,GAEhBqB,KACFvB,EAAoBuB,CAAY,GAElCJ,EAAeK,EAAwB,2BAA2B;AAAA,QAChE,MAAMC,EAAO;AAAA,MAAA,CACd,IAGiBC,IAAAlB,KAAA,gBAAAA,EAAA,YAAA,QAAAkB,EAAS,kBAAkB,MAC7CC,IAAAnB,KAAA,gBAAAA,EAAkB,YAAlB,QAAAmB,EAA2B,sBAC3B1B,EAAkBC,CAAS;AAAA,IAC7B;AAA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B,KACR,gBAAA6B,EAACG,KAAK,WAAU,OAAM,QAAO,SAC1B,UACH,wBAAA,CAAA;AAAA,UAEF,eAAeN,EAAc,QAAQ,IAAI;AAAA,UACzC,eAAeA,EAAc,SAAS;AAAA,QACxC;AAAA,QACA,oBACE,gBAAAG;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,KAAK1B;AAAA,YACL,OAAOyC,EAAW;AAAA,YAClB,MAAMA,EAAW;AAAA,YACjB,SAAS,MAAM;AAAA,YAAC;AAAA,YAChB,qBAAqB,CAAAmB,MAAa1C,EAAwBuB,GAAYmB,CAAS;AAAA,UAAA;AAAA,QACjF;AAAA,MAAA,CAEH;AAAA,IACH;AAAA,IACA;AAAA,MACEtD;AAAA,MACAjB;AAAA,MACA6C;AAAA,MACAhB;AAAA,MACAtB;AAAA,MACAJ;AAAA,MACAY;AAAA,MACAC;AAAA,MACAR;AAAA,IACF;AAAA,EAAA;AAIF,SAAAgE,EAAU,MACD,MAAM;AACX,IAAA5D,EAAU,QAAQ,QAAQ,CAAS6D,MAAA,aAAaA,CAAK,CAAC,GACtD7D,EAAU,UAAU;EAAC,GAEtB,CAACT,CAAS,CAAC,GAEP;AAAA,IACL,UAAUM;AAAA,IACV,cAAA0C;AAAA,EAAA;AAEJ;"}
@@ -39,8 +39,8 @@ const n = o.div`
39
39
  bottom: 0;
40
40
  right: 0;
41
41
  & video {
42
- width: 100%;
43
42
  height: 100%;
43
+ width: 100%;
44
44
  }
45
45
  `, l = o.div`
46
46
  height: 40px;
@@ -1 +1 @@
1
- {"version":3,"file":"tutorial-styled.js","sources":["../../../../../src/features/circle-games/games/tutorial/tutorial-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport { HEADER_HEIGHT } from './constants';\n\nexport const GameTutorialWrapper = styled.div`\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 250px;\n background: ${({ theme }) => theme.colors.BLACK_1};\n position: relative;\n width: inherit;\n`;\n\nexport const GameTutorialHeader = styled.div`\n height: ${HEADER_HEIGHT}px;\n padding-top: ${(window.ReactNativeTopInset || 0) + 24}px;\n width: 100%;\n background: ${({ theme }) => theme.colors.WHITE_T_03};\n backdrop-filter: blur(40px);\n position: relative;\n flex-shrink: 0;\n`;\n\nexport const HeaderIconContainer = styled.div`\n position: absolute;\n right: 16px;\n top: ${(window.ReactNativeTopInset || 0) + 22}px;\n z-index: 1;\n &:hover {\n background: ${({ theme }) => theme.colors.BLACK_4};\n cursor: pointer;\n }\n`;\n\nexport const GameTutorialContainer = styled.div`\n display: flex;\n flex-direction: column;\n /* overflow: hidden; */\n flex-grow: 1;\n position: relative;\n`;\n\nexport const VideoContainer = styled.div`\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n & video {\n width: 100%;\n height: 100%;\n }\n`;\n\nexport const VideoProgressWrapper = styled.div`\n height: 40px;\n width: 100%;\n position: relative;\n display: flex;\n`;\n\nexport const VideoProgressContainer = styled.div`\n height: 2px;\n position: relative;\n width: 100%;\n z-index: 1;\n`;\n\nexport const VideoProgress = styled.div<{ $width: number }>`\n height: inherit;\n background: ${({ theme }) => theme.colors.WHITE};\n position: absolute;\n z-index: 2;\n width: ${({ $width }) => $width || 0}%;\n transition: width 0.4s linear;\n`;\n"],"names":["GameTutorialWrapper","styled","theme","GameTutorialHeader","HEADER_HEIGHT","HeaderIconContainer","GameTutorialContainer","VideoContainer","VideoProgressWrapper","VideoProgressContainer","VideoProgress","$width"],"mappings":";;AAIO,MAAMA,IAAsBC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA,gBAK1B,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA,GAKtCC,IAAqBF,EAAO;AAAA,YAC7BG,CAAa;AAAA,kBACP,OAAO,uBAAuB,KAAK,EAAE;AAAA;AAAA,gBAEvC,CAAC,EAAE,OAAAF,EAAA,MAAYA,EAAM,OAAO,UAAU;AAAA;AAAA;AAAA;AAAA,GAMzCG,IAAsBJ,EAAO;AAAA;AAAA;AAAA,UAGhC,OAAO,uBAAuB,KAAK,EAAE;AAAA;AAAA;AAAA,kBAG7B,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA,GAKxCI,IAAwBL,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQ/BM,IAAiBN,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAaxBO,IAAuBP,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA,GAO9BQ,IAAyBR,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA,GAOhCS,IAAgBT,EAAO;AAAA;AAAA,gBAEpB,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA;AAAA,WAGtC,CAAC,EAAE,QAAAS,QAAaA,KAAU,CAAC;AAAA;AAAA;"}
1
+ {"version":3,"file":"tutorial-styled.js","sources":["../../../../../src/features/circle-games/games/tutorial/tutorial-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport { HEADER_HEIGHT } from './constants';\n\nexport const GameTutorialWrapper = styled.div`\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 250px;\n background: ${({ theme }) => theme.colors.BLACK_1};\n position: relative;\n width: inherit;\n`;\n\nexport const GameTutorialHeader = styled.div`\n height: ${HEADER_HEIGHT}px;\n padding-top: ${(window.ReactNativeTopInset || 0) + 24}px;\n width: 100%;\n background: ${({ theme }) => theme.colors.WHITE_T_03};\n backdrop-filter: blur(40px);\n position: relative;\n flex-shrink: 0;\n`;\n\nexport const HeaderIconContainer = styled.div`\n position: absolute;\n right: 16px;\n top: ${(window.ReactNativeTopInset || 0) + 22}px;\n z-index: 1;\n &:hover {\n background: ${({ theme }) => theme.colors.BLACK_4};\n cursor: pointer;\n }\n`;\n\nexport const GameTutorialContainer = styled.div`\n display: flex;\n flex-direction: column;\n /* overflow: hidden; */\n flex-grow: 1;\n position: relative;\n`;\n\nexport const VideoContainer = styled.div`\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n & video {\n height: 100%;\n width: 100%;\n }\n`;\n\nexport const VideoProgressWrapper = styled.div`\n height: 40px;\n width: 100%;\n position: relative;\n display: flex;\n`;\n\nexport const VideoProgressContainer = styled.div`\n height: 2px;\n position: relative;\n width: 100%;\n z-index: 1;\n`;\n\nexport const VideoProgress = styled.div<{ $width: number }>`\n height: inherit;\n background: ${({ theme }) => theme.colors.WHITE};\n position: absolute;\n z-index: 2;\n width: ${({ $width }) => $width || 0}%;\n transition: width 0.4s linear;\n`;\n"],"names":["GameTutorialWrapper","styled","theme","GameTutorialHeader","HEADER_HEIGHT","HeaderIconContainer","GameTutorialContainer","VideoContainer","VideoProgressWrapper","VideoProgressContainer","VideoProgress","$width"],"mappings":";;AAIO,MAAMA,IAAsBC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA,gBAK1B,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA,GAKtCC,IAAqBF,EAAO;AAAA,YAC7BG,CAAa;AAAA,kBACP,OAAO,uBAAuB,KAAK,EAAE;AAAA;AAAA,gBAEvC,CAAC,EAAE,OAAAF,EAAA,MAAYA,EAAM,OAAO,UAAU;AAAA;AAAA;AAAA;AAAA,GAMzCG,IAAsBJ,EAAO;AAAA;AAAA;AAAA,UAGhC,OAAO,uBAAuB,KAAK,EAAE;AAAA;AAAA;AAAA,kBAG7B,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA,GAKxCI,IAAwBL,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQ/BM,IAAiBN,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAaxBO,IAAuBP,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA,GAO9BQ,IAAyBR,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA,GAOhCS,IAAgBT,EAAO;AAAA;AAAA,gBAEpB,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA;AAAA,WAGtC,CAAC,EAAE,QAAAS,QAAaA,KAAU,CAAC;AAAA;AAAA;"}
@@ -7,13 +7,15 @@ const E = {
7
7
  EXTRA_PRACTICE_ASSIGNED: "EXTRA_PRACTICE_ASSIGNED",
8
8
  CHANGE_LOCATION: "CHANGE_LOCATION",
9
9
  SHEET_STARTED: "SHEET_STARTED",
10
- SHEET_UNASSIGNED: "SHEET_UNASSIGNED"
10
+ SHEET_UNASSIGNED: "SHEET_UNASSIGNED",
11
+ SHEET_REATTEMPTED: "SHEET_REATTEMPTED",
12
+ INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION: "INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION"
11
13
  }, S = {
12
14
  GOAL_CREATED: "GOAL_CREATED",
13
15
  GOAL_EDITED: "GOAL_EDITED",
14
16
  GOAL_DELETED: "GOAL_DELETED",
15
17
  GOAL_OUTCOME_ADDED: "GOAL_OUTCOME_ADDED"
16
- }, _ = {
18
+ }, T = {
17
19
  MILESTONE_NAME_UPDATED: "MILESTONE_NAME_UPDATED",
18
20
  MILESTONE_DATE_UPDATED: "MILESTONE_DATE_UPDATED",
19
21
  MILESTONE_DELETED: "MILESTONE_DELETED",
@@ -23,12 +25,16 @@ const E = {
23
25
  MILESTONE_RESOURCE_RESET: "MILESTONE_RESOURCE_RESET",
24
26
  PAST_MILESTONE_OUTCOME_ADDED: "PAST_MILESTONE_OUTCOME_ADDED",
25
27
  MILESTONE_TEST_ASSIGNED: "MILESTONE_TEST_ASSIGNED"
26
- }, T = {
28
+ }, _ = {
29
+ HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN",
30
+ INVALIDATE_HOMEWORK: "INVALIDATE_HOMEWORK"
31
+ }, A = {
27
32
  ...E,
28
- ..._,
29
- ...S
33
+ ...T,
34
+ ...S,
35
+ ..._
30
36
  };
31
37
  export {
32
- T as EVENTS
38
+ A as EVENTS
33
39
  };
34
40
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sources":["../../../../src/features/communication/pub-sub/constants.ts"],"sourcesContent":["const CHAPTER_SHEET_EVENTS = {\n CHAPTER_UPDATED: 'CHAPTER_UPDATED',\n LESSONS_MARKED_AS_FAMILIAR: 'LESSONS_MARKED_AS_FAMILIAR',\n LESSONS_MARKED_AS_IRRELEVANT: 'LESSONS_MARKED_AS_IRRELEVANT',\n LESSONS_PROGRESS_RESET: 'LESSONS_PROGRESS_RESET',\n UNLOCK_SHEETS: 'UNLOCK_SHEETS',\n EXTRA_PRACTICE_ASSIGNED: 'EXTRA_PRACTICE_ASSIGNED',\n CHANGE_LOCATION: 'CHANGE_LOCATION',\n SHEET_STARTED: 'SHEET_STARTED',\n SHEET_UNASSIGNED: 'SHEET_UNASSIGNED',\n} as const;\n\nconst GOAL_EVENTS = {\n GOAL_CREATED: 'GOAL_CREATED',\n GOAL_EDITED: 'GOAL_EDITED',\n GOAL_DELETED: 'GOAL_DELETED',\n GOAL_OUTCOME_ADDED: 'GOAL_OUTCOME_ADDED',\n} as const;\n\nconst MILESTONE_EVENTS = {\n MILESTONE_NAME_UPDATED: 'MILESTONE_NAME_UPDATED',\n MILESTONE_DATE_UPDATED: 'MILESTONE_DATE_UPDATED',\n MILESTONE_DELETED: 'MILESTONE_DELETED',\n MILESTONE_EDITED: 'MILESTONE_EDITED',\n MILESTONE_RESOURCE_ASSIGNED: 'MILESTONE_RESOURCE_ASSIGNED',\n MILESTONE_RESOURCE_UNASSIGNED: 'MILESTONE_RESOURCE_UNASSIGNED',\n MILESTONE_RESOURCE_RESET: 'MILESTONE_RESOURCE_RESET',\n PAST_MILESTONE_OUTCOME_ADDED: 'PAST_MILESTONE_OUTCOME_ADDED',\n MILESTONE_TEST_ASSIGNED: 'MILESTONE_TEST_ASSIGNED',\n} as const;\n\nconst EVENTS = {\n ...CHAPTER_SHEET_EVENTS,\n ...MILESTONE_EVENTS,\n ...GOAL_EVENTS,\n};\n\nexport { EVENTS };\n"],"names":["CHAPTER_SHEET_EVENTS","GOAL_EVENTS","MILESTONE_EVENTS","EVENTS"],"mappings":"AAAA,MAAMA,IAAuB;AAAA,EAC3B,iBAAiB;AAAA,EACjB,4BAA4B;AAAA,EAC5B,8BAA8B;AAAA,EAC9B,wBAAwB;AAAA,EACxB,eAAe;AAAA,EACf,yBAAyB;AAAA,EACzB,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,kBAAkB;AACpB,GAEMC,IAAc;AAAA,EAClB,cAAc;AAAA,EACd,aAAa;AAAA,EACb,cAAc;AAAA,EACd,oBAAoB;AACtB,GAEMC,IAAmB;AAAA,EACvB,wBAAwB;AAAA,EACxB,wBAAwB;AAAA,EACxB,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,6BAA6B;AAAA,EAC7B,+BAA+B;AAAA,EAC/B,0BAA0B;AAAA,EAC1B,8BAA8B;AAAA,EAC9B,yBAAyB;AAC3B,GAEMC,IAAS;AAAA,EACb,GAAGH;AAAA,EACH,GAAGE;AAAA,EACH,GAAGD;AACL;"}
1
+ {"version":3,"file":"constants.js","sources":["../../../../src/features/communication/pub-sub/constants.ts"],"sourcesContent":["const CHAPTER_SHEET_EVENTS = {\n CHAPTER_UPDATED: 'CHAPTER_UPDATED',\n LESSONS_MARKED_AS_FAMILIAR: 'LESSONS_MARKED_AS_FAMILIAR',\n LESSONS_MARKED_AS_IRRELEVANT: 'LESSONS_MARKED_AS_IRRELEVANT',\n LESSONS_PROGRESS_RESET: 'LESSONS_PROGRESS_RESET',\n UNLOCK_SHEETS: 'UNLOCK_SHEETS',\n EXTRA_PRACTICE_ASSIGNED: 'EXTRA_PRACTICE_ASSIGNED',\n CHANGE_LOCATION: 'CHANGE_LOCATION',\n SHEET_STARTED: 'SHEET_STARTED',\n SHEET_UNASSIGNED: 'SHEET_UNASSIGNED',\n SHEET_REATTEMPTED: 'SHEET_REATTEMPTED',\n INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION: 'INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION',\n} as const;\n\nconst GOAL_EVENTS = {\n GOAL_CREATED: 'GOAL_CREATED',\n GOAL_EDITED: 'GOAL_EDITED',\n GOAL_DELETED: 'GOAL_DELETED',\n GOAL_OUTCOME_ADDED: 'GOAL_OUTCOME_ADDED',\n} as const;\n\nconst MILESTONE_EVENTS = {\n MILESTONE_NAME_UPDATED: 'MILESTONE_NAME_UPDATED',\n MILESTONE_DATE_UPDATED: 'MILESTONE_DATE_UPDATED',\n MILESTONE_DELETED: 'MILESTONE_DELETED',\n MILESTONE_EDITED: 'MILESTONE_EDITED',\n MILESTONE_RESOURCE_ASSIGNED: 'MILESTONE_RESOURCE_ASSIGNED',\n MILESTONE_RESOURCE_UNASSIGNED: 'MILESTONE_RESOURCE_UNASSIGNED',\n MILESTONE_RESOURCE_RESET: 'MILESTONE_RESOURCE_RESET',\n PAST_MILESTONE_OUTCOME_ADDED: 'PAST_MILESTONE_OUTCOME_ADDED',\n MILESTONE_TEST_ASSIGNED: 'MILESTONE_TEST_ASSIGNED',\n} as const;\n\nconst HOMEWORK_EVENTS = {\n HOMEWORK_UNASSIGN: 'HOMEWORK_UNASSIGN',\n INVALIDATE_HOMEWORK: 'INVALIDATE_HOMEWORK',\n} as const;\n\nconst EVENTS = {\n ...CHAPTER_SHEET_EVENTS,\n ...MILESTONE_EVENTS,\n ...GOAL_EVENTS,\n ...HOMEWORK_EVENTS,\n};\n\nexport { EVENTS };\n"],"names":["CHAPTER_SHEET_EVENTS","GOAL_EVENTS","MILESTONE_EVENTS","HOMEWORK_EVENTS","EVENTS"],"mappings":"AAAA,MAAMA,IAAuB;AAAA,EAC3B,iBAAiB;AAAA,EACjB,4BAA4B;AAAA,EAC5B,8BAA8B;AAAA,EAC9B,wBAAwB;AAAA,EACxB,eAAe;AAAA,EACf,yBAAyB;AAAA,EACzB,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,+CAA+C;AACjD,GAEMC,IAAc;AAAA,EAClB,cAAc;AAAA,EACd,aAAa;AAAA,EACb,cAAc;AAAA,EACd,oBAAoB;AACtB,GAEMC,IAAmB;AAAA,EACvB,wBAAwB;AAAA,EACxB,wBAAwB;AAAA,EACxB,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,6BAA6B;AAAA,EAC7B,+BAA+B;AAAA,EAC/B,0BAA0B;AAAA,EAC1B,8BAA8B;AAAA,EAC9B,yBAAyB;AAC3B,GAEMC,IAAkB;AAAA,EACtB,mBAAmB;AAAA,EACnB,qBAAqB;AACvB,GAEMC,IAAS;AAAA,EACb,GAAGJ;AAAA,EACH,GAAGE;AAAA,EACH,GAAGD;AAAA,EACH,GAAGE;AACL;"}
@@ -0,0 +1,28 @@
1
+ import { jsx as i, jsxs as c } from "react/jsx-runtime";
2
+ import { memo as d, useCallback as p } from "react";
3
+ import s from "../ui/buttons/clickable/clickable.js";
4
+ import { CardOptionWrapper as m, OptionText as $ } from "./styles.js";
5
+ const C = d((l) => {
6
+ const { icon: t, label: n, id: e, onClick: r, disabled: o } = l, a = p(() => o ? null : r(e), [o, e, r]);
7
+ return /* @__PURE__ */ i(s, { onClick: a, label: e, children: /* @__PURE__ */ c(
8
+ m,
9
+ {
10
+ $flexDirection: "row",
11
+ $alignItems: "center",
12
+ $flexGap: 8,
13
+ $gapX: 0.5,
14
+ $gutterX: 1,
15
+ $opacity: o ? 0.5 : 1,
16
+ $disabled: o,
17
+ children: [
18
+ /* @__PURE__ */ i(t, { width: 20, height: 20 }),
19
+ /* @__PURE__ */ i($, { $renderAs: "ub3", $color: "WHITE", children: n })
20
+ ]
21
+ },
22
+ e
23
+ ) }, e);
24
+ });
25
+ export {
26
+ C as default
27
+ };
28
+ //# sourceMappingURL=card-menu-option.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-menu-option.js","sources":["../../../src/features/homework/card-menu-option.tsx"],"sourcesContent":["import type { ICardMenuOption } from './card-menu-options';\n\nimport { memo, useCallback } from 'react';\n\nimport Clickable from '../ui/buttons/clickable/clickable';\nimport * as Styled from './styles';\n\nconst CardMenuOption = memo((option: ICardMenuOption) => {\n const { icon: OptionIcon, label, id, onClick, disabled } = option;\n\n const handleClick = useCallback(() => (!disabled ? onClick(id) : null), [disabled, id, onClick]);\n\n return (\n <Clickable onClick={handleClick} label={id} key={id}>\n <Styled.CardOptionWrapper\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $flexGap={8}\n $gapX={0.5}\n $gutterX={1}\n $opacity={disabled ? 0.5 : 1}\n $disabled={disabled}\n key={id}\n >\n <OptionIcon width={20} height={20} />\n <Styled.OptionText $renderAs=\"ub3\" $color=\"WHITE\">\n {label}\n </Styled.OptionText>\n </Styled.CardOptionWrapper>\n </Clickable>\n );\n});\n\nexport default CardMenuOption;\n"],"names":["CardMenuOption","memo","option","OptionIcon","label","id","onClick","disabled","handleClick","useCallback","jsx","Clickable","jsxs","Styled.CardOptionWrapper","Styled.OptionText"],"mappings":";;;;AAOM,MAAAA,IAAiBC,EAAK,CAACC,MAA4B;AACvD,QAAM,EAAE,MAAMC,GAAY,OAAAC,GAAO,IAAAC,GAAI,SAAAC,GAAS,UAAAC,EAAa,IAAAL,GAErDM,IAAcC,EAAY,MAAQF,IAAyB,OAAdD,EAAQD,CAAE,GAAW,CAACE,GAAUF,GAAIC,CAAO,CAAC;AAE/F,SACG,gBAAAI,EAAAC,GAAA,EAAU,SAASH,GAAa,OAAOH,GACtC,UAAA,gBAAAO;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,gBAAe;AAAA,MACf,aAAY;AAAA,MACZ,UAAU;AAAA,MACV,OAAO;AAAA,MACP,UAAU;AAAA,MACV,UAAUN,IAAW,MAAM;AAAA,MAC3B,WAAWA;AAAA,MAGX,UAAA;AAAA,QAAA,gBAAAG,EAACP,GAAW,EAAA,OAAO,IAAI,QAAQ,IAAI;AAAA,QACnC,gBAAAO,EAACI,GAAA,EAAkB,WAAU,OAAM,QAAO,SACvC,UACHV,GAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IALKC;AAAA,EAAA,KATwCA,CAgBjD;AAEJ,CAAC;"}
@@ -0,0 +1,22 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { memo as p, createElement as a } from "react";
3
+ import i from "./card-menu-option.js";
4
+ import { CardMenuOptionsWrapper as d } from "./styles.js";
5
+ const C = p(
6
+ ({ options: e, shouldOpenOnRight: n, visible: r, $width: t }) => r ? /* @__PURE__ */ m(
7
+ d,
8
+ {
9
+ $visible: r,
10
+ $background: "BLACK_2",
11
+ $borderColor: "WHITE_T_38",
12
+ $gapX: 0.5,
13
+ $width: t,
14
+ $shouldopenonright: n,
15
+ children: e.map((o) => /* @__PURE__ */ a(i, { ...o, key: o.id }))
16
+ }
17
+ ) : null
18
+ );
19
+ export {
20
+ C as default
21
+ };
22
+ //# sourceMappingURL=card-menu-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-menu-options.js","sources":["../../../src/features/homework/card-menu-options.tsx"],"sourcesContent":["import type { FC, SVGProps } from 'react';\n\nimport { memo } from 'react';\n\nimport CardMenuOption from './card-menu-option';\nimport * as Styled from './styles';\n\nexport interface ICardMenuOption {\n id: string;\n label: string;\n icon: FC<SVGProps<SVGSVGElement>>;\n onClick: (id: string) => void;\n disabled: boolean;\n}\n\ninterface ICardMenuOptionsProps {\n $width?: string | number;\n options: ICardMenuOption[];\n triggerRef: React.RefObject<HTMLElement>;\n visible: boolean;\n shouldOpenOnRight: boolean;\n}\n\nconst CardMenuOptions: FC<ICardMenuOptionsProps> = memo(\n ({ options, shouldOpenOnRight, visible, $width }) => {\n if (!visible) return null;\n\n return (\n <Styled.CardMenuOptionsWrapper\n $visible={visible}\n $background=\"BLACK_2\"\n $borderColor=\"WHITE_T_38\"\n $gapX={0.5}\n $width={$width}\n $shouldopenonright={shouldOpenOnRight}\n >\n {options.map(option => (\n <CardMenuOption {...option} key={option.id} />\n ))}\n </Styled.CardMenuOptionsWrapper>\n );\n },\n);\n\nexport default CardMenuOptions;\n"],"names":["CardMenuOptions","memo","options","shouldOpenOnRight","visible","$width","jsx","Styled.CardMenuOptionsWrapper","option","createElement","CardMenuOption"],"mappings":";;;;AAuBA,MAAMA,IAA6CC;AAAA,EACjD,CAAC,EAAE,SAAAC,GAAS,mBAAAC,GAAmB,SAAAC,GAAS,QAAAC,QACjCD,IAGH,gBAAAE;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,UAAUH;AAAA,MACV,aAAY;AAAA,MACZ,cAAa;AAAA,MACb,OAAO;AAAA,MACP,QAAAC;AAAA,MACA,oBAAoBF;AAAA,MAEnB,UAAAD,EAAQ,IAAI,CAAAM,MACV,gBAAAC,EAAAC,GAAA,EAAgB,GAAGF,GAAQ,KAAKA,EAAO,GAAI,CAAA,CAC7C;AAAA,IAAA;AAAA,EAAA,IAbgB;AAiBzB;"}
@@ -0,0 +1,16 @@
1
+ import { jsx as t, jsxs as o } from "react/jsx-runtime";
2
+ import { memo as a } from "react";
3
+ import c from "../ui/layout/flex-view.js";
4
+ import i from "../ui/text/text.js";
5
+ const l = ({ label: r, title: e }) => /* @__PURE__ */ o(c, { children: [
6
+ /* @__PURE__ */ t(c, { $background: "BLACK_T_60", $width: "fit-content", $gutterX: 0.25, children: /* @__PURE__ */ t(i, { $color: "WHITE", $renderAs: "ac4-black", children: r }) }),
7
+ /* @__PURE__ */ t(i, { $renderAs: "ac4-black", children: e })
8
+ ] }), m = ({
9
+ cardHeader: r,
10
+ nodeType: e,
11
+ courseType: n
12
+ }) => e === "MASTERY" ? /* @__PURE__ */ t(l, { label: "Smart", title: "Practice" }) : n === "REMEDIAL" ? /* @__PURE__ */ t(l, { label: "EXTRA", title: r }) : n === "EXAM" ? /* @__PURE__ */ t(l, { label: "CUSTOM", title: r }) : /* @__PURE__ */ t(i, { $renderAs: "ac4-black", children: r }), A = a(m);
13
+ export {
14
+ A as default
15
+ };
16
+ //# sourceMappingURL=card-title.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-title.js","sources":["../../../src/features/homework/card-title.tsx"],"sourcesContent":["import type { TCourseType, TNodeTypes } from '../chapters-v2/comps/node-card/node-card-types';\n\nimport { memo } from 'react';\n\nimport FlexView from '../ui/layout/flex-view';\nimport Text from '../ui/text/text';\n\nconst LabelledTitle = ({ label, title }: { label: string; title: string }) => (\n <FlexView>\n <FlexView $background=\"BLACK_T_60\" $width=\"fit-content\" $gutterX={0.25}>\n <Text $color=\"WHITE\" $renderAs=\"ac4-black\">\n {label}\n </Text>\n </FlexView>\n <Text $renderAs=\"ac4-black\">{title}</Text>\n </FlexView>\n);\n\nconst CardTitle = ({\n cardHeader,\n nodeType,\n courseType,\n}: {\n cardHeader: string;\n nodeType: TNodeTypes;\n courseType: TCourseType;\n}) => {\n if (nodeType === 'MASTERY') {\n return <LabelledTitle label=\"Smart\" title=\"Practice\" />;\n }\n\n if (courseType === 'REMEDIAL') {\n return <LabelledTitle label=\"EXTRA\" title={cardHeader} />;\n }\n\n if (courseType === 'EXAM') {\n return <LabelledTitle label=\"CUSTOM\" title={cardHeader} />;\n }\n\n return <Text $renderAs=\"ac4-black\">{cardHeader}</Text>;\n};\n\nexport default memo(CardTitle);\n"],"names":["LabelledTitle","label","title","FlexView","jsx","Text","CardTitle","cardHeader","nodeType","courseType","CardTitle$1","memo"],"mappings":";;;;AAOA,MAAMA,IAAgB,CAAC,EAAE,OAAAC,GAAO,OAAAC,EAAM,wBACnCC,GACC,EAAA,UAAA;AAAA,EAAA,gBAAAC,EAACD,GAAS,EAAA,aAAY,cAAa,QAAO,eAAc,UAAU,MAChE,UAAC,gBAAAC,EAAAC,GAAA,EAAK,QAAO,SAAQ,WAAU,aAC5B,YACH,CAAA,GACF;AAAA,EACC,gBAAAD,EAAAC,GAAA,EAAK,WAAU,aAAa,UAAMH,GAAA;AAAA,EACrC,CAAA,GAGII,IAAY,CAAC;AAAA,EACjB,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AACF,MAKMD,MAAa,YACP,gBAAAJ,EAAAJ,GAAA,EAAc,OAAM,SAAQ,OAAM,WAAW,CAAA,IAGnDS,MAAe,aACT,gBAAAL,EAAAJ,GAAA,EAAc,OAAM,SAAQ,OAAOO,EAAY,CAAA,IAGrDE,MAAe,SACT,gBAAAL,EAAAJ,GAAA,EAAc,OAAM,UAAS,OAAOO,EAAY,CAAA,IAGlD,gBAAAH,EAAAC,GAAA,EAAK,WAAU,aAAa,UAAWE,EAAA,CAAA,GAGlCG,IAAAC,EAAKL,CAAS;"}
@@ -0,0 +1,10 @@
1
+ import { PLUGINS as e } from "../../node_modules/@cuemath/analytics-v2/dist/constants.js";
2
+ var o = /* @__PURE__ */ ((t) => (t.HOMEWORK_ATTEMPTED = "homework_attempted", t))(o || {});
3
+ const E = {
4
+ homework_attempted: [e.MIXPANEL]
5
+ };
6
+ export {
7
+ o as HOMEWORK_ANALYTICS_EVENTS,
8
+ E as HOMEWORK_ANALYTICS_WHITELIST_EVENTS
9
+ };
10
+ //# sourceMappingURL=homework-analytics-events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"homework-analytics-events.js","sources":["../../../src/features/homework/homework-analytics-events.ts"],"sourcesContent":["import { PLUGINS } from '@cuemath/analytics-v2/dist/constants';\n\nexport enum HOMEWORK_ANALYTICS_EVENTS {\n HOMEWORK_ATTEMPTED = 'homework_attempted',\n}\n\nexport const HOMEWORK_ANALYTICS_WHITELIST_EVENTS = {\n [HOMEWORK_ANALYTICS_EVENTS.HOMEWORK_ATTEMPTED]: [PLUGINS.MIXPANEL],\n};\n"],"names":["HOMEWORK_ANALYTICS_EVENTS","HOMEWORK_ANALYTICS_WHITELIST_EVENTS","PLUGINS"],"mappings":";AAEY,IAAAA,sBAAAA,OACVA,EAAA,qBAAqB,sBADXA,IAAAA,KAAA,CAAA,CAAA;AAIL,MAAMC,IAAsC;AAAA,EAChD,oBAA+C,CAACC,EAAQ,QAAQ;AACnE;"}