@cuemath/leap 2.9.5-j8 → 2.9.6-as1

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 (681) 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/alarm.js +41 -0
  4. package/dist/assets/line-icons/icons/alarm.js.map +1 -0
  5. package/dist/assets/line-icons/icons/bin2.js +7 -8
  6. package/dist/assets/line-icons/icons/bin2.js.map +1 -1
  7. package/dist/assets/line-icons/icons/chevron-left.js.map +1 -1
  8. package/dist/assets/line-icons/icons/dart.js +23 -0
  9. package/dist/assets/line-icons/icons/dart.js.map +1 -0
  10. package/dist/assets/line-icons/icons/exclamation.js +26 -0
  11. package/dist/assets/line-icons/icons/exclamation.js.map +1 -0
  12. package/dist/assets/line-icons/icons/home2.js +25 -0
  13. package/dist/assets/line-icons/icons/home2.js.map +1 -0
  14. package/dist/assets/line-icons/icons/important.js +23 -0
  15. package/dist/assets/line-icons/icons/important.js.map +1 -0
  16. package/dist/assets/line-icons/icons/puzzle.js +25 -0
  17. package/dist/assets/line-icons/icons/puzzle.js.map +1 -0
  18. package/dist/assets/line-icons/icons/recap.js +32 -0
  19. package/dist/assets/line-icons/icons/recap.js.map +1 -0
  20. package/dist/assets/line-icons/icons/skip-colored.js +43 -0
  21. package/dist/assets/line-icons/icons/skip-colored.js.map +1 -0
  22. package/dist/assets/line-icons/icons/status.js +41 -0
  23. package/dist/assets/line-icons/icons/status.js.map +1 -0
  24. package/dist/assets/line-icons/icons/testtube.js +33 -0
  25. package/dist/assets/line-icons/icons/testtube.js.map +1 -0
  26. package/dist/assets/lottie/lottie.js +8 -11
  27. package/dist/assets/lottie/lottie.js.map +1 -1
  28. package/dist/constants/api.js +3 -2
  29. package/dist/constants/api.js.map +1 -1
  30. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js +99 -33
  31. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js.map +1 -1
  32. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js +92 -49
  33. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js.map +1 -1
  34. package/dist/features/chapters/chapters-list/chapters-list-styled.js +5 -5
  35. package/dist/features/chapters/chapters-list/chapters-list-styled.js.map +1 -1
  36. package/dist/features/chapters/chapters-list/chapters-list.js +64 -70
  37. package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
  38. package/dist/features/chapters-v2/api/chapter.js +10 -0
  39. package/dist/features/chapters-v2/api/chapter.js.map +1 -0
  40. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +112 -0
  41. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -0
  42. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js +26 -0
  43. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js.map +1 -0
  44. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +89 -0
  45. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -0
  46. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js +90 -0
  47. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js.map +1 -0
  48. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js +97 -0
  49. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js.map +1 -0
  50. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js +51 -0
  51. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js.map +1 -0
  52. package/dist/features/chapters-v2/chapter-details/chapter-details.js +103 -0
  53. package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -0
  54. package/dist/features/chapters-v2/comps/node-card/border-path-animation.js +13 -0
  55. package/dist/features/chapters-v2/comps/node-card/border-path-animation.js.map +1 -0
  56. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +153 -0
  57. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +1 -0
  58. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js +16 -0
  59. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js.map +1 -0
  60. package/dist/features/chapters-v2/comps/node-card/node-card.js +12 -0
  61. package/dist/features/chapters-v2/comps/node-card/node-card.js.map +1 -0
  62. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js +32 -0
  63. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js.map +1 -0
  64. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js +31 -0
  65. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js.map +1 -0
  66. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +180 -0
  67. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +1 -0
  68. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +192 -0
  69. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -0
  70. package/dist/features/chapters-v2/comps/tag/tag-styled.js +13 -0
  71. package/dist/features/chapters-v2/comps/tag/tag-styled.js.map +1 -0
  72. package/dist/features/chapters-v2/comps/tag/tag.js +28 -0
  73. package/dist/features/chapters-v2/comps/tag/tag.js.map +1 -0
  74. package/dist/features/chapters-v2/constants/block-constants.js +20 -0
  75. package/dist/features/chapters-v2/constants/block-constants.js.map +1 -0
  76. package/dist/features/chapters-v2/constants/node-constants.js +14 -0
  77. package/dist/features/chapters-v2/constants/node-constants.js.map +1 -0
  78. package/dist/features/chapters-v2/utils/index.js +41 -0
  79. package/dist/features/chapters-v2/utils/index.js.map +1 -0
  80. package/dist/features/chapters-v2/utils/node-card-utils.js +175 -0
  81. package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -0
  82. package/dist/features/circle-games/game-launcher/comps/card-container/constants.js +1 -1
  83. package/dist/features/circle-games/game-launcher/comps/card-container/constants.js.map +1 -1
  84. package/dist/features/communication/pub-sub/constants.js +12 -6
  85. package/dist/features/communication/pub-sub/constants.js.map +1 -1
  86. package/dist/features/homework/card-menu-options.js +38 -0
  87. package/dist/features/homework/card-menu-options.js.map +1 -0
  88. package/dist/features/homework/card-title.js +15 -0
  89. package/dist/features/homework/card-title.js.map +1 -0
  90. package/dist/features/homework/homework-card-view.js +141 -0
  91. package/dist/features/homework/homework-card-view.js.map +1 -0
  92. package/dist/features/homework/homework-card.js +206 -0
  93. package/dist/features/homework/homework-card.js.map +1 -0
  94. package/dist/features/homework/hw-card-list/api/get-homeworks.js +10 -0
  95. package/dist/features/homework/hw-card-list/api/get-homeworks.js.map +1 -0
  96. package/dist/features/homework/hw-card-list/hw-card-list-styled.js +63 -0
  97. package/dist/features/homework/hw-card-list/hw-card-list-styled.js.map +1 -0
  98. package/dist/features/homework/hw-card-list/hw-card-list.js +185 -0
  99. package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -0
  100. package/dist/features/homework/node-progress.js +29 -0
  101. package/dist/features/homework/node-progress.js.map +1 -0
  102. package/dist/features/homework/styles.js +130 -0
  103. package/dist/features/homework/styles.js.map +1 -0
  104. package/dist/features/journey/comps/coachmark/coachmark-styled.js +12 -5
  105. package/dist/features/journey/comps/coachmark/coachmark-styled.js.map +1 -1
  106. package/dist/features/journey/comps/coachmark/coachmark.js +24 -24
  107. package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
  108. package/dist/features/journey/hooks/use-home-page-journey.js +188 -0
  109. package/dist/features/journey/hooks/use-home-page-journey.js.map +1 -0
  110. package/dist/features/journey/journey-id/journey-id-student.js +3 -2
  111. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  112. package/dist/features/journey/use-journey/journey-context-provider.js +65 -57
  113. package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
  114. package/dist/features/journey/use-journey/journey-styled.js +10 -5
  115. package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
  116. package/dist/features/milestone/create/api/goal-submit.js +1 -1
  117. package/dist/features/milestone/create/api/goal-submit.js.map +1 -1
  118. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js +42 -49
  119. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js.map +1 -1
  120. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js +12 -4
  121. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js.map +1 -1
  122. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +128 -105
  123. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
  124. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js +14 -20
  125. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js.map +1 -1
  126. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js +26 -50
  127. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js.map +1 -1
  128. package/dist/features/milestone/create/milestone-create.js +49 -43
  129. package/dist/features/milestone/create/milestone-create.js.map +1 -1
  130. package/dist/features/milestone/create/utils/index.js +33 -38
  131. package/dist/features/milestone/create/utils/index.js.map +1 -1
  132. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js +1 -1
  133. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js.map +1 -1
  134. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js +1 -1
  135. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js.map +1 -1
  136. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js +51 -53
  137. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js.map +1 -1
  138. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js +42 -40
  139. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js.map +1 -1
  140. package/dist/features/milestone/edit/goal-edit-container.js +64 -62
  141. package/dist/features/milestone/edit/goal-edit-container.js.map +1 -1
  142. package/dist/features/milestone/edit/goal-edit-helpers.js +50 -53
  143. package/dist/features/milestone/edit/goal-edit-helpers.js.map +1 -1
  144. package/dist/features/milestone/edit/milestone-edit-container.js +54 -52
  145. package/dist/features/milestone/edit/milestone-edit-container.js.map +1 -1
  146. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js +1 -1
  147. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js.map +1 -1
  148. package/dist/features/milestone/milestone-list-container/api/get-milestones.js +9 -17
  149. package/dist/features/milestone/milestone-list-container/api/get-milestones.js.map +1 -1
  150. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js +1 -1
  151. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js.map +1 -1
  152. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +137 -105
  153. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
  154. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js +107 -123
  155. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js.map +1 -1
  156. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js +155 -175
  157. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
  158. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js +24 -10
  159. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js.map +1 -1
  160. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +80 -86
  161. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
  162. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js +10 -22
  163. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js.map +1 -1
  164. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js +70 -37
  165. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js.map +1 -1
  166. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +114 -176
  167. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
  168. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js +29 -16
  169. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js.map +1 -1
  170. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js +19 -23
  171. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js.map +1 -1
  172. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js +23 -35
  173. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js.map +1 -1
  174. package/dist/features/milestone/milestone-list-container/milestone-list-container.js +110 -113
  175. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  176. package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js +1 -1
  177. package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js.map +1 -1
  178. package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js +8 -8
  179. package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js.map +1 -1
  180. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js +1 -1
  181. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js.map +1 -1
  182. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js +114 -112
  183. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
  184. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +165 -0
  185. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +1 -0
  186. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js +25 -0
  187. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js.map +1 -0
  188. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js +85 -0
  189. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js.map +1 -0
  190. package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js +5 -5
  191. package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js.map +1 -1
  192. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js +46 -50
  193. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js.map +1 -1
  194. package/dist/features/recent-chapters/api/get-recent-chapters.js +9 -0
  195. package/dist/features/recent-chapters/api/get-recent-chapters.js.map +1 -0
  196. package/dist/features/recent-chapters/recent-chapters-styled.js +16 -0
  197. package/dist/features/recent-chapters/recent-chapters-styled.js.map +1 -0
  198. package/dist/features/recent-chapters/recent-chapters.js +39 -0
  199. package/dist/features/recent-chapters/recent-chapters.js.map +1 -0
  200. package/dist/features/sentry/constants/ignored.js +33 -0
  201. package/dist/features/sentry/constants/ignored.js.map +1 -0
  202. package/dist/features/sheet-v2/resource-list/resource-list.js +39 -0
  203. package/dist/features/sheet-v2/resource-list/resource-list.js.map +1 -0
  204. package/dist/features/sheets/resources-list/resource-item/styled.js +1 -1
  205. package/dist/features/sheets/resources-list/resource-item/styled.js.map +1 -1
  206. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js +4 -3
  207. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
  208. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +30 -29
  209. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
  210. package/dist/features/ui/constants/z-index.js +1 -1
  211. package/dist/features/ui/constants/z-index.js.map +1 -1
  212. package/dist/features/ui/context-menu/context-menu-styled.js +28 -14
  213. package/dist/features/ui/context-menu/context-menu-styled.js.map +1 -1
  214. package/dist/features/ui/context-menu/context-menu.js +32 -19
  215. package/dist/features/ui/context-menu/context-menu.js.map +1 -1
  216. package/dist/features/ui/image/image.js +12 -12
  217. package/dist/features/ui/image/image.js.map +1 -1
  218. package/dist/features/ui/inputs/base-input/base-input-styled.js +60 -61
  219. package/dist/features/ui/inputs/base-input/base-input-styled.js.map +1 -1
  220. package/dist/features/ui/inputs/base-input/base-input.js +35 -38
  221. package/dist/features/ui/inputs/base-input/base-input.js.map +1 -1
  222. package/dist/features/ui/inputs/text-input/text-input-styled.js +20 -22
  223. package/dist/features/ui/inputs/text-input/text-input-styled.js.map +1 -1
  224. package/dist/features/ui/inputs/text-input/text-input.js +32 -35
  225. package/dist/features/ui/inputs/text-input/text-input.js.map +1 -1
  226. package/dist/features/ui/lottie-animation/helper.js +5 -6
  227. package/dist/features/ui/lottie-animation/helper.js.map +1 -1
  228. package/dist/features/ui/lottie-animation/lottie-animation.js +28 -37
  229. package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
  230. package/dist/features/ui/text/text.js +27 -29
  231. package/dist/features/ui/text/text.js.map +1 -1
  232. package/dist/features/ui/theme/button.js +22 -107
  233. package/dist/features/ui/theme/button.js.map +1 -1
  234. package/dist/features/ui/theme/input.js +11 -84
  235. package/dist/features/ui/theme/input.js.map +1 -1
  236. package/dist/index.d.ts +337 -232
  237. package/dist/index.js +506 -512
  238. package/dist/index.js.map +1 -1
  239. package/dist/node_modules/date-fns/differenceInDays.js +17 -0
  240. package/dist/node_modules/date-fns/differenceInDays.js.map +1 -0
  241. package/dist/node_modules/query-string/base.js +1 -1
  242. package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +1 -0
  243. package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
  244. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
  245. package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
  246. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  247. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
  248. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  249. package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -12
  250. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  251. package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
  252. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
  253. package/dist/static/chapter-header-bg-2.c8d96894.svg +1 -0
  254. package/dist/static/competitive-arena.b9c40801.json +1 -0
  255. package/dist/static/learn.71b13323.json +1 -0
  256. package/dist/static/node-custom-test-bg.d3b757be.svg +1 -0
  257. package/dist/static/node-learn-bg.b61f815c.svg +1 -0
  258. package/dist/static/node-practice-bg.16cbaf2a.svg +1 -0
  259. package/dist/static/node-project-bg.e6a33e28.svg +1 -0
  260. package/dist/static/node-puzzle-bg.3422135c.svg +1 -0
  261. package/dist/static/node-recap-bg.546154e4.svg +1 -0
  262. package/dist/static/node-test-prep-bg.42c0b9c4.svg +1 -0
  263. package/dist/static/node-video-bg.3df3f73a.svg +1 -0
  264. package/dist/static/practice.158dd488.json +1 -0
  265. package/dist/static/project.eb665827.json +1 -0
  266. package/dist/static/puzzle.b298c7e4.json +1 -0
  267. package/dist/static/recap.0dd2c1e2.json +1 -0
  268. package/dist/static/test.803d6036.json +1 -0
  269. package/dist/static/video.b41451e2.json +1 -0
  270. package/package.json +2 -3
  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/overlay-loader/overlay-loader-styled.js +0 -29
  286. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +0 -1
  287. package/dist/features/auth/comps/overlay-loader/overlay-loader.js +0 -8
  288. package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +0 -1
  289. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +0 -25
  290. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +0 -1
  291. package/dist/features/auth/comps/resend-otp/resend-otp.js +0 -38
  292. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +0 -1
  293. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +0 -31
  294. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +0 -1
  295. package/dist/features/auth/login/social-login-methods/social-login-methods.js +0 -46
  296. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +0 -1
  297. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +0 -50
  298. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +0 -1
  299. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +0 -114
  300. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +0 -1
  301. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js +0 -27
  302. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js.map +0 -1
  303. package/dist/features/auth/signup/claim-user-account/claim-user-account.js +0 -76
  304. package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +0 -1
  305. package/dist/features/auth/signup/custom-input/custom-input-styled.js +0 -38
  306. package/dist/features/auth/signup/custom-input/custom-input-styled.js.map +0 -1
  307. package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input-styled.js +0 -86
  308. package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input-styled.js.map +0 -1
  309. package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input.js +0 -58
  310. package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input.js.map +0 -1
  311. package/dist/features/auth/signup/custom-input/email-input/email-input.js +0 -30
  312. package/dist/features/auth/signup/custom-input/email-input/email-input.js.map +0 -1
  313. package/dist/features/auth/signup/custom-input/grade-input/grade-input-styled.js +0 -31
  314. package/dist/features/auth/signup/custom-input/grade-input/grade-input-styled.js.map +0 -1
  315. package/dist/features/auth/signup/custom-input/grade-input/grade-input.js +0 -30
  316. package/dist/features/auth/signup/custom-input/grade-input/grade-input.js.map +0 -1
  317. package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper-styled.js +0 -19
  318. package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper-styled.js.map +0 -1
  319. package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper.js +0 -33
  320. package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper.js.map +0 -1
  321. package/dist/features/auth/signup/custom-input/otp-input/otp-input.js +0 -41
  322. package/dist/features/auth/signup/custom-input/otp-input/otp-input.js.map +0 -1
  323. package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-code-button.js +0 -33
  324. package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-code-button.js.map +0 -1
  325. package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-list-menu.js +0 -28
  326. package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-list-menu.js.map +0 -1
  327. package/dist/features/auth/signup/custom-input/phone-input/phone-input-styled.js +0 -29
  328. package/dist/features/auth/signup/custom-input/phone-input/phone-input-styled.js.map +0 -1
  329. package/dist/features/auth/signup/custom-input/phone-input/phone-input.js +0 -64
  330. package/dist/features/auth/signup/custom-input/phone-input/phone-input.js.map +0 -1
  331. package/dist/features/auth/signup/custom-input/student-password/student-password.js +0 -53
  332. package/dist/features/auth/signup/custom-input/student-password/student-password.js.map +0 -1
  333. package/dist/features/auth/signup/custom-input/student-username/student-username.js +0 -38
  334. package/dist/features/auth/signup/custom-input/student-username/student-username.js.map +0 -1
  335. package/dist/features/auth/signup/signup-constants.js +0 -1022
  336. package/dist/features/auth/signup/signup-constants.js.map +0 -1
  337. package/dist/features/auth/signup/signup-methods/signup-methods.js +0 -68
  338. package/dist/features/auth/signup/signup-methods/signup-methods.js.map +0 -1
  339. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +0 -19
  340. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +0 -1
  341. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +0 -61
  342. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +0 -1
  343. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +0 -24
  344. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +0 -1
  345. package/dist/features/auth/signup/user-type-selector/user-type-selector.js +0 -87
  346. package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +0 -1
  347. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js +0 -92
  348. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +0 -1
  349. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js +0 -25
  350. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +0 -1
  351. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js +0 -13
  352. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js.map +0 -1
  353. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js +0 -38
  354. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js.map +0 -1
  355. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js +0 -53
  356. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js.map +0 -1
  357. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js +0 -25
  358. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js.map +0 -1
  359. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js +0 -71
  360. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js.map +0 -1
  361. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js +0 -31
  362. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js.map +0 -1
  363. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js +0 -38
  364. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js.map +0 -1
  365. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js +0 -79
  366. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js.map +0 -1
  367. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js +0 -18
  368. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js.map +0 -1
  369. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js +0 -51
  370. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js.map +0 -1
  371. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js +0 -11
  372. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js.map +0 -1
  373. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js +0 -135
  374. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js.map +0 -1
  375. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -332
  376. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  377. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -370
  378. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  379. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -252
  380. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +0 -1
  381. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -24
  382. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +0 -1
  383. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -192
  384. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  385. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -19
  386. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  387. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -129
  388. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  389. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
  390. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  391. package/dist/node_modules/clsx/dist/clsx.js +0 -18
  392. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  393. package/dist/node_modules/date-fns/subYears.js +0 -9
  394. package/dist/node_modules/date-fns/subYears.js.map +0 -1
  395. package/dist/node_modules/decode-uri-component/index.js.map +0 -1
  396. package/dist/node_modules/react-datepicker/dist/index.es.js +0 -2700
  397. package/dist/node_modules/react-datepicker/dist/index.es.js.map +0 -1
  398. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +0 -8
  399. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +0 -1
  400. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +0 -8
  401. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +0 -1
  402. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +0 -518
  403. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +0 -1
  404. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +0 -60
  405. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +0 -1
  406. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +0 -53
  407. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +0 -1
  408. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -19
  409. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +0 -1
  410. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +0 -12
  411. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +0 -1
  412. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +0 -21
  413. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +0 -1
  414. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +0 -11
  415. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +0 -1
  416. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +0 -10
  417. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +0 -1
  418. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +0 -10
  419. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +0 -1
  420. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +0 -11
  421. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +0 -1
  422. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +0 -21
  423. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +0 -1
  424. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +0 -9
  425. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +0 -1
  426. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +0 -9
  427. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +0 -1
  428. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +0 -9
  429. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +0 -1
  430. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +0 -9
  431. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +0 -1
  432. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +0 -10
  433. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +0 -1
  434. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +0 -9
  435. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +0 -1
  436. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +0 -17
  437. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +0 -1
  438. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +0 -14
  439. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +0 -1
  440. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +0 -15
  441. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +0 -1
  442. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +0 -14
  443. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +0 -1
  444. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +0 -23
  445. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +0 -1
  446. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +0 -10
  447. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +0 -1
  448. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +0 -10
  449. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +0 -1
  450. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +0 -12
  451. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +0 -1
  452. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +0 -10
  453. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +0 -1
  454. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +0 -60
  455. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +0 -1
  456. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +0 -9
  457. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +0 -1
  458. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +0 -9
  459. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +0 -1
  460. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +0 -12
  461. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +0 -1
  462. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +0 -11
  463. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +0 -1
  464. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +0 -9
  465. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +0 -1
  466. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +0 -9
  467. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +0 -1
  468. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +0 -10
  469. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +0 -1
  470. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +0 -13
  471. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +0 -1
  472. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +0 -16
  473. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +0 -1
  474. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +0 -9
  475. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +0 -1
  476. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +0 -9
  477. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +0 -1
  478. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +0 -10
  479. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +0 -1
  480. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +0 -9
  481. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +0 -1
  482. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +0 -9
  483. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +0 -1
  484. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +0 -13
  485. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +0 -1
  486. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +0 -18
  487. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +0 -1
  488. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +0 -9
  489. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +0 -1
  490. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +0 -9
  491. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +0 -1
  492. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +0 -9
  493. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +0 -1
  494. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +0 -8
  495. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +0 -1
  496. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +0 -9
  497. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +0 -1
  498. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +0 -15
  499. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +0 -1
  500. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +0 -14
  501. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +0 -1
  502. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +0 -15
  503. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +0 -1
  504. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +0 -14
  505. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +0 -1
  506. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +0 -10
  507. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +0 -1
  508. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +0 -13
  509. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +0 -1
  510. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
  511. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +0 -1
  512. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -19
  513. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +0 -1
  514. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -32
  515. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +0 -1
  516. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -16
  517. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +0 -1
  518. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -71
  519. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +0 -1
  520. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -34
  521. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +0 -1
  522. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -12
  523. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +0 -1
  524. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -156
  525. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +0 -1
  526. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +0 -111
  527. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +0 -1
  528. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +0 -22
  529. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +0 -1
  530. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +0 -15
  531. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +0 -1
  532. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +0 -15
  533. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +0 -1
  534. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +0 -23
  535. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +0 -1
  536. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +0 -42
  537. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +0 -1
  538. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +0 -50
  539. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +0 -1
  540. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -50
  541. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +0 -1
  542. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -50
  543. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +0 -1
  544. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -62
  545. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +0 -1
  546. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -52
  547. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +0 -1
  548. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -46
  549. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +0 -1
  550. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -50
  551. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +0 -1
  552. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -31
  553. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +0 -1
  554. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -22
  555. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +0 -1
  556. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -23
  557. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +0 -1
  558. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -33
  559. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +0 -1
  560. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -33
  561. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +0 -1
  562. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -34
  563. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +0 -1
  564. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -34
  565. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +0 -1
  566. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -100
  567. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +0 -1
  568. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -49
  569. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +0 -1
  570. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -49
  571. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +0 -1
  572. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -50
  573. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +0 -1
  574. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -41
  575. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +0 -1
  576. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -75
  577. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +0 -1
  578. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -49
  579. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +0 -1
  580. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -70
  581. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +0 -1
  582. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -33
  583. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +0 -1
  584. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -72
  585. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +0 -1
  586. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -71
  587. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +0 -1
  588. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -33
  589. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +0 -1
  590. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -75
  591. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +0 -1
  592. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -72
  593. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +0 -1
  594. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -71
  595. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +0 -1
  596. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -23
  597. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +0 -1
  598. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -23
  599. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +0 -1
  600. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -50
  601. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +0 -1
  602. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +0 -68
  603. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +0 -1
  604. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +0 -104
  605. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +0 -1
  606. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +0 -88
  607. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +0 -1
  608. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +0 -123
  609. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +0 -1
  610. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +0 -13
  611. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +0 -1
  612. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +0 -10
  613. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +0 -1
  614. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +0 -12
  615. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +0 -1
  616. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +0 -11
  617. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +0 -1
  618. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +0 -10
  619. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +0 -1
  620. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +0 -14
  621. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +0 -1
  622. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +0 -11
  623. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +0 -1
  624. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +0 -10
  625. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +0 -1
  626. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +0 -11
  627. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +0 -1
  628. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +0 -11
  629. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +0 -1
  630. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +0 -10
  631. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +0 -1
  632. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +0 -9
  633. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +0 -1
  634. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +0 -12
  635. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +0 -1
  636. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +0 -10
  637. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +0 -1
  638. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +0 -10
  639. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +0 -1
  640. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +0 -12
  641. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +0 -1
  642. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +0 -14
  643. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +0 -1
  644. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +0 -10
  645. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +0 -1
  646. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +0 -9
  647. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +0 -1
  648. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +0 -9
  649. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +0 -1
  650. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +0 -9
  651. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +0 -1
  652. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +0 -9
  653. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +0 -1
  654. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +0 -9
  655. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +0 -1
  656. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +0 -9
  657. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +0 -1
  658. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +0 -19
  659. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +0 -1
  660. package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -7
  661. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
  662. package/dist/static/avatar-selected.860ee923.json +0 -1
  663. package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +0 -1
  664. package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +0 -1
  665. package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
  666. package/dist/static/dob.9ce3c15b.json +0 -1
  667. package/dist/static/error.cbe1ddde.json +0 -1
  668. package/dist/static/grade.b3730524.json +0 -1
  669. package/dist/static/key.d6846476.json +0 -1
  670. package/dist/static/mail.c30e8708.json +0 -1
  671. package/dist/static/otp.2d08f874.json +0 -1
  672. package/dist/static/otp.a3029760.json +0 -1
  673. package/dist/static/parent-avatar.772d53e0.json +0 -1
  674. package/dist/static/phone-number.0be312ea.json +0 -1
  675. package/dist/static/phone-number.84f55562.json +0 -1
  676. package/dist/static/student-avatar.524226bd.json +0 -1
  677. package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +0 -1
  678. package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +0 -1
  679. package/dist/static/user-type-selector-grid-bg.aad0b059.svg +0 -1
  680. package/dist/static/username.9e034d51.json +0 -1
  681. /package/dist/node_modules/{decode-uri-component → query-string/node_modules/decode-uri-component}/index.js +0 -0
@@ -0,0 +1,130 @@
1
+ import r from "styled-components";
2
+ import n from "../../assets/line-icons/icons/minus2.js";
3
+ import e from "../ui/layout/flex-view.js";
4
+ import i from "../ui/text/text.js";
5
+ const l = r(e)(({ theme: o }) => `
6
+ cursor: pointer;
7
+ width: 24px;
8
+ height: 24px;
9
+
10
+
11
+ &:hover {
12
+ border-radius: 50%;
13
+ background: ${o.colors.WHITE_5};
14
+ }
15
+ `), d = r(i)`
16
+ display: -webkit-box;
17
+ -webkit-line-clamp: 1;
18
+ -webkit-box-orient: vertical;
19
+ overflow: hidden;
20
+ text-overflow: ellipsis;
21
+ `, u = r(e)(({
22
+ $shouldopenonright: o,
23
+ $visible: t
24
+ }) => `
25
+ cursor: pointer;
26
+ position: absolute;
27
+ z-index: 6;
28
+ top: calc(100% + 4px);
29
+ right: ${o ? 0 : "auto"};
30
+ transform-origin: top;
31
+ transform: scaleY(${t ? 1 : 0});
32
+ opacity: ${t ? 1 : 0};
33
+ transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
34
+ box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.4);
35
+ z-index: 10;
36
+ `), x = r(e)`
37
+ border: 1px solid ${({ theme: o }) => o.colors.BLACK_T_15};
38
+
39
+ &:hover {
40
+ border: 1px solid ${({ theme: o }) => o.colors.BLACK};
41
+ }
42
+ `, b = r(e)(({ $bgImage: o }) => o ? `
43
+ background-image: url(${o});
44
+ background-repeat: no-repeat;
45
+ background-size: cover;
46
+ background-position: center;
47
+ overflow: hidden;
48
+ ` : "overflow: hidden;"), h = r(e)`
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: center;
52
+ `, w = r(e)`
53
+ position: absolute;
54
+ right: -18px;
55
+ top: -4px;
56
+ `, f = r.img(({ theme: o }) => {
57
+ const { gutter: t } = o.layout;
58
+ return `
59
+ border: 1px solid ${o.colors.BLACK_T_15};
60
+ width: ${t * 4}px;
61
+ height: ${t * 4}px;
62
+ border-radius: 50%;
63
+ `;
64
+ }), g = r(n)`
65
+ path {
66
+ stroke: ${({ theme: o }) => o.colors.WHITE};
67
+ }
68
+ `, m = r(i)`
69
+ display: -webkit-box;
70
+ -webkit-line-clamp: 2;
71
+ -webkit-box-orient: vertical;
72
+ overflow: hidden;
73
+ text-overflow: ellipsis;
74
+ white-space: break-spaces;
75
+ `;
76
+ r(e)``;
77
+ const k = r(e)(({
78
+ theme: o,
79
+ $disabled: t
80
+ }) => `
81
+ cursor: ${t ? "not-allowed" : "pointer"};
82
+
83
+ &:hover {
84
+ background: ${t ? "transparent" : o.colors.BLACK};
85
+ };
86
+
87
+ path {
88
+ fill: ${o.colors.WHITE_1};
89
+ }
90
+ `), v = r(i)`
91
+ white-space: nowrap;
92
+ overflow: hidden;
93
+ text-overflow: ellipsis;
94
+ `, C = r(e)`
95
+ position: absolute;
96
+ z-index: 6;
97
+ top: calc(100% - 36px);
98
+ right: 12px;
99
+ transform-origin: top;
100
+ transform: scaleY(1);
101
+ `, $ = r(e)`
102
+ position: absolute;
103
+ top: 0;
104
+ left: 0;
105
+ width: 100%;
106
+ height: 100%;
107
+ opacity: 0.5;
108
+ `, y = r(e)`
109
+ position: absolute;
110
+ right: 42px;
111
+ top: 24px;
112
+ `;
113
+ export {
114
+ f as BannerImage,
115
+ w as BannerImageWrapper,
116
+ $ as BlurContainer,
117
+ y as BlurFlexView,
118
+ x as CardContainer,
119
+ l as CardKebabMenuWrapper,
120
+ u as CardMenuOptionsWrapper,
121
+ k as CardOptionWrapper,
122
+ b as CardWrapper,
123
+ m as HeaderText,
124
+ h as IconWrapper,
125
+ C as MenuWrapper,
126
+ v as OptionText,
127
+ g as StyledMinus2Icon,
128
+ d as SubHeaderText
129
+ };
130
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sources":["../../../src/features/homework/styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport Minus2Icon from '../../assets/line-icons/icons/minus2';\nimport FlexView from '../ui/layout/flex-view';\nimport Text from '../ui/text/text';\n\ninterface ICardWrapperProps {\n $bgImage: string;\n}\ninterface ICardOptionsMenuWrapperProps {\n $visible: boolean;\n $shouldopenonright: boolean;\n}\n\nexport const CardKebabMenuWrapper = styled(FlexView)(({ theme }) => {\n return `\n cursor: pointer;\n width: 24px;\n height: 24px;\n \n \n &:hover {\n border-radius: 50%;\n background: ${theme.colors.WHITE_5}; \n }\n `;\n});\n\nexport const SubHeaderText = styled(Text)`\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n\nexport const CardMenuOptionsWrapper = styled(FlexView)<ICardOptionsMenuWrapperProps>(({\n $shouldopenonright,\n $visible,\n}) => {\n return `\n cursor: pointer;\n position: absolute;\n z-index: 6;\n top: calc(100% + 4px);\n right: ${$shouldopenonright ? 0 : 'auto'};\n transform-origin: top;\n transform: scaleY(${$visible ? 1 : 0});\n opacity: ${$visible ? 1 : 0};\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.4);\n z-index: 10;\n `;\n});\n\nexport const CardContainer = styled(FlexView)`\n border: 1px solid ${({ theme }) => theme.colors.BLACK_T_15};\n\n &:hover {\n border: 1px solid ${({ theme }) => theme.colors.BLACK};\n }\n`;\n\nexport const CardWrapper = styled(FlexView)<ICardWrapperProps>(({ $bgImage }) => {\n if ($bgImage) {\n return `\n background-image: url(${$bgImage});\n background-repeat: no-repeat;\n background-size: cover;\n background-position: center;\n overflow: hidden;\n `;\n }\n\n return 'overflow: hidden;';\n});\n\nexport const IconWrapper = styled(FlexView)`\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nexport const BannerImageWrapper = styled(FlexView)`\n position: absolute;\n right: -18px;\n top: -4px;\n`;\n\nexport const BannerImage = styled.img(({ theme }) => {\n const { gutter } = theme.layout;\n\n return `\n border: 1px solid ${theme.colors.BLACK_T_15};\n width: ${gutter * 4}px;\n height: ${gutter * 4}px;\n border-radius: 50%;\n `;\n});\n\nexport const StyledMinus2Icon = styled(Minus2Icon)`\n path {\n stroke: ${({ theme }) => theme.colors.WHITE};\n }\n`;\n\nexport const HeaderText = styled(Text)`\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: break-spaces;\n`;\n\ninterface ICardOptionWrapperProps {\n $disabled?: boolean;\n}\ninterface ICardOptionsProps {\n $top: number;\n $left: number;\n}\n\nexport const CardOptions = styled(FlexView)<ICardOptionsProps>``;\n\nexport const CardOptionWrapper = styled(FlexView)<ICardOptionWrapperProps>(({\n theme,\n $disabled,\n}) => {\n return `\n cursor: ${$disabled ? 'not-allowed' : 'pointer'};\n \n &:hover {\n background: ${$disabled ? 'transparent' : theme.colors.BLACK};\n };\n \n path {\n fill: ${theme.colors.WHITE_1};\n }\n `;\n});\n\nexport const OptionText = styled(Text)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n\nexport const MenuWrapper = styled(FlexView)`\n position: absolute;\n z-index: 6;\n top: calc(100% - 36px);\n right: 12px;\n transform-origin: top;\n transform: scaleY(1);\n`;\n\nexport const BlurContainer = styled(FlexView)`\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0.5;\n`;\n\nexport const BlurFlexView = styled(FlexView)`\n position: absolute;\n right: 42px;\n top: 24px;\n`;\n"],"names":["CardKebabMenuWrapper","styled","FlexView","theme","SubHeaderText","Text","CardMenuOptionsWrapper","$shouldopenonright","$visible","CardContainer","CardWrapper","$bgImage","IconWrapper","BannerImageWrapper","BannerImage","gutter","StyledMinus2Icon","Minus2Icon","HeaderText","CardOptionWrapper","$disabled","OptionText","MenuWrapper","BlurContainer","BlurFlexView"],"mappings":";;;;AAcO,MAAMA,IAAuBC,EAAOC,CAAQ,EAAE,CAAC,EAAE,OAAAC,QAC/C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAQWA,EAAM,OAAO,OAAO;AAAA;AAAA,GAGvC,GAEYC,IAAgBH,EAAOI,CAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQ3BC,IAAyBL,EAAOC,CAAQ,EAAgC,CAAC;AAAA,EACpF,oBAAAK;AAAA,EACA,UAAAC;AACF,MACS;AAAA;AAAA;AAAA;AAAA;AAAA,aAKID,IAAqB,IAAI,MAAM;AAAA;AAAA,wBAEpBC,IAAW,IAAI,CAAC;AAAA,eACzBA,IAAW,IAAI,CAAC;AAAA;AAAA;AAAA;AAAA,GAK9B,GAEYC,IAAgBR,EAAOC,CAAQ;AAAA,sBACtB,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,UAAU;AAAA;AAAA;AAAA,wBAGpC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA,GAI5CO,IAAcT,EAAOC,CAAQ,EAAqB,CAAC,EAAE,UAAAS,QAC5DA,IACK;AAAA,8BACmBA,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,QAQ7B,mBACR,GAEYC,IAAcX,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,GAM7BW,IAAqBZ,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,GAMpCY,IAAcb,EAAO,IAAI,CAAC,EAAE,OAAAE,QAAY;AAC7C,QAAA,EAAE,QAAAY,EAAO,IAAIZ,EAAM;AAElB,SAAA;AAAA,wBACeA,EAAM,OAAO,UAAU;AAAA,aAClCY,IAAS,CAAC;AAAA,cACTA,IAAS,CAAC;AAAA;AAAA;AAGxB,CAAC,GAEYC,IAAmBf,EAAOgB,CAAU;AAAA;AAAA,cAEnC,CAAC,EAAE,OAAAd,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA,GAIlCe,IAAajB,EAAOI,CAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiBVJ,EAAOC,CAAQ;AAEnC,MAAMiB,IAAoBlB,EAAOC,CAAQ,EAA2B,CAAC;AAAA,EAC1E,OAAAC;AAAA,EACA,WAAAiB;AACF,MACS;AAAA,cACKA,IAAY,gBAAgB,SAAS;AAAA;AAAA;AAAA,oBAG/BA,IAAY,gBAAgBjB,EAAM,OAAO,KAAK;AAAA;AAAA;AAAA;AAAA,cAIpDA,EAAM,OAAO,OAAO;AAAA;AAAA,GAGjC,GAEYkB,IAAapB,EAAOI,CAAI;AAAA;AAAA;AAAA;AAAA,GAMxBiB,IAAcrB,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAS7BqB,IAAgBtB,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAS/BsB,IAAevB,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;"}
@@ -1,17 +1,24 @@
1
1
  import e from "styled-components";
2
- import p from "../../../ui/layout/flex-view.js";
3
- const d = e(p)`
2
+ import r from "../../../ui/layout/flex-view.js";
3
+ const d = e(r)`
4
4
  top: ${({ $top: t }) => t}px;
5
5
  left: ${({ $left: t }) => t}px;
6
- `, l = e(p)(({ theme: t }) => {
6
+ `, a = e(r)(({ theme: t }) => {
7
7
  const { gutter: o } = t.layout;
8
8
  return `
9
9
  width: 100%;
10
10
  padding: ${o * 0.75}px ${o * 0.5}px;
11
11
  `;
12
- });
12
+ }), i = e.div`
13
+ pointer-events: none;
14
+ width: 720px;
15
+ overflow: hidden;
16
+ padding: 30px;
17
+ background-color: transparent;
18
+ `;
13
19
  export {
14
20
  d as ClonedElementWrapper,
15
- l as CoachmarkBody
21
+ a as CoachmarkBody,
22
+ i as ELementWrapper
16
23
  };
17
24
  //# sourceMappingURL=coachmark-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"coachmark-styled.js","sources":["../../../../../src/features/journey/comps/coachmark/coachmark-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const ClonedElementWrapper = styled(FlexView)<{\n $top: number;\n $left: number;\n}>`\n top: ${({ $top }) => $top}px;\n left: ${({ $left }) => $left}px;\n`;\n\nexport const CoachmarkBody = styled(FlexView)(({ theme }) => {\n const { gutter } = theme.layout;\n\n return `\n width: 100%;\n padding: ${gutter * 0.75}px ${gutter * 0.5}px;\n `;\n});\n"],"names":["ClonedElementWrapper","styled","FlexView","$top","$left","CoachmarkBody","theme","gutter"],"mappings":";;AAIa,MAAAA,IAAuBC,EAAOC,CAAQ;AAAA,SAI1C,CAAC,EAAE,MAAAC,EAAK,MAAMA,CAAI;AAAA,UACjB,CAAC,EAAE,OAAAC,EAAM,MAAMA,CAAK;AAAA,GAGjBC,IAAgBJ,EAAOC,CAAQ,EAAE,CAAC,EAAE,OAAAI,QAAY;AACrD,QAAA,EAAE,QAAAC,EAAO,IAAID,EAAM;AAElB,SAAA;AAAA;AAAA,eAEMC,IAAS,IAAI,MAAMA,IAAS,GAAG;AAAA;AAE9C,CAAC;"}
1
+ {"version":3,"file":"coachmark-styled.js","sources":["../../../../../src/features/journey/comps/coachmark/coachmark-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const ClonedElementWrapper = styled(FlexView)<{\n $top: number;\n $left: number;\n}>`\n top: ${({ $top }) => $top}px;\n left: ${({ $left }) => $left}px;\n`;\n\nexport const CoachmarkBody = styled(FlexView)(({ theme }) => {\n const { gutter } = theme.layout;\n\n return `\n width: 100%;\n padding: ${gutter * 0.75}px ${gutter * 0.5}px;\n `;\n});\n\nexport const ELementWrapper = styled.div`\n pointer-events: none;\n width: 720px;\n overflow: hidden;\n padding: 30px;\n background-color: transparent;\n`;\n"],"names":["ClonedElementWrapper","styled","FlexView","$top","$left","CoachmarkBody","theme","gutter","ELementWrapper"],"mappings":";;AAIa,MAAAA,IAAuBC,EAAOC,CAAQ;AAAA,SAI1C,CAAC,EAAE,MAAAC,EAAK,MAAMA,CAAI;AAAA,UACjB,CAAC,EAAE,OAAAC,EAAM,MAAMA,CAAK;AAAA,GAGjBC,IAAgBJ,EAAOC,CAAQ,EAAE,CAAC,EAAE,OAAAI,QAAY;AACrD,QAAA,EAAE,QAAAC,EAAO,IAAID,EAAM;AAElB,SAAA;AAAA;AAAA,eAEMC,IAAS,IAAI,MAAMA,IAAS,GAAG;AAAA;AAE9C,CAAC,GAEYC,IAAiBP,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
@@ -1,43 +1,43 @@
1
- import { jsx as o, jsxs as g, Fragment as f } from "react/jsx-runtime";
2
- import { useMemo as p } from "react";
1
+ import { jsx as e, jsxs as g, Fragment as f } from "react/jsx-runtime";
2
+ import { useMemo as d } from "react";
3
3
  import m from "../../../ui/arrow-tooltip/arrow-tooltip.js";
4
- import y from "../../../ui/nudge/nudge.js";
5
- import { BLUR_OVERLAY_Z_INDEX as T, IndicatorType as d } from "../../use-journey/constants.js";
6
- import { CoachmarkBody as P, ClonedElementWrapper as s } from "./coachmark-styled.js";
7
- import { toolTipGetXCoordinates as $ } from "./coachmark-utils.js";
4
+ import b from "../../../ui/nudge/nudge.js";
5
+ import { BLUR_OVERLAY_Z_INDEX as T, IndicatorType as p } from "../../use-journey/constants.js";
6
+ import { CoachmarkBody as w, ClonedElementWrapper as s } from "./coachmark-styled.js";
7
+ import { toolTipGetXCoordinates as y } from "./coachmark-utils.js";
8
8
  const H = ({ coachmark: t }) => {
9
- const i = t.originalElementToHighlightRef.current, { top: r = 0, left: n = 0, height: h = 0, width: C = 0 } = (i == null ? void 0 : i.getBoundingClientRect()) || {}, l = p(() => () => i ? window.getComputedStyle(i).position === "absolute" : !1, [i]), u = p(() => {
10
- const e = t.indicator;
9
+ const i = t.originalElementToHighlightRef.current, { top: r = 0, left: n = 0, height: h = 0, width: C = 0 } = (i == null ? void 0 : i.getBoundingClientRect()) || {}, l = d(() => () => i ? window.getComputedStyle(i).position === "absolute" : !1, [i]), u = d(() => {
10
+ const o = t.indicator;
11
11
  return {
12
12
  width: 264,
13
13
  // Can be over ridden
14
- tooltipXCoOrdinates: $(e.position) + (e.tooltipXCoOrdinates ?? 0),
14
+ tooltipXCoOrdinates: y(o.position) + (o.tooltipXCoOrdinates ?? 0),
15
15
  // For absolutely positioned elements
16
16
  zIndex: T + 1,
17
- ...e,
18
- tooltipItem: /* @__PURE__ */ o(P, { children: e.tooltipItem }),
17
+ ...o,
18
+ tooltipItem: /* @__PURE__ */ e(w, { children: o.tooltipItem }),
19
19
  alwaysVisible: !0,
20
20
  renderAs: "primary",
21
21
  // Deprecate this
22
22
  borderWidth: 1,
23
- arrowColor: "WHITE",
24
- borderColor: "WHITE",
25
- type: d.TOOLTIP,
23
+ arrowColor: o.arrowColor || "WHITE",
24
+ borderColor: o.borderColor || "WHITE",
25
+ type: p.TOOLTIP,
26
26
  isAnimated: !0
27
27
  };
28
- }, [t.indicator]), I = p(() => {
29
- const e = t.indicator;
28
+ }, [t.indicator]), I = d(() => {
29
+ const o = t.indicator;
30
30
  return {
31
- ...e,
32
- nudgePointerX: n + (e.nudgePointerX ?? 0),
33
- nudgePointerY: r + (e.nudgePointerY ?? 0)
31
+ ...o,
32
+ nudgePointerX: n + (o.nudgePointerX ?? 0),
33
+ nudgePointerY: r + (o.nudgePointerY ?? 0)
34
34
  };
35
35
  }, [t.indicator, n, r]);
36
- return !i || !t.isActive ? null : t.type === d.TOOLTIP ? l() ? /* @__PURE__ */ g(f, { children: [
36
+ return !i || !t.isActive ? null : t.type === p.TOOLTIP ? l() ? /* @__PURE__ */ g(f, { children: [
37
37
  t.elementToHighlight,
38
- /* @__PURE__ */ o(s, { $position: "absolute", $top: r, $left: n, children: /* @__PURE__ */ o(m, { ...u, children: /* @__PURE__ */ o("div", { style: { height: h, width: C } }) }) })
39
- ] }) : /* @__PURE__ */ o(s, { $position: "absolute", $top: r, $left: n, children: /* @__PURE__ */ o(m, { ...u, children: t.elementToHighlight }) }) : t.type === d.NUDGE ? /* @__PURE__ */ g(f, { children: [
40
- /* @__PURE__ */ o(
38
+ /* @__PURE__ */ e(s, { $position: "absolute", $top: r, $left: n, children: /* @__PURE__ */ e(m, { ...u, children: /* @__PURE__ */ e("div", { style: { height: h, width: C } }) }) })
39
+ ] }) : /* @__PURE__ */ e(s, { $position: "absolute", $top: r, $left: n, children: /* @__PURE__ */ e(m, { ...u, children: t.elementToHighlight }) }) : t.type === p.NUDGE ? /* @__PURE__ */ g(f, { children: [
40
+ /* @__PURE__ */ e(
41
41
  s,
42
42
  {
43
43
  $top: l() ? 0 : r,
@@ -46,7 +46,7 @@ const H = ({ coachmark: t }) => {
46
46
  children: t.elementToHighlight
47
47
  }
48
48
  ),
49
- /* @__PURE__ */ o(y, { zIndex: T + 1, ...I })
49
+ /* @__PURE__ */ e(b, { zIndex: T + 1, ...I })
50
50
  ] }) : null;
51
51
  };
52
52
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"coachmark.js","sources":["../../../../../src/features/journey/comps/coachmark/coachmark.tsx"],"sourcesContent":["import type { IArrowTooltipProps } from '../../../ui/arrow-tooltip/arrow-tooltip-types';\nimport type { INudgeProps } from '../../../ui/nudge/nudge-types';\nimport type { ICoachmarkProps } from '../../use-journey/journey-context-types';\n\nimport React, { useMemo } from 'react';\n\nimport ArrowTooltip from '../../../ui/arrow-tooltip/arrow-tooltip';\nimport Nudge from '../../../ui/nudge/nudge';\nimport { BLUR_OVERLAY_Z_INDEX, IndicatorType } from '../../use-journey/constants';\nimport * as S from './coachmark-styled';\nimport { toolTipGetXCoordinates } from './coachmark-utils';\n\nexport const Coachmark: React.FC<{ coachmark: ICoachmarkProps }> = ({ coachmark }) => {\n const targetElement = coachmark.originalElementToHighlightRef.current;\n const { top = 0, left = 0, height = 0, width = 0 } = targetElement?.getBoundingClientRect() || {};\n\n const isAbsolute = useMemo(() => {\n return () => {\n if (!targetElement) return false;\n\n return window.getComputedStyle(targetElement).position === 'absolute';\n };\n }, [targetElement]);\n\n const tooltipProps = useMemo(() => {\n const arrowToolTipProps = coachmark.indicator as IArrowTooltipProps;\n\n return {\n width: 264, // Can be over ridden\n tooltipXCoOrdinates:\n toolTipGetXCoordinates(arrowToolTipProps.position) +\n (arrowToolTipProps.tooltipXCoOrdinates ?? 0), // For absolutely positioned elements\n zIndex: BLUR_OVERLAY_Z_INDEX + 1,\n ...arrowToolTipProps,\n tooltipItem: <S.CoachmarkBody>{arrowToolTipProps.tooltipItem}</S.CoachmarkBody>,\n alwaysVisible: true,\n renderAs: 'primary', // Deprecate this\n borderWidth: 1,\n arrowColor: 'WHITE',\n borderColor: 'WHITE',\n type: IndicatorType.TOOLTIP,\n isAnimated: true,\n } as IArrowTooltipProps;\n }, [coachmark.indicator]);\n\n const nudgeProps = useMemo(() => {\n const props: INudgeProps = coachmark.indicator as INudgeProps;\n\n return {\n ...props,\n nudgePointerX: left + (props.nudgePointerX ?? 0),\n nudgePointerY: top + (props.nudgePointerY ?? 0),\n };\n }, [coachmark.indicator, left, top]);\n\n if (!targetElement || !coachmark.isActive) {\n return null;\n }\n\n if (coachmark.type === IndicatorType.TOOLTIP) {\n if (isAbsolute()) {\n return (\n <>\n {coachmark.elementToHighlight}\n <S.ClonedElementWrapper $position=\"absolute\" $top={top} $left={left}>\n <ArrowTooltip {...tooltipProps}>\n <div style={{ height, width }} />\n </ArrowTooltip>\n </S.ClonedElementWrapper>\n </>\n );\n }\n\n return (\n <S.ClonedElementWrapper $position=\"absolute\" $top={top} $left={left}>\n <ArrowTooltip {...tooltipProps}>{coachmark.elementToHighlight}</ArrowTooltip>\n </S.ClonedElementWrapper>\n );\n }\n\n if (coachmark.type === IndicatorType.NUDGE) {\n return (\n <>\n <S.ClonedElementWrapper\n $top={isAbsolute() ? 0 : top}\n $left={isAbsolute() ? 0 : left}\n $position={isAbsolute() ? 'relative' : 'absolute'}\n >\n {coachmark.elementToHighlight}\n </S.ClonedElementWrapper>\n <Nudge zIndex={BLUR_OVERLAY_Z_INDEX + 1} {...nudgeProps} />\n </>\n );\n }\n\n return null;\n};\n"],"names":["Coachmark","coachmark","targetElement","top","left","height","width","isAbsolute","useMemo","tooltipProps","arrowToolTipProps","toolTipGetXCoordinates","BLUR_OVERLAY_Z_INDEX","jsx","S.CoachmarkBody","IndicatorType","nudgeProps","props","jsxs","Fragment","S.ClonedElementWrapper","ArrowTooltip","Nudge"],"mappings":";;;;;;;AAYO,MAAMA,IAAsD,CAAC,EAAE,WAAAC,QAAgB;AAC9E,QAAAC,IAAgBD,EAAU,8BAA8B,SACxD,EAAE,KAAAE,IAAM,GAAG,MAAAC,IAAO,GAAG,QAAAC,IAAS,GAAG,OAAAC,IAAQ,EAAE,KAAIJ,KAAA,gBAAAA,EAAe,4BAA2B,CAAA,GAEzFK,IAAaC,EAAQ,MAClB,MACAN,IAEE,OAAO,iBAAiBA,CAAa,EAAE,aAAa,aAFhC,IAI5B,CAACA,CAAa,CAAC,GAEZO,IAAeD,EAAQ,MAAM;AACjC,UAAME,IAAoBT,EAAU;AAE7B,WAAA;AAAA,MACL,OAAO;AAAA;AAAA,MACP,qBACEU,EAAuBD,EAAkB,QAAQ,KAChDA,EAAkB,uBAAuB;AAAA;AAAA,MAC5C,QAAQE,IAAuB;AAAA,MAC/B,GAAGF;AAAA,MACH,aAAc,gBAAAG,EAAAC,GAAA,EAAiB,YAAkB,aAAY;AAAA,MAC7D,eAAe;AAAA,MACf,UAAU;AAAA;AAAA,MACV,aAAa;AAAA,MACb,YAAY;AAAA,MACZ,aAAa;AAAA,MACb,MAAMC,EAAc;AAAA,MACpB,YAAY;AAAA,IAAA;AAAA,EACd,GACC,CAACd,EAAU,SAAS,CAAC,GAElBe,IAAaR,EAAQ,MAAM;AAC/B,UAAMS,IAAqBhB,EAAU;AAE9B,WAAA;AAAA,MACL,GAAGgB;AAAA,MACH,eAAeb,KAAQa,EAAM,iBAAiB;AAAA,MAC9C,eAAed,KAAOc,EAAM,iBAAiB;AAAA,IAAA;AAAA,KAE9C,CAAChB,EAAU,WAAWG,GAAMD,CAAG,CAAC;AAEnC,SAAI,CAACD,KAAiB,CAACD,EAAU,WACxB,OAGLA,EAAU,SAASc,EAAc,UAC/BR,MAGG,gBAAAW,EAAAC,GAAA,EAAA,UAAA;AAAA,IAAUlB,EAAA;AAAA,IACX,gBAAAY,EAACO,GAAA,EAAuB,WAAU,YAAW,MAAMjB,GAAK,OAAOC,GAC7D,UAAA,gBAAAS,EAACQ,KAAc,GAAGZ,GAChB,4BAAC,OAAI,EAAA,OAAO,EAAE,QAAAJ,GAAQ,OAAAC,EAAA,GAAS,EAAA,CACjC,EACF,CAAA;AAAA,EACF,EAAA,CAAA,sBAKDc,GAAA,EAAuB,WAAU,YAAW,MAAMjB,GAAK,OAAOC,GAC7D,4BAACiB,GAAc,EAAA,GAAGZ,GAAe,UAAAR,EAAU,oBAAmB,EAChE,CAAA,IAIAA,EAAU,SAASc,EAAc,QAG/B,gBAAAG,EAAAC,GAAA,EAAA,UAAA;AAAA,IAAA,gBAAAN;AAAA,MAACO;AAAAA,MAAA;AAAA,QACC,MAAMb,MAAe,IAAIJ;AAAA,QACzB,OAAOI,MAAe,IAAIH;AAAA,QAC1B,WAAWG,MAAe,aAAa;AAAA,QAEtC,UAAUN,EAAA;AAAA,MAAA;AAAA,IACb;AAAA,sBACCqB,GAAM,EAAA,QAAQV,IAAuB,GAAI,GAAGI,GAAY;AAAA,EAC3D,EAAA,CAAA,IAIG;AACT;"}
1
+ {"version":3,"file":"coachmark.js","sources":["../../../../../src/features/journey/comps/coachmark/coachmark.tsx"],"sourcesContent":["import type { IArrowTooltipProps } from '../../../ui/arrow-tooltip/arrow-tooltip-types';\nimport type { INudgeProps } from '../../../ui/nudge/nudge-types';\nimport type { ICoachmarkProps } from '../../use-journey/journey-context-types';\n\nimport React, { useMemo } from 'react';\n\nimport ArrowTooltip from '../../../ui/arrow-tooltip/arrow-tooltip';\nimport Nudge from '../../../ui/nudge/nudge';\nimport { BLUR_OVERLAY_Z_INDEX, IndicatorType } from '../../use-journey/constants';\nimport * as S from './coachmark-styled';\nimport { toolTipGetXCoordinates } from './coachmark-utils';\n\nexport const Coachmark: React.FC<{ coachmark: ICoachmarkProps }> = ({ coachmark }) => {\n const targetElement = coachmark.originalElementToHighlightRef.current;\n const { top = 0, left = 0, height = 0, width = 0 } = targetElement?.getBoundingClientRect() || {};\n\n const isAbsolute = useMemo(() => {\n return () => {\n if (!targetElement) return false;\n\n return window.getComputedStyle(targetElement).position === 'absolute';\n };\n }, [targetElement]);\n\n const tooltipProps = useMemo(() => {\n const arrowToolTipProps = coachmark.indicator as IArrowTooltipProps;\n\n return {\n width: 264, // Can be over ridden\n tooltipXCoOrdinates:\n toolTipGetXCoordinates(arrowToolTipProps.position) +\n (arrowToolTipProps.tooltipXCoOrdinates ?? 0), // For absolutely positioned elements\n zIndex: BLUR_OVERLAY_Z_INDEX + 1,\n ...arrowToolTipProps,\n tooltipItem: <S.CoachmarkBody>{arrowToolTipProps.tooltipItem}</S.CoachmarkBody>,\n alwaysVisible: true,\n renderAs: 'primary', // Deprecate this\n borderWidth: 1,\n arrowColor: arrowToolTipProps.arrowColor || 'WHITE',\n borderColor: arrowToolTipProps.borderColor || 'WHITE',\n type: IndicatorType.TOOLTIP,\n isAnimated: true,\n } as IArrowTooltipProps;\n }, [coachmark.indicator]);\n\n const nudgeProps = useMemo(() => {\n const props: INudgeProps = coachmark.indicator as INudgeProps;\n\n return {\n ...props,\n nudgePointerX: left + (props.nudgePointerX ?? 0),\n nudgePointerY: top + (props.nudgePointerY ?? 0),\n };\n }, [coachmark.indicator, left, top]);\n\n if (!targetElement || !coachmark.isActive) {\n return null;\n }\n\n if (coachmark.type === IndicatorType.TOOLTIP) {\n if (isAbsolute()) {\n return (\n <>\n {coachmark.elementToHighlight}\n <S.ClonedElementWrapper $position=\"absolute\" $top={top} $left={left}>\n <ArrowTooltip {...tooltipProps}>\n <div style={{ height, width }} />\n </ArrowTooltip>\n </S.ClonedElementWrapper>\n </>\n );\n }\n\n return (\n <S.ClonedElementWrapper $position=\"absolute\" $top={top} $left={left}>\n <ArrowTooltip {...tooltipProps}>{coachmark.elementToHighlight}</ArrowTooltip>\n </S.ClonedElementWrapper>\n );\n }\n\n if (coachmark.type === IndicatorType.NUDGE) {\n return (\n <>\n <S.ClonedElementWrapper\n $top={isAbsolute() ? 0 : top}\n $left={isAbsolute() ? 0 : left}\n $position={isAbsolute() ? 'relative' : 'absolute'}\n >\n {coachmark.elementToHighlight}\n </S.ClonedElementWrapper>\n <Nudge zIndex={BLUR_OVERLAY_Z_INDEX + 1} {...nudgeProps} />\n </>\n );\n }\n\n return null;\n};\n"],"names":["Coachmark","coachmark","targetElement","top","left","height","width","isAbsolute","useMemo","tooltipProps","arrowToolTipProps","toolTipGetXCoordinates","BLUR_OVERLAY_Z_INDEX","jsx","S.CoachmarkBody","IndicatorType","nudgeProps","props","jsxs","Fragment","S.ClonedElementWrapper","ArrowTooltip","Nudge"],"mappings":";;;;;;;AAYO,MAAMA,IAAsD,CAAC,EAAE,WAAAC,QAAgB;AAC9E,QAAAC,IAAgBD,EAAU,8BAA8B,SACxD,EAAE,KAAAE,IAAM,GAAG,MAAAC,IAAO,GAAG,QAAAC,IAAS,GAAG,OAAAC,IAAQ,EAAE,KAAIJ,KAAA,gBAAAA,EAAe,4BAA2B,CAAA,GAEzFK,IAAaC,EAAQ,MAClB,MACAN,IAEE,OAAO,iBAAiBA,CAAa,EAAE,aAAa,aAFhC,IAI5B,CAACA,CAAa,CAAC,GAEZO,IAAeD,EAAQ,MAAM;AACjC,UAAME,IAAoBT,EAAU;AAE7B,WAAA;AAAA,MACL,OAAO;AAAA;AAAA,MACP,qBACEU,EAAuBD,EAAkB,QAAQ,KAChDA,EAAkB,uBAAuB;AAAA;AAAA,MAC5C,QAAQE,IAAuB;AAAA,MAC/B,GAAGF;AAAA,MACH,aAAc,gBAAAG,EAAAC,GAAA,EAAiB,YAAkB,aAAY;AAAA,MAC7D,eAAe;AAAA,MACf,UAAU;AAAA;AAAA,MACV,aAAa;AAAA,MACb,YAAYJ,EAAkB,cAAc;AAAA,MAC5C,aAAaA,EAAkB,eAAe;AAAA,MAC9C,MAAMK,EAAc;AAAA,MACpB,YAAY;AAAA,IAAA;AAAA,EACd,GACC,CAACd,EAAU,SAAS,CAAC,GAElBe,IAAaR,EAAQ,MAAM;AAC/B,UAAMS,IAAqBhB,EAAU;AAE9B,WAAA;AAAA,MACL,GAAGgB;AAAA,MACH,eAAeb,KAAQa,EAAM,iBAAiB;AAAA,MAC9C,eAAed,KAAOc,EAAM,iBAAiB;AAAA,IAAA;AAAA,KAE9C,CAAChB,EAAU,WAAWG,GAAMD,CAAG,CAAC;AAEnC,SAAI,CAACD,KAAiB,CAACD,EAAU,WACxB,OAGLA,EAAU,SAASc,EAAc,UAC/BR,MAGG,gBAAAW,EAAAC,GAAA,EAAA,UAAA;AAAA,IAAUlB,EAAA;AAAA,IACX,gBAAAY,EAACO,GAAA,EAAuB,WAAU,YAAW,MAAMjB,GAAK,OAAOC,GAC7D,UAAA,gBAAAS,EAACQ,KAAc,GAAGZ,GAChB,4BAAC,OAAI,EAAA,OAAO,EAAE,QAAAJ,GAAQ,OAAAC,EAAA,GAAS,EAAA,CACjC,EACF,CAAA;AAAA,EACF,EAAA,CAAA,sBAKDc,GAAA,EAAuB,WAAU,YAAW,MAAMjB,GAAK,OAAOC,GAC7D,4BAACiB,GAAc,EAAA,GAAGZ,GAAe,UAAAR,EAAU,oBAAmB,EAChE,CAAA,IAIAA,EAAU,SAASc,EAAc,QAG/B,gBAAAG,EAAAC,GAAA,EAAA,UAAA;AAAA,IAAA,gBAAAN;AAAA,MAACO;AAAAA,MAAA;AAAA,QACC,MAAMb,MAAe,IAAIJ;AAAA,QACzB,OAAOI,MAAe,IAAIH;AAAA,QAC1B,WAAWG,MAAe,aAAa;AAAA,QAEtC,UAAUN,EAAA;AAAA,MAAA;AAAA,IACb;AAAA,sBACCqB,GAAM,EAAA,QAAQV,IAAuB,GAAI,GAAGI,GAAY;AAAA,EAC3D,EAAA,CAAA,IAIG;AACT;"}
@@ -0,0 +1,188 @@
1
+ import { jsx as e, jsxs as p, Fragment as S } from "react/jsx-runtime";
2
+ import { useRef as a, useCallback as L, useMemo as B, useEffect as N } from "react";
3
+ import G from "../../homework/homework-card.js";
4
+ import P from "../../homework/hw-card-list/hw-card-list.js";
5
+ import $ from "../../recent-chapters/recent-chapters.js";
6
+ import h from "../../ui/buttons/button/button.js";
7
+ import s from "../../ui/layout/flex-view.js";
8
+ import u from "../../ui/text/text.js";
9
+ import { ELementWrapper as H } from "../comps/coachmark/coachmark-styled.js";
10
+ import { JOURNEY_ID_STUDENT as T } from "../journey-id/journey-id-student.js";
11
+ import { IndicatorType as C } from "../use-journey/constants.js";
12
+ import { useJourney as J } from "../use-journey/use-journey.js";
13
+ const V = () => {
14
+ const o = T.HOMEPAGE_JOURNEY, i = a(null), n = a(null), l = a(null), c = a(null), f = a([]), { nextCoachmark: r, setJourney: A, endJourney: w, addCoachmark: E } = J(), b = L(
15
+ (t, d, m) => {
16
+ c.current ? (E(T.HOMEPAGE_JOURNEY, {
17
+ originalElementToHighlightRef: c,
18
+ elementToHighlight: /* @__PURE__ */ e(s, { $widthX: 45, children: /* @__PURE__ */ e(
19
+ $,
20
+ {
21
+ studentId: t,
22
+ courseStream: m,
23
+ userType: d ? "STUDENT" : "TEACHER",
24
+ onChapterClick: () => null
25
+ }
26
+ ) }),
27
+ isActive: !1,
28
+ type: C.TOOLTIP,
29
+ indicator: {
30
+ tooltipItem: /* @__PURE__ */ p(s, { $flexRowGapX: 0.75, $justifyContent: "flex-start", children: [
31
+ /* @__PURE__ */ e(u, { $renderAs: "ab2-bold", children: "Access all your recent chapters in one place." }),
32
+ /* @__PURE__ */ e(
33
+ h,
34
+ {
35
+ label: "Got it",
36
+ size: "xsmall",
37
+ widthX: 6,
38
+ renderAs: "secondary",
39
+ onClick: () => w(T.HOMEPAGE_JOURNEY)
40
+ }
41
+ )
42
+ ] }),
43
+ position: "top",
44
+ renderAs: "primary",
45
+ tooltipXCoOrdinates: -227,
46
+ tooltipYCoOrdinates: 12,
47
+ arrowXCoOrdinates: -110,
48
+ backgroundColor: "YELLOW_4",
49
+ borderColor: "BLACK",
50
+ arrowColor: "BLACK",
51
+ arrowSize: 12,
52
+ width: 264
53
+ }
54
+ }), r(o, !1, 0, !0)) : w(o);
55
+ },
56
+ [r, o, E, w]
57
+ ), y = L(
58
+ ({ hwDetails: t, studentId: d, stream: m, userType: g }) => {
59
+ const { title: k, subtext: X } = t[0], O = g === "STUDENT";
60
+ if (!(i != null && i.current) || !(n != null && n.current) || !(l != null && l.current))
61
+ return;
62
+ const I = [
63
+ {
64
+ originalElementToHighlightRef: i,
65
+ isActive: !1,
66
+ type: C.TOOLTIP,
67
+ elementToHighlight: /* @__PURE__ */ e(S, {}),
68
+ indicator: {
69
+ position: "top",
70
+ tooltipXCoOrdinates: 360,
71
+ tooltipYCoOrdinates: 30,
72
+ backgroundColor: "BLUE_4",
73
+ borderColor: "BLACK",
74
+ arrowColor: "BLACK",
75
+ arrowSize: 12,
76
+ width: 264,
77
+ tooltipItem: /* @__PURE__ */ p(s, { $flexRowGapX: 0.75, children: [
78
+ /* @__PURE__ */ e(u, { $renderAs: "ab2-bold", children: O ? "Welcome to the all new learning homepage." : "Welcome to the all new tutoring homepage." }),
79
+ /* @__PURE__ */ e(
80
+ h,
81
+ {
82
+ label: "Next",
83
+ size: "xsmall",
84
+ widthX: 6,
85
+ renderAs: "secondary",
86
+ onClick: () => r(o, !1, 0, !0)
87
+ }
88
+ )
89
+ ] })
90
+ }
91
+ },
92
+ {
93
+ originalElementToHighlightRef: n,
94
+ elementToHighlight: /* @__PURE__ */ e(H, { children: /* @__PURE__ */ e(P, { userType: g, studentId: d, stream: m }) }),
95
+ type: C.TOOLTIP,
96
+ indicator: {
97
+ position: "top",
98
+ tooltipXCoOrdinates: -197,
99
+ tooltipYCoOrdinates: -12,
100
+ arrowXCoOrdinates: -110,
101
+ backgroundColor: "GREEN_4",
102
+ borderColor: "BLACK",
103
+ arrowColor: "BLACK",
104
+ width: 264,
105
+ arrowSize: 12,
106
+ tooltipItem: /* @__PURE__ */ p(s, { $flexRowGapX: 0.75, children: [
107
+ /* @__PURE__ */ e(u, { $renderAs: "ab2-bold", children: O ? "Homework is now easy to access and easy to complete!" : "Homework is now easy to access and easy to review!" }),
108
+ /* @__PURE__ */ e(
109
+ h,
110
+ {
111
+ label: "Next",
112
+ size: "xsmall",
113
+ widthX: 6,
114
+ renderAs: "secondary",
115
+ onClick: () => r(o, !1, 0, !0)
116
+ }
117
+ )
118
+ ] })
119
+ },
120
+ isActive: !1
121
+ },
122
+ {
123
+ originalElementToHighlightRef: l,
124
+ elementToHighlight: /* @__PURE__ */ e(H, { children: /* @__PURE__ */ e(
125
+ G,
126
+ {
127
+ isInQueue: !1,
128
+ userType: g,
129
+ header: k,
130
+ subHeader: X || "",
131
+ nodeData: t[0],
132
+ renderAs: "homework",
133
+ shouldOpenOnRight: !1
134
+ }
135
+ ) }),
136
+ type: C.TOOLTIP,
137
+ indicator: {
138
+ position: "top",
139
+ tooltipXCoOrdinates: -35,
140
+ tooltipYCoOrdinates: -7,
141
+ backgroundColor: "PURPLE_4",
142
+ borderColor: "BLACK",
143
+ arrowColor: "BLACK",
144
+ arrowXCoOrdinates: -97,
145
+ arrowSize: 12,
146
+ width: 264,
147
+ tooltipItem: /* @__PURE__ */ p(s, { $flexRowGapX: 0.75, children: [
148
+ /* @__PURE__ */ e(u, { $renderAs: "ab2-bold", children: "Track homework status and their due dates." }),
149
+ /* @__PURE__ */ e(
150
+ h,
151
+ {
152
+ label: c.current ? "Next" : "Got it",
153
+ size: "xsmall",
154
+ widthX: 6,
155
+ renderAs: "secondary",
156
+ onClick: () => b(d, O, m)
157
+ }
158
+ )
159
+ ] })
160
+ },
161
+ isActive: !1
162
+ }
163
+ ];
164
+ A(o, I);
165
+ const x = setTimeout(() => {
166
+ clearTimeout(x), r(o);
167
+ }, 200);
168
+ f.current.push(x);
169
+ },
170
+ [A, o, r, b]
171
+ ), R = B(
172
+ () => ({
173
+ homepageRef: i,
174
+ homeworkRef: n,
175
+ individualHomeworkRef: l,
176
+ recentChaptersRef: c,
177
+ startJourney: y
178
+ }),
179
+ [y]
180
+ );
181
+ return N(() => () => {
182
+ f.current.forEach((t) => clearTimeout(t)), f.current = [];
183
+ }, []), R;
184
+ };
185
+ export {
186
+ V as useHomePageJourney
187
+ };
188
+ //# sourceMappingURL=use-home-page-journey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-home-page-journey.js","sources":["../../../../src/features/journey/hooks/use-home-page-journey.tsx"],"sourcesContent":["import type { IHomeworkData } from '../../homework/hw-card-list/api/get-homeworks';\nimport type { TCourseStream } from '../../milestone/create/milestone-create-types';\nimport type { IArrowTooltipProps } from '../../ui/arrow-tooltip/arrow-tooltip-types';\nimport type { IHomepageStartJourneyProps } from '../types/homepage-journey-types';\nimport type { ICoachmarkProps } from '../use-journey/journey-context-types';\n\nimport { useCallback, useEffect, useMemo, useRef } from 'react';\n\nimport HomeworkCard from '../../homework/homework-card';\nimport HWCardList from '../../homework/hw-card-list/hw-card-list';\nimport RecentChapters from '../../recent-chapters/recent-chapters';\nimport Button from '../../ui/buttons/button/button';\nimport FlexView from '../../ui/layout/flex-view';\nimport Text from '../../ui/text/text';\nimport { ELementWrapper } from '../comps/coachmark/coachmark-styled';\nimport { JOURNEY_ID_STUDENT } from '../journey-id/journey-id-student';\nimport { IndicatorType } from '../use-journey/constants';\nimport { useJourney } from '../use-journey/use-journey';\n\nexport const useHomePageJourney = () => {\n const journeyId = JOURNEY_ID_STUDENT.HOMEPAGE_JOURNEY;\n\n const homepageRef = useRef<HTMLDivElement>(null);\n const homeworkRef = useRef<HTMLDivElement>(null);\n const individualHomeworkRef = useRef<HTMLDivElement>(null);\n const recentChaptersRef = useRef<HTMLDivElement>(null);\n const timerRefs = useRef<ReturnType<typeof setTimeout>[]>([]);\n const { nextCoachmark, setJourney, endJourney, addCoachmark } = useJourney();\n\n const handleLastStep = useCallback(\n (userId: string, isStudent: boolean, courseValue: string) => {\n if (recentChaptersRef.current) {\n addCoachmark(JOURNEY_ID_STUDENT.HOMEPAGE_JOURNEY, {\n originalElementToHighlightRef: recentChaptersRef,\n elementToHighlight: (\n <FlexView $widthX={45}>\n <RecentChapters\n studentId={userId}\n courseStream={courseValue as TCourseStream}\n userType={isStudent ? 'STUDENT' : 'TEACHER'}\n onChapterClick={() => null}\n />\n </FlexView>\n ),\n isActive: false,\n type: IndicatorType.TOOLTIP,\n indicator: {\n tooltipItem: (\n <FlexView $flexRowGapX={0.75} $justifyContent=\"flex-start\">\n <Text $renderAs=\"ab2-bold\">Access all your recent chapters in one place.</Text>\n <Button\n label=\"Got it\"\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={() => endJourney(JOURNEY_ID_STUDENT.HOMEPAGE_JOURNEY)}\n />\n </FlexView>\n ),\n position: 'top',\n renderAs: 'primary',\n tooltipXCoOrdinates: -227,\n tooltipYCoOrdinates: 12,\n arrowXCoOrdinates: -110,\n backgroundColor: 'YELLOW_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n } as IArrowTooltipProps,\n });\n nextCoachmark(journeyId, false, 0, true);\n } else {\n endJourney(journeyId);\n }\n },\n [nextCoachmark, journeyId, addCoachmark, endJourney],\n );\n\n const startJourney = useCallback(\n ({ hwDetails, studentId, stream, userType }: IHomepageStartJourneyProps) => {\n const { title, subtext } = hwDetails[0] as IHomeworkData;\n const isStudent = userType === 'STUDENT';\n\n if (!homepageRef?.current || !homeworkRef?.current || !individualHomeworkRef?.current) {\n return;\n }\n\n const homepageSteps: ICoachmarkProps[] = [\n {\n originalElementToHighlightRef: homepageRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: <></>,\n indicator: {\n position: 'top',\n tooltipXCoOrdinates: 360,\n tooltipYCoOrdinates: 30,\n backgroundColor: 'BLUE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <FlexView $flexRowGapX={0.75}>\n <Text $renderAs=\"ab2-bold\">\n {isStudent\n ? 'Welcome to the all new learning homepage.'\n : 'Welcome to the all new tutoring homepage.'}\n </Text>\n <Button\n label=\"Next\"\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={() => nextCoachmark(journeyId, false, 0, true)}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps,\n },\n {\n originalElementToHighlightRef: homeworkRef,\n elementToHighlight: (\n <ELementWrapper>\n <HWCardList userType={userType} studentId={studentId} stream={stream} />\n </ELementWrapper>\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'top',\n tooltipXCoOrdinates: -197,\n tooltipYCoOrdinates: -12,\n arrowXCoOrdinates: -110,\n backgroundColor: 'GREEN_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n width: 264,\n arrowSize: 12,\n tooltipItem: (\n <FlexView $flexRowGapX={0.75}>\n <Text $renderAs=\"ab2-bold\">\n {isStudent\n ? 'Homework is now easy to access and easy to complete!'\n : 'Homework is now easy to access and easy to review!'}\n </Text>\n <Button\n label=\"Next\"\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={() => nextCoachmark(journeyId, false, 0, true)}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n {\n originalElementToHighlightRef: individualHomeworkRef,\n elementToHighlight: (\n <ELementWrapper>\n <HomeworkCard\n isInQueue={false}\n userType={userType}\n header={title}\n subHeader={subtext || ''}\n nodeData={hwDetails[0] as IHomeworkData}\n renderAs=\"homework\"\n shouldOpenOnRight={false}\n />\n </ELementWrapper>\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'top',\n tooltipXCoOrdinates: -35,\n tooltipYCoOrdinates: -7,\n backgroundColor: 'PURPLE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowXCoOrdinates: -97,\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <FlexView $flexRowGapX={0.75}>\n <Text $renderAs=\"ab2-bold\">Track homework status and their due dates.</Text>\n <Button\n label={recentChaptersRef.current ? 'Next' : 'Got it'}\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={() => handleLastStep(studentId, isStudent, stream)}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n ];\n\n setJourney(journeyId, homepageSteps);\n\n const delayBeforeStart = setTimeout(() => {\n clearTimeout(delayBeforeStart);\n nextCoachmark(journeyId);\n }, 200);\n\n timerRefs.current.push(delayBeforeStart); // Store to cleanup later\n },\n [setJourney, journeyId, nextCoachmark, handleLastStep],\n );\n\n const data = useMemo(\n () => ({\n homepageRef,\n homeworkRef,\n individualHomeworkRef,\n recentChaptersRef,\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 }, []);\n\n return data;\n};\n"],"names":["useHomePageJourney","journeyId","JOURNEY_ID_STUDENT","homepageRef","useRef","homeworkRef","individualHomeworkRef","recentChaptersRef","timerRefs","nextCoachmark","setJourney","endJourney","addCoachmark","useJourney","handleLastStep","useCallback","userId","isStudent","courseValue","jsx","FlexView","RecentChapters","IndicatorType","jsxs","Text","Button","startJourney","hwDetails","studentId","stream","userType","title","subtext","homepageSteps","Fragment","ELementWrapper","HWCardList","HomeworkCard","delayBeforeStart","data","useMemo","useEffect","timer"],"mappings":";;;;;;;;;;;;AAmBO,MAAMA,IAAqB,MAAM;AACtC,QAAMC,IAAYC,EAAmB,kBAE/BC,IAAcC,EAAuB,IAAI,GACzCC,IAAcD,EAAuB,IAAI,GACzCE,IAAwBF,EAAuB,IAAI,GACnDG,IAAoBH,EAAuB,IAAI,GAC/CI,IAAYJ,EAAwC,CAAA,CAAE,GACtD,EAAE,eAAAK,GAAe,YAAAC,GAAY,YAAAC,GAAY,cAAAC,EAAA,IAAiBC,KAE1DC,IAAiBC;AAAA,IACrB,CAACC,GAAgBC,GAAoBC,MAAwB;AAC3D,MAAIX,EAAkB,WACpBK,EAAaV,EAAmB,kBAAkB;AAAA,QAChD,+BAA+BK;AAAA,QAC/B,oBACE,gBAAAY,EAACC,GAAS,EAAA,SAAS,IACjB,UAAA,gBAAAD;AAAA,UAACE;AAAA,UAAA;AAAA,YACC,WAAWL;AAAA,YACX,cAAcE;AAAA,YACd,UAAUD,IAAY,YAAY;AAAA,YAClC,gBAAgB,MAAM;AAAA,UAAA;AAAA,QAAA,GAE1B;AAAA,QAEF,UAAU;AAAA,QACV,MAAMK,EAAc;AAAA,QACpB,WAAW;AAAA,UACT,aACG,gBAAAC,EAAAH,GAAA,EAAS,cAAc,MAAM,iBAAgB,cAC5C,UAAA;AAAA,YAAC,gBAAAD,EAAAK,GAAA,EAAK,WAAU,YAAW,UAA6C,iDAAA;AAAA,YACxE,gBAAAL;AAAA,cAACM;AAAA,cAAA;AAAA,gBACC,OAAM;AAAA,gBACN,MAAK;AAAA,gBACL,QAAQ;AAAA,gBACR,UAAS;AAAA,gBACT,SAAS,MAAMd,EAAWT,EAAmB,gBAAgB;AAAA,cAAA;AAAA,YAC/D;AAAA,UAAA,GACF;AAAA,UAEF,UAAU;AAAA,UACV,UAAU;AAAA,UACV,qBAAqB;AAAA,UACrB,qBAAqB;AAAA,UACrB,mBAAmB;AAAA,UACnB,iBAAiB;AAAA,UACjB,aAAa;AAAA,UACb,YAAY;AAAA,UACZ,WAAW;AAAA,UACX,OAAO;AAAA,QACT;AAAA,MAAA,CACD,GACaO,EAAAR,GAAW,IAAO,GAAG,EAAI,KAEvCU,EAAWV,CAAS;AAAA,IAExB;AAAA,IACA,CAACQ,GAAeR,GAAWW,GAAcD,CAAU;AAAA,EAAA,GAG/Ce,IAAeX;AAAA,IACnB,CAAC,EAAE,WAAAY,GAAW,WAAAC,GAAW,QAAAC,GAAQ,UAAAC,QAA2C;AAC1E,YAAM,EAAE,OAAAC,GAAO,SAAAC,EAAQ,IAAIL,EAAU,CAAC,GAChCV,IAAYa,MAAa;AAE3B,UAAA,EAAC3B,KAAA,QAAAA,EAAa,YAAW,EAACE,KAAA,QAAAA,EAAa,YAAW,EAACC,KAAA,QAAAA,EAAuB;AAC5E;AAGF,YAAM2B,IAAmC;AAAA,QACvC;AAAA,UACE,+BAA+B9B;AAAA,UAC/B,UAAU;AAAA,UACV,MAAMmB,EAAc;AAAA,UACpB,oBAAsB,gBAAAH,EAAAe,GAAA,EAAA;AAAA,UACtB,WAAW;AAAA,YACT,UAAU;AAAA,YACV,qBAAqB;AAAA,YACrB,qBAAqB;AAAA,YACrB,iBAAiB;AAAA,YACjB,aAAa;AAAA,YACb,YAAY;AAAA,YACZ,WAAW;AAAA,YACX,OAAO;AAAA,YACP,aACE,gBAAAX,EAACH,GAAS,EAAA,cAAc,MACtB,UAAA;AAAA,cAAA,gBAAAD,EAACK,GAAK,EAAA,WAAU,YACb,UAAAP,IACG,8CACA,6CACN;AAAA,cACA,gBAAAE;AAAA,gBAACM;AAAA,gBAAA;AAAA,kBACC,OAAM;AAAA,kBACN,MAAK;AAAA,kBACL,QAAQ;AAAA,kBACR,UAAS;AAAA,kBACT,SAAS,MAAMhB,EAAcR,GAAW,IAAO,GAAG,EAAI;AAAA,gBAAA;AAAA,cACxD;AAAA,YAAA,GACF;AAAA,UAEJ;AAAA,QACF;AAAA,QACA;AAAA,UACE,+BAA+BI;AAAA,UAC/B,sCACG8B,GACC,EAAA,UAAA,gBAAAhB,EAACiB,KAAW,UAAAN,GAAoB,WAAAF,GAAsB,QAAAC,GAAgB,EACxE,CAAA;AAAA,UAEF,MAAMP,EAAc;AAAA,UACpB,WAAW;AAAA,YACT,UAAU;AAAA,YACV,qBAAqB;AAAA,YACrB,qBAAqB;AAAA,YACrB,mBAAmB;AAAA,YACnB,iBAAiB;AAAA,YACjB,aAAa;AAAA,YACb,YAAY;AAAA,YACZ,OAAO;AAAA,YACP,WAAW;AAAA,YACX,aACE,gBAAAC,EAACH,GAAS,EAAA,cAAc,MACtB,UAAA;AAAA,cAAA,gBAAAD,EAACK,GAAK,EAAA,WAAU,YACb,UAAAP,IACG,yDACA,sDACN;AAAA,cACA,gBAAAE;AAAA,gBAACM;AAAA,gBAAA;AAAA,kBACC,OAAM;AAAA,kBACN,MAAK;AAAA,kBACL,QAAQ;AAAA,kBACR,UAAS;AAAA,kBACT,SAAS,MAAMhB,EAAcR,GAAW,IAAO,GAAG,EAAI;AAAA,gBAAA;AAAA,cACxD;AAAA,YAAA,GACF;AAAA,UAEJ;AAAA,UACA,UAAU;AAAA,QACZ;AAAA,QACA;AAAA,UACE,+BAA+BK;AAAA,UAC/B,sCACG6B,GACC,EAAA,UAAA,gBAAAhB;AAAA,YAACkB;AAAA,YAAA;AAAA,cACC,WAAW;AAAA,cACX,UAAAP;AAAA,cACA,QAAQC;AAAA,cACR,WAAWC,KAAW;AAAA,cACtB,UAAUL,EAAU,CAAC;AAAA,cACrB,UAAS;AAAA,cACT,mBAAmB;AAAA,YAAA;AAAA,UAAA,GAEvB;AAAA,UAEF,MAAML,EAAc;AAAA,UACpB,WAAW;AAAA,YACT,UAAU;AAAA,YACV,qBAAqB;AAAA,YACrB,qBAAqB;AAAA,YACrB,iBAAiB;AAAA,YACjB,aAAa;AAAA,YACb,YAAY;AAAA,YACZ,mBAAmB;AAAA,YACnB,WAAW;AAAA,YACX,OAAO;AAAA,YACP,aACE,gBAAAC,EAACH,GAAS,EAAA,cAAc,MACtB,UAAA;AAAA,cAAC,gBAAAD,EAAAK,GAAA,EAAK,WAAU,YAAW,UAA0C,8CAAA;AAAA,cACrE,gBAAAL;AAAA,gBAACM;AAAA,gBAAA;AAAA,kBACC,OAAOlB,EAAkB,UAAU,SAAS;AAAA,kBAC5C,MAAK;AAAA,kBACL,QAAQ;AAAA,kBACR,UAAS;AAAA,kBACT,SAAS,MAAMO,EAAec,GAAWX,GAAWY,CAAM;AAAA,gBAAA;AAAA,cAC5D;AAAA,YAAA,GACF;AAAA,UAEJ;AAAA,UACA,UAAU;AAAA,QACZ;AAAA,MAAA;AAGF,MAAAnB,EAAWT,GAAWgC,CAAa;AAE7B,YAAAK,IAAmB,WAAW,MAAM;AACxC,qBAAaA,CAAgB,GAC7B7B,EAAcR,CAAS;AAAA,SACtB,GAAG;AAEI,MAAAO,EAAA,QAAQ,KAAK8B,CAAgB;AAAA,IACzC;AAAA,IACA,CAAC5B,GAAYT,GAAWQ,GAAeK,CAAc;AAAA,EAAA,GAGjDyB,IAAOC;AAAA,IACX,OAAO;AAAA,MACL,aAAArC;AAAA,MACA,aAAAE;AAAA,MACA,uBAAAC;AAAA,MACA,mBAAAC;AAAA,MACA,cAAAmB;AAAA,IAAA;AAAA,IAEF,CAACA,CAAY;AAAA,EAAA;AAIf,SAAAe,EAAU,MACD,MAAM;AACX,IAAAjC,EAAU,QAAQ,QAAQ,CAASkC,MAAA,aAAaA,CAAK,CAAC,GACtDlC,EAAU,UAAU;EAAC,GAEtB,CAAE,CAAA,GAEE+B;AACT;"}
@@ -1,5 +1,6 @@
1
- var E = /* @__PURE__ */ ((R) => (R.CIRCLE_ACTIVITIES_INTRO_JOURNEY = "CIRCLE_ACTIVITIES_INTRO_JOURNEY", R.CIRCLE_LEADERBOARD_INTRO_JOURNEY = "CIRCLE_LEADERBOARD_INTRO_JOURNEY", R.CIRCLE_POINTS_REWARD_JOURNEY = "CIRCLE_POINTS_REWARD_JOURNEY", R.CIRCLE_STREAK_UPDATE_JOURNEY = "CIRCLE_STREAK_UPDATE_JOURNEY", R.CIRCLE_TUTORIAL_JOURNEY = "CIRCLE_TUTORIAL_JOURNEY", R.CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY", R.CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY", R))(E || {});
1
+ var E = /* @__PURE__ */ ((R) => (R.CIRCLE_ACTIVITIES_INTRO_JOURNEY = "CIRCLE_ACTIVITIES_INTRO_JOURNEY", R.CIRCLE_LEADERBOARD_INTRO_JOURNEY = "CIRCLE_LEADERBOARD_INTRO_JOURNEY", R.CIRCLE_POINTS_REWARD_JOURNEY = "CIRCLE_POINTS_REWARD_JOURNEY", R.CIRCLE_STREAK_UPDATE_JOURNEY = "CIRCLE_STREAK_UPDATE_JOURNEY", R.CIRCLE_TUTORIAL_JOURNEY = "CIRCLE_TUTORIAL_JOURNEY", R.CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY", R.CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY", R.HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY", R))(E || {}), C = /* @__PURE__ */ ((R) => (R.HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY", R))(C || {});
2
2
  export {
3
- E as JOURNEY_ID_STUDENT
3
+ E as JOURNEY_ID_STUDENT,
4
+ C as JOURNEY_ID_TEACHER
4
5
  };
5
6
  //# sourceMappingURL=journey-id-student.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"journey-id-student.js","sources":["../../../../src/features/journey/journey-id/journey-id-student.ts"],"sourcesContent":["export enum JOURNEY_ID_STUDENT {\n CIRCLE_ACTIVITIES_INTRO_JOURNEY = 'CIRCLE_ACTIVITIES_INTRO_JOURNEY',\n CIRCLE_LEADERBOARD_INTRO_JOURNEY = 'CIRCLE_LEADERBOARD_INTRO_JOURNEY',\n CIRCLE_POINTS_REWARD_JOURNEY = 'CIRCLE_POINTS_REWARD_JOURNEY',\n CIRCLE_STREAK_UPDATE_JOURNEY = 'CIRCLE_STREAK_UPDATE_JOURNEY',\n CIRCLE_TUTORIAL_JOURNEY = 'CIRCLE_TUTORIAL_JOURNEY',\n CIRCLE_TABLES_INTRO_JOURNEY = 'CIRCLE_TABLES_INTRO_JOURNEY',\n\n // TODO: Deprecate bottom journeys, they are not actually journeys\n CIRCLE_STREAK_REDUCTION_JOURNEY = 'CIRCLE_STREAK_REDUCTION_JOURNEY',\n}\n"],"names":["JOURNEY_ID_STUDENT"],"mappings":"AAAY,IAAAA,sBAAAA,OACVA,EAAA,kCAAkC,mCAClCA,EAAA,mCAAmC,oCACnCA,EAAA,+BAA+B,gCAC/BA,EAAA,+BAA+B,gCAC/BA,EAAA,0BAA0B,2BAC1BA,EAAA,8BAA8B,+BAG9BA,EAAA,kCAAkC,mCATxBA,IAAAA,KAAA,CAAA,CAAA;"}
1
+ {"version":3,"file":"journey-id-student.js","sources":["../../../../src/features/journey/journey-id/journey-id-student.ts"],"sourcesContent":["export enum JOURNEY_ID_STUDENT {\n CIRCLE_ACTIVITIES_INTRO_JOURNEY = 'CIRCLE_ACTIVITIES_INTRO_JOURNEY',\n CIRCLE_LEADERBOARD_INTRO_JOURNEY = 'CIRCLE_LEADERBOARD_INTRO_JOURNEY',\n CIRCLE_POINTS_REWARD_JOURNEY = 'CIRCLE_POINTS_REWARD_JOURNEY',\n CIRCLE_STREAK_UPDATE_JOURNEY = 'CIRCLE_STREAK_UPDATE_JOURNEY',\n CIRCLE_TUTORIAL_JOURNEY = 'CIRCLE_TUTORIAL_JOURNEY',\n CIRCLE_TABLES_INTRO_JOURNEY = 'CIRCLE_TABLES_INTRO_JOURNEY',\n\n // TODO: Deprecate bottom journeys, they are not actually journeys\n CIRCLE_STREAK_REDUCTION_JOURNEY = 'CIRCLE_STREAK_REDUCTION_JOURNEY',\n HOMEPAGE_JOURNEY = 'HOMEPAGE_JOURNEY',\n}\n\nexport enum JOURNEY_ID_TEACHER {\n HOMEPAGE_JOURNEY = 'HOMEPAGE_JOURNEY',\n}\n"],"names":["JOURNEY_ID_STUDENT","JOURNEY_ID_TEACHER"],"mappings":"AAAY,IAAAA,sBAAAA,OACVA,EAAA,kCAAkC,mCAClCA,EAAA,mCAAmC,oCACnCA,EAAA,+BAA+B,gCAC/BA,EAAA,+BAA+B,gCAC/BA,EAAA,0BAA0B,2BAC1BA,EAAA,8BAA8B,+BAG9BA,EAAA,kCAAkC,mCAClCA,EAAA,mBAAmB,oBAVTA,IAAAA,KAAA,CAAA,CAAA,GAaAC,sBAAAA,OACVA,EAAA,mBAAmB,oBADTA,IAAAA,KAAA,CAAA,CAAA;"}