@khanacademy/perseus 11.5.1 → 11.6.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/CHANGELOG.md +32 -0
- package/dist/es/index.css +6 -6
- package/dist/es/index.js +530 -515
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +6 -6
- package/dist/index.d.ts +2 -8
- package/dist/index.js +544 -528
- package/dist/index.js.map +1 -1
- package/dist/item-renderer.d.ts +3 -0
- package/dist/perseus-version.d.ts +8 -0
- package/dist/version.d.ts +1 -11
- package/dist/widgets/numeric-input.d.ts +1 -1
- package/package.json +9 -9
- package/src/__tests__/__snapshots__/server-item-renderer.test.tsx.snap +3 -3
- package/src/__tests__/item-renderer.test.tsx +24 -18
- package/src/components/__stories__/graphie.stories.tsx +2 -2
- package/src/hint-renderer.tsx +1 -0
- package/src/index.ts +2 -5
- package/src/item-renderer.tsx +3 -0
- package/src/item-version.ts +2 -2
- package/src/multi-items/__tests__/__snapshots__/multi-renderer.test.tsx.snap +1 -1
- package/src/perseus-types.ts +2 -1
- package/src/perseus-version.ts +9 -0
- package/src/styles/khan-exercise.css +6 -4
- package/src/styles/perseus-renderer.less +0 -1
- package/src/version.ts +9 -10
- package/src/widgets/__stories__/expression.stories.tsx +21 -10
- package/src/widgets/__stories__/test-keypad-context-wrapper.tsx +7 -21
- package/src/widgets/__tests__/expression-mobile.test.tsx +7 -20
- package/src/widgets/__tests__/numeric-input.test.ts +35 -0
- package/src/widgets/numeric-input.tsx +22 -10
- package/tsconfig-build.json +1 -0
- package/tsconfig-build.tsbuildinfo +1 -1
package/dist/es/index.js
CHANGED
|
@@ -29,17 +29,7 @@ import debounce$1 from 'lodash.debounce';
|
|
|
29
29
|
import createReactClass from 'create-react-class';
|
|
30
30
|
import Tooltip$1 from '@khanacademy/wonder-blocks-tooltip';
|
|
31
31
|
import Link from '@khanacademy/wonder-blocks-link';
|
|
32
|
-
|
|
33
|
-
var version = {
|
|
34
|
-
apiVersion: {
|
|
35
|
-
major: 12,
|
|
36
|
-
minor: 0
|
|
37
|
-
},
|
|
38
|
-
itemDataVersion: {
|
|
39
|
-
major: 0,
|
|
40
|
-
minor: 1
|
|
41
|
-
}
|
|
42
|
-
};
|
|
32
|
+
import { addLibraryVersionToPerseusDebug } from '@khanacademy/perseus-core';
|
|
43
33
|
|
|
44
34
|
function _extends() {
|
|
45
35
|
_extends = Object.assign || function (target) {
|
|
@@ -128,11 +118,11 @@ const useDependencies = () => {
|
|
|
128
118
|
};
|
|
129
119
|
|
|
130
120
|
var dependencies = /*#__PURE__*/Object.freeze({
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
121
|
+
__proto__: null,
|
|
122
|
+
setDependencies: setDependencies,
|
|
123
|
+
getDependencies: getDependencies,
|
|
124
|
+
DependenciesContext: DependenciesContext,
|
|
125
|
+
useDependencies: useDependencies
|
|
136
126
|
});
|
|
137
127
|
|
|
138
128
|
/* eslint-disable @khanacademy/ts-no-error-suppressions */
|
|
@@ -985,29 +975,29 @@ const iconMinus = {
|
|
|
985
975
|
};
|
|
986
976
|
|
|
987
977
|
var iconPaths = /*#__PURE__*/Object.freeze({
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
978
|
+
__proto__: null,
|
|
979
|
+
iconCheck: iconCheck,
|
|
980
|
+
iconCheckMedium: iconCheckMedium,
|
|
981
|
+
iconChevronDown: iconChevronDown,
|
|
982
|
+
iconChevronRight: iconChevronRight,
|
|
983
|
+
iconCircle: iconCircle,
|
|
984
|
+
iconCircleArrowDown: iconCircleArrowDown,
|
|
985
|
+
iconCircleArrowUp: iconCircleArrowUp,
|
|
986
|
+
iconCircleThin: iconCircleThin,
|
|
987
|
+
iconDesktop: iconDesktop,
|
|
988
|
+
iconDropdownArrow: iconDropdownArrow,
|
|
989
|
+
iconExclamationSign: iconExclamationSign,
|
|
990
|
+
iconGear: iconGear,
|
|
991
|
+
iconMobilePhone: iconMobilePhone,
|
|
992
|
+
iconOk: iconOk,
|
|
993
|
+
iconPlus: iconPlus,
|
|
994
|
+
iconRemove: iconRemove,
|
|
995
|
+
iconStar: iconStar,
|
|
996
|
+
iconTryAgain: iconTryAgain,
|
|
997
|
+
iconTablet: iconTablet,
|
|
998
|
+
iconTrash: iconTrash,
|
|
999
|
+
iconUndo: iconUndo,
|
|
1000
|
+
iconMinus: iconMinus
|
|
1011
1001
|
});
|
|
1012
1002
|
|
|
1013
1003
|
// TODO(LP-11481): Change the primary API we use for logging in Perseus to use
|
|
@@ -1187,9 +1177,9 @@ const propTypes = {
|
|
|
1187
1177
|
};
|
|
1188
1178
|
|
|
1189
1179
|
var changeable = /*#__PURE__*/Object.freeze({
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1180
|
+
__proto__: null,
|
|
1181
|
+
change: change,
|
|
1182
|
+
propTypes: propTypes
|
|
1193
1183
|
});
|
|
1194
1184
|
|
|
1195
1185
|
/* eslint-disable @khanacademy/ts-no-error-suppressions */
|
|
@@ -4352,60 +4342,60 @@ const articleMaxWidthInPx = 688;
|
|
|
4352
4342
|
const articleMaxWidthTableInPx = 512;
|
|
4353
4343
|
|
|
4354
4344
|
var constants$1 = /*#__PURE__*/Object.freeze({
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4345
|
+
__proto__: null,
|
|
4346
|
+
baseFontFamily: baseFontFamily$1,
|
|
4347
|
+
boldFontFamily: boldFontFamily,
|
|
4348
|
+
green: green$1,
|
|
4349
|
+
kaGreen: kaGreen$1,
|
|
4350
|
+
blue: blue$1,
|
|
4351
|
+
gray: gray$1,
|
|
4352
|
+
red: red$1,
|
|
4353
|
+
grayLight: grayLight$1,
|
|
4354
|
+
grayLighter: grayLighter$1,
|
|
4355
|
+
learnstormBlue: learnstormBlue$1,
|
|
4356
|
+
white: white$1,
|
|
4357
|
+
gray98: gray98,
|
|
4358
|
+
gray97: gray97,
|
|
4359
|
+
gray95: gray95,
|
|
4360
|
+
gray90: gray90,
|
|
4361
|
+
gray85: gray85,
|
|
4362
|
+
gray76: gray76,
|
|
4363
|
+
gray68: gray68,
|
|
4364
|
+
gray41: gray41,
|
|
4365
|
+
gray25: gray25,
|
|
4366
|
+
gray17: gray17,
|
|
4367
|
+
black: black$1,
|
|
4368
|
+
warning1: warning1,
|
|
4369
|
+
warning3: warning3,
|
|
4370
|
+
pureSmMin: pureSmMin$2,
|
|
4371
|
+
pureMdMin: pureMdMin$2,
|
|
4372
|
+
pureLgMin: pureLgMin$2,
|
|
4373
|
+
pureXlMin: pureXlMin$2,
|
|
4374
|
+
pureXsMax: pureXsMax$2,
|
|
4375
|
+
pureSmMax: pureSmMax$2,
|
|
4376
|
+
pureMdMax: pureMdMax$2,
|
|
4377
|
+
pureLgMax: pureLgMax$2,
|
|
4378
|
+
tableBackgroundAccent: tableBackgroundAccent$1,
|
|
4379
|
+
zIndexScratchPad: zIndexScratchPad,
|
|
4380
|
+
zIndexAboveScratchpad: zIndexAboveScratchpad$1,
|
|
4381
|
+
zIndexInteractiveComponent: zIndexInteractiveComponent$1,
|
|
4382
|
+
zIndexCurrentlyDragging: zIndexCurrentlyDragging,
|
|
4383
|
+
zIndexCalculator: zIndexCalculator,
|
|
4384
|
+
phoneMargin: phoneMargin,
|
|
4385
|
+
negativePhoneMargin: negativePhoneMargin,
|
|
4386
|
+
hintBorderWidth: hintBorderWidth,
|
|
4387
|
+
baseUnitPx: baseUnitPx,
|
|
4388
|
+
interactiveSizes: interactiveSizes$1,
|
|
4389
|
+
circleSize: circleSize$1,
|
|
4390
|
+
radioMarginWidth: radioMarginWidth$1,
|
|
4391
|
+
warningColor: warningColor,
|
|
4392
|
+
warningColorHover: warningColorHover,
|
|
4393
|
+
warningColorActive: warningColorActive,
|
|
4394
|
+
publishBlockingErrorColor: publishBlockingErrorColor,
|
|
4395
|
+
radioBorderColor: radioBorderColor$1,
|
|
4396
|
+
checkedColor: checkedColor$1,
|
|
4397
|
+
articleMaxWidthInPx: articleMaxWidthInPx,
|
|
4398
|
+
articleMaxWidthTableInPx: articleMaxWidthTableInPx
|
|
4409
4399
|
});
|
|
4410
4400
|
|
|
4411
4401
|
/**
|
|
@@ -18703,10 +18693,10 @@ const getInteractiveBoxFromSizeClass = sizeClass => {
|
|
|
18703
18693
|
};
|
|
18704
18694
|
|
|
18705
18695
|
var sizingUtils = /*#__PURE__*/Object.freeze({
|
|
18706
|
-
|
|
18707
|
-
|
|
18708
|
-
|
|
18709
|
-
|
|
18696
|
+
__proto__: null,
|
|
18697
|
+
containerSizeClass: containerSizeClass,
|
|
18698
|
+
getClassFromWidth: getClassFromWidth,
|
|
18699
|
+
getInteractiveBoxFromSizeClass: getInteractiveBoxFromSizeClass
|
|
18710
18700
|
});
|
|
18711
18701
|
|
|
18712
18702
|
const DEFAULT_ALIGNMENT$1 = "block";
|
|
@@ -19043,28 +19033,28 @@ const isLintable = type => {
|
|
|
19043
19033
|
};
|
|
19044
19034
|
|
|
19045
19035
|
var widgets$1 = /*#__PURE__*/Object.freeze({
|
|
19046
|
-
|
|
19047
|
-
|
|
19048
|
-
|
|
19049
|
-
|
|
19050
|
-
|
|
19051
|
-
|
|
19052
|
-
|
|
19053
|
-
|
|
19054
|
-
|
|
19055
|
-
|
|
19056
|
-
|
|
19057
|
-
|
|
19058
|
-
|
|
19059
|
-
|
|
19060
|
-
|
|
19061
|
-
|
|
19062
|
-
|
|
19063
|
-
|
|
19064
|
-
|
|
19065
|
-
|
|
19066
|
-
|
|
19067
|
-
|
|
19036
|
+
__proto__: null,
|
|
19037
|
+
registerWidget: registerWidget,
|
|
19038
|
+
registerWidgets: registerWidgets,
|
|
19039
|
+
registerEditors: registerEditors,
|
|
19040
|
+
getWidget: getWidget,
|
|
19041
|
+
getEditor: getEditor,
|
|
19042
|
+
getTransform: getTransform,
|
|
19043
|
+
getVersion: getVersion,
|
|
19044
|
+
getVersionVector: getVersionVector,
|
|
19045
|
+
getPublicWidgets: getPublicWidgets,
|
|
19046
|
+
isAccessible: isAccessible,
|
|
19047
|
+
getAllWidgetTypes: getAllWidgetTypes,
|
|
19048
|
+
upgradeWidgetInfoToLatestVersion: upgradeWidgetInfoToLatestVersion,
|
|
19049
|
+
getRendererPropsForWidgetInfo: getRendererPropsForWidgetInfo,
|
|
19050
|
+
traverseChildWidgets: traverseChildWidgets$4,
|
|
19051
|
+
getSupportedAlignments: getSupportedAlignments,
|
|
19052
|
+
getDefaultAlignment: getDefaultAlignment,
|
|
19053
|
+
validateAlignments: validateAlignments,
|
|
19054
|
+
supportsStaticMode: supportsStaticMode,
|
|
19055
|
+
getStaticTransform: getStaticTransform,
|
|
19056
|
+
getTracking: getTracking,
|
|
19057
|
+
isLintable: isLintable
|
|
19068
19058
|
});
|
|
19069
19059
|
|
|
19070
19060
|
class WidgetContainer extends React.Component {
|
|
@@ -21554,27 +21544,39 @@ class NumericInput extends React.Component {
|
|
|
21554
21544
|
}
|
|
21555
21545
|
return answerStrings[0];
|
|
21556
21546
|
}
|
|
21557
|
-
static validate(
|
|
21558
|
-
const
|
|
21547
|
+
static validate(userInput, rubric) {
|
|
21548
|
+
const defaultAnswerForms = answerFormButtons.map(e => e["value"])
|
|
21559
21549
|
// Don't default to validating the answer as a pi answer
|
|
21560
21550
|
// if answerForm isn't set on the answer
|
|
21561
21551
|
// https://khanacademy.atlassian.net/browse/LC-691
|
|
21562
21552
|
.filter(e => e !== "pi");
|
|
21563
21553
|
const createValidator = answer => {
|
|
21554
|
+
var _answer$answerForms;
|
|
21564
21555
|
const stringAnswer = `${answer.value}`;
|
|
21556
|
+
|
|
21557
|
+
// Always validate against the provided answer forms (pi, decimal, etc.)
|
|
21558
|
+
const validatorForms = [...((_answer$answerForms = answer.answerForms) != null ? _answer$answerForms : [])];
|
|
21559
|
+
|
|
21560
|
+
// When an answer is set to strict, we validate using ONLY
|
|
21561
|
+
// the provided answerForms. If strict is false, or if there
|
|
21562
|
+
// were no provided answer forms, we will include all
|
|
21563
|
+
// of the default answer forms in our validator.
|
|
21564
|
+
if (!answer.strict || validatorForms.length === 0) {
|
|
21565
|
+
validatorForms.push(...defaultAnswerForms);
|
|
21566
|
+
}
|
|
21565
21567
|
return KhanAnswerTypes.number.createValidatorFunctional(stringAnswer, {
|
|
21566
21568
|
message: answer.message,
|
|
21567
21569
|
simplify: answer.status === "correct" ? answer.simplify : "optional",
|
|
21568
21570
|
inexact: true,
|
|
21569
21571
|
// TODO(merlob) backfill / delete
|
|
21570
21572
|
maxError: answer.maxError,
|
|
21571
|
-
forms:
|
|
21573
|
+
forms: validatorForms
|
|
21572
21574
|
});
|
|
21573
21575
|
};
|
|
21574
21576
|
|
|
21575
21577
|
// We may have received TeX; try to parse it before grading.
|
|
21576
21578
|
// If `currentValue` is not TeX, this should be a no-op.
|
|
21577
|
-
const currentValue = ParseTex(
|
|
21579
|
+
const currentValue = ParseTex(userInput.currentValue);
|
|
21578
21580
|
const correctAnswers = rubric.answers.filter(answer => answer.status === "correct");
|
|
21579
21581
|
const normalizedAnswerExpected = correctAnswers.every(answer => Math.abs(answer.value) <= 1);
|
|
21580
21582
|
|
|
@@ -25866,19 +25868,19 @@ const typeToButton = type => {
|
|
|
25866
25868
|
};
|
|
25867
25869
|
|
|
25868
25870
|
var util = /*#__PURE__*/Object.freeze({
|
|
25869
|
-
|
|
25870
|
-
|
|
25871
|
-
|
|
25872
|
-
|
|
25873
|
-
|
|
25874
|
-
|
|
25875
|
-
|
|
25876
|
-
|
|
25877
|
-
|
|
25878
|
-
|
|
25879
|
-
|
|
25880
|
-
|
|
25881
|
-
|
|
25871
|
+
__proto__: null,
|
|
25872
|
+
DEFAULT_BACKGROUND_IMAGE: DEFAULT_BACKGROUND_IMAGE,
|
|
25873
|
+
allTypes: allTypes,
|
|
25874
|
+
functionForType: functionForType,
|
|
25875
|
+
validate: validate$2,
|
|
25876
|
+
getEquationString: getEquationString,
|
|
25877
|
+
pointsFromNormalized: pointsFromNormalized,
|
|
25878
|
+
maybePointsFromNormalized: maybePointsFromNormalized,
|
|
25879
|
+
defaultPlotProps: defaultPlotProps,
|
|
25880
|
+
chooseType: chooseType,
|
|
25881
|
+
getGridAndSnapSteps: getGridAndSnapSteps,
|
|
25882
|
+
DEFAULT_GRAPHER_PROPS: DEFAULT_GRAPHER_PROPS,
|
|
25883
|
+
typeToButton: typeToButton
|
|
25882
25884
|
});
|
|
25883
25885
|
|
|
25884
25886
|
// @ts-expect-error - TS2339 - Property 'MovablePoint' does not exist on type 'typeof Graphie'.
|
|
@@ -30107,349 +30109,349 @@ const pureMdMax = "1023px";
|
|
|
30107
30109
|
const pureLgMax = "1199px";
|
|
30108
30110
|
|
|
30109
30111
|
var globalConstants = /*#__PURE__*/Object.freeze({
|
|
30110
|
-
|
|
30111
|
-
|
|
30112
|
-
|
|
30113
|
-
|
|
30114
|
-
|
|
30115
|
-
|
|
30116
|
-
|
|
30117
|
-
|
|
30118
|
-
|
|
30119
|
-
|
|
30120
|
-
|
|
30121
|
-
|
|
30122
|
-
|
|
30123
|
-
|
|
30124
|
-
|
|
30125
|
-
|
|
30126
|
-
|
|
30127
|
-
|
|
30128
|
-
|
|
30129
|
-
|
|
30130
|
-
|
|
30131
|
-
|
|
30132
|
-
|
|
30133
|
-
|
|
30134
|
-
|
|
30135
|
-
|
|
30136
|
-
|
|
30137
|
-
|
|
30138
|
-
|
|
30139
|
-
|
|
30140
|
-
|
|
30141
|
-
|
|
30142
|
-
|
|
30143
|
-
|
|
30144
|
-
|
|
30145
|
-
|
|
30146
|
-
|
|
30147
|
-
|
|
30148
|
-
|
|
30149
|
-
|
|
30150
|
-
|
|
30151
|
-
|
|
30152
|
-
|
|
30153
|
-
|
|
30154
|
-
|
|
30155
|
-
|
|
30156
|
-
|
|
30157
|
-
|
|
30158
|
-
|
|
30159
|
-
|
|
30160
|
-
|
|
30161
|
-
|
|
30162
|
-
|
|
30163
|
-
|
|
30164
|
-
|
|
30165
|
-
|
|
30166
|
-
|
|
30167
|
-
|
|
30168
|
-
|
|
30169
|
-
|
|
30170
|
-
|
|
30171
|
-
|
|
30172
|
-
|
|
30173
|
-
|
|
30174
|
-
|
|
30175
|
-
|
|
30176
|
-
|
|
30177
|
-
|
|
30178
|
-
|
|
30179
|
-
|
|
30180
|
-
|
|
30181
|
-
|
|
30182
|
-
|
|
30183
|
-
|
|
30184
|
-
|
|
30185
|
-
|
|
30186
|
-
|
|
30187
|
-
|
|
30188
|
-
|
|
30189
|
-
|
|
30190
|
-
|
|
30191
|
-
|
|
30192
|
-
|
|
30193
|
-
|
|
30194
|
-
|
|
30195
|
-
|
|
30196
|
-
|
|
30197
|
-
|
|
30198
|
-
|
|
30199
|
-
|
|
30200
|
-
|
|
30201
|
-
|
|
30202
|
-
|
|
30203
|
-
|
|
30204
|
-
|
|
30205
|
-
|
|
30206
|
-
|
|
30207
|
-
|
|
30208
|
-
|
|
30209
|
-
|
|
30210
|
-
|
|
30211
|
-
|
|
30212
|
-
|
|
30213
|
-
|
|
30214
|
-
|
|
30215
|
-
|
|
30216
|
-
|
|
30217
|
-
|
|
30218
|
-
|
|
30219
|
-
|
|
30220
|
-
|
|
30221
|
-
|
|
30222
|
-
|
|
30223
|
-
|
|
30224
|
-
|
|
30225
|
-
|
|
30226
|
-
|
|
30227
|
-
|
|
30228
|
-
|
|
30229
|
-
|
|
30230
|
-
|
|
30231
|
-
|
|
30232
|
-
|
|
30233
|
-
|
|
30234
|
-
|
|
30235
|
-
|
|
30236
|
-
|
|
30237
|
-
|
|
30238
|
-
|
|
30239
|
-
|
|
30240
|
-
|
|
30241
|
-
|
|
30242
|
-
|
|
30243
|
-
|
|
30244
|
-
|
|
30245
|
-
|
|
30246
|
-
|
|
30247
|
-
|
|
30248
|
-
|
|
30249
|
-
|
|
30250
|
-
|
|
30251
|
-
|
|
30252
|
-
|
|
30253
|
-
|
|
30254
|
-
|
|
30255
|
-
|
|
30256
|
-
|
|
30257
|
-
|
|
30258
|
-
|
|
30259
|
-
|
|
30260
|
-
|
|
30261
|
-
|
|
30262
|
-
|
|
30263
|
-
|
|
30264
|
-
|
|
30265
|
-
|
|
30266
|
-
|
|
30267
|
-
|
|
30268
|
-
|
|
30269
|
-
|
|
30270
|
-
|
|
30271
|
-
|
|
30272
|
-
|
|
30273
|
-
|
|
30274
|
-
|
|
30275
|
-
|
|
30276
|
-
|
|
30277
|
-
|
|
30278
|
-
|
|
30279
|
-
|
|
30280
|
-
|
|
30281
|
-
|
|
30282
|
-
|
|
30283
|
-
|
|
30284
|
-
|
|
30285
|
-
|
|
30286
|
-
|
|
30287
|
-
|
|
30288
|
-
|
|
30289
|
-
|
|
30290
|
-
|
|
30291
|
-
|
|
30292
|
-
|
|
30293
|
-
|
|
30294
|
-
|
|
30295
|
-
|
|
30296
|
-
|
|
30297
|
-
|
|
30298
|
-
|
|
30299
|
-
|
|
30300
|
-
|
|
30301
|
-
|
|
30302
|
-
|
|
30303
|
-
|
|
30304
|
-
|
|
30305
|
-
|
|
30306
|
-
|
|
30307
|
-
|
|
30308
|
-
|
|
30309
|
-
|
|
30310
|
-
|
|
30311
|
-
|
|
30312
|
-
|
|
30313
|
-
|
|
30314
|
-
|
|
30315
|
-
|
|
30316
|
-
|
|
30317
|
-
|
|
30318
|
-
|
|
30319
|
-
|
|
30320
|
-
|
|
30321
|
-
|
|
30322
|
-
|
|
30323
|
-
|
|
30324
|
-
|
|
30325
|
-
|
|
30326
|
-
|
|
30327
|
-
|
|
30328
|
-
|
|
30329
|
-
|
|
30330
|
-
|
|
30331
|
-
|
|
30332
|
-
|
|
30333
|
-
|
|
30334
|
-
|
|
30335
|
-
|
|
30336
|
-
|
|
30337
|
-
|
|
30338
|
-
|
|
30339
|
-
|
|
30340
|
-
|
|
30341
|
-
|
|
30342
|
-
|
|
30343
|
-
|
|
30344
|
-
|
|
30345
|
-
|
|
30346
|
-
|
|
30347
|
-
|
|
30348
|
-
|
|
30349
|
-
|
|
30350
|
-
|
|
30351
|
-
|
|
30352
|
-
|
|
30353
|
-
|
|
30354
|
-
|
|
30355
|
-
|
|
30356
|
-
|
|
30357
|
-
|
|
30358
|
-
|
|
30359
|
-
|
|
30360
|
-
|
|
30361
|
-
|
|
30362
|
-
|
|
30363
|
-
|
|
30364
|
-
|
|
30365
|
-
|
|
30366
|
-
|
|
30367
|
-
|
|
30368
|
-
|
|
30369
|
-
|
|
30370
|
-
|
|
30371
|
-
|
|
30372
|
-
|
|
30373
|
-
|
|
30374
|
-
|
|
30375
|
-
|
|
30376
|
-
|
|
30377
|
-
|
|
30378
|
-
|
|
30379
|
-
|
|
30380
|
-
|
|
30381
|
-
|
|
30382
|
-
|
|
30383
|
-
|
|
30384
|
-
|
|
30385
|
-
|
|
30386
|
-
|
|
30387
|
-
|
|
30388
|
-
|
|
30389
|
-
|
|
30390
|
-
|
|
30391
|
-
|
|
30392
|
-
|
|
30393
|
-
|
|
30394
|
-
|
|
30395
|
-
|
|
30396
|
-
|
|
30397
|
-
|
|
30398
|
-
|
|
30399
|
-
|
|
30400
|
-
|
|
30401
|
-
|
|
30402
|
-
|
|
30403
|
-
|
|
30404
|
-
|
|
30405
|
-
|
|
30406
|
-
|
|
30407
|
-
|
|
30408
|
-
|
|
30409
|
-
|
|
30410
|
-
|
|
30411
|
-
|
|
30412
|
-
|
|
30413
|
-
|
|
30414
|
-
|
|
30415
|
-
|
|
30416
|
-
|
|
30417
|
-
|
|
30418
|
-
|
|
30419
|
-
|
|
30420
|
-
|
|
30421
|
-
|
|
30422
|
-
|
|
30423
|
-
|
|
30424
|
-
|
|
30425
|
-
|
|
30426
|
-
|
|
30427
|
-
|
|
30428
|
-
|
|
30429
|
-
|
|
30430
|
-
|
|
30431
|
-
|
|
30432
|
-
|
|
30433
|
-
|
|
30434
|
-
|
|
30435
|
-
|
|
30436
|
-
|
|
30437
|
-
|
|
30438
|
-
|
|
30439
|
-
|
|
30440
|
-
|
|
30441
|
-
|
|
30442
|
-
|
|
30443
|
-
|
|
30444
|
-
|
|
30445
|
-
|
|
30446
|
-
|
|
30447
|
-
|
|
30448
|
-
|
|
30449
|
-
|
|
30450
|
-
|
|
30451
|
-
|
|
30452
|
-
|
|
30112
|
+
__proto__: null,
|
|
30113
|
+
black: black,
|
|
30114
|
+
grayDarker: grayDarker,
|
|
30115
|
+
grayDark: grayDark,
|
|
30116
|
+
gray: gray,
|
|
30117
|
+
grayLight: grayLight,
|
|
30118
|
+
grayLighter: grayLighter,
|
|
30119
|
+
white: white,
|
|
30120
|
+
blue: blue,
|
|
30121
|
+
blueDark: blueDark,
|
|
30122
|
+
green: green,
|
|
30123
|
+
red: red,
|
|
30124
|
+
yellow: yellow,
|
|
30125
|
+
orange: orange,
|
|
30126
|
+
pink: pink,
|
|
30127
|
+
purple: purple,
|
|
30128
|
+
bodyBackground: bodyBackground,
|
|
30129
|
+
textColor: textColor,
|
|
30130
|
+
linkColor: linkColor,
|
|
30131
|
+
linkColorHover: linkColorHover,
|
|
30132
|
+
sansFontFamily: sansFontFamily,
|
|
30133
|
+
serifFontFamily: serifFontFamily,
|
|
30134
|
+
monoFontFamily: monoFontFamily,
|
|
30135
|
+
baseFontSize: baseFontSize,
|
|
30136
|
+
baseFontFamily: baseFontFamily,
|
|
30137
|
+
baseLineHeight: baseLineHeight,
|
|
30138
|
+
altFontFamily: altFontFamily,
|
|
30139
|
+
headingsFontFamily: headingsFontFamily,
|
|
30140
|
+
headingsFontWeight: headingsFontWeight,
|
|
30141
|
+
headingsColor: headingsColor,
|
|
30142
|
+
fontSizeLarge: fontSizeLarge,
|
|
30143
|
+
fontSizeSmall: fontSizeSmall,
|
|
30144
|
+
fontSizeMini: fontSizeMini,
|
|
30145
|
+
paddingLarge: paddingLarge,
|
|
30146
|
+
paddingSmall: paddingSmall,
|
|
30147
|
+
paddingMini: paddingMini,
|
|
30148
|
+
baseBorderRadius: baseBorderRadius,
|
|
30149
|
+
borderRadiusLarge: borderRadiusLarge,
|
|
30150
|
+
borderRadiusSmall: borderRadiusSmall,
|
|
30151
|
+
tableBackground: tableBackground,
|
|
30152
|
+
tableBackgroundAccent: tableBackgroundAccent,
|
|
30153
|
+
tableBackgroundHover: tableBackgroundHover,
|
|
30154
|
+
tableBorder: tableBorder,
|
|
30155
|
+
btnBackground: btnBackground,
|
|
30156
|
+
btnBackgroundHighlight: btnBackgroundHighlight,
|
|
30157
|
+
btnBorder: btnBorder,
|
|
30158
|
+
btnPrimaryBackground: btnPrimaryBackground,
|
|
30159
|
+
btnPrimaryBackgroundHighlight: btnPrimaryBackgroundHighlight,
|
|
30160
|
+
btnInfoBackground: btnInfoBackground,
|
|
30161
|
+
btnInfoBackgroundHighlight: btnInfoBackgroundHighlight,
|
|
30162
|
+
btnSuccessBackground: btnSuccessBackground,
|
|
30163
|
+
btnSuccessBackgroundHighlight: btnSuccessBackgroundHighlight,
|
|
30164
|
+
btnWarningBackground: btnWarningBackground,
|
|
30165
|
+
btnWarningBackgroundHighlight: btnWarningBackgroundHighlight,
|
|
30166
|
+
btnDangerBackground: btnDangerBackground,
|
|
30167
|
+
btnDangerBackgroundHighlight: btnDangerBackgroundHighlight,
|
|
30168
|
+
btnInverseBackground: btnInverseBackground,
|
|
30169
|
+
btnInverseBackgroundHighlight: btnInverseBackgroundHighlight,
|
|
30170
|
+
inputBackground: inputBackground,
|
|
30171
|
+
inputBorder: inputBorder,
|
|
30172
|
+
inputBorderRadius: inputBorderRadius,
|
|
30173
|
+
inputDisabledBackground: inputDisabledBackground,
|
|
30174
|
+
formActionsBackground: formActionsBackground,
|
|
30175
|
+
inputHeight: inputHeight,
|
|
30176
|
+
dropdownBackground: dropdownBackground,
|
|
30177
|
+
dropdownBorder: dropdownBorder,
|
|
30178
|
+
dropdownDividerTop: dropdownDividerTop,
|
|
30179
|
+
dropdownDividerBottom: dropdownDividerBottom,
|
|
30180
|
+
dropdownLinkColor: dropdownLinkColor,
|
|
30181
|
+
dropdownLinkColorHover: dropdownLinkColorHover,
|
|
30182
|
+
dropdownLinkColorActive: dropdownLinkColorActive,
|
|
30183
|
+
dropdownLinkBackgroundActive: dropdownLinkBackgroundActive,
|
|
30184
|
+
dropdownLinkBackgroundHover: dropdownLinkBackgroundHover,
|
|
30185
|
+
zindexDropdown: zindexDropdown,
|
|
30186
|
+
zindexPopover: zindexPopover,
|
|
30187
|
+
zindexTooltip: zindexTooltip,
|
|
30188
|
+
zindexFixedNavbar: zindexFixedNavbar,
|
|
30189
|
+
zindexHeader: zindexHeader,
|
|
30190
|
+
zindexModalBackdrop: zindexModalBackdrop,
|
|
30191
|
+
zindexModal: zindexModal,
|
|
30192
|
+
zindexAboveModal: zindexAboveModal,
|
|
30193
|
+
iconSpritePath: iconSpritePath,
|
|
30194
|
+
iconWhiteSpritePath: iconWhiteSpritePath,
|
|
30195
|
+
placeholderText: placeholderText,
|
|
30196
|
+
hrBorder: hrBorder,
|
|
30197
|
+
horizontalComponentOffset: horizontalComponentOffset,
|
|
30198
|
+
wellBackground: wellBackground,
|
|
30199
|
+
navbarCollapseWidth: navbarCollapseWidth,
|
|
30200
|
+
navbarCollapseDesktopWidth: navbarCollapseDesktopWidth,
|
|
30201
|
+
navbarHeight: navbarHeight,
|
|
30202
|
+
navbarBackgroundHighlight: navbarBackgroundHighlight,
|
|
30203
|
+
navbarBackground: navbarBackground,
|
|
30204
|
+
navbarBorder: navbarBorder,
|
|
30205
|
+
navbarText: navbarText,
|
|
30206
|
+
navbarLinkColor: navbarLinkColor,
|
|
30207
|
+
navbarLinkColorHover: navbarLinkColorHover,
|
|
30208
|
+
navbarLinkColorActive: navbarLinkColorActive,
|
|
30209
|
+
navbarLinkBackgroundHover: navbarLinkBackgroundHover,
|
|
30210
|
+
navbarLinkBackgroundActive: navbarLinkBackgroundActive,
|
|
30211
|
+
navbarBrandColor: navbarBrandColor,
|
|
30212
|
+
navbarInverseBackground: navbarInverseBackground,
|
|
30213
|
+
navbarInverseBackgroundHighlight: navbarInverseBackgroundHighlight,
|
|
30214
|
+
navbarInverseBorder: navbarInverseBorder,
|
|
30215
|
+
navbarInverseText: navbarInverseText,
|
|
30216
|
+
navbarInverseLinkColor: navbarInverseLinkColor,
|
|
30217
|
+
navbarInverseLinkColorHover: navbarInverseLinkColorHover,
|
|
30218
|
+
navbarInverseLinkColorActive: navbarInverseLinkColorActive,
|
|
30219
|
+
navbarInverseLinkBackgroundHover: navbarInverseLinkBackgroundHover,
|
|
30220
|
+
navbarInverseLinkBackgroundActive: navbarInverseLinkBackgroundActive,
|
|
30221
|
+
navbarInverseSearchBackground: navbarInverseSearchBackground,
|
|
30222
|
+
navbarInverseSearchBackgroundFocus: navbarInverseSearchBackgroundFocus,
|
|
30223
|
+
navbarInverseSearchBorder: navbarInverseSearchBorder,
|
|
30224
|
+
navbarInverseSearchPlaceholderColor: navbarInverseSearchPlaceholderColor,
|
|
30225
|
+
navbarInverseBrandColor: navbarInverseBrandColor,
|
|
30226
|
+
paginationBackground: paginationBackground,
|
|
30227
|
+
paginationBorder: paginationBorder,
|
|
30228
|
+
paginationActiveBackground: paginationActiveBackground,
|
|
30229
|
+
heroUnitBackground: heroUnitBackground,
|
|
30230
|
+
heroUnitHeadingColor: heroUnitHeadingColor,
|
|
30231
|
+
heroUnitLeadColor: heroUnitLeadColor,
|
|
30232
|
+
warningText: warningText,
|
|
30233
|
+
warningBackground: warningBackground,
|
|
30234
|
+
warningBorder: warningBorder,
|
|
30235
|
+
errorText: errorText,
|
|
30236
|
+
errorBackground: errorBackground,
|
|
30237
|
+
errorBorder: errorBorder,
|
|
30238
|
+
successText: successText,
|
|
30239
|
+
successBackground: successBackground,
|
|
30240
|
+
successBorder: successBorder,
|
|
30241
|
+
infoText: infoText,
|
|
30242
|
+
infoBackground: infoBackground,
|
|
30243
|
+
infoBorder: infoBorder,
|
|
30244
|
+
tooltipColor: tooltipColor,
|
|
30245
|
+
tooltipBackground: tooltipBackground,
|
|
30246
|
+
tooltipArrowWidth: tooltipArrowWidth,
|
|
30247
|
+
tooltipArrowColor: tooltipArrowColor,
|
|
30248
|
+
popoverBackground: popoverBackground,
|
|
30249
|
+
popoverArrowWidth: popoverArrowWidth,
|
|
30250
|
+
popoverArrowColor: popoverArrowColor,
|
|
30251
|
+
popoverTitleBackground: popoverTitleBackground,
|
|
30252
|
+
popoverArrowOuterWidth: popoverArrowOuterWidth,
|
|
30253
|
+
popoverArrowOuterColor: popoverArrowOuterColor,
|
|
30254
|
+
gridColumns: gridColumns,
|
|
30255
|
+
gridColumnWidth: gridColumnWidth,
|
|
30256
|
+
gridGutterWidth: gridGutterWidth,
|
|
30257
|
+
gridRowWidth: gridRowWidth,
|
|
30258
|
+
gridColumnWidth1200: gridColumnWidth1200,
|
|
30259
|
+
gridGutterWidth1200: gridGutterWidth1200,
|
|
30260
|
+
gridRowWidth1200: gridRowWidth1200,
|
|
30261
|
+
gridColumnWidth768: gridColumnWidth768,
|
|
30262
|
+
gridGutterWidth768: gridGutterWidth768,
|
|
30263
|
+
gridRowWidth768: gridRowWidth768,
|
|
30264
|
+
fluidGridColumnWidth: fluidGridColumnWidth,
|
|
30265
|
+
fluidGridGutterWidth: fluidGridGutterWidth,
|
|
30266
|
+
fluidGridColumnWidth1200: fluidGridColumnWidth1200,
|
|
30267
|
+
fluidGridGutterWidth1200: fluidGridGutterWidth1200,
|
|
30268
|
+
fluidGridColumnWidth768: fluidGridColumnWidth768,
|
|
30269
|
+
fluidGridGutterWidth768: fluidGridGutterWidth768,
|
|
30270
|
+
kaGreen: kaGreen,
|
|
30271
|
+
kaGreenLight: kaGreenLight,
|
|
30272
|
+
kaBlue: kaBlue,
|
|
30273
|
+
kaBlueLight: kaBlueLight,
|
|
30274
|
+
grayExtraDark: grayExtraDark,
|
|
30275
|
+
grayExtraLight: grayExtraLight,
|
|
30276
|
+
graySuperLight: graySuperLight,
|
|
30277
|
+
whiteDark: whiteDark,
|
|
30278
|
+
dark: dark,
|
|
30279
|
+
blueDarkUnsaturated: blueDarkUnsaturated,
|
|
30280
|
+
blueDarkSaturated: blueDarkSaturated,
|
|
30281
|
+
blueLight: blueLight,
|
|
30282
|
+
greenLight: greenLight,
|
|
30283
|
+
greenDark: greenDark,
|
|
30284
|
+
yellowGreen: yellowGreen,
|
|
30285
|
+
okGreen: okGreen,
|
|
30286
|
+
alertRed: alertRed,
|
|
30287
|
+
coral: coral,
|
|
30288
|
+
grayBlue: grayBlue,
|
|
30289
|
+
lightPageBackground: lightPageBackground,
|
|
30290
|
+
yclaBlue: yclaBlue,
|
|
30291
|
+
yclaTeal: yclaTeal,
|
|
30292
|
+
yclaTealDark: yclaTealDark,
|
|
30293
|
+
yclaGreenDark: yclaGreenDark,
|
|
30294
|
+
yclaGreen: yclaGreen,
|
|
30295
|
+
learnstormBlue: learnstormBlue,
|
|
30296
|
+
homepageBlue: homepageBlue,
|
|
30297
|
+
backgroundBlue: backgroundBlue,
|
|
30298
|
+
teacherSignupBlue: teacherSignupBlue,
|
|
30299
|
+
homepageGreen: homepageGreen,
|
|
30300
|
+
streakColor: streakColor,
|
|
30301
|
+
facebookColor: facebookColor,
|
|
30302
|
+
blueGoogleColor: blueGoogleColor,
|
|
30303
|
+
redGoogleColor: redGoogleColor,
|
|
30304
|
+
homepageColor: homepageColor,
|
|
30305
|
+
lightTextColor: lightTextColor,
|
|
30306
|
+
fontSizeTiny: fontSizeTiny,
|
|
30307
|
+
fontSizeNormal: fontSizeNormal,
|
|
30308
|
+
fontSizeMedium: fontSizeMedium,
|
|
30309
|
+
fontSizeExtraLarge: fontSizeExtraLarge,
|
|
30310
|
+
fontSizeHuge: fontSizeHuge,
|
|
30311
|
+
fontSizeBakana: fontSizeBakana,
|
|
30312
|
+
fontSizeBananas: fontSizeBananas,
|
|
30313
|
+
fixedWidthFontFamily: fixedWidthFontFamily,
|
|
30314
|
+
contentPadding: contentPadding,
|
|
30315
|
+
primaryButtonBackground: primaryButtonBackground,
|
|
30316
|
+
primaryButtonBorder: primaryButtonBorder,
|
|
30317
|
+
buttonTextColor: buttonTextColor,
|
|
30318
|
+
buttonBorderRadius: buttonBorderRadius,
|
|
30319
|
+
basicBorderColor: basicBorderColor,
|
|
30320
|
+
minContainerWidth: minContainerWidth,
|
|
30321
|
+
maxContainerWidth: maxContainerWidth,
|
|
30322
|
+
formHintColor: formHintColor,
|
|
30323
|
+
guidelineExampleText: guidelineExampleText,
|
|
30324
|
+
hoverCardWidth: hoverCardWidth,
|
|
30325
|
+
menuHighlightColor: menuHighlightColor,
|
|
30326
|
+
menuHighlightBorderColor: menuHighlightBorderColor,
|
|
30327
|
+
menuActiveTextColor: menuActiveTextColor,
|
|
30328
|
+
menuInactiveTextColor: menuInactiveTextColor,
|
|
30329
|
+
menuSubheaderTextColor: menuSubheaderTextColor,
|
|
30330
|
+
menuBorderColor: menuBorderColor,
|
|
30331
|
+
unreadBackgroundColor: unreadBackgroundColor,
|
|
30332
|
+
menuLineHeight: menuLineHeight,
|
|
30333
|
+
menuSubheaderLineHeight: menuSubheaderLineHeight,
|
|
30334
|
+
menuSubheaderFontSize: menuSubheaderFontSize,
|
|
30335
|
+
notificationBarColor: notificationBarColor,
|
|
30336
|
+
modalBodyTopPadding: modalBodyTopPadding,
|
|
30337
|
+
modalDialogPadding: modalDialogPadding,
|
|
30338
|
+
modalSectionPadding: modalSectionPadding,
|
|
30339
|
+
mathDomain1: mathDomain1,
|
|
30340
|
+
mathDomain2: mathDomain2,
|
|
30341
|
+
mathDomain3: mathDomain3,
|
|
30342
|
+
mathDomain4: mathDomain4,
|
|
30343
|
+
partnerContentDomain1: partnerContentDomain1,
|
|
30344
|
+
partnerContentDomain2: partnerContentDomain2,
|
|
30345
|
+
partnerContentDomain3: partnerContentDomain3,
|
|
30346
|
+
partnerContentDomain4: partnerContentDomain4,
|
|
30347
|
+
csDomain1: csDomain1,
|
|
30348
|
+
csDomain2: csDomain2,
|
|
30349
|
+
csDomain3: csDomain3,
|
|
30350
|
+
csDomain4: csDomain4,
|
|
30351
|
+
economicsDomain1: economicsDomain1,
|
|
30352
|
+
economicsDomain2: economicsDomain2,
|
|
30353
|
+
economicsDomain3: economicsDomain3,
|
|
30354
|
+
economicsDomain4: economicsDomain4,
|
|
30355
|
+
collegeCareersMoreDomain1: collegeCareersMoreDomain1,
|
|
30356
|
+
collegeCareersMoreDomain2: collegeCareersMoreDomain2,
|
|
30357
|
+
collegeCareersMoreDomain3: collegeCareersMoreDomain3,
|
|
30358
|
+
collegeCareersMoreDomain4: collegeCareersMoreDomain4,
|
|
30359
|
+
humanitiesDomain1: humanitiesDomain1,
|
|
30360
|
+
humanitiesDomain2: humanitiesDomain2,
|
|
30361
|
+
humanitiesDomain3: humanitiesDomain3,
|
|
30362
|
+
humanitiesDomain4: humanitiesDomain4,
|
|
30363
|
+
gtpDomain1: gtpDomain1,
|
|
30364
|
+
gtpDomain2: gtpDomain2,
|
|
30365
|
+
gtpDomain3: gtpDomain3,
|
|
30366
|
+
gtpDomain4: gtpDomain4,
|
|
30367
|
+
scienceDomain1: scienceDomain1,
|
|
30368
|
+
scienceDomain2: scienceDomain2,
|
|
30369
|
+
scienceDomain3: scienceDomain3,
|
|
30370
|
+
scienceDomain4: scienceDomain4,
|
|
30371
|
+
testPrepDomain1: testPrepDomain1,
|
|
30372
|
+
testPrepDomain2: testPrepDomain2,
|
|
30373
|
+
testPrepDomain3: testPrepDomain3,
|
|
30374
|
+
testPrepDomain4: testPrepDomain4,
|
|
30375
|
+
defaultDomain1: defaultDomain1,
|
|
30376
|
+
defaultDomain2: defaultDomain2,
|
|
30377
|
+
defaultDomain3: defaultDomain3,
|
|
30378
|
+
defaultDomain4: defaultDomain4,
|
|
30379
|
+
defaultDomainColor: defaultDomainColor,
|
|
30380
|
+
defaultSubjectColor: defaultSubjectColor,
|
|
30381
|
+
defaultTopicColor: defaultTopicColor,
|
|
30382
|
+
defaultHoverColor: defaultHoverColor,
|
|
30383
|
+
defaultLinkColor: defaultLinkColor,
|
|
30384
|
+
defaultLinkHoverColor: defaultLinkHoverColor,
|
|
30385
|
+
scienceDomainColor: scienceDomainColor,
|
|
30386
|
+
scienceSubjectColor: scienceSubjectColor,
|
|
30387
|
+
scienceTopicColor: scienceTopicColor,
|
|
30388
|
+
scienceHoverColor: scienceHoverColor,
|
|
30389
|
+
scienceLinkColor: scienceLinkColor,
|
|
30390
|
+
scienceLinkHoverColor: scienceLinkHoverColor,
|
|
30391
|
+
humanitiesDomainColor: humanitiesDomainColor,
|
|
30392
|
+
humanitiesSubjectColor: humanitiesSubjectColor,
|
|
30393
|
+
humanitiesTopicColor: humanitiesTopicColor,
|
|
30394
|
+
humanitiesHoverColor: humanitiesHoverColor,
|
|
30395
|
+
humanitiesLinkColor: humanitiesLinkColor,
|
|
30396
|
+
humanitiesLinkHoverColor: humanitiesLinkHoverColor,
|
|
30397
|
+
economicsDomainColor: economicsDomainColor,
|
|
30398
|
+
economicsSubjectColor: economicsSubjectColor,
|
|
30399
|
+
economicsTopicColor: economicsTopicColor,
|
|
30400
|
+
economicsHoverColor: economicsHoverColor,
|
|
30401
|
+
economicsLinkColor: economicsLinkColor,
|
|
30402
|
+
economicsLinkHoverColor: economicsLinkHoverColor,
|
|
30403
|
+
csDomainColor: csDomainColor,
|
|
30404
|
+
csSubjectColor: csSubjectColor,
|
|
30405
|
+
csTopicColor: csTopicColor,
|
|
30406
|
+
csHoverColor: csHoverColor,
|
|
30407
|
+
csLinkColor: csLinkColor,
|
|
30408
|
+
csLinkHoverColor: csLinkHoverColor,
|
|
30409
|
+
partnerContentDomainColor: partnerContentDomainColor,
|
|
30410
|
+
partnerContentSubjectColor: partnerContentSubjectColor,
|
|
30411
|
+
partnerContentTopicColor: partnerContentTopicColor,
|
|
30412
|
+
partnerContentHoverColor: partnerContentHoverColor,
|
|
30413
|
+
partnerContentLinkColor: partnerContentLinkColor,
|
|
30414
|
+
partnerContentLinkHoverColor: partnerContentLinkHoverColor,
|
|
30415
|
+
essayDomainColor: essayDomainColor,
|
|
30416
|
+
mathDomainColor: mathDomainColor,
|
|
30417
|
+
mathSubjectColor: mathSubjectColor,
|
|
30418
|
+
mathTopicColor: mathTopicColor,
|
|
30419
|
+
mathHoverColor: mathHoverColor,
|
|
30420
|
+
mathLinkColor: mathLinkColor,
|
|
30421
|
+
mathLinkHoverColor: mathLinkHoverColor,
|
|
30422
|
+
testPrepDomainColor: testPrepDomainColor,
|
|
30423
|
+
testPrepSubjectColor: testPrepSubjectColor,
|
|
30424
|
+
testPrepTopicColor: testPrepTopicColor,
|
|
30425
|
+
testPrepHoverColor: testPrepHoverColor,
|
|
30426
|
+
testPrepLinkColor: testPrepLinkColor,
|
|
30427
|
+
testPrepLinkHoverColor: testPrepLinkHoverColor,
|
|
30428
|
+
collegeCareersMoreDomainColor: collegeCareersMoreDomainColor,
|
|
30429
|
+
collegeCareersMoreSubjectColor: collegeCareersMoreSubjectColor,
|
|
30430
|
+
collegeCareersMoreTopicColor: collegeCareersMoreTopicColor,
|
|
30431
|
+
collegeCareersMoreHoverColor: collegeCareersMoreHoverColor,
|
|
30432
|
+
collegeCareersMoreLinkColor: collegeCareersMoreLinkColor,
|
|
30433
|
+
collegeCareersMoreLinkHoverColor: collegeCareersMoreLinkHoverColor,
|
|
30434
|
+
colorProficient: colorProficient,
|
|
30435
|
+
colorPracticed: colorPracticed,
|
|
30436
|
+
colorMastery1: colorMastery1,
|
|
30437
|
+
colorMastery2: colorMastery2,
|
|
30438
|
+
colorMastery3: colorMastery3,
|
|
30439
|
+
colorSuggested: colorSuggested,
|
|
30440
|
+
colorReview: colorReview,
|
|
30441
|
+
colorNotStarted: colorNotStarted,
|
|
30442
|
+
colorStarted: colorStarted,
|
|
30443
|
+
colorStruggling: colorStruggling,
|
|
30444
|
+
colorPersonal: colorPersonal,
|
|
30445
|
+
colorPractice: colorPractice,
|
|
30446
|
+
colorEnergyPoints: colorEnergyPoints,
|
|
30447
|
+
pureSmMin: pureSmMin,
|
|
30448
|
+
pureMdMin: pureMdMin,
|
|
30449
|
+
pureLgMin: pureLgMin,
|
|
30450
|
+
pureXlMin: pureXlMin,
|
|
30451
|
+
pureXsMax: pureXsMax,
|
|
30452
|
+
pureSmMax: pureSmMax,
|
|
30453
|
+
pureMdMax: pureMdMax,
|
|
30454
|
+
pureLgMax: pureLgMax
|
|
30453
30455
|
});
|
|
30454
30456
|
|
|
30455
30457
|
const colors$1 = {
|
|
@@ -30724,11 +30726,11 @@ const typography = {
|
|
|
30724
30726
|
};
|
|
30725
30727
|
|
|
30726
30728
|
var globalStyles = /*#__PURE__*/Object.freeze({
|
|
30727
|
-
|
|
30728
|
-
|
|
30729
|
-
|
|
30730
|
-
|
|
30731
|
-
|
|
30729
|
+
__proto__: null,
|
|
30730
|
+
colors: colors$1,
|
|
30731
|
+
borderRadius: borderRadius,
|
|
30732
|
+
fonts: fonts,
|
|
30733
|
+
typography: typography
|
|
30732
30734
|
});
|
|
30733
30735
|
|
|
30734
30736
|
class AnswerChoice extends React.Component {
|
|
@@ -43891,11 +43893,25 @@ const init = function init(options) {
|
|
|
43891
43893
|
});
|
|
43892
43894
|
};
|
|
43893
43895
|
|
|
43896
|
+
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
43897
|
+
const libName = "@khanacademy/perseus";
|
|
43898
|
+
const libVersion = "11.6.1";
|
|
43899
|
+
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
43900
|
+
|
|
43901
|
+
const apiVersion = {
|
|
43902
|
+
major: 12,
|
|
43903
|
+
minor: 0
|
|
43904
|
+
};
|
|
43905
|
+
const itemDataVersion = {
|
|
43906
|
+
major: 0,
|
|
43907
|
+
minor: 1
|
|
43908
|
+
};
|
|
43909
|
+
|
|
43894
43910
|
var allWidgets = [...basicWidgets, ...extraWidgets];
|
|
43895
43911
|
|
|
43896
43912
|
registerWidgets(allWidgets);
|
|
43897
43913
|
const ItemVersion = getVersionVector();
|
|
43898
|
-
ItemVersion["::renderer::"] =
|
|
43914
|
+
ItemVersion["::renderer::"] = itemDataVersion;
|
|
43899
43915
|
|
|
43900
43916
|
class ArticleRenderer extends React.Component {
|
|
43901
43917
|
constructor(props) {
|
|
@@ -44059,7 +44075,7 @@ class HintRenderer extends React.Component {
|
|
|
44059
44075
|
const {
|
|
44060
44076
|
isMobile
|
|
44061
44077
|
} = apiOptions;
|
|
44062
|
-
const classNames$1 = classNames(!isMobile && "perseus-hint-renderer", isMobile && css(styles$5.newHint), isMobile && lastRendered && css(styles$5.lastRenderedNewHint), lastHint && "last-hint", lastRendered && "last-rendered", className);
|
|
44078
|
+
const classNames$1 = classNames("hint", !isMobile && "perseus-hint-renderer", isMobile && css(styles$5.newHint), isMobile && lastRendered && css(styles$5.lastRenderedNewHint), lastHint && "last-hint", lastRendered && "last-rendered", className);
|
|
44063
44079
|
|
|
44064
44080
|
// TODO(charlie): Allowing `customKeypad` would require that we
|
|
44065
44081
|
// extend `ItemRenderer` to support nested inputs in the `HintsRenderer`.
|
|
@@ -44450,6 +44466,9 @@ const ProvideKeypad = {
|
|
|
44450
44466
|
const {
|
|
44451
44467
|
mapObject: mapObject$1
|
|
44452
44468
|
} = objective_;
|
|
44469
|
+
/**
|
|
44470
|
+
* @depreciated use ServerItemRenderer
|
|
44471
|
+
*/
|
|
44453
44472
|
class ItemRenderer extends React.Component {
|
|
44454
44473
|
// @ts-expect-error - TS2564 - Property 'questionRenderer' has no initializer and is not definitely assigned in the constructor.
|
|
44455
44474
|
|
|
@@ -45593,23 +45612,23 @@ RangeInput.defaultProps = {
|
|
|
45593
45612
|
};
|
|
45594
45613
|
|
|
45595
45614
|
var components = /*#__PURE__*/Object.freeze({
|
|
45596
|
-
|
|
45597
|
-
|
|
45598
|
-
|
|
45599
|
-
|
|
45600
|
-
|
|
45601
|
-
|
|
45602
|
-
|
|
45603
|
-
|
|
45604
|
-
|
|
45605
|
-
|
|
45606
|
-
|
|
45607
|
-
|
|
45608
|
-
|
|
45609
|
-
|
|
45610
|
-
|
|
45611
|
-
|
|
45612
|
-
|
|
45615
|
+
__proto__: null,
|
|
45616
|
+
ButtonGroup: ButtonGroup,
|
|
45617
|
+
Graph: Graph,
|
|
45618
|
+
Graphie: Graphie,
|
|
45619
|
+
HUD: HUD,
|
|
45620
|
+
Icon: Icon,
|
|
45621
|
+
InfoTip: InfoTip,
|
|
45622
|
+
InlineIcon: InlineIcon,
|
|
45623
|
+
MathInput: MathInput,
|
|
45624
|
+
MultiButtonGroup: MultiButtonGroup,
|
|
45625
|
+
NumberInput: NumberInput,
|
|
45626
|
+
PropCheckBox: PropCheckBox,
|
|
45627
|
+
RangeInput: RangeInput,
|
|
45628
|
+
SvgImage: SvgImage,
|
|
45629
|
+
TextInput: TextInput,
|
|
45630
|
+
TexButtons: TexButtons,
|
|
45631
|
+
TextListEditor: TextListEditor
|
|
45613
45632
|
});
|
|
45614
45633
|
|
|
45615
45634
|
const devices = {
|
|
@@ -45628,10 +45647,10 @@ const lintGutterWidth = 36;
|
|
|
45628
45647
|
const perseusFrameBorderWidth = 1;
|
|
45629
45648
|
|
|
45630
45649
|
var constants = /*#__PURE__*/Object.freeze({
|
|
45631
|
-
|
|
45632
|
-
|
|
45633
|
-
|
|
45634
|
-
|
|
45650
|
+
__proto__: null,
|
|
45651
|
+
devices: devices,
|
|
45652
|
+
lintGutterWidth: lintGutterWidth,
|
|
45653
|
+
perseusFrameBorderWidth: perseusFrameBorderWidth
|
|
45635
45654
|
});
|
|
45636
45655
|
|
|
45637
45656
|
// TODO(FEI-4010): Remove `Perseus` prefix for all types here
|
|
@@ -46796,9 +46815,5 @@ const EditorJsonify = {
|
|
|
46796
46815
|
}
|
|
46797
46816
|
};
|
|
46798
46817
|
|
|
46799
|
-
|
|
46800
|
-
const apiVersion = version.apiVersion;
|
|
46801
|
-
const itemDataVersion = version.itemDataVersion;
|
|
46802
|
-
|
|
46803
|
-
export { ApiOptions, ArrowPicker, ArticleRenderer, BaseRadio, Categorizer$1 as Categorizer, changeable as Changeable, ClassNames, ColorPicker, DashPicker, dependencies as Dependencies, EditorJsonify, ElementContainer, Errors, Expression, util as GrapherUtil, Grapher$1 as GrapherWidget, HintRenderer, HintsRenderer, InputNumber$1 as InputNumber, InteractiveGraph$1 as InteractiveGraphWidget, ItemRenderer, JiptParagraphs, KhanColors, KhanMath, context as LoadingContext, Log, Matrix$1 as MatrixWidget, MultiItems, NumericInput$1 as NumericInput, PerseusError, PerseusExpressionAnswerFormConsidered, PerseusMarkdown, Plotter$1 as PlotterWidget, Radio, Renderer, ref as ServerItemRenderer, sizingUtils as SizingUtils, Table$1 as TableWidget, Transformer$1 as TransformerWidget, Util, denylist as WIDGET_PROP_DENYLIST, WidgetJsonifyDeprecated, widgets$1 as Widgets, apiVersion, buildEmptyItemTreeForShape, buildMapper, components, constants, displaySigFigs, globalConstants, globalStyles, iconPaths as icons, init, interactiveSizes$1 as interactiveSizes, isItemRenderableByVersion, itemDataVersion, itemToTree, ItemVersion as itemVersion, mediaQueries, preprocessTex, registerAllWidgetsForTesting, shapes, traverse, violatingWidgets, allWidgets as widgets };
|
|
46818
|
+
export { ApiOptions, ArrowPicker, ArticleRenderer, BaseRadio, Categorizer$1 as Categorizer, changeable as Changeable, ClassNames, ColorPicker, DashPicker, dependencies as Dependencies, EditorJsonify, ElementContainer, Errors, Expression, util as GrapherUtil, Grapher$1 as GrapherWidget, HintRenderer, HintsRenderer, InputNumber$1 as InputNumber, InteractiveGraph$1 as InteractiveGraphWidget, ItemRenderer, JiptParagraphs, KhanColors, KhanMath, context as LoadingContext, Log, Matrix$1 as MatrixWidget, MultiItems, NumericInput$1 as NumericInput, PerseusError, PerseusExpressionAnswerFormConsidered, PerseusMarkdown, Plotter$1 as PlotterWidget, Radio, Renderer, ref as ServerItemRenderer, sizingUtils as SizingUtils, Table$1 as TableWidget, Transformer$1 as TransformerWidget, Util, denylist as WIDGET_PROP_DENYLIST, WidgetJsonifyDeprecated, widgets$1 as Widgets, apiVersion, buildEmptyItemTreeForShape, buildMapper, components, constants, displaySigFigs, globalConstants, globalStyles, iconPaths as icons, init, interactiveSizes$1 as interactiveSizes, isItemRenderableByVersion, itemDataVersion, itemToTree, ItemVersion as itemVersion, libVersion, mediaQueries, preprocessTex, registerAllWidgetsForTesting, shapes, traverse, violatingWidgets, allWidgets as widgets };
|
|
46804
46819
|
//# sourceMappingURL=index.js.map
|