@pie-element/select-text 14.0.2-next.20261007003844 → 14.0.2

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.
@@ -1,11 +1,11 @@
1
1
  import { a as e, i as t, t as n } from "./rolldown-runtime-CHQKHQ89.js";
2
- import { C as r, Gt as i, O as a, R as o, S as s, _ as c, b as l, et as u, g as d, gt as f, h as p, l as m, m as h, n as g, o as _, r as v, t as y, w as b, yt as x, z as S } from "./Check-DtCgVJ3T.js";
3
- import { g as ee, m as C, s as w } from "./dist-B2gQ2f7p.js";
4
- import T, { useRef as te } from "react";
5
- import ne from "react-dom";
6
- import { Fragment as re, jsx as E, jsxs as D } from "react/jsx-runtime";
2
+ import { B as r, C as i, Kt as a, O as o, R as s, S as c, _ as l, _t as u, b as d, bt as f, g as p, h as m, l as h, m as g, n as _, o as v, r as y, t as b, tt as x, w as S, z as ee } from "./Check-nK1XQLbN.js";
3
+ import { g as C, m as w, s as te } from "./dist-B2gQ2f7p.js";
4
+ import T, { useRef as ne } from "react";
5
+ import re from "react-dom";
6
+ import { Fragment as E, jsx as D, jsxs as O } from "react/jsx-runtime";
7
7
  //#region ../../lib-react/icons/dist/correct-response-icon.js
8
- var O = /* @__PURE__ */ e(i(), 1), ie = ({ bgFill: e, fgFill: t }) => /* @__PURE__ */ D("svg", {
8
+ var k = /* @__PURE__ */ e(a(), 1), ie = ({ bgFill: e, fgFill: t }) => /* @__PURE__ */ O("svg", {
9
9
  "aria-hidden": "true",
10
10
  focusable: "false",
11
11
  preserveAspectRatio: "xMinYMin meet",
@@ -13,27 +13,27 @@ var O = /* @__PURE__ */ e(i(), 1), ie = ({ bgFill: e, fgFill: t }) => /* @__PURE
13
13
  viewBox: "-283 359 34 35",
14
14
  style: { enableBackground: "new -283 359 34 35" },
15
15
  children: [
16
- /* @__PURE__ */ E("circle", {
16
+ /* @__PURE__ */ D("circle", {
17
17
  cx: "-266",
18
18
  cy: "375.9",
19
19
  r: "14",
20
20
  fill: e
21
21
  }),
22
- /* @__PURE__ */ E("path", {
22
+ /* @__PURE__ */ D("path", {
23
23
  d: "M-280.5,375.9c0-8,6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5s-6.5,14.5-14.5,14.5S-280.5,383.9-280.5,375.9z\n M-279.5,375.9c0,7.4,6.1,13.5,13.5,13.5c7.4,0,13.5-6.1,13.5-13.5s-6.1-13.5-13.5-13.5C-273.4,362.4-279.5,368.5-279.5,375.9z",
24
24
  fill: e
25
25
  }),
26
- /* @__PURE__ */ E("polygon", {
26
+ /* @__PURE__ */ D("polygon", {
27
27
  points: "-265.4,383.1 -258.6,377.2 -261.2,374.2 -264.3,376.9 -268.9,368.7 -272.4,370.6",
28
28
  fill: t
29
29
  })
30
30
  ]
31
31
  });
32
32
  ie.propTypes = {
33
- bgFill: O.default.string.isRequired,
34
- fgFill: O.default.string.isRequired
33
+ bgFill: k.default.string.isRequired,
34
+ fgFill: k.default.string.isRequired
35
35
  };
36
- var ae = ({ bgFill: e, fgFill: t, borderFill: n }) => /* @__PURE__ */ D("svg", {
36
+ var ae = ({ bgFill: e, fgFill: t, borderFill: n }) => /* @__PURE__ */ O("svg", {
37
37
  "aria-hidden": "true",
38
38
  focusable: "false",
39
39
  preserveAspectRatio: "xMinYMin meet",
@@ -41,7 +41,7 @@ var ae = ({ bgFill: e, fgFill: t, borderFill: n }) => /* @__PURE__ */ D("svg", {
41
41
  viewBox: "-129.5 127 34 35",
42
42
  style: { enableBackground: "new -129.5 127 34 35" },
43
43
  children: [
44
- /* @__PURE__ */ E("path", {
44
+ /* @__PURE__ */ D("path", {
45
45
  style: {
46
46
  fill: "#D0CAC5",
47
47
  stroke: "#E6E3E0",
@@ -50,7 +50,7 @@ var ae = ({ bgFill: e, fgFill: t, borderFill: n }) => /* @__PURE__ */ D("svg", {
50
50
  },
51
51
  d: "M-112.9,160.4c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5\n C-97.4,153.5-104.3,160.4-112.9,160.4z"
52
52
  }),
53
- /* @__PURE__ */ E("path", {
53
+ /* @__PURE__ */ D("path", {
54
54
  style: {
55
55
  fill: "#B3ABA4",
56
56
  stroke: "#CDC7C2",
@@ -59,48 +59,48 @@ var ae = ({ bgFill: e, fgFill: t, borderFill: n }) => /* @__PURE__ */ D("svg", {
59
59
  },
60
60
  d: "M-113.2,159c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105.2,159-113.2,159z"
61
61
  }),
62
- /* @__PURE__ */ E("circle", {
62
+ /* @__PURE__ */ D("circle", {
63
63
  cx: "-114.2",
64
64
  cy: "143.5",
65
65
  r: "14",
66
66
  fill: e
67
67
  }),
68
- /* @__PURE__ */ E("path", {
68
+ /* @__PURE__ */ D("path", {
69
69
  d: "M-114.2,158c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-106.2,158-114.2,158z\n M-114.2,130c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-106.8,130-114.2,130z",
70
70
  fill: n
71
71
  }),
72
- /* @__PURE__ */ E("polygon", {
72
+ /* @__PURE__ */ D("polygon", {
73
73
  points: "-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2",
74
74
  fill: t
75
75
  })
76
76
  ]
77
77
  });
78
78
  ae.propTypes = {
79
- bgFill: O.default.string.isRequired,
80
- fgFill: O.default.string.isRequired,
81
- borderFill: O.default.string.isRequired
79
+ bgFill: k.default.string.isRequired,
80
+ fgFill: k.default.string.isRequired,
81
+ borderFill: k.default.string.isRequired
82
82
  };
83
- var oe = x("div")(({ size: e }) => ({
83
+ var oe = f("div")(({ size: e }) => ({
84
84
  width: e || "25px",
85
85
  height: e || "25px"
86
- })), k = ({ open: e, size: t }) => /* @__PURE__ */ E(oe, {
86
+ })), A = ({ open: e, size: t }) => /* @__PURE__ */ D(oe, {
87
87
  size: t,
88
- children: e ? /* @__PURE__ */ E(ie, {
88
+ children: e ? /* @__PURE__ */ D(ie, {
89
89
  bgFill: "#bce2ff",
90
90
  fgFill: "#1a9cff"
91
- }) : /* @__PURE__ */ E(ae, {
91
+ }) : /* @__PURE__ */ D(ae, {
92
92
  bgFill: "white",
93
93
  fgFill: "#1a9cff",
94
94
  borderFill: "#bce2ff"
95
95
  })
96
96
  });
97
- k.propTypes = {
98
- open: O.default.bool,
99
- size: O.default.string
100
- }, k.defaultProps = { open: !1 };
97
+ A.propTypes = {
98
+ open: k.default.bool,
99
+ size: k.default.string
100
+ }, A.defaultProps = { open: !1 };
101
101
  //#endregion
102
102
  //#region ../../../node_modules/.bun/@mui+icons-material@7.3.11+44ccb211c00abd9d/node_modules/@mui/icons-material/esm/Close.js
103
- var A = f(/*#__PURE__*/ E("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }), "Close"), se = 3.2, ce = 3.4, le = 2, ue = () => S.v("pie")("focus-outline", "button-focus-outline", "focus-checked-border", S.defaults.FOCUS_CHECKED_BORDER), j = x("span")(({ theme: e }) => ({
103
+ var se = u(/*#__PURE__*/ D("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }), "Close"), j = 3.2, ce = 3.4, le = 2, ue = () => r.v("pie")("focus-outline", "button-focus-outline", "focus-checked-border", r.defaults.FOCUS_CHECKED_BORDER), M = f("span")(({ theme: e }) => ({
104
104
  cursor: "pointer",
105
105
  textIndent: 0,
106
106
  "&:focus:not(:focus-visible)": { outline: "none" },
@@ -112,46 +112,46 @@ var A = f(/*#__PURE__*/ E("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41
112
112
  "&.unavailable": { cursor: "inherit" },
113
113
  "&.disabled": {
114
114
  cursor: "inherit",
115
- color: S.disabled()
115
+ color: r.disabled()
116
116
  },
117
117
  "&.disabledBlack": {
118
118
  cursor: "inherit",
119
119
  pointerEvents: "none"
120
120
  },
121
- "&.disabledAndSelected": { backgroundColor: S.blueGrey100() },
121
+ "&.disabledAndSelected": { backgroundColor: r.blueGrey100() },
122
122
  [`@media (min-width: ${e.breakpoints.values.md}px)`]: { "&.selectableToken:hover": {
123
- backgroundColor: S.blueGrey300(),
124
- color: S.text(),
125
- "& > *": { backgroundColor: S.blueGrey300() }
123
+ backgroundColor: r.blueGrey300(),
124
+ color: r.text(),
125
+ "& > *": { backgroundColor: r.blueGrey300() }
126
126
  } },
127
127
  "&.selectedToken": {
128
- backgroundColor: S.blueGrey100(),
129
- color: S.text(),
130
- lineHeight: `${parseFloat(e.spacing(1)) * se}px`,
131
- border: `solid 2px ${S.blueGrey900()}`,
128
+ backgroundColor: r.blueGrey100(),
129
+ color: r.text(),
130
+ lineHeight: `${parseFloat(e.spacing(1)) * j}px`,
131
+ border: `solid 2px ${r.blueGrey900()}`,
132
132
  borderRadius: "4px",
133
- "& > *": { backgroundColor: S.blueGrey100() }
133
+ "& > *": { backgroundColor: r.blueGrey100() }
134
134
  },
135
135
  "&.highlight": {
136
- border: `dashed 2px ${S.blueGrey600()}`,
136
+ border: `dashed 2px ${r.blueGrey600()}`,
137
137
  borderRadius: "4px",
138
- lineHeight: `${parseFloat(e.spacing(1)) * se}px`
138
+ lineHeight: `${parseFloat(e.spacing(1)) * j}px`
139
139
  },
140
140
  "&.print": {
141
- border: `dashed 2px ${S.blueGrey600()}`,
141
+ border: `dashed 2px ${r.blueGrey600()}`,
142
142
  borderRadius: "4px",
143
- lineHeight: `${parseFloat(e.spacing(1)) * se}px`,
144
- color: S.text()
143
+ lineHeight: `${parseFloat(e.spacing(1)) * j}px`,
144
+ color: r.text()
145
145
  },
146
146
  "&.custom": { display: "initial" }
147
- })), de = x("span")(({ theme: e }) => ({
147
+ })), de = f("span")(({ theme: e }) => ({
148
148
  position: "relative",
149
149
  borderRadius: "4px",
150
- color: S.text(),
150
+ color: r.text(),
151
151
  lineHeight: `${parseFloat(e.spacing(1)) * ce + le}px`,
152
152
  padding: `${le}px`
153
- })), fe = x(de)(() => ({ border: `${S.correctTertiary()} solid 2px` })), pe = x(de)(() => ({ border: `${S.incorrectWithIcon()} solid 2px` })), me = x(de)(() => ({ border: `${S.incorrectWithIcon()} dashed 2px` })), M = {
154
- color: S.white(),
153
+ })), fe = f(de)(() => ({ border: `${r.correctTertiary()} solid 2px` })), pe = f(de)(() => ({ border: `${r.incorrectWithIcon()} solid 2px` })), N = f(de)(() => ({ border: `${r.incorrectWithIcon()} dashed 2px` })), P = {
154
+ color: r.white(),
155
155
  position: "absolute",
156
156
  top: "-8px",
157
157
  left: "-8px",
@@ -159,33 +159,33 @@ var A = f(/*#__PURE__*/ E("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41
159
159
  fontSize: "12px",
160
160
  padding: "2px",
161
161
  display: "inline-block"
162
- }, N = x(y)(() => ({
163
- ...M,
164
- backgroundColor: S.correctTertiary()
165
- })), P = x(A)(() => ({
166
- ...M,
167
- backgroundColor: S.incorrectWithIcon()
168
- })), he = ({ useWrapper: e, children: t, Container: n, Icon: r }) => e ? /* @__PURE__ */ D(n, { children: [t, r ? /* @__PURE__ */ E(r, {}) : null] }) : t;
169
- he.propTypes = {
170
- useWrapper: O.default.bool,
171
- Container: O.default.elementType,
172
- Icon: O.default.elementType,
173
- children: O.default.node
162
+ }, F = f(b)(() => ({
163
+ ...P,
164
+ backgroundColor: r.correctTertiary()
165
+ })), me = f(se)(() => ({
166
+ ...P,
167
+ backgroundColor: r.incorrectWithIcon()
168
+ })), I = ({ useWrapper: e, children: t, Container: n, Icon: r }) => e ? /* @__PURE__ */ O(n, { children: [t, r ? /* @__PURE__ */ D(r, {}) : null] }) : t;
169
+ I.propTypes = {
170
+ useWrapper: k.default.bool,
171
+ Container: k.default.elementType,
172
+ Icon: k.default.elementType,
173
+ children: k.default.node
174
174
  };
175
- var F = {
176
- text: O.default.string,
177
- selectable: O.default.bool
178
- }, I = class e extends T.Component {
175
+ var L = {
176
+ text: k.default.string,
177
+ selectable: k.default.bool
178
+ }, R = class e extends T.Component {
179
179
  static rootClassName = "tokenRootClass";
180
180
  static propTypes = {
181
- ...F,
182
- text: O.default.string.isRequired,
183
- className: O.default.string,
184
- disabled: O.default.bool,
185
- highlight: O.default.bool,
186
- correct: O.default.bool,
187
- operable: O.default.bool,
188
- describedBy: O.default.string
181
+ ...L,
182
+ text: k.default.string.isRequired,
183
+ className: k.default.string,
184
+ disabled: k.default.bool,
185
+ highlight: k.default.bool,
186
+ correct: k.default.bool,
187
+ operable: k.default.bool,
188
+ describedBy: k.default.string
189
189
  };
190
190
  static defaultProps = {
191
191
  selectable: !1,
@@ -195,37 +195,37 @@ var F = {
195
195
  getClassAndIconConfig = () => {
196
196
  let { selectable: t, selected: n, className: r, disabled: i, highlight: a, correct: o, animationsDisabled: s, isMissing: c, operable: l } = this.props, u = "ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0, d = e.rootClassName;
197
197
  if (o === void 0 && n && i) return {
198
- className: v(d, "selectedToken", "disabledBlack", r),
199
- Component: j
198
+ className: y(d, "selectedToken", "disabledBlack", r),
199
+ Component: M
200
200
  };
201
201
  if (o !== void 0) {
202
202
  let e = o === !0;
203
203
  return {
204
- className: v(d, "custom", r),
205
- Component: j,
204
+ className: y(d, "custom", r),
205
+ Component: M,
206
206
  Container: e ? fe : pe,
207
- Icon: e ? N : P
207
+ Icon: e ? F : me
208
208
  };
209
209
  }
210
210
  return c ? {
211
- className: v(d, "custom", "missing", r),
212
- Component: j,
213
- Container: me,
214
- Icon: P
211
+ className: y(d, "custom", "missing", r),
212
+ Component: M,
213
+ Container: N,
214
+ Icon: me
215
215
  } : {
216
- className: v(d, i && "disabled", t && !i && !u && "selectableToken", n && !i && "selectedToken", n && i && "disabledAndSelected", a && t && !i && !n && "highlight", l && !t && !n && "unavailable", s && "print", r),
217
- Component: j,
216
+ className: y(d, i && "disabled", t && !i && !u && "selectableToken", n && !i && "selectedToken", n && i && "disabledAndSelected", a && t && !i && !n && "highlight", l && !t && !n && "unavailable", s && "print", r),
217
+ Component: M,
218
218
  Container: void 0,
219
219
  Icon: void 0
220
220
  };
221
221
  };
222
222
  render() {
223
- let { text: e, index: t, correct: n, isMissing: r, selected: i, selectable: a, operable: o, describedBy: s } = this.props, { className: c, Component: l, Container: u, Icon: d } = this.getClassAndIconConfig(), f = l || j, p = o && (a || i);
224
- return /* @__PURE__ */ E(he, {
223
+ let { text: e, index: t, correct: n, isMissing: r, selected: i, selectable: a, operable: o, describedBy: s } = this.props, { className: c, Component: l, Container: u, Icon: d } = this.getClassAndIconConfig(), f = l || M, p = o && (a || i);
224
+ return /* @__PURE__ */ D(I, {
225
225
  useWrapper: n !== void 0 || r,
226
226
  Container: u,
227
227
  Icon: d,
228
- children: /* @__PURE__ */ E(f, {
228
+ children: /* @__PURE__ */ D(f, {
229
229
  className: c,
230
230
  dangerouslySetInnerHTML: { __html: (e || "").replace(/\n/g, "<br>") },
231
231
  "data-indexkey": t,
@@ -237,7 +237,7 @@ var F = {
237
237
  })
238
238
  });
239
239
  }
240
- }, ge = /* @__PURE__ */ n(((e) => {
240
+ }, he = /* @__PURE__ */ n(((e) => {
241
241
  var n = t("react");
242
242
  function r(e) {
243
243
  for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
@@ -501,13 +501,13 @@ var F = {
501
501
  t = t.__html, t != null && e.push("" + t);
502
502
  }
503
503
  }
504
- function T(e) {
504
+ function te(e) {
505
505
  var t = "";
506
506
  return n.Children.forEach(e, function(e) {
507
507
  e != null && (t += e);
508
508
  }), t;
509
509
  }
510
- function te(e, t, n, r) {
510
+ function T(e, t, n, r) {
511
511
  e.push(E(n));
512
512
  var a = n = null, o;
513
513
  for (o in t) if (i.call(t, o)) {
@@ -572,7 +572,7 @@ var F = {
572
572
  default: C(e, a, s, m);
573
573
  }
574
574
  }
575
- if (l != null) if (n = d === null ? T(u) : "" + d, y(l)) {
575
+ if (l != null) if (n = d === null ? te(u) : "" + d, y(l)) {
576
576
  for (a = 0; a < l.length; a++) if ("" + l[a] === n) {
577
577
  e.push(" selected=\"\"");
578
578
  break;
@@ -679,10 +679,10 @@ var F = {
679
679
  case "font-face-uri":
680
680
  case "font-face-format":
681
681
  case "font-face-name":
682
- case "missing-glyph": return te(e, n, t, a);
683
- case "html": return o.insertionMode === 0 && e.push("<!DOCTYPE html>"), te(e, n, t, a);
682
+ case "missing-glyph": return T(e, n, t, a);
683
+ case "html": return o.insertionMode === 0 && e.push("<!DOCTYPE html>"), T(e, n, t, a);
684
684
  default:
685
- if (t.indexOf("-") === -1 && typeof n.is != "string") return te(e, n, t, a);
685
+ if (t.indexOf("-") === -1 && typeof n.is != "string") return T(e, n, t, a);
686
686
  for (f in e.push(E(t)), l = s = null, n) if (i.call(n, f) && (u = n[f], u != null)) switch (f) {
687
687
  case "children":
688
688
  s = u;
@@ -704,7 +704,7 @@ var F = {
704
704
  if (e.push("<!--$?--><template id=\""), n === null) throw Error(r(395));
705
705
  return e.push(n), e.push("\"></template>");
706
706
  }
707
- function ie(e, t, n, i) {
707
+ function k(e, t, n, i) {
708
708
  switch (n.insertionMode) {
709
709
  case 0:
710
710
  case 1: return e.push("<div hidden id=\""), e.push(t.segmentPrefix), t = i.toString(16), e.push(t), e.push("\">");
@@ -717,7 +717,7 @@ var F = {
717
717
  default: throw Error(r(397));
718
718
  }
719
719
  }
720
- function ae(e, t) {
720
+ function ie(e, t) {
721
721
  switch (t.insertionMode) {
722
722
  case 0:
723
723
  case 1: return e.push("</div>");
@@ -730,9 +730,9 @@ var F = {
730
730
  default: throw Error(r(397));
731
731
  }
732
732
  }
733
- var oe = /[<\u2028\u2029]/g;
734
- function k(e) {
735
- return JSON.stringify(e).replace(oe, function(e) {
733
+ var ae = /[<\u2028\u2029]/g;
734
+ function oe(e) {
735
+ return JSON.stringify(e).replace(ae, function(e) {
736
736
  switch (e) {
737
737
  case "<": return "\\u003c";
738
738
  case "\u2028": return "\\u2028";
@@ -759,43 +759,43 @@ var F = {
759
759
  function se(e, t, n, r) {
760
760
  return n.generateStaticMarkup ? (e.push(g(t)), !1) : (t === "" ? e = r : (r && e.push("<!-- -->"), e.push(g(t)), e = !0), e);
761
761
  }
762
- var ce = Object.assign, le = Symbol.for("react.element"), ue = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), de = Symbol.for("react.strict_mode"), fe = Symbol.for("react.profiler"), pe = Symbol.for("react.provider"), me = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), N = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), he = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), I = Symbol.for("react.scope"), ge = Symbol.for("react.debug_trace_mode"), _e = Symbol.for("react.legacy_hidden"), ve = Symbol.for("react.default_value"), L = Symbol.iterator;
763
- function ye(e) {
762
+ var j = Object.assign, ce = Symbol.for("react.element"), le = Symbol.for("react.portal"), ue = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), de = Symbol.for("react.profiler"), fe = Symbol.for("react.provider"), pe = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), F = Symbol.for("react.suspense_list"), me = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), L = Symbol.for("react.scope"), R = Symbol.for("react.debug_trace_mode"), he = Symbol.for("react.legacy_hidden"), ge = Symbol.for("react.default_value"), _e = Symbol.iterator;
763
+ function z(e) {
764
764
  if (e == null) return null;
765
765
  if (typeof e == "function") return e.displayName || e.name || null;
766
766
  if (typeof e == "string") return e;
767
767
  switch (e) {
768
- case j: return "Fragment";
769
- case ue: return "Portal";
770
- case fe: return "Profiler";
771
- case de: return "StrictMode";
772
- case N: return "Suspense";
773
- case P: return "SuspenseList";
768
+ case ue: return "Fragment";
769
+ case le: return "Portal";
770
+ case de: return "Profiler";
771
+ case M: return "StrictMode";
772
+ case P: return "Suspense";
773
+ case F: return "SuspenseList";
774
774
  }
775
775
  if (typeof e == "object") switch (e.$$typeof) {
776
- case me: return (e.displayName || "Context") + ".Consumer";
777
- case pe: return (e._context.displayName || "Context") + ".Provider";
778
- case M:
776
+ case pe: return (e.displayName || "Context") + ".Consumer";
777
+ case fe: return (e._context.displayName || "Context") + ".Provider";
778
+ case N:
779
779
  var t = e.render;
780
780
  return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
781
- case he: return t = e.displayName || null, t === null ? ye(e.type) || "Memo" : t;
782
- case F:
781
+ case me: return t = e.displayName || null, t === null ? z(e.type) || "Memo" : t;
782
+ case I:
783
783
  t = e._payload, e = e._init;
784
784
  try {
785
- return ye(e(t));
785
+ return z(e(t));
786
786
  } catch {}
787
787
  }
788
788
  return null;
789
789
  }
790
- var R = {};
791
- function be(e, t) {
792
- if (e = e.contextTypes, !e) return R;
790
+ var ve = {};
791
+ function ye(e, t) {
792
+ if (e = e.contextTypes, !e) return ve;
793
793
  var n = {}, r;
794
794
  for (r in e) n[r] = t[r];
795
795
  return n;
796
796
  }
797
- var z = null;
798
- function B(e, t) {
797
+ var B = null;
798
+ function V(e, t) {
799
799
  if (e !== t) {
800
800
  e.context._currentValue2 = e.parentValue, e = e.parent;
801
801
  var n = t.parent;
@@ -803,32 +803,32 @@ var F = {
803
803
  if (n !== null) throw Error(r(401));
804
804
  } else {
805
805
  if (n === null) throw Error(r(401));
806
- B(e, n);
806
+ V(e, n);
807
807
  }
808
808
  t.context._currentValue2 = t.value;
809
809
  }
810
810
  }
811
- function xe(e) {
812
- e.context._currentValue2 = e.parentValue, e = e.parent, e !== null && xe(e);
811
+ function be(e) {
812
+ e.context._currentValue2 = e.parentValue, e = e.parent, e !== null && be(e);
813
813
  }
814
- function Se(e) {
814
+ function xe(e) {
815
815
  var t = e.parent;
816
- t !== null && Se(t), e.context._currentValue2 = e.value;
816
+ t !== null && xe(t), e.context._currentValue2 = e.value;
817
817
  }
818
- function Ce(e, t) {
818
+ function Se(e, t) {
819
819
  if (e.context._currentValue2 = e.parentValue, e = e.parent, e === null) throw Error(r(402));
820
- e.depth === t.depth ? B(e, t) : Ce(e, t);
820
+ e.depth === t.depth ? V(e, t) : Se(e, t);
821
821
  }
822
- function we(e, t) {
822
+ function Ce(e, t) {
823
823
  var n = t.parent;
824
824
  if (n === null) throw Error(r(402));
825
- e.depth === n.depth ? B(e, n) : we(e, n), t.context._currentValue2 = t.value;
825
+ e.depth === n.depth ? V(e, n) : Ce(e, n), t.context._currentValue2 = t.value;
826
826
  }
827
- function Te(e) {
828
- var t = z;
829
- t !== e && (t === null ? Se(e) : e === null ? xe(t) : t.depth === e.depth ? B(t, e) : t.depth > e.depth ? Ce(t, e) : we(t, e), z = e);
827
+ function we(e) {
828
+ var t = B;
829
+ t !== e && (t === null ? xe(e) : e === null ? be(t) : t.depth === e.depth ? V(t, e) : t.depth > e.depth ? Se(t, e) : Ce(t, e), B = e);
830
830
  }
831
- var Ee = {
831
+ var Te = {
832
832
  isMounted: function() {
833
833
  return !1;
834
834
  },
@@ -840,39 +840,39 @@ var F = {
840
840
  },
841
841
  enqueueForceUpdate: function() {}
842
842
  };
843
- function De(e, t, n, r) {
843
+ function Ee(e, t, n, r) {
844
844
  var i = e.state === void 0 ? null : e.state;
845
- e.updater = Ee, e.props = n, e.state = i;
845
+ e.updater = Te, e.props = n, e.state = i;
846
846
  var a = {
847
847
  queue: [],
848
848
  replace: !1
849
849
  };
850
850
  e._reactInternals = a;
851
851
  var o = t.contextType;
852
- if (e.context = typeof o == "object" && o ? o._currentValue2 : r, o = t.getDerivedStateFromProps, typeof o == "function" && (o = o(n, i), i = o == null ? i : ce({}, i, o), e.state = i), typeof t.getDerivedStateFromProps != "function" && typeof e.getSnapshotBeforeUpdate != "function" && (typeof e.UNSAFE_componentWillMount == "function" || typeof e.componentWillMount == "function")) if (t = e.state, typeof e.componentWillMount == "function" && e.componentWillMount(), typeof e.UNSAFE_componentWillMount == "function" && e.UNSAFE_componentWillMount(), t !== e.state && Ee.enqueueReplaceState(e, e.state, null), a.queue !== null && 0 < a.queue.length) if (t = a.queue, o = a.replace, a.queue = null, a.replace = !1, o && t.length === 1) e.state = t[0];
852
+ if (e.context = typeof o == "object" && o ? o._currentValue2 : r, o = t.getDerivedStateFromProps, typeof o == "function" && (o = o(n, i), i = o == null ? i : j({}, i, o), e.state = i), typeof t.getDerivedStateFromProps != "function" && typeof e.getSnapshotBeforeUpdate != "function" && (typeof e.UNSAFE_componentWillMount == "function" || typeof e.componentWillMount == "function")) if (t = e.state, typeof e.componentWillMount == "function" && e.componentWillMount(), typeof e.UNSAFE_componentWillMount == "function" && e.UNSAFE_componentWillMount(), t !== e.state && Te.enqueueReplaceState(e, e.state, null), a.queue !== null && 0 < a.queue.length) if (t = a.queue, o = a.replace, a.queue = null, a.replace = !1, o && t.length === 1) e.state = t[0];
853
853
  else {
854
854
  for (a = o ? t[0] : e.state, i = !0, o = +!!o; o < t.length; o++) {
855
855
  var s = t[o];
856
- s = typeof s == "function" ? s.call(e, a, n, r) : s, s != null && (i ? (i = !1, a = ce({}, a, s)) : ce(a, s));
856
+ s = typeof s == "function" ? s.call(e, a, n, r) : s, s != null && (i ? (i = !1, a = j({}, a, s)) : j(a, s));
857
857
  }
858
858
  e.state = a;
859
859
  }
860
860
  else a.queue = null;
861
861
  }
862
- var Oe = {
862
+ var De = {
863
863
  id: 1,
864
864
  overflow: ""
865
865
  };
866
- function ke(e, t, n) {
866
+ function Oe(e, t, n) {
867
867
  var r = e.id;
868
868
  e = e.overflow;
869
- var i = 32 - Ae(r) - 1;
869
+ var i = 32 - ke(r) - 1;
870
870
  r &= ~(1 << i), n += 1;
871
- var a = 32 - Ae(t) + i;
871
+ var a = 32 - ke(t) + i;
872
872
  if (30 < a) {
873
873
  var o = i - i % 5;
874
874
  return a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, {
875
- id: 1 << 32 - Ae(t) + i | n << i | r,
875
+ id: 1 << 32 - ke(t) + i | n << i | r,
876
876
  overflow: a + e
877
877
  };
878
878
  }
@@ -881,60 +881,60 @@ var F = {
881
881
  overflow: e
882
882
  };
883
883
  }
884
- var Ae = Math.clz32 ? Math.clz32 : Ne, je = Math.log, Me = Math.LN2;
885
- function Ne(e) {
886
- return e >>>= 0, e === 0 ? 32 : 31 - (je(e) / Me | 0) | 0;
884
+ var ke = Math.clz32 ? Math.clz32 : Me, Ae = Math.log, je = Math.LN2;
885
+ function Me(e) {
886
+ return e >>>= 0, e === 0 ? 32 : 31 - (Ae(e) / je | 0) | 0;
887
887
  }
888
- function Pe(e, t) {
888
+ function Ne(e, t) {
889
889
  return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
890
890
  }
891
- var Fe = typeof Object.is == "function" ? Object.is : Pe, V = null, Ie = null, Le = null, H = null, Re = !1, ze = !1, Be = 0, U = null, Ve = 0;
892
- function W() {
893
- if (V === null) throw Error(r(321));
894
- return V;
891
+ var Pe = typeof Object.is == "function" ? Object.is : Ne, H = null, Fe = null, Ie = null, U = null, W = !1, Le = !1, Re = 0, G = null, ze = 0;
892
+ function K() {
893
+ if (H === null) throw Error(r(321));
894
+ return H;
895
895
  }
896
- function He() {
897
- if (0 < Ve) throw Error(r(312));
896
+ function Be() {
897
+ if (0 < ze) throw Error(r(312));
898
898
  return {
899
899
  memoizedState: null,
900
900
  queue: null,
901
901
  next: null
902
902
  };
903
903
  }
904
- function Ue() {
905
- return H === null ? Le === null ? (Re = !1, Le = H = He()) : (Re = !0, H = Le) : H.next === null ? (Re = !1, H = H.next = He()) : (Re = !0, H = H.next), H;
904
+ function Ve() {
905
+ return U === null ? Ie === null ? (W = !1, Ie = U = Be()) : (W = !0, U = Ie) : U.next === null ? (W = !1, U = U.next = Be()) : (W = !0, U = U.next), U;
906
906
  }
907
- function We() {
908
- Ie = V = null, ze = !1, Le = null, Ve = 0, H = U = null;
907
+ function He() {
908
+ Fe = H = null, Le = !1, Ie = null, ze = 0, U = G = null;
909
909
  }
910
- function Ge(e, t) {
910
+ function Ue(e, t) {
911
911
  return typeof t == "function" ? t(e) : t;
912
912
  }
913
- function Ke(e, t, n) {
914
- if (V = W(), H = Ue(), Re) {
915
- var r = H.queue;
916
- if (t = r.dispatch, U !== null && (n = U.get(r), n !== void 0)) {
917
- U.delete(r), r = H.memoizedState;
913
+ function We(e, t, n) {
914
+ if (H = K(), U = Ve(), W) {
915
+ var r = U.queue;
916
+ if (t = r.dispatch, G !== null && (n = G.get(r), n !== void 0)) {
917
+ G.delete(r), r = U.memoizedState;
918
918
  do
919
919
  r = e(r, n.action), n = n.next;
920
920
  while (n !== null);
921
- return H.memoizedState = r, [r, t];
921
+ return U.memoizedState = r, [r, t];
922
922
  }
923
- return [H.memoizedState, t];
923
+ return [U.memoizedState, t];
924
924
  }
925
- return e = e === Ge ? typeof t == "function" ? t() : t : n === void 0 ? t : n(t), H.memoizedState = e, e = H.queue = {
925
+ return e = e === Ue ? typeof t == "function" ? t() : t : n === void 0 ? t : n(t), U.memoizedState = e, e = U.queue = {
926
926
  last: null,
927
927
  dispatch: null
928
- }, e = e.dispatch = Je.bind(null, V, e), [H.memoizedState, e];
928
+ }, e = e.dispatch = Ke.bind(null, H, e), [U.memoizedState, e];
929
929
  }
930
- function qe(e, t) {
931
- if (V = W(), H = Ue(), t = t === void 0 ? null : t, H !== null) {
932
- var n = H.memoizedState;
930
+ function Ge(e, t) {
931
+ if (H = K(), U = Ve(), t = t === void 0 ? null : t, U !== null) {
932
+ var n = U.memoizedState;
933
933
  if (n !== null && t !== null) {
934
934
  var r = n[1];
935
935
  a: if (r === null) r = !1;
936
936
  else {
937
- for (var i = 0; i < r.length && i < t.length; i++) if (!Fe(t[i], r[i])) {
937
+ for (var i = 0; i < r.length && i < t.length; i++) if (!Pe(t[i], r[i])) {
938
938
  r = !1;
939
939
  break a;
940
940
  }
@@ -943,76 +943,76 @@ var F = {
943
943
  if (r) return n[0];
944
944
  }
945
945
  }
946
- return e = e(), H.memoizedState = [e, t], e;
946
+ return e = e(), U.memoizedState = [e, t], e;
947
947
  }
948
- function Je(e, t, n) {
949
- if (25 <= Ve) throw Error(r(301));
950
- if (e === V) if (ze = !0, e = {
948
+ function Ke(e, t, n) {
949
+ if (25 <= ze) throw Error(r(301));
950
+ if (e === H) if (Le = !0, e = {
951
951
  action: n,
952
952
  next: null
953
- }, U === null && (U = /* @__PURE__ */ new Map()), n = U.get(t), n === void 0) U.set(t, e);
953
+ }, G === null && (G = /* @__PURE__ */ new Map()), n = G.get(t), n === void 0) G.set(t, e);
954
954
  else {
955
955
  for (t = n; t.next !== null;) t = t.next;
956
956
  t.next = e;
957
957
  }
958
958
  }
959
- function Ye() {
959
+ function qe() {
960
960
  throw Error(r(394));
961
961
  }
962
- function Xe() {}
963
- var Ze = {
962
+ function Je() {}
963
+ var Ye = {
964
964
  readContext: function(e) {
965
965
  return e._currentValue2;
966
966
  },
967
967
  useContext: function(e) {
968
- return W(), e._currentValue2;
968
+ return K(), e._currentValue2;
969
969
  },
970
- useMemo: qe,
971
- useReducer: Ke,
970
+ useMemo: Ge,
971
+ useReducer: We,
972
972
  useRef: function(e) {
973
- V = W(), H = Ue();
974
- var t = H.memoizedState;
975
- return t === null ? (e = { current: e }, H.memoizedState = e) : t;
973
+ H = K(), U = Ve();
974
+ var t = U.memoizedState;
975
+ return t === null ? (e = { current: e }, U.memoizedState = e) : t;
976
976
  },
977
977
  useState: function(e) {
978
- return Ke(Ge, e);
978
+ return We(Ue, e);
979
979
  },
980
- useInsertionEffect: Xe,
980
+ useInsertionEffect: Je,
981
981
  useLayoutEffect: function() {},
982
982
  useCallback: function(e, t) {
983
- return qe(function() {
983
+ return Ge(function() {
984
984
  return e;
985
985
  }, t);
986
986
  },
987
- useImperativeHandle: Xe,
988
- useEffect: Xe,
989
- useDebugValue: Xe,
987
+ useImperativeHandle: Je,
988
+ useEffect: Je,
989
+ useDebugValue: Je,
990
990
  useDeferredValue: function(e) {
991
- return W(), e;
991
+ return K(), e;
992
992
  },
993
993
  useTransition: function() {
994
- return W(), [!1, Ye];
994
+ return K(), [!1, qe];
995
995
  },
996
996
  useId: function() {
997
- var e = Ie.treeContext, t = e.overflow;
998
- e = e.id, e = (e & ~(1 << 32 - Ae(e) - 1)).toString(32) + t;
999
- var n = Qe;
997
+ var e = Fe.treeContext, t = e.overflow;
998
+ e = e.id, e = (e & ~(1 << 32 - ke(e) - 1)).toString(32) + t;
999
+ var n = Xe;
1000
1000
  if (n === null) throw Error(r(404));
1001
- return t = Be++, e = ":" + n.idPrefix + "R" + e, 0 < t && (e += "H" + t.toString(32)), e + ":";
1001
+ return t = Re++, e = ":" + n.idPrefix + "R" + e, 0 < t && (e += "H" + t.toString(32)), e + ":";
1002
1002
  },
1003
1003
  useMutableSource: function(e, t) {
1004
- return W(), t(e._source);
1004
+ return K(), t(e._source);
1005
1005
  },
1006
1006
  useSyncExternalStore: function(e, t, n) {
1007
1007
  if (n === void 0) throw Error(r(407));
1008
1008
  return n();
1009
1009
  }
1010
- }, Qe = null, $e = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
1011
- function et(e) {
1010
+ }, Xe = null, Ze = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
1011
+ function Qe(e) {
1012
1012
  return console.error(e), null;
1013
1013
  }
1014
- function tt() {}
1015
- function nt(e, t, n, r, i, a, o, s, c) {
1014
+ function $e() {}
1015
+ function et(e, t, n, r, i, a, o, s, c) {
1016
1016
  var l = [], u = /* @__PURE__ */ new Set();
1017
1017
  return t = {
1018
1018
  destination: null,
@@ -1029,20 +1029,20 @@ var F = {
1029
1029
  clientRenderedBoundaries: [],
1030
1030
  completedBoundaries: [],
1031
1031
  partialBoundaries: [],
1032
- onError: i === void 0 ? et : i,
1033
- onAllReady: a === void 0 ? tt : a,
1034
- onShellReady: o === void 0 ? tt : o,
1035
- onShellError: s === void 0 ? tt : s,
1036
- onFatalError: c === void 0 ? tt : c
1037
- }, n = it(t, 0, null, n, !1, !1), n.parentFlushed = !0, e = rt(t, e, null, n, u, R, null, Oe), l.push(e), t;
1038
- }
1039
- function rt(e, t, n, r, i, a, o, s) {
1032
+ onError: i === void 0 ? Qe : i,
1033
+ onAllReady: a === void 0 ? $e : a,
1034
+ onShellReady: o === void 0 ? $e : o,
1035
+ onShellError: s === void 0 ? $e : s,
1036
+ onFatalError: c === void 0 ? $e : c
1037
+ }, n = nt(t, 0, null, n, !1, !1), n.parentFlushed = !0, e = tt(t, e, null, n, u, ve, null, De), l.push(e), t;
1038
+ }
1039
+ function tt(e, t, n, r, i, a, o, s) {
1040
1040
  e.allPendingTasks++, n === null ? e.pendingRootTasks++ : n.pendingTasks++;
1041
1041
  var c = {
1042
1042
  node: t,
1043
1043
  ping: function() {
1044
1044
  var t = e.pingedTasks;
1045
- t.push(c), t.length === 1 && pt(e);
1045
+ t.push(c), t.length === 1 && ft(e);
1046
1046
  },
1047
1047
  blockedBoundary: n,
1048
1048
  blockedSegment: r,
@@ -1053,7 +1053,7 @@ var F = {
1053
1053
  };
1054
1054
  return i.add(c), c;
1055
1055
  }
1056
- function it(e, t, n, r, i, a) {
1056
+ function nt(e, t, n, r, i, a) {
1057
1057
  return {
1058
1058
  status: 0,
1059
1059
  id: -1,
@@ -1067,48 +1067,48 @@ var F = {
1067
1067
  textEmbedded: a
1068
1068
  };
1069
1069
  }
1070
- function G(e, t) {
1070
+ function rt(e, t) {
1071
1071
  if (e = e.onError(t), e != null && typeof e != "string") throw Error("onError returned something with a type other than \"string\". onError should return a string and may return null or undefined but must not return anything else. It received something of type \"" + typeof e + "\" instead");
1072
1072
  return e;
1073
1073
  }
1074
- function at(e, t) {
1074
+ function it(e, t) {
1075
1075
  var n = e.onShellError;
1076
1076
  n(t), n = e.onFatalError, n(t), e.destination === null ? (e.status = 1, e.fatalError = t) : (e.status = 2, e.destination.destroy(t));
1077
1077
  }
1078
- function ot(e, t, n, r, i) {
1079
- for (V = {}, Ie = t, Be = 0, e = n(r, i); ze;) ze = !1, Be = 0, Ve += 1, H = null, e = n(r, i);
1080
- return We(), e;
1078
+ function at(e, t, n, r, i) {
1079
+ for (H = {}, Fe = t, Re = 0, e = n(r, i); Le;) Le = !1, Re = 0, ze += 1, U = null, e = n(r, i);
1080
+ return He(), e;
1081
1081
  }
1082
- function K(e, t, n, i) {
1082
+ function ot(e, t, n, i) {
1083
1083
  var a = n.render(), o = i.childContextTypes;
1084
1084
  if (o != null) {
1085
1085
  var s = t.legacyContext;
1086
1086
  if (typeof n.getChildContext != "function") i = s;
1087
1087
  else {
1088
- for (var c in n = n.getChildContext(), n) if (!(c in o)) throw Error(r(108, ye(i) || "Unknown", c));
1089
- i = ce({}, s, n);
1088
+ for (var c in n = n.getChildContext(), n) if (!(c in o)) throw Error(r(108, z(i) || "Unknown", c));
1089
+ i = j({}, s, n);
1090
1090
  }
1091
1091
  t.legacyContext = i, J(e, t, a), t.legacyContext = s;
1092
1092
  } else J(e, t, a);
1093
1093
  }
1094
- function st(e, t) {
1094
+ function q(e, t) {
1095
1095
  if (e && e.defaultProps) {
1096
- for (var n in t = ce({}, t), e = e.defaultProps, e) t[n] === void 0 && (t[n] = e[n]);
1096
+ for (var n in t = j({}, t), e = e.defaultProps, e) t[n] === void 0 && (t[n] = e[n]);
1097
1097
  return t;
1098
1098
  }
1099
1099
  return t;
1100
1100
  }
1101
- function q(e, t, n, i, a) {
1101
+ function st(e, t, n, i, a) {
1102
1102
  if (typeof n == "function") if (n.prototype && n.prototype.isReactComponent) {
1103
- a = be(n, t.legacyContext);
1103
+ a = ye(n, t.legacyContext);
1104
1104
  var o = n.contextType;
1105
- o = new n(i, typeof o == "object" && o ? o._currentValue2 : a), De(o, n, i, a), K(e, t, o, n);
1105
+ o = new n(i, typeof o == "object" && o ? o._currentValue2 : a), Ee(o, n, i, a), ot(e, t, o, n);
1106
1106
  } else {
1107
- o = be(n, t.legacyContext), a = ot(e, t, n, i, o);
1108
- var s = Be !== 0;
1109
- if (typeof a == "object" && a && typeof a.render == "function" && a.$$typeof === void 0) De(a, n, i, o), K(e, t, a, n);
1107
+ o = ye(n, t.legacyContext), a = at(e, t, n, i, o);
1108
+ var s = Re !== 0;
1109
+ if (typeof a == "object" && a && typeof a.render == "function" && a.$$typeof === void 0) Ee(a, n, i, o), ot(e, t, a, n);
1110
1110
  else if (s) {
1111
- i = t.treeContext, t.treeContext = ke(i, 1, 0);
1111
+ i = t.treeContext, t.treeContext = Oe(i, 1, 0);
1112
1112
  try {
1113
1113
  J(e, t, a);
1114
1114
  } finally {
@@ -1138,18 +1138,18 @@ var F = {
1138
1138
  a.lastPushedText = !1;
1139
1139
  } else {
1140
1140
  switch (n) {
1141
- case _e:
1142
- case ge:
1141
+ case he:
1142
+ case R:
1143
+ case M:
1143
1144
  case de:
1144
- case fe:
1145
- case j:
1145
+ case ue:
1146
1146
  J(e, t, i.children);
1147
1147
  return;
1148
- case P:
1148
+ case F:
1149
1149
  J(e, t, i.children);
1150
1150
  return;
1151
- case I: throw Error(r(343));
1152
- case N:
1151
+ case L: throw Error(r(343));
1152
+ case P:
1153
1153
  a: {
1154
1154
  n = t.blockedBoundary, a = t.blockedSegment, o = i.fallback, i = i.children, s = /* @__PURE__ */ new Set();
1155
1155
  var c = {
@@ -1162,25 +1162,25 @@ var F = {
1162
1162
  byteSize: 0,
1163
1163
  fallbackAbortableTasks: s,
1164
1164
  errorDigest: null
1165
- }, l = it(e, a.chunks.length, c, a.formatContext, !1, !1);
1165
+ }, l = nt(e, a.chunks.length, c, a.formatContext, !1, !1);
1166
1166
  a.children.push(l), a.lastPushedText = !1;
1167
- var u = it(e, 0, null, a.formatContext, !1, !1);
1167
+ var u = nt(e, 0, null, a.formatContext, !1, !1);
1168
1168
  u.parentFlushed = !0, t.blockedBoundary = c, t.blockedSegment = u;
1169
1169
  try {
1170
1170
  if (lt(e, t, i), e.responseState.generateStaticMarkup || u.lastPushedText && u.textEmbedded && u.chunks.push("<!-- -->"), u.status = 1, Y(c, u), c.pendingTasks === 0) break a;
1171
1171
  } catch (t) {
1172
- u.status = 4, c.forceClientRender = !0, c.errorDigest = G(e, t);
1172
+ u.status = 4, c.forceClientRender = !0, c.errorDigest = rt(e, t);
1173
1173
  } finally {
1174
1174
  t.blockedBoundary = n, t.blockedSegment = a;
1175
1175
  }
1176
- t = rt(e, o, n, l, s, t.legacyContext, t.context, t.treeContext), e.pingedTasks.push(t);
1176
+ t = tt(e, o, n, l, s, t.legacyContext, t.context, t.treeContext), e.pingedTasks.push(t);
1177
1177
  }
1178
1178
  return;
1179
1179
  }
1180
1180
  if (typeof n == "object" && n) switch (n.$$typeof) {
1181
- case M:
1182
- if (i = ot(e, t, n.render, i, a), Be !== 0) {
1183
- n = t.treeContext, t.treeContext = ke(n, 1, 0);
1181
+ case N:
1182
+ if (i = at(e, t, n.render, i, a), Re !== 0) {
1183
+ n = t.treeContext, t.treeContext = Oe(n, 1, 0);
1184
1184
  try {
1185
1185
  J(e, t, i);
1186
1186
  } finally {
@@ -1188,24 +1188,24 @@ var F = {
1188
1188
  }
1189
1189
  } else J(e, t, i);
1190
1190
  return;
1191
- case he:
1192
- n = n.type, i = st(n, i), q(e, t, n, i, a);
1191
+ case me:
1192
+ n = n.type, i = q(n, i), st(e, t, n, i, a);
1193
1193
  return;
1194
- case pe:
1195
- if (a = i.children, n = n._context, i = i.value, o = n._currentValue2, n._currentValue2 = i, s = z, z = i = {
1194
+ case fe:
1195
+ if (a = i.children, n = n._context, i = i.value, o = n._currentValue2, n._currentValue2 = i, s = B, B = i = {
1196
1196
  parent: s,
1197
1197
  depth: s === null ? 0 : s.depth + 1,
1198
1198
  context: n,
1199
1199
  parentValue: o,
1200
1200
  value: i
1201
- }, t.context = i, J(e, t, a), e = z, e === null) throw Error(r(403));
1202
- i = e.parentValue, e.context._currentValue2 = i === ve ? e.context._defaultValue : i, e = z = e.parent, t.context = e;
1201
+ }, t.context = i, J(e, t, a), e = B, e === null) throw Error(r(403));
1202
+ i = e.parentValue, e.context._currentValue2 = i === ge ? e.context._defaultValue : i, e = B = e.parent, t.context = e;
1203
1203
  return;
1204
- case me:
1204
+ case pe:
1205
1205
  i = i.children, i = i(n._currentValue2), J(e, t, i);
1206
1206
  return;
1207
- case F:
1208
- a = n._init, n = a(n._payload), i = st(n, i), q(e, t, n, i, void 0);
1207
+ case I:
1208
+ a = n._init, n = a(n._payload), i = q(n, i), st(e, t, n, i, void 0);
1209
1209
  return;
1210
1210
  }
1211
1211
  throw Error(r(130, n == null ? n : typeof n, ""));
@@ -1214,11 +1214,11 @@ var F = {
1214
1214
  function J(e, t, n) {
1215
1215
  if (t.node = n, typeof n == "object" && n) {
1216
1216
  switch (n.$$typeof) {
1217
- case le:
1218
- q(e, t, n.type, n.props, n.ref);
1217
+ case ce:
1218
+ st(e, t, n.type, n.props, n.ref);
1219
1219
  return;
1220
- case ue: throw Error(r(257));
1221
- case F:
1220
+ case le: throw Error(r(257));
1221
+ case I:
1222
1222
  var i = n._init;
1223
1223
  n = i(n._payload), J(e, t, n);
1224
1224
  return;
@@ -1227,7 +1227,7 @@ var F = {
1227
1227
  ct(e, t, n);
1228
1228
  return;
1229
1229
  }
1230
- if (typeof n != "object" || !n ? i = null : (i = L && n[L] || n["@@iterator"], i = typeof i == "function" ? i : null), i &&= i.call(n)) {
1230
+ if (typeof n != "object" || !n ? i = null : (i = _e && n[_e] || n["@@iterator"], i = typeof i == "function" ? i : null), i &&= i.call(n)) {
1231
1231
  if (n = i.next(), !n.done) {
1232
1232
  var a = [];
1233
1233
  do
@@ -1244,7 +1244,7 @@ var F = {
1244
1244
  function ct(e, t, n) {
1245
1245
  for (var r = n.length, i = 0; i < r; i++) {
1246
1246
  var a = t.treeContext;
1247
- t.treeContext = ke(a, r, i);
1247
+ t.treeContext = Oe(a, r, i);
1248
1248
  try {
1249
1249
  lt(e, t, n[i]);
1250
1250
  } finally {
@@ -1257,16 +1257,16 @@ var F = {
1257
1257
  try {
1258
1258
  return J(e, t, n);
1259
1259
  } catch (c) {
1260
- if (We(), typeof c == "object" && c && typeof c.then == "function") {
1260
+ if (He(), typeof c == "object" && c && typeof c.then == "function") {
1261
1261
  n = c;
1262
- var o = t.blockedSegment, s = it(e, o.chunks.length, null, o.formatContext, o.lastPushedText, !0);
1263
- o.children.push(s), o.lastPushedText = !1, e = rt(e, t.node, t.blockedBoundary, s, t.abortSet, t.legacyContext, t.context, t.treeContext).ping, n.then(e, e), t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, Te(a);
1264
- } else throw t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, Te(a), c;
1262
+ var o = t.blockedSegment, s = nt(e, o.chunks.length, null, o.formatContext, o.lastPushedText, !0);
1263
+ o.children.push(s), o.lastPushedText = !1, e = tt(e, t.node, t.blockedBoundary, s, t.abortSet, t.legacyContext, t.context, t.treeContext).ping, n.then(e, e), t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, we(a);
1264
+ } else throw t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, we(a), c;
1265
1265
  }
1266
1266
  }
1267
1267
  function ut(e) {
1268
1268
  var t = e.blockedBoundary;
1269
- e = e.blockedSegment, e.status = 3, ft(this, t, e);
1269
+ e = e.blockedSegment, e.status = 3, X(this, t, e);
1270
1270
  }
1271
1271
  function dt(e, t, n) {
1272
1272
  var i = e.blockedBoundary;
@@ -1280,38 +1280,38 @@ var F = {
1280
1280
  n.id = t.id, n.parentFlushed = !0, n.status === 1 && Y(e, n);
1281
1281
  } else e.completedSegments.push(t);
1282
1282
  }
1283
- function ft(e, t, n) {
1283
+ function X(e, t, n) {
1284
1284
  if (t === null) {
1285
1285
  if (n.parentFlushed) {
1286
1286
  if (e.completedRootSegment !== null) throw Error(r(389));
1287
1287
  e.completedRootSegment = n;
1288
1288
  }
1289
- e.pendingRootTasks--, e.pendingRootTasks === 0 && (e.onShellError = tt, t = e.onShellReady, t());
1289
+ e.pendingRootTasks--, e.pendingRootTasks === 0 && (e.onShellError = $e, t = e.onShellReady, t());
1290
1290
  } else t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (n.parentFlushed && n.status === 1 && Y(t, n), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(ut, e), t.fallbackAbortableTasks.clear()) : n.parentFlushed && n.status === 1 && (Y(t, n), t.completedSegments.length === 1 && t.parentFlushed && e.partialBoundaries.push(t)));
1291
1291
  e.allPendingTasks--, e.allPendingTasks === 0 && (e = e.onAllReady, e());
1292
1292
  }
1293
- function pt(e) {
1293
+ function ft(e) {
1294
1294
  if (e.status !== 2) {
1295
- var t = z, n = $e.current;
1296
- $e.current = Ze;
1297
- var r = Qe;
1298
- Qe = e.responseState;
1295
+ var t = B, n = Ze.current;
1296
+ Ze.current = Ye;
1297
+ var r = Xe;
1298
+ Xe = e.responseState;
1299
1299
  try {
1300
1300
  var i = e.pingedTasks, a;
1301
1301
  for (a = 0; a < i.length; a++) {
1302
1302
  var o = i[a], s = e, c = o.blockedSegment;
1303
1303
  if (c.status === 0) {
1304
- Te(o.context);
1304
+ we(o.context);
1305
1305
  try {
1306
- J(s, o, o.node), s.responseState.generateStaticMarkup || c.lastPushedText && c.textEmbedded && c.chunks.push("<!-- -->"), o.abortSet.delete(o), c.status = 1, ft(s, o.blockedBoundary, c);
1306
+ J(s, o, o.node), s.responseState.generateStaticMarkup || c.lastPushedText && c.textEmbedded && c.chunks.push("<!-- -->"), o.abortSet.delete(o), c.status = 1, X(s, o.blockedBoundary, c);
1307
1307
  } catch (e) {
1308
- if (We(), typeof e == "object" && e && typeof e.then == "function") {
1308
+ if (He(), typeof e == "object" && e && typeof e.then == "function") {
1309
1309
  var l = o.ping;
1310
1310
  e.then(l, l);
1311
1311
  } else {
1312
1312
  o.abortSet.delete(o), c.status = 4;
1313
- var u = o.blockedBoundary, d = e, f = G(s, d);
1314
- if (u === null ? at(s, d) : (u.pendingTasks--, u.forceClientRender || (u.forceClientRender = !0, u.errorDigest = f, u.parentFlushed && s.clientRenderedBoundaries.push(u))), s.allPendingTasks--, s.allPendingTasks === 0) {
1313
+ var u = o.blockedBoundary, d = e, f = rt(s, d);
1314
+ if (u === null ? it(s, d) : (u.pendingTasks--, u.forceClientRender || (u.forceClientRender = !0, u.errorDigest = f, u.parentFlushed && s.clientRenderedBoundaries.push(u))), s.allPendingTasks--, s.allPendingTasks === 0) {
1315
1315
  var p = s.onAllReady;
1316
1316
  p();
1317
1317
  }
@@ -1321,13 +1321,13 @@ var F = {
1321
1321
  }
1322
1322
  i.splice(0, a), e.destination !== null && vt(e, e.destination);
1323
1323
  } catch (t) {
1324
- G(e, t), at(e, t);
1324
+ rt(e, t), it(e, t);
1325
1325
  } finally {
1326
- Qe = r, $e.current = n, n === Ze && Te(t);
1326
+ Xe = r, Ze.current = n, n === Ye && we(t);
1327
1327
  }
1328
1328
  }
1329
1329
  }
1330
- function mt(e, t, n) {
1330
+ function pt(e, t, n) {
1331
1331
  switch (n.parentFlushed = !0, n.status) {
1332
1332
  case 0:
1333
1333
  var i = n.id = e.nextSegmentId++;
@@ -1340,28 +1340,28 @@ var F = {
1340
1340
  n = n.children;
1341
1341
  for (var s = 0; s < n.length; s++) {
1342
1342
  for (a = n[s]; o < a.index; o++) t.push(i[o]);
1343
- a = X(e, t, a);
1343
+ a = mt(e, t, a);
1344
1344
  }
1345
1345
  for (; o < i.length - 1; o++) t.push(i[o]);
1346
1346
  return o < i.length && (a = t.push(i[o])), a;
1347
1347
  default: throw Error(r(390));
1348
1348
  }
1349
1349
  }
1350
- function X(e, t, n) {
1350
+ function mt(e, t, n) {
1351
1351
  var i = n.boundary;
1352
- if (i === null) return mt(e, t, n);
1353
- if (i.parentFlushed = !0, i.forceClientRender) return e.responseState.generateStaticMarkup || (i = i.errorDigest, t.push("<!--$!-->"), t.push("<template"), i && (t.push(" data-dgst=\""), i = g(i), t.push(i), t.push("\"")), t.push("></template>")), mt(e, t, n), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
1352
+ if (i === null) return pt(e, t, n);
1353
+ if (i.parentFlushed = !0, i.forceClientRender) return e.responseState.generateStaticMarkup || (i = i.errorDigest, t.push("<!--$!-->"), t.push("<template"), i && (t.push(" data-dgst=\""), i = g(i), t.push(i), t.push("\"")), t.push("></template>")), pt(e, t, n), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
1354
1354
  if (0 < i.pendingTasks) {
1355
1355
  i.rootSegmentID = e.nextSegmentId++, 0 < i.completedSegments.length && e.partialBoundaries.push(i);
1356
1356
  var a = e.responseState, o = a.nextSuspenseID++;
1357
- return a = a.boundaryPrefix + o.toString(16), i = i.id = a, O(t, e.responseState, i), mt(e, t, n), t.push("<!--/$-->");
1357
+ return a = a.boundaryPrefix + o.toString(16), i = i.id = a, O(t, e.responseState, i), pt(e, t, n), t.push("<!--/$-->");
1358
1358
  }
1359
- if (i.byteSize > e.progressiveChunkSize) return i.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(i), O(t, e.responseState, i.id), mt(e, t, n), t.push("<!--/$-->");
1359
+ if (i.byteSize > e.progressiveChunkSize) return i.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(i), O(t, e.responseState, i.id), pt(e, t, n), t.push("<!--/$-->");
1360
1360
  if (e.responseState.generateStaticMarkup || t.push("<!--$-->"), n = i.completedSegments, n.length !== 1) throw Error(r(391));
1361
- return X(e, t, n[0]), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
1361
+ return mt(e, t, n[0]), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
1362
1362
  }
1363
1363
  function ht(e, t, n) {
1364
- return ie(t, e.responseState, n.formatContext, n.id), X(e, t, n), ae(t, n.formatContext);
1364
+ return k(t, e.responseState, n.formatContext, n.id), mt(e, t, n), ie(t, n.formatContext);
1365
1365
  }
1366
1366
  function gt(e, t, n) {
1367
1367
  for (var i = n.completedSegments, a = 0; a < i.length; a++) _t(e, t, n, i[a]);
@@ -1381,7 +1381,7 @@ var F = {
1381
1381
  try {
1382
1382
  var n = e.completedRootSegment;
1383
1383
  if (n !== null && e.pendingRootTasks === 0) {
1384
- X(e, t, n), e.completedRootSegment = null;
1384
+ mt(e, t, n), e.completedRootSegment = null;
1385
1385
  var i = e.responseState.bootstrapChunks;
1386
1386
  for (n = 0; n < i.length - 1; n++) t.push(i[n]);
1387
1387
  n < i.length && t.push(i[n]);
@@ -1394,17 +1394,17 @@ var F = {
1394
1394
  if (i.push(c.startInlineScript), c.sentClientRenderFunction ? i.push("$RX(\"") : (c.sentClientRenderFunction = !0, i.push("function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data=\"$!\",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX(\"")), l === null) throw Error(r(395));
1395
1395
  if (i.push(l), i.push("\""), u || d || f) {
1396
1396
  i.push(",");
1397
- var p = k(u || "");
1397
+ var p = oe(u || "");
1398
1398
  i.push(p);
1399
1399
  }
1400
1400
  if (d || f) {
1401
1401
  i.push(",");
1402
- var m = k(d || "");
1402
+ var m = oe(d || "");
1403
1403
  i.push(m);
1404
1404
  }
1405
1405
  if (f) {
1406
1406
  i.push(",");
1407
- var h = k(f);
1407
+ var h = oe(f);
1408
1408
  i.push(h);
1409
1409
  }
1410
1410
  if (!i.push(")<\/script>")) {
@@ -1455,7 +1455,7 @@ var F = {
1455
1455
  return dt(n, e, t);
1456
1456
  }), n.clear(), e.destination !== null && vt(e, e.destination);
1457
1457
  } catch (t) {
1458
- G(e, t), at(e, t);
1458
+ rt(e, t), it(e, t);
1459
1459
  }
1460
1460
  }
1461
1461
  function bt() {}
@@ -1468,18 +1468,18 @@ var F = {
1468
1468
  a = !0, o = e;
1469
1469
  }
1470
1470
  }, l = !1;
1471
- if (e = nt(e, A(n, t ? t.identifierPrefix : void 0), {
1471
+ if (e = et(e, A(n, t ? t.identifierPrefix : void 0), {
1472
1472
  insertionMode: 1,
1473
1473
  selectedValue: null
1474
1474
  }, Infinity, bt, void 0, function() {
1475
1475
  l = !0;
1476
- }, void 0, void 0), pt(e), yt(e, i), e.status === 1) e.status = 2, c.destroy(e.fatalError);
1476
+ }, void 0, void 0), ft(e), yt(e, i), e.status === 1) e.status = 2, c.destroy(e.fatalError);
1477
1477
  else if (e.status !== 2 && e.destination === null) {
1478
1478
  e.destination = c;
1479
1479
  try {
1480
1480
  vt(e, c);
1481
1481
  } catch (t) {
1482
- G(e, t), at(e, t);
1482
+ rt(e, t), it(e, t);
1483
1483
  }
1484
1484
  }
1485
1485
  if (a) throw o;
@@ -1495,7 +1495,7 @@ var F = {
1495
1495
  }, e.renderToString = function(e, t) {
1496
1496
  return xt(e, t, !1, "The server used \"renderToString\" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to \"renderToReadableStream\" which supports Suspense on the server");
1497
1497
  }, e.version = "18.3.1";
1498
- })), _e = /* @__PURE__ */ n(((e) => {
1498
+ })), ge = /* @__PURE__ */ n(((e) => {
1499
1499
  var n = t("react");
1500
1500
  function r(e) {
1501
1501
  for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
@@ -1692,15 +1692,15 @@ var F = {
1692
1692
  }
1693
1693
  return e;
1694
1694
  }
1695
- var T = /([A-Z])/g, te = /^ms-/, ne = Array.isArray, re = d("<script>"), E = d("<\/script>"), D = d("<script src=\""), O = d("<script type=\"module\" src=\""), ie = d("\" async=\"\"><\/script>"), ae = /(<\/|<)(s)(cript)/gi;
1696
- function oe(e, t, n, r) {
1695
+ var te = /([A-Z])/g, T = /^ms-/, ne = Array.isArray, re = d("<script>"), E = d("<\/script>"), D = d("<script src=\""), O = d("<script type=\"module\" src=\""), k = d("\" async=\"\"><\/script>"), ie = /(<\/|<)(s)(cript)/gi;
1696
+ function ae(e, t, n, r) {
1697
1697
  return "" + t + (n === "s" ? "\\u0073" : "\\u0053") + r;
1698
1698
  }
1699
- function k(e, t, n, r, i) {
1699
+ function oe(e, t, n, r, i) {
1700
1700
  e = e === void 0 ? "" : e, t = t === void 0 ? re : d("<script nonce=\"" + w(t) + "\">");
1701
1701
  var a = [];
1702
- if (n !== void 0 && a.push(t, u(("" + n).replace(ae, oe)), E), r !== void 0) for (n = 0; n < r.length; n++) a.push(D, u(w(r[n])), ie);
1703
- if (i !== void 0) for (r = 0; r < i.length; r++) a.push(O, u(w(i[r])), ie);
1702
+ if (n !== void 0 && a.push(t, u(("" + n).replace(ie, ae)), E), r !== void 0) for (n = 0; n < r.length; n++) a.push(D, u(w(r[n])), k);
1703
+ if (i !== void 0) for (r = 0; r < i.length; r++) a.push(O, u(w(i[r])), k);
1704
1704
  return {
1705
1705
  bootstrapChunks: a,
1706
1706
  startInlineScript: t,
@@ -1723,7 +1723,7 @@ var F = {
1723
1723
  function se(e) {
1724
1724
  return A(e === "http://www.w3.org/2000/svg" ? 2 : e === "http://www.w3.org/1998/Math/MathML" ? 3 : 0, null);
1725
1725
  }
1726
- function ce(e, t, n) {
1726
+ function j(e, t, n) {
1727
1727
  switch (t) {
1728
1728
  case "select": return A(1, n.value == null ? n.defaultValue : n.value);
1729
1729
  case "svg": return A(2, null);
@@ -1738,12 +1738,12 @@ var F = {
1738
1738
  }
1739
1739
  return 4 <= e.insertionMode || e.insertionMode === 0 ? A(1, null) : e;
1740
1740
  }
1741
- var le = d("<!-- -->");
1742
- function ue(e, t, n, r) {
1743
- return t === "" ? r : (r && e.push(le), e.push(u(w(t))), !0);
1741
+ var ce = d("<!-- -->");
1742
+ function le(e, t, n, r) {
1743
+ return t === "" ? r : (r && e.push(ce), e.push(u(w(t))), !0);
1744
1744
  }
1745
- var j = /* @__PURE__ */ new Map(), de = d(" style=\""), fe = d(":"), pe = d(";");
1746
- function me(e, t, n) {
1745
+ var ue = /* @__PURE__ */ new Map(), M = d(" style=\""), de = d(":"), fe = d(";");
1746
+ function pe(e, t, n) {
1747
1747
  if (typeof n != "object") throw Error(r(62));
1748
1748
  for (var i in t = !0, n) if (p.call(n, i)) {
1749
1749
  var a = n[i];
@@ -1753,19 +1753,19 @@ var F = {
1753
1753
  a = u(w(("" + a).trim()));
1754
1754
  } else {
1755
1755
  o = i;
1756
- var s = j.get(o);
1757
- s === void 0 ? (s = d(w(o.replace(T, "-$1").toLowerCase().replace(te, "-ms-"))), j.set(o, s), o = s) : o = s, a = typeof a == "number" ? a === 0 || p.call(S, i) ? u("" + a) : u(a + "px") : u(w(("" + a).trim()));
1756
+ var s = ue.get(o);
1757
+ s === void 0 ? (s = d(w(o.replace(te, "-$1").toLowerCase().replace(T, "-ms-"))), ue.set(o, s), o = s) : o = s, a = typeof a == "number" ? a === 0 || p.call(S, i) ? u("" + a) : u(a + "px") : u(w(("" + a).trim()));
1758
1758
  }
1759
- t ? (t = !1, e.push(de, o, fe, a)) : e.push(pe, o, fe, a);
1759
+ t ? (t = !1, e.push(M, o, de, a)) : e.push(fe, o, de, a);
1760
1760
  }
1761
1761
  }
1762
- t || e.push(P);
1762
+ t || e.push(F);
1763
1763
  }
1764
- var M = d(" "), N = d("=\""), P = d("\""), he = d("=\"\"");
1765
- function F(e, t, n, r) {
1764
+ var N = d(" "), P = d("=\""), F = d("\""), me = d("=\"\"");
1765
+ function I(e, t, n, r) {
1766
1766
  switch (n) {
1767
1767
  case "style":
1768
- me(e, t, r);
1768
+ pe(e, t, r);
1769
1769
  return;
1770
1770
  case "defaultValue":
1771
1771
  case "defaultChecked":
@@ -1782,18 +1782,18 @@ var F = {
1782
1782
  }
1783
1783
  switch (n = u(t.attributeName), t.type) {
1784
1784
  case 3:
1785
- r && e.push(M, n, he);
1785
+ r && e.push(N, n, me);
1786
1786
  break;
1787
1787
  case 4:
1788
- !0 === r ? e.push(M, n, he) : !1 !== r && e.push(M, n, N, u(w(r)), P);
1788
+ !0 === r ? e.push(N, n, me) : !1 !== r && e.push(N, n, P, u(w(r)), F);
1789
1789
  break;
1790
1790
  case 5:
1791
- isNaN(r) || e.push(M, n, N, u(w(r)), P);
1791
+ isNaN(r) || e.push(N, n, P, u(w(r)), F);
1792
1792
  break;
1793
1793
  case 6:
1794
- !isNaN(r) && 1 <= r && e.push(M, n, N, u(w(r)), P);
1794
+ !isNaN(r) && 1 <= r && e.push(N, n, P, u(w(r)), F);
1795
1795
  break;
1796
- default: t.sanitizeURL && (r = "" + r), e.push(M, n, N, u(w(r)), P);
1796
+ default: t.sanitizeURL && (r = "" + r), e.push(N, n, P, u(w(r)), F);
1797
1797
  }
1798
1798
  } else if (_(n)) {
1799
1799
  switch (typeof r) {
@@ -1801,27 +1801,27 @@ var F = {
1801
1801
  case "symbol": return;
1802
1802
  case "boolean": if (t = n.toLowerCase().slice(0, 5), t !== "data-" && t !== "aria-") return;
1803
1803
  }
1804
- e.push(M, u(n), N, u(w(r)), P);
1804
+ e.push(N, u(n), P, u(w(r)), F);
1805
1805
  }
1806
1806
  }
1807
1807
  }
1808
- var I = d(">"), ge = d("/>");
1809
- function _e(e, t, n) {
1808
+ var L = d(">"), R = d("/>");
1809
+ function he(e, t, n) {
1810
1810
  if (t != null) {
1811
1811
  if (n != null) throw Error(r(60));
1812
1812
  if (typeof t != "object" || !("__html" in t)) throw Error(r(61));
1813
1813
  t = t.__html, t != null && e.push(u("" + t));
1814
1814
  }
1815
1815
  }
1816
- function ve(e) {
1816
+ function ge(e) {
1817
1817
  var t = "";
1818
1818
  return n.Children.forEach(e, function(e) {
1819
1819
  e != null && (t += e);
1820
1820
  }), t;
1821
1821
  }
1822
- var L = d(" selected=\"\"");
1823
- function ye(e, t, n, r) {
1824
- e.push(B(n));
1822
+ var _e = d(" selected=\"\"");
1823
+ function z(e, t, n, r) {
1824
+ e.push(V(n));
1825
1825
  var i = n = null, a;
1826
1826
  for (a in t) if (p.call(t, a)) {
1827
1827
  var o = t[a];
@@ -1832,25 +1832,25 @@ var F = {
1832
1832
  case "dangerouslySetInnerHTML":
1833
1833
  i = o;
1834
1834
  break;
1835
- default: F(e, r, a, o);
1835
+ default: I(e, r, a, o);
1836
1836
  }
1837
1837
  }
1838
- return e.push(I), _e(e, i, n), typeof n == "string" ? (e.push(u(w(n))), null) : n;
1838
+ return e.push(L), he(e, i, n), typeof n == "string" ? (e.push(u(w(n))), null) : n;
1839
1839
  }
1840
- var R = d("\n"), be = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, z = /* @__PURE__ */ new Map();
1841
- function B(e) {
1842
- var t = z.get(e);
1840
+ var ve = d("\n"), ye = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, B = /* @__PURE__ */ new Map();
1841
+ function V(e) {
1842
+ var t = B.get(e);
1843
1843
  if (t === void 0) {
1844
- if (!be.test(e)) throw Error(r(65, e));
1845
- t = d("<" + e), z.set(e, t);
1844
+ if (!ye.test(e)) throw Error(r(65, e));
1845
+ t = d("<" + e), B.set(e, t);
1846
1846
  }
1847
1847
  return t;
1848
1848
  }
1849
- var xe = d("<!DOCTYPE html>");
1850
- function Se(e, t, n, i, a) {
1849
+ var be = d("<!DOCTYPE html>");
1850
+ function xe(e, t, n, i, a) {
1851
1851
  switch (t) {
1852
1852
  case "select":
1853
- e.push(B("select"));
1853
+ e.push(V("select"));
1854
1854
  var o = null, s = null;
1855
1855
  for (f in n) if (p.call(n, f)) {
1856
1856
  var c = n[f];
@@ -1863,12 +1863,12 @@ var F = {
1863
1863
  break;
1864
1864
  case "defaultValue":
1865
1865
  case "value": break;
1866
- default: F(e, i, f, c);
1866
+ default: I(e, i, f, c);
1867
1867
  }
1868
1868
  }
1869
- return e.push(I), _e(e, s, o), o;
1869
+ return e.push(L), he(e, s, o), o;
1870
1870
  case "option":
1871
- s = a.selectedValue, e.push(B("option"));
1871
+ s = a.selectedValue, e.push(V("option"));
1872
1872
  var l = c = null, d = null, f = null;
1873
1873
  for (o in n) if (p.call(n, o)) {
1874
1874
  var m = n[o];
@@ -1883,19 +1883,19 @@ var F = {
1883
1883
  f = m;
1884
1884
  break;
1885
1885
  case "value": l = m;
1886
- default: F(e, i, o, m);
1886
+ default: I(e, i, o, m);
1887
1887
  }
1888
1888
  }
1889
- if (s != null) if (n = l === null ? ve(c) : "" + l, ne(s)) {
1889
+ if (s != null) if (n = l === null ? ge(c) : "" + l, ne(s)) {
1890
1890
  for (i = 0; i < s.length; i++) if ("" + s[i] === n) {
1891
- e.push(L);
1891
+ e.push(_e);
1892
1892
  break;
1893
1893
  }
1894
- } else "" + s === n && e.push(L);
1895
- else d && e.push(L);
1896
- return e.push(I), _e(e, f, c), c;
1894
+ } else "" + s === n && e.push(_e);
1895
+ else d && e.push(_e);
1896
+ return e.push(L), he(e, f, c), c;
1897
1897
  case "textarea":
1898
- for (c in e.push(B("textarea")), f = s = o = null, n) if (p.call(n, c) && (l = n[c], l != null)) switch (c) {
1898
+ for (c in e.push(V("textarea")), f = s = o = null, n) if (p.call(n, c) && (l = n[c], l != null)) switch (c) {
1899
1899
  case "children":
1900
1900
  f = l;
1901
1901
  break;
@@ -1906,16 +1906,16 @@ var F = {
1906
1906
  s = l;
1907
1907
  break;
1908
1908
  case "dangerouslySetInnerHTML": throw Error(r(91));
1909
- default: F(e, i, c, l);
1909
+ default: I(e, i, c, l);
1910
1910
  }
1911
- if (o === null && s !== null && (o = s), e.push(I), f != null) {
1911
+ if (o === null && s !== null && (o = s), e.push(L), f != null) {
1912
1912
  if (o != null) throw Error(r(92));
1913
1913
  if (ne(f) && 1 < f.length) throw Error(r(93));
1914
1914
  o = "" + f;
1915
1915
  }
1916
- return typeof o == "string" && o[0] === "\n" && e.push(R), o !== null && e.push(u(w("" + o))), null;
1916
+ return typeof o == "string" && o[0] === "\n" && e.push(ve), o !== null && e.push(u(w("" + o))), null;
1917
1917
  case "input":
1918
- for (s in e.push(B("input")), l = f = c = o = null, n) if (p.call(n, s) && (d = n[s], d != null)) switch (s) {
1918
+ for (s in e.push(V("input")), l = f = c = o = null, n) if (p.call(n, s) && (d = n[s], d != null)) switch (s) {
1919
1919
  case "children":
1920
1920
  case "dangerouslySetInnerHTML": throw Error(r(399, "input"));
1921
1921
  case "defaultChecked":
@@ -1930,42 +1930,42 @@ var F = {
1930
1930
  case "value":
1931
1931
  o = d;
1932
1932
  break;
1933
- default: F(e, i, s, d);
1933
+ default: I(e, i, s, d);
1934
1934
  }
1935
- return f === null ? l !== null && F(e, i, "checked", l) : F(e, i, "checked", f), o === null ? c !== null && F(e, i, "value", c) : F(e, i, "value", o), e.push(ge), null;
1935
+ return f === null ? l !== null && I(e, i, "checked", l) : I(e, i, "checked", f), o === null ? c !== null && I(e, i, "value", c) : I(e, i, "value", o), e.push(R), null;
1936
1936
  case "menuitem":
1937
- for (var h in e.push(B("menuitem")), n) if (p.call(n, h) && (o = n[h], o != null)) switch (h) {
1937
+ for (var h in e.push(V("menuitem")), n) if (p.call(n, h) && (o = n[h], o != null)) switch (h) {
1938
1938
  case "children":
1939
1939
  case "dangerouslySetInnerHTML": throw Error(r(400));
1940
- default: F(e, i, h, o);
1940
+ default: I(e, i, h, o);
1941
1941
  }
1942
- return e.push(I), null;
1942
+ return e.push(L), null;
1943
1943
  case "title":
1944
- for (m in e.push(B("title")), o = null, n) if (p.call(n, m) && (s = n[m], s != null)) switch (m) {
1944
+ for (m in e.push(V("title")), o = null, n) if (p.call(n, m) && (s = n[m], s != null)) switch (m) {
1945
1945
  case "children":
1946
1946
  o = s;
1947
1947
  break;
1948
1948
  case "dangerouslySetInnerHTML": throw Error(r(434));
1949
- default: F(e, i, m, s);
1949
+ default: I(e, i, m, s);
1950
1950
  }
1951
- return e.push(I), o;
1951
+ return e.push(L), o;
1952
1952
  case "listing":
1953
1953
  case "pre":
1954
- for (l in e.push(B(t)), s = o = null, n) if (p.call(n, l) && (c = n[l], c != null)) switch (l) {
1954
+ for (l in e.push(V(t)), s = o = null, n) if (p.call(n, l) && (c = n[l], c != null)) switch (l) {
1955
1955
  case "children":
1956
1956
  o = c;
1957
1957
  break;
1958
1958
  case "dangerouslySetInnerHTML":
1959
1959
  s = c;
1960
1960
  break;
1961
- default: F(e, i, l, c);
1961
+ default: I(e, i, l, c);
1962
1962
  }
1963
- if (e.push(I), s != null) {
1963
+ if (e.push(L), s != null) {
1964
1964
  if (o != null) throw Error(r(60));
1965
1965
  if (typeof s != "object" || !("__html" in s)) throw Error(r(61));
1966
- n = s.__html, n != null && (typeof n == "string" && 0 < n.length && n[0] === "\n" ? e.push(R, u(n)) : e.push(u("" + n)));
1966
+ n = s.__html, n != null && (typeof n == "string" && 0 < n.length && n[0] === "\n" ? e.push(ve, u(n)) : e.push(u("" + n)));
1967
1967
  }
1968
- return typeof o == "string" && o[0] === "\n" && e.push(R), o;
1968
+ return typeof o == "string" && o[0] === "\n" && e.push(ve), o;
1969
1969
  case "area":
1970
1970
  case "base":
1971
1971
  case "br":
@@ -1980,12 +1980,12 @@ var F = {
1980
1980
  case "source":
1981
1981
  case "track":
1982
1982
  case "wbr":
1983
- for (var g in e.push(B(t)), n) if (p.call(n, g) && (o = n[g], o != null)) switch (g) {
1983
+ for (var g in e.push(V(t)), n) if (p.call(n, g) && (o = n[g], o != null)) switch (g) {
1984
1984
  case "children":
1985
1985
  case "dangerouslySetInnerHTML": throw Error(r(399, t));
1986
- default: F(e, i, g, o);
1986
+ default: I(e, i, g, o);
1987
1987
  }
1988
- return e.push(ge), null;
1988
+ return e.push(R), null;
1989
1989
  case "annotation-xml":
1990
1990
  case "color-profile":
1991
1991
  case "font-face":
@@ -1993,11 +1993,11 @@ var F = {
1993
1993
  case "font-face-uri":
1994
1994
  case "font-face-format":
1995
1995
  case "font-face-name":
1996
- case "missing-glyph": return ye(e, n, t, i);
1997
- case "html": return a.insertionMode === 0 && e.push(xe), ye(e, n, t, i);
1996
+ case "missing-glyph": return z(e, n, t, i);
1997
+ case "html": return a.insertionMode === 0 && e.push(be), z(e, n, t, i);
1998
1998
  default:
1999
- if (t.indexOf("-") === -1 && typeof n.is != "string") return ye(e, n, t, i);
2000
- for (d in e.push(B(t)), s = o = null, n) if (p.call(n, d) && (c = n[d], c != null)) switch (d) {
1999
+ if (t.indexOf("-") === -1 && typeof n.is != "string") return z(e, n, t, i);
2000
+ for (d in e.push(V(t)), s = o = null, n) if (p.call(n, d) && (c = n[d], c != null)) switch (d) {
2001
2001
  case "children":
2002
2002
  o = c;
2003
2003
  break;
@@ -2005,50 +2005,50 @@ var F = {
2005
2005
  s = c;
2006
2006
  break;
2007
2007
  case "style":
2008
- me(e, i, c);
2008
+ pe(e, i, c);
2009
2009
  break;
2010
2010
  case "suppressContentEditableWarning":
2011
2011
  case "suppressHydrationWarning": break;
2012
- default: _(d) && typeof c != "function" && typeof c != "symbol" && e.push(M, u(d), N, u(w(c)), P);
2012
+ default: _(d) && typeof c != "function" && typeof c != "symbol" && e.push(N, u(d), P, u(w(c)), F);
2013
2013
  }
2014
- return e.push(I), _e(e, s, o), o;
2014
+ return e.push(L), he(e, s, o), o;
2015
2015
  }
2016
2016
  }
2017
- var Ce = d("</"), we = d(">"), Te = d("<template id=\""), Ee = d("\"></template>"), De = d("<!--$-->"), Oe = d("<!--$?--><template id=\""), ke = d("\"></template>"), Ae = d("<!--$!-->"), je = d("<!--/$-->"), Me = d("<template"), Ne = d("\""), Pe = d(" data-dgst=\"");
2017
+ var Se = d("</"), Ce = d(">"), we = d("<template id=\""), Te = d("\"></template>"), Ee = d("<!--$-->"), De = d("<!--$?--><template id=\""), Oe = d("\"></template>"), ke = d("<!--$!-->"), Ae = d("<!--/$-->"), je = d("<template"), Me = d("\""), Ne = d(" data-dgst=\"");
2018
2018
  d(" data-msg=\""), d(" data-stck=\"");
2019
- var Fe = d("></template>");
2020
- function V(e, t, n) {
2021
- if (o(e, Oe), n === null) throw Error(r(395));
2022
- return o(e, n), s(e, ke);
2019
+ var Pe = d("></template>");
2020
+ function H(e, t, n) {
2021
+ if (o(e, De), n === null) throw Error(r(395));
2022
+ return o(e, n), s(e, Oe);
2023
2023
  }
2024
- var Ie = d("<div hidden id=\""), Le = d("\">"), H = d("</div>"), Re = d("<svg aria-hidden=\"true\" style=\"display:none\" id=\""), ze = d("\">"), Be = d("</svg>"), U = d("<math aria-hidden=\"true\" style=\"display:none\" id=\""), Ve = d("\">"), W = d("</math>"), He = d("<table hidden id=\""), Ue = d("\">"), We = d("</table>"), Ge = d("<table hidden><tbody id=\""), Ke = d("\">"), qe = d("</tbody></table>"), Je = d("<table hidden><tr id=\""), Ye = d("\">"), Xe = d("</tr></table>"), Ze = d("<table hidden><colgroup id=\""), Qe = d("\">"), $e = d("</colgroup></table>");
2025
- function et(e, t, n, i) {
2024
+ var Fe = d("<div hidden id=\""), Ie = d("\">"), U = d("</div>"), W = d("<svg aria-hidden=\"true\" style=\"display:none\" id=\""), Le = d("\">"), Re = d("</svg>"), G = d("<math aria-hidden=\"true\" style=\"display:none\" id=\""), ze = d("\">"), K = d("</math>"), Be = d("<table hidden id=\""), Ve = d("\">"), He = d("</table>"), Ue = d("<table hidden><tbody id=\""), We = d("\">"), Ge = d("</tbody></table>"), Ke = d("<table hidden><tr id=\""), qe = d("\">"), Je = d("</tr></table>"), Ye = d("<table hidden><colgroup id=\""), Xe = d("\">"), Ze = d("</colgroup></table>");
2025
+ function Qe(e, t, n, i) {
2026
2026
  switch (n.insertionMode) {
2027
2027
  case 0:
2028
- case 1: return o(e, Ie), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Le);
2029
- case 2: return o(e, Re), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, ze);
2030
- case 3: return o(e, U), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Ve);
2031
- case 4: return o(e, He), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Ue);
2032
- case 5: return o(e, Ge), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Ke);
2033
- case 6: return o(e, Je), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Ye);
2034
- case 7: return o(e, Ze), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Qe);
2028
+ case 1: return o(e, Fe), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Ie);
2029
+ case 2: return o(e, W), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Le);
2030
+ case 3: return o(e, G), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, ze);
2031
+ case 4: return o(e, Be), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Ve);
2032
+ case 5: return o(e, Ue), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, We);
2033
+ case 6: return o(e, Ke), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, qe);
2034
+ case 7: return o(e, Ye), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Xe);
2035
2035
  default: throw Error(r(397));
2036
2036
  }
2037
2037
  }
2038
- function tt(e, t) {
2038
+ function $e(e, t) {
2039
2039
  switch (t.insertionMode) {
2040
2040
  case 0:
2041
- case 1: return s(e, H);
2042
- case 2: return s(e, Be);
2043
- case 3: return s(e, W);
2044
- case 4: return s(e, We);
2045
- case 5: return s(e, qe);
2046
- case 6: return s(e, Xe);
2047
- case 7: return s(e, $e);
2041
+ case 1: return s(e, U);
2042
+ case 2: return s(e, Re);
2043
+ case 3: return s(e, K);
2044
+ case 4: return s(e, He);
2045
+ case 5: return s(e, Ge);
2046
+ case 6: return s(e, Je);
2047
+ case 7: return s(e, Ze);
2048
2048
  default: throw Error(r(397));
2049
2049
  }
2050
2050
  }
2051
- var nt = d("function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS(\""), rt = d("$RS(\""), it = d("\",\""), G = d("\")<\/script>"), at = d("function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if(\"/$\"===d)if(0===e)break;else e--;else\"$\"!==d&&\"$?\"!==d&&\"$!\"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data=\"$\";a._reactRetry&&a._reactRetry()}};$RC(\""), ot = d("$RC(\""), K = d("\",\""), st = d("\")<\/script>"), q = d("function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data=\"$!\",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX(\""), J = d("$RX(\""), ct = d("\""), lt = d(")<\/script>"), ut = d(","), dt = /[<\u2028\u2029]/g;
2051
+ var et = d("function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS(\""), tt = d("$RS(\""), nt = d("\",\""), rt = d("\")<\/script>"), it = d("function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if(\"/$\"===d)if(0===e)break;else e--;else\"$\"!==d&&\"$?\"!==d&&\"$!\"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data=\"$\";a._reactRetry&&a._reactRetry()}};$RC(\""), at = d("$RC(\""), ot = d("\",\""), q = d("\")<\/script>"), st = d("function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data=\"$!\",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX(\""), J = d("$RX(\""), ct = d("\""), lt = d(")<\/script>"), ut = d(","), dt = /[<\u2028\u2029]/g;
2052
2052
  function Y(e) {
2053
2053
  return JSON.stringify(e).replace(dt, function(e) {
2054
2054
  switch (e) {
@@ -2059,14 +2059,14 @@ var F = {
2059
2059
  }
2060
2060
  });
2061
2061
  }
2062
- var ft = Object.assign, pt = Symbol.for("react.element"), mt = Symbol.for("react.portal"), X = Symbol.for("react.fragment"), ht = Symbol.for("react.strict_mode"), gt = Symbol.for("react.profiler"), _t = Symbol.for("react.provider"), vt = Symbol.for("react.context"), yt = Symbol.for("react.forward_ref"), bt = Symbol.for("react.suspense"), xt = Symbol.for("react.suspense_list"), St = Symbol.for("react.memo"), Ct = Symbol.for("react.lazy"), wt = Symbol.for("react.scope"), Tt = Symbol.for("react.debug_trace_mode"), Et = Symbol.for("react.legacy_hidden"), Dt = Symbol.for("react.default_value"), Ot = Symbol.iterator;
2062
+ var X = Object.assign, ft = Symbol.for("react.element"), pt = Symbol.for("react.portal"), mt = Symbol.for("react.fragment"), ht = Symbol.for("react.strict_mode"), gt = Symbol.for("react.profiler"), _t = Symbol.for("react.provider"), vt = Symbol.for("react.context"), yt = Symbol.for("react.forward_ref"), bt = Symbol.for("react.suspense"), xt = Symbol.for("react.suspense_list"), St = Symbol.for("react.memo"), Ct = Symbol.for("react.lazy"), wt = Symbol.for("react.scope"), Tt = Symbol.for("react.debug_trace_mode"), Et = Symbol.for("react.legacy_hidden"), Dt = Symbol.for("react.default_value"), Ot = Symbol.iterator;
2063
2063
  function kt(e) {
2064
2064
  if (e == null) return null;
2065
2065
  if (typeof e == "function") return e.displayName || e.name || null;
2066
2066
  if (typeof e == "string") return e;
2067
2067
  switch (e) {
2068
- case X: return "Fragment";
2069
- case mt: return "Portal";
2068
+ case mt: return "Fragment";
2069
+ case pt: return "Portal";
2070
2070
  case gt: return "Profiler";
2071
2071
  case ht: return "StrictMode";
2072
2072
  case bt: return "Suspense";
@@ -2149,11 +2149,11 @@ var F = {
2149
2149
  };
2150
2150
  e._reactInternals = a;
2151
2151
  var o = t.contextType;
2152
- if (e.context = typeof o == "object" && o ? o._currentValue : r, o = t.getDerivedStateFromProps, typeof o == "function" && (o = o(n, i), i = o == null ? i : ft({}, i, o), e.state = i), typeof t.getDerivedStateFromProps != "function" && typeof e.getSnapshotBeforeUpdate != "function" && (typeof e.UNSAFE_componentWillMount == "function" || typeof e.componentWillMount == "function")) if (t = e.state, typeof e.componentWillMount == "function" && e.componentWillMount(), typeof e.UNSAFE_componentWillMount == "function" && e.UNSAFE_componentWillMount(), t !== e.state && zt.enqueueReplaceState(e, e.state, null), a.queue !== null && 0 < a.queue.length) if (t = a.queue, o = a.replace, a.queue = null, a.replace = !1, o && t.length === 1) e.state = t[0];
2152
+ if (e.context = typeof o == "object" && o ? o._currentValue : r, o = t.getDerivedStateFromProps, typeof o == "function" && (o = o(n, i), i = o == null ? i : X({}, i, o), e.state = i), typeof t.getDerivedStateFromProps != "function" && typeof e.getSnapshotBeforeUpdate != "function" && (typeof e.UNSAFE_componentWillMount == "function" || typeof e.componentWillMount == "function")) if (t = e.state, typeof e.componentWillMount == "function" && e.componentWillMount(), typeof e.UNSAFE_componentWillMount == "function" && e.UNSAFE_componentWillMount(), t !== e.state && zt.enqueueReplaceState(e, e.state, null), a.queue !== null && 0 < a.queue.length) if (t = a.queue, o = a.replace, a.queue = null, a.replace = !1, o && t.length === 1) e.state = t[0];
2153
2153
  else {
2154
2154
  for (a = o ? t[0] : e.state, i = !0, o = +!!o; o < t.length; o++) {
2155
2155
  var s = t[o];
2156
- s = typeof s == "function" ? s.call(e, a, n, r) : s, s != null && (i ? (i = !1, a = ft({}, a, s)) : ft(a, s));
2156
+ s = typeof s == "function" ? s.call(e, a, n, r) : s, s != null && (i ? (i = !1, a = X({}, a, s)) : X(a, s));
2157
2157
  }
2158
2158
  e.state = a;
2159
2159
  }
@@ -2386,14 +2386,14 @@ var F = {
2386
2386
  if (typeof n.getChildContext != "function") i = s;
2387
2387
  else {
2388
2388
  for (var c in n = n.getChildContext(), n) if (!(c in o)) throw Error(r(108, kt(i) || "Unknown", c));
2389
- i = ft({}, s, n);
2389
+ i = X({}, s, n);
2390
2390
  }
2391
2391
  t.legacyContext = i, $(e, t, a), t.legacyContext = s;
2392
2392
  } else $(e, t, a);
2393
2393
  }
2394
2394
  function Tn(e, t) {
2395
2395
  if (e && e.defaultProps) {
2396
- for (var n in t = ft({}, t), e = e.defaultProps, e) t[n] === void 0 && (t[n] = e[n]);
2396
+ for (var n in t = X({}, t), e = e.defaultProps, e) t[n] === void 0 && (t[n] = e[n]);
2397
2397
  return t;
2398
2398
  }
2399
2399
  return t;
@@ -2417,7 +2417,7 @@ var F = {
2417
2417
  } else $(e, t, a);
2418
2418
  }
2419
2419
  else if (typeof n == "string") {
2420
- switch (a = t.blockedSegment, o = Se(a.chunks, n, i, e.responseState, a.formatContext), a.lastPushedText = !1, s = a.formatContext, a.formatContext = ce(s, n, i), On(e, t, o), a.formatContext = s, n) {
2420
+ switch (a = t.blockedSegment, o = xe(a.chunks, n, i, e.responseState, a.formatContext), a.lastPushedText = !1, s = a.formatContext, a.formatContext = j(s, n, i), On(e, t, o), a.formatContext = s, n) {
2421
2421
  case "area":
2422
2422
  case "base":
2423
2423
  case "br":
@@ -2433,7 +2433,7 @@ var F = {
2433
2433
  case "source":
2434
2434
  case "track":
2435
2435
  case "wbr": break;
2436
- default: a.chunks.push(Ce, u(n), we);
2436
+ default: a.chunks.push(Se, u(n), Ce);
2437
2437
  }
2438
2438
  a.lastPushedText = !1;
2439
2439
  } else {
@@ -2442,7 +2442,7 @@ var F = {
2442
2442
  case Tt:
2443
2443
  case ht:
2444
2444
  case gt:
2445
- case X:
2445
+ case mt:
2446
2446
  $(e, t, i.children);
2447
2447
  return;
2448
2448
  case xt:
@@ -2467,7 +2467,7 @@ var F = {
2467
2467
  var d = bn(e, 0, null, a.formatContext, !1, !1);
2468
2468
  d.parentFlushed = !0, t.blockedBoundary = c, t.blockedSegment = d;
2469
2469
  try {
2470
- if (On(e, t, i), d.lastPushedText && d.textEmbedded && d.chunks.push(le), d.status = 1, jn(c, d), c.pendingTasks === 0) break a;
2470
+ if (On(e, t, i), d.lastPushedText && d.textEmbedded && d.chunks.push(ce), d.status = 1, jn(c, d), c.pendingTasks === 0) break a;
2471
2471
  } catch (t) {
2472
2472
  d.status = 4, c.forceClientRender = !0, c.errorDigest = xn(e, t);
2473
2473
  } finally {
@@ -2514,10 +2514,10 @@ var F = {
2514
2514
  function $(e, t, n) {
2515
2515
  if (t.node = n, typeof n == "object" && n) {
2516
2516
  switch (n.$$typeof) {
2517
- case pt:
2517
+ case ft:
2518
2518
  En(e, t, n.type, n.props, n.ref);
2519
2519
  return;
2520
- case mt: throw Error(r(257));
2520
+ case pt: throw Error(r(257));
2521
2521
  case Ct:
2522
2522
  var i = n._init;
2523
2523
  n = i(n._payload), $(e, t, n);
@@ -2539,7 +2539,7 @@ var F = {
2539
2539
  }
2540
2540
  throw e = Object.prototype.toString.call(n), Error(r(31, e === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : e));
2541
2541
  }
2542
- typeof n == "string" ? (i = t.blockedSegment, i.lastPushedText = ue(t.blockedSegment.chunks, n, e.responseState, i.lastPushedText)) : typeof n == "number" && (i = t.blockedSegment, i.lastPushedText = ue(t.blockedSegment.chunks, "" + n, e.responseState, i.lastPushedText));
2542
+ typeof n == "string" ? (i = t.blockedSegment, i.lastPushedText = le(t.blockedSegment.chunks, n, e.responseState, i.lastPushedText)) : typeof n == "number" && (i = t.blockedSegment, i.lastPushedText = le(t.blockedSegment.chunks, "" + n, e.responseState, i.lastPushedText));
2543
2543
  }
2544
2544
  function Dn(e, t, n) {
2545
2545
  for (var r = n.length, i = 0; i < r; i++) {
@@ -2603,7 +2603,7 @@ var F = {
2603
2603
  if (c.status === 0) {
2604
2604
  Rt(o.context);
2605
2605
  try {
2606
- $(s, o, o.node), c.lastPushedText && c.textEmbedded && c.chunks.push(le), o.abortSet.delete(o), c.status = 1, Mn(s, o.blockedBoundary, c);
2606
+ $(s, o, o.node), c.lastPushedText && c.textEmbedded && c.chunks.push(ce), o.abortSet.delete(o), c.status = 1, Mn(s, o.blockedBoundary, c);
2607
2607
  } catch (e) {
2608
2608
  if (on(), typeof e == "object" && e && typeof e.then == "function") {
2609
2609
  var l = o.ping;
@@ -2631,7 +2631,7 @@ var F = {
2631
2631
  switch (n.parentFlushed = !0, n.status) {
2632
2632
  case 0:
2633
2633
  var i = n.id = e.nextSegmentId++;
2634
- return n.lastPushedText = !1, n.textEmbedded = !1, e = e.responseState, o(t, Te), o(t, e.placeholderPrefix), e = u(i.toString(16)), o(t, e), s(t, Ee);
2634
+ return n.lastPushedText = !1, n.textEmbedded = !1, e = e.responseState, o(t, we), o(t, e.placeholderPrefix), e = u(i.toString(16)), o(t, e), s(t, Te);
2635
2635
  case 1:
2636
2636
  n.status = 2;
2637
2637
  var a = !0;
@@ -2650,25 +2650,25 @@ var F = {
2650
2650
  function Fn(e, t, n) {
2651
2651
  var i = n.boundary;
2652
2652
  if (i === null) return Pn(e, t, n);
2653
- if (i.parentFlushed = !0, i.forceClientRender) i = i.errorDigest, s(t, Ae), o(t, Me), i && (o(t, Pe), o(t, u(w(i))), o(t, Ne)), s(t, Fe), Pn(e, t, n);
2653
+ if (i.parentFlushed = !0, i.forceClientRender) i = i.errorDigest, s(t, ke), o(t, je), i && (o(t, Ne), o(t, u(w(i))), o(t, Me)), s(t, Pe), Pn(e, t, n);
2654
2654
  else if (0 < i.pendingTasks) {
2655
2655
  i.rootSegmentID = e.nextSegmentId++, 0 < i.completedSegments.length && e.partialBoundaries.push(i);
2656
2656
  var a = e.responseState, c = a.nextSuspenseID++;
2657
- a = d(a.boundaryPrefix + c.toString(16)), i = i.id = a, V(t, e.responseState, i), Pn(e, t, n);
2658
- } else if (i.byteSize > e.progressiveChunkSize) i.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(i), V(t, e.responseState, i.id), Pn(e, t, n);
2657
+ a = d(a.boundaryPrefix + c.toString(16)), i = i.id = a, H(t, e.responseState, i), Pn(e, t, n);
2658
+ } else if (i.byteSize > e.progressiveChunkSize) i.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(i), H(t, e.responseState, i.id), Pn(e, t, n);
2659
2659
  else {
2660
- if (s(t, De), n = i.completedSegments, n.length !== 1) throw Error(r(391));
2660
+ if (s(t, Ee), n = i.completedSegments, n.length !== 1) throw Error(r(391));
2661
2661
  Fn(e, t, n[0]);
2662
2662
  }
2663
- return s(t, je);
2663
+ return s(t, Ae);
2664
2664
  }
2665
2665
  function In(e, t, n) {
2666
- return et(t, e.responseState, n.formatContext, n.id), Fn(e, t, n), tt(t, n.formatContext);
2666
+ return Qe(t, e.responseState, n.formatContext, n.id), Fn(e, t, n), $e(t, n.formatContext);
2667
2667
  }
2668
2668
  function Ln(e, t, n) {
2669
2669
  for (var i = n.completedSegments, a = 0; a < i.length; a++) Rn(e, t, n, i[a]);
2670
- if (i.length = 0, e = e.responseState, i = n.id, n = n.rootSegmentID, o(t, e.startInlineScript), e.sentCompleteBoundaryFunction ? o(t, ot) : (e.sentCompleteBoundaryFunction = !0, o(t, at)), i === null) throw Error(r(395));
2671
- return n = u(n.toString(16)), o(t, i), o(t, K), o(t, e.segmentPrefix), o(t, n), s(t, st);
2670
+ if (i.length = 0, e = e.responseState, i = n.id, n = n.rootSegmentID, o(t, e.startInlineScript), e.sentCompleteBoundaryFunction ? o(t, at) : (e.sentCompleteBoundaryFunction = !0, o(t, it)), i === null) throw Error(r(395));
2671
+ return n = u(n.toString(16)), o(t, i), o(t, ot), o(t, e.segmentPrefix), o(t, n), s(t, q);
2672
2672
  }
2673
2673
  function Rn(e, t, n, i) {
2674
2674
  if (i.status === 2) return !0;
@@ -2677,7 +2677,7 @@ var F = {
2677
2677
  if ((i.id = n.rootSegmentID) === -1) throw Error(r(392));
2678
2678
  return In(e, t, i);
2679
2679
  }
2680
- return In(e, t, i), e = e.responseState, o(t, e.startInlineScript), e.sentCompleteSegmentFunction ? o(t, rt) : (e.sentCompleteSegmentFunction = !0, o(t, nt)), o(t, e.segmentPrefix), a = u(a.toString(16)), o(t, a), o(t, it), o(t, e.placeholderPrefix), o(t, a), s(t, G);
2680
+ return In(e, t, i), e = e.responseState, o(t, e.startInlineScript), e.sentCompleteSegmentFunction ? o(t, tt) : (e.sentCompleteSegmentFunction = !0, o(t, et)), o(t, e.segmentPrefix), a = u(a.toString(16)), o(t, a), o(t, nt), o(t, e.placeholderPrefix), o(t, a), s(t, rt);
2681
2681
  }
2682
2682
  function zn(e, t) {
2683
2683
  i = /* @__PURE__ */ new Uint8Array(512), a = 0;
@@ -2694,7 +2694,7 @@ var F = {
2694
2694
  var p = d[f];
2695
2695
  l = t;
2696
2696
  var m = e.responseState, h = p.id, g = p.errorDigest, _ = p.errorMessage, v = p.errorComponentStack;
2697
- if (o(l, m.startInlineScript), m.sentClientRenderFunction ? o(l, J) : (m.sentClientRenderFunction = !0, o(l, q)), h === null) throw Error(r(395));
2697
+ if (o(l, m.startInlineScript), m.sentClientRenderFunction ? o(l, J) : (m.sentClientRenderFunction = !0, o(l, st)), h === null) throw Error(r(395));
2698
2698
  if (o(l, h), o(l, ct), (g || _ || v) && (o(l, ut), o(l, u(Y(g || "")))), (_ || v) && (o(l, ut), o(l, u(Y(_ || "")))), v && (o(l, ut), o(l, u(Y(v)))), !s(l, lt)) {
2699
2699
  e.destination = null, f++, d.splice(0, f);
2700
2700
  return;
@@ -2750,7 +2750,7 @@ var F = {
2750
2750
  return new Promise(function(n, r) {
2751
2751
  var i, a, o = new Promise(function(e, t) {
2752
2752
  a = e, i = t;
2753
- }), s = vn(e, k(t ? t.identifierPrefix : void 0, t ? t.nonce : void 0, t ? t.bootstrapScriptContent : void 0, t ? t.bootstrapScripts : void 0, t ? t.bootstrapModules : void 0), se(t ? t.namespaceURI : void 0), t ? t.progressiveChunkSize : void 0, t ? t.onError : void 0, a, function() {
2753
+ }), s = vn(e, oe(t ? t.identifierPrefix : void 0, t ? t.nonce : void 0, t ? t.bootstrapScriptContent : void 0, t ? t.bootstrapScripts : void 0, t ? t.bootstrapModules : void 0), se(t ? t.namespaceURI : void 0), t ? t.progressiveChunkSize : void 0, t ? t.onError : void 0, a, function() {
2754
2754
  var e = new ReadableStream({
2755
2755
  type: "bytes",
2756
2756
  pull: function(e) {
@@ -2781,15 +2781,15 @@ var F = {
2781
2781
  Nn(s);
2782
2782
  });
2783
2783
  }, e.version = "18.3.1";
2784
- })), ve = /* @__PURE__ */ n(((e) => {
2785
- var t = ge(), n = _e();
2784
+ })), _e = /* @__PURE__ */ n(((e) => {
2785
+ var t = he(), n = ge();
2786
2786
  e.version = t.version, e.renderToString = t.renderToString, e.renderToStaticMarkup = t.renderToStaticMarkup, e.renderToNodeStream = t.renderToNodeStream, e.renderToStaticNodeStream = t.renderToStaticNodeStream, e.renderToReadableStream = n.renderToReadableStream;
2787
- })), L = /* @__PURE__ */ e(ee(), 1), ye = ve(), { translator: R } = r, be = (0, L.default)("@pie-lib:text-select:token-select"), z = x("div")(() => ({
2787
+ })), z = /* @__PURE__ */ e(C(), 1), ve = _e(), { translator: ye } = i, B = (0, z.default)("@pie-lib:text-select:token-select"), V = f("div")(() => ({
2788
2788
  backgroundColor: "none",
2789
2789
  whiteSpace: "pre",
2790
- ...g(),
2790
+ ..._(),
2791
2791
  "& p": { whiteSpace: "break-spaces" }
2792
- })), B = x("div")(() => ({
2792
+ })), be = f("div")(() => ({
2793
2793
  display: "none",
2794
2794
  position: "absolute",
2795
2795
  visibility: "hidden",
@@ -2800,14 +2800,14 @@ var F = {
2800
2800
  missing: "selectText.correctAnswerNotSelected"
2801
2801
  }, we = (e) => e.correct === void 0 ? e.isMissing ? "missing" : void 0 : e.correct ? "correct" : "incorrect", Te = (e) => e.text === "\n\n" || e.text === "\n", Ee = "[data-indexkey][tabindex]", De = (e) => e ? Number(e.dataset.indexkey) : void 0, Oe = class extends T.Component {
2802
2802
  static propTypes = {
2803
- tokens: O.default.arrayOf(O.default.shape(F)).isRequired,
2804
- className: O.default.string,
2805
- onChange: O.default.func.isRequired,
2806
- disabled: O.default.bool,
2807
- highlightChoices: O.default.bool,
2808
- animationsDisabled: O.default.bool,
2809
- maxNoOfSelections: O.default.number,
2810
- language: O.default.string
2803
+ tokens: k.default.arrayOf(k.default.shape(L)).isRequired,
2804
+ className: k.default.string,
2805
+ onChange: k.default.func.isRequired,
2806
+ disabled: k.default.bool,
2807
+ highlightChoices: k.default.bool,
2808
+ animationsDisabled: k.default.bool,
2809
+ maxNoOfSelections: k.default.number,
2810
+ language: k.default.string
2811
2811
  };
2812
2812
  static defaultProps = {
2813
2813
  highlightChoices: !1,
@@ -2815,25 +2815,25 @@ var F = {
2815
2815
  tokens: []
2816
2816
  };
2817
2817
  containerRef = T.createRef();
2818
- idPrefix = a("text-select");
2818
+ idPrefix = o("text-select");
2819
2819
  activeIndex = void 0;
2820
2820
  keyboardToggle = !1;
2821
2821
  operable = () => !this.props.disabled && !this.props.animationsDisabled;
2822
2822
  selectedCount = () => this.props.tokens.filter((e) => e.selected).length;
2823
2823
  canSelectMore = (e) => {
2824
2824
  let { maxNoOfSelections: t } = this.props;
2825
- return t === 1 ? !0 : (be("[canSelectMore] maxNoOfSelections: ", t, "selectedCount: ", e), t <= 0 || isFinite(t) && e < t);
2825
+ return t === 1 ? !0 : (B("[canSelectMore] maxNoOfSelections: ", t, "selectedCount: ", e), t <= 0 || isFinite(t) && e < t);
2826
2826
  };
2827
2827
  toggleToken = (e) => {
2828
- let t = (e.target.closest?.(`.${I.rootClassName}`))?.dataset?.indexkey;
2828
+ let t = (e.target.closest?.(`.${R.rootClassName}`))?.dataset?.indexkey;
2829
2829
  t !== void 0 && (this.keyboardToggle = !1, this.toggleAt(Number(t)));
2830
2830
  };
2831
2831
  toggleAt = (e) => {
2832
- let { tokens: t, animationsDisabled: n } = this.props, r = w(t), i = r[e];
2832
+ let { tokens: t, animationsDisabled: n } = this.props, r = te(t), i = r[e];
2833
2833
  if (this.operable() && i && i.correct === void 0 && !n && !i.isMissing) {
2834
2834
  let { onChange: n, maxNoOfSelections: a } = this.props, o = !i.selected;
2835
2835
  if (a === 1 && this.selectedCount() === 1) {
2836
- let a = (t || []).filter((e) => e.selected), s = r.map((e) => C(e, a[0]) ? {
2836
+ let a = (t || []).filter((e) => e.selected), s = r.map((e) => w(e, a[0]) ? {
2837
2837
  ...e,
2838
2838
  selected: !1
2839
2839
  } : {
@@ -2846,7 +2846,7 @@ var F = {
2846
2846
  s.splice(e, 1, c), n(s);
2847
2847
  } else {
2848
2848
  if (o && a > 0 && this.selectedCount() >= a) {
2849
- be("skip toggle max reached");
2849
+ B("skip toggle max reached");
2850
2850
  return;
2851
2851
  }
2852
2852
  let t = {
@@ -2907,10 +2907,10 @@ var F = {
2907
2907
  }
2908
2908
  groupName = () => {
2909
2909
  let { maxNoOfSelections: e, language: t } = this.props;
2910
- return e > 0 ? R.t("selectText.textGroupWithLimit", {
2910
+ return e > 0 ? ye.t("selectText.textGroupWithLimit", {
2911
2911
  lng: t,
2912
2912
  max: e
2913
- }) : R.t("selectText.textGroup", { lng: t });
2913
+ }) : ye.t("selectText.textGroup", { lng: t });
2914
2914
  };
2915
2915
  generateTokensInHtml = () => {
2916
2916
  let { tokens: e, disabled: t, highlightChoices: n, animationsDisabled: r, language: i } = this.props, a = this.selectedCount(), o = this.operable(), s = {}, c = (e) => o && !Te(e) && (e.selected || e.selectable), l = (e || []).filter(c).length, u = 0, d = (e, t) => {
@@ -2924,16 +2924,16 @@ var F = {
2924
2924
  if (o.text === "\n") return `${e}<br>`;
2925
2925
  if (c(o) || f && !t || p || o.selected || o.isMissing || r && o.predefined) {
2926
2926
  let a = c(o), p;
2927
- if (a) u += 1, p = d(`position-${u}`, R.t("selectText.tokenPosition", {
2927
+ if (a) u += 1, p = d(`position-${u}`, ye.t("selectText.tokenPosition", {
2928
2928
  lng: i,
2929
2929
  index: u,
2930
2930
  total: l
2931
2931
  }));
2932
2932
  else {
2933
2933
  let e = we(o);
2934
- e && (p = d(e, R.t(Ce[e], { lng: i })));
2934
+ e && (p = d(e, ye.t(Ce[e], { lng: i })));
2935
2935
  }
2936
- return e + (0, ye.renderToString)(/* @__PURE__ */ E(I, {
2936
+ return e + (0, ve.renderToString)(/* @__PURE__ */ D(R, {
2937
2937
  disabled: t,
2938
2938
  index: s,
2939
2939
  ...o,
@@ -2952,11 +2952,11 @@ var F = {
2952
2952
  };
2953
2953
  render() {
2954
2954
  let { className: e } = this.props, { html: t, descriptions: n } = this.generateTokensInHtml();
2955
- return /* @__PURE__ */ D(re, { children: [
2956
- /* @__PURE__ */ D(B, {
2955
+ return /* @__PURE__ */ O(E, { children: [
2956
+ /* @__PURE__ */ O(be, {
2957
2957
  "aria-hidden": "true",
2958
2958
  children: [
2959
- /* @__PURE__ */ E(I, {
2959
+ /* @__PURE__ */ D(R, {
2960
2960
  text: " ",
2961
2961
  index: -1,
2962
2962
  selectable: !0,
@@ -2964,7 +2964,7 @@ var F = {
2964
2964
  highlight: !1,
2965
2965
  animationsDisabled: !1
2966
2966
  }),
2967
- /* @__PURE__ */ E(I, {
2967
+ /* @__PURE__ */ D(R, {
2968
2968
  text: " ",
2969
2969
  index: -1,
2970
2970
  selectable: !0,
@@ -2972,7 +2972,7 @@ var F = {
2972
2972
  highlight: !0,
2973
2973
  animationsDisabled: !1
2974
2974
  }),
2975
- /* @__PURE__ */ E(I, {
2975
+ /* @__PURE__ */ D(R, {
2976
2976
  text: " ",
2977
2977
  index: -1,
2978
2978
  selectable: !0,
@@ -2981,7 +2981,7 @@ var F = {
2981
2981
  highlight: !1,
2982
2982
  animationsDisabled: !1
2983
2983
  }),
2984
- /* @__PURE__ */ E(I, {
2984
+ /* @__PURE__ */ D(R, {
2985
2985
  text: " ",
2986
2986
  index: -1,
2987
2987
  selectable: !0,
@@ -2990,7 +2990,7 @@ var F = {
2990
2990
  highlight: !1,
2991
2991
  animationsDisabled: !1
2992
2992
  }),
2993
- /* @__PURE__ */ E(I, {
2993
+ /* @__PURE__ */ D(R, {
2994
2994
  text: " ",
2995
2995
  index: -1,
2996
2996
  selectable: !0,
@@ -2999,7 +2999,7 @@ var F = {
2999
2999
  animationsDisabled: !0,
3000
3000
  predefined: !0
3001
3001
  }),
3002
- /* @__PURE__ */ E(I, {
3002
+ /* @__PURE__ */ D(R, {
3003
3003
  text: " ",
3004
3004
  index: -1,
3005
3005
  selectable: !0,
@@ -3009,7 +3009,7 @@ var F = {
3009
3009
  highlight: !1,
3010
3010
  animationsDisabled: !1
3011
3011
  }),
3012
- /* @__PURE__ */ E(I, {
3012
+ /* @__PURE__ */ D(R, {
3013
3013
  text: " ",
3014
3014
  index: -1,
3015
3015
  selectable: !0,
@@ -3019,7 +3019,7 @@ var F = {
3019
3019
  highlight: !1,
3020
3020
  animationsDisabled: !1
3021
3021
  }),
3022
- /* @__PURE__ */ E(I, {
3022
+ /* @__PURE__ */ D(R, {
3023
3023
  text: " ",
3024
3024
  index: -1,
3025
3025
  isMissing: !0,
@@ -3029,7 +3029,7 @@ var F = {
3029
3029
  })
3030
3030
  ]
3031
3031
  }),
3032
- /* @__PURE__ */ E(z, {
3032
+ /* @__PURE__ */ D(V, {
3033
3033
  ref: this.containerRef,
3034
3034
  className: e,
3035
3035
  role: "group",
@@ -3037,29 +3037,29 @@ var F = {
3037
3037
  onClick: this.toggleToken,
3038
3038
  onKeyDown: this.onKeyDown,
3039
3039
  onFocus: this.onFocus,
3040
- dangerouslySetInnerHTML: { __html: t }
3040
+ dangerouslySetInnerHTML: { __html: ee(t) }
3041
3041
  }),
3042
- Object.keys(n).length > 0 && /* @__PURE__ */ E("div", {
3042
+ Object.keys(n).length > 0 && /* @__PURE__ */ D("div", {
3043
3043
  hidden: !0,
3044
- children: Object.entries(n).map(([e, t]) => /* @__PURE__ */ E("span", {
3044
+ children: Object.entries(n).map(([e, t]) => /* @__PURE__ */ D("span", {
3045
3045
  id: e,
3046
3046
  children: t
3047
3047
  }, e))
3048
3048
  })
3049
3049
  ] });
3050
3050
  }
3051
- }, ke = (0, L.default)("@pie-lib:text-select"), Ae = class extends T.Component {
3051
+ }, ke = (0, z.default)("@pie-lib:text-select"), Ae = class extends T.Component {
3052
3052
  static propTypes = {
3053
- onChange: O.default.func,
3054
- disabled: O.default.bool,
3055
- tokens: O.default.arrayOf(O.default.shape(F)).isRequired,
3056
- selectedTokens: O.default.arrayOf(O.default.shape(F)).isRequired,
3057
- text: O.default.string.isRequired,
3058
- className: O.default.string,
3059
- highlightChoices: O.default.bool,
3060
- animationsDisabled: O.default.bool,
3061
- maxNoOfSelections: O.default.number,
3062
- language: O.default.string
3053
+ onChange: k.default.func,
3054
+ disabled: k.default.bool,
3055
+ tokens: k.default.arrayOf(k.default.shape(L)).isRequired,
3056
+ selectedTokens: k.default.arrayOf(k.default.shape(L)).isRequired,
3057
+ text: k.default.string.isRequired,
3058
+ className: k.default.string,
3059
+ highlightChoices: k.default.bool,
3060
+ animationsDisabled: k.default.bool,
3061
+ maxNoOfSelections: k.default.number,
3062
+ language: k.default.string
3063
3063
  };
3064
3064
  change = (e) => {
3065
3065
  let { onChange: t } = this.props;
@@ -3069,7 +3069,7 @@ var F = {
3069
3069
  })));
3070
3070
  };
3071
3071
  render() {
3072
- let { text: e, disabled: t, tokens: n, selectedTokens: r, className: i, highlightChoices: a, maxNoOfSelections: o, animationsDisabled: s, language: c } = this.props, l = _(e, n);
3072
+ let { text: e, disabled: t, tokens: n, selectedTokens: r, className: i, highlightChoices: a, maxNoOfSelections: o, animationsDisabled: s, language: c } = this.props, l = v(e, n);
3073
3073
  ke("normalized: ", l);
3074
3074
  let u = l.map((e) => {
3075
3075
  let n = r.findIndex((t) => t.start === e.start && t.end === e.end) !== -1, i = n ? e.correct : void 0, a = e.isMissing;
@@ -3081,7 +3081,7 @@ var F = {
3081
3081
  isMissing: a
3082
3082
  };
3083
3083
  });
3084
- return /* @__PURE__ */ E(Oe, {
3084
+ return /* @__PURE__ */ D(Oe, {
3085
3085
  highlightChoices: !t && a,
3086
3086
  className: i,
3087
3087
  tokens: u,
@@ -3092,7 +3092,7 @@ var F = {
3092
3092
  language: c
3093
3093
  });
3094
3094
  }
3095
- }, { translator: je } = r, Me = `1px solid ${S.v("pie")("border-light", "lightgrey")}`, Ne = x("div")(({ theme: e }) => ({
3095
+ }, { translator: je } = i, Me = `1px solid ${r.v("pie")("border-light", "lightgrey")}`, Ne = f("div")(({ theme: e }) => ({
3096
3096
  display: "flex",
3097
3097
  flexDirection: "row",
3098
3098
  alignItems: "center",
@@ -3102,50 +3102,50 @@ var F = {
3102
3102
  paddingBottom: e.spacing(1),
3103
3103
  paddingTop: e.spacing(1),
3104
3104
  marginBottom: e.spacing(1)
3105
- })), Pe = x("span")(({ theme: e }) => ({
3105
+ })), Pe = f("span")(({ theme: e }) => ({
3106
3106
  fontSize: "14px",
3107
3107
  fontWeight: "bold",
3108
- color: S.text(),
3108
+ color: r.text(),
3109
3109
  marginLeft: e.spacing(1)
3110
- })), Fe = x("div")(() => ({
3110
+ })), H = f("div")(() => ({
3111
3111
  position: "relative",
3112
3112
  padding: "4px",
3113
3113
  fontSize: "14px",
3114
3114
  borderRadius: "4px"
3115
- })), V = x(Fe)(() => ({ border: `${S.correctTertiary()} solid 2px` })), Ie = x(Fe)(() => ({ border: `${S.incorrectWithIcon()} solid 2px` })), Le = x(Fe)(() => ({ border: `${S.incorrectWithIcon()} dashed 2px` })), H = {
3116
- color: S.white(),
3115
+ })), Fe = f(H)(() => ({ border: `${r.correctTertiary()} solid 2px` })), Ie = f(H)(() => ({ border: `${r.incorrectWithIcon()} solid 2px` })), U = f(H)(() => ({ border: `${r.incorrectWithIcon()} dashed 2px` })), W = {
3116
+ color: r.white(),
3117
3117
  position: "absolute",
3118
3118
  top: "-8px",
3119
3119
  left: "-8px",
3120
3120
  borderRadius: "50%",
3121
3121
  fontSize: "12px",
3122
3122
  padding: "2px"
3123
- }, Re = x(y)(() => ({
3124
- ...H,
3125
- backgroundColor: S.correctTertiary()
3126
- })), ze = x(A)(() => ({
3127
- ...H,
3128
- backgroundColor: S.incorrectWithIcon()
3129
- })), Be = ({ language: e, showOnlyCorrect: t }) => {
3123
+ }, Le = f(b)(() => ({
3124
+ ...W,
3125
+ backgroundColor: r.correctTertiary()
3126
+ })), Re = f(se)(() => ({
3127
+ ...W,
3128
+ backgroundColor: r.incorrectWithIcon()
3129
+ })), G = ({ language: e, showOnlyCorrect: t }) => {
3130
3130
  let n = [
3131
3131
  {
3132
- Icon: Re,
3132
+ Icon: Le,
3133
3133
  label: je.t("selectText.correctAnswerSelected", { lng: e }),
3134
- Container: V
3134
+ Container: Fe
3135
3135
  },
3136
3136
  {
3137
- Icon: ze,
3137
+ Icon: Re,
3138
3138
  label: je.t("selectText.incorrectSelection", { lng: e }),
3139
3139
  Container: Ie
3140
3140
  },
3141
3141
  {
3142
- Icon: ze,
3142
+ Icon: Re,
3143
3143
  label: je.t("selectText.correctAnswerNotSelected", { lng: e }),
3144
- Container: Le
3144
+ Container: U
3145
3145
  }
3146
3146
  ];
3147
- return t && n.splice(1, 2), /* @__PURE__ */ D(Ne, { children: [/* @__PURE__ */ E(Pe, { children: je.t("selectText.key", { lng: e }) }), n.map(({ Icon: e, label: t, Container: n }, r) => /* @__PURE__ */ D(n, { children: [/* @__PURE__ */ E(e, {}), /* @__PURE__ */ E("span", { children: t })] }, r))] });
3148
- }, U = "height ease-in 300ms, opacity ease-in 300ms", Ve = x("div")(() => ({
3147
+ return t && n.splice(1, 2), /* @__PURE__ */ O(Ne, { children: [/* @__PURE__ */ D(Pe, { children: je.t("selectText.key", { lng: e }) }), n.map(({ Icon: e, label: t, Container: n }, r) => /* @__PURE__ */ O(n, { children: [/* @__PURE__ */ D(e, {}), /* @__PURE__ */ D("span", { children: t })] }, r))] });
3148
+ }, ze = "height ease-in 300ms, opacity ease-in 300ms", K = f("div")(() => ({
3149
3149
  position: "relative",
3150
3150
  height: 0,
3151
3151
  overflow: "hidden",
@@ -3153,7 +3153,7 @@ var F = {
3153
3153
  visibility: "hidden",
3154
3154
  width: 0,
3155
3155
  "&.enter": {
3156
- transition: U,
3156
+ transition: ze,
3157
3157
  opacity: 1,
3158
3158
  height: "auto",
3159
3159
  width: "auto",
@@ -3167,7 +3167,7 @@ var F = {
3167
3167
  minHeight: "25px"
3168
3168
  },
3169
3169
  "&.exit": {
3170
- transition: U,
3170
+ transition: ze,
3171
3171
  opacity: 0,
3172
3172
  height: 0,
3173
3173
  visibility: "visible",
@@ -3179,9 +3179,9 @@ var F = {
3179
3179
  height: 0,
3180
3180
  width: 0
3181
3181
  }
3182
- })), W = (e) => {
3183
- let { show: t, children: n, className: r } = e, i = te(null);
3184
- return /* @__PURE__ */ E(u, {
3182
+ })), Be = (e) => {
3183
+ let { show: t, children: n, className: r } = e, i = ne(null);
3184
+ return /* @__PURE__ */ D(x, {
3185
3185
  nodeRef: i,
3186
3186
  in: t,
3187
3187
  appear: !0,
@@ -3193,37 +3193,37 @@ var F = {
3193
3193
  exit: "exit",
3194
3194
  exitDone: "exit-done"
3195
3195
  },
3196
- children: /* @__PURE__ */ E(Ve, {
3196
+ children: /* @__PURE__ */ D(K, {
3197
3197
  ref: i,
3198
3198
  className: r,
3199
3199
  children: n
3200
3200
  })
3201
3201
  });
3202
3202
  };
3203
- W.propTypes = {
3204
- show: O.default.bool.isRequired,
3205
- className: O.default.string,
3206
- children: O.default.oneOfType([O.default.arrayOf(O.default.node), O.default.node]).isRequired
3203
+ Be.propTypes = {
3204
+ show: k.default.bool.isRequired,
3205
+ className: k.default.string,
3206
+ children: k.default.oneOfType([k.default.arrayOf(k.default.node), k.default.node]).isRequired
3207
3207
  };
3208
3208
  //#endregion
3209
3209
  //#region ../../lib-react/correct-answer-toggle/dist/index.js
3210
- function He(e) {
3210
+ function Ve(e) {
3211
3211
  return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
3212
3212
  }
3213
- function Ue(e, t) {
3214
- return !e || He(e) ? e : He(e.default) ? e.default : t && He(e[t]) ? e[t] : t && He(e[t]?.default) ? e[t].default : e;
3213
+ function He(e, t) {
3214
+ return !e || Ve(e) ? e : Ve(e.default) ? e.default : t && Ve(e[t]) ? e[t] : t && Ve(e[t]?.default) ? e[t].default : e;
3215
3215
  }
3216
- var We = Ue(d, "Readable") || Ue(qe.Readable, "Readable"), Ge = m, Ke = Ge.default, qe = Ke && typeof Ke == "object" ? Ke : Ge, { translator: Je } = r, Ye = {
3216
+ var Ue = He(p, "Readable") || He(Ke.Readable, "Readable"), We = h, Ge = We.default, Ke = Ge && typeof Ge == "object" ? Ge : We, { translator: qe } = i, Je = {
3217
3217
  WebkitTouchCallout: "none",
3218
3218
  WebkitUserSelect: "none",
3219
3219
  KhtmlUserSelect: "none",
3220
3220
  MozUserSelect: "none",
3221
3221
  msUserSelect: "none",
3222
3222
  userSelect: "none"
3223
- }, Xe = x("div")(() => ({
3223
+ }, Ye = f("div")(() => ({
3224
3224
  width: "100%",
3225
3225
  cursor: "pointer"
3226
- })), Ze = x("button")(() => ({
3226
+ })), Xe = f("button")(() => ({
3227
3227
  margin: "0 auto",
3228
3228
  textAlign: "center",
3229
3229
  display: "flex",
@@ -3236,18 +3236,18 @@ var We = Ue(d, "Readable") || Ue(qe.Readable, "Readable"), Ge = m, Ke = Ge.defau
3236
3236
  font: "inherit",
3237
3237
  cursor: "pointer",
3238
3238
  "&:focus-visible": {
3239
- outline: `2px solid ${S.buttonFocusOutline()}`,
3239
+ outline: `2px solid ${r.buttonFocusOutline()}`,
3240
3240
  outlineOffset: "-2px"
3241
3241
  }
3242
- })), Qe = x("div")(() => ({
3242
+ })), Ze = f("div")(() => ({
3243
3243
  width: "fit-content",
3244
3244
  minWidth: "140px",
3245
3245
  alignSelf: "center",
3246
3246
  verticalAlign: "middle",
3247
- color: `var(--correct-answer-toggle-label-color, ${S.text()})`,
3247
+ color: `var(--correct-answer-toggle-label-color, ${r.text()})`,
3248
3248
  fontWeight: "normal",
3249
- ...Ye
3250
- })), $e = x("div")(() => ({
3249
+ ...Je
3250
+ })), Qe = f("div")(() => ({
3251
3251
  position: "absolute",
3252
3252
  width: "25px",
3253
3253
  "&.enter": { opacity: "0" },
@@ -3260,20 +3260,20 @@ var We = Ue(d, "Readable") || Ue(qe.Readable, "Readable"), Ge = m, Ke = Ge.defau
3260
3260
  opacity: "0",
3261
3261
  transition: "opacity 0.3s ease-in"
3262
3262
  }
3263
- })), et = x("div")(() => ({
3263
+ })), $e = f("div")(() => ({
3264
3264
  width: "25px",
3265
3265
  marginRight: "5px",
3266
3266
  display: "flex",
3267
3267
  alignItems: "center"
3268
- })), tt = class e extends T.Component {
3268
+ })), et = class e extends T.Component {
3269
3269
  static propTypes = {
3270
- onToggle: O.default.func,
3271
- toggled: O.default.bool,
3272
- show: O.default.bool,
3273
- hideMessage: O.default.string,
3274
- showMessage: O.default.string,
3275
- className: O.default.string,
3276
- language: O.default.string
3270
+ onToggle: k.default.func,
3271
+ toggled: k.default.bool,
3272
+ show: k.default.bool,
3273
+ hideMessage: k.default.string,
3274
+ showMessage: k.default.string,
3275
+ className: k.default.string,
3276
+ language: k.default.string
3277
3277
  };
3278
3278
  static defaultProps = {
3279
3279
  showMessage: "Show correct answer",
@@ -3284,8 +3284,8 @@ var We = Ue(d, "Readable") || Ue(qe.Readable, "Readable"), Ge = m, Ke = Ge.defau
3284
3284
  constructor(t) {
3285
3285
  super(t), this.state = { show: t.show }, this.openIconRef = T.createRef(), this.closedIconRef = T.createRef(), e.defaultProps = {
3286
3286
  ...e.defaultProps,
3287
- showMessage: Je.t("common:showCorrectAnswer", { lng: t.language }),
3288
- hideMessage: Je.t("common:hideCorrectAnswer", { lng: t.language })
3287
+ showMessage: qe.t("common:showCorrectAnswer", { lng: t.language }),
3288
+ hideMessage: qe.t("common:hideCorrectAnswer", { lng: t.language })
3289
3289
  };
3290
3290
  }
3291
3291
  onClick() {
@@ -3297,22 +3297,22 @@ var We = Ue(d, "Readable") || Ue(qe.Readable, "Readable"), Ge = m, Ke = Ge.defau
3297
3297
  UNSAFE_componentWillReceiveProps(t) {
3298
3298
  this.setState({ show: t.show }), t.language !== this.props?.language && (e.defaultProps = {
3299
3299
  ...e.defaultProps,
3300
- showMessage: Je.t("common:showCorrectAnswer", { lng: t.language }),
3301
- hideMessage: Je.t("common:hideCorrectAnswer", { lng: t.language })
3300
+ showMessage: qe.t("common:showCorrectAnswer", { lng: t.language }),
3301
+ hideMessage: qe.t("common:hideCorrectAnswer", { lng: t.language })
3302
3302
  });
3303
3303
  }
3304
3304
  render() {
3305
3305
  let { className: e, toggled: t, hideMessage: n, showMessage: r } = this.props;
3306
- return /* @__PURE__ */ E(Xe, {
3306
+ return /* @__PURE__ */ D(Ye, {
3307
3307
  className: e,
3308
- children: /* @__PURE__ */ E(W, {
3308
+ children: /* @__PURE__ */ D(Be, {
3309
3309
  show: this.state.show,
3310
- children: /* @__PURE__ */ D(Ze, {
3310
+ children: /* @__PURE__ */ O(Xe, {
3311
3311
  type: "button",
3312
3312
  "aria-pressed": !!t,
3313
3313
  onClick: this.onClick.bind(this),
3314
3314
  onTouchEnd: this.onTouch.bind(this),
3315
- children: [/* @__PURE__ */ D(et, { children: [/* @__PURE__ */ E(u, {
3315
+ children: [/* @__PURE__ */ O($e, { children: [/* @__PURE__ */ D(x, {
3316
3316
  nodeRef: this.openIconRef,
3317
3317
  timeout: 400,
3318
3318
  in: t,
@@ -3323,11 +3323,11 @@ var We = Ue(d, "Readable") || Ue(qe.Readable, "Readable"), Ge = m, Ke = Ge.defau
3323
3323
  exit: "exit",
3324
3324
  exitActive: "exit-active"
3325
3325
  },
3326
- children: /* @__PURE__ */ E($e, {
3326
+ children: /* @__PURE__ */ D(Qe, {
3327
3327
  ref: this.openIconRef,
3328
- children: /* @__PURE__ */ E(k, { open: t }, "correct-open")
3328
+ children: /* @__PURE__ */ D(A, { open: t }, "correct-open")
3329
3329
  })
3330
- }), /* @__PURE__ */ E(u, {
3330
+ }), /* @__PURE__ */ D(x, {
3331
3331
  nodeRef: this.closedIconRef,
3332
3332
  timeout: 5e3,
3333
3333
  in: !t,
@@ -3338,13 +3338,13 @@ var We = Ue(d, "Readable") || Ue(qe.Readable, "Readable"), Ge = m, Ke = Ge.defau
3338
3338
  exit: "exit",
3339
3339
  exitActive: "exit-active"
3340
3340
  },
3341
- children: /* @__PURE__ */ E($e, {
3341
+ children: /* @__PURE__ */ D(Qe, {
3342
3342
  ref: this.closedIconRef,
3343
- children: /* @__PURE__ */ E(k, { open: t }, "correct-closed")
3343
+ children: /* @__PURE__ */ D(A, { open: t }, "correct-closed")
3344
3344
  })
3345
- })] }), /* @__PURE__ */ E(We, {
3345
+ })] }), /* @__PURE__ */ D(Ue, {
3346
3346
  false: !0,
3347
- children: /* @__PURE__ */ E(Qe, {
3347
+ children: /* @__PURE__ */ D(Ze, {
3348
3348
  "aria-hidden": !this.state.show,
3349
3349
  children: t ? n : r
3350
3350
  })
@@ -3353,25 +3353,25 @@ var We = Ue(d, "Readable") || Ue(qe.Readable, "Readable"), Ge = m, Ke = Ge.defau
3353
3353
  })
3354
3354
  });
3355
3355
  }
3356
- }, nt = function() {
3356
+ }, tt = function() {
3357
3357
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = document.createElement("div");
3358
- return t.innerHTML = e.trim(), t;
3359
- }, rt = function(e, t) {
3358
+ return t.innerHTML = ee(e).trim(), t;
3359
+ }, nt = function(e, t) {
3360
3360
  return t ? e.innerHTML : `${e.innerHTML}
3361
3361
 
3362
3362
  `;
3363
- }, it = function(e) {
3363
+ }, rt = function(e) {
3364
3364
  var t = e.querySelectorAll("div[separator=true]"), n = "";
3365
3365
  return t.forEach(function(e, r) {
3366
- n += rt(e, r === t.length - 1);
3366
+ n += nt(e, r === t.length - 1);
3367
3367
  }), n || null;
3368
- }, G = function(e) {
3369
- var t = nt(e), n = document.createElement("div");
3370
- return n.innerHTML = `<div separator='true'>${t.innerHTML}</div>`, t = n, Array.from(t.querySelectorAll("*")).length === 0 ? e : it(t);
3368
+ }, it = function(e) {
3369
+ var t = tt(e), n = document.createElement("div");
3370
+ return n.innerHTML = `<div separator='true'>${t.innerHTML}</div>`, t = n, Array.from(t.querySelectorAll("*")).length === 0 ? e : rt(t);
3371
3371
  }, at = (e) => {
3372
3372
  if (!e) return e;
3373
- let t = G(e.text || ""), n = (e.tokens || []).reduce((n, r = {}) => {
3374
- let i = G((e.text || "").slice(r.start, r.end));
3373
+ let t = it(e.text || ""), n = (e.tokens || []).reduce((n, r = {}) => {
3374
+ let i = it((e.text || "").slice(r.start, r.end));
3375
3375
  if (!i) return [...n, r];
3376
3376
  let a = (e) => {
3377
3377
  let n = e;
@@ -3402,25 +3402,25 @@ var We = Ue(d, "Readable") || Ue(qe.Readable, "Readable"), Ge = m, Ke = Ge.defau
3402
3402
  function ot(e) {
3403
3403
  return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
3404
3404
  }
3405
- function K(e, t) {
3405
+ function q(e, t) {
3406
3406
  return !e || ot(e) ? e : ot(e.default) ? e.default : t && ot(e[t]) ? e[t] : t && ot(e[t]?.default) ? e[t].default : e;
3407
3407
  }
3408
- var st = K(l, "UiLayout") || K(dt.UiLayout, "UiLayout"), q = K(c, "PreviewPrompt") || K(dt.PreviewPrompt, "PreviewPrompt"), J = K(s, "Collapsible") || K(dt.Collapsible, "Collapsible"), ct = K(o, "Feedback") || K(dt.Feedback, "Feedback"), lt = m, ut = lt.default, dt = ut && typeof ut == "object" ? ut : lt, { translator: Y } = r, ft = (0, L.default)("@pie-ui:select-text"), pt = x(st)({
3409
- color: S.text(),
3410
- backgroundColor: S.background()
3411
- }), mt = x(Ae)(({ theme: e }) => ({
3408
+ var st = q(d, "UiLayout") || q(Y.UiLayout, "UiLayout"), J = q(l, "PreviewPrompt") || q(Y.PreviewPrompt, "PreviewPrompt"), ct = q(c, "Collapsible") || q(Y.Collapsible, "Collapsible"), lt = q(s, "Feedback") || q(Y.Feedback, "Feedback"), ut = h, dt = ut.default, Y = dt && typeof dt == "object" ? dt : ut, { translator: X } = i, ft = (0, z.default)("@pie-ui:select-text"), pt = f(st)({
3409
+ color: r.text(),
3410
+ backgroundColor: r.background()
3411
+ }), mt = f(Ae)(({ theme: e }) => ({
3412
3412
  marginBottom: e.spacing(1),
3413
3413
  marginTop: e.spacing(2),
3414
3414
  whiteSpace: "normal"
3415
- })), X = x("div")(({ theme: e }) => ({
3415
+ })), ht = f("div")(({ theme: e }) => ({
3416
3416
  verticalAlign: "middle",
3417
3417
  marginBottom: e.spacing(1)
3418
- })), ht = x(J)(({ theme: e }) => ({ marginBottom: e.spacing(2) })), gt = {
3419
- model: O.default.object,
3420
- session: O.default.object,
3421
- onSelectionChange: O.default.func.isRequired
3422
- }, _t = class extends T.Component {
3423
- static propTypes = gt;
3418
+ })), gt = f(ct)(({ theme: e }) => ({ marginBottom: e.spacing(2) })), _t = {
3419
+ model: k.default.object,
3420
+ session: k.default.object,
3421
+ onSelectionChange: k.default.func.isRequired
3422
+ }, vt = class extends T.Component {
3423
+ static propTypes = _t;
3424
3424
  static defaultProps = {};
3425
3425
  constructor(e) {
3426
3426
  super(e), this.state = {
@@ -3435,10 +3435,10 @@ var st = K(l, "UiLayout") || K(dt.UiLayout, "UiLayout"), q = K(c, "PreviewPrompt
3435
3435
  });
3436
3436
  }
3437
3437
  componentDidMount() {
3438
- b(ne.findDOMNode(this));
3438
+ S(re.findDOMNode(this));
3439
3439
  }
3440
3440
  componentDidUpdate() {
3441
- b(ne.findDOMNode(this));
3441
+ S(re.findDOMNode(this));
3442
3442
  }
3443
3443
  toggleShowCorrect = () => {
3444
3444
  this.setState({ showCorrectAnswer: !this.state.showCorrectAnswer });
@@ -3448,25 +3448,25 @@ var st = K(l, "UiLayout") || K(dt.UiLayout, "UiLayout"), q = K(c, "PreviewPrompt
3448
3448
  return e.tokens.filter((e) => e.correct);
3449
3449
  };
3450
3450
  render() {
3451
- let { session: e, onSelectionChange: t } = this.props, { showCorrectAnswer: n, model: r } = this.state, { env: i, extraCSSRules: a } = r, { mode: o } = i || {}, s = n ? this.correctAnswer() : e.selectedTokens, c = r.rationale && (p(r.rationale) || h(r.rationale)), l = r.teacherInstructions && (p(r.teacherInstructions) || h(r.teacherInstructions));
3452
- return ft("[render] selectedTokens:", s), /* @__PURE__ */ D(pt, {
3451
+ let { session: e, onSelectionChange: t } = this.props, { showCorrectAnswer: n, model: r } = this.state, { env: i, extraCSSRules: a } = r, { mode: o } = i || {}, s = n ? this.correctAnswer() : e.selectedTokens, c = r.rationale && (m(r.rationale) || g(r.rationale)), l = r.teacherInstructions && (m(r.teacherInstructions) || g(r.teacherInstructions));
3452
+ return ft("[render] selectedTokens:", s), /* @__PURE__ */ O(pt, {
3453
3453
  extraCSSRules: a,
3454
3454
  children: [
3455
- l && (r.animationsDisabled ? /* @__PURE__ */ E(X, { children: /* @__PURE__ */ E(q, { prompt: r.teacherInstructions }) }) : /* @__PURE__ */ E(ht, {
3455
+ l && (r.animationsDisabled ? /* @__PURE__ */ D(ht, { children: /* @__PURE__ */ D(J, { prompt: r.teacherInstructions }) }) : /* @__PURE__ */ D(gt, {
3456
3456
  labels: {
3457
- hidden: Y.t("common:showTeacherInstructions", { lng: r.language }),
3458
- visible: Y.t("common:hideTeacherInstructions", { lng: r.language })
3457
+ hidden: X.t("common:showTeacherInstructions", { lng: r.language }),
3458
+ visible: X.t("common:hideTeacherInstructions", { lng: r.language })
3459
3459
  },
3460
- children: /* @__PURE__ */ E(q, { prompt: r.teacherInstructions })
3460
+ children: /* @__PURE__ */ D(J, { prompt: r.teacherInstructions })
3461
3461
  })),
3462
- /* @__PURE__ */ E(X, { children: /* @__PURE__ */ E(q, { prompt: r.prompt }) }),
3463
- !r.alwaysShowCorrect && /* @__PURE__ */ E(tt, {
3462
+ /* @__PURE__ */ D(ht, { children: /* @__PURE__ */ D(J, { prompt: r.prompt }) }),
3463
+ !r.alwaysShowCorrect && /* @__PURE__ */ D(et, {
3464
3464
  show: r.disabled && r.incorrect,
3465
3465
  toggled: n,
3466
3466
  onToggle: this.toggleShowCorrect,
3467
3467
  language: r.language
3468
3468
  }),
3469
- /* @__PURE__ */ E(mt, {
3469
+ /* @__PURE__ */ D(mt, {
3470
3470
  disabled: r.disabled,
3471
3471
  text: r.text,
3472
3472
  tokens: r.tokens,
@@ -3480,26 +3480,26 @@ var st = K(l, "UiLayout") || K(dt.UiLayout, "UiLayout"), q = K(c, "PreviewPrompt
3480
3480
  animationsDisabled: r.animationsDisabled,
3481
3481
  language: r.language
3482
3482
  }),
3483
- o === "evaluate" && /* @__PURE__ */ E(Be, {
3483
+ o === "evaluate" && /* @__PURE__ */ D(G, {
3484
3484
  language: r.language,
3485
3485
  showOnlyCorrect: n
3486
3486
  }),
3487
- c && (r.animationsDisabled ? /* @__PURE__ */ E(X, { children: /* @__PURE__ */ E(q, { prompt: r.rationale }) }) : /* @__PURE__ */ E(ht, {
3487
+ c && (r.animationsDisabled ? /* @__PURE__ */ D(ht, { children: /* @__PURE__ */ D(J, { prompt: r.rationale }) }) : /* @__PURE__ */ D(gt, {
3488
3488
  labels: {
3489
- hidden: Y.t("common:showRationale", { lng: r.language }),
3490
- visible: Y.t("common:hideRationale", { lng: r.language })
3489
+ hidden: X.t("common:showRationale", { lng: r.language }),
3490
+ visible: X.t("common:hideRationale", { lng: r.language })
3491
3491
  },
3492
- children: /* @__PURE__ */ E(q, { prompt: r.rationale })
3492
+ children: /* @__PURE__ */ D(J, { prompt: r.rationale })
3493
3493
  })),
3494
- r.correctness && r.feedback && !n && /* @__PURE__ */ E(ct, {
3494
+ r.correctness && r.feedback && !n && /* @__PURE__ */ D(lt, {
3495
3495
  correctness: r.correctness,
3496
3496
  feedback: r.feedback
3497
3497
  })
3498
3498
  ]
3499
3499
  });
3500
3500
  }
3501
- }, vt = class extends T.Component {
3502
- static propTypes = gt;
3501
+ }, yt = class extends T.Component {
3502
+ static propTypes = _t;
3503
3503
  constructor(e) {
3504
3504
  super(e), this.state = {
3505
3505
  model: e.model,
@@ -3523,7 +3523,7 @@ var st = K(l, "UiLayout") || K(dt.UiLayout, "UiLayout"), q = K(c, "PreviewPrompt
3523
3523
  };
3524
3524
  render() {
3525
3525
  let { model: e, session: t } = this.state;
3526
- return /* @__PURE__ */ E(_t, {
3526
+ return /* @__PURE__ */ D(vt, {
3527
3527
  model: e,
3528
3528
  session: t,
3529
3529
  onSelectionChange: this.change
@@ -3531,6 +3531,6 @@ var st = K(l, "UiLayout") || K(dt.UiLayout, "UiLayout"), q = K(c, "PreviewPrompt
3531
3531
  }
3532
3532
  };
3533
3533
  //#endregion
3534
- export { at as n, vt as t };
3534
+ export { at as n, yt as t };
3535
3535
 
3536
- //# sourceMappingURL=main-BhaIP0QI.js.map
3536
+ //# sourceMappingURL=main-CwP8NNrI.js.map