@pie-element/math-inline 12.1.1-next.38 → 12.1.1-next.41
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 +358 -357
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/delivery/index.js +1 -1
- package/dist/browser/{dist-DT_Fgcn-.js → dist-gqdwfIdp.js} +1598 -1597
- package/dist/browser/dist-gqdwfIdp.js.map +1 -0
- package/dist/browser/editor-runtime/author/index.js +10 -9
- package/dist/browser/editor-runtime/author/index.js.map +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +1 -1
- package/dist/browser/editor-runtime/{dist-DCgA-xxJ.js → dist-Dpdlv54W.js} +1598 -1597
- package/dist/browser/editor-runtime/dist-Dpdlv54W.js.map +1 -0
- package/dist/browser/editor-runtime/{main-1uulPtIY.js → main-BUVI2Mb9.js} +110 -110
- package/dist/browser/editor-runtime/{main-1uulPtIY.js.map → main-BUVI2Mb9.js.map} +1 -1
- package/dist/browser/editor-runtime/print/index.js +6 -4
- package/dist/browser/editor-runtime/print/index.js.map +1 -1
- package/dist/browser/{main-BFvc60UA.js → main-BO4lvRCJ.js} +110 -110
- package/dist/browser/{main-BFvc60UA.js.map → main-BO4lvRCJ.js.map} +1 -1
- package/dist/browser/print/index.js +6 -4
- package/dist/browser/print/index.js.map +1 -1
- package/dist/index.iife.js +30 -30
- package/dist/print/index.js +4 -2
- package/module/print.js +1932 -1929
- package/module/print.js.map +1 -1
- package/package.json +14 -14
- package/dist/browser/dist-DT_Fgcn-.js.map +0 -1
- package/dist/browser/editor-runtime/dist-DCgA-xxJ.js.map +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { _ as e, a as t, d as n, i as r, m as i, n as a, o, p as s, r as c, s as l, t as u, u as d, y as f } from "../dist--pvq7WNe.js";
|
|
2
|
-
import { $ as p, A as m, B as h, Ct as g, D as _, Dt as v, E as y, Et as b, F as x, G as S, H as C, I as w, J as T, K as E, N as ee, O as D, Ot as te, P as ne, Q as re, R as
|
|
2
|
+
import { $ as p, A as m, B as h, Ct as g, D as _, Dt as v, E as y, Et as b, F as x, G as S, H as C, I as w, J as T, K as E, N as ee, O as D, Ot as te, P as ne, Q as re, R as O, St as k, Tt as ie, U as ae, V as oe, W as se, X as ce, Y as le, Z as ue, _t as de, a as fe, at as pe, b as me, bt as he, c as ge, ct as _e, d as ve, dt as A, et as j, g as ye, gt as be, h as xe, ht as Se, i as Ce, it as we, j as Te, k as Ee, l as De, lt as Oe, m as ke, mt as M, n as Ae, nt as je, o as Me, ot as Ne, p as Pe, pt as Fe, q as N, r as Ie, rt as Le, s as Re, st as ze, t as Be, tt as Ve, u as He, v as Ue, vt as We, wt as P, x as Ge, xt as Ke, y as qe, yt as Je, z as Ye } from "../dist-gqdwfIdp.js";
|
|
3
3
|
import * as F from "react";
|
|
4
4
|
import I, { Component as Xe, createContext as Ze, createElement as Qe, createRef as $e, forwardRef as et, memo as tt, useCallback as nt, useContext as rt, useDebugValue as it, useEffect as L, useLayoutEffect as at, useMemo as ot, useRef as st, useState as ct, version as lt } from "react";
|
|
5
5
|
import { createRoot as ut } from "react-dom/client";
|
|
6
6
|
import { Fragment as dt, jsx as R, jsxs as z } from "react/jsx-runtime";
|
|
7
7
|
import ft, { flushSync as pt } from "react-dom";
|
|
8
8
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/utils/createChainedFunction.js
|
|
9
|
-
var mt =
|
|
9
|
+
var mt = ce;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/Typography/typographyClasses.js
|
|
12
12
|
function ht(e) {
|
|
13
13
|
return g("MuiTypography", e);
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
k("MuiTypography", [
|
|
16
16
|
"root",
|
|
17
17
|
"h1",
|
|
18
18
|
"h2",
|
|
@@ -48,7 +48,7 @@ var gt = {
|
|
|
48
48
|
textPrimary: !0,
|
|
49
49
|
textSecondary: !0,
|
|
50
50
|
textDisabled: !0
|
|
51
|
-
}, _t =
|
|
51
|
+
}, _t = _e(), vt = (e) => {
|
|
52
52
|
let { align: t, gutterBottom: n, noWrap: r, paragraph: i, variant: a, classes: o } = e;
|
|
53
53
|
return Je({ root: [
|
|
54
54
|
"root",
|
|
@@ -72,7 +72,7 @@ var gt = {
|
|
|
72
72
|
n.paragraph && t.paragraph
|
|
73
73
|
];
|
|
74
74
|
}
|
|
75
|
-
})(
|
|
75
|
+
})(j(({ theme: e }) => ({
|
|
76
76
|
margin: 0,
|
|
77
77
|
variants: [
|
|
78
78
|
{
|
|
@@ -278,7 +278,7 @@ var gt = {
|
|
|
278
278
|
function jt(e) {
|
|
279
279
|
return g("MuiAccordion", e);
|
|
280
280
|
}
|
|
281
|
-
var Mt =
|
|
281
|
+
var Mt = k("MuiAccordion", [
|
|
282
282
|
"root",
|
|
283
283
|
"heading",
|
|
284
284
|
"rounded",
|
|
@@ -311,7 +311,7 @@ var Mt = O("MuiAccordion", [
|
|
|
311
311
|
!n.disableGutters && t.gutters
|
|
312
312
|
];
|
|
313
313
|
}
|
|
314
|
-
})(
|
|
314
|
+
})(j(({ theme: e }) => {
|
|
315
315
|
let t = { duration: e.transitions.duration.shortest };
|
|
316
316
|
return {
|
|
317
317
|
position: "relative",
|
|
@@ -337,7 +337,7 @@ var Mt = O("MuiAccordion", [
|
|
|
337
337
|
},
|
|
338
338
|
[`&.${Mt.disabled}`]: { backgroundColor: (e.vars || e).palette.action.disabledBackground }
|
|
339
339
|
};
|
|
340
|
-
}),
|
|
340
|
+
}), j(({ theme: e }) => ({ variants: [{
|
|
341
341
|
props: (e) => !e.square,
|
|
342
342
|
style: {
|
|
343
343
|
borderRadius: 0,
|
|
@@ -367,7 +367,7 @@ var Mt = O("MuiAccordion", [
|
|
|
367
367
|
let n = ze({
|
|
368
368
|
props: e,
|
|
369
369
|
name: "MuiAccordion"
|
|
370
|
-
}), { children: r, className: i, defaultExpanded: a = !1, disabled: o = !1, disableGutters: s = !1, expanded: c, onChange: l, slots: u = {}, slotProps: d = {}, TransitionComponent: f, TransitionProps: m, ...g } = n, [_, v] =
|
|
370
|
+
}), { children: r, className: i, defaultExpanded: a = !1, disabled: o = !1, disableGutters: s = !1, expanded: c, onChange: l, slots: u = {}, slotProps: d = {}, TransitionComponent: f, TransitionProps: m, ...g } = n, [_, v] = ae({
|
|
371
371
|
controlled: c,
|
|
372
372
|
default: a,
|
|
373
373
|
name: "Accordion",
|
|
@@ -421,7 +421,7 @@ var Mt = O("MuiAccordion", [
|
|
|
421
421
|
elementType: h,
|
|
422
422
|
externalForwardedProps: T,
|
|
423
423
|
ownerState: C
|
|
424
|
-
}), [
|
|
424
|
+
}), [O, k] = p("region", {
|
|
425
425
|
elementType: It,
|
|
426
426
|
externalForwardedProps: T,
|
|
427
427
|
ownerState: C,
|
|
@@ -444,8 +444,8 @@ var Mt = O("MuiAccordion", [
|
|
|
444
444
|
in: _,
|
|
445
445
|
timeout: "auto",
|
|
446
446
|
...re,
|
|
447
|
-
children: /*#__PURE__*/ R(
|
|
448
|
-
...
|
|
447
|
+
children: /*#__PURE__*/ R(O, {
|
|
448
|
+
...k,
|
|
449
449
|
children: x
|
|
450
450
|
})
|
|
451
451
|
})]
|
|
@@ -456,7 +456,7 @@ var Mt = O("MuiAccordion", [
|
|
|
456
456
|
function Rt(e) {
|
|
457
457
|
return g("MuiAccordionDetails", e);
|
|
458
458
|
}
|
|
459
|
-
|
|
459
|
+
k("MuiAccordionDetails", ["root"]);
|
|
460
460
|
//#endregion
|
|
461
461
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/AccordionDetails/AccordionDetails.js
|
|
462
462
|
var zt = (e) => {
|
|
@@ -465,7 +465,7 @@ var zt = (e) => {
|
|
|
465
465
|
}, Bt = M("div", {
|
|
466
466
|
name: "MuiAccordionDetails",
|
|
467
467
|
slot: "Root"
|
|
468
|
-
})(
|
|
468
|
+
})(j(({ theme: e }) => ({ padding: e.spacing(1, 2, 2) }))), Vt = /*#__PURE__*/ F.forwardRef(function(e, t) {
|
|
469
469
|
let n = ze({
|
|
470
470
|
props: e,
|
|
471
471
|
name: "MuiAccordionDetails"
|
|
@@ -482,7 +482,7 @@ var zt = (e) => {
|
|
|
482
482
|
function Ht(e) {
|
|
483
483
|
return g("MuiAccordionSummary", e);
|
|
484
484
|
}
|
|
485
|
-
var Ut =
|
|
485
|
+
var Ut = k("MuiAccordionSummary", [
|
|
486
486
|
"root",
|
|
487
487
|
"expanded",
|
|
488
488
|
"focusVisible",
|
|
@@ -511,7 +511,7 @@ var Ut = O("MuiAccordionSummary", [
|
|
|
511
511
|
}, Gt = M(w, {
|
|
512
512
|
name: "MuiAccordionSummary",
|
|
513
513
|
slot: "Root"
|
|
514
|
-
})(
|
|
514
|
+
})(j(({ theme: e }) => {
|
|
515
515
|
let t = { duration: e.transitions.duration.shortest };
|
|
516
516
|
return {
|
|
517
517
|
display: "flex",
|
|
@@ -530,7 +530,7 @@ var Ut = O("MuiAccordionSummary", [
|
|
|
530
530
|
})), Kt = M("span", {
|
|
531
531
|
name: "MuiAccordionSummary",
|
|
532
532
|
slot: "Content"
|
|
533
|
-
})(
|
|
533
|
+
})(j(({ theme: e }) => ({
|
|
534
534
|
display: "flex",
|
|
535
535
|
textAlign: "start",
|
|
536
536
|
flexGrow: 1,
|
|
@@ -545,7 +545,7 @@ var Ut = O("MuiAccordionSummary", [
|
|
|
545
545
|
}))), qt = M("span", {
|
|
546
546
|
name: "MuiAccordionSummary",
|
|
547
547
|
slot: "ExpandIconWrapper"
|
|
548
|
-
})(
|
|
548
|
+
})(j(({ theme: e }) => ({
|
|
549
549
|
display: "flex",
|
|
550
550
|
color: (e.vars || e).palette.action.active,
|
|
551
551
|
transform: "rotate(0deg)",
|
|
@@ -615,7 +615,7 @@ var Ut = O("MuiAccordionSummary", [
|
|
|
615
615
|
function Yt(e) {
|
|
616
616
|
return g("MuiCard", e);
|
|
617
617
|
}
|
|
618
|
-
|
|
618
|
+
k("MuiCard", ["root"]);
|
|
619
619
|
//#endregion
|
|
620
620
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/Card/Card.js
|
|
621
621
|
var Xt = (e) => {
|
|
@@ -645,7 +645,7 @@ var Xt = (e) => {
|
|
|
645
645
|
function $t(e) {
|
|
646
646
|
return g("MuiCardContent", e);
|
|
647
647
|
}
|
|
648
|
-
|
|
648
|
+
k("MuiCardContent", ["root"]);
|
|
649
649
|
//#endregion
|
|
650
650
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/CardContent/CardContent.js
|
|
651
651
|
var en = (e) => {
|
|
@@ -678,7 +678,7 @@ var en = (e) => {
|
|
|
678
678
|
function rn(e) {
|
|
679
679
|
return g("PrivateSwitchBase", e);
|
|
680
680
|
}
|
|
681
|
-
|
|
681
|
+
k("PrivateSwitchBase", [
|
|
682
682
|
"root",
|
|
683
683
|
"checked",
|
|
684
684
|
"disabled",
|
|
@@ -728,7 +728,7 @@ var an = (e) => {
|
|
|
728
728
|
]
|
|
729
729
|
}), sn = M("input", {
|
|
730
730
|
name: "MuiSwitchBase",
|
|
731
|
-
shouldForwardProp:
|
|
731
|
+
shouldForwardProp: Se
|
|
732
732
|
})({
|
|
733
733
|
cursor: "inherit",
|
|
734
734
|
position: "absolute",
|
|
@@ -741,7 +741,7 @@ var an = (e) => {
|
|
|
741
741
|
padding: 0,
|
|
742
742
|
zIndex: 1
|
|
743
743
|
}), cn = /*#__PURE__*/ F.forwardRef(function(e, t) {
|
|
744
|
-
let { autoFocus: n, checked: r, checkedIcon: i, defaultChecked: a, disabled: o, disableFocusRipple: s = !1, edge: c = !1, icon: l, id: u, inputProps: d, inputRef: f, name: m, onBlur: h, onChange: g, onFocus: _, readOnly: v, required: y = !1, tabIndex: b, type: x, value: S, slots: C = {}, slotProps: w = {}, ...T } = e, [E, ee] =
|
|
744
|
+
let { autoFocus: n, checked: r, checkedIcon: i, defaultChecked: a, disabled: o, disableFocusRipple: s = !1, edge: c = !1, icon: l, id: u, inputProps: d, inputRef: f, name: m, onBlur: h, onChange: g, onFocus: _, readOnly: v, required: y = !1, tabIndex: b, type: x, value: S, slots: C = {}, slotProps: w = {}, ...T } = e, [E, ee] = ae({
|
|
745
745
|
controlled: r,
|
|
746
746
|
default: !!a,
|
|
747
747
|
name: "SwitchBase",
|
|
@@ -754,27 +754,27 @@ var an = (e) => {
|
|
|
754
754
|
if (e.nativeEvent.defaultPrevented || v) return;
|
|
755
755
|
let t = e.target.checked;
|
|
756
756
|
ee(t), g && g(e, t);
|
|
757
|
-
},
|
|
758
|
-
D &&
|
|
759
|
-
let
|
|
757
|
+
}, O = o;
|
|
758
|
+
D && O === void 0 && (O = D.disabled);
|
|
759
|
+
let k = x === "checkbox" || x === "radio", ie = {
|
|
760
760
|
...e,
|
|
761
761
|
checked: E,
|
|
762
|
-
disabled:
|
|
762
|
+
disabled: O,
|
|
763
763
|
disableFocusRipple: s,
|
|
764
764
|
edge: c
|
|
765
|
-
},
|
|
765
|
+
}, oe = an(ie), se = {
|
|
766
766
|
slots: C,
|
|
767
767
|
slotProps: {
|
|
768
768
|
input: d,
|
|
769
769
|
...w
|
|
770
770
|
}
|
|
771
|
-
}, [
|
|
771
|
+
}, [ce, le] = p("root", {
|
|
772
772
|
ref: t,
|
|
773
773
|
elementType: on,
|
|
774
|
-
className:
|
|
774
|
+
className: oe.root,
|
|
775
775
|
shouldForwardComponentProp: !0,
|
|
776
776
|
externalForwardedProps: {
|
|
777
|
-
...
|
|
777
|
+
...se,
|
|
778
778
|
component: "span",
|
|
779
779
|
...T
|
|
780
780
|
},
|
|
@@ -787,31 +787,31 @@ var an = (e) => {
|
|
|
787
787
|
e.onBlur?.(t), ne(t);
|
|
788
788
|
}
|
|
789
789
|
}),
|
|
790
|
-
ownerState:
|
|
790
|
+
ownerState: ie,
|
|
791
791
|
additionalProps: {
|
|
792
792
|
centerRipple: !0,
|
|
793
793
|
focusRipple: !s,
|
|
794
794
|
role: void 0,
|
|
795
795
|
tabIndex: null
|
|
796
796
|
}
|
|
797
|
-
}), [
|
|
797
|
+
}), [ue, de] = p("input", {
|
|
798
798
|
ref: f,
|
|
799
799
|
elementType: sn,
|
|
800
|
-
className:
|
|
801
|
-
externalForwardedProps:
|
|
800
|
+
className: oe.input,
|
|
801
|
+
externalForwardedProps: se,
|
|
802
802
|
getSlotProps: (e) => ({
|
|
803
803
|
...e,
|
|
804
804
|
onChange: (t) => {
|
|
805
805
|
e.onChange?.(t), re(t);
|
|
806
806
|
}
|
|
807
807
|
}),
|
|
808
|
-
ownerState:
|
|
808
|
+
ownerState: ie,
|
|
809
809
|
additionalProps: {
|
|
810
810
|
autoFocus: n,
|
|
811
811
|
checked: r,
|
|
812
812
|
defaultChecked: a,
|
|
813
|
-
disabled:
|
|
814
|
-
id:
|
|
813
|
+
disabled: O,
|
|
814
|
+
id: k ? u : void 0,
|
|
815
815
|
name: m,
|
|
816
816
|
readOnly: v,
|
|
817
817
|
required: y,
|
|
@@ -820,9 +820,9 @@ var an = (e) => {
|
|
|
820
820
|
...x === "checkbox" && S === void 0 ? {} : { value: S }
|
|
821
821
|
}
|
|
822
822
|
});
|
|
823
|
-
return /*#__PURE__*/ z(
|
|
824
|
-
...
|
|
825
|
-
children: [/*#__PURE__*/ R(
|
|
823
|
+
return /*#__PURE__*/ z(ce, {
|
|
824
|
+
...le,
|
|
825
|
+
children: [/*#__PURE__*/ R(ue, { ...de }), E ? i : l]
|
|
826
826
|
});
|
|
827
827
|
}), ln = E(/*#__PURE__*/ R("path", { d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" }), "CheckBoxOutlineBlank"), un = E(/*#__PURE__*/ R("path", { d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" }), "CheckBox"), dn = E(/*#__PURE__*/ R("path", { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z" }), "IndeterminateCheckBox");
|
|
828
828
|
//#endregion
|
|
@@ -830,7 +830,7 @@ var an = (e) => {
|
|
|
830
830
|
function fn(e) {
|
|
831
831
|
return g("MuiCheckbox", e);
|
|
832
832
|
}
|
|
833
|
-
var pn =
|
|
833
|
+
var pn = k("MuiCheckbox", [
|
|
834
834
|
"root",
|
|
835
835
|
"checked",
|
|
836
836
|
"disabled",
|
|
@@ -851,7 +851,7 @@ var pn = O("MuiCheckbox", [
|
|
|
851
851
|
...a
|
|
852
852
|
};
|
|
853
853
|
}, hn = M(cn, {
|
|
854
|
-
shouldForwardProp: (e) =>
|
|
854
|
+
shouldForwardProp: (e) => Se(e) || e === "classes",
|
|
855
855
|
name: "MuiCheckbox",
|
|
856
856
|
slot: "Root",
|
|
857
857
|
overridesResolver: (e, t) => {
|
|
@@ -863,7 +863,7 @@ var pn = O("MuiCheckbox", [
|
|
|
863
863
|
n.color !== "default" && t[`color${N(n.color)}`]
|
|
864
864
|
];
|
|
865
865
|
}
|
|
866
|
-
})(
|
|
866
|
+
})(j(({ theme: e }) => ({
|
|
867
867
|
color: (e.vars || e).palette.text.secondary,
|
|
868
868
|
variants: [
|
|
869
869
|
{
|
|
@@ -919,7 +919,7 @@ var pn = O("MuiCheckbox", [
|
|
|
919
919
|
checkedIcon: /*#__PURE__*/ F.cloneElement(_, { fontSize: _.props.fontSize ?? l }),
|
|
920
920
|
disableRipple: u,
|
|
921
921
|
slots: f,
|
|
922
|
-
slotProps: { input:
|
|
922
|
+
slotProps: { input: oe(typeof b == "function" ? b(v) : b, {
|
|
923
923
|
"data-indeterminate": o,
|
|
924
924
|
"aria-checked": o ? "mixed" : void 0
|
|
925
925
|
}) }
|
|
@@ -935,7 +935,7 @@ var pn = O("MuiCheckbox", [
|
|
|
935
935
|
function bn(e) {
|
|
936
936
|
return g("MuiDialog", e);
|
|
937
937
|
}
|
|
938
|
-
var xn =
|
|
938
|
+
var xn = k("MuiDialog", [
|
|
939
939
|
"root",
|
|
940
940
|
"backdrop",
|
|
941
941
|
"scrollPaper",
|
|
@@ -952,7 +952,7 @@ var xn = O("MuiDialog", [
|
|
|
952
952
|
"paperWidthXl",
|
|
953
953
|
"paperFullWidth",
|
|
954
954
|
"paperFullScreen"
|
|
955
|
-
]), Sn = /*#__PURE__*/ F.createContext({}), Cn = M(
|
|
955
|
+
]), Sn = /*#__PURE__*/ F.createContext({}), Cn = M(ue, {
|
|
956
956
|
name: "MuiDialog",
|
|
957
957
|
slot: "Backdrop"
|
|
958
958
|
})({ zIndex: -1 }), wn = (e) => {
|
|
@@ -969,7 +969,7 @@ var xn = O("MuiDialog", [
|
|
|
969
969
|
a && "paperFullScreen"
|
|
970
970
|
]
|
|
971
971
|
}, bn, t);
|
|
972
|
-
}, Tn = M(
|
|
972
|
+
}, Tn = M(le, {
|
|
973
973
|
name: "MuiDialog",
|
|
974
974
|
slot: "Root"
|
|
975
975
|
})({ "@media print": { position: "absolute !important" } }), En = M("div", {
|
|
@@ -1018,7 +1018,7 @@ var xn = O("MuiDialog", [
|
|
|
1018
1018
|
n.fullScreen && t.paperFullScreen
|
|
1019
1019
|
];
|
|
1020
1020
|
}
|
|
1021
|
-
})(
|
|
1021
|
+
})(j(({ theme: e }) => ({
|
|
1022
1022
|
margin: 32,
|
|
1023
1023
|
position: "relative",
|
|
1024
1024
|
overflowY: "auto",
|
|
@@ -1085,21 +1085,21 @@ var xn = O("MuiDialog", [
|
|
|
1085
1085
|
let n = ze({
|
|
1086
1086
|
props: e,
|
|
1087
1087
|
name: "MuiDialog"
|
|
1088
|
-
}), r =
|
|
1088
|
+
}), r = be(), i = {
|
|
1089
1089
|
enter: r.transitions.duration.enteringScreen,
|
|
1090
1090
|
exit: r.transitions.duration.leavingScreen
|
|
1091
|
-
}, { "aria-describedby": a, "aria-labelledby": o, "aria-modal": s = !0, BackdropComponent: c, BackdropProps: l, children: u, className: d, disableEscapeKeyDown: f = !1, fullScreen: m = !1, fullWidth: h = !1, maxWidth: g = "sm", onClick: _, onClose: v, open: y, PaperComponent: b = T, PaperProps: x = {}, role: S = "dialog", scroll: C = "paper", slots: w = {}, slotProps: E = {}, TransitionComponent: ee = re, transitionDuration: D = i, TransitionProps: te, ...ne } = n,
|
|
1091
|
+
}, { "aria-describedby": a, "aria-labelledby": o, "aria-modal": s = !0, BackdropComponent: c, BackdropProps: l, children: u, className: d, disableEscapeKeyDown: f = !1, fullScreen: m = !1, fullWidth: h = !1, maxWidth: g = "sm", onClick: _, onClose: v, open: y, PaperComponent: b = T, PaperProps: x = {}, role: S = "dialog", scroll: C = "paper", slots: w = {}, slotProps: E = {}, TransitionComponent: ee = re, transitionDuration: D = i, TransitionProps: te, ...ne } = n, O = {
|
|
1092
1092
|
...n,
|
|
1093
1093
|
disableEscapeKeyDown: f,
|
|
1094
1094
|
fullScreen: m,
|
|
1095
1095
|
fullWidth: h,
|
|
1096
1096
|
maxWidth: g,
|
|
1097
1097
|
scroll: C
|
|
1098
|
-
},
|
|
1099
|
-
|
|
1100
|
-
},
|
|
1101
|
-
_ && _(e),
|
|
1102
|
-
},
|
|
1098
|
+
}, k = wn(O), ie = F.useRef(), ae = (e) => {
|
|
1099
|
+
ie.current = e.target === e.currentTarget;
|
|
1100
|
+
}, oe = (e) => {
|
|
1101
|
+
_ && _(e), ie.current && (ie.current = null, v && v(e, "backdropClick"));
|
|
1102
|
+
}, se = he(o), ce = F.useMemo(() => ({ titleId: se }), [se]), le = {
|
|
1103
1103
|
slots: {
|
|
1104
1104
|
transition: ee,
|
|
1105
1105
|
...w
|
|
@@ -1110,43 +1110,43 @@ var xn = O("MuiDialog", [
|
|
|
1110
1110
|
backdrop: l,
|
|
1111
1111
|
...E
|
|
1112
1112
|
}
|
|
1113
|
-
}, [
|
|
1113
|
+
}, [ue, de] = p("root", {
|
|
1114
1114
|
elementType: Tn,
|
|
1115
1115
|
shouldForwardComponentProp: !0,
|
|
1116
|
-
externalForwardedProps:
|
|
1117
|
-
ownerState:
|
|
1118
|
-
className: P(
|
|
1116
|
+
externalForwardedProps: le,
|
|
1117
|
+
ownerState: O,
|
|
1118
|
+
className: P(k.root, d),
|
|
1119
1119
|
ref: t
|
|
1120
|
-
}), [
|
|
1120
|
+
}), [fe, pe] = p("backdrop", {
|
|
1121
1121
|
elementType: Cn,
|
|
1122
1122
|
shouldForwardComponentProp: !0,
|
|
1123
|
-
externalForwardedProps:
|
|
1124
|
-
ownerState:
|
|
1125
|
-
className:
|
|
1126
|
-
}), [
|
|
1123
|
+
externalForwardedProps: le,
|
|
1124
|
+
ownerState: O,
|
|
1125
|
+
className: k.backdrop
|
|
1126
|
+
}), [me, ge] = p("paper", {
|
|
1127
1127
|
elementType: Dn,
|
|
1128
1128
|
shouldForwardComponentProp: !0,
|
|
1129
|
-
externalForwardedProps:
|
|
1130
|
-
ownerState:
|
|
1131
|
-
className:
|
|
1129
|
+
externalForwardedProps: le,
|
|
1130
|
+
ownerState: O,
|
|
1131
|
+
className: k.paper,
|
|
1132
1132
|
additionalProps: {
|
|
1133
1133
|
elevation: 24,
|
|
1134
1134
|
role: S,
|
|
1135
1135
|
"aria-describedby": a,
|
|
1136
|
-
"aria-labelledby":
|
|
1136
|
+
"aria-labelledby": se,
|
|
1137
1137
|
"aria-modal": s,
|
|
1138
1138
|
tabIndex: -1,
|
|
1139
1139
|
[Ve]: ""
|
|
1140
1140
|
}
|
|
1141
|
-
}), [
|
|
1141
|
+
}), [_e, ve] = p("container", {
|
|
1142
1142
|
elementType: En,
|
|
1143
|
-
externalForwardedProps:
|
|
1144
|
-
ownerState:
|
|
1145
|
-
className:
|
|
1146
|
-
}), [
|
|
1143
|
+
externalForwardedProps: le,
|
|
1144
|
+
ownerState: O,
|
|
1145
|
+
className: k.container
|
|
1146
|
+
}), [A, j] = p("transition", {
|
|
1147
1147
|
elementType: re,
|
|
1148
|
-
externalForwardedProps:
|
|
1149
|
-
ownerState:
|
|
1148
|
+
externalForwardedProps: le,
|
|
1149
|
+
ownerState: O,
|
|
1150
1150
|
additionalProps: {
|
|
1151
1151
|
appear: !0,
|
|
1152
1152
|
in: y,
|
|
@@ -1154,30 +1154,30 @@ var xn = O("MuiDialog", [
|
|
|
1154
1154
|
role: "presentation"
|
|
1155
1155
|
}
|
|
1156
1156
|
});
|
|
1157
|
-
return /*#__PURE__*/ R(
|
|
1157
|
+
return /*#__PURE__*/ R(ue, {
|
|
1158
1158
|
closeAfterTransition: !0,
|
|
1159
|
-
slots: { backdrop:
|
|
1159
|
+
slots: { backdrop: fe },
|
|
1160
1160
|
slotProps: { backdrop: {
|
|
1161
1161
|
transitionDuration: D,
|
|
1162
1162
|
as: c,
|
|
1163
|
-
...
|
|
1163
|
+
...pe
|
|
1164
1164
|
} },
|
|
1165
1165
|
disableEscapeKeyDown: f,
|
|
1166
1166
|
onClose: v,
|
|
1167
1167
|
open: y,
|
|
1168
|
-
onClick:
|
|
1169
|
-
...
|
|
1168
|
+
onClick: oe,
|
|
1169
|
+
...de,
|
|
1170
1170
|
...ne,
|
|
1171
|
-
children: /*#__PURE__*/ R(
|
|
1172
|
-
...
|
|
1173
|
-
children: /*#__PURE__*/ R(
|
|
1174
|
-
onMouseDown:
|
|
1175
|
-
...
|
|
1176
|
-
children: /*#__PURE__*/ R(
|
|
1171
|
+
children: /*#__PURE__*/ R(A, {
|
|
1172
|
+
...j,
|
|
1173
|
+
children: /*#__PURE__*/ R(_e, {
|
|
1174
|
+
onMouseDown: ae,
|
|
1175
|
+
...ve,
|
|
1176
|
+
children: /*#__PURE__*/ R(me, {
|
|
1177
1177
|
as: b,
|
|
1178
|
-
...
|
|
1178
|
+
...ge,
|
|
1179
1179
|
children: /*#__PURE__*/ R(Sn.Provider, {
|
|
1180
|
-
value:
|
|
1180
|
+
value: ce,
|
|
1181
1181
|
children: u
|
|
1182
1182
|
})
|
|
1183
1183
|
})
|
|
@@ -1190,7 +1190,7 @@ var xn = O("MuiDialog", [
|
|
|
1190
1190
|
function kn(e) {
|
|
1191
1191
|
return g("MuiDialogActions", e);
|
|
1192
1192
|
}
|
|
1193
|
-
|
|
1193
|
+
k("MuiDialogActions", ["root", "spacing"]);
|
|
1194
1194
|
//#endregion
|
|
1195
1195
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/DialogActions/DialogActions.js
|
|
1196
1196
|
var An = (e) => {
|
|
@@ -1233,13 +1233,13 @@ var An = (e) => {
|
|
|
1233
1233
|
function Nn(e) {
|
|
1234
1234
|
return g("MuiDialogContent", e);
|
|
1235
1235
|
}
|
|
1236
|
-
|
|
1236
|
+
k("MuiDialogContent", ["root", "dividers"]);
|
|
1237
1237
|
//#endregion
|
|
1238
1238
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/DialogTitle/dialogTitleClasses.js
|
|
1239
1239
|
function Pn(e) {
|
|
1240
1240
|
return g("MuiDialogTitle", e);
|
|
1241
1241
|
}
|
|
1242
|
-
var Fn =
|
|
1242
|
+
var Fn = k("MuiDialogTitle", ["root"]), In = (e) => {
|
|
1243
1243
|
let { classes: t, dividers: n } = e;
|
|
1244
1244
|
return Je({ root: ["root", n && "dividers"] }, Nn, t);
|
|
1245
1245
|
}, Ln = M("div", {
|
|
@@ -1249,7 +1249,7 @@ var Fn = O("MuiDialogTitle", ["root"]), In = (e) => {
|
|
|
1249
1249
|
let { ownerState: n } = e;
|
|
1250
1250
|
return [t.root, n.dividers && t.dividers];
|
|
1251
1251
|
}
|
|
1252
|
-
})(
|
|
1252
|
+
})(j(({ theme: e }) => ({
|
|
1253
1253
|
flex: "1 1 auto",
|
|
1254
1254
|
WebkitOverflowScrolling: "touch",
|
|
1255
1255
|
overflowY: "auto",
|
|
@@ -1285,7 +1285,7 @@ var Fn = O("MuiDialogTitle", ["root"]), In = (e) => {
|
|
|
1285
1285
|
function zn(e) {
|
|
1286
1286
|
return g("MuiDialogContentText", e);
|
|
1287
1287
|
}
|
|
1288
|
-
|
|
1288
|
+
k("MuiDialogContentText", ["root"]);
|
|
1289
1289
|
//#endregion
|
|
1290
1290
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/DialogContentText/DialogContentText.js
|
|
1291
1291
|
var Bn = (e) => {
|
|
@@ -1295,7 +1295,7 @@ var Bn = (e) => {
|
|
|
1295
1295
|
...n
|
|
1296
1296
|
};
|
|
1297
1297
|
}, Vn = M(xt, {
|
|
1298
|
-
shouldForwardProp: (e) =>
|
|
1298
|
+
shouldForwardProp: (e) => Se(e) || e === "classes",
|
|
1299
1299
|
name: "MuiDialogContentText",
|
|
1300
1300
|
slot: "Root"
|
|
1301
1301
|
})({}), Hn = /*#__PURE__*/ F.forwardRef(function(e, t) {
|
|
@@ -1342,7 +1342,7 @@ var Bn = (e) => {
|
|
|
1342
1342
|
function Kn(e) {
|
|
1343
1343
|
return g("MuiFormControlLabel", e);
|
|
1344
1344
|
}
|
|
1345
|
-
var qn =
|
|
1345
|
+
var qn = k("MuiFormControlLabel", [
|
|
1346
1346
|
"root",
|
|
1347
1347
|
"labelPlacementStart",
|
|
1348
1348
|
"labelPlacementTop",
|
|
@@ -1376,7 +1376,7 @@ var qn = O("MuiFormControlLabel", [
|
|
|
1376
1376
|
t[`labelPlacement${N(n.labelPlacement)}`]
|
|
1377
1377
|
];
|
|
1378
1378
|
}
|
|
1379
|
-
})(
|
|
1379
|
+
})(j(({ theme: e }) => ({
|
|
1380
1380
|
display: "inline-flex",
|
|
1381
1381
|
alignItems: "center",
|
|
1382
1382
|
cursor: "pointer",
|
|
@@ -1410,7 +1410,7 @@ var qn = O("MuiFormControlLabel", [
|
|
|
1410
1410
|
}))), Xn = M("span", {
|
|
1411
1411
|
name: "MuiFormControlLabel",
|
|
1412
1412
|
slot: "Asterisk"
|
|
1413
|
-
})(
|
|
1413
|
+
})(j(({ theme: e }) => ({ [`&.${qn.error}`]: { color: (e.vars || e).palette.error.main } }))), Zn = /*#__PURE__*/ F.forwardRef(function(e, t) {
|
|
1414
1414
|
let n = ze({
|
|
1415
1415
|
props: e,
|
|
1416
1416
|
name: "MuiFormControlLabel"
|
|
@@ -1471,7 +1471,7 @@ var qn = O("MuiFormControlLabel", [
|
|
|
1471
1471
|
function Qn(e) {
|
|
1472
1472
|
return g("MuiFormHelperText", e);
|
|
1473
1473
|
}
|
|
1474
|
-
var $n =
|
|
1474
|
+
var $n = k("MuiFormHelperText", [
|
|
1475
1475
|
"root",
|
|
1476
1476
|
"error",
|
|
1477
1477
|
"disabled",
|
|
@@ -1505,7 +1505,7 @@ var $n = O("MuiFormHelperText", [
|
|
|
1505
1505
|
n.filled && t.filled
|
|
1506
1506
|
];
|
|
1507
1507
|
}
|
|
1508
|
-
})(
|
|
1508
|
+
})(j(({ theme: e }) => ({
|
|
1509
1509
|
color: (e.vars || e).palette.text.secondary,
|
|
1510
1510
|
...e.typography.caption,
|
|
1511
1511
|
textAlign: "left",
|
|
@@ -1571,7 +1571,7 @@ var $n = O("MuiFormHelperText", [
|
|
|
1571
1571
|
function ir(e) {
|
|
1572
1572
|
return g("MuiInputAdornment", e);
|
|
1573
1573
|
}
|
|
1574
|
-
var ar =
|
|
1574
|
+
var ar = k("MuiInputAdornment", [
|
|
1575
1575
|
"root",
|
|
1576
1576
|
"filled",
|
|
1577
1577
|
"standard",
|
|
@@ -1603,7 +1603,7 @@ var ar = O("MuiInputAdornment", [
|
|
|
1603
1603
|
name: "MuiInputAdornment",
|
|
1604
1604
|
slot: "Root",
|
|
1605
1605
|
overridesResolver: sr
|
|
1606
|
-
})(
|
|
1606
|
+
})(j(({ theme: e }) => ({
|
|
1607
1607
|
display: "flex",
|
|
1608
1608
|
maxHeight: "2em",
|
|
1609
1609
|
alignItems: "center",
|
|
@@ -1665,7 +1665,7 @@ var ar = O("MuiInputAdornment", [
|
|
|
1665
1665
|
function dr(e) {
|
|
1666
1666
|
return g("MuiLinearProgress", e);
|
|
1667
1667
|
}
|
|
1668
|
-
|
|
1668
|
+
k("MuiLinearProgress", [
|
|
1669
1669
|
"root",
|
|
1670
1670
|
"colorPrimary",
|
|
1671
1671
|
"colorSecondary",
|
|
@@ -1777,7 +1777,7 @@ var fr = 4, pr = v`
|
|
|
1777
1777
|
t[n.variant]
|
|
1778
1778
|
];
|
|
1779
1779
|
}
|
|
1780
|
-
})(
|
|
1780
|
+
})(j(({ theme: e }) => ({
|
|
1781
1781
|
position: "relative",
|
|
1782
1782
|
overflow: "hidden",
|
|
1783
1783
|
display: "block",
|
|
@@ -1818,7 +1818,7 @@ var fr = 4, pr = v`
|
|
|
1818
1818
|
let { ownerState: n } = e;
|
|
1819
1819
|
return [t.dashed, t[`dashedColor${N(n.color)}`]];
|
|
1820
1820
|
}
|
|
1821
|
-
})(
|
|
1821
|
+
})(j(({ theme: e }) => ({
|
|
1822
1822
|
position: "absolute",
|
|
1823
1823
|
marginTop: 0,
|
|
1824
1824
|
height: "100%",
|
|
@@ -1852,7 +1852,7 @@ var fr = 4, pr = v`
|
|
|
1852
1852
|
n.variant === "buffer" && t.bar1Buffer
|
|
1853
1853
|
];
|
|
1854
1854
|
}
|
|
1855
|
-
})(
|
|
1855
|
+
})(j(({ theme: e }) => ({
|
|
1856
1856
|
width: "100%",
|
|
1857
1857
|
position: "absolute",
|
|
1858
1858
|
left: 0,
|
|
@@ -1902,7 +1902,7 @@ var fr = 4, pr = v`
|
|
|
1902
1902
|
n.variant === "buffer" && t.bar2Buffer
|
|
1903
1903
|
];
|
|
1904
1904
|
}
|
|
1905
|
-
})(
|
|
1905
|
+
})(j(({ theme: e }) => ({
|
|
1906
1906
|
width: "100%",
|
|
1907
1907
|
position: "absolute",
|
|
1908
1908
|
left: 0,
|
|
@@ -1997,7 +1997,7 @@ var fr = 4, pr = v`
|
|
|
1997
1997
|
function Er(e) {
|
|
1998
1998
|
return g("MuiListItem", e);
|
|
1999
1999
|
}
|
|
2000
|
-
|
|
2000
|
+
k("MuiListItem", [
|
|
2001
2001
|
"root",
|
|
2002
2002
|
"container",
|
|
2003
2003
|
"dense",
|
|
@@ -2009,7 +2009,7 @@ O("MuiListItem", [
|
|
|
2009
2009
|
]);
|
|
2010
2010
|
//#endregion
|
|
2011
2011
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/ListItemButton/listItemButtonClasses.js
|
|
2012
|
-
var Dr =
|
|
2012
|
+
var Dr = k("MuiListItemButton", [
|
|
2013
2013
|
"root",
|
|
2014
2014
|
"focusVisible",
|
|
2015
2015
|
"dense",
|
|
@@ -2024,7 +2024,7 @@ var Dr = O("MuiListItemButton", [
|
|
|
2024
2024
|
function Or(e) {
|
|
2025
2025
|
return g("MuiListItemSecondaryAction", e);
|
|
2026
2026
|
}
|
|
2027
|
-
|
|
2027
|
+
k("MuiListItemSecondaryAction", ["root", "disableGutters"]);
|
|
2028
2028
|
//#endregion
|
|
2029
2029
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js
|
|
2030
2030
|
var kr = (e) => {
|
|
@@ -2050,7 +2050,7 @@ var kr = (e) => {
|
|
|
2050
2050
|
let n = ze({
|
|
2051
2051
|
props: e,
|
|
2052
2052
|
name: "MuiListItemSecondaryAction"
|
|
2053
|
-
}), { className: r, ...i } = n, a = F.useContext(
|
|
2053
|
+
}), { className: r, ...i } = n, a = F.useContext(me), o = {
|
|
2054
2054
|
...n,
|
|
2055
2055
|
disableGutters: a.disableGutters
|
|
2056
2056
|
};
|
|
@@ -2094,7 +2094,7 @@ var Mr = (e, t) => {
|
|
|
2094
2094
|
name: "MuiListItem",
|
|
2095
2095
|
slot: "Root",
|
|
2096
2096
|
overridesResolver: Mr
|
|
2097
|
-
})(
|
|
2097
|
+
})(j(({ theme: e }) => ({
|
|
2098
2098
|
display: "flex",
|
|
2099
2099
|
justifyContent: "flex-start",
|
|
2100
2100
|
alignItems: "center",
|
|
@@ -2167,7 +2167,7 @@ var Mr = (e, t) => {
|
|
|
2167
2167
|
let n = ze({
|
|
2168
2168
|
props: e,
|
|
2169
2169
|
name: "MuiListItem"
|
|
2170
|
-
}), { alignItems: r = "center", children: i, className: a, component: o, components: s = {}, componentsProps: c = {}, ContainerComponent: l = "li", ContainerProps: { className: u, ...d } = {}, dense: f = !1, disableGutters: m = !1, disablePadding: h = !1, divider: g = !1, secondaryAction: _, slotProps: v = {}, slots: y = {}, ...b } = n, x = F.useContext(
|
|
2170
|
+
}), { alignItems: r = "center", children: i, className: a, component: o, components: s = {}, componentsProps: c = {}, ContainerComponent: l = "li", ContainerProps: { className: u, ...d } = {}, dense: f = !1, disableGutters: m = !1, disablePadding: h = !1, divider: g = !1, secondaryAction: _, slotProps: v = {}, slots: y = {}, ...b } = n, x = F.useContext(me), C = F.useMemo(() => ({
|
|
2171
2171
|
dense: f || x.dense || !1,
|
|
2172
2172
|
alignItems: r,
|
|
2173
2173
|
disableGutters: m
|
|
@@ -2192,11 +2192,11 @@ var Mr = (e, t) => {
|
|
|
2192
2192
|
},
|
|
2193
2193
|
ownerState: ee,
|
|
2194
2194
|
className: D.secondaryAction
|
|
2195
|
-
}),
|
|
2196
|
-
className: P(D.root,
|
|
2195
|
+
}), O = y.root || s.Root || Pr, k = v.root || c.root || {}, ie = {
|
|
2196
|
+
className: P(D.root, k.className, a),
|
|
2197
2197
|
...b
|
|
2198
|
-
},
|
|
2199
|
-
return E ? (
|
|
2198
|
+
}, ae = o || "li";
|
|
2199
|
+
return E ? (ae = !ie.component && !o ? "div" : ae, l === "li" && (ae === "li" ? ae = "div" : ie.component === "li" && (ie.component = "div")), /*#__PURE__*/ R(me.Provider, {
|
|
2200
2200
|
value: C,
|
|
2201
2201
|
children: /*#__PURE__*/ z(Fr, {
|
|
2202
2202
|
as: l,
|
|
@@ -2204,30 +2204,30 @@ var Mr = (e, t) => {
|
|
|
2204
2204
|
ref: te,
|
|
2205
2205
|
ownerState: ee,
|
|
2206
2206
|
...d,
|
|
2207
|
-
children: [/*#__PURE__*/ R(
|
|
2208
|
-
...
|
|
2209
|
-
...!Oe(
|
|
2210
|
-
as:
|
|
2207
|
+
children: [/*#__PURE__*/ R(O, {
|
|
2208
|
+
...k,
|
|
2209
|
+
...!Oe(O) && {
|
|
2210
|
+
as: ae,
|
|
2211
2211
|
ownerState: {
|
|
2212
2212
|
...ee,
|
|
2213
|
-
...
|
|
2213
|
+
...k.ownerState
|
|
2214
2214
|
}
|
|
2215
2215
|
},
|
|
2216
|
-
...
|
|
2216
|
+
...ie,
|
|
2217
2217
|
children: T
|
|
2218
2218
|
}), T.pop()]
|
|
2219
2219
|
})
|
|
2220
|
-
})) : /*#__PURE__*/ R(
|
|
2220
|
+
})) : /*#__PURE__*/ R(me.Provider, {
|
|
2221
2221
|
value: C,
|
|
2222
|
-
children: /*#__PURE__*/ z(
|
|
2223
|
-
...
|
|
2224
|
-
as:
|
|
2222
|
+
children: /*#__PURE__*/ z(O, {
|
|
2223
|
+
...k,
|
|
2224
|
+
as: ae,
|
|
2225
2225
|
ref: te,
|
|
2226
|
-
...!Oe(
|
|
2226
|
+
...!Oe(O) && { ownerState: {
|
|
2227
2227
|
...ee,
|
|
2228
|
-
...
|
|
2228
|
+
...k.ownerState
|
|
2229
2229
|
} },
|
|
2230
|
-
...
|
|
2230
|
+
...ie,
|
|
2231
2231
|
children: [T, _ && /*#__PURE__*/ R(ne, {
|
|
2232
2232
|
...re,
|
|
2233
2233
|
children: _
|
|
@@ -2236,11 +2236,11 @@ var Mr = (e, t) => {
|
|
|
2236
2236
|
});
|
|
2237
2237
|
}), Lr = E(/*#__PURE__*/ R("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" }), "RadioButtonUnchecked"), Rr = E(/*#__PURE__*/ R("path", { d: "M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z" }), "RadioButtonChecked"), zr = M("span", {
|
|
2238
2238
|
name: "MuiRadioButtonIcon",
|
|
2239
|
-
shouldForwardProp:
|
|
2239
|
+
shouldForwardProp: Se
|
|
2240
2240
|
})({
|
|
2241
2241
|
position: "relative",
|
|
2242
2242
|
display: "flex"
|
|
2243
|
-
}), Br = M(Lr, { name: "MuiRadioButtonIcon" })({ transform: "scale(1)" }), Vr = M(Rr, { name: "MuiRadioButtonIcon" })(
|
|
2243
|
+
}), Br = M(Lr, { name: "MuiRadioButtonIcon" })({ transform: "scale(1)" }), Vr = M(Rr, { name: "MuiRadioButtonIcon" })(j(({ theme: e }) => ({
|
|
2244
2244
|
left: 0,
|
|
2245
2245
|
position: "absolute",
|
|
2246
2246
|
transform: "scale(0)",
|
|
@@ -2291,7 +2291,7 @@ function Wr() {
|
|
|
2291
2291
|
function Gr(e) {
|
|
2292
2292
|
return g("MuiRadio", e);
|
|
2293
2293
|
}
|
|
2294
|
-
var Kr =
|
|
2294
|
+
var Kr = k("MuiRadio", [
|
|
2295
2295
|
"root",
|
|
2296
2296
|
"checked",
|
|
2297
2297
|
"disabled",
|
|
@@ -2309,7 +2309,7 @@ var Kr = O("MuiRadio", [
|
|
|
2309
2309
|
...Je(i, Gr, t)
|
|
2310
2310
|
};
|
|
2311
2311
|
}, Jr = M(cn, {
|
|
2312
|
-
shouldForwardProp: (e) =>
|
|
2312
|
+
shouldForwardProp: (e) => Se(e) || e === "classes",
|
|
2313
2313
|
name: "MuiRadio",
|
|
2314
2314
|
slot: "Root",
|
|
2315
2315
|
overridesResolver: (e, t) => {
|
|
@@ -2320,7 +2320,7 @@ var Kr = O("MuiRadio", [
|
|
|
2320
2320
|
t[`color${N(n.color)}`]
|
|
2321
2321
|
];
|
|
2322
2322
|
}
|
|
2323
|
-
})(
|
|
2323
|
+
})(j(({ theme: e }) => ({
|
|
2324
2324
|
color: (e.vars || e).palette.text.secondary,
|
|
2325
2325
|
[`&.${Kr.disabled}`]: { color: (e.vars || e).palette.action.disabled },
|
|
2326
2326
|
variants: [
|
|
@@ -2408,7 +2408,7 @@ var Xr = /*#__PURE__*/ R(Hr, { checked: !0 }), Zr = /*#__PURE__*/ R(Hr, {}), Qr
|
|
|
2408
2408
|
function $r(e) {
|
|
2409
2409
|
return g("MuiSwitch", e);
|
|
2410
2410
|
}
|
|
2411
|
-
var ei =
|
|
2411
|
+
var ei = k("MuiSwitch", [
|
|
2412
2412
|
"root",
|
|
2413
2413
|
"edgeStart",
|
|
2414
2414
|
"edgeEnd",
|
|
@@ -2503,7 +2503,7 @@ var ei = O("MuiSwitch", [
|
|
|
2503
2503
|
n.color !== "default" && t[`color${N(n.color)}`]
|
|
2504
2504
|
];
|
|
2505
2505
|
}
|
|
2506
|
-
})(
|
|
2506
|
+
})(j(({ theme: e }) => ({
|
|
2507
2507
|
position: "absolute",
|
|
2508
2508
|
top: 0,
|
|
2509
2509
|
left: 0,
|
|
@@ -2518,7 +2518,7 @@ var ei = O("MuiSwitch", [
|
|
|
2518
2518
|
left: "-100%",
|
|
2519
2519
|
width: "300%"
|
|
2520
2520
|
}
|
|
2521
|
-
})),
|
|
2521
|
+
})), j(({ theme: e }) => ({
|
|
2522
2522
|
"&:hover": {
|
|
2523
2523
|
backgroundColor: e.alpha((e.vars || e).palette.action.active, (e.vars || e).palette.action.hoverOpacity),
|
|
2524
2524
|
"@media (hover: none)": { backgroundColor: "transparent" }
|
|
@@ -2540,7 +2540,7 @@ var ei = O("MuiSwitch", [
|
|
|
2540
2540
|
}))), ii = M("span", {
|
|
2541
2541
|
name: "MuiSwitch",
|
|
2542
2542
|
slot: "Track"
|
|
2543
|
-
})(
|
|
2543
|
+
})(j(({ theme: e }) => ({
|
|
2544
2544
|
height: "100%",
|
|
2545
2545
|
width: "100%",
|
|
2546
2546
|
borderRadius: 14 / 2,
|
|
@@ -2553,7 +2553,7 @@ var ei = O("MuiSwitch", [
|
|
|
2553
2553
|
}))), ai = M("span", {
|
|
2554
2554
|
name: "MuiSwitch",
|
|
2555
2555
|
slot: "Thumb"
|
|
2556
|
-
})(
|
|
2556
|
+
})(j(({ theme: e }) => ({
|
|
2557
2557
|
boxShadow: (e.vars || e).shadows[1],
|
|
2558
2558
|
backgroundColor: "currentColor",
|
|
2559
2559
|
boxSizing: "border-box",
|
|
@@ -2609,7 +2609,7 @@ var ei = O("MuiSwitch", [
|
|
|
2609
2609
|
},
|
|
2610
2610
|
slotProps: {
|
|
2611
2611
|
...l.switchBase && { root: typeof l.switchBase == "function" ? l.switchBase(d) : l.switchBase },
|
|
2612
|
-
input:
|
|
2612
|
+
input: oe(typeof m == "function" ? m(d) : m, { role: "switch" })
|
|
2613
2613
|
}
|
|
2614
2614
|
}), /*#__PURE__*/ R(x, { ...S })]
|
|
2615
2615
|
});
|
|
@@ -2619,7 +2619,7 @@ var ei = O("MuiSwitch", [
|
|
|
2619
2619
|
function si(e) {
|
|
2620
2620
|
return g("MuiTab", e);
|
|
2621
2621
|
}
|
|
2622
|
-
var ci =
|
|
2622
|
+
var ci = k("MuiTab", [
|
|
2623
2623
|
"root",
|
|
2624
2624
|
"labelIcon",
|
|
2625
2625
|
"textColorInherit",
|
|
@@ -2660,7 +2660,7 @@ var ci = O("MuiTab", [
|
|
|
2660
2660
|
{ [`& .${ci.icon}`]: t.icon }
|
|
2661
2661
|
];
|
|
2662
2662
|
}
|
|
2663
|
-
})(
|
|
2663
|
+
})(j(({ theme: e }) => ({
|
|
2664
2664
|
...e.typography.button,
|
|
2665
2665
|
maxWidth: 360,
|
|
2666
2666
|
minWidth: 90,
|
|
@@ -2817,7 +2817,7 @@ function _i(e) {
|
|
|
2817
2817
|
let { onChange: t, ...n } = e, r = F.useRef(), i = F.useRef(null), a = () => {
|
|
2818
2818
|
r.current = i.current.offsetHeight - i.current.clientHeight;
|
|
2819
2819
|
};
|
|
2820
|
-
return
|
|
2820
|
+
return se(() => {
|
|
2821
2821
|
let e = Ne(() => {
|
|
2822
2822
|
let e = r.current;
|
|
2823
2823
|
a(), e !== r.current && t(r.current);
|
|
@@ -2838,7 +2838,7 @@ function _i(e) {
|
|
|
2838
2838
|
function vi(e) {
|
|
2839
2839
|
return g("MuiTabScrollButton", e);
|
|
2840
2840
|
}
|
|
2841
|
-
var yi =
|
|
2841
|
+
var yi = k("MuiTabScrollButton", [
|
|
2842
2842
|
"root",
|
|
2843
2843
|
"vertical",
|
|
2844
2844
|
"horizontal",
|
|
@@ -2908,7 +2908,7 @@ var yi = O("MuiTabScrollButton", [
|
|
|
2908
2908
|
function Ci(e) {
|
|
2909
2909
|
return g("MuiTabs", e);
|
|
2910
2910
|
}
|
|
2911
|
-
var wi =
|
|
2911
|
+
var wi = k("MuiTabs", [
|
|
2912
2912
|
"root",
|
|
2913
2913
|
"vertical",
|
|
2914
2914
|
"list",
|
|
@@ -2972,7 +2972,7 @@ var wi = O("MuiTabs", [
|
|
|
2972
2972
|
n.vertical && t.vertical
|
|
2973
2973
|
];
|
|
2974
2974
|
}
|
|
2975
|
-
})(
|
|
2975
|
+
})(j(({ theme: e }) => ({
|
|
2976
2976
|
overflow: "hidden",
|
|
2977
2977
|
minHeight: 48,
|
|
2978
2978
|
WebkitOverflowScrolling: "touch",
|
|
@@ -3056,7 +3056,7 @@ var wi = O("MuiTabs", [
|
|
|
3056
3056
|
}), Mi = M("span", {
|
|
3057
3057
|
name: "MuiTabs",
|
|
3058
3058
|
slot: "Indicator"
|
|
3059
|
-
})(
|
|
3059
|
+
})(j(({ theme: e }) => ({
|
|
3060
3060
|
position: "absolute",
|
|
3061
3061
|
height: 2,
|
|
3062
3062
|
bottom: 0,
|
|
@@ -3089,7 +3089,7 @@ var wi = O("MuiTabs", [
|
|
|
3089
3089
|
let n = ze({
|
|
3090
3090
|
props: e,
|
|
3091
3091
|
name: "MuiTabs"
|
|
3092
|
-
}), r =
|
|
3092
|
+
}), r = be(), i = Ke(), { "aria-label": a, "aria-labelledby": o, action: s, centered: c = !1, children: l, className: u, component: d = "div", allowScrollButtonsMobile: f = !1, indicatorColor: m = "primary", onChange: h, orientation: g = "horizontal", ScrollButtonComponent: _, scrollButtons: v = "auto", selectionFollowsFocus: y, slots: b = {}, slotProps: x = {}, TabIndicatorProps: S = {}, TabScrollButtonProps: w = {}, textColor: T = "primary", value: E, variant: ee = "standard", visibleScrollbar: D = !1, ...te } = n, ne = ee === "scrollable", re = g === "vertical", O = re ? "scrollTop" : "scrollLeft", k = re ? "top" : "left", ie = re ? "bottom" : "right", ae = re ? "clientHeight" : "clientWidth", oe = re ? "height" : "width", se = {
|
|
3093
3093
|
...n,
|
|
3094
3094
|
component: d,
|
|
3095
3095
|
allowScrollButtonsMobile: f,
|
|
@@ -3106,18 +3106,18 @@ var wi = O("MuiTabs", [
|
|
|
3106
3106
|
scrollableY: ne && re,
|
|
3107
3107
|
centered: c && !ne,
|
|
3108
3108
|
scrollButtonsHideMobile: !f
|
|
3109
|
-
},
|
|
3109
|
+
}, ce = Oi(se), le = Ge({
|
|
3110
3110
|
elementType: b.StartScrollButtonIcon,
|
|
3111
3111
|
externalSlotProps: x.startScrollButtonIcon,
|
|
3112
|
-
ownerState:
|
|
3113
|
-
}),
|
|
3112
|
+
ownerState: se
|
|
3113
|
+
}), ue = Ge({
|
|
3114
3114
|
elementType: b.EndScrollButtonIcon,
|
|
3115
3115
|
externalSlotProps: x.endScrollButtonIcon,
|
|
3116
|
-
ownerState:
|
|
3117
|
-
}), [
|
|
3116
|
+
ownerState: se
|
|
3117
|
+
}), [de, fe] = F.useState(!1), [me, he] = F.useState(Pi), [ge, _e] = F.useState(!1), [ve, A] = F.useState(!1), [j, ye] = F.useState(!1), [xe, Se] = F.useState({
|
|
3118
3118
|
overflow: "hidden",
|
|
3119
3119
|
scrollbarWidth: 0
|
|
3120
|
-
}),
|
|
3120
|
+
}), Ce = /* @__PURE__ */ new Map(), Te = F.useRef(null), Ee = F.useRef(null), De = {
|
|
3121
3121
|
slots: b,
|
|
3122
3122
|
slotProps: {
|
|
3123
3123
|
indicator: S,
|
|
@@ -3143,7 +3143,7 @@ var wi = O("MuiTabs", [
|
|
|
3143
3143
|
if (e && E !== !1) {
|
|
3144
3144
|
let e = Ee.current.children;
|
|
3145
3145
|
if (e.length > 0) {
|
|
3146
|
-
let t = e[
|
|
3146
|
+
let t = e[Ce.get(E)];
|
|
3147
3147
|
n = t ? t.getBoundingClientRect() : null;
|
|
3148
3148
|
}
|
|
3149
3149
|
}
|
|
@@ -3156,27 +3156,27 @@ var wi = O("MuiTabs", [
|
|
|
3156
3156
|
re ? (r = "top", t && e && (n = t.top - e.top + e.scrollTop)) : (r = i ? "right" : "left", t && e && (n = (i ? -1 : 1) * (t[r] - e[r] + e.scrollLeft)));
|
|
3157
3157
|
let a = {
|
|
3158
3158
|
[r]: n,
|
|
3159
|
-
[
|
|
3159
|
+
[oe]: t ? t[oe] : 0
|
|
3160
3160
|
};
|
|
3161
|
-
if (typeof
|
|
3161
|
+
if (typeof me[r] != "number" || typeof me[oe] != "number") he(a);
|
|
3162
3162
|
else {
|
|
3163
|
-
let e = Math.abs(
|
|
3164
|
-
(e >= 1 || t >= 1) &&
|
|
3163
|
+
let e = Math.abs(me[r] - a[r]), t = Math.abs(me[oe] - a[oe]);
|
|
3164
|
+
(e >= 1 || t >= 1) && he(a);
|
|
3165
3165
|
}
|
|
3166
3166
|
}), M = (e, { animation: t = !0 } = {}) => {
|
|
3167
|
-
t ? hi(
|
|
3167
|
+
t ? hi(O, Te.current, e, { duration: r.transitions.duration.standard }) : Te.current[O] = e;
|
|
3168
3168
|
}, Ae = (e) => {
|
|
3169
|
-
let t = Te.current[
|
|
3169
|
+
let t = Te.current[O];
|
|
3170
3170
|
re ? t += e : t += e * (i ? -1 : 1), M(t);
|
|
3171
3171
|
}, Me = () => {
|
|
3172
|
-
let e = Te.current[
|
|
3172
|
+
let e = Te.current[ae], t = 0, n = Array.from(Ee.current.children);
|
|
3173
3173
|
for (let r = 0; r < n.length; r += 1) {
|
|
3174
3174
|
let i = n[r];
|
|
3175
|
-
if (t + i[
|
|
3175
|
+
if (t + i[ae] > e) {
|
|
3176
3176
|
r === 0 && (t = e);
|
|
3177
3177
|
break;
|
|
3178
3178
|
}
|
|
3179
|
-
t += i[
|
|
3179
|
+
t += i[ae];
|
|
3180
3180
|
}
|
|
3181
3181
|
return t;
|
|
3182
3182
|
}, Pe = () => {
|
|
@@ -3184,21 +3184,21 @@ var wi = O("MuiTabs", [
|
|
|
3184
3184
|
}, Fe = () => {
|
|
3185
3185
|
Ae(Me());
|
|
3186
3186
|
}, [N, { onChange: Ie, ...Le }] = p("scrollbar", {
|
|
3187
|
-
className: P(
|
|
3187
|
+
className: P(ce.scrollableX, ce.hideScrollbar),
|
|
3188
3188
|
elementType: Ni,
|
|
3189
3189
|
shouldForwardComponentProp: !0,
|
|
3190
3190
|
externalForwardedProps: De,
|
|
3191
|
-
ownerState:
|
|
3191
|
+
ownerState: se
|
|
3192
3192
|
}), Re = F.useCallback((e) => {
|
|
3193
|
-
Ie?.(e),
|
|
3193
|
+
Ie?.(e), Se({
|
|
3194
3194
|
overflow: null,
|
|
3195
3195
|
scrollbarWidth: e
|
|
3196
3196
|
});
|
|
3197
3197
|
}, [Ie]), [Be, Ve] = p("scrollButtons", {
|
|
3198
|
-
className: P(
|
|
3198
|
+
className: P(ce.scrollButtons, w.className),
|
|
3199
3199
|
elementType: Si,
|
|
3200
3200
|
externalForwardedProps: De,
|
|
3201
|
-
ownerState:
|
|
3201
|
+
ownerState: se,
|
|
3202
3202
|
additionalProps: {
|
|
3203
3203
|
orientation: g,
|
|
3204
3204
|
slots: {
|
|
@@ -3206,8 +3206,8 @@ var wi = O("MuiTabs", [
|
|
|
3206
3206
|
EndScrollButtonIcon: b.endScrollButtonIcon || b.EndScrollButtonIcon
|
|
3207
3207
|
},
|
|
3208
3208
|
slotProps: {
|
|
3209
|
-
startScrollButtonIcon:
|
|
3210
|
-
endScrollButtonIcon:
|
|
3209
|
+
startScrollButtonIcon: le,
|
|
3210
|
+
endScrollButtonIcon: ue
|
|
3211
3211
|
}
|
|
3212
3212
|
}
|
|
3213
3213
|
}), He = () => {
|
|
@@ -3216,31 +3216,31 @@ var wi = O("MuiTabs", [
|
|
|
3216
3216
|
...Le,
|
|
3217
3217
|
onChange: Re
|
|
3218
3218
|
}) : null;
|
|
3219
|
-
let t = ne && (v === "auto" && (
|
|
3219
|
+
let t = ne && (v === "auto" && (ge || ve) || v === !0);
|
|
3220
3220
|
return e.scrollButtonStart = t ? /*#__PURE__*/ R(Be, {
|
|
3221
3221
|
direction: i ? "right" : "left",
|
|
3222
3222
|
onClick: Pe,
|
|
3223
|
-
disabled: !
|
|
3223
|
+
disabled: !ge,
|
|
3224
3224
|
...Ve
|
|
3225
3225
|
}) : null, e.scrollButtonEnd = t ? /*#__PURE__*/ R(Be, {
|
|
3226
3226
|
direction: i ? "left" : "right",
|
|
3227
3227
|
onClick: Fe,
|
|
3228
|
-
disabled: !
|
|
3228
|
+
disabled: !ve,
|
|
3229
3229
|
...Ve
|
|
3230
3230
|
}) : null, e;
|
|
3231
3231
|
}, Ue = C((e) => {
|
|
3232
3232
|
let { tabsMeta: t, tabMeta: n } = Oe();
|
|
3233
3233
|
if (!(!n || !t)) {
|
|
3234
|
-
if (n[
|
|
3235
|
-
let r = t[
|
|
3234
|
+
if (n[k] < t[k]) {
|
|
3235
|
+
let r = t[O] + (n[k] - t[k]);
|
|
3236
3236
|
M(r, { animation: e });
|
|
3237
|
-
} else if (n[
|
|
3238
|
-
let r = t[
|
|
3237
|
+
} else if (n[ie] > t[ie]) {
|
|
3238
|
+
let r = t[O] + (n[ie] - t[ie]);
|
|
3239
3239
|
M(r, { animation: e });
|
|
3240
3240
|
}
|
|
3241
3241
|
}
|
|
3242
3242
|
}), We = C(() => {
|
|
3243
|
-
ne && v !== !1 &&
|
|
3243
|
+
ne && v !== !1 && ye(!j);
|
|
3244
3244
|
});
|
|
3245
3245
|
F.useEffect(() => {
|
|
3246
3246
|
let e = Ne(() => {
|
|
@@ -3268,11 +3268,11 @@ var wi = O("MuiTabs", [
|
|
|
3268
3268
|
root: Te.current,
|
|
3269
3269
|
threshold: .99
|
|
3270
3270
|
}, a = new IntersectionObserver((e) => {
|
|
3271
|
-
|
|
3271
|
+
_e(!e[0].isIntersecting);
|
|
3272
3272
|
}, i);
|
|
3273
3273
|
a.observe(n);
|
|
3274
3274
|
let o = new IntersectionObserver((e) => {
|
|
3275
|
-
|
|
3275
|
+
A(!e[0].isIntersecting);
|
|
3276
3276
|
}, i);
|
|
3277
3277
|
return o.observe(r), () => {
|
|
3278
3278
|
a.disconnect(), o.disconnect();
|
|
@@ -3281,32 +3281,32 @@ var wi = O("MuiTabs", [
|
|
|
3281
3281
|
}, [
|
|
3282
3282
|
ne,
|
|
3283
3283
|
v,
|
|
3284
|
-
|
|
3284
|
+
j,
|
|
3285
3285
|
l?.length
|
|
3286
3286
|
]), F.useEffect(() => {
|
|
3287
|
-
|
|
3287
|
+
fe(!0);
|
|
3288
3288
|
}, []), F.useEffect(() => {
|
|
3289
3289
|
ke();
|
|
3290
3290
|
}), F.useEffect(() => {
|
|
3291
|
-
Ue(Pi !==
|
|
3292
|
-
}, [Ue,
|
|
3291
|
+
Ue(Pi !== me);
|
|
3292
|
+
}, [Ue, me]), F.useImperativeHandle(s, () => ({
|
|
3293
3293
|
updateIndicator: ke,
|
|
3294
3294
|
updateScrollButtons: We
|
|
3295
3295
|
}), [ke, We]);
|
|
3296
3296
|
let [qe, Je] = p("indicator", {
|
|
3297
|
-
className: P(
|
|
3297
|
+
className: P(ce.indicator, S.className),
|
|
3298
3298
|
elementType: Mi,
|
|
3299
3299
|
externalForwardedProps: De,
|
|
3300
|
-
ownerState:
|
|
3301
|
-
additionalProps: { style:
|
|
3300
|
+
ownerState: se,
|
|
3301
|
+
additionalProps: { style: me }
|
|
3302
3302
|
}), Ye = /*#__PURE__*/ R(qe, { ...Je }), I = 0, Xe = F.Children.map(l, (e) => {
|
|
3303
3303
|
if (!/*#__PURE__*/ F.isValidElement(e)) return null;
|
|
3304
3304
|
let t = e.props.value === void 0 ? I : e.props.value;
|
|
3305
|
-
|
|
3305
|
+
Ce.set(t, I);
|
|
3306
3306
|
let n = t === E;
|
|
3307
3307
|
return I += 1, /*#__PURE__*/ F.cloneElement(e, {
|
|
3308
3308
|
fullWidth: ee === "fullWidth",
|
|
3309
|
-
indicator: n && !
|
|
3309
|
+
indicator: n && !de && Ye,
|
|
3310
3310
|
selected: n,
|
|
3311
3311
|
selectionFollowsFocus: y,
|
|
3312
3312
|
onChange: h,
|
|
@@ -3316,7 +3316,7 @@ var wi = O("MuiTabs", [
|
|
|
3316
3316
|
});
|
|
3317
3317
|
}), Ze = (e) => {
|
|
3318
3318
|
if (e.altKey || e.shiftKey || e.ctrlKey || e.metaKey) return;
|
|
3319
|
-
let t = Ee.current, n = je(
|
|
3319
|
+
let t = Ee.current, n = je(pe(t));
|
|
3320
3320
|
if (n?.getAttribute("role") !== "tab") return;
|
|
3321
3321
|
let r = g === "horizontal" ? "ArrowLeft" : "ArrowUp", a = g === "horizontal" ? "ArrowRight" : "ArrowDown";
|
|
3322
3322
|
switch (g === "horizontal" && i && (r = "ArrowRight", a = "ArrowLeft"), e.key) {
|
|
@@ -3336,30 +3336,30 @@ var wi = O("MuiTabs", [
|
|
|
3336
3336
|
}
|
|
3337
3337
|
}, Qe = He(), [$e, et] = p("root", {
|
|
3338
3338
|
ref: t,
|
|
3339
|
-
className: P(
|
|
3339
|
+
className: P(ce.root, u),
|
|
3340
3340
|
elementType: ki,
|
|
3341
3341
|
externalForwardedProps: {
|
|
3342
3342
|
...De,
|
|
3343
3343
|
...te,
|
|
3344
3344
|
component: d
|
|
3345
3345
|
},
|
|
3346
|
-
ownerState:
|
|
3346
|
+
ownerState: se
|
|
3347
3347
|
}), [tt, nt] = p("scroller", {
|
|
3348
3348
|
ref: Te,
|
|
3349
|
-
className:
|
|
3349
|
+
className: ce.scroller,
|
|
3350
3350
|
elementType: Ai,
|
|
3351
3351
|
externalForwardedProps: De,
|
|
3352
|
-
ownerState:
|
|
3352
|
+
ownerState: se,
|
|
3353
3353
|
additionalProps: { style: {
|
|
3354
|
-
overflow:
|
|
3355
|
-
[re ? `margin${i ? "Left" : "Right"}` : "marginBottom"]: D ? void 0 : -
|
|
3354
|
+
overflow: xe.overflow,
|
|
3355
|
+
[re ? `margin${i ? "Left" : "Right"}` : "marginBottom"]: D ? void 0 : -xe.scrollbarWidth
|
|
3356
3356
|
} }
|
|
3357
3357
|
}), [rt, it] = p("list", {
|
|
3358
3358
|
ref: Ee,
|
|
3359
|
-
className: P(
|
|
3359
|
+
className: P(ce.list, ce.flexContainer),
|
|
3360
3360
|
elementType: ji,
|
|
3361
3361
|
externalForwardedProps: De,
|
|
3362
|
-
ownerState:
|
|
3362
|
+
ownerState: se,
|
|
3363
3363
|
getSlotProps: (e) => ({
|
|
3364
3364
|
...e,
|
|
3365
3365
|
onKeyDown: (t) => {
|
|
@@ -3381,7 +3381,7 @@ var wi = O("MuiTabs", [
|
|
|
3381
3381
|
role: "tablist",
|
|
3382
3382
|
...it,
|
|
3383
3383
|
children: Xe
|
|
3384
|
-
}),
|
|
3384
|
+
}), de && Ye]
|
|
3385
3385
|
}),
|
|
3386
3386
|
Qe.scrollButtonEnd
|
|
3387
3387
|
]
|
|
@@ -3392,11 +3392,11 @@ var wi = O("MuiTabs", [
|
|
|
3392
3392
|
function Ii(e) {
|
|
3393
3393
|
return g("MuiTextField", e);
|
|
3394
3394
|
}
|
|
3395
|
-
|
|
3395
|
+
k("MuiTextField", ["root"]);
|
|
3396
3396
|
//#endregion
|
|
3397
3397
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/TextField/TextField.js
|
|
3398
3398
|
var Li = {
|
|
3399
|
-
standard:
|
|
3399
|
+
standard: ge,
|
|
3400
3400
|
filled: Re,
|
|
3401
3401
|
outlined: Me
|
|
3402
3402
|
}, Ri = (e) => {
|
|
@@ -3409,7 +3409,7 @@ var Li = {
|
|
|
3409
3409
|
let n = ze({
|
|
3410
3410
|
props: e,
|
|
3411
3411
|
name: "MuiTextField"
|
|
3412
|
-
}), { autoComplete: r, autoFocus: i = !1, children: a, className: o, color: s = "primary", defaultValue: c, disabled: l = !1, error: u = !1, FormHelperTextProps: d, fullWidth: f = !1, helperText: m, id: h, InputLabelProps: g, inputProps: _, InputProps: v, inputRef: y, label: b, maxRows: x, minRows: S, multiline: C = !1, name: w, onBlur: T, onChange: E, onFocus: ee, placeholder: te, required: ne = !1, rows: re, select:
|
|
3412
|
+
}), { autoComplete: r, autoFocus: i = !1, children: a, className: o, color: s = "primary", defaultValue: c, disabled: l = !1, error: u = !1, FormHelperTextProps: d, fullWidth: f = !1, helperText: m, id: h, InputLabelProps: g, inputProps: _, InputProps: v, inputRef: y, label: b, maxRows: x, minRows: S, multiline: C = !1, name: w, onBlur: T, onChange: E, onFocus: ee, placeholder: te, required: ne = !1, rows: re, select: O = !1, SelectProps: k, slots: ie = {}, slotProps: ae = {}, type: oe, value: se, variant: ce = "outlined", ...le } = n, ue = {
|
|
3413
3413
|
...n,
|
|
3414
3414
|
autoFocus: i,
|
|
3415
3415
|
color: s,
|
|
@@ -3418,29 +3418,29 @@ var Li = {
|
|
|
3418
3418
|
fullWidth: f,
|
|
3419
3419
|
multiline: C,
|
|
3420
3420
|
required: ne,
|
|
3421
|
-
select:
|
|
3422
|
-
variant:
|
|
3423
|
-
},
|
|
3424
|
-
slots:
|
|
3421
|
+
select: O,
|
|
3422
|
+
variant: ce
|
|
3423
|
+
}, de = Ri(ue), pe = he(h), me = m && pe ? `${pe}-helper-text` : void 0, ge = b && pe ? `${pe}-label` : void 0, _e = Li[ce], ve = {
|
|
3424
|
+
slots: ie,
|
|
3425
3425
|
slotProps: {
|
|
3426
3426
|
input: v,
|
|
3427
3427
|
inputLabel: g,
|
|
3428
3428
|
htmlInput: _,
|
|
3429
3429
|
formHelperText: d,
|
|
3430
|
-
select:
|
|
3431
|
-
...
|
|
3430
|
+
select: k,
|
|
3431
|
+
...ae
|
|
3432
3432
|
}
|
|
3433
|
-
},
|
|
3434
|
-
|
|
3435
|
-
let [
|
|
3433
|
+
}, A = {}, j = ve.slotProps.inputLabel;
|
|
3434
|
+
ce === "outlined" && (j && j.shrink !== void 0 && (A.notched = j.shrink), A.label = b), O && ((!k || !k.native) && (A.id = void 0), A["aria-describedby"] = void 0);
|
|
3435
|
+
let [ye, be] = p("root", {
|
|
3436
3436
|
elementType: zi,
|
|
3437
3437
|
shouldForwardComponentProp: !0,
|
|
3438
3438
|
externalForwardedProps: {
|
|
3439
|
-
...
|
|
3440
|
-
...
|
|
3439
|
+
...ve,
|
|
3440
|
+
...le
|
|
3441
3441
|
},
|
|
3442
|
-
ownerState:
|
|
3443
|
-
className: P(
|
|
3442
|
+
ownerState: ue,
|
|
3443
|
+
className: P(de.root, o),
|
|
3444
3444
|
ref: t,
|
|
3445
3445
|
additionalProps: {
|
|
3446
3446
|
disabled: l,
|
|
@@ -3448,31 +3448,31 @@ var Li = {
|
|
|
3448
3448
|
fullWidth: f,
|
|
3449
3449
|
required: ne,
|
|
3450
3450
|
color: s,
|
|
3451
|
-
variant:
|
|
3452
|
-
}
|
|
3453
|
-
}), [
|
|
3454
|
-
elementType:
|
|
3455
|
-
externalForwardedProps:
|
|
3456
|
-
additionalProps:
|
|
3457
|
-
ownerState:
|
|
3458
|
-
}), [
|
|
3451
|
+
variant: ce
|
|
3452
|
+
}
|
|
3453
|
+
}), [xe, Se] = p("input", {
|
|
3454
|
+
elementType: _e,
|
|
3455
|
+
externalForwardedProps: ve,
|
|
3456
|
+
additionalProps: A,
|
|
3457
|
+
ownerState: ue
|
|
3458
|
+
}), [Ce, we] = p("inputLabel", {
|
|
3459
3459
|
elementType: D,
|
|
3460
|
-
externalForwardedProps:
|
|
3461
|
-
ownerState:
|
|
3460
|
+
externalForwardedProps: ve,
|
|
3461
|
+
ownerState: ue
|
|
3462
3462
|
}), [Te, Ee] = p("htmlInput", {
|
|
3463
3463
|
elementType: "input",
|
|
3464
|
-
externalForwardedProps:
|
|
3465
|
-
ownerState:
|
|
3464
|
+
externalForwardedProps: ve,
|
|
3465
|
+
ownerState: ue
|
|
3466
3466
|
}), [De, Oe] = p("formHelperText", {
|
|
3467
3467
|
elementType: rr,
|
|
3468
|
-
externalForwardedProps:
|
|
3469
|
-
ownerState:
|
|
3468
|
+
externalForwardedProps: ve,
|
|
3469
|
+
ownerState: ue
|
|
3470
3470
|
}), [ke, M] = p("select", {
|
|
3471
|
-
elementType:
|
|
3472
|
-
externalForwardedProps:
|
|
3473
|
-
ownerState:
|
|
3474
|
-
}), Ae = /*#__PURE__*/ R(
|
|
3475
|
-
"aria-describedby":
|
|
3471
|
+
elementType: fe,
|
|
3472
|
+
externalForwardedProps: ve,
|
|
3473
|
+
ownerState: ue
|
|
3474
|
+
}), Ae = /*#__PURE__*/ R(xe, {
|
|
3475
|
+
"aria-describedby": me,
|
|
3476
3476
|
autoComplete: r,
|
|
3477
3477
|
autoFocus: i,
|
|
3478
3478
|
defaultValue: c,
|
|
@@ -3482,38 +3482,38 @@ var Li = {
|
|
|
3482
3482
|
rows: re,
|
|
3483
3483
|
maxRows: x,
|
|
3484
3484
|
minRows: S,
|
|
3485
|
-
type:
|
|
3486
|
-
value:
|
|
3487
|
-
id:
|
|
3485
|
+
type: oe,
|
|
3486
|
+
value: se,
|
|
3487
|
+
id: pe,
|
|
3488
3488
|
inputRef: y,
|
|
3489
3489
|
onBlur: T,
|
|
3490
3490
|
onChange: E,
|
|
3491
3491
|
onFocus: ee,
|
|
3492
3492
|
placeholder: te,
|
|
3493
3493
|
inputProps: Ee,
|
|
3494
|
-
slots: { input:
|
|
3495
|
-
...
|
|
3494
|
+
slots: { input: ie.htmlInput ? Te : void 0 },
|
|
3495
|
+
...Se
|
|
3496
3496
|
});
|
|
3497
|
-
return /*#__PURE__*/ z(
|
|
3498
|
-
...
|
|
3497
|
+
return /*#__PURE__*/ z(ye, {
|
|
3498
|
+
...be,
|
|
3499
3499
|
children: [
|
|
3500
|
-
b != null && b !== "" && /*#__PURE__*/ R(
|
|
3501
|
-
htmlFor:
|
|
3502
|
-
id:
|
|
3500
|
+
b != null && b !== "" && /*#__PURE__*/ R(Ce, {
|
|
3501
|
+
htmlFor: pe,
|
|
3502
|
+
id: ge,
|
|
3503
3503
|
...we,
|
|
3504
3504
|
children: b
|
|
3505
3505
|
}),
|
|
3506
|
-
|
|
3507
|
-
"aria-describedby":
|
|
3508
|
-
id:
|
|
3509
|
-
labelId:
|
|
3510
|
-
value:
|
|
3506
|
+
O ? /*#__PURE__*/ R(ke, {
|
|
3507
|
+
"aria-describedby": me,
|
|
3508
|
+
id: pe,
|
|
3509
|
+
labelId: ge,
|
|
3510
|
+
value: se,
|
|
3511
3511
|
input: Ae,
|
|
3512
3512
|
...M,
|
|
3513
3513
|
children: a
|
|
3514
3514
|
}) : Ae,
|
|
3515
3515
|
m && /*#__PURE__*/ R(De, {
|
|
3516
|
-
id:
|
|
3516
|
+
id: me,
|
|
3517
3517
|
...Oe,
|
|
3518
3518
|
children: m
|
|
3519
3519
|
})
|
|
@@ -3522,7 +3522,7 @@ var Li = {
|
|
|
3522
3522
|
}), Vi = M(Zn)(() => ({ "& .MuiFormControlLabel-label": {
|
|
3523
3523
|
left: "-5px",
|
|
3524
3524
|
position: "relative"
|
|
3525
|
-
} })), Hi = M(Qr)(() => ({ color: `${
|
|
3525
|
+
} })), Hi = M(Qr)(() => ({ color: `${A.tertiary()} !important` })), Ui = ({ label: e, value: t, checked: n, onChange: r }) => /* @__PURE__ */ R(Vi, {
|
|
3526
3526
|
value: t,
|
|
3527
3527
|
control: /* @__PURE__ */ R(Hi, {
|
|
3528
3528
|
checked: n,
|
|
@@ -18202,7 +18202,7 @@ function RC({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
18202
18202
|
L(() => (document.addEventListener("click", u), () => {
|
|
18203
18203
|
document.removeEventListener("click", u);
|
|
18204
18204
|
}), []), L(() => {
|
|
18205
|
-
l.current && typeof
|
|
18205
|
+
l.current && typeof O == "function" && O(l.current);
|
|
18206
18206
|
}, [
|
|
18207
18207
|
a?.value,
|
|
18208
18208
|
r,
|
|
@@ -18216,7 +18216,7 @@ function RC({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
18216
18216
|
});
|
|
18217
18217
|
} else !r && s && c(null);
|
|
18218
18218
|
}, [r, s]);
|
|
18219
|
-
let d = i && r ? i.value.value : a.value || "\xA0", f = n ? "\xA0" : d, p = f !== "\xA0", m = i && r, h = o ? `2px solid ${
|
|
18219
|
+
let d = i && r ? i.value.value : a.value || "\xA0", f = n ? "\xA0" : d, p = f !== "\xA0", m = i && r, h = o ? `2px solid ${A.primaryDark()}` : m ? `1px solid ${A.defaults.BORDER_DARK}` : `1px solid ${A.defaults.BORDER_LIGHT}`;
|
|
18220
18220
|
return /* @__PURE__ */ z("div", {
|
|
18221
18221
|
ref: l,
|
|
18222
18222
|
className: o ? "selected" : void 0,
|
|
@@ -18224,7 +18224,7 @@ function RC({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
18224
18224
|
display: "inline-flex",
|
|
18225
18225
|
minWidth: "178px",
|
|
18226
18226
|
minHeight: "36px",
|
|
18227
|
-
background: m ? `${
|
|
18227
|
+
background: m ? `${A.defaults.BORDER_LIGHT}` : `${A.defaults.WHITE}`,
|
|
18228
18228
|
border: h,
|
|
18229
18229
|
boxSizing: "border-box",
|
|
18230
18230
|
borderRadius: "3px",
|
|
@@ -18416,7 +18416,7 @@ var UC = (e) => {
|
|
|
18416
18416
|
]);
|
|
18417
18417
|
let w = (e) => e.clientX > document.documentElement.clientWidth || e.clientY > document.documentElement.clientHeight || e.target === document.documentElement;
|
|
18418
18418
|
return L(() => {
|
|
18419
|
-
m.current && typeof
|
|
18419
|
+
m.current && typeof O == "function" && O(m.current);
|
|
18420
18420
|
}, [s]), L(() => {
|
|
18421
18421
|
let e = document.body.getBoundingClientRect(), { from: n } = t.state.selection, r = t.view.coordsAtPos(n);
|
|
18422
18422
|
y({
|
|
@@ -18505,7 +18505,7 @@ UC.propTypes = {
|
|
|
18505
18505
|
//#region ../../lib-react/editable-html-tip-tap/dist/components/respArea/MathTemplated.js
|
|
18506
18506
|
var WC = M("span")(() => ({
|
|
18507
18507
|
display: "inline-flex",
|
|
18508
|
-
border: `1px solid ${
|
|
18508
|
+
border: `1px solid ${A.border()}`,
|
|
18509
18509
|
margin: "1px 5px",
|
|
18510
18510
|
cursor: "pointer",
|
|
18511
18511
|
alignItems: "center",
|
|
@@ -18514,10 +18514,10 @@ var WC = M("span")(() => ({
|
|
|
18514
18514
|
minHeight: "36px",
|
|
18515
18515
|
height: "fit-content"
|
|
18516
18516
|
})), GC = M("div")(() => ({
|
|
18517
|
-
background:
|
|
18518
|
-
color:
|
|
18517
|
+
background: A.backgroundDark(),
|
|
18518
|
+
color: A.text(),
|
|
18519
18519
|
display: "inline-flex",
|
|
18520
|
-
borderRight: `2px solid ${
|
|
18520
|
+
borderRight: `2px solid ${A.border()}`,
|
|
18521
18521
|
boxSizing: "border-box",
|
|
18522
18522
|
overflow: "hidden",
|
|
18523
18523
|
fontSize: "12px",
|
|
@@ -18923,7 +18923,7 @@ var JC = {}, YC = (e) => String(e || "").replace(/-/g, "_"), XC = (e) => e && e.
|
|
|
18923
18923
|
"data-latex": "",
|
|
18924
18924
|
"data-raw": e.latex
|
|
18925
18925
|
},
|
|
18926
|
-
|
|
18926
|
+
Ye(e.latex, e.wrapper)
|
|
18927
18927
|
];
|
|
18928
18928
|
},
|
|
18929
18929
|
addNodeView() {
|
|
@@ -18985,15 +18985,16 @@ var JC = {}, YC = (e) => String(e || "").replace(/-/g, "_"), XC = (e) => e && e.
|
|
|
18985
18985
|
t !== null && cancelAnimationFrame(t), window.removeEventListener("scroll", n, !0), window.removeEventListener("resize", n);
|
|
18986
18986
|
};
|
|
18987
18987
|
}, [r, s]), L(() => {
|
|
18988
|
-
let e = (
|
|
18989
|
-
|
|
18990
|
-
|
|
18988
|
+
let e = performance.now(), n = (n) => {
|
|
18989
|
+
if (n?.timeStamp < e) return;
|
|
18990
|
+
let i = n?.target, a = (document.querySelectorAll?.("[id^=\"equation-editor-select\"][id*=\"listbox\"], [aria-labelledby=\"equation-editor-label\"][role=\"listbox\"]") || []).length > 0, o = !!(i?.id && i.id.includes("equation-editor-select")) || !!i?.closest?.("[id*=\"equation-editor-select\"]"), s = !!i?.closest?.(`.math-node-${d.current}`);
|
|
18991
|
+
if (l.current && !l.current.contains(i) && !i?.closest?.("[data-inline-node]") && !a && !o && !s) {
|
|
18991
18992
|
c(!1);
|
|
18992
|
-
let e = !!r?.view?.dom?.contains(
|
|
18993
|
+
let e = !!r?.view?.dom?.contains(i);
|
|
18993
18994
|
S(t.attrs.latex, { moveCursorAfterNode: !e });
|
|
18994
18995
|
}
|
|
18995
18996
|
};
|
|
18996
|
-
return s ? document.addEventListener("click",
|
|
18997
|
+
return s ? document.addEventListener("click", n) : document.removeEventListener("click", n), () => document.removeEventListener("click", n);
|
|
18997
18998
|
}, [
|
|
18998
18999
|
r,
|
|
18999
19000
|
s,
|
|
@@ -19154,7 +19155,7 @@ var JC = {}, YC = (e) => String(e || "").replace(/-/g, "_"), XC = (e) => e && e.
|
|
|
19154
19155
|
"disabled",
|
|
19155
19156
|
"extraStyles"
|
|
19156
19157
|
].includes(e) })(({ active: e, disabled: t }) => ({
|
|
19157
|
-
color: e ?
|
|
19158
|
+
color: e ? A.text() : A.disabled(),
|
|
19158
19159
|
display: "inline-flex",
|
|
19159
19160
|
padding: "2px",
|
|
19160
19161
|
background: "none",
|
|
@@ -19164,8 +19165,8 @@ var JC = {}, YC = (e) => String(e || "").replace(/-/g, "_"), XC = (e) => e && e.
|
|
|
19164
19165
|
width: "24px",
|
|
19165
19166
|
height: "24px"
|
|
19166
19167
|
},
|
|
19167
|
-
"&:hover": { color: t ?
|
|
19168
|
-
"&:focus": { outline: `2px solid ${
|
|
19168
|
+
"&:hover": { color: t ? A.disabled() : A.text() },
|
|
19169
|
+
"&:focus": { outline: `2px solid ${A.buttonFocusOutline()}` },
|
|
19169
19170
|
...t && { opacity: .7 }
|
|
19170
19171
|
})), bw = (0, St.default)("pie-elements:editable-html:raw-button");
|
|
19171
19172
|
(class extends I.Component {
|
|
@@ -19441,11 +19442,11 @@ function Nw(e) {
|
|
|
19441
19442
|
window.removeEventListener("mousemove", D), window.removeEventListener("mouseup", ne);
|
|
19442
19443
|
}, [D]), re = nt(() => {
|
|
19443
19444
|
window.addEventListener("mousemove", D), window.addEventListener("mouseup", ne);
|
|
19444
|
-
}, [D, ne]),
|
|
19445
|
+
}, [D, ne]), O = {
|
|
19445
19446
|
width: Mw(t.attrs.width),
|
|
19446
19447
|
height: Mw(t.attrs.height),
|
|
19447
19448
|
objectFit: "contain"
|
|
19448
|
-
},
|
|
19449
|
+
}, k = {
|
|
19449
19450
|
left: "flex-start",
|
|
19450
19451
|
center: "center",
|
|
19451
19452
|
right: "flex-end"
|
|
@@ -19454,7 +19455,7 @@ function Nw(e) {
|
|
|
19454
19455
|
onFocus: i,
|
|
19455
19456
|
loading: !t.attrs.loaded,
|
|
19456
19457
|
pendingDelete: t.attrs.deleteStatus === "pending",
|
|
19457
|
-
style: { justifyContent:
|
|
19458
|
+
style: { justifyContent: k },
|
|
19458
19459
|
children: [/* @__PURE__ */ R(Dw, {
|
|
19459
19460
|
mode: "determinate",
|
|
19460
19461
|
value: t.attrs.percent || 0,
|
|
@@ -19467,7 +19468,7 @@ function Nw(e) {
|
|
|
19467
19468
|
draggable: !1,
|
|
19468
19469
|
ref: y,
|
|
19469
19470
|
src: t.attrs.src,
|
|
19470
|
-
style:
|
|
19471
|
+
style: O,
|
|
19471
19472
|
onLoad: E,
|
|
19472
19473
|
alt: t.attrs.alt
|
|
19473
19474
|
}), /* @__PURE__ */ R(jw, {
|
|
@@ -21834,7 +21835,7 @@ var fE = PT.extend({ content: "(div | paragraph | heading | bulletList | ordered
|
|
|
21834
21835
|
})), ME = DE((e) => /* @__PURE__ */ R(EE, {
|
|
21835
21836
|
...e,
|
|
21836
21837
|
d: "M15.46,15.88L16.88,14.46L19,16.59L21.12,14.46L22.54,15.88L20.41,18L22.54,20.12L21.12,21.54L19,19.41L16.88,21.54L15.46,20.12L17.59,18L15.46,15.88M4,3H18A2,2 0 0,1 20,5V12.08C18.45,11.82 16.92,12.18 15.68,13H12V17H13.08C12.97,17.68 12.97,18.35 13.08,19H4A2,2 0 0,1 2,17V5A2,2 0 0,1 4,3M4,7V11H10V7H4M12,7V11H18V7H12M4,13V17H10V13H4Z"
|
|
21837
|
-
})), NE = M(
|
|
21838
|
+
})), NE = M(ve)({
|
|
21838
21839
|
background: "#fff",
|
|
21839
21840
|
padding: "10px",
|
|
21840
21841
|
pointerEvents: "none",
|
|
@@ -22383,7 +22384,7 @@ function nD({ editor: e, classes: t, activePlugins: n, toolbarOpts: r, responseA
|
|
|
22383
22384
|
});
|
|
22384
22385
|
}
|
|
22385
22386
|
var rD = (e) => {
|
|
22386
|
-
|
|
22387
|
+
be();
|
|
22387
22388
|
let t = {
|
|
22388
22389
|
defaultToolbar: "defaultToolbar",
|
|
22389
22390
|
buttonsContainer: "buttonsContainer",
|
|
@@ -22431,14 +22432,14 @@ var rD = (e) => {
|
|
|
22431
22432
|
width: "24px",
|
|
22432
22433
|
height: "24px"
|
|
22433
22434
|
},
|
|
22434
|
-
"&:hover": { color:
|
|
22435
|
-
"&:focus": { outline: `2px solid ${
|
|
22435
|
+
"&:hover": { color: A.text() },
|
|
22436
|
+
"&:focus": { outline: `2px solid ${A.buttonFocusOutline()}` }
|
|
22436
22437
|
},
|
|
22437
|
-
"& .active": { color:
|
|
22438
|
+
"& .active": { color: A.text() },
|
|
22438
22439
|
"& .disabled": {
|
|
22439
22440
|
opacity: .7,
|
|
22440
22441
|
cursor: "not-allowed",
|
|
22441
|
-
"& :hover": { color:
|
|
22442
|
+
"& :hover": { color: A.disabled() }
|
|
22442
22443
|
},
|
|
22443
22444
|
"& .isActive": {
|
|
22444
22445
|
background: "var(--purple)",
|
|
@@ -22550,22 +22551,22 @@ var rD = (e) => {
|
|
|
22550
22551
|
tableLayout: "fixed",
|
|
22551
22552
|
width: "100%",
|
|
22552
22553
|
borderCollapse: "collapse",
|
|
22553
|
-
color:
|
|
22554
|
-
backgroundColor:
|
|
22554
|
+
color: A.text(),
|
|
22555
|
+
backgroundColor: A.background()
|
|
22555
22556
|
},
|
|
22556
|
-
"& table:not([border=\"1\"]) tr": { borderTop: `1px solid ${
|
|
22557
|
+
"& table:not([border=\"1\"]) tr": { borderTop: `1px solid ${A.tableGridLight()}` },
|
|
22557
22558
|
"& td, th": {
|
|
22558
22559
|
padding: ".6em 1em",
|
|
22559
22560
|
textAlign: "center"
|
|
22560
22561
|
},
|
|
22561
|
-
"& table:not([border=\"1\"]) td, th": { border: `1px solid ${
|
|
22562
|
+
"& table:not([border=\"1\"]) td, th": { border: `1px solid ${A.tableGridLight()}` },
|
|
22562
22563
|
...n && { border: `2px solid ${e.palette.error.main} !important` }
|
|
22563
22564
|
})), oD = M("div", { shouldForwardProp: (e) => !["disableScrollbar", "highlightShape"].includes(e) })(({ theme: e, disableScrollbar: t, highlightShape: n }) => ({
|
|
22564
22565
|
position: "relative",
|
|
22565
22566
|
padding: "0px",
|
|
22566
22567
|
overflowY: "auto",
|
|
22567
|
-
color:
|
|
22568
|
-
backgroundColor: n ? e.palette.action.selected :
|
|
22568
|
+
color: A.text(),
|
|
22569
|
+
backgroundColor: n ? e.palette.action.selected : A.background(),
|
|
22569
22570
|
...t && {
|
|
22570
22571
|
"&::-webkit-scrollbar": { display: "none" },
|
|
22571
22572
|
scrollbarWidth: "none",
|
|
@@ -25974,13 +25975,13 @@ var nM = tM(y, "InputContainer") || tM(aM.InputContainer, "InputContainer"), rM
|
|
|
25974
25975
|
custom: "Customized Feedback"
|
|
25975
25976
|
}, cM = M("div")(({ theme: e }) => ({ marginBottom: e.spacing(1) })), lM = M(nM)(() => ({ paddingBottom: 0 })), uM = M("div")(({ theme: e }) => ({
|
|
25976
25977
|
marginTop: "0px",
|
|
25977
|
-
background:
|
|
25978
|
+
background: A.backgroundDark(),
|
|
25978
25979
|
padding: 0,
|
|
25979
25980
|
marginBottom: e.spacing(2),
|
|
25980
25981
|
borderRadius: "4px"
|
|
25981
25982
|
})), dM = M("div")(({ theme: e }) => ({
|
|
25982
25983
|
marginTop: "0px",
|
|
25983
|
-
background:
|
|
25984
|
+
background: A.backgroundDark(),
|
|
25984
25985
|
padding: e.spacing(2),
|
|
25985
25986
|
marginBottom: e.spacing(2),
|
|
25986
25987
|
borderRadius: "4px",
|
|
@@ -26167,7 +26168,7 @@ var nM = tM(y, "InputContainer") || tM(aM.InputContainer, "InputContainer"), rM
|
|
|
26167
26168
|
}
|
|
26168
26169
|
}
|
|
26169
26170
|
})), CM = M(yn)(({ theme: e, mini: t, error: n }) => ({
|
|
26170
|
-
color: `${
|
|
26171
|
+
color: `${A.tertiary()} !important`,
|
|
26171
26172
|
...t && {
|
|
26172
26173
|
margin: 0,
|
|
26173
26174
|
padding: 0,
|
|
@@ -26878,8 +26879,8 @@ AN.displayName = "Measure", AN.propTypes.children = B.default.func;
|
|
|
26878
26879
|
//#endregion
|
|
26879
26880
|
//#region ../../lib-react/config-ui/dist/layout/settings-box.js
|
|
26880
26881
|
var jN = M("div")(() => ({
|
|
26881
|
-
backgroundColor:
|
|
26882
|
-
border: `2px solid ${
|
|
26882
|
+
backgroundColor: A.white(),
|
|
26883
|
+
border: `2px solid ${A.border()}`,
|
|
26883
26884
|
display: "flex",
|
|
26884
26885
|
flexDirection: "column",
|
|
26885
26886
|
justifyContent: "flex-start",
|
|
@@ -26900,7 +26901,7 @@ var jN = M("div")(() => ({
|
|
|
26900
26901
|
children: t
|
|
26901
26902
|
});
|
|
26902
26903
|
}
|
|
26903
|
-
}, NN =
|
|
26904
|
+
}, NN = de({
|
|
26904
26905
|
typography: { fontFamily: "inherit" },
|
|
26905
26906
|
components: { MuiButton: { styleOverrides: { contained: {
|
|
26906
26907
|
backgroundColor: "#e0e0e0",
|
|
@@ -26937,7 +26938,7 @@ var jN = M("div")(() => ({
|
|
|
26937
26938
|
a !== this.state.layoutMode && this.setState({ layoutMode: a });
|
|
26938
26939
|
};
|
|
26939
26940
|
render() {
|
|
26940
|
-
return /* @__PURE__ */ R(
|
|
26941
|
+
return /* @__PURE__ */ R(ie, {
|
|
26941
26942
|
injectFirst: !0,
|
|
26942
26943
|
children: /* @__PURE__ */ R(Fe, {
|
|
26943
26944
|
theme: NN,
|
|
@@ -26976,9 +26977,9 @@ var jN = M("div")(() => ({
|
|
|
26976
26977
|
fontSize: e.typography.fontSize,
|
|
26977
26978
|
paddingTop: e.spacing(2)
|
|
26978
26979
|
})), zN = M(oi)(({ checked: e }) => ({
|
|
26979
|
-
"&.Mui-checked .MuiSwitch-thumb": { color: `${
|
|
26980
|
-
"&.Mui-checked .MuiSwitch-track": { backgroundColor: `${
|
|
26981
|
-
"& .MuiSwitch-track": { backgroundColor: e ? `${
|
|
26980
|
+
"&.Mui-checked .MuiSwitch-thumb": { color: `${A.tertiary()} !important` },
|
|
26981
|
+
"&.Mui-checked .MuiSwitch-track": { backgroundColor: `${A.tertiaryLight()} !important` },
|
|
26982
|
+
"& .MuiSwitch-track": { backgroundColor: e ? `${A.tertiaryLight()} !important` : void 0 }
|
|
26982
26983
|
})), BN = ({ checked: e, disabled: t, label: n, toggle: r }) => /* @__PURE__ */ z(LN, { children: [/* @__PURE__ */ R(RN, { children: n }), /* @__PURE__ */ R(zN, {
|
|
26983
26984
|
checked: e,
|
|
26984
26985
|
disabled: t,
|
|
@@ -26997,7 +26998,7 @@ var VN = M(Zn)(({ theme: e }) => ({ "& .MuiFormControlLabel-label": {
|
|
|
26997
26998
|
fontSize: e.typography.fontSize - 2,
|
|
26998
26999
|
left: "-5px",
|
|
26999
27000
|
position: "relative"
|
|
27000
|
-
} })), HN = M(Qr)(() => ({ color: `${
|
|
27001
|
+
} })), HN = M(Qr)(() => ({ color: `${A.tertiary()} !important` })), UN = ({ label: e, value: t, checked: n, onChange: r }) => /* @__PURE__ */ R(VN, {
|
|
27001
27002
|
value: t,
|
|
27002
27003
|
control: /* @__PURE__ */ R(HN, {
|
|
27003
27004
|
checked: n,
|
|
@@ -27058,7 +27059,7 @@ YN.propTypes = {
|
|
|
27058
27059
|
var XN = YN, ZN = M("p")(({ theme: e }) => ({
|
|
27059
27060
|
margin: 0,
|
|
27060
27061
|
fontSize: e.typography.fontSize
|
|
27061
|
-
})), QN = M(
|
|
27062
|
+
})), QN = M(fe)(({ theme: e }) => ({
|
|
27062
27063
|
marginTop: e.spacing(.5),
|
|
27063
27064
|
border: "2px solid lightgrey",
|
|
27064
27065
|
padding: `0 ${e.spacing(1)}`,
|
|
@@ -27068,13 +27069,13 @@ var XN = YN, ZN = M("p")(({ theme: e }) => ({
|
|
|
27068
27069
|
return /* @__PURE__ */ z("div", { children: [e && /* @__PURE__ */ R(ZN, { children: e }), /* @__PURE__ */ R(QN, {
|
|
27069
27070
|
value: t || r && r[0],
|
|
27070
27071
|
onChange: ({ target: e }) => n(e.value),
|
|
27071
|
-
input: /* @__PURE__ */ R(
|
|
27072
|
+
input: /* @__PURE__ */ R(ge, { id: `dropdown-${e}` }),
|
|
27072
27073
|
disableUnderline: !0,
|
|
27073
27074
|
MenuProps: { transitionDuration: {
|
|
27074
27075
|
enter: 225,
|
|
27075
27076
|
exit: 195
|
|
27076
27077
|
} },
|
|
27077
|
-
children: r.map((e, t) => /* @__PURE__ */ R(
|
|
27078
|
+
children: r.map((e, t) => /* @__PURE__ */ R(Ce, {
|
|
27078
27079
|
value: a(e),
|
|
27079
27080
|
children: i(e)
|
|
27080
27081
|
}, t))
|
|
@@ -27265,7 +27266,7 @@ var CP = SP(y, "InputContainer") || SP(EP.InputContainer, "InputContainer"), wP
|
|
|
27265
27266
|
marginBottom: e.spacing(2.5),
|
|
27266
27267
|
width: "100%",
|
|
27267
27268
|
minWidth: "548px",
|
|
27268
|
-
border: `1px solid ${
|
|
27269
|
+
border: `1px solid ${A.borderDark()}`,
|
|
27269
27270
|
display: "flex",
|
|
27270
27271
|
flexDirection: "column",
|
|
27271
27272
|
justifyContent: "space-between",
|
|
@@ -27302,13 +27303,13 @@ var CP = SP(y, "InputContainer") || SP(EP.InputContainer, "InputContainer"), wP
|
|
|
27302
27303
|
fontSize: e.typography.fontSize - 2,
|
|
27303
27304
|
color: e.palette.error.main,
|
|
27304
27305
|
paddingTop: e.spacing(1)
|
|
27305
|
-
})), IP = M(yn)({ color: `${
|
|
27306
|
-
border: `1px solid ${
|
|
27307
|
-
color:
|
|
27306
|
+
})), IP = M(yn)({ color: `${A.tertiary()} !important` }), LP = M(ne)(() => ({
|
|
27307
|
+
border: `1px solid ${A.border()}`,
|
|
27308
|
+
color: A.text()
|
|
27308
27309
|
})), RP = M(ne)(({ theme: e }) => ({
|
|
27309
27310
|
marginLeft: e.spacing(2),
|
|
27310
|
-
border: `1px solid ${
|
|
27311
|
-
color:
|
|
27311
|
+
border: `1px solid ${A.border()}`,
|
|
27312
|
+
color: A.disabled(),
|
|
27312
27313
|
fontSize: "0.8rem"
|
|
27313
27314
|
})), zP = class extends F.Component {
|
|
27314
27315
|
static propTypes = {
|
|
@@ -27408,17 +27409,17 @@ var CP = SP(y, "InputContainer") || SP(EP.InputContainer, "InputContainer"), wP
|
|
|
27408
27409
|
children: ["Response ", ""]
|
|
27409
27410
|
}), /* @__PURE__ */ R(AP, {
|
|
27410
27411
|
label: "Validation",
|
|
27411
|
-
children: /* @__PURE__ */ z(
|
|
27412
|
+
children: /* @__PURE__ */ z(fe, {
|
|
27412
27413
|
onChange: this.onChange("validation"),
|
|
27413
27414
|
value: c || "literal",
|
|
27414
27415
|
MenuProps: { transitionDuration: {
|
|
27415
27416
|
enter: 225,
|
|
27416
27417
|
exit: 195
|
|
27417
27418
|
} },
|
|
27418
|
-
children: [/* @__PURE__ */ R(
|
|
27419
|
+
children: [/* @__PURE__ */ R(Ce, {
|
|
27419
27420
|
value: "literal",
|
|
27420
27421
|
children: "Literal Validation"
|
|
27421
|
-
}), /* @__PURE__ */ R(
|
|
27422
|
+
}), /* @__PURE__ */ R(Ce, {
|
|
27422
27423
|
value: "symbolic",
|
|
27423
27424
|
children: "Symbolic Validation"
|
|
27424
27425
|
})]
|
|
@@ -27596,7 +27597,7 @@ var cF = class extends F.Component {
|
|
|
27596
27597
|
this.setState({ showKeypad: !1 });
|
|
27597
27598
|
};
|
|
27598
27599
|
UNSAFE_componentWillMount() {
|
|
27599
|
-
typeof window < "u" && (WP ||= (
|
|
27600
|
+
typeof window < "u" && (WP ||= (ye("answerBlock", (e) => ({
|
|
27600
27601
|
htmlString: `
|
|
27601
27602
|
<div class="block-container block-container-generic">
|
|
27602
27603
|
<div class="block-response block-response-generic" id="${e}Index">Response</div>
|
|
@@ -27622,7 +27623,7 @@ var cF = class extends F.Component {
|
|
|
27622
27623
|
u(t, this.state.responseAreas) || this.setState({ responseAreas: t }, () => {
|
|
27623
27624
|
this.root && Object.keys(t).length && Object.keys(t).forEach((e, t) => {
|
|
27624
27625
|
let n = this.root.querySelector(`#${e}`), r = this.root.querySelector(`#${e}Index`);
|
|
27625
|
-
n && (
|
|
27626
|
+
n && (xe(n), r.textContent = `R${t + 1}`);
|
|
27626
27627
|
});
|
|
27627
27628
|
});
|
|
27628
27629
|
};
|
|
@@ -27642,10 +27643,10 @@ var cF = class extends F.Component {
|
|
|
27642
27643
|
i.responses[t] = e, r(i);
|
|
27643
27644
|
};
|
|
27644
27645
|
render() {
|
|
27645
|
-
let { model: e, imageSupport: t, uploadSoundSupport: n, configuration: r, promptEnabled: i, rationaleEnabled: a, toolbarOpts: o } = this.props, { showKeypad: s } = this.state, { prompt: c, expression: l, equationEditor: u, promptEquationEditor: d = "8", responses: f, responseType: p, rationale: m, spellCheckEnabled: h, errors: g = {} } = e, { baseInputConfiguration: _ = {}, rationale: v = {}, prompt: y = {}, ignoreOrder: b = {}, allowTrailingZeros: x = {}, maxResponseAreas: S, maxImageWidth: C = {}, maxImageHeight: w = {}, mathMlOptions: T = {} } = r || {}, E = VP(r, e), { prompt: ee, rationale: D, responsesErrors: te, responseAreasError: ne } = g, re = C && C.prompt,
|
|
27646
|
+
let { model: e, imageSupport: t, uploadSoundSupport: n, configuration: r, promptEnabled: i, rationaleEnabled: a, toolbarOpts: o } = this.props, { showKeypad: s } = this.state, { prompt: c, expression: l, equationEditor: u, promptEquationEditor: d = "8", responses: f, responseType: p, rationale: m, spellCheckEnabled: h, errors: g = {} } = e, { baseInputConfiguration: _ = {}, rationale: v = {}, prompt: y = {}, ignoreOrder: b = {}, allowTrailingZeros: x = {}, maxResponseAreas: S, maxImageWidth: C = {}, maxImageHeight: w = {}, mathMlOptions: T = {} } = r || {}, E = VP(r, e), { prompt: ee, rationale: D, responsesErrors: te, responseAreasError: ne } = g, re = C && C.prompt, O = w && w.prompt, k = {
|
|
27646
27647
|
editor: "response-editor",
|
|
27647
27648
|
mathToolbar: "math-toolbar"
|
|
27648
|
-
},
|
|
27649
|
+
}, ie = p === BP.advanced ? f : f.slice(0, 1), ae = /* @__PURE__ */ R(ZP, {
|
|
27649
27650
|
disableFocusListener: !0,
|
|
27650
27651
|
disableTouchListener: !0,
|
|
27651
27652
|
placement: "right",
|
|
@@ -27672,7 +27673,7 @@ var cF = class extends F.Component {
|
|
|
27672
27673
|
pluginProps: HP(y?.inputConfiguration, _),
|
|
27673
27674
|
spellCheck: h,
|
|
27674
27675
|
maxImageWidth: re,
|
|
27675
|
-
maxImageHeight:
|
|
27676
|
+
maxImageHeight: O,
|
|
27676
27677
|
uploadSoundSupport: n,
|
|
27677
27678
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
27678
27679
|
mathMlOptions: T
|
|
@@ -27681,11 +27682,11 @@ var cF = class extends F.Component {
|
|
|
27681
27682
|
p === BP.advanced && /* @__PURE__ */ z(eF, { children: [
|
|
27682
27683
|
/* @__PURE__ */ z(JP, {
|
|
27683
27684
|
style: { justifyContent: "flex-start" },
|
|
27684
|
-
children: [/* @__PURE__ */ R(qP, { children: "Define Response" }),
|
|
27685
|
+
children: [/* @__PURE__ */ R(qP, { children: "Define Response" }), ae]
|
|
27685
27686
|
}),
|
|
27686
27687
|
/* @__PURE__ */ R(YP, {
|
|
27687
27688
|
label: "Response Template Equation Editor",
|
|
27688
|
-
children: /* @__PURE__ */ z(
|
|
27689
|
+
children: /* @__PURE__ */ z(fe, {
|
|
27689
27690
|
onChange: this.onChange("promptEquationEditor"),
|
|
27690
27691
|
value: d,
|
|
27691
27692
|
MenuProps: { transitionDuration: {
|
|
@@ -27693,51 +27694,51 @@ var cF = class extends F.Component {
|
|
|
27693
27694
|
exit: 195
|
|
27694
27695
|
} },
|
|
27695
27696
|
children: [
|
|
27696
|
-
/* @__PURE__ */ R(
|
|
27697
|
+
/* @__PURE__ */ R(Ce, {
|
|
27697
27698
|
value: "non-negative-integers",
|
|
27698
27699
|
children: "Numeric - Non-Negative Integers"
|
|
27699
27700
|
}),
|
|
27700
|
-
/* @__PURE__ */ R(
|
|
27701
|
+
/* @__PURE__ */ R(Ce, {
|
|
27701
27702
|
value: "integers",
|
|
27702
27703
|
children: "Numeric - Integers"
|
|
27703
27704
|
}),
|
|
27704
|
-
/* @__PURE__ */ R(
|
|
27705
|
+
/* @__PURE__ */ R(Ce, {
|
|
27705
27706
|
value: "decimals",
|
|
27706
27707
|
children: "Numeric - Decimals"
|
|
27707
27708
|
}),
|
|
27708
|
-
/* @__PURE__ */ R(
|
|
27709
|
+
/* @__PURE__ */ R(Ce, {
|
|
27709
27710
|
value: "fractions",
|
|
27710
27711
|
children: "Numeric - Fractions"
|
|
27711
27712
|
}),
|
|
27712
|
-
/* @__PURE__ */ R(
|
|
27713
|
+
/* @__PURE__ */ R(Ce, {
|
|
27713
27714
|
value: 1,
|
|
27714
27715
|
children: "Grade 1 - 2"
|
|
27715
27716
|
}),
|
|
27716
|
-
/* @__PURE__ */ R(
|
|
27717
|
+
/* @__PURE__ */ R(Ce, {
|
|
27717
27718
|
value: 3,
|
|
27718
27719
|
children: "Grade 3 - 5"
|
|
27719
27720
|
}),
|
|
27720
|
-
/* @__PURE__ */ R(
|
|
27721
|
+
/* @__PURE__ */ R(Ce, {
|
|
27721
27722
|
value: 6,
|
|
27722
27723
|
children: "Grade 6 - 7"
|
|
27723
27724
|
}),
|
|
27724
|
-
/* @__PURE__ */ R(
|
|
27725
|
+
/* @__PURE__ */ R(Ce, {
|
|
27725
27726
|
value: 8,
|
|
27726
27727
|
children: "Grade 8 - HS"
|
|
27727
27728
|
}),
|
|
27728
|
-
/* @__PURE__ */ R(
|
|
27729
|
+
/* @__PURE__ */ R(Ce, {
|
|
27729
27730
|
value: "geometry",
|
|
27730
27731
|
children: "Geometry"
|
|
27731
27732
|
}),
|
|
27732
|
-
/* @__PURE__ */ R(
|
|
27733
|
+
/* @__PURE__ */ R(Ce, {
|
|
27733
27734
|
value: "advanced-algebra",
|
|
27734
27735
|
children: "Advanced Algebra"
|
|
27735
27736
|
}),
|
|
27736
|
-
/* @__PURE__ */ R(
|
|
27737
|
+
/* @__PURE__ */ R(Ce, {
|
|
27737
27738
|
value: "statistics",
|
|
27738
27739
|
children: "Statistics"
|
|
27739
27740
|
}),
|
|
27740
|
-
/* @__PURE__ */ R(
|
|
27741
|
+
/* @__PURE__ */ R(Ce, {
|
|
27741
27742
|
value: "item-authoring",
|
|
27742
27743
|
children: "Item Authoring"
|
|
27743
27744
|
})
|
|
@@ -27745,7 +27746,7 @@ var cF = class extends F.Component {
|
|
|
27745
27746
|
})
|
|
27746
27747
|
}, "templateEditorType"),
|
|
27747
27748
|
/* @__PURE__ */ z(XP, { children: [/* @__PURE__ */ R(KP, { children: "RESPONSE TEMPLATE" }), /* @__PURE__ */ R(Ae, {
|
|
27748
|
-
classNames:
|
|
27749
|
+
classNames: k,
|
|
27749
27750
|
allowAnswerBlock: !0,
|
|
27750
27751
|
keypadMode: d,
|
|
27751
27752
|
controlledKeypad: !0,
|
|
@@ -27761,11 +27762,11 @@ var cF = class extends F.Component {
|
|
|
27761
27762
|
] }),
|
|
27762
27763
|
/* @__PURE__ */ z(JP, {
|
|
27763
27764
|
style: { justifyContent: "flex-start" },
|
|
27764
|
-
children: [/* @__PURE__ */ R(qP, { children: "Define Correct Response" }), p === BP.simple ?
|
|
27765
|
+
children: [/* @__PURE__ */ R(qP, { children: "Define Correct Response" }), p === BP.simple ? ae : null]
|
|
27765
27766
|
}),
|
|
27766
27767
|
/* @__PURE__ */ R(YP, {
|
|
27767
27768
|
label: "Equation Editor",
|
|
27768
|
-
children: /* @__PURE__ */ z(
|
|
27769
|
+
children: /* @__PURE__ */ z(fe, {
|
|
27769
27770
|
onChange: this.onChange("equationEditor"),
|
|
27770
27771
|
value: u,
|
|
27771
27772
|
MenuProps: { transitionDuration: {
|
|
@@ -27773,58 +27774,58 @@ var cF = class extends F.Component {
|
|
|
27773
27774
|
exit: 195
|
|
27774
27775
|
} },
|
|
27775
27776
|
children: [
|
|
27776
|
-
/* @__PURE__ */ R(
|
|
27777
|
+
/* @__PURE__ */ R(Ce, {
|
|
27777
27778
|
value: "non-negative-integers",
|
|
27778
27779
|
children: "Numeric - Non-Negative Integers"
|
|
27779
27780
|
}),
|
|
27780
|
-
/* @__PURE__ */ R(
|
|
27781
|
+
/* @__PURE__ */ R(Ce, {
|
|
27781
27782
|
value: "integers",
|
|
27782
27783
|
children: "Numeric - Integers"
|
|
27783
27784
|
}),
|
|
27784
|
-
/* @__PURE__ */ R(
|
|
27785
|
+
/* @__PURE__ */ R(Ce, {
|
|
27785
27786
|
value: "decimals",
|
|
27786
27787
|
children: "Numeric - Decimals"
|
|
27787
27788
|
}),
|
|
27788
|
-
/* @__PURE__ */ R(
|
|
27789
|
+
/* @__PURE__ */ R(Ce, {
|
|
27789
27790
|
value: "fractions",
|
|
27790
27791
|
children: "Numeric - Fractions"
|
|
27791
27792
|
}),
|
|
27792
|
-
/* @__PURE__ */ R(
|
|
27793
|
+
/* @__PURE__ */ R(Ce, {
|
|
27793
27794
|
value: 1,
|
|
27794
27795
|
children: "Grade 1 - 2"
|
|
27795
27796
|
}),
|
|
27796
|
-
/* @__PURE__ */ R(
|
|
27797
|
+
/* @__PURE__ */ R(Ce, {
|
|
27797
27798
|
value: 3,
|
|
27798
27799
|
children: "Grade 3 - 5"
|
|
27799
27800
|
}),
|
|
27800
|
-
/* @__PURE__ */ R(
|
|
27801
|
+
/* @__PURE__ */ R(Ce, {
|
|
27801
27802
|
value: 6,
|
|
27802
27803
|
children: "Grade 6 - 7"
|
|
27803
27804
|
}),
|
|
27804
|
-
/* @__PURE__ */ R(
|
|
27805
|
+
/* @__PURE__ */ R(Ce, {
|
|
27805
27806
|
value: 8,
|
|
27806
27807
|
children: "Grade 8 - HS"
|
|
27807
27808
|
}),
|
|
27808
|
-
/* @__PURE__ */ R(
|
|
27809
|
+
/* @__PURE__ */ R(Ce, {
|
|
27809
27810
|
value: "geometry",
|
|
27810
27811
|
children: "Geometry"
|
|
27811
27812
|
}),
|
|
27812
|
-
/* @__PURE__ */ R(
|
|
27813
|
+
/* @__PURE__ */ R(Ce, {
|
|
27813
27814
|
value: "advanced-algebra",
|
|
27814
27815
|
children: "Advanced Algebra"
|
|
27815
27816
|
}),
|
|
27816
|
-
/* @__PURE__ */ R(
|
|
27817
|
+
/* @__PURE__ */ R(Ce, {
|
|
27817
27818
|
value: "statistics",
|
|
27818
27819
|
children: "Statistics"
|
|
27819
27820
|
}),
|
|
27820
|
-
/* @__PURE__ */ R(
|
|
27821
|
+
/* @__PURE__ */ R(Ce, {
|
|
27821
27822
|
value: "item-authoring",
|
|
27822
27823
|
children: "Item Authoring"
|
|
27823
27824
|
})
|
|
27824
27825
|
]
|
|
27825
27826
|
})
|
|
27826
27827
|
}),
|
|
27827
|
-
|
|
27828
|
+
ie.map((e, t) => /* @__PURE__ */ R(zP, {
|
|
27828
27829
|
mode: u,
|
|
27829
27830
|
response: e,
|
|
27830
27831
|
defaultResponse: p === BP.simple,
|
|
@@ -27849,7 +27850,7 @@ var cF = class extends F.Component {
|
|
|
27849
27850
|
}),
|
|
27850
27851
|
spellCheck: h,
|
|
27851
27852
|
maxImageWidth: C && C.rationale || re,
|
|
27852
|
-
maxImageHeight: w && w.rationale ||
|
|
27853
|
+
maxImageHeight: w && w.rationale || O,
|
|
27853
27854
|
uploadSoundSupport: n,
|
|
27854
27855
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
27855
27856
|
mathMlOptions: T
|
|
@@ -27889,15 +27890,15 @@ var cF = class extends F.Component {
|
|
|
27889
27890
|
t.feedback = e, n(t);
|
|
27890
27891
|
};
|
|
27891
27892
|
render() {
|
|
27892
|
-
let { model: e, imageSupport: t, onModelChanged: n, configuration: r, onConfigurationChanged: i, uploadSoundSupport: a } = this.props, { allowTrailingZeros: o = {}, baseInputConfiguration: s = {}, contentDimensions: c = {}, feedback: l = {}, ignoreOrder: u = {}, maxImageWidth: d = {}, maxImageHeight: f = {}, prompt: p = {}, rationale: m = {}, responseType: h = {}, scoringType: g = {}, settingsPanelDisabled: _, spellCheck: v = {}, studentInstructions: y = {}, teacherInstructions: b = {}, withRubric: x = {}, mathMlOptions: S = {}, language: C = {}, languageChoices: w = {} } = r || {}, { errors: T = {}, extraCSSRules: E, feedbackEnabled: ee, promptEnabled: D, rationaleEnabled: te, spellCheckEnabled: ne, teacherInstructionsEnabled: re, toolbarEditorPosition:
|
|
27893
|
+
let { model: e, imageSupport: t, onModelChanged: n, configuration: r, onConfigurationChanged: i, uploadSoundSupport: a } = this.props, { allowTrailingZeros: o = {}, baseInputConfiguration: s = {}, contentDimensions: c = {}, feedback: l = {}, ignoreOrder: u = {}, maxImageWidth: d = {}, maxImageHeight: f = {}, prompt: p = {}, rationale: m = {}, responseType: h = {}, scoringType: g = {}, settingsPanelDisabled: _, spellCheck: v = {}, studentInstructions: y = {}, teacherInstructions: b = {}, withRubric: x = {}, mathMlOptions: S = {}, language: C = {}, languageChoices: w = {} } = r || {}, { errors: T = {}, extraCSSRules: E, feedbackEnabled: ee, promptEnabled: D, rationaleEnabled: te, spellCheckEnabled: ne, teacherInstructionsEnabled: re, toolbarEditorPosition: O } = e || {}, { teacherInstructions: k } = T;
|
|
27893
27894
|
lF("[render] model", e);
|
|
27894
|
-
let
|
|
27895
|
+
let ie = { position: O === "top" ? "top" : "bottom" }, ae = d && d.prompt, oe = f && f.prompt, se = {
|
|
27895
27896
|
responseType: h.settings && fF(h.label, [BP.simple, BP.advanced]),
|
|
27896
27897
|
feedbackEnabled: l.settings && dF(l.label),
|
|
27897
27898
|
promptEnabled: p.settings && dF(p.label),
|
|
27898
27899
|
"language.enabled": C.settings && dF(C.label, !0),
|
|
27899
27900
|
language: C.settings && C.enabled && pF(w.label, w.options)
|
|
27900
|
-
},
|
|
27901
|
+
}, ce = {
|
|
27901
27902
|
teacherInstructionsEnabled: b.settings && dF(b.label),
|
|
27902
27903
|
studentInstructionsEnabled: y.settings && dF(y.label),
|
|
27903
27904
|
rationaleEnabled: m.settings && dF(m.label),
|
|
@@ -27917,8 +27918,8 @@ var cF = class extends F.Component {
|
|
|
27917
27918
|
onChangeModel: (e) => n(e),
|
|
27918
27919
|
onChangeConfiguration: (e) => i(e),
|
|
27919
27920
|
groups: {
|
|
27920
|
-
Settings:
|
|
27921
|
-
Properties:
|
|
27921
|
+
Settings: se,
|
|
27922
|
+
Properties: ce
|
|
27922
27923
|
}
|
|
27923
27924
|
}),
|
|
27924
27925
|
children: [
|
|
@@ -27929,16 +27930,16 @@ var cF = class extends F.Component {
|
|
|
27929
27930
|
onChange: this.changeTeacherInstructions,
|
|
27930
27931
|
imageSupport: t,
|
|
27931
27932
|
nonEmpty: !1,
|
|
27932
|
-
error:
|
|
27933
|
-
toolbarOpts:
|
|
27933
|
+
error: k,
|
|
27934
|
+
toolbarOpts: ie,
|
|
27934
27935
|
pluginProps: HP(b?.inputConfiguration, s),
|
|
27935
27936
|
spellCheck: ne,
|
|
27936
|
-
maxImageWidth: d && d.teacherInstructions ||
|
|
27937
|
-
maxImageHeight: f && f.teacherInstructions ||
|
|
27937
|
+
maxImageWidth: d && d.teacherInstructions || ae,
|
|
27938
|
+
maxImageHeight: f && f.teacherInstructions || oe,
|
|
27938
27939
|
uploadSoundSupport: a,
|
|
27939
27940
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
27940
27941
|
mathMlOptions: S
|
|
27941
|
-
}),
|
|
27942
|
+
}), k && /* @__PURE__ */ R(hF, { children: k })]
|
|
27942
27943
|
}),
|
|
27943
27944
|
/* @__PURE__ */ R(cF, {
|
|
27944
27945
|
imageSupport: t,
|
|
@@ -27948,13 +27949,13 @@ var cF = class extends F.Component {
|
|
|
27948
27949
|
onChange: this.onChange,
|
|
27949
27950
|
rationaleEnabled: te,
|
|
27950
27951
|
promptEnabled: D,
|
|
27951
|
-
toolbarOpts:
|
|
27952
|
+
toolbarOpts: ie,
|
|
27952
27953
|
spellCheck: ne
|
|
27953
27954
|
}),
|
|
27954
27955
|
ee && /* @__PURE__ */ R(yM, {
|
|
27955
27956
|
feedback: e.feedback,
|
|
27956
27957
|
onChange: this.onFeedbackChange,
|
|
27957
|
-
toolbarOpts:
|
|
27958
|
+
toolbarOpts: ie
|
|
27958
27959
|
})
|
|
27959
27960
|
]
|
|
27960
27961
|
});
|