@pie-element/likert 5.0.6-next.20261018193205 → 5.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 +2 -2
- package/dist/browser/{dist-CAGuuplD.js → dist-QEMfljSv.js} +55 -55
- package/dist/browser/{dist-CAGuuplD.js.map → dist-QEMfljSv.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 +2 -2
- package/dist/browser/editor-runtime/{dist-BledVGrL.js → dist-nMqFdyXV.js} +55 -55
- package/dist/browser/editor-runtime/{dist-BledVGrL.js.map → dist-nMqFdyXV.js.map} +1 -1
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-CblFylHv.js → mathjax-DqXi3q4c-BSeph-RS.js} +4 -4
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-CblFylHv.js.map → mathjax-DqXi3q4c-BSeph-RS.js.map} +1 -1
- package/dist/browser/{mathjax-CptWnMbQ-pOrjvmE0.js → mathjax-DqXi3q4c-BOCythT3.js} +4 -4
- package/dist/browser/{mathjax-CptWnMbQ-pOrjvmE0.js.map → mathjax-DqXi3q4c-BOCythT3.js.map} +1 -1
- 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/package.json +12 -12
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
(document.head || document.documentElement).appendChild(style);
|
|
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
|
-
import { $ as e, At as t, B as n, C as r, Ct as i, D as a, Dt as o, Et as s, F as c, Ft as l, G as u, H as d, I as f, It as p, J as m, K as h, L as g, Lt as _, Mt as v, Nt as y, O as b, Ot as x, Pt as S, Q as C, R as w, Rt as ee, S as T, St as te, T as E, Tt as D, U as ne, V as re, W as O, X as ie, Y as ae, Z as oe, _ as se, _t as ce, a as le, at as ue, bt as de, c as fe, ct as pe, d as me, dt as he, et as ge, ft as _e, g as ve, gt as k, h as ye, ht as be, i as xe, it as Se, jt as Ce, k as we, kt as Te, l as Ee, lt as De, m as Oe, n as ke, nt as Ae, o as je, ot as Me, p as Ne, pt as Pe, q as Fe, r as Ie, rt as Le, s as Re, st as ze, t as Be, tt as Ve, u as He, ut as Ue, v as We, vt as Ge, w as Ke, wt as qe, x as Je, xt as Ye, y as Xe, yt as Ze, z as Qe } from "../dist-
|
|
19
|
+
import { $ as e, At as t, B as n, C as r, Ct as i, D as a, Dt as o, Et as s, F as c, Ft as l, G as u, H as d, I as f, It as p, J as m, K as h, L as g, Lt as _, Mt as v, Nt as y, O as b, Ot as x, Pt as S, Q as C, R as w, Rt as ee, S as T, St as te, T as E, Tt as D, U as ne, V as re, W as O, X as ie, Y as ae, Z as oe, _ as se, _t as ce, a as le, at as ue, bt as de, c as fe, ct as pe, d as me, dt as he, et as ge, ft as _e, g as ve, gt as k, h as ye, ht as be, i as xe, it as Se, jt as Ce, k as we, kt as Te, l as Ee, lt as De, m as Oe, n as ke, nt as Ae, o as je, ot as Me, p as Ne, pt as Pe, q as Fe, r as Ie, rt as Le, s as Re, st as ze, t as Be, tt as Ve, u as He, ut as Ue, v as We, vt as Ge, w as Ke, wt as qe, x as Je, xt as Ye, y as Xe, yt as Ze, z as Qe } from "../dist-QEMfljSv.js";
|
|
20
20
|
import * as A from "react";
|
|
21
21
|
import $e, { Component as et, createContext as tt, createElement as nt, createRef as rt, forwardRef as it, memo as at, useCallback as ot, useContext as st, useDebugValue as ct, useEffect as lt, useId as ut, useLayoutEffect as dt, useMemo as ft, useRef as pt, useState as mt, version as ht } from "react";
|
|
22
22
|
import { Fragment as gt, jsx as j, jsxs as M } from "react/jsx-runtime";
|
|
@@ -35954,7 +35954,7 @@ var _K = Re, vK = _K.default, yK = vK && typeof vK == "object" ? vK : _K, bK = g
|
|
|
35954
35954
|
}
|
|
35955
35955
|
}, gq = Object.freeze({
|
|
35956
35956
|
name: "@pie-element/likert",
|
|
35957
|
-
version: "5.0.6
|
|
35957
|
+
version: "5.0.6"
|
|
35958
35958
|
});
|
|
35959
35959
|
//#endregion
|
|
35960
35960
|
export { hq as default, gq as piePackage };
|
|
@@ -46,7 +46,7 @@ var o = (e) => (e || "").replace(/(<(?!img|iframe|source)([^>]+)>)/gi, ""), s =
|
|
|
46
46
|
}), n;
|
|
47
47
|
}, c = Object.freeze({
|
|
48
48
|
name: "@pie-element/likert",
|
|
49
|
-
version: "5.0.6
|
|
49
|
+
version: "5.0.6"
|
|
50
50
|
});
|
|
51
51
|
//#endregion
|
|
52
52
|
export { n as createDefaultModel, i as model, r as normalize, a as outcome, c as piePackage, s as validate };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as e, E as t, Ft as n, I as r, Nt as i, Rt as a, a as o, b as s, f as c, gt as l, mt as u, n as d, s as f, t as p } from "../dist-
|
|
1
|
+
import { D as e, E as t, Ft as n, I as r, Nt as i, Rt as a, a as o, b as s, f as c, gt as l, mt as u, n as d, s as f, t as p } from "../dist-QEMfljSv.js";
|
|
2
2
|
import m from "react";
|
|
3
3
|
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
4
4
|
import { createRoot as _ } from "react-dom/client";
|
|
@@ -229,7 +229,7 @@ var G = class e extends CustomEvent {
|
|
|
229
229
|
}
|
|
230
230
|
}, J = Object.freeze({
|
|
231
231
|
name: "@pie-element/likert",
|
|
232
|
-
version: "5.0.6
|
|
232
|
+
version: "5.0.6"
|
|
233
233
|
});
|
|
234
234
|
//#endregion
|
|
235
235
|
export { q as default, K as isComplete, J as piePackage };
|
|
@@ -8157,7 +8157,7 @@ var Dm;
|
|
|
8157
8157
|
function Om() {
|
|
8158
8158
|
return Dm;
|
|
8159
8159
|
}
|
|
8160
|
-
var km = import("./mathjax-
|
|
8160
|
+
var km = import("./mathjax-DqXi3q4c-BOCythT3.js");
|
|
8161
8161
|
km.catch(() => {});
|
|
8162
8162
|
async function Am(e, t) {
|
|
8163
8163
|
let { createMathJax: n } = await km;
|
|
@@ -8856,25 +8856,7 @@ function dg(e) {
|
|
|
8856
8856
|
function fg(e) {
|
|
8857
8857
|
for (let t of e.querySelectorAll("mjx-container")) dg(t);
|
|
8858
8858
|
}
|
|
8859
|
-
var pg =
|
|
8860
|
-
function gg(e, t) {
|
|
8861
|
-
if (typeof window > "u") return;
|
|
8862
|
-
let n = globalThis;
|
|
8863
|
-
n[hg] ??= {
|
|
8864
|
-
logged: !1,
|
|
8865
|
-
conditions: []
|
|
8866
|
-
};
|
|
8867
|
-
let r = n[hg];
|
|
8868
|
-
if (r.conditions.includes(e)) return;
|
|
8869
|
-
r.conditions.push(e);
|
|
8870
|
-
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 ${pg}`;
|
|
8871
|
-
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(mg, { detail: {
|
|
8872
|
-
condition: e,
|
|
8873
|
-
message: i,
|
|
8874
|
-
docsUrl: pg
|
|
8875
|
-
} }));
|
|
8876
|
-
}
|
|
8877
|
-
var _g = {
|
|
8859
|
+
var pg = {
|
|
8878
8860
|
parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
|
|
8879
8861
|
overarc: "\\overparen",
|
|
8880
8862
|
napprox: "\\not\\approx",
|
|
@@ -8882,36 +8864,54 @@ var _g = {
|
|
|
8882
8864
|
abs: ["\\left|#1\\right|", 1],
|
|
8883
8865
|
perpendicular: "\\perp",
|
|
8884
8866
|
divide: "\\div"
|
|
8885
|
-
},
|
|
8867
|
+
}, mg = /\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/, hg = /\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/, gg = /\\embed\{newLine\}\[\]/g, _g = [
|
|
8886
8868
|
["$$", "$$"],
|
|
8887
8869
|
["$", "$"],
|
|
8888
8870
|
["\\[", "\\]"],
|
|
8889
8871
|
["\\(", "\\)"]
|
|
8890
|
-
]
|
|
8872
|
+
];
|
|
8873
|
+
function vg(e) {
|
|
8874
|
+
for (let [t, n] of _g) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
8875
|
+
return e;
|
|
8876
|
+
}
|
|
8877
|
+
function yg(e) {
|
|
8878
|
+
return `\\(${vg(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e)}\\)`.replace(gg, "\\newline ");
|
|
8879
|
+
}
|
|
8880
|
+
var bg = "mathjax_ignore", xg = "mathjax_process", Sg = "https://github.com/pie-framework/pie-players/blob/develop/docs/item-player/loading-strategies.md#one-mathjax-version-per-page", Cg = "pie-mathjax-version-conflict", wg = Symbol.for("@pie-element/shared-math-rendering-mathjax/unsupported-page");
|
|
8881
|
+
function Tg(e, t) {
|
|
8882
|
+
if (typeof window > "u") return;
|
|
8883
|
+
let n = globalThis;
|
|
8884
|
+
n[wg] ??= {
|
|
8885
|
+
logged: !1,
|
|
8886
|
+
conditions: []
|
|
8887
|
+
};
|
|
8888
|
+
let r = n[wg];
|
|
8889
|
+
if (r.conditions.includes(e)) return;
|
|
8890
|
+
r.conditions.push(e);
|
|
8891
|
+
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 ${Sg}`;
|
|
8892
|
+
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(Cg, { detail: {
|
|
8893
|
+
condition: e,
|
|
8894
|
+
message: i,
|
|
8895
|
+
docsUrl: Sg
|
|
8896
|
+
} }));
|
|
8897
|
+
}
|
|
8898
|
+
var Eg = "[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)", Dg = Symbol.for("@pie-element/shared-math-rendering-mathjax/loading"), Og = "MJX-CHTML-styles", kg = "PIE-MJX-SVG-styles", Ag = "PIE-MathJax-Menu-Settings", jg = { "mjx-container[overflow=\"linebreak\"][display]": {
|
|
8891
8899
|
overflow: "auto clip",
|
|
8892
8900
|
"min-width": "initial !important"
|
|
8893
|
-
} },
|
|
8894
|
-
function
|
|
8901
|
+
} }, Mg = 200, Ng = 201, Pg = 202;
|
|
8902
|
+
function Fg(e) {
|
|
8895
8903
|
let t = [...e.matches("mjx-container") ? [e] : [], ...e.querySelectorAll("mjx-container")];
|
|
8896
8904
|
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");
|
|
8897
8905
|
}
|
|
8898
|
-
function Mg(e) {
|
|
8899
|
-
for (let [t, n] of Sg) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
8900
|
-
return e;
|
|
8901
|
-
}
|
|
8902
|
-
function Ng(e) {
|
|
8903
|
-
return Mg(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e);
|
|
8904
|
-
}
|
|
8905
|
-
var Pg = "mathjax_ignore", Fg = "mathjax_process";
|
|
8906
8906
|
function Ig(e, t) {
|
|
8907
|
-
let n = e.closest(`.${
|
|
8908
|
-
return n !== null && t.contains(n) && !n.classList.contains(
|
|
8907
|
+
let n = e.closest(`.${bg}, .${xg}`);
|
|
8908
|
+
return n !== null && t.contains(n) && !n.classList.contains("mathjax_process");
|
|
8909
8909
|
}
|
|
8910
8910
|
function Lg(e) {
|
|
8911
8911
|
for (let t of e.querySelectorAll("[data-latex]")) {
|
|
8912
8912
|
if (t.dataset.mathHandled || t.closest("mjx-container") || Ig(t, e)) continue;
|
|
8913
8913
|
let n = t.textContent;
|
|
8914
|
-
n && (t.textContent =
|
|
8914
|
+
n && (t.textContent = yg(n), t.dataset.mathHandled = "true");
|
|
8915
8915
|
}
|
|
8916
8916
|
}
|
|
8917
8917
|
function Rg(e) {
|
|
@@ -8919,7 +8919,7 @@ function Rg(e) {
|
|
|
8919
8919
|
}
|
|
8920
8920
|
function zg(e, t) {
|
|
8921
8921
|
for (let t of e.querySelectorAll("math")) if (!t.closest("mjx-assistive-mml")) return !0;
|
|
8922
|
-
return (t ?
|
|
8922
|
+
return (t ? hg : mg).test(e.textContent ?? "");
|
|
8923
8923
|
}
|
|
8924
8924
|
function Bg(e) {
|
|
8925
8925
|
return new Promise((t, n) => {
|
|
@@ -8936,10 +8936,10 @@ function Bg(e) {
|
|
|
8936
8936
|
typeset: !1,
|
|
8937
8937
|
ready: () => {
|
|
8938
8938
|
let e = Om(), r = e?.startup, i = Vg(e);
|
|
8939
|
-
i && (Hg(e), Ug(e, s.speechLocales), hm(e?._?.a11y?.sre_ts?.locales, s.speechLocales)), r?.defaultReady?.(), i && (Wg(r?.document), Gg(r?.document), r?.document?.addStyles?.(
|
|
8939
|
+
i && (Hg(e), Ug(e, s.speechLocales), hm(e?._?.a11y?.sre_ts?.locales, s.speechLocales)), r?.defaultReady?.(), i && (Wg(r?.document), Gg(r?.document), r?.document?.addStyles?.(jg), Cm(r?.document)), Promise.resolve(r?.promise).then(() => t(), n);
|
|
8940
8940
|
}
|
|
8941
8941
|
},
|
|
8942
|
-
tex: { macros: { ...
|
|
8942
|
+
tex: { macros: { ...pg } },
|
|
8943
8943
|
output: { displayOverflow: "linebreak" },
|
|
8944
8944
|
options: {
|
|
8945
8945
|
enableMenu: i,
|
|
@@ -8951,7 +8951,7 @@ function Bg(e) {
|
|
|
8951
8951
|
a11y: { inTabOrder: c }
|
|
8952
8952
|
}
|
|
8953
8953
|
};
|
|
8954
|
-
r && l.tex && (console.warn(
|
|
8954
|
+
r && l.tex && (console.warn(Eg), l.tex.inlineMath = [["$", "$"], ["\\(", "\\)"]], l.tex.processEscapes = !0), a || (l.chtml = { fontURL: "" });
|
|
8955
8955
|
let u = gm(s.speechLocales);
|
|
8956
8956
|
u && l.options && (l.options.sre = { locale: u }), Am(l, {
|
|
8957
8957
|
...s,
|
|
@@ -8968,18 +8968,18 @@ function Hg(e) {
|
|
|
8968
8968
|
let t = e?._?.output, n = t?.chtml_ts?.CHTML;
|
|
8969
8969
|
n && (n.STYLESHEETID = Fm);
|
|
8970
8970
|
let r = t?.svg_ts?.SVG;
|
|
8971
|
-
r && (r.STYLESHEETID =
|
|
8971
|
+
r && (r.STYLESHEETID = kg);
|
|
8972
8972
|
}
|
|
8973
8973
|
function Ug(e, t) {
|
|
8974
8974
|
let n = e?._?.ui?.menu?.Menu?.Menu;
|
|
8975
8975
|
if (n) {
|
|
8976
|
-
n.MENU_STORAGE =
|
|
8976
|
+
n.MENU_STORAGE = Ag;
|
|
8977
8977
|
try {
|
|
8978
|
-
let e = localStorage.getItem(
|
|
8978
|
+
let e = localStorage.getItem(Ag);
|
|
8979
8979
|
if (!e) return;
|
|
8980
8980
|
let { assistiveMml: n, locale: r, ...i } = JSON.parse(e), a = r === void 0 || !t || t.has(r);
|
|
8981
8981
|
if (n === void 0 && a) return;
|
|
8982
|
-
a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(
|
|
8982
|
+
a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(Ag, JSON.stringify(i)) : localStorage.removeItem(Ag);
|
|
8983
8983
|
} catch {}
|
|
8984
8984
|
}
|
|
8985
8985
|
}
|
|
@@ -8987,23 +8987,23 @@ function Wg(e) {
|
|
|
8987
8987
|
if (!e) return;
|
|
8988
8988
|
let t = /* @__PURE__ */ new WeakSet(), n = (e) => {
|
|
8989
8989
|
let n = e.typesetRoot;
|
|
8990
|
-
!n || t.has(n) || (
|
|
8990
|
+
!n || t.has(n) || (Fg(n), t.add(n));
|
|
8991
8991
|
};
|
|
8992
|
-
e.addRenderAction?.("pie-strip-latex",
|
|
8992
|
+
e.addRenderAction?.("pie-strip-latex", Ng, (e) => {
|
|
8993
8993
|
for (let t of e.math ?? []) n(t);
|
|
8994
8994
|
return !1;
|
|
8995
8995
|
}, (e) => {
|
|
8996
8996
|
let t = e.typesetRoot;
|
|
8997
|
-
return t &&
|
|
8997
|
+
return t && Fg(t), !1;
|
|
8998
8998
|
});
|
|
8999
8999
|
let r = e.outputJax?.chtmlStyles;
|
|
9000
|
-
r?.id ===
|
|
9000
|
+
r?.id === Og && (r.id = Fm), Jg();
|
|
9001
9001
|
}
|
|
9002
9002
|
function Gg(e) {
|
|
9003
9003
|
let t = (e) => {
|
|
9004
9004
|
e.typesetRoot && dg(e.typesetRoot);
|
|
9005
9005
|
};
|
|
9006
|
-
e?.addRenderAction?.("pie-name-math",
|
|
9006
|
+
e?.addRenderAction?.("pie-name-math", Pg, (e) => {
|
|
9007
9007
|
for (let n of e.math ?? []) t(n);
|
|
9008
9008
|
return !1;
|
|
9009
9009
|
}, (e) => (t(e), !1));
|
|
@@ -9012,7 +9012,7 @@ function Kg(e) {
|
|
|
9012
9012
|
return e instanceof HTMLStyleElement && Im.includes(e.id);
|
|
9013
9013
|
}
|
|
9014
9014
|
function qg(e) {
|
|
9015
|
-
|
|
9015
|
+
Tg("foreign-output-stylesheet", `another MathJax added <style id="${e.id}"> to <head>`);
|
|
9016
9016
|
}
|
|
9017
9017
|
function Jg() {
|
|
9018
9018
|
let e = document.head, t = [...e.children].find(Kg);
|
|
@@ -9034,7 +9034,7 @@ function Jg() {
|
|
|
9034
9034
|
function Yg(e) {
|
|
9035
9035
|
let t = e?.math;
|
|
9036
9036
|
if (!t?.remove) return;
|
|
9037
|
-
let n = [...t].filter((e) => (e.state?.() ?? 0) >=
|
|
9037
|
+
let n = [...t].filter((e) => (e.state?.() ?? 0) >= Mg && e.typesetRoot?.isConnected === !1);
|
|
9038
9038
|
if (n.length !== 0) {
|
|
9039
9039
|
for (let e of [...n].reverse()) e.clear?.();
|
|
9040
9040
|
t.remove(...n);
|
|
@@ -9062,8 +9062,8 @@ function Qg(e) {
|
|
|
9062
9062
|
});
|
|
9063
9063
|
}
|
|
9064
9064
|
function $g(e) {
|
|
9065
|
-
let t = jm, n = t[
|
|
9066
|
-
return n || (n = Qg(e), t[
|
|
9065
|
+
let t = jm, n = t[Dg];
|
|
9066
|
+
return n || (n = Qg(e), t[Dg] = n), n;
|
|
9067
9067
|
}
|
|
9068
9068
|
function e_(e = {}) {
|
|
9069
9069
|
let t = e.useSingleDollar ?? !1;
|
|
@@ -9084,7 +9084,7 @@ function e_(e = {}) {
|
|
|
9084
9084
|
} catch (e) {
|
|
9085
9085
|
throw i.typesetClear?.([n]), e;
|
|
9086
9086
|
}
|
|
9087
|
-
|
|
9087
|
+
Fg(n), fg(n);
|
|
9088
9088
|
}
|
|
9089
9089
|
};
|
|
9090
9090
|
}
|
|
@@ -9135,7 +9135,7 @@ var p_ = async (e) => {
|
|
|
9135
9135
|
let n = l_()?.wrapMath?.(e, t);
|
|
9136
9136
|
if (n != null) return n;
|
|
9137
9137
|
let [r, i] = t === "dollar" || t === "double_dollar" ? ["$", "$"] : ["\\(", "\\)"];
|
|
9138
|
-
return `${r}${
|
|
9138
|
+
return `${r}${vg(e)}${i}`;
|
|
9139
9139
|
}, h_ = (e) => {
|
|
9140
9140
|
let t = e.trim();
|
|
9141
9141
|
return t.startsWith("\\[") && t.endsWith("\\]") ? {
|
|
@@ -13912,4 +13912,4 @@ var hx = {
|
|
|
13912
13912
|
//#endregion
|
|
13913
13913
|
export { ff as $, Em as A, or as At, ep as B, $_ as C, qa as Ct, p_ as D, W as Dt, y_ as E, ca as Et, $p as F, E as Ft, Q as G, Zf as H, Ep as I, y as It, Df as J, Hf as K, mp as L, C as Lt, ym as M, dt as Mt, em as N, ne as Nt, m_ as O, Nr as Ot, pm as P, te as Pt, pf as Q, rp as R, S as Rt, dv as S, to as St, L_ as T, la as Tt, Xf as U, Qf as V, Yf as W, Sf as X, Ef as Y, yf as Z, Dv as _, Ps as _t, Gy as a, Sd as at, Cv as b, As as bt, Ay as c, yd as ct, dy as d, gd as dt, ef as et, ty as f, md as ft, Lv as g, Y as gt, zv as h, Vs as ht, Xy as i, kd as it, Tm as j, sr as jt, h_ as k, Sr as kt, gy as l, vd as lt, Wv as m, zu as mt, fb as n, Fd as nt, zy as o, xd as ot, qv as p, fd as pt, Rf as q, rb as r, Pd as rt, My as s, bd as st, hx as t, $d as tt, fy as u, _d as ut, Ev as v, Ns as vt, V_ as w, Ca as wt, pv as x, ko as xt, Tv as y, Ms as yt, tp as z };
|
|
13914
13914
|
|
|
13915
|
-
//# sourceMappingURL=dist-
|
|
13915
|
+
//# sourceMappingURL=dist-QEMfljSv.js.map
|