@pie-element/rubric 9.0.6-next.20261018193205 → 9.0.6
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 +2 -2
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/delivery/index.js +3 -3
- package/dist/browser/{dist-Cb6nuX_d.js → dist-DIt1Snpe.js} +55 -55
- package/dist/browser/{dist-Cb6nuX_d.js.map → dist-DIt1Snpe.js.map} +1 -1
- package/dist/browser/editor-runtime/author/index.js +2 -2
- package/dist/browser/editor-runtime/controller/index.js +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +3 -3
- package/dist/browser/editor-runtime/{dist-B1Xo8YGr.js → dist-CIoF5G7I.js} +55 -55
- package/dist/browser/editor-runtime/{dist-B1Xo8YGr.js.map → dist-CIoF5G7I.js.map} +1 -1
- package/dist/browser/editor-runtime/{main-B1Oc5z4O.js → main-Dx-NcD-i.js} +2 -2
- package/dist/browser/editor-runtime/{main-B1Oc5z4O.js.map → main-Dx-NcD-i.js.map} +1 -1
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-BymmkoDr.js → mathjax-DqXi3q4c-iuQQkXxN.js} +3 -3
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-BymmkoDr.js.map → mathjax-DqXi3q4c-iuQQkXxN.js.map} +1 -1
- package/dist/browser/editor-runtime/print/index.js +3 -3
- package/dist/browser/{main-DDRVgQCX.js → main-D3_wHuYC.js} +2 -2
- package/dist/browser/{main-DDRVgQCX.js.map → main-D3_wHuYC.js.map} +1 -1
- package/dist/browser/{mathjax-CptWnMbQ-ncPHVakS.js → mathjax-DqXi3q4c-BZrO4NBZ.js} +3 -3
- package/dist/browser/{mathjax-CptWnMbQ-ncPHVakS.js.map → mathjax-DqXi3q4c-BZrO4NBZ.js.map} +1 -1
- package/dist/browser/print/index.js +3 -3
- package/dist/index.iife.js +1 -1
- package/dist/schemas/configuration.schema.json +1 -1
- package/dist/schemas/model.schema.json +1 -1
- package/dist/schemas/session.schema.json +1 -1
- package/module/print.js +31 -31
- package/module/print.js.map +1 -1
- package/package.json +11 -11
|
@@ -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 { d as e, m as t, p as n } from "../speech-worker-CTpOB9m5-BIgcSm3A.js";
|
|
20
|
-
import { $ as r, A as i, B as a, C as o, Ct as s, D as c, Dt as l, E as u, Et as d, F as f, G as p, H as m, I as h, J as g, K as _, L as v, M as y, N as b, O as x, Ot as S, P as C, Q as w, R as ee, S as T, St as te, T as E, Tt as ne, U as re, V as ie, W as D, X as ae, Y as oe, Z as se, _ as ce, _t as le, a as ue, at as O, b as de, bt as fe, c as pe, ct as me, d as he, dt as ge, et as _e, f as ve, ft as k, g as ye, gt as be, h as xe, ht as Se, i as Ce, it as we, k as Te, kt as Ee, l as De, lt as Oe, m as ke, mt as Ae, n as je, nt as Me, o as Ne, ot as Pe, pt as Fe, q as Ie, r as Le, rt as Re, s as ze, st as Be, t as Ve, tt as He, u as Ue, ut as We, v as Ge, vt as Ke, w as qe, wt as Je, x as Ye, xt as Xe, y as Ze, yt as Qe, z as $e } from "../dist-
|
|
20
|
+
import { $ as r, A as i, B as a, C as o, Ct as s, D as c, Dt as l, E as u, Et as d, F as f, G as p, H as m, I as h, J as g, K as _, L as v, M as y, N as b, O as x, Ot as S, P as C, Q as w, R as ee, S as T, St as te, T as E, Tt as ne, U as re, V as ie, W as D, X as ae, Y as oe, Z as se, _ as ce, _t as le, a as ue, at as O, b as de, bt as fe, c as pe, ct as me, d as he, dt as ge, et as _e, f as ve, ft as k, g as ye, gt as be, h as xe, ht as Se, i as Ce, it as we, k as Te, kt as Ee, l as De, lt as Oe, m as ke, mt as Ae, n as je, nt as Me, o as Ne, ot as Pe, pt as Fe, q as Ie, r as Le, rt as Re, s as ze, st as Be, t as Ve, tt as He, u as Ue, ut as We, v as Ge, vt as Ke, w as qe, wt as Je, x as Ye, xt as Xe, y as Ze, yt as Qe, z as $e } from "../dist-DIt1Snpe.js";
|
|
21
21
|
import { a as et, c as tt, d as nt, f as rt, i as it, l as at, n as ot, o as st, p as ct, r as lt, s as ut, t as dt, u as ft } from "../dist-nY_63J99.js";
|
|
22
22
|
import * as A from "react";
|
|
23
23
|
import j, { Component as pt, createContext as mt, createElement as ht, createRef as gt, forwardRef as _t, memo as vt, useCallback as yt, useContext as bt, useDebugValue as xt, useEffect as St, useId as Ct, useLayoutEffect as wt, useMemo as Tt, useRef as M, useState as Et, version as Dt } from "react";
|
|
@@ -40382,7 +40382,7 @@ var { Panel: $$, toggle: e1 } = _$, t1 = O("div")(({ theme: e, width: t }) => ({
|
|
|
40382
40382
|
}
|
|
40383
40383
|
}, s1 = Object.freeze({
|
|
40384
40384
|
name: "@pie-element/rubric",
|
|
40385
|
-
version: "9.0.6
|
|
40385
|
+
version: "9.0.6"
|
|
40386
40386
|
});
|
|
40387
40387
|
//#endregion
|
|
40388
40388
|
export { o1 as default, s1 as piePackage };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { m as e } from "../speech-worker-CTpOB9m5-BIgcSm3A.js";
|
|
2
|
-
import { S as t, v as n } from "../dist-
|
|
3
|
-
import { t as r } from "../main-
|
|
2
|
+
import { S as t, v as n } from "../dist-DIt1Snpe.js";
|
|
3
|
+
import { t as r } from "../main-D3_wHuYC.js";
|
|
4
4
|
import i from "react";
|
|
5
5
|
import { createRoot as a } from "react-dom/client";
|
|
6
6
|
//#region src/delivery/index.ts
|
|
@@ -48,7 +48,7 @@ var o = /* @__PURE__ */ e(t(), 1), s = class extends HTMLElement {
|
|
|
48
48
|
}
|
|
49
49
|
}, c = Object.freeze({
|
|
50
50
|
name: "@pie-element/rubric",
|
|
51
|
-
version: "9.0.6
|
|
51
|
+
version: "9.0.6"
|
|
52
52
|
});
|
|
53
53
|
//#endregion
|
|
54
54
|
export { s as default, c as piePackage };
|
|
@@ -8659,7 +8659,7 @@ var Cm = Sm({
|
|
|
8659
8659
|
function Tm() {
|
|
8660
8660
|
return wm;
|
|
8661
8661
|
}
|
|
8662
|
-
var Em = import("./mathjax-
|
|
8662
|
+
var Em = import("./mathjax-DqXi3q4c-BZrO4NBZ.js");
|
|
8663
8663
|
Em.catch(() => {});
|
|
8664
8664
|
async function Dm(e, t) {
|
|
8665
8665
|
let { createMathJax: n } = await Em;
|
|
@@ -9358,25 +9358,7 @@ function cg(e) {
|
|
|
9358
9358
|
function lg(e) {
|
|
9359
9359
|
for (let t of e.querySelectorAll("mjx-container")) cg(t);
|
|
9360
9360
|
}
|
|
9361
|
-
var ug =
|
|
9362
|
-
function pg(e, t) {
|
|
9363
|
-
if (typeof window > "u") return;
|
|
9364
|
-
let n = globalThis;
|
|
9365
|
-
n[fg] ??= {
|
|
9366
|
-
logged: !1,
|
|
9367
|
-
conditions: []
|
|
9368
|
-
};
|
|
9369
|
-
let r = n[fg];
|
|
9370
|
-
if (r.conditions.includes(e)) return;
|
|
9371
|
-
r.conditions.push(e);
|
|
9372
|
-
let i = `[math-rendering] Unsupported page (${e}): ${t}. PIE supports one MathJax major version per page; with MathJax 3 and 4 on one page, math rendering is best effort and may break. See ${ug}`;
|
|
9373
|
-
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(dg, { detail: {
|
|
9374
|
-
condition: e,
|
|
9375
|
-
message: i,
|
|
9376
|
-
docsUrl: ug
|
|
9377
|
-
} }));
|
|
9378
|
-
}
|
|
9379
|
-
var mg = {
|
|
9361
|
+
var ug = {
|
|
9380
9362
|
parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
|
|
9381
9363
|
overarc: "\\overparen",
|
|
9382
9364
|
napprox: "\\not\\approx",
|
|
@@ -9384,36 +9366,54 @@ var mg = {
|
|
|
9384
9366
|
abs: ["\\left|#1\\right|", 1],
|
|
9385
9367
|
perpendicular: "\\perp",
|
|
9386
9368
|
divide: "\\div"
|
|
9387
|
-
},
|
|
9369
|
+
}, dg = /\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/, fg = /\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/, pg = /\\embed\{newLine\}\[\]/g, mg = [
|
|
9388
9370
|
["$$", "$$"],
|
|
9389
9371
|
["$", "$"],
|
|
9390
9372
|
["\\[", "\\]"],
|
|
9391
9373
|
["\\(", "\\)"]
|
|
9392
|
-
]
|
|
9374
|
+
];
|
|
9375
|
+
function hg(e) {
|
|
9376
|
+
for (let [t, n] of mg) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
9377
|
+
return e;
|
|
9378
|
+
}
|
|
9379
|
+
function gg(e) {
|
|
9380
|
+
return `\\(${hg(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e)}\\)`.replace(pg, "\\newline ");
|
|
9381
|
+
}
|
|
9382
|
+
var _g = "mathjax_ignore", vg = "mathjax_process", yg = "https://github.com/pie-framework/pie-players/blob/develop/docs/item-player/loading-strategies.md#one-mathjax-version-per-page", bg = "pie-mathjax-version-conflict", xg = Symbol.for("@pie-element/shared-math-rendering-mathjax/unsupported-page");
|
|
9383
|
+
function Sg(e, t) {
|
|
9384
|
+
if (typeof window > "u") return;
|
|
9385
|
+
let n = globalThis;
|
|
9386
|
+
n[xg] ??= {
|
|
9387
|
+
logged: !1,
|
|
9388
|
+
conditions: []
|
|
9389
|
+
};
|
|
9390
|
+
let r = n[xg];
|
|
9391
|
+
if (r.conditions.includes(e)) return;
|
|
9392
|
+
r.conditions.push(e);
|
|
9393
|
+
let i = `[math-rendering] Unsupported page (${e}): ${t}. PIE supports one MathJax major version per page; with MathJax 3 and 4 on one page, math rendering is best effort and may break. See ${yg}`;
|
|
9394
|
+
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(bg, { detail: {
|
|
9395
|
+
condition: e,
|
|
9396
|
+
message: i,
|
|
9397
|
+
docsUrl: yg
|
|
9398
|
+
} }));
|
|
9399
|
+
}
|
|
9400
|
+
var Cg = "[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)", wg = Symbol.for("@pie-element/shared-math-rendering-mathjax/loading"), Tg = "MJX-CHTML-styles", Eg = "PIE-MJX-SVG-styles", Dg = "PIE-MathJax-Menu-Settings", Og = { "mjx-container[overflow=\"linebreak\"][display]": {
|
|
9393
9401
|
overflow: "auto clip",
|
|
9394
9402
|
"min-width": "initial !important"
|
|
9395
|
-
} },
|
|
9396
|
-
function
|
|
9403
|
+
} }, kg = 200, Ag = 201, jg = 202;
|
|
9404
|
+
function Mg(e) {
|
|
9397
9405
|
let t = [...e.matches("mjx-container") ? [e] : [], ...e.querySelectorAll("mjx-container")];
|
|
9398
9406
|
for (let e of t) for (let t of [e, ...e.querySelectorAll("[data-latex],[data-latex-item]")]) t.removeAttribute("data-latex"), t.removeAttribute("data-latex-item");
|
|
9399
9407
|
}
|
|
9400
|
-
function kg(e) {
|
|
9401
|
-
for (let [t, n] of yg) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
9402
|
-
return e;
|
|
9403
|
-
}
|
|
9404
|
-
function Ag(e) {
|
|
9405
|
-
return kg(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e);
|
|
9406
|
-
}
|
|
9407
|
-
var jg = "mathjax_ignore", Mg = "mathjax_process";
|
|
9408
9408
|
function Ng(e, t) {
|
|
9409
|
-
let n = e.closest(`.${
|
|
9410
|
-
return n !== null && t.contains(n) && !n.classList.contains(
|
|
9409
|
+
let n = e.closest(`.${_g}, .${vg}`);
|
|
9410
|
+
return n !== null && t.contains(n) && !n.classList.contains("mathjax_process");
|
|
9411
9411
|
}
|
|
9412
9412
|
function Pg(e) {
|
|
9413
9413
|
for (let t of e.querySelectorAll("[data-latex]")) {
|
|
9414
9414
|
if (t.dataset.mathHandled || t.closest("mjx-container") || Ng(t, e)) continue;
|
|
9415
9415
|
let n = t.textContent;
|
|
9416
|
-
n && (t.textContent =
|
|
9416
|
+
n && (t.textContent = gg(n), t.dataset.mathHandled = "true");
|
|
9417
9417
|
}
|
|
9418
9418
|
}
|
|
9419
9419
|
function Fg(e) {
|
|
@@ -9421,7 +9421,7 @@ function Fg(e) {
|
|
|
9421
9421
|
}
|
|
9422
9422
|
function Ig(e, t) {
|
|
9423
9423
|
for (let t of e.querySelectorAll("math")) if (!t.closest("mjx-assistive-mml")) return !0;
|
|
9424
|
-
return (t ?
|
|
9424
|
+
return (t ? fg : dg).test(e.textContent ?? "");
|
|
9425
9425
|
}
|
|
9426
9426
|
function Lg(t) {
|
|
9427
9427
|
return new Promise((n, i) => {
|
|
@@ -9438,10 +9438,10 @@ function Lg(t) {
|
|
|
9438
9438
|
typeset: !1,
|
|
9439
9439
|
ready: () => {
|
|
9440
9440
|
let t = Tm(), r = t?.startup, a = Rg(t);
|
|
9441
|
-
a && (zg(t), Bg(t, f.speechLocales), e(t?._?.a11y?.sre_ts?.locales, f.speechLocales)), r?.defaultReady?.(), a && (Vg(r?.document), Hg(r?.document), r?.document?.addStyles?.(
|
|
9441
|
+
a && (zg(t), Bg(t, f.speechLocales), e(t?._?.a11y?.sre_ts?.locales, f.speechLocales)), r?.defaultReady?.(), a && (Vg(r?.document), Hg(r?.document), r?.document?.addStyles?.(Og), s(r?.document)), Promise.resolve(r?.promise).then(() => n(), i);
|
|
9442
9442
|
}
|
|
9443
9443
|
},
|
|
9444
|
-
tex: { macros: { ...
|
|
9444
|
+
tex: { macros: { ...ug } },
|
|
9445
9445
|
output: { displayOverflow: "linebreak" },
|
|
9446
9446
|
options: {
|
|
9447
9447
|
enableMenu: l,
|
|
@@ -9453,7 +9453,7 @@ function Lg(t) {
|
|
|
9453
9453
|
a11y: { inTabOrder: p }
|
|
9454
9454
|
}
|
|
9455
9455
|
};
|
|
9456
|
-
c && m.tex && (console.warn(
|
|
9456
|
+
c && m.tex && (console.warn(Cg), m.tex.inlineMath = [["$", "$"], ["\\(", "\\)"]], m.tex.processEscapes = !0), u || (m.chtml = { fontURL: "" });
|
|
9457
9457
|
let h = o(f.speechLocales);
|
|
9458
9458
|
h && m.options && (m.options.sre = { locale: h }), Dm(m, {
|
|
9459
9459
|
...f,
|
|
@@ -9470,18 +9470,18 @@ function zg(e) {
|
|
|
9470
9470
|
let t = e?._?.output, n = t?.chtml_ts?.CHTML;
|
|
9471
9471
|
n && (n.STYLESHEETID = Mm);
|
|
9472
9472
|
let r = t?.svg_ts?.SVG;
|
|
9473
|
-
r && (r.STYLESHEETID =
|
|
9473
|
+
r && (r.STYLESHEETID = Eg);
|
|
9474
9474
|
}
|
|
9475
9475
|
function Bg(e, t) {
|
|
9476
9476
|
let n = e?._?.ui?.menu?.Menu?.Menu;
|
|
9477
9477
|
if (n) {
|
|
9478
|
-
n.MENU_STORAGE =
|
|
9478
|
+
n.MENU_STORAGE = Dg;
|
|
9479
9479
|
try {
|
|
9480
|
-
let e = localStorage.getItem(
|
|
9480
|
+
let e = localStorage.getItem(Dg);
|
|
9481
9481
|
if (!e) return;
|
|
9482
9482
|
let { assistiveMml: n, locale: r, ...i } = JSON.parse(e), a = r === void 0 || !t || t.has(r);
|
|
9483
9483
|
if (n === void 0 && a) return;
|
|
9484
|
-
a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(
|
|
9484
|
+
a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(Dg, JSON.stringify(i)) : localStorage.removeItem(Dg);
|
|
9485
9485
|
} catch {}
|
|
9486
9486
|
}
|
|
9487
9487
|
}
|
|
@@ -9489,23 +9489,23 @@ function Vg(e) {
|
|
|
9489
9489
|
if (!e) return;
|
|
9490
9490
|
let t = /* @__PURE__ */ new WeakSet(), n = (e) => {
|
|
9491
9491
|
let n = e.typesetRoot;
|
|
9492
|
-
!n || t.has(n) || (
|
|
9492
|
+
!n || t.has(n) || (Mg(n), t.add(n));
|
|
9493
9493
|
};
|
|
9494
|
-
e.addRenderAction?.("pie-strip-latex",
|
|
9494
|
+
e.addRenderAction?.("pie-strip-latex", Ag, (e) => {
|
|
9495
9495
|
for (let t of e.math ?? []) n(t);
|
|
9496
9496
|
return !1;
|
|
9497
9497
|
}, (e) => {
|
|
9498
9498
|
let t = e.typesetRoot;
|
|
9499
|
-
return t &&
|
|
9499
|
+
return t && Mg(t), !1;
|
|
9500
9500
|
});
|
|
9501
9501
|
let r = e.outputJax?.chtmlStyles;
|
|
9502
|
-
r?.id ===
|
|
9502
|
+
r?.id === Tg && (r.id = Mm), Gg();
|
|
9503
9503
|
}
|
|
9504
9504
|
function Hg(e) {
|
|
9505
9505
|
let t = (e) => {
|
|
9506
9506
|
e.typesetRoot && cg(e.typesetRoot);
|
|
9507
9507
|
};
|
|
9508
|
-
e?.addRenderAction?.("pie-name-math",
|
|
9508
|
+
e?.addRenderAction?.("pie-name-math", jg, (e) => {
|
|
9509
9509
|
for (let n of e.math ?? []) t(n);
|
|
9510
9510
|
return !1;
|
|
9511
9511
|
}, (e) => (t(e), !1));
|
|
@@ -9514,7 +9514,7 @@ function Ug(e) {
|
|
|
9514
9514
|
return e instanceof HTMLStyleElement && Nm.includes(e.id);
|
|
9515
9515
|
}
|
|
9516
9516
|
function Wg(e) {
|
|
9517
|
-
|
|
9517
|
+
Sg("foreign-output-stylesheet", `another MathJax added <style id="${e.id}"> to <head>`);
|
|
9518
9518
|
}
|
|
9519
9519
|
function Gg() {
|
|
9520
9520
|
let e = document.head, t = [...e.children].find(Ug);
|
|
@@ -9536,7 +9536,7 @@ function Gg() {
|
|
|
9536
9536
|
function Kg(e) {
|
|
9537
9537
|
let t = e?.math;
|
|
9538
9538
|
if (!t?.remove) return;
|
|
9539
|
-
let n = [...t].filter((e) => (e.state?.() ?? 0) >=
|
|
9539
|
+
let n = [...t].filter((e) => (e.state?.() ?? 0) >= kg && e.typesetRoot?.isConnected === !1);
|
|
9540
9540
|
if (n.length !== 0) {
|
|
9541
9541
|
for (let e of [...n].reverse()) e.clear?.();
|
|
9542
9542
|
t.remove(...n);
|
|
@@ -9564,8 +9564,8 @@ function Yg(e) {
|
|
|
9564
9564
|
});
|
|
9565
9565
|
}
|
|
9566
9566
|
function Xg(e) {
|
|
9567
|
-
let t = Om, n = t[
|
|
9568
|
-
return n || (n = Yg(e), t[
|
|
9567
|
+
let t = Om, n = t[wg];
|
|
9568
|
+
return n || (n = Yg(e), t[wg] = n), n;
|
|
9569
9569
|
}
|
|
9570
9570
|
function Zg(e = {}) {
|
|
9571
9571
|
let t = e.useSingleDollar ?? !1;
|
|
@@ -9586,7 +9586,7 @@ function Zg(e = {}) {
|
|
|
9586
9586
|
} catch (e) {
|
|
9587
9587
|
throw i.typesetClear?.([n]), e;
|
|
9588
9588
|
}
|
|
9589
|
-
|
|
9589
|
+
Mg(n), lg(n);
|
|
9590
9590
|
}
|
|
9591
9591
|
};
|
|
9592
9592
|
}
|
|
@@ -9637,7 +9637,7 @@ var u_ = async (e) => {
|
|
|
9637
9637
|
let n = o_()?.wrapMath?.(e, t);
|
|
9638
9638
|
if (n != null) return n;
|
|
9639
9639
|
let [r, i] = t === "dollar" || t === "double_dollar" ? ["$", "$"] : ["\\(", "\\)"];
|
|
9640
|
-
return `${r}${
|
|
9640
|
+
return `${r}${hg(e)}${i}`;
|
|
9641
9641
|
}, f_ = (e) => {
|
|
9642
9642
|
let t = e.trim();
|
|
9643
9643
|
return t.startsWith("\\[") && t.endsWith("\\]") ? {
|
|
@@ -13344,4 +13344,4 @@ var cb = {
|
|
|
13344
13344
|
//#endregion
|
|
13345
13345
|
export { Do as $, If as A, uc as B, Mp as C, Yt as Ct, dp as D, C as Dt, mp as E, jt as Et, gc as F, Qs as G, cc as H, mc as I, Is as J, Js as K, pc as L, kc as M, wc as N, tp as O, S as Ot, vc as P, No as Q, fc as R, Wp as S, an as St, vp as T, At as Tt, rc as U, lc as V, J as W, Lo as X, Ro as Y, Po as Z, y_ as _, Pr as _t, Uv as a, q as at, f_ as b, _r as bt, _v as c, fo as ct, iv as d, ra as dt, Eo as et, rv as f, ea as ft, j_ as g, Fr as gt, U_ as h, Yr as ht, ry as i, xo as it, lf as j, ep as k, x as kt, hv as l, uo as lt, G_ as m, yi as mt, ay as n, Co as nt, Tv as o, mo as ot, $_ as p, Di as pt, Rs as q, iy as r, So as rt, Sv as s, po as st, cb as t, wo as tt, av as u, lo as ut, u_ as v, H as vt, Op as w, Ut as wt, nm as x, sn as xt, d_ as y, kr as yt, dc as z };
|
|
13346
13346
|
|
|
13347
|
-
//# sourceMappingURL=dist-
|
|
13347
|
+
//# sourceMappingURL=dist-DIt1Snpe.js.map
|