@cuemath/leap 3.2.17-pzd-0.1 → 3.2.18-mb
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 +5 -6
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/lottie/lottie.js +1 -6
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/analytics-events/platform-events-student.js +1 -2
- package/dist/features/analytics-events/platform-events-student.js.map +1 -1
- package/dist/features/analytics-events/platform-events-teacher.js +4 -6
- package/dist/features/analytics-events/platform-events-teacher.js.map +1 -1
- package/dist/features/analytics-events/whitelist-events.js +8 -10
- package/dist/features/analytics-events/whitelist-events.js.map +1 -1
- package/dist/features/auth/account-selector/account-selector.js +25 -26
- package/dist/features/auth/account-selector/account-selector.js.map +1 -1
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +14 -15
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-item/user-item.js +31 -30
- 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 +34 -35
- package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
- package/dist/features/auth/forgot-password/forgot-password-styled.js +15 -14
- 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 +7 -6
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +1 -1
- package/dist/features/auth/login/login-styled.js +9 -8
- package/dist/features/auth/login/login-styled.js.map +1 -1
- 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 +98 -121
- 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 +28 -29
- 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 +42 -43
- 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 +35 -43
- 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 +24 -26
- 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 +1 -3
- package/dist/features/circle-games/sign-up/constants.js.map +1 -1
- package/dist/features/communication/pub-sub/constants.js +4 -7
- 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 +97 -85
- package/dist/features/homework/homework-card-view.js.map +1 -1
- package/dist/features/homework/homework-card.js +42 -44
- package/dist/features/homework/homework-card.js.map +1 -1
- package/dist/features/homework/hw-card-list/hw-card-list-view.js +29 -31
- 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 +48 -54
- package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -1
- package/dist/features/homework/utils.js +27 -33
- package/dist/features/homework/utils.js.map +1 -1
- package/dist/features/hooks/use-viewport/use-viewport.js +22 -0
- package/dist/features/hooks/use-viewport/use-viewport.js.map +1 -0
- package/dist/features/journey/comps/coachmark/coachmark.js +27 -29
- package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +11 -17
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -1
- 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 +72 -73
- package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
- package/dist/features/journey/use-journey/journey-styled.js +4 -6
- package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
- package/dist/features/puzzles/comps/puzzle-card-styled.js +69 -24
- package/dist/features/puzzles/comps/puzzle-card-styled.js.map +1 -1
- package/dist/features/puzzles/comps/puzzle-card.js +30 -79
- package/dist/features/puzzles/comps/puzzle-card.js.map +1 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js +25 -55
- package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js.map +1 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container.js +107 -100
- package/dist/features/puzzles/puzzle-container/puzzle-container.js.map +1 -1
- 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 +13 -28
- package/dist/features/puzzles/utils/puzzle-pattern.js.map +1 -1
- package/dist/features/stickers/sticker-data.js +234 -0
- package/dist/features/stickers/sticker-data.js.map +1 -0
- package/dist/features/{ui/sticker-grid/sticker-grid-styles.js → stickers/sticker-selector/sticker-selector-styles.js} +4 -3
- package/dist/features/stickers/sticker-selector/sticker-selector-styles.js.map +1 -0
- package/dist/features/stickers/sticker-selector/sticker-selector.js +25 -0
- package/dist/features/stickers/sticker-selector/sticker-selector.js.map +1 -0
- package/dist/features/stickers/sticker-selector/sticker.js +57 -0
- package/dist/features/stickers/sticker-selector/sticker.js.map +1 -0
- package/dist/features/{ui/stickers/stickers-effects.js → stickers/stickers-effects/effects.js} +6 -6
- package/dist/features/stickers/stickers-effects/effects.js.map +1 -0
- package/dist/features/{ui/stickers/stickers-styled.js → stickers/stickers-effects/stickers-effects-styled.js} +2 -2
- package/dist/features/stickers/stickers-effects/stickers-effects-styled.js.map +1 -0
- package/dist/features/stickers/stickers-effects/stickers-effects-utils.js +93 -0
- package/dist/features/stickers/stickers-effects/stickers-effects-utils.js.map +1 -0
- package/dist/features/stickers/stickers-effects/stickers-effects.js +39 -0
- package/dist/features/stickers/stickers-effects/stickers-effects.js.map +1 -0
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js +60 -12
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +77 -72
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
- package/dist/features/ui/error/error.js +27 -65
- package/dist/features/ui/error/error.js.map +1 -1
- package/dist/features/ui/lottie-animation/lottie-animation.js +29 -25
- package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
- package/dist/features/ui/modals/modal-styled.js +58 -34
- package/dist/features/ui/modals/modal-styled.js.map +1 -1
- package/dist/features/ui/modals/modal.js +14 -40
- package/dist/features/ui/modals/modal.js.map +1 -1
- package/dist/features/ui/nudge/nudge-styled.js +7 -14
- package/dist/features/ui/nudge/nudge-styled.js.map +1 -1
- package/dist/features/ui/nudge/nudge.js +12 -13
- package/dist/features/ui/nudge/nudge.js.map +1 -1
- 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 +15 -17
- package/dist/features/ui/streak-icon/streak-icon.js.map +1 -1
- package/dist/features/ui/text/text.js +36 -40
- package/dist/features/ui/text/text.js.map +1 -1
- package/dist/features/ui/theme/constants.js +2 -4
- 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 +13 -12
- package/dist/features/worksheet/worksheet/constants.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-helpers.js +19 -20
- package/dist/features/worksheet/worksheet/worksheet-helpers.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js +25 -29
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js +47 -101
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +255 -244
- 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 +207 -242
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-styled.js +36 -45
- 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 +325 -321
- 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 +35 -44
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js.map +1 -1
- package/dist/index.d.ts +56 -152
- package/dist/index.js +539 -563
- package/dist/index.js.map +1 -1
- package/dist/static/nudge-tap.5cb30093.json +1057 -0
- package/dist/static/puzzle-pattern-blue.f4bea1ee.svg +1 -0
- package/dist/static/puzzle-pattern-green.c9f84bbc.svg +1 -0
- package/dist/static/puzzle-pattern-orange.3da09665.svg +1 -0
- package/dist/static/puzzle-pattern-purple.5fb5a319.svg +1 -0
- package/dist/static/puzzle-pattern-yellow.aadbf457.svg +1 -0
- package/package.json +1 -1
- package/dist/assets/line-icons/icons/cue-board-filled.js +0 -33
- package/dist/assets/line-icons/icons/cue-board-filled.js.map +0 -1
- package/dist/assets/line-icons/icons/cue-board.js +0 -23
- package/dist/assets/line-icons/icons/cue-board.js.map +0 -1
- package/dist/assets/line-icons/icons/hint-fill.js +0 -35
- package/dist/assets/line-icons/icons/hint-fill.js.map +0 -1
- package/dist/assets/line-icons/icons/screen-grab-filled.js +0 -35
- package/dist/assets/line-icons/icons/screen-grab-filled.js.map +0 -1
- package/dist/assets/line-icons/icons/screen-grab.js +0 -23
- package/dist/assets/line-icons/icons/screen-grab.js.map +0 -1
- package/dist/assets/line-icons/icons/sticker-filled.js +0 -64
- package/dist/assets/line-icons/icons/sticker-filled.js.map +0 -1
- package/dist/assets/line-icons/icons/sticker.js +0 -46
- package/dist/assets/line-icons/icons/sticker.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js +0 -72
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +0 -63
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js +0 -67
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js +0 -70
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js +0 -70
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js.map +0 -1
- package/dist/features/puzzles/api/puzzle-dashboard.js +0 -10
- package/dist/features/puzzles/api/puzzle-dashboard.js.map +0 -1
- package/dist/features/puzzles/app/puzzle-app-styled.js +0 -85
- package/dist/features/puzzles/app/puzzle-app-styled.js.map +0 -1
- package/dist/features/puzzles/app/puzzle-app-view.js +0 -120
- package/dist/features/puzzles/app/puzzle-app-view.js.map +0 -1
- package/dist/features/puzzles/app/puzzle-app.js +0 -62
- package/dist/features/puzzles/app/puzzle-app.js.map +0 -1
- package/dist/features/puzzles/constants/puzzle-container.js +0 -8
- package/dist/features/puzzles/constants/puzzle-container.js.map +0 -1
- package/dist/features/puzzles/puzzle-analytics-events.js +0 -11
- package/dist/features/puzzles/puzzle-analytics-events.js.map +0 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js +0 -55
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js.map +0 -1
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js +0 -37
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js.map +0 -1
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js +0 -110
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js.map +0 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js +0 -6
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js.map +0 -1
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js +0 -63
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js.map +0 -1
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js +0 -21
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js.map +0 -1
- package/dist/features/ui/sticker-grid/sticker-grid-styles.js.map +0 -1
- package/dist/features/ui/sticker-grid/sticker-grid.js +0 -24
- package/dist/features/ui/sticker-grid/sticker-grid.js.map +0 -1
- package/dist/features/ui/sticker-grid/sticker.js +0 -57
- package/dist/features/ui/sticker-grid/sticker.js.map +0 -1
- package/dist/features/ui/stickers/constants.js +0 -6
- package/dist/features/ui/stickers/constants.js.map +0 -1
- package/dist/features/ui/stickers/stickers-effects.js.map +0 -1
- package/dist/features/ui/stickers/stickers-styled.js.map +0 -1
- package/dist/features/ui/stickers/stickers-utils.js +0 -91
- package/dist/features/ui/stickers/stickers-utils.js.map +0 -1
- package/dist/features/ui/stickers/stickers.js +0 -40
- package/dist/features/ui/stickers/stickers.js.map +0 -1
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js +0 -28
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js.map +0 -1
- package/dist/static/nudge-tap.0591aef4.json +0 -1
- package/dist/static/puzzle-blue-lottie.7017e2e8.json +0 -1
- package/dist/static/puzzle-blue-lottie.bf64ebc5.json +0 -12760
- package/dist/static/puzzle-dashboard-banner.b7956519.svg +0 -1
- package/dist/static/puzzle-green-lottie.1da90698.json +0 -1
- package/dist/static/puzzle-orange-lottie.cfcf3724.json +0 -1
- package/dist/static/puzzle-pattern-blue.abff0164.svg +0 -1
- package/dist/static/puzzle-pattern-green.b8ba1840.svg +0 -1
- package/dist/static/puzzle-pattern-orange.3f5a17ff.svg +0 -1
- package/dist/static/puzzle-pattern-purple.14b09759.svg +0 -1
- package/dist/static/puzzle-pattern-yellow.50917fab.svg +0 -1
- package/dist/static/puzzle-purple-lottie.e70de110.json +0 -9860
- package/dist/static/puzzle-yellow-lottie.275b5cf4.json +0 -1
@@ -1,132 +1,130 @@
|
|
1
|
-
import { jsxs as R, Fragment as
|
2
|
-
import { captureMessage as
|
3
|
-
import { memo as
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
9
|
-
import
|
10
|
-
import
|
11
|
-
import
|
12
|
-
import { WORKSHEET_NUDGE_BANNER_HEIGHT as
|
13
|
-
import
|
14
|
-
import
|
15
|
-
import
|
16
|
-
import
|
17
|
-
import
|
18
|
-
import
|
19
|
-
import { getWorksheetDimensions as
|
20
|
-
import
|
1
|
+
import { jsxs as R, Fragment as ut, jsx as o } from "react/jsx-runtime";
|
2
|
+
import { captureMessage as Y } from "@sentry/browser";
|
3
|
+
import { memo as mt, forwardRef as ft, useMemo as Z, useState as v, useCallback as y, useEffect as b, useLayoutEffect as pt } from "react";
|
4
|
+
import ht from "../../../assets/line-icons/icons/check2.js";
|
5
|
+
import gt from "../../../assets/line-icons/icons/info2.js";
|
6
|
+
import bt from "../../../helpers/get-device-details.js";
|
7
|
+
import It from "../../sheet-tools/desmos-calculator/desmos-calculator.js";
|
8
|
+
import me from "../../ui/layout/flex-view.js";
|
9
|
+
import St from "../../ui/text/text.js";
|
10
|
+
import Ct from "../constants/events.js";
|
11
|
+
import vt from "../user-pointer-pin/user-pin.js";
|
12
|
+
import { WORKSHEET_NUDGE_BANNER_HEIGHT as fe, TOP_NAVIGATION_HEIGHT as yt, DESMOS_CALC_POSITION as Tt } from "./constants.js";
|
13
|
+
import $t from "./hooks/use-create-imperative-handle.js";
|
14
|
+
import _t from "./hooks/use-get-active-question-id.js";
|
15
|
+
import Et from "./hooks/use-time-on-questions.js";
|
16
|
+
import kt from "./question-tips.js";
|
17
|
+
import wt from "./worksheet-action-bar/worksheet-action-bar.js";
|
18
|
+
import Nt from "./worksheet-blocker/worksheet-blocker.js";
|
19
|
+
import { getWorksheetDimensions as At, getQuestionsFromItems as Bt, getInitialResponses as Wt, getLastUnlockedQuestionIndex as pe, getInitialQuestionId as Ot, getQuestionMetadata as he, scrollToQuestion as Q, getRenderableQuestions as Rt, getWorksheetNudgeBannerInfo as Dt } from "./worksheet-helpers.js";
|
20
|
+
import Vt from "./worksheet-navigation/worksheet-navigation.js";
|
21
21
|
import Ht from "./worksheet-question/worksheet-question.js";
|
22
|
-
import
|
23
|
-
import
|
24
|
-
import {
|
25
|
-
import
|
26
|
-
const
|
22
|
+
import Mt from "./worksheet-sidebar/navigator.js";
|
23
|
+
import xt from "./worksheet-sidebar/sidebar.js";
|
24
|
+
import { NudgeBannerWrapper as qt, NudgeBannerIcon as ge, WorksheetContainer as Pt, NavigationContainer as Qt, NavigationWrapper as Gt, BlockerWrapper as Lt, DesmosCalcWrapper as Ft, ActionbarContainer as jt, ActionbarWrapper as Ut, StudentWorksheetSideBar as Kt, QuestionsWrapper as Xt } from "./worksheet-styled.js";
|
25
|
+
import zt from "./worksheet-summary/worksheet-summary.js";
|
26
|
+
const Jt = (be, Ie) => {
|
27
27
|
const {
|
28
|
-
userType:
|
29
|
-
studentName:
|
30
|
-
questionsSignedRequest:
|
28
|
+
userType: s,
|
29
|
+
studentName: Se = "Student",
|
30
|
+
questionsSignedRequest: Ce,
|
31
31
|
worksheetName: ee,
|
32
32
|
initialResponseId: ve,
|
33
|
-
initialItemIndex:
|
33
|
+
initialItemIndex: ye,
|
34
34
|
learnosityActivityRef: E,
|
35
35
|
learnosityItems: k,
|
36
|
-
learnosityResponses:
|
36
|
+
learnosityResponses: Te,
|
37
37
|
layout: T,
|
38
|
-
background:
|
38
|
+
background: $e,
|
39
39
|
behavior: a,
|
40
40
|
updatedResponses: G,
|
41
|
-
showNudgeBanner:
|
41
|
+
showNudgeBanner: _e,
|
42
42
|
markedAsCompleted: te,
|
43
43
|
onResponseChange: I,
|
44
|
-
onBulkResponsesChange:
|
45
|
-
onResponsesChange:
|
44
|
+
onBulkResponsesChange: Ee,
|
45
|
+
onResponsesChange: L,
|
46
46
|
onMediaStateChange: F,
|
47
47
|
onTeacherValidation: ie,
|
48
|
-
onOptionalItemAssignment:
|
49
|
-
onOptionalItemSkip:
|
48
|
+
onOptionalItemAssignment: ke,
|
49
|
+
onOptionalItemSkip: we,
|
50
50
|
onExitTicketStart: D,
|
51
51
|
onExitTicketSubmit: V,
|
52
|
-
onSubmit:
|
52
|
+
onSubmit: Ne,
|
53
53
|
learnosity: S,
|
54
54
|
appendedQuestionIds: ne,
|
55
|
-
worksheetCompleted:
|
56
|
-
userId:
|
57
|
-
onPublishStrokes:
|
58
|
-
onReceiveStrokes:
|
59
|
-
initialStrokesData:
|
55
|
+
worksheetCompleted: Ae,
|
56
|
+
userId: Be,
|
57
|
+
onPublishStrokes: We,
|
58
|
+
onReceiveStrokes: Oe,
|
59
|
+
initialStrokesData: Re,
|
60
60
|
isCanvasEnabled: oe,
|
61
|
-
onHelp:
|
62
|
-
onPublishMouseMove:
|
63
|
-
onSubscribeMouseMove:
|
61
|
+
onHelp: De,
|
62
|
+
onPublishMouseMove: Ve,
|
63
|
+
onSubscribeMouseMove: He,
|
64
64
|
onActiveQuestionChange: j,
|
65
|
-
openQuestionFeedbackModal:
|
66
|
-
summaryDescription:
|
65
|
+
openQuestionFeedbackModal: Me,
|
66
|
+
summaryDescription: xe,
|
67
67
|
canSubmitWorksheet: qe,
|
68
68
|
loggerRef: w,
|
69
|
-
canResolveDoubt:
|
70
|
-
onResolveDoubt:
|
69
|
+
canResolveDoubt: Pe,
|
70
|
+
onResolveDoubt: Qe,
|
71
71
|
onSkip: Ge,
|
72
|
-
onUnassign:
|
72
|
+
onUnassign: Le,
|
73
73
|
onReview: Fe,
|
74
74
|
canToggleScribbling: je = !0,
|
75
75
|
studentId: Ue,
|
76
76
|
subjectiveProps: Ke,
|
77
77
|
canShowActionBar: Xe = !0
|
78
|
-
} =
|
79
|
-
containerStyle:
|
80
|
-
containerWidth:
|
81
|
-
minQuestionHeight:
|
82
|
-
minSummaryHeight:
|
83
|
-
questionsScrollable:
|
84
|
-
navigationBar:
|
85
|
-
topOffset:
|
86
|
-
renderSideBar:
|
87
|
-
showUserPointer:
|
88
|
-
|
89
|
-
|
78
|
+
} = be, { initialQuestion: ze, navigationMode: p, teacherValidationEnabled: U } = a, {
|
79
|
+
containerStyle: H,
|
80
|
+
containerWidth: Je,
|
81
|
+
minQuestionHeight: re,
|
82
|
+
minSummaryHeight: Ye,
|
83
|
+
questionsScrollable: M,
|
84
|
+
navigationBar: Ze,
|
85
|
+
topOffset: x,
|
86
|
+
renderSideBar: et,
|
87
|
+
showUserPointer: tt = !0,
|
88
|
+
imageHue: se
|
89
|
+
} = T, { actionbarHeight: C, maxQuestionWidth: K, questionsContainerWidth: X } = Z(
|
90
|
+
() => At(k, T),
|
90
91
|
[T, k]
|
91
|
-
), [t] =
|
92
|
-
() =>
|
92
|
+
), [t] = v(
|
93
|
+
() => Bt(k, {
|
93
94
|
sectioned: U && p !== "ADAPTIVE" && p !== "CURRENT",
|
94
95
|
adaptive: p === "ADAPTIVE"
|
95
96
|
})
|
96
|
-
), [c, N] =
|
97
|
-
() =>
|
98
|
-
), [
|
99
|
-
() => p !== "OPEN" ?
|
97
|
+
), [c, N] = v(
|
98
|
+
() => Te ?? Wt(t)
|
99
|
+
), [ae, it] = v(!1), h = Z(
|
100
|
+
() => p !== "OPEN" ? pe({
|
100
101
|
questions: t,
|
101
102
|
responses: c,
|
102
103
|
behavior: a,
|
103
|
-
userType:
|
104
|
+
userType: s
|
104
105
|
}) : t.length - 1,
|
105
|
-
[a, p, t, c,
|
106
|
-
), ot =
|
107
|
-
() =>
|
108
|
-
[t, h, r]
|
109
|
-
), l = t[h], s = c[(l == null ? void 0 : l.response_id) ?? ""], { bannerBackgroundColor: rt, label: st } = Mt(r, !!te), [A] = y(
|
110
|
-
() => Vt({
|
106
|
+
[a, p, t, c, s]
|
107
|
+
), l = t[h], r = c[(l == null ? void 0 : l.response_id) ?? ""], { bannerBackgroundColor: nt, label: ot } = Dt(s, !!te), [A] = v(
|
108
|
+
() => Ot({
|
111
109
|
questions: t,
|
112
|
-
initialQuestion:
|
113
|
-
lastUnlockedQuestionIndex:
|
110
|
+
initialQuestion: ze,
|
111
|
+
lastUnlockedQuestionIndex: pe({
|
114
112
|
questions: t,
|
115
113
|
responses: c,
|
116
114
|
behavior: a,
|
117
|
-
userType:
|
115
|
+
userType: s
|
118
116
|
}),
|
119
117
|
initialResponseId: ve,
|
120
|
-
initialItemIndex:
|
118
|
+
initialItemIndex: ye
|
121
119
|
})
|
122
|
-
), { activeQuestionId: B, setActiveQuestionId:
|
120
|
+
), { activeQuestionId: B, setActiveQuestionId: q, intersectionObserver: z } = _t(A), f = Z(
|
123
121
|
() => t.findIndex((e) => e.response_id === B),
|
124
122
|
[B, t]
|
125
|
-
), [g,
|
123
|
+
), [g, J] = v(!1), [ce, W] = v(), [le, de] = v(!1), ue = Et(a, c, B), rt = y(
|
126
124
|
(e, i, n) => {
|
127
125
|
const d = i === "SIMULATION" ? "simState" : void 0;
|
128
126
|
d && (I ? N((u) => {
|
129
|
-
const m = e.response_id, $ =
|
127
|
+
const m = e.response_id, $ = he(t, m);
|
130
128
|
if (!$) return u;
|
131
129
|
const _ = {
|
132
130
|
...$,
|
@@ -145,10 +143,10 @@ const ei = (Ie, Se) => {
|
|
145
143
|
}) : F && F(e, i, n));
|
146
144
|
},
|
147
145
|
[F, I, t]
|
148
|
-
),
|
146
|
+
), st = y(
|
149
147
|
(e, i) => {
|
150
148
|
N((n) => {
|
151
|
-
const d =
|
149
|
+
const d = he(t, e);
|
152
150
|
return d ? {
|
153
151
|
...n,
|
154
152
|
[e]: {
|
@@ -160,78 +158,78 @@ const ei = (Ie, Se) => {
|
|
160
158
|
});
|
161
159
|
},
|
162
160
|
[t]
|
163
|
-
), O =
|
161
|
+
), O = y(() => {
|
164
162
|
W((e) => {
|
165
163
|
var i;
|
166
164
|
if (e) {
|
167
165
|
const n = (i = t[h]) == null ? void 0 : i.response_id;
|
168
166
|
n && setTimeout(() => {
|
169
|
-
|
167
|
+
Q(n);
|
170
168
|
}, 50);
|
171
169
|
}
|
172
170
|
});
|
173
|
-
}, [h, t]),
|
171
|
+
}, [h, t]), P = y(
|
174
172
|
(e) => {
|
175
|
-
|
173
|
+
J(!1), M ? requestAnimationFrame(() => Q(e)) : q(e);
|
176
174
|
},
|
177
|
-
[
|
178
|
-
),
|
179
|
-
|
180
|
-
}, []),
|
181
|
-
|
182
|
-
}, []),
|
183
|
-
|
175
|
+
[M, q]
|
176
|
+
), at = y(() => {
|
177
|
+
de(!1);
|
178
|
+
}, []), ct = y(() => {
|
179
|
+
de(!0);
|
180
|
+
}, []), lt = y(() => {
|
181
|
+
J(!0);
|
184
182
|
}, []);
|
185
183
|
return b(() => {
|
186
184
|
const e = t[f];
|
187
185
|
e && j && j(e);
|
188
|
-
}, [j, t, f]),
|
186
|
+
}, [j, t, f]), $t(Ie, {
|
189
187
|
behavior: a,
|
190
188
|
questions: t,
|
191
189
|
setResponses: N,
|
192
190
|
onResponseChange: I,
|
193
|
-
onBulkResponsesChange:
|
194
|
-
getTimeSpentOnQuestion:
|
191
|
+
onBulkResponsesChange: Ee,
|
192
|
+
getTimeSpentOnQuestion: ue
|
195
193
|
}), b(() => () => {
|
196
|
-
|
197
|
-
}, [
|
198
|
-
|
199
|
-
}, [
|
194
|
+
z.disconnect();
|
195
|
+
}, [z]), b(() => {
|
196
|
+
L && c && L(c);
|
197
|
+
}, [L, c]), b(() => {
|
200
198
|
G && N(G);
|
201
|
-
}, [G]),
|
199
|
+
}, [G]), pt(() => {
|
202
200
|
let e;
|
203
|
-
return S && A && (
|
204
|
-
|
205
|
-
}, 400) :
|
201
|
+
return S && A && (bt().browser_name === "Safari" ? e = setTimeout(() => {
|
202
|
+
Q(A);
|
203
|
+
}, 400) : Q(A)), () => {
|
206
204
|
clearTimeout(e);
|
207
205
|
};
|
208
|
-
}, [S, A,
|
206
|
+
}, [S, A, x]), b(() => {
|
209
207
|
if (a.teacherValidationEnabled && l) {
|
210
208
|
const { item_type: e, instructor_stimulus: i, is_optional: n } = l;
|
211
|
-
|
209
|
+
s === "TEACHER" && (e === "exit-ticket" && i !== "SystemIntro" ? r != null && r.submittedByStudent && !(r != null && r.validatedByTeacher) ? W("exit-ticket-review-available") : r != null && r.validatedByTeacher ? O() : W("exit-ticket-teacher-intervention") : n ? r != null && r.assignStatus ? O() : W("optional-items-assignment") : n || O());
|
212
210
|
}
|
213
211
|
}, [
|
214
212
|
a.teacherValidationEnabled,
|
215
213
|
O,
|
216
214
|
l,
|
217
|
-
|
218
|
-
|
215
|
+
r,
|
216
|
+
s
|
219
217
|
]), b(() => {
|
220
218
|
if (a.teacherValidationEnabled && l) {
|
221
219
|
const { item_type: e, instructor_stimulus: i } = l;
|
222
|
-
|
220
|
+
s === "STUDENT" && e === "exit-ticket" && i !== "SystemIntro" && (r != null && r.submittedByStudent ? V == null || V() : D == null || D());
|
223
221
|
}
|
224
222
|
}, [
|
225
223
|
a.teacherValidationEnabled,
|
226
224
|
l,
|
227
|
-
|
225
|
+
r == null ? void 0 : r.submittedByStudent,
|
228
226
|
D,
|
229
227
|
V,
|
230
|
-
|
228
|
+
s
|
231
229
|
]), b(() => {
|
232
230
|
p === "CURRENT" && k.forEach(({ reference: e, questions: i }) => {
|
233
231
|
var n, d, u;
|
234
|
-
i.length < 3 ?
|
232
|
+
i.length < 3 ? Y(`Diagnostics item has Less than 3 questions: ${e}`, {
|
235
233
|
tags: {
|
236
234
|
"content-type": "learnosity",
|
237
235
|
"activity-reference": E,
|
@@ -239,7 +237,7 @@ const ei = (Ie, Se) => {
|
|
239
237
|
},
|
240
238
|
fingerprint: [`diagnostics-item-questions-count-${e}`]
|
241
239
|
// Add unique fingerprint
|
242
|
-
}) : (((n = i[0]) == null ? void 0 : n.instructor_stimulus) !== "Try" || ((d = i[1]) == null ? void 0 : d.instructor_stimulus) !== "Learn" || ((u = i[2]) == null ? void 0 : u.instructor_stimulus) !== "Apply") &&
|
240
|
+
}) : (((n = i[0]) == null ? void 0 : n.instructor_stimulus) !== "Try" || ((d = i[1]) == null ? void 0 : d.instructor_stimulus) !== "Learn" || ((u = i[2]) == null ? void 0 : u.instructor_stimulus) !== "Apply") && Y(
|
243
241
|
`Diagnostics questions sequence is incorrect expected [Try, Learn, Apply]: ${e}`,
|
244
242
|
{
|
245
243
|
tags: {
|
@@ -257,7 +255,7 @@ const ei = (Ie, Se) => {
|
|
257
255
|
const { validation: i, item_reference: n, type: d, question_number: u, metadata: m } = e;
|
258
256
|
if ((U ? d !== "clozetext" : !0) && (i != null && i.valid_response)) {
|
259
257
|
const _ = i.valid_response.value ?? [];
|
260
|
-
(_ == null ? void 0 : _.length) === 0 && ((i.alt_responses ?? []).some((
|
258
|
+
(_ == null ? void 0 : _.length) === 0 && ((i.alt_responses ?? []).some((dt) => dt.value.length > 0) || (Y(`Question has no valid response: ${m.widget_reference}`, {
|
261
259
|
tags: {
|
262
260
|
"content-type": "learnosity",
|
263
261
|
"activity-reference": E,
|
@@ -267,7 +265,7 @@ const ei = (Ie, Se) => {
|
|
267
265
|
},
|
268
266
|
fingerprint: [`no-valid-response-${m.widget_reference}`]
|
269
267
|
// Add unique fingerprint
|
270
|
-
}), w.current(
|
268
|
+
}), w.current(Ct.WORKSHEET_V3_QUESTION_MISSING_VALIDATION, {
|
271
269
|
item_reference: n,
|
272
270
|
widget_reference: m.widget_reference,
|
273
271
|
question_type: d,
|
@@ -275,231 +273,237 @@ const ei = (Ie, Se) => {
|
|
275
273
|
})));
|
276
274
|
}
|
277
275
|
});
|
278
|
-
}, [E, w, t, U]), S ? /* @__PURE__ */ R(
|
279
|
-
/* @__PURE__ */
|
280
|
-
|
281
|
-
Lt,
|
276
|
+
}, [E, w, t, U]), S ? /* @__PURE__ */ R(ut, { children: [
|
277
|
+
_e && /* @__PURE__ */ R(
|
278
|
+
qt,
|
282
279
|
{
|
283
280
|
$flexDirection: "row",
|
284
281
|
$justifyContent: "center",
|
285
282
|
$alignItems: "center",
|
286
283
|
$width: "100%",
|
287
284
|
$heightX: 1.75,
|
288
|
-
$height:
|
285
|
+
$height: fe,
|
289
286
|
$gap: 8,
|
290
287
|
$gutter: 8,
|
291
288
|
$flexGap: 8,
|
292
|
-
$background:
|
293
|
-
$topOffset: T.topOffset -
|
289
|
+
$background: nt,
|
290
|
+
$topOffset: T.topOffset - fe,
|
294
291
|
children: [
|
295
|
-
te ? /* @__PURE__ */ o(
|
296
|
-
/* @__PURE__ */ o(
|
292
|
+
te ? /* @__PURE__ */ o(ge, { children: /* @__PURE__ */ o(ht, { width: 16, height: 16 }) }) : /* @__PURE__ */ o(ge, { children: /* @__PURE__ */ o(gt, { width: 16, height: 16 }) }),
|
293
|
+
/* @__PURE__ */ o(St, { $renderAs: "ub3", children: ot })
|
297
294
|
]
|
298
295
|
}
|
299
296
|
),
|
300
|
-
/* @__PURE__ */ R(
|
301
|
-
|
302
|
-
|
303
|
-
{
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
children: /* @__PURE__ */ o(
|
363
|
-
fe,
|
297
|
+
/* @__PURE__ */ R(
|
298
|
+
Pt,
|
299
|
+
{
|
300
|
+
$background: se ? `${se}_1` : "WHITE",
|
301
|
+
$width: Je,
|
302
|
+
children: [
|
303
|
+
Ze === "top" && /* @__PURE__ */ o(Qt, { $topOffset: x, $height: yt, children: /* @__PURE__ */ o(Gt, { children: /* @__PURE__ */ o(
|
304
|
+
Vt,
|
305
|
+
{
|
306
|
+
placement: "top",
|
307
|
+
questions: t,
|
308
|
+
responses: c,
|
309
|
+
activeQuestionIndex: f,
|
310
|
+
lastUnlockedQuestionIndex: h,
|
311
|
+
behavior: a,
|
312
|
+
onItemNumberClick: P,
|
313
|
+
userType: s,
|
314
|
+
summaryVisible: g
|
315
|
+
}
|
316
|
+
) }) }),
|
317
|
+
ce && l && /* @__PURE__ */ o(Lt, { $minHeight: re, $topOffset: x, children: /* @__PURE__ */ o(me, { $width: K, $justifyContent: "center", $alignItems: "center", children: /* @__PURE__ */ o(
|
318
|
+
Nt,
|
319
|
+
{
|
320
|
+
blocker: ce,
|
321
|
+
lastUnlockedQuestion: l,
|
322
|
+
studentName: Se,
|
323
|
+
onBlockerClose: O,
|
324
|
+
onOptionalItemAssignment: ke,
|
325
|
+
onOptionalItemSkip: we,
|
326
|
+
onTeacherValidation: ie
|
327
|
+
}
|
328
|
+
) }) }),
|
329
|
+
tt && /* @__PURE__ */ o(
|
330
|
+
vt,
|
331
|
+
{
|
332
|
+
activeQuestionIndex: f,
|
333
|
+
onClick: P,
|
334
|
+
questions: t,
|
335
|
+
bottomOffset: C,
|
336
|
+
topOffset: x,
|
337
|
+
userType: s
|
338
|
+
}
|
339
|
+
),
|
340
|
+
le && /* @__PURE__ */ o(Ft, { children: /* @__PURE__ */ o(It, { initialPosition: Tt, onClose: at }) }),
|
341
|
+
/* @__PURE__ */ R(
|
342
|
+
jt,
|
343
|
+
{
|
344
|
+
$marginTop: s === "TEACHER" && g ? "0" : C,
|
345
|
+
$height: C,
|
346
|
+
$isCardView: H === "card",
|
347
|
+
children: [
|
348
|
+
/* @__PURE__ */ o(
|
349
|
+
kt,
|
350
|
+
{
|
351
|
+
width: X - 32,
|
352
|
+
question: t[f],
|
353
|
+
learnosity: S,
|
354
|
+
userType: s
|
355
|
+
}
|
356
|
+
),
|
357
|
+
Xe && /* @__PURE__ */ o(
|
358
|
+
Ut,
|
364
359
|
{
|
365
|
-
$
|
366
|
-
$
|
367
|
-
$
|
368
|
-
$alignItems: "center",
|
369
|
-
$width: X - 32,
|
360
|
+
$height: C,
|
361
|
+
$width: H === "card" ? X - 32 : "100%",
|
362
|
+
$isCardView: H === "card",
|
370
363
|
children: /* @__PURE__ */ o(
|
371
|
-
|
364
|
+
me,
|
372
365
|
{
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
366
|
+
$gutterX: 1,
|
367
|
+
$flexDirection: "row",
|
368
|
+
$justifyContent: "space-between",
|
369
|
+
$alignItems: "center",
|
370
|
+
$width: X - 32,
|
371
|
+
children: /* @__PURE__ */ o(
|
372
|
+
wt,
|
373
|
+
{
|
374
|
+
userType: s,
|
375
|
+
layout: T,
|
376
|
+
behavior: a,
|
377
|
+
worksheetName: ee,
|
378
|
+
questions: t,
|
379
|
+
responses: c,
|
380
|
+
onCalculatorOpen: ct,
|
381
|
+
activeQuestionIndex: f,
|
382
|
+
lastUnlockedQuestionIndex: h,
|
383
|
+
appendedQuestionIds: ne,
|
384
|
+
learnosity: S,
|
385
|
+
isCanvasEnabled: oe,
|
386
|
+
canSubmitWorksheet: qe,
|
387
|
+
isScribblingEnabled: ae,
|
388
|
+
isSummaryVisible: g,
|
389
|
+
setResponses: N,
|
390
|
+
getTimeSpentOnQuestion: ue,
|
391
|
+
setSummaryVisible: J,
|
392
|
+
setBlocker: W,
|
393
|
+
setIsScribblingEnabled: it,
|
394
|
+
setActiveQuestionId: q,
|
395
|
+
onItemNumberClick: P,
|
396
|
+
onGoToReview: lt,
|
397
|
+
onResponseChange: I,
|
398
|
+
onHelp: De,
|
399
|
+
onTeacherValidation: ie,
|
400
|
+
onSubmit: Ne,
|
401
|
+
showCalculator: le,
|
402
|
+
loggerRef: w,
|
403
|
+
onSkip: Ge,
|
404
|
+
onUnassign: Le,
|
405
|
+
onReview: Fe,
|
406
|
+
canToggleScribbling: je
|
407
|
+
}
|
408
|
+
)
|
406
409
|
}
|
407
410
|
)
|
408
411
|
}
|
412
|
+
),
|
413
|
+
!g && M && s === "STUDENT" && /* @__PURE__ */ o(Kt, { children: /* @__PURE__ */ o(Mt, {}) })
|
414
|
+
]
|
415
|
+
}
|
416
|
+
),
|
417
|
+
/* @__PURE__ */ R(
|
418
|
+
Xt,
|
419
|
+
{
|
420
|
+
$actionbarHeight: C,
|
421
|
+
$isCardView: H === "card",
|
422
|
+
children: [
|
423
|
+
Rt({ questions: t, lastUnlockedQuestionIndex: h, userType: s }).map(
|
424
|
+
(e, i) => {
|
425
|
+
var m, $;
|
426
|
+
const { response_id: n, is_optional: d } = e, u = (m = c[n]) == null ? void 0 : m.assignStatus;
|
427
|
+
return a.teacherValidationEnabled && (u === "skipped" || d && u !== "assigned" && s === "STUDENT") ? null : /* @__PURE__ */ o(
|
428
|
+
Ht,
|
429
|
+
{
|
430
|
+
signedRequest: Ce,
|
431
|
+
userType: s,
|
432
|
+
worksheetCompleted: Ae,
|
433
|
+
question: e,
|
434
|
+
response: c[n],
|
435
|
+
nextQuestionId: p === "ADAPTIVE" || p === "CURRENT" ? l == null ? void 0 : l.response_id : i < h ? ($ = t[i + 1]) == null ? void 0 : $.response_id : void 0,
|
436
|
+
maxQuestionWidth: K,
|
437
|
+
learnosity: S,
|
438
|
+
isActive: n === B,
|
439
|
+
isHidden: !M && n !== B || g,
|
440
|
+
canRender: f > -1 && (i === f || p !== "CURRENT" && i === f + 1),
|
441
|
+
background: $e,
|
442
|
+
appended: ne.includes(n),
|
443
|
+
behavior: a,
|
444
|
+
layout: T,
|
445
|
+
actionbarHeight: C,
|
446
|
+
intersectionObserver: z,
|
447
|
+
onMarkForReview: st,
|
448
|
+
onMediaStateChange: rt,
|
449
|
+
userId: Be,
|
450
|
+
isScribblingEnabled: ae,
|
451
|
+
onPublishStrokes: We,
|
452
|
+
onReceiveStrokes: Oe,
|
453
|
+
initialStrokesData: Re,
|
454
|
+
isCanvasEnabled: oe,
|
455
|
+
onPublishMouseMove: Ve,
|
456
|
+
onSubscribeMouseMove: He,
|
457
|
+
setActiveQuestionId: q,
|
458
|
+
canResolveDoubt: Pe,
|
459
|
+
onResolveDoubt: Qe,
|
460
|
+
studentId: Ue,
|
461
|
+
subjectiveProps: Ke,
|
462
|
+
responses: c,
|
463
|
+
loggerRef: w
|
464
|
+
},
|
465
|
+
n
|
466
|
+
);
|
467
|
+
}
|
468
|
+
),
|
469
|
+
g && /* @__PURE__ */ o(
|
470
|
+
zt,
|
471
|
+
{
|
472
|
+
worksheetName: ee,
|
473
|
+
questions: t,
|
474
|
+
responses: c,
|
475
|
+
activeQuestionIndex: f,
|
476
|
+
lastUnlockedQuestionIndex: h,
|
477
|
+
onItemNumberClick: P,
|
478
|
+
behavior: a,
|
479
|
+
minHeight: Ye,
|
480
|
+
summaryDescription: xe,
|
481
|
+
summaryVisible: g
|
482
|
+
}
|
409
483
|
)
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
userType: r,
|
431
|
-
worksheetCompleted: Be,
|
432
|
-
question: e,
|
433
|
-
response: c[n],
|
434
|
-
nextQuestionId: p === "ADAPTIVE" || p === "CURRENT" ? l == null ? void 0 : l.response_id : i < h ? ($ = t[i + 1]) == null ? void 0 : $.response_id : void 0,
|
435
|
-
maxQuestionWidth: K,
|
436
|
-
learnosity: S,
|
437
|
-
isActive: n === B,
|
438
|
-
isHidden: !x && n !== B || g,
|
439
|
-
canRender: f > -1 && (i === f || p !== "CURRENT" && i === f + 1),
|
440
|
-
background: _e,
|
441
|
-
appended: ne.includes(n),
|
442
|
-
behavior: a,
|
443
|
-
layout: T,
|
444
|
-
actionbarHeight: C,
|
445
|
-
intersectionObserver: J,
|
446
|
-
onMarkForReview: ct,
|
447
|
-
onMediaStateChange: at,
|
448
|
-
userId: We,
|
449
|
-
isScribblingEnabled: ce,
|
450
|
-
onPublishStrokes: Oe,
|
451
|
-
onReceiveStrokes: Re,
|
452
|
-
initialStrokesData: De,
|
453
|
-
isCanvasEnabled: oe,
|
454
|
-
onPublishMouseMove: Me,
|
455
|
-
onSubscribeMouseMove: xe,
|
456
|
-
setActiveQuestionId: P,
|
457
|
-
canResolveDoubt: Qe,
|
458
|
-
onResolveDoubt: Le,
|
459
|
-
studentId: Ue,
|
460
|
-
subjectiveProps: Ke,
|
461
|
-
responses: c,
|
462
|
-
loggerRef: w
|
463
|
-
},
|
464
|
-
n
|
465
|
-
);
|
466
|
-
}),
|
467
|
-
g && /* @__PURE__ */ o(
|
468
|
-
Zt,
|
469
|
-
{
|
470
|
-
worksheetName: ee,
|
471
|
-
questions: t,
|
472
|
-
responses: c,
|
473
|
-
activeQuestionIndex: f,
|
474
|
-
lastUnlockedQuestionIndex: h,
|
475
|
-
onItemNumberClick: q,
|
476
|
-
behavior: a,
|
477
|
-
minHeight: Ze,
|
478
|
-
summaryDescription: Pe,
|
479
|
-
summaryVisible: g
|
480
|
-
}
|
481
|
-
)
|
482
|
-
]
|
483
|
-
}
|
484
|
-
),
|
485
|
-
!g && tt && /* @__PURE__ */ o(
|
486
|
-
qt,
|
487
|
-
{
|
488
|
-
questionWidth: K,
|
489
|
-
questions: t,
|
490
|
-
activeQuestionIndex: f,
|
491
|
-
learnosity: S,
|
492
|
-
userType: r,
|
493
|
-
height: se,
|
494
|
-
actionbarHeight: C,
|
495
|
-
openQuestionFeedbackModal: He,
|
496
|
-
loggerRef: w
|
497
|
-
}
|
498
|
-
)
|
499
|
-
] })
|
484
|
+
]
|
485
|
+
}
|
486
|
+
),
|
487
|
+
!g && et && /* @__PURE__ */ o(
|
488
|
+
xt,
|
489
|
+
{
|
490
|
+
questionWidth: K,
|
491
|
+
questions: t,
|
492
|
+
activeQuestionIndex: f,
|
493
|
+
learnosity: S,
|
494
|
+
userType: s,
|
495
|
+
height: re,
|
496
|
+
actionbarHeight: C,
|
497
|
+
openQuestionFeedbackModal: Me,
|
498
|
+
loggerRef: w
|
499
|
+
}
|
500
|
+
)
|
501
|
+
]
|
502
|
+
}
|
503
|
+
)
|
500
504
|
] }) : null;
|
501
|
-
},
|
505
|
+
}, _i = mt(ft(Jt));
|
502
506
|
export {
|
503
|
-
|
507
|
+
_i as default
|
504
508
|
};
|
505
509
|
//# sourceMappingURL=worksheet.js.map
|