@pie-element/complex-rubric 7.1.2-next.19 → 7.1.2-next.20
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/browser/author/index.js +32 -32
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/delivery/index.js +2 -2
- package/dist/browser/{delivery-C3U5VeRp.js → delivery-euJAVSom.js} +37 -37
- package/dist/browser/{delivery-C3U5VeRp.js.map → delivery-euJAVSom.js.map} +1 -1
- package/dist/browser/editor-runtime/author/index.js +29 -29
- package/dist/browser/editor-runtime/delivery/index.js +2 -2
- package/dist/browser/editor-runtime/{delivery-CjDfcTky.js → delivery-b9lfDjH0.js} +37 -37
- package/dist/browser/editor-runtime/{delivery-CjDfcTky.js.map → delivery-b9lfDjH0.js.map} +1 -1
- package/dist/browser/editor-runtime/print/index.js +2 -2
- package/dist/browser/editor-runtime/{private-tags-BEr_G_dK.js → private-tags-DJ_LdKAa.js} +1125 -1092
- package/dist/browser/editor-runtime/{private-tags-BEr_G_dK.js.map → private-tags-DJ_LdKAa.js.map} +1 -1
- package/dist/browser/print/index.js +2 -2
- package/dist/browser/{private-tags-DDXEn9TF.js → private-tags-Cy-oEmuU.js} +1125 -1092
- package/dist/browser/{private-tags-DDXEn9TF.js.map → private-tags-Cy-oEmuU.js.map} +1 -1
- package/dist/index.iife.js +10 -10
- package/dist/private-tags.js +1 -1
- package/module/print.js +402 -369
- package/module/print.js.map +1 -1
- package/package.json +11 -7
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
})([["cb0f0518b022d739", (url) => "@font-face{font-family:Symbola;src:local(Symbola Regular),local(Symbola),url(\"" + url(() => new URL("../assets/Symbola-4c507403.woff2", import.meta.url)) + "\")format(\"woff2\")}.mq-editable-field{display:inline-block}.mq-editable-field .mq-cursor{z-index:1;border-left:1px solid #000;margin-left:-1px;padding:0;display:inline-block;position:relative}.mq-editable-field .mq-cursor.mq-blink{visibility:hidden}.mq-editable-field,.mq-math-mode .mq-editable-field{border:1px solid gray}.mq-editable-field.mq-focused,.mq-math-mode .mq-editable-field.mq-focused{border-color:#709ac0;border-radius:1px;box-shadow:0 0 1px 2px #8bd,inset 0 0 2px #6ae}.mq-math-mode .mq-editable-field{margin:1px}.mq-editable-field .mq-latex-command-input{color:inherit;border:1px solid gray;margin-left:2px;margin-right:1px;padding-right:1px;font-family:Courier New,monospace}.mq-editable-field .mq-latex-command-input.mq-empty{background:0 0}.mq-editable-field .mq-latex-command-input.mq-hasCursor{border-color:activeborder}.mq-editable-field.mq-empty:after,.mq-editable-field.mq-text-mode:after,.mq-math-mode .mq-empty:after,.mq-editable-field .mq-cursor:only-child:after,.mq-editable-field .mq-textarea+.mq-cursor:last-child:after{visibility:hidden;content:\"c\"}.mq-editable-field .mq-text-mode .mq-cursor:only-child:after{content:\"\"}.mq-editable-field.mq-text-mode{overflow:auto hidden}.mq-root-block,.mq-math-mode .mq-root-block{box-sizing:border-box;white-space:nowrap;vertical-align:middle;width:100%;padding:2px;display:inline-block;overflow:hidden}.mq-math-mode{font-variant:normal;font-size:115%;font-style:normal;font-weight:400;line-height:1;display:inline-block}.mq-math-mode .mq-non-leaf,.mq-math-mode .mq-scaled{display:inline-block}.mq-math-mode var,.mq-math-mode .mq-text-mode,.mq-math-mode .mq-nonSymbola{font-family:Times New Roman,Symbola,serif;line-height:.9}.mq-math-mode *{font-size:inherit;line-height:inherit;-webkit-user-select:none;user-select:none;box-sizing:border-box;border-color:#000;margin:0;padding:0}.mq-math-mode .mq-empty,.mq-math-mode.mq-empty{background:0 0}.mq-math-mode .mq-text-mode{white-space:pre;display:inline-block}.mq-math-mode .mq-text-mode.mq-hasCursor{min-width:1ex;margin:0 -.1em;padding:0 .1em;box-shadow:inset 0 .1em .2em #a9a9a9}.mq-math-mode .mq-font{font:1em Times New Roman,Symbola,serif}.mq-math-mode .mq-font *{font-family:inherit;font-style:inherit}.mq-math-mode b,.mq-math-mode b.mq-font{font-weight:bolder}.mq-math-mode var,.mq-math-mode i,.mq-math-mode i.mq-font{font-style:italic}.mq-math-mode var.mq-f{margin-left:.1em;margin-right:.2em}.mq-math-mode .mq-roman var.mq-f{margin:0}.mq-math-mode big{font-size:200%}.mq-math-mode .mq-int>big{vertical-align:-.16em;display:inline-block;transform:scaleX(.7)}.mq-math-mode .mq-int>.mq-supsub{vertical-align:-1.1em;padding-right:.2em;font-size:80%}.mq-math-mode .mq-int>.mq-supsub>.mq-sup>.mq-sup-inner{vertical-align:1.3em}.mq-math-mode .mq-int>.mq-supsub>.mq-sub{margin-left:-.35em}.mq-math-mode .mq-roman{font-style:normal}.mq-math-mode .mq-sans-serif{font-family:sans-serif,Symbola,serif}.mq-math-mode .mq-monospace{font-family:monospace,Symbola,serif}.mq-math-mode .mq-overleftrightarrow{margin-top:.35em;position:relative}.mq-math-mode .mq-overleftrightarrow .mq-overleftrightarrow-inner{text-align:center;border-top:.14em solid #4d4d4d;min-width:1em;margin:0 .1em;padding-top:.35em;display:inline-block;position:relative}.mq-math-mode .mq-overleftrightarrow .mq-overleftrightarrow-inner .mq-empty{min-width:1em;margin-top:.1em;display:inline-block}.mq-math-mode .mq-overleftrightarrow .mq-overleftrightarrow-inner .mq-overleftrightarrow-inner-right{text-align:right;font-family:LearnosityIconsRegular;font-size:.75em;line-height:1em;display:block;position:absolute;top:-.562em;right:-.4em}.mq-math-mode .mq-overleftrightarrow .mq-overleftrightarrow-inner .mq-overleftrightarrow-inner-left{text-align:left;font-family:LearnosityIconsRegular;font-size:.75em;line-height:1em;display:block;position:absolute;top:-.562em;left:-.4em}.mq-math-mode .mq-overline .mq-overline-inner{text-align:center;border-top:.14em solid #4d4d4d;margin-left:.1em;padding-top:.2em;padding-right:.1em;display:inline-block}.mq-math-mode .mq-overline .mq-overline-inner .mq-empty{min-width:1em;margin-top:.1em;display:inline-block}.mq-math-mode .mq-overline .mq-overline-inner .mq-overline-inner-right,.mq-math-mode .mq-overline .mq-overline-inner .mq-overline-inner-left{display:none}.mq-math-mode .mq-longdiv{padding-top:.2em}.mq-math-mode .mq-longdiv .mq-longdiv-curve-border{border-top-right-radius:100em;border-bottom-right-radius:100em;width:2px;max-width:2px;margin-right:-.12em;padding-top:.2em;font-size:1.4em;display:inline}.mq-math-mode .mq-longdiv .mq-longdiv-inner{text-align:center;border-top:1px solid gray;border-radius:0 0 0 10px;min-width:1em;margin-left:-.2em;margin-right:.15em;padding-top:.19em;padding-left:.44em;font-size:1em;display:inline}.mq-math-mode .mq-longdiv .mq-longdiv-inner .mq-empty{min-width:1.5em;display:inline-block}.mq-math-mode .mq-underline{border-bottom:1px solid #000;margin-bottom:1px}.mq-math-mode .mq-underline.mq-empty{min-width:1em}.mq-math-mode .mq-overarc{-moz-border-radius-topright:50% .3em;-moz-border-radius-topleft:50% .3em;border-top:1px solid #000;border-top-left-radius:50% .3em;border-top-right-radius:50% .3em;margin-top:1px;padding-top:.15em}.mq-math-mode .mq-overarrow{margin-top:.35em;position:relative}.mq-math-mode .mq-overarrow .mq-overarrow-inner{text-align:center;border-top:.14em solid #4d4d4d;min-width:1em;margin:0 .1em;padding-top:.35em;display:inline-block;position:relative}.mq-math-mode .mq-overarrow .mq-overarrow-inner .mq-empty{min-width:1em;margin-top:.1em;display:inline-block}.mq-math-mode .mq-overarrow .mq-overarrow-inner .mq-overarrow-inner-right{text-align:right;font-family:LearnosityIconsRegular;font-size:.75em;line-height:1em;display:block;position:absolute;top:-.562em;right:-.4em}.mq-math-mode .mq-overarrow .mq-overarrow-inner .mq-overarrow-inner-left{text-align:left;font-family:LearnosityIconsRegular;font-size:.75em;line-height:1em;display:none;position:absolute;top:-.562em;left:-.4em}.mq-math-mode .mq-overarrow.mq-arrow-left .mq-overarrow-inner .mq-overarrow-inner-right{display:none}.mq-math-mode .mq-overarrow.mq-arrow-left .mq-overarrow-inner .mq-overarrow-inner-left{display:block}.mq-math-mode .mq-overarrow.mq-arrow-both{vertical-align:text-bottom}.mq-math-mode .mq-overarrow.mq-arrow-both.mq-empty{min-height:1.23em}.mq-math-mode .mq-overarrow.mq-arrow-both.mq-empty:after{top:-.34em}.mq-math-mode .mq-overarrow.mq-arrow-both:before{filter:FlipH;-ms-filter:\"FlipH\";transform:scaleX(-1)}.mq-math-mode .mq-overarrow.mq-arrow-both:after{content:\"➤\";visibility:visible;text-align:right;font-size:.5em;line-height:0;display:block;position:relative;top:-2.3em}.mq-math-mode .mq-xarrow{text-align:center;vertical-align:.9em;padding:0 .2em;font-size:70%;position:relative}.mq-math-mode .mq-xarrow .mq-xarrow-over{border-bottom:1px solid #000;padding:.1em .1em .2em;display:block;position:relative}.mq-math-mode .mq-xarrow .mq-xarrow-under{float:left;margin-bottom:.2em;padding:0 .1em .2em;position:relative;top:.2em}.mq-math-mode .mq-xarrow .mq-xarrow-over:before{content:\"➤\";height:1em;font-size:.6em;display:block;position:absolute;bottom:-.62em;right:-.3em}.mq-math-mode .mq-xarrow.mq-arrow-left .mq-xarrow-over:before{filter:FlipH;-ms-filter:\"FlipH\";left:-.3em;right:auto;transform:scaleX(-1)}.mq-math-mode .mq-binary-operator{padding:0 .2em;display:inline-block}.mq-math-mode .mq-supsub{text-align:left;vertical-align:-.5em;font-size:90%}.mq-math-mode .mq-supsub.mq-sup-only{vertical-align:.5em}.mq-math-mode .mq-supsub.mq-sup-only .mq-sup{vertical-align:text-bottom;display:inline-block}.mq-math-mode .mq-supsub .mq-sup{display:block}.mq-math-mode .mq-supsub .mq-sub{float:left;display:block}.mq-math-mode .mq-supsub .mq-binary-operator{padding:0 .1em}.mq-math-mode .mq-supsub .mq-fraction{font-size:70%}.mq-math-mode sup.mq-nthroot{vertical-align:.8em;min-width:.5em;margin-left:.2em;margin-right:-.6em;font-size:80%}.mq-math-mode .mq-paren{vertical-align:top;transform-origin:50% .06em;padding:0 .1em}.mq-math-mode .mq-paren.mq-ghost{color:silver}.mq-math-mode .mq-paren+span{margin-top:.1em;margin-bottom:.1em}.mq-math-mode .mq-array{vertical-align:middle;text-align:center}.mq-math-mode .mq-array>span{display:block}.mq-math-mode .mq-operator-name{font-family:Symbola,Times New Roman,serif;font-style:normal;line-height:.9}.mq-math-mode var.mq-operator-name.mq-first{padding-left:.2em}.mq-math-mode var.mq-operator-name.mq-last,.mq-math-mode .mq-supsub.mq-after-operator-name{padding-right:.2em}.mq-math-mode .mq-fraction{text-align:center;vertical-align:-.4em;padding:0 .2em;font-size:90%}.mq-math-mode .mq-fraction,.mq-math-mode .mq-large-operator{display:-moz-groupbox}.mq-math-mode x:-moz-any-link{display:-moz-groupbox}.mq-math-mode .mq-fraction,.mq-math-mode .mq-large-operator,.mq-math-mode x:default{display:inline-block}.mq-math-mode x:-moz-any-link{display:inline-block}.mq-math-mode .mq-underset.mq-tilde-vector .mq-under{line-height:.6em}.mq-math-mode .mq-numerator,.mq-math-mode .mq-denominator,.mq-math-mode .mq-dot-recurring,.mq-math-mode .mq-over,.mq-math-mode .mq-under{display:block}.mq-math-mode .mq-numerator,.mq-math-mode .mq-over{margin-bottom:.2em;padding:0 .1em}.mq-math-mode .mq-denominator{float:right;border-top:1px solid;width:100%;padding:.3em .1em .1em}.mq-math-mode .mq-dot-recurring{text-align:center;height:.6em}.mq-math-mode .mq-overunder{text-align:center;position:relative;top:.01em}.mq-math-mode .mq-overunder .mq-font{font-family:inherit}.mq-math-mode .mq-overunder.mq-underset{vertical-align:text-top}.mq-math-mode .mq-overunder.mq-underset .mq-under,.mq-math-mode .mq-overunder.mq-overset .mq-over{font-size:.7em;display:block}.mq-math-mode .mq-sqrt-prefix{vertical-align:top;transform-origin:top;padding-top:0;position:relative;top:.1em}.mq-math-mode .mq-sqrt-stem{border-top:1px solid;margin-top:1px;margin-right:.1em;padding-top:1px;padding-left:.15em;padding-right:.2em}.mq-math-mode .mq-diacritic-above{text-align:center;line-height:.4em;display:block}.mq-math-mode .mq-diacritic-stem{text-align:center;display:block}.mq-math-mode .mq-hat-prefix{text-align:center;margin-bottom:-.7em;line-height:.95em;display:block;transform:scaleX(1.5)}.mq-math-mode .mq-hat-stem{display:block}.mq-math-mode .mq-large-operator{vertical-align:-.2em;text-align:center;vertical-align:middle;padding:.2em}.mq-math-mode .mq-large-operator .mq-from,.mq-math-mode .mq-large-operator big,.mq-math-mode .mq-large-operator .mq-to{display:block}.mq-math-mode .mq-large-operator .mq-from,.mq-math-mode .mq-large-operator .mq-to{font-size:80%}.mq-math-mode .mq-large-operator .mq-from{float:right;width:100%}.mq-math-mode .mq-lim{text-align:center}.mq-math-mode .mq-lim span{display:block}.mq-math-mode .mq-lim .mq-approaches{float:right;width:100%;font-size:80%}.mq-math-mode .mq-lim .mq-approaches span>span{display:inline}.mq-math-mode .mq-matrix{vertical-align:middle;margin-left:.1em;margin-right:.1em}.mq-math-mode .mq-matrix table{border-spacing:3px;border-collapse:separate;border-bottom:none;width:auto}.mq-math-mode .mq-matrix table.mq-rows-1{vertical-align:middle;margin-bottom:1px}.mq-math-mode .mq-matrix td{vertical-align:baseline;border:1px dotted #fff;width:auto;padding:.1em .3em}.mq-math-mode .mq-matrix td.mq-empty{border:1px dotted #000}.mq-math-mode .mq-abs{border-left:1px solid #000;border-right:1px solid #000;margin-left:.1em;margin-right:.1em;padding-left:.2em;padding-right:.2em}.mq-math-mode .mq-lrnplaceholder{margin-left:.05em;margin-right:.05em}.mq-math-mode .mq-parallelogram{margin-top:-.5em;line-height:1em;position:relative;overflow:hidden}.mq-math-mode .mq-parallelogram .mq-parallelogram-inner{font-size:2em;position:relative;top:.23em}.mq-math-mode,.mq-math-mode .mq-editable-field{cursor:text;font-family:Symbola,Times New Roman,serif}.mq-math-mode .mq-longdiv .mq-longdiv-curve-border,.mq-math-mode .mq-editable-field .mq-longdiv .mq-longdiv-curve-border{font-size:1.33em}.mq-overarrow{text-align:center;border-top:1px solid #000;min-width:.5em;margin-top:1px;padding-top:.2em}.mq-overarrow:before{content:\"➤\";text-align:right;font-size:.5em;line-height:0;display:block;position:relative;top:-.34em}.mq-overarrow.mq-arrow-left:before{filter:FlipH;-ms-filter:\"FlipH\";transform:scaleX(-1)}.mq-overarrow.mq-arrow-both{vertical-align:text-bottom}.mq-overarrow.mq-arrow-both.mq-empty{min-height:1.23em}.mq-overarrow.mq-arrow-both.mq-empty:after{top:-.34em}.mq-overarrow.mq-arrow-both:before{filter:FlipH;-ms-filter:\"FlipH\";transform:scaleX(-1)}.mq-overarrow.mq-arrow-both:after{content:\"➤\";visibility:visible;text-align:right;font-size:.5em;line-height:0;display:block;position:relative;top:-2.3em}.mq-math-mode .mq-selection,.mq-editable-field .mq-selection,.mq-math-mode .mq-selection .mq-non-leaf,.mq-editable-field .mq-selection .mq-non-leaf,.mq-math-mode .mq-selection .mq-scaled,.mq-editable-field .mq-selection .mq-scaled{color:highlighttext;border-color:highlighttext;background:highlight!important}.mq-math-mode .mq-selection .mq-matrixed,.mq-editable-field .mq-selection .mq-matrixed{background:#39f!important}.mq-math-mode .mq-selection .mq-matrixed-container,.mq-editable-field .mq-selection .mq-matrixed-container{filter:progid:DXImageTransform.Microsoft.Chroma(color=\"#3399FF\")!important}.mq-math-mode .mq-selection.mq-blur,.mq-editable-field .mq-selection.mq-blur,.mq-math-mode .mq-selection.mq-blur .mq-non-leaf,.mq-editable-field .mq-selection.mq-blur .mq-non-leaf,.mq-math-mode .mq-selection.mq-blur .mq-scaled,.mq-editable-field .mq-selection.mq-blur .mq-scaled,.mq-math-mode .mq-selection.mq-blur .mq-matrixed,.mq-editable-field .mq-selection.mq-blur .mq-matrixed{color:#000;border-color:#000;background:#d4d4d4!important}.mq-math-mode .mq-selection.mq-blur .mq-matrixed-container,.mq-editable-field .mq-selection.mq-blur .mq-matrixed-container{filter:progid:DXImageTransform.Microsoft.Chroma(color=\"#D4D4D4\")!important}.mq-editable-field .mq-textarea,.mq-math-mode .mq-textarea{-webkit-user-select:text;user-select:text;position:relative}.mq-editable-field .mq-textarea>textarea,.mq-math-mode .mq-textarea>textarea{opacity:0;overflow:hidden}.mq-editable-field .mq-textarea *,.mq-math-mode .mq-textarea *,.mq-editable-field .mq-selectable,.mq-math-mode .mq-selectable{-webkit-user-select:text;user-select:text;clip:rect(1em 1em 1em 1em);resize:none;box-sizing:content-box;width:1px;height:1px;position:absolute;transform:scale(0)}.mq-math-mode .mq-matrixed{background:#fff;display:inline-block}.mq-math-mode .mq-matrixed-container{filter:progid:DXImageTransform.Microsoft.Chroma(color=\"white\");margin-top:-.1em}.mq-math-mode .mq-matrix table{border-spacing:2px}button .mq-math-mode .mq-matrix table.mq-rows-2 td,button .mq-math-mode .mq-matrix table.mq-rows-3 td{width:.9em;font-size:.3em}button .mq-math-mode .mq-matrix table.mq-rows-2{margin-bottom:-2px}button .mq-math-mode .mq-matrix table.mq-rows-1{margin-bottom:3px}button .mq-math-mode .mq-matrix table.mq-rows-1 td{width:1.1em;margin-bottom:3px;font-size:.6em}button .mq-math-mode .mq-matrix .matrix-edit-content-row{text-align:center;vertical-align:middle;display:inline-block}button .mq-math-mode .mq-matrix .matrix-edit-content-row p{font-size:.7em}button .mq-math-mode .mq-matrix .matrix-edit-content-col{text-align:center;vertical-align:middle;display:inline-block}button .mq-math-mode .mq-matrix .matrix-edit-content-col p{padding:0 .15em;font-size:.7em}button .mq-math-mode .mq-matrix .mq-paren{padding:0;display:inline-block;transform:scale(1.13,1.77)}button .matrix-edit .mq-empty{width:.8em;margin:.1em;padding:.1em;font-size:.4em}\n"]]);
|
|
19
19
|
import { a as e, i as t, n, r, t as i } from "../rolldown-runtime-CHQKHQ89.js";
|
|
20
|
-
import { $ as a, A as o, At as s, B as c, C as l, Ct as u, D as d, Dt as f, E as p, Et as m, F as h, G as g, H as _, I as v, J as y, K as b, L as x, M as S, Mt as C, N as w, O as T, Ot as ee, P as E, Q as D, R as O, S as te, St as k, T as A, U as ne, V as re, W as ie, X as ae, Y as oe, Z as j, _ as se, _t as M, a as ce, at as le, c as ue, ct as de, d as fe, dt as N, et as pe, f as me, ft as he, g as ge, gt as _e, h as ve, ht as ye, it as be, j as xe, jt as Se, k as Ce, kt as we, l as Te, lt as Ee, m as De, mt as Oe, nt as ke, o as Ae, ot as je, p as Me, pt as Ne, q as Pe, r as Fe, rt as Ie, s as Le, st as Re, t as ze, u as Be, ut as Ve, v as He, vt as Ue, w as We, wt as Ge, x as Ke, xt as qe, y as Je, yt as Ye, z as Xe } from "../private-tags-
|
|
20
|
+
import { $ as a, A as o, At as s, B as c, C as l, Ct as u, D as d, Dt as f, E as p, Et as m, F as h, G as g, H as _, I as v, J as y, K as b, L as x, M as S, Mt as C, N as w, O as T, Ot as ee, P as E, Q as D, R as O, S as te, St as k, T as A, U as ne, V as re, W as ie, X as ae, Y as oe, Z as j, _ as se, _t as M, a as ce, at as le, c as ue, ct as de, d as fe, dt as N, et as pe, f as me, ft as he, g as ge, gt as _e, h as ve, ht as ye, it as be, j as xe, jt as Se, k as Ce, kt as we, l as Te, lt as Ee, m as De, mt as Oe, nt as ke, o as Ae, ot as je, p as Me, pt as Ne, q as Pe, r as Fe, rt as Ie, s as Le, st as Re, t as ze, u as Be, ut as Ve, v as He, vt as Ue, w as We, wt as Ge, x as Ke, xt as qe, y as Je, yt as Ye, z as Xe } from "../private-tags-DJ_LdKAa.js";
|
|
21
21
|
import * as P from "react";
|
|
22
22
|
import F, { Component as Ze, createContext as Qe, createElement as $e, createRef as et, forwardRef as tt, memo as nt, useCallback as rt, useContext as it, useDebugValue as at, useEffect as I, useLayoutEffect as ot, useMemo as st, useReducer as ct, useRef as L, useState as lt, version as ut } from "react";
|
|
23
23
|
import { Fragment as dt, jsx as R, jsxs as z } from "react/jsx-runtime";
|
|
@@ -10785,7 +10785,7 @@ function Uv({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
10785
10785
|
I(() => (document.addEventListener("click", u), () => {
|
|
10786
10786
|
document.removeEventListener("click", u);
|
|
10787
10787
|
}), []), I(() => {
|
|
10788
|
-
l.current && typeof
|
|
10788
|
+
l.current && typeof p == "function" && p(l.current);
|
|
10789
10789
|
}, [
|
|
10790
10790
|
a?.value,
|
|
10791
10791
|
r,
|
|
@@ -10799,7 +10799,7 @@ function Uv({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
10799
10799
|
});
|
|
10800
10800
|
} else !r && s && c(null);
|
|
10801
10801
|
}, [r, s]);
|
|
10802
|
-
let d = i && r ? i.value.value : a.value || "\xA0", f = n ? "\xA0" : d,
|
|
10802
|
+
let d = i && r ? i.value.value : a.value || "\xA0", f = n ? "\xA0" : d, m = f !== "\xA0", h = i && r, g = o ? `2px solid ${v.primaryDark()}` : h ? `1px solid ${v.defaults.BORDER_DARK}` : `1px solid ${v.defaults.BORDER_LIGHT}`;
|
|
10803
10803
|
return /* @__PURE__ */ z("div", {
|
|
10804
10804
|
ref: l,
|
|
10805
10805
|
className: o ? "selected" : void 0,
|
|
@@ -10807,8 +10807,8 @@ function Uv({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
10807
10807
|
display: "inline-flex",
|
|
10808
10808
|
minWidth: "178px",
|
|
10809
10809
|
minHeight: "36px",
|
|
10810
|
-
background:
|
|
10811
|
-
border:
|
|
10810
|
+
background: h ? `${v.defaults.BORDER_LIGHT}` : `${v.defaults.WHITE}`,
|
|
10811
|
+
border: g,
|
|
10812
10812
|
boxSizing: "border-box",
|
|
10813
10813
|
borderRadius: "3px",
|
|
10814
10814
|
overflow: "hidden",
|
|
@@ -10821,7 +10821,7 @@ function Uv({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
10821
10821
|
"data-key": e.index,
|
|
10822
10822
|
contentEditable: !1,
|
|
10823
10823
|
children: [
|
|
10824
|
-
|
|
10824
|
+
m && /* @__PURE__ */ R(ng, {
|
|
10825
10825
|
style: {
|
|
10826
10826
|
position: "absolute",
|
|
10827
10827
|
top: "6px",
|
|
@@ -10972,47 +10972,47 @@ qv.propTypes = {
|
|
|
10972
10972
|
//#endregion
|
|
10973
10973
|
//#region ../../lib-react/editable-html-tip-tap/dist/components/respArea/InlineDropdown.js
|
|
10974
10974
|
var Jv = (e) => {
|
|
10975
|
-
let { editor: t, node: n, getPos: r, options: i, selected: a } = e, { attrs: o } = n, { value: s, error: c } = o, l = s || "<div> </div>", u = r(), d = L(null), f = L(null),
|
|
10975
|
+
let { editor: t, node: n, getPos: r, options: i, selected: a } = e, { attrs: o } = n, { value: s, error: c } = o, l = s || "<div> </div>", u = r(), d = L(null), f = L(null), m = L(!1), h = L(null), g = () => t._holdInlineDropdownToolbarIndex != null && String(t._holdInlineDropdownToolbarIndex) === String(n.attrs.index), [_, v] = lt(!1), [y, b] = lt({
|
|
10976
10976
|
top: 0,
|
|
10977
10977
|
left: 0
|
|
10978
|
-
}),
|
|
10979
|
-
|
|
10980
|
-
},
|
|
10978
|
+
}), x = () => {
|
|
10979
|
+
g() || (v(!1), i.onInlineDropdownToolbarClose?.(t));
|
|
10980
|
+
}, S = i.respAreaToolbar([n, u], t, x), C = () => {
|
|
10981
10981
|
let { tr: e } = t.state, n = e.doc.nodeAt(u);
|
|
10982
10982
|
if (!n) return;
|
|
10983
10983
|
let { selection: r } = e;
|
|
10984
10984
|
r.from === u && r.to === u + n.nodeSize || (e.setSelection(Nt.create(e.doc, u)), t.view.dispatch(e));
|
|
10985
|
-
},
|
|
10986
|
-
|
|
10987
|
-
|
|
10985
|
+
}, w = () => {
|
|
10986
|
+
m.current || (i.onToolbarCloseRequest ? (m.current = !0, i.onToolbarCloseRequest([n, u], t, () => {
|
|
10987
|
+
m.current = !1, delete t._holdInlineDropdownToolbarIndex, x();
|
|
10988
10988
|
}, () => {
|
|
10989
|
-
|
|
10990
|
-
})) :
|
|
10989
|
+
m.current = !1, delete t._holdInlineDropdownToolbarIndex, v(!0), setTimeout(C, 0);
|
|
10990
|
+
})) : x());
|
|
10991
10991
|
};
|
|
10992
10992
|
I(() => {
|
|
10993
10993
|
let { selection: e } = t.state, r = e.from + n.nodeSize === e.to;
|
|
10994
|
-
a ? r &&
|
|
10994
|
+
a ? r && v(!0) : _ && w();
|
|
10995
10995
|
}, [
|
|
10996
10996
|
t,
|
|
10997
10997
|
n,
|
|
10998
10998
|
a
|
|
10999
10999
|
]);
|
|
11000
|
-
let
|
|
11000
|
+
let T = (e) => e.clientX > document.documentElement.clientWidth || e.clientY > document.documentElement.clientHeight || e.target === document.documentElement;
|
|
11001
11001
|
return I(() => {
|
|
11002
|
-
|
|
11002
|
+
h.current && typeof p == "function" && p(h.current);
|
|
11003
11003
|
}, [s]), I(() => {
|
|
11004
11004
|
let e = document.body.getBoundingClientRect(), { from: n } = t.state.selection, r = t.view.coordsAtPos(n);
|
|
11005
|
-
|
|
11005
|
+
b({
|
|
11006
11006
|
top: r.top + Math.abs(e.top) + 40,
|
|
11007
11007
|
left: r.left
|
|
11008
11008
|
});
|
|
11009
11009
|
let i = (e) => {
|
|
11010
|
-
if (
|
|
11010
|
+
if (T(e)) return;
|
|
11011
11011
|
let n = e.target.closest("[data-toolbar-for]");
|
|
11012
|
-
!e.target.closest("[data-inline-dropdown-toolbar]") && (!n || n.dataset.toolbarFor !== f.current?.instanceId) && !t._toolbarOpened && d.current && !d.current.contains(e.target) && !e.target.closest("[data-inline-node]") &&
|
|
11012
|
+
!e.target.closest("[data-inline-dropdown-toolbar]") && (!n || n.dataset.toolbarFor !== f.current?.instanceId) && !t._toolbarOpened && d.current && !d.current.contains(e.target) && !e.target.closest("[data-inline-node]") && w();
|
|
11013
11013
|
};
|
|
11014
|
-
return
|
|
11015
|
-
}, [
|
|
11014
|
+
return _ ? document.addEventListener("mousedown", i) : document.removeEventListener("mousedown", i), () => document.removeEventListener("mousedown", i);
|
|
11015
|
+
}, [_, n]), /* @__PURE__ */ z(Ch, {
|
|
11016
11016
|
className: "inline-dropdown",
|
|
11017
11017
|
"data-selected": a,
|
|
11018
11018
|
style: {
|
|
@@ -11021,7 +11021,7 @@ var Jv = (e) => {
|
|
|
11021
11021
|
cursor: "pointer"
|
|
11022
11022
|
},
|
|
11023
11023
|
children: [/* @__PURE__ */ z("div", {
|
|
11024
|
-
ref:
|
|
11024
|
+
ref: h,
|
|
11025
11025
|
style: {
|
|
11026
11026
|
display: "inline-flex",
|
|
11027
11027
|
minWidth: "178px",
|
|
@@ -11034,7 +11034,7 @@ var Jv = (e) => {
|
|
|
11034
11034
|
position: "relative",
|
|
11035
11035
|
alignItems: "center"
|
|
11036
11036
|
},
|
|
11037
|
-
onClick: () =>
|
|
11037
|
+
onClick: () => v(!0),
|
|
11038
11038
|
children: [/* @__PURE__ */ R("div", {
|
|
11039
11039
|
style: {
|
|
11040
11040
|
flex: 1,
|
|
@@ -11058,9 +11058,9 @@ var Jv = (e) => {
|
|
|
11058
11058
|
right: "5px"
|
|
11059
11059
|
}
|
|
11060
11060
|
})]
|
|
11061
|
-
}),
|
|
11061
|
+
}), _ && /* @__PURE__ */ z(F.Fragment, { children: [ft.createPortal(/* @__PURE__ */ R("div", {
|
|
11062
11062
|
ref: d,
|
|
11063
|
-
children: /* @__PURE__ */ R(
|
|
11063
|
+
children: /* @__PURE__ */ R(S, { editorCallback: (e) => {
|
|
11064
11064
|
f.current = e;
|
|
11065
11065
|
} })
|
|
11066
11066
|
}), t?._tiptapContainerEl || document.body), t._tiptapContainerEl && ft.createPortal(/* @__PURE__ */ R(Yp, {
|
|
@@ -11074,7 +11074,7 @@ var Jv = (e) => {
|
|
|
11074
11074
|
},
|
|
11075
11075
|
onDelete: () => {
|
|
11076
11076
|
let { tr: e } = t.state;
|
|
11077
|
-
e.delete(u, u + n.nodeSize), Xp(t, !1), delete t._holdInlineDropdownToolbarIndex, t.view.dispatch(e),
|
|
11077
|
+
e.delete(u, u + n.nodeSize), Xp(t, !1), delete t._holdInlineDropdownToolbarIndex, t.view.dispatch(e), v(!1), t.commands.focus();
|
|
11078
11078
|
},
|
|
11079
11079
|
showDone: !1
|
|
11080
11080
|
}), t._tiptapContainerEl)] })]
|
|
@@ -16234,7 +16234,7 @@ var xw = bw, { commonMqFontStyles: Sw, longdivStyles: Cw, supsubStyles: ww } = D
|
|
|
16234
16234
|
"data-latex": "",
|
|
16235
16235
|
"data-raw": e.latex
|
|
16236
16236
|
},
|
|
16237
|
-
|
|
16237
|
+
A(e.latex, e.wrapper)
|
|
16238
16238
|
];
|
|
16239
16239
|
},
|
|
16240
16240
|
addNodeView() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, i as t, n } from "../private-tags-
|
|
2
|
-
import { n as r, t as i } from "../delivery-
|
|
1
|
+
import { a as e, i as t, n } from "../private-tags-DJ_LdKAa.js";
|
|
2
|
+
import { n as r, t as i } from "../delivery-b9lfDjH0.js";
|
|
3
3
|
//#region src/delivery/index.ts
|
|
4
4
|
var a = t, o = n, s = class extends r {}, c = class extends i {};
|
|
5
5
|
customElements.get(a) || customElements.define(a, s), customElements.get(o) || customElements.define(o, c);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as e } from "./rolldown-runtime-CHQKHQ89.js";
|
|
2
|
-
import { Ct as t, D as n,
|
|
2
|
+
import { Ct as t, D as n, E as r, I as i, J as a, L as o, Ot as s, St as c, Tt as l, X as u, Y as d, _t as f, b as p, bt as m, c as h, dt as g, l as _, mt as v, o as y, ot as ee, s as te, st as ne, tt as b, w as re, wt as x } from "./private-tags-DJ_LdKAa.js";
|
|
3
3
|
import * as S from "react";
|
|
4
4
|
import C from "react";
|
|
5
5
|
import { jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
6
6
|
import { createRoot as E } from "react-dom/client";
|
|
7
7
|
//#region ../rubric/dist/delivery/main.js
|
|
8
|
-
var D = /* @__PURE__ */ e(
|
|
8
|
+
var D = /* @__PURE__ */ e(s(), 1);
|
|
9
9
|
function O(e) {
|
|
10
10
|
return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
|
|
11
11
|
}
|
|
@@ -13,8 +13,8 @@ function k(e, t) {
|
|
|
13
13
|
return !e || O(e) ? e : O(e.default) ? e.default : t && O(e[t]) ? e[t] : t && O(e[t]?.default) ? e[t].default : e;
|
|
14
14
|
}
|
|
15
15
|
var ie = k(p, "UiLayout") || k(ae.UiLayout, "UiLayout"), A = _, j = A.default, ae = j && typeof j == "object" ? j : A, oe = g(ie)({
|
|
16
|
-
color:
|
|
17
|
-
backgroundColor:
|
|
16
|
+
color: i.text(),
|
|
17
|
+
backgroundColor: i.background(),
|
|
18
18
|
"&:not(.MathJax) table": { borderCollapse: "collapse" },
|
|
19
19
|
"&:not(.MathJax) table td, &:not(.MathJax) table th": {
|
|
20
20
|
padding: "8px 12px",
|
|
@@ -30,14 +30,14 @@ var ie = k(p, "UiLayout") || k(ae.UiLayout, "UiLayout"), A = _, j = A.default, a
|
|
|
30
30
|
flexDirection: "column",
|
|
31
31
|
alignItems: "flex-start",
|
|
32
32
|
padding: "12px 0px"
|
|
33
|
-
}), N = g("div")({ color:
|
|
34
|
-
color:
|
|
33
|
+
}), N = g("div")({ color: i.text() }), se = g("h3")({
|
|
34
|
+
color: i.text(),
|
|
35
35
|
fontSize: "16px",
|
|
36
36
|
fontWeight: "700",
|
|
37
37
|
margin: 0,
|
|
38
38
|
paddingBottom: "6px"
|
|
39
39
|
}), ce = g("h4")({
|
|
40
|
-
color:
|
|
40
|
+
color: i.text(),
|
|
41
41
|
fontSize: "16px",
|
|
42
42
|
fontWeight: "normal",
|
|
43
43
|
margin: 0,
|
|
@@ -49,7 +49,7 @@ var ie = k(p, "UiLayout") || k(ae.UiLayout, "UiLayout"), A = _, j = A.default, a
|
|
|
49
49
|
userSelect: "none",
|
|
50
50
|
fontSize: e.typography.fontSize,
|
|
51
51
|
fontWeight: "500",
|
|
52
|
-
color:
|
|
52
|
+
color: i.tertiary(),
|
|
53
53
|
margin: 0
|
|
54
54
|
})), ue = g("span")({
|
|
55
55
|
display: "inline-flex",
|
|
@@ -91,12 +91,12 @@ var ie = k(p, "UiLayout") || k(ae.UiLayout, "UiLayout"), A = _, j = A.default, a
|
|
|
91
91
|
render() {
|
|
92
92
|
let { model: e, value: t } = this.props, { animationsDisabled: n } = this.props;
|
|
93
93
|
if (n ||= t.animationsDisabled, t && t.points) {
|
|
94
|
-
let { extraCSSRules: r } = e || {}, { points: i, sampleAnswers:
|
|
94
|
+
let { extraCSSRules: r } = e || {}, { points: i, sampleAnswers: a } = t, s = /* @__PURE__ */ w(d, {
|
|
95
95
|
component: "nav",
|
|
96
96
|
children: i.slice(0).reverse().map((e, n) => {
|
|
97
97
|
n = i.length - n - 1;
|
|
98
98
|
let r = t.excludeZero ? n + 1 : n;
|
|
99
|
-
return /* @__PURE__ */ T(C.Fragment, { children: [/* @__PURE__ */ T(M, { children: [/* @__PURE__ */ w(se, { children: r === 1 ? `${r} PT` : `${r} PTS` }), /* @__PURE__ */ w(N, { dangerouslySetInnerHTML: { __html: e } })] }, `P${n}`),
|
|
99
|
+
return /* @__PURE__ */ T(C.Fragment, { children: [/* @__PURE__ */ T(M, { children: [/* @__PURE__ */ w(se, { children: r === 1 ? `${r} PT` : `${r} PTS` }), /* @__PURE__ */ w(N, { dangerouslySetInnerHTML: { __html: e } })] }, `P${n}`), a && a[n] && /* @__PURE__ */ T(M, { children: [/* @__PURE__ */ w(ce, { children: "Sample Answer" }), /* @__PURE__ */ w(N, { dangerouslySetInnerHTML: { __html: a[n] } })] }, `S${n}`)] }, n);
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
return /* @__PURE__ */ T(oe, {
|
|
@@ -138,7 +138,7 @@ var ie = k(p, "UiLayout") || k(ae.UiLayout, "UiLayout"), A = _, j = A.default, a
|
|
|
138
138
|
})
|
|
139
139
|
})
|
|
140
140
|
]
|
|
141
|
-
}), /* @__PURE__ */ w(
|
|
141
|
+
}), /* @__PURE__ */ w(o, {
|
|
142
142
|
in: this.state.rubricOpen,
|
|
143
143
|
timeout: {
|
|
144
144
|
enter: 225,
|
|
@@ -155,7 +155,7 @@ var ie = k(p, "UiLayout") || k(ae.UiLayout, "UiLayout"), A = _, j = A.default, a
|
|
|
155
155
|
}
|
|
156
156
|
_scheduleMathRender = () => {
|
|
157
157
|
this._mathRenderPending || (this._mathRenderPending = !0, requestAnimationFrame(() => {
|
|
158
|
-
this._mathObserver && this._mathObserver.disconnect(),
|
|
158
|
+
this._mathObserver && this._mathObserver.disconnect(), r(this), this._mathRenderPending = !1, setTimeout(() => {
|
|
159
159
|
this._mathObserver && this._mathObserver.observe(this, {
|
|
160
160
|
childList: !0,
|
|
161
161
|
subtree: !0
|
|
@@ -192,10 +192,10 @@ var ie = k(p, "UiLayout") || k(ae.UiLayout, "UiLayout"), A = _, j = A.default, a
|
|
|
192
192
|
this._disconnectMathObserver(), this._root && this._root.unmount();
|
|
193
193
|
}
|
|
194
194
|
}, z = g("td")({
|
|
195
|
-
color:
|
|
195
|
+
color: i.primaryDark(),
|
|
196
196
|
verticalAlign: "middle"
|
|
197
197
|
}), B = g("div")({
|
|
198
|
-
color:
|
|
198
|
+
color: i.secondaryBackground(),
|
|
199
199
|
textAlign: "center"
|
|
200
200
|
}), V = (e) => {
|
|
201
201
|
let { trait: t, traitIndex: n, scaleIndex: r, showStandards: i, showDescription: a, scorePointsValues: o } = e, { name: s, standards: c, scorePointsDescriptors: l, description: u } = t || {};
|
|
@@ -239,7 +239,7 @@ var H = g("div")({
|
|
|
239
239
|
borderSpacing: 0,
|
|
240
240
|
marginBottom: e.spacing(2),
|
|
241
241
|
borderRadius: "4px",
|
|
242
|
-
color:
|
|
242
|
+
color: i.text(),
|
|
243
243
|
fontSize: e.typography.fontSize,
|
|
244
244
|
lineHeight: "16px",
|
|
245
245
|
overflow: "unset",
|
|
@@ -250,7 +250,7 @@ var H = g("div")({
|
|
|
250
250
|
"& th": {
|
|
251
251
|
padding: e.spacing(2),
|
|
252
252
|
textAlign: "left",
|
|
253
|
-
backgroundColor:
|
|
253
|
+
backgroundColor: i.secondaryBackground(),
|
|
254
254
|
verticalAlign: "bottom"
|
|
255
255
|
},
|
|
256
256
|
"& th div": { width: "200px" },
|
|
@@ -305,7 +305,7 @@ var G = class extends C.Component {
|
|
|
305
305
|
});
|
|
306
306
|
};
|
|
307
307
|
render() {
|
|
308
|
-
let { showRight: e, showLeft: t } = this.state, { scale: n, scaleIndex:
|
|
308
|
+
let { showRight: e, showLeft: t } = this.state, { scale: n, scaleIndex: r, showDescription: a, showPointsLabels: o, showStandards: s, arrowsDisabled: c } = this.props, { excludeZero: l, maxPoints: u, traitLabel: d, traits: f, scorePointsLabels: p } = n || {}, m = [], g, _, v;
|
|
309
309
|
try {
|
|
310
310
|
for (let e = u; +(e >= l); --e) m.push(e);
|
|
311
311
|
let { traitStandards: e, traitDescriptions: t } = f.reduce((e, t) => ({
|
|
@@ -325,7 +325,7 @@ var G = class extends C.Component {
|
|
|
325
325
|
onClick: this.scrollLeft,
|
|
326
326
|
extraStyles: {
|
|
327
327
|
left: 0,
|
|
328
|
-
background: `linear-gradient(to right, white, ${
|
|
328
|
+
background: `linear-gradient(to right, white, ${i.background()})`
|
|
329
329
|
},
|
|
330
330
|
children: /* @__PURE__ */ w(h, {})
|
|
331
331
|
}),
|
|
@@ -357,17 +357,17 @@ var G = class extends C.Component {
|
|
|
357
357
|
traitIndex: t,
|
|
358
358
|
showDescription: !!g,
|
|
359
359
|
showStandards: !!v,
|
|
360
|
-
scaleIndex:
|
|
360
|
+
scaleIndex: r,
|
|
361
361
|
scorePointsValues: m,
|
|
362
362
|
excludeZero: l
|
|
363
|
-
}, `trait_${
|
|
363
|
+
}, `trait_${r}_${t}`)) })] }, `scale-${r}`)]
|
|
364
364
|
}),
|
|
365
365
|
/* @__PURE__ */ w(W, {
|
|
366
366
|
show: e && !c,
|
|
367
367
|
onClick: this.scrollRight,
|
|
368
368
|
extraStyles: {
|
|
369
369
|
right: 0,
|
|
370
|
-
background: `linear-gradient(to left, white, ${
|
|
370
|
+
background: `linear-gradient(to left, white, ${i.background()})`
|
|
371
371
|
},
|
|
372
372
|
children: /* @__PURE__ */ w(te, {})
|
|
373
373
|
})
|
|
@@ -398,7 +398,7 @@ G.propTypes = {
|
|
|
398
398
|
function he(e) {
|
|
399
399
|
return t("MuiLink", e);
|
|
400
400
|
}
|
|
401
|
-
var ge =
|
|
401
|
+
var ge = c("MuiLink", [
|
|
402
402
|
"root",
|
|
403
403
|
"underlineNone",
|
|
404
404
|
"underlineHover",
|
|
@@ -424,10 +424,10 @@ var ge = s("MuiLink", [
|
|
|
424
424
|
textSecondary: !0,
|
|
425
425
|
textDisabled: !0
|
|
426
426
|
}, q = (e) => {
|
|
427
|
-
let { classes: t, component: n, focusVisible: r, underline:
|
|
427
|
+
let { classes: t, component: n, focusVisible: r, underline: i } = e;
|
|
428
428
|
return f({ root: [
|
|
429
429
|
"root",
|
|
430
|
-
`underline${i
|
|
430
|
+
`underline${a(i)}`,
|
|
431
431
|
n === "button" && "button",
|
|
432
432
|
r && "focusVisible"
|
|
433
433
|
] }, he, t);
|
|
@@ -438,7 +438,7 @@ var ge = s("MuiLink", [
|
|
|
438
438
|
let { ownerState: n } = e;
|
|
439
439
|
return [
|
|
440
440
|
t.root,
|
|
441
|
-
t[`underline${
|
|
441
|
+
t[`underline${a(n.underline)}`],
|
|
442
442
|
n.component === "button" && t.button
|
|
443
443
|
];
|
|
444
444
|
}
|
|
@@ -573,19 +573,19 @@ var X = Y(p, "UiLayout") || Y(be.UiLayout, "UiLayout"), Z = _, Q = Z.default, be
|
|
|
573
573
|
this.setState({ rubricOpen: !this.state.rubricOpen }), this.setState({ linkPrefix: this.state.rubricOpen ? "Show" : "Hide" });
|
|
574
574
|
}
|
|
575
575
|
render() {
|
|
576
|
-
let { model: e } = this.props, { animationsDisabled: t } = this.props, { extraCSSRules: n, halfScoring:
|
|
577
|
-
if (t ||= e.animationsDisabled, !
|
|
576
|
+
let { model: e } = this.props, { animationsDisabled: t } = this.props, { extraCSSRules: n, halfScoring: r, scales: a, visible: s, pointLabels: c, description: l, standards: u, arrowsDisabled: d } = e || {};
|
|
577
|
+
if (t ||= e.animationsDisabled, !a || !s) return null;
|
|
578
578
|
let f = /* @__PURE__ */ T(X, {
|
|
579
579
|
extraCSSRules: n,
|
|
580
580
|
style: {
|
|
581
581
|
fontFamily: "Cerebri Sans",
|
|
582
|
-
color:
|
|
583
|
-
backgroundColor:
|
|
582
|
+
color: i.text(),
|
|
583
|
+
backgroundColor: i.background()
|
|
584
584
|
},
|
|
585
|
-
children: [
|
|
585
|
+
children: [r ? /* @__PURE__ */ w("div", {
|
|
586
586
|
style: { marginBottom: "16px" },
|
|
587
587
|
children: "* Half-point or in-between scores are permitted under this rubric."
|
|
588
|
-
}) : null,
|
|
588
|
+
}) : null, a.map((e, t) => /* @__PURE__ */ w(G, {
|
|
589
589
|
scale: e,
|
|
590
590
|
scaleIndex: t,
|
|
591
591
|
showPointsLabels: c,
|
|
@@ -597,15 +597,15 @@ var X = Y(p, "UiLayout") || Y(be.UiLayout, "UiLayout"), Z = _, Q = Z.default, be
|
|
|
597
597
|
return t ? f : /* @__PURE__ */ T(X, {
|
|
598
598
|
extraCSSRules: n,
|
|
599
599
|
style: {
|
|
600
|
-
color:
|
|
601
|
-
backgroundColor:
|
|
600
|
+
color: i.text(),
|
|
601
|
+
backgroundColor: i.background()
|
|
602
602
|
},
|
|
603
603
|
children: [/* @__PURE__ */ T(ye, {
|
|
604
|
-
style: { backgroundColor:
|
|
604
|
+
style: { backgroundColor: i.background() },
|
|
605
605
|
href: this.dudUrl,
|
|
606
606
|
onClick: this.toggleRubric,
|
|
607
607
|
children: [this.state.linkPrefix, " Rubric"]
|
|
608
|
-
}), /* @__PURE__ */ w(
|
|
608
|
+
}), /* @__PURE__ */ w(o, {
|
|
609
609
|
style: { marginTop: "16px" },
|
|
610
610
|
in: this.state.rubricOpen,
|
|
611
611
|
timeout: {
|
|
@@ -681,7 +681,7 @@ var Se = class extends HTMLElement {
|
|
|
681
681
|
}
|
|
682
682
|
_scheduleMathRender = () => {
|
|
683
683
|
this._mathRenderPending || (this._mathRenderPending = !0, requestAnimationFrame(() => {
|
|
684
|
-
this._mathObserver && this._mathObserver.disconnect(),
|
|
684
|
+
this._mathObserver && this._mathObserver.disconnect(), r(this), this._mathRenderPending = !1, setTimeout(() => {
|
|
685
685
|
this._mathObserver && this._mathObserver.observe(this, {
|
|
686
686
|
childList: !0,
|
|
687
687
|
subtree: !0
|
|
@@ -725,4 +725,4 @@ var Se = class extends HTMLElement {
|
|
|
725
725
|
//#endregion
|
|
726
726
|
export { R as n, Se as t };
|
|
727
727
|
|
|
728
|
-
//# sourceMappingURL=delivery-
|
|
728
|
+
//# sourceMappingURL=delivery-b9lfDjH0.js.map
|