@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.
- package/dist/assets/illustrations/illustrations.js +11 -5
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/line-icons/icons/after-noon.js +34 -0
- package/dist/assets/line-icons/icons/after-noon.js.map +1 -0
- package/dist/assets/line-icons/icons/apple-icon-white.js +42 -0
- package/dist/assets/line-icons/icons/apple-icon-white.js.map +1 -0
- package/dist/assets/line-icons/icons/cue-board-filled.js +33 -0
- package/dist/assets/line-icons/icons/cue-board-filled.js.map +1 -0
- package/dist/assets/line-icons/icons/cue-board.js +23 -0
- package/dist/assets/line-icons/icons/cue-board.js.map +1 -0
- package/dist/assets/line-icons/icons/evening.js +35 -0
- package/dist/assets/line-icons/icons/evening.js.map +1 -0
- package/dist/assets/line-icons/icons/hint-fill.js +35 -0
- package/dist/assets/line-icons/icons/hint-fill.js.map +1 -0
- package/dist/assets/line-icons/icons/morning.js +35 -0
- package/dist/assets/line-icons/icons/morning.js.map +1 -0
- package/dist/assets/line-icons/icons/screen-grab-filled.js +35 -0
- package/dist/assets/line-icons/icons/screen-grab-filled.js.map +1 -0
- package/dist/assets/line-icons/icons/screen-grab.js +23 -0
- package/dist/assets/line-icons/icons/screen-grab.js.map +1 -0
- package/dist/assets/line-icons/icons/sticker-filled.js +64 -0
- package/dist/assets/line-icons/icons/sticker-filled.js.map +1 -0
- package/dist/assets/line-icons/icons/sticker.js +46 -0
- package/dist/assets/line-icons/icons/sticker.js.map +1 -0
- package/dist/assets/lottie/lottie.js +16 -1
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/analytics-events/platform-events-student.js +2 -1
- package/dist/features/analytics-events/platform-events-student.js.map +1 -1
- package/dist/features/analytics-events/platform-events-teacher.js +6 -4
- package/dist/features/analytics-events/platform-events-teacher.js.map +1 -1
- package/dist/features/analytics-events/whitelist-events.js +10 -8
- package/dist/features/analytics-events/whitelist-events.js.map +1 -1
- package/dist/features/auth/account-selector/account-selector.js +26 -25
- package/dist/features/auth/account-selector/account-selector.js.map +1 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js +9 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js +52 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js +93 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text-styled.js +10 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text-styled.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text.js +17 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text.js.map +1 -0
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +20 -14
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js +12 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js.map +1 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +34 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +1 -0
- package/dist/features/auth/comps/otp-input/otp-input-styled.js +26 -0
- package/dist/features/auth/comps/otp-input/otp-input-styled.js.map +1 -0
- package/dist/features/auth/comps/otp-input/otp-input.js +50 -0
- package/dist/features/auth/comps/otp-input/otp-input.js.map +1 -0
- package/dist/features/auth/comps/pill-button/pill-button-styled.js +44 -0
- package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -0
- package/dist/features/auth/comps/pill-button/pill-button.js +74 -0
- package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -0
- package/dist/features/auth/comps/resend-otp/resend-otp.js +54 -47
- package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js +17 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js.map +1 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +67 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +1 -0
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +29 -17
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
- package/dist/features/auth/comps/tabs/tabs-styled.js +22 -10
- package/dist/features/auth/comps/tabs/tabs-styled.js.map +1 -1
- package/dist/features/auth/comps/tabs/tabs.js +5 -5
- package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-item/user-item.js +30 -31
- package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-list.js +35 -34
- package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
- package/dist/features/auth/forgot-password/forgot-password-styled.js +14 -15
- package/dist/features/auth/forgot-password/forgot-password-styled.js.map +1 -1
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +6 -7
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +1 -1
- package/dist/features/auth/login/login-styled.js +8 -9
- package/dist/features/auth/login/login-styled.js.map +1 -1
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js +19 -0
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js.map +1 -0
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js +32 -0
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js.map +1 -0
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js +44 -0
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js.map +1 -0
- package/dist/features/auth/pla-signup/signup-header/signup-header.js +54 -0
- package/dist/features/auth/pla-signup/signup-header/signup-header.js.map +1 -0
- package/dist/features/auth/pla-signup/signup-options/signup-options.js +83 -0
- package/dist/features/auth/pla-signup/signup-options/signup-options.js.map +1 -0
- package/dist/features/chapters-v2/utils/node-card-utils.js +9 -9
- package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card-styled.js +4 -4
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card-styled.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js +85 -85
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +121 -98
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js +29 -28
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +43 -42
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/games/tutorial/tutorial.js +43 -35
- package/dist/features/circle-games/games/tutorial/tutorial.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js +2 -2
- package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js +1 -1
- package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/username-input/username-input.js +26 -24
- package/dist/features/circle-games/sign-up/comp/username-input/username-input.js.map +1 -1
- package/dist/features/circle-games/sign-up/constants.js +3 -1
- package/dist/features/circle-games/sign-up/constants.js.map +1 -1
- package/dist/features/communication/pub-sub/constants.js +7 -4
- package/dist/features/communication/pub-sub/constants.js.map +1 -1
- package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js +42 -42
- package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js.map +1 -1
- package/dist/features/homework/homework-card-view.js +85 -97
- package/dist/features/homework/homework-card-view.js.map +1 -1
- package/dist/features/homework/homework-card.js +44 -42
- package/dist/features/homework/homework-card.js.map +1 -1
- package/dist/features/homework/hw-card-list/hw-card-list-view.js +31 -29
- package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +1 -1
- package/dist/features/homework/hw-card-list/hw-card-list.js +54 -48
- package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -1
- package/dist/features/homework/utils.js +33 -27
- package/dist/features/homework/utils.js.map +1 -1
- package/dist/features/journey/comps/coachmark/coachmark.js +29 -27
- package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +17 -11
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js +72 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js +59 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +63 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js +67 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js +70 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js +59 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js +59 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js +70 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js.map +1 -0
- package/dist/features/journey/journey-id/journey-id-student.js +2 -2
- package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-teacher.js +2 -2
- package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -1
- package/dist/features/journey/use-journey/journey-context-provider.js +73 -72
- package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
- package/dist/features/journey/use-journey/journey-styled.js +6 -4
- package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
- package/dist/features/puzzles/api/puzzle-dashboard.js +10 -0
- package/dist/features/puzzles/api/puzzle-dashboard.js.map +1 -0
- package/dist/features/puzzles/app/puzzle-app-styled.js +85 -0
- package/dist/features/puzzles/app/puzzle-app-styled.js.map +1 -0
- package/dist/features/puzzles/app/puzzle-app-view.js +120 -0
- package/dist/features/puzzles/app/puzzle-app-view.js.map +1 -0
- package/dist/features/puzzles/app/puzzle-app.js +62 -0
- package/dist/features/puzzles/app/puzzle-app.js.map +1 -0
- package/dist/features/puzzles/comps/puzzle-card-styled.js +24 -69
- package/dist/features/puzzles/comps/puzzle-card-styled.js.map +1 -1
- package/dist/features/puzzles/comps/puzzle-card.js +79 -30
- package/dist/features/puzzles/comps/puzzle-card.js.map +1 -1
- package/dist/features/puzzles/constants/puzzle-container.js +8 -0
- package/dist/features/puzzles/constants/puzzle-container.js.map +1 -0
- package/dist/features/puzzles/puzzle-analytics-events.js +11 -0
- package/dist/features/puzzles/puzzle-analytics-events.js.map +1 -0
- package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js +55 -25
- package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js.map +1 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js +55 -0
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js.map +1 -0
- package/dist/features/puzzles/puzzle-container/puzzle-container.js +100 -107
- package/dist/features/puzzles/puzzle-container/puzzle-container.js.map +1 -1
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js +37 -0
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js.map +1 -0
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js +110 -0
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js.map +1 -0
- package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js +1 -1
- package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js.map +1 -1
- package/dist/features/puzzles/utils/puzzle-pattern.js +28 -13
- package/dist/features/puzzles/utils/puzzle-pattern.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js +6 -0
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js.map +1 -0
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js +12 -60
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +72 -77
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js +63 -0
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js.map +1 -0
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js +21 -0
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js.map +1 -0
- package/dist/features/ui/buttons/button/button.js +41 -38
- package/dist/features/ui/buttons/button/button.js.map +1 -1
- package/dist/features/ui/buttons/icon-button/icon-button.js +31 -27
- package/dist/features/ui/buttons/icon-button/icon-button.js.map +1 -1
- package/dist/features/ui/buttons/text-button/text-button.js +26 -22
- package/dist/features/ui/buttons/text-button/text-button.js.map +1 -1
- package/dist/features/ui/drawer/drawer-styled.js +34 -0
- package/dist/features/ui/drawer/drawer-styled.js.map +1 -0
- package/dist/features/ui/drawer/drawer.js +42 -0
- package/dist/features/ui/drawer/drawer.js.map +1 -0
- package/dist/features/ui/error/error.js +65 -27
- package/dist/features/ui/error/error.js.map +1 -1
- package/dist/features/ui/grade-selector/grade-selector.js +33 -27
- package/dist/features/ui/grade-selector/grade-selector.js.map +1 -1
- package/dist/features/ui/image/image.js +1 -1
- package/dist/features/ui/image/image.js.map +1 -1
- package/dist/features/ui/lottie-animation/lottie-animation.js +25 -29
- package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
- package/dist/features/ui/modals/modal-styled.js +34 -58
- package/dist/features/ui/modals/modal-styled.js.map +1 -1
- package/dist/features/ui/modals/modal.js +40 -14
- package/dist/features/ui/modals/modal.js.map +1 -1
- package/dist/features/ui/nudge/nudge-styled.js +14 -7
- package/dist/features/ui/nudge/nudge-styled.js.map +1 -1
- package/dist/features/ui/nudge/nudge.js +13 -12
- package/dist/features/ui/nudge/nudge.js.map +1 -1
- package/dist/features/{stickers/sticker-selector/sticker-selector-styles.js → ui/sticker-grid/sticker-grid-styles.js} +3 -4
- package/dist/features/ui/sticker-grid/sticker-grid-styles.js.map +1 -0
- package/dist/features/ui/sticker-grid/sticker-grid.js +24 -0
- package/dist/features/ui/sticker-grid/sticker-grid.js.map +1 -0
- package/dist/features/ui/sticker-grid/sticker.js +57 -0
- package/dist/features/ui/sticker-grid/sticker.js.map +1 -0
- package/dist/features/ui/stickers/constants.js +6 -0
- package/dist/features/ui/stickers/constants.js.map +1 -0
- package/dist/features/{stickers/stickers-effects/effects.js → ui/stickers/stickers-effects.js} +6 -6
- package/dist/features/ui/stickers/stickers-effects.js.map +1 -0
- package/dist/features/{stickers/stickers-effects/stickers-effects-styled.js → ui/stickers/stickers-styled.js} +2 -2
- package/dist/features/ui/stickers/stickers-styled.js.map +1 -0
- package/dist/features/ui/stickers/stickers-utils.js +91 -0
- package/dist/features/ui/stickers/stickers-utils.js.map +1 -0
- package/dist/features/ui/stickers/stickers.js +40 -0
- package/dist/features/ui/stickers/stickers.js.map +1 -0
- package/dist/features/ui/streak-icon/streak-icon-styled.js +13 -13
- package/dist/features/ui/streak-icon/streak-icon-styled.js.map +1 -1
- package/dist/features/ui/streak-icon/streak-icon.js +17 -15
- package/dist/features/ui/streak-icon/streak-icon.js.map +1 -1
- package/dist/features/ui/tab/tab.js +30 -26
- package/dist/features/ui/tab/tab.js.map +1 -1
- package/dist/features/ui/text/text.js +40 -36
- package/dist/features/ui/text/text.js.map +1 -1
- package/dist/features/ui/theme/button.js +78 -78
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/features/ui/theme/constants.js +4 -2
- package/dist/features/ui/theme/constants.js.map +1 -1
- package/dist/features/ui/theme/get-device.js +3 -3
- package/dist/features/ui/theme/get-device.js.map +1 -1
- package/dist/features/worksheet/worksheet/constants.js +12 -13
- package/dist/features/worksheet/worksheet/constants.js.map +1 -1
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js +28 -0
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js.map +1 -0
- package/dist/features/worksheet/worksheet/worksheet-helpers.js +20 -19
- package/dist/features/worksheet/worksheet/worksheet-helpers.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js +29 -25
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js +101 -47
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +244 -255
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js +242 -207
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-styled.js +45 -36
- package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-types.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet.js +321 -325
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js +1 -1
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js +44 -35
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js.map +1 -1
- package/dist/index.d.ts +281 -61
- package/dist/index.js +585 -537
- package/dist/index.js.map +1 -1
- package/dist/static/animated-avatar.1ad58b1d.json +1 -0
- package/dist/static/animated-avatar.69b07505.json +1 -0
- package/dist/static/animated-avatar.9c560b46.json +1 -0
- package/dist/static/calendar-purple.1a840b41.svg +1 -0
- package/dist/static/flying-disk.c7f6ed39.json +1 -0
- package/dist/static/graduation-cap.3be3340a.json +1 -0
- package/dist/static/handshake.287e7dfb.svg +1 -0
- package/dist/static/light-bulb.c6db0b23.json +1 -0
- package/dist/static/money.332aacf1.svg +1 -0
- package/dist/static/muscle.9bcfb8a7.json +1 -0
- package/dist/static/nudge-tap.0591aef4.json +1 -0
- package/dist/static/parent-avatar.822c7b9b.svg +1 -0
- package/dist/static/pencil.23df9da0.json +1 -0
- package/dist/static/plus-sign.de6af957.json +1 -0
- package/dist/static/puzzle-blue-lottie.7017e2e8.json +1 -0
- package/dist/static/puzzle-blue-lottie.bf64ebc5.json +12760 -0
- package/dist/static/puzzle-dashboard-banner.b7956519.svg +1 -0
- package/dist/static/puzzle-green-lottie.1da90698.json +1 -0
- package/dist/static/puzzle-orange-lottie.cfcf3724.json +1 -0
- package/dist/static/puzzle-pattern-blue.abff0164.svg +1 -0
- package/dist/static/puzzle-pattern-green.b8ba1840.svg +1 -0
- package/dist/static/puzzle-pattern-orange.3f5a17ff.svg +1 -0
- package/dist/static/puzzle-pattern-purple.14b09759.svg +1 -0
- package/dist/static/puzzle-pattern-yellow.50917fab.svg +1 -0
- package/dist/static/puzzle-purple-lottie.e70de110.json +9860 -0
- package/dist/static/puzzle-yellow-lottie.275b5cf4.json +1 -0
- package/dist/static/racing-car.2cbf864e.json +1 -0
- package/dist/static/rocket.0a3ccab0.json +1 -0
- package/dist/static/shovel.abeec04c.json +1 -0
- package/dist/static/trustpilot.bd3d79e1.svg +1 -0
- package/package.json +1 -1
- package/dist/features/hooks/use-viewport/use-viewport.js +0 -22
- package/dist/features/hooks/use-viewport/use-viewport.js.map +0 -1
- package/dist/features/stickers/sticker-data.js +0 -234
- package/dist/features/stickers/sticker-data.js.map +0 -1
- package/dist/features/stickers/sticker-selector/sticker-selector-styles.js.map +0 -1
- package/dist/features/stickers/sticker-selector/sticker-selector.js +0 -25
- package/dist/features/stickers/sticker-selector/sticker-selector.js.map +0 -1
- package/dist/features/stickers/sticker-selector/sticker.js +0 -57
- package/dist/features/stickers/sticker-selector/sticker.js.map +0 -1
- package/dist/features/stickers/stickers-effects/effects.js.map +0 -1
- package/dist/features/stickers/stickers-effects/stickers-effects-styled.js.map +0 -1
- package/dist/features/stickers/stickers-effects/stickers-effects-utils.js +0 -93
- package/dist/features/stickers/stickers-effects/stickers-effects-utils.js.map +0 -1
- package/dist/features/stickers/stickers-effects/stickers-effects.js +0 -39
- package/dist/features/stickers/stickers-effects/stickers-effects.js.map +0 -1
- package/dist/static/nudge-tap.5cb30093.json +0 -1057
- package/dist/static/puzzle-pattern-blue.f4bea1ee.svg +0 -1
- package/dist/static/puzzle-pattern-green.c9f84bbc.svg +0 -1
- package/dist/static/puzzle-pattern-orange.3da09665.svg +0 -1
- package/dist/static/puzzle-pattern-purple.5fb5a319.svg +0 -1
- package/dist/static/puzzle-pattern-yellow.aadbf457.svg +0 -1
@@ -1,307 +1,296 @@
|
|
1
|
-
import { jsxs as
|
2
|
-
import { memo as
|
3
|
-
import { IMAGES as
|
4
|
-
import
|
5
|
-
import
|
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
|
8
|
-
import { QUESTIONS_GAP as
|
9
|
-
import { getPaperColorByQuestion as
|
10
|
-
import
|
11
|
-
import
|
12
|
-
import
|
13
|
-
import
|
14
|
-
import
|
15
|
-
import
|
16
|
-
import
|
17
|
-
import
|
18
|
-
import { QuestionContainerWrapper as
|
19
|
-
const
|
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:
|
22
|
-
signedRequest:
|
23
|
-
worksheetCompleted:
|
24
|
-
question:
|
25
|
-
response:
|
26
|
-
nextQuestionId:
|
27
|
-
isActive:
|
28
|
-
isHidden:
|
29
|
-
canRender:
|
30
|
-
loggerRef:
|
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:
|
33
|
-
behavior:
|
32
|
+
maxQuestionWidth: V,
|
33
|
+
behavior: X,
|
34
34
|
layout: j,
|
35
|
-
actionbarHeight:
|
36
|
-
learnosity:
|
37
|
-
intersectionObserver:
|
38
|
-
background:
|
39
|
-
onMediaStateChange:
|
40
|
-
onMarkForReview:
|
41
|
-
userId:
|
42
|
-
onPublishStrokes:
|
43
|
-
onReceiveStrokes:
|
44
|
-
isScribblingEnabled:
|
45
|
-
initialStrokesData:
|
46
|
-
isCanvasEnabled:
|
47
|
-
onPublishMouseMove:
|
48
|
-
onSubscribeMouseMove:
|
49
|
-
setActiveQuestionId:
|
50
|
-
canResolveDoubt:
|
51
|
-
onResolveDoubt:
|
52
|
-
studentId:
|
53
|
-
responses:
|
54
|
-
subjectiveProps:
|
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
|
57
|
-
() =>
|
58
|
-
[
|
59
|
-
), [W, Mt] =
|
60
|
-
validation:
|
61
|
-
review:
|
62
|
-
maximumAttempts:
|
63
|
-
canExceedAttempts:
|
64
|
-
teacherValidationEnabled:
|
65
|
-
solutionHidden:
|
66
|
-
} =
|
67
|
-
type:
|
68
|
-
response_id:
|
69
|
-
stimulus_review:
|
70
|
-
item_type:
|
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:
|
73
|
-
item_reference:
|
74
|
-
question_number:
|
75
|
-
item_number:
|
76
|
-
item_display_number:
|
77
|
-
} =
|
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
|
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
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
]),
|
90
|
-
if (
|
91
|
-
if (
|
92
|
-
const { attemptsHistory: t } =
|
93
|
-
return ((t == null ? void 0 : t.length) ?? 0) >=
|
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
|
-
}, [
|
97
|
-
() =>
|
98
|
-
[
|
99
|
-
), [
|
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
|
-
}),
|
103
|
-
|
102
|
+
}), zt = Pt((t) => {
|
103
|
+
Tt(t);
|
104
104
|
}, []);
|
105
|
-
return
|
106
|
-
|
107
|
-
}, [
|
108
|
-
if (a && (
|
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-${
|
110
|
+
`.widget-${c.response_id} .lrn_draggable`
|
111
111
|
);
|
112
|
-
let
|
113
|
-
t.forEach((
|
114
|
-
|
115
|
-
}),
|
116
|
-
width:
|
117
|
-
height:
|
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,
|
120
|
+
}, [a, c.response_id, c.type]), _(() => {
|
121
121
|
if (a && $t) {
|
122
|
-
const t =
|
122
|
+
const t = S.question(e);
|
123
123
|
t && t.validate({
|
124
|
-
showCorrectAnswers:
|
124
|
+
showCorrectAnswers: _t
|
125
125
|
});
|
126
126
|
}
|
127
|
-
}, [a,
|
128
|
-
const t =
|
129
|
-
if (a && t &&
|
130
|
-
const
|
131
|
-
for (let
|
132
|
-
const
|
133
|
-
if (
|
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 (((
|
136
|
-
|
137
|
-
item_reference:
|
138
|
-
widget_reference:
|
139
|
-
question_type:
|
140
|
-
question_number:
|
141
|
-
responseId:
|
142
|
-
item_number:
|
143
|
-
item_display_number:
|
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
|
-
|
148
|
+
Q.current[e] = !1;
|
149
149
|
}
|
150
150
|
}, [
|
151
151
|
a,
|
152
|
-
|
153
|
-
|
154
|
-
gt,
|
155
|
-
dt,
|
152
|
+
l,
|
153
|
+
f,
|
156
154
|
ft,
|
157
|
-
M,
|
158
|
-
E,
|
159
155
|
ht,
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
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
|
-
|
175
|
+
p ? vt(w) : tt(w);
|
190
176
|
}, 1e3);
|
191
177
|
return () => {
|
192
178
|
clearTimeout(t);
|
193
179
|
};
|
194
180
|
}
|
195
181
|
}, [
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
]), /* @__PURE__ */
|
203
|
-
|
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":
|
206
|
-
className: `widget-${
|
207
|
-
ref:
|
208
|
-
$topOffset:
|
209
|
-
$flexDirection:
|
210
|
-
$alignItems:
|
211
|
-
$hidden:
|
212
|
-
$marginBottom:
|
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
|
-
|
215
|
-
|
200
|
+
g && /* @__PURE__ */ r(
|
201
|
+
ci,
|
216
202
|
{
|
217
203
|
dangerouslySetInnerHTML: {
|
218
|
-
__html:
|
204
|
+
__html: g
|
219
205
|
}
|
220
206
|
}
|
221
207
|
),
|
222
|
-
/* @__PURE__ */
|
223
|
-
|
208
|
+
/* @__PURE__ */ I(
|
209
|
+
ai,
|
224
210
|
{
|
225
|
-
ref:
|
226
|
-
$width:
|
227
|
-
$minHeight: W ? Math.max(W - 72,
|
228
|
-
$isActive:
|
229
|
-
$paperColor:
|
230
|
-
$opacity:
|
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
|
-
|
233
|
-
|
219
|
+
H && !!k && !!q && J && /* @__PURE__ */ r(
|
220
|
+
Ft,
|
234
221
|
{
|
235
|
-
containerRef:
|
236
|
-
onPublish:
|
237
|
-
onSubscribe:
|
238
|
-
responseId:
|
222
|
+
containerRef: z,
|
223
|
+
onPublish: k,
|
224
|
+
onSubscribe: q,
|
225
|
+
responseId: e
|
239
226
|
}
|
240
227
|
),
|
241
|
-
/* @__PURE__ */
|
242
|
-
|
228
|
+
/* @__PURE__ */ I(
|
229
|
+
mi,
|
243
230
|
{
|
244
|
-
className:
|
245
|
-
$dropzoneMinWidth:
|
246
|
-
$dropzoneMinHeight:
|
231
|
+
className: Ot,
|
232
|
+
$dropzoneMinWidth: wt.width,
|
233
|
+
$dropzoneMinHeight: wt.height,
|
247
234
|
children: [
|
248
|
-
|
249
|
-
|
235
|
+
Bt && !(b || l || f) && /* @__PURE__ */ r(
|
236
|
+
Jt,
|
250
237
|
{
|
251
|
-
userType:
|
252
|
-
question:
|
253
|
-
response:
|
254
|
-
behavior:
|
238
|
+
userType: n,
|
239
|
+
question: c,
|
240
|
+
response: i,
|
241
|
+
behavior: X,
|
255
242
|
layout: j,
|
256
|
-
paperColor:
|
257
|
-
onMarkForReview:
|
258
|
-
actionbarHeight:
|
259
|
-
canResolveDoubt:
|
260
|
-
onResolveDoubt:
|
261
|
-
worksheetCompleted:
|
243
|
+
paperColor: R,
|
244
|
+
onMarkForReview: Ct,
|
245
|
+
actionbarHeight: Rt,
|
246
|
+
canResolveDoubt: Lt,
|
247
|
+
onResolveDoubt: bt,
|
248
|
+
worksheetCompleted: d
|
262
249
|
}
|
263
250
|
),
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
(
|
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__ */
|
273
|
-
|
259
|
+
/* @__PURE__ */ r(
|
260
|
+
kt,
|
274
261
|
{
|
275
|
-
signedRequest:
|
262
|
+
signedRequest: St,
|
276
263
|
appended: a,
|
277
|
-
question:
|
278
|
-
response:
|
279
|
-
canRender:
|
280
|
-
learnosity:
|
281
|
-
canForceAppend:
|
282
|
-
isConceptIntro:
|
283
|
-
simState:
|
284
|
-
onMediaStateChange:
|
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
|
-
!
|
288
|
-
|
276
|
+
!dt && J && Y && Z && W !== void 0 && /* @__PURE__ */ r(ui, { $canScribble: K, children: /* @__PURE__ */ r(
|
277
|
+
jt,
|
289
278
|
{
|
290
|
-
canRender:
|
291
|
-
canScribble:
|
279
|
+
canRender: P,
|
280
|
+
canScribble: K && H,
|
292
281
|
appended: a,
|
293
|
-
canvasId:
|
294
|
-
width:
|
295
|
-
height: Math.max(W,
|
296
|
-
onUpdateHeight:
|
297
|
-
onPublish:
|
298
|
-
onSubscribe:
|
299
|
-
userId:
|
300
|
-
initialData:
|
301
|
-
userType:
|
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
|
-
!
|
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,
|
313
|
-
|
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 ? ` ${
|
305
|
+
__html: `<span style="color: #DA5107; font-weight: 600;">Hint${((h == null ? void 0 : h.length) ?? 0) > 1 ? ` ${o + 1}` : ""}:</span> ${t}`
|
317
306
|
}
|
318
307
|
},
|
319
308
|
t
|
320
309
|
))
|
321
310
|
}
|
322
311
|
),
|
323
|
-
|
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__ */
|
332
|
-
|
320
|
+
children: /* @__PURE__ */ r(
|
321
|
+
hi,
|
333
322
|
{
|
334
323
|
dangerouslySetInnerHTML: {
|
335
|
-
__html: `<div style="color: #DA5107; font-weight: 600;">Solution:</div>${
|
324
|
+
__html: `<div style="color: #DA5107; font-weight: 600;">Solution:</div>${L}`
|
336
325
|
}
|
337
326
|
}
|
338
327
|
)
|
339
328
|
}
|
340
329
|
),
|
341
|
-
!!
|
342
|
-
|
330
|
+
!!it && /* @__PURE__ */ r(
|
331
|
+
ti,
|
343
332
|
{
|
344
|
-
responses:
|
345
|
-
response:
|
346
|
-
nextQuestionId:
|
347
|
-
responseId:
|
348
|
-
studentId:
|
349
|
-
userType:
|
350
|
-
...
|
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
|
-
|
354
|
+
Ti as default
|
366
355
|
};
|
367
356
|
//# sourceMappingURL=worksheet-question.js.map
|