@pie-element/graphing-solution-set 7.0.1-next.20261005075357 → 7.0.1-next.20261005182602

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/browser/{alert-dialog-KTUFEhIj.js → alert-dialog-ByTtwRX7.js} +122 -121
  2. package/dist/browser/alert-dialog-ByTtwRX7.js.map +1 -0
  3. package/dist/browser/author/index.js +781 -780
  4. package/dist/browser/author/index.js.map +1 -1
  5. package/dist/browser/{browser-bbrzkX59.js → browser-D6SETh7_.js} +60 -44
  6. package/dist/browser/browser-D6SETh7_.js.map +1 -0
  7. package/dist/browser/controller/index.js +33 -33
  8. package/dist/browser/delivery/index.js +166 -166
  9. package/dist/browser/delivery/index.js.map +1 -1
  10. package/dist/browser/editor-runtime/{alert-dialog-DavHLkZW.js → alert-dialog-BosHJVrz.js} +112 -111
  11. package/dist/browser/editor-runtime/alert-dialog-BosHJVrz.js.map +1 -0
  12. package/dist/browser/editor-runtime/author/index.js +781 -780
  13. package/dist/browser/editor-runtime/author/index.js.map +1 -1
  14. package/dist/browser/editor-runtime/{browser-d5JHIrvC.js → browser-T4v8yQYK.js} +60 -44
  15. package/dist/browser/editor-runtime/browser-T4v8yQYK.js.map +1 -0
  16. package/dist/browser/editor-runtime/controller/index.js +33 -33
  17. package/dist/browser/editor-runtime/delivery/index.js +166 -166
  18. package/dist/browser/editor-runtime/delivery/index.js.map +1 -1
  19. package/dist/browser/editor-runtime/{mathjax-D2JHb_R_-CNSN6-xM.js → mathjax-D2JHb_R_-CzZ0NmmT.js} +2 -2
  20. package/dist/browser/editor-runtime/{mathjax-D2JHb_R_-CNSN6-xM.js.map → mathjax-D2JHb_R_-CzZ0NmmT.js.map} +1 -1
  21. package/dist/browser/{mathjax-D2JHb_R_-CWwd1xT4.js → mathjax-D2JHb_R_-DWnKBKhZ.js} +2 -2
  22. package/dist/browser/{mathjax-D2JHb_R_-CWwd1xT4.js.map → mathjax-D2JHb_R_-DWnKBKhZ.js.map} +1 -1
  23. package/dist/index.iife.js +73 -73
  24. package/package.json +7 -7
  25. package/dist/browser/alert-dialog-KTUFEhIj.js.map +0 -1
  26. package/dist/browser/browser-bbrzkX59.js.map +0 -1
  27. package/dist/browser/editor-runtime/alert-dialog-DavHLkZW.js.map +0 -1
  28. package/dist/browser/editor-runtime/browser-d5JHIrvC.js.map +0 -1
@@ -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 { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, i as d, l as f, m as p, n as m, r as h, t as g, u as _, v, w as y, x as b, y as x } from "./browser-bbrzkX59.js";
19
+ import { C as e, E as t, S as n, T as r, _ as i, a, c as o, d as s, f as c, h as l, i as u, l as d, m as f, n as p, o as m, p as h, s as g, t as _, u as v, v as y, w as b, y as x } from "./browser-D6SETh7_.js";
20
20
  import * as S from "react";
21
21
  import C, { Children as w, Component as T, cloneElement as E, createContext as D, createElement as O, createRef as k, forwardRef as A, isValidElement as j, memo as M, useCallback as N, useContext as ee, useDebugValue as te, useEffect as P, useLayoutEffect as ne, useMemo as re, useRef as ie, useState as ae, version as oe } from "react";
22
22
  import { Fragment as se, jsx as F, jsxs as I } from "react/jsx-runtime";
@@ -27,7 +27,7 @@ var de;
27
27
  function fe() {
28
28
  return de;
29
29
  }
30
- var pe = import("./mathjax-D2JHb_R_-CWwd1xT4.js");
30
+ var pe = import("./mathjax-D2JHb_R_-DWnKBKhZ.js");
31
31
  pe.catch(() => {});
32
32
  async function me(e, t) {
33
33
  let { createMathJax: n } = await pe;
@@ -4584,7 +4584,7 @@ function xl(e, t) {
4584
4584
  return parseFloat(Number(l).toFixed(4));
4585
4585
  }
4586
4586
  var Sl = (e, t, n) => {
4587
- let r = c(e, t, n);
4587
+ let r = v(e, t, n);
4588
4588
  return r.splice(r.length, 1, t), r;
4589
4589
  };
4590
4590
  function Cl(e, t, n, r) {
@@ -4601,13 +4601,13 @@ function Tee(e, t, n, r) {
4601
4601
  }));
4602
4602
  }
4603
4603
  var Eee = (e) => {
4604
- let t = d(e), n = {
4604
+ let t = f(e), n = {
4605
4605
  left: t.x,
4606
4606
  top: t.y,
4607
4607
  bottom: t.y,
4608
4608
  right: t.x
4609
4609
  };
4610
- return l(e).reduce((e, t) => (e.left = Math.min(e.left, t.x), e.top = Math.max(e.top, t.y), e.bottom = Math.min(e.bottom, t.y), e.right = Math.max(e.right, t.x), e), n);
4610
+ return c(e).reduce((e, t) => (e.left = Math.min(e.left, t.x), e.top = Math.max(e.top, t.y), e.bottom = Math.min(e.bottom, t.y), e.right = Math.max(e.right, t.x), e), n);
4611
4611
  }, Dee = (e, t) => ({
4612
4612
  left: Math.min(e.x, t.x),
4613
4613
  top: Math.max(e.y, t.y),
@@ -4618,7 +4618,7 @@ var Eee = (e) => {
4618
4618
  right: Math.abs(e.right - t.max),
4619
4619
  top: Math.abs(e.top - n.max),
4620
4620
  bottom: n.min - e.bottom
4621
- }), wl = (e) => new hl(e.x, e.y), Tl = (e, t) => wl(t).sub(wl(e)), kee = (e, t) => `${t}-${e.label || "-"}`, Aee = (e, t) => h(e.domain, t.domain) && h(e.range, t.range), jee = (e) => (e || "").replace(/<[^>]+>/g, "").split(" ").sort((e, t) => t.length - e.length)[0].length, Mee = (e) => e ? e * 20 : 0, El = (e) => (new DOMParser()?.parseFromString(e, "text/html"))?.body?.textContent || "", Dl = (e) => e && Object.keys(e).length === 0 && e.constructor === Object, Ol = (e) => typeof e == "string" && e.trim() === "", kl = Object.defineProperty, Al = (e, t) => {
4621
+ }), wl = (e) => new hl(e.x, e.y), Tl = (e, t) => wl(t).sub(wl(e)), kee = (e, t) => `${t}-${e.label || "-"}`, Aee = (e, t) => m(e.domain, t.domain) && m(e.range, t.range), jee = (e) => (e || "").replace(/<[^>]+>/g, "").split(" ").sort((e, t) => t.length - e.length)[0].length, Mee = (e) => e ? e * 20 : 0, El = (e) => (new DOMParser()?.parseFromString(e, "text/html"))?.body?.textContent || "", Dl = (e) => e && Object.keys(e).length === 0 && e.constructor === Object, Ol = (e) => typeof e == "string" && e.trim() === "", kl = Object.defineProperty, Al = (e, t) => {
4622
4622
  let n = {};
4623
4623
  for (var r in e) kl(n, r, {
4624
4624
  get: e[r],
@@ -7039,7 +7039,7 @@ var Bp = (e) => {
7039
7039
  })
7040
7040
  })
7041
7041
  });
7042
- }), Wp = /* @__PURE__ */ t(g(), 1), Gp = /* @__PURE__ */ Al({
7042
+ }), Wp = /* @__PURE__ */ t(_(), 1), Gp = /* @__PURE__ */ Al({
7043
7043
  Correct: () => Zp,
7044
7044
  Incorrect: () => Qp,
7045
7045
  NothingSubmitted: () => em,
@@ -10330,6 +10330,7 @@ var $h = Qa("MuiButton", /* @__PURE__ */ "root.text.textInherit.textPrimary.text
10330
10330
  constructor(e) {
10331
10331
  super(e), this.classesSheet = document.createElement("style");
10332
10332
  }
10333
+ scopeClass = tm("extra-css-rules");
10333
10334
  computeStyle(e) {
10334
10335
  let t = (e) => parseFloat(getComputedStyle(e).fontSize), n = t(document.documentElement), r = t(document.body), i = Math.max(n, r), a = e != null && typeof e == "number" ? e : 1;
10335
10336
  return a === 1 ? null : { fontSize: `${i * a}px` };
@@ -10340,8 +10341,8 @@ var $h = Qa("MuiButton", /* @__PURE__ */ "root.text.textInherit.textPrimary.text
10340
10341
  injectFirst: !0,
10341
10342
  children: /* @__PURE__ */ I(Fc, {
10342
10343
  theme: _g,
10343
- children: [i?.rules ? /* @__PURE__ */ F("style", { dangerouslySetInnerHTML: { __html: `.extraCSSRules { ${i.rules} }` } }) : null, /* @__PURE__ */ F(vg, {
10344
- className: `${t} extraCSSRules`,
10344
+ children: [i?.rules ? /* @__PURE__ */ F("style", { dangerouslySetInnerHTML: { __html: `.${this.scopeClass} { ${i.rules} }` } }) : null, /* @__PURE__ */ F(vg, {
10345
+ className: `${t} extraCSSRules ${this.scopeClass}`,
10345
10346
  ...a,
10346
10347
  ...o && { style: o },
10347
10348
  children: e
@@ -11399,7 +11400,7 @@ var S_ = {
11399
11400
  }
11400
11401
  }
11401
11402
  }
11402
- }), A_ = /* @__PURE__ */ y({
11403
+ }), A_ = /* @__PURE__ */ b({
11403
11404
  Collapsible: () => _h,
11404
11405
  EnableAudioAutoplayImage: () => s_,
11405
11406
  Feedback: () => xd,
@@ -11452,8 +11453,8 @@ var S_ = {
11452
11453
  "blockquote"
11453
11454
  ].includes(e)), F_ = (e, t, n) => {
11454
11455
  j_("[buildPlugins] opts: ", n), e ||= P_;
11455
- let r = (t, n = !0) => e.includes(t) && n && t, i = n.image && n.image.delete, a = n.math, s = n.responseArea && n.responseArea.type, c = !f(n.extraCSSRules), l = n?.languageCharacters || [];
11456
- return o([
11456
+ let r = (t, n = !0) => e.includes(t) && n && t, i = n.image && n.image.delete, o = n.math, s = n.responseArea && n.responseArea.type, c = !a(n.extraCSSRules), l = n?.languageCharacters || [];
11457
+ return y([
11457
11458
  r("table"),
11458
11459
  r("bold"),
11459
11460
  r("italic"),
@@ -11464,7 +11465,7 @@ var S_ = {
11464
11465
  r("image", !!i),
11465
11466
  r("video"),
11466
11467
  r("audio"),
11467
- r("math", !!a),
11468
+ r("math", !!o),
11468
11469
  ...l.map((e) => r("languageCharacters", e)),
11469
11470
  r("text-align"),
11470
11471
  r("blockquote"),
@@ -26699,7 +26700,7 @@ var nI = (e, t, n, r) => {
26699
26700
  }), i.isDone = !0, e.view.dispatch(i);
26700
26701
  }, rI = (e, t, n) => {
26701
26702
  let { tr: r } = e.state;
26702
- r.setNodeMarkup(n.pos, void 0, _(t.attrs, ["value", "id"])), r.isDone = !0, e.view.dispatch(r);
26703
+ r.setNodeMarkup(n.pos, void 0, i(t.attrs, ["value", "id"])), r.isDone = !0, e.view.dispatch(r);
26703
26704
  }, iI = (e) => {
26704
26705
  let { editor: t, node: n, getPos: r, options: i, selected: a } = e, { attrs: o } = n, { inTable: s } = o, c = r();
26705
26706
  return /* @__PURE__ */ F(sP, {
@@ -26896,17 +26897,17 @@ var oI = Object.defineProperty, sI = (e, t) => {
26896
26897
  category: e
26897
26898
  }), hI = (e = []) => {
26898
26899
  let t = [];
26899
- i(5, () => t.push([]));
26900
- let n = e.length, r = 0, a = 0;
26901
- for (; a < n;) t[r++].push(e[a++]), r === 5 && (r = 0);
26900
+ x(5, () => t.push([]));
26901
+ let n = e.length, r = 0, i = 0;
26902
+ for (; i < n;) t[r++].push(e[i++]), r === 5 && (r = 0);
26902
26903
  return t;
26903
26904
  }, gI = (e) => (t) => {
26904
- let r = n(e), i = r.some((e) => e.latex === t.latex), a = r.some((e) => e.name === t.name);
26905
- return !i && !a;
26905
+ let n = u(e), r = n.some((e) => e.latex === t.latex), i = n.some((e) => e.name === t.name);
26906
+ return !r && !i;
26906
26907
  }, _I = (e = [], t = []) => {
26907
26908
  t = t.filter(gI(e));
26908
26909
  let n = [];
26909
- i(5 - e.length, () => e.push([])), i(5, () => n.push([]));
26910
+ x(5 - e.length, () => e.push([])), x(5, () => n.push([]));
26910
26911
  let r = hI(t);
26911
26912
  for (let t = 0; t < 5; t++) n[t] = [...e[t], ...r[t]];
26912
26913
  return n;
@@ -27324,7 +27325,7 @@ var oI = Object.defineProperty, sI = (e, t) => {
27324
27325
  7: "seven",
27325
27326
  8: "eight",
27326
27327
  9: "nine"
27327
- }, sR = i(10, String).map((e) => ({
27328
+ }, sR = x(10, String).map((e) => ({
27328
27329
  name: oR[e],
27329
27330
  write: e,
27330
27331
  label: e,
@@ -30667,7 +30668,7 @@ var LB = class extends C.Component {
30667
30668
  CommonMqStyles: () => HB,
30668
30669
  Input: () => jB,
30669
30670
  Static: () => LB
30670
- }), WB = (e) => (i(5 - e.length, () => e.push([])), v.apply(null, e)), GB = (0, Wp.default)("pie-lib:math-inline:keypad"), KB = z(LB)(({ latex: e }) => {
30671
+ }), WB = (e) => (x(5 - e.length, () => e.push([])), g.apply(null, e)), GB = (0, Wp.default)("pie-lib:math-inline:keypad"), KB = z(LB)(({ latex: e }) => {
30671
30672
  let t = {
30672
30673
  pointerEvents: "none",
30673
30674
  textTransform: "none !important",
@@ -30859,7 +30860,7 @@ var qB = (e) => e ? {
30859
30860
  let { onPress: t } = this.props;
30860
30861
  t(e);
30861
30862
  };
30862
- flowKeys = (e, t) => n([...WB(e), ...WB(t)]);
30863
+ flowKeys = (e, t) => u([...WB(e), ...WB(t)]);
30863
30864
  keyIsNotAllowed = (e) => {
30864
30865
  let { noDecimal: t } = this.props;
30865
30866
  return !!((e.write === "." && e.label === "." || e.write === "," && e.label === ",") && t);
@@ -33426,7 +33427,7 @@ var KH = (e, t) => {
33426
33427
  };
33427
33428
  shouldComponentUpdate(e, t) {
33428
33429
  let n = this.input.mathField.latex() !== e.latex;
33429
- return eU("[shouldComponentUpdate] ", "inputIsDifferent: ", n), !h(this.props.error, e.error) || !n && this.props.keypadMode !== e.keypadMode || !n && this.props.noDecimal !== e.noDecimal || !n && this.state.equationEditor !== t.equationEditor ? !0 : !n && this.props.controlledKeypad ? this.props.showKeypad !== e.showKeypad : n;
33430
+ return eU("[shouldComponentUpdate] ", "inputIsDifferent: ", n), !m(this.props.error, e.error) || !n && this.props.keypadMode !== e.keypadMode || !n && this.props.noDecimal !== e.noDecimal || !n && this.state.equationEditor !== t.equationEditor ? !0 : !n && this.props.controlledKeypad ? this.props.showKeypad !== e.showKeypad : n;
33430
33431
  }
33431
33432
  onEditorTypeChange = (e) => {
33432
33433
  this.setState({ equationEditor: e.target.value });
@@ -35257,7 +35258,7 @@ var RW = z(LW, { shouldForwardProp: (e) => e !== "hideProgress" })(({ hideProgre
35257
35258
  display: "none"
35258
35259
  })), UW = (e) => e ? `${e}px` : "calc(20px)";
35259
35260
  function WW(e) {
35260
- let { node: t, editor: n, attributes: r, onFocus: i, getPos: a, selected: o, options: s, maxImageWidth: c = 700, maxImageHeight: l = 900 } = e, { alt: u } = t.attrs, d = a(), f = n.state.selection.from, p = n.state.selection.to, m = re(() => f + t.nodeSize === p, [
35261
+ let { node: t, editor: n, attributes: r, onFocus: i, getPos: a, selected: o, options: s, maxImageWidth: c = 700, maxImageHeight: l = 900 } = e, { alt: u } = t.attrs, d = a(), f = n.state.selection.from, p = n.state.selection.to, h = re(() => f + t.nodeSize === p, [
35261
35262
  f,
35262
35263
  p,
35263
35264
  t.nodeSize
@@ -35291,9 +35292,9 @@ function WW(e) {
35291
35292
  pos: d
35292
35293
  };
35293
35294
  }, [t, d]), P(() => {
35294
- o ? m && n.isEditable && (!String(t.attrs?.src ?? "").trim() && s.imageHandling?.insertImageRequested && s.imageHandling.insertImageRequested(n, [t, d], (e) => new IU(n, [t, d], e)), _(o)) : _(o);
35295
+ o ? h && n.isEditable && (!String(t.attrs?.src ?? "").trim() && s.imageHandling?.insertImageRequested && s.imageHandling.insertImageRequested(n, [t, d], (e) => new IU(n, [t, d], e)), _(o)) : _(o);
35295
35296
  }, [
35296
- m,
35297
+ h,
35297
35298
  o,
35298
35299
  n.isEditable
35299
35300
  ]), P(() => {
@@ -35314,7 +35315,7 @@ function WW(e) {
35314
35315
  width: n,
35315
35316
  height: r
35316
35317
  };
35317
- h(i, {
35318
+ m(i, {
35318
35319
  width: t.attrs.width,
35319
35320
  height: t.attrs.height
35320
35321
  }) || w(i);
@@ -39999,19 +40000,19 @@ function UY({ editor: e, opts: t, onClose: n }) {
39999
40000
  left: 0
40000
40001
  }), [s, c] = ae(null);
40001
40002
  i.current = n;
40002
- let l = re(() => {
40003
+ let u = re(() => {
40003
40004
  if (!t) return xq;
40004
40005
  switch (!0) {
40005
40006
  case t.language === "spanish": return xq;
40006
40007
  case t.language === "special": return Sq;
40007
40008
  default: return t;
40008
40009
  }
40009
- }, [t]), u = re(() => l.characters.reduce((e, t) => (t.length >= e.columns && (e.columns = t.length), e), {
40010
- rows: l.characters.length,
40010
+ }, [t]), d = re(() => u.characters.reduce((e, t) => (t.length >= e.columns && (e.columns = t.length), e), {
40011
+ rows: u.characters.length,
40011
40012
  columns: 0
40012
- }), [l]), d = () => c(null);
40013
+ }), [u]), f = () => c(null);
40013
40014
  P(() => () => {
40014
- d();
40015
+ f();
40015
40016
  }, []), P(() => {
40016
40017
  if (!e) return;
40017
40018
  let t = e.options.element, n = e.view.dom, a = () => {
@@ -40038,7 +40039,7 @@ function UY({ editor: e, opts: t, onClose: n }) {
40038
40039
  clearTimeout(u), s !== null && cancelAnimationFrame(s), window.removeEventListener("scroll", c, !0), window.removeEventListener("resize", c), document.removeEventListener("click", l);
40039
40040
  };
40040
40041
  }, [e]);
40041
- let f = (e, t) => c({
40042
+ let p = (e, t) => c({
40042
40043
  anchorEl: e.currentTarget,
40043
40044
  el: t
40044
40045
  });
@@ -40062,11 +40063,11 @@ function UY({ editor: e, opts: t, onClose: n }) {
40062
40063
  hideInput: !0,
40063
40064
  noLatexHandling: !0,
40064
40065
  hideDoneButtonBackground: !0,
40065
- layoutForKeyPad: u,
40066
- additionalKeys: l.characters.reduce((e, t) => (e = [...e, ...t.map((e) => ({
40067
- name: b(e, "name") || e,
40068
- write: b(e, "write") || e,
40069
- label: b(e, "label") || e,
40066
+ layoutForKeyPad: d,
40067
+ additionalKeys: u.characters.reduce((e, t) => (e = [...e, ...t.map((e) => ({
40068
+ name: l(e, "name") || e,
40069
+ write: l(e, "write") || e,
40070
+ label: l(e, "label") || e,
40070
40071
  category: "character",
40071
40072
  extraClass: "character",
40072
40073
  extraProps: {
@@ -40076,9 +40077,9 @@ function UY({ editor: e, opts: t, onClose: n }) {
40076
40077
  border: "1px solid #000"
40077
40078
  }
40078
40079
  },
40079
- ...l.hasPreview ? { actions: {
40080
- onMouseEnter: (t) => f(t, e),
40081
- onMouseLeave: d
40080
+ ...u.hasPreview ? { actions: {
40081
+ onMouseEnter: (t) => p(t, e),
40082
+ onMouseLeave: f
40082
40083
  } } : {}
40083
40084
  }))], e), []),
40084
40085
  keypadMode: "language",
@@ -40088,7 +40089,7 @@ function UY({ editor: e, opts: t, onClose: n }) {
40088
40089
  onDone: n
40089
40090
  }) })
40090
40091
  }), document.body), s && le.createPortal(/* @__PURE__ */ I(VY, {
40091
- onClose: d,
40092
+ onClose: f,
40092
40093
  anchorEl: s.anchorEl,
40093
40094
  children: [
40094
40095
  /* @__PURE__ */ F("div", { children: s.el.label }),
@@ -43884,27 +43885,27 @@ var F1 = Uk.create({
43884
43885
  ...t && { "aria-label": t },
43885
43886
  ...n && { "aria-labelledby": n }
43886
43887
  }), o0 = ["aria-label", "aria-labelledby"], s0 = (e) => {
43887
- let { showParagraphs: t, separateParagraphs: n } = e.pluginProps || {}, [r, i] = ae([]), [a, o] = ae(!1), { toolbarOpts: s } = e, c = N((e) => {
43888
- i((t) => {
43888
+ let { showParagraphs: t, separateParagraphs: r } = e.pluginProps || {}, [i, a] = ae([]), [o, s] = ae(!1), { toolbarOpts: c } = e, l = N((e) => {
43889
+ a((t) => {
43889
43890
  let n = t.filter((t) => t.pos !== e);
43890
- return n.length === 0 && o(!1), n;
43891
+ return n.length === 0 && s(!1), n;
43891
43892
  });
43892
- }, [i]), l = {
43893
+ }, [a]), u = {
43893
43894
  ...e0,
43894
- ...s
43895
- }, u = N((t) => {
43895
+ ...c
43896
+ }, d = N((t) => {
43896
43897
  let n = t.getHTML();
43897
- e.markup !== n && e.onChange?.(n), l.doneOn === "blur" && e.onDone?.(n);
43898
+ e.markup !== n && e.onChange?.(n), u.doneOn === "blur" && e.onDone?.(n);
43898
43899
  }, [
43899
43900
  e.markup,
43900
43901
  e.onChange,
43901
43902
  e.onDone,
43902
- l.doneOn
43903
- ]), d = re(() => ({
43903
+ u.doneOn
43904
+ ]), f = re(() => ({
43904
43905
  ...t0,
43905
43906
  ...e.responseAreaProps,
43906
- onInlineDropdownToolbarClose: u
43907
- }), [e.responseAreaProps, u]), f = re(() => {
43907
+ onInlineDropdownToolbarClose: d
43908
+ }), [e.responseAreaProps, d]), p = re(() => {
43908
43909
  let { customPlugins: t, ...n } = e.pluginProps || {};
43909
43910
  t ||= [];
43910
43911
  let r = (e.activePlugins || n0)?.filter((e) => {
@@ -43919,16 +43920,16 @@ var F1 = Uk.create({
43919
43920
  image: { ...e.imageSupport },
43920
43921
  toolbar: {},
43921
43922
  table: {},
43922
- responseArea: { type: d.type },
43923
+ responseArea: { type: f.type },
43923
43924
  languageCharacters: e.languageCharactersProps,
43924
43925
  keyPadCharacterRef: {},
43925
43926
  setKeypadInteraction: {},
43926
43927
  media: {}
43927
43928
  });
43928
- }, [e, d.type]), m = ie(null);
43929
+ }, [e, f.type]), m = ie(null);
43929
43930
  m.current = {
43930
43931
  plainText: e.pluginProps?.pasteFormatting?.disabled === !0,
43931
- formatting: f.map((e) => r0[e]).filter(Boolean)
43932
+ formatting: p.map((e) => r0[e]).filter(Boolean)
43932
43933
  };
43933
43934
  let h = [
43934
43935
  X1.configure({
@@ -43981,44 +43982,44 @@ var F1 = Uk.create({
43981
43982
  rM,
43982
43983
  bM,
43983
43984
  yM,
43984
- fV.configure(d),
43985
- pV.configure(d),
43986
- hV.configure(d),
43987
- gV.configure(d),
43988
- mV.configure(d),
43985
+ fV.configure(f),
43986
+ pV.configure(f),
43987
+ hV.configure(f),
43988
+ gV.configure(f),
43989
+ mV.configure(f),
43989
43990
  jU.configure({
43990
- toolbarOpts: l,
43991
+ toolbarOpts: u,
43991
43992
  math: e.pluginProps?.math || {}
43992
43993
  }),
43993
43994
  Y1,
43994
43995
  J1,
43995
43996
  Q1,
43996
43997
  GW.configure({
43997
- toolbarOpts: l,
43998
+ toolbarOpts: u,
43998
43999
  imageHandling: {
43999
44000
  disableImageAlignmentButtons: e.disableImageAlignmentButtons,
44000
44001
  onDone: (t) => e.onDone?.(t.getHTML()),
44001
44002
  onDelete: e.imageSupport && e.imageSupport.delete && ((t) => {
44002
44003
  let { src: n } = t.attrs;
44003
44004
  e.imageSupport.delete(n, (e) => {
44004
- c(t.pos);
44005
+ l(t.pos);
44005
44006
  });
44006
44007
  }),
44007
- insertImageRequested: e.imageSupport && ((t, n, r) => {
44008
- let [o, s] = n, l = (n) => {
44008
+ insertImageRequested: e.imageSupport && ((t, r, i) => {
44009
+ let [s, c] = r, u = (n) => {
44009
44010
  let r;
44010
- a && n && (r = e.onChange), c(s), r?.(t.getHTML());
44011
+ o && n && (r = e.onChange), l(c), r?.(t.getHTML());
44011
44012
  };
44012
- t._insertingImage = !0, i((e) => [...e, o]), (() => {
44013
- let n = r(l), i = p(() => {
44014
- let e = () => window.removeEventListener("focus", i);
44013
+ t._insertingImage = !0, a((e) => [...e, s]), (() => {
44014
+ let r = i(u), a = n(() => {
44015
+ let e = () => window.removeEventListener("focus", a);
44015
44016
  if (!t._insertingImage) {
44016
44017
  e();
44017
44018
  return;
44018
44019
  }
44019
- c(s), t._insertingImage = !1, e();
44020
+ l(c), t._insertingImage = !1, e();
44020
44021
  }, 500);
44021
- window.addEventListener("focus", i), e.imageSupport.add(n);
44022
+ window.addEventListener("focus", a), e.imageSupport.add(r);
44022
44023
  })();
44023
44024
  }),
44024
44025
  maxImageWidth: e.maxImageWidth,
@@ -44043,7 +44044,7 @@ var F1 = Uk.create({
44043
44044
  n.isDone && e.onChange?.(t.getHTML());
44044
44045
  },
44045
44046
  onBlur: ({ editor: e }) => {
44046
- e._insertingImage || e._toolbarOpened || e.isActive("inline_dropdown") || e.isActive("explicit_constructed_response") || !e.schema || u(e);
44047
+ e._insertingImage || e._toolbarOpened || e.isActive("inline_dropdown") || e.isActive("explicit_constructed_response") || !e.schema || d(e);
44047
44048
  }
44048
44049
  }, [e.charactersLimit]);
44049
44050
  P(() => {
@@ -44092,8 +44093,8 @@ var F1 = Uk.create({
44092
44093
  }, [e]);
44093
44094
  return /* @__PURE__ */ F(hX, {
44094
44095
  ...e,
44095
- activePlugins: f,
44096
- toolbarOpts: l,
44096
+ activePlugins: p,
44097
+ toolbarOpts: u,
44097
44098
  editorState: b,
44098
44099
  editor: y,
44099
44100
  children: y && /* @__PURE__ */ F(c0, {
@@ -44103,7 +44104,7 @@ var F1 = Uk.create({
44103
44104
  maxHeight: x.maxHeight
44104
44105
  },
44105
44106
  showParagraph: t && !t.disabled,
44106
- separateParagraph: n && !n.disabled,
44107
+ separateParagraph: r && !r.disabled,
44107
44108
  editor: y
44108
44109
  })
44109
44110
  });
@@ -45753,7 +45754,7 @@ M3.displayName = "Draggable", M3.propTypes = {
45753
45754
  var N3 = /* @__PURE__ */ tl(ml(), 1), P3 = (0, Wp.default)("pie-lib:plot:grid-draggable"), F3 = (e, t, n) => (r) => {
45754
45755
  let i = r + e(0);
45755
45756
  return t(n + e.invert(i)).toFixed(4) * 1e3 / 1e3;
45756
- }, I3 = (e) => (t) => ((0, N3.default)(!!e && s(e.fromDelta) && s(e.bounds) && s(e.anchorPoint), "You must supply an object with: { anchorPoint: Function, fromDelta: Function, bounds: Function }"), class extends C.Component {
45757
+ }, I3 = (e) => (t) => ((0, N3.default)(!!e && o(e.fromDelta) && o(e.bounds) && o(e.anchorPoint), "You must supply an object with: { anchorPoint: Function, fromDelta: Function, bounds: Function }"), class extends C.Component {
45757
45758
  static propTypes = {
45758
45759
  disabled: B.default.bool,
45759
45760
  onDragStart: B.default.func,
@@ -46842,16 +46843,16 @@ var i5 = gl.bounds, a5 = gl.point, o5 = () => 0, s5 = () => 0, c5 = (e) => {
46842
46843
  for (; n >= e.min && t.indexOf(n) < 0;) t.push(n), n = Math.round((n - e.step) * 1e4) / 1e4;
46843
46844
  for (n = Math.round(e.step * 1e4) / 1e4; n <= e.max && t.indexOf(n) < 0;) t.push(n), n = Math.round((n + e.step) * 1e4) / 1e4;
46844
46845
  return t ? t.filter((t) => t >= e.min && t <= e.max) : [];
46845
- }, l5 = (e) => e == null || f(e) ? 1 : e.split(" ").length, u5 = (e) => (e || "").replace(/<[^>]+>/g, "").split(" ").sort((e, t) => t.length - e.length)[0].length, d5 = (e) => e ? e * 10 : 0, f5 = (e) => {
46846
- let t = d(e), n = {
46846
+ }, l5 = (e) => e == null || a(e) ? 1 : e.split(" ").length, u5 = (e) => (e || "").replace(/<[^>]+>/g, "").split(" ").sort((e, t) => t.length - e.length)[0].length, d5 = (e) => e ? e * 10 : 0, f5 = (e) => {
46847
+ let t = f(e), n = {
46847
46848
  left: t.x,
46848
46849
  top: t.y,
46849
46850
  bottom: t.y,
46850
46851
  right: t.x
46851
46852
  };
46852
- return l(e).reduce((e, t) => (e.left = Math.min(e.left, t.x), e.top = Math.max(e.top, t.y), e.bottom = Math.min(e.bottom, t.y), e.right = Math.max(e.right, t.x), e), n);
46853
+ return c(e).reduce((e, t) => (e.left = Math.min(e.left, t.x), e.top = Math.max(e.top, t.y), e.bottom = Math.min(e.bottom, t.y), e.right = Math.max(e.right, t.x), e), n);
46853
46854
  }, p5 = (e) => {
46854
- let t = u(e);
46855
+ let t = d(e);
46855
46856
  return t.sort((e, t) => t.x - e.x), {
46856
46857
  a: t[0],
46857
46858
  b: t[1]
@@ -46859,7 +46860,7 @@ var i5 = gl.bounds, a5 = gl.point, o5 = () => 0, s5 = () => 0, c5 = (e) => {
46859
46860
  }, m5 = (e, t) => ({
46860
46861
  x: (e.x + t.x) / 2,
46861
46862
  y: (e.y + t.y) / 2
46862
- }), h5 = (e) => parseFloat(e.toFixed(4)), g5 = (e, t) => e && t && (h5(e.x) === h5(t.x) || h5(e.y) === h5(t.y)), _5 = (e, t) => e && t && h({
46863
+ }), h5 = (e) => parseFloat(e.toFixed(4)), g5 = (e, t) => e && t && (h5(e.x) === h5(t.x) || h5(e.y) === h5(t.y)), _5 = (e, t) => e && t && m({
46863
46864
  x: h5(e.x),
46864
46865
  y: h5(e.y)
46865
46866
  }, {
@@ -46886,12 +46887,12 @@ var i5 = gl.bounds, a5 = gl.point, o5 = () => 0, s5 = () => 0, c5 = (e) => {
46886
46887
  }, x5 = (e) => (e || []).sort((e, t) => e.x - t.x || e.y - t.y), S5 = (e, t, n) => (e.x - t.x) * (n.y - t.y) === (n.x - t.x) * (e.y - t.y), C5 = (e, t) => S5(e.from, t.from, t.to) && S5(e.to, t.from, t.to), w5 = (e, t, n) => {
46887
46888
  let { type: r, building: i } = e;
46888
46889
  if (i) return !1;
46889
- let a = (t || []).filter((e) => e.type === r && !e.building), o = a.findIndex((e) => h(e, n));
46890
+ let a = (t || []).filter((e) => e.type === r && !e.building), o = a.findIndex((e) => m(e, n));
46890
46891
  return o !== -1 && a.splice(o, 1), !!a.find((t) => {
46891
46892
  if (r === "line") {
46892
46893
  let { from: n, to: i } = e;
46893
46894
  return _5(n, t.from) && _5(i, t.to) || _5(n, t.to) && _5(i, t.from) || r === "line" && C5(t, e);
46894
- } else if (r === "polygon") return h(x5(u(e.points)), x5(u(t.points)));
46895
+ } else if (r === "polygon") return m(x5(d(e.points)), x5(d(t.points)));
46895
46896
  });
46896
46897
  }, T5 = (e, t) => {
46897
46898
  if (e.length !== t.length) return !1;
@@ -48794,9 +48795,9 @@ var Ene = class extends C.Component {
48794
48795
  ariaDescription: `${o(t, "x")} ${o(n, "y")} ${c}`
48795
48796
  };
48796
48797
  }, Ane = ({ marks: e, currentTool: t }) => {
48797
- let n = e.filter((e) => e.building)[0], r = u(e);
48798
+ let n = e.filter((e) => e.building)[0], r = d(e);
48798
48799
  if (n && t && n.type !== t.type) {
48799
- let e = r.findIndex((e) => h(e, n));
48800
+ let e = r.findIndex((e) => m(e, n));
48800
48801
  e >= 0 && r.splice(e, 1);
48801
48802
  }
48802
48803
  return r;
@@ -48821,7 +48822,7 @@ var Ene = class extends C.Component {
48821
48822
  changeMark = (e, t) => {
48822
48823
  let { onChangeMarks: n, marks: r, gssLineData: i } = this.props;
48823
48824
  if (i?.selectedTool === "solutionSet") return;
48824
- let a = u(r), o = a.findIndex((t) => h(t, e));
48825
+ let a = d(r), o = a.findIndex((t) => m(t, e));
48825
48826
  o >= 0 && !w5(t, r, e) && (a.splice(o, 1, t), n(a));
48826
48827
  };
48827
48828
  completeMark = (e) => {
@@ -48831,9 +48832,9 @@ var Ene = class extends C.Component {
48831
48832
  this.updateMarks(r, i);
48832
48833
  };
48833
48834
  updateMarks = (e, t, n = !1) => {
48834
- let { onChangeMarks: r, marks: i } = this.props, a = u(i);
48835
+ let { onChangeMarks: r, marks: i } = this.props, a = d(i);
48835
48836
  if (!t || !t.building && w5(t, i)) return;
48836
- let o = a.findIndex((t) => h(t, e));
48837
+ let o = a.findIndex((t) => m(t, e));
48837
48838
  o >= 0 ? (a.splice(o, 1, t), r(a)) : n && r([...a, t]);
48838
48839
  };
48839
48840
  getComponent = (e) => {
@@ -50056,7 +50057,7 @@ e9.propTypes = {
50056
50057
  };
50057
50058
  //#endregion
50058
50059
  //#region ../../lib-react/graphing-solution-set/dist/tools/polygon/component.js
50059
- var bre = /* @__PURE__ */ Wc(Gc(), 1), t9 = (0, Wp.default)("pie-lib:graphing-solution-set:polygon"), xre = (e, ...t) => x(t, 2).reduce((e, t) => {
50060
+ var bre = /* @__PURE__ */ Wc(Gc(), 1), t9 = (0, Wp.default)("pie-lib:graphing-solution-set:polygon"), xre = (e, ...t) => s(t, 2).reduce((e, t) => {
50060
50061
  if (t.length === 2) {
50061
50062
  let [n, r] = t;
50062
50063
  (0, bre.default)(Number.isFinite(n.index), "Index must be defined");
@@ -50110,9 +50111,9 @@ var bre = /* @__PURE__ */ Wc(Gc(), 1), t9 = (0, Wp.default)("pie-lib:graphing-so
50110
50111
  };
50111
50112
  labelChange = (e, t) => {
50112
50113
  let { points: n, onChangeProps: r } = this.props, i = { ...e };
50113
- (!e.label || f(e.label)) && delete i.label;
50114
- let a = [...n];
50115
- a.splice(t, 1, i), r(a);
50114
+ (!e.label || a(e.label)) && delete i.label;
50115
+ let o = [...n];
50116
+ o.splice(t, 1, i), r(o);
50116
50117
  };
50117
50118
  clickPoint = (e, t, n) => {
50118
50119
  let { closed: r, disabled: i, onClick: a, isToolActive: o, labelModeEnabled: s, onChangeProps: c, onChangeLabelProps: l, points: u } = this.props;
@@ -50420,7 +50421,7 @@ var Ore = z("g")(({ disabled: e, correctness: t }) => ({
50420
50421
  };
50421
50422
  render() {
50422
50423
  let { classes: e, className: t, x: n, y: r, disabled: i, correctness: a, graphProps: o, from: s, to: c, ...l } = this.props, { scale: u } = o, d = o5(s.x, s.y, c.x, c.y), f = "";
50423
- return f = h(s, c) ? "0,0 0,0 0,0" : `0,0 ${s5.vector},${s5.vector * 2}
50424
+ return f = m(s, c) ? "0,0 0,0 0,0" : `0,0 ${s5.vector},${s5.vector * 2}
50424
50425
  -${s5.vector},${s5.vector * 2}`, /* @__PURE__ */ F("g", {
50425
50426
  className: C7(e.point, i && e.disabled, e[a], t),
50426
50427
  ...l,
@@ -50554,7 +50555,7 @@ var Nre = (e, t) => () => ({
50554
50555
  let { onChange: e, mark: t } = this.props, n = { ...this.state.mark };
50555
50556
  this.setState({ mark: void 0 }, () => {
50556
50557
  let { type: r } = n, i = r && (r === "parabola" || r === "sine" || r === "absolute" || r === "exponential") && g5(n.from, n.to);
50557
- !i && r && r === "exponential" && n.from && n.to && (i = n.from.y === 0 || n.to.y === 0 || n.from.y * n.to.y < 0), !h(t, n) && !i && e(t, n);
50558
+ !i && r && r === "exponential" && n.from && n.to && (i = n.from.y === 0 || n.to.y === 0 || n.from.y * n.to.y < 0), !m(t, n) && !i && e(t, n);
50558
50559
  });
50559
50560
  };
50560
50561
  changeMark = ({ from: e, to: t, middle: n }) => {
@@ -50582,16 +50583,16 @@ var Nre = (e, t) => () => ({
50582
50583
  }), n && (a = {
50583
50584
  ...a,
50584
50585
  middle: n
50585
- }), h(i, a) || r(i, a);
50586
+ }), m(i, a) || r(i, a);
50586
50587
  };
50587
50588
  render() {
50588
- let { graphProps: t, onClick: n, labelNode: r, labelModeEnabled: i, coordinatesOnHover: a, gssLineData: o, language: s } = this.props, c = this.state.mark ? this.state.mark : this.props.mark, l = u(c.from), d = u(c.to), f = u(c.middle);
50589
- return l && c.isBackground && (l.disabled = !0), d && c.isBackground && (d.disabled = !0), f && c.isBackground && (f.disabled = !0), /* @__PURE__ */ F(e, {
50589
+ let { graphProps: t, onClick: n, labelNode: r, labelModeEnabled: i, coordinatesOnHover: a, gssLineData: o, language: s } = this.props, c = this.state.mark ? this.state.mark : this.props.mark, l = d(c.from), u = d(c.to), f = d(c.middle);
50590
+ return l && c.isBackground && (l.disabled = !0), u && c.isBackground && (u.disabled = !0), f && c.isBackground && (f.disabled = !0), /* @__PURE__ */ F(e, {
50590
50591
  disabled: c.disabled,
50591
50592
  coordinatesOnHover: a,
50592
50593
  correctness: c.correctness,
50593
50594
  from: l,
50594
- to: d,
50595
+ to: u,
50595
50596
  middle: f,
50596
50597
  graphProps: t,
50597
50598
  fill: c && c.fill,
@@ -50624,7 +50625,7 @@ var Nre = (e, t) => () => ({
50624
50625
  }
50625
50626
  }), Ire = (e, t) => {
50626
50627
  let n = I3(Fre())(e), r = t && t.from ? t.from : s9, i = t && t.to ? t.to : s9;
50627
- class a extends C.Component {
50628
+ class o extends C.Component {
50628
50629
  static propTypes = {
50629
50630
  coordinatesOnHover: B.default.bool,
50630
50631
  graphProps: nl.GraphPropsType,
@@ -50679,7 +50680,7 @@ var Nre = (e, t) => () => ({
50679
50680
  };
50680
50681
  labelChange = (e, t) => {
50681
50682
  let { changeMarkProps: n } = this.props, r = { ...e };
50682
- (!e.label || f(e.label)) && delete r.label, n({ [t]: r });
50683
+ (!e.label || a(e.label)) && delete r.label, n({ [t]: r });
50683
50684
  };
50684
50685
  clickPoint = (e, t, n) => {
50685
50686
  let { changeMarkProps: r, disabled: i, from: a, to: o, labelModeEnabled: s, onClick: c } = this.props;
@@ -50807,7 +50808,7 @@ var Nre = (e, t) => () => ({
50807
50808
  ] });
50808
50809
  }
50809
50810
  }
50810
- return a;
50811
+ return o;
50811
50812
  }, c9 = {
50812
50813
  line: () => ({
50813
50814
  fill: "transparent",
@@ -51325,17 +51326,17 @@ var P9 = class extends C.Component {
51325
51326
  changeCurrentTool = (e, t) => this.setState({ currentTool: t.find((t) => t.type === e) });
51326
51327
  toggleLabelMode = () => this.setState((e) => ({ labelModeEnabled: !e.labelModeEnabled }));
51327
51328
  render() {
51328
- let { currentTool: e, labelModeEnabled: t } = this.state, { axesSettings: n, className: r, coordinatesOnHover: i, collapsibleToolbar: o, collapsibleToolbarTitle: s, disabled: c, disabledLabels: l, disabledTitle: u, domain: d, labels: f, labelsPlaceholders: p, onChangeLabels: h, onChangeMarks: g, onChangeTitle: _, onUndo: v, onRedo: y, range: b, size: x, showLabels: S, showPixelGuides: C, showTitle: w, title: T, titlePlaceholder: E, language: D, disableToolbar: O = !1, gssLineData: k, onChangeGssLineData: A, onSolutionSetSelected: j, onCustomReset: M } = this.props, { backgroundMarks: N, marks: ee, toolbarTools: te } = this.props;
51329
- te = m(te || []).filter((e) => !!a(e)) || [], N = cie(N || []), ee = lie(te, ee || []), k && k.lineA && ee[0] && ee[0].type === "line" && (ee[0].fill = k.lineA.lineType), k && k.lineB && ee[1] && ee[1].type === "line" && (ee[1].fill = k.lineB.lineType);
51329
+ let { currentTool: e, labelModeEnabled: t } = this.state, { axesSettings: n, className: r, coordinatesOnHover: i, collapsibleToolbar: a, collapsibleToolbarTitle: o, disabled: s, disabledLabels: c, disabledTitle: l, domain: u, labels: d, labelsPlaceholders: f, onChangeLabels: m, onChangeMarks: g, onChangeTitle: _, onUndo: v, onRedo: y, range: b, size: x, showLabels: S, showPixelGuides: C, showTitle: w, title: T, titlePlaceholder: E, language: D, disableToolbar: O = !1, gssLineData: k, onChangeGssLineData: A, onSolutionSetSelected: j, onCustomReset: M } = this.props, { backgroundMarks: N, marks: ee, toolbarTools: te } = this.props;
51330
+ te = p(te || []).filter((e) => !!h(e)) || [], N = cie(N || []), ee = lie(te, ee || []), k && k.lineA && ee[0] && ee[0].type === "line" && (ee[0].fill = k.lineA.lineType), k && k.lineB && ee[1] && ee[1].type === "line" && (ee[1].fill = k.lineB.lineType);
51330
51331
  let P = aie(te);
51331
51332
  (!e || !oie(P, e)) && (e = sie(P));
51332
51333
  let ne = k && /* @__PURE__ */ I(se, { children: [/* @__PURE__ */ F(sre, {
51333
51334
  numberOfLines: k.numberOfLines,
51334
51335
  gssLineData: k,
51335
51336
  onChange: A,
51336
- disabled: !!c,
51337
+ disabled: !!s,
51337
51338
  language: D
51338
- }), !c && /* @__PURE__ */ F(hie, { children: /* @__PURE__ */ F(iie, {
51339
+ }), !s && /* @__PURE__ */ F(hie, { children: /* @__PURE__ */ F(iie, {
51339
51340
  onUndo: v,
51340
51341
  onRedo: y,
51341
51342
  onReset: M,
@@ -51344,8 +51345,8 @@ var P9 = class extends C.Component {
51344
51345
  return /* @__PURE__ */ I(uie, {
51345
51346
  className: C7(r),
51346
51347
  children: [
51347
- !O && /* @__PURE__ */ F(die, { children: o ? /* @__PURE__ */ F(N9, {
51348
- title: s,
51348
+ !O && /* @__PURE__ */ F(die, { children: a ? /* @__PURE__ */ F(N9, {
51349
+ title: o,
51349
51350
  children: ne
51350
51351
  }) : ne }),
51351
51352
  /* @__PURE__ */ F("div", { ref: (e) => this.labelNode = e }),
@@ -51354,15 +51355,15 @@ var P9 = class extends C.Component {
51354
51355
  backgroundMarks: N,
51355
51356
  coordinatesOnHover: i,
51356
51357
  currentTool: e,
51357
- disabledLabels: l,
51358
- disabledTitle: u,
51359
- domain: d,
51360
- labels: f,
51358
+ disabledLabels: c,
51359
+ disabledTitle: l,
51360
+ domain: u,
51361
+ labels: d,
51361
51362
  labelModeEnabled: t,
51362
- labelsPlaceholders: p,
51363
+ labelsPlaceholders: f,
51363
51364
  marks: ee,
51364
- onChangeMarks: c ? void 0 : g,
51365
- onChangeLabels: h,
51365
+ onChangeMarks: s ? void 0 : g,
51366
+ onChangeLabels: m,
51366
51367
  onChangeTitle: _,
51367
51368
  range: b,
51368
51369
  size: x,
@@ -51374,7 +51375,7 @@ var P9 = class extends C.Component {
51374
51375
  tools: P,
51375
51376
  gssLineData: k,
51376
51377
  onSolutionSetSelected: j,
51377
- disabled: !!c,
51378
+ disabled: !!s,
51378
51379
  language: D
51379
51380
  })
51380
51381
  ]
@@ -51816,11 +51817,11 @@ var dae = uae, fae = lae((e) => ({ marks: e.marks.present }), (e) => ({
51816
51817
  }
51817
51818
  componentDidUpdate(e) {
51818
51819
  let { marks: t } = this.props;
51819
- h(this.store.getState().marks.present, t) || h(e.marks, t) || t && t.find((e) => e.correctness) || this.store.dispatch(A9(t));
51820
+ m(this.store.getState().marks.present, t) || m(e.marks, t) || t && t.find((e) => e.correctness) || this.store.dispatch(A9(t));
51820
51821
  }
51821
51822
  onStoreChange = () => {
51822
51823
  let { marks: e, onChangeMarks: t } = this.props, n = this.store.getState(), r = gie(), i = r.type.includes("UNDO") || r.type.includes("REDO");
51823
- h(n.marks.present, e) || t(n.marks.present, i);
51824
+ m(n.marks.present, e) || t(n.marks.present, i);
51824
51825
  };
51825
51826
  render() {
51826
51827
  let { onChangeMarks: e, marks: t, ...n } = this.props, r = t && t.find((e) => e.correctness);
@@ -51873,6 +51874,6 @@ $9.defaultProps = {
51873
51874
  disableRestoreFocus: B.default.bool
51874
51875
  };
51875
51876
  //#endregion
51876
- export { L as $, yg as A, Gf as B, e_ as C, Tg as D, Fg as E, Mp as F, Fc as G, Jd as H, Ap as I, Ec as J, z as K, Dp as L, _h as M, fh as N, wg as O, Fp as P, Za as Q, H as R, i_ as S, Gg as T, cd as U, mf as V, V as W, gs as X, ys as Y, Qa as Z, xH as _, U7 as a, A_ as b, R7 as c, bG as d, bi as et, hG as f, RH as g, WH as h, G7 as i, zh as j, Cg as k, L7 as l, YH as m, pae as n, rn as nt, V7 as o, eW as p, Ac as q, j9 as r, B7 as s, $9 as t, ln as tt, l0 as u, EV as v, $g as w, o_ as x, jM as y, Zf as z };
51877
+ export { Za as $, yg as A, Zf as B, e_ as C, Tg as D, Fg as E, Fp as F, V as G, mf as H, Mp as I, Ac as J, Fc as K, Ap as L, _h as M, fh as N, wg as O, tm as P, Qa as Q, Dp as R, i_ as S, Gg as T, Jd as U, Gf as V, cd as W, ys as X, Ec as Y, gs as Z, xH as _, U7 as a, A_ as b, R7 as c, bG as d, L as et, hG as f, RH as g, WH as h, G7 as i, zh as j, Cg as k, L7 as l, YH as m, pae as n, ln as nt, V7 as o, eW as p, z as q, j9 as r, rn as rt, B7 as s, $9 as t, bi as tt, l0 as u, EV as v, $g as w, o_ as x, jM as y, H as z };
51877
51878
 
51878
- //# sourceMappingURL=alert-dialog-KTUFEhIj.js.map
51879
+ //# sourceMappingURL=alert-dialog-ByTtwRX7.js.map