@ethnolib/language-chooser-react-mui 0.0.9 → 0.0.11
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/LanguageChooser.d.ts +1 -0
- package/{Demo.d.ts → demos/DialogDemo.d.ts} +3 -2
- package/demos/DummyRightPanelComponent.d.ts +1 -0
- package/demos/PageDemo.d.ts +2 -0
- package/index.js +87 -84
- package/index.mjs +313 -300
- package/package.json +1 -1
package/index.mjs
CHANGED
@@ -1083,7 +1083,7 @@ var k3 = function(n) {
|
|
1083
1083
|
function Ia(a, n, t) {
|
1084
1084
|
return Lg.call(n, "css") ? Vr.jsx(uh, mh(a, n), t) : Vr.jsx(a, n, t);
|
1085
1085
|
}
|
1086
|
-
function
|
1086
|
+
function Rn(a, n, t) {
|
1087
1087
|
return Lg.call(n, "css") ? Vr.jsxs(uh, mh(a, n), t) : Vr.jsxs(a, n, t);
|
1088
1088
|
}
|
1089
1089
|
var C3 = /* @__PURE__ */ Vm(function(a, n) {
|
@@ -1111,13 +1111,13 @@ var C3 = /* @__PURE__ */ Vm(function(a, n) {
|
|
1111
1111
|
n.insert("", i, m, !1);
|
1112
1112
|
}, [n, i.name]), null;
|
1113
1113
|
});
|
1114
|
-
function
|
1114
|
+
function Ba() {
|
1115
1115
|
for (var a = arguments.length, n = new Array(a), t = 0; t < a; t++)
|
1116
1116
|
n[t] = arguments[t];
|
1117
1117
|
return yg(n);
|
1118
1118
|
}
|
1119
1119
|
var hg = function() {
|
1120
|
-
var n =
|
1120
|
+
var n = Ba.apply(void 0, arguments), t = "animation-" + n.name;
|
1121
1121
|
return {
|
1122
1122
|
name: t,
|
1123
1123
|
styles: "@keyframes " + t + "{" + n.styles + "}",
|
@@ -2187,7 +2187,7 @@ const X3 = (a, n) => {
|
|
2187
2187
|
GlobalStyles: $m,
|
2188
2188
|
StyledEngineProvider: Lh,
|
2189
2189
|
ThemeContext: Ks,
|
2190
|
-
css:
|
2190
|
+
css: Ba,
|
2191
2191
|
default: V3,
|
2192
2192
|
internal_processStyles: X3,
|
2193
2193
|
keyframes: hg
|
@@ -2438,16 +2438,16 @@ function Th(a, n) {
|
|
2438
2438
|
const t = ph(a.theme);
|
2439
2439
|
return Object.keys(a).map((i) => cf(a, n, i, t)).reduce(li, {});
|
2440
2440
|
}
|
2441
|
-
function
|
2441
|
+
function En(a) {
|
2442
2442
|
return Th(a, pg);
|
2443
2443
|
}
|
2444
|
-
|
2445
|
-
|
2446
|
-
function
|
2444
|
+
En.propTypes = process.env.NODE_ENV !== "production" ? pg.reduce((a, n) => (a[n] = ps, a), {}) : {};
|
2445
|
+
En.filterProps = pg;
|
2446
|
+
function Un(a) {
|
2447
2447
|
return Th(a, Tg);
|
2448
2448
|
}
|
2449
|
-
|
2450
|
-
|
2449
|
+
Un.propTypes = process.env.NODE_ENV !== "production" ? Tg.reduce((a, n) => (a[n] = ps, a), {}) : {};
|
2450
|
+
Un.filterProps = Tg;
|
2451
2451
|
process.env.NODE_ENV !== "production" && mf.reduce((a, n) => (a[n] = ps, a), {});
|
2452
2452
|
function df(a = 8) {
|
2453
2453
|
if (a.mui)
|
@@ -2682,124 +2682,124 @@ const Ci = {
|
|
2682
2682
|
},
|
2683
2683
|
// spacing
|
2684
2684
|
p: {
|
2685
|
-
style:
|
2685
|
+
style: Un
|
2686
2686
|
},
|
2687
2687
|
pt: {
|
2688
|
-
style:
|
2688
|
+
style: Un
|
2689
2689
|
},
|
2690
2690
|
pr: {
|
2691
|
-
style:
|
2691
|
+
style: Un
|
2692
2692
|
},
|
2693
2693
|
pb: {
|
2694
|
-
style:
|
2694
|
+
style: Un
|
2695
2695
|
},
|
2696
2696
|
pl: {
|
2697
|
-
style:
|
2697
|
+
style: Un
|
2698
2698
|
},
|
2699
2699
|
px: {
|
2700
|
-
style:
|
2700
|
+
style: Un
|
2701
2701
|
},
|
2702
2702
|
py: {
|
2703
|
-
style:
|
2703
|
+
style: Un
|
2704
2704
|
},
|
2705
2705
|
padding: {
|
2706
|
-
style:
|
2706
|
+
style: Un
|
2707
2707
|
},
|
2708
2708
|
paddingTop: {
|
2709
|
-
style:
|
2709
|
+
style: Un
|
2710
2710
|
},
|
2711
2711
|
paddingRight: {
|
2712
|
-
style:
|
2712
|
+
style: Un
|
2713
2713
|
},
|
2714
2714
|
paddingBottom: {
|
2715
|
-
style:
|
2715
|
+
style: Un
|
2716
2716
|
},
|
2717
2717
|
paddingLeft: {
|
2718
|
-
style:
|
2718
|
+
style: Un
|
2719
2719
|
},
|
2720
2720
|
paddingX: {
|
2721
|
-
style:
|
2721
|
+
style: Un
|
2722
2722
|
},
|
2723
2723
|
paddingY: {
|
2724
|
-
style:
|
2724
|
+
style: Un
|
2725
2725
|
},
|
2726
2726
|
paddingInline: {
|
2727
|
-
style:
|
2727
|
+
style: Un
|
2728
2728
|
},
|
2729
2729
|
paddingInlineStart: {
|
2730
|
-
style:
|
2730
|
+
style: Un
|
2731
2731
|
},
|
2732
2732
|
paddingInlineEnd: {
|
2733
|
-
style:
|
2733
|
+
style: Un
|
2734
2734
|
},
|
2735
2735
|
paddingBlock: {
|
2736
|
-
style:
|
2736
|
+
style: Un
|
2737
2737
|
},
|
2738
2738
|
paddingBlockStart: {
|
2739
|
-
style:
|
2739
|
+
style: Un
|
2740
2740
|
},
|
2741
2741
|
paddingBlockEnd: {
|
2742
|
-
style:
|
2742
|
+
style: Un
|
2743
2743
|
},
|
2744
2744
|
m: {
|
2745
|
-
style:
|
2745
|
+
style: En
|
2746
2746
|
},
|
2747
2747
|
mt: {
|
2748
|
-
style:
|
2748
|
+
style: En
|
2749
2749
|
},
|
2750
2750
|
mr: {
|
2751
|
-
style:
|
2751
|
+
style: En
|
2752
2752
|
},
|
2753
2753
|
mb: {
|
2754
|
-
style:
|
2754
|
+
style: En
|
2755
2755
|
},
|
2756
2756
|
ml: {
|
2757
|
-
style:
|
2757
|
+
style: En
|
2758
2758
|
},
|
2759
2759
|
mx: {
|
2760
|
-
style:
|
2760
|
+
style: En
|
2761
2761
|
},
|
2762
2762
|
my: {
|
2763
|
-
style:
|
2763
|
+
style: En
|
2764
2764
|
},
|
2765
2765
|
margin: {
|
2766
|
-
style:
|
2766
|
+
style: En
|
2767
2767
|
},
|
2768
2768
|
marginTop: {
|
2769
|
-
style:
|
2769
|
+
style: En
|
2770
2770
|
},
|
2771
2771
|
marginRight: {
|
2772
|
-
style:
|
2772
|
+
style: En
|
2773
2773
|
},
|
2774
2774
|
marginBottom: {
|
2775
|
-
style:
|
2775
|
+
style: En
|
2776
2776
|
},
|
2777
2777
|
marginLeft: {
|
2778
|
-
style:
|
2778
|
+
style: En
|
2779
2779
|
},
|
2780
2780
|
marginX: {
|
2781
|
-
style:
|
2781
|
+
style: En
|
2782
2782
|
},
|
2783
2783
|
marginY: {
|
2784
|
-
style:
|
2784
|
+
style: En
|
2785
2785
|
},
|
2786
2786
|
marginInline: {
|
2787
|
-
style:
|
2787
|
+
style: En
|
2788
2788
|
},
|
2789
2789
|
marginInlineStart: {
|
2790
|
-
style:
|
2790
|
+
style: En
|
2791
2791
|
},
|
2792
2792
|
marginInlineEnd: {
|
2793
|
-
style:
|
2793
|
+
style: En
|
2794
2794
|
},
|
2795
2795
|
marginBlock: {
|
2796
|
-
style:
|
2796
|
+
style: En
|
2797
2797
|
},
|
2798
2798
|
marginBlockStart: {
|
2799
|
-
style:
|
2799
|
+
style: En
|
2800
2800
|
},
|
2801
2801
|
marginBlockEnd: {
|
2802
|
-
style:
|
2802
|
+
style: En
|
2803
2803
|
},
|
2804
2804
|
// display
|
2805
2805
|
displayPrint: {
|
@@ -5917,7 +5917,7 @@ const yC = Fa("MuiButtonBase", ["root", "disabled", "focusVisible"]), LC = ["act
|
|
5917
5917
|
nn === "button" && (O.href || O.to) && (nn = f);
|
5918
5918
|
const vn = {};
|
5919
5919
|
nn === "button" ? (vn.type = sa === void 0 ? "button" : sa, vn.disabled = y) : (!O.href && !O.to && (vn.role = "button"), y && (vn["aria-disabled"] = y));
|
5920
|
-
const
|
5920
|
+
const qn = Wn(t, pa, oa);
|
5921
5921
|
process.env.NODE_ENV !== "production" && v.useEffect(() => {
|
5922
5922
|
ga && !W.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
|
5923
5923
|
`));
|
@@ -5949,7 +5949,7 @@ const yC = Fa("MuiButtonBase", ["root", "disabled", "focusVisible"]), LC = ["act
|
|
5949
5949
|
onTouchEnd: ka,
|
5950
5950
|
onTouchMove: mn,
|
5951
5951
|
onTouchStart: Sa,
|
5952
|
-
ref:
|
5952
|
+
ref: qn,
|
5953
5953
|
tabIndex: y ? -1 : U,
|
5954
5954
|
type: sa
|
5955
5955
|
}, vn, O, {
|
@@ -6742,7 +6742,7 @@ function DC(a) {
|
|
6742
6742
|
default: !1,
|
6743
6743
|
name: y,
|
6744
6744
|
state: "open"
|
6745
|
-
}), [vn,
|
6745
|
+
}), [vn, qn] = v.useState(!0), jn = !U && ka != null && Ga === la(ka), za = rn && !Q, ha = za ? w(
|
6746
6746
|
R.filter((Y) => !(P && (U ? ka : [ka]).some((Z) => Z !== null && ta(Y, Z)))),
|
6747
6747
|
// we use the empty string to manipulate `filterOptions` to not filter any options
|
6748
6748
|
// i.e. the filter predicate always returns true
|
@@ -6804,7 +6804,7 @@ function DC(a) {
|
|
6804
6804
|
const Wa = xa, oe = Ka.clientHeight + Ka.scrollTop, ct = Wa.offsetTop + Wa.offsetHeight;
|
6805
6805
|
ct > oe ? Ka.scrollTop = ct - Ka.clientHeight : Wa.offsetTop - Wa.offsetHeight * (j ? 1.3 : 0) < Ka.scrollTop && (Ka.scrollTop = Wa.offsetTop - Wa.offsetHeight * (j ? 1.3 : 0));
|
6806
6806
|
}
|
6807
|
-
}),
|
6807
|
+
}), Da = De(({
|
6808
6808
|
event: Y,
|
6809
6809
|
diff: Z,
|
6810
6810
|
direction: ya = "next",
|
@@ -6855,7 +6855,7 @@ function DC(a) {
|
|
6855
6855
|
}
|
6856
6856
|
const Z = U ? ka[0] : ka;
|
6857
6857
|
if (ha.length === 0 || Z == null) {
|
6858
|
-
|
6858
|
+
Da({
|
6859
6859
|
diff: "reset"
|
6860
6860
|
});
|
6861
6861
|
return;
|
@@ -6866,7 +6866,7 @@ function DC(a) {
|
|
6866
6866
|
if (U && ya && Pr(ka, (Ka) => ta(ya, Ka)) !== -1)
|
6867
6867
|
return;
|
6868
6868
|
const da = Pr(ha, (Ka) => ta(Ka, Z));
|
6869
|
-
da === -1 ?
|
6869
|
+
da === -1 ? Da({
|
6870
6870
|
diff: "reset"
|
6871
6871
|
}) : fa({
|
6872
6872
|
index: da
|
@@ -6890,7 +6890,7 @@ function DC(a) {
|
|
6890
6890
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
6891
6891
|
U ? !1 : ka,
|
6892
6892
|
P,
|
6893
|
-
|
6893
|
+
Da,
|
6894
6894
|
fa,
|
6895
6895
|
za,
|
6896
6896
|
Ga,
|
@@ -6906,7 +6906,7 @@ function DC(a) {
|
|
6906
6906
|
Vn();
|
6907
6907
|
}, [Vn]);
|
6908
6908
|
const le = (Y) => {
|
6909
|
-
rn || (nn(!0),
|
6909
|
+
rn || (nn(!0), qn(!0), oa && oa(Y));
|
6910
6910
|
}, _e = (Y, Z) => {
|
6911
6911
|
rn && (nn(!1), X && X(Y, Z));
|
6912
6912
|
}, ye = (Y, Z, ya, da) => {
|
@@ -6957,7 +6957,7 @@ function DC(a) {
|
|
6957
6957
|
if (Y.onKeyDown && Y.onKeyDown(Z), !Z.defaultMuiPrevented && (K !== -1 && ["ArrowLeft", "ArrowRight"].indexOf(Z.key) === -1 && (Ca(-1), Dn(-1)), Z.which !== 229))
|
6958
6958
|
switch (Z.key) {
|
6959
6959
|
case "Home":
|
6960
|
-
za && z && (Z.preventDefault(),
|
6960
|
+
za && z && (Z.preventDefault(), Da({
|
6961
6961
|
diff: "start",
|
6962
6962
|
direction: "next",
|
6963
6963
|
reason: "keyboard",
|
@@ -6965,7 +6965,7 @@ function DC(a) {
|
|
6965
6965
|
}));
|
6966
6966
|
break;
|
6967
6967
|
case "End":
|
6968
|
-
za && z && (Z.preventDefault(),
|
6968
|
+
za && z && (Z.preventDefault(), Da({
|
6969
6969
|
diff: "end",
|
6970
6970
|
direction: "previous",
|
6971
6971
|
reason: "keyboard",
|
@@ -6973,7 +6973,7 @@ function DC(a) {
|
|
6973
6973
|
}));
|
6974
6974
|
break;
|
6975
6975
|
case "PageUp":
|
6976
|
-
Z.preventDefault(),
|
6976
|
+
Z.preventDefault(), Da({
|
6977
6977
|
diff: -uL,
|
6978
6978
|
direction: "previous",
|
6979
6979
|
reason: "keyboard",
|
@@ -6981,7 +6981,7 @@ function DC(a) {
|
|
6981
6981
|
}), le(Z);
|
6982
6982
|
break;
|
6983
6983
|
case "PageDown":
|
6984
|
-
Z.preventDefault(),
|
6984
|
+
Z.preventDefault(), Da({
|
6985
6985
|
diff: uL,
|
6986
6986
|
direction: "next",
|
6987
6987
|
reason: "keyboard",
|
@@ -6989,7 +6989,7 @@ function DC(a) {
|
|
6989
6989
|
}), le(Z);
|
6990
6990
|
break;
|
6991
6991
|
case "ArrowDown":
|
6992
|
-
Z.preventDefault(),
|
6992
|
+
Z.preventDefault(), Da({
|
6993
6993
|
diff: 1,
|
6994
6994
|
direction: "next",
|
6995
6995
|
reason: "keyboard",
|
@@ -6997,7 +6997,7 @@ function DC(a) {
|
|
6997
6997
|
}), le(Z);
|
6998
6998
|
break;
|
6999
6999
|
case "ArrowUp":
|
7000
|
-
Z.preventDefault(),
|
7000
|
+
Z.preventDefault(), Da({
|
7001
7001
|
diff: -1,
|
7002
7002
|
direction: "previous",
|
7003
7003
|
reason: "keyboard",
|
@@ -7048,7 +7048,7 @@ function DC(a) {
|
|
7048
7048
|
Ea(!1), _a.current = !0, ca.current = !1, l && Sa.current !== -1 && za ? Ue(Y, ha[Sa.current], "blur") : l && I && Ga !== "" ? Ue(Y, Ga, "blur", "freeSolo") : u && ln(Y, ka), _e(Y, "blur");
|
7049
7049
|
}, Xn = (Y) => {
|
7050
7050
|
const Z = Y.target.value;
|
7051
|
-
Ga !== Z && (_n(Z),
|
7051
|
+
Ga !== Z && (_n(Z), qn(!1), O && O(Y, Z, "input")), Z === "" ? !b && !U && ye(Y, null, "clear") : le(Y);
|
7052
7052
|
}, fn = (Y) => {
|
7053
7053
|
const Z = Number(Y.currentTarget.getAttribute("data-option-index"));
|
7054
7054
|
Sa.current !== Z && fa({
|
@@ -7918,7 +7918,7 @@ function BA(a) {
|
|
7918
7918
|
j[C] = ka, U[C] = ka - oa;
|
7919
7919
|
}
|
7920
7920
|
if (u) {
|
7921
|
-
var mn, Ga = C === "x" ? Ne : ve, _n = C === "x" ? ot : it, en = j[x], Ea = x === "y" ? "height" : "width", ln = en + w[Ga], rn = en - w[_n], nn = [Ne, ve].indexOf(P) !== -1, vn = (mn = ta == null ? void 0 : ta[x]) != null ? mn : 0,
|
7921
|
+
var mn, Ga = C === "x" ? Ne : ve, _n = C === "x" ? ot : it, en = j[x], Ea = x === "y" ? "height" : "width", ln = en + w[Ga], rn = en - w[_n], nn = [Ne, ve].indexOf(P) !== -1, vn = (mn = ta == null ? void 0 : ta[x]) != null ? mn : 0, qn = nn ? ln : en - z[Ea] - E[Ea] - vn + H.altAxis, jn = nn ? en + z[Ea] + E[Ea] - vn - H.altAxis : rn, za = f && nn ? iA(qn, en, jn) : mi(f ? qn : ln, en, f ? jn : rn);
|
7922
7922
|
j[x] = za, U[x] = za - en;
|
7923
7923
|
}
|
7924
7924
|
n.modifiersData[i] = U;
|
@@ -9692,15 +9692,15 @@ const je = Fa("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
9692
9692
|
size: K.size,
|
9693
9693
|
startAdornment: R,
|
9694
9694
|
type: Q
|
9695
|
-
}), nn = NP(rn), vn = La.root || y.Root || Ig,
|
9695
|
+
}), nn = NP(rn), vn = La.root || y.Root || Ig, qn = W.root || L.root || {}, jn = La.input || y.Input || Bg;
|
9696
9696
|
return Ea = N({}, Ea, (i = W.input) != null ? i : L.input), /* @__PURE__ */ Gn(v.Fragment, {
|
9697
|
-
children: [!f && vP, /* @__PURE__ */ Gn(vn, N({},
|
9698
|
-
ownerState: N({}, rn,
|
9697
|
+
children: [!f && vP, /* @__PURE__ */ Gn(vn, N({}, qn, !vo(vn) && {
|
9698
|
+
ownerState: N({}, rn, qn.ownerState)
|
9699
9699
|
}, {
|
9700
9700
|
ref: t,
|
9701
9701
|
onClick: _n
|
9702
9702
|
}, pa, {
|
9703
|
-
className: wa(nn.root,
|
9703
|
+
className: wa(nn.root, qn.className, d, sa && "MuiInputBase-readOnly"),
|
9704
9704
|
children: [R, /* @__PURE__ */ V(Bi.Provider, {
|
9705
9705
|
value: null,
|
9706
9706
|
children: /* @__PURE__ */ V(jn, N({
|
@@ -10406,7 +10406,7 @@ const MP = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
10406
10406
|
getInputLabelProps: rn,
|
10407
10407
|
getPopupIndicatorProps: nn,
|
10408
10408
|
getClearProps: vn,
|
10409
|
-
getTagProps:
|
10409
|
+
getTagProps: qn,
|
10410
10410
|
getListboxProps: jn,
|
10411
10411
|
getOptionProps: za,
|
10412
10412
|
value: ha,
|
@@ -10415,7 +10415,7 @@ const MP = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
10415
10415
|
id: Dn,
|
10416
10416
|
popupOpen: Qn,
|
10417
10417
|
focused: fa,
|
10418
|
-
focusedTag:
|
10418
|
+
focusedTag: Da,
|
10419
10419
|
anchorEl: un,
|
10420
10420
|
setAnchorEl: Vn,
|
10421
10421
|
inputValue: gt,
|
@@ -10439,7 +10439,7 @@ const MP = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
10439
10439
|
getOptionLabel: He,
|
10440
10440
|
hasClearIcon: _e,
|
10441
10441
|
hasPopupIcon: ye,
|
10442
|
-
inputFocused:
|
10442
|
+
inputFocused: Da === -1,
|
10443
10443
|
popupOpen: Qn,
|
10444
10444
|
size: Ga
|
10445
10445
|
}), fn = GP(Xn);
|
@@ -10448,7 +10448,7 @@ const MP = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
10448
10448
|
const da = (Ka) => N({
|
10449
10449
|
className: fn.tag,
|
10450
10450
|
disabled: z
|
10451
|
-
},
|
10451
|
+
}, qn(Ka));
|
10452
10452
|
ka ? se = ka(ha, da, Xn) : se = ha.map((Ka, xa) => {
|
10453
10453
|
const Wa = da({
|
10454
10454
|
index: xa
|
@@ -17087,34 +17087,34 @@ const zz = (a) => {
|
|
17087
17087
|
return;
|
17088
17088
|
const fa = de(pa.current).getElementById(P);
|
17089
17089
|
if (fa) {
|
17090
|
-
const
|
17090
|
+
const Da = () => {
|
17091
17091
|
getSelection().isCollapsed && pa.current.focus();
|
17092
17092
|
};
|
17093
|
-
return fa.addEventListener("click",
|
17094
|
-
fa.removeEventListener("click",
|
17093
|
+
return fa.addEventListener("click", Da), () => {
|
17094
|
+
fa.removeEventListener("click", Da);
|
17095
17095
|
};
|
17096
17096
|
}
|
17097
17097
|
}, [P]);
|
17098
|
-
const K = (fa,
|
17099
|
-
fa ? J && J(
|
17098
|
+
const K = (fa, Da) => {
|
17099
|
+
fa ? J && J(Da) : z && z(Da), ca || (ga(u ? null : va.clientWidth), Q(fa));
|
17100
17100
|
}, Ca = (fa) => {
|
17101
17101
|
fa.button === 0 && (fa.preventDefault(), pa.current.focus(), K(!0, fa));
|
17102
17102
|
}, $ = (fa) => {
|
17103
17103
|
K(!1, fa);
|
17104
17104
|
}, Sa = v.Children.toArray(d), ka = (fa) => {
|
17105
|
-
const
|
17106
|
-
|
17107
|
-
}, mn = (fa) => (
|
17105
|
+
const Da = Sa.find((un) => un.props.value === fa.target.value);
|
17106
|
+
Da !== void 0 && (La(Da.props.value), j && j(fa, Da));
|
17107
|
+
}, mn = (fa) => (Da) => {
|
17108
17108
|
let un;
|
17109
|
-
if (
|
17109
|
+
if (Da.currentTarget.hasAttribute("tabindex")) {
|
17110
17110
|
if (M) {
|
17111
17111
|
un = Array.isArray(W) ? W.slice() : [];
|
17112
17112
|
const Vn = W.indexOf(fa.props.value);
|
17113
17113
|
Vn === -1 ? un.push(fa.props.value) : un.splice(Vn, 1);
|
17114
17114
|
} else
|
17115
17115
|
un = fa.props.value;
|
17116
|
-
if (fa.props.onClick && fa.props.onClick(
|
17117
|
-
const Vn =
|
17116
|
+
if (fa.props.onClick && fa.props.onClick(Da), W !== un && (La(un), j)) {
|
17117
|
+
const Vn = Da.nativeEvent || Da, gt = new Vn.constructor(Vn.type, Vn);
|
17118
17118
|
Object.defineProperty(gt, "target", {
|
17119
17119
|
writable: !0,
|
17120
17120
|
value: {
|
@@ -17123,7 +17123,7 @@ const zz = (a) => {
|
|
17123
17123
|
}
|
17124
17124
|
}), j(gt, fa);
|
17125
17125
|
}
|
17126
|
-
M || K(!1,
|
17126
|
+
M || K(!1, Da);
|
17127
17127
|
}
|
17128
17128
|
}, Ga = (fa) => {
|
17129
17129
|
ta || [
|
@@ -17150,26 +17150,26 @@ const zz = (a) => {
|
|
17150
17150
|
(og({
|
17151
17151
|
value: W
|
17152
17152
|
}) || f) && (U ? Ea = U(W) : nn = !0);
|
17153
|
-
const
|
17153
|
+
const qn = Sa.map((fa) => {
|
17154
17154
|
if (!/* @__PURE__ */ v.isValidElement(fa))
|
17155
17155
|
return null;
|
17156
17156
|
process.env.NODE_ENV !== "production" && pi.isFragment(fa) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
17157
17157
|
`));
|
17158
|
-
let
|
17158
|
+
let Da;
|
17159
17159
|
if (M) {
|
17160
17160
|
if (!Array.isArray(W))
|
17161
17161
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : Rs(2));
|
17162
|
-
|
17162
|
+
Da = W.some((un) => DL(un, fa.props.value)), Da && nn && rn.push(fa.props.children);
|
17163
17163
|
} else
|
17164
|
-
|
17165
|
-
return
|
17166
|
-
"aria-selected":
|
17164
|
+
Da = DL(W, fa.props.value), Da && nn && (ln = fa.props.children);
|
17165
|
+
return Da && (vn = !0), /* @__PURE__ */ v.cloneElement(fa, {
|
17166
|
+
"aria-selected": Da ? "true" : "false",
|
17167
17167
|
onClick: mn(fa),
|
17168
17168
|
onKeyUp: (un) => {
|
17169
17169
|
un.key === " " && un.preventDefault(), fa.props.onKeyUp && fa.props.onKeyUp(un);
|
17170
17170
|
},
|
17171
17171
|
role: "option",
|
17172
|
-
selected:
|
17172
|
+
selected: Da,
|
17173
17173
|
value: void 0,
|
17174
17174
|
// The value is most likely not a valid HTML attribute.
|
17175
17175
|
"data-value": fa.props.value
|
@@ -17178,11 +17178,11 @@ const zz = (a) => {
|
|
17178
17178
|
});
|
17179
17179
|
process.env.NODE_ENV !== "production" && v.useEffect(() => {
|
17180
17180
|
if (!vn && !M && W !== "") {
|
17181
|
-
const fa = Sa.map((
|
17182
|
-
console.warn([`MUI: You have provided an out-of-range value \`${W}\` for the select ${C ? `(name="${C}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${fa.filter((
|
17181
|
+
const fa = Sa.map((Da) => Da.props.value);
|
17182
|
+
console.warn([`MUI: You have provided an out-of-range value \`${W}\` for the select ${C ? `(name="${C}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${fa.filter((Da) => Da != null).map((Da) => `\`${Da}\``).join(", ") || '""'}.`].join(`
|
17183
17183
|
`));
|
17184
17184
|
}
|
17185
|
-
}, [vn, Sa, M, C, W]), nn && (M ? rn.length === 0 ? Ea = null : Ea = rn.reduce((fa,
|
17185
|
+
}, [vn, Sa, M, C, W]), nn && (M ? rn.length === 0 ? Ea = null : Ea = rn.reduce((fa, Da, un) => (fa.push(Da), un < rn.length - 1 && fa.push(", "), fa), []) : Ea = ln);
|
17186
17186
|
let jn = _a;
|
17187
17187
|
!u && ca && ia && (jn = va.clientWidth);
|
17188
17188
|
let za;
|
@@ -17264,7 +17264,7 @@ const zz = (a) => {
|
|
17264
17264
|
}, Dn != null ? Dn.style : null)
|
17265
17265
|
})
|
17266
17266
|
}),
|
17267
|
-
children:
|
17267
|
+
children: qn
|
17268
17268
|
}))]
|
17269
17269
|
});
|
17270
17270
|
});
|
@@ -17872,7 +17872,7 @@ const Rb = /* @__PURE__ */ v.forwardRef(function(n, t) {
|
|
17872
17872
|
TransitionProps: Ca
|
17873
17873
|
} = j, $ = Pa(j, Ez), Sa = /* @__PURE__ */ v.isValidElement(E) ? E : /* @__PURE__ */ V("span", {
|
17874
17874
|
children: E
|
17875
|
-
}), ka = Pi(), mn = Bh(), [Ga, _n] = v.useState(), [en, Ea] = v.useState(null), ln = v.useRef(!1), rn = X || La, nn = bo(), vn = bo(),
|
17875
|
+
}), ka = Pi(), mn = Bh(), [Ga, _n] = v.useState(), [en, Ea] = v.useState(null), ln = v.useRef(!1), rn = X || La, nn = bo(), vn = bo(), qn = bo(), jn = bo(), [za, ha] = Bs({
|
17876
17876
|
controlled: la,
|
17877
17877
|
default: !1,
|
17878
17878
|
name: "Tooltip",
|
@@ -17894,7 +17894,7 @@ const Rb = /* @__PURE__ */ v.forwardRef(function(n, t) {
|
|
17894
17894
|
v.useEffect(() => Qn, [Qn]);
|
17895
17895
|
const fa = (xa) => {
|
17896
17896
|
KL.clear(), Ir = !0, ha(!0), ia && !sn && ia(xa);
|
17897
|
-
},
|
17897
|
+
}, Da = De(
|
17898
17898
|
/**
|
17899
17899
|
* @param {React.SyntheticEvent | Event} event
|
17900
17900
|
*/
|
@@ -17906,12 +17906,12 @@ const Rb = /* @__PURE__ */ v.forwardRef(function(n, t) {
|
|
17906
17906
|
});
|
17907
17907
|
}
|
17908
17908
|
), un = (xa) => {
|
17909
|
-
ln.current && xa.type !== "touchstart" || (Ga && Ga.removeAttribute("title"), vn.clear(),
|
17909
|
+
ln.current && xa.type !== "touchstart" || (Ga && Ga.removeAttribute("title"), vn.clear(), qn.clear(), O || Ir && oa ? vn.start(Ir ? oa : O, () => {
|
17910
17910
|
fa(xa);
|
17911
17911
|
}) : fa(xa));
|
17912
17912
|
}, Vn = (xa) => {
|
17913
|
-
vn.clear(),
|
17914
|
-
|
17913
|
+
vn.clear(), qn.start(Q, () => {
|
17914
|
+
Da(xa);
|
17915
17915
|
});
|
17916
17916
|
}, {
|
17917
17917
|
isFocusVisibleRef: gt,
|
@@ -17927,24 +17927,24 @@ const Rb = /* @__PURE__ */ v.forwardRef(function(n, t) {
|
|
17927
17927
|
const Wa = Sa.props;
|
17928
17928
|
Wa.onTouchStart && Wa.onTouchStart(xa);
|
17929
17929
|
}, as = (xa) => {
|
17930
|
-
qt(xa),
|
17930
|
+
qt(xa), qn.clear(), nn.clear(), Qn(), Dn.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", jn.start(W, () => {
|
17931
17931
|
document.body.style.WebkitUserSelect = Dn.current, un(xa);
|
17932
17932
|
});
|
17933
17933
|
}, ns = (xa) => {
|
17934
|
-
Sa.props.onTouchEnd && Sa.props.onTouchEnd(xa), Qn(),
|
17935
|
-
|
17934
|
+
Sa.props.onTouchEnd && Sa.props.onTouchEnd(xa), Qn(), qn.start(Ta, () => {
|
17935
|
+
Da(xa);
|
17936
17936
|
});
|
17937
17937
|
};
|
17938
17938
|
v.useEffect(() => {
|
17939
17939
|
if (!sn)
|
17940
17940
|
return;
|
17941
17941
|
function xa(Wa) {
|
17942
|
-
(Wa.key === "Escape" || Wa.key === "Esc") &&
|
17942
|
+
(Wa.key === "Escape" || Wa.key === "Esc") && Da(Wa);
|
17943
17943
|
}
|
17944
17944
|
return document.addEventListener("keydown", xa), () => {
|
17945
17945
|
document.removeEventListener("keydown", xa);
|
17946
17946
|
};
|
17947
|
-
}, [
|
17947
|
+
}, [Da, sn]);
|
17948
17948
|
const Ws = Wn(Sa.ref, ye, _n, t);
|
17949
17949
|
!va && va !== 0 && (sn = !1);
|
17950
17950
|
const He = v.useRef(), Xn = (xa) => {
|
@@ -103713,7 +103713,7 @@ gg.exports;
|
|
103713
103713
|
["partial", x],
|
103714
103714
|
["partialRight", j],
|
103715
103715
|
["rearg", E]
|
103716
|
-
], la = "[object Arguments]", ca = "[object Array]", _a = "[object AsyncFunction]", ga = "[object Boolean]", ua = "[object Date]", Ma = "[object DOMException]", va = "[object Error]", K = "[object Function]", Ca = "[object GeneratorFunction]", $ = "[object Map]", Sa = "[object Number]", ka = "[object Null]", mn = "[object Object]", Ga = "[object Promise]", _n = "[object Proxy]", en = "[object RegExp]", Ea = "[object Set]", ln = "[object String]", rn = "[object Symbol]", nn = "[object Undefined]", vn = "[object WeakMap]",
|
103716
|
+
], la = "[object Arguments]", ca = "[object Array]", _a = "[object AsyncFunction]", ga = "[object Boolean]", ua = "[object Date]", Ma = "[object DOMException]", va = "[object Error]", K = "[object Function]", Ca = "[object GeneratorFunction]", $ = "[object Map]", Sa = "[object Number]", ka = "[object Null]", mn = "[object Object]", Ga = "[object Promise]", _n = "[object Proxy]", en = "[object RegExp]", Ea = "[object Set]", ln = "[object String]", rn = "[object Symbol]", nn = "[object Undefined]", vn = "[object WeakMap]", qn = "[object WeakSet]", jn = "[object ArrayBuffer]", za = "[object DataView]", ha = "[object Float32Array]", sn = "[object Float64Array]", $n = "[object Int8Array]", Dn = "[object Int16Array]", Qn = "[object Int32Array]", fa = "[object Uint8Array]", Da = "[object Uint8ClampedArray]", un = "[object Uint16Array]", Vn = "[object Uint32Array]", gt = /\b__p \+= '';/g, le = /\b(__p \+=) '' \+/g, _e = /(__e\(.*?\)|\b__t\)) \+\n'';/g, ye = /&(?:amp|lt|gt|quot|#39);/g, Ee = /[&<>"']/g, Ue = RegExp(ye.source), Rt = RegExp(Ee.source), qt = /<%-([\s\S]+?)%>/g, as = /<%([\s\S]+?)%>/g, ns = /<%=([\s\S]+?)%>/g, Ws = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, He = /^\w*$/, Xn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, fn = /[\\^$.*+?()[\]{}|]/g, se = RegExp(fn.source), ae = /^\s+/, lt = /\s/, Ns = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, mt = /\{\n\/\* \[wrapped with (.+)\] \*/, St = /,? & /, _t = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Oe = /[()=,{}\[\]\/\s]/, ut = /\\(\\)?/g, Y = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Z = /\w*$/, ya = /^[-+]0x[0-9a-f]+$/i, da = /^0b[01]+$/i, Ka = /^\[object .+?Constructor\]$/, xa = /^0o[0-7]+$/i, Wa = /^(?:0|[1-9]\d*)$/, oe = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ct = /($^)/, hp = /['\n\r\u2028\u2029\\]/g, Ri = "\\ud800-\\udfff", bp = "\\u0300-\\u036f", pp = "\\ufe20-\\ufe2f", Tp = "\\u20d0-\\u20ff", Ou = bp + pp + Tp, Wu = "\\u2700-\\u27bf", Yu = "a-z\\xdf-\\xf6\\xf8-\\xff", xp = "\\xac\\xb1\\xd7\\xf7", kp = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Np = "\\u2000-\\u206f", vp = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Fu = "A-Z\\xc0-\\xd6\\xd8-\\xde", Vu = "\\ufe0e\\ufe0f", Xu = xp + kp + Np + vp, Eg = "['’]", Sp = "[" + Ri + "]", Ju = "[" + Xu + "]", qi = "[" + Ou + "]", $u = "\\d+", _p = "[" + Wu + "]", Qu = "[" + Yu + "]", ac = "[^" + Ri + Xu + $u + Wu + Yu + Fu + "]", Ug = "\\ud83c[\\udffb-\\udfff]", fp = "(?:" + qi + "|" + Ug + ")", nc = "[^" + Ri + "]", Hg = "(?:\\ud83c[\\udde6-\\uddff]){2}", Og = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ys = "[" + Fu + "]", ec = "\\u200d", tc = "(?:" + Qu + "|" + ac + ")", wp = "(?:" + Ys + "|" + ac + ")", sc = "(?:" + Eg + "(?:d|ll|m|re|s|t|ve))?", oc = "(?:" + Eg + "(?:D|LL|M|RE|S|T|VE))?", ic = fp + "?", rc = "[" + Vu + "]?", Mp = "(?:" + ec + "(?:" + [nc, Hg, Og].join("|") + ")" + rc + ic + ")*", Cp = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ap = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", gc = rc + ic + Mp, Pp = "(?:" + [_p, Hg, Og].join("|") + ")" + gc, Gp = "(?:" + [nc + qi + "?", qi, Hg, Og, Sp].join("|") + ")", jp = RegExp(Eg, "g"), zp = RegExp(qi, "g"), Wg = RegExp(Ug + "(?=" + Ug + ")|" + Gp + gc, "g"), Ip = RegExp([
|
103717
103717
|
Ys + "?" + Qu + "+" + sc + "(?=" + [Ju, Ys, "$"].join("|") + ")",
|
103718
103718
|
wp + "+" + oc + "(?=" + [Ju, Ys + tc, "$"].join("|") + ")",
|
103719
103719
|
Ys + "?" + tc + "+" + sc,
|
@@ -103754,9 +103754,9 @@ gg.exports;
|
|
103754
103754
|
"parseInt",
|
103755
103755
|
"setTimeout"
|
103756
103756
|
], Rp = -1, zn = {};
|
103757
|
-
zn[ha] = zn[sn] = zn[$n] = zn[Dn] = zn[Qn] = zn[fa] = zn[
|
103757
|
+
zn[ha] = zn[sn] = zn[$n] = zn[Dn] = zn[Qn] = zn[fa] = zn[Da] = zn[un] = zn[Vn] = !0, zn[la] = zn[ca] = zn[jn] = zn[ga] = zn[za] = zn[ua] = zn[va] = zn[K] = zn[$] = zn[Sa] = zn[mn] = zn[en] = zn[Ea] = zn[ln] = zn[vn] = !1;
|
103758
103758
|
var Cn = {};
|
103759
|
-
Cn[la] = Cn[ca] = Cn[jn] = Cn[za] = Cn[ga] = Cn[ua] = Cn[ha] = Cn[sn] = Cn[$n] = Cn[Dn] = Cn[Qn] = Cn[$] = Cn[Sa] = Cn[mn] = Cn[en] = Cn[Ea] = Cn[ln] = Cn[rn] = Cn[fa] = Cn[
|
103759
|
+
Cn[la] = Cn[ca] = Cn[jn] = Cn[za] = Cn[ga] = Cn[ua] = Cn[ha] = Cn[sn] = Cn[$n] = Cn[Dn] = Cn[Qn] = Cn[$] = Cn[Sa] = Cn[mn] = Cn[en] = Cn[Ea] = Cn[ln] = Cn[rn] = Cn[fa] = Cn[Da] = Cn[un] = Cn[Vn] = !0, Cn[va] = Cn[K] = Cn[vn] = !1;
|
103760
103760
|
var qp = {
|
103761
103761
|
// Latin-1 Supplement block.
|
103762
103762
|
À: "A",
|
@@ -104260,7 +104260,7 @@ gg.exports;
|
|
104260
104260
|
}
|
104261
104261
|
}(), vT = F.clearTimeout !== ie.clearTimeout && F.clearTimeout, ST = Aa && Aa.now !== ie.Date.now && Aa.now, _T = F.setTimeout !== ie.setTimeout && F.setTimeout, Qi = ne.ceil, ar = ne.floor, ol = wn.getOwnPropertySymbols, fT = Fi ? Fi.isBuffer : t, Gc = F.isFinite, wT = Hi.join, MT = _c(wn.keys, wn), ee = ne.max, me = ne.min, CT = Aa.now, AT = F.parseInt, jc = ne.random, PT = Hi.reverse, il = Cs(F, "DataView"), Ko = Cs(F, "Map"), rl = Cs(F, "Promise"), Qs = Cs(F, "Set"), Ro = Cs(F, "WeakMap"), qo = Cs(wn, "create"), nr = Ro && new Ro(), ao = {}, GT = As(il), jT = As(Ko), zT = As(rl), IT = As(Qs), BT = As(Ro), er = os ? os.prototype : t, Zo = er ? er.valueOf : t, zc = er ? er.toString : t;
|
104262
104262
|
function p(e) {
|
104263
|
-
if (
|
104263
|
+
if (Zn(e) && !Oa(e) && !(e instanceof on)) {
|
104264
104264
|
if (e instanceof Ve)
|
104265
104265
|
return e;
|
104266
104266
|
if (Sn.call(e, "__wrapped__"))
|
@@ -104740,16 +104740,16 @@ gg.exports;
|
|
104740
104740
|
return c == null ? t : fe(c, e, g);
|
104741
104741
|
}
|
104742
104742
|
function Hc(e) {
|
104743
|
-
return
|
104743
|
+
return Zn(e) && Le(e) == la;
|
104744
104744
|
}
|
104745
104745
|
function Tx(e) {
|
104746
|
-
return
|
104746
|
+
return Zn(e) && Le(e) == jn;
|
104747
104747
|
}
|
104748
104748
|
function xx(e) {
|
104749
|
-
return
|
104749
|
+
return Zn(e) && Le(e) == ua;
|
104750
104750
|
}
|
104751
104751
|
function Oo(e, s, g, c, h) {
|
104752
|
-
return e === s ? !0 : e == null || s == null || !
|
104752
|
+
return e === s ? !0 : e == null || s == null || !Zn(e) && !Zn(s) ? e !== e && s !== s : kx(e, s, g, c, Oo, h);
|
104753
104753
|
}
|
104754
104754
|
function kx(e, s, g, c, h, k) {
|
104755
104755
|
var A = Oa(e), G = Oa(s), D = A ? ca : ue(e), aa = G ? ca : ue(s);
|
@@ -104772,7 +104772,7 @@ gg.exports;
|
|
104772
104772
|
return Na ? (k || (k = new yt()), Vx(e, s, g, c, h, k)) : !1;
|
104773
104773
|
}
|
104774
104774
|
function Nx(e) {
|
104775
|
-
return
|
104775
|
+
return Zn(e) && ue(e) == $;
|
104776
104776
|
}
|
104777
104777
|
function yl(e, s, g, c) {
|
104778
104778
|
var h = g.length, k = h, A = !c;
|
@@ -104806,13 +104806,13 @@ gg.exports;
|
|
104806
104806
|
return s.test(As(e));
|
104807
104807
|
}
|
104808
104808
|
function vx(e) {
|
104809
|
-
return
|
104809
|
+
return Zn(e) && Le(e) == en;
|
104810
104810
|
}
|
104811
104811
|
function Sx(e) {
|
104812
|
-
return
|
104812
|
+
return Zn(e) && ue(e) == Ea;
|
104813
104813
|
}
|
104814
104814
|
function _x(e) {
|
104815
|
-
return
|
104815
|
+
return Zn(e) && vr(e.length) && !!zn[Le(e)];
|
104816
104816
|
}
|
104817
104817
|
function Wc(e) {
|
104818
104818
|
return typeof e == "function" ? e : e == null ? ke : typeof e == "object" ? Oa(e) ? Vc(e[0], e[1]) : Fc(e) : yy(e);
|
@@ -105745,7 +105745,7 @@ gg.exports;
|
|
105745
105745
|
case Dn:
|
105746
105746
|
case Qn:
|
105747
105747
|
case fa:
|
105748
|
-
case
|
105748
|
+
case Da:
|
105749
105749
|
case un:
|
105750
105750
|
case Vn:
|
105751
105751
|
return gd(e, g);
|
@@ -106575,20 +106575,20 @@ gg.exports;
|
|
106575
106575
|
}), Ps = Hc(/* @__PURE__ */ function() {
|
106576
106576
|
return arguments;
|
106577
106577
|
}()) ? Hc : function(e) {
|
106578
|
-
return
|
106578
|
+
return Zn(e) && Sn.call(e, "callee") && !Ac.call(e, "callee");
|
106579
106579
|
}, Oa = q.isArray, uv = uc ? we(uc) : Tx;
|
106580
106580
|
function Te(e) {
|
106581
106581
|
return e != null && vr(e.length) && !Yt(e);
|
106582
106582
|
}
|
106583
106583
|
function Hn(e) {
|
106584
|
-
return
|
106584
|
+
return Zn(e) && Te(e);
|
106585
106585
|
}
|
106586
106586
|
function cv(e) {
|
106587
|
-
return e === !0 || e === !1 ||
|
106587
|
+
return e === !0 || e === !1 || Zn(e) && Le(e) == ga;
|
106588
106588
|
}
|
106589
106589
|
var ms = fT || Jl, dv = cc ? we(cc) : xx;
|
106590
106590
|
function yv(e) {
|
106591
|
-
return
|
106591
|
+
return Zn(e) && e.nodeType === 1 && !Xo(e);
|
106592
106592
|
}
|
106593
106593
|
function Lv(e) {
|
106594
106594
|
if (e == null)
|
@@ -106614,7 +106614,7 @@ gg.exports;
|
|
106614
106614
|
return c === t ? Oo(e, s, t, g) : !!c;
|
106615
106615
|
}
|
106616
106616
|
function Zl(e) {
|
106617
|
-
if (!
|
106617
|
+
if (!Zn(e))
|
106618
106618
|
return !1;
|
106619
106619
|
var s = Le(e);
|
106620
106620
|
return s == va || s == Ma || typeof e.message == "string" && typeof e.name == "string" && !Xo(e);
|
@@ -106638,7 +106638,7 @@ gg.exports;
|
|
106638
106638
|
var s = typeof e;
|
106639
106639
|
return e != null && (s == "object" || s == "function");
|
106640
106640
|
}
|
106641
|
-
function
|
106641
|
+
function Zn(e) {
|
106642
106642
|
return e != null && typeof e == "object";
|
106643
106643
|
}
|
106644
106644
|
var Qd = dc ? we(dc) : Nx;
|
@@ -106663,10 +106663,10 @@ gg.exports;
|
|
106663
106663
|
return e == null;
|
106664
106664
|
}
|
106665
106665
|
function ay(e) {
|
106666
|
-
return typeof e == "number" ||
|
106666
|
+
return typeof e == "number" || Zn(e) && Le(e) == Sa;
|
106667
106667
|
}
|
106668
106668
|
function Xo(e) {
|
106669
|
-
if (!
|
106669
|
+
if (!Zn(e) || Le(e) != mn)
|
106670
106670
|
return !1;
|
106671
106671
|
var s = Xi(e);
|
106672
106672
|
if (s === null)
|
@@ -106680,20 +106680,20 @@ gg.exports;
|
|
106680
106680
|
}
|
106681
106681
|
var ny = Lc ? we(Lc) : Sx;
|
106682
106682
|
function Sr(e) {
|
106683
|
-
return typeof e == "string" || !Oa(e) &&
|
106683
|
+
return typeof e == "string" || !Oa(e) && Zn(e) && Le(e) == ln;
|
106684
106684
|
}
|
106685
106685
|
function Ce(e) {
|
106686
|
-
return typeof e == "symbol" ||
|
106686
|
+
return typeof e == "symbol" || Zn(e) && Le(e) == rn;
|
106687
106687
|
}
|
106688
106688
|
var oo = hc ? we(hc) : _x;
|
106689
106689
|
function fv(e) {
|
106690
106690
|
return e === t;
|
106691
106691
|
}
|
106692
106692
|
function wv(e) {
|
106693
|
-
return
|
106693
|
+
return Zn(e) && ue(e) == vn;
|
106694
106694
|
}
|
106695
106695
|
function Mv(e) {
|
106696
|
-
return
|
106696
|
+
return Zn(e) && Le(e) == qn;
|
106697
106697
|
}
|
106698
106698
|
var Cv = yr(hl), Av = yr(function(e, s) {
|
106699
106699
|
return e <= s;
|
@@ -107263,7 +107263,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
107263
107263
|
function v_(e, s) {
|
107264
107264
|
return e && e.length ? al(e, Ra(s, 2)) : 0;
|
107265
107265
|
}
|
107266
|
-
return p.after = ON, p.ary = Od, p.assign = Gv, p.assignIn = oy, p.assignInWith = _r, p.assignWith = jv, p.at = zv, p.before = Wd, p.bind = Rl, p.bindAll = RS, p.bindKey = Yd, p.castArray = tv, p.chain = Ed, p.chunk = ck, p.compact = dk, p.concat = yk, p.cond = qS, p.conforms = ZS, p.constant = Wl, p.countBy = NN, p.create = Iv, p.curry = Fd, p.curryRight = Vd, p.debounce = Xd, p.defaults = Bv, p.defaultsDeep = Dv, p.defer = WN, p.delay = YN, p.difference = Lk, p.differenceBy = hk, p.differenceWith = bk, p.drop = pk, p.dropRight = Tk, p.dropRightWhile = xk, p.dropWhile = kk, p.fill = Nk, p.filter = SN, p.flatMap = wN, p.flatMapDeep = MN, p.flatMapDepth = CN, p.flatten = Kd, p.flattenDeep = vk, p.flattenDepth = Sk, p.flip = FN, p.flow = US, p.flowRight = HS, p.fromPairs = _k, p.functions = Hv, p.functionsIn = Ov, p.groupBy = AN, p.initial = wk, p.intersection = Mk, p.intersectionBy = Ck, p.intersectionWith = Ak, p.invert = Yv, p.invertBy = Fv, p.invokeMap = GN, p.iteratee = Yl, p.keyBy = jN, p.keys = te, p.keysIn = xe, p.map = Tr, p.mapKeys = Xv, p.mapValues = Jv, p.matches = OS, p.matchesProperty = WS, p.memoize = kr, p.merge = $v, p.mergeWith = iy, p.method = YS, p.methodOf = FS, p.mixin = Fl, p.negate = Nr, p.nthArg = XS, p.omit = Qv, p.omitBy = aS, p.once = VN, p.orderBy = zN, p.over = JS, p.overArgs = XN, p.overEvery = $S, p.overSome = QS, p.partial = ql, p.partialRight = Jd, p.partition = IN, p.pick = nS, p.pickBy = ry, p.property = yy, p.propertyOf = a_, p.pull = zk, p.pullAll = qd, p.pullAllBy = Ik, p.pullAllWith = Bk, p.pullAt = Dk, p.range = n_, p.rangeRight = e_, p.rearg = JN, p.reject = KN, p.remove = Kk, p.rest = $N, p.reverse = Dl, p.sampleSize = qN, p.set = tS, p.setWith = sS, p.shuffle = ZN, p.slice = Rk, p.sortBy = HN, p.sortedUniq = Wk, p.sortedUniqBy = Yk, p.split = wS, p.spread = QN, p.tail = Fk, p.take = Vk, p.takeRight = Xk, p.takeRightWhile = Jk, p.takeWhile = $k, p.tap = dN, p.throttle = av, p.thru = pr, p.toArray = ey, p.toPairs = gy, p.toPairsIn = ly, p.toPath = r_, p.toPlainObject = sy, p.transform = oS, p.unary = nv, p.union = Qk, p.unionBy = aN, p.unionWith = nN, p.uniq = eN, p.uniqBy = tN, p.uniqWith = sN, p.unset = iS, p.unzip = Kl, p.unzipWith = Zd, p.update = rS, p.updateWith = gS, p.values = io, p.valuesIn = lS, p.without = oN, p.words = cy, p.wrap = ev, p.xor = iN, p.xorBy = rN, p.xorWith = gN, p.zip = lN, p.zipObject = mN, p.zipObjectDeep = uN, p.zipWith = cN, p.entries = gy, p.entriesIn = ly, p.extend = oy, p.extendWith = _r, Fl(p, p), p.add = l_, p.attempt = dy, p.camelCase = dS, p.capitalize = my, p.ceil = m_, p.clamp = mS, p.clone = sv, p.cloneDeep = iv, p.cloneDeepWith = rv, p.cloneWith = ov, p.conformsTo = gv, p.deburr = uy, p.defaultTo = ES, p.divide = u_, p.endsWith = yS, p.eq = Lt, p.escape = LS, p.escapeRegExp = hS, p.every = vN, p.find = _N, p.findIndex = Bd, p.findKey = Kv, p.findLast = fN, p.findLastIndex = Dd, p.findLastKey = Rv, p.floor = c_, p.forEach = Ud, p.forEachRight = Hd, p.forIn = qv, p.forInRight = Zv, p.forOwn = Ev, p.forOwnRight = Uv, p.get = Ul, p.gt = lv, p.gte = mv, p.has = Wv, p.hasIn = Hl, p.head = Rd, p.identity = ke, p.includes = PN, p.indexOf = fk, p.inRange = uS, p.invoke = Vv, p.isArguments = Ps, p.isArray = Oa, p.isArrayBuffer = uv, p.isArrayLike = Te, p.isArrayLikeObject = Hn, p.isBoolean = cv, p.isBuffer = ms, p.isDate = dv, p.isElement = yv, p.isEmpty = Lv, p.isEqual = hv, p.isEqualWith = bv, p.isError = Zl, p.isFinite = pv, p.isFunction = Yt, p.isInteger = $d, p.isLength = vr, p.isMap = Qd, p.isMatch = Tv, p.isMatchWith = xv, p.isNaN = kv, p.isNative = Nv, p.isNil = Sv, p.isNull = vv, p.isNumber = ay, p.isObject = Kn, p.isObjectLike =
|
107266
|
+
return p.after = ON, p.ary = Od, p.assign = Gv, p.assignIn = oy, p.assignInWith = _r, p.assignWith = jv, p.at = zv, p.before = Wd, p.bind = Rl, p.bindAll = RS, p.bindKey = Yd, p.castArray = tv, p.chain = Ed, p.chunk = ck, p.compact = dk, p.concat = yk, p.cond = qS, p.conforms = ZS, p.constant = Wl, p.countBy = NN, p.create = Iv, p.curry = Fd, p.curryRight = Vd, p.debounce = Xd, p.defaults = Bv, p.defaultsDeep = Dv, p.defer = WN, p.delay = YN, p.difference = Lk, p.differenceBy = hk, p.differenceWith = bk, p.drop = pk, p.dropRight = Tk, p.dropRightWhile = xk, p.dropWhile = kk, p.fill = Nk, p.filter = SN, p.flatMap = wN, p.flatMapDeep = MN, p.flatMapDepth = CN, p.flatten = Kd, p.flattenDeep = vk, p.flattenDepth = Sk, p.flip = FN, p.flow = US, p.flowRight = HS, p.fromPairs = _k, p.functions = Hv, p.functionsIn = Ov, p.groupBy = AN, p.initial = wk, p.intersection = Mk, p.intersectionBy = Ck, p.intersectionWith = Ak, p.invert = Yv, p.invertBy = Fv, p.invokeMap = GN, p.iteratee = Yl, p.keyBy = jN, p.keys = te, p.keysIn = xe, p.map = Tr, p.mapKeys = Xv, p.mapValues = Jv, p.matches = OS, p.matchesProperty = WS, p.memoize = kr, p.merge = $v, p.mergeWith = iy, p.method = YS, p.methodOf = FS, p.mixin = Fl, p.negate = Nr, p.nthArg = XS, p.omit = Qv, p.omitBy = aS, p.once = VN, p.orderBy = zN, p.over = JS, p.overArgs = XN, p.overEvery = $S, p.overSome = QS, p.partial = ql, p.partialRight = Jd, p.partition = IN, p.pick = nS, p.pickBy = ry, p.property = yy, p.propertyOf = a_, p.pull = zk, p.pullAll = qd, p.pullAllBy = Ik, p.pullAllWith = Bk, p.pullAt = Dk, p.range = n_, p.rangeRight = e_, p.rearg = JN, p.reject = KN, p.remove = Kk, p.rest = $N, p.reverse = Dl, p.sampleSize = qN, p.set = tS, p.setWith = sS, p.shuffle = ZN, p.slice = Rk, p.sortBy = HN, p.sortedUniq = Wk, p.sortedUniqBy = Yk, p.split = wS, p.spread = QN, p.tail = Fk, p.take = Vk, p.takeRight = Xk, p.takeRightWhile = Jk, p.takeWhile = $k, p.tap = dN, p.throttle = av, p.thru = pr, p.toArray = ey, p.toPairs = gy, p.toPairsIn = ly, p.toPath = r_, p.toPlainObject = sy, p.transform = oS, p.unary = nv, p.union = Qk, p.unionBy = aN, p.unionWith = nN, p.uniq = eN, p.uniqBy = tN, p.uniqWith = sN, p.unset = iS, p.unzip = Kl, p.unzipWith = Zd, p.update = rS, p.updateWith = gS, p.values = io, p.valuesIn = lS, p.without = oN, p.words = cy, p.wrap = ev, p.xor = iN, p.xorBy = rN, p.xorWith = gN, p.zip = lN, p.zipObject = mN, p.zipObjectDeep = uN, p.zipWith = cN, p.entries = gy, p.entriesIn = ly, p.extend = oy, p.extendWith = _r, Fl(p, p), p.add = l_, p.attempt = dy, p.camelCase = dS, p.capitalize = my, p.ceil = m_, p.clamp = mS, p.clone = sv, p.cloneDeep = iv, p.cloneDeepWith = rv, p.cloneWith = ov, p.conformsTo = gv, p.deburr = uy, p.defaultTo = ES, p.divide = u_, p.endsWith = yS, p.eq = Lt, p.escape = LS, p.escapeRegExp = hS, p.every = vN, p.find = _N, p.findIndex = Bd, p.findKey = Kv, p.findLast = fN, p.findLastIndex = Dd, p.findLastKey = Rv, p.floor = c_, p.forEach = Ud, p.forEachRight = Hd, p.forIn = qv, p.forInRight = Zv, p.forOwn = Ev, p.forOwnRight = Uv, p.get = Ul, p.gt = lv, p.gte = mv, p.has = Wv, p.hasIn = Hl, p.head = Rd, p.identity = ke, p.includes = PN, p.indexOf = fk, p.inRange = uS, p.invoke = Vv, p.isArguments = Ps, p.isArray = Oa, p.isArrayBuffer = uv, p.isArrayLike = Te, p.isArrayLikeObject = Hn, p.isBoolean = cv, p.isBuffer = ms, p.isDate = dv, p.isElement = yv, p.isEmpty = Lv, p.isEqual = hv, p.isEqualWith = bv, p.isError = Zl, p.isFinite = pv, p.isFunction = Yt, p.isInteger = $d, p.isLength = vr, p.isMap = Qd, p.isMatch = Tv, p.isMatchWith = xv, p.isNaN = kv, p.isNative = Nv, p.isNil = Sv, p.isNull = vv, p.isNumber = ay, p.isObject = Kn, p.isObjectLike = Zn, p.isPlainObject = Xo, p.isRegExp = El, p.isSafeInteger = _v, p.isSet = ny, p.isString = Sr, p.isSymbol = Ce, p.isTypedArray = oo, p.isUndefined = fv, p.isWeakMap = wv, p.isWeakSet = Mv, p.join = Pk, p.kebabCase = bS, p.last = $e, p.lastIndexOf = Gk, p.lowerCase = pS, p.lowerFirst = TS, p.lt = Cv, p.lte = Av, p.max = d_, p.maxBy = y_, p.mean = L_, p.meanBy = h_, p.min = b_, p.minBy = p_, p.stubArray = Xl, p.stubFalse = Jl, p.stubObject = t_, p.stubString = s_, p.stubTrue = o_, p.multiply = T_, p.nth = jk, p.noConflict = VS, p.noop = Vl, p.now = xr, p.pad = xS, p.padEnd = kS, p.padStart = NS, p.parseInt = vS, p.random = cS, p.reduce = BN, p.reduceRight = DN, p.repeat = SS, p.replace = _S, p.result = eS, p.round = x_, p.runInContext = B, p.sample = RN, p.size = EN, p.snakeCase = fS, p.some = UN, p.sortedIndex = qk, p.sortedIndexBy = Zk, p.sortedIndexOf = Ek, p.sortedLastIndex = Uk, p.sortedLastIndexBy = Hk, p.sortedLastIndexOf = Ok, p.startCase = MS, p.startsWith = CS, p.subtract = k_, p.sum = N_, p.sumBy = v_, p.template = AS, p.times = i_, p.toFinite = Ft, p.toInteger = Va, p.toLength = ty, p.toLower = PS, p.toNumber = Qe, p.toSafeInteger = Pv, p.toString = hn, p.toUpper = GS, p.trim = jS, p.trimEnd = zS, p.trimStart = IS, p.truncate = BS, p.unescape = DS, p.uniqueId = g_, p.upperCase = KS, p.upperFirst = Ol, p.each = Ud, p.eachRight = Hd, p.first = Rd, Fl(p, function() {
|
107267
107267
|
var e = {};
|
107268
107268
|
return ft(p, function(s, g) {
|
107269
107269
|
Sn.call(p.prototype, g) || (e[g] = s);
|
@@ -303337,7 +303337,7 @@ const Pn = {
|
|
303337
303337
|
Nu,
|
303338
303338
|
{
|
303339
303339
|
variant: "outlined",
|
303340
|
-
css:
|
303340
|
+
css: Ba`
|
303341
303341
|
position: relative; // so children can be positioned absolutely
|
303342
303342
|
box-shadow: ${Pn.greys[2]} 0px 3px 5px;
|
303343
303343
|
background-color: ${n};
|
@@ -303346,7 +303346,7 @@ const Pn = {
|
|
303346
303346
|
children: /* @__PURE__ */ Ia(
|
303347
303347
|
Tb,
|
303348
303348
|
{
|
303349
|
-
css:
|
303349
|
+
css: Ba`
|
303350
303350
|
padding: 10px;
|
303351
303351
|
:last-child {
|
303352
303352
|
// otherwise mui puts a lot of bottom padding on the last child
|
@@ -303381,11 +303381,11 @@ const si = ({ children: a, ...n }) => {
|
|
303381
303381
|
backgroundColorWhenNotSelected: Pn.white,
|
303382
303382
|
backgroundColorWhenSelected: Pn.blues[0]
|
303383
303383
|
};
|
303384
|
-
return /* @__PURE__ */
|
303385
|
-
/* @__PURE__ */
|
303384
|
+
return /* @__PURE__ */ Rn(op, { ...t, children: [
|
303385
|
+
/* @__PURE__ */ Rn(
|
303386
303386
|
"div",
|
303387
303387
|
{
|
303388
|
-
css:
|
303388
|
+
css: Ba`
|
303389
303389
|
display: flex;
|
303390
303390
|
flex-direction: row;
|
303391
303391
|
flex-wrap: wrap;
|
@@ -303397,7 +303397,7 @@ const si = ({ children: a, ...n }) => {
|
|
303397
303397
|
si,
|
303398
303398
|
{
|
303399
303399
|
variant: "h2",
|
303400
|
-
css:
|
303400
|
+
css: Ba`
|
303401
303401
|
flex-grow: 1;
|
303402
303402
|
`,
|
303403
303403
|
children: a.autonym || a.exonym
|
@@ -303407,7 +303407,7 @@ const si = ({ children: a, ...n }) => {
|
|
303407
303407
|
si,
|
303408
303408
|
{
|
303409
303409
|
variant: "h2",
|
303410
|
-
css:
|
303410
|
+
css: Ba`
|
303411
303411
|
flex-grow: 0;
|
303412
303412
|
`,
|
303413
303413
|
children: a.exonym
|
@@ -303417,7 +303417,7 @@ const si = ({ children: a, ...n }) => {
|
|
303417
303417
|
si,
|
303418
303418
|
{
|
303419
303419
|
variant: "body2",
|
303420
|
-
css:
|
303420
|
+
css: Ba`
|
303421
303421
|
flex-grow: 0;
|
303422
303422
|
margin-bottom: 1px; // for visual alignment
|
303423
303423
|
color: ${Pn.greys[3]};
|
@@ -303433,7 +303433,7 @@ const si = ({ children: a, ...n }) => {
|
|
303433
303433
|
{
|
303434
303434
|
variant: "subtitle1",
|
303435
303435
|
gutterBottom: !0,
|
303436
|
-
css:
|
303436
|
+
css: Ba`
|
303437
303437
|
margin-top: 8px;
|
303438
303438
|
// Copilot gave me this to cut off after 2 lines with an ellipsis
|
303439
303439
|
display: -webkit-box;
|
@@ -303449,7 +303449,7 @@ const si = ({ children: a, ...n }) => {
|
|
303449
303449
|
si,
|
303450
303450
|
{
|
303451
303451
|
variant: "subtitle1",
|
303452
|
-
css:
|
303452
|
+
css: Ba`
|
303453
303453
|
text-wrap: balance;
|
303454
303454
|
color: ${Pn.greys[3]};
|
303455
303455
|
`,
|
@@ -303463,13 +303463,13 @@ const si = ({ children: a, ...n }) => {
|
|
303463
303463
|
backgroundColorWhenNotSelected: Pn.white,
|
303464
303464
|
backgroundColorWhenSelected: Pn.blues[1]
|
303465
303465
|
};
|
303466
|
-
return /* @__PURE__ */
|
303466
|
+
return /* @__PURE__ */ Rn(op, { ...t, children: [
|
303467
303467
|
/* @__PURE__ */ Ia(qe, { variant: "h2", children: a.name }),
|
303468
303468
|
/* @__PURE__ */ Ia(
|
303469
303469
|
qe,
|
303470
303470
|
{
|
303471
303471
|
variant: "subtitle1",
|
303472
|
-
css:
|
303472
|
+
css: Ba`
|
303473
303473
|
color: ${Pn.greys[3]};
|
303474
303474
|
`,
|
303475
303475
|
children: "TODO sample text here"
|
@@ -303568,12 +303568,12 @@ const fB = ({
|
|
303568
303568
|
currentTagPreview: a,
|
303569
303569
|
forUnlistedLanguage: n,
|
303570
303570
|
...t
|
303571
|
-
}) => /* @__PURE__ */
|
303571
|
+
}) => /* @__PURE__ */ Rn(
|
303572
303572
|
Mo,
|
303573
303573
|
{
|
303574
303574
|
variant: "outlined",
|
303575
303575
|
color: "primary",
|
303576
|
-
css:
|
303576
|
+
css: Ba`
|
303577
303577
|
border: 1.5px solid ${Pn.greys[1]};
|
303578
303578
|
:hover {
|
303579
303579
|
border-color: ${Pn.black};
|
@@ -303588,10 +303588,10 @@ const fB = ({
|
|
303588
303588
|
`,
|
303589
303589
|
...t,
|
303590
303590
|
children: [
|
303591
|
-
/* @__PURE__ */
|
303591
|
+
/* @__PURE__ */ Rn(
|
303592
303592
|
qe,
|
303593
303593
|
{
|
303594
|
-
css:
|
303594
|
+
css: Ba`
|
303595
303595
|
text-transform: uppercase;
|
303596
303596
|
color: ${Pn.black};
|
303597
303597
|
font-size: 0.75rem;
|
@@ -303603,7 +303603,7 @@ const fB = ({
|
|
303603
303603
|
!n && /* @__PURE__ */ Ia(
|
303604
303604
|
ip,
|
303605
303605
|
{
|
303606
|
-
css:
|
303606
|
+
css: Ba`
|
303607
303607
|
height: 0.75rem;
|
303608
303608
|
width: 0.75rem;
|
303609
303609
|
// for visual alignment
|
@@ -303616,11 +303616,11 @@ const fB = ({
|
|
303616
303616
|
]
|
303617
303617
|
}
|
303618
303618
|
),
|
303619
|
-
/* @__PURE__ */
|
303619
|
+
/* @__PURE__ */ Rn(
|
303620
303620
|
"div",
|
303621
303621
|
{
|
303622
303622
|
id: "custom-language-card-bottom",
|
303623
|
-
css:
|
303623
|
+
css: Ba`
|
303624
303624
|
display: flex;
|
303625
303625
|
align-items: center;
|
303626
303626
|
width: 100%;
|
@@ -303631,7 +303631,7 @@ const fB = ({
|
|
303631
303631
|
qe,
|
303632
303632
|
{
|
303633
303633
|
variant: "body2",
|
303634
|
-
css:
|
303634
|
+
css: Ba`
|
303635
303635
|
text-align: left;
|
303636
303636
|
color: ${Pn.greys[3]};
|
303637
303637
|
`,
|
@@ -303645,7 +303645,7 @@ const fB = ({
|
|
303645
303645
|
children: /* @__PURE__ */ Ia(
|
303646
303646
|
rp,
|
303647
303647
|
{
|
303648
|
-
css:
|
303648
|
+
css: Ba`
|
303649
303649
|
color: ${Pn.greys[3]};
|
303650
303650
|
margin-left: 10px;
|
303651
303651
|
`
|
@@ -303667,35 +303667,45 @@ var gp = qu.default = void 0, MB = wB(Di()), CB = _i;
|
|
303667
303667
|
gp = qu.default = (0, MB.default)(/* @__PURE__ */ (0, CB.jsx)("path", {
|
303668
303668
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"
|
303669
303669
|
}), "Info");
|
303670
|
-
const Si = ({ label: a, required: n, ...t }) => /* @__PURE__ */ Ia(
|
303671
|
-
|
303670
|
+
const Si = ({ label: a, required: n, ...t }) => /* @__PURE__ */ Ia(
|
303671
|
+
fu,
|
303672
303672
|
{
|
303673
|
-
|
303673
|
+
...t,
|
303674
|
+
css: Ba`
|
303675
|
+
// Otherwise it is nowrap and the labels get in the way of horizontal shrinking on narrow screens
|
303676
|
+
text-wrap: wrap;
|
303677
|
+
`,
|
303678
|
+
children: /* @__PURE__ */ Rn(
|
303679
|
+
qe,
|
303680
|
+
{
|
303681
|
+
css: Ba`
|
303674
303682
|
color: ${Pn.greys[3]};
|
303675
303683
|
font-weight: bold;
|
303676
303684
|
margin-bottom: 3px;
|
303677
303685
|
`,
|
303678
|
-
|
303679
|
-
|
303680
|
-
|
303681
|
-
|
303682
|
-
|
303683
|
-
|
303686
|
+
children: [
|
303687
|
+
a,
|
303688
|
+
n && /* @__PURE__ */ Ia(
|
303689
|
+
"sup",
|
303690
|
+
{
|
303691
|
+
css: Ba`
|
303684
303692
|
font-weight: normal;
|
303685
303693
|
color: ${Pn.error};
|
303686
303694
|
`,
|
303687
|
-
|
303688
|
-
|
303689
|
-
|
303690
|
-
|
303695
|
+
children: "(required)"
|
303696
|
+
}
|
303697
|
+
)
|
303698
|
+
]
|
303699
|
+
}
|
303700
|
+
)
|
303691
303701
|
}
|
303692
|
-
)
|
303702
|
+
), YL = ({ id: a, label: n, required: t, ...i }) => /* @__PURE__ */ Rn("div", { children: [
|
303693
303703
|
/* @__PURE__ */ Ia(Si, { htmlFor: a, label: n, required: t }),
|
303694
303704
|
/* @__PURE__ */ Ia(
|
303695
303705
|
rg,
|
303696
303706
|
{
|
303697
303707
|
type: "text",
|
303698
|
-
css:
|
303708
|
+
css: Ba`
|
303699
303709
|
background-color: white;
|
303700
303710
|
margin-right: 0;
|
303701
303711
|
margin-bottom: 10px;
|
@@ -303739,12 +303749,12 @@ const GB = (a) => {
|
|
303739
303749
|
// starting point for the unlisted language name (which is actually stored in the dialect field)
|
303740
303750
|
a.selectedLanguage ? a.customizableLanguageDetails.dialect || "" : a.searchString
|
303741
303751
|
);
|
303742
|
-
}, [a, t]), /* @__PURE__ */
|
303752
|
+
}, [a, t]), /* @__PURE__ */ Rn(
|
303743
303753
|
xb,
|
303744
303754
|
{
|
303745
303755
|
onClose: a.onClose,
|
303746
303756
|
open: a.open,
|
303747
|
-
css:
|
303757
|
+
css: Ba`
|
303748
303758
|
.MuiDialog-paper {
|
303749
303759
|
padding: 20px 25px 25px 25px;
|
303750
303760
|
display: flex;
|
@@ -303757,17 +303767,17 @@ const GB = (a) => {
|
|
303757
303767
|
/* @__PURE__ */ Ia(
|
303758
303768
|
vb,
|
303759
303769
|
{
|
303760
|
-
css:
|
303770
|
+
css: Ba`
|
303761
303771
|
font-weight: bold;
|
303762
303772
|
padding: 0; //using padding on the entire dialog instead, plus gap between sections
|
303763
303773
|
`,
|
303764
303774
|
children: n ? "Unlisted Language Tag" : "Custom Language Tag"
|
303765
303775
|
}
|
303766
303776
|
),
|
303767
|
-
/* @__PURE__ */
|
303777
|
+
/* @__PURE__ */ Rn(
|
303768
303778
|
Nb,
|
303769
303779
|
{
|
303770
|
-
css:
|
303780
|
+
css: Ba`
|
303771
303781
|
display: flex;
|
303772
303782
|
flex-direction: column;
|
303773
303783
|
gap: 15px;
|
@@ -303778,15 +303788,15 @@ const GB = (a) => {
|
|
303778
303788
|
Nu,
|
303779
303789
|
{
|
303780
303790
|
variant: "outlined",
|
303781
|
-
css:
|
303791
|
+
css: Ba`
|
303782
303792
|
border: 1px solid ${Pn.blues[2]};
|
303783
303793
|
padding: 7px;
|
303784
303794
|
flex-shrink: 0;
|
303785
303795
|
`,
|
303786
|
-
children: /* @__PURE__ */
|
303796
|
+
children: /* @__PURE__ */ Rn(
|
303787
303797
|
qe,
|
303788
303798
|
{
|
303789
|
-
css:
|
303799
|
+
css: Ba`
|
303790
303800
|
color: ${Pn.blues[2]};
|
303791
303801
|
font-size: 0.875rem;
|
303792
303802
|
display: flex;
|
@@ -303811,13 +303821,13 @@ const GB = (a) => {
|
|
303811
303821
|
d(b.target.value);
|
303812
303822
|
},
|
303813
303823
|
size: "small",
|
303814
|
-
css:
|
303824
|
+
css: Ba`
|
303815
303825
|
width: 100%;
|
303816
303826
|
`,
|
303817
303827
|
required: !0
|
303818
303828
|
}
|
303819
303829
|
),
|
303820
|
-
!n && /* @__PURE__ */
|
303830
|
+
!n && /* @__PURE__ */ Rn("div", { id: "customize-script", children: [
|
303821
303831
|
/* @__PURE__ */ Ia(Si, { htmlFor: "customize-script-field", label: "Script" }),
|
303822
303832
|
/* @__PURE__ */ Ia(
|
303823
303833
|
Gm,
|
@@ -303834,7 +303844,7 @@ const GB = (a) => {
|
|
303834
303844
|
}
|
303835
303845
|
)
|
303836
303846
|
] }),
|
303837
|
-
/* @__PURE__ */
|
303847
|
+
/* @__PURE__ */ Rn("div", { id: "customize-region", children: [
|
303838
303848
|
/* @__PURE__ */ Ia(
|
303839
303849
|
Si,
|
303840
303850
|
{
|
@@ -303868,7 +303878,7 @@ const GB = (a) => {
|
|
303868
303878
|
d(b.target.value);
|
303869
303879
|
},
|
303870
303880
|
size: "small",
|
303871
|
-
css:
|
303881
|
+
css: Ba`
|
303872
303882
|
width: 100%;
|
303873
303883
|
`,
|
303874
303884
|
inputProps: {
|
@@ -303876,13 +303886,13 @@ const GB = (a) => {
|
|
303876
303886
|
}
|
303877
303887
|
}
|
303878
303888
|
),
|
303879
|
-
/* @__PURE__ */
|
303889
|
+
/* @__PURE__ */ Rn(qe, { children: [
|
303880
303890
|
"BCP 47 Tag:",
|
303881
303891
|
" ",
|
303882
303892
|
/* @__PURE__ */ Ia(
|
303883
303893
|
"span",
|
303884
303894
|
{
|
303885
|
-
css:
|
303895
|
+
css: Ba`
|
303886
303896
|
font-weight: bold;
|
303887
303897
|
`,
|
303888
303898
|
children: Hb({
|
@@ -303902,14 +303912,14 @@ const GB = (a) => {
|
|
303902
303912
|
/* @__PURE__ */ Ia(
|
303903
303913
|
kb,
|
303904
303914
|
{
|
303905
|
-
css:
|
303915
|
+
css: Ba`
|
303906
303916
|
padding: 0; //using padding on the entire dialog instead, plus gap between sections
|
303907
303917
|
`,
|
303908
|
-
children: /* @__PURE__ */
|
303918
|
+
children: /* @__PURE__ */ Rn(
|
303909
303919
|
"div",
|
303910
303920
|
{
|
303911
303921
|
id: "buttons-container",
|
303912
|
-
css:
|
303922
|
+
css: Ba`
|
303913
303923
|
// position: absolute;
|
303914
303924
|
width: 100%;
|
303915
303925
|
display: flex;
|
@@ -303919,7 +303929,7 @@ const GB = (a) => {
|
|
303919
303929
|
/* @__PURE__ */ Ia(
|
303920
303930
|
Mo,
|
303921
303931
|
{
|
303922
|
-
css:
|
303932
|
+
css: Ba`
|
303923
303933
|
margin-left: auto;
|
303924
303934
|
margin-right: 10px;
|
303925
303935
|
min-width: 100px;
|
@@ -303949,7 +303959,7 @@ const GB = (a) => {
|
|
303949
303959
|
/* @__PURE__ */ Ia(
|
303950
303960
|
Mo,
|
303951
303961
|
{
|
303952
|
-
css:
|
303962
|
+
css: Ba`
|
303953
303963
|
min-width: 100px;
|
303954
303964
|
`,
|
303955
303965
|
variant: "outlined",
|
@@ -304309,11 +304319,11 @@ const n6 = (a) => {
|
|
304309
304319
|
}
|
304310
304320
|
}
|
304311
304321
|
}), d = "90px";
|
304312
|
-
return /* @__PURE__ */ Ia(f3, { theme: u, children: /* @__PURE__ */
|
304322
|
+
return /* @__PURE__ */ Ia(f3, { theme: u, children: /* @__PURE__ */ Rn(
|
304313
304323
|
"div",
|
304314
304324
|
{
|
304315
304325
|
id: "lang-chooser",
|
304316
|
-
css:
|
304326
|
+
css: Ba`
|
304317
304327
|
width: 100%;
|
304318
304328
|
height: 100%;
|
304319
304329
|
display: flex;
|
@@ -304329,7 +304339,7 @@ const n6 = (a) => {
|
|
304329
304339
|
$h,
|
304330
304340
|
{
|
304331
304341
|
position: "static",
|
304332
|
-
css:
|
304342
|
+
css: Ba`
|
304333
304343
|
background-color: white;
|
304334
304344
|
box-shadow: none;
|
304335
304345
|
border-bottom: 2px solid ${Pn.greys[1]};
|
@@ -304340,7 +304350,7 @@ const n6 = (a) => {
|
|
304340
304350
|
{
|
304341
304351
|
disableGutters: !0,
|
304342
304352
|
variant: "dense",
|
304343
|
-
css:
|
304353
|
+
css: Ba`
|
304344
304354
|
padding-top: 5px;
|
304345
304355
|
padding-left: 15px;
|
304346
304356
|
`,
|
@@ -304349,7 +304359,7 @@ const n6 = (a) => {
|
|
304349
304359
|
{
|
304350
304360
|
variant: "h1",
|
304351
304361
|
component: "div",
|
304352
|
-
css:
|
304362
|
+
css: Ba`
|
304353
304363
|
color: black;
|
304354
304364
|
`,
|
304355
304365
|
children: "Choose Language"
|
@@ -304359,20 +304369,20 @@ const n6 = (a) => {
|
|
304359
304369
|
)
|
304360
304370
|
}
|
304361
304371
|
),
|
304362
|
-
/* @__PURE__ */
|
304372
|
+
/* @__PURE__ */ Rn(
|
304363
304373
|
"div",
|
304364
304374
|
{
|
304365
304375
|
id: "lang-chooser-body",
|
304366
|
-
css:
|
304376
|
+
css: Ba`
|
304367
304377
|
flex-grow: 1;
|
304368
304378
|
display: flex;
|
304369
304379
|
`,
|
304370
304380
|
children: [
|
304371
|
-
/* @__PURE__ */
|
304381
|
+
/* @__PURE__ */ Rn(
|
304372
304382
|
"div",
|
304373
304383
|
{
|
304374
304384
|
id: "left-pane",
|
304375
|
-
css:
|
304385
|
+
css: Ba`
|
304376
304386
|
flex-grow: 1;
|
304377
304387
|
// height: 100%;
|
304378
304388
|
position: relative;
|
@@ -304394,7 +304404,7 @@ const n6 = (a) => {
|
|
304394
304404
|
{
|
304395
304405
|
type: "text",
|
304396
304406
|
inputRef: (S) => l = S,
|
304397
|
-
css:
|
304407
|
+
css: Ba`
|
304398
304408
|
background-color: white;
|
304399
304409
|
margin-bottom: 10px;
|
304400
304410
|
width: 100%;
|
@@ -304410,7 +304420,7 @@ const n6 = (a) => {
|
|
304410
304420
|
wb,
|
304411
304421
|
{
|
304412
304422
|
position: "start",
|
304413
|
-
css:
|
304423
|
+
css: Ba`
|
304414
304424
|
margin-left: 0;
|
304415
304425
|
color: ${Pn.greys[2]};
|
304416
304426
|
`,
|
@@ -304421,7 +304431,7 @@ const n6 = (a) => {
|
|
304421
304431
|
Ag,
|
304422
304432
|
{
|
304423
304433
|
onClick: m,
|
304424
|
-
css:
|
304434
|
+
css: Ba`
|
304425
304435
|
padding-right: 0px;
|
304426
304436
|
`,
|
304427
304437
|
children: /* @__PURE__ */ Ia(Eb, {})
|
@@ -304440,7 +304450,7 @@ const n6 = (a) => {
|
|
304440
304450
|
"div",
|
304441
304451
|
{
|
304442
304452
|
id: "language-card-list",
|
304443
|
-
css:
|
304453
|
+
css: Ba`
|
304444
304454
|
overflow-y: auto;
|
304445
304455
|
scrollbar-width: thick;
|
304446
304456
|
flex-basis: 0;
|
@@ -304448,7 +304458,7 @@ const n6 = (a) => {
|
|
304448
304458
|
`,
|
304449
304459
|
children: n.languageData.map((S, _) => {
|
304450
304460
|
var w, P;
|
304451
|
-
return /* @__PURE__ */
|
304461
|
+
return /* @__PURE__ */ Rn(
|
304452
304462
|
XB,
|
304453
304463
|
{
|
304454
304464
|
height: d,
|
@@ -304457,7 +304467,7 @@ const n6 = (a) => {
|
|
304457
304467
|
/* @__PURE__ */ Ia(
|
304458
304468
|
hB,
|
304459
304469
|
{
|
304460
|
-
css:
|
304470
|
+
css: Ba`
|
304461
304471
|
min-height: ${d};
|
304462
304472
|
flex-direction: column;
|
304463
304473
|
margin: 5px 10px 5px 0px;
|
@@ -304476,7 +304486,7 @@ const n6 = (a) => {
|
|
304476
304486
|
) && S.scripts.length > 1 && /* @__PURE__ */ Ia(
|
304477
304487
|
wu,
|
304478
304488
|
{
|
304479
|
-
css:
|
304489
|
+
css: Ba`
|
304480
304490
|
width: 100%;
|
304481
304491
|
display: flex;
|
304482
304492
|
flex-direction: row;
|
@@ -304489,14 +304499,14 @@ const n6 = (a) => {
|
|
304489
304499
|
return /* @__PURE__ */ Ia(
|
304490
304500
|
Mb,
|
304491
304501
|
{
|
304492
|
-
css:
|
304502
|
+
css: Ba`
|
304493
304503
|
padding: 5px 10px;
|
304494
304504
|
width: fit-content;
|
304495
304505
|
`,
|
304496
304506
|
children: /* @__PURE__ */ Ia(
|
304497
304507
|
bB,
|
304498
304508
|
{
|
304499
|
-
css:
|
304509
|
+
css: Ba`
|
304500
304510
|
min-width: 100px;
|
304501
304511
|
`,
|
304502
304512
|
scriptData: I,
|
@@ -304525,7 +304535,7 @@ const n6 = (a) => {
|
|
304525
304535
|
{
|
304526
304536
|
currentTagPreview: r,
|
304527
304537
|
forUnlistedLanguage: !n.selectedLanguage || Du(n.selectedLanguage),
|
304528
|
-
css:
|
304538
|
+
css: Ba`
|
304529
304539
|
min-width: 60%;
|
304530
304540
|
margin-top: 10px;
|
304531
304541
|
`,
|
@@ -304535,116 +304545,119 @@ const n6 = (a) => {
|
|
304535
304545
|
]
|
304536
304546
|
}
|
304537
304547
|
),
|
304538
|
-
/* @__PURE__ */
|
304548
|
+
/* @__PURE__ */ Rn(
|
304539
304549
|
"div",
|
304540
304550
|
{
|
304541
304551
|
id: "right-pane",
|
304542
|
-
css:
|
304552
|
+
css: Ba`
|
304543
304553
|
width: 421px;
|
304544
304554
|
flex-shrink: 0;
|
304545
304555
|
display: flex;
|
304546
304556
|
flex-direction: column;
|
304547
|
-
justify-content:
|
304557
|
+
justify-content: space-between;
|
304548
304558
|
background-color: white;
|
304549
304559
|
padding: 10px 15px 10px 20px;
|
304550
304560
|
`,
|
304551
304561
|
children: [
|
304552
|
-
|
304553
|
-
|
304554
|
-
|
304555
|
-
|
304556
|
-
|
304557
|
-
|
304558
|
-
|
304559
|
-
|
304560
|
-
|
304561
|
-
|
304562
|
+
/* @__PURE__ */ Ia("div", { id: "right-panel-component-container", children: a.rightPanelComponent }),
|
304563
|
+
/* @__PURE__ */ Rn("div", { id: "right-pane-language-chooser-section", children: [
|
304564
|
+
n.selectedLanguage && /* @__PURE__ */ Rn("div", { id: "right-pane-language-details=section", children: [
|
304565
|
+
/* @__PURE__ */ Ia(
|
304566
|
+
Si,
|
304567
|
+
{
|
304568
|
+
htmlFor: "language-name-bar",
|
304569
|
+
label: "Display this language this way"
|
304570
|
+
}
|
304571
|
+
),
|
304572
|
+
/* @__PURE__ */ Ia(
|
304573
|
+
Co,
|
304574
|
+
{
|
304575
|
+
type: "text",
|
304576
|
+
inputProps: {
|
304577
|
+
spellCheck: !1
|
304578
|
+
},
|
304579
|
+
css: Ba`
|
304580
|
+
background-color: white;
|
304581
|
+
margin-right: 16px;
|
304582
|
+
margin-bottom: 10px;
|
304583
|
+
font-size: 1.625rem; // 26px
|
304584
|
+
font-weight: 700;
|
304585
|
+
`,
|
304586
|
+
id: "language-name-bar",
|
304587
|
+
size: "small",
|
304588
|
+
fullWidth: !0,
|
304589
|
+
value: n.customizableLanguageDetails.displayName,
|
304590
|
+
onChange: (S) => {
|
304591
|
+
n.saveLanguageDetails(
|
304592
|
+
{
|
304593
|
+
...n.customizableLanguageDetails,
|
304594
|
+
displayName: S.target.value
|
304595
|
+
},
|
304596
|
+
n.selectedScript
|
304597
|
+
);
|
304598
|
+
}
|
304599
|
+
}
|
304600
|
+
),
|
304601
|
+
/* @__PURE__ */ Ia(
|
304602
|
+
qe,
|
304603
|
+
{
|
304604
|
+
variant: "body2",
|
304605
|
+
css: Ba`
|
304606
|
+
color: ${Pn.greys[3]};
|
304607
|
+
`,
|
304608
|
+
children: r
|
304609
|
+
}
|
304610
|
+
)
|
304611
|
+
] }),
|
304612
|
+
/* @__PURE__ */ Rn(
|
304613
|
+
"div",
|
304562
304614
|
{
|
304563
|
-
|
304564
|
-
|
304565
|
-
|
304566
|
-
|
304567
|
-
|
304568
|
-
|
304569
|
-
|
304570
|
-
|
304571
|
-
|
304572
|
-
|
304615
|
+
id: "buttons-container",
|
304616
|
+
css: Ba`
|
304617
|
+
width: 100%;
|
304618
|
+
display: flex;
|
304619
|
+
justify-content: flex-end;
|
304620
|
+
padding-top: 15px;
|
304621
|
+
padding-bottom: 5px;
|
304622
|
+
`,
|
304623
|
+
children: [
|
304624
|
+
/* @__PURE__ */ Ia(
|
304625
|
+
Mo,
|
304626
|
+
{
|
304627
|
+
css: Ba`
|
304628
|
+
margin-left: auto;
|
304629
|
+
margin-right: 10px;
|
304630
|
+
min-width: 100px;
|
304573
304631
|
`,
|
304574
|
-
|
304575
|
-
|
304576
|
-
|
304577
|
-
|
304578
|
-
|
304579
|
-
|
304632
|
+
variant: "contained",
|
304633
|
+
color: "primary",
|
304634
|
+
disabled: !n.isReadyToSubmit,
|
304635
|
+
onClick: () => a.onClose(
|
304636
|
+
qm({
|
304637
|
+
language: n.selectedLanguage,
|
304638
|
+
script: n.selectedScript,
|
304639
|
+
customDetails: n.customizableLanguageDetails
|
304640
|
+
})
|
304641
|
+
),
|
304642
|
+
children: "OK"
|
304643
|
+
}
|
304644
|
+
),
|
304645
|
+
/* @__PURE__ */ Ia(
|
304646
|
+
Mo,
|
304580
304647
|
{
|
304581
|
-
|
304582
|
-
|
304583
|
-
},
|
304584
|
-
n.selectedScript
|
304585
|
-
);
|
304586
|
-
}
|
304587
|
-
}
|
304588
|
-
),
|
304589
|
-
/* @__PURE__ */ Ia(
|
304590
|
-
qe,
|
304591
|
-
{
|
304592
|
-
variant: "body2",
|
304593
|
-
css: Da`
|
304594
|
-
color: ${Pn.greys[3]};
|
304648
|
+
css: Ba`
|
304649
|
+
min-width: 100px;
|
304595
304650
|
`,
|
304596
|
-
|
304651
|
+
variant: "outlined",
|
304652
|
+
color: "primary",
|
304653
|
+
onClick: () => a.onClose(void 0),
|
304654
|
+
children: "Cancel"
|
304655
|
+
}
|
304656
|
+
)
|
304657
|
+
]
|
304597
304658
|
}
|
304598
304659
|
)
|
304599
|
-
] })
|
304600
|
-
/* @__PURE__ */ Un(
|
304601
|
-
"div",
|
304602
|
-
{
|
304603
|
-
id: "buttons-container",
|
304604
|
-
css: Da`
|
304605
|
-
width: 100%;
|
304606
|
-
display: flex;
|
304607
|
-
justify-content: flex-end;
|
304608
|
-
padding-top: 15px;
|
304609
|
-
padding-bottom: 5px;
|
304610
|
-
`,
|
304611
|
-
children: [
|
304612
|
-
/* @__PURE__ */ Ia(
|
304613
|
-
Mo,
|
304614
|
-
{
|
304615
|
-
css: Da`
|
304616
|
-
margin-left: auto;
|
304617
|
-
margin-right: 10px;
|
304618
|
-
min-width: 100px;
|
304619
|
-
`,
|
304620
|
-
variant: "contained",
|
304621
|
-
color: "primary",
|
304622
|
-
disabled: !n.isReadyToSubmit,
|
304623
|
-
onClick: () => a.onClose(
|
304624
|
-
qm({
|
304625
|
-
language: n.selectedLanguage,
|
304626
|
-
script: n.selectedScript,
|
304627
|
-
customDetails: n.customizableLanguageDetails
|
304628
|
-
})
|
304629
|
-
),
|
304630
|
-
children: "OK"
|
304631
|
-
}
|
304632
|
-
),
|
304633
|
-
/* @__PURE__ */ Ia(
|
304634
|
-
Mo,
|
304635
|
-
{
|
304636
|
-
css: Da`
|
304637
|
-
min-width: 100px;
|
304638
|
-
`,
|
304639
|
-
variant: "outlined",
|
304640
|
-
color: "primary",
|
304641
|
-
onClick: () => a.onClose(void 0),
|
304642
|
-
children: "Cancel"
|
304643
|
-
}
|
304644
|
-
)
|
304645
|
-
]
|
304646
|
-
}
|
304647
|
-
)
|
304660
|
+
] })
|
304648
304661
|
]
|
304649
304662
|
}
|
304650
304663
|
)
|