@pie-element/multi-trait-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.
@@ -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, B as t, C as n, Ct as r, D as i, Dt as a, E 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, N as y, Nt as b, Ot as x, P as S, Pt as C, Q as w, R as ee, Rt as te, S as T, St as E, T as D, U as O, V as ne, W as re, X as ie, Y as ae, Z as k, _ as oe, _t as se, a as ce, at as le, b as ue, bt as de, c as fe, ct as pe, d as me, dt as he, et as ge, f as _e, ft as ve, g as ye, gt as A, h as be, ht as xe, i as Se, it as Ce, jt as we, kt as Te, l as Ee, lt as De, m as Oe, mt as j, n as ke, nt as Ae, o as je, ot as Me, p as Ne, q as Pe, r as Fe, rt as Ie, s as Le, st as Re, t as ze, tt as Be, u as Ve, ut as He, vt as Ue, wt as We, x as Ge, xt as Ke, y as qe, yt as Je, z as Ye, zt as Xe } from "../dist-B2tfc8EF.js";
19
+ import { $ as e, B as t, C as n, Ct as r, D as i, Dt as a, E 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, N as y, Nt as b, Ot as x, P as S, Pt as C, Q as w, R as ee, Rt as te, S as T, St as E, T as D, U as O, V as ne, W as re, X as ie, Y as ae, Z as k, _ as oe, _t as se, a as ce, at as le, b as ue, bt as de, c as fe, ct as pe, d as me, dt as he, et as ge, f as _e, ft as ve, g as ye, gt as A, h as be, ht as xe, i as Se, it as Ce, jt as we, kt as Te, l as Ee, lt as De, m as Oe, mt as j, n as ke, nt as Ae, o as je, ot as Me, p as Ne, q as Pe, r as Fe, rt as Ie, s as Le, st as Re, t as ze, tt as Be, u as Ve, ut as He, vt as Ue, wt as We, x as Ge, xt as Ke, y as qe, yt as Je, z as Ye, zt as Xe } from "../dist-Dqovznws.js";
20
20
  import * as M from "react";
21
21
  import N, { 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 P, useId as ot, useLayoutEffect as st, useMemo as ct, useReducer as lt, useRef as ut, useState as dt, version as ft } from "react";
22
22
  import { createRoot as pt } from "react-dom/client";
@@ -38271,7 +38271,7 @@ var { Panel: TY, toggle: EY } = Gq, DY = "650px", OY = A("div")(({ theme: e }) =
38271
38271
  }
38272
38272
  }, PY = Object.freeze({
38273
38273
  name: "@pie-element/multi-trait-rubric",
38274
- version: "9.0.6-next.20261018193205"
38274
+ version: "9.0.6"
38275
38275
  });
38276
38276
  //#endregion
38277
38277
  export { NY as default, PY as piePackage };
@@ -62,7 +62,7 @@ var s = (e, t) => new Promise((e) => {
62
62
  }), Object.keys(s).length > 0 && (o.traitsErrors = s), Object.keys(c).length > 0 && (o.scorePointsErrors = c), o;
63
63
  }, l = Object.freeze({
64
64
  name: "@pie-element/multi-trait-rubric",
65
- version: "9.0.6-next.20261018193205"
65
+ version: "9.0.6"
66
66
  });
67
67
  //#endregion
68
68
  export { s as createCorrectResponseSession, r as createDefaultModel, a as getScore, i as model, n as normalize, o as outcome, l as piePackage, c as validate };
@@ -1,4 +1,4 @@
1
- import { At as e, Dt as t, It as n, N as r, Ot as i, S as a, St as o, T as s, Tt as c, U as l, Z as u, a as d, gt as f, i as p, kt as m, mt as h, n as g, pt as _, r as v, t as y, ut as b, v as x, w as S, yt as C, zt as w } from "../dist-B2tfc8EF.js";
1
+ import { At as e, Dt as t, It as n, N as r, Ot as i, S as a, St as o, T as s, Tt as c, U as l, Z as u, a as d, gt as f, i as p, kt as m, mt as h, n as g, pt as _, r as v, t as y, ut as b, v as x, w as S, yt as C, zt as w } from "../dist-Dqovznws.js";
2
2
  import * as T from "react";
3
3
  import E from "react";
4
4
  import { createRoot as ee } from "react-dom/client";
@@ -536,7 +536,7 @@ var ie = class extends HTMLElement {
536
536
  }
537
537
  }, ae = Object.freeze({
538
538
  name: "@pie-element/multi-trait-rubric",
539
- version: "9.0.6-next.20261018193205"
539
+ version: "9.0.6"
540
540
  });
541
541
  //#endregion
542
542
  export { ie as default, ae as piePackage };
@@ -8152,7 +8152,7 @@ var wm;
8152
8152
  function Tm() {
8153
8153
  return wm;
8154
8154
  }
8155
- var Em = import("./mathjax-CptWnMbQ-Bi6z2uyk.js");
8155
+ var Em = import("./mathjax-DqXi3q4c-aJyija3W.js");
8156
8156
  Em.catch(() => {});
8157
8157
  async function Dm(e, t) {
8158
8158
  let { createMathJax: n } = await Em;
@@ -8851,25 +8851,7 @@ function cg(e) {
8851
8851
  function lg(e) {
8852
8852
  for (let t of e.querySelectorAll("mjx-container")) cg(t);
8853
8853
  }
8854
- var ug = "https://github.com/pie-framework/pie-players/blob/develop/docs/item-player/loading-strategies.md#one-mathjax-version-per-page", dg = "pie-mathjax-version-conflict", fg = Symbol.for("@pie-element/shared-math-rendering-mathjax/unsupported-page");
8855
- function pg(e, t) {
8856
- if (typeof window > "u") return;
8857
- let n = globalThis;
8858
- n[fg] ??= {
8859
- logged: !1,
8860
- conditions: []
8861
- };
8862
- let r = n[fg];
8863
- if (r.conditions.includes(e)) return;
8864
- r.conditions.push(e);
8865
- 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}`;
8866
- r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(dg, { detail: {
8867
- condition: e,
8868
- message: i,
8869
- docsUrl: ug
8870
- } }));
8871
- }
8872
- var mg = {
8854
+ var ug = {
8873
8855
  parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
8874
8856
  overarc: "\\overparen",
8875
8857
  napprox: "\\not\\approx",
@@ -8877,36 +8859,54 @@ var mg = {
8877
8859
  abs: ["\\left|#1\\right|", 1],
8878
8860
  perpendicular: "\\perp",
8879
8861
  divide: "\\div"
8880
- }, hg = "[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)", gg = /\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/, _g = /\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/, vg = /\\embed\{newLine\}\[\]/g, yg = [
8862
+ }, dg = /\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/, fg = /\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/, pg = /\\embed\{newLine\}\[\]/g, mg = [
8881
8863
  ["$$", "$$"],
8882
8864
  ["$", "$"],
8883
8865
  ["\\[", "\\]"],
8884
8866
  ["\\(", "\\)"]
8885
- ], bg = Symbol.for("@pie-element/shared-math-rendering-mathjax/loading"), xg = "MJX-CHTML-styles", Sg = "PIE-MJX-SVG-styles", Cg = "PIE-MathJax-Menu-Settings", wg = { "mjx-container[overflow=\"linebreak\"][display]": {
8867
+ ];
8868
+ function hg(e) {
8869
+ for (let [t, n] of mg) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
8870
+ return e;
8871
+ }
8872
+ function gg(e) {
8873
+ return `\\(${hg(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e)}\\)`.replace(pg, "\\newline ");
8874
+ }
8875
+ 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");
8876
+ function Sg(e, t) {
8877
+ if (typeof window > "u") return;
8878
+ let n = globalThis;
8879
+ n[xg] ??= {
8880
+ logged: !1,
8881
+ conditions: []
8882
+ };
8883
+ let r = n[xg];
8884
+ if (r.conditions.includes(e)) return;
8885
+ r.conditions.push(e);
8886
+ 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}`;
8887
+ r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(bg, { detail: {
8888
+ condition: e,
8889
+ message: i,
8890
+ docsUrl: yg
8891
+ } }));
8892
+ }
8893
+ 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]": {
8886
8894
  overflow: "auto clip",
8887
8895
  "min-width": "initial !important"
8888
- } }, Tg = 200, Eg = 201, Dg = 202;
8889
- function Og(e) {
8896
+ } }, kg = 200, Ag = 201, jg = 202;
8897
+ function Mg(e) {
8890
8898
  let t = [...e.matches("mjx-container") ? [e] : [], ...e.querySelectorAll("mjx-container")];
8891
8899
  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");
8892
8900
  }
8893
- function kg(e) {
8894
- for (let [t, n] of yg) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
8895
- return e;
8896
- }
8897
- function Ag(e) {
8898
- return kg(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e);
8899
- }
8900
- var jg = "mathjax_ignore", Mg = "mathjax_process";
8901
8901
  function Ng(e, t) {
8902
- let n = e.closest(`.${jg}, .${Mg}`);
8903
- return n !== null && t.contains(n) && !n.classList.contains(Mg);
8902
+ let n = e.closest(`.${_g}, .${vg}`);
8903
+ return n !== null && t.contains(n) && !n.classList.contains("mathjax_process");
8904
8904
  }
8905
8905
  function Pg(e) {
8906
8906
  for (let t of e.querySelectorAll("[data-latex]")) {
8907
8907
  if (t.dataset.mathHandled || t.closest("mjx-container") || Ng(t, e)) continue;
8908
8908
  let n = t.textContent;
8909
- n && (t.textContent = `\\(${Ag(n)}\\)`.replace(vg, "\\newline "), t.dataset.mathHandled = "true");
8909
+ n && (t.textContent = gg(n), t.dataset.mathHandled = "true");
8910
8910
  }
8911
8911
  }
8912
8912
  function Fg(e) {
@@ -8914,7 +8914,7 @@ function Fg(e) {
8914
8914
  }
8915
8915
  function Ig(e, t) {
8916
8916
  for (let t of e.querySelectorAll("math")) if (!t.closest("mjx-assistive-mml")) return !0;
8917
- return (t ? _g : gg).test(e.textContent ?? "");
8917
+ return (t ? fg : dg).test(e.textContent ?? "");
8918
8918
  }
8919
8919
  function Lg(e) {
8920
8920
  return new Promise((t, n) => {
@@ -8931,10 +8931,10 @@ function Lg(e) {
8931
8931
  typeset: !1,
8932
8932
  ready: () => {
8933
8933
  let e = Tm(), r = e?.startup, i = Rg(e);
8934
- i && (zg(e), Bg(e, s.speechLocales), fm(e?._?.a11y?.sre_ts?.locales, s.speechLocales)), r?.defaultReady?.(), i && (Vg(r?.document), Hg(r?.document), r?.document?.addStyles?.(wg), bm(r?.document)), Promise.resolve(r?.promise).then(() => t(), n);
8934
+ i && (zg(e), Bg(e, s.speechLocales), fm(e?._?.a11y?.sre_ts?.locales, s.speechLocales)), r?.defaultReady?.(), i && (Vg(r?.document), Hg(r?.document), r?.document?.addStyles?.(Og), bm(r?.document)), Promise.resolve(r?.promise).then(() => t(), n);
8935
8935
  }
8936
8936
  },
8937
- tex: { macros: { ...mg } },
8937
+ tex: { macros: { ...ug } },
8938
8938
  output: { displayOverflow: "linebreak" },
8939
8939
  options: {
8940
8940
  enableMenu: i,
@@ -8946,7 +8946,7 @@ function Lg(e) {
8946
8946
  a11y: { inTabOrder: c }
8947
8947
  }
8948
8948
  };
8949
- r && l.tex && (console.warn(hg), l.tex.inlineMath = [["$", "$"], ["\\(", "\\)"]], l.tex.processEscapes = !0), a || (l.chtml = { fontURL: "" });
8949
+ r && l.tex && (console.warn(Cg), l.tex.inlineMath = [["$", "$"], ["\\(", "\\)"]], l.tex.processEscapes = !0), a || (l.chtml = { fontURL: "" });
8950
8950
  let u = pm(s.speechLocales);
8951
8951
  u && l.options && (l.options.sre = { locale: u }), Dm(l, {
8952
8952
  ...s,
@@ -8963,18 +8963,18 @@ function zg(e) {
8963
8963
  let t = e?._?.output, n = t?.chtml_ts?.CHTML;
8964
8964
  n && (n.STYLESHEETID = Mm);
8965
8965
  let r = t?.svg_ts?.SVG;
8966
- r && (r.STYLESHEETID = Sg);
8966
+ r && (r.STYLESHEETID = Eg);
8967
8967
  }
8968
8968
  function Bg(e, t) {
8969
8969
  let n = e?._?.ui?.menu?.Menu?.Menu;
8970
8970
  if (n) {
8971
- n.MENU_STORAGE = Cg;
8971
+ n.MENU_STORAGE = Dg;
8972
8972
  try {
8973
- let e = localStorage.getItem(Cg);
8973
+ let e = localStorage.getItem(Dg);
8974
8974
  if (!e) return;
8975
8975
  let { assistiveMml: n, locale: r, ...i } = JSON.parse(e), a = r === void 0 || !t || t.has(r);
8976
8976
  if (n === void 0 && a) return;
8977
- a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(Cg, JSON.stringify(i)) : localStorage.removeItem(Cg);
8977
+ a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(Dg, JSON.stringify(i)) : localStorage.removeItem(Dg);
8978
8978
  } catch {}
8979
8979
  }
8980
8980
  }
@@ -8982,23 +8982,23 @@ function Vg(e) {
8982
8982
  if (!e) return;
8983
8983
  let t = /* @__PURE__ */ new WeakSet(), n = (e) => {
8984
8984
  let n = e.typesetRoot;
8985
- !n || t.has(n) || (Og(n), t.add(n));
8985
+ !n || t.has(n) || (Mg(n), t.add(n));
8986
8986
  };
8987
- e.addRenderAction?.("pie-strip-latex", Eg, (e) => {
8987
+ e.addRenderAction?.("pie-strip-latex", Ag, (e) => {
8988
8988
  for (let t of e.math ?? []) n(t);
8989
8989
  return !1;
8990
8990
  }, (e) => {
8991
8991
  let t = e.typesetRoot;
8992
- return t && Og(t), !1;
8992
+ return t && Mg(t), !1;
8993
8993
  });
8994
8994
  let r = e.outputJax?.chtmlStyles;
8995
- r?.id === xg && (r.id = Mm), Gg();
8995
+ r?.id === Tg && (r.id = Mm), Gg();
8996
8996
  }
8997
8997
  function Hg(e) {
8998
8998
  let t = (e) => {
8999
8999
  e.typesetRoot && cg(e.typesetRoot);
9000
9000
  };
9001
- e?.addRenderAction?.("pie-name-math", Dg, (e) => {
9001
+ e?.addRenderAction?.("pie-name-math", jg, (e) => {
9002
9002
  for (let n of e.math ?? []) t(n);
9003
9003
  return !1;
9004
9004
  }, (e) => (t(e), !1));
@@ -9007,7 +9007,7 @@ function Ug(e) {
9007
9007
  return e instanceof HTMLStyleElement && Nm.includes(e.id);
9008
9008
  }
9009
9009
  function Wg(e) {
9010
- pg("foreign-output-stylesheet", `another MathJax added <style id="${e.id}"> to <head>`);
9010
+ Sg("foreign-output-stylesheet", `another MathJax added <style id="${e.id}"> to <head>`);
9011
9011
  }
9012
9012
  function Gg() {
9013
9013
  let e = document.head, t = [...e.children].find(Ug);
@@ -9029,7 +9029,7 @@ function Gg() {
9029
9029
  function Kg(e) {
9030
9030
  let t = e?.math;
9031
9031
  if (!t?.remove) return;
9032
- let n = [...t].filter((e) => (e.state?.() ?? 0) >= Tg && e.typesetRoot?.isConnected === !1);
9032
+ let n = [...t].filter((e) => (e.state?.() ?? 0) >= kg && e.typesetRoot?.isConnected === !1);
9033
9033
  if (n.length !== 0) {
9034
9034
  for (let e of [...n].reverse()) e.clear?.();
9035
9035
  t.remove(...n);
@@ -9057,8 +9057,8 @@ function Yg(e) {
9057
9057
  });
9058
9058
  }
9059
9059
  function Xg(e) {
9060
- let t = Om, n = t[bg];
9061
- return n || (n = Yg(e), t[bg] = n), n;
9060
+ let t = Om, n = t[wg];
9061
+ return n || (n = Yg(e), t[wg] = n), n;
9062
9062
  }
9063
9063
  function Zg(e = {}) {
9064
9064
  let t = e.useSingleDollar ?? !1;
@@ -9079,7 +9079,7 @@ function Zg(e = {}) {
9079
9079
  } catch (e) {
9080
9080
  throw i.typesetClear?.([n]), e;
9081
9081
  }
9082
- Og(n), lg(n);
9082
+ Mg(n), lg(n);
9083
9083
  }
9084
9084
  };
9085
9085
  }
@@ -9130,7 +9130,7 @@ var u_ = async (e) => {
9130
9130
  let n = o_()?.wrapMath?.(e, t);
9131
9131
  if (n != null) return n;
9132
9132
  let [r, i] = t === "dollar" || t === "double_dollar" ? ["$", "$"] : ["\\(", "\\)"];
9133
- return `${r}${kg(e)}${i}`;
9133
+ return `${r}${hg(e)}${i}`;
9134
9134
  }, f_ = (e) => {
9135
9135
  let t = e.trim();
9136
9136
  return t.startsWith("\\[") && t.endsWith("\\]") ? {
@@ -13458,4 +13458,4 @@ var Vb = {
13458
13458
  //#endregion
13459
13459
  export { ef as $, gm as A, On as At, Xf as B, P_ as C, Mi as Ct, f_ as D, Br as Dt, d_ as E, ei as Et, Cp as F, D as Ft, Rf as G, Jf as H, dp as I, E as It, Ef as J, Of as K, ep as L, y as Lt, um as M, en as Mt, Xp as N, Rt as Nt, Cm as O, zr as Ot, wp as P, zt as Pt, ff as Q, Qf as R, C as Rt, R_ as S, aa as St, u_ as T, di as Tt, Q as U, Yf as V, Hf as W, yf as X, Sf as Y, pf as Z, Sv as _, yo as _t, ky as a, xd as at, cv as b, ho as bt, py as c, vd as ct, Wv as d, md as dt, $d as et, Vv as f, fd as ft, Cv as g, q as gt, wv as h, Eo as ht, Ay as i, Sd as it, Zp as j, fn as jt, Sm as k, H as kt, ly as l, _d as lt, Pv as m, jo as mt, Ry as n, Pd as nt, Oy as o, bd as ot, Iv as p, zu as pt, Df as q, jy as r, kd as rt, Dy as s, yd as st, Vb as t, Fd as tt, cy as u, gd as ut, vv as v, vo as vt, __ as w, wi as wt, X_ as x, ca as xt, uv as y, _o as yt, Zf as z, S as zt };
13460
13460
 
13461
- //# sourceMappingURL=dist-B2tfc8EF.js.map
13461
+ //# sourceMappingURL=dist-Dqovznws.js.map