@cuemath/leap 3.2.18-mb → 3.2.19-beta-0.1

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 (328) hide show
  1. package/dist/assets/illustrations/illustrations.js +11 -5
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/line-icons/icons/after-noon.js +34 -0
  4. package/dist/assets/line-icons/icons/after-noon.js.map +1 -0
  5. package/dist/assets/line-icons/icons/apple-icon-white.js +42 -0
  6. package/dist/assets/line-icons/icons/apple-icon-white.js.map +1 -0
  7. package/dist/assets/line-icons/icons/cue-board-filled.js +33 -0
  8. package/dist/assets/line-icons/icons/cue-board-filled.js.map +1 -0
  9. package/dist/assets/line-icons/icons/cue-board.js +23 -0
  10. package/dist/assets/line-icons/icons/cue-board.js.map +1 -0
  11. package/dist/assets/line-icons/icons/evening.js +35 -0
  12. package/dist/assets/line-icons/icons/evening.js.map +1 -0
  13. package/dist/assets/line-icons/icons/hint-fill.js +35 -0
  14. package/dist/assets/line-icons/icons/hint-fill.js.map +1 -0
  15. package/dist/assets/line-icons/icons/morning.js +35 -0
  16. package/dist/assets/line-icons/icons/morning.js.map +1 -0
  17. package/dist/assets/line-icons/icons/screen-grab-filled.js +35 -0
  18. package/dist/assets/line-icons/icons/screen-grab-filled.js.map +1 -0
  19. package/dist/assets/line-icons/icons/screen-grab.js +23 -0
  20. package/dist/assets/line-icons/icons/screen-grab.js.map +1 -0
  21. package/dist/assets/line-icons/icons/sticker-filled.js +64 -0
  22. package/dist/assets/line-icons/icons/sticker-filled.js.map +1 -0
  23. package/dist/assets/line-icons/icons/sticker.js +46 -0
  24. package/dist/assets/line-icons/icons/sticker.js.map +1 -0
  25. package/dist/assets/lottie/lottie.js +16 -1
  26. package/dist/assets/lottie/lottie.js.map +1 -1
  27. package/dist/features/analytics-events/platform-events-student.js +2 -1
  28. package/dist/features/analytics-events/platform-events-student.js.map +1 -1
  29. package/dist/features/analytics-events/platform-events-teacher.js +6 -4
  30. package/dist/features/analytics-events/platform-events-teacher.js.map +1 -1
  31. package/dist/features/analytics-events/whitelist-events.js +10 -8
  32. package/dist/features/analytics-events/whitelist-events.js.map +1 -1
  33. package/dist/features/auth/account-selector/account-selector.js +26 -25
  34. package/dist/features/auth/account-selector/account-selector.js.map +1 -1
  35. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js +9 -0
  36. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js.map +1 -0
  37. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js +52 -0
  38. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js.map +1 -0
  39. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js +93 -0
  40. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +1 -0
  41. package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text-styled.js +10 -0
  42. package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text-styled.js.map +1 -0
  43. package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text.js +17 -0
  44. package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text.js.map +1 -0
  45. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +20 -14
  46. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
  47. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js +12 -0
  48. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js.map +1 -0
  49. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +34 -0
  50. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +1 -0
  51. package/dist/features/auth/comps/otp-input/otp-input-styled.js +26 -0
  52. package/dist/features/auth/comps/otp-input/otp-input-styled.js.map +1 -0
  53. package/dist/features/auth/comps/otp-input/otp-input.js +50 -0
  54. package/dist/features/auth/comps/otp-input/otp-input.js.map +1 -0
  55. package/dist/features/auth/comps/pill-button/pill-button-styled.js +44 -0
  56. package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -0
  57. package/dist/features/auth/comps/pill-button/pill-button.js +74 -0
  58. package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -0
  59. package/dist/features/auth/comps/resend-otp/resend-otp.js +54 -47
  60. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
  61. package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js +17 -0
  62. package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js.map +1 -0
  63. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +67 -0
  64. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +1 -0
  65. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +29 -17
  66. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
  67. package/dist/features/auth/comps/tabs/tabs-styled.js +22 -10
  68. package/dist/features/auth/comps/tabs/tabs-styled.js.map +1 -1
  69. package/dist/features/auth/comps/tabs/tabs.js +5 -5
  70. package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
  71. package/dist/features/auth/comps/user-list/user-item/user-item.js +30 -31
  72. package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -1
  73. package/dist/features/auth/comps/user-list/user-list.js +35 -34
  74. package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
  75. package/dist/features/auth/forgot-password/forgot-password-styled.js +14 -15
  76. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +1 -1
  77. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +6 -7
  78. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +1 -1
  79. package/dist/features/auth/login/login-styled.js +8 -9
  80. package/dist/features/auth/login/login-styled.js.map +1 -1
  81. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js +19 -0
  82. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js.map +1 -0
  83. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js +32 -0
  84. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js.map +1 -0
  85. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js +44 -0
  86. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js.map +1 -0
  87. package/dist/features/auth/pla-signup/signup-header/signup-header.js +54 -0
  88. package/dist/features/auth/pla-signup/signup-header/signup-header.js.map +1 -0
  89. package/dist/features/auth/pla-signup/signup-options/signup-options.js +83 -0
  90. package/dist/features/auth/pla-signup/signup-options/signup-options.js.map +1 -0
  91. package/dist/features/chapters-v2/utils/node-card-utils.js +9 -9
  92. package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -1
  93. package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card-styled.js +4 -4
  94. package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card-styled.js.map +1 -1
  95. package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js +85 -85
  96. package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js.map +1 -1
  97. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +121 -98
  98. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
  99. package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js +29 -28
  100. package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js.map +1 -1
  101. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +43 -42
  102. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
  103. package/dist/features/circle-games/games/tutorial/tutorial.js +43 -35
  104. package/dist/features/circle-games/games/tutorial/tutorial.js.map +1 -1
  105. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js +2 -2
  106. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js.map +1 -1
  107. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js +1 -1
  108. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js.map +1 -1
  109. package/dist/features/circle-games/sign-up/comp/username-input/username-input.js +26 -24
  110. package/dist/features/circle-games/sign-up/comp/username-input/username-input.js.map +1 -1
  111. package/dist/features/circle-games/sign-up/constants.js +3 -1
  112. package/dist/features/circle-games/sign-up/constants.js.map +1 -1
  113. package/dist/features/communication/pub-sub/constants.js +7 -4
  114. package/dist/features/communication/pub-sub/constants.js.map +1 -1
  115. package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js +42 -42
  116. package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js.map +1 -1
  117. package/dist/features/homework/homework-card-view.js +85 -97
  118. package/dist/features/homework/homework-card-view.js.map +1 -1
  119. package/dist/features/homework/homework-card.js +44 -42
  120. package/dist/features/homework/homework-card.js.map +1 -1
  121. package/dist/features/homework/hw-card-list/hw-card-list-view.js +31 -29
  122. package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +1 -1
  123. package/dist/features/homework/hw-card-list/hw-card-list.js +54 -48
  124. package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -1
  125. package/dist/features/homework/utils.js +33 -27
  126. package/dist/features/homework/utils.js.map +1 -1
  127. package/dist/features/journey/comps/coachmark/coachmark.js +29 -27
  128. package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
  129. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +17 -11
  130. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -1
  131. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js +72 -0
  132. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js.map +1 -0
  133. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js +59 -0
  134. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js.map +1 -0
  135. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +63 -0
  136. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +1 -0
  137. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js +67 -0
  138. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js.map +1 -0
  139. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js +70 -0
  140. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js.map +1 -0
  141. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js +59 -0
  142. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js.map +1 -0
  143. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js +59 -0
  144. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js.map +1 -0
  145. package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js +70 -0
  146. package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js.map +1 -0
  147. package/dist/features/journey/journey-id/journey-id-student.js +2 -2
  148. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  149. package/dist/features/journey/journey-id/journey-id-teacher.js +2 -2
  150. package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -1
  151. package/dist/features/journey/use-journey/journey-context-provider.js +73 -72
  152. package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
  153. package/dist/features/journey/use-journey/journey-styled.js +6 -4
  154. package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
  155. package/dist/features/puzzles/api/puzzle-dashboard.js +10 -0
  156. package/dist/features/puzzles/api/puzzle-dashboard.js.map +1 -0
  157. package/dist/features/puzzles/app/puzzle-app-styled.js +85 -0
  158. package/dist/features/puzzles/app/puzzle-app-styled.js.map +1 -0
  159. package/dist/features/puzzles/app/puzzle-app-view.js +120 -0
  160. package/dist/features/puzzles/app/puzzle-app-view.js.map +1 -0
  161. package/dist/features/puzzles/app/puzzle-app.js +62 -0
  162. package/dist/features/puzzles/app/puzzle-app.js.map +1 -0
  163. package/dist/features/puzzles/comps/puzzle-card-styled.js +24 -69
  164. package/dist/features/puzzles/comps/puzzle-card-styled.js.map +1 -1
  165. package/dist/features/puzzles/comps/puzzle-card.js +79 -30
  166. package/dist/features/puzzles/comps/puzzle-card.js.map +1 -1
  167. package/dist/features/puzzles/constants/puzzle-container.js +8 -0
  168. package/dist/features/puzzles/constants/puzzle-container.js.map +1 -0
  169. package/dist/features/puzzles/puzzle-analytics-events.js +11 -0
  170. package/dist/features/puzzles/puzzle-analytics-events.js.map +1 -0
  171. package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js +55 -25
  172. package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js.map +1 -1
  173. package/dist/features/puzzles/puzzle-container/puzzle-container-view.js +55 -0
  174. package/dist/features/puzzles/puzzle-container/puzzle-container-view.js.map +1 -0
  175. package/dist/features/puzzles/puzzle-container/puzzle-container.js +100 -107
  176. package/dist/features/puzzles/puzzle-container/puzzle-container.js.map +1 -1
  177. package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js +37 -0
  178. package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js.map +1 -0
  179. package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js +110 -0
  180. package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js.map +1 -0
  181. package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js +1 -1
  182. package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js.map +1 -1
  183. package/dist/features/puzzles/utils/puzzle-pattern.js +28 -13
  184. package/dist/features/puzzles/utils/puzzle-pattern.js.map +1 -1
  185. package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js +6 -0
  186. package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js.map +1 -0
  187. package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js +12 -60
  188. package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js.map +1 -1
  189. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +72 -77
  190. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
  191. package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js +63 -0
  192. package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js.map +1 -0
  193. package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js +21 -0
  194. package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js.map +1 -0
  195. package/dist/features/ui/buttons/button/button.js +41 -38
  196. package/dist/features/ui/buttons/button/button.js.map +1 -1
  197. package/dist/features/ui/buttons/icon-button/icon-button.js +31 -27
  198. package/dist/features/ui/buttons/icon-button/icon-button.js.map +1 -1
  199. package/dist/features/ui/buttons/text-button/text-button.js +26 -22
  200. package/dist/features/ui/buttons/text-button/text-button.js.map +1 -1
  201. package/dist/features/ui/drawer/drawer-styled.js +34 -0
  202. package/dist/features/ui/drawer/drawer-styled.js.map +1 -0
  203. package/dist/features/ui/drawer/drawer.js +42 -0
  204. package/dist/features/ui/drawer/drawer.js.map +1 -0
  205. package/dist/features/ui/error/error.js +65 -27
  206. package/dist/features/ui/error/error.js.map +1 -1
  207. package/dist/features/ui/grade-selector/grade-selector.js +33 -27
  208. package/dist/features/ui/grade-selector/grade-selector.js.map +1 -1
  209. package/dist/features/ui/image/image.js +1 -1
  210. package/dist/features/ui/image/image.js.map +1 -1
  211. package/dist/features/ui/lottie-animation/lottie-animation.js +25 -29
  212. package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
  213. package/dist/features/ui/modals/modal-styled.js +34 -58
  214. package/dist/features/ui/modals/modal-styled.js.map +1 -1
  215. package/dist/features/ui/modals/modal.js +40 -14
  216. package/dist/features/ui/modals/modal.js.map +1 -1
  217. package/dist/features/ui/nudge/nudge-styled.js +14 -7
  218. package/dist/features/ui/nudge/nudge-styled.js.map +1 -1
  219. package/dist/features/ui/nudge/nudge.js +13 -12
  220. package/dist/features/ui/nudge/nudge.js.map +1 -1
  221. package/dist/features/{stickers/sticker-selector/sticker-selector-styles.js → ui/sticker-grid/sticker-grid-styles.js} +3 -4
  222. package/dist/features/ui/sticker-grid/sticker-grid-styles.js.map +1 -0
  223. package/dist/features/ui/sticker-grid/sticker-grid.js +24 -0
  224. package/dist/features/ui/sticker-grid/sticker-grid.js.map +1 -0
  225. package/dist/features/ui/sticker-grid/sticker.js +57 -0
  226. package/dist/features/ui/sticker-grid/sticker.js.map +1 -0
  227. package/dist/features/ui/stickers/constants.js +6 -0
  228. package/dist/features/ui/stickers/constants.js.map +1 -0
  229. package/dist/features/{stickers/stickers-effects/effects.js → ui/stickers/stickers-effects.js} +6 -6
  230. package/dist/features/ui/stickers/stickers-effects.js.map +1 -0
  231. package/dist/features/{stickers/stickers-effects/stickers-effects-styled.js → ui/stickers/stickers-styled.js} +2 -2
  232. package/dist/features/ui/stickers/stickers-styled.js.map +1 -0
  233. package/dist/features/ui/stickers/stickers-utils.js +91 -0
  234. package/dist/features/ui/stickers/stickers-utils.js.map +1 -0
  235. package/dist/features/ui/stickers/stickers.js +40 -0
  236. package/dist/features/ui/stickers/stickers.js.map +1 -0
  237. package/dist/features/ui/streak-icon/streak-icon-styled.js +13 -13
  238. package/dist/features/ui/streak-icon/streak-icon-styled.js.map +1 -1
  239. package/dist/features/ui/streak-icon/streak-icon.js +17 -15
  240. package/dist/features/ui/streak-icon/streak-icon.js.map +1 -1
  241. package/dist/features/ui/tab/tab.js +30 -26
  242. package/dist/features/ui/tab/tab.js.map +1 -1
  243. package/dist/features/ui/text/text.js +40 -36
  244. package/dist/features/ui/text/text.js.map +1 -1
  245. package/dist/features/ui/theme/button.js +78 -78
  246. package/dist/features/ui/theme/button.js.map +1 -1
  247. package/dist/features/ui/theme/constants.js +4 -2
  248. package/dist/features/ui/theme/constants.js.map +1 -1
  249. package/dist/features/ui/theme/get-device.js +3 -3
  250. package/dist/features/ui/theme/get-device.js.map +1 -1
  251. package/dist/features/worksheet/worksheet/constants.js +12 -13
  252. package/dist/features/worksheet/worksheet/constants.js.map +1 -1
  253. package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js +28 -0
  254. package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js.map +1 -0
  255. package/dist/features/worksheet/worksheet/worksheet-helpers.js +20 -19
  256. package/dist/features/worksheet/worksheet/worksheet-helpers.js.map +1 -1
  257. package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js +29 -25
  258. package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
  259. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js +101 -47
  260. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js.map +1 -1
  261. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +244 -255
  262. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
  263. package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js +242 -207
  264. package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
  265. package/dist/features/worksheet/worksheet/worksheet-styled.js +45 -36
  266. package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
  267. package/dist/features/worksheet/worksheet/worksheet-types.js.map +1 -1
  268. package/dist/features/worksheet/worksheet/worksheet.js +321 -325
  269. package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
  270. package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js +1 -1
  271. package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js.map +1 -1
  272. package/dist/features/worksheet/worksheet-preview/worksheet-preview.js +44 -35
  273. package/dist/features/worksheet/worksheet-preview/worksheet-preview.js.map +1 -1
  274. package/dist/index.d.ts +281 -61
  275. package/dist/index.js +585 -537
  276. package/dist/index.js.map +1 -1
  277. package/dist/static/animated-avatar.1ad58b1d.json +1 -0
  278. package/dist/static/animated-avatar.69b07505.json +1 -0
  279. package/dist/static/animated-avatar.9c560b46.json +1 -0
  280. package/dist/static/calendar-purple.1a840b41.svg +1 -0
  281. package/dist/static/flying-disk.c7f6ed39.json +1 -0
  282. package/dist/static/graduation-cap.3be3340a.json +1 -0
  283. package/dist/static/handshake.287e7dfb.svg +1 -0
  284. package/dist/static/light-bulb.c6db0b23.json +1 -0
  285. package/dist/static/money.332aacf1.svg +1 -0
  286. package/dist/static/muscle.9bcfb8a7.json +1 -0
  287. package/dist/static/nudge-tap.0591aef4.json +1 -0
  288. package/dist/static/parent-avatar.822c7b9b.svg +1 -0
  289. package/dist/static/pencil.23df9da0.json +1 -0
  290. package/dist/static/plus-sign.de6af957.json +1 -0
  291. package/dist/static/puzzle-blue-lottie.7017e2e8.json +1 -0
  292. package/dist/static/puzzle-blue-lottie.bf64ebc5.json +12760 -0
  293. package/dist/static/puzzle-dashboard-banner.b7956519.svg +1 -0
  294. package/dist/static/puzzle-green-lottie.1da90698.json +1 -0
  295. package/dist/static/puzzle-orange-lottie.cfcf3724.json +1 -0
  296. package/dist/static/puzzle-pattern-blue.abff0164.svg +1 -0
  297. package/dist/static/puzzle-pattern-green.b8ba1840.svg +1 -0
  298. package/dist/static/puzzle-pattern-orange.3f5a17ff.svg +1 -0
  299. package/dist/static/puzzle-pattern-purple.14b09759.svg +1 -0
  300. package/dist/static/puzzle-pattern-yellow.50917fab.svg +1 -0
  301. package/dist/static/puzzle-purple-lottie.e70de110.json +9860 -0
  302. package/dist/static/puzzle-yellow-lottie.275b5cf4.json +1 -0
  303. package/dist/static/racing-car.2cbf864e.json +1 -0
  304. package/dist/static/rocket.0a3ccab0.json +1 -0
  305. package/dist/static/shovel.abeec04c.json +1 -0
  306. package/dist/static/trustpilot.bd3d79e1.svg +1 -0
  307. package/package.json +1 -1
  308. package/dist/features/hooks/use-viewport/use-viewport.js +0 -22
  309. package/dist/features/hooks/use-viewport/use-viewport.js.map +0 -1
  310. package/dist/features/stickers/sticker-data.js +0 -234
  311. package/dist/features/stickers/sticker-data.js.map +0 -1
  312. package/dist/features/stickers/sticker-selector/sticker-selector-styles.js.map +0 -1
  313. package/dist/features/stickers/sticker-selector/sticker-selector.js +0 -25
  314. package/dist/features/stickers/sticker-selector/sticker-selector.js.map +0 -1
  315. package/dist/features/stickers/sticker-selector/sticker.js +0 -57
  316. package/dist/features/stickers/sticker-selector/sticker.js.map +0 -1
  317. package/dist/features/stickers/stickers-effects/effects.js.map +0 -1
  318. package/dist/features/stickers/stickers-effects/stickers-effects-styled.js.map +0 -1
  319. package/dist/features/stickers/stickers-effects/stickers-effects-utils.js +0 -93
  320. package/dist/features/stickers/stickers-effects/stickers-effects-utils.js.map +0 -1
  321. package/dist/features/stickers/stickers-effects/stickers-effects.js +0 -39
  322. package/dist/features/stickers/stickers-effects/stickers-effects.js.map +0 -1
  323. package/dist/static/nudge-tap.5cb30093.json +0 -1057
  324. package/dist/static/puzzle-pattern-blue.f4bea1ee.svg +0 -1
  325. package/dist/static/puzzle-pattern-green.c9f84bbc.svg +0 -1
  326. package/dist/static/puzzle-pattern-orange.3da09665.svg +0 -1
  327. package/dist/static/puzzle-pattern-purple.5fb5a319.svg +0 -1
  328. package/dist/static/puzzle-pattern-yellow.aadbf457.svg +0 -1
@@ -1,307 +1,296 @@
1
- import { jsxs as L, jsx as i, Fragment as Vt } from "react/jsx-runtime";
2
- import { memo as Xt, useMemo as p, useState as T, useRef as K, useCallback as Pt, useEffect as R, useLayoutEffect as jt } from "react";
3
- import { IMAGES as Gt } from "../../../../assets/images/images.js";
4
- import Yt from "../../../cue-canvas/cue-canvas.js";
5
- import Zt from "../../../pointer-sync/pointer.js";
1
+ import { jsxs as I, jsx as r, Fragment as Ut } from "react/jsx-runtime";
2
+ import { memo as Dt, useMemo as $, useState as M, useRef as D, useCallback as Pt, useEffect as _, useLayoutEffect as Vt } from "react";
3
+ import { IMAGES as Xt } from "../../../../assets/images/images.js";
4
+ import jt from "../../../cue-canvas/cue-canvas.js";
5
+ import Ft from "../../../pointer-sync/pointer.js";
6
6
  import Ht from "../../../ui/layout/flex-view.js";
7
- import Jt from "../../constants/events.js";
8
- import { QUESTIONS_GAP as kt, LEARNOSITY_KEYBOARD_HEIGHT as St } from "../constants.js";
9
- import { getPaperColorByQuestion as qt, isConceptIntroWidget as te, scrollToQuestion as bt } from "../worksheet-helpers.js";
10
- import ee from "./header/header.js";
11
- import ie from "./learnosity-question.js";
12
- import re from "./question-backdrop/question-backdrop.js";
13
- import oe from "./subjective-review.js";
14
- import ne from "./system-intros/advanced-practice-intro.js";
15
- import ce from "./system-intros/basic-practice-intro.js";
16
- import ae from "./system-intros/exit-ticket-intro.js";
17
- import se from "./system-intros/regular-practice-intro.js";
18
- import { QuestionContainerWrapper as le, StimulusReview as me, QuestionContainer as ue, QuestionWrapper as fe, LessonOverviewBanner as he, CueCanvasWrapper as de, Hint as ge, Solution as Ee } from "./worksheet-question-styled.js";
19
- const Me = Xt(
7
+ import Gt from "../../constants/events.js";
8
+ import { QUESTIONS_GAP as Yt } from "../constants.js";
9
+ import { getPaperColorByQuestion as Zt, isConceptIntroWidget as Kt, scrollToQuestion as vt } from "../worksheet-helpers.js";
10
+ import Jt from "./header/header.js";
11
+ import kt from "./learnosity-question.js";
12
+ import qt from "./question-backdrop/question-backdrop.js";
13
+ import ti from "./subjective-review.js";
14
+ import ii from "./system-intros/advanced-practice-intro.js";
15
+ import ri from "./system-intros/basic-practice-intro.js";
16
+ import ei from "./system-intros/exit-ticket-intro.js";
17
+ import oi from "./system-intros/regular-practice-intro.js";
18
+ import { QuestionContainerWrapper as ni, StimulusReview as ci, QuestionContainer as ai, QuestionWrapper as mi, LessonOverviewBanner as li, CueCanvasWrapper as ui, Hint as si, Solution as hi } from "./worksheet-question-styled.js";
19
+ const Ti = Dt(
20
20
  ({
21
- userType: c,
22
- signedRequest: Ct,
23
- worksheetCompleted: g,
24
- question: n,
25
- response: e,
26
- nextQuestionId: v,
27
- isActive: w,
28
- isHidden: A,
29
- canRender: V,
30
- loggerRef: M,
21
+ userType: n,
22
+ signedRequest: St,
23
+ worksheetCompleted: d,
24
+ question: c,
25
+ response: i,
26
+ nextQuestionId: w,
27
+ isActive: H,
28
+ isHidden: T,
29
+ canRender: P,
30
+ loggerRef: A,
31
31
  appended: a,
32
- maxQuestionWidth: X,
33
- behavior: P,
32
+ maxQuestionWidth: V,
33
+ behavior: X,
34
34
  layout: j,
35
- actionbarHeight: Wt,
36
- learnosity: b,
37
- intersectionObserver: G,
38
- background: Y = "paper",
39
- onMediaStateChange: yt,
40
- onMarkForReview: Bt,
41
- userId: xt,
42
- onPublishStrokes: Z,
43
- onReceiveStrokes: J,
44
- isScribblingEnabled: k,
45
- initialStrokesData: O,
46
- isCanvasEnabled: q,
47
- onPublishMouseMove: tt,
48
- onSubscribeMouseMove: et,
49
- setActiveQuestionId: it,
50
- canResolveDoubt: It,
51
- onResolveDoubt: Lt,
52
- studentId: Tt,
53
- responses: At,
54
- subjectiveProps: rt
35
+ actionbarHeight: Rt,
36
+ learnosity: S,
37
+ intersectionObserver: F,
38
+ background: G = "paper",
39
+ onMediaStateChange: Wt,
40
+ onMarkForReview: Ct,
41
+ userId: pt,
42
+ onPublishStrokes: Y,
43
+ onReceiveStrokes: Z,
44
+ isScribblingEnabled: K,
45
+ initialStrokesData: B,
46
+ isCanvasEnabled: J,
47
+ onPublishMouseMove: k,
48
+ onSubscribeMouseMove: q,
49
+ setActiveQuestionId: tt,
50
+ canResolveDoubt: Lt,
51
+ onResolveDoubt: bt,
52
+ studentId: xt,
53
+ responses: It,
54
+ subjectiveProps: it
55
55
  }) => {
56
- const C = p(
57
- () => Y === "paper" ? qt(n) : void 0,
58
- [Y, n]
59
- ), [W, Mt] = T(), [ot, Ot] = T(), {
60
- validation: nt,
61
- review: N,
62
- maximumAttempts: ct,
63
- canExceedAttempts: at,
64
- teacherValidationEnabled: H,
65
- solutionHidden: st
66
- } = P, { minQuestionHeight: Nt, topOffset: lt, questionsScrollable: y, renderQuestionHeader: Qt } = j, {
67
- type: E,
68
- response_id: r,
69
- stimulus_review: _,
70
- item_type: f,
56
+ const R = $(
57
+ () => G === "paper" ? Zt(c) : void 0,
58
+ [G, c]
59
+ ), [W, Mt] = M(), [rt, Tt] = M(), {
60
+ validation: et,
61
+ review: y,
62
+ maximumAttempts: O,
63
+ canExceedAttempts: ot,
64
+ teacherValidationEnabled: C,
65
+ solutionHidden: nt
66
+ } = X, { minQuestionHeight: At, topOffset: ct, questionsScrollable: p, renderQuestionHeader: Bt, imageHue: at } = j, {
67
+ type: v,
68
+ response_id: e,
69
+ stimulus_review: g,
70
+ item_type: s,
71
71
  instructor_stimulus: mt,
72
- metadata: { hints: h, solution: B, widget_reference: ut },
73
- item_reference: ft,
74
- question_number: ht,
75
- item_number: dt,
76
- item_display_number: gt
77
- } = n, Ft = !!_, x = f === "overview", m = te(mt), d = mt === "SystemIntro", Q = m || d, Et = e == null ? void 0 : e.responseEdited, zt = p(() => {
72
+ metadata: { hints: h, solution: L, widget_reference: lt },
73
+ item_reference: ut,
74
+ question_number: st,
75
+ item_number: ht,
76
+ item_display_number: ft
77
+ } = c, yt = !!g, b = s === "overview", l = Kt(mt), f = mt === "SystemIntro", dt = l || f, gt = i == null ? void 0 : i.responseEdited, Ot = $(() => {
78
78
  const t = [];
79
- return Et && c === "TEACHER" && t.push("attempting"), a || t.push("hidden"), E === "hotspot" && t.push("correct-answers-hidden"), a && H && E === "clozetext" && (!m || c === "STUDENT" ? t.push("response-hidden") : t.push("response-code-hidden")), x && t.push("lesson-overview"), m && t.push("concept-intro"), d && t.push("system-intro"), t.join(" ");
79
+ return gt && n === "TEACHER" && t.push("attempting"), a || t.push("hidden"), v === "hotspot" && t.push("correct-answers-hidden"), a && C && v === "clozetext" && (!l || n === "STUDENT" ? t.push("response-hidden") : t.push("response-code-hidden")), b && t.push("lesson-overview"), l && t.push("concept-intro"), f && t.push("system-intro"), t.join(" ");
80
80
  }, [
81
81
  a,
82
- m,
83
- x,
84
- d,
85
- E,
86
- Et,
87
- H,
88
- c
89
- ]), F = K({}), z = (e == null ? void 0 : e.hintsUsed) ?? 0, [_t] = T((e == null ? void 0 : e.validatedByTeacher) ?? !1), I = K(null), D = K(null), U = p(() => h == null ? void 0 : h.slice(0, z), [h, z]), $t = p(() => c === "TEACHER" || g ? !0 : !e || !e.response || e.responseEdited ? !1 : nt, [e, c, nt, g]), pt = p(() => {
90
- if (c === "TEACHER") return !0;
91
- if (N) {
92
- const { attemptsHistory: t } = e ?? {};
93
- return ((t == null ? void 0 : t.length) ?? 0) >= ct && !at;
82
+ l,
83
+ b,
84
+ f,
85
+ v,
86
+ gt,
87
+ C,
88
+ n
89
+ ]), Q = D({}), N = (i == null ? void 0 : i.hintsUsed) ?? 0, [Et] = M((i == null ? void 0 : i.validatedByTeacher) ?? !1), x = D(null), z = D(null), U = $(() => h == null ? void 0 : h.slice(0, N), [h, N]), $t = $(() => n === "TEACHER" || d ? !0 : !i || !i.response || i.responseEdited ? !1 : et, [i, n, et, d]), _t = $(() => {
90
+ if (n === "TEACHER") return !0;
91
+ if (y) {
92
+ const { attemptsHistory: t } = i ?? {};
93
+ return ((t == null ? void 0 : t.length) ?? 0) >= O && !ot;
94
94
  }
95
95
  return !1;
96
- }, [at, ct, e, N, c]), Dt = p(
97
- () => B && g && !st,
98
- [st, B, g]
99
- ), [Rt, Ut] = T({
96
+ }, [ot, O, i, y, n]), Qt = $(
97
+ () => L && d && !nt,
98
+ [nt, L, d]
99
+ ), [wt, Nt] = M({
100
100
  width: 0,
101
101
  height: 0
102
- }), Kt = Pt((t) => {
103
- Ot(t);
102
+ }), zt = Pt((t) => {
103
+ Tt(t);
104
104
  }, []);
105
- return R(() => {
106
- I.current && G.observe(I.current);
107
- }, [G]), R(() => {
108
- if (a && (n.type === "clozeassociation" || n.type === "association" || n.type === "clozeformula")) {
105
+ return _(() => {
106
+ x.current && F.observe(x.current);
107
+ }, [F]), _(() => {
108
+ if (a && (c.type === "clozeassociation" || c.type === "association" || c.type === "clozeformula")) {
109
109
  const t = document.querySelectorAll(
110
- `.widget-${n.response_id} .lrn_draggable`
110
+ `.widget-${c.response_id} .lrn_draggable`
111
111
  );
112
- let s = 0, o = 0;
113
- t.forEach((l) => {
114
- s = Math.max(s, l.clientWidth + 33), o = Math.max(o, l.clientHeight + 1);
115
- }), Ut({
116
- width: n.type !== "association" ? s : 0,
117
- height: o
112
+ let o = 0, m = 0;
113
+ t.forEach((u) => {
114
+ o = Math.max(o, u.clientWidth + 33), m = Math.max(m, u.clientHeight + 1);
115
+ }), Nt({
116
+ width: c.type !== "association" ? o : 0,
117
+ height: m
118
118
  });
119
119
  }
120
- }, [a, n.response_id, n.type]), R(() => {
120
+ }, [a, c.response_id, c.type]), _(() => {
121
121
  if (a && $t) {
122
- const t = b.question(r);
122
+ const t = S.question(e);
123
123
  t && t.validate({
124
- showCorrectAnswers: pt
124
+ showCorrectAnswers: _t
125
125
  });
126
126
  }
127
- }, [a, b, r, N, pt, c, $t]), R(() => {
128
- const t = D.current;
129
- if (a && t && M.current && F.current[r] === void 0 && !m && !d) {
130
- const s = t.clientWidth, o = t.querySelectorAll("*");
131
- for (let l = 0; l < o.length; l++) {
132
- const u = o[l];
133
- if (u != null && u.closest(".resize-sensor"))
127
+ }, [a, S, e, y, _t, n, $t]), _(() => {
128
+ const t = z.current;
129
+ if (a && t && A.current && Q.current[e] === void 0 && !l && !f) {
130
+ const o = t.clientWidth, m = t.querySelectorAll("*");
131
+ for (let u = 0; u < m.length; u++) {
132
+ const E = m[u];
133
+ if (E != null && E.closest(".resize-sensor"))
134
134
  continue;
135
- if (((u == null ? void 0 : u.clientWidth) ?? 0) > s) {
136
- F.current[r] = !0, M.current(Jt.WORKSHEET_V3_GREATER_WIDTH_ELEMENT, {
137
- item_reference: ft,
138
- widget_reference: ut,
139
- question_type: E,
140
- question_number: ht,
141
- responseId: r,
142
- item_number: dt,
143
- item_display_number: gt
135
+ if (((E == null ? void 0 : E.clientWidth) ?? 0) > o) {
136
+ Q.current[e] = !0, A.current(Gt.WORKSHEET_V3_GREATER_WIDTH_ELEMENT, {
137
+ item_reference: ut,
138
+ widget_reference: lt,
139
+ question_type: v,
140
+ question_number: st,
141
+ responseId: e,
142
+ item_number: ht,
143
+ item_display_number: ft
144
144
  });
145
145
  break;
146
146
  }
147
147
  }
148
- F.current[r] = !1;
148
+ Q.current[e] = !1;
149
149
  }
150
150
  }, [
151
151
  a,
152
- m,
153
- d,
154
- gt,
155
- dt,
152
+ l,
153
+ f,
156
154
  ft,
157
- M,
158
- E,
159
155
  ht,
160
- r,
161
- ut
162
- ]), R(() => {
163
- const t = I.current, s = (o) => {
164
- const l = o.querySelector(".lrn_response_wrapper");
165
- if (Q || !l)
166
- return 0;
167
- const u = o.getBoundingClientRect().bottom, S = l.getBoundingClientRect().bottom, $ = Math.abs(u - S);
168
- return $ < St ? St - $ : 0;
169
- };
170
- a && t && Mt((o) => {
171
- var wt;
172
- const S = ((wt = n.ui_style) == null ? void 0 : wt.type) === "floating-keyboard" && !(H && E === "clozetext"), $ = t.clientHeight;
173
- if ($ === 0)
174
- return o;
175
- if (!o)
176
- return Math.ceil(
177
- $ + (S ? s(t) : 0)
178
- );
179
- const vt = Math.ceil(
180
- $ + (S ? s(t) : 0)
181
- );
182
- return Math.abs(vt - o) > 4 ? vt : o;
183
- }), (z || Ft || B && g) && b.renderMath("mathjax");
184
- }), jt(() => {
185
- !y && !A && bt(r);
186
- }, [A, y, r, lt]), R(() => {
187
- if (H && v && !_t && (e != null && e.validatedByTeacher)) {
156
+ ut,
157
+ A,
158
+ v,
159
+ st,
160
+ e,
161
+ lt
162
+ ]), _(() => {
163
+ const t = x.current, o = t == null ? void 0 : t.clientHeight;
164
+ a && o && o > 0 && Mt((m) => {
165
+ if (!m)
166
+ return Math.ceil(o);
167
+ const u = Math.ceil(o);
168
+ return Math.abs(u - m) > 4 ? u : m;
169
+ }), (N || yt || L && d) && S.renderMath("mathjax");
170
+ }), Vt(() => {
171
+ !p && !T && vt(e);
172
+ }, [T, p, e, ct]), _(() => {
173
+ if (C && w && !Et && (i != null && i.validatedByTeacher)) {
188
174
  const t = setTimeout(() => {
189
- y ? bt(v) : it(v);
175
+ p ? vt(w) : tt(w);
190
176
  }, 1e3);
191
177
  return () => {
192
178
  clearTimeout(t);
193
179
  };
194
180
  }
195
181
  }, [
196
- v,
197
- H,
198
- _t,
199
- y,
200
- it,
201
- e == null ? void 0 : e.validatedByTeacher
202
- ]), /* @__PURE__ */ L(
203
- le,
182
+ w,
183
+ C,
184
+ Et,
185
+ p,
186
+ tt,
187
+ i == null ? void 0 : i.validatedByTeacher
188
+ ]), /* @__PURE__ */ I(
189
+ ni,
204
190
  {
205
- "data-response-id": r,
206
- className: `widget-${r}`,
207
- ref: I,
208
- $topOffset: lt,
209
- $flexDirection: _ ? "row" : "column",
210
- $alignItems: _ ? "flex-start" : "center",
211
- $hidden: A,
212
- $marginBottom: kt,
191
+ "data-response-id": e,
192
+ className: `widget-${e}`,
193
+ ref: x,
194
+ $topOffset: ct,
195
+ $flexDirection: g ? "row" : "column",
196
+ $alignItems: g ? "flex-start" : "center",
197
+ $hidden: T,
198
+ $marginBottom: Yt,
213
199
  children: [
214
- _ && /* @__PURE__ */ i(
215
- me,
200
+ g && /* @__PURE__ */ r(
201
+ ci,
216
202
  {
217
203
  dangerouslySetInnerHTML: {
218
- __html: _
204
+ __html: g
219
205
  }
220
206
  }
221
207
  ),
222
- /* @__PURE__ */ L(
223
- ue,
208
+ /* @__PURE__ */ I(
209
+ ai,
224
210
  {
225
- ref: D,
226
- $width: _ ? "50%" : `${X}px`,
227
- $minHeight: W ? Math.max(W - 72, ot ?? 0) : Nt,
228
- $isActive: w,
229
- $paperColor: C,
230
- $opacity: w ? 1 : 0.2,
211
+ ref: z,
212
+ $width: g ? "50%" : `${V}px`,
213
+ $minHeight: W ? Math.max(W - 72, rt ?? 0) : At,
214
+ $isActive: H,
215
+ $paperColor: R,
216
+ $opacity: H ? 1 : 0.2,
217
+ $imageHue: at,
231
218
  children: [
232
- w && !!tt && !!et && q && /* @__PURE__ */ i(
233
- Zt,
219
+ H && !!k && !!q && J && /* @__PURE__ */ r(
220
+ Ft,
234
221
  {
235
- containerRef: D,
236
- onPublish: tt,
237
- onSubscribe: et,
238
- responseId: r
222
+ containerRef: z,
223
+ onPublish: k,
224
+ onSubscribe: q,
225
+ responseId: e
239
226
  }
240
227
  ),
241
- /* @__PURE__ */ L(
242
- fe,
228
+ /* @__PURE__ */ I(
229
+ mi,
243
230
  {
244
- className: zt,
245
- $dropzoneMinWidth: Rt.width,
246
- $dropzoneMinHeight: Rt.height,
231
+ className: Ot,
232
+ $dropzoneMinWidth: wt.width,
233
+ $dropzoneMinHeight: wt.height,
247
234
  children: [
248
- Qt && !(x || m || d) && /* @__PURE__ */ i(
249
- ee,
235
+ Bt && !(b || l || f) && /* @__PURE__ */ r(
236
+ Jt,
250
237
  {
251
- userType: c,
252
- question: n,
253
- response: e,
254
- behavior: P,
238
+ userType: n,
239
+ question: c,
240
+ response: i,
241
+ behavior: X,
255
242
  layout: j,
256
- paperColor: C,
257
- onMarkForReview: Bt,
258
- actionbarHeight: Wt,
259
- canResolveDoubt: It,
260
- onResolveDoubt: Lt,
261
- worksheetCompleted: g
243
+ paperColor: R,
244
+ onMarkForReview: Ct,
245
+ actionbarHeight: Rt,
246
+ canResolveDoubt: Lt,
247
+ onResolveDoubt: bt,
248
+ worksheetCompleted: d
262
249
  }
263
250
  ),
264
- x && /* @__PURE__ */ i(he, { src: Gt.LESSON_OVERVIEW_BANNER }),
265
- m && C && /* @__PURE__ */ i(re, { paperColor: C }),
266
- d ? /* @__PURE__ */ L(Vt, { children: [
267
- f === "practice-basic" && /* @__PURE__ */ i(ce, {}),
268
- f === "practice-regular" && /* @__PURE__ */ i(se, {}),
269
- f === "exit-ticket" && /* @__PURE__ */ i(ae, {}),
270
- (f == null ? void 0 : f.startsWith("advanced-")) && /* @__PURE__ */ i(ne, {})
251
+ b && /* @__PURE__ */ r(li, { src: Xt.LESSON_OVERVIEW_BANNER }),
252
+ l && R && /* @__PURE__ */ r(qt, { paperColor: R }),
253
+ f ? /* @__PURE__ */ I(Ut, { children: [
254
+ s === "practice-basic" && /* @__PURE__ */ r(ri, {}),
255
+ s === "practice-regular" && /* @__PURE__ */ r(oi, {}),
256
+ s === "exit-ticket" && /* @__PURE__ */ r(ei, {}),
257
+ (s == null ? void 0 : s.startsWith("advanced-")) && /* @__PURE__ */ r(ii, {})
271
258
  ] }) : void 0,
272
- /* @__PURE__ */ i(
273
- ie,
259
+ /* @__PURE__ */ r(
260
+ kt,
274
261
  {
275
- signedRequest: Ct,
262
+ signedRequest: St,
276
263
  appended: a,
277
- question: n,
278
- response: e == null ? void 0 : e.response,
279
- canRender: V || w,
280
- learnosity: b,
281
- canForceAppend: c === "TEACHER",
282
- isConceptIntro: m,
283
- simState: e == null ? void 0 : e.simState,
284
- onMediaStateChange: yt
264
+ question: c,
265
+ response: i == null ? void 0 : i.response,
266
+ canRender: P || H,
267
+ learnosity: S,
268
+ canForceAppend: n === "TEACHER",
269
+ isConceptIntro: l,
270
+ simState: i == null ? void 0 : i.simState,
271
+ onMediaStateChange: Wt,
272
+ imageHue: at,
273
+ isPuzzle: O === -2
285
274
  }
286
275
  ),
287
- !Q && q && Z && J && W !== void 0 && /* @__PURE__ */ i(de, { $canScribble: k, children: /* @__PURE__ */ i(
288
- Yt,
276
+ !dt && J && Y && Z && W !== void 0 && /* @__PURE__ */ r(ui, { $canScribble: K, children: /* @__PURE__ */ r(
277
+ jt,
289
278
  {
290
- canRender: V,
291
- canScribble: k && w,
279
+ canRender: P,
280
+ canScribble: K && H,
292
281
  appended: a,
293
- canvasId: r,
294
- width: X,
295
- height: Math.max(W, ot ?? 0),
296
- onUpdateHeight: Kt,
297
- onPublish: Z,
298
- onSubscribe: J,
299
- userId: xt,
300
- initialData: O == null ? void 0 : O[r],
301
- userType: c
282
+ canvasId: e,
283
+ width: V,
284
+ height: Math.max(W, rt ?? 0),
285
+ onUpdateHeight: zt,
286
+ onPublish: Y,
287
+ onSubscribe: Z,
288
+ userId: pt,
289
+ initialData: B == null ? void 0 : B[e],
290
+ userType: n
302
291
  }
303
292
  ) }),
304
- !Q && U && U.length > 0 && /* @__PURE__ */ i(
293
+ !dt && U && U.length > 0 && /* @__PURE__ */ r(
305
294
  Ht,
306
295
  {
307
296
  $background: "BLUE_1",
@@ -309,18 +298,18 @@ const Me = Xt(
309
298
  $gapX: 0.5,
310
299
  $borderRadiusX: 0,
311
300
  $borderColor: "BLUE_2",
312
- children: U.map((t, s) => /* @__PURE__ */ i(
313
- ge,
301
+ children: U.map((t, o) => /* @__PURE__ */ r(
302
+ si,
314
303
  {
315
304
  dangerouslySetInnerHTML: {
316
- __html: `<span style="color: #DA5107; font-weight: 600;">Hint${((h == null ? void 0 : h.length) ?? 0) > 1 ? ` ${s + 1}` : ""}:</span>&nbsp;${t}`
305
+ __html: `<span style="color: #DA5107; font-weight: 600;">Hint${((h == null ? void 0 : h.length) ?? 0) > 1 ? ` ${o + 1}` : ""}:</span>&nbsp;${t}`
317
306
  }
318
307
  },
319
308
  t
320
309
  ))
321
310
  }
322
311
  ),
323
- Dt && /* @__PURE__ */ i(
312
+ Qt && /* @__PURE__ */ r(
324
313
  Ht,
325
314
  {
326
315
  $background: "YELLOW_1",
@@ -328,26 +317,26 @@ const Me = Xt(
328
317
  $gapX: 0.875,
329
318
  $borderRadiusX: 0,
330
319
  $borderColor: "YELLOW_2",
331
- children: /* @__PURE__ */ i(
332
- Ee,
320
+ children: /* @__PURE__ */ r(
321
+ hi,
333
322
  {
334
323
  dangerouslySetInnerHTML: {
335
- __html: `<div style="color: #DA5107; font-weight: 600;">Solution:</div>${B}`
324
+ __html: `<div style="color: #DA5107; font-weight: 600;">Solution:</div>${L}`
336
325
  }
337
326
  }
338
327
  )
339
328
  }
340
329
  ),
341
- !!rt && /* @__PURE__ */ i(
342
- oe,
330
+ !!it && /* @__PURE__ */ r(
331
+ ti,
343
332
  {
344
- responses: At,
345
- response: e,
346
- nextQuestionId: v,
347
- responseId: r,
348
- studentId: Tt,
349
- userType: c,
350
- ...rt
333
+ responses: It,
334
+ response: i,
335
+ nextQuestionId: w,
336
+ responseId: e,
337
+ studentId: xt,
338
+ userType: n,
339
+ ...it
351
340
  }
352
341
  )
353
342
  ]
@@ -362,6 +351,6 @@ const Me = Xt(
362
351
  }
363
352
  );
364
353
  export {
365
- Me as default
354
+ Ti as default
366
355
  };
367
356
  //# sourceMappingURL=worksheet-question.js.map