@pie-element/multi-trait-rubric 8.1.2-next.1 → 8.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/CHANGELOG.json +1 -0
  2. package/CHANGELOG.md +1590 -0
  3. package/LICENSE.md +5 -0
  4. package/README.md +55 -0
  5. package/configure/CHANGELOG.json +1 -0
  6. package/configure/CHANGELOG.md +1485 -0
  7. package/configure/lib/common.js +424 -0
  8. package/configure/lib/common.js.map +1 -0
  9. package/configure/lib/defaults.js +184 -0
  10. package/configure/lib/defaults.js.map +1 -0
  11. package/configure/lib/index.js +157 -0
  12. package/configure/lib/index.js.map +1 -0
  13. package/configure/lib/main.js +454 -0
  14. package/configure/lib/main.js.map +1 -0
  15. package/configure/lib/modals.js +206 -0
  16. package/configure/lib/modals.js.map +1 -0
  17. package/configure/lib/scale.js +478 -0
  18. package/configure/lib/scale.js.map +1 -0
  19. package/configure/lib/trait.js +275 -0
  20. package/configure/lib/trait.js.map +1 -0
  21. package/configure/lib/traitsHeader.js +235 -0
  22. package/configure/lib/traitsHeader.js.map +1 -0
  23. package/configure/lib/utils.js +87 -0
  24. package/configure/lib/utils.js.map +1 -0
  25. package/configure/package.json +24 -0
  26. package/controller/CHANGELOG.json +1 -0
  27. package/controller/CHANGELOG.md +911 -0
  28. package/controller/lib/defaults.js +18 -0
  29. package/controller/lib/defaults.js.map +1 -0
  30. package/controller/lib/index.js +158 -0
  31. package/controller/lib/index.js.map +1 -0
  32. package/controller/lib/utils.js +11 -0
  33. package/controller/lib/utils.js.map +1 -0
  34. package/controller/package.json +14 -0
  35. package/docs/config-schema.json +1628 -0
  36. package/docs/config-schema.json.md +1202 -0
  37. package/docs/demo/config.js +8 -0
  38. package/docs/demo/generate.js +117 -0
  39. package/docs/demo/index.html +1 -0
  40. package/docs/demo/session.js +6 -0
  41. package/docs/pie-schema.json +861 -0
  42. package/docs/pie-schema.json.md +614 -0
  43. package/lib/index.js +54 -0
  44. package/lib/index.js.map +1 -0
  45. package/lib/main.js +123 -0
  46. package/lib/main.js.map +1 -0
  47. package/lib/scale.js +248 -0
  48. package/lib/scale.js.map +1 -0
  49. package/lib/trait.js +83 -0
  50. package/lib/trait.js.map +1 -0
  51. package/package.json +15 -85
  52. package/configure.js +0 -2
  53. package/controller.js +0 -1
  54. package/dist/author/common.d.ts +0 -90
  55. package/dist/author/common.js +0 -275
  56. package/dist/author/defaults.d.ts +0 -153
  57. package/dist/author/defaults.js +0 -113
  58. package/dist/author/index.d.ts +0 -22
  59. package/dist/author/index.js +0 -89
  60. package/dist/author/main.d.ts +0 -43
  61. package/dist/author/main.js +0 -247
  62. package/dist/author/modals.d.ts +0 -94
  63. package/dist/author/modals.js +0 -171
  64. package/dist/author/scale.d.ts +0 -46
  65. package/dist/author/scale.js +0 -280
  66. package/dist/author/trait.d.ts +0 -70
  67. package/dist/author/trait.js +0 -202
  68. package/dist/author/traitsHeader.d.ts +0 -28
  69. package/dist/author/traitsHeader.js +0 -172
  70. package/dist/author/utils.d.ts +0 -10
  71. package/dist/author/utils.js +0 -41
  72. package/dist/browser/Typography-CdgSBeUZ.js +0 -8993
  73. package/dist/browser/Typography-CdgSBeUZ.js.map +0 -1
  74. package/dist/browser/author/index.js +0 -41731
  75. package/dist/browser/author/index.js.map +0 -1
  76. package/dist/browser/controller/index.js +0 -70
  77. package/dist/browser/controller/index.js.map +0 -1
  78. package/dist/browser/delivery/index.js +0 -523
  79. package/dist/browser/delivery/index.js.map +0 -1
  80. package/dist/browser/multi-trait-rubric.css +0 -2
  81. package/dist/controller/defaults.d.ts +0 -20
  82. package/dist/controller/defaults.js +0 -14
  83. package/dist/controller/index.d.ts +0 -26
  84. package/dist/controller/index.js +0 -57
  85. package/dist/controller/utils.d.ts +0 -9
  86. package/dist/controller/utils.js +0 -4
  87. package/dist/delivery/index.d.ts +0 -17
  88. package/dist/delivery/index.js +0 -37
  89. package/dist/delivery/main.d.ts +0 -15
  90. package/dist/delivery/main.js +0 -95
  91. package/dist/delivery/scale.d.ts +0 -17
  92. package/dist/delivery/scale.js +0 -175
  93. package/dist/delivery/trait.d.ts +0 -27
  94. package/dist/delivery/trait.js +0 -44
  95. package/dist/index.d.ts +0 -1
  96. package/dist/index.iife.d.ts +0 -8
  97. package/dist/index.iife.js +0 -145
  98. package/dist/index.js +0 -2
  99. package/dist/runtime-support.d.ts +0 -12
  100. package/dist/runtime-support.js +0 -12
@@ -0,0 +1,424 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.UnderlinedInput = exports.SimpleInput = exports.SecondaryBlock = exports.ScorePoint = exports.ScaleSettings = exports.Row = exports.PrimaryBlockWidth = exports.PrimaryBlock = exports.MultiTraitButton = exports.MaxPointsPicker = exports.HeaderHeightLarge = exports.HeaderHeight = exports.ExpandedInput = exports.DragHandleSpace = exports.BlockWidth = exports.Block = exports.Arrow = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _styles = require("@mui/material/styles");
10
+ var _editableHtmlTipTap = _interopRequireDefault(require("@pie-lib/editable-html-tip-tap"));
11
+ var _Select = _interopRequireDefault(require("@mui/material/Select"));
12
+ var _MenuItem = _interopRequireDefault(require("@mui/material/MenuItem"));
13
+ var _InputBase = _interopRequireDefault(require("@mui/material/InputBase"));
14
+ var _renderUi = require("@pie-lib/render-ui");
15
+ var _colors = require("@mui/material/colors");
16
+ var _utils = require("./utils");
17
+ const InputHeight = '120px';
18
+ const BlockWidth = exports.BlockWidth = 200;
19
+ const PrimaryBlockWidth = exports.PrimaryBlockWidth = 200;
20
+ const DragHandleSpace = exports.DragHandleSpace = 32;
21
+ const HeaderHeight = exports.HeaderHeight = '100px';
22
+ const HeaderHeightLarge = exports.HeaderHeightLarge = '160px';
23
+ const greyBorder = `solid 1px ${_colors.grey[400]}`;
24
+ const Padding = '8px 4px';
25
+
26
+ // global styles for EditableHtml components
27
+ const GlobalStyles = (0, _styles.styled)('div')(({
28
+ theme
29
+ }) => ({
30
+ fontFamily: 'Cerebri',
31
+ '& .editable-label': {
32
+ textAlign: 'left',
33
+ flex: 1,
34
+ border: 'none',
35
+ '& div:not(.tiptap)': {
36
+ padding: 0,
37
+ border: 'none'
38
+ },
39
+ '& > div:first-of-type': {
40
+ borderLeft: greyBorder,
41
+ borderRadius: 0,
42
+ padding: Padding
43
+ }
44
+ },
45
+ '& .editable-level': {
46
+ background: theme.palette.common.white,
47
+ width: '60%'
48
+ },
49
+ '& .underlined-editable-level': {
50
+ background: theme.palette.common.white,
51
+ width: '100%',
52
+ padding: 0,
53
+ border: 'none',
54
+ '& > div:first-of-type': {
55
+ borderBottom: greyBorder,
56
+ borderRadius: 0,
57
+ padding: Padding
58
+ }
59
+ },
60
+ '& .expanded-input-prompt': {
61
+ border: 'none',
62
+ margin: '10px',
63
+ marginTop: 0,
64
+ '& > div:first-of-type': {
65
+ border: greyBorder,
66
+ borderRadius: '4px',
67
+ padding: Padding
68
+ },
69
+ '& .tiptap': {
70
+ fontFamily: 'Cerebri',
71
+ height: InputHeight,
72
+ padding: 0
73
+ }
74
+ }
75
+ }));
76
+ const StyledButton = (0, _styles.styled)('div')(({
77
+ theme
78
+ }) => ({
79
+ fontSize: theme.typography.fontSize + 2,
80
+ textAlign: 'right',
81
+ display: 'flex',
82
+ flexDirection: 'row',
83
+ alignItems: 'flex-start',
84
+ padding: `${theme.spacing(1.5)} ${theme.spacing(2)}`,
85
+ width: '114px',
86
+ background: _renderUi.color.secondaryBackground(),
87
+ borderRadius: '4px',
88
+ justifyContent: 'space-around',
89
+ color: _renderUi.color.text(),
90
+ cursor: 'pointer'
91
+ }));
92
+ const MultiTraitButton = ({
93
+ children,
94
+ onClick
95
+ }) => /*#__PURE__*/_react.default.createElement(StyledButton, {
96
+ onClick: onClick
97
+ }, /*#__PURE__*/_react.default.createElement("strong", null, "+"), /*#__PURE__*/_react.default.createElement("div", null, children));
98
+ exports.MultiTraitButton = MultiTraitButton;
99
+ const PrimaryBlock = exports.PrimaryBlock = (0, _styles.styled)('div')({
100
+ width: `${PrimaryBlockWidth}px`,
101
+ minWidth: `${PrimaryBlockWidth}px`,
102
+ position: 'relative',
103
+ padding: '0 10px',
104
+ boxSizing: 'border-box'
105
+ });
106
+ const Block = exports.Block = (0, _styles.styled)('div')(({
107
+ theme
108
+ }) => ({
109
+ width: `${BlockWidth}px`,
110
+ minWidth: `${BlockWidth}px`,
111
+ '& ul, ol': {
112
+ marginBlockStart: 0,
113
+ paddingInlineStart: theme.spacing(2)
114
+ }
115
+ }));
116
+ const StyledSecondaryBlock = (0, _styles.styled)('div')({
117
+ display: 'flex',
118
+ overflowX: 'hidden',
119
+ overflowY: 'hidden',
120
+ alignItems: 'flex-end',
121
+ // this is needed to show the editor toolbar!!!
122
+ paddingBottom: '30px'
123
+ });
124
+ const SecondaryBlock = ({
125
+ children,
126
+ setRef,
127
+ width
128
+ }) => /*#__PURE__*/_react.default.createElement(StyledSecondaryBlock, {
129
+ style: {
130
+ width: width
131
+ },
132
+ ref: setRef
133
+ }, children);
134
+ exports.SecondaryBlock = SecondaryBlock;
135
+ const Row = ({
136
+ children,
137
+ height
138
+ }) => /*#__PURE__*/_react.default.createElement("div", {
139
+ style: {
140
+ display: 'flex',
141
+ height
142
+ }
143
+ }, children);
144
+ exports.Row = Row;
145
+ const ScorePointBoxWrapper = (0, _styles.styled)('div')({
146
+ padding: '0 10px'
147
+ });
148
+ const ScorePointBox = (0, _styles.styled)('div')({
149
+ display: 'flex',
150
+ borderRadius: '4px',
151
+ background: 'white',
152
+ flexDirection: 'row',
153
+ alignItems: 'center',
154
+ justifyContent: 'space-between',
155
+ border: greyBorder
156
+ });
157
+ const ScorePointBoxDisabled = (0, _styles.styled)('div')({
158
+ display: 'flex',
159
+ borderRadius: '4px',
160
+ background: 'none',
161
+ flexDirection: 'row',
162
+ alignItems: 'center',
163
+ justifyContent: 'center',
164
+ border: '0'
165
+ });
166
+ const SubLabel = (0, _styles.styled)('div')({
167
+ width: '24px',
168
+ textAlign: 'center'
169
+ });
170
+ const ScorePoint = ({
171
+ error = '',
172
+ scorePointsValue,
173
+ scoreDescriptor,
174
+ pluginProps,
175
+ onChange,
176
+ showScorePointLabels,
177
+ alignToRight,
178
+ spellCheck,
179
+ uploadSoundSupport,
180
+ imageSupport = {},
181
+ mathMlOptions = {}
182
+ }) => {
183
+ const ScorePointBoxComponent = showScorePointLabels ? ScorePointBox : ScorePointBoxDisabled;
184
+ return /*#__PURE__*/_react.default.createElement(GlobalStyles, null, /*#__PURE__*/_react.default.createElement(ScorePointBoxWrapper, null, /*#__PURE__*/_react.default.createElement(ScorePointBoxComponent, null, /*#__PURE__*/_react.default.createElement(SubLabel, null, scorePointsValue), showScorePointLabels ? /*#__PURE__*/_react.default.createElement(_editableHtmlTipTap.default, {
185
+ className: "editable-label",
186
+ error: error,
187
+ markup: scoreDescriptor,
188
+ placeholder: " Enter Label",
189
+ onChange: onChange,
190
+ pluginProps: pluginProps,
191
+ activePlugins: _utils.filteredDefaultPlugins,
192
+ spellCheck: spellCheck,
193
+ toolbarOpts: alignToRight ? {
194
+ alignment: 'right'
195
+ } : {},
196
+ uploadSoundSupport: uploadSoundSupport,
197
+ languageCharactersProps: [{
198
+ language: 'spanish'
199
+ }, {
200
+ language: 'special'
201
+ }],
202
+ mathMlOptions: mathMlOptions,
203
+ imageSupport: imageSupport,
204
+ autoWidthToolbar: true
205
+ }) : null)));
206
+ };
207
+ exports.ScorePoint = ScorePoint;
208
+ const StyledBootstrapInput = (0, _styles.styled)(_InputBase.default)(({
209
+ theme
210
+ }) => ({
211
+ '&.MuiInputBase-root': {
212
+ background: theme.palette.common.white,
213
+ marginTop: theme.spacing(1),
214
+ 'label + &': {
215
+ width: '80px'
216
+ }
217
+ },
218
+ '& .MuiInputBase-input': {
219
+ borderRadius: '4px',
220
+ position: 'relative',
221
+ border: greyBorder,
222
+ fontSize: theme.typography.fontSize,
223
+ fontFamily: 'Cerebri Sans',
224
+ padding: `${theme.spacing(1)} ${theme.spacing(1.5)}`,
225
+ '&:focus': {
226
+ borderRadius: '4px'
227
+ }
228
+ }
229
+ }));
230
+ const createMaxScoreOptions = maxMaxPoints => Array.from({
231
+ length: maxMaxPoints
232
+ }, (_, i) => i + 1);
233
+ const MaxPointsPicker = ({
234
+ maxPoints,
235
+ onChange,
236
+ maxMaxPoints
237
+ }) => /*#__PURE__*/_react.default.createElement(_renderUi.InputContainer, {
238
+ label: "Max Points"
239
+ }, /*#__PURE__*/_react.default.createElement(_Select.default, {
240
+ value: maxPoints,
241
+ onChange: onChange,
242
+ input: /*#__PURE__*/_react.default.createElement(StyledBootstrapInput, null),
243
+ MenuProps: {
244
+ transitionDuration: {
245
+ enter: 225,
246
+ exit: 195
247
+ }
248
+ }
249
+ }, createMaxScoreOptions(maxMaxPoints).map(maxScore => /*#__PURE__*/_react.default.createElement(_MenuItem.default, {
250
+ key: `menu-item-${maxScore}`,
251
+ value: maxScore
252
+ }, maxScore))));
253
+ exports.MaxPointsPicker = MaxPointsPicker;
254
+ const SimpleInputWrapper = (0, _styles.styled)('div')(({
255
+ theme
256
+ }) => ({
257
+ display: 'flex',
258
+ justifyContent: 'space-between',
259
+ alignItems: 'center',
260
+ margin: `${theme.spacing(1.5)} 0`
261
+ }));
262
+ const SimpleInput = ({
263
+ markup,
264
+ onChange,
265
+ pluginProps,
266
+ label,
267
+ spellCheck,
268
+ uploadSoundSupport,
269
+ mathMlOptions = {},
270
+ imageSupport = {}
271
+ }) => /*#__PURE__*/_react.default.createElement(GlobalStyles, null, /*#__PURE__*/_react.default.createElement(SimpleInputWrapper, null, label && /*#__PURE__*/_react.default.createElement("div", null, label), /*#__PURE__*/_react.default.createElement(_editableHtmlTipTap.default, {
272
+ className: "editable-level",
273
+ markup: markup,
274
+ onChange: onChange,
275
+ placeholder: "Trait Label",
276
+ pluginProps: pluginProps,
277
+ activePlugins: _utils.filteredDefaultPlugins,
278
+ spellCheck: spellCheck,
279
+ uploadSoundSupport: uploadSoundSupport,
280
+ languageCharactersProps: [{
281
+ language: 'spanish'
282
+ }, {
283
+ language: 'special'
284
+ }],
285
+ mathMlOptions: mathMlOptions,
286
+ imageSupport: imageSupport,
287
+ autoWidthToolbar: true
288
+ })));
289
+ exports.SimpleInput = SimpleInput;
290
+ const UnderlinedInputWrapper = (0, _styles.styled)('div')({
291
+ width: '100%',
292
+ display: 'flex',
293
+ justifyContent: 'center',
294
+ alignItems: 'center'
295
+ });
296
+ const UnderlinedInput = ({
297
+ error,
298
+ markup,
299
+ onChange,
300
+ pluginProps,
301
+ label,
302
+ placeholder,
303
+ spellCheck,
304
+ uploadSoundSupport,
305
+ imageSupport = {},
306
+ mathMlOptions = {}
307
+ }) => /*#__PURE__*/_react.default.createElement(GlobalStyles, null, /*#__PURE__*/_react.default.createElement(UnderlinedInputWrapper, null, label && /*#__PURE__*/_react.default.createElement("div", null, label), /*#__PURE__*/_react.default.createElement(_editableHtmlTipTap.default, {
308
+ className: "underlined-editable-level",
309
+ error: error,
310
+ markup: markup,
311
+ onChange: onChange,
312
+ placeholder: placeholder,
313
+ pluginProps: pluginProps,
314
+ activePlugins: _utils.filteredDefaultPlugins,
315
+ spellCheck: spellCheck,
316
+ uploadSoundSupport: uploadSoundSupport,
317
+ languageCharactersProps: [{
318
+ language: 'spanish'
319
+ }, {
320
+ language: 'special'
321
+ }],
322
+ mathMlOptions: mathMlOptions,
323
+ imageSupport: imageSupport,
324
+ autoWidthToolbar: true
325
+ })));
326
+ exports.UnderlinedInput = UnderlinedInput;
327
+ const ExpandedInput = ({
328
+ error,
329
+ markup,
330
+ onChange,
331
+ pluginProps,
332
+ placeholder,
333
+ alignToRight,
334
+ spellCheck,
335
+ uploadSoundSupport,
336
+ mathMlOptions = {},
337
+ imageSupport = {}
338
+ }) => /*#__PURE__*/_react.default.createElement(GlobalStyles, null, /*#__PURE__*/_react.default.createElement(_editableHtmlTipTap.default, {
339
+ className: "expanded-input-prompt",
340
+ error: error,
341
+ markup: markup,
342
+ onChange: onChange,
343
+ placeholder: placeholder,
344
+ pluginProps: pluginProps,
345
+ toolbarOpts: alignToRight ? {
346
+ alignment: 'right'
347
+ } : {},
348
+ spellCheck: spellCheck,
349
+ uploadSoundSupport: uploadSoundSupport,
350
+ languageCharactersProps: [{
351
+ language: 'spanish'
352
+ }, {
353
+ language: 'special'
354
+ }],
355
+ autoWidthToolbar: true,
356
+ mathMlOptions: mathMlOptions,
357
+ imageSupport: imageSupport
358
+ }));
359
+ exports.ExpandedInput = ExpandedInput;
360
+ const ScaleSettings = exports.ScaleSettings = (0, _styles.styled)('div')(({
361
+ theme
362
+ }) => ({
363
+ display: 'flex',
364
+ justifyContent: 'space-between',
365
+ alignItems: 'flex-end',
366
+ paddingBottom: '18px',
367
+ gap: theme.spacing(0.25)
368
+ }));
369
+ const StyledArrow = (0, _styles.styled)('div')(({
370
+ theme
371
+ }) => ({
372
+ position: 'absolute',
373
+ zIndex: 10,
374
+ cursor: 'pointer',
375
+ right: 0,
376
+ alignItems: 'flex-start',
377
+ justifyContent: 'center',
378
+ background: `linear-gradient(to left, ${theme.palette.common.white}, ${_renderUi.color.background()})`,
379
+ boxSizing: 'border-box'
380
+ }));
381
+ const StyledInnerGrey = (0, _styles.styled)('div')(({
382
+ theme
383
+ }) => ({
384
+ position: 'absolute',
385
+ zIndex: 11,
386
+ cursor: 'pointer',
387
+ right: 0,
388
+ alignItems: 'flex-start',
389
+ justifyContent: 'center',
390
+ background: `linear-gradient(to left, ${theme.palette.common.white}, ${_renderUi.color.background()})`,
391
+ boxSizing: 'border-box',
392
+ '& svg': {
393
+ position: 'absolute',
394
+ bottom: '-24px'
395
+ }
396
+ }));
397
+ const Arrow = ({
398
+ children,
399
+ show,
400
+ width,
401
+ onClick,
402
+ left,
403
+ showLevelTagInput
404
+ }) => /*#__PURE__*/_react.default.createElement(StyledArrow, {
405
+ style: {
406
+ height: '-webkit-fill-available',
407
+ display: show ? 'flex' : 'none',
408
+ width: width,
409
+ left: left,
410
+ background: left ? `linear-gradient(to right, white, ${_renderUi.color.background()})` : undefined
411
+ },
412
+ onClick: onClick
413
+ }, /*#__PURE__*/_react.default.createElement(StyledInnerGrey, {
414
+ style: {
415
+ display: show ? 'flex' : 'none',
416
+ width: width,
417
+ height: showLevelTagInput ? HeaderHeightLarge : HeaderHeight,
418
+ left: 0,
419
+ background: left ? `linear-gradient(to right, ${_renderUi.color.secondaryBackground()}, ${_renderUi.color.background()})` : undefined
420
+ },
421
+ onClick: onClick
422
+ }, children));
423
+ exports.Arrow = Arrow;
424
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","names":["_react","_interopRequireDefault","require","_styles","_editableHtmlTipTap","_Select","_MenuItem","_InputBase","_renderUi","_colors","_utils","InputHeight","BlockWidth","exports","PrimaryBlockWidth","DragHandleSpace","HeaderHeight","HeaderHeightLarge","greyBorder","grey","Padding","GlobalStyles","styled","theme","fontFamily","textAlign","flex","border","padding","borderLeft","borderRadius","background","palette","common","white","width","borderBottom","margin","marginTop","height","StyledButton","fontSize","typography","display","flexDirection","alignItems","spacing","color","secondaryBackground","justifyContent","text","cursor","MultiTraitButton","children","onClick","default","createElement","PrimaryBlock","minWidth","position","boxSizing","Block","marginBlockStart","paddingInlineStart","StyledSecondaryBlock","overflowX","overflowY","paddingBottom","SecondaryBlock","setRef","style","ref","Row","ScorePointBoxWrapper","ScorePointBox","ScorePointBoxDisabled","SubLabel","ScorePoint","error","scorePointsValue","scoreDescriptor","pluginProps","onChange","showScorePointLabels","alignToRight","spellCheck","uploadSoundSupport","imageSupport","mathMlOptions","ScorePointBoxComponent","className","markup","placeholder","activePlugins","filteredDefaultPlugins","toolbarOpts","alignment","languageCharactersProps","language","autoWidthToolbar","StyledBootstrapInput","InputBase","createMaxScoreOptions","maxMaxPoints","Array","from","length","_","i","MaxPointsPicker","maxPoints","InputContainer","label","value","input","MenuProps","transitionDuration","enter","exit","map","maxScore","key","SimpleInputWrapper","SimpleInput","UnderlinedInputWrapper","UnderlinedInput","ExpandedInput","ScaleSettings","gap","StyledArrow","zIndex","right","StyledInnerGrey","bottom","Arrow","show","left","showLevelTagInput","undefined"],"sources":["../src/common.jsx"],"sourcesContent":["import React from 'react';\nimport { styled } from '@mui/material/styles';\nimport EditableHtml from '@pie-lib/editable-html-tip-tap';\nimport Select from '@mui/material/Select';\nimport MenuItem from '@mui/material/MenuItem';\nimport InputBase from '@mui/material/InputBase';\nimport { color, InputContainer } from '@pie-lib/render-ui';\nimport { grey } from '@mui/material/colors';\n\nimport { filteredDefaultPlugins } from './utils';\n\nconst InputHeight = '120px';\nexport const BlockWidth = 200;\nexport const PrimaryBlockWidth = 200;\nexport const DragHandleSpace = 32;\nexport const HeaderHeight = '100px';\nexport const HeaderHeightLarge = '160px';\nconst greyBorder = `solid 1px ${grey[400]}`;\nconst Padding = '8px 4px';\n\n// global styles for EditableHtml components\nconst GlobalStyles = styled('div')(({ theme }) => ({\n fontFamily: 'Cerebri',\n \n '& .editable-label': {\n textAlign: 'left',\n flex: 1,\n border: 'none',\n\n '& div:not(.tiptap)': {\n padding: 0,\n border: 'none',\n },\n\n '& > div:first-of-type': {\n borderLeft: greyBorder,\n borderRadius: 0,\n padding: Padding,\n },\n },\n\n '& .editable-level': {\n background: theme.palette.common.white,\n width: '60%',\n },\n\n '& .underlined-editable-level': {\n background: theme.palette.common.white,\n width: '100%',\n padding: 0,\n border: 'none',\n\n '& > div:first-of-type': {\n borderBottom: greyBorder,\n borderRadius: 0,\n padding: Padding,\n },\n },\n\n '& .expanded-input-prompt': {\n border: 'none',\n margin: '10px',\n marginTop: 0,\n '& > div:first-of-type': {\n border: greyBorder,\n borderRadius: '4px',\n padding: Padding,\n },\n\n '& .tiptap': {\n fontFamily: 'Cerebri',\n height: InputHeight,\n padding: 0\n }\n },\n}));\n\nconst StyledButton = styled('div')(({ theme }) => ({\n fontSize: theme.typography.fontSize + 2,\n textAlign: 'right',\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'flex-start',\n padding: `${theme.spacing(1.5)} ${theme.spacing(2)}`,\n width: '114px',\n background: color.secondaryBackground(),\n borderRadius: '4px',\n justifyContent: 'space-around',\n color: color.text(),\n cursor: 'pointer',\n}));\n\nexport const MultiTraitButton = ({ children, onClick }) => (\n <StyledButton onClick={onClick}>\n <strong>+</strong>\n <div>{children}</div>\n </StyledButton>\n);\n\nexport const PrimaryBlock = styled('div')({\n width: `${PrimaryBlockWidth}px`,\n minWidth: `${PrimaryBlockWidth}px`,\n position: 'relative',\n padding: '0 10px',\n boxSizing: 'border-box',\n});\n\nexport const Block = styled('div')(({ theme }) => ({\n width: `${BlockWidth}px`,\n minWidth: `${BlockWidth}px`,\n '& ul, ol': {\n marginBlockStart: 0,\n paddingInlineStart: theme.spacing(2),\n },\n}));\n\nconst StyledSecondaryBlock = styled('div')({\n display: 'flex',\n overflowX: 'hidden',\n overflowY: 'hidden',\n alignItems: 'flex-end',\n // this is needed to show the editor toolbar!!!\n paddingBottom: '30px',\n});\n\nexport const SecondaryBlock = ({ children, setRef, width }) => (\n <StyledSecondaryBlock style={{ width: width }} ref={setRef}>\n {children}\n </StyledSecondaryBlock>\n);\n\nexport const Row = (({ children, height }) => (\n <div\n style={{\n display: 'flex',\n height,\n }}\n >\n {children}\n </div>\n));\n\nconst ScorePointBoxWrapper = styled('div')({\n padding: '0 10px',\n});\n\nconst ScorePointBox = styled('div')({\n display: 'flex',\n borderRadius: '4px',\n background: 'white',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between',\n border: greyBorder,\n});\n\nconst ScorePointBoxDisabled = styled('div')({\n display: 'flex',\n borderRadius: '4px',\n background: 'none',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center',\n border: '0',\n});\n\nconst SubLabel = styled('div')({\n width: '24px',\n textAlign: 'center',\n});\n\nexport const ScorePoint = ({\n error = '',\n scorePointsValue,\n scoreDescriptor,\n pluginProps,\n onChange,\n showScorePointLabels,\n alignToRight,\n spellCheck,\n uploadSoundSupport,\n imageSupport = {},\n mathMlOptions = {},\n}) => {\n const ScorePointBoxComponent = showScorePointLabels ? ScorePointBox : ScorePointBoxDisabled;\n\n return (\n <GlobalStyles>\n <ScorePointBoxWrapper>\n <ScorePointBoxComponent>\n <SubLabel>{scorePointsValue}</SubLabel>\n\n {showScorePointLabels ? (\n <EditableHtml\n className=\"editable-label\"\n error={error}\n markup={scoreDescriptor}\n placeholder=\" Enter Label\"\n onChange={onChange}\n pluginProps={pluginProps}\n activePlugins={filteredDefaultPlugins}\n spellCheck={spellCheck}\n toolbarOpts={alignToRight ? { alignment: 'right' } : {}}\n uploadSoundSupport={uploadSoundSupport}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n mathMlOptions={mathMlOptions}\n imageSupport={imageSupport}\n autoWidthToolbar\n />\n ) : null}\n </ScorePointBoxComponent>\n </ScorePointBoxWrapper>\n </GlobalStyles>\n );\n};\n\nconst StyledBootstrapInput = styled(InputBase)(({ theme }) => ({\n '&.MuiInputBase-root': {\n background: theme.palette.common.white,\n marginTop: theme.spacing(1),\n 'label + &': {\n width: '80px',\n },\n },\n '& .MuiInputBase-input': {\n borderRadius: '4px',\n position: 'relative',\n border: greyBorder,\n fontSize: theme.typography.fontSize,\n fontFamily: 'Cerebri Sans',\n padding: `${theme.spacing(1)} ${theme.spacing(1.5)}`,\n\n '&:focus': {\n borderRadius: '4px',\n },\n },\n}));\n\nconst createMaxScoreOptions = (maxMaxPoints) => Array.from({ length: maxMaxPoints }, (_, i) => i + 1);\n\nexport const MaxPointsPicker = ({ maxPoints, onChange, maxMaxPoints }) => (\n <InputContainer label=\"Max Points\">\n <Select\n value={maxPoints}\n onChange={onChange}\n input={<StyledBootstrapInput />}\n MenuProps={{\n transitionDuration: {\n enter: 225,\n exit: 195\n }\n }}\n >\n {createMaxScoreOptions(maxMaxPoints).map((maxScore) => (\n <MenuItem key={`menu-item-${maxScore}`} value={maxScore}>\n {maxScore}\n </MenuItem>\n ))}\n </Select>\n </InputContainer>\n);\n\nconst SimpleInputWrapper = styled('div')(({ theme }) => ({\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n margin: `${theme.spacing(1.5)} 0`,\n}));\n\nexport const SimpleInput = ({\n markup,\n onChange,\n pluginProps,\n label,\n spellCheck,\n uploadSoundSupport,\n mathMlOptions = {},\n imageSupport = {},\n}) => (\n <GlobalStyles>\n <SimpleInputWrapper>\n {label && <div>{label}</div>}\n\n <EditableHtml\n className=\"editable-level\"\n markup={markup}\n onChange={onChange}\n placeholder=\"Trait Label\"\n pluginProps={pluginProps}\n activePlugins={filteredDefaultPlugins}\n spellCheck={spellCheck}\n uploadSoundSupport={uploadSoundSupport}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n mathMlOptions={mathMlOptions}\n imageSupport={imageSupport}\n autoWidthToolbar\n />\n </SimpleInputWrapper>\n </GlobalStyles>\n);\n\nconst UnderlinedInputWrapper = styled('div')({\n width: '100%',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n});\n\nexport const UnderlinedInput = ({\n error,\n markup,\n onChange,\n pluginProps,\n label,\n placeholder,\n spellCheck,\n uploadSoundSupport,\n imageSupport = {},\n mathMlOptions = {},\n}) => (\n <GlobalStyles>\n <UnderlinedInputWrapper>\n {label && <div>{label}</div>}\n\n <EditableHtml\n className=\"underlined-editable-level\"\n error={error}\n markup={markup}\n onChange={onChange}\n placeholder={placeholder}\n pluginProps={pluginProps}\n activePlugins={filteredDefaultPlugins}\n spellCheck={spellCheck}\n uploadSoundSupport={uploadSoundSupport}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n mathMlOptions={mathMlOptions}\n imageSupport={imageSupport}\n autoWidthToolbar\n />\n </UnderlinedInputWrapper>\n </GlobalStyles>\n);\n\nexport const ExpandedInput = ({\n error,\n markup,\n onChange,\n pluginProps,\n placeholder,\n alignToRight,\n spellCheck,\n uploadSoundSupport,\n mathMlOptions = {},\n imageSupport = {},\n}) => (\n <GlobalStyles>\n <EditableHtml\n className=\"expanded-input-prompt\"\n error={error}\n markup={markup}\n onChange={onChange}\n placeholder={placeholder}\n pluginProps={pluginProps}\n toolbarOpts={alignToRight ? { alignment: 'right' } : {}}\n spellCheck={spellCheck}\n uploadSoundSupport={uploadSoundSupport}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n autoWidthToolbar\n mathMlOptions={mathMlOptions}\n imageSupport={imageSupport}\n />\n </GlobalStyles>\n);\n\nexport const ScaleSettings = styled('div')(({ theme }) => ({\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'flex-end',\n paddingBottom: '18px',\n gap: theme.spacing(0.25),\n}));\n\nconst StyledArrow = styled('div')(({ theme }) => ({\n position: 'absolute',\n zIndex: 10,\n cursor: 'pointer',\n right: 0,\n alignItems: 'flex-start',\n justifyContent: 'center',\n background: `linear-gradient(to left, ${theme.palette.common.white}, ${color.background()})`,\n boxSizing: 'border-box',\n}));\n\nconst StyledInnerGrey = styled('div')(({ theme }) => ({\n position: 'absolute',\n zIndex: 11,\n cursor: 'pointer',\n right: 0,\n alignItems: 'flex-start',\n justifyContent: 'center',\n background: `linear-gradient(to left, ${theme.palette.common.white}, ${color.background()})`,\n boxSizing: 'border-box',\n '& svg': {\n position: 'absolute',\n bottom: '-24px',\n },\n}));\n\nexport const Arrow = ({ children, show, width, onClick, left, showLevelTagInput }) => (\n <StyledArrow\n style={{\n height: '-webkit-fill-available',\n display: show ? 'flex' : 'none',\n width: width,\n left: left,\n background: left ? `linear-gradient(to right, white, ${color.background()})` : undefined,\n }}\n onClick={onClick}\n >\n <StyledInnerGrey\n style={{\n display: show ? 'flex' : 'none',\n width: width,\n height: showLevelTagInput ? HeaderHeightLarge : HeaderHeight,\n left: 0,\n background: left\n ? `linear-gradient(to right, ${color.secondaryBackground()}, ${color.background()})`\n : undefined,\n }}\n onClick={onClick}\n >\n {children}\n </StyledInnerGrey>\n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,OAAA,CAAAC,aAAA,CAACyE,WAAW;EACV3D,KAAK,EAAE;IACL/B,MAAM,EAAE,wBAAwB;IAChCI,OAAO,EAAE4F,IAAI,GAAG,MAAM,GAAG,MAAM;IAC/BpG,KAAK,EAAEA,KAAK;IACZqG,IAAI,EAAEA,IAAI;IACVzG,UAAU,EAAEyG,IAAI,GAAG,oCAAoCzF,eAAK,CAAChB,UAAU,CAAC,CAAC,GAAG,GAAG2G;EACjF,CAAE;EACFpF,OAAO,EAAEA;AAAQ,gBAEjBtD,MAAA,CAAAuD,OAAA,CAAAC,aAAA,CAAC4E,eAAe;EACd9D,KAAK,EAAE;IACL3B,OAAO,EAAE4F,IAAI,GAAG,MAAM,GAAG,MAAM;IAC/BpG,KAAK,EAAEA,KAAK;IACZI,MAAM,EAAEkG,iBAAiB,GAAGxH,iBAAiB,GAAGD,YAAY;IAC5DwH,IAAI,EAAE,CAAC;IACPzG,UAAU,EAAEyG,IAAI,GACZ,6BAA6BzF,eAAK,CAACC,mBAAmB,CAAC,CAAC,KAAKD,eAAK,CAAChB,UAAU,CAAC,CAAC,GAAG,GAClF2G;EACN,CAAE;EACFpF,OAAO,EAAEA;AAAQ,GAEhBD,QACc,CACN,CACd;AAACxC,OAAA,CAAAyH,KAAA,GAAAA,KAAA","ignoreList":[]}
@@ -0,0 +1,184 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _default = exports.default = {
8
+ model: {
9
+ addScaleEnabled: true,
10
+ description: false,
11
+ excludeZero: false,
12
+ halfScoring: false,
13
+ maxPointsEnabled: true,
14
+ pointLabels: true,
15
+ scales: [],
16
+ standards: false,
17
+ visibleToStudent: true
18
+ },
19
+ configuration: {
20
+ baseInputConfiguration: {
21
+ h3: {
22
+ disabled: true
23
+ },
24
+ audio: {
25
+ disabled: false
26
+ },
27
+ video: {
28
+ disabled: false
29
+ },
30
+ image: {
31
+ disabled: false
32
+ },
33
+ textAlign: {
34
+ disabled: true
35
+ },
36
+ showParagraphs: {
37
+ disabled: false
38
+ },
39
+ separateParagraphs: {
40
+ disabled: true
41
+ }
42
+ },
43
+ expandedInput: {
44
+ inputConfiguration: {
45
+ math: {
46
+ disabled: true
47
+ },
48
+ audio: {
49
+ disabled: false
50
+ },
51
+ video: {
52
+ disabled: false
53
+ },
54
+ image: {
55
+ disabled: false
56
+ }
57
+ }
58
+ },
59
+ labelInput: {
60
+ inputConfiguration: {
61
+ math: {
62
+ disabled: true
63
+ },
64
+ audio: {
65
+ disabled: true
66
+ },
67
+ video: {
68
+ disabled: true
69
+ },
70
+ image: {
71
+ disabled: true
72
+ }
73
+ }
74
+ },
75
+ excludeZeroDialogBoxContent: {
76
+ title: 'Exclude 0 (Zero) from Score Point Values.',
77
+ text: `<div>
78
+ You are about to exclude 0 from score point values.
79
+ <br/>
80
+ Some of the existing data has to be changed.
81
+ <br/>
82
+ Please choose if you want to:
83
+ <ul>
84
+ <li>
85
+ shift Labels and Descriptions to the left
86
+ </li>
87
+ <li>
88
+ remove 0 column with its Label and Description
89
+ </li>
90
+ </ul>
91
+ </div>`
92
+ },
93
+ includeZeroDialogBoxContent: {
94
+ title: 'Include 0 (Zero) in Score Point Values.',
95
+ text: `<div>
96
+ You are about to include 0 in score point values.
97
+ <br/>
98
+ Some of the existing data has to be changed.
99
+ <br/>
100
+ Please choose if you want to:
101
+ <ul>
102
+ <li>
103
+ shift Labels and Descriptions to the right
104
+ </li>
105
+ <li>
106
+ add 0 column with empty Label and Descriptions
107
+ </li>
108
+ </ul>
109
+ </div>`
110
+ },
111
+ deleteScaleDialogBoxContent: {
112
+ title: 'Delete Scale',
113
+ text: 'Are you sure you want to delete this scale?'
114
+ },
115
+ maxPointsDialogBoxContent: {
116
+ title: 'Decreasing Max Points.',
117
+ text: ` You are about to decrease max score point value.
118
+ <br/>
119
+ All the Labels and Descriptions for scores above Max Point will be deleted.`
120
+ },
121
+ settingsPanelDisabled: false,
122
+ spellCheck: {
123
+ label: 'Spellcheck',
124
+ settings: false,
125
+ enabled: true
126
+ },
127
+ showExcludeZero: {
128
+ settings: true,
129
+ label: 'Exclude Zero'
130
+ },
131
+ showScorePointLabels: {
132
+ settings: true,
133
+ label: 'Show Score Point Labels'
134
+ },
135
+ showDescription: {
136
+ settings: true,
137
+ label: 'Show Description'
138
+ },
139
+ showVisibleToStudent: {
140
+ settings: true,
141
+ label: 'Visible to Student'
142
+ },
143
+ showHalfScoring: {
144
+ settings: true,
145
+ label: 'Half Scoring'
146
+ },
147
+ // commenting this in order to use the dynamic width if the width was not set by the client (PD-3203)
148
+ // width: '900px',
149
+ // these should not be set to true (should not be used) for now
150
+ showStandards: {
151
+ settings: false,
152
+ label: 'Show Standards'
153
+ },
154
+ showLevelTagInput: {
155
+ settings: false,
156
+ label: 'Show Level Tag Input',
157
+ enabled: false
158
+ },
159
+ dragAndDrop: {
160
+ settings: true,
161
+ label: 'Enable Drag and Drop',
162
+ enabled: false
163
+ },
164
+ showMaxPoint: {
165
+ settings: true,
166
+ label: 'Show Max Points Dropdown'
167
+ },
168
+ addScale: {
169
+ settings: true,
170
+ label: 'Add Scale Available'
171
+ },
172
+ minNoOfTraits: 1,
173
+ maxNoOfTraits: 10,
174
+ minNoOfScales: 1,
175
+ maxNoOfScales: 10,
176
+ defaultTraitLabel: 'Trait',
177
+ mathMlOptions: {
178
+ mmlOutput: false,
179
+ mmlEditing: false
180
+ },
181
+ maxMaxPoints: 10
182
+ }
183
+ };
184
+ //# sourceMappingURL=defaults.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.js","names":["model","addScaleEnabled","description","excludeZero","halfScoring","maxPointsEnabled","pointLabels","scales","standards","visibleToStudent","configuration","baseInputConfiguration","h3","disabled","audio","video","image","textAlign","showParagraphs","separateParagraphs","expandedInput","inputConfiguration","math","labelInput","excludeZeroDialogBoxContent","title","text","includeZeroDialogBoxContent","deleteScaleDialogBoxContent","maxPointsDialogBoxContent","settingsPanelDisabled","spellCheck","label","settings","enabled","showExcludeZero","showScorePointLabels","showDescription","showVisibleToStudent","showHalfScoring","showStandards","showLevelTagInput","dragAndDrop","showMaxPoint","addScale","minNoOfTraits","maxNoOfTraits","minNoOfScales","maxNoOfScales","defaultTraitLabel","mathMlOptions","mmlOutput","mmlEditing","maxMaxPoints"],"sources":["../src/defaults.js"],"sourcesContent":["export default {\n model: {\n addScaleEnabled: true,\n description: false,\n excludeZero: false,\n halfScoring: false,\n maxPointsEnabled: true,\n pointLabels: true,\n scales: [],\n standards: false,\n visibleToStudent: true,\n },\n configuration: {\n baseInputConfiguration: {\n h3: { disabled: true },\n audio: { disabled: false },\n video: { disabled: false },\n image: { disabled: false },\n textAlign: { disabled: true },\n showParagraphs: { disabled: false },\n separateParagraphs: { disabled: true },\n },\n expandedInput: {\n inputConfiguration: {\n math: { disabled: true },\n audio: { disabled: false },\n video: { disabled: false },\n image: { disabled: false },\n },\n },\n labelInput: {\n inputConfiguration: {\n math: { disabled: true },\n audio: { disabled: true },\n video: { disabled: true },\n image: { disabled: true },\n },\n },\n excludeZeroDialogBoxContent: {\n title: 'Exclude 0 (Zero) from Score Point Values.',\n text: `<div>\n You are about to exclude 0 from score point values.\n <br/>\n Some of the existing data has to be changed.\n <br/>\n Please choose if you want to:\n <ul>\n <li>\n shift Labels and Descriptions to the left\n </li>\n <li>\n remove 0 column with its Label and Description\n </li>\n </ul>\n </div>`,\n },\n includeZeroDialogBoxContent: {\n title: 'Include 0 (Zero) in Score Point Values.',\n text: `<div>\n You are about to include 0 in score point values.\n <br/>\n Some of the existing data has to be changed.\n <br/>\n Please choose if you want to:\n <ul>\n <li>\n shift Labels and Descriptions to the right\n </li>\n <li>\n add 0 column with empty Label and Descriptions\n </li>\n </ul>\n </div>`,\n },\n deleteScaleDialogBoxContent: {\n title: 'Delete Scale',\n text: 'Are you sure you want to delete this scale?',\n },\n maxPointsDialogBoxContent: {\n title: 'Decreasing Max Points.',\n text: ` You are about to decrease max score point value.\n <br/>\n All the Labels and Descriptions for scores above Max Point will be deleted.`,\n },\n settingsPanelDisabled: false,\n spellCheck: {\n label: 'Spellcheck',\n settings: false,\n enabled: true,\n },\n showExcludeZero: {\n settings: true,\n label: 'Exclude Zero',\n },\n showScorePointLabels: {\n settings: true,\n label: 'Show Score Point Labels',\n },\n showDescription: {\n settings: true,\n label: 'Show Description',\n },\n showVisibleToStudent: {\n settings: true,\n label: 'Visible to Student',\n },\n showHalfScoring: {\n settings: true,\n label: 'Half Scoring',\n },\n // commenting this in order to use the dynamic width if the width was not set by the client (PD-3203)\n // width: '900px',\n // these should not be set to true (should not be used) for now\n showStandards: {\n settings: false,\n label: 'Show Standards',\n },\n showLevelTagInput: {\n settings: false,\n label: 'Show Level Tag Input',\n enabled: false,\n },\n dragAndDrop: {\n settings: true,\n label: 'Enable Drag and Drop',\n enabled: false,\n },\n showMaxPoint: {\n settings: true,\n label: 'Show Max Points Dropdown',\n },\n addScale: {\n settings: true,\n label: 'Add Scale Available',\n },\n minNoOfTraits: 1,\n maxNoOfTraits: 10,\n minNoOfScales: 1,\n maxNoOfScales: 10,\n defaultTraitLabel: 'Trait',\n mathMlOptions: {\n mmlOutput: false,\n mmlEditing: false,\n },\n maxMaxPoints: 10,\n },\n};\n"],"mappings":";;;;;;iCAAe;EACbA,KAAK,EAAE;IACLC,eAAe,EAAE,IAAI;IACrBC,WAAW,EAAE,KAAK;IAClBC,WAAW,EAAE,KAAK;IAClBC,WAAW,EAAE,KAAK;IAClBC,gBAAgB,EAAE,IAAI;IACtBC,WAAW,EAAE,IAAI;IACjBC,MAAM,EAAE,EAAE;IACVC,SAAS,EAAE,KAAK;IAChBC,gBAAgB,EAAE;EACpB,CAAC;EACDC,aAAa,EAAE;IACbC,sBAAsB,EAAE;MACtBC,EAAE,EAAE;QAAEC,QAAQ,EAAE;MAAK,CAAC;MACtBC,KAAK,EAAE;QAAED,QAAQ,EAAE;MAAM,CAAC;MAC1BE,KAAK,EAAE;QAAEF,QAAQ,EAAE;MAA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