@pie-element/select-text 13.1.2-next.0 → 13.1.2-next.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.
Files changed (143) hide show
  1. package/dist/author/design.d.ts +2 -2
  2. package/dist/author/design.js +77 -78
  3. package/dist/browser/{Check-CXevxzJJ.js → Check-BMR_1cO0.js} +2687 -3367
  4. package/dist/browser/Check-BMR_1cO0.js.map +1 -0
  5. package/dist/browser/author/index.js +8520 -8957
  6. package/dist/browser/author/index.js.map +1 -1
  7. package/dist/browser/controller/index.js +11 -12
  8. package/dist/browser/controller/index.js.map +1 -1
  9. package/dist/browser/delivery/index.js +2 -2
  10. package/dist/browser/{_getTag-x1UozeM0.js → dist-SG92p6xV.js} +98 -160
  11. package/dist/browser/dist-SG92p6xV.js.map +1 -0
  12. package/dist/browser/{main-4aycOoI5.js → main-jVjbBKTM.js} +884 -884
  13. package/dist/browser/main-jVjbBKTM.js.map +1 -0
  14. package/dist/browser/print/index.js +7 -8
  15. package/dist/browser/print/index.js.map +1 -1
  16. package/dist/controller/index.js +19 -19
  17. package/dist/index.iife.js +26 -26
  18. package/dist/print/index.js +11 -11
  19. package/dist/runtime-support.d.ts +12 -0
  20. package/dist/runtime-support.js +12 -0
  21. package/package.json +12 -9
  22. package/dist/browser/Check-CXevxzJJ.js.map +0 -1
  23. package/dist/browser/_getTag-x1UozeM0.js.map +0 -1
  24. package/dist/browser/debounce-CUpLfqAu.js +0 -86
  25. package/dist/browser/debounce-CUpLfqAu.js.map +0 -1
  26. package/dist/browser/isEmpty-Bsms1e2W.js +0 -16
  27. package/dist/browser/isEmpty-Bsms1e2W.js.map +0 -1
  28. package/dist/browser/main-4aycOoI5.js.map +0 -1
  29. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
  30. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
  31. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
  32. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
  33. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
  34. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
  35. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
  36. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
  37. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
  38. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
  39. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
  40. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +0 -8
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +0 -8
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js +0 -50
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +0 -21
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/now.js +0 -7
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +0 -19
@@ -1,9 +1,9 @@
1
- import { C as e, b as t, w as n, x as r } from "./_getTag-x1UozeM0.js";
2
- import { B as i, Ht as a, K as o, Lt as s, N as c, R as l, V as u, W as d, at as f, l as p, ln as m, n as h, o as g, ot as _, p as v, r as y, t as b, xt as x, z as S } from "./Check-CXevxzJJ.js";
1
+ import { _ as e, b as t, g as n, s as r, t as i, y as a } from "./dist-SG92p6xV.js";
2
+ import { F as o, I as s, S as c, Z as l, _ as u, b as d, g as f, h as p, l as m, m as h, n as g, o as _, pt as v, r as y, t as b, vt as x, zt as S } from "./Check-BMR_1cO0.js";
3
3
  import C, { useRef as w } from "react";
4
4
  import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
5
5
  //#region ../../lib-react/icons/dist/correct-response-icon.js
6
- var O = /* @__PURE__ */ n(m(), 1), ee = ({ bgFill: e, fgFill: t }) => /* @__PURE__ */ D("svg", {
6
+ var O = /* @__PURE__ */ t(S(), 1), ee = ({ bgFill: e, fgFill: t }) => /* @__PURE__ */ D("svg", {
7
7
  preserveAspectRatio: "xMinYMin meet",
8
8
  version: "1.1",
9
9
  viewBox: "-283 359 34 35",
@@ -74,7 +74,7 @@ k.propTypes = {
74
74
  fgFill: O.default.string.isRequired,
75
75
  borderFill: O.default.string.isRequired
76
76
  };
77
- var te = a("div")(({ size: e }) => ({
77
+ var te = x("div")(({ size: e }) => ({
78
78
  width: e || "25px",
79
79
  height: e || "25px"
80
80
  })), ne = ({ open: e, size: t }) => /* @__PURE__ */ E(te, {
@@ -94,51 +94,51 @@ ne.propTypes = {
94
94
  }, ne.defaultProps = { open: !1 };
95
95
  //#endregion
96
96
  //#region ../../../node_modules/.bun/@mui+icons-material@7.3.11+44ccb211c00abd9d/node_modules/@mui/icons-material/esm/Close.js
97
- var re = /* @__PURE__ */ n(y(), 1), ie = s(/*#__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"), ae = 3.2, oe = 3.4, A = 2, se = a("span")(({ theme: e }) => ({
97
+ var re = v(/*#__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"), ie = 3.2, ae = 3.4, oe = 2, A = x("span")(({ theme: e }) => ({
98
98
  cursor: "pointer",
99
99
  textIndent: 0,
100
100
  "&.disabled": {
101
101
  cursor: "inherit",
102
- color: _.disabled()
102
+ color: s.disabled()
103
103
  },
104
104
  "&.disabledBlack": {
105
105
  cursor: "inherit",
106
106
  pointerEvents: "none"
107
107
  },
108
- "&.disabledAndSelected": { backgroundColor: _.blueGrey100() },
108
+ "&.disabledAndSelected": { backgroundColor: s.blueGrey100() },
109
109
  [`@media (min-width: ${e.breakpoints.values.md}px)`]: { "&.selectable:hover": {
110
- backgroundColor: _.blueGrey300(),
110
+ backgroundColor: s.blueGrey300(),
111
111
  color: e.palette.common.black,
112
- "& > *": { backgroundColor: _.blueGrey300() }
112
+ "& > *": { backgroundColor: s.blueGrey300() }
113
113
  } },
114
114
  "&.selected": {
115
- backgroundColor: _.blueGrey100(),
115
+ backgroundColor: s.blueGrey100(),
116
116
  color: e.palette.common.black,
117
- lineHeight: `${parseFloat(e.spacing(1)) * ae}px`,
118
- border: `solid 2px ${_.blueGrey900()}`,
117
+ lineHeight: `${parseFloat(e.spacing(1)) * ie}px`,
118
+ border: `solid 2px ${s.blueGrey900()}`,
119
119
  borderRadius: "4px",
120
- "& > *": { backgroundColor: _.blueGrey100() }
120
+ "& > *": { backgroundColor: s.blueGrey100() }
121
121
  },
122
122
  "&.highlight": {
123
- border: `dashed 2px ${_.blueGrey600()}`,
123
+ border: `dashed 2px ${s.blueGrey600()}`,
124
124
  borderRadius: "4px",
125
- lineHeight: `${parseFloat(e.spacing(1)) * ae}px`
125
+ lineHeight: `${parseFloat(e.spacing(1)) * ie}px`
126
126
  },
127
127
  "&.print": {
128
- border: `dashed 2px ${_.blueGrey600()}`,
128
+ border: `dashed 2px ${s.blueGrey600()}`,
129
129
  borderRadius: "4px",
130
- lineHeight: `${parseFloat(e.spacing(1)) * ae}px`,
131
- color: _.text()
130
+ lineHeight: `${parseFloat(e.spacing(1)) * ie}px`,
131
+ color: s.text()
132
132
  },
133
133
  "&.custom": { display: "initial" }
134
- })), j = a("span")(({ theme: e }) => ({
134
+ })), se = x("span")(({ theme: e }) => ({
135
135
  position: "relative",
136
136
  borderRadius: "4px",
137
137
  color: e.palette.common.black,
138
- lineHeight: `${parseFloat(e.spacing(1)) * oe + A}px`,
139
- padding: `${A}px`
140
- })), ce = a(j)(() => ({ border: `${_.correctTertiary()} solid 2px` })), le = a(j)(() => ({ border: `${_.incorrectWithIcon()} solid 2px` })), ue = a(j)(() => ({ border: `${_.incorrectWithIcon()} dashed 2px` })), de = {
141
- color: _.white(),
138
+ lineHeight: `${parseFloat(e.spacing(1)) * ae + oe}px`,
139
+ padding: `${oe}px`
140
+ })), ce = x(se)(() => ({ border: `${s.correctTertiary()} solid 2px` })), le = x(se)(() => ({ border: `${s.incorrectWithIcon()} solid 2px` })), ue = x(se)(() => ({ border: `${s.incorrectWithIcon()} dashed 2px` })), de = {
141
+ color: s.white(),
142
142
  position: "absolute",
143
143
  top: "-8px",
144
144
  left: "-8px",
@@ -146,12 +146,12 @@ var re = /* @__PURE__ */ n(y(), 1), ie = s(/*#__PURE__*/ E("path", { d: "M19 6.4
146
146
  fontSize: "12px",
147
147
  padding: "2px",
148
148
  display: "inline-block"
149
- }, fe = a(b)(() => ({
149
+ }, fe = x(b)(() => ({
150
150
  ...de,
151
- backgroundColor: _.correctTertiary()
152
- })), pe = a(ie)(() => ({
151
+ backgroundColor: s.correctTertiary()
152
+ })), pe = x(re)(() => ({
153
153
  ...de,
154
- backgroundColor: _.incorrectWithIcon()
154
+ backgroundColor: s.incorrectWithIcon()
155
155
  })), me = ({ useWrapper: e, children: t, Container: n, Icon: r }) => e ? /* @__PURE__ */ D(n, { children: [t, r ? /* @__PURE__ */ E(r, {}) : null] }) : t;
156
156
  me.propTypes = {
157
157
  useWrapper: O.default.bool,
@@ -159,13 +159,13 @@ me.propTypes = {
159
159
  Icon: O.default.elementType,
160
160
  children: O.default.node
161
161
  };
162
- var M = {
162
+ var he = {
163
163
  text: O.default.string,
164
164
  selectable: O.default.bool
165
- }, N = class e extends C.Component {
165
+ }, j = class e extends C.Component {
166
166
  static rootClassName = "tokenRootClass";
167
167
  static propTypes = {
168
- ...M,
168
+ ...he,
169
169
  text: O.default.string.isRequired,
170
170
  className: O.default.string,
171
171
  disabled: O.default.bool,
@@ -179,26 +179,26 @@ var M = {
179
179
  getClassAndIconConfig = () => {
180
180
  let { selectable: t, selected: n, className: r, disabled: i, highlight: a, correct: o, animationsDisabled: s, isMissing: c } = this.props, l = "ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0, u = e.rootClassName;
181
181
  if (o === void 0 && n && i) return {
182
- className: (0, re.default)(u, "selected", "disabledBlack", r),
183
- Component: se
182
+ className: y(u, "selected", "disabledBlack", r),
183
+ Component: A
184
184
  };
185
185
  if (o !== void 0) {
186
186
  let e = o === !0;
187
187
  return {
188
- className: (0, re.default)(u, "custom", r),
189
- Component: se,
188
+ className: y(u, "custom", r),
189
+ Component: A,
190
190
  Container: e ? ce : le,
191
191
  Icon: e ? fe : pe
192
192
  };
193
193
  }
194
194
  return c ? {
195
- className: (0, re.default)(u, "custom", "missing", r),
196
- Component: se,
195
+ className: y(u, "custom", "missing", r),
196
+ Component: A,
197
197
  Container: ue,
198
198
  Icon: pe
199
199
  } : {
200
- className: (0, re.default)(u, i && "disabled", t && !i && !l && "selectable", n && !i && "selected", n && i && "disabledAndSelected", a && t && !i && !n && "highlight", s && "print", r),
201
- Component: se,
200
+ className: y(u, i && "disabled", t && !i && !l && "selectable", n && !i && "selected", n && i && "disabledAndSelected", a && t && !i && !n && "highlight", s && "print", r),
201
+ Component: A,
202
202
  Container: void 0,
203
203
  Icon: void 0
204
204
  };
@@ -209,22 +209,22 @@ var M = {
209
209
  useWrapper: n !== void 0 || r,
210
210
  Container: o,
211
211
  Icon: s,
212
- children: /* @__PURE__ */ E(a || se, {
212
+ children: /* @__PURE__ */ E(a || A, {
213
213
  className: i,
214
214
  dangerouslySetInnerHTML: { __html: (e || "").replace(/\n/g, "<br>") },
215
215
  "data-indexkey": t
216
216
  })
217
217
  });
218
218
  }
219
- }, P = /* @__PURE__ */ r(((t) => {
220
- var n = e("react");
221
- function r(e) {
219
+ }, M = /* @__PURE__ */ e(((e) => {
220
+ var t = a("react");
221
+ function n(e) {
222
222
  for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
223
223
  return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
224
224
  }
225
- var i = Object.prototype.hasOwnProperty, a = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, o = {}, s = {};
225
+ var r = Object.prototype.hasOwnProperty, i = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, o = {}, s = {};
226
226
  function c(e) {
227
- return i.call(s, e) ? !0 : i.call(o, e) ? !1 : a.test(e) ? s[e] = !0 : (o[e] = !0, !1);
227
+ return r.call(s, e) ? !0 : r.call(o, e) ? !1 : i.test(e) ? s[e] = !0 : (o[e] = !0, !1);
228
228
  }
229
229
  function l(e, t, n, r, i, a, o) {
230
230
  this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = r, this.attributeNamespace = i, this.mustUseProperty = n, this.propertyName = e, this.type = t, this.sanitizeURL = a, this.removeEmptyString = o;
@@ -412,10 +412,10 @@ var M = {
412
412
  return 4 <= e.insertionMode || e.insertionMode === 0 ? b(1, null) : e;
413
413
  }
414
414
  var S = /* @__PURE__ */ new Map();
415
- function C(e, t, n) {
416
- if (typeof n != "object") throw Error(r(62));
417
- for (var a in t = !0, n) if (i.call(n, a)) {
418
- var o = n[a];
415
+ function C(e, t, i) {
416
+ if (typeof i != "object") throw Error(n(62));
417
+ for (var a in t = !0, i) if (r.call(i, a)) {
418
+ var o = i[a];
419
419
  if (o != null && typeof o != "boolean" && o !== "") {
420
420
  if (a.indexOf("--") === 0) {
421
421
  var s = g(a);
@@ -423,7 +423,7 @@ var M = {
423
423
  } else {
424
424
  s = a;
425
425
  var c = S.get(s);
426
- c === void 0 ? (c = g(s.replace(_, "-$1").toLowerCase().replace(v, "-ms-")), S.set(s, c), s = c) : s = c, o = typeof o == "number" ? o === 0 || i.call(p, a) ? "" + o : o + "px" : g(("" + o).trim());
426
+ c === void 0 ? (c = g(s.replace(_, "-$1").toLowerCase().replace(v, "-ms-")), S.set(s, c), s = c) : s = c, o = typeof o == "number" ? o === 0 || r.call(p, a) ? "" + o : o + "px" : g(("" + o).trim());
427
427
  }
428
428
  t ? (t = !1, e.push(" style=\"", s, ":", o)) : e.push(";", s, ":", o);
429
429
  }
@@ -473,23 +473,23 @@ var M = {
473
473
  }
474
474
  }
475
475
  }
476
- function T(e, t, n) {
476
+ function T(e, t, r) {
477
477
  if (t != null) {
478
- if (n != null) throw Error(r(60));
479
- if (typeof t != "object" || !("__html" in t)) throw Error(r(61));
478
+ if (r != null) throw Error(n(60));
479
+ if (typeof t != "object" || !("__html" in t)) throw Error(n(61));
480
480
  t = t.__html, t != null && e.push("" + t);
481
481
  }
482
482
  }
483
483
  function E(e) {
484
- var t = "";
485
- return n.Children.forEach(e, function(e) {
486
- e != null && (t += e);
487
- }), t;
484
+ var n = "";
485
+ return t.Children.forEach(e, function(e) {
486
+ e != null && (n += e);
487
+ }), n;
488
488
  }
489
- function D(e, t, n, r) {
489
+ function D(e, t, n, i) {
490
490
  e.push(k(n));
491
491
  var a = n = null, o;
492
- for (o in t) if (i.call(t, o)) {
492
+ for (o in t) if (r.call(t, o)) {
493
493
  var s = t[o];
494
494
  if (s != null) switch (o) {
495
495
  case "children":
@@ -498,7 +498,7 @@ var M = {
498
498
  case "dangerouslySetInnerHTML":
499
499
  a = s;
500
500
  break;
501
- default: w(e, r, o, s);
501
+ default: w(e, i, o, s);
502
502
  }
503
503
  }
504
504
  return e.push(">"), T(e, a, n), typeof n == "string" ? (e.push(g(n)), null) : n;
@@ -507,18 +507,18 @@ var M = {
507
507
  function k(e) {
508
508
  var t = ee.get(e);
509
509
  if (t === void 0) {
510
- if (!O.test(e)) throw Error(r(65, e));
510
+ if (!O.test(e)) throw Error(n(65, e));
511
511
  t = "<" + e, ee.set(e, t);
512
512
  }
513
513
  return t;
514
514
  }
515
- function te(e, t, n, a, o) {
515
+ function te(e, t, i, a, o) {
516
516
  switch (t) {
517
517
  case "select":
518
518
  e.push(k("select"));
519
519
  var s = null, l = null;
520
- for (p in n) if (i.call(n, p)) {
521
- var u = n[p];
520
+ for (p in i) if (r.call(i, p)) {
521
+ var u = i[p];
522
522
  if (u != null) switch (p) {
523
523
  case "children":
524
524
  s = u;
@@ -535,8 +535,8 @@ var M = {
535
535
  case "option":
536
536
  l = o.selectedValue, e.push(k("option"));
537
537
  var d = u = null, f = null, p = null;
538
- for (s in n) if (i.call(n, s)) {
539
- var m = n[s];
538
+ for (s in i) if (r.call(i, s)) {
539
+ var m = i[s];
540
540
  if (m != null) switch (s) {
541
541
  case "children":
542
542
  u = m;
@@ -551,16 +551,16 @@ var M = {
551
551
  default: w(e, a, s, m);
552
552
  }
553
553
  }
554
- if (l != null) if (n = d === null ? E(u) : "" + d, y(l)) {
555
- for (a = 0; a < l.length; a++) if ("" + l[a] === n) {
554
+ if (l != null) if (i = d === null ? E(u) : "" + d, y(l)) {
555
+ for (a = 0; a < l.length; a++) if ("" + l[a] === i) {
556
556
  e.push(" selected=\"\"");
557
557
  break;
558
558
  }
559
- } else "" + l === n && e.push(" selected=\"\"");
559
+ } else "" + l === i && e.push(" selected=\"\"");
560
560
  else f && e.push(" selected=\"\"");
561
561
  return e.push(">"), T(e, p, u), u;
562
562
  case "textarea":
563
- for (u in e.push(k("textarea")), p = l = s = null, n) if (i.call(n, u) && (d = n[u], d != null)) switch (u) {
563
+ for (u in e.push(k("textarea")), p = l = s = null, i) if (r.call(i, u) && (d = i[u], d != null)) switch (u) {
564
564
  case "children":
565
565
  p = d;
566
566
  break;
@@ -570,19 +570,19 @@ var M = {
570
570
  case "defaultValue":
571
571
  l = d;
572
572
  break;
573
- case "dangerouslySetInnerHTML": throw Error(r(91));
573
+ case "dangerouslySetInnerHTML": throw Error(n(91));
574
574
  default: w(e, a, u, d);
575
575
  }
576
576
  if (s === null && l !== null && (s = l), e.push(">"), p != null) {
577
- if (s != null) throw Error(r(92));
578
- if (y(p) && 1 < p.length) throw Error(r(93));
577
+ if (s != null) throw Error(n(92));
578
+ if (y(p) && 1 < p.length) throw Error(n(93));
579
579
  s = "" + p;
580
580
  }
581
581
  return typeof s == "string" && s[0] === "\n" && e.push("\n"), s !== null && e.push(g("" + s)), null;
582
582
  case "input":
583
- for (l in e.push(k("input")), d = p = u = s = null, n) if (i.call(n, l) && (f = n[l], f != null)) switch (l) {
583
+ for (l in e.push(k("input")), d = p = u = s = null, i) if (r.call(i, l) && (f = i[l], f != null)) switch (l) {
584
584
  case "children":
585
- case "dangerouslySetInnerHTML": throw Error(r(399, "input"));
585
+ case "dangerouslySetInnerHTML": throw Error(n(399, "input"));
586
586
  case "defaultChecked":
587
587
  d = f;
588
588
  break;
@@ -599,24 +599,24 @@ var M = {
599
599
  }
600
600
  return p === null ? d !== null && w(e, a, "checked", d) : w(e, a, "checked", p), s === null ? u !== null && w(e, a, "value", u) : w(e, a, "value", s), e.push("/>"), null;
601
601
  case "menuitem":
602
- for (var h in e.push(k("menuitem")), n) if (i.call(n, h) && (s = n[h], s != null)) switch (h) {
602
+ for (var h in e.push(k("menuitem")), i) if (r.call(i, h) && (s = i[h], s != null)) switch (h) {
603
603
  case "children":
604
- case "dangerouslySetInnerHTML": throw Error(r(400));
604
+ case "dangerouslySetInnerHTML": throw Error(n(400));
605
605
  default: w(e, a, h, s);
606
606
  }
607
607
  return e.push(">"), null;
608
608
  case "title":
609
- for (m in e.push(k("title")), s = null, n) if (i.call(n, m) && (l = n[m], l != null)) switch (m) {
609
+ for (m in e.push(k("title")), s = null, i) if (r.call(i, m) && (l = i[m], l != null)) switch (m) {
610
610
  case "children":
611
611
  s = l;
612
612
  break;
613
- case "dangerouslySetInnerHTML": throw Error(r(434));
613
+ case "dangerouslySetInnerHTML": throw Error(n(434));
614
614
  default: w(e, a, m, l);
615
615
  }
616
616
  return e.push(">"), s;
617
617
  case "listing":
618
618
  case "pre":
619
- for (d in e.push(k(t)), l = s = null, n) if (i.call(n, d) && (u = n[d], u != null)) switch (d) {
619
+ for (d in e.push(k(t)), l = s = null, i) if (r.call(i, d) && (u = i[d], u != null)) switch (d) {
620
620
  case "children":
621
621
  s = u;
622
622
  break;
@@ -626,9 +626,9 @@ var M = {
626
626
  default: w(e, a, d, u);
627
627
  }
628
628
  if (e.push(">"), l != null) {
629
- if (s != null) throw Error(r(60));
630
- if (typeof l != "object" || !("__html" in l)) throw Error(r(61));
631
- n = l.__html, n != null && (typeof n == "string" && 0 < n.length && n[0] === "\n" ? e.push("\n", n) : e.push("" + n));
629
+ if (s != null) throw Error(n(60));
630
+ if (typeof l != "object" || !("__html" in l)) throw Error(n(61));
631
+ i = l.__html, i != null && (typeof i == "string" && 0 < i.length && i[0] === "\n" ? e.push("\n", i) : e.push("" + i));
632
632
  }
633
633
  return typeof s == "string" && s[0] === "\n" && e.push("\n"), s;
634
634
  case "area":
@@ -645,9 +645,9 @@ var M = {
645
645
  case "source":
646
646
  case "track":
647
647
  case "wbr":
648
- for (var _ in e.push(k(t)), n) if (i.call(n, _) && (s = n[_], s != null)) switch (_) {
648
+ for (var _ in e.push(k(t)), i) if (r.call(i, _) && (s = i[_], s != null)) switch (_) {
649
649
  case "children":
650
- case "dangerouslySetInnerHTML": throw Error(r(399, t));
650
+ case "dangerouslySetInnerHTML": throw Error(n(399, t));
651
651
  default: w(e, a, _, s);
652
652
  }
653
653
  return e.push("/>"), null;
@@ -658,11 +658,11 @@ var M = {
658
658
  case "font-face-uri":
659
659
  case "font-face-format":
660
660
  case "font-face-name":
661
- case "missing-glyph": return D(e, n, t, a);
662
- case "html": return o.insertionMode === 0 && e.push("<!DOCTYPE html>"), D(e, n, t, a);
661
+ case "missing-glyph": return D(e, i, t, a);
662
+ case "html": return o.insertionMode === 0 && e.push("<!DOCTYPE html>"), D(e, i, t, a);
663
663
  default:
664
- if (t.indexOf("-") === -1 && typeof n.is != "string") return D(e, n, t, a);
665
- for (f in e.push(k(t)), l = s = null, n) if (i.call(n, f) && (u = n[f], u != null)) switch (f) {
664
+ if (t.indexOf("-") === -1 && typeof i.is != "string") return D(e, i, t, a);
665
+ for (f in e.push(k(t)), l = s = null, i) if (r.call(i, f) && (u = i[f], u != null)) switch (f) {
666
666
  case "children":
667
667
  s = u;
668
668
  break;
@@ -679,12 +679,12 @@ var M = {
679
679
  return e.push(">"), T(e, l, s), s;
680
680
  }
681
681
  }
682
- function ne(e, t, n) {
683
- if (e.push("<!--$?--><template id=\""), n === null) throw Error(r(395));
684
- return e.push(n), e.push("\"></template>");
682
+ function ne(e, t, r) {
683
+ if (e.push("<!--$?--><template id=\""), r === null) throw Error(n(395));
684
+ return e.push(r), e.push("\"></template>");
685
685
  }
686
- function re(e, t, n, i) {
687
- switch (n.insertionMode) {
686
+ function re(e, t, r, i) {
687
+ switch (r.insertionMode) {
688
688
  case 0:
689
689
  case 1: return e.push("<div hidden id=\""), e.push(t.segmentPrefix), t = i.toString(16), e.push(t), e.push("\">");
690
690
  case 2: return e.push("<svg aria-hidden=\"true\" style=\"display:none\" id=\""), e.push(t.segmentPrefix), t = i.toString(16), e.push(t), e.push("\">");
@@ -693,7 +693,7 @@ var M = {
693
693
  case 5: return e.push("<table hidden><tbody id=\""), e.push(t.segmentPrefix), t = i.toString(16), e.push(t), e.push("\">");
694
694
  case 6: return e.push("<table hidden><tr id=\""), e.push(t.segmentPrefix), t = i.toString(16), e.push(t), e.push("\">");
695
695
  case 7: return e.push("<table hidden><colgroup id=\""), e.push(t.segmentPrefix), t = i.toString(16), e.push(t), e.push("\">");
696
- default: throw Error(r(397));
696
+ default: throw Error(n(397));
697
697
  }
698
698
  }
699
699
  function ie(e, t) {
@@ -706,7 +706,7 @@ var M = {
706
706
  case 5: return e.push("</tbody></table>");
707
707
  case 6: return e.push("</tr></table>");
708
708
  case 7: return e.push("</colgroup></table>");
709
- default: throw Error(r(397));
709
+ default: throw Error(n(397));
710
710
  }
711
711
  }
712
712
  var ae = /[<\u2028\u2029]/g;
@@ -738,76 +738,76 @@ var M = {
738
738
  function se(e, t, n, r) {
739
739
  return n.generateStaticMarkup ? (e.push(g(t)), !1) : (t === "" ? e = r : (r && e.push("<!-- -->"), e.push(g(t)), e = !0), e);
740
740
  }
741
- var j = Object.assign, ce = Symbol.for("react.element"), le = Symbol.for("react.portal"), ue = 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"), ye = Symbol.iterator;
742
- function be(e) {
741
+ var ce = Object.assign, le = Symbol.for("react.element"), ue = Symbol.for("react.portal"), de = Symbol.for("react.fragment"), fe = Symbol.for("react.strict_mode"), pe = Symbol.for("react.profiler"), me = Symbol.for("react.provider"), he = Symbol.for("react.context"), j = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), ge = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), F = Symbol.for("react.scope"), _e = Symbol.for("react.debug_trace_mode"), ve = Symbol.for("react.legacy_hidden"), ye = Symbol.for("react.default_value"), be = Symbol.iterator;
742
+ function xe(e) {
743
743
  if (e == null) return null;
744
744
  if (typeof e == "function") return e.displayName || e.name || null;
745
745
  if (typeof e == "string") return e;
746
746
  switch (e) {
747
- case ue: return "Fragment";
748
- case le: return "Portal";
749
- case fe: return "Profiler";
750
- case de: return "StrictMode";
751
- case N: return "Suspense";
752
- case P: return "SuspenseList";
747
+ case de: return "Fragment";
748
+ case ue: return "Portal";
749
+ case pe: return "Profiler";
750
+ case fe: return "StrictMode";
751
+ case M: return "Suspense";
752
+ case N: return "SuspenseList";
753
753
  }
754
754
  if (typeof e == "object") switch (e.$$typeof) {
755
- case me: return (e.displayName || "Context") + ".Consumer";
756
- case pe: return (e._context.displayName || "Context") + ".Provider";
757
- case M:
755
+ case he: return (e.displayName || "Context") + ".Consumer";
756
+ case me: return (e._context.displayName || "Context") + ".Provider";
757
+ case j:
758
758
  var t = e.render;
759
759
  return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
760
- case he: return t = e.displayName || null, t === null ? be(e.type) || "Memo" : t;
761
- case F:
760
+ case ge: return t = e.displayName || null, t === null ? xe(e.type) || "Memo" : t;
761
+ case P:
762
762
  t = e._payload, e = e._init;
763
763
  try {
764
- return be(e(t));
764
+ return xe(e(t));
765
765
  } catch {}
766
766
  }
767
767
  return null;
768
768
  }
769
- var xe = {};
770
- function Se(e, t) {
771
- if (e = e.contextTypes, !e) return xe;
769
+ var Se = {};
770
+ function Ce(e, t) {
771
+ if (e = e.contextTypes, !e) return Se;
772
772
  var n = {}, r;
773
773
  for (r in e) n[r] = t[r];
774
774
  return n;
775
775
  }
776
- var L = null;
777
- function R(e, t) {
776
+ var I = null;
777
+ function L(e, t) {
778
778
  if (e !== t) {
779
779
  e.context._currentValue2 = e.parentValue, e = e.parent;
780
- var n = t.parent;
780
+ var r = t.parent;
781
781
  if (e === null) {
782
- if (n !== null) throw Error(r(401));
782
+ if (r !== null) throw Error(n(401));
783
783
  } else {
784
- if (n === null) throw Error(r(401));
785
- R(e, n);
784
+ if (r === null) throw Error(n(401));
785
+ L(e, r);
786
786
  }
787
787
  t.context._currentValue2 = t.value;
788
788
  }
789
789
  }
790
- function Ce(e) {
791
- e.context._currentValue2 = e.parentValue, e = e.parent, e !== null && Ce(e);
792
- }
793
790
  function we(e) {
794
- var t = e.parent;
795
- t !== null && we(t), e.context._currentValue2 = e.value;
791
+ e.context._currentValue2 = e.parentValue, e = e.parent, e !== null && we(e);
796
792
  }
797
- function z(e, t) {
798
- if (e.context._currentValue2 = e.parentValue, e = e.parent, e === null) throw Error(r(402));
799
- e.depth === t.depth ? R(e, t) : z(e, t);
793
+ function R(e) {
794
+ var t = e.parent;
795
+ t !== null && R(t), e.context._currentValue2 = e.value;
800
796
  }
801
797
  function Te(e, t) {
802
- var n = t.parent;
803
- if (n === null) throw Error(r(402));
804
- e.depth === n.depth ? R(e, n) : Te(e, n), t.context._currentValue2 = t.value;
798
+ if (e.context._currentValue2 = e.parentValue, e = e.parent, e === null) throw Error(n(402));
799
+ e.depth === t.depth ? L(e, t) : Te(e, t);
805
800
  }
806
- function Ee(e) {
807
- var t = L;
808
- t !== e && (t === null ? we(e) : e === null ? Ce(t) : t.depth === e.depth ? R(t, e) : t.depth > e.depth ? z(t, e) : Te(t, e), L = e);
801
+ function Ee(e, t) {
802
+ var r = t.parent;
803
+ if (r === null) throw Error(n(402));
804
+ e.depth === r.depth ? L(e, r) : Ee(e, r), t.context._currentValue2 = t.value;
809
805
  }
810
- var De = {
806
+ function De(e) {
807
+ var t = I;
808
+ t !== e && (t === null ? R(e) : e === null ? we(t) : t.depth === e.depth ? L(t, e) : t.depth > e.depth ? Te(t, e) : Ee(t, e), I = e);
809
+ }
810
+ var Oe = {
811
811
  isMounted: function() {
812
812
  return !1;
813
813
  },
@@ -819,39 +819,39 @@ var M = {
819
819
  },
820
820
  enqueueForceUpdate: function() {}
821
821
  };
822
- function Oe(e, t, n, r) {
822
+ function ke(e, t, n, r) {
823
823
  var i = e.state === void 0 ? null : e.state;
824
- e.updater = De, e.props = n, e.state = i;
824
+ e.updater = Oe, e.props = n, e.state = i;
825
825
  var a = {
826
826
  queue: [],
827
827
  replace: !1
828
828
  };
829
829
  e._reactInternals = a;
830
830
  var o = t.contextType;
831
- 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 && De.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];
831
+ 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 && Oe.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];
832
832
  else {
833
833
  for (a = o ? t[0] : e.state, i = !0, o = +!!o; o < t.length; o++) {
834
834
  var s = t[o];
835
- s = typeof s == "function" ? s.call(e, a, n, r) : s, s != null && (i ? (i = !1, a = j({}, a, s)) : j(a, s));
835
+ s = typeof s == "function" ? s.call(e, a, n, r) : s, s != null && (i ? (i = !1, a = ce({}, a, s)) : ce(a, s));
836
836
  }
837
837
  e.state = a;
838
838
  }
839
839
  else a.queue = null;
840
840
  }
841
- var ke = {
841
+ var Ae = {
842
842
  id: 1,
843
843
  overflow: ""
844
844
  };
845
- function Ae(e, t, n) {
845
+ function z(e, t, n) {
846
846
  var r = e.id;
847
847
  e = e.overflow;
848
- var i = 32 - B(r) - 1;
848
+ var i = 32 - je(r) - 1;
849
849
  r &= ~(1 << i), n += 1;
850
- var a = 32 - B(t) + i;
850
+ var a = 32 - je(t) + i;
851
851
  if (30 < a) {
852
852
  var o = i - i % 5;
853
853
  return a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, {
854
- id: 1 << 32 - B(t) + i | n << i | r,
854
+ id: 1 << 32 - je(t) + i | n << i | r,
855
855
  overflow: a + e
856
856
  };
857
857
  }
@@ -860,40 +860,40 @@ var M = {
860
860
  overflow: e
861
861
  };
862
862
  }
863
- var B = Math.clz32 ? Math.clz32 : Ne, je = Math.log, Me = Math.LN2;
864
- function Ne(e) {
865
- return e >>>= 0, e === 0 ? 32 : 31 - (je(e) / Me | 0) | 0;
863
+ var je = Math.clz32 ? Math.clz32 : Pe, Me = Math.log, Ne = Math.LN2;
864
+ function Pe(e) {
865
+ return e >>>= 0, e === 0 ? 32 : 31 - (Me(e) / Ne | 0) | 0;
866
866
  }
867
- function Pe(e, t) {
867
+ function Fe(e, t) {
868
868
  return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
869
869
  }
870
- 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, W = 0;
870
+ var B = typeof Object.is == "function" ? Object.is : Fe, V = null, Ie = null, Le = null, H = null, Re = !1, ze = !1, U = 0, W = null, Be = 0;
871
871
  function G() {
872
- if (V === null) throw Error(r(321));
872
+ if (V === null) throw Error(n(321));
873
873
  return V;
874
874
  }
875
- function K() {
876
- if (0 < W) throw Error(r(312));
875
+ function Ve() {
876
+ if (0 < Be) throw Error(n(312));
877
877
  return {
878
878
  memoizedState: null,
879
879
  queue: null,
880
880
  next: null
881
881
  };
882
882
  }
883
- function Ve() {
884
- return H === null ? Le === null ? (Re = !1, Le = H = K()) : (Re = !0, H = Le) : H.next === null ? (Re = !1, H = H.next = K()) : (Re = !0, H = H.next), H;
885
- }
886
883
  function He() {
887
- Ie = V = null, ze = !1, Le = null, W = 0, H = U = null;
884
+ return H === null ? Le === null ? (Re = !1, Le = H = Ve()) : (Re = !0, H = Le) : H.next === null ? (Re = !1, H = H.next = Ve()) : (Re = !0, H = H.next), H;
888
885
  }
889
- function Ue(e, t) {
886
+ function Ue() {
887
+ Ie = V = null, ze = !1, Le = null, Be = 0, H = W = null;
888
+ }
889
+ function We(e, t) {
890
890
  return typeof t == "function" ? t(e) : t;
891
891
  }
892
- function We(e, t, n) {
893
- if (V = G(), H = Ve(), Re) {
892
+ function Ge(e, t, n) {
893
+ if (V = G(), H = He(), Re) {
894
894
  var r = H.queue;
895
- if (t = r.dispatch, U !== null && (n = U.get(r), n !== void 0)) {
896
- U.delete(r), r = H.memoizedState;
895
+ if (t = r.dispatch, W !== null && (n = W.get(r), n !== void 0)) {
896
+ W.delete(r), r = H.memoizedState;
897
897
  do
898
898
  r = e(r, n.action), n = n.next;
899
899
  while (n !== null);
@@ -901,19 +901,19 @@ var M = {
901
901
  }
902
902
  return [H.memoizedState, t];
903
903
  }
904
- return e = e === Ue ? typeof t == "function" ? t() : t : n === void 0 ? t : n(t), H.memoizedState = e, e = H.queue = {
904
+ return e = e === We ? typeof t == "function" ? t() : t : n === void 0 ? t : n(t), H.memoizedState = e, e = H.queue = {
905
905
  last: null,
906
906
  dispatch: null
907
907
  }, e = e.dispatch = Ke.bind(null, V, e), [H.memoizedState, e];
908
908
  }
909
- function Ge(e, t) {
910
- if (V = G(), H = Ve(), t = t === void 0 ? null : t, H !== null) {
909
+ function K(e, t) {
910
+ if (V = G(), H = He(), t = t === void 0 ? null : t, H !== null) {
911
911
  var n = H.memoizedState;
912
912
  if (n !== null && t !== null) {
913
913
  var r = n[1];
914
914
  a: if (r === null) r = !1;
915
915
  else {
916
- for (var i = 0; i < r.length && i < t.length; i++) if (!Fe(t[i], r[i])) {
916
+ for (var i = 0; i < r.length && i < t.length; i++) if (!B(t[i], r[i])) {
917
917
  r = !1;
918
918
  break a;
919
919
  }
@@ -924,19 +924,19 @@ var M = {
924
924
  }
925
925
  return e = e(), H.memoizedState = [e, t], e;
926
926
  }
927
- function Ke(e, t, n) {
928
- if (25 <= W) throw Error(r(301));
927
+ function Ke(e, t, r) {
928
+ if (25 <= Be) throw Error(n(301));
929
929
  if (e === V) if (ze = !0, e = {
930
- action: n,
930
+ action: r,
931
931
  next: null
932
- }, U === null && (U = /* @__PURE__ */ new Map()), n = U.get(t), n === void 0) U.set(t, e);
932
+ }, W === null && (W = /* @__PURE__ */ new Map()), r = W.get(t), r === void 0) W.set(t, e);
933
933
  else {
934
- for (t = n; t.next !== null;) t = t.next;
934
+ for (t = r; t.next !== null;) t = t.next;
935
935
  t.next = e;
936
936
  }
937
937
  }
938
938
  function qe() {
939
- throw Error(r(394));
939
+ throw Error(n(394));
940
940
  }
941
941
  function Je() {}
942
942
  var Ye = {
@@ -946,20 +946,20 @@ var M = {
946
946
  useContext: function(e) {
947
947
  return G(), e._currentValue2;
948
948
  },
949
- useMemo: Ge,
950
- useReducer: We,
949
+ useMemo: K,
950
+ useReducer: Ge,
951
951
  useRef: function(e) {
952
- V = G(), H = Ve();
952
+ V = G(), H = He();
953
953
  var t = H.memoizedState;
954
954
  return t === null ? (e = { current: e }, H.memoizedState = e) : t;
955
955
  },
956
956
  useState: function(e) {
957
- return We(Ue, e);
957
+ return Ge(We, e);
958
958
  },
959
959
  useInsertionEffect: Je,
960
960
  useLayoutEffect: function() {},
961
961
  useCallback: function(e, t) {
962
- return Ge(function() {
962
+ return K(function() {
963
963
  return e;
964
964
  }, t);
965
965
  },
@@ -974,19 +974,19 @@ var M = {
974
974
  },
975
975
  useId: function() {
976
976
  var e = Ie.treeContext, t = e.overflow;
977
- e = e.id, e = (e & ~(1 << 32 - B(e) - 1)).toString(32) + t;
978
- var n = Xe;
979
- if (n === null) throw Error(r(404));
980
- return t = Be++, e = ":" + n.idPrefix + "R" + e, 0 < t && (e += "H" + t.toString(32)), e + ":";
977
+ e = e.id, e = (e & ~(1 << 32 - je(e) - 1)).toString(32) + t;
978
+ var r = Xe;
979
+ if (r === null) throw Error(n(404));
980
+ return t = U++, e = ":" + r.idPrefix + "R" + e, 0 < t && (e += "H" + t.toString(32)), e + ":";
981
981
  },
982
982
  useMutableSource: function(e, t) {
983
983
  return G(), t(e._source);
984
984
  },
985
- useSyncExternalStore: function(e, t, n) {
986
- if (n === void 0) throw Error(r(407));
987
- return n();
985
+ useSyncExternalStore: function(e, t, r) {
986
+ if (r === void 0) throw Error(n(407));
987
+ return r();
988
988
  }
989
- }, Xe = null, Ze = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
989
+ }, Xe = null, Ze = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
990
990
  function Qe(e) {
991
991
  return console.error(e), null;
992
992
  }
@@ -1013,7 +1013,7 @@ var M = {
1013
1013
  onShellReady: o === void 0 ? $e : o,
1014
1014
  onShellError: s === void 0 ? $e : s,
1015
1015
  onFatalError: c === void 0 ? $e : c
1016
- }, n = nt(t, 0, null, n, !1, !1), n.parentFlushed = !0, e = tt(t, e, null, n, u, xe, null, ke), l.push(e), t;
1016
+ }, n = nt(t, 0, null, n, !1, !1), n.parentFlushed = !0, e = tt(t, e, null, n, u, Se, null, Ae), l.push(e), t;
1017
1017
  }
1018
1018
  function tt(e, t, n, r, i, a, o, s) {
1019
1019
  e.allPendingTasks++, n === null ? e.pendingRootTasks++ : n.pendingTasks++;
@@ -1021,7 +1021,7 @@ var M = {
1021
1021
  node: t,
1022
1022
  ping: function() {
1023
1023
  var t = e.pingedTasks;
1024
- t.push(c), t.length === 1 && ht(e);
1024
+ t.push(c), t.length === 1 && J(e);
1025
1025
  },
1026
1026
  blockedBoundary: n,
1027
1027
  blockedSegment: r,
@@ -1055,39 +1055,39 @@ var M = {
1055
1055
  n(t), n = e.onFatalError, n(t), e.destination === null ? (e.status = 1, e.fatalError = t) : (e.status = 2, e.destination.destroy(t));
1056
1056
  }
1057
1057
  function at(e, t, n, r, i) {
1058
- for (V = {}, Ie = t, Be = 0, e = n(r, i); ze;) ze = !1, Be = 0, W += 1, H = null, e = n(r, i);
1059
- return He(), e;
1058
+ for (V = {}, Ie = t, U = 0, e = n(r, i); ze;) ze = !1, U = 0, Be += 1, H = null, e = n(r, i);
1059
+ return Ue(), e;
1060
1060
  }
1061
- function ot(e, t, n, i) {
1062
- var a = n.render(), o = i.childContextTypes;
1061
+ function ot(e, t, r, i) {
1062
+ var a = r.render(), o = i.childContextTypes;
1063
1063
  if (o != null) {
1064
1064
  var s = t.legacyContext;
1065
- if (typeof n.getChildContext != "function") i = s;
1065
+ if (typeof r.getChildContext != "function") i = s;
1066
1066
  else {
1067
- for (var c in n = n.getChildContext(), n) if (!(c in o)) throw Error(r(108, be(i) || "Unknown", c));
1068
- i = j({}, s, n);
1067
+ for (var c in r = r.getChildContext(), r) if (!(c in o)) throw Error(n(108, xe(i) || "Unknown", c));
1068
+ i = ce({}, s, r);
1069
1069
  }
1070
1070
  t.legacyContext = i, q(e, t, a), t.legacyContext = s;
1071
1071
  } else q(e, t, a);
1072
1072
  }
1073
1073
  function st(e, t) {
1074
1074
  if (e && e.defaultProps) {
1075
- for (var n in t = j({}, t), e = e.defaultProps, e) t[n] === void 0 && (t[n] = e[n]);
1075
+ for (var n in t = ce({}, t), e = e.defaultProps, e) t[n] === void 0 && (t[n] = e[n]);
1076
1076
  return t;
1077
1077
  }
1078
1078
  return t;
1079
1079
  }
1080
- function ct(e, t, n, i, a) {
1081
- if (typeof n == "function") if (n.prototype && n.prototype.isReactComponent) {
1082
- a = Se(n, t.legacyContext);
1083
- var o = n.contextType;
1084
- o = new n(i, typeof o == "object" && o ? o._currentValue2 : a), Oe(o, n, i, a), ot(e, t, o, n);
1080
+ function ct(e, t, r, i, a) {
1081
+ if (typeof r == "function") if (r.prototype && r.prototype.isReactComponent) {
1082
+ a = Ce(r, t.legacyContext);
1083
+ var o = r.contextType;
1084
+ o = new r(i, typeof o == "object" && o ? o._currentValue2 : a), ke(o, r, i, a), ot(e, t, o, r);
1085
1085
  } else {
1086
- o = Se(n, t.legacyContext), a = at(e, t, n, i, o);
1087
- var s = Be !== 0;
1088
- if (typeof a == "object" && a && typeof a.render == "function" && a.$$typeof === void 0) Oe(a, n, i, o), ot(e, t, a, n);
1086
+ o = Ce(r, t.legacyContext), a = at(e, t, r, i, o);
1087
+ var s = U !== 0;
1088
+ if (typeof a == "object" && a && typeof a.render == "function" && a.$$typeof === void 0) ke(a, r, i, o), ot(e, t, a, r);
1089
1089
  else if (s) {
1090
- i = t.treeContext, t.treeContext = Ae(i, 1, 0);
1090
+ i = t.treeContext, t.treeContext = z(i, 1, 0);
1091
1091
  try {
1092
1092
  q(e, t, a);
1093
1093
  } finally {
@@ -1095,8 +1095,8 @@ var M = {
1095
1095
  }
1096
1096
  } else q(e, t, a);
1097
1097
  }
1098
- else if (typeof n == "string") {
1099
- switch (a = t.blockedSegment, o = te(a.chunks, n, i, e.responseState, a.formatContext), a.lastPushedText = !1, s = a.formatContext, a.formatContext = x(s, n, i), ut(e, t, o), a.formatContext = s, n) {
1098
+ else if (typeof r == "string") {
1099
+ switch (a = t.blockedSegment, o = te(a.chunks, r, i, e.responseState, a.formatContext), a.lastPushedText = !1, s = a.formatContext, a.formatContext = x(s, r, i), ut(e, t, o), a.formatContext = s, r) {
1100
1100
  case "area":
1101
1101
  case "base":
1102
1102
  case "br":
@@ -1112,25 +1112,25 @@ var M = {
1112
1112
  case "source":
1113
1113
  case "track":
1114
1114
  case "wbr": break;
1115
- default: a.chunks.push("</", n, ">");
1115
+ default: a.chunks.push("</", r, ">");
1116
1116
  }
1117
1117
  a.lastPushedText = !1;
1118
1118
  } else {
1119
- switch (n) {
1119
+ switch (r) {
1120
+ case ve:
1120
1121
  case _e:
1121
- case ge:
1122
- case de:
1123
1122
  case fe:
1124
- case ue:
1123
+ case pe:
1124
+ case de:
1125
1125
  q(e, t, i.children);
1126
1126
  return;
1127
- case P:
1127
+ case N:
1128
1128
  q(e, t, i.children);
1129
1129
  return;
1130
- case I: throw Error(r(343));
1131
- case N:
1130
+ case F: throw Error(n(343));
1131
+ case M:
1132
1132
  a: {
1133
- n = t.blockedBoundary, a = t.blockedSegment, o = i.fallback, i = i.children, s = /* @__PURE__ */ new Set();
1133
+ r = t.blockedBoundary, a = t.blockedSegment, o = i.fallback, i = i.children, s = /* @__PURE__ */ new Set();
1134
1134
  var c = {
1135
1135
  id: null,
1136
1136
  rootSegmentID: -1,
@@ -1150,80 +1150,80 @@ var M = {
1150
1150
  } catch (t) {
1151
1151
  u.status = 4, c.forceClientRender = !0, c.errorDigest = rt(e, t);
1152
1152
  } finally {
1153
- t.blockedBoundary = n, t.blockedSegment = a;
1153
+ t.blockedBoundary = r, t.blockedSegment = a;
1154
1154
  }
1155
- t = tt(e, o, n, l, s, t.legacyContext, t.context, t.treeContext), e.pingedTasks.push(t);
1155
+ t = tt(e, o, r, l, s, t.legacyContext, t.context, t.treeContext), e.pingedTasks.push(t);
1156
1156
  }
1157
1157
  return;
1158
1158
  }
1159
- if (typeof n == "object" && n) switch (n.$$typeof) {
1160
- case M:
1161
- if (i = at(e, t, n.render, i, a), Be !== 0) {
1162
- n = t.treeContext, t.treeContext = Ae(n, 1, 0);
1159
+ if (typeof r == "object" && r) switch (r.$$typeof) {
1160
+ case j:
1161
+ if (i = at(e, t, r.render, i, a), U !== 0) {
1162
+ r = t.treeContext, t.treeContext = z(r, 1, 0);
1163
1163
  try {
1164
1164
  q(e, t, i);
1165
1165
  } finally {
1166
- t.treeContext = n;
1166
+ t.treeContext = r;
1167
1167
  }
1168
1168
  } else q(e, t, i);
1169
1169
  return;
1170
- case he:
1171
- n = n.type, i = st(n, i), ct(e, t, n, i, a);
1170
+ case ge:
1171
+ r = r.type, i = st(r, i), ct(e, t, r, i, a);
1172
1172
  return;
1173
- case pe:
1174
- if (a = i.children, n = n._context, i = i.value, o = n._currentValue2, n._currentValue2 = i, s = L, L = i = {
1173
+ case me:
1174
+ if (a = i.children, r = r._context, i = i.value, o = r._currentValue2, r._currentValue2 = i, s = I, I = i = {
1175
1175
  parent: s,
1176
1176
  depth: s === null ? 0 : s.depth + 1,
1177
- context: n,
1177
+ context: r,
1178
1178
  parentValue: o,
1179
1179
  value: i
1180
- }, t.context = i, q(e, t, a), e = L, e === null) throw Error(r(403));
1181
- i = e.parentValue, e.context._currentValue2 = i === ve ? e.context._defaultValue : i, e = L = e.parent, t.context = e;
1180
+ }, t.context = i, q(e, t, a), e = I, e === null) throw Error(n(403));
1181
+ i = e.parentValue, e.context._currentValue2 = i === ye ? e.context._defaultValue : i, e = I = e.parent, t.context = e;
1182
1182
  return;
1183
- case me:
1184
- i = i.children, i = i(n._currentValue2), q(e, t, i);
1183
+ case he:
1184
+ i = i.children, i = i(r._currentValue2), q(e, t, i);
1185
1185
  return;
1186
- case F:
1187
- a = n._init, n = a(n._payload), i = st(n, i), ct(e, t, n, i, void 0);
1186
+ case P:
1187
+ a = r._init, r = a(r._payload), i = st(r, i), ct(e, t, r, i, void 0);
1188
1188
  return;
1189
1189
  }
1190
- throw Error(r(130, n == null ? n : typeof n, ""));
1190
+ throw Error(n(130, r == null ? r : typeof r, ""));
1191
1191
  }
1192
1192
  }
1193
- function q(e, t, n) {
1194
- if (t.node = n, typeof n == "object" && n) {
1195
- switch (n.$$typeof) {
1196
- case ce:
1197
- ct(e, t, n.type, n.props, n.ref);
1193
+ function q(e, t, r) {
1194
+ if (t.node = r, typeof r == "object" && r) {
1195
+ switch (r.$$typeof) {
1196
+ case le:
1197
+ ct(e, t, r.type, r.props, r.ref);
1198
1198
  return;
1199
- case le: throw Error(r(257));
1200
- case F:
1201
- var i = n._init;
1202
- n = i(n._payload), q(e, t, n);
1199
+ case ue: throw Error(n(257));
1200
+ case P:
1201
+ var i = r._init;
1202
+ r = i(r._payload), q(e, t, r);
1203
1203
  return;
1204
1204
  }
1205
- if (y(n)) {
1206
- lt(e, t, n);
1205
+ if (y(r)) {
1206
+ lt(e, t, r);
1207
1207
  return;
1208
1208
  }
1209
- if (typeof n != "object" || !n ? i = null : (i = ye && n[ye] || n["@@iterator"], i = typeof i == "function" ? i : null), i &&= i.call(n)) {
1210
- if (n = i.next(), !n.done) {
1209
+ if (typeof r != "object" || !r ? i = null : (i = be && r[be] || r["@@iterator"], i = typeof i == "function" ? i : null), i &&= i.call(r)) {
1210
+ if (r = i.next(), !r.done) {
1211
1211
  var a = [];
1212
1212
  do
1213
- a.push(n.value), n = i.next();
1214
- while (!n.done);
1213
+ a.push(r.value), r = i.next();
1214
+ while (!r.done);
1215
1215
  lt(e, t, a);
1216
1216
  }
1217
1217
  return;
1218
1218
  }
1219
- throw e = Object.prototype.toString.call(n), Error(r(31, e === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : e));
1219
+ throw e = Object.prototype.toString.call(r), Error(n(31, e === "[object Object]" ? "object with keys {" + Object.keys(r).join(", ") + "}" : e));
1220
1220
  }
1221
- typeof n == "string" ? (i = t.blockedSegment, i.lastPushedText = se(t.blockedSegment.chunks, n, e.responseState, i.lastPushedText)) : typeof n == "number" && (i = t.blockedSegment, i.lastPushedText = se(t.blockedSegment.chunks, "" + n, e.responseState, i.lastPushedText));
1221
+ typeof r == "string" ? (i = t.blockedSegment, i.lastPushedText = se(t.blockedSegment.chunks, r, e.responseState, i.lastPushedText)) : typeof r == "number" && (i = t.blockedSegment, i.lastPushedText = se(t.blockedSegment.chunks, "" + r, e.responseState, i.lastPushedText));
1222
1222
  }
1223
1223
  function lt(e, t, n) {
1224
1224
  for (var r = n.length, i = 0; i < r; i++) {
1225
1225
  var a = t.treeContext;
1226
- t.treeContext = Ae(a, r, i);
1226
+ t.treeContext = z(a, r, i);
1227
1227
  try {
1228
1228
  ut(e, t, n[i]);
1229
1229
  } finally {
@@ -1236,21 +1236,21 @@ var M = {
1236
1236
  try {
1237
1237
  return q(e, t, n);
1238
1238
  } catch (c) {
1239
- if (He(), typeof c == "object" && c && typeof c.then == "function") {
1239
+ if (Ue(), typeof c == "object" && c && typeof c.then == "function") {
1240
1240
  n = c;
1241
1241
  var o = t.blockedSegment, s = nt(e, o.chunks.length, null, o.formatContext, o.lastPushedText, !0);
1242
- 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, Ee(a);
1243
- } else throw t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, Ee(a), c;
1242
+ 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, De(a);
1243
+ } else throw t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, De(a), c;
1244
1244
  }
1245
1245
  }
1246
1246
  function dt(e) {
1247
1247
  var t = e.blockedBoundary;
1248
1248
  e = e.blockedSegment, e.status = 3, mt(this, t, e);
1249
1249
  }
1250
- function ft(e, t, n) {
1250
+ function ft(e, t, r) {
1251
1251
  var i = e.blockedBoundary;
1252
- e.blockedSegment.status = 3, i === null ? (t.allPendingTasks--, t.status !== 2 && (t.status = 2, t.destination !== null && t.destination.push(null))) : (i.pendingTasks--, i.forceClientRender || (i.forceClientRender = !0, e = n === void 0 ? Error(r(432)) : n, i.errorDigest = t.onError(e), i.parentFlushed && t.clientRenderedBoundaries.push(i)), i.fallbackAbortableTasks.forEach(function(e) {
1253
- return ft(e, t, n);
1252
+ e.blockedSegment.status = 3, i === null ? (t.allPendingTasks--, t.status !== 2 && (t.status = 2, t.destination !== null && t.destination.push(null))) : (i.pendingTasks--, i.forceClientRender || (i.forceClientRender = !0, e = r === void 0 ? Error(n(432)) : r, i.errorDigest = t.onError(e), i.parentFlushed && t.clientRenderedBoundaries.push(i)), i.fallbackAbortableTasks.forEach(function(e) {
1253
+ return ft(e, t, r);
1254
1254
  }), i.fallbackAbortableTasks.clear(), t.allPendingTasks--, t.allPendingTasks === 0 && (i = t.onAllReady, i()));
1255
1255
  }
1256
1256
  function pt(e, t) {
@@ -1259,19 +1259,19 @@ var M = {
1259
1259
  n.id = t.id, n.parentFlushed = !0, n.status === 1 && pt(e, n);
1260
1260
  } else e.completedSegments.push(t);
1261
1261
  }
1262
- function mt(e, t, n) {
1262
+ function mt(e, t, r) {
1263
1263
  if (t === null) {
1264
- if (n.parentFlushed) {
1265
- if (e.completedRootSegment !== null) throw Error(r(389));
1266
- e.completedRootSegment = n;
1264
+ if (r.parentFlushed) {
1265
+ if (e.completedRootSegment !== null) throw Error(n(389));
1266
+ e.completedRootSegment = r;
1267
1267
  }
1268
1268
  e.pendingRootTasks--, e.pendingRootTasks === 0 && (e.onShellError = $e, t = e.onShellReady, t());
1269
- } else t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (n.parentFlushed && n.status === 1 && pt(t, n), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(dt, e), t.fallbackAbortableTasks.clear()) : n.parentFlushed && n.status === 1 && (pt(t, n), t.completedSegments.length === 1 && t.parentFlushed && e.partialBoundaries.push(t)));
1269
+ } else t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (r.parentFlushed && r.status === 1 && pt(t, r), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(dt, e), t.fallbackAbortableTasks.clear()) : r.parentFlushed && r.status === 1 && (pt(t, r), t.completedSegments.length === 1 && t.parentFlushed && e.partialBoundaries.push(t)));
1270
1270
  e.allPendingTasks--, e.allPendingTasks === 0 && (e = e.onAllReady, e());
1271
1271
  }
1272
- function ht(e) {
1272
+ function J(e) {
1273
1273
  if (e.status !== 2) {
1274
- var t = L, n = Ze.current;
1274
+ var t = I, n = Ze.current;
1275
1275
  Ze.current = Ye;
1276
1276
  var r = Xe;
1277
1277
  Xe = e.responseState;
@@ -1280,11 +1280,11 @@ var M = {
1280
1280
  for (a = 0; a < i.length; a++) {
1281
1281
  var o = i[a], s = e, c = o.blockedSegment;
1282
1282
  if (c.status === 0) {
1283
- Ee(o.context);
1283
+ De(o.context);
1284
1284
  try {
1285
1285
  q(s, o, o.node), s.responseState.generateStaticMarkup || c.lastPushedText && c.textEmbedded && c.chunks.push("<!-- -->"), o.abortSet.delete(o), c.status = 1, mt(s, o.blockedBoundary, c);
1286
1286
  } catch (e) {
1287
- if (He(), typeof e == "object" && e && typeof e.then == "function") {
1287
+ if (Ue(), typeof e == "object" && e && typeof e.then == "function") {
1288
1288
  var l = o.ping;
1289
1289
  e.then(l, l);
1290
1290
  } else {
@@ -1298,79 +1298,79 @@ var M = {
1298
1298
  }
1299
1299
  }
1300
1300
  }
1301
- i.splice(0, a), e.destination !== null && bt(e, e.destination);
1301
+ i.splice(0, a), e.destination !== null && yt(e, e.destination);
1302
1302
  } catch (t) {
1303
1303
  rt(e, t), it(e, t);
1304
1304
  } finally {
1305
- Xe = r, Ze.current = n, n === Ye && Ee(t);
1305
+ Xe = r, Ze.current = n, n === Ye && De(t);
1306
1306
  }
1307
1307
  }
1308
1308
  }
1309
- function J(e, t, n) {
1310
- switch (n.parentFlushed = !0, n.status) {
1309
+ function ht(e, t, r) {
1310
+ switch (r.parentFlushed = !0, r.status) {
1311
1311
  case 0:
1312
- var i = n.id = e.nextSegmentId++;
1313
- return n.lastPushedText = !1, n.textEmbedded = !1, e = e.responseState, t.push("<template id=\""), t.push(e.placeholderPrefix), e = i.toString(16), t.push(e), t.push("\"></template>");
1312
+ var i = r.id = e.nextSegmentId++;
1313
+ return r.lastPushedText = !1, r.textEmbedded = !1, e = e.responseState, t.push("<template id=\""), t.push(e.placeholderPrefix), e = i.toString(16), t.push(e), t.push("\"></template>");
1314
1314
  case 1:
1315
- n.status = 2;
1315
+ r.status = 2;
1316
1316
  var a = !0;
1317
- i = n.chunks;
1317
+ i = r.chunks;
1318
1318
  var o = 0;
1319
- n = n.children;
1320
- for (var s = 0; s < n.length; s++) {
1321
- for (a = n[s]; o < a.index; o++) t.push(i[o]);
1322
- a = gt(e, t, a);
1319
+ r = r.children;
1320
+ for (var s = 0; s < r.length; s++) {
1321
+ for (a = r[s]; o < a.index; o++) t.push(i[o]);
1322
+ a = Y(e, t, a);
1323
1323
  }
1324
1324
  for (; o < i.length - 1; o++) t.push(i[o]);
1325
1325
  return o < i.length && (a = t.push(i[o])), a;
1326
- default: throw Error(r(390));
1326
+ default: throw Error(n(390));
1327
1327
  }
1328
1328
  }
1329
- function gt(e, t, n) {
1330
- var i = n.boundary;
1331
- if (i === null) return J(e, t, n);
1332
- 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>")), J(e, t, n), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
1329
+ function Y(e, t, r) {
1330
+ var i = r.boundary;
1331
+ if (i === null) return ht(e, t, r);
1332
+ 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>")), ht(e, t, r), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
1333
1333
  if (0 < i.pendingTasks) {
1334
1334
  i.rootSegmentID = e.nextSegmentId++, 0 < i.completedSegments.length && e.partialBoundaries.push(i);
1335
1335
  var a = e.responseState, o = a.nextSuspenseID++;
1336
- return a = a.boundaryPrefix + o.toString(16), i = i.id = a, ne(t, e.responseState, i), J(e, t, n), t.push("<!--/$-->");
1336
+ return a = a.boundaryPrefix + o.toString(16), i = i.id = a, ne(t, e.responseState, i), ht(e, t, r), t.push("<!--/$-->");
1337
1337
  }
1338
- if (i.byteSize > e.progressiveChunkSize) return i.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(i), ne(t, e.responseState, i.id), J(e, t, n), t.push("<!--/$-->");
1339
- if (e.responseState.generateStaticMarkup || t.push("<!--$-->"), n = i.completedSegments, n.length !== 1) throw Error(r(391));
1340
- return gt(e, t, n[0]), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
1338
+ if (i.byteSize > e.progressiveChunkSize) return i.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(i), ne(t, e.responseState, i.id), ht(e, t, r), t.push("<!--/$-->");
1339
+ if (e.responseState.generateStaticMarkup || t.push("<!--$-->"), r = i.completedSegments, r.length !== 1) throw Error(n(391));
1340
+ return Y(e, t, r[0]), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
1341
1341
  }
1342
- function _t(e, t, n) {
1343
- return re(t, e.responseState, n.formatContext, n.id), gt(e, t, n), ie(t, n.formatContext);
1342
+ function gt(e, t, n) {
1343
+ return re(t, e.responseState, n.formatContext, n.id), Y(e, t, n), ie(t, n.formatContext);
1344
1344
  }
1345
- function vt(e, t, n) {
1346
- for (var i = n.completedSegments, a = 0; a < i.length; a++) yt(e, t, n, i[a]);
1347
- if (i.length = 0, e = e.responseState, i = n.id, n = n.rootSegmentID, t.push(e.startInlineScript), e.sentCompleteBoundaryFunction ? t.push("$RC(\"") : (e.sentCompleteBoundaryFunction = !0, t.push("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(\"")), i === null) throw Error(r(395));
1348
- return n = n.toString(16), t.push(i), t.push("\",\""), t.push(e.segmentPrefix), t.push(n), t.push("\")<\/script>");
1345
+ function _t(e, t, r) {
1346
+ for (var i = r.completedSegments, a = 0; a < i.length; a++) vt(e, t, r, i[a]);
1347
+ if (i.length = 0, e = e.responseState, i = r.id, r = r.rootSegmentID, t.push(e.startInlineScript), e.sentCompleteBoundaryFunction ? t.push("$RC(\"") : (e.sentCompleteBoundaryFunction = !0, t.push("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(\"")), i === null) throw Error(n(395));
1348
+ return r = r.toString(16), t.push(i), t.push("\",\""), t.push(e.segmentPrefix), t.push(r), t.push("\")<\/script>");
1349
1349
  }
1350
- function yt(e, t, n, i) {
1350
+ function vt(e, t, r, i) {
1351
1351
  if (i.status === 2) return !0;
1352
1352
  var a = i.id;
1353
1353
  if (a === -1) {
1354
- if ((i.id = n.rootSegmentID) === -1) throw Error(r(392));
1355
- return _t(e, t, i);
1354
+ if ((i.id = r.rootSegmentID) === -1) throw Error(n(392));
1355
+ return gt(e, t, i);
1356
1356
  }
1357
- return _t(e, t, i), e = e.responseState, t.push(e.startInlineScript), e.sentCompleteSegmentFunction ? t.push("$RS(\"") : (e.sentCompleteSegmentFunction = !0, t.push("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(\"")), t.push(e.segmentPrefix), a = a.toString(16), t.push(a), t.push("\",\""), t.push(e.placeholderPrefix), t.push(a), t.push("\")<\/script>");
1357
+ return gt(e, t, i), e = e.responseState, t.push(e.startInlineScript), e.sentCompleteSegmentFunction ? t.push("$RS(\"") : (e.sentCompleteSegmentFunction = !0, t.push("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(\"")), t.push(e.segmentPrefix), a = a.toString(16), t.push(a), t.push("\",\""), t.push(e.placeholderPrefix), t.push(a), t.push("\")<\/script>");
1358
1358
  }
1359
- function bt(e, t) {
1359
+ function yt(e, t) {
1360
1360
  try {
1361
- var n = e.completedRootSegment;
1362
- if (n !== null && e.pendingRootTasks === 0) {
1363
- gt(e, t, n), e.completedRootSegment = null;
1361
+ var r = e.completedRootSegment;
1362
+ if (r !== null && e.pendingRootTasks === 0) {
1363
+ Y(e, t, r), e.completedRootSegment = null;
1364
1364
  var i = e.responseState.bootstrapChunks;
1365
- for (n = 0; n < i.length - 1; n++) t.push(i[n]);
1366
- n < i.length && t.push(i[n]);
1365
+ for (r = 0; r < i.length - 1; r++) t.push(i[r]);
1366
+ r < i.length && t.push(i[r]);
1367
1367
  }
1368
1368
  var a = e.clientRenderedBoundaries, o;
1369
1369
  for (o = 0; o < a.length; o++) {
1370
1370
  var s = a[o];
1371
1371
  i = t;
1372
1372
  var c = e.responseState, l = s.id, u = s.errorDigest, d = s.errorMessage, f = s.errorComponentStack;
1373
- 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));
1373
+ 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(n(395));
1374
1374
  if (i.push(l), i.push("\""), u || d || f) {
1375
1375
  i.push(",");
1376
1376
  var p = oe(u || "");
@@ -1393,7 +1393,7 @@ var M = {
1393
1393
  }
1394
1394
  a.splice(0, o);
1395
1395
  var g = e.completedBoundaries;
1396
- for (o = 0; o < g.length; o++) if (!vt(e, t, g[o])) {
1396
+ for (o = 0; o < g.length; o++) if (!_t(e, t, g[o])) {
1397
1397
  e.destination = null, o++, g.splice(0, o);
1398
1398
  return;
1399
1399
  }
@@ -1404,7 +1404,7 @@ var M = {
1404
1404
  a: {
1405
1405
  a = e, s = t;
1406
1406
  var y = v.completedSegments;
1407
- for (c = 0; c < y.length; c++) if (!yt(a, s, v, y[c])) {
1407
+ for (c = 0; c < y.length; c++) if (!vt(a, s, v, y[c])) {
1408
1408
  c++, y.splice(0, c);
1409
1409
  var b = !1;
1410
1410
  break a;
@@ -1418,7 +1418,7 @@ var M = {
1418
1418
  }
1419
1419
  _.splice(0, o);
1420
1420
  var x = e.completedBoundaries;
1421
- for (o = 0; o < x.length; o++) if (!vt(e, t, x[o])) {
1421
+ for (o = 0; o < x.length; o++) if (!_t(e, t, x[o])) {
1422
1422
  e.destination = null, o++, x.splice(0, o);
1423
1423
  return;
1424
1424
  }
@@ -1427,18 +1427,18 @@ var M = {
1427
1427
  e.allPendingTasks === 0 && e.pingedTasks.length === 0 && e.clientRenderedBoundaries.length === 0 && e.completedBoundaries.length === 0 && t.push(null);
1428
1428
  }
1429
1429
  }
1430
- function xt(e, t) {
1430
+ function bt(e, t) {
1431
1431
  try {
1432
1432
  var n = e.abortableTasks;
1433
1433
  n.forEach(function(n) {
1434
1434
  return ft(n, e, t);
1435
- }), n.clear(), e.destination !== null && bt(e, e.destination);
1435
+ }), n.clear(), e.destination !== null && yt(e, e.destination);
1436
1436
  } catch (t) {
1437
1437
  rt(e, t), it(e, t);
1438
1438
  }
1439
1439
  }
1440
- function St() {}
1441
- function Ct(e, t, n, i) {
1440
+ function xt() {}
1441
+ function St(e, t, r, i) {
1442
1442
  var a = !1, o = null, s = "", c = {
1443
1443
  push: function(e) {
1444
1444
  return e !== null && (s += e), !0;
@@ -1447,52 +1447,52 @@ var M = {
1447
1447
  a = !0, o = e;
1448
1448
  }
1449
1449
  }, l = !1;
1450
- if (e = et(e, A(n, t ? t.identifierPrefix : void 0), {
1450
+ if (e = et(e, A(r, t ? t.identifierPrefix : void 0), {
1451
1451
  insertionMode: 1,
1452
1452
  selectedValue: null
1453
- }, Infinity, St, void 0, function() {
1453
+ }, Infinity, xt, void 0, function() {
1454
1454
  l = !0;
1455
- }, void 0, void 0), ht(e), xt(e, i), e.status === 1) e.status = 2, c.destroy(e.fatalError);
1455
+ }, void 0, void 0), J(e), bt(e, i), e.status === 1) e.status = 2, c.destroy(e.fatalError);
1456
1456
  else if (e.status !== 2 && e.destination === null) {
1457
1457
  e.destination = c;
1458
1458
  try {
1459
- bt(e, c);
1459
+ yt(e, c);
1460
1460
  } catch (t) {
1461
1461
  rt(e, t), it(e, t);
1462
1462
  }
1463
1463
  }
1464
1464
  if (a) throw o;
1465
- if (!l) throw Error(r(426));
1465
+ if (!l) throw Error(n(426));
1466
1466
  return s;
1467
1467
  }
1468
- t.renderToNodeStream = function() {
1469
- throw Error(r(207));
1470
- }, t.renderToStaticMarkup = function(e, t) {
1471
- return Ct(e, t, !0, "The server used \"renderToStaticMarkup\" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to \"renderToReadableStream\" which supports Suspense on the server");
1472
- }, t.renderToStaticNodeStream = function() {
1473
- throw Error(r(208));
1474
- }, t.renderToString = function(e, t) {
1475
- return Ct(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");
1476
- }, t.version = "18.3.1";
1477
- })), he = /* @__PURE__ */ r(((t) => {
1478
- var n = e("react");
1479
- function r(e) {
1468
+ e.renderToNodeStream = function() {
1469
+ throw Error(n(207));
1470
+ }, e.renderToStaticMarkup = function(e, t) {
1471
+ return St(e, t, !0, "The server used \"renderToStaticMarkup\" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to \"renderToReadableStream\" which supports Suspense on the server");
1472
+ }, e.renderToStaticNodeStream = function() {
1473
+ throw Error(n(208));
1474
+ }, e.renderToString = function(e, t) {
1475
+ return St(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");
1476
+ }, e.version = "18.3.1";
1477
+ })), N = /* @__PURE__ */ e(((e) => {
1478
+ var t = a("react");
1479
+ function n(e) {
1480
1480
  for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
1481
1481
  return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
1482
1482
  }
1483
- var i = null, a = 0;
1483
+ var r = null, i = 0;
1484
1484
  function o(e, t) {
1485
- if (t.length !== 0) if (512 < t.length) 0 < a && (e.enqueue(new Uint8Array(i.buffer, 0, a)), i = new Uint8Array(512), a = 0), e.enqueue(t);
1485
+ if (t.length !== 0) if (512 < t.length) 0 < i && (e.enqueue(new Uint8Array(r.buffer, 0, i)), r = new Uint8Array(512), i = 0), e.enqueue(t);
1486
1486
  else {
1487
- var n = i.length - a;
1488
- n < t.length && (n === 0 ? e.enqueue(i) : (i.set(t.subarray(0, n), a), e.enqueue(i), t = t.subarray(n)), i = new Uint8Array(512), a = 0), i.set(t, a), a += t.length;
1487
+ var n = r.length - i;
1488
+ n < t.length && (n === 0 ? e.enqueue(r) : (r.set(t.subarray(0, n), i), e.enqueue(r), t = t.subarray(n)), r = new Uint8Array(512), i = 0), r.set(t, i), i += t.length;
1489
1489
  }
1490
1490
  }
1491
1491
  function s(e, t) {
1492
1492
  return o(e, t), !0;
1493
1493
  }
1494
1494
  function c(e) {
1495
- i && 0 < a && (e.enqueue(new Uint8Array(i.buffer, 0, a)), i = null, a = 0);
1495
+ r && 0 < i && (e.enqueue(new Uint8Array(r.buffer, 0, i)), r = null, i = 0);
1496
1496
  }
1497
1497
  var l = new TextEncoder();
1498
1498
  function u(e) {
@@ -1702,7 +1702,7 @@ var M = {
1702
1702
  function se(e) {
1703
1703
  return A(e === "http://www.w3.org/2000/svg" ? 2 : e === "http://www.w3.org/1998/Math/MathML" ? 3 : 0, null);
1704
1704
  }
1705
- function j(e, t, n) {
1705
+ function ce(e, t, n) {
1706
1706
  switch (t) {
1707
1707
  case "select": return A(1, n.value == null ? n.defaultValue : n.value);
1708
1708
  case "svg": return A(2, null);
@@ -1717,34 +1717,34 @@ var M = {
1717
1717
  }
1718
1718
  return 4 <= e.insertionMode || e.insertionMode === 0 ? A(1, null) : e;
1719
1719
  }
1720
- var ce = d("<!-- -->");
1721
- function le(e, t, n, r) {
1722
- return t === "" ? r : (r && e.push(ce), e.push(u(T(t))), !0);
1720
+ var le = d("<!-- -->");
1721
+ function ue(e, t, n, r) {
1722
+ return t === "" ? r : (r && e.push(le), e.push(u(T(t))), !0);
1723
1723
  }
1724
- var ue = /* @__PURE__ */ new Map(), de = d(" style=\""), fe = d(":"), pe = d(";");
1725
- function me(e, t, n) {
1726
- if (typeof n != "object") throw Error(r(62));
1727
- for (var i in t = !0, n) if (p.call(n, i)) {
1728
- var a = n[i];
1724
+ var de = /* @__PURE__ */ new Map(), fe = d(" style=\""), pe = d(":"), me = d(";");
1725
+ function he(e, t, r) {
1726
+ if (typeof r != "object") throw Error(n(62));
1727
+ for (var i in t = !0, r) if (p.call(r, i)) {
1728
+ var a = r[i];
1729
1729
  if (a != null && typeof a != "boolean" && a !== "") {
1730
1730
  if (i.indexOf("--") === 0) {
1731
1731
  var o = u(T(i));
1732
1732
  a = u(T(("" + a).trim()));
1733
1733
  } else {
1734
1734
  o = i;
1735
- var s = ue.get(o);
1736
- s === void 0 ? (s = d(T(o.replace(E, "-$1").toLowerCase().replace(D, "-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(T(("" + a).trim()));
1735
+ var s = de.get(o);
1736
+ s === void 0 ? (s = d(T(o.replace(E, "-$1").toLowerCase().replace(D, "-ms-"))), de.set(o, s), o = s) : o = s, a = typeof a == "number" ? a === 0 || p.call(S, i) ? u("" + a) : u(a + "px") : u(T(("" + a).trim()));
1737
1737
  }
1738
- t ? (t = !1, e.push(de, o, fe, a)) : e.push(pe, o, fe, a);
1738
+ t ? (t = !1, e.push(fe, o, pe, a)) : e.push(me, o, pe, a);
1739
1739
  }
1740
1740
  }
1741
- t || e.push(P);
1741
+ t || e.push(N);
1742
1742
  }
1743
- var M = d(" "), N = d("=\""), P = d("\""), he = d("=\"\"");
1744
- function F(e, t, n, r) {
1743
+ var j = d(" "), M = d("=\""), N = d("\""), ge = d("=\"\"");
1744
+ function P(e, t, n, r) {
1745
1745
  switch (n) {
1746
1746
  case "style":
1747
- me(e, t, r);
1747
+ he(e, t, r);
1748
1748
  return;
1749
1749
  case "defaultValue":
1750
1750
  case "defaultChecked":
@@ -1761,18 +1761,18 @@ var M = {
1761
1761
  }
1762
1762
  switch (n = u(t.attributeName), t.type) {
1763
1763
  case 3:
1764
- r && e.push(M, n, he);
1764
+ r && e.push(j, n, ge);
1765
1765
  break;
1766
1766
  case 4:
1767
- !0 === r ? e.push(M, n, he) : !1 !== r && e.push(M, n, N, u(T(r)), P);
1767
+ !0 === r ? e.push(j, n, ge) : !1 !== r && e.push(j, n, M, u(T(r)), N);
1768
1768
  break;
1769
1769
  case 5:
1770
- isNaN(r) || e.push(M, n, N, u(T(r)), P);
1770
+ isNaN(r) || e.push(j, n, M, u(T(r)), N);
1771
1771
  break;
1772
1772
  case 6:
1773
- !isNaN(r) && 1 <= r && e.push(M, n, N, u(T(r)), P);
1773
+ !isNaN(r) && 1 <= r && e.push(j, n, M, u(T(r)), N);
1774
1774
  break;
1775
- default: t.sanitizeURL && (r = "" + r), e.push(M, n, N, u(T(r)), P);
1775
+ default: t.sanitizeURL && (r = "" + r), e.push(j, n, M, u(T(r)), N);
1776
1776
  }
1777
1777
  } else if (_(n)) {
1778
1778
  switch (typeof r) {
@@ -1780,27 +1780,27 @@ var M = {
1780
1780
  case "symbol": return;
1781
1781
  case "boolean": if (t = n.toLowerCase().slice(0, 5), t !== "data-" && t !== "aria-") return;
1782
1782
  }
1783
- e.push(M, u(n), N, u(T(r)), P);
1783
+ e.push(j, u(n), M, u(T(r)), N);
1784
1784
  }
1785
1785
  }
1786
1786
  }
1787
- var I = d(">"), ge = d("/>");
1788
- function _e(e, t, n) {
1787
+ var F = d(">"), _e = d("/>");
1788
+ function ve(e, t, r) {
1789
1789
  if (t != null) {
1790
- if (n != null) throw Error(r(60));
1791
- if (typeof t != "object" || !("__html" in t)) throw Error(r(61));
1790
+ if (r != null) throw Error(n(60));
1791
+ if (typeof t != "object" || !("__html" in t)) throw Error(n(61));
1792
1792
  t = t.__html, t != null && e.push(u("" + t));
1793
1793
  }
1794
1794
  }
1795
- function ve(e) {
1796
- var t = "";
1797
- return n.Children.forEach(e, function(e) {
1798
- e != null && (t += e);
1799
- }), t;
1795
+ function ye(e) {
1796
+ var n = "";
1797
+ return t.Children.forEach(e, function(e) {
1798
+ e != null && (n += e);
1799
+ }), n;
1800
1800
  }
1801
- var ye = d(" selected=\"\"");
1802
- function be(e, t, n, r) {
1803
- e.push(R(n));
1801
+ var be = d(" selected=\"\"");
1802
+ function xe(e, t, n, r) {
1803
+ e.push(L(n));
1804
1804
  var i = n = null, a;
1805
1805
  for (a in t) if (p.call(t, a)) {
1806
1806
  var o = t[a];
@@ -1811,28 +1811,28 @@ var M = {
1811
1811
  case "dangerouslySetInnerHTML":
1812
1812
  i = o;
1813
1813
  break;
1814
- default: F(e, r, a, o);
1814
+ default: P(e, r, a, o);
1815
1815
  }
1816
1816
  }
1817
- return e.push(I), _e(e, i, n), typeof n == "string" ? (e.push(u(T(n))), null) : n;
1817
+ return e.push(F), ve(e, i, n), typeof n == "string" ? (e.push(u(T(n))), null) : n;
1818
1818
  }
1819
- var xe = d("\n"), Se = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, L = /* @__PURE__ */ new Map();
1820
- function R(e) {
1821
- var t = L.get(e);
1819
+ var Se = d("\n"), Ce = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, I = /* @__PURE__ */ new Map();
1820
+ function L(e) {
1821
+ var t = I.get(e);
1822
1822
  if (t === void 0) {
1823
- if (!Se.test(e)) throw Error(r(65, e));
1824
- t = d("<" + e), L.set(e, t);
1823
+ if (!Ce.test(e)) throw Error(n(65, e));
1824
+ t = d("<" + e), I.set(e, t);
1825
1825
  }
1826
1826
  return t;
1827
1827
  }
1828
- var Ce = d("<!DOCTYPE html>");
1829
- function we(e, t, n, i, a) {
1828
+ var we = d("<!DOCTYPE html>");
1829
+ function R(e, t, r, i, a) {
1830
1830
  switch (t) {
1831
1831
  case "select":
1832
- e.push(R("select"));
1832
+ e.push(L("select"));
1833
1833
  var o = null, s = null;
1834
- for (f in n) if (p.call(n, f)) {
1835
- var c = n[f];
1834
+ for (f in r) if (p.call(r, f)) {
1835
+ var c = r[f];
1836
1836
  if (c != null) switch (f) {
1837
1837
  case "children":
1838
1838
  o = c;
@@ -1842,15 +1842,15 @@ var M = {
1842
1842
  break;
1843
1843
  case "defaultValue":
1844
1844
  case "value": break;
1845
- default: F(e, i, f, c);
1845
+ default: P(e, i, f, c);
1846
1846
  }
1847
1847
  }
1848
- return e.push(I), _e(e, s, o), o;
1848
+ return e.push(F), ve(e, s, o), o;
1849
1849
  case "option":
1850
- s = a.selectedValue, e.push(R("option"));
1850
+ s = a.selectedValue, e.push(L("option"));
1851
1851
  var l = c = null, d = null, f = null;
1852
- for (o in n) if (p.call(n, o)) {
1853
- var m = n[o];
1852
+ for (o in r) if (p.call(r, o)) {
1853
+ var m = r[o];
1854
1854
  if (m != null) switch (o) {
1855
1855
  case "children":
1856
1856
  c = m;
@@ -1862,19 +1862,19 @@ var M = {
1862
1862
  f = m;
1863
1863
  break;
1864
1864
  case "value": l = m;
1865
- default: F(e, i, o, m);
1865
+ default: P(e, i, o, m);
1866
1866
  }
1867
1867
  }
1868
- if (s != null) if (n = l === null ? ve(c) : "" + l, O(s)) {
1869
- for (i = 0; i < s.length; i++) if ("" + s[i] === n) {
1870
- e.push(ye);
1868
+ if (s != null) if (r = l === null ? ye(c) : "" + l, O(s)) {
1869
+ for (i = 0; i < s.length; i++) if ("" + s[i] === r) {
1870
+ e.push(be);
1871
1871
  break;
1872
1872
  }
1873
- } else "" + s === n && e.push(ye);
1874
- else d && e.push(ye);
1875
- return e.push(I), _e(e, f, c), c;
1873
+ } else "" + s === r && e.push(be);
1874
+ else d && e.push(be);
1875
+ return e.push(F), ve(e, f, c), c;
1876
1876
  case "textarea":
1877
- for (c in e.push(R("textarea")), f = s = o = null, n) if (p.call(n, c) && (l = n[c], l != null)) switch (c) {
1877
+ for (c in e.push(L("textarea")), f = s = o = null, r) if (p.call(r, c) && (l = r[c], l != null)) switch (c) {
1878
1878
  case "children":
1879
1879
  f = l;
1880
1880
  break;
@@ -1884,19 +1884,19 @@ var M = {
1884
1884
  case "defaultValue":
1885
1885
  s = l;
1886
1886
  break;
1887
- case "dangerouslySetInnerHTML": throw Error(r(91));
1888
- default: F(e, i, c, l);
1887
+ case "dangerouslySetInnerHTML": throw Error(n(91));
1888
+ default: P(e, i, c, l);
1889
1889
  }
1890
- if (o === null && s !== null && (o = s), e.push(I), f != null) {
1891
- if (o != null) throw Error(r(92));
1892
- if (O(f) && 1 < f.length) throw Error(r(93));
1890
+ if (o === null && s !== null && (o = s), e.push(F), f != null) {
1891
+ if (o != null) throw Error(n(92));
1892
+ if (O(f) && 1 < f.length) throw Error(n(93));
1893
1893
  o = "" + f;
1894
1894
  }
1895
- return typeof o == "string" && o[0] === "\n" && e.push(xe), o !== null && e.push(u(T("" + o))), null;
1895
+ return typeof o == "string" && o[0] === "\n" && e.push(Se), o !== null && e.push(u(T("" + o))), null;
1896
1896
  case "input":
1897
- for (s in e.push(R("input")), l = f = c = o = null, n) if (p.call(n, s) && (d = n[s], d != null)) switch (s) {
1897
+ for (s in e.push(L("input")), l = f = c = o = null, r) if (p.call(r, s) && (d = r[s], d != null)) switch (s) {
1898
1898
  case "children":
1899
- case "dangerouslySetInnerHTML": throw Error(r(399, "input"));
1899
+ case "dangerouslySetInnerHTML": throw Error(n(399, "input"));
1900
1900
  case "defaultChecked":
1901
1901
  l = d;
1902
1902
  break;
@@ -1909,42 +1909,42 @@ var M = {
1909
1909
  case "value":
1910
1910
  o = d;
1911
1911
  break;
1912
- default: F(e, i, s, d);
1912
+ default: P(e, i, s, d);
1913
1913
  }
1914
- 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;
1914
+ return f === null ? l !== null && P(e, i, "checked", l) : P(e, i, "checked", f), o === null ? c !== null && P(e, i, "value", c) : P(e, i, "value", o), e.push(_e), null;
1915
1915
  case "menuitem":
1916
- for (var h in e.push(R("menuitem")), n) if (p.call(n, h) && (o = n[h], o != null)) switch (h) {
1916
+ for (var h in e.push(L("menuitem")), r) if (p.call(r, h) && (o = r[h], o != null)) switch (h) {
1917
1917
  case "children":
1918
- case "dangerouslySetInnerHTML": throw Error(r(400));
1919
- default: F(e, i, h, o);
1918
+ case "dangerouslySetInnerHTML": throw Error(n(400));
1919
+ default: P(e, i, h, o);
1920
1920
  }
1921
- return e.push(I), null;
1921
+ return e.push(F), null;
1922
1922
  case "title":
1923
- for (m in e.push(R("title")), o = null, n) if (p.call(n, m) && (s = n[m], s != null)) switch (m) {
1923
+ for (m in e.push(L("title")), o = null, r) if (p.call(r, m) && (s = r[m], s != null)) switch (m) {
1924
1924
  case "children":
1925
1925
  o = s;
1926
1926
  break;
1927
- case "dangerouslySetInnerHTML": throw Error(r(434));
1928
- default: F(e, i, m, s);
1927
+ case "dangerouslySetInnerHTML": throw Error(n(434));
1928
+ default: P(e, i, m, s);
1929
1929
  }
1930
- return e.push(I), o;
1930
+ return e.push(F), o;
1931
1931
  case "listing":
1932
1932
  case "pre":
1933
- for (l in e.push(R(t)), s = o = null, n) if (p.call(n, l) && (c = n[l], c != null)) switch (l) {
1933
+ for (l in e.push(L(t)), s = o = null, r) if (p.call(r, l) && (c = r[l], c != null)) switch (l) {
1934
1934
  case "children":
1935
1935
  o = c;
1936
1936
  break;
1937
1937
  case "dangerouslySetInnerHTML":
1938
1938
  s = c;
1939
1939
  break;
1940
- default: F(e, i, l, c);
1940
+ default: P(e, i, l, c);
1941
1941
  }
1942
- if (e.push(I), s != null) {
1943
- if (o != null) throw Error(r(60));
1944
- if (typeof s != "object" || !("__html" in s)) throw Error(r(61));
1945
- n = s.__html, n != null && (typeof n == "string" && 0 < n.length && n[0] === "\n" ? e.push(xe, u(n)) : e.push(u("" + n)));
1942
+ if (e.push(F), s != null) {
1943
+ if (o != null) throw Error(n(60));
1944
+ if (typeof s != "object" || !("__html" in s)) throw Error(n(61));
1945
+ r = s.__html, r != null && (typeof r == "string" && 0 < r.length && r[0] === "\n" ? e.push(Se, u(r)) : e.push(u("" + r)));
1946
1946
  }
1947
- return typeof o == "string" && o[0] === "\n" && e.push(xe), o;
1947
+ return typeof o == "string" && o[0] === "\n" && e.push(Se), o;
1948
1948
  case "area":
1949
1949
  case "base":
1950
1950
  case "br":
@@ -1959,12 +1959,12 @@ var M = {
1959
1959
  case "source":
1960
1960
  case "track":
1961
1961
  case "wbr":
1962
- for (var g in e.push(R(t)), n) if (p.call(n, g) && (o = n[g], o != null)) switch (g) {
1962
+ for (var g in e.push(L(t)), r) if (p.call(r, g) && (o = r[g], o != null)) switch (g) {
1963
1963
  case "children":
1964
- case "dangerouslySetInnerHTML": throw Error(r(399, t));
1965
- default: F(e, i, g, o);
1964
+ case "dangerouslySetInnerHTML": throw Error(n(399, t));
1965
+ default: P(e, i, g, o);
1966
1966
  }
1967
- return e.push(ge), null;
1967
+ return e.push(_e), null;
1968
1968
  case "annotation-xml":
1969
1969
  case "color-profile":
1970
1970
  case "font-face":
@@ -1972,11 +1972,11 @@ var M = {
1972
1972
  case "font-face-uri":
1973
1973
  case "font-face-format":
1974
1974
  case "font-face-name":
1975
- case "missing-glyph": return be(e, n, t, i);
1976
- case "html": return a.insertionMode === 0 && e.push(Ce), be(e, n, t, i);
1975
+ case "missing-glyph": return xe(e, r, t, i);
1976
+ case "html": return a.insertionMode === 0 && e.push(we), xe(e, r, t, i);
1977
1977
  default:
1978
- if (t.indexOf("-") === -1 && typeof n.is != "string") return be(e, n, t, i);
1979
- for (d in e.push(R(t)), s = o = null, n) if (p.call(n, d) && (c = n[d], c != null)) switch (d) {
1978
+ if (t.indexOf("-") === -1 && typeof r.is != "string") return xe(e, r, t, i);
1979
+ for (d in e.push(L(t)), s = o = null, r) if (p.call(r, d) && (c = r[d], c != null)) switch (d) {
1980
1980
  case "children":
1981
1981
  o = c;
1982
1982
  break;
@@ -1984,47 +1984,47 @@ var M = {
1984
1984
  s = c;
1985
1985
  break;
1986
1986
  case "style":
1987
- me(e, i, c);
1987
+ he(e, i, c);
1988
1988
  break;
1989
1989
  case "suppressContentEditableWarning":
1990
1990
  case "suppressHydrationWarning": break;
1991
- default: _(d) && typeof c != "function" && typeof c != "symbol" && e.push(M, u(d), N, u(T(c)), P);
1991
+ default: _(d) && typeof c != "function" && typeof c != "symbol" && e.push(j, u(d), M, u(T(c)), N);
1992
1992
  }
1993
- return e.push(I), _e(e, s, o), o;
1993
+ return e.push(F), ve(e, s, o), o;
1994
1994
  }
1995
1995
  }
1996
- var z = d("</"), Te = d(">"), Ee = d("<template id=\""), De = d("\"></template>"), Oe = d("<!--$-->"), ke = d("<!--$?--><template id=\""), Ae = d("\"></template>"), B = d("<!--$!-->"), je = d("<!--/$-->"), Me = d("<template"), Ne = d("\""), Pe = d(" data-dgst=\"");
1996
+ var Te = d("</"), Ee = d(">"), De = d("<template id=\""), Oe = d("\"></template>"), ke = d("<!--$-->"), Ae = d("<!--$?--><template id=\""), z = d("\"></template>"), je = d("<!--$!-->"), Me = d("<!--/$-->"), Ne = d("<template"), Pe = d("\""), Fe = d(" data-dgst=\"");
1997
1997
  d(" data-msg=\""), d(" data-stck=\"");
1998
- var Fe = d("></template>");
1999
- function V(e, t, n) {
2000
- if (o(e, ke), n === null) throw Error(r(395));
2001
- return o(e, n), s(e, Ae);
2002
- }
2003
- 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=\""), W = d("\">"), G = d("</math>"), K = 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>");
2004
- function Qe(e, t, n, i) {
2005
- switch (n.insertionMode) {
1998
+ var B = d("></template>");
1999
+ function V(e, t, r) {
2000
+ if (o(e, Ae), r === null) throw Error(n(395));
2001
+ return o(e, r), s(e, z);
2002
+ }
2003
+ var Ie = d("<div hidden id=\""), Le = d("\">"), H = d("</div>"), Re = d("<svg aria-hidden=\"true\" style=\"display:none\" id=\""), ze = d("\">"), U = d("</svg>"), W = d("<math aria-hidden=\"true\" style=\"display:none\" id=\""), Be = d("\">"), G = d("</math>"), Ve = d("<table hidden id=\""), He = d("\">"), Ue = d("</table>"), We = d("<table hidden><tbody id=\""), Ge = d("\">"), K = 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>");
2004
+ function Qe(e, t, r, i) {
2005
+ switch (r.insertionMode) {
2006
2006
  case 0:
2007
2007
  case 1: return o(e, Ie), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Le);
2008
2008
  case 2: return o(e, Re), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, ze);
2009
- case 3: return o(e, U), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, W);
2010
- case 4: return o(e, K), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Ve);
2011
- case 5: return o(e, Ue), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, We);
2009
+ case 3: return o(e, W), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Be);
2010
+ case 4: return o(e, Ve), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, He);
2011
+ case 5: return o(e, We), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Ge);
2012
2012
  case 6: return o(e, Ke), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, qe);
2013
2013
  case 7: return o(e, Ye), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Xe);
2014
- default: throw Error(r(397));
2014
+ default: throw Error(n(397));
2015
2015
  }
2016
2016
  }
2017
2017
  function $e(e, t) {
2018
2018
  switch (t.insertionMode) {
2019
2019
  case 0:
2020
2020
  case 1: return s(e, H);
2021
- case 2: return s(e, Be);
2021
+ case 2: return s(e, U);
2022
2022
  case 3: return s(e, G);
2023
- case 4: return s(e, He);
2024
- case 5: return s(e, Ge);
2023
+ case 4: return s(e, Ue);
2024
+ case 5: return s(e, K);
2025
2025
  case 6: return s(e, Je);
2026
2026
  case 7: return s(e, Ze);
2027
- default: throw Error(r(397));
2027
+ default: throw Error(n(397));
2028
2028
  }
2029
2029
  }
2030
2030
  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("\",\""), st = d("\")<\/script>"), ct = 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(\""), q = d("$RX(\""), lt = d("\""), ut = d(")<\/script>"), dt = d(","), ft = /[<\u2028\u2029]/g;
@@ -2038,76 +2038,76 @@ var M = {
2038
2038
  }
2039
2039
  });
2040
2040
  }
2041
- var mt = Object.assign, ht = Symbol.for("react.element"), J = Symbol.for("react.portal"), gt = Symbol.for("react.fragment"), _t = Symbol.for("react.strict_mode"), vt = Symbol.for("react.profiler"), yt = Symbol.for("react.provider"), bt = Symbol.for("react.context"), xt = Symbol.for("react.forward_ref"), St = Symbol.for("react.suspense"), Ct = Symbol.for("react.suspense_list"), wt = Symbol.for("react.memo"), Tt = Symbol.for("react.lazy"), Et = Symbol.for("react.scope"), Dt = Symbol.for("react.debug_trace_mode"), Ot = Symbol.for("react.legacy_hidden"), kt = Symbol.for("react.default_value"), At = Symbol.iterator;
2042
- function jt(e) {
2041
+ var mt = Object.assign, J = Symbol.for("react.element"), ht = Symbol.for("react.portal"), Y = Symbol.for("react.fragment"), gt = Symbol.for("react.strict_mode"), _t = Symbol.for("react.profiler"), vt = Symbol.for("react.provider"), yt = Symbol.for("react.context"), bt = Symbol.for("react.forward_ref"), xt = Symbol.for("react.suspense"), St = Symbol.for("react.suspense_list"), Ct = Symbol.for("react.memo"), wt = Symbol.for("react.lazy"), Tt = Symbol.for("react.scope"), Et = Symbol.for("react.debug_trace_mode"), Dt = Symbol.for("react.legacy_hidden"), Ot = Symbol.for("react.default_value"), kt = Symbol.iterator;
2042
+ function At(e) {
2043
2043
  if (e == null) return null;
2044
2044
  if (typeof e == "function") return e.displayName || e.name || null;
2045
2045
  if (typeof e == "string") return e;
2046
2046
  switch (e) {
2047
- case gt: return "Fragment";
2048
- case J: return "Portal";
2049
- case vt: return "Profiler";
2050
- case _t: return "StrictMode";
2051
- case St: return "Suspense";
2052
- case Ct: return "SuspenseList";
2047
+ case Y: return "Fragment";
2048
+ case ht: return "Portal";
2049
+ case _t: return "Profiler";
2050
+ case gt: return "StrictMode";
2051
+ case xt: return "Suspense";
2052
+ case St: return "SuspenseList";
2053
2053
  }
2054
2054
  if (typeof e == "object") switch (e.$$typeof) {
2055
- case bt: return (e.displayName || "Context") + ".Consumer";
2056
- case yt: return (e._context.displayName || "Context") + ".Provider";
2057
- case xt:
2055
+ case yt: return (e.displayName || "Context") + ".Consumer";
2056
+ case vt: return (e._context.displayName || "Context") + ".Provider";
2057
+ case bt:
2058
2058
  var t = e.render;
2059
2059
  return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
2060
- case wt: return t = e.displayName || null, t === null ? jt(e.type) || "Memo" : t;
2061
- case Tt:
2060
+ case Ct: return t = e.displayName || null, t === null ? At(e.type) || "Memo" : t;
2061
+ case wt:
2062
2062
  t = e._payload, e = e._init;
2063
2063
  try {
2064
- return jt(e(t));
2064
+ return At(e(t));
2065
2065
  } catch {}
2066
2066
  }
2067
2067
  return null;
2068
2068
  }
2069
- var Mt = {};
2070
- function Nt(e, t) {
2071
- if (e = e.contextTypes, !e) return Mt;
2069
+ var jt = {};
2070
+ function Mt(e, t) {
2071
+ if (e = e.contextTypes, !e) return jt;
2072
2072
  var n = {}, r;
2073
2073
  for (r in e) n[r] = t[r];
2074
2074
  return n;
2075
2075
  }
2076
- var Y = null;
2077
- function Pt(e, t) {
2076
+ var X = null;
2077
+ function Nt(e, t) {
2078
2078
  if (e !== t) {
2079
2079
  e.context._currentValue = e.parentValue, e = e.parent;
2080
- var n = t.parent;
2080
+ var r = t.parent;
2081
2081
  if (e === null) {
2082
- if (n !== null) throw Error(r(401));
2082
+ if (r !== null) throw Error(n(401));
2083
2083
  } else {
2084
- if (n === null) throw Error(r(401));
2085
- Pt(e, n);
2084
+ if (r === null) throw Error(n(401));
2085
+ Nt(e, r);
2086
2086
  }
2087
2087
  t.context._currentValue = t.value;
2088
2088
  }
2089
2089
  }
2090
- function Ft(e) {
2091
- e.context._currentValue = e.parentValue, e = e.parent, e !== null && Ft(e);
2090
+ function Pt(e) {
2091
+ e.context._currentValue = e.parentValue, e = e.parent, e !== null && Pt(e);
2092
2092
  }
2093
- function It(e) {
2093
+ function Ft(e) {
2094
2094
  var t = e.parent;
2095
- t !== null && It(t), e.context._currentValue = e.value;
2095
+ t !== null && Ft(t), e.context._currentValue = e.value;
2096
2096
  }
2097
- function Lt(e, t) {
2098
- if (e.context._currentValue = e.parentValue, e = e.parent, e === null) throw Error(r(402));
2099
- e.depth === t.depth ? Pt(e, t) : Lt(e, t);
2097
+ function It(e, t) {
2098
+ if (e.context._currentValue = e.parentValue, e = e.parent, e === null) throw Error(n(402));
2099
+ e.depth === t.depth ? Nt(e, t) : It(e, t);
2100
2100
  }
2101
- function Rt(e, t) {
2102
- var n = t.parent;
2103
- if (n === null) throw Error(r(402));
2104
- e.depth === n.depth ? Pt(e, n) : Rt(e, n), t.context._currentValue = t.value;
2101
+ function Lt(e, t) {
2102
+ var r = t.parent;
2103
+ if (r === null) throw Error(n(402));
2104
+ e.depth === r.depth ? Nt(e, r) : Lt(e, r), t.context._currentValue = t.value;
2105
2105
  }
2106
- function zt(e) {
2107
- var t = Y;
2108
- t !== e && (t === null ? It(e) : e === null ? Ft(t) : t.depth === e.depth ? Pt(t, e) : t.depth > e.depth ? Lt(t, e) : Rt(t, e), Y = e);
2106
+ function Rt(e) {
2107
+ var t = X;
2108
+ t !== e && (t === null ? Ft(e) : e === null ? Pt(t) : t.depth === e.depth ? Nt(t, e) : t.depth > e.depth ? It(t, e) : Lt(t, e), X = e);
2109
2109
  }
2110
- var Bt = {
2110
+ var zt = {
2111
2111
  isMounted: function() {
2112
2112
  return !1;
2113
2113
  },
@@ -2119,16 +2119,16 @@ var M = {
2119
2119
  },
2120
2120
  enqueueForceUpdate: function() {}
2121
2121
  };
2122
- function Vt(e, t, n, r) {
2122
+ function Bt(e, t, n, r) {
2123
2123
  var i = e.state === void 0 ? null : e.state;
2124
- e.updater = Bt, e.props = n, e.state = i;
2124
+ e.updater = zt, e.props = n, e.state = i;
2125
2125
  var a = {
2126
2126
  queue: [],
2127
2127
  replace: !1
2128
2128
  };
2129
2129
  e._reactInternals = a;
2130
2130
  var o = t.contextType;
2131
- if (e.context = typeof o == "object" && o ? o._currentValue : r, o = t.getDerivedStateFromProps, typeof o == "function" && (o = o(n, i), i = o == null ? i : mt({}, 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 && Bt.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];
2131
+ if (e.context = typeof o == "object" && o ? o._currentValue : r, o = t.getDerivedStateFromProps, typeof o == "function" && (o = o(n, i), i = o == null ? i : mt({}, 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];
2132
2132
  else {
2133
2133
  for (a = o ? t[0] : e.state, i = !0, o = +!!o; o < t.length; o++) {
2134
2134
  var s = t[o];
@@ -2138,20 +2138,20 @@ var M = {
2138
2138
  }
2139
2139
  else a.queue = null;
2140
2140
  }
2141
- var Ht = {
2141
+ var Vt = {
2142
2142
  id: 1,
2143
2143
  overflow: ""
2144
2144
  };
2145
- function Ut(e, t, n) {
2145
+ function Ht(e, t, n) {
2146
2146
  var r = e.id;
2147
2147
  e = e.overflow;
2148
- var i = 32 - Wt(r) - 1;
2148
+ var i = 32 - Ut(r) - 1;
2149
2149
  r &= ~(1 << i), n += 1;
2150
- var a = 32 - Wt(t) + i;
2150
+ var a = 32 - Ut(t) + i;
2151
2151
  if (30 < a) {
2152
2152
  var o = i - i % 5;
2153
2153
  return a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, {
2154
- id: 1 << 32 - Wt(t) + i | n << i | r,
2154
+ id: 1 << 32 - Ut(t) + i | n << i | r,
2155
2155
  overflow: a + e
2156
2156
  };
2157
2157
  }
@@ -2160,20 +2160,20 @@ var M = {
2160
2160
  overflow: e
2161
2161
  };
2162
2162
  }
2163
- var Wt = Math.clz32 ? Math.clz32 : qt, Gt = Math.log, Kt = Math.LN2;
2164
- function qt(e) {
2165
- return e >>>= 0, e === 0 ? 32 : 31 - (Gt(e) / Kt | 0) | 0;
2163
+ var Ut = Math.clz32 ? Math.clz32 : Kt, Wt = Math.log, Gt = Math.LN2;
2164
+ function Kt(e) {
2165
+ return e >>>= 0, e === 0 ? 32 : 31 - (Wt(e) / Gt | 0) | 0;
2166
2166
  }
2167
- function Jt(e, t) {
2167
+ function qt(e, t) {
2168
2168
  return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
2169
2169
  }
2170
- var Yt = typeof Object.is == "function" ? Object.is : Jt, X = null, Xt = null, Zt = null, Z = null, Qt = !1, $t = !1, en = 0, Q = null, tn = 0;
2170
+ var Jt = typeof Object.is == "function" ? Object.is : qt, Z = null, Yt = null, Xt = null, Q = null, Zt = !1, Qt = !1, $t = 0, en = null, tn = 0;
2171
2171
  function nn() {
2172
- if (X === null) throw Error(r(321));
2173
- return X;
2172
+ if (Z === null) throw Error(n(321));
2173
+ return Z;
2174
2174
  }
2175
2175
  function rn() {
2176
- if (0 < tn) throw Error(r(312));
2176
+ if (0 < tn) throw Error(n(312));
2177
2177
  return {
2178
2178
  memoizedState: null,
2179
2179
  queue: null,
@@ -2181,39 +2181,39 @@ var M = {
2181
2181
  };
2182
2182
  }
2183
2183
  function an() {
2184
- return Z === null ? Zt === null ? (Qt = !1, Zt = Z = rn()) : (Qt = !0, Z = Zt) : Z.next === null ? (Qt = !1, Z = Z.next = rn()) : (Qt = !0, Z = Z.next), Z;
2184
+ return Q === null ? Xt === null ? (Zt = !1, Xt = Q = rn()) : (Zt = !0, Q = Xt) : Q.next === null ? (Zt = !1, Q = Q.next = rn()) : (Zt = !0, Q = Q.next), Q;
2185
2185
  }
2186
2186
  function on() {
2187
- Xt = X = null, $t = !1, Zt = null, tn = 0, Z = Q = null;
2187
+ Yt = Z = null, Qt = !1, Xt = null, tn = 0, Q = en = null;
2188
2188
  }
2189
2189
  function sn(e, t) {
2190
2190
  return typeof t == "function" ? t(e) : t;
2191
2191
  }
2192
2192
  function cn(e, t, n) {
2193
- if (X = nn(), Z = an(), Qt) {
2194
- var r = Z.queue;
2195
- if (t = r.dispatch, Q !== null && (n = Q.get(r), n !== void 0)) {
2196
- Q.delete(r), r = Z.memoizedState;
2193
+ if (Z = nn(), Q = an(), Zt) {
2194
+ var r = Q.queue;
2195
+ if (t = r.dispatch, en !== null && (n = en.get(r), n !== void 0)) {
2196
+ en.delete(r), r = Q.memoizedState;
2197
2197
  do
2198
2198
  r = e(r, n.action), n = n.next;
2199
2199
  while (n !== null);
2200
- return Z.memoizedState = r, [r, t];
2200
+ return Q.memoizedState = r, [r, t];
2201
2201
  }
2202
- return [Z.memoizedState, t];
2202
+ return [Q.memoizedState, t];
2203
2203
  }
2204
- return e = e === sn ? typeof t == "function" ? t() : t : n === void 0 ? t : n(t), Z.memoizedState = e, e = Z.queue = {
2204
+ return e = e === sn ? typeof t == "function" ? t() : t : n === void 0 ? t : n(t), Q.memoizedState = e, e = Q.queue = {
2205
2205
  last: null,
2206
2206
  dispatch: null
2207
- }, e = e.dispatch = un.bind(null, X, e), [Z.memoizedState, e];
2207
+ }, e = e.dispatch = un.bind(null, Z, e), [Q.memoizedState, e];
2208
2208
  }
2209
2209
  function ln(e, t) {
2210
- if (X = nn(), Z = an(), t = t === void 0 ? null : t, Z !== null) {
2211
- var n = Z.memoizedState;
2210
+ if (Z = nn(), Q = an(), t = t === void 0 ? null : t, Q !== null) {
2211
+ var n = Q.memoizedState;
2212
2212
  if (n !== null && t !== null) {
2213
2213
  var r = n[1];
2214
2214
  a: if (r === null) r = !1;
2215
2215
  else {
2216
- for (var i = 0; i < r.length && i < t.length; i++) if (!Yt(t[i], r[i])) {
2216
+ for (var i = 0; i < r.length && i < t.length; i++) if (!Jt(t[i], r[i])) {
2217
2217
  r = !1;
2218
2218
  break a;
2219
2219
  }
@@ -2222,21 +2222,21 @@ var M = {
2222
2222
  if (r) return n[0];
2223
2223
  }
2224
2224
  }
2225
- return e = e(), Z.memoizedState = [e, t], e;
2225
+ return e = e(), Q.memoizedState = [e, t], e;
2226
2226
  }
2227
- function un(e, t, n) {
2228
- if (25 <= tn) throw Error(r(301));
2229
- if (e === X) if ($t = !0, e = {
2230
- action: n,
2227
+ function un(e, t, r) {
2228
+ if (25 <= tn) throw Error(n(301));
2229
+ if (e === Z) if (Qt = !0, e = {
2230
+ action: r,
2231
2231
  next: null
2232
- }, Q === null && (Q = /* @__PURE__ */ new Map()), n = Q.get(t), n === void 0) Q.set(t, e);
2232
+ }, en === null && (en = /* @__PURE__ */ new Map()), r = en.get(t), r === void 0) en.set(t, e);
2233
2233
  else {
2234
- for (t = n; t.next !== null;) t = t.next;
2234
+ for (t = r; t.next !== null;) t = t.next;
2235
2235
  t.next = e;
2236
2236
  }
2237
2237
  }
2238
2238
  function dn() {
2239
- throw Error(r(394));
2239
+ throw Error(n(394));
2240
2240
  }
2241
2241
  function fn() {}
2242
2242
  var pn = {
@@ -2249,9 +2249,9 @@ var M = {
2249
2249
  useMemo: ln,
2250
2250
  useReducer: cn,
2251
2251
  useRef: function(e) {
2252
- X = nn(), Z = an();
2253
- var t = Z.memoizedState;
2254
- return t === null ? (e = { current: e }, Z.memoizedState = e) : t;
2252
+ Z = nn(), Q = an();
2253
+ var t = Q.memoizedState;
2254
+ return t === null ? (e = { current: e }, Q.memoizedState = e) : t;
2255
2255
  },
2256
2256
  useState: function(e) {
2257
2257
  return cn(sn, e);
@@ -2273,20 +2273,20 @@ var M = {
2273
2273
  return nn(), [!1, dn];
2274
2274
  },
2275
2275
  useId: function() {
2276
- var e = Xt.treeContext, t = e.overflow;
2277
- e = e.id, e = (e & ~(1 << 32 - Wt(e) - 1)).toString(32) + t;
2278
- var n = mn;
2279
- if (n === null) throw Error(r(404));
2280
- return t = en++, e = ":" + n.idPrefix + "R" + e, 0 < t && (e += "H" + t.toString(32)), e + ":";
2276
+ var e = Yt.treeContext, t = e.overflow;
2277
+ e = e.id, e = (e & ~(1 << 32 - Ut(e) - 1)).toString(32) + t;
2278
+ var r = mn;
2279
+ if (r === null) throw Error(n(404));
2280
+ return t = $t++, e = ":" + r.idPrefix + "R" + e, 0 < t && (e += "H" + t.toString(32)), e + ":";
2281
2281
  },
2282
2282
  useMutableSource: function(e, t) {
2283
2283
  return nn(), t(e._source);
2284
2284
  },
2285
- useSyncExternalStore: function(e, t, n) {
2286
- if (n === void 0) throw Error(r(407));
2287
- return n();
2285
+ useSyncExternalStore: function(e, t, r) {
2286
+ if (r === void 0) throw Error(n(407));
2287
+ return r();
2288
2288
  }
2289
- }, mn = null, hn = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
2289
+ }, mn = null, hn = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
2290
2290
  function gn(e) {
2291
2291
  return console.error(e), null;
2292
2292
  }
@@ -2313,7 +2313,7 @@ var M = {
2313
2313
  onShellReady: o === void 0 ? _n : o,
2314
2314
  onShellError: s === void 0 ? _n : s,
2315
2315
  onFatalError: c === void 0 ? _n : c
2316
- }, n = bn(t, 0, null, n, !1, !1), n.parentFlushed = !0, e = yn(t, e, null, n, u, Mt, null, Ht), l.push(e), t;
2316
+ }, n = bn(t, 0, null, n, !1, !1), n.parentFlushed = !0, e = yn(t, e, null, n, u, jt, null, Vt), l.push(e), t;
2317
2317
  }
2318
2318
  function yn(e, t, n, r, i, a, o, s) {
2319
2319
  e.allPendingTasks++, n === null ? e.pendingRootTasks++ : n.pendingTasks++;
@@ -2355,17 +2355,17 @@ var M = {
2355
2355
  n(t), n = e.onFatalError, n(t), e.destination === null ? (e.status = 1, e.fatalError = t) : (e.status = 2, f(e.destination, t));
2356
2356
  }
2357
2357
  function Cn(e, t, n, r, i) {
2358
- for (X = {}, Xt = t, en = 0, e = n(r, i); $t;) $t = !1, en = 0, tn += 1, Z = null, e = n(r, i);
2358
+ for (Z = {}, Yt = t, $t = 0, e = n(r, i); Qt;) Qt = !1, $t = 0, tn += 1, Q = null, e = n(r, i);
2359
2359
  return on(), e;
2360
2360
  }
2361
- function wn(e, t, n, i) {
2362
- var a = n.render(), o = i.childContextTypes;
2361
+ function wn(e, t, r, i) {
2362
+ var a = r.render(), o = i.childContextTypes;
2363
2363
  if (o != null) {
2364
2364
  var s = t.legacyContext;
2365
- if (typeof n.getChildContext != "function") i = s;
2365
+ if (typeof r.getChildContext != "function") i = s;
2366
2366
  else {
2367
- for (var c in n = n.getChildContext(), n) if (!(c in o)) throw Error(r(108, jt(i) || "Unknown", c));
2368
- i = mt({}, s, n);
2367
+ for (var c in r = r.getChildContext(), r) if (!(c in o)) throw Error(n(108, At(i) || "Unknown", c));
2368
+ i = mt({}, s, r);
2369
2369
  }
2370
2370
  t.legacyContext = i, $(e, t, a), t.legacyContext = s;
2371
2371
  } else $(e, t, a);
@@ -2377,17 +2377,17 @@ var M = {
2377
2377
  }
2378
2378
  return t;
2379
2379
  }
2380
- function En(e, t, n, i, a) {
2381
- if (typeof n == "function") if (n.prototype && n.prototype.isReactComponent) {
2382
- a = Nt(n, t.legacyContext);
2383
- var o = n.contextType;
2384
- o = new n(i, typeof o == "object" && o ? o._currentValue : a), Vt(o, n, i, a), wn(e, t, o, n);
2380
+ function En(e, t, r, i, a) {
2381
+ if (typeof r == "function") if (r.prototype && r.prototype.isReactComponent) {
2382
+ a = Mt(r, t.legacyContext);
2383
+ var o = r.contextType;
2384
+ o = new r(i, typeof o == "object" && o ? o._currentValue : a), Bt(o, r, i, a), wn(e, t, o, r);
2385
2385
  } else {
2386
- o = Nt(n, t.legacyContext), a = Cn(e, t, n, i, o);
2387
- var s = en !== 0;
2388
- if (typeof a == "object" && a && typeof a.render == "function" && a.$$typeof === void 0) Vt(a, n, i, o), wn(e, t, a, n);
2386
+ o = Mt(r, t.legacyContext), a = Cn(e, t, r, i, o);
2387
+ var s = $t !== 0;
2388
+ if (typeof a == "object" && a && typeof a.render == "function" && a.$$typeof === void 0) Bt(a, r, i, o), wn(e, t, a, r);
2389
2389
  else if (s) {
2390
- i = t.treeContext, t.treeContext = Ut(i, 1, 0);
2390
+ i = t.treeContext, t.treeContext = Ht(i, 1, 0);
2391
2391
  try {
2392
2392
  $(e, t, a);
2393
2393
  } finally {
@@ -2395,8 +2395,8 @@ var M = {
2395
2395
  }
2396
2396
  } else $(e, t, a);
2397
2397
  }
2398
- else if (typeof n == "string") {
2399
- switch (a = t.blockedSegment, o = we(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) {
2398
+ else if (typeof r == "string") {
2399
+ switch (a = t.blockedSegment, o = R(a.chunks, r, i, e.responseState, a.formatContext), a.lastPushedText = !1, s = a.formatContext, a.formatContext = ce(s, r, i), On(e, t, o), a.formatContext = s, r) {
2400
2400
  case "area":
2401
2401
  case "base":
2402
2402
  case "br":
@@ -2412,25 +2412,25 @@ var M = {
2412
2412
  case "source":
2413
2413
  case "track":
2414
2414
  case "wbr": break;
2415
- default: a.chunks.push(z, u(n), Te);
2415
+ default: a.chunks.push(Te, u(r), Ee);
2416
2416
  }
2417
2417
  a.lastPushedText = !1;
2418
2418
  } else {
2419
- switch (n) {
2420
- case Ot:
2419
+ switch (r) {
2421
2420
  case Dt:
2422
- case _t:
2423
- case vt:
2421
+ case Et:
2424
2422
  case gt:
2423
+ case _t:
2424
+ case Y:
2425
2425
  $(e, t, i.children);
2426
2426
  return;
2427
- case Ct:
2427
+ case St:
2428
2428
  $(e, t, i.children);
2429
2429
  return;
2430
- case Et: throw Error(r(343));
2431
- case St:
2430
+ case Tt: throw Error(n(343));
2431
+ case xt:
2432
2432
  a: {
2433
- n = t.blockedBoundary, a = t.blockedSegment, o = i.fallback, i = i.children, s = /* @__PURE__ */ new Set();
2433
+ r = t.blockedBoundary, a = t.blockedSegment, o = i.fallback, i = i.children, s = /* @__PURE__ */ new Set();
2434
2434
  var c = {
2435
2435
  id: null,
2436
2436
  rootSegmentID: -1,
@@ -2446,84 +2446,84 @@ var M = {
2446
2446
  var d = bn(e, 0, null, a.formatContext, !1, !1);
2447
2447
  d.parentFlushed = !0, t.blockedBoundary = c, t.blockedSegment = d;
2448
2448
  try {
2449
- if (On(e, t, i), d.lastPushedText && d.textEmbedded && d.chunks.push(ce), d.status = 1, jn(c, d), c.pendingTasks === 0) break a;
2449
+ if (On(e, t, i), d.lastPushedText && d.textEmbedded && d.chunks.push(le), d.status = 1, jn(c, d), c.pendingTasks === 0) break a;
2450
2450
  } catch (t) {
2451
2451
  d.status = 4, c.forceClientRender = !0, c.errorDigest = xn(e, t);
2452
2452
  } finally {
2453
- t.blockedBoundary = n, t.blockedSegment = a;
2453
+ t.blockedBoundary = r, t.blockedSegment = a;
2454
2454
  }
2455
- t = yn(e, o, n, l, s, t.legacyContext, t.context, t.treeContext), e.pingedTasks.push(t);
2455
+ t = yn(e, o, r, l, s, t.legacyContext, t.context, t.treeContext), e.pingedTasks.push(t);
2456
2456
  }
2457
2457
  return;
2458
2458
  }
2459
- if (typeof n == "object" && n) switch (n.$$typeof) {
2460
- case xt:
2461
- if (i = Cn(e, t, n.render, i, a), en !== 0) {
2462
- n = t.treeContext, t.treeContext = Ut(n, 1, 0);
2459
+ if (typeof r == "object" && r) switch (r.$$typeof) {
2460
+ case bt:
2461
+ if (i = Cn(e, t, r.render, i, a), $t !== 0) {
2462
+ r = t.treeContext, t.treeContext = Ht(r, 1, 0);
2463
2463
  try {
2464
2464
  $(e, t, i);
2465
2465
  } finally {
2466
- t.treeContext = n;
2466
+ t.treeContext = r;
2467
2467
  }
2468
2468
  } else $(e, t, i);
2469
2469
  return;
2470
- case wt:
2471
- n = n.type, i = Tn(n, i), En(e, t, n, i, a);
2470
+ case Ct:
2471
+ r = r.type, i = Tn(r, i), En(e, t, r, i, a);
2472
2472
  return;
2473
- case yt:
2474
- if (a = i.children, n = n._context, i = i.value, o = n._currentValue, n._currentValue = i, s = Y, Y = i = {
2473
+ case vt:
2474
+ if (a = i.children, r = r._context, i = i.value, o = r._currentValue, r._currentValue = i, s = X, X = i = {
2475
2475
  parent: s,
2476
2476
  depth: s === null ? 0 : s.depth + 1,
2477
- context: n,
2477
+ context: r,
2478
2478
  parentValue: o,
2479
2479
  value: i
2480
- }, t.context = i, $(e, t, a), e = Y, e === null) throw Error(r(403));
2481
- i = e.parentValue, e.context._currentValue = i === kt ? e.context._defaultValue : i, e = Y = e.parent, t.context = e;
2480
+ }, t.context = i, $(e, t, a), e = X, e === null) throw Error(n(403));
2481
+ i = e.parentValue, e.context._currentValue = i === Ot ? e.context._defaultValue : i, e = X = e.parent, t.context = e;
2482
2482
  return;
2483
- case bt:
2484
- i = i.children, i = i(n._currentValue), $(e, t, i);
2483
+ case yt:
2484
+ i = i.children, i = i(r._currentValue), $(e, t, i);
2485
2485
  return;
2486
- case Tt:
2487
- a = n._init, n = a(n._payload), i = Tn(n, i), En(e, t, n, i, void 0);
2486
+ case wt:
2487
+ a = r._init, r = a(r._payload), i = Tn(r, i), En(e, t, r, i, void 0);
2488
2488
  return;
2489
2489
  }
2490
- throw Error(r(130, n == null ? n : typeof n, ""));
2490
+ throw Error(n(130, r == null ? r : typeof r, ""));
2491
2491
  }
2492
2492
  }
2493
- function $(e, t, n) {
2494
- if (t.node = n, typeof n == "object" && n) {
2495
- switch (n.$$typeof) {
2496
- case ht:
2497
- En(e, t, n.type, n.props, n.ref);
2493
+ function $(e, t, r) {
2494
+ if (t.node = r, typeof r == "object" && r) {
2495
+ switch (r.$$typeof) {
2496
+ case J:
2497
+ En(e, t, r.type, r.props, r.ref);
2498
2498
  return;
2499
- case J: throw Error(r(257));
2500
- case Tt:
2501
- var i = n._init;
2502
- n = i(n._payload), $(e, t, n);
2499
+ case ht: throw Error(n(257));
2500
+ case wt:
2501
+ var i = r._init;
2502
+ r = i(r._payload), $(e, t, r);
2503
2503
  return;
2504
2504
  }
2505
- if (O(n)) {
2506
- Dn(e, t, n);
2505
+ if (O(r)) {
2506
+ Dn(e, t, r);
2507
2507
  return;
2508
2508
  }
2509
- if (typeof n != "object" || !n ? i = null : (i = At && n[At] || n["@@iterator"], i = typeof i == "function" ? i : null), i &&= i.call(n)) {
2510
- if (n = i.next(), !n.done) {
2509
+ if (typeof r != "object" || !r ? i = null : (i = kt && r[kt] || r["@@iterator"], i = typeof i == "function" ? i : null), i &&= i.call(r)) {
2510
+ if (r = i.next(), !r.done) {
2511
2511
  var a = [];
2512
2512
  do
2513
- a.push(n.value), n = i.next();
2514
- while (!n.done);
2513
+ a.push(r.value), r = i.next();
2514
+ while (!r.done);
2515
2515
  Dn(e, t, a);
2516
2516
  }
2517
2517
  return;
2518
2518
  }
2519
- throw e = Object.prototype.toString.call(n), Error(r(31, e === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : e));
2519
+ throw e = Object.prototype.toString.call(r), Error(n(31, e === "[object Object]" ? "object with keys {" + Object.keys(r).join(", ") + "}" : e));
2520
2520
  }
2521
- 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));
2521
+ typeof r == "string" ? (i = t.blockedSegment, i.lastPushedText = ue(t.blockedSegment.chunks, r, e.responseState, i.lastPushedText)) : typeof r == "number" && (i = t.blockedSegment, i.lastPushedText = ue(t.blockedSegment.chunks, "" + r, e.responseState, i.lastPushedText));
2522
2522
  }
2523
2523
  function Dn(e, t, n) {
2524
2524
  for (var r = n.length, i = 0; i < r; i++) {
2525
2525
  var a = t.treeContext;
2526
- t.treeContext = Ut(a, r, i);
2526
+ t.treeContext = Ht(a, r, i);
2527
2527
  try {
2528
2528
  On(e, t, n[i]);
2529
2529
  } finally {
@@ -2539,18 +2539,18 @@ var M = {
2539
2539
  if (on(), typeof c == "object" && c && typeof c.then == "function") {
2540
2540
  n = c;
2541
2541
  var o = t.blockedSegment, s = bn(e, o.chunks.length, null, o.formatContext, o.lastPushedText, !0);
2542
- o.children.push(s), o.lastPushedText = !1, e = yn(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, zt(a);
2543
- } else throw t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, zt(a), c;
2542
+ o.children.push(s), o.lastPushedText = !1, e = yn(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, Rt(a);
2543
+ } else throw t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, Rt(a), c;
2544
2544
  }
2545
2545
  }
2546
2546
  function kn(e) {
2547
2547
  var t = e.blockedBoundary;
2548
2548
  e = e.blockedSegment, e.status = 3, Mn(this, t, e);
2549
2549
  }
2550
- function An(e, t, n) {
2550
+ function An(e, t, r) {
2551
2551
  var i = e.blockedBoundary;
2552
- e.blockedSegment.status = 3, i === null ? (t.allPendingTasks--, t.status !== 2 && (t.status = 2, t.destination !== null && t.destination.close())) : (i.pendingTasks--, i.forceClientRender || (i.forceClientRender = !0, e = n === void 0 ? Error(r(432)) : n, i.errorDigest = t.onError(e), i.parentFlushed && t.clientRenderedBoundaries.push(i)), i.fallbackAbortableTasks.forEach(function(e) {
2553
- return An(e, t, n);
2552
+ e.blockedSegment.status = 3, i === null ? (t.allPendingTasks--, t.status !== 2 && (t.status = 2, t.destination !== null && t.destination.close())) : (i.pendingTasks--, i.forceClientRender || (i.forceClientRender = !0, e = r === void 0 ? Error(n(432)) : r, i.errorDigest = t.onError(e), i.parentFlushed && t.clientRenderedBoundaries.push(i)), i.fallbackAbortableTasks.forEach(function(e) {
2553
+ return An(e, t, r);
2554
2554
  }), i.fallbackAbortableTasks.clear(), t.allPendingTasks--, t.allPendingTasks === 0 && (i = t.onAllReady, i()));
2555
2555
  }
2556
2556
  function jn(e, t) {
@@ -2559,19 +2559,19 @@ var M = {
2559
2559
  n.id = t.id, n.parentFlushed = !0, n.status === 1 && jn(e, n);
2560
2560
  } else e.completedSegments.push(t);
2561
2561
  }
2562
- function Mn(e, t, n) {
2562
+ function Mn(e, t, r) {
2563
2563
  if (t === null) {
2564
- if (n.parentFlushed) {
2565
- if (e.completedRootSegment !== null) throw Error(r(389));
2566
- e.completedRootSegment = n;
2564
+ if (r.parentFlushed) {
2565
+ if (e.completedRootSegment !== null) throw Error(n(389));
2566
+ e.completedRootSegment = r;
2567
2567
  }
2568
2568
  e.pendingRootTasks--, e.pendingRootTasks === 0 && (e.onShellError = _n, t = e.onShellReady, t());
2569
- } else t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (n.parentFlushed && n.status === 1 && jn(t, n), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(kn, e), t.fallbackAbortableTasks.clear()) : n.parentFlushed && n.status === 1 && (jn(t, n), t.completedSegments.length === 1 && t.parentFlushed && e.partialBoundaries.push(t)));
2569
+ } else t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (r.parentFlushed && r.status === 1 && jn(t, r), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(kn, e), t.fallbackAbortableTasks.clear()) : r.parentFlushed && r.status === 1 && (jn(t, r), t.completedSegments.length === 1 && t.parentFlushed && e.partialBoundaries.push(t)));
2570
2570
  e.allPendingTasks--, e.allPendingTasks === 0 && (e = e.onAllReady, e());
2571
2571
  }
2572
2572
  function Nn(e) {
2573
2573
  if (e.status !== 2) {
2574
- var t = Y, n = hn.current;
2574
+ var t = X, n = hn.current;
2575
2575
  hn.current = pn;
2576
2576
  var r = mn;
2577
2577
  mn = e.responseState;
@@ -2580,9 +2580,9 @@ var M = {
2580
2580
  for (a = 0; a < i.length; a++) {
2581
2581
  var o = i[a], s = e, c = o.blockedSegment;
2582
2582
  if (c.status === 0) {
2583
- zt(o.context);
2583
+ Rt(o.context);
2584
2584
  try {
2585
- $(s, o, o.node), c.lastPushedText && c.textEmbedded && c.chunks.push(ce), o.abortSet.delete(o), c.status = 1, Mn(s, o.blockedBoundary, c);
2585
+ $(s, o, o.node), c.lastPushedText && c.textEmbedded && c.chunks.push(le), o.abortSet.delete(o), c.status = 1, Mn(s, o.blockedBoundary, c);
2586
2586
  } catch (e) {
2587
2587
  if (on(), typeof e == "object" && e && typeof e.then == "function") {
2588
2588
  var l = o.ping;
@@ -2602,78 +2602,78 @@ var M = {
2602
2602
  } catch (t) {
2603
2603
  xn(e, t), Sn(e, t);
2604
2604
  } finally {
2605
- mn = r, hn.current = n, n === pn && zt(t);
2605
+ mn = r, hn.current = n, n === pn && Rt(t);
2606
2606
  }
2607
2607
  }
2608
2608
  }
2609
- function Pn(e, t, n) {
2610
- switch (n.parentFlushed = !0, n.status) {
2609
+ function Pn(e, t, r) {
2610
+ switch (r.parentFlushed = !0, r.status) {
2611
2611
  case 0:
2612
- var i = n.id = e.nextSegmentId++;
2613
- return n.lastPushedText = !1, n.textEmbedded = !1, e = e.responseState, o(t, Ee), o(t, e.placeholderPrefix), e = u(i.toString(16)), o(t, e), s(t, De);
2612
+ var i = r.id = e.nextSegmentId++;
2613
+ return r.lastPushedText = !1, r.textEmbedded = !1, e = e.responseState, o(t, De), o(t, e.placeholderPrefix), e = u(i.toString(16)), o(t, e), s(t, Oe);
2614
2614
  case 1:
2615
- n.status = 2;
2615
+ r.status = 2;
2616
2616
  var a = !0;
2617
- i = n.chunks;
2617
+ i = r.chunks;
2618
2618
  var c = 0;
2619
- n = n.children;
2620
- for (var l = 0; l < n.length; l++) {
2621
- for (a = n[l]; c < a.index; c++) o(t, i[c]);
2619
+ r = r.children;
2620
+ for (var l = 0; l < r.length; l++) {
2621
+ for (a = r[l]; c < a.index; c++) o(t, i[c]);
2622
2622
  a = Fn(e, t, a);
2623
2623
  }
2624
2624
  for (; c < i.length - 1; c++) o(t, i[c]);
2625
2625
  return c < i.length && (a = s(t, i[c])), a;
2626
- default: throw Error(r(390));
2626
+ default: throw Error(n(390));
2627
2627
  }
2628
2628
  }
2629
- function Fn(e, t, n) {
2630
- var i = n.boundary;
2631
- if (i === null) return Pn(e, t, n);
2632
- if (i.parentFlushed = !0, i.forceClientRender) i = i.errorDigest, s(t, B), o(t, Me), i && (o(t, Pe), o(t, u(T(i))), o(t, Ne)), s(t, Fe), Pn(e, t, n);
2629
+ function Fn(e, t, r) {
2630
+ var i = r.boundary;
2631
+ if (i === null) return Pn(e, t, r);
2632
+ if (i.parentFlushed = !0, i.forceClientRender) i = i.errorDigest, s(t, je), o(t, Ne), i && (o(t, Fe), o(t, u(T(i))), o(t, Pe)), s(t, B), Pn(e, t, r);
2633
2633
  else if (0 < i.pendingTasks) {
2634
2634
  i.rootSegmentID = e.nextSegmentId++, 0 < i.completedSegments.length && e.partialBoundaries.push(i);
2635
2635
  var a = e.responseState, c = a.nextSuspenseID++;
2636
- a = d(a.boundaryPrefix + c.toString(16)), i = i.id = a, V(t, e.responseState, i), Pn(e, t, n);
2637
- } else if (i.byteSize > e.progressiveChunkSize) i.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(i), V(t, e.responseState, i.id), Pn(e, t, n);
2636
+ a = d(a.boundaryPrefix + c.toString(16)), i = i.id = a, V(t, e.responseState, i), Pn(e, t, r);
2637
+ } else if (i.byteSize > e.progressiveChunkSize) i.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(i), V(t, e.responseState, i.id), Pn(e, t, r);
2638
2638
  else {
2639
- if (s(t, Oe), n = i.completedSegments, n.length !== 1) throw Error(r(391));
2640
- Fn(e, t, n[0]);
2639
+ if (s(t, ke), r = i.completedSegments, r.length !== 1) throw Error(n(391));
2640
+ Fn(e, t, r[0]);
2641
2641
  }
2642
- return s(t, je);
2642
+ return s(t, Me);
2643
2643
  }
2644
2644
  function In(e, t, n) {
2645
2645
  return Qe(t, e.responseState, n.formatContext, n.id), Fn(e, t, n), $e(t, n.formatContext);
2646
2646
  }
2647
- function Ln(e, t, n) {
2648
- for (var i = n.completedSegments, a = 0; a < i.length; a++) Rn(e, t, n, i[a]);
2649
- 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));
2650
- return n = u(n.toString(16)), o(t, i), o(t, ot), o(t, e.segmentPrefix), o(t, n), s(t, st);
2647
+ function Ln(e, t, r) {
2648
+ for (var i = r.completedSegments, a = 0; a < i.length; a++) Rn(e, t, r, i[a]);
2649
+ if (i.length = 0, e = e.responseState, i = r.id, r = r.rootSegmentID, o(t, e.startInlineScript), e.sentCompleteBoundaryFunction ? o(t, at) : (e.sentCompleteBoundaryFunction = !0, o(t, it)), i === null) throw Error(n(395));
2650
+ return r = u(r.toString(16)), o(t, i), o(t, ot), o(t, e.segmentPrefix), o(t, r), s(t, st);
2651
2651
  }
2652
- function Rn(e, t, n, i) {
2652
+ function Rn(e, t, r, i) {
2653
2653
  if (i.status === 2) return !0;
2654
2654
  var a = i.id;
2655
2655
  if (a === -1) {
2656
- if ((i.id = n.rootSegmentID) === -1) throw Error(r(392));
2656
+ if ((i.id = r.rootSegmentID) === -1) throw Error(n(392));
2657
2657
  return In(e, t, i);
2658
2658
  }
2659
2659
  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);
2660
2660
  }
2661
2661
  function zn(e, t) {
2662
- i = new Uint8Array(512), a = 0;
2662
+ r = new Uint8Array(512), i = 0;
2663
2663
  try {
2664
- var n = e.completedRootSegment;
2665
- if (n !== null && e.pendingRootTasks === 0) {
2666
- Fn(e, t, n), e.completedRootSegment = null;
2664
+ var a = e.completedRootSegment;
2665
+ if (a !== null && e.pendingRootTasks === 0) {
2666
+ Fn(e, t, a), e.completedRootSegment = null;
2667
2667
  var l = e.responseState.bootstrapChunks;
2668
- for (n = 0; n < l.length - 1; n++) o(t, l[n]);
2669
- n < l.length && s(t, l[n]);
2668
+ for (a = 0; a < l.length - 1; a++) o(t, l[a]);
2669
+ a < l.length && s(t, l[a]);
2670
2670
  }
2671
2671
  var d = e.clientRenderedBoundaries, f;
2672
2672
  for (f = 0; f < d.length; f++) {
2673
2673
  var p = d[f];
2674
2674
  l = t;
2675
2675
  var m = e.responseState, h = p.id, g = p.errorDigest, _ = p.errorMessage, v = p.errorComponentStack;
2676
- if (o(l, m.startInlineScript), m.sentClientRenderFunction ? o(l, q) : (m.sentClientRenderFunction = !0, o(l, ct)), h === null) throw Error(r(395));
2676
+ if (o(l, m.startInlineScript), m.sentClientRenderFunction ? o(l, q) : (m.sentClientRenderFunction = !0, o(l, ct)), h === null) throw Error(n(395));
2677
2677
  if (o(l, h), o(l, lt), (g || _ || v) && (o(l, dt), o(l, u(pt(g || "")))), (_ || v) && (o(l, dt), o(l, u(pt(_ || "")))), v && (o(l, dt), o(l, u(pt(v)))), !s(l, ut)) {
2678
2678
  e.destination = null, f++, d.splice(0, f);
2679
2679
  return;
@@ -2685,7 +2685,7 @@ var M = {
2685
2685
  e.destination = null, f++, y.splice(0, f);
2686
2686
  return;
2687
2687
  }
2688
- y.splice(0, f), c(t), i = new Uint8Array(512), a = 0;
2688
+ y.splice(0, f), c(t), r = new Uint8Array(512), i = 0;
2689
2689
  var b = e.partialBoundaries;
2690
2690
  for (f = 0; f < b.length; f++) {
2691
2691
  var x = b[f];
@@ -2725,7 +2725,7 @@ var M = {
2725
2725
  xn(e, t), Sn(e, t);
2726
2726
  }
2727
2727
  }
2728
- t.renderToReadableStream = function(e, t) {
2728
+ e.renderToReadableStream = function(e, t) {
2729
2729
  return new Promise(function(n, r) {
2730
2730
  var i, a, o = new Promise(function(e, t) {
2731
2731
  a = e, i = t;
@@ -2759,23 +2759,23 @@ var M = {
2759
2759
  }
2760
2760
  Nn(s);
2761
2761
  });
2762
- }, t.version = "18.3.1";
2763
- })), F = /* @__PURE__ */ r(((e) => {
2764
- var t = P(), n = he();
2762
+ }, e.version = "18.3.1";
2763
+ })), ge = /* @__PURE__ */ e(((e) => {
2764
+ var t = M(), n = N();
2765
2765
  e.version = t.version, e.renderToString = t.renderToString, e.renderToStaticMarkup = t.renderToStaticMarkup, e.renderToNodeStream = t.renderToNodeStream, e.renderToStaticNodeStream = t.renderToStaticNodeStream, e.renderToReadableStream = n.renderToReadableStream;
2766
- })), I = /* @__PURE__ */ n(t(), 1), ge = F(), _e = (0, I.default)("@pie-lib:text-select:token-select"), ve = a("div")(() => ({
2766
+ })), P = /* @__PURE__ */ t(n(), 1), F = ge(), _e = (0, P.default)("@pie-lib:text-select:token-select"), ve = x("div")(() => ({
2767
2767
  backgroundColor: "none",
2768
2768
  whiteSpace: "pre",
2769
- ...h(),
2769
+ ...g(),
2770
2770
  "& p": { whiteSpace: "break-spaces" }
2771
- })), ye = a("div")(() => ({
2771
+ })), ye = x("div")(() => ({
2772
2772
  display: "none",
2773
2773
  position: "absolute",
2774
2774
  visibility: "hidden",
2775
2775
  pointerEvents: "none"
2776
2776
  })), be = (e = "") => e.replace(/&nbsp;/gi, "\xA0"), xe = (e = "") => be(e).replace(/<\/p>\s*<p[^>]*>/gi, "\n\n").replace(/<br\s*\/?>/gi, "\n").replace(/<\/?(table|tbody|tr|td|p)[^>]*>/gi, ""), Se = class extends C.Component {
2777
2777
  static propTypes = {
2778
- tokens: O.default.arrayOf(O.default.shape(M)).isRequired,
2778
+ tokens: O.default.arrayOf(O.default.shape(he)).isRequired,
2779
2779
  className: O.default.string,
2780
2780
  onChange: O.default.func.isRequired,
2781
2781
  disabled: O.default.bool,
@@ -2794,31 +2794,31 @@ var M = {
2794
2794
  return t === 1 ? !0 : (_e("[canSelectMore] maxNoOfSelections: ", t, "selectedCount: ", e), t <= 0 || isFinite(t) && e < t);
2795
2795
  };
2796
2796
  toggleToken = (e) => {
2797
- let { target: t } = e, { tokens: n, animationsDisabled: r } = this.props, i = v(n), a = (t.closest?.(`.${N.rootClassName}`))?.dataset?.indexkey, o = a === void 0 ? void 0 : i[a];
2798
- if (o && o.correct === void 0 && !r && !o.isMissing) {
2799
- let { onChange: e, maxNoOfSelections: t } = this.props, r = !o.selected;
2797
+ let { target: t } = e, { tokens: n, animationsDisabled: a } = this.props, o = r(n), s = (t.closest?.(`.${j.rootClassName}`))?.dataset?.indexkey, c = s === void 0 ? void 0 : o[s];
2798
+ if (c && c.correct === void 0 && !a && !c.isMissing) {
2799
+ let { onChange: e, maxNoOfSelections: t } = this.props, r = !c.selected;
2800
2800
  if (t === 1 && this.selectedCount() === 1) {
2801
- let t = (n || []).filter((e) => e.selected), s = i.map((e) => p(e, t[0]) ? {
2801
+ let t = (n || []).filter((e) => e.selected), a = o.map((e) => i(e, t[0]) ? {
2802
2802
  ...e,
2803
2803
  selected: !1
2804
2804
  } : {
2805
2805
  ...e,
2806
2806
  selectable: !0
2807
- }), c = {
2808
- ...o,
2807
+ }), l = {
2808
+ ...c,
2809
2809
  selected: r
2810
2810
  };
2811
- s.splice(a, 1, c), e(s);
2811
+ a.splice(s, 1, l), e(a);
2812
2812
  } else {
2813
2813
  if (r && t > 0 && this.selectedCount() >= t) {
2814
2814
  _e("skip toggle max reached");
2815
2815
  return;
2816
2816
  }
2817
2817
  let n = {
2818
- ...o,
2818
+ ...c,
2819
2819
  selected: r
2820
2820
  };
2821
- i.splice(a, 1, n), e(i);
2821
+ o.splice(s, 1, n), e(o);
2822
2822
  }
2823
2823
  }
2824
2824
  };
@@ -2826,7 +2826,7 @@ var M = {
2826
2826
  let { tokens: e, disabled: t, highlightChoices: n, animationsDisabled: r } = this.props, i = this.selectedCount();
2827
2827
  return (e || []).reduce((e, a, o) => {
2828
2828
  let s = a.selected || a.selectable && this.canSelectMore(i), c = a.correct !== void 0 && (a.selectable || a.selected);
2829
- return a.text === "\n\n" ? `${e}</p><p>` : a.text === "\n" ? `${e}<br>` : s && !t || c || a.selected || a.isMissing || r && a.predefined ? e + (0, ge.renderToString)(/* @__PURE__ */ E(N, {
2829
+ return a.text === "\n\n" ? `${e}</p><p>` : a.text === "\n" ? `${e}<br>` : s && !t || c || a.selected || a.isMissing || r && a.predefined ? e + (0, F.renderToString)(/* @__PURE__ */ E(j, {
2830
2830
  disabled: t,
2831
2831
  index: o,
2832
2832
  ...a,
@@ -2842,7 +2842,7 @@ var M = {
2842
2842
  return /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ D(ye, {
2843
2843
  "aria-hidden": "true",
2844
2844
  children: [
2845
- /* @__PURE__ */ E(N, {
2845
+ /* @__PURE__ */ E(j, {
2846
2846
  text: " ",
2847
2847
  index: -1,
2848
2848
  selectable: !0,
@@ -2850,7 +2850,7 @@ var M = {
2850
2850
  highlight: !1,
2851
2851
  animationsDisabled: !1
2852
2852
  }),
2853
- /* @__PURE__ */ E(N, {
2853
+ /* @__PURE__ */ E(j, {
2854
2854
  text: " ",
2855
2855
  index: -1,
2856
2856
  selectable: !0,
@@ -2858,7 +2858,7 @@ var M = {
2858
2858
  highlight: !0,
2859
2859
  animationsDisabled: !1
2860
2860
  }),
2861
- /* @__PURE__ */ E(N, {
2861
+ /* @__PURE__ */ E(j, {
2862
2862
  text: " ",
2863
2863
  index: -1,
2864
2864
  selectable: !0,
@@ -2867,7 +2867,7 @@ var M = {
2867
2867
  highlight: !1,
2868
2868
  animationsDisabled: !1
2869
2869
  }),
2870
- /* @__PURE__ */ E(N, {
2870
+ /* @__PURE__ */ E(j, {
2871
2871
  text: " ",
2872
2872
  index: -1,
2873
2873
  selectable: !0,
@@ -2876,7 +2876,7 @@ var M = {
2876
2876
  highlight: !1,
2877
2877
  animationsDisabled: !1
2878
2878
  }),
2879
- /* @__PURE__ */ E(N, {
2879
+ /* @__PURE__ */ E(j, {
2880
2880
  text: " ",
2881
2881
  index: -1,
2882
2882
  selectable: !0,
@@ -2885,7 +2885,7 @@ var M = {
2885
2885
  animationsDisabled: !0,
2886
2886
  predefined: !0
2887
2887
  }),
2888
- /* @__PURE__ */ E(N, {
2888
+ /* @__PURE__ */ E(j, {
2889
2889
  text: " ",
2890
2890
  index: -1,
2891
2891
  selectable: !0,
@@ -2895,7 +2895,7 @@ var M = {
2895
2895
  highlight: !1,
2896
2896
  animationsDisabled: !1
2897
2897
  }),
2898
- /* @__PURE__ */ E(N, {
2898
+ /* @__PURE__ */ E(j, {
2899
2899
  text: " ",
2900
2900
  index: -1,
2901
2901
  selectable: !0,
@@ -2905,7 +2905,7 @@ var M = {
2905
2905
  highlight: !1,
2906
2906
  animationsDisabled: !1
2907
2907
  }),
2908
- /* @__PURE__ */ E(N, {
2908
+ /* @__PURE__ */ E(j, {
2909
2909
  text: " ",
2910
2910
  index: -1,
2911
2911
  isMissing: !0,
@@ -2920,12 +2920,12 @@ var M = {
2920
2920
  dangerouslySetInnerHTML: { __html: t }
2921
2921
  })] });
2922
2922
  }
2923
- }, L = (0, I.default)("@pie-lib:text-select"), R = class extends C.Component {
2923
+ }, Ce = (0, P.default)("@pie-lib:text-select"), I = class extends C.Component {
2924
2924
  static propTypes = {
2925
2925
  onChange: O.default.func,
2926
2926
  disabled: O.default.bool,
2927
- tokens: O.default.arrayOf(O.default.shape(M)).isRequired,
2928
- selectedTokens: O.default.arrayOf(O.default.shape(M)).isRequired,
2927
+ tokens: O.default.arrayOf(O.default.shape(he)).isRequired,
2928
+ selectedTokens: O.default.arrayOf(O.default.shape(he)).isRequired,
2929
2929
  text: O.default.string.isRequired,
2930
2930
  className: O.default.string,
2931
2931
  highlightChoices: O.default.bool,
@@ -2940,8 +2940,8 @@ var M = {
2940
2940
  })));
2941
2941
  };
2942
2942
  render() {
2943
- let { text: e, disabled: t, tokens: n, selectedTokens: r, className: i, highlightChoices: a, maxNoOfSelections: o, animationsDisabled: s } = this.props, c = g(e, n);
2944
- L("normalized: ", c);
2943
+ let { text: e, disabled: t, tokens: n, selectedTokens: r, className: i, highlightChoices: a, maxNoOfSelections: o, animationsDisabled: s } = this.props, c = _(e, n);
2944
+ Ce("normalized: ", c);
2945
2945
  let l = c.map((e) => {
2946
2946
  let n = r.findIndex((t) => t.start === e.start && t.end === e.end) !== -1, i = n ? e.correct : void 0, a = e.isMissing;
2947
2947
  return {
@@ -2962,7 +2962,7 @@ var M = {
2962
2962
  animationsDisabled: s
2963
2963
  });
2964
2964
  }
2965
- }, Ce = {
2965
+ }, L = {
2966
2966
  translation: {
2967
2967
  categorize: {
2968
2968
  limitMaxChoicesPerCategory: "You've reached the limit of {{maxChoicesPerCategory}} responses per area. To add another response, one must first be removed.",
@@ -3140,7 +3140,7 @@ var M = {
3140
3140
  hideNote: "Ocultar Nota",
3141
3141
  cancel: "Cancelar"
3142
3142
  }
3143
- }, z = (e) => typeof e == "string", Te = () => {
3143
+ }, R = (e) => typeof e == "string", Te = () => {
3144
3144
  let e, t, n = new Promise((n, r) => {
3145
3145
  e = n, t = r;
3146
3146
  });
@@ -3149,8 +3149,8 @@ var M = {
3149
3149
  e.forEach((e) => {
3150
3150
  t[e] && (n[e] = t[e]);
3151
3151
  });
3152
- }, Oe = /###/g, ke = (e) => e && e.indexOf("###") > -1 ? e.replace(Oe, ".") : e, Ae = (e) => !e || z(e), B = (e, t, n) => {
3153
- let r = z(t) ? t.split(".") : t, i = 0;
3152
+ }, Oe = /###/g, ke = (e) => e && e.indexOf("###") > -1 ? e.replace(Oe, ".") : e, Ae = (e) => !e || R(e), z = (e, t, n) => {
3153
+ let r = R(t) ? t.split(".") : t, i = 0;
3154
3154
  for (; i < r.length - 1;) {
3155
3155
  if (Ae(e)) return {};
3156
3156
  let t = ke(r[i]);
@@ -3161,34 +3161,34 @@ var M = {
3161
3161
  k: ke(r[i])
3162
3162
  };
3163
3163
  }, je = (e, t, n) => {
3164
- let { obj: r, k: i } = B(e, t, Object);
3164
+ let { obj: r, k: i } = z(e, t, Object);
3165
3165
  if (r !== void 0 || t.length === 1) {
3166
3166
  r[i] = n;
3167
3167
  return;
3168
3168
  }
3169
- let a = t[t.length - 1], o = t.slice(0, t.length - 1), s = B(e, o, Object);
3170
- for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s = B(e, o, Object), s?.obj && s.obj[`${s.k}.${a}`] !== void 0 && (s.obj = void 0);
3169
+ let a = t[t.length - 1], o = t.slice(0, t.length - 1), s = z(e, o, Object);
3170
+ for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s = z(e, o, Object), s?.obj && s.obj[`${s.k}.${a}`] !== void 0 && (s.obj = void 0);
3171
3171
  s.obj[`${s.k}.${a}`] = n;
3172
3172
  }, Me = (e, t, n, r) => {
3173
- let { obj: i, k: a } = B(e, t, Object);
3173
+ let { obj: i, k: a } = z(e, t, Object);
3174
3174
  i[a] = i[a] || [], i[a].push(n);
3175
3175
  }, Ne = (e, t) => {
3176
- let { obj: n, k: r } = B(e, t);
3176
+ let { obj: n, k: r } = z(e, t);
3177
3177
  if (n && Object.prototype.hasOwnProperty.call(n, r)) return n[r];
3178
3178
  }, Pe = (e, t, n) => {
3179
3179
  let r = Ne(e, n);
3180
3180
  return r === void 0 ? Ne(t, n) : r;
3181
3181
  }, Fe = (e, t, n) => {
3182
- for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ? z(e[r]) || e[r] instanceof String || z(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : Fe(e[r], t[r], n) : e[r] = t[r]);
3182
+ for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ? R(e[r]) || e[r] instanceof String || R(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : Fe(e[r], t[r], n) : e[r] = t[r]);
3183
3183
  return e;
3184
- }, V = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), Ie = {
3184
+ }, B = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), V = {
3185
3185
  "&": "&amp;",
3186
3186
  "<": "&lt;",
3187
3187
  ">": "&gt;",
3188
3188
  "\"": "&quot;",
3189
3189
  "'": "&#39;",
3190
3190
  "/": "&#x2F;"
3191
- }, Le = (e) => z(e) ? e.replace(/[&<>"'\/]/g, (e) => Ie[e]) : e, H = class {
3191
+ }, Ie = (e) => R(e) ? e.replace(/[&<>"'\/]/g, (e) => V[e]) : e, Le = class {
3192
3192
  constructor(e) {
3193
3193
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
3194
3194
  }
@@ -3198,17 +3198,17 @@ var M = {
3198
3198
  let n = new RegExp(e);
3199
3199
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
3200
3200
  }
3201
- }, Re = [
3201
+ }, H = [
3202
3202
  " ",
3203
3203
  ",",
3204
3204
  "?",
3205
3205
  "!",
3206
3206
  ";"
3207
- ], ze = new H(20), Be = (e, t, n) => {
3207
+ ], Re = new Le(20), ze = (e, t, n) => {
3208
3208
  t ||= "", n ||= "";
3209
- let r = Re.filter((e) => t.indexOf(e) < 0 && n.indexOf(e) < 0);
3209
+ let r = H.filter((e) => t.indexOf(e) < 0 && n.indexOf(e) < 0);
3210
3210
  if (r.length === 0) return !0;
3211
- let i = ze.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e);
3211
+ let i = Re.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e);
3212
3212
  if (!a) {
3213
3213
  let t = e.indexOf(n);
3214
3214
  t > 0 && !i.test(e.substring(0, t)) && (a = !0);
@@ -3233,7 +3233,7 @@ var M = {
3233
3233
  i = t;
3234
3234
  }
3235
3235
  return i;
3236
- }, W = (e) => e?.replace(/_/g, "-"), G = {
3236
+ }, W = (e) => e?.replace(/_/g, "-"), Be = {
3237
3237
  type: "logger",
3238
3238
  log(e) {
3239
3239
  this.output("log", e);
@@ -3247,12 +3247,12 @@ var M = {
3247
3247
  output(e, t) {
3248
3248
  console?.[e]?.apply?.(console, t);
3249
3249
  }
3250
- }, K = new class e {
3250
+ }, G = new class e {
3251
3251
  constructor(e, t = {}) {
3252
3252
  this.init(e, t);
3253
3253
  }
3254
3254
  init(e, t = {}) {
3255
- this.prefix = t.prefix || "i18next:", this.logger = e || G, this.options = t, this.debug = t.debug;
3255
+ this.prefix = t.prefix || "i18next:", this.logger = e || Be, this.options = t, this.debug = t.debug;
3256
3256
  }
3257
3257
  log(...e) {
3258
3258
  return this.forward(e, "log", "", !0);
@@ -3267,7 +3267,7 @@ var M = {
3267
3267
  return this.forward(e, "warn", "WARNING DEPRECATED: ", !0);
3268
3268
  }
3269
3269
  forward(e, t, n, r) {
3270
- return r && !this.debug ? null : (z(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
3270
+ return r && !this.debug ? null : (R(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
3271
3271
  }
3272
3272
  create(t) {
3273
3273
  return new e(this.logger, {
@@ -3321,16 +3321,16 @@ var M = {
3321
3321
  }
3322
3322
  getResource(e, t, n, r = {}) {
3323
3323
  let i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = r.ignoreJSONStructure === void 0 ? this.options.ignoreJSONStructure : r.ignoreJSONStructure, o;
3324
- e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : z(n) && i ? o.push(...n.split(i)) : o.push(n)));
3324
+ e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : R(n) && i ? o.push(...n.split(i)) : o.push(n)));
3325
3325
  let s = Ne(this.data, o);
3326
- return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !z(n) ? s : U(this.data?.[e]?.[t], n, i);
3326
+ return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !R(n) ? s : U(this.data?.[e]?.[t], n, i);
3327
3327
  }
3328
3328
  addResource(e, t, n, r, i = { silent: !1 }) {
3329
3329
  let a = i.keySeparator === void 0 ? this.options.keySeparator : i.keySeparator, o = [e, t];
3330
3330
  n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), je(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
3331
3331
  }
3332
3332
  addResources(e, t, n, r = { silent: !1 }) {
3333
- for (let r in n) (z(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], { silent: !0 });
3333
+ for (let r in n) (R(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], { silent: !0 });
3334
3334
  r.silent || this.emit("added", e, t, n);
3335
3335
  }
3336
3336
  addResourceBundle(e, t, n, r, i, a = {
@@ -3379,7 +3379,7 @@ function Ge() {
3379
3379
  let e = [], t = Object.create(null), n;
3380
3380
  return t.get = (r, i) => (n?.revoke?.(), i === We ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(Object.create(null), t).proxy;
3381
3381
  }
3382
- function Ke(e, t) {
3382
+ function K(e, t) {
3383
3383
  let { [We]: n } = e(Ge()), r = t?.keySeparator ?? ".", i = t?.nsSeparator ?? ":";
3384
3384
  if (n.length > 1 && i) {
3385
3385
  let e = t?.ns, a = Array.isArray(e) ? e : null;
@@ -3387,7 +3387,7 @@ function Ke(e, t) {
3387
3387
  }
3388
3388
  return n.join(r);
3389
3389
  }
3390
- var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number", Ye = class e extends Ve {
3390
+ var Ke = {}, qe = (e) => !R(e) && typeof e != "boolean" && typeof e != "number", Je = class e extends Ve {
3391
3391
  constructor(e, t = {}) {
3392
3392
  super(), De([
3393
3393
  "resourceStore",
@@ -3397,7 +3397,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3397
3397
  "backendConnector",
3398
3398
  "i18nFormat",
3399
3399
  "utils"
3400
- ], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = K.create("translator");
3400
+ ], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = G.create("translator");
3401
3401
  }
3402
3402
  changeLanguage(e) {
3403
3403
  e && (this.language = e);
@@ -3407,34 +3407,34 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3407
3407
  if (e == null) return !1;
3408
3408
  let r = this.resolve(e, n);
3409
3409
  if (r?.res === void 0) return !1;
3410
- let i = Je(r.res);
3410
+ let i = qe(r.res);
3411
3411
  return !(n.returnObjects === !1 && i);
3412
3412
  }
3413
3413
  extractFromKey(e, t) {
3414
3414
  let n = t.nsSeparator === void 0 ? this.options.nsSeparator : t.nsSeparator;
3415
3415
  n === void 0 && (n = ":");
3416
- let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Be(e, n, r);
3416
+ let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !ze(e, n, r);
3417
3417
  if (a && !o) {
3418
3418
  let t = e.match(this.interpolator.nestingRegexp);
3419
3419
  if (t && t.length > 0) return {
3420
3420
  key: e,
3421
- namespaces: z(i) ? [i] : i
3421
+ namespaces: R(i) ? [i] : i
3422
3422
  };
3423
3423
  let a = e.split(n);
3424
3424
  (n !== r || n === r && this.options.ns.indexOf(a[0]) > -1) && (i = a.shift()), e = a.join(r);
3425
3425
  }
3426
3426
  return {
3427
3427
  key: e,
3428
- namespaces: z(i) ? [i] : i
3428
+ namespaces: R(i) ? [i] : i
3429
3429
  };
3430
3430
  }
3431
3431
  translate(t, n, r) {
3432
3432
  let i = typeof n == "object" ? { ...n } : n;
3433
3433
  if (typeof i != "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), typeof i == "object" && (i = { ...i }), i ||= {}, t == null) return "";
3434
- typeof t == "function" && (t = Ke(t, {
3434
+ typeof t == "function" && (t = K(t, {
3435
3435
  ...this.options,
3436
3436
  ...i
3437
- })), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ? Ke(e, {
3437
+ })), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ? K(e, {
3438
3438
  ...this.options,
3439
3439
  ...i
3440
3440
  }) : String(e));
@@ -3460,10 +3460,10 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3460
3460
  "[object Number]",
3461
3461
  "[object Function]",
3462
3462
  "[object RegExp]"
3463
- ], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !z(i.count), x = e.hasDefaultValue(i), S = b ? this.pluralResolver.getSuffix(d, i.count, i) : "", C = i.ordinal && b ? this.pluralResolver.getSuffix(d, i.count, { ordinal: !1 }) : "", w = b && !i.ordinal && i.count === 0, T = w && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${S}`] || i[`defaultValue${C}`] || i.defaultValue, E = m;
3463
+ ], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !R(i.count), x = e.hasDefaultValue(i), S = b ? this.pluralResolver.getSuffix(d, i.count, i) : "", C = i.ordinal && b ? this.pluralResolver.getSuffix(d, i.count, { ordinal: !1 }) : "", w = b && !i.ordinal && i.count === 0, T = w && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${S}`] || i[`defaultValue${C}`] || i.defaultValue, E = m;
3464
3464
  y && !m && x && (E = T);
3465
- let D = Je(E), O = Object.prototype.toString.apply(E);
3466
- if (y && E && D && _.indexOf(O) < 0 && !(z(v) && Array.isArray(E))) {
3465
+ let D = qe(E), O = Object.prototype.toString.apply(E);
3466
+ if (y && E && D && _.indexOf(O) < 0 && !(R(v) && Array.isArray(E))) {
3467
3467
  if (!i.returnObjects && !this.options.returnObjects) {
3468
3468
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
3469
3469
  let e = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, E, {
@@ -3478,7 +3478,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3478
3478
  let r = `${n}${o}${e}`;
3479
3479
  x && !m ? t[e] = this.translate(r, {
3480
3480
  ...i,
3481
- defaultValue: Je(T) ? T[e] : void 0,
3481
+ defaultValue: qe(T) ? T[e] : void 0,
3482
3482
  joinArrays: !1,
3483
3483
  ns: c
3484
3484
  }) : t[e] = this.translate(r, {
@@ -3489,7 +3489,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3489
3489
  }
3490
3490
  m = t;
3491
3491
  }
3492
- } else if (y && z(v) && Array.isArray(m)) m = m.join(v), m &&= this.extendTranslation(m, t, i, r);
3492
+ } else if (y && R(v) && Array.isArray(m)) m = m.join(v), m &&= this.extendTranslation(m, t, i, r);
3493
3493
  else {
3494
3494
  let e = !1, n = !1;
3495
3495
  !this.isValidLookup(m) && x && (e = !0, m = T), this.isValidLookup(m) || (n = !0, m = s);
@@ -3533,12 +3533,12 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3533
3533
  ...n.interpolation
3534
3534
  }
3535
3535
  });
3536
- let a = z(e) && (n?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : n.interpolation.skipOnVariables), o;
3536
+ let a = R(e) && (n?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : n.interpolation.skipOnVariables), o;
3537
3537
  if (a) {
3538
3538
  let t = e.match(this.interpolator.nestingRegexp);
3539
3539
  o = t && t.length;
3540
3540
  }
3541
- let s = n.replace && !z(n.replace) ? n.replace : n;
3541
+ let s = n.replace && !R(n.replace) ? n.replace : n;
3542
3542
  if (this.options.interpolation.defaultVariables && (s = {
3543
3543
  ...this.options.interpolation.defaultVariables,
3544
3544
  ...s
@@ -3548,7 +3548,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3548
3548
  }
3549
3549
  !n.lng && r && r.res && (n.lng = this.language || r.usedLng), n.nest !== !1 && (e = this.interpolator.nest(e, (...e) => i?.[0] === e[0] && !n.context ? (this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`), null) : this.translate(...e, t), n)), n.interpolation && this.interpolator.reset();
3550
3550
  }
3551
- let a = n.postProcess || this.options.postProcess, o = z(a) ? [a] : a;
3551
+ let a = n.postProcess || this.options.postProcess, o = R(a) ? [a] : a;
3552
3552
  return e != null && o?.length && n.applyPostProcessor !== !1 && (e = Ue.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
3553
3553
  i18nResolved: {
3554
3554
  ...r,
@@ -3559,7 +3559,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3559
3559
  }
3560
3560
  resolve(e, t = {}) {
3561
3561
  let n, r, i, a, o;
3562
- return z(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ? Ke(e, {
3562
+ return R(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ? K(e, {
3563
3563
  ...this.options,
3564
3564
  ...t
3565
3565
  }) : e)), e.forEach((e) => {
@@ -3568,9 +3568,9 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3568
3568
  r = c;
3569
3569
  let l = s.namespaces;
3570
3570
  this.options.fallbackNS && (l = l.concat(this.options.fallbackNS));
3571
- let u = t.count !== void 0 && !z(t.count), d = u && !t.ordinal && t.count === 0, f = t.context !== void 0 && (z(t.context) || typeof t.context == "number") && t.context !== "", p = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
3571
+ let u = t.count !== void 0 && !R(t.count), d = u && !t.ordinal && t.count === 0, f = t.context !== void 0 && (R(t.context) || typeof t.context == "number") && t.context !== "", p = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
3572
3572
  l.forEach((e) => {
3573
- this.isValidLookup(n) || (o = e, !qe[`${p[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (qe[`${p[0]}-${e}`] = !0, this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach((r) => {
3573
+ this.isValidLookup(n) || (o = e, !Ke[`${p[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (Ke[`${p[0]}-${e}`] = !0, this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach((r) => {
3574
3574
  if (this.isValidLookup(n)) return;
3575
3575
  a = r;
3576
3576
  let o = [c];
@@ -3619,7 +3619,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3619
3619
  "joinArrays",
3620
3620
  "postProcess",
3621
3621
  "interpolation"
3622
- ], n = e.replace && !z(e.replace), r = n ? e.replace : e;
3622
+ ], n = e.replace && !R(e.replace), r = n ? e.replace : e;
3623
3623
  if (n && e.count !== void 0 && (r.count = e.count), this.options.interpolation.defaultVariables && (r = {
3624
3624
  ...this.options.interpolation.defaultVariables,
3625
3625
  ...r
@@ -3633,9 +3633,9 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3633
3633
  for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t) && t.substring(0, 12) === "defaultValue" && e[t] !== void 0) return !0;
3634
3634
  return !1;
3635
3635
  }
3636
- }, Xe = class {
3636
+ }, Ye = class {
3637
3637
  constructor(e) {
3638
- this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = K.create("languageUtils");
3638
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = G.create("languageUtils");
3639
3639
  }
3640
3640
  getScriptPartFromCode(e) {
3641
3641
  if (e = W(e), !e || e.indexOf("-") < 0) return null;
@@ -3648,7 +3648,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3648
3648
  return this.formatLanguageCode(t[0]);
3649
3649
  }
3650
3650
  formatLanguageCode(e) {
3651
- if (z(e) && e.indexOf("-") > -1) {
3651
+ if (R(e) && e.indexOf("-") > -1) {
3652
3652
  let t;
3653
3653
  try {
3654
3654
  t = Intl.getCanonicalLocales(e)[0];
@@ -3680,7 +3680,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3680
3680
  }
3681
3681
  getFallbackCodes(e, t) {
3682
3682
  if (!e) return [];
3683
- if (typeof e == "function" && (e = e(t)), z(e) && (e = [e]), Array.isArray(e)) return e;
3683
+ if (typeof e == "function" && (e = e(t)), R(e) && (e = [e]), Array.isArray(e)) return e;
3684
3684
  if (!t) return e.default || [];
3685
3685
  let n = e[t];
3686
3686
  return n ||= e[this.getScriptPartFromCode(t)], n ||= e[this.formatLanguageCode(t)], n ||= e[this.getLanguagePartFromCode(t)], n ||= e.default, n || [];
@@ -3689,23 +3689,23 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3689
3689
  let n = this.getFallbackCodes((t === !1 ? [] : t) || this.options.fallbackLng || [], e), r = [], i = (e) => {
3690
3690
  e && (this.isSupportedCode(e) ? r.push(e) : this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`));
3691
3691
  };
3692
- return z(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && i(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && i(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && i(this.getLanguagePartFromCode(e))) : z(e) && i(this.formatLanguageCode(e)), n.forEach((e) => {
3692
+ return R(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && i(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && i(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && i(this.getLanguagePartFromCode(e))) : R(e) && i(this.formatLanguageCode(e)), n.forEach((e) => {
3693
3693
  r.indexOf(e) < 0 && i(this.formatLanguageCode(e));
3694
3694
  }), r;
3695
3695
  }
3696
- }, Ze = {
3696
+ }, Xe = {
3697
3697
  zero: 0,
3698
3698
  one: 1,
3699
3699
  two: 2,
3700
3700
  few: 3,
3701
3701
  many: 4,
3702
3702
  other: 5
3703
- }, Qe = {
3703
+ }, Ze = {
3704
3704
  select: (e) => e === 1 ? "one" : "other",
3705
3705
  resolvedOptions: () => ({ pluralCategories: ["one", "other"] })
3706
- }, $e = class {
3706
+ }, Qe = class {
3707
3707
  constructor(e, t = {}) {
3708
- this.languageUtils = e, this.options = t, this.logger = K.create("pluralResolver"), this.pluralRulesCache = {};
3708
+ this.languageUtils = e, this.options = t, this.logger = G.create("pluralResolver"), this.pluralRulesCache = {};
3709
3709
  }
3710
3710
  clearCache() {
3711
3711
  this.pluralRulesCache = {};
@@ -3720,8 +3720,8 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3720
3720
  try {
3721
3721
  a = new Intl.PluralRules(n, { type: r });
3722
3722
  } catch {
3723
- if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"), Qe;
3724
- if (!e.match(/-|_/)) return Qe;
3723
+ if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"), Ze;
3724
+ if (!e.match(/-|_/)) return Ze;
3725
3725
  let n = this.languageUtils.getLanguagePartFromCode(e);
3726
3726
  a = this.getRule(n, t);
3727
3727
  }
@@ -3736,23 +3736,23 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3736
3736
  }
3737
3737
  getSuffixes(e, t = {}) {
3738
3738
  let n = this.getRule(e, t);
3739
- return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => Ze[e] - Ze[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : [];
3739
+ return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => Xe[e] - Xe[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : [];
3740
3740
  }
3741
3741
  getSuffix(e, t, n = {}) {
3742
3742
  let r = this.getRule(e, n);
3743
3743
  return r ? `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${r.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, n));
3744
3744
  }
3745
- }, et = (e, t, n, r = ".", i = !0) => {
3745
+ }, $e = (e, t, n, r = ".", i = !0) => {
3746
3746
  let a = Pe(e, t, n);
3747
- return !a && i && z(n) && (a = U(e, n, r), a === void 0 && (a = U(t, n, r))), a;
3748
- }, tt = (e) => e.replace(/\$/g, "$$$$"), nt = class {
3747
+ return !a && i && R(n) && (a = U(e, n, r), a === void 0 && (a = U(t, n, r))), a;
3748
+ }, et = (e) => e.replace(/\$/g, "$$$$"), tt = class {
3749
3749
  constructor(e = {}) {
3750
- this.logger = K.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((e) => e), this.init(e);
3750
+ this.logger = G.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((e) => e), this.init(e);
3751
3751
  }
3752
3752
  init(e = {}) {
3753
3753
  e.interpolation ||= { escapeValue: !0 };
3754
3754
  let { escape: t, escapeValue: n, useRawValueToEscape: r, prefix: i, prefixEscaped: a, suffix: o, suffixEscaped: s, formatSeparator: c, unescapeSuffix: l, unescapePrefix: u, nestingPrefix: d, nestingPrefixEscaped: f, nestingSuffix: p, nestingSuffixEscaped: m, nestingOptionsSeparator: h, maxReplaces: g, alwaysFormat: _ } = e.interpolation;
3755
- this.escape = t === void 0 ? Le : t, this.escapeValue = n === void 0 ? !0 : n, this.useRawValueToEscape = r === void 0 ? !1 : r, this.prefix = i ? V(i) : a || "{{", this.suffix = o ? V(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = d ? V(d) : f || V("$t("), this.nestingSuffix = p ? V(p) : m || V(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = g || 1e3, this.alwaysFormat = _ === void 0 ? !1 : _, this.resetRegExp();
3755
+ this.escape = t === void 0 ? Ie : t, this.escapeValue = n === void 0 ? !0 : n, this.useRawValueToEscape = r === void 0 ? !1 : r, this.prefix = i ? B(i) : a || "{{", this.suffix = o ? B(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = d ? B(d) : f || B("$t("), this.nestingSuffix = p ? B(p) : m || B(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = g || 1e3, this.alwaysFormat = _ === void 0 ? !1 : _, this.resetRegExp();
3756
3756
  }
3757
3757
  reset() {
3758
3758
  this.options && this.init(this.options);
@@ -3764,7 +3764,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3764
3764
  interpolate(e, t, n, r) {
3765
3765
  let i, a, o, s = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (e) => {
3766
3766
  if (e.indexOf(this.formatSeparator) < 0) {
3767
- let i = et(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure);
3767
+ let i = $e(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure);
3768
3768
  return this.alwaysFormat ? this.format(i, void 0, n, {
3769
3769
  ...r,
3770
3770
  ...t,
@@ -3772,7 +3772,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3772
3772
  }) : i;
3773
3773
  }
3774
3774
  let i = e.split(this.formatSeparator), a = i.shift().trim(), o = i.join(this.formatSeparator).trim();
3775
- return this.format(et(t, s, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, {
3775
+ return this.format($e(t, s, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, {
3776
3776
  ...r,
3777
3777
  ...t,
3778
3778
  interpolationkey: a
@@ -3782,22 +3782,22 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3782
3782
  let l = r?.missingInterpolationHandler || this.options.missingInterpolationHandler, u = r?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : r.interpolation.skipOnVariables;
3783
3783
  return [{
3784
3784
  regex: this.regexpUnescape,
3785
- safeValue: (e) => tt(e)
3785
+ safeValue: (e) => et(e)
3786
3786
  }, {
3787
3787
  regex: this.regexp,
3788
- safeValue: (e) => this.escapeValue ? tt(this.escape(e)) : tt(e)
3788
+ safeValue: (e) => this.escapeValue ? et(this.escape(e)) : et(e)
3789
3789
  }].forEach((t) => {
3790
3790
  for (o = 0; i = t.regex.exec(e);) {
3791
3791
  let n = i[1].trim();
3792
3792
  if (a = c(n), a === void 0) if (typeof l == "function") {
3793
3793
  let t = l(e, i, r);
3794
- a = z(t) ? t : "";
3794
+ a = R(t) ? t : "";
3795
3795
  } else if (r && Object.prototype.hasOwnProperty.call(r, n)) a = "";
3796
3796
  else if (u) {
3797
3797
  a = i[0];
3798
3798
  continue;
3799
3799
  } else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`), a = "";
3800
- else !z(a) && !this.useRawValueToEscape && (a = Ee(a));
3800
+ else !R(a) && !this.useRawValueToEscape && (a = Ee(a));
3801
3801
  let s = t.safeValue(a);
3802
3802
  if (e = e.replace(i[0], s), u ? (t.regex.lastIndex += a.length, t.regex.lastIndex -= i[0].length) : t.regex.lastIndex = 0, o++, o >= this.maxReplaces) break;
3803
3803
  }
@@ -3807,7 +3807,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3807
3807
  let r, i, a, o = (e, t) => {
3808
3808
  let n = this.nestingOptionsSeparator;
3809
3809
  if (e.indexOf(n) < 0) return e;
3810
- let r = e.split(RegExp(`${V(n)}[ ]*{`)), i = `{${r[1]}`;
3810
+ let r = e.split(RegExp(`${B(n)}[ ]*{`)), i = `{${r[1]}`;
3811
3811
  e = r[0], i = this.interpolate(i, a);
3812
3812
  let o = i.match(/'/g), s = i.match(/"/g);
3813
3813
  ((o?.length ?? 0) % 2 == 0 && !s || (s?.length ?? 0) % 2 != 0) && (i = i.replace(/'/g, "\""));
@@ -3823,17 +3823,17 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3823
3823
  };
3824
3824
  for (; r = this.nestingRegexp.exec(e);) {
3825
3825
  let s = [];
3826
- a = { ...n }, a = a.replace && !z(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
3826
+ a = { ...n }, a = a.replace && !R(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
3827
3827
  let c = /{.*}/.test(r[1]) ? r[1].lastIndexOf("}") + 1 : r[1].indexOf(this.formatSeparator);
3828
- if (c !== -1 && (s = r[1].slice(c).split(this.formatSeparator).map((e) => e.trim()).filter(Boolean), r[1] = r[1].slice(0, c)), i = t(o.call(this, r[1].trim(), a), a), i && r[0] === e && !z(i)) return i;
3829
- z(i) || (i = Ee(i)), i ||= (this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`), ""), s.length && (i = s.reduce((e, t) => this.format(e, t, n.lng, {
3828
+ if (c !== -1 && (s = r[1].slice(c).split(this.formatSeparator).map((e) => e.trim()).filter(Boolean), r[1] = r[1].slice(0, c)), i = t(o.call(this, r[1].trim(), a), a), i && r[0] === e && !R(i)) return i;
3829
+ R(i) || (i = Ee(i)), i ||= (this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`), ""), s.length && (i = s.reduce((e, t) => this.format(e, t, n.lng, {
3830
3830
  ...n,
3831
3831
  interpolationkey: r[1].trim()
3832
3832
  }), i.trim())), e = e.replace(r[0], i), this.regexp.lastIndex = 0;
3833
3833
  }
3834
3834
  return e;
3835
3835
  }
3836
- }, rt = (e) => {
3836
+ }, nt = (e) => {
3837
3837
  let t = e.toLowerCase().trim(), n = {};
3838
3838
  if (e.indexOf("(") > -1) {
3839
3839
  let r = e.split("(");
@@ -3850,7 +3850,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3850
3850
  formatName: t,
3851
3851
  formatOptions: n
3852
3852
  };
3853
- }, it = (e) => {
3853
+ }, rt = (e) => {
3854
3854
  let t = {};
3855
3855
  return (n, r, i) => {
3856
3856
  let a = i;
@@ -3861,13 +3861,13 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3861
3861
  let o = r + JSON.stringify(a), s = t[o];
3862
3862
  return s || (s = e(W(r), i), t[o] = s), s(n);
3863
3863
  };
3864
- }, at = (e) => (t, n, r) => e(W(n), r)(t), ot = class {
3864
+ }, it = (e) => (t, n, r) => e(W(n), r)(t), at = class {
3865
3865
  constructor(e = {}) {
3866
- this.logger = K.create("formatter"), this.options = e, this.init(e);
3866
+ this.logger = G.create("formatter"), this.options = e, this.init(e);
3867
3867
  }
3868
3868
  init(e, t = { interpolation: {} }) {
3869
3869
  this.formatSeparator = t.interpolation.formatSeparator || ",";
3870
- let n = t.cacheInBuiltFormats ? it : at;
3870
+ let n = t.cacheInBuiltFormats ? rt : it;
3871
3871
  this.formats = {
3872
3872
  number: n((e, t) => {
3873
3873
  let n = new Intl.NumberFormat(e, { ...t });
@@ -3898,7 +3898,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3898
3898
  this.formats[e.toLowerCase().trim()] = t;
3899
3899
  }
3900
3900
  addCached(e, t) {
3901
- this.formats[e.toLowerCase().trim()] = it(t);
3901
+ this.formats[e.toLowerCase().trim()] = rt(t);
3902
3902
  }
3903
3903
  format(e, t, n, r = {}) {
3904
3904
  let i = t.split(this.formatSeparator);
@@ -3907,7 +3907,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3907
3907
  i[0] = [i[0], ...i.splice(1, e)].join(this.formatSeparator);
3908
3908
  }
3909
3909
  return i.reduce((e, t) => {
3910
- let { formatName: i, formatOptions: a } = rt(t);
3910
+ let { formatName: i, formatOptions: a } = nt(t);
3911
3911
  if (this.formats[i]) {
3912
3912
  let t = e;
3913
3913
  try {
@@ -3925,11 +3925,11 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3925
3925
  return e;
3926
3926
  }, e);
3927
3927
  }
3928
- }, st = (e, t) => {
3928
+ }, ot = (e, t) => {
3929
3929
  e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
3930
- }, ct = class extends Ve {
3930
+ }, st = class extends Ve {
3931
3931
  constructor(e, t, n, r = {}) {
3932
- super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger = K.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, r.backend, r);
3932
+ super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger = G.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, r.backend, r);
3933
3933
  }
3934
3934
  queueLoad(e, t, n, r) {
3935
3935
  let i = {}, a = {}, o = {}, s = {};
@@ -3957,7 +3957,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3957
3957
  t && this.emit("failedLoading", i, a, t), !t && n && this.store.addResourceBundle(i, a, n, void 0, void 0, { skipCopy: !0 }), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0);
3958
3958
  let o = {};
3959
3959
  this.queue.forEach((n) => {
3960
- Me(n.loaded, [i], a), st(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => {
3960
+ Me(n.loaded, [i], a), ot(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => {
3961
3961
  o[e] || (o[e] = {});
3962
3962
  let t = n.loaded[e];
3963
3963
  t.length && t.forEach((t) => {
@@ -4006,7 +4006,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4006
4006
  }
4007
4007
  prepareLoading(e, t, n = {}, r) {
4008
4008
  if (!this.backend) return this.logger.warn("No backend was added via i18next.use. Will not load resources."), r && r();
4009
- z(e) && (e = this.languageUtils.toResolveHierarchy(e)), z(t) && (t = [t]);
4009
+ R(e) && (e = this.languageUtils.toResolveHierarchy(e)), R(t) && (t = [t]);
4010
4010
  let i = this.queueLoad(e, t, n, r);
4011
4011
  if (!i.toLoad.length) return i.pending.length || r(), null;
4012
4012
  i.toLoad.forEach((e) => {
@@ -4047,7 +4047,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4047
4047
  !e || !e[0] || this.store.addResource(e[0], t, n, r);
4048
4048
  }
4049
4049
  }
4050
- }, q = () => ({
4050
+ }, ct = () => ({
4051
4051
  debug: !1,
4052
4052
  initAsync: !0,
4053
4053
  ns: ["translation"],
@@ -4082,7 +4082,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4082
4082
  appendNamespaceToCIMode: !1,
4083
4083
  overloadTranslationOptionHandler: (e) => {
4084
4084
  let t = {};
4085
- if (typeof e[1] == "object" && (t = e[1]), z(e[1]) && (t.defaultValue = e[1]), z(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
4085
+ if (typeof e[1] == "object" && (t = e[1]), R(e[1]) && (t.defaultValue = e[1]), R(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
4086
4086
  let n = e[3] || e[2];
4087
4087
  Object.keys(n).forEach((e) => {
4088
4088
  t[e] = n[e];
@@ -4104,15 +4104,15 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4104
4104
  skipOnVariables: !0
4105
4105
  },
4106
4106
  cacheInBuiltFormats: !0
4107
- }), lt = (e) => (z(e.ns) && (e.ns = [e.ns]), z(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), z(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), ut = () => {}, dt = (e) => {
4107
+ }), q = (e) => (R(e.ns) && (e.ns = [e.ns]), R(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), R(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), lt = () => {}, ut = (e) => {
4108
4108
  Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((t) => {
4109
4109
  typeof e[t] == "function" && (e[t] = e[t].bind(e));
4110
4110
  });
4111
- }, ft = "__i18next_supportNoticeShown", pt = () => !!(typeof globalThis < "u" && globalThis[ft] || typeof process < "u" && process.env && process.env.I18NEXT_NO_SUPPORT_NOTICE || typeof process < "u" && process.env), mt = () => {
4112
- typeof globalThis < "u" && (globalThis[ft] = !0);
4113
- }, ht = (e) => !!(e?.modules?.backend?.name?.indexOf("Locize") > 0 || e?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0 || e?.options?.backend?.backends && e.options.backend.backends.some((e) => e?.name?.indexOf("Locize") > 0 || e?.constructor?.name?.indexOf("Locize") > 0) || e?.options?.backend?.projectId || e?.options?.backend?.backendOptions && e.options.backend.backendOptions.some((e) => e?.projectId)), J = class e extends Ve {
4111
+ }, dt = "__i18next_supportNoticeShown", ft = () => !!(typeof globalThis < "u" && globalThis[dt] || typeof process < "u" && process.env && process.env.I18NEXT_NO_SUPPORT_NOTICE || typeof process < "u" && process.env), pt = () => {
4112
+ typeof globalThis < "u" && (globalThis[dt] = !0);
4113
+ }, mt = (e) => !!(e?.modules?.backend?.name?.indexOf("Locize") > 0 || e?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0 || e?.options?.backend?.backends && e.options.backend.backends.some((e) => e?.name?.indexOf("Locize") > 0 || e?.constructor?.name?.indexOf("Locize") > 0) || e?.options?.backend?.projectId || e?.options?.backend?.backendOptions && e.options.backend.backendOptions.some((e) => e?.projectId)), J = class e extends Ve {
4114
4114
  constructor(e = {}, t) {
4115
- if (super(), this.options = lt(e), this.services = {}, this.logger = K, this.modules = { external: [] }, dt(this), t && !this.isInitialized && !e.isClone) {
4115
+ if (super(), this.options = q(e), this.services = {}, this.logger = G, this.modules = { external: [] }, ut(this), t && !this.isInitialized && !e.isClone) {
4116
4116
  if (!this.options.initAsync) return this.init(e, t), this;
4117
4117
  setTimeout(() => {
4118
4118
  this.init(e, t);
@@ -4120,36 +4120,36 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4120
4120
  }
4121
4121
  }
4122
4122
  init(e = {}, t) {
4123
- this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (z(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
4124
- let n = q();
4123
+ this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (R(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
4124
+ let n = ct();
4125
4125
  this.options = {
4126
4126
  ...n,
4127
4127
  ...this.options,
4128
- ...lt(e)
4128
+ ...q(e)
4129
4129
  }, this.options.interpolation = {
4130
4130
  ...n.interpolation,
4131
4131
  ...this.options.interpolation
4132
- }, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler), this.options.showSupportNotice !== !1 && !ht(this) && !pt() && (typeof console < "u" && console.info !== void 0 && console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"), mt());
4132
+ }, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler), this.options.showSupportNotice !== !1 && !mt(this) && !ft() && (typeof console < "u" && console.info !== void 0 && console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"), pt());
4133
4133
  let r = (e) => e ? typeof e == "function" ? new e() : e : null;
4134
4134
  if (!this.options.isClone) {
4135
- this.modules.logger ? K.init(r(this.modules.logger), this.options) : K.init(null, this.options);
4135
+ this.modules.logger ? G.init(r(this.modules.logger), this.options) : G.init(null, this.options);
4136
4136
  let e;
4137
- e = this.modules.formatter ? this.modules.formatter : ot;
4138
- let t = new Xe(this.options);
4137
+ e = this.modules.formatter ? this.modules.formatter : at;
4138
+ let t = new Ye(this.options);
4139
4139
  this.store = new He(this.options.resources, this.options);
4140
4140
  let i = this.services;
4141
- i.logger = K, i.resourceStore = this.store, i.languageUtils = t, i.pluralResolver = new $e(t, {
4141
+ i.logger = G, i.resourceStore = this.store, i.languageUtils = t, i.pluralResolver = new Qe(t, {
4142
4142
  prepend: this.options.pluralSeparator,
4143
4143
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
4144
- }), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new nt(this.options), i.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, i.backendConnector = new ct(r(this.modules.backend), i.resourceStore, i, this.options), i.backendConnector.on("*", (e, ...t) => {
4144
+ }), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new tt(this.options), i.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, i.backendConnector = new st(r(this.modules.backend), i.resourceStore, i, this.options), i.backendConnector.on("*", (e, ...t) => {
4145
4145
  this.emit(e, ...t);
4146
- }), this.modules.languageDetector && (i.languageDetector = r(this.modules.languageDetector), i.languageDetector.init && i.languageDetector.init(i, this.options.detection, this.options)), this.modules.i18nFormat && (i.i18nFormat = r(this.modules.i18nFormat), i.i18nFormat.init && i.i18nFormat.init(this)), this.translator = new Ye(this.services, this.options), this.translator.on("*", (e, ...t) => {
4146
+ }), this.modules.languageDetector && (i.languageDetector = r(this.modules.languageDetector), i.languageDetector.init && i.languageDetector.init(i, this.options.detection, this.options)), this.modules.i18nFormat && (i.i18nFormat = r(this.modules.i18nFormat), i.i18nFormat.init && i.i18nFormat.init(this)), this.translator = new Je(this.services, this.options), this.translator.on("*", (e, ...t) => {
4147
4147
  this.emit(e, ...t);
4148
4148
  }), this.modules.external.forEach((e) => {
4149
4149
  e.init && e.init(this);
4150
4150
  });
4151
4151
  }
4152
- if (this.format = this.options.interpolation.format, t ||= ut, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
4152
+ if (this.format = this.options.interpolation.format, t ||= lt, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
4153
4153
  let e = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
4154
4154
  e.length > 0 && e[0] !== "dev" && (this.options.lng = e[0]);
4155
4155
  }
@@ -4177,8 +4177,8 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4177
4177
  };
4178
4178
  return this.options.resources || !this.options.initAsync ? a() : setTimeout(a, 0), i;
4179
4179
  }
4180
- loadResources(e, t = ut) {
4181
- let n = t, r = z(e) ? e : this.language;
4180
+ loadResources(e, t = lt) {
4181
+ let n = t, r = R(e) ? e : this.language;
4182
4182
  if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
4183
4183
  if (r?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return n();
4184
4184
  let e = [], t = (t) => {
@@ -4193,7 +4193,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4193
4193
  }
4194
4194
  reloadResources(e, t, n) {
4195
4195
  let r = Te();
4196
- return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||= ut, this.services.backendConnector.reload(e, t, (e) => {
4196
+ return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||= lt, this.services.backendConnector.reload(e, t, (e) => {
4197
4197
  r.resolve(), n(e);
4198
4198
  }), r;
4199
4199
  }
@@ -4224,7 +4224,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4224
4224
  a ? this.isLanguageChangingTo === e && (r(a), this.translator.changeLanguage(a), this.isLanguageChangingTo = void 0, this.emit("languageChanged", a), this.logger.log("languageChanged", a)) : this.isLanguageChangingTo = void 0, n.resolve((...e) => this.t(...e)), t && t(i, (...e) => this.t(...e));
4225
4225
  }, a = (t) => {
4226
4226
  !e && !t && this.services.languageDetector && (t = []);
4227
- let n = z(t) ? t : t && t[0], a = this.store.hasLanguageSomeTranslations(n) ? n : this.services.languageUtils.getBestMatchFromCodes(z(t) ? [t] : t);
4227
+ let n = R(t) ? t : t && t[0], a = this.store.hasLanguageSomeTranslations(n) ? n : this.services.languageUtils.getBestMatchFromCodes(R(t) ? [t] : t);
4228
4228
  a && (this.language || r(a), this.translator.language || this.translator.changeLanguage(a), this.services.languageDetector?.cacheUserLanguage?.(a)), this.loadResources(a, (e) => {
4229
4229
  i(e, a);
4230
4230
  });
@@ -4239,11 +4239,11 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4239
4239
  ...this.options,
4240
4240
  ...a
4241
4241
  };
4242
- typeof a.keyPrefix == "function" && (a.keyPrefix = Ke(a.keyPrefix, o));
4242
+ typeof a.keyPrefix == "function" && (a.keyPrefix = K(a.keyPrefix, o));
4243
4243
  let s = this.options.keySeparator || ".", c;
4244
- return a.keyPrefix && Array.isArray(e) ? c = e.map((e) => (typeof e == "function" && (e = Ke(e, o)), `${a.keyPrefix}${s}${e}`)) : (typeof e == "function" && (e = Ke(e, o)), c = a.keyPrefix ? `${a.keyPrefix}${s}${e}` : e), this.t(c, a);
4244
+ return a.keyPrefix && Array.isArray(e) ? c = e.map((e) => (typeof e == "function" && (e = K(e, o)), `${a.keyPrefix}${s}${e}`)) : (typeof e == "function" && (e = K(e, o)), c = a.keyPrefix ? `${a.keyPrefix}${s}${e}` : e), this.t(c, a);
4245
4245
  };
4246
- return z(e) ? r.lng = e : r.lngs = e, r.ns = t, r.keyPrefix = n, r;
4246
+ return R(e) ? r.lng = e : r.lngs = e, r.ns = t, r.keyPrefix = n, r;
4247
4247
  }
4248
4248
  t(...e) {
4249
4249
  return this.translator?.translate(...e);
@@ -4271,7 +4271,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4271
4271
  }
4272
4272
  loadNamespaces(e, t) {
4273
4273
  let n = Te();
4274
- return this.options.ns ? (z(e) && (e = [e]), e.forEach((e) => {
4274
+ return this.options.ns ? (R(e) && (e = [e]), e.forEach((e) => {
4275
4275
  this.options.ns.indexOf(e) < 0 && this.options.ns.push(e);
4276
4276
  }), this.loadResources((e) => {
4277
4277
  n.resolve(), t && t(e);
@@ -4279,7 +4279,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4279
4279
  }
4280
4280
  loadLanguages(e, t) {
4281
4281
  let n = Te();
4282
- z(e) && (e = [e]);
4282
+ R(e) && (e = [e]);
4283
4283
  let r = this.options.preload || [], i = e.filter((e) => r.indexOf(e) < 0 && this.services.languageUtils.isSupportedCode(e));
4284
4284
  return i.length ? (this.options.preload = r.concat(i), this.loadResources((e) => {
4285
4285
  n.resolve(), t && t(e);
@@ -4294,14 +4294,14 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4294
4294
  if (e && e.direction) return e.direction;
4295
4295
  }
4296
4296
  } catch {}
4297
- let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new Xe(q());
4297
+ let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new Ye(ct());
4298
4298
  return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
4299
4299
  }
4300
4300
  static createInstance(t = {}, n) {
4301
4301
  let r = new e(t, n);
4302
4302
  return r.createInstance = e.createInstance, r;
4303
4303
  }
4304
- cloneInstance(t = {}, n = ut) {
4304
+ cloneInstance(t = {}, n = lt) {
4305
4305
  let r = t.forkResourceStore;
4306
4306
  r && delete t.forkResourceStore;
4307
4307
  let i = {
@@ -4317,16 +4317,16 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4317
4317
  a[e] = this[e];
4318
4318
  }), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new He(Object.keys(this.store.data).reduce((e, t) => (e[t] = { ...this.store.data[t] }, e[t] = Object.keys(e[t]).reduce((n, r) => (n[r] = { ...e[t][r] }, n), e[t]), e), {}), i), a.services.resourceStore = a.store), t.interpolation) {
4319
4319
  let e = {
4320
- ...q().interpolation,
4320
+ ...ct().interpolation,
4321
4321
  ...this.options.interpolation,
4322
4322
  ...t.interpolation
4323
4323
  }, n = {
4324
4324
  ...i,
4325
4325
  interpolation: e
4326
4326
  };
4327
- a.services.interpolator = new nt(n);
4327
+ a.services.interpolator = new tt(n);
4328
4328
  }
4329
- return a.translator = new Ye(a.services, i), a.translator.on("*", (e, ...t) => {
4329
+ return a.translator = new Je(a.services, i), a.translator.on("*", (e, ...t) => {
4330
4330
  a.emit(e, ...t);
4331
4331
  }), a.init(i, n), a.translator.options = i, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a;
4332
4332
  }
@@ -4347,11 +4347,11 @@ J.createInstance, J.dir, J.init, J.loadResources, J.reloadResources, J.use, J.ch
4347
4347
  lng: "en",
4348
4348
  debug: !0,
4349
4349
  resources: {
4350
- en: Ce,
4350
+ en: L,
4351
4351
  es: we
4352
4352
  }
4353
4353
  });
4354
- var gt = {
4354
+ var ht = {
4355
4355
  translator: {
4356
4356
  ...J,
4357
4357
  t: (e, t) => {
@@ -4382,7 +4382,7 @@ var gt = {
4382
4382
  value: "es_ES",
4383
4383
  label: "Spanish"
4384
4384
  }]
4385
- }, { translator: _t } = gt, vt = a("div")(({ theme: e }) => ({
4385
+ }, { translator: Y } = ht, gt = x("div")(({ theme: e }) => ({
4386
4386
  display: "flex",
4387
4387
  flexDirection: "row",
4388
4388
  alignItems: "center",
@@ -4392,50 +4392,50 @@ var gt = {
4392
4392
  paddingBottom: e.spacing(1),
4393
4393
  paddingTop: e.spacing(1),
4394
4394
  marginBottom: e.spacing(1)
4395
- })), yt = a("span")(({ theme: e }) => ({
4395
+ })), _t = x("span")(({ theme: e }) => ({
4396
4396
  fontSize: "14px",
4397
4397
  fontWeight: "bold",
4398
- color: _.black(),
4398
+ color: s.black(),
4399
4399
  marginLeft: e.spacing(1)
4400
- })), bt = a("div")(() => ({
4400
+ })), vt = x("div")(() => ({
4401
4401
  position: "relative",
4402
4402
  padding: "4px",
4403
4403
  fontSize: "14px",
4404
4404
  borderRadius: "4px"
4405
- })), xt = a(bt)(() => ({ border: `${_.correctTertiary()} solid 2px` })), St = a(bt)(() => ({ border: `${_.incorrectWithIcon()} solid 2px` })), Ct = a(bt)(() => ({ border: `${_.incorrectWithIcon()} dashed 2px` })), wt = {
4406
- color: _.white(),
4405
+ })), yt = x(vt)(() => ({ border: `${s.correctTertiary()} solid 2px` })), bt = x(vt)(() => ({ border: `${s.incorrectWithIcon()} solid 2px` })), xt = x(vt)(() => ({ border: `${s.incorrectWithIcon()} dashed 2px` })), St = {
4406
+ color: s.white(),
4407
4407
  position: "absolute",
4408
4408
  top: "-8px",
4409
4409
  left: "-8px",
4410
4410
  borderRadius: "50%",
4411
4411
  fontSize: "12px",
4412
4412
  padding: "2px"
4413
- }, Tt = a(b)(() => ({
4414
- ...wt,
4415
- backgroundColor: _.correctTertiary()
4416
- })), Et = a(ie)(() => ({
4417
- ...wt,
4418
- backgroundColor: _.incorrectWithIcon()
4419
- })), Dt = ({ language: e, showOnlyCorrect: t }) => {
4413
+ }, Ct = x(b)(() => ({
4414
+ ...St,
4415
+ backgroundColor: s.correctTertiary()
4416
+ })), wt = x(re)(() => ({
4417
+ ...St,
4418
+ backgroundColor: s.incorrectWithIcon()
4419
+ })), Tt = ({ language: e, showOnlyCorrect: t }) => {
4420
4420
  let n = [
4421
4421
  {
4422
- Icon: Tt,
4423
- label: _t.t("selectText.correctAnswerSelected", { lng: e }),
4424
- Container: xt
4422
+ Icon: Ct,
4423
+ label: Y.t("selectText.correctAnswerSelected", { lng: e }),
4424
+ Container: yt
4425
4425
  },
4426
4426
  {
4427
- Icon: Et,
4428
- label: _t.t("selectText.incorrectSelection", { lng: e }),
4429
- Container: St
4427
+ Icon: wt,
4428
+ label: Y.t("selectText.incorrectSelection", { lng: e }),
4429
+ Container: bt
4430
4430
  },
4431
4431
  {
4432
- Icon: Et,
4433
- label: _t.t("selectText.correctAnswerNotSelected", { lng: e }),
4434
- Container: Ct
4432
+ Icon: wt,
4433
+ label: Y.t("selectText.correctAnswerNotSelected", { lng: e }),
4434
+ Container: xt
4435
4435
  }
4436
4436
  ];
4437
- return t && n.splice(1, 2), /* @__PURE__ */ D(vt, { children: [/* @__PURE__ */ E(yt, { children: _t.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))] });
4438
- }, Ot = "height ease-in 300ms, opacity ease-in 300ms", kt = a("div")(() => ({
4437
+ return t && n.splice(1, 2), /* @__PURE__ */ D(gt, { children: [/* @__PURE__ */ E(_t, { children: Y.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))] });
4438
+ }, Et = "height ease-in 300ms, opacity ease-in 300ms", Dt = x("div")(() => ({
4439
4439
  position: "relative",
4440
4440
  height: 0,
4441
4441
  overflow: "hidden",
@@ -4443,7 +4443,7 @@ var gt = {
4443
4443
  visibility: "hidden",
4444
4444
  width: 0,
4445
4445
  "&.enter": {
4446
- transition: Ot,
4446
+ transition: Et,
4447
4447
  opacity: 1,
4448
4448
  height: "auto",
4449
4449
  width: "auto",
@@ -4457,7 +4457,7 @@ var gt = {
4457
4457
  minHeight: "25px"
4458
4458
  },
4459
4459
  "&.exit": {
4460
- transition: Ot,
4460
+ transition: Et,
4461
4461
  opacity: 0,
4462
4462
  height: 0,
4463
4463
  visibility: "visible",
@@ -4469,9 +4469,9 @@ var gt = {
4469
4469
  height: 0,
4470
4470
  width: 0
4471
4471
  }
4472
- })), At = (e) => {
4472
+ })), Ot = (e) => {
4473
4473
  let { show: t, children: n, className: r } = e, i = w(null);
4474
- return /* @__PURE__ */ E(x, {
4474
+ return /* @__PURE__ */ E(l, {
4475
4475
  nodeRef: i,
4476
4476
  in: t,
4477
4477
  appear: !0,
@@ -4483,49 +4483,49 @@ var gt = {
4483
4483
  exit: "exit",
4484
4484
  exitDone: "exit-done"
4485
4485
  },
4486
- children: /* @__PURE__ */ E(kt, {
4486
+ children: /* @__PURE__ */ E(Dt, {
4487
4487
  ref: i,
4488
4488
  className: r,
4489
4489
  children: n
4490
4490
  })
4491
4491
  });
4492
4492
  };
4493
- At.propTypes = {
4493
+ Ot.propTypes = {
4494
4494
  show: O.default.bool.isRequired,
4495
4495
  className: O.default.string,
4496
4496
  children: O.default.oneOfType([O.default.arrayOf(O.default.node), O.default.node]).isRequired
4497
4497
  };
4498
4498
  //#endregion
4499
4499
  //#region ../../lib-react/correct-answer-toggle/dist/index.js
4500
- function jt(e) {
4500
+ function kt(e) {
4501
4501
  return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
4502
4502
  }
4503
- function Mt(e, t) {
4504
- return !e || jt(e) ? e : jt(e.default) ? e.default : t && jt(e[t]) ? e[t] : t && jt(e[t]?.default) ? e[t].default : e;
4503
+ function At(e, t) {
4504
+ return !e || kt(e) ? e : kt(e.default) ? e.default : t && kt(e[t]) ? e[t] : t && kt(e[t]?.default) ? e[t].default : e;
4505
4505
  }
4506
- var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default, Ft = Pt && typeof Pt == "object" ? Pt : Y, { translator: It } = gt, Lt = {
4506
+ var jt = At(f, "Readable") || At(Nt.Readable, "Readable"), Mt = m, X = Mt.default, Nt = X && typeof X == "object" ? X : Mt, { translator: Pt } = ht, Ft = {
4507
4507
  WebkitTouchCallout: "none",
4508
4508
  WebkitUserSelect: "none",
4509
4509
  KhtmlUserSelect: "none",
4510
4510
  MozUserSelect: "none",
4511
4511
  msUserSelect: "none",
4512
4512
  userSelect: "none"
4513
- }, Rt = a("div")(() => ({
4513
+ }, It = x("div")(() => ({
4514
4514
  width: "100%",
4515
4515
  cursor: "pointer"
4516
- })), zt = a("div")(() => ({
4516
+ })), Lt = x("div")(() => ({
4517
4517
  margin: "0 auto",
4518
4518
  textAlign: "center",
4519
4519
  display: "flex"
4520
- })), Bt = a("div")(() => ({
4520
+ })), Rt = x("div")(() => ({
4521
4521
  width: "fit-content",
4522
4522
  minWidth: "140px",
4523
4523
  alignSelf: "center",
4524
4524
  verticalAlign: "middle",
4525
- color: `var(--correct-answer-toggle-label-color, ${_.text()})`,
4525
+ color: `var(--correct-answer-toggle-label-color, ${s.text()})`,
4526
4526
  fontWeight: "normal",
4527
- ...Lt
4528
- })), Vt = a("div")(() => ({
4527
+ ...Ft
4528
+ })), zt = x("div")(() => ({
4529
4529
  position: "absolute",
4530
4530
  width: "25px",
4531
4531
  "&.enter": { opacity: "0" },
@@ -4538,12 +4538,12 @@ var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default
4538
4538
  opacity: "0",
4539
4539
  transition: "opacity 0.3s ease-in"
4540
4540
  }
4541
- })), Ht = a("div")(() => ({
4541
+ })), Bt = x("div")(() => ({
4542
4542
  width: "25px",
4543
4543
  marginRight: "5px",
4544
4544
  display: "flex",
4545
4545
  alignItems: "center"
4546
- })), Ut = class e extends C.Component {
4546
+ })), Vt = class e extends C.Component {
4547
4547
  static propTypes = {
4548
4548
  onToggle: O.default.func,
4549
4549
  toggled: O.default.bool,
@@ -4562,8 +4562,8 @@ var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default
4562
4562
  constructor(t) {
4563
4563
  super(t), this.state = { show: t.show }, this.openIconRef = C.createRef(), this.closedIconRef = C.createRef(), e.defaultProps = {
4564
4564
  ...e.defaultProps,
4565
- showMessage: It.t("common:showCorrectAnswer", { lng: t.language }),
4566
- hideMessage: It.t("common:hideCorrectAnswer", { lng: t.language })
4565
+ showMessage: Pt.t("common:showCorrectAnswer", { lng: t.language }),
4566
+ hideMessage: Pt.t("common:hideCorrectAnswer", { lng: t.language })
4567
4567
  };
4568
4568
  }
4569
4569
  onClick() {
@@ -4575,20 +4575,20 @@ var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default
4575
4575
  UNSAFE_componentWillReceiveProps(t) {
4576
4576
  this.setState({ show: t.show }), t.language !== this.props?.language && (e.defaultProps = {
4577
4577
  ...e.defaultProps,
4578
- showMessage: It.t("common:showCorrectAnswer", { lng: t.language }),
4579
- hideMessage: It.t("common:hideCorrectAnswer", { lng: t.language })
4578
+ showMessage: Pt.t("common:showCorrectAnswer", { lng: t.language }),
4579
+ hideMessage: Pt.t("common:hideCorrectAnswer", { lng: t.language })
4580
4580
  });
4581
4581
  }
4582
4582
  render() {
4583
4583
  let { className: e, toggled: t, hideMessage: n, showMessage: r } = this.props;
4584
- return /* @__PURE__ */ E(Rt, {
4584
+ return /* @__PURE__ */ E(It, {
4585
4585
  className: e,
4586
- children: /* @__PURE__ */ E(At, {
4586
+ children: /* @__PURE__ */ E(Ot, {
4587
4587
  show: this.state.show,
4588
- children: /* @__PURE__ */ D(zt, {
4588
+ children: /* @__PURE__ */ D(Lt, {
4589
4589
  onClick: this.onClick.bind(this),
4590
4590
  onTouchEnd: this.onTouch.bind(this),
4591
- children: [/* @__PURE__ */ D(Ht, { children: [/* @__PURE__ */ E(x, {
4591
+ children: [/* @__PURE__ */ D(Bt, { children: [/* @__PURE__ */ E(l, {
4592
4592
  nodeRef: this.openIconRef,
4593
4593
  timeout: 400,
4594
4594
  in: t,
@@ -4599,11 +4599,11 @@ var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default
4599
4599
  exit: "exit",
4600
4600
  exitActive: "exit-active"
4601
4601
  },
4602
- children: /* @__PURE__ */ E(Vt, {
4602
+ children: /* @__PURE__ */ E(zt, {
4603
4603
  ref: this.openIconRef,
4604
4604
  children: /* @__PURE__ */ E(ne, { open: t }, "correct-open")
4605
4605
  })
4606
- }), /* @__PURE__ */ E(x, {
4606
+ }), /* @__PURE__ */ E(l, {
4607
4607
  nodeRef: this.closedIconRef,
4608
4608
  timeout: 5e3,
4609
4609
  in: !t,
@@ -4614,13 +4614,13 @@ var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default
4614
4614
  exit: "exit",
4615
4615
  exitActive: "exit-active"
4616
4616
  },
4617
- children: /* @__PURE__ */ E(Vt, {
4617
+ children: /* @__PURE__ */ E(zt, {
4618
4618
  ref: this.closedIconRef,
4619
4619
  children: /* @__PURE__ */ E(ne, { open: t }, "correct-closed")
4620
4620
  })
4621
- })] }), /* @__PURE__ */ E(Nt, {
4621
+ })] }), /* @__PURE__ */ E(jt, {
4622
4622
  false: !0,
4623
- children: /* @__PURE__ */ E(Bt, {
4623
+ children: /* @__PURE__ */ E(Rt, {
4624
4624
  "aria-hidden": !this.state.show,
4625
4625
  children: t ? n : r
4626
4626
  })
@@ -4629,25 +4629,25 @@ var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default
4629
4629
  })
4630
4630
  });
4631
4631
  }
4632
- }, Wt = function() {
4632
+ }, Ht = function() {
4633
4633
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = document.createElement("div");
4634
4634
  return t.innerHTML = e.trim(), t;
4635
- }, Gt = function(e, t) {
4635
+ }, Ut = function(e, t) {
4636
4636
  return t ? e.innerHTML : `${e.innerHTML}
4637
4637
 
4638
4638
  `;
4639
- }, Kt = function(e) {
4639
+ }, Wt = function(e) {
4640
4640
  var t = e.querySelectorAll("div[separator=true]"), n = "";
4641
4641
  return t.forEach(function(e, r) {
4642
- n += Gt(e, r === t.length - 1);
4642
+ n += Ut(e, r === t.length - 1);
4643
4643
  }), n || null;
4644
- }, qt = function(e) {
4645
- var t = Wt(e), n = document.createElement("div");
4646
- return n.innerHTML = `<div separator='true'>${t.innerHTML}</div>`, t = n, Array.from(t.querySelectorAll("*")).length === 0 ? e : Kt(t);
4647
- }, Jt = (e) => {
4644
+ }, Gt = function(e) {
4645
+ var t = Ht(e), n = document.createElement("div");
4646
+ return n.innerHTML = `<div separator='true'>${t.innerHTML}</div>`, t = n, Array.from(t.querySelectorAll("*")).length === 0 ? e : Wt(t);
4647
+ }, Kt = (e) => {
4648
4648
  if (!e) return e;
4649
- let t = qt(e.text || ""), n = (e.tokens || []).reduce((n, r = {}) => {
4650
- let i = qt((e.text || "").slice(r.start, r.end));
4649
+ let t = Gt(e.text || ""), n = (e.tokens || []).reduce((n, r = {}) => {
4650
+ let i = Gt((e.text || "").slice(r.start, r.end));
4651
4651
  if (!i) return [...n, r];
4652
4652
  let a = (e) => {
4653
4653
  let n = e;
@@ -4675,39 +4675,39 @@ var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default
4675
4675
  };
4676
4676
  //#endregion
4677
4677
  //#region src/delivery/main.tsx
4678
- function Yt(e) {
4678
+ function qt(e) {
4679
4679
  return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
4680
4680
  }
4681
- function X(e, t) {
4682
- return !e || Yt(e) ? e : Yt(e.default) ? e.default : t && Yt(e[t]) ? e[t] : t && Yt(e[t]?.default) ? e[t].default : e;
4681
+ function Jt(e, t) {
4682
+ return !e || qt(e) ? e : qt(e.default) ? e.default : t && qt(e[t]) ? e[t] : t && qt(e[t]?.default) ? e[t].default : e;
4683
4683
  }
4684
- var Xt = X(d, "UiLayout") || X(Q.UiLayout, "UiLayout"), Zt = X(u, "PreviewPrompt") || X(Q.PreviewPrompt, "PreviewPrompt"), Z = X(o, "Collapsible") || X(Q.Collapsible, "Collapsible"), Qt = X(f, "Feedback") || X(Q.Feedback, "Feedback"), $t = c, en = $t.default, Q = en && typeof en == "object" ? en : $t, tn = (0, I.default)("@pie-ui:select-text"), nn = a(Xt)({
4685
- color: _.text(),
4686
- backgroundColor: _.background()
4687
- }), rn = a(R)(({ theme: e }) => ({
4684
+ var Z = Jt(d, "UiLayout") || Jt($t.UiLayout, "UiLayout"), Yt = Jt(u, "PreviewPrompt") || Jt($t.PreviewPrompt, "PreviewPrompt"), Xt = Jt(c, "Collapsible") || Jt($t.Collapsible, "Collapsible"), Q = Jt(o, "Feedback") || Jt($t.Feedback, "Feedback"), Zt = m, Qt = Zt.default, $t = Qt && typeof Qt == "object" ? Qt : Zt, en = (0, P.default)("@pie-ui:select-text"), tn = x(Z)({
4685
+ color: s.text(),
4686
+ backgroundColor: s.background()
4687
+ }), nn = x(I)(({ theme: e }) => ({
4688
4688
  marginBottom: e.spacing(1),
4689
4689
  marginTop: e.spacing(2),
4690
4690
  whiteSpace: "normal"
4691
- })), an = a("div")(({ theme: e }) => ({
4691
+ })), rn = x("div")(({ theme: e }) => ({
4692
4692
  verticalAlign: "middle",
4693
4693
  marginBottom: e.spacing(1)
4694
- })), on = a(Z)(({ theme: e }) => ({ marginBottom: e.spacing(2) })), sn = {
4694
+ })), an = x(Xt)(({ theme: e }) => ({ marginBottom: e.spacing(2) })), on = {
4695
4695
  model: O.default.object,
4696
4696
  session: O.default.object,
4697
4697
  onSelectionChange: O.default.func.isRequired
4698
- }, cn = class extends C.Component {
4699
- static propTypes = sn;
4698
+ }, sn = class extends C.Component {
4699
+ static propTypes = on;
4700
4700
  static defaultProps = {};
4701
4701
  constructor(e) {
4702
4702
  super(e), this.state = {
4703
4703
  showCorrectAnswer: this.props.model.alwaysShowCorrect || !1,
4704
- model: Jt(e.model)
4704
+ model: Kt(e.model)
4705
4705
  };
4706
4706
  }
4707
4707
  UNSAFE_componentWillReceiveProps(e) {
4708
4708
  this.setState({
4709
4709
  showCorrectAnswer: !!e.model.alwaysShowCorrect,
4710
- model: Jt(e.model)
4710
+ model: Kt(e.model)
4711
4711
  });
4712
4712
  }
4713
4713
  toggleShowCorrect = () => {
@@ -4718,25 +4718,25 @@ var Xt = X(d, "UiLayout") || X(Q.UiLayout, "UiLayout"), Zt = X(u, "PreviewPrompt
4718
4718
  return e.tokens.filter((e) => e.correct);
4719
4719
  };
4720
4720
  render() {
4721
- 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 && (S(r.rationale) || l(r.rationale)), u = r.teacherInstructions && (S(r.teacherInstructions) || l(r.teacherInstructions));
4722
- return tn("[render] selectedTokens:", s), /* @__PURE__ */ D(nn, {
4721
+ 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));
4722
+ return en("[render] selectedTokens:", s), /* @__PURE__ */ D(tn, {
4723
4723
  extraCSSRules: a,
4724
4724
  children: [
4725
- u && (r.animationsDisabled ? /* @__PURE__ */ E(an, { children: /* @__PURE__ */ E(Zt, { prompt: r.teacherInstructions }) }) : /* @__PURE__ */ E(on, {
4725
+ l && (r.animationsDisabled ? /* @__PURE__ */ E(rn, { children: /* @__PURE__ */ E(Yt, { prompt: r.teacherInstructions }) }) : /* @__PURE__ */ E(an, {
4726
4726
  labels: {
4727
4727
  hidden: "Show Teacher Instructions",
4728
4728
  visible: "Hide Teacher Instructions"
4729
4729
  },
4730
- children: /* @__PURE__ */ E(Zt, { prompt: r.teacherInstructions })
4730
+ children: /* @__PURE__ */ E(Yt, { prompt: r.teacherInstructions })
4731
4731
  })),
4732
- /* @__PURE__ */ E(an, { children: /* @__PURE__ */ E(Zt, { prompt: r.prompt }) }),
4733
- !r.alwaysShowCorrect && /* @__PURE__ */ E(Ut, {
4732
+ /* @__PURE__ */ E(rn, { children: /* @__PURE__ */ E(Yt, { prompt: r.prompt }) }),
4733
+ !r.alwaysShowCorrect && /* @__PURE__ */ E(Vt, {
4734
4734
  show: r.disabled && r.incorrect,
4735
4735
  toggled: n,
4736
4736
  onToggle: this.toggleShowCorrect,
4737
4737
  language: r.language
4738
4738
  }),
4739
- /* @__PURE__ */ E(rn, {
4739
+ /* @__PURE__ */ E(nn, {
4740
4740
  disabled: r.disabled,
4741
4741
  text: r.text,
4742
4742
  tokens: r.tokens,
@@ -4748,26 +4748,26 @@ var Xt = X(d, "UiLayout") || X(Q.UiLayout, "UiLayout"), Zt = X(u, "PreviewPrompt
4748
4748
  maxNoOfSelections: r.maxSelections,
4749
4749
  animationsDisabled: r.animationsDisabled
4750
4750
  }),
4751
- o === "evaluate" && /* @__PURE__ */ E(Dt, {
4751
+ o === "evaluate" && /* @__PURE__ */ E(Tt, {
4752
4752
  language: r.language,
4753
4753
  showOnlyCorrect: n
4754
4754
  }),
4755
- c && (r.animationsDisabled ? /* @__PURE__ */ E(an, { children: /* @__PURE__ */ E(Zt, { prompt: r.rationale }) }) : /* @__PURE__ */ E(on, {
4755
+ c && (r.animationsDisabled ? /* @__PURE__ */ E(rn, { children: /* @__PURE__ */ E(Yt, { prompt: r.rationale }) }) : /* @__PURE__ */ E(an, {
4756
4756
  labels: {
4757
4757
  hidden: "Show Rationale",
4758
4758
  visible: "Hide Rationale"
4759
4759
  },
4760
- children: /* @__PURE__ */ E(Zt, { prompt: r.rationale })
4760
+ children: /* @__PURE__ */ E(Yt, { prompt: r.rationale })
4761
4761
  })),
4762
- r.correctness && r.feedback && !n && /* @__PURE__ */ E(Qt, {
4762
+ r.correctness && r.feedback && !n && /* @__PURE__ */ E(Q, {
4763
4763
  correctness: r.correctness,
4764
4764
  feedback: r.feedback
4765
4765
  })
4766
4766
  ]
4767
4767
  });
4768
4768
  }
4769
- }, ln = class extends C.Component {
4770
- static propTypes = sn;
4769
+ }, cn = class extends C.Component {
4770
+ static propTypes = on;
4771
4771
  constructor(e) {
4772
4772
  super(e), this.state = {
4773
4773
  model: e.model,
@@ -4791,7 +4791,7 @@ var Xt = X(d, "UiLayout") || X(Q.UiLayout, "UiLayout"), Zt = X(u, "PreviewPrompt
4791
4791
  };
4792
4792
  render() {
4793
4793
  let { model: e, session: t } = this.state;
4794
- return /* @__PURE__ */ E(cn, {
4794
+ return /* @__PURE__ */ E(sn, {
4795
4795
  model: e,
4796
4796
  session: t,
4797
4797
  onSelectionChange: this.change
@@ -4799,6 +4799,6 @@ var Xt = X(d, "UiLayout") || X(Q.UiLayout, "UiLayout"), Zt = X(u, "PreviewPrompt
4799
4799
  }
4800
4800
  };
4801
4801
  //#endregion
4802
- export { Jt as n, ln as t };
4802
+ export { Kt as n, cn as t };
4803
4803
 
4804
- //# sourceMappingURL=main-4aycOoI5.js.map
4804
+ //# sourceMappingURL=main-jVjbBKTM.js.map