@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,126 +1,125 @@
1
- import { jsx as t, Fragment as O } from "react/jsx-runtime";
2
- import { useRef as A, useCallback as T, useMemo as le, useEffect as ce } from "react";
3
- import z from "../../../../../assets/line-icons/icons/carat-right.js";
4
- import { PLATFORM_EVENTS_STUDENT as ee } from "../../../../analytics-events/platform-events-student.js";
5
- import { JOURNEY_ID_STUDENT as ae } from "../../../../journey/journey-id/journey-id-student.js";
1
+ import { jsx as t, Fragment as R } from "react/jsx-runtime";
2
+ import { useRef as L, useCallback as E, useMemo as de, useEffect as se } from "react";
3
+ import te from "../../../../../assets/line-icons/icons/carat-right.js";
4
+ import { PLATFORM_EVENTS_STUDENT as re } from "../../../../analytics-events/platform-events-student.js";
5
+ import { JOURNEY_ID_STUDENT as me } from "../../../../journey/journey-id/journey-id-student.js";
6
6
  import { IndicatorType as c } from "../../../../journey/use-journey/constants.js";
7
- import { useJourney as de } from "../../../../journey/use-journey/use-journey.js";
8
- import te from "../../../../ui/buttons/icon-button/icon-button.js";
9
- import { useUIContext as he } from "../../../../ui/context/context.js";
10
- import L from "../../../../ui/layout/flex-view.js";
7
+ import { useJourney as Te } from "../../../../journey/use-journey/use-journey.js";
8
+ import ne from "../../../../ui/buttons/icon-button/icon-button.js";
9
+ import { useUIContext as ue } from "../../../../ui/context/context.js";
10
+ import y from "../../../../ui/layout/flex-view.js";
11
11
  import a from "../../../../ui/text/text.js";
12
- import { CIRCLE_ONBOARDING_ANALYTICS_STEPS as E } from "../../../enum/circle-onboarding-steps.js";
13
- import { useCircleSounds as se } from "../../../hooks/use-circle-sounds/use-circle-sounds.js";
14
- import { SegmentedGameCard as me } from "../../comps/segmented-game-card/segmented-game-card.js";
15
- import { GAME_LAUNCHER_ANALYTICS_EVENTS as re } from "../../game-launcher-analytics-events.js";
16
- import { GO_TO_NEXT_SLIDE_AFTER_MS as ue, SHOW_LABEL_HIGHLIGHT_AFTER_MS as ge, SHOW_NUDGE_AFTER_MS as Te, SLIDE_TO_LESSON_MS as Ee } from "./constants.js";
17
- import { ProjectType as pe } from "../../../games/web-view/enums/project-type-enum.js";
18
- const ke = ({
12
+ import { getTheme as he } from "../../../../ui/theme/get-theme.js";
13
+ import { CIRCLE_ONBOARDING_ANALYTICS_STEPS as p } from "../../../enum/circle-onboarding-steps.js";
14
+ import { useCircleSounds as ge } from "../../../hooks/use-circle-sounds/use-circle-sounds.js";
15
+ import { SegmentedGameCard as Ee } from "../../comps/segmented-game-card/segmented-game-card.js";
16
+ import { GAME_LAUNCHER_ANALYTICS_EVENTS as oe } from "../../game-launcher-analytics-events.js";
17
+ import { GO_TO_NEXT_SLIDE_AFTER_MS as pe, SHOW_LABEL_HIGHLIGHT_AFTER_MS as Ie, SHOW_NUDGE_AFTER_MS as _e, SLIDE_TO_LESSON_MS as Ce } from "./constants.js";
18
+ import { ProjectType as fe } from "../../../games/web-view/enums/project-type-enum.js";
19
+ const xe = ({
19
20
  carouselRefs: n,
20
- onSegmentClick: R,
21
- onJourneyComplete: y
21
+ onSegmentClick: S,
22
+ onJourneyComplete: N
22
23
  }) => {
23
- const i = ae.CIRCLE_ACTIVITIES_INTRO_JOURNEY, o = A(null), r = A(null), l = A(null), p = A([]), { playButtonSound: S } = se(), { nextCoachmark: d, setJourney: N, endJourney: b } = de(), { onEvent: I } = he(), P = T(
24
+ const o = me.CIRCLE_ACTIVITIES_INTRO_JOURNEY, { device: ie } = he(), d = ie === "mobile", I = d ? "ab3-bold" : "ab2-bold", i = L(null), r = L(null), l = L(null), _ = L([]), { playButtonSound: b } = ge(), { nextCoachmark: s, setJourney: P, endJourney: H } = Te(), { onEvent: C } = ue(), G = E(
24
25
  (e) => {
25
- I(ee.ONBOARDING_STEP_VIEWED, {
26
+ C(re.ONBOARDING_STEP_VIEWED, {
26
27
  step: e
27
28
  });
28
29
  },
29
- [I]
30
- ), H = T(
30
+ [C]
31
+ ), U = E(
31
32
  (e) => {
32
- I(ee.ONBOARDING_STEP_COMPLETED, {
33
+ C(re.ONBOARDING_STEP_COMPLETED, {
33
34
  step: e
34
35
  });
35
36
  },
36
- [I]
37
- ), h = T(
38
- (e, _, C, f = !1) => {
39
- var m, u;
40
- f || (S(), (u = n.current) == null || u.goToIndex(((m = n.current) == null ? void 0 : m.currentIndex) + 1), d(i, !1, ue)), P(e);
41
- const s = setTimeout(() => {
42
- clearTimeout(s), _.startLabelAnimation(C);
43
- }, ge);
44
- p.current.push(s), d(i, !0, Te);
37
+ [C]
38
+ ), m = E(
39
+ (e, f, A, O = !1) => {
40
+ var u, h;
41
+ O || (b(), (h = n.current) == null || h.goToIndex(((u = n.current) == null ? void 0 : u.currentIndex) + 1), s(o, !1, pe)), G(e);
42
+ const T = setTimeout(() => {
43
+ clearTimeout(T), f.startLabelAnimation(A);
44
+ }, Ie);
45
+ _.current.push(T), s(o, !0, _e);
45
46
  },
46
- [n, i, d, S, P]
47
- ), G = T(
47
+ [n, o, s, b, G]
48
+ ), Y = E(
48
49
  (e) => {
49
- R(e, pe.PUZZLE), H(E.PUZZLE_ACTIVITY), b(i), y(i);
50
+ S(e, fe.PUZZLE), U(p.PUZZLE_ACTIVITY), H(o), N(o);
50
51
  },
51
- [b, i, y, R, H]
52
- ), U = T(
53
- (e, _) => {
54
- var k, w, v, B, V, x, D, M, J, W, X, $, F, Z, j, K, q, Q;
55
- if (!((k = n == null ? void 0 : n.current) != null && k.nextBtnRef.current) || !((w = r == null ? void 0 : r.current) != null && w.segmentedCardWrapperRef.current) || !((v = o == null ? void 0 : o.current) != null && v.labelRef.current) || !((B = r == null ? void 0 : r.current) != null && B.labelRef.current) || !e)
52
+ [H, o, N, S, U]
53
+ ), k = E(
54
+ (e, f) => {
55
+ var B, V, w, x, D, M, J, W, X, $, F, Z, j, K, q, Q, z, ee;
56
+ if (!((B = n == null ? void 0 : n.current) != null && B.nextBtnRef.current) || !((V = r == null ? void 0 : r.current) != null && V.segmentedCardWrapperRef.current) || !((w = i == null ? void 0 : i.current) != null && w.labelRef.current) || !((x = r == null ? void 0 : r.current) != null && x.labelRef.current) || !e)
56
57
  return;
57
- const C = ((D = (x = (V = l.current) == null ? void 0 : V.labelRef) == null ? void 0 : x.current) == null ? void 0 : D.getBoundingClientRect()) || {
58
+ const A = ((J = (M = (D = l.current) == null ? void 0 : D.labelRef) == null ? void 0 : M.current) == null ? void 0 : J.getBoundingClientRect()) || {
58
59
  height: 0,
59
60
  width: 0
60
- }, f = ((W = (J = (M = o.current) == null ? void 0 : M.labelRef) == null ? void 0 : J.current) == null ? void 0 : W.getBoundingClientRect()) || {
61
+ }, O = (($ = (X = (W = i.current) == null ? void 0 : W.labelRef) == null ? void 0 : X.current) == null ? void 0 : $.getBoundingClientRect()) || {
61
62
  height: 0,
62
63
  width: 0
63
- }, s = ((F = ($ = (X = r.current) == null ? void 0 : X.labelRef) == null ? void 0 : $.current) == null ? void 0 : F.getBoundingClientRect()) || {
64
+ }, T = ((j = (Z = (F = r.current) == null ? void 0 : F.labelRef) == null ? void 0 : Z.current) == null ? void 0 : j.getBoundingClientRect()) || {
64
65
  height: 0,
65
66
  width: 0
66
- }, m = ((K = (j = (Z = r.current) == null ? void 0 : Z.segmentedCardWrapperRef) == null ? void 0 : j.current) == null ? void 0 : K.getBoundingClientRect()) || {
67
+ }, u = ((Q = (q = (K = r.current) == null ? void 0 : K.segmentedCardWrapperRef) == null ? void 0 : q.current) == null ? void 0 : Q.getBoundingClientRect()) || {
67
68
  height: 0,
68
69
  width: 0
69
70
  };
70
- let u = [];
71
- _ && l.current && (u = [
71
+ let h = [];
72
+ f && l.current && (h = [
72
73
  {
73
74
  originalElementToHighlightRef: l.current.labelRef,
74
75
  isActive: !1,
75
76
  type: c.TOOLTIP,
76
- elementToHighlight: /* @__PURE__ */ t(O, {}),
77
+ elementToHighlight: /* @__PURE__ */ t(R, {}),
77
78
  indicator: {
78
- position: "right",
79
+ position: "top",
79
80
  backgroundColor: "BLUE_4",
80
- width: 264,
81
- tooltipItem: /* @__PURE__ */ t(L, { children: /* @__PURE__ */ t(a, { $renderAs: "ab2-bold", children: "Get faster & stay ahead in school. Practice 3 new skills everyday." }) }),
82
- tooltipXCoOrdinates: C.width + 50,
83
- tooltipYCoOrdinates: C.height / 2
81
+ tooltipItem: /* @__PURE__ */ t(y, { children: /* @__PURE__ */ t(a, { $renderAs: I, children: "Get faster & stay ahead in school. Practice 3 new skills everyday." }) }),
82
+ tooltipXCoOrdinates: A.width / 2,
83
+ tooltipYCoOrdinates: A.height + 10
84
84
  }
85
85
  },
86
86
  {
87
- originalElementToHighlightRef: (q = n.current) == null ? void 0 : q.nextBtnRef,
87
+ originalElementToHighlightRef: (z = n.current) == null ? void 0 : z.nextBtnRef,
88
88
  isActive: !1,
89
89
  type: c.NUDGE,
90
90
  elementToHighlight: /* @__PURE__ */ t(
91
- te,
91
+ ne,
92
92
  {
93
93
  renderAs: "secondary",
94
- Icon: z,
95
- onClick: () => h(
96
- E.GAMES_ACTIVITY,
97
- o.current,
94
+ Icon: te,
95
+ onClick: () => m(
96
+ p.GAMES_ACTIVITY,
97
+ i.current,
98
98
  "ORANGE_4"
99
99
  ),
100
- analyticsLabel: re.JOURNEY_NEXT_ACTIVITY
100
+ analyticsLabel: oe.JOURNEY_NEXT_ACTIVITY
101
101
  }
102
102
  ),
103
103
  indicator: {
104
104
  nudge: "click",
105
- content: /* @__PURE__ */ t(a, { $renderAs: "ab1", $color: "WHITE", children: "Click to proceed" }),
105
+ content: !d && /* @__PURE__ */ t(a, { $renderAs: "ab1", $color: "WHITE", children: "Click to proceed" }),
106
106
  nudgePointerX: 0,
107
107
  nudgePointerY: 0
108
108
  }
109
109
  }
110
110
  ]);
111
- const ie = [
111
+ const ce = [
112
112
  {
113
- originalElementToHighlightRef: o.current.labelRef,
113
+ originalElementToHighlightRef: i.current.labelRef,
114
114
  isActive: !1,
115
115
  type: c.TOOLTIP,
116
- elementToHighlight: /* @__PURE__ */ t(O, {}),
116
+ elementToHighlight: /* @__PURE__ */ t(R, {}),
117
117
  indicator: {
118
- position: "right",
118
+ position: "top",
119
119
  backgroundColor: "ORANGE_4",
120
- width: 264,
121
- tooltipItem: /* @__PURE__ */ t(L, { children: /* @__PURE__ */ t(a, { $renderAs: "ab2-bold", children: "Train to think deeper & plan ahead. Play 3 new games everyday." }) }),
122
- tooltipXCoOrdinates: f.width + 50,
123
- tooltipYCoOrdinates: f.height / 2
120
+ tooltipItem: /* @__PURE__ */ t(y, { children: /* @__PURE__ */ t(a, { $renderAs: I, children: "Train to think deeper & plan ahead. Play 3 new games everyday." }) }),
121
+ tooltipXCoOrdinates: O.width / 2,
122
+ tooltipYCoOrdinates: O.height + 10
124
123
  }
125
124
  },
126
125
  {
@@ -128,38 +127,37 @@ const ke = ({
128
127
  isActive: !1,
129
128
  type: c.NUDGE,
130
129
  elementToHighlight: /* @__PURE__ */ t(
131
- te,
130
+ ne,
132
131
  {
133
132
  renderAs: "secondary",
134
- Icon: z,
135
- onClick: () => h(
136
- E.PUZZLE_ACTIVITY,
133
+ Icon: te,
134
+ onClick: () => m(
135
+ p.PUZZLE_ACTIVITY,
137
136
  r.current,
138
137
  "PURPLE_4"
139
138
  ),
140
- analyticsLabel: re.JOURNEY_NEXT_ACTIVITY
139
+ analyticsLabel: oe.JOURNEY_NEXT_ACTIVITY
141
140
  }
142
141
  ),
143
142
  indicator: {
144
143
  nudge: "click",
145
- content: /* @__PURE__ */ t(a, { $renderAs: "ab1", $color: "WHITE", children: "Click to proceed" }),
144
+ content: !d && /* @__PURE__ */ t(a, { $renderAs: "ab1", $color: "WHITE", children: "Click to proceed" }),
146
145
  nudgePointerX: 0,
147
146
  nudgePointerY: 0
148
147
  }
149
148
  }
150
- ], oe = [
149
+ ], ae = [
151
150
  {
152
151
  originalElementToHighlightRef: r.current.labelRef,
153
152
  isActive: !1,
154
153
  type: c.TOOLTIP,
155
- elementToHighlight: /* @__PURE__ */ t(O, {}),
154
+ elementToHighlight: /* @__PURE__ */ t(R, {}),
156
155
  indicator: {
157
- position: "right",
156
+ position: "top",
158
157
  backgroundColor: "PURPLE_4",
159
- width: 264,
160
- tooltipItem: /* @__PURE__ */ t(L, { children: /* @__PURE__ */ t(a, { $renderAs: "ab2-bold", children: "Think in new ways & stay sharp. Solve 3 new puzzles everyday." }) }),
161
- tooltipXCoOrdinates: s.width + 50,
162
- tooltipYCoOrdinates: s.height / 2
158
+ tooltipItem: /* @__PURE__ */ t(y, { children: /* @__PURE__ */ t(a, { $renderAs: I, children: "Think in new ways & stay sharp. Solve 3 new puzzles everyday." }) }),
159
+ tooltipXCoOrdinates: T.width / 2,
160
+ tooltipYCoOrdinates: T.height + 10
163
161
  }
164
162
  },
165
163
  {
@@ -167,7 +165,7 @@ const ke = ({
167
165
  isActive: !1,
168
166
  type: c.NUDGE,
169
167
  elementToHighlight: /* @__PURE__ */ t(
170
- me,
168
+ Ee,
171
169
  {
172
170
  label: "",
173
171
  value: e.data.filter((g) => g.solved).length,
@@ -178,39 +176,48 @@ const ke = ({
178
176
  name: "",
179
177
  // We dont want to show the name of the puzzle in onboarding
180
178
  isCompleted: g.solved,
181
- onPress: () => G(g)
179
+ onPress: () => Y(g)
182
180
  }))
183
181
  }
184
182
  ),
185
183
  indicator: {
186
184
  nudge: "click",
187
- content: /* @__PURE__ */ t(a, { $renderAs: "ab1", $color: "WHITE", children: "Click to solve a puzzle" }),
188
- nudgePointerX: m.width * 0.6,
189
- nudgePointerY: m.height * 0.4
185
+ content: !d && /* @__PURE__ */ t(a, { $renderAs: "ab1", $color: "WHITE", children: "Click to solve a puzzle" }),
186
+ nudgePointerX: u.width * 0.6,
187
+ nudgePointerY: u.height * 0.4
190
188
  }
191
189
  }
192
190
  ];
193
- N(i, [...u, ...ie, ...oe]), (Q = n.current) == null || Q.goToIndex(0);
194
- const Y = setTimeout(() => {
195
- clearTimeout(Y), d(i);
196
- }, Ee);
197
- p.current.push(Y), _ && l.current ? h(E.SKILL_ACTIVITY, l.current, "BLUE_4", !0) : h(E.GAMES_ACTIVITY, o.current, "ORANGE_4", !0);
191
+ P(o, [...h, ...ce, ...ae]), (ee = n.current) == null || ee.goToIndex(0);
192
+ const v = setTimeout(() => {
193
+ clearTimeout(v), s(o);
194
+ }, Ce);
195
+ _.current.push(v), f && l.current ? m(p.SKILL_ACTIVITY, l.current, "BLUE_4", !0) : m(p.GAMES_ACTIVITY, i.current, "ORANGE_4", !0);
198
196
  },
199
- [n, N, i, h, G, d]
200
- ), ne = le(
197
+ [
198
+ n,
199
+ I,
200
+ d,
201
+ P,
202
+ o,
203
+ m,
204
+ Y,
205
+ s
206
+ ]
207
+ ), le = de(
201
208
  () => ({
202
- gameRefs: o,
209
+ gameRefs: i,
203
210
  puzzleRefs: r,
204
211
  lessonRefs: l,
205
- startJourney: U
212
+ startJourney: k
206
213
  }),
207
- [U]
214
+ [k]
208
215
  );
209
- return ce(() => () => {
210
- p.current.forEach((e) => clearTimeout(e)), p.current = [];
211
- }, [n]), ne;
216
+ return se(() => () => {
217
+ _.current.forEach((e) => clearTimeout(e)), _.current = [];
218
+ }, [n]), le;
212
219
  };
213
220
  export {
214
- ke as useGameLauncherJourney
221
+ xe as useGameLauncherJourney
215
222
  };
216
223
  //# sourceMappingURL=use-game-launcher-journey.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-game-launcher-journey.js","sources":["../../../../../../src/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.tsx"],"sourcesContent":["import type { ICoachmarkProps } from '../../../../journey/use-journey/journey-context-types';\nimport type { IArrowTooltipProps } from '../../../../ui/arrow-tooltip/arrow-tooltip-types';\nimport type { INudgeProps } from '../../../../ui/nudge/nudge-types';\nimport type { TColorNames } from '../../../../ui/types';\nimport type { ISegmentedGameCardRefs } from '../../comps/segmented-game-card/segmented-game-card-types';\nimport type {\n IProject,\n Puzzle,\n} from '../../dal/use-get-circle-home-details-dal/use-get-circle-home-dal-types';\nimport type { IUseGameLauncherJourneyProps } from './use-game-launcher-journey-types';\n\nimport { useCallback, useEffect, useMemo, useRef } from 'react';\n\nimport CaratRightIcon from '../../../../../assets/line-icons/icons/carat-right';\nimport { PLATFORM_EVENTS_STUDENT as AnalyticsLabel } 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 ActionEvent } from '../../../enum/circle-onboarding-steps';\nimport { ProjectType } from '../../../games/web-view/enums';\nimport { useCircleSounds } from '../../../hooks/use-circle-sounds/use-circle-sounds';\nimport { SegmentedGameCard } from '../../comps/segmented-game-card/segmented-game-card';\nimport { GAME_LAUNCHER_ANALYTICS_EVENTS } from '../../game-launcher-analytics-events';\nimport {\n GO_TO_NEXT_SLIDE_AFTER_MS,\n SHOW_LABEL_HIGHLIGHT_AFTER_MS,\n SHOW_NUDGE_AFTER_MS,\n SLIDE_TO_LESSON_MS,\n} from './constants';\n\nexport const useGameLauncherJourney = ({\n carouselRefs,\n onSegmentClick,\n onJourneyComplete,\n}: IUseGameLauncherJourneyProps) => {\n const journeyId = JOURNEY_ID_STUDENT.CIRCLE_ACTIVITIES_INTRO_JOURNEY;\n\n const gameRefs = useRef<ISegmentedGameCardRefs>(null);\n const puzzleRefs = useRef<ISegmentedGameCardRefs>(null);\n const lessonRefs = useRef<ISegmentedGameCardRefs>(null);\n const timerRefs = useRef<ReturnType<typeof setTimeout>[]>([]);\n\n const { playButtonSound } = useCircleSounds();\n const { nextCoachmark, setJourney, endJourney } = useJourney();\n const { onEvent: trackAnalytics } = useUIContext();\n\n const trackEventViewed = useCallback(\n (step: ActionEvent) => {\n trackAnalytics(AnalyticsLabel.ONBOARDING_STEP_VIEWED, {\n step,\n });\n },\n [trackAnalytics],\n );\n const trackEventCompleted = useCallback(\n (step: ActionEvent) => {\n trackAnalytics(AnalyticsLabel.ONBOARDING_STEP_COMPLETED, {\n step,\n });\n },\n [trackAnalytics],\n );\n\n const goToNextCard = useCallback(\n (\n analyticsLabelViewed: ActionEvent,\n refOfNextSlide: ISegmentedGameCardRefs,\n color: TColorNames,\n isFirstSlide: boolean = false,\n ) => {\n if (!isFirstSlide) {\n playButtonSound();\n carouselRefs.current?.goToIndex(carouselRefs.current?.currentIndex + 1);\n nextCoachmark(journeyId, false, GO_TO_NEXT_SLIDE_AFTER_MS);\n }\n\n trackEventViewed(analyticsLabelViewed);\n\n const animateLabelTimer = setTimeout(() => {\n clearTimeout(animateLabelTimer);\n refOfNextSlide.startLabelAnimation(color);\n }, SHOW_LABEL_HIGHLIGHT_AFTER_MS);\n\n timerRefs.current.push(animateLabelTimer); // Store to cleanup later\n\n nextCoachmark(journeyId, true, SHOW_NUDGE_AFTER_MS);\n },\n [carouselRefs, journeyId, nextCoachmark, playButtonSound, trackEventViewed],\n );\n\n const handleEndJourney = useCallback(\n (puzzlesData: Puzzle) => {\n onSegmentClick(puzzlesData, ProjectType.PUZZLE);\n trackEventCompleted(ActionEvent.PUZZLE_ACTIVITY);\n endJourney(journeyId);\n onJourneyComplete(journeyId);\n },\n [endJourney, journeyId, onJourneyComplete, onSegmentClick, trackEventCompleted],\n );\n\n const startJourney = useCallback(\n (puzzlesData: IProject<Puzzle>, isLessonAvailable: boolean) => {\n // If element refs are not available return, this is just for type safety\n if (\n !carouselRefs?.current?.nextBtnRef.current ||\n !puzzleRefs?.current?.segmentedCardWrapperRef.current ||\n !gameRefs?.current?.labelRef.current ||\n !puzzleRefs?.current?.labelRef.current ||\n !puzzlesData\n ) {\n return;\n }\n\n const lessonLabelDims = lessonRefs.current?.labelRef?.current?.getBoundingClientRect() || {\n height: 0,\n width: 0,\n };\n const gameLabelDims = gameRefs.current?.labelRef?.current?.getBoundingClientRect() || {\n height: 0,\n width: 0,\n };\n const puzzleLabelDims = puzzleRefs.current?.labelRef?.current?.getBoundingClientRect() || {\n height: 0,\n width: 0,\n };\n\n const launcherDims =\n puzzleRefs.current?.segmentedCardWrapperRef?.current?.getBoundingClientRect() || {\n height: 0,\n width: 0,\n };\n\n let lessonSteps: ICoachmarkProps[] = [];\n\n if (isLessonAvailable && lessonRefs.current) {\n lessonSteps = [\n {\n originalElementToHighlightRef: lessonRefs.current.labelRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: <></>,\n indicator: {\n position: 'right',\n backgroundColor: 'BLUE_4',\n width: 264,\n tooltipItem: (\n <FlexView>\n <Text $renderAs=\"ab2-bold\">\n Get faster & stay ahead in school. Practice 3 new skills everyday.\n </Text>\n </FlexView>\n ),\n tooltipXCoOrdinates: lessonLabelDims.width + 50,\n tooltipYCoOrdinates: lessonLabelDims.height / 2,\n } as IArrowTooltipProps,\n },\n {\n originalElementToHighlightRef: carouselRefs.current?.nextBtnRef,\n isActive: false,\n type: IndicatorType.NUDGE,\n elementToHighlight: (\n <IconButton\n renderAs=\"secondary\"\n Icon={CaratRightIcon}\n onClick={() =>\n goToNextCard(\n ActionEvent.GAMES_ACTIVITY,\n gameRefs.current as ISegmentedGameCardRefs,\n 'ORANGE_4',\n )\n }\n analyticsLabel={GAME_LAUNCHER_ANALYTICS_EVENTS.JOURNEY_NEXT_ACTIVITY}\n />\n ),\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 },\n ];\n }\n\n const gameSteps: ICoachmarkProps[] = [\n {\n originalElementToHighlightRef: gameRefs.current.labelRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: <></>,\n indicator: {\n position: 'right',\n backgroundColor: 'ORANGE_4',\n width: 264,\n tooltipItem: (\n <FlexView>\n <Text $renderAs=\"ab2-bold\">\n Train to think deeper & plan ahead. Play 3 new games everyday.\n </Text>\n </FlexView>\n ),\n tooltipXCoOrdinates: gameLabelDims.width + 50,\n tooltipYCoOrdinates: gameLabelDims.height / 2,\n } as IArrowTooltipProps,\n },\n {\n originalElementToHighlightRef: carouselRefs.current.nextBtnRef,\n isActive: false,\n type: IndicatorType.NUDGE,\n elementToHighlight: (\n <IconButton\n renderAs=\"secondary\"\n Icon={CaratRightIcon}\n onClick={() =>\n goToNextCard(\n ActionEvent.PUZZLE_ACTIVITY,\n puzzleRefs.current as ISegmentedGameCardRefs,\n 'PURPLE_4',\n )\n }\n analyticsLabel={GAME_LAUNCHER_ANALYTICS_EVENTS.JOURNEY_NEXT_ACTIVITY}\n />\n ),\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 },\n ];\n\n const puzzleSteps: ICoachmarkProps[] = [\n {\n originalElementToHighlightRef: puzzleRefs.current.labelRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: <></>,\n indicator: {\n position: 'right',\n backgroundColor: 'PURPLE_4',\n width: 264,\n tooltipItem: (\n <FlexView>\n <Text $renderAs=\"ab2-bold\">\n Think in new ways & stay sharp. Solve 3 new puzzles everyday.\n </Text>\n </FlexView>\n ),\n tooltipXCoOrdinates: puzzleLabelDims.width + 50,\n tooltipYCoOrdinates: puzzleLabelDims.height / 2,\n } as IArrowTooltipProps,\n },\n {\n originalElementToHighlightRef: puzzleRefs.current.segmentedCardWrapperRef,\n isActive: false,\n type: IndicatorType.NUDGE,\n elementToHighlight: (\n <SegmentedGameCard\n label={''} // This is intentionally left blank to avoid showing the label\n value={puzzlesData.data.filter(puzzle => puzzle.solved).length}\n maxValue={puzzlesData.data.length}\n initialValue={puzzlesData.initialProgressValue}\n data={puzzlesData.data.map(puzzle => ({\n card: puzzle.cardLottie,\n name: '', // We dont want to show the name of the puzzle in onboarding\n isCompleted: puzzle.solved,\n onPress: () => handleEndJourney(puzzle),\n }))}\n />\n ),\n indicator: {\n nudge: 'click',\n content: (\n <Text $renderAs=\"ab1\" $color=\"WHITE\">\n Click to solve a puzzle\n </Text>\n ),\n nudgePointerX: launcherDims.width * 0.6,\n nudgePointerY: launcherDims.height * 0.4,\n } as INudgeProps,\n },\n ];\n\n setJourney(journeyId, [...lessonSteps, ...gameSteps, ...puzzleSteps]);\n\n carouselRefs.current?.goToIndex(0); // Always start from 0th Index no matter what the current index is\n\n const delayBeforeStart = setTimeout(() => {\n clearTimeout(delayBeforeStart);\n nextCoachmark(journeyId);\n }, SLIDE_TO_LESSON_MS);\n\n timerRefs.current.push(delayBeforeStart); // Store to cleanup later\n\n if (isLessonAvailable && lessonRefs.current) {\n goToNextCard(ActionEvent.SKILL_ACTIVITY, lessonRefs.current, 'BLUE_4', true);\n } else {\n goToNextCard(ActionEvent.GAMES_ACTIVITY, gameRefs.current, 'ORANGE_4', true);\n }\n },\n [carouselRefs, setJourney, journeyId, goToNextCard, handleEndJourney, nextCoachmark],\n );\n\n const data = useMemo(\n () => ({\n gameRefs,\n puzzleRefs,\n lessonRefs,\n startJourney,\n }),\n [startJourney],\n );\n\n // Cleanup on unmount\n useEffect(() => {\n return () => {\n timerRefs.current.forEach(timer => clearTimeout(timer));\n timerRefs.current = [];\n };\n }, [carouselRefs]);\n\n return data;\n};\n"],"names":["useGameLauncherJourney","carouselRefs","onSegmentClick","onJourneyComplete","journeyId","JOURNEY_ID_STUDENT","gameRefs","useRef","puzzleRefs","lessonRefs","timerRefs","playButtonSound","useCircleSounds","nextCoachmark","setJourney","endJourney","useJourney","trackAnalytics","useUIContext","trackEventViewed","useCallback","step","AnalyticsLabel","trackEventCompleted","goToNextCard","analyticsLabelViewed","refOfNextSlide","color","isFirstSlide","_b","_a","GO_TO_NEXT_SLIDE_AFTER_MS","animateLabelTimer","SHOW_LABEL_HIGHLIGHT_AFTER_MS","SHOW_NUDGE_AFTER_MS","handleEndJourney","puzzlesData","ProjectType","ActionEvent","startJourney","isLessonAvailable","_c","_d","lessonLabelDims","_g","_f","_e","gameLabelDims","_j","_i","_h","puzzleLabelDims","_m","_l","_k","launcherDims","_p","_o","_n","lessonSteps","IndicatorType","jsx","Fragment","FlexView","Text","_q","IconButton","CaratRightIcon","GAME_LAUNCHER_ANALYTICS_EVENTS","gameSteps","puzzleSteps","SegmentedGameCard","puzzle","_r","delayBeforeStart","SLIDE_TO_LESSON_MS","data","useMemo","useEffect","timer"],"mappings":";;;;;;;;;;;;;;;;;AAkCO,MAAMA,KAAyB,CAAC;AAAA,EACrC,cAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,mBAAAC;AACF,MAAoC;AAClC,QAAMC,IAAYC,GAAmB,iCAE/BC,IAAWC,E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AAY,CAAC,GAEV2E;AACT;"}
1
+ {"version":3,"file":"use-game-launcher-journey.js","sources":["../../../../../../src/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.tsx"],"sourcesContent":["import type { ICoachmarkProps } from '../../../../journey/use-journey/journey-context-types';\nimport type { IArrowTooltipProps } from '../../../../ui/arrow-tooltip/arrow-tooltip-types';\nimport type { INudgeProps } from '../../../../ui/nudge/nudge-types';\nimport type { TColorNames } from '../../../../ui/types';\nimport type { ISegmentedGameCardRefs } from '../../comps/segmented-game-card/segmented-game-card-types';\nimport type {\n IProject,\n Puzzle,\n} from '../../dal/use-get-circle-home-details-dal/use-get-circle-home-dal-types';\nimport type { IUseGameLauncherJourneyProps } from './use-game-launcher-journey-types';\n\nimport { useCallback, useEffect, useMemo, useRef } from 'react';\n\nimport CaratRightIcon from '../../../../../assets/line-icons/icons/carat-right';\nimport { PLATFORM_EVENTS_STUDENT as AnalyticsLabel } 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 ActionEvent } from '../../../enum/circle-onboarding-steps';\nimport { ProjectType } from '../../../games/web-view/enums';\nimport { useCircleSounds } from '../../../hooks/use-circle-sounds/use-circle-sounds';\nimport { SegmentedGameCard } from '../../comps/segmented-game-card/segmented-game-card';\nimport { GAME_LAUNCHER_ANALYTICS_EVENTS } from '../../game-launcher-analytics-events';\nimport {\n GO_TO_NEXT_SLIDE_AFTER_MS,\n SHOW_LABEL_HIGHLIGHT_AFTER_MS,\n SHOW_NUDGE_AFTER_MS,\n SLIDE_TO_LESSON_MS,\n} from './constants';\n\nexport const useGameLauncherJourney = ({\n carouselRefs,\n onSegmentClick,\n onJourneyComplete,\n}: IUseGameLauncherJourneyProps) => {\n const journeyId = JOURNEY_ID_STUDENT.CIRCLE_ACTIVITIES_INTRO_JOURNEY;\n\n const { device } = getTheme();\n const isMobile = device === 'mobile';\n const tooltipTextRenderAs = isMobile ? 'ab3-bold' : 'ab2-bold';\n\n const gameRefs = useRef<ISegmentedGameCardRefs>(null);\n const puzzleRefs = useRef<ISegmentedGameCardRefs>(null);\n const lessonRefs = useRef<ISegmentedGameCardRefs>(null);\n const timerRefs = useRef<ReturnType<typeof setTimeout>[]>([]);\n\n const { playButtonSound } = useCircleSounds();\n const { nextCoachmark, setJourney, endJourney } = useJourney();\n const { onEvent: trackAnalytics } = useUIContext();\n\n const trackEventViewed = useCallback(\n (step: ActionEvent) => {\n trackAnalytics(AnalyticsLabel.ONBOARDING_STEP_VIEWED, {\n step,\n });\n },\n [trackAnalytics],\n );\n const trackEventCompleted = useCallback(\n (step: ActionEvent) => {\n trackAnalytics(AnalyticsLabel.ONBOARDING_STEP_COMPLETED, {\n step,\n });\n },\n [trackAnalytics],\n );\n\n const goToNextCard = useCallback(\n (\n analyticsLabelViewed: ActionEvent,\n refOfNextSlide: ISegmentedGameCardRefs,\n color: TColorNames,\n isFirstSlide: boolean = false,\n ) => {\n if (!isFirstSlide) {\n playButtonSound();\n carouselRefs.current?.goToIndex(carouselRefs.current?.currentIndex + 1);\n nextCoachmark(journeyId, false, GO_TO_NEXT_SLIDE_AFTER_MS);\n }\n\n trackEventViewed(analyticsLabelViewed);\n\n const animateLabelTimer = setTimeout(() => {\n clearTimeout(animateLabelTimer);\n refOfNextSlide.startLabelAnimation(color);\n }, SHOW_LABEL_HIGHLIGHT_AFTER_MS);\n\n timerRefs.current.push(animateLabelTimer); // Store to cleanup later\n\n nextCoachmark(journeyId, true, SHOW_NUDGE_AFTER_MS);\n },\n [carouselRefs, journeyId, nextCoachmark, playButtonSound, trackEventViewed],\n );\n\n const handleEndJourney = useCallback(\n (puzzlesData: Puzzle) => {\n onSegmentClick(puzzlesData, ProjectType.PUZZLE);\n trackEventCompleted(ActionEvent.PUZZLE_ACTIVITY);\n endJourney(journeyId);\n onJourneyComplete(journeyId);\n },\n [endJourney, journeyId, onJourneyComplete, onSegmentClick, trackEventCompleted],\n );\n\n const startJourney = useCallback(\n (puzzlesData: IProject<Puzzle>, isLessonAvailable: boolean) => {\n // If element refs are not available return, this is just for type safety\n if (\n !carouselRefs?.current?.nextBtnRef.current ||\n !puzzleRefs?.current?.segmentedCardWrapperRef.current ||\n !gameRefs?.current?.labelRef.current ||\n !puzzleRefs?.current?.labelRef.current ||\n !puzzlesData\n ) {\n return;\n }\n\n const lessonLabelDims = lessonRefs.current?.labelRef?.current?.getBoundingClientRect() || {\n height: 0,\n width: 0,\n };\n const gameLabelDims = gameRefs.current?.labelRef?.current?.getBoundingClientRect() || {\n height: 0,\n width: 0,\n };\n const puzzleLabelDims = puzzleRefs.current?.labelRef?.current?.getBoundingClientRect() || {\n height: 0,\n width: 0,\n };\n\n const launcherDims =\n puzzleRefs.current?.segmentedCardWrapperRef?.current?.getBoundingClientRect() || {\n height: 0,\n width: 0,\n };\n\n let lessonSteps: ICoachmarkProps[] = [];\n\n if (isLessonAvailable && lessonRefs.current) {\n lessonSteps = [\n {\n originalElementToHighlightRef: lessonRefs.current.labelRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: <></>,\n indicator: {\n position: 'top',\n backgroundColor: 'BLUE_4',\n tooltipItem: (\n <FlexView>\n <Text $renderAs={tooltipTextRenderAs}>\n Get faster & stay ahead in school. Practice 3 new skills everyday.\n </Text>\n </FlexView>\n ),\n tooltipXCoOrdinates: lessonLabelDims.width / 2,\n tooltipYCoOrdinates: lessonLabelDims.height + 10,\n } as IArrowTooltipProps,\n },\n {\n originalElementToHighlightRef: carouselRefs.current?.nextBtnRef,\n isActive: false,\n type: IndicatorType.NUDGE,\n elementToHighlight: (\n <IconButton\n renderAs=\"secondary\"\n Icon={CaratRightIcon}\n onClick={() =>\n goToNextCard(\n ActionEvent.GAMES_ACTIVITY,\n gameRefs.current as ISegmentedGameCardRefs,\n 'ORANGE_4',\n )\n }\n analyticsLabel={GAME_LAUNCHER_ANALYTICS_EVENTS.JOURNEY_NEXT_ACTIVITY}\n />\n ),\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 },\n ];\n }\n\n const gameSteps: ICoachmarkProps[] = [\n {\n originalElementToHighlightRef: gameRefs.current.labelRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: <></>,\n indicator: {\n position: 'top',\n backgroundColor: 'ORANGE_4',\n tooltipItem: (\n <FlexView>\n <Text $renderAs={tooltipTextRenderAs}>\n Train to think deeper & plan ahead. Play 3 new games everyday.\n </Text>\n </FlexView>\n ),\n tooltipXCoOrdinates: gameLabelDims.width / 2,\n tooltipYCoOrdinates: gameLabelDims.height + 10,\n } as IArrowTooltipProps,\n },\n {\n originalElementToHighlightRef: carouselRefs.current.nextBtnRef,\n isActive: false,\n type: IndicatorType.NUDGE,\n elementToHighlight: (\n <IconButton\n renderAs=\"secondary\"\n Icon={CaratRightIcon}\n onClick={() =>\n goToNextCard(\n ActionEvent.PUZZLE_ACTIVITY,\n puzzleRefs.current as ISegmentedGameCardRefs,\n 'PURPLE_4',\n )\n }\n analyticsLabel={GAME_LAUNCHER_ANALYTICS_EVENTS.JOURNEY_NEXT_ACTIVITY}\n />\n ),\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 },\n ];\n\n const puzzleSteps: ICoachmarkProps[] = [\n {\n originalElementToHighlightRef: puzzleRefs.current.labelRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: <></>,\n indicator: {\n position: 'top',\n backgroundColor: 'PURPLE_4',\n tooltipItem: (\n <FlexView>\n <Text $renderAs={tooltipTextRenderAs}>\n Think in new ways & stay sharp. Solve 3 new puzzles everyday.\n </Text>\n </FlexView>\n ),\n tooltipXCoOrdinates: puzzleLabelDims.width / 2,\n tooltipYCoOrdinates: puzzleLabelDims.height + 10,\n } as IArrowTooltipProps,\n },\n {\n originalElementToHighlightRef: puzzleRefs.current.segmentedCardWrapperRef,\n isActive: false,\n type: IndicatorType.NUDGE,\n elementToHighlight: (\n <SegmentedGameCard\n label={''} // This is intentionally left blank to avoid showing the label\n value={puzzlesData.data.filter(puzzle => puzzle.solved).length}\n maxValue={puzzlesData.data.length}\n initialValue={puzzlesData.initialProgressValue}\n data={puzzlesData.data.map(puzzle => ({\n card: puzzle.cardLottie,\n name: '', // We dont want to show the name of the puzzle in onboarding\n isCompleted: puzzle.solved,\n onPress: () => handleEndJourney(puzzle),\n }))}\n />\n ),\n indicator: {\n nudge: 'click',\n content: !isMobile && (\n <Text $renderAs=\"ab1\" $color=\"WHITE\">\n Click to solve a puzzle\n </Text>\n ),\n nudgePointerX: launcherDims.width * 0.6,\n nudgePointerY: launcherDims.height * 0.4,\n } as INudgeProps,\n },\n ];\n\n setJourney(journeyId, [...lessonSteps, ...gameSteps, ...puzzleSteps]);\n\n carouselRefs.current?.goToIndex(0); // Always start from 0th Index no matter what the current index is\n\n const delayBeforeStart = setTimeout(() => {\n clearTimeout(delayBeforeStart);\n nextCoachmark(journeyId);\n }, SLIDE_TO_LESSON_MS);\n\n timerRefs.current.push(delayBeforeStart); // Store to cleanup later\n\n if (isLessonAvailable && lessonRefs.current) {\n goToNextCard(ActionEvent.SKILL_ACTIVITY, lessonRefs.current, 'BLUE_4', true);\n } else {\n goToNextCard(ActionEvent.GAMES_ACTIVITY, gameRefs.current, 'ORANGE_4', true);\n }\n },\n [\n carouselRefs,\n tooltipTextRenderAs,\n isMobile,\n setJourney,\n journeyId,\n goToNextCard,\n handleEndJourney,\n nextCoachmark,\n ],\n );\n\n const data = useMemo(\n () => ({\n gameRefs,\n puzzleRefs,\n lessonRefs,\n startJourney,\n }),\n [startJourney],\n );\n\n // Cleanup on unmount\n useEffect(() => {\n return () => {\n timerRefs.current.forEach(timer => clearTimeout(timer));\n timerRefs.current = [];\n };\n }, [carouselRefs]);\n\n return data;\n};\n"],"names":["useGameLauncherJourney","carouselRefs","onSegmentClick","onJourneyComplete","journeyId","JOURNEY_ID_STUDENT","device","getTheme","isMobile","tooltipTextRenderAs","gameRefs","useRef","puzzleRefs","lessonRefs","timerRefs","playButtonSound","useCircleSounds","nextCoachmark","setJourney","endJourney","useJourney","trackAnalytics","useUIContext","trackEventViewed","useCallback","step","AnalyticsLabel","trackEventCompleted","goToNextCard","analyticsLabelViewed","refOfNextSlide","color","isFirstSlide","_b","_a","GO_TO_NEXT_SLIDE_AFTER_MS","animateLabelTimer","SHOW_LABEL_HIGHLIGHT_AFTER_MS","SHOW_NUDGE_AFTER_MS","handleEndJourney","puzzlesData","ProjectType","ActionEvent","startJourney","isLessonAvailable","_c","_d","lessonLabelDims","_g","_f","_e","gameLabelDims","_j","_i","_h","puzzleLabelDims","_m","_l","_k","launcherDims","_p","_o","_n","lessonSteps","IndicatorType","jsx","Fragment","FlexView","Text","_q","IconButton","CaratRightIcon","GAME_LAUNCHER_ANALYTICS_EVENTS","gameSteps","puzzleSteps","SegmentedGameCard","puzzle","_r","delayBeforeStart","SLIDE_TO_LESSON_MS","data","useMemo","useEffect","timer"],"mappings":";;;;;;;;;;;;;;;;;;AAmCO,MAAMA,KAAyB,CAAC;AAAA,EACrC,cAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,mBAAAC;AACF,MAAoC;AAClC,QAAMC,IAAYC,GAAmB,iCAE/B,EAAE,QAAAC,OAAWC,MACbC,IAAWF,OAAW,UACtBG,IAAs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