@web-site-utilities/feedback 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,96 +1,96 @@
1
- import l, { useMemo as se, createElement as mo, useContext as ho, useState as Ue, useEffect as We, useRef as yn, useCallback as xe, Fragment as po } from "react";
2
- import go from "react-dom";
3
- var vt = {}, Hr;
4
- function bo() {
5
- if (Hr) return vt;
6
- Hr = 1;
7
- var e = go;
8
- return vt.createRoot = e.createRoot, vt.hydrateRoot = e.hydrateRoot, vt;
9
- }
10
- var yo = bo(), V = function() {
11
- return V = Object.assign || function(t) {
12
- for (var r, n = 1, o = arguments.length; n < o; n++) {
1
+ import l, { useMemo as le, createElement as ya, useContext as va, useState as We, useEffect as He, useRef as vn, useCallback as Ce, Fragment as Ea } from "react";
2
+ import Sa from "react-dom";
3
+ var Et = {}, Wr;
4
+ function Ta() {
5
+ if (Wr) return Et;
6
+ Wr = 1;
7
+ var e = Sa;
8
+ return Et.createRoot = e.createRoot, Et.hydrateRoot = e.hydrateRoot, Et;
9
+ }
10
+ var wa = Ta(), H = function() {
11
+ return H = Object.assign || function(t) {
12
+ for (var r, n = 1, a = arguments.length; n < a; n++) {
13
13
  r = arguments[n];
14
14
  for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
15
15
  }
16
16
  return t;
17
- }, V.apply(this, arguments);
17
+ }, H.apply(this, arguments);
18
18
  };
19
19
  function Ot(e, t, r) {
20
- if (r || arguments.length === 2) for (var n = 0, o = t.length, i; n < o; n++)
20
+ if (r || arguments.length === 2) for (var n = 0, a = t.length, i; n < a; n++)
21
21
  (i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
22
22
  return e.concat(i || Array.prototype.slice.call(t));
23
23
  }
24
- var k = "-ms-", ut = "-moz-", C = "-webkit-", vn = "comm", Lt = "rule", vr = "decl", vo = "@import", En = "@keyframes", Eo = "@layer", Sn = Math.abs, Er = String.fromCharCode, ur = Object.assign;
25
- function So(e, t) {
24
+ var k = "-ms-", dt = "-moz-", C = "-webkit-", En = "comm", Mt = "rule", Er = "decl", xa = "@import", Sn = "@keyframes", Ca = "@layer", Tn = Math.abs, Sr = String.fromCharCode, dr = Object.assign;
25
+ function Aa(e, t) {
26
26
  return B(e, 0) ^ 45 ? (((t << 2 ^ B(e, 0)) << 2 ^ B(e, 1)) << 2 ^ B(e, 2)) << 2 ^ B(e, 3) : 0;
27
27
  }
28
- function Tn(e) {
28
+ function wn(e) {
29
29
  return e.trim();
30
30
  }
31
- function me(e, t) {
31
+ function he(e, t) {
32
32
  return (e = t.exec(e)) ? e[0] : e;
33
33
  }
34
34
  function g(e, t, r) {
35
35
  return e.replace(t, r);
36
36
  }
37
- function Ct(e, t, r) {
37
+ function At(e, t, r) {
38
38
  return e.indexOf(t, r);
39
39
  }
40
40
  function B(e, t) {
41
41
  return e.charCodeAt(t) | 0;
42
42
  }
43
- function He(e, t, r) {
43
+ function Ge(e, t, r) {
44
44
  return e.slice(t, r);
45
45
  }
46
- function ie(e) {
46
+ function se(e) {
47
47
  return e.length;
48
48
  }
49
- function wn(e) {
49
+ function xn(e) {
50
50
  return e.length;
51
51
  }
52
- function lt(e, t) {
52
+ function ct(e, t) {
53
53
  return t.push(e), e;
54
54
  }
55
- function To(e, t) {
55
+ function _a(e, t) {
56
56
  return e.map(t).join("");
57
57
  }
58
- function Vr(e, t) {
58
+ function Hr(e, t) {
59
59
  return e.filter(function(r) {
60
- return !me(r, t);
60
+ return !he(r, t);
61
61
  });
62
62
  }
63
- var Mt = 1, Ve = 1, xn = 0, Z = 0, F = 0, qe = "";
64
- function Ft(e, t, r, n, o, i, s, d) {
65
- return { value: e, root: t, parent: r, type: n, props: o, children: i, line: Mt, column: Ve, length: s, return: "", siblings: d };
63
+ var Ft = 1, je = 1, Cn = 0, Z = 0, F = 0, Xe = "";
64
+ function zt(e, t, r, n, a, i, s, d) {
65
+ return { value: e, root: t, parent: r, type: n, props: a, children: i, line: Ft, column: je, length: s, return: "", siblings: d };
66
66
  }
67
- function ye(e, t) {
68
- return ur(Ft("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
67
+ function ve(e, t) {
68
+ return dr(zt("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
69
69
  }
70
- function Fe(e) {
70
+ function Be(e) {
71
71
  for (; e.root; )
72
- e = ye(e.root, { children: [e] });
73
- lt(e, e.siblings);
72
+ e = ve(e.root, { children: [e] });
73
+ ct(e, e.siblings);
74
74
  }
75
- function wo() {
75
+ function Ia() {
76
76
  return F;
77
77
  }
78
- function xo() {
79
- return F = Z > 0 ? B(qe, --Z) : 0, Ve--, F === 10 && (Ve = 1, Mt--), F;
78
+ function Ra() {
79
+ return F = Z > 0 ? B(Xe, --Z) : 0, je--, F === 10 && (je = 1, Ft--), F;
80
80
  }
81
- function oe() {
82
- return F = Z < xn ? B(qe, Z++) : 0, Ve++, F === 10 && (Ve = 1, Mt++), F;
81
+ function ae() {
82
+ return F = Z < Cn ? B(Xe, Z++) : 0, je++, F === 10 && (je = 1, Ft++), F;
83
83
  }
84
- function Ce() {
85
- return B(qe, Z);
84
+ function Ae() {
85
+ return B(Xe, Z);
86
86
  }
87
- function At() {
87
+ function _t() {
88
88
  return Z;
89
89
  }
90
- function zt(e, t) {
91
- return He(qe, e, t);
90
+ function Bt(e, t) {
91
+ return Ge(Xe, e, t);
92
92
  }
93
- function dr(e) {
93
+ function mr(e) {
94
94
  switch (e) {
95
95
  // \0 \t \n \r \s whitespace token
96
96
  case 0:
@@ -128,27 +128,27 @@ function dr(e) {
128
128
  }
129
129
  return 0;
130
130
  }
131
- function Co(e) {
132
- return Mt = Ve = 1, xn = ie(qe = e), Z = 0, [];
131
+ function ka(e) {
132
+ return Ft = je = 1, Cn = se(Xe = e), Z = 0, [];
133
133
  }
134
- function Ao(e) {
135
- return qe = "", e;
134
+ function Pa(e) {
135
+ return Xe = "", e;
136
136
  }
137
- function er(e) {
138
- return Tn(zt(Z - 1, fr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
137
+ function tr(e) {
138
+ return wn(Bt(Z - 1, fr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
139
139
  }
140
- function _o(e) {
141
- for (; (F = Ce()) && F < 33; )
142
- oe();
143
- return dr(e) > 2 || dr(F) > 3 ? "" : " ";
140
+ function Oa(e) {
141
+ for (; (F = Ae()) && F < 33; )
142
+ ae();
143
+ return mr(e) > 2 || mr(F) > 3 ? "" : " ";
144
144
  }
145
- function Io(e, t) {
146
- for (; --t && oe() && !(F < 48 || F > 102 || F > 57 && F < 65 || F > 70 && F < 97); )
145
+ function Na(e, t) {
146
+ for (; --t && ae() && !(F < 48 || F > 102 || F > 57 && F < 65 || F > 70 && F < 97); )
147
147
  ;
148
- return zt(e, At() + (t < 6 && Ce() == 32 && oe() == 32));
148
+ return Bt(e, _t() + (t < 6 && Ae() == 32 && ae() == 32));
149
149
  }
150
150
  function fr(e) {
151
- for (; oe(); )
151
+ for (; ae(); )
152
152
  switch (F) {
153
153
  // ] ) " '
154
154
  case e:
@@ -164,57 +164,57 @@ function fr(e) {
164
164
  break;
165
165
  // \
166
166
  case 92:
167
- oe();
167
+ ae();
168
168
  break;
169
169
  }
170
170
  return Z;
171
171
  }
172
- function Ro(e, t) {
173
- for (; oe() && e + F !== 57; )
174
- if (e + F === 84 && Ce() === 47)
172
+ function $a(e, t) {
173
+ for (; ae() && e + F !== 57; )
174
+ if (e + F === 84 && Ae() === 47)
175
175
  break;
176
- return "/*" + zt(t, Z - 1) + "*" + Er(e === 47 ? e : oe());
176
+ return "/*" + Bt(t, Z - 1) + "*" + Sr(e === 47 ? e : ae());
177
177
  }
178
- function ko(e) {
179
- for (; !dr(Ce()); )
180
- oe();
181
- return zt(e, Z);
178
+ function Da(e) {
179
+ for (; !mr(Ae()); )
180
+ ae();
181
+ return Bt(e, Z);
182
182
  }
183
- function Oo(e) {
184
- return Ao(_t("", null, null, null, [""], e = Co(e), 0, [0], e));
183
+ function La(e) {
184
+ return Pa(It("", null, null, null, [""], e = ka(e), 0, [0], e));
185
185
  }
186
- function _t(e, t, r, n, o, i, s, d, u) {
187
- for (var m = 0, p = 0, T = s, w = 0, v = 0, A = 0, $ = 1, G = 1, D = 1, O = 0, _ = "", b = o, R = i, x = n, y = _; G; )
188
- switch (A = O, O = oe()) {
186
+ function It(e, t, r, n, a, i, s, d, u) {
187
+ for (var f = 0, p = 0, T = s, w = 0, E = 0, A = 0, $ = 1, G = 1, D = 1, P = 0, _ = "", b = a, R = i, x = n, y = _; G; )
188
+ switch (A = P, P = ae()) {
189
189
  // (
190
190
  case 40:
191
191
  if (A != 108 && B(y, T - 1) == 58) {
192
- Ct(y += g(er(O), "&", "&\f"), "&\f", Sn(m ? d[m - 1] : 0)) != -1 && (D = -1);
192
+ At(y += g(tr(P), "&", "&\f"), "&\f", Tn(f ? d[f - 1] : 0)) != -1 && (D = -1);
193
193
  break;
194
194
  }
195
195
  // " ' [
196
196
  case 34:
197
197
  case 39:
198
198
  case 91:
199
- y += er(O);
199
+ y += tr(P);
200
200
  break;
201
201
  // \t \n \r \s
202
202
  case 9:
203
203
  case 10:
204
204
  case 13:
205
205
  case 32:
206
- y += _o(A);
206
+ y += Oa(A);
207
207
  break;
208
208
  // \
209
209
  case 92:
210
- y += Io(At() - 1, 7);
210
+ y += Na(_t() - 1, 7);
211
211
  continue;
212
212
  // /
213
213
  case 47:
214
- switch (Ce()) {
214
+ switch (Ae()) {
215
215
  case 42:
216
216
  case 47:
217
- lt(Po(Ro(oe(), At()), t, r, u), u);
217
+ ct(Ma($a(ae(), _t()), t, r, u), u);
218
218
  break;
219
219
  default:
220
220
  y += "/";
@@ -222,28 +222,28 @@ function _t(e, t, r, n, o, i, s, d, u) {
222
222
  break;
223
223
  // {
224
224
  case 123 * $:
225
- d[m++] = ie(y) * D;
225
+ d[f++] = se(y) * D;
226
226
  // } ; \0
227
227
  case 125 * $:
228
228
  case 59:
229
229
  case 0:
230
- switch (O) {
230
+ switch (P) {
231
231
  // \0 }
232
232
  case 0:
233
233
  case 125:
234
234
  G = 0;
235
235
  // ;
236
236
  case 59 + p:
237
- D == -1 && (y = g(y, /\f/g, "")), v > 0 && ie(y) - T && lt(v > 32 ? jr(y + ";", n, r, T - 1, u) : jr(g(y, " ", "") + ";", n, r, T - 2, u), u);
237
+ D == -1 && (y = g(y, /\f/g, "")), E > 0 && se(y) - T && ct(E > 32 ? jr(y + ";", n, r, T - 1, u) : jr(g(y, " ", "") + ";", n, r, T - 2, u), u);
238
238
  break;
239
239
  // @ ;
240
240
  case 59:
241
241
  y += ";";
242
242
  // { rule/at-rule
243
243
  default:
244
- if (lt(x = Gr(y, t, r, m, p, o, d, _, b = [], R = [], T, i), i), O === 123)
244
+ if (ct(x = Gr(y, t, r, f, p, a, d, _, b = [], R = [], T, i), i), P === 123)
245
245
  if (p === 0)
246
- _t(y, t, x, x, b, i, T, d, R);
246
+ It(y, t, x, x, b, i, T, d, R);
247
247
  else
248
248
  switch (w === 99 && B(y, 3) === 110 ? 100 : w) {
249
249
  // d l m s
@@ -251,58 +251,58 @@ function _t(e, t, r, n, o, i, s, d, u) {
251
251
  case 108:
252
252
  case 109:
253
253
  case 115:
254
- _t(e, x, x, n && lt(Gr(e, x, x, 0, 0, o, d, _, o, b = [], T, R), R), o, R, T, d, n ? b : R);
254
+ It(e, x, x, n && ct(Gr(e, x, x, 0, 0, a, d, _, a, b = [], T, R), R), a, R, T, d, n ? b : R);
255
255
  break;
256
256
  default:
257
- _t(y, x, x, x, [""], R, 0, d, R);
257
+ It(y, x, x, x, [""], R, 0, d, R);
258
258
  }
259
259
  }
260
- m = p = v = 0, $ = D = 1, _ = y = "", T = s;
260
+ f = p = E = 0, $ = D = 1, _ = y = "", T = s;
261
261
  break;
262
262
  // :
263
263
  case 58:
264
- T = 1 + ie(y), v = A;
264
+ T = 1 + se(y), E = A;
265
265
  default:
266
266
  if ($ < 1) {
267
- if (O == 123)
267
+ if (P == 123)
268
268
  --$;
269
- else if (O == 125 && $++ == 0 && xo() == 125)
269
+ else if (P == 125 && $++ == 0 && Ra() == 125)
270
270
  continue;
271
271
  }
272
- switch (y += Er(O), O * $) {
272
+ switch (y += Sr(P), P * $) {
273
273
  // &
274
274
  case 38:
275
275
  D = p > 0 ? 1 : (y += "\f", -1);
276
276
  break;
277
277
  // ,
278
278
  case 44:
279
- d[m++] = (ie(y) - 1) * D, D = 1;
279
+ d[f++] = (se(y) - 1) * D, D = 1;
280
280
  break;
281
281
  // @
282
282
  case 64:
283
- Ce() === 45 && (y += er(oe())), w = Ce(), p = T = ie(_ = y += ko(At())), O++;
283
+ Ae() === 45 && (y += tr(ae())), w = Ae(), p = T = se(_ = y += Da(_t())), P++;
284
284
  break;
285
285
  // -
286
286
  case 45:
287
- A === 45 && ie(y) == 2 && ($ = 0);
287
+ A === 45 && se(y) == 2 && ($ = 0);
288
288
  }
289
289
  }
290
290
  return i;
291
291
  }
292
- function Gr(e, t, r, n, o, i, s, d, u, m, p, T) {
293
- for (var w = o - 1, v = o === 0 ? i : [""], A = wn(v), $ = 0, G = 0, D = 0; $ < n; ++$)
294
- for (var O = 0, _ = He(e, w + 1, w = Sn(G = s[$])), b = e; O < A; ++O)
295
- (b = Tn(G > 0 ? v[O] + " " + _ : g(_, /&\f/g, v[O]))) && (u[D++] = b);
296
- return Ft(e, t, r, o === 0 ? Lt : d, u, m, p, T);
292
+ function Gr(e, t, r, n, a, i, s, d, u, f, p, T) {
293
+ for (var w = a - 1, E = a === 0 ? i : [""], A = xn(E), $ = 0, G = 0, D = 0; $ < n; ++$)
294
+ for (var P = 0, _ = Ge(e, w + 1, w = Tn(G = s[$])), b = e; P < A; ++P)
295
+ (b = wn(G > 0 ? E[P] + " " + _ : g(_, /&\f/g, E[P]))) && (u[D++] = b);
296
+ return zt(e, t, r, a === 0 ? Mt : d, u, f, p, T);
297
297
  }
298
- function Po(e, t, r, n) {
299
- return Ft(e, t, r, vn, Er(wo()), He(e, 2, -2), 0, n);
298
+ function Ma(e, t, r, n) {
299
+ return zt(e, t, r, En, Sr(Ia()), Ge(e, 2, -2), 0, n);
300
300
  }
301
- function jr(e, t, r, n, o) {
302
- return Ft(e, t, r, vr, He(e, 0, n), He(e, n + 1, -1), n, o);
301
+ function jr(e, t, r, n, a) {
302
+ return zt(e, t, r, Er, Ge(e, 0, n), Ge(e, n + 1, -1), n, a);
303
303
  }
304
- function Cn(e, t, r) {
305
- switch (So(e, t)) {
304
+ function An(e, t, r) {
305
+ switch (Aa(e, t)) {
306
306
  // color-adjust
307
307
  case 5103:
308
308
  return C + "print-" + e + e;
@@ -338,14 +338,14 @@ function Cn(e, t, r) {
338
338
  return C + e + e;
339
339
  // tab-size
340
340
  case 4789:
341
- return ut + e + e;
341
+ return dt + e + e;
342
342
  // appearance, user-select, transform, hyphens, text-size-adjust
343
343
  case 5349:
344
344
  case 4246:
345
345
  case 4810:
346
346
  case 6968:
347
347
  case 2756:
348
- return C + e + ut + e + k + e + e;
348
+ return C + e + dt + e + k + e + e;
349
349
  // writing-mode
350
350
  case 5936:
351
351
  switch (B(e, t + 11)) {
@@ -372,7 +372,7 @@ function Cn(e, t, r) {
372
372
  return C + e + g(e, /(\w+).+(:[^]+)/, C + "box-$1$2" + k + "flex-$1$2") + e;
373
373
  // align-self
374
374
  case 5443:
375
- return C + e + k + "flex-item-" + g(e, /flex-|-self/g, "") + (me(e, /flex-|baseline/) ? "" : k + "grid-row-" + g(e, /flex-|-self/g, "")) + e;
375
+ return C + e + k + "flex-item-" + g(e, /flex-|-self/g, "") + (he(e, /flex-|baseline/) ? "" : k + "grid-row-" + g(e, /flex-|-self/g, "")) + e;
376
376
  // align-content
377
377
  case 4675:
378
378
  return C + e + k + "flex-line-pack" + g(e, /align-content|flex-|-self/g, "") + e;
@@ -400,7 +400,7 @@ function Cn(e, t, r) {
400
400
  return g(g(e, /(.+:)(flex-)?(.*)/, C + "box-pack:$3" + k + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + C + e + e;
401
401
  // justify-self
402
402
  case 4200:
403
- if (!me(e, /flex-|baseline/)) return k + "grid-column-align" + He(e, t) + e;
403
+ if (!he(e, /flex-|baseline/)) return k + "grid-column-align" + Ge(e, t) + e;
404
404
  break;
405
405
  // grid-template-(columns|rows)
406
406
  case 2592:
@@ -409,14 +409,14 @@ function Cn(e, t, r) {
409
409
  // grid-(row|column)-start
410
410
  case 4384:
411
411
  case 3616:
412
- return r && r.some(function(n, o) {
413
- return t = o, me(n.props, /grid-\w+-end/);
414
- }) ? ~Ct(e + (r = r[t].value), "span", 0) ? e : k + g(e, "-start", "") + e + k + "grid-row-span:" + (~Ct(r, "span", 0) ? me(r, /\d+/) : +me(r, /\d+/) - +me(e, /\d+/)) + ";" : k + g(e, "-start", "") + e;
412
+ return r && r.some(function(n, a) {
413
+ return t = a, he(n.props, /grid-\w+-end/);
414
+ }) ? ~At(e + (r = r[t].value), "span", 0) ? e : k + g(e, "-start", "") + e + k + "grid-row-span:" + (~At(r, "span", 0) ? he(r, /\d+/) : +he(r, /\d+/) - +he(e, /\d+/)) + ";" : k + g(e, "-start", "") + e;
415
415
  // grid-(row|column)-end
416
416
  case 4896:
417
417
  case 4128:
418
418
  return r && r.some(function(n) {
419
- return me(n.props, /grid-\w+-start/);
419
+ return he(n.props, /grid-\w+-start/);
420
420
  }) ? e : k + g(g(e, "-end", "-span"), "span ", "") + e;
421
421
  // (margin|padding)-inline-(start|end)
422
422
  case 4095:
@@ -437,7 +437,7 @@ function Cn(e, t, r) {
437
437
  case 5789:
438
438
  case 5021:
439
439
  case 4765:
440
- if (ie(e) - 1 - t > 6)
440
+ if (se(e) - 1 - t > 6)
441
441
  switch (B(e, t + 1)) {
442
442
  // (m)ax-content, (m)in-content
443
443
  case 109:
@@ -445,17 +445,17 @@ function Cn(e, t, r) {
445
445
  break;
446
446
  // (f)ill-available, (f)it-content
447
447
  case 102:
448
- return g(e, /(.+:)(.+)-([^]+)/, "$1" + C + "$2-$3$1" + ut + (B(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
448
+ return g(e, /(.+:)(.+)-([^]+)/, "$1" + C + "$2-$3$1" + dt + (B(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
449
449
  // (s)tretch
450
450
  case 115:
451
- return ~Ct(e, "stretch", 0) ? Cn(g(e, "stretch", "fill-available"), t, r) + e : e;
451
+ return ~At(e, "stretch", 0) ? An(g(e, "stretch", "fill-available"), t, r) + e : e;
452
452
  }
453
453
  break;
454
454
  // grid-(column|row)
455
455
  case 5152:
456
456
  case 5920:
457
- return g(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(n, o, i, s, d, u, m) {
458
- return k + o + ":" + i + m + (s ? k + o + "-span:" + (d ? u : +u - +i) + m : "") + e;
457
+ return g(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(n, a, i, s, d, u, f) {
458
+ return k + a + ":" + i + f + (s ? k + a + "-span:" + (d ? u : +u - +i) + f : "") + e;
459
459
  });
460
460
  // position: sticky
461
461
  case 4949:
@@ -483,67 +483,67 @@ function Cn(e, t, r) {
483
483
  }
484
484
  return e;
485
485
  }
486
- function Pt(e, t) {
486
+ function Nt(e, t) {
487
487
  for (var r = "", n = 0; n < e.length; n++)
488
488
  r += t(e[n], n, e, t) || "";
489
489
  return r;
490
490
  }
491
- function No(e, t, r, n) {
491
+ function Fa(e, t, r, n) {
492
492
  switch (e.type) {
493
- case Eo:
493
+ case Ca:
494
494
  if (e.children.length) break;
495
- case vo:
496
- case vr:
495
+ case xa:
496
+ case Er:
497
497
  return e.return = e.return || e.value;
498
- case vn:
499
- return "";
500
498
  case En:
501
- return e.return = e.value + "{" + Pt(e.children, n) + "}";
502
- case Lt:
503
- if (!ie(e.value = e.props.join(","))) return "";
499
+ return "";
500
+ case Sn:
501
+ return e.return = e.value + "{" + Nt(e.children, n) + "}";
502
+ case Mt:
503
+ if (!se(e.value = e.props.join(","))) return "";
504
504
  }
505
- return ie(r = Pt(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
505
+ return se(r = Nt(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
506
506
  }
507
- function $o(e) {
508
- var t = wn(e);
509
- return function(r, n, o, i) {
507
+ function za(e) {
508
+ var t = xn(e);
509
+ return function(r, n, a, i) {
510
510
  for (var s = "", d = 0; d < t; d++)
511
- s += e[d](r, n, o, i) || "";
511
+ s += e[d](r, n, a, i) || "";
512
512
  return s;
513
513
  };
514
514
  }
515
- function Do(e) {
515
+ function Ba(e) {
516
516
  return function(t) {
517
517
  t.root || (t = t.return) && e(t);
518
518
  };
519
519
  }
520
- function Lo(e, t, r, n) {
520
+ function Ua(e, t, r, n) {
521
521
  if (e.length > -1 && !e.return)
522
522
  switch (e.type) {
523
- case vr:
524
- e.return = Cn(e.value, e.length, r);
523
+ case Er:
524
+ e.return = An(e.value, e.length, r);
525
525
  return;
526
- case En:
527
- return Pt([ye(e, { value: g(e.value, "@", "@" + C) })], n);
528
- case Lt:
526
+ case Sn:
527
+ return Nt([ve(e, { value: g(e.value, "@", "@" + C) })], n);
528
+ case Mt:
529
529
  if (e.length)
530
- return To(r = e.props, function(o) {
531
- switch (me(o, n = /(::plac\w+|:read-\w+)/)) {
530
+ return _a(r = e.props, function(a) {
531
+ switch (he(a, n = /(::plac\w+|:read-\w+)/)) {
532
532
  // :read-(only|write)
533
533
  case ":read-only":
534
534
  case ":read-write":
535
- Fe(ye(e, { props: [g(o, /:(read-\w+)/, ":" + ut + "$1")] })), Fe(ye(e, { props: [o] })), ur(e, { props: Vr(r, n) });
535
+ Be(ve(e, { props: [g(a, /:(read-\w+)/, ":" + dt + "$1")] })), Be(ve(e, { props: [a] })), dr(e, { props: Hr(r, n) });
536
536
  break;
537
537
  // :placeholder
538
538
  case "::placeholder":
539
- Fe(ye(e, { props: [g(o, /:(plac\w+)/, ":" + C + "input-$1")] })), Fe(ye(e, { props: [g(o, /:(plac\w+)/, ":" + ut + "$1")] })), Fe(ye(e, { props: [g(o, /:(plac\w+)/, k + "input-$1")] })), Fe(ye(e, { props: [o] })), ur(e, { props: Vr(r, n) });
539
+ Be(ve(e, { props: [g(a, /:(plac\w+)/, ":" + C + "input-$1")] })), Be(ve(e, { props: [g(a, /:(plac\w+)/, ":" + dt + "$1")] })), Be(ve(e, { props: [g(a, /:(plac\w+)/, k + "input-$1")] })), Be(ve(e, { props: [a] })), dr(e, { props: Hr(r, n) });
540
540
  break;
541
541
  }
542
542
  return "";
543
543
  });
544
544
  }
545
545
  }
546
- var Mo = {
546
+ var Va = {
547
547
  animationIterationCount: 1,
548
548
  aspectRatio: 1,
549
549
  borderImageOutset: 1,
@@ -591,58 +591,58 @@ var Mo = {
591
591
  strokeMiterlimit: 1,
592
592
  strokeOpacity: 1,
593
593
  strokeWidth: 1
594
- }, Ge = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", An = "active", _n = "data-styled-version", Bt = "6.1.19", Sr = `/*!sc*/
595
- `, Nt = typeof window < "u" && typeof document < "u", Fo = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" && process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY), Ut = Object.freeze([]), je = Object.freeze({});
596
- function zo(e, t, r) {
597
- return r === void 0 && (r = je), e.theme !== r.theme && e.theme || t || r.theme;
594
+ }, Ye = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", _n = "active", In = "data-styled-version", Ut = "6.1.19", Tr = `/*!sc*/
595
+ `, $t = typeof window < "u" && typeof document < "u", Wa = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" && process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY), Vt = Object.freeze([]), qe = Object.freeze({});
596
+ function Ha(e, t, r) {
597
+ return r === void 0 && (r = qe), e.theme !== r.theme && e.theme || t || r.theme;
598
598
  }
599
- var In = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), Bo = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Uo = /(^-|-$)/g;
599
+ var Rn = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), Ga = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, ja = /(^-|-$)/g;
600
600
  function Yr(e) {
601
- return e.replace(Bo, "-").replace(Uo, "");
601
+ return e.replace(Ga, "-").replace(ja, "");
602
602
  }
603
- var Wo = /(a)(d)/gi, Et = 52, qr = function(e) {
603
+ var Ya = /(a)(d)/gi, St = 52, qr = function(e) {
604
604
  return String.fromCharCode(e + (e > 25 ? 39 : 97));
605
605
  };
606
- function mr(e) {
606
+ function hr(e) {
607
607
  var t, r = "";
608
- for (t = Math.abs(e); t > Et; t = t / Et | 0) r = qr(t % Et) + r;
609
- return (qr(t % Et) + r).replace(Wo, "$1-$2");
608
+ for (t = Math.abs(e); t > St; t = t / St | 0) r = qr(t % St) + r;
609
+ return (qr(t % St) + r).replace(Ya, "$1-$2");
610
610
  }
611
- var tr, Rn = 5381, ze = function(e, t) {
611
+ var rr, kn = 5381, Ue = function(e, t) {
612
612
  for (var r = t.length; r; ) e = 33 * e ^ t.charCodeAt(--r);
613
613
  return e;
614
- }, kn = function(e) {
615
- return ze(Rn, e);
614
+ }, Pn = function(e) {
615
+ return Ue(kn, e);
616
616
  };
617
- function Ho(e) {
618
- return mr(kn(e) >>> 0);
617
+ function qa(e) {
618
+ return hr(Pn(e) >>> 0);
619
619
  }
620
- function Vo(e) {
620
+ function Ka(e) {
621
621
  return e.displayName || e.name || "Component";
622
622
  }
623
- function rr(e) {
623
+ function nr(e) {
624
624
  return typeof e == "string" && !0;
625
625
  }
626
- var On = typeof Symbol == "function" && Symbol.for, Pn = On ? Symbol.for("react.memo") : 60115, Go = On ? Symbol.for("react.forward_ref") : 60112, jo = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Yo = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, Nn = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, qo = ((tr = {})[Go] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, tr[Pn] = Nn, tr);
626
+ var On = typeof Symbol == "function" && Symbol.for, Nn = On ? Symbol.for("react.memo") : 60115, Xa = On ? Symbol.for("react.forward_ref") : 60112, Za = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Qa = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, $n = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Ja = ((rr = {})[Xa] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, rr[Nn] = $n, rr);
627
627
  function Kr(e) {
628
- return ("type" in (t = e) && t.type.$$typeof) === Pn ? Nn : "$$typeof" in e ? qo[e.$$typeof] : jo;
628
+ return ("type" in (t = e) && t.type.$$typeof) === Nn ? $n : "$$typeof" in e ? Ja[e.$$typeof] : Za;
629
629
  var t;
630
630
  }
631
- var Ko = Object.defineProperty, Xo = Object.getOwnPropertyNames, Xr = Object.getOwnPropertySymbols, Zo = Object.getOwnPropertyDescriptor, Qo = Object.getPrototypeOf, Zr = Object.prototype;
632
- function $n(e, t, r) {
631
+ var eo = Object.defineProperty, to = Object.getOwnPropertyNames, Xr = Object.getOwnPropertySymbols, ro = Object.getOwnPropertyDescriptor, no = Object.getPrototypeOf, Zr = Object.prototype;
632
+ function Dn(e, t, r) {
633
633
  if (typeof t != "string") {
634
634
  if (Zr) {
635
- var n = Qo(t);
636
- n && n !== Zr && $n(e, n, r);
635
+ var n = no(t);
636
+ n && n !== Zr && Dn(e, n, r);
637
637
  }
638
- var o = Xo(t);
639
- Xr && (o = o.concat(Xr(t)));
640
- for (var i = Kr(e), s = Kr(t), d = 0; d < o.length; ++d) {
641
- var u = o[d];
642
- if (!(u in Yo || r && r[u] || s && u in s || i && u in i)) {
643
- var m = Zo(t, u);
638
+ var a = to(t);
639
+ Xr && (a = a.concat(Xr(t)));
640
+ for (var i = Kr(e), s = Kr(t), d = 0; d < a.length; ++d) {
641
+ var u = a[d];
642
+ if (!(u in Qa || r && r[u] || s && u in s || i && u in i)) {
643
+ var f = ro(t, u);
644
644
  try {
645
- Ko(e, u, m);
645
+ eo(e, u, f);
646
646
  } catch {
647
647
  }
648
648
  }
@@ -650,13 +650,13 @@ function $n(e, t, r) {
650
650
  }
651
651
  return e;
652
652
  }
653
- function _e(e) {
653
+ function Ie(e) {
654
654
  return typeof e == "function";
655
655
  }
656
- function Tr(e) {
656
+ function wr(e) {
657
657
  return typeof e == "object" && "styledComponentId" in e;
658
658
  }
659
- function we(e, t) {
659
+ function xe(e, t) {
660
660
  return e && t ? "".concat(e, " ").concat(t) : e || t || "";
661
661
  }
662
662
  function Qr(e, t) {
@@ -664,23 +664,23 @@ function Qr(e, t) {
664
664
  for (var r = e[0], n = 1; n < e.length; n++) r += e[n];
665
665
  return r;
666
666
  }
667
- function dt(e) {
667
+ function mt(e) {
668
668
  return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
669
669
  }
670
- function hr(e, t, r) {
671
- if (r === void 0 && (r = !1), !r && !dt(e) && !Array.isArray(e)) return t;
672
- if (Array.isArray(t)) for (var n = 0; n < t.length; n++) e[n] = hr(e[n], t[n]);
673
- else if (dt(t)) for (var n in t) e[n] = hr(e[n], t[n]);
670
+ function pr(e, t, r) {
671
+ if (r === void 0 && (r = !1), !r && !mt(e) && !Array.isArray(e)) return t;
672
+ if (Array.isArray(t)) for (var n = 0; n < t.length; n++) e[n] = pr(e[n], t[n]);
673
+ else if (mt(t)) for (var n in t) e[n] = pr(e[n], t[n]);
674
674
  return e;
675
675
  }
676
- function wr(e, t) {
676
+ function xr(e, t) {
677
677
  Object.defineProperty(e, "toString", { value: t });
678
678
  }
679
- function Ie(e) {
679
+ function Re(e) {
680
680
  for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
681
681
  return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(t.length > 0 ? " Args: ".concat(t.join(", ")) : ""));
682
682
  }
683
- var Jo = (function() {
683
+ var ao = (function() {
684
684
  function e(t) {
685
685
  this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = t;
686
686
  }
@@ -689,69 +689,69 @@ var Jo = (function() {
689
689
  return r;
690
690
  }, e.prototype.insertRules = function(t, r) {
691
691
  if (t >= this.groupSizes.length) {
692
- for (var n = this.groupSizes, o = n.length, i = o; t >= i; ) if ((i <<= 1) < 0) throw Ie(16, "".concat(t));
692
+ for (var n = this.groupSizes, a = n.length, i = a; t >= i; ) if ((i <<= 1) < 0) throw Re(16, "".concat(t));
693
693
  this.groupSizes = new Uint32Array(i), this.groupSizes.set(n), this.length = i;
694
- for (var s = o; s < i; s++) this.groupSizes[s] = 0;
694
+ for (var s = a; s < i; s++) this.groupSizes[s] = 0;
695
695
  }
696
696
  for (var d = this.indexOfGroup(t + 1), u = (s = 0, r.length); s < u; s++) this.tag.insertRule(d, r[s]) && (this.groupSizes[t]++, d++);
697
697
  }, e.prototype.clearGroup = function(t) {
698
698
  if (t < this.length) {
699
- var r = this.groupSizes[t], n = this.indexOfGroup(t), o = n + r;
699
+ var r = this.groupSizes[t], n = this.indexOfGroup(t), a = n + r;
700
700
  this.groupSizes[t] = 0;
701
- for (var i = n; i < o; i++) this.tag.deleteRule(n);
701
+ for (var i = n; i < a; i++) this.tag.deleteRule(n);
702
702
  }
703
703
  }, e.prototype.getGroup = function(t) {
704
704
  var r = "";
705
705
  if (t >= this.length || this.groupSizes[t] === 0) return r;
706
- for (var n = this.groupSizes[t], o = this.indexOfGroup(t), i = o + n, s = o; s < i; s++) r += "".concat(this.tag.getRule(s)).concat(Sr);
706
+ for (var n = this.groupSizes[t], a = this.indexOfGroup(t), i = a + n, s = a; s < i; s++) r += "".concat(this.tag.getRule(s)).concat(Tr);
707
707
  return r;
708
708
  }, e;
709
- })(), It = /* @__PURE__ */ new Map(), $t = /* @__PURE__ */ new Map(), Rt = 1, St = function(e) {
710
- if (It.has(e)) return It.get(e);
711
- for (; $t.has(Rt); ) Rt++;
712
- var t = Rt++;
713
- return It.set(e, t), $t.set(t, e), t;
714
- }, ea = function(e, t) {
715
- Rt = t + 1, It.set(e, t), $t.set(t, e);
716
- }, ta = "style[".concat(Ge, "][").concat(_n, '="').concat(Bt, '"]'), ra = new RegExp("^".concat(Ge, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), na = function(e, t, r) {
717
- for (var n, o = r.split(","), i = 0, s = o.length; i < s; i++) (n = o[i]) && e.registerName(t, n);
718
- }, oa = function(e, t) {
719
- for (var r, n = ((r = t.textContent) !== null && r !== void 0 ? r : "").split(Sr), o = [], i = 0, s = n.length; i < s; i++) {
709
+ })(), Rt = /* @__PURE__ */ new Map(), Dt = /* @__PURE__ */ new Map(), kt = 1, Tt = function(e) {
710
+ if (Rt.has(e)) return Rt.get(e);
711
+ for (; Dt.has(kt); ) kt++;
712
+ var t = kt++;
713
+ return Rt.set(e, t), Dt.set(t, e), t;
714
+ }, oo = function(e, t) {
715
+ kt = t + 1, Rt.set(e, t), Dt.set(t, e);
716
+ }, io = "style[".concat(Ye, "][").concat(In, '="').concat(Ut, '"]'), so = new RegExp("^".concat(Ye, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), lo = function(e, t, r) {
717
+ for (var n, a = r.split(","), i = 0, s = a.length; i < s; i++) (n = a[i]) && e.registerName(t, n);
718
+ }, co = function(e, t) {
719
+ for (var r, n = ((r = t.textContent) !== null && r !== void 0 ? r : "").split(Tr), a = [], i = 0, s = n.length; i < s; i++) {
720
720
  var d = n[i].trim();
721
721
  if (d) {
722
- var u = d.match(ra);
722
+ var u = d.match(so);
723
723
  if (u) {
724
- var m = 0 | parseInt(u[1], 10), p = u[2];
725
- m !== 0 && (ea(p, m), na(e, p, u[3]), e.getTag().insertRules(m, o)), o.length = 0;
726
- } else o.push(d);
724
+ var f = 0 | parseInt(u[1], 10), p = u[2];
725
+ f !== 0 && (oo(p, f), lo(e, p, u[3]), e.getTag().insertRules(f, a)), a.length = 0;
726
+ } else a.push(d);
727
727
  }
728
728
  }
729
729
  }, Jr = function(e) {
730
- for (var t = document.querySelectorAll(ta), r = 0, n = t.length; r < n; r++) {
731
- var o = t[r];
732
- o && o.getAttribute(Ge) !== An && (oa(e, o), o.parentNode && o.parentNode.removeChild(o));
730
+ for (var t = document.querySelectorAll(io), r = 0, n = t.length; r < n; r++) {
731
+ var a = t[r];
732
+ a && a.getAttribute(Ye) !== _n && (co(e, a), a.parentNode && a.parentNode.removeChild(a));
733
733
  }
734
734
  };
735
- function aa() {
735
+ function uo() {
736
736
  return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
737
737
  }
738
- var Dn = function(e) {
739
- var t = document.head, r = e || t, n = document.createElement("style"), o = (function(d) {
740
- var u = Array.from(d.querySelectorAll("style[".concat(Ge, "]")));
738
+ var Ln = function(e) {
739
+ var t = document.head, r = e || t, n = document.createElement("style"), a = (function(d) {
740
+ var u = Array.from(d.querySelectorAll("style[".concat(Ye, "]")));
741
741
  return u[u.length - 1];
742
- })(r), i = o !== void 0 ? o.nextSibling : null;
743
- n.setAttribute(Ge, An), n.setAttribute(_n, Bt);
744
- var s = aa();
742
+ })(r), i = a !== void 0 ? a.nextSibling : null;
743
+ n.setAttribute(Ye, _n), n.setAttribute(In, Ut);
744
+ var s = uo();
745
745
  return s && n.setAttribute("nonce", s), r.insertBefore(n, i), n;
746
- }, ia = (function() {
746
+ }, mo = (function() {
747
747
  function e(t) {
748
- this.element = Dn(t), this.element.appendChild(document.createTextNode("")), this.sheet = (function(r) {
748
+ this.element = Ln(t), this.element.appendChild(document.createTextNode("")), this.sheet = (function(r) {
749
749
  if (r.sheet) return r.sheet;
750
- for (var n = document.styleSheets, o = 0, i = n.length; o < i; o++) {
751
- var s = n[o];
750
+ for (var n = document.styleSheets, a = 0, i = n.length; a < i; a++) {
751
+ var s = n[a];
752
752
  if (s.ownerNode === r) return s;
753
753
  }
754
- throw Ie(17);
754
+ throw Re(17);
755
755
  })(this.element), this.length = 0;
756
756
  }
757
757
  return e.prototype.insertRule = function(t, r) {
@@ -766,9 +766,9 @@ var Dn = function(e) {
766
766
  var r = this.sheet.cssRules[t];
767
767
  return r && r.cssText ? r.cssText : "";
768
768
  }, e;
769
- })(), sa = (function() {
769
+ })(), fo = (function() {
770
770
  function e(t) {
771
- this.element = Dn(t), this.nodes = this.element.childNodes, this.length = 0;
771
+ this.element = Ln(t), this.nodes = this.element.childNodes, this.length = 0;
772
772
  }
773
773
  return e.prototype.insertRule = function(t, r) {
774
774
  if (t <= this.length && t >= 0) {
@@ -781,7 +781,7 @@ var Dn = function(e) {
781
781
  }, e.prototype.getRule = function(t) {
782
782
  return t < this.length ? this.nodes[t].textContent : "";
783
783
  }, e;
784
- })(), la = (function() {
784
+ })(), ho = (function() {
785
785
  function e(t) {
786
786
  this.rules = [], this.length = 0;
787
787
  }
@@ -792,207 +792,207 @@ var Dn = function(e) {
792
792
  }, e.prototype.getRule = function(t) {
793
793
  return t < this.length ? this.rules[t] : "";
794
794
  }, e;
795
- })(), en = Nt, ca = { isServer: !Nt, useCSSOMInjection: !Fo }, Ln = (function() {
795
+ })(), en = $t, po = { isServer: !$t, useCSSOMInjection: !Wa }, Mn = (function() {
796
796
  function e(t, r, n) {
797
- t === void 0 && (t = je), r === void 0 && (r = {});
798
- var o = this;
799
- this.options = V(V({}, ca), t), this.gs = r, this.names = new Map(n), this.server = !!t.isServer, !this.server && Nt && en && (en = !1, Jr(this)), wr(this, function() {
797
+ t === void 0 && (t = qe), r === void 0 && (r = {});
798
+ var a = this;
799
+ this.options = H(H({}, po), t), this.gs = r, this.names = new Map(n), this.server = !!t.isServer, !this.server && $t && en && (en = !1, Jr(this)), xr(this, function() {
800
800
  return (function(i) {
801
- for (var s = i.getTag(), d = s.length, u = "", m = function(T) {
801
+ for (var s = i.getTag(), d = s.length, u = "", f = function(T) {
802
802
  var w = (function(D) {
803
- return $t.get(D);
803
+ return Dt.get(D);
804
804
  })(T);
805
805
  if (w === void 0) return "continue";
806
- var v = i.names.get(w), A = s.getGroup(T);
807
- if (v === void 0 || !v.size || A.length === 0) return "continue";
808
- var $ = "".concat(Ge, ".g").concat(T, '[id="').concat(w, '"]'), G = "";
809
- v !== void 0 && v.forEach(function(D) {
806
+ var E = i.names.get(w), A = s.getGroup(T);
807
+ if (E === void 0 || !E.size || A.length === 0) return "continue";
808
+ var $ = "".concat(Ye, ".g").concat(T, '[id="').concat(w, '"]'), G = "";
809
+ E !== void 0 && E.forEach(function(D) {
810
810
  D.length > 0 && (G += "".concat(D, ","));
811
- }), u += "".concat(A).concat($, '{content:"').concat(G, '"}').concat(Sr);
812
- }, p = 0; p < d; p++) m(p);
811
+ }), u += "".concat(A).concat($, '{content:"').concat(G, '"}').concat(Tr);
812
+ }, p = 0; p < d; p++) f(p);
813
813
  return u;
814
- })(o);
814
+ })(a);
815
815
  });
816
816
  }
817
817
  return e.registerId = function(t) {
818
- return St(t);
818
+ return Tt(t);
819
819
  }, e.prototype.rehydrate = function() {
820
- !this.server && Nt && Jr(this);
820
+ !this.server && $t && Jr(this);
821
821
  }, e.prototype.reconstructWithOptions = function(t, r) {
822
- return r === void 0 && (r = !0), new e(V(V({}, this.options), t), this.gs, r && this.names || void 0);
822
+ return r === void 0 && (r = !0), new e(H(H({}, this.options), t), this.gs, r && this.names || void 0);
823
823
  }, e.prototype.allocateGSInstance = function(t) {
824
824
  return this.gs[t] = (this.gs[t] || 0) + 1;
825
825
  }, e.prototype.getTag = function() {
826
826
  return this.tag || (this.tag = (t = (function(r) {
827
- var n = r.useCSSOMInjection, o = r.target;
828
- return r.isServer ? new la(o) : n ? new ia(o) : new sa(o);
829
- })(this.options), new Jo(t)));
827
+ var n = r.useCSSOMInjection, a = r.target;
828
+ return r.isServer ? new ho(a) : n ? new mo(a) : new fo(a);
829
+ })(this.options), new ao(t)));
830
830
  var t;
831
831
  }, e.prototype.hasNameForId = function(t, r) {
832
832
  return this.names.has(t) && this.names.get(t).has(r);
833
833
  }, e.prototype.registerName = function(t, r) {
834
- if (St(t), this.names.has(t)) this.names.get(t).add(r);
834
+ if (Tt(t), this.names.has(t)) this.names.get(t).add(r);
835
835
  else {
836
836
  var n = /* @__PURE__ */ new Set();
837
837
  n.add(r), this.names.set(t, n);
838
838
  }
839
839
  }, e.prototype.insertRules = function(t, r, n) {
840
- this.registerName(t, r), this.getTag().insertRules(St(t), n);
840
+ this.registerName(t, r), this.getTag().insertRules(Tt(t), n);
841
841
  }, e.prototype.clearNames = function(t) {
842
842
  this.names.has(t) && this.names.get(t).clear();
843
843
  }, e.prototype.clearRules = function(t) {
844
- this.getTag().clearGroup(St(t)), this.clearNames(t);
844
+ this.getTag().clearGroup(Tt(t)), this.clearNames(t);
845
845
  }, e.prototype.clearTag = function() {
846
846
  this.tag = void 0;
847
847
  }, e;
848
- })(), ua = /&/g, da = /^\s*\/\/.*$/gm;
849
- function Mn(e, t) {
848
+ })(), go = /&/g, bo = /^\s*\/\/.*$/gm;
849
+ function Fn(e, t) {
850
850
  return e.map(function(r) {
851
851
  return r.type === "rule" && (r.value = "".concat(t, " ").concat(r.value), r.value = r.value.replaceAll(",", ",".concat(t, " ")), r.props = r.props.map(function(n) {
852
852
  return "".concat(t, " ").concat(n);
853
- })), Array.isArray(r.children) && r.type !== "@keyframes" && (r.children = Mn(r.children, t)), r;
853
+ })), Array.isArray(r.children) && r.type !== "@keyframes" && (r.children = Fn(r.children, t)), r;
854
854
  });
855
855
  }
856
- function fa(e) {
857
- var t, r, n, o = je, i = o.options, s = i === void 0 ? je : i, d = o.plugins, u = d === void 0 ? Ut : d, m = function(w, v, A) {
856
+ function yo(e) {
857
+ var t, r, n, a = qe, i = a.options, s = i === void 0 ? qe : i, d = a.plugins, u = d === void 0 ? Vt : d, f = function(w, E, A) {
858
858
  return A.startsWith(r) && A.endsWith(r) && A.replaceAll(r, "").length > 0 ? ".".concat(t) : w;
859
859
  }, p = u.slice();
860
860
  p.push(function(w) {
861
- w.type === Lt && w.value.includes("&") && (w.props[0] = w.props[0].replace(ua, r).replace(n, m));
862
- }), s.prefix && p.push(Lo), p.push(No);
863
- var T = function(w, v, A, $) {
864
- v === void 0 && (v = ""), A === void 0 && (A = ""), $ === void 0 && ($ = "&"), t = $, r = v, n = new RegExp("\\".concat(r, "\\b"), "g");
865
- var G = w.replace(da, ""), D = Oo(A || v ? "".concat(A, " ").concat(v, " { ").concat(G, " }") : G);
866
- s.namespace && (D = Mn(D, s.namespace));
867
- var O = [];
868
- return Pt(D, $o(p.concat(Do(function(_) {
869
- return O.push(_);
870
- })))), O;
861
+ w.type === Mt && w.value.includes("&") && (w.props[0] = w.props[0].replace(go, r).replace(n, f));
862
+ }), s.prefix && p.push(Ua), p.push(Fa);
863
+ var T = function(w, E, A, $) {
864
+ E === void 0 && (E = ""), A === void 0 && (A = ""), $ === void 0 && ($ = "&"), t = $, r = E, n = new RegExp("\\".concat(r, "\\b"), "g");
865
+ var G = w.replace(bo, ""), D = La(A || E ? "".concat(A, " ").concat(E, " { ").concat(G, " }") : G);
866
+ s.namespace && (D = Fn(D, s.namespace));
867
+ var P = [];
868
+ return Nt(D, za(p.concat(Ba(function(_) {
869
+ return P.push(_);
870
+ })))), P;
871
871
  };
872
- return T.hash = u.length ? u.reduce(function(w, v) {
873
- return v.name || Ie(15), ze(w, v.name);
874
- }, Rn).toString() : "", T;
872
+ return T.hash = u.length ? u.reduce(function(w, E) {
873
+ return E.name || Re(15), Ue(w, E.name);
874
+ }, kn).toString() : "", T;
875
875
  }
876
- var ma = new Ln(), pr = fa(), Fn = l.createContext({ shouldForwardProp: void 0, styleSheet: ma, stylis: pr });
877
- Fn.Consumer;
876
+ var vo = new Mn(), gr = yo(), zn = l.createContext({ shouldForwardProp: void 0, styleSheet: vo, stylis: gr });
877
+ zn.Consumer;
878
878
  l.createContext(void 0);
879
879
  function tn() {
880
- return ho(Fn);
880
+ return va(zn);
881
881
  }
882
- var ha = (function() {
882
+ var Eo = (function() {
883
883
  function e(t, r) {
884
884
  var n = this;
885
- this.inject = function(o, i) {
886
- i === void 0 && (i = pr);
885
+ this.inject = function(a, i) {
886
+ i === void 0 && (i = gr);
887
887
  var s = n.name + i.hash;
888
- o.hasNameForId(n.id, s) || o.insertRules(n.id, s, i(n.rules, s, "@keyframes"));
889
- }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = r, wr(this, function() {
890
- throw Ie(12, String(n.name));
888
+ a.hasNameForId(n.id, s) || a.insertRules(n.id, s, i(n.rules, s, "@keyframes"));
889
+ }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = r, xr(this, function() {
890
+ throw Re(12, String(n.name));
891
891
  });
892
892
  }
893
893
  return e.prototype.getName = function(t) {
894
- return t === void 0 && (t = pr), this.name + t.hash;
894
+ return t === void 0 && (t = gr), this.name + t.hash;
895
895
  }, e;
896
- })(), pa = function(e) {
896
+ })(), So = function(e) {
897
897
  return e >= "A" && e <= "Z";
898
898
  };
899
899
  function rn(e) {
900
900
  for (var t = "", r = 0; r < e.length; r++) {
901
901
  var n = e[r];
902
902
  if (r === 1 && n === "-" && e[0] === "-") return e;
903
- pa(n) ? t += "-" + n.toLowerCase() : t += n;
903
+ So(n) ? t += "-" + n.toLowerCase() : t += n;
904
904
  }
905
905
  return t.startsWith("ms-") ? "-" + t : t;
906
906
  }
907
- var zn = function(e) {
907
+ var Bn = function(e) {
908
908
  return e == null || e === !1 || e === "";
909
- }, Bn = function(e) {
909
+ }, Un = function(e) {
910
910
  var t, r, n = [];
911
- for (var o in e) {
912
- var i = e[o];
913
- e.hasOwnProperty(o) && !zn(i) && (Array.isArray(i) && i.isCss || _e(i) ? n.push("".concat(rn(o), ":"), i, ";") : dt(i) ? n.push.apply(n, Ot(Ot(["".concat(o, " {")], Bn(i), !1), ["}"], !1)) : n.push("".concat(rn(o), ": ").concat((t = o, (r = i) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in Mo || t.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";")));
911
+ for (var a in e) {
912
+ var i = e[a];
913
+ e.hasOwnProperty(a) && !Bn(i) && (Array.isArray(i) && i.isCss || Ie(i) ? n.push("".concat(rn(a), ":"), i, ";") : mt(i) ? n.push.apply(n, Ot(Ot(["".concat(a, " {")], Un(i), !1), ["}"], !1)) : n.push("".concat(rn(a), ": ").concat((t = a, (r = i) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in Va || t.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";")));
914
914
  }
915
915
  return n;
916
916
  };
917
- function Ae(e, t, r, n) {
918
- if (zn(e)) return [];
919
- if (Tr(e)) return [".".concat(e.styledComponentId)];
920
- if (_e(e)) {
921
- if (!_e(i = e) || i.prototype && i.prototype.isReactComponent || !t) return [e];
922
- var o = e(t);
923
- return Ae(o, t, r, n);
917
+ function _e(e, t, r, n) {
918
+ if (Bn(e)) return [];
919
+ if (wr(e)) return [".".concat(e.styledComponentId)];
920
+ if (Ie(e)) {
921
+ if (!Ie(i = e) || i.prototype && i.prototype.isReactComponent || !t) return [e];
922
+ var a = e(t);
923
+ return _e(a, t, r, n);
924
924
  }
925
925
  var i;
926
- return e instanceof ha ? r ? (e.inject(r, n), [e.getName(n)]) : [e] : dt(e) ? Bn(e) : Array.isArray(e) ? Array.prototype.concat.apply(Ut, e.map(function(s) {
927
- return Ae(s, t, r, n);
926
+ return e instanceof Eo ? r ? (e.inject(r, n), [e.getName(n)]) : [e] : mt(e) ? Un(e) : Array.isArray(e) ? Array.prototype.concat.apply(Vt, e.map(function(s) {
927
+ return _e(s, t, r, n);
928
928
  })) : [e.toString()];
929
929
  }
930
- function ga(e) {
930
+ function To(e) {
931
931
  for (var t = 0; t < e.length; t += 1) {
932
932
  var r = e[t];
933
- if (_e(r) && !Tr(r)) return !1;
933
+ if (Ie(r) && !wr(r)) return !1;
934
934
  }
935
935
  return !0;
936
936
  }
937
- var ba = kn(Bt), ya = (function() {
937
+ var wo = Pn(Ut), xo = (function() {
938
938
  function e(t, r, n) {
939
- this.rules = t, this.staticRulesId = "", this.isStatic = (n === void 0 || n.isStatic) && ga(t), this.componentId = r, this.baseHash = ze(ba, r), this.baseStyle = n, Ln.registerId(r);
939
+ this.rules = t, this.staticRulesId = "", this.isStatic = (n === void 0 || n.isStatic) && To(t), this.componentId = r, this.baseHash = Ue(wo, r), this.baseStyle = n, Mn.registerId(r);
940
940
  }
941
941
  return e.prototype.generateAndInjectStyles = function(t, r, n) {
942
- var o = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, r, n) : "";
943
- if (this.isStatic && !n.hash) if (this.staticRulesId && r.hasNameForId(this.componentId, this.staticRulesId)) o = we(o, this.staticRulesId);
942
+ var a = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, r, n) : "";
943
+ if (this.isStatic && !n.hash) if (this.staticRulesId && r.hasNameForId(this.componentId, this.staticRulesId)) a = xe(a, this.staticRulesId);
944
944
  else {
945
- var i = Qr(Ae(this.rules, t, r, n)), s = mr(ze(this.baseHash, i) >>> 0);
945
+ var i = Qr(_e(this.rules, t, r, n)), s = hr(Ue(this.baseHash, i) >>> 0);
946
946
  if (!r.hasNameForId(this.componentId, s)) {
947
947
  var d = n(i, ".".concat(s), void 0, this.componentId);
948
948
  r.insertRules(this.componentId, s, d);
949
949
  }
950
- o = we(o, s), this.staticRulesId = s;
950
+ a = xe(a, s), this.staticRulesId = s;
951
951
  }
952
952
  else {
953
- for (var u = ze(this.baseHash, n.hash), m = "", p = 0; p < this.rules.length; p++) {
953
+ for (var u = Ue(this.baseHash, n.hash), f = "", p = 0; p < this.rules.length; p++) {
954
954
  var T = this.rules[p];
955
- if (typeof T == "string") m += T;
955
+ if (typeof T == "string") f += T;
956
956
  else if (T) {
957
- var w = Qr(Ae(T, t, r, n));
958
- u = ze(u, w + p), m += w;
957
+ var w = Qr(_e(T, t, r, n));
958
+ u = Ue(u, w + p), f += w;
959
959
  }
960
960
  }
961
- if (m) {
962
- var v = mr(u >>> 0);
963
- r.hasNameForId(this.componentId, v) || r.insertRules(this.componentId, v, n(m, ".".concat(v), void 0, this.componentId)), o = we(o, v);
961
+ if (f) {
962
+ var E = hr(u >>> 0);
963
+ r.hasNameForId(this.componentId, E) || r.insertRules(this.componentId, E, n(f, ".".concat(E), void 0, this.componentId)), a = xe(a, E);
964
964
  }
965
965
  }
966
- return o;
966
+ return a;
967
967
  }, e;
968
- })(), Dt = l.createContext(void 0);
969
- Dt.Consumer;
970
- function va(e) {
971
- var t = l.useContext(Dt), r = se(function() {
972
- return (function(n, o) {
973
- if (!n) throw Ie(14);
974
- if (_e(n)) {
975
- var i = n(o);
968
+ })(), Lt = l.createContext(void 0);
969
+ Lt.Consumer;
970
+ function Co(e) {
971
+ var t = l.useContext(Lt), r = le(function() {
972
+ return (function(n, a) {
973
+ if (!n) throw Re(14);
974
+ if (Ie(n)) {
975
+ var i = n(a);
976
976
  return i;
977
977
  }
978
- if (Array.isArray(n) || typeof n != "object") throw Ie(8);
979
- return o ? V(V({}, o), n) : n;
978
+ if (Array.isArray(n) || typeof n != "object") throw Re(8);
979
+ return a ? H(H({}, a), n) : n;
980
980
  })(e.theme, t);
981
981
  }, [e.theme, t]);
982
- return e.children ? l.createElement(Dt.Provider, { value: r }, e.children) : null;
982
+ return e.children ? l.createElement(Lt.Provider, { value: r }, e.children) : null;
983
983
  }
984
- var nr = {};
985
- function Ea(e, t, r) {
986
- var n = Tr(e), o = e, i = !rr(e), s = t.attrs, d = s === void 0 ? Ut : s, u = t.componentId, m = u === void 0 ? (function(b, R) {
984
+ var ar = {};
985
+ function Ao(e, t, r) {
986
+ var n = wr(e), a = e, i = !nr(e), s = t.attrs, d = s === void 0 ? Vt : s, u = t.componentId, f = u === void 0 ? (function(b, R) {
987
987
  var x = typeof b != "string" ? "sc" : Yr(b);
988
- nr[x] = (nr[x] || 0) + 1;
989
- var y = "".concat(x, "-").concat(Ho(Bt + x + nr[x]));
988
+ ar[x] = (ar[x] || 0) + 1;
989
+ var y = "".concat(x, "-").concat(qa(Ut + x + ar[x]));
990
990
  return R ? "".concat(R, "-").concat(y) : y;
991
991
  })(t.displayName, t.parentComponentId) : u, p = t.displayName, T = p === void 0 ? (function(b) {
992
- return rr(b) ? "styled.".concat(b) : "Styled(".concat(Vo(b), ")");
993
- })(e) : p, w = t.displayName && t.componentId ? "".concat(Yr(t.displayName), "-").concat(t.componentId) : t.componentId || m, v = n && o.attrs ? o.attrs.concat(d).filter(Boolean) : d, A = t.shouldForwardProp;
994
- if (n && o.shouldForwardProp) {
995
- var $ = o.shouldForwardProp;
992
+ return nr(b) ? "styled.".concat(b) : "Styled(".concat(Ka(b), ")");
993
+ })(e) : p, w = t.displayName && t.componentId ? "".concat(Yr(t.displayName), "-").concat(t.componentId) : t.componentId || f, E = n && a.attrs ? a.attrs.concat(d).filter(Boolean) : d, A = t.shouldForwardProp;
994
+ if (n && a.shouldForwardProp) {
995
+ var $ = a.shouldForwardProp;
996
996
  if (t.shouldForwardProp) {
997
997
  var G = t.shouldForwardProp;
998
998
  A = function(b, R) {
@@ -1000,70 +1000,70 @@ function Ea(e, t, r) {
1000
1000
  };
1001
1001
  } else A = $;
1002
1002
  }
1003
- var D = new ya(r, w, n ? o.componentStyle : void 0);
1004
- function O(b, R) {
1005
- return (function(x, y, pe) {
1006
- var Re = x.attrs, Wt = x.componentStyle, U = x.defaultProps, Xe = x.foldedComponentIds, Ze = x.styledComponentId, Qe = x.target, Ht = l.useContext(Dt), Vt = tn(), Je = x.shouldForwardProp || Vt.shouldForwardProp, et = zo(y, Ht, U) || je, J = (function(I, te, ge) {
1007
- for (var be, re = V(V({}, te), { className: void 0, theme: ge }), Oe = 0; Oe < I.length; Oe += 1) {
1008
- var Ee = _e(be = I[Oe]) ? be(re) : be;
1009
- for (var j in Ee) re[j] = j === "className" ? we(re[j], Ee[j]) : j === "style" ? V(V({}, re[j]), Ee[j]) : Ee[j];
1003
+ var D = new xo(r, w, n ? a.componentStyle : void 0);
1004
+ function P(b, R) {
1005
+ return (function(x, y, ge) {
1006
+ var Pe = x.attrs, Wt = x.componentStyle, U = x.defaultProps, Ze = x.foldedComponentIds, Qe = x.styledComponentId, Je = x.target, Ht = l.useContext(Lt), Gt = tn(), et = x.shouldForwardProp || Gt.shouldForwardProp, tt = Ha(y, Ht, U) || qe, J = (function(I, te, be) {
1007
+ for (var ye, re = H(H({}, te), { className: void 0, theme: be }), Ne = 0; Ne < I.length; Ne += 1) {
1008
+ var Se = Ie(ye = I[Ne]) ? ye(re) : ye;
1009
+ for (var j in Se) re[j] = j === "className" ? xe(re[j], Se[j]) : j === "style" ? H(H({}, re[j]), Se[j]) : Se[j];
1010
1010
  }
1011
- return te.className && (re.className = we(re.className, te.className)), re;
1012
- })(Re, y, et), ve = J.as || Qe, P = {};
1013
- for (var ee in J) J[ee] === void 0 || ee[0] === "$" || ee === "as" || ee === "theme" && J.theme === et || (ee === "forwardedAs" ? P.as = J.forwardedAs : Je && !Je(ee, ve) || (P[ee] = J[ee]));
1011
+ return te.className && (re.className = xe(re.className, te.className)), re;
1012
+ })(Pe, y, tt), Ee = J.as || Je, O = {};
1013
+ for (var ee in J) J[ee] === void 0 || ee[0] === "$" || ee === "as" || ee === "theme" && J.theme === tt || (ee === "forwardedAs" ? O.as = J.forwardedAs : et && !et(ee, Ee) || (O[ee] = J[ee]));
1014
1014
  var L = (function(I, te) {
1015
- var ge = tn(), be = I.generateAndInjectStyles(te, ge.styleSheet, ge.stylis);
1016
- return be;
1017
- })(Wt, J), ke = we(Xe, Ze);
1018
- return L && (ke += " " + L), J.className && (ke += " " + J.className), P[rr(ve) && !In.has(ve) ? "class" : "className"] = ke, pe && (P.ref = pe), mo(ve, P);
1015
+ var be = tn(), ye = I.generateAndInjectStyles(te, be.styleSheet, be.stylis);
1016
+ return ye;
1017
+ })(Wt, J), Oe = xe(Ze, Qe);
1018
+ return L && (Oe += " " + L), J.className && (Oe += " " + J.className), O[nr(Ee) && !Rn.has(Ee) ? "class" : "className"] = Oe, ge && (O.ref = ge), ya(Ee, O);
1019
1019
  })(_, b, R);
1020
1020
  }
1021
- O.displayName = T;
1022
- var _ = l.forwardRef(O);
1023
- return _.attrs = v, _.componentStyle = D, _.displayName = T, _.shouldForwardProp = A, _.foldedComponentIds = n ? we(o.foldedComponentIds, o.styledComponentId) : "", _.styledComponentId = w, _.target = n ? o.target : e, Object.defineProperty(_, "defaultProps", { get: function() {
1021
+ P.displayName = T;
1022
+ var _ = l.forwardRef(P);
1023
+ return _.attrs = E, _.componentStyle = D, _.displayName = T, _.shouldForwardProp = A, _.foldedComponentIds = n ? xe(a.foldedComponentIds, a.styledComponentId) : "", _.styledComponentId = w, _.target = n ? a.target : e, Object.defineProperty(_, "defaultProps", { get: function() {
1024
1024
  return this._foldedDefaultProps;
1025
1025
  }, set: function(b) {
1026
1026
  this._foldedDefaultProps = n ? (function(R) {
1027
1027
  for (var x = [], y = 1; y < arguments.length; y++) x[y - 1] = arguments[y];
1028
- for (var pe = 0, Re = x; pe < Re.length; pe++) hr(R, Re[pe], !0);
1028
+ for (var ge = 0, Pe = x; ge < Pe.length; ge++) pr(R, Pe[ge], !0);
1029
1029
  return R;
1030
- })({}, o.defaultProps, b) : b;
1031
- } }), wr(_, function() {
1030
+ })({}, a.defaultProps, b) : b;
1031
+ } }), xr(_, function() {
1032
1032
  return ".".concat(_.styledComponentId);
1033
- }), i && $n(_, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), _;
1033
+ }), i && Dn(_, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), _;
1034
1034
  }
1035
1035
  function nn(e, t) {
1036
- for (var r = [e[0]], n = 0, o = t.length; n < o; n += 1) r.push(t[n], e[n + 1]);
1036
+ for (var r = [e[0]], n = 0, a = t.length; n < a; n += 1) r.push(t[n], e[n + 1]);
1037
1037
  return r;
1038
1038
  }
1039
- var on = function(e) {
1039
+ var an = function(e) {
1040
1040
  return Object.assign(e, { isCss: !0 });
1041
1041
  };
1042
- function Sa(e) {
1042
+ function _o(e) {
1043
1043
  for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
1044
- if (_e(e) || dt(e)) return on(Ae(nn(Ut, Ot([e], t, !0))));
1044
+ if (Ie(e) || mt(e)) return an(_e(nn(Vt, Ot([e], t, !0))));
1045
1045
  var n = e;
1046
- return t.length === 0 && n.length === 1 && typeof n[0] == "string" ? Ae(n) : on(Ae(nn(n, t)));
1046
+ return t.length === 0 && n.length === 1 && typeof n[0] == "string" ? _e(n) : an(_e(nn(n, t)));
1047
1047
  }
1048
- function gr(e, t, r) {
1049
- if (r === void 0 && (r = je), !t) throw Ie(1, t);
1050
- var n = function(o) {
1048
+ function br(e, t, r) {
1049
+ if (r === void 0 && (r = qe), !t) throw Re(1, t);
1050
+ var n = function(a) {
1051
1051
  for (var i = [], s = 1; s < arguments.length; s++) i[s - 1] = arguments[s];
1052
- return e(t, r, Sa.apply(void 0, Ot([o], i, !1)));
1052
+ return e(t, r, _o.apply(void 0, Ot([a], i, !1)));
1053
1053
  };
1054
- return n.attrs = function(o) {
1055
- return gr(e, t, V(V({}, r), { attrs: Array.prototype.concat(r.attrs, o).filter(Boolean) }));
1056
- }, n.withConfig = function(o) {
1057
- return gr(e, t, V(V({}, r), o));
1054
+ return n.attrs = function(a) {
1055
+ return br(e, t, H(H({}, r), { attrs: Array.prototype.concat(r.attrs, a).filter(Boolean) }));
1056
+ }, n.withConfig = function(a) {
1057
+ return br(e, t, H(H({}, r), a));
1058
1058
  }, n;
1059
1059
  }
1060
- var Un = function(e) {
1061
- return gr(Ea, e);
1062
- }, S = Un;
1063
- In.forEach(function(e) {
1064
- S[e] = Un(e);
1060
+ var Vn = function(e) {
1061
+ return br(Ao, e);
1062
+ }, v = Vn;
1063
+ Rn.forEach(function(e) {
1064
+ v[e] = Vn(e);
1065
1065
  });
1066
- const Be = {
1066
+ const Ve = {
1067
1067
  // Main colors usually to be modified by the user
1068
1068
  primary: "#422ad5",
1069
1069
  // Primary brand color, The main color of your brand
@@ -1119,14 +1119,14 @@ const Be = {
1119
1119
  // radio/checkbox item element width
1120
1120
  spacing: ".3rem",
1121
1121
  depth: 1
1122
- }, Ta = {
1122
+ }, Io = {
1123
1123
  selectedVariant: "primary",
1124
1124
  getDefaultVariantOrSelected: () => "primary",
1125
- ...Be
1125
+ ...Ve
1126
1126
  }, Wn = l.createContext({
1127
- ...Be,
1128
- ...Ta
1129
- }), wa = S.div`
1127
+ ...Ve,
1128
+ ...Io
1129
+ }), Ro = v.div`
1130
1130
  font-family:
1131
1131
  ui-sans-serif,
1132
1132
  system-ui,
@@ -1177,29 +1177,29 @@ const Be = {
1177
1177
  --depth: ${(e) => e.$theme.depth};
1178
1178
  --spacing: ${(e) => e.$theme.spacing};
1179
1179
  --all-fields-size: ${(e) => e.$theme.allFieldsSize};
1180
- `, xr = (e) => {
1180
+ `, pe = (e) => {
1181
1181
  const t = e.selectedVariant ?? "primary";
1182
- return console.log("ThemeProvider_theme", e.theme ?? Be), l.createElement(va, {
1183
- theme: e.theme ?? Be,
1184
- children: l.createElement(wa, {
1185
- $theme: e.theme ?? Be,
1182
+ return console.log("ThemeProvider_theme", e.theme ?? Ve), l.createElement(Co, {
1183
+ theme: e.theme ?? Ve,
1184
+ children: l.createElement(Ro, {
1185
+ $theme: e.theme ?? Ve,
1186
1186
  children: l.createElement(Wn.Provider, {
1187
1187
  value: {
1188
1188
  selectedVariant: t,
1189
1189
  getDefaultVariantOrSelected: () => t,
1190
- ...e.theme ?? Be
1190
+ ...e.theme ?? Ve
1191
1191
  },
1192
1192
  children: e.children
1193
1193
  })
1194
1194
  })
1195
1195
  });
1196
- }, Hn = () => l.useContext(Wn), he = (e) => {
1196
+ }, Hn = () => l.useContext(Wn), ce = (e) => {
1197
1197
  const { getDefaultVariantOrSelected: t, ...r } = Hn(), n = t();
1198
1198
  return r[e ?? n];
1199
- }, Vn = (e) => {
1200
- const { getDefaultVariantOrSelected: t, ...r } = Hn(), n = t(), o = e ? `${e}Content` : `${n}Content`;
1201
- return r[o];
1202
- }, xa = () => {
1199
+ }, Gn = (e) => {
1200
+ const { getDefaultVariantOrSelected: t, ...r } = Hn(), n = t(), a = e ? `${e}Content` : `${n}Content`;
1201
+ return r[a];
1202
+ }, ko = () => {
1203
1203
  const e = "http://localhost:4000/external", t = async (r) => {
1204
1204
  const n = await r;
1205
1205
  if (!n.ok)
@@ -1214,17 +1214,17 @@ const Be = {
1214
1214
  return (await r).json();
1215
1215
  };
1216
1216
  return {
1217
- post: async (r, n, o) => {
1217
+ post: async (r, n, a) => {
1218
1218
  var i;
1219
1219
  try {
1220
1220
  return t(
1221
1221
  fetch(`${e}${r}`, {
1222
1222
  method: "POST",
1223
1223
  body: JSON.stringify(n),
1224
- signal: ((i = o == null ? void 0 : o.abortController) == null ? void 0 : i.signal) ?? null,
1224
+ signal: ((i = a == null ? void 0 : a.abortController) == null ? void 0 : i.signal) ?? null,
1225
1225
  headers: {
1226
1226
  "Content-Type": "application/json",
1227
- ...(o == null ? void 0 : o.headers) ?? {}
1227
+ ...(a == null ? void 0 : a.headers) ?? {}
1228
1228
  }
1229
1229
  })
1230
1230
  );
@@ -1233,12 +1233,12 @@ const Be = {
1233
1233
  }
1234
1234
  },
1235
1235
  get: async (r, n) => {
1236
- var o;
1236
+ var a;
1237
1237
  try {
1238
1238
  return t(
1239
1239
  fetch(`${e}${r}`, {
1240
1240
  method: "GET",
1241
- signal: ((o = n == null ? void 0 : n.abortController) == null ? void 0 : o.signal) ?? null,
1241
+ signal: ((a = n == null ? void 0 : n.abortController) == null ? void 0 : a.signal) ?? null,
1242
1242
  headers: {
1243
1243
  "Content-Type": "application/json",
1244
1244
  ...(n == null ? void 0 : n.headers) ?? {}
@@ -1250,7 +1250,7 @@ const Be = {
1250
1250
  }
1251
1251
  }
1252
1252
  };
1253
- }, an = {
1253
+ }, on = {
1254
1254
  meta: { name: "asd" },
1255
1255
  steps: [
1256
1256
  {
@@ -1403,7 +1403,7 @@ const Be = {
1403
1403
  ]
1404
1404
  }
1405
1405
  ]
1406
- }, Ca = (e, t) => new Promise((r) => {
1406
+ }, Po = (e, t) => new Promise((r) => {
1407
1407
  r({
1408
1408
  id: "",
1409
1409
  domainId: "",
@@ -1430,7 +1430,7 @@ const Be = {
1430
1430
  bottom: -20,
1431
1431
  right: 0
1432
1432
  },
1433
- form: an
1433
+ form: on
1434
1434
  },
1435
1435
  inlineForm: {
1436
1436
  meta: {
@@ -1443,19 +1443,19 @@ const Be = {
1443
1443
  submitButtonText: "Submit",
1444
1444
  formTitle: "We are looking forward to hear from you!"
1445
1445
  },
1446
- form: an
1446
+ form: on
1447
1447
  }
1448
1448
  });
1449
- }), Aa = (e) => {
1450
- const [t, r] = Ue(), [n, o] = Ue(!0), [i, s] = Ue(null);
1451
- return We(() => {
1449
+ }), Oo = (e) => {
1450
+ const [t, r] = We(), [n, a] = We(!0), [i, s] = We(null);
1451
+ return He(() => {
1452
1452
  const d = new AbortController();
1453
- return o(!0), e(d).then(r).catch(s).finally(() => o(!1)), () => {
1453
+ return a(!0), e(d).then(r).catch(s).finally(() => a(!1)), () => {
1454
1454
  d.abort();
1455
1455
  };
1456
1456
  }, []), { data: t, loading: n, error: i };
1457
- }, Ye = S.button((e) => {
1458
- const t = he(), r = Vn(), o = !e.$outlined ? t : "#fff", i = e.$outlined ? t : r, s = e.$outlined ? i : o, d = `calc(${e.theme.sizeField} * 10)`;
1457
+ }, Ke = v.button((e) => {
1458
+ const t = ce(), r = Gn(), a = !e.$outlined ? t : "#fff", i = e.$outlined ? t : r, s = e.$outlined ? i : a, d = `calc(${e.theme.sizeField} * 10)`;
1459
1459
  return {
1460
1460
  borderRadius: e.theme.radiusField,
1461
1461
  borderColor: e.disabled ? "#cfcfcf" : s,
@@ -1467,7 +1467,7 @@ const Be = {
1467
1467
  opacity: e.disabled ? 0.5 : 1,
1468
1468
  paddingInline: "1.2rem",
1469
1469
  transition: "all 0.2s ease-in-out",
1470
- background: e.disabled ? "#cfcfcf" : o,
1470
+ background: e.disabled ? "#cfcfcf" : a,
1471
1471
  borderWidth: e.theme.borderWidth,
1472
1472
  userSelect: e.disabled ? "none" : void 0,
1473
1473
  color: e.disabled ? "#888888" : i,
@@ -1489,7 +1489,7 @@ const Be = {
1489
1489
  paddingInline: "0.7rem"
1490
1490
  }
1491
1491
  };
1492
- }), _a = S.div`
1492
+ }), No = v.div`
1493
1493
  visibility: ${(e) => e.$isVisible && e.$height ? "visible" : "hidden"};
1494
1494
  opacity: ${(e) => e.$isVisible ? 1 : 0};
1495
1495
  display: flex;
@@ -1508,17 +1508,17 @@ const Be = {
1508
1508
  height: ${(e) => e.$isVisible ? "auto" : "0"};
1509
1509
  width: ${(e) => e.$isVisible ? "auto" : "0"};
1510
1510
  }
1511
- `, Gn = (e) => {
1512
- const t = yn(null);
1513
- return We(() => {
1511
+ `, jn = (e) => {
1512
+ const t = vn(null);
1513
+ return He(() => {
1514
1514
  t.current && e.onSetMaxHeight(t.current.clientHeight);
1515
- }, [t]), l.createElement(_a, {
1515
+ }, [t]), l.createElement(No, {
1516
1516
  ref: t,
1517
1517
  $height: e.height,
1518
1518
  $isVisible: e.isVisible,
1519
1519
  children: e.children
1520
1520
  });
1521
- }, Ia = S.ul`
1521
+ }, $o = v.ul`
1522
1522
  counter-reset: step;
1523
1523
  grid-auto-columns: 1fr;
1524
1524
  grid-auto-flow: column;
@@ -1527,12 +1527,12 @@ const Be = {
1527
1527
  @media (max-width: 900px) {
1528
1528
  display: none;
1529
1529
  }
1530
- `, Ra = S.li((e) => {
1531
- const t = he(e.colorVariant), r = Vn(e.colorVariant), n = e.shouldBeFilled ? t : "var(--color-base-300)", o = e.shouldBeFilled ? r : "var(--color-base-content)";
1530
+ `, Do = v.li((e) => {
1531
+ const t = ce(e.colorVariant), r = Gn(e.colorVariant), n = e.shouldBeFilled ? t : "var(--color-base-300)", a = e.shouldBeFilled ? r : "var(--color-base-content)";
1532
1532
  return {
1533
1533
  textAlign: "center",
1534
1534
  "--step-bg": n,
1535
- "--step-fg": o,
1535
+ "--step-fg": a,
1536
1536
  gridTemplateRows: "40px 1fr",
1537
1537
  gridTemplateColumns: "auto",
1538
1538
  gap: ".5rem",
@@ -1569,10 +1569,10 @@ const Be = {
1569
1569
  position: "relative"
1570
1570
  }
1571
1571
  };
1572
- }), jn = (e) => (console.log("props.currentStepIndex", e.currentStepIndex), l.createElement(Ia, {
1572
+ }), Yn = (e) => (console.log("props.currentStepIndex", e.currentStepIndex), l.createElement($o, {
1573
1573
  children: [
1574
1574
  e.steps.map(
1575
- (t, r) => l.createElement(Ra, {
1575
+ (t, r) => l.createElement(Do, {
1576
1576
  key: t.title,
1577
1577
  colorVariant: e.colorVariant,
1578
1578
  shouldBeFilled: e.currentStepIndex >= r,
@@ -1580,7 +1580,7 @@ const Be = {
1580
1580
  })
1581
1581
  )
1582
1582
  ]
1583
- })), ka = {
1583
+ })), Lo = {
1584
1584
  title: {
1585
1585
  marginTop: "0",
1586
1586
  marginBottom: ".888889em",
@@ -1612,15 +1612,15 @@ const Be = {
1612
1612
  marginBottom: "1.25em",
1613
1613
  fontSize: "1rem"
1614
1614
  }
1615
- }, Oa = S.div((e) => ({
1616
- ...ka[e.$variant ?? "paragraph"],
1615
+ }, Mo = v.div((e) => ({
1616
+ ...Lo[e.$variant ?? "paragraph"],
1617
1617
  color: e.theme.baseContent,
1618
1618
  ...e.$linear ? { margin: "0" } : {}
1619
- })), le = (e) => l.createElement(Oa, {
1619
+ })), oe = (e) => l.createElement(Mo, {
1620
1620
  $variant: e.variant,
1621
1621
  $linear: e.linear,
1622
1622
  children: e.children
1623
- }), Pa = (e) => {
1623
+ }), Fo = (e) => {
1624
1624
  switch (e) {
1625
1625
  case "textarea":
1626
1626
  return "";
@@ -1639,26 +1639,26 @@ const Be = {
1639
1639
  default:
1640
1640
  return null;
1641
1641
  }
1642
- }, Yn = (e) => {
1643
- const t = se(
1642
+ }, qn = (e) => {
1643
+ const t = le(
1644
1644
  () => e.form.steps.reduce(
1645
1645
  (s, d, u) => (s.validationsPerStep[u] = {}, s.steps = [
1646
1646
  ...s.steps,
1647
1647
  {
1648
1648
  ...d,
1649
- fields: d.fields.map((m) => {
1650
- const p = m.meta.fieldKey;
1649
+ fields: d.fields.map((f) => {
1650
+ const p = f.meta.fieldKey;
1651
1651
  return p ? (s.validationsPerStep[u][p] = {
1652
- fieldType: m.type,
1653
- validations: m.validations
1652
+ fieldType: f.type,
1653
+ validations: f.validations
1654
1654
  }, s.state = {
1655
1655
  ...s.state,
1656
- [p]: Pa(m.type)
1656
+ [p]: Fo(f.type)
1657
1657
  }, {
1658
1658
  dataField: p,
1659
- ...m
1659
+ ...f
1660
1660
  }) : {
1661
- ...m,
1661
+ ...f,
1662
1662
  dataField: null
1663
1663
  };
1664
1664
  })
@@ -1671,7 +1671,7 @@ const Be = {
1671
1671
  }
1672
1672
  ),
1673
1673
  [e.form]
1674
- ), [r, n] = Ue(t.state), o = xe(
1674
+ ), [r, n] = We(t.state), a = Ce(
1675
1675
  (s, d) => {
1676
1676
  s !== null && n((u) => ({
1677
1677
  ...u,
@@ -1679,7 +1679,7 @@ const Be = {
1679
1679
  }));
1680
1680
  },
1681
1681
  [n]
1682
- ), i = xe(
1682
+ ), i = Ce(
1683
1683
  (s) => s ? r[s] : null,
1684
1684
  [r]
1685
1685
  );
@@ -1687,25 +1687,25 @@ const Be = {
1687
1687
  steps: t.steps,
1688
1688
  validationsPerStep: t.validationsPerStep,
1689
1689
  state: r,
1690
- setStateByKey: o,
1690
+ setStateByKey: a,
1691
1691
  getStateByKey: i
1692
1692
  };
1693
- }, Na = xa(), $a = (e, t) => Na.post("/feedback-receiver", e, t);
1693
+ }, zo = ko(), Bo = (e, t) => zo.post("/feedback-receiver", e, t);
1694
1694
  /*! @license DOMPurify 3.2.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.7/LICENSE */
1695
1695
  const {
1696
- entries: qn,
1696
+ entries: Kn,
1697
1697
  setPrototypeOf: sn,
1698
- isFrozen: Da,
1699
- getPrototypeOf: La,
1700
- getOwnPropertyDescriptor: Ma
1698
+ isFrozen: Uo,
1699
+ getPrototypeOf: Vo,
1700
+ getOwnPropertyDescriptor: Wo
1701
1701
  } = Object;
1702
1702
  let {
1703
1703
  freeze: q,
1704
1704
  seal: Q,
1705
- create: Kn
1705
+ create: Xn
1706
1706
  } = Object, {
1707
- apply: br,
1708
- construct: yr
1707
+ apply: yr,
1708
+ construct: vr
1709
1709
  } = typeof Reflect < "u" && Reflect;
1710
1710
  q || (q = function(t) {
1711
1711
  return t;
@@ -1713,108 +1713,108 @@ q || (q = function(t) {
1713
1713
  Q || (Q = function(t) {
1714
1714
  return t;
1715
1715
  });
1716
- br || (br = function(t, r) {
1717
- for (var n = arguments.length, o = new Array(n > 2 ? n - 2 : 0), i = 2; i < n; i++)
1718
- o[i - 2] = arguments[i];
1719
- return t.apply(r, o);
1716
+ yr || (yr = function(t, r) {
1717
+ for (var n = arguments.length, a = new Array(n > 2 ? n - 2 : 0), i = 2; i < n; i++)
1718
+ a[i - 2] = arguments[i];
1719
+ return t.apply(r, a);
1720
1720
  });
1721
- yr || (yr = function(t) {
1722
- for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
1723
- n[o - 1] = arguments[o];
1721
+ vr || (vr = function(t) {
1722
+ for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
1723
+ n[a - 1] = arguments[a];
1724
1724
  return new t(...n);
1725
1725
  });
1726
- const Tt = K(Array.prototype.forEach), Fa = K(Array.prototype.lastIndexOf), ln = K(Array.prototype.pop), nt = K(Array.prototype.push), za = K(Array.prototype.splice), kt = K(String.prototype.toLowerCase), or = K(String.prototype.toString), ar = K(String.prototype.match), ot = K(String.prototype.replace), Ba = K(String.prototype.indexOf), Ua = K(String.prototype.trim), ne = K(Object.prototype.hasOwnProperty), Y = K(RegExp.prototype.test), at = Wa(TypeError);
1726
+ const wt = K(Array.prototype.forEach), Ho = K(Array.prototype.lastIndexOf), ln = K(Array.prototype.pop), at = K(Array.prototype.push), Go = K(Array.prototype.splice), Pt = K(String.prototype.toLowerCase), or = K(String.prototype.toString), ir = K(String.prototype.match), ot = K(String.prototype.replace), jo = K(String.prototype.indexOf), Yo = K(String.prototype.trim), ne = K(Object.prototype.hasOwnProperty), Y = K(RegExp.prototype.test), it = qo(TypeError);
1727
1727
  function K(e) {
1728
1728
  return function(t) {
1729
1729
  t instanceof RegExp && (t.lastIndex = 0);
1730
- for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
1731
- n[o - 1] = arguments[o];
1732
- return br(e, t, n);
1730
+ for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
1731
+ n[a - 1] = arguments[a];
1732
+ return yr(e, t, n);
1733
1733
  };
1734
1734
  }
1735
- function Wa(e) {
1735
+ function qo(e) {
1736
1736
  return function() {
1737
1737
  for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
1738
1738
  r[n] = arguments[n];
1739
- return yr(e, r);
1739
+ return vr(e, r);
1740
1740
  };
1741
1741
  }
1742
- function E(e, t) {
1743
- let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : kt;
1742
+ function S(e, t) {
1743
+ let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Pt;
1744
1744
  sn && sn(e, null);
1745
1745
  let n = t.length;
1746
1746
  for (; n--; ) {
1747
- let o = t[n];
1748
- if (typeof o == "string") {
1749
- const i = r(o);
1750
- i !== o && (Da(t) || (t[n] = i), o = i);
1747
+ let a = t[n];
1748
+ if (typeof a == "string") {
1749
+ const i = r(a);
1750
+ i !== a && (Uo(t) || (t[n] = i), a = i);
1751
1751
  }
1752
- e[o] = !0;
1752
+ e[a] = !0;
1753
1753
  }
1754
1754
  return e;
1755
1755
  }
1756
- function Ha(e) {
1756
+ function Ko(e) {
1757
1757
  for (let t = 0; t < e.length; t++)
1758
1758
  ne(e, t) || (e[t] = null);
1759
1759
  return e;
1760
1760
  }
1761
1761
  function fe(e) {
1762
- const t = Kn(null);
1763
- for (const [r, n] of qn(e))
1764
- ne(e, r) && (Array.isArray(n) ? t[r] = Ha(n) : n && typeof n == "object" && n.constructor === Object ? t[r] = fe(n) : t[r] = n);
1762
+ const t = Xn(null);
1763
+ for (const [r, n] of Kn(e))
1764
+ ne(e, r) && (Array.isArray(n) ? t[r] = Ko(n) : n && typeof n == "object" && n.constructor === Object ? t[r] = fe(n) : t[r] = n);
1765
1765
  return t;
1766
1766
  }
1767
- function it(e, t) {
1767
+ function st(e, t) {
1768
1768
  for (; e !== null; ) {
1769
- const n = Ma(e, t);
1769
+ const n = Wo(e, t);
1770
1770
  if (n) {
1771
1771
  if (n.get)
1772
1772
  return K(n.get);
1773
1773
  if (typeof n.value == "function")
1774
1774
  return K(n.value);
1775
1775
  }
1776
- e = La(e);
1776
+ e = Vo(e);
1777
1777
  }
1778
1778
  function r() {
1779
1779
  return null;
1780
1780
  }
1781
1781
  return r;
1782
1782
  }
1783
- const cn = q(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), ir = q(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "slot", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), sr = q(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Va = q(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), lr = q(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Ga = q(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), un = q(["#text"]), dn = q(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), cr = q(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), fn = q(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), wt = q(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ja = Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ya = Q(/<%[\w\W]*|[\w\W]*%>/gm), qa = Q(/\$\{[\w\W]*/gm), Ka = Q(/^data-[\-\w.\u00B7-\uFFFF]+$/), Xa = Q(/^aria-[\-\w]+$/), Xn = Q(
1783
+ const cn = q(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), sr = q(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "slot", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), lr = q(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Xo = q(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), cr = q(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Zo = q(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), un = q(["#text"]), dn = q(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ur = q(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), mn = q(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), xt = q(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Qo = Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Jo = Q(/<%[\w\W]*|[\w\W]*%>/gm), ei = Q(/\$\{[\w\W]*/gm), ti = Q(/^data-[\-\w.\u00B7-\uFFFF]+$/), ri = Q(/^aria-[\-\w]+$/), Zn = Q(
1784
1784
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
1785
1785
  // eslint-disable-line no-useless-escape
1786
- ), Za = Q(/^(?:\w+script|data):/i), Qa = Q(
1786
+ ), ni = Q(/^(?:\w+script|data):/i), ai = Q(
1787
1787
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
1788
1788
  // eslint-disable-line no-control-regex
1789
- ), Zn = Q(/^html$/i), Ja = Q(/^[a-z][.\w]*(-[.\w]+)+$/i);
1790
- var mn = /* @__PURE__ */ Object.freeze({
1789
+ ), Qn = Q(/^html$/i), oi = Q(/^[a-z][.\w]*(-[.\w]+)+$/i);
1790
+ var fn = /* @__PURE__ */ Object.freeze({
1791
1791
  __proto__: null,
1792
- ARIA_ATTR: Xa,
1793
- ATTR_WHITESPACE: Qa,
1794
- CUSTOM_ELEMENT: Ja,
1795
- DATA_ATTR: Ka,
1796
- DOCTYPE_NAME: Zn,
1797
- ERB_EXPR: Ya,
1798
- IS_ALLOWED_URI: Xn,
1799
- IS_SCRIPT_OR_DATA: Za,
1800
- MUSTACHE_EXPR: ja,
1801
- TMPLIT_EXPR: qa
1792
+ ARIA_ATTR: ri,
1793
+ ATTR_WHITESPACE: ai,
1794
+ CUSTOM_ELEMENT: oi,
1795
+ DATA_ATTR: ti,
1796
+ DOCTYPE_NAME: Qn,
1797
+ ERB_EXPR: Jo,
1798
+ IS_ALLOWED_URI: Zn,
1799
+ IS_SCRIPT_OR_DATA: ni,
1800
+ MUSTACHE_EXPR: Qo,
1801
+ TMPLIT_EXPR: ei
1802
1802
  });
1803
- const st = {
1803
+ const lt = {
1804
1804
  element: 1,
1805
1805
  text: 3,
1806
1806
  // Deprecated
1807
1807
  progressingInstruction: 7,
1808
1808
  comment: 8,
1809
1809
  document: 9
1810
- }, ei = function() {
1810
+ }, ii = function() {
1811
1811
  return typeof window > "u" ? null : window;
1812
- }, ti = function(t, r) {
1812
+ }, si = function(t, r) {
1813
1813
  if (typeof t != "object" || typeof t.createPolicy != "function")
1814
1814
  return null;
1815
1815
  let n = null;
1816
- const o = "data-tt-policy-suffix";
1817
- r && r.hasAttribute(o) && (n = r.getAttribute(o));
1816
+ const a = "data-tt-policy-suffix";
1817
+ r && r.hasAttribute(a) && (n = r.getAttribute(a));
1818
1818
  const i = "dompurify" + (n ? "#" + n : "");
1819
1819
  try {
1820
1820
  return t.createPolicy(i, {
@@ -1841,25 +1841,25 @@ const st = {
1841
1841
  uponSanitizeShadowNode: []
1842
1842
  };
1843
1843
  };
1844
- function Qn() {
1845
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ei();
1846
- const t = (h) => Qn(h);
1847
- if (t.version = "3.2.7", t.removed = [], !e || !e.document || e.document.nodeType !== st.document || !e.Element)
1844
+ function Jn() {
1845
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ii();
1846
+ const t = (h) => Jn(h);
1847
+ if (t.version = "3.2.7", t.removed = [], !e || !e.document || e.document.nodeType !== lt.document || !e.Element)
1848
1848
  return t.isSupported = !1, t;
1849
1849
  let {
1850
1850
  document: r
1851
1851
  } = e;
1852
- const n = r, o = n.currentScript, {
1852
+ const n = r, a = n.currentScript, {
1853
1853
  DocumentFragment: i,
1854
1854
  HTMLTemplateElement: s,
1855
1855
  Node: d,
1856
1856
  Element: u,
1857
- NodeFilter: m,
1857
+ NodeFilter: f,
1858
1858
  NamedNodeMap: p = e.NamedNodeMap || e.MozNamedAttrMap,
1859
1859
  HTMLFormElement: T,
1860
1860
  DOMParser: w,
1861
- trustedTypes: v
1862
- } = e, A = u.prototype, $ = it(A, "cloneNode"), G = it(A, "remove"), D = it(A, "nextSibling"), O = it(A, "childNodes"), _ = it(A, "parentNode");
1861
+ trustedTypes: E
1862
+ } = e, A = u.prototype, $ = st(A, "cloneNode"), G = st(A, "remove"), D = st(A, "nextSibling"), P = st(A, "childNodes"), _ = st(A, "parentNode");
1863
1863
  if (typeof s == "function") {
1864
1864
  const h = r.createElement("template");
1865
1865
  h.content && h.content.ownerDocument && (r = h.content.ownerDocument);
@@ -1868,30 +1868,30 @@ function Qn() {
1868
1868
  const {
1869
1869
  implementation: x,
1870
1870
  createNodeIterator: y,
1871
- createDocumentFragment: pe,
1872
- getElementsByTagName: Re
1871
+ createDocumentFragment: ge,
1872
+ getElementsByTagName: Pe
1873
1873
  } = r, {
1874
1874
  importNode: Wt
1875
1875
  } = n;
1876
1876
  let U = hn();
1877
- t.isSupported = typeof qn == "function" && typeof _ == "function" && x && x.createHTMLDocument !== void 0;
1877
+ t.isSupported = typeof Kn == "function" && typeof _ == "function" && x && x.createHTMLDocument !== void 0;
1878
1878
  const {
1879
- MUSTACHE_EXPR: Xe,
1880
- ERB_EXPR: Ze,
1881
- TMPLIT_EXPR: Qe,
1879
+ MUSTACHE_EXPR: Ze,
1880
+ ERB_EXPR: Qe,
1881
+ TMPLIT_EXPR: Je,
1882
1882
  DATA_ATTR: Ht,
1883
- ARIA_ATTR: Vt,
1884
- IS_SCRIPT_OR_DATA: Je,
1885
- ATTR_WHITESPACE: et,
1883
+ ARIA_ATTR: Gt,
1884
+ IS_SCRIPT_OR_DATA: et,
1885
+ ATTR_WHITESPACE: tt,
1886
1886
  CUSTOM_ELEMENT: J
1887
- } = mn;
1887
+ } = fn;
1888
1888
  let {
1889
- IS_ALLOWED_URI: ve
1890
- } = mn, P = null;
1891
- const ee = E({}, [...cn, ...ir, ...sr, ...lr, ...un]);
1889
+ IS_ALLOWED_URI: Ee
1890
+ } = fn, O = null;
1891
+ const ee = S({}, [...cn, ...sr, ...lr, ...cr, ...un]);
1892
1892
  let L = null;
1893
- const ke = E({}, [...dn, ...cr, ...fn, ...wt]);
1894
- let I = Object.seal(Kn(null, {
1893
+ const Oe = S({}, [...dn, ...ur, ...mn, ...xt]);
1894
+ let I = Object.seal(Xn(null, {
1895
1895
  tagNameCheck: {
1896
1896
  writable: !0,
1897
1897
  configurable: !1,
@@ -1910,168 +1910,168 @@ function Qn() {
1910
1910
  enumerable: !0,
1911
1911
  value: !1
1912
1912
  }
1913
- })), te = null, ge = null, be = !0, re = !0, Oe = !1, Ee = !0, j = !1, ft = !0, Se = !1, Gt = !1, jt = !1, Pe = !1, mt = !1, ht = !1, Cr = !0, Ar = !1;
1914
- const oo = "user-content-";
1915
- let Yt = !0, tt = !1, Ne = {}, $e = null;
1916
- const _r = E({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
1913
+ })), te = null, be = null, ye = !0, re = !0, Ne = !1, Se = !0, j = !1, ft = !0, Te = !1, jt = !1, Yt = !1, $e = !1, ht = !1, pt = !1, Cr = !0, Ar = !1;
1914
+ const ua = "user-content-";
1915
+ let qt = !0, rt = !1, De = {}, Le = null;
1916
+ const _r = S({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
1917
1917
  let Ir = null;
1918
- const Rr = E({}, ["audio", "video", "img", "source", "image", "track"]);
1919
- let qt = null;
1920
- const kr = E({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), pt = "http://www.w3.org/1998/Math/MathML", gt = "http://www.w3.org/2000/svg", ce = "http://www.w3.org/1999/xhtml";
1921
- let De = ce, Kt = !1, Xt = null;
1922
- const ao = E({}, [pt, gt, ce], or);
1923
- let bt = E({}, ["mi", "mo", "mn", "ms", "mtext"]), yt = E({}, ["annotation-xml"]);
1924
- const io = E({}, ["title", "style", "font", "a", "script"]);
1925
- let rt = null;
1926
- const so = ["application/xhtml+xml", "text/html"], lo = "text/html";
1927
- let z = null, Le = null;
1928
- const co = r.createElement("form"), Or = function(a) {
1929
- return a instanceof RegExp || a instanceof Function;
1930
- }, Zt = function() {
1931
- let a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1932
- if (!(Le && Le === a)) {
1933
- if ((!a || typeof a != "object") && (a = {}), a = fe(a), rt = // eslint-disable-next-line unicorn/prefer-includes
1934
- so.indexOf(a.PARSER_MEDIA_TYPE) === -1 ? lo : a.PARSER_MEDIA_TYPE, z = rt === "application/xhtml+xml" ? or : kt, P = ne(a, "ALLOWED_TAGS") ? E({}, a.ALLOWED_TAGS, z) : ee, L = ne(a, "ALLOWED_ATTR") ? E({}, a.ALLOWED_ATTR, z) : ke, Xt = ne(a, "ALLOWED_NAMESPACES") ? E({}, a.ALLOWED_NAMESPACES, or) : ao, qt = ne(a, "ADD_URI_SAFE_ATTR") ? E(fe(kr), a.ADD_URI_SAFE_ATTR, z) : kr, Ir = ne(a, "ADD_DATA_URI_TAGS") ? E(fe(Rr), a.ADD_DATA_URI_TAGS, z) : Rr, $e = ne(a, "FORBID_CONTENTS") ? E({}, a.FORBID_CONTENTS, z) : _r, te = ne(a, "FORBID_TAGS") ? E({}, a.FORBID_TAGS, z) : fe({}), ge = ne(a, "FORBID_ATTR") ? E({}, a.FORBID_ATTR, z) : fe({}), Ne = ne(a, "USE_PROFILES") ? a.USE_PROFILES : !1, be = a.ALLOW_ARIA_ATTR !== !1, re = a.ALLOW_DATA_ATTR !== !1, Oe = a.ALLOW_UNKNOWN_PROTOCOLS || !1, Ee = a.ALLOW_SELF_CLOSE_IN_ATTR !== !1, j = a.SAFE_FOR_TEMPLATES || !1, ft = a.SAFE_FOR_XML !== !1, Se = a.WHOLE_DOCUMENT || !1, Pe = a.RETURN_DOM || !1, mt = a.RETURN_DOM_FRAGMENT || !1, ht = a.RETURN_TRUSTED_TYPE || !1, jt = a.FORCE_BODY || !1, Cr = a.SANITIZE_DOM !== !1, Ar = a.SANITIZE_NAMED_PROPS || !1, Yt = a.KEEP_CONTENT !== !1, tt = a.IN_PLACE || !1, ve = a.ALLOWED_URI_REGEXP || Xn, De = a.NAMESPACE || ce, bt = a.MATHML_TEXT_INTEGRATION_POINTS || bt, yt = a.HTML_INTEGRATION_POINTS || yt, I = a.CUSTOM_ELEMENT_HANDLING || {}, a.CUSTOM_ELEMENT_HANDLING && Or(a.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (I.tagNameCheck = a.CUSTOM_ELEMENT_HANDLING.tagNameCheck), a.CUSTOM_ELEMENT_HANDLING && Or(a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (I.attributeNameCheck = a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), a.CUSTOM_ELEMENT_HANDLING && typeof a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (I.allowCustomizedBuiltInElements = a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), j && (re = !1), mt && (Pe = !0), Ne && (P = E({}, un), L = [], Ne.html === !0 && (E(P, cn), E(L, dn)), Ne.svg === !0 && (E(P, ir), E(L, cr), E(L, wt)), Ne.svgFilters === !0 && (E(P, sr), E(L, cr), E(L, wt)), Ne.mathMl === !0 && (E(P, lr), E(L, fn), E(L, wt))), a.ADD_TAGS && (P === ee && (P = fe(P)), E(P, a.ADD_TAGS, z)), a.ADD_ATTR && (L === ke && (L = fe(L)), E(L, a.ADD_ATTR, z)), a.ADD_URI_SAFE_ATTR && E(qt, a.ADD_URI_SAFE_ATTR, z), a.FORBID_CONTENTS && ($e === _r && ($e = fe($e)), E($e, a.FORBID_CONTENTS, z)), Yt && (P["#text"] = !0), Se && E(P, ["html", "head", "body"]), P.table && (E(P, ["tbody"]), delete te.tbody), a.TRUSTED_TYPES_POLICY) {
1935
- if (typeof a.TRUSTED_TYPES_POLICY.createHTML != "function")
1936
- throw at('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
1937
- if (typeof a.TRUSTED_TYPES_POLICY.createScriptURL != "function")
1938
- throw at('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
1939
- b = a.TRUSTED_TYPES_POLICY, R = b.createHTML("");
1918
+ const Rr = S({}, ["audio", "video", "img", "source", "image", "track"]);
1919
+ let Kt = null;
1920
+ const kr = S({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), gt = "http://www.w3.org/1998/Math/MathML", bt = "http://www.w3.org/2000/svg", ue = "http://www.w3.org/1999/xhtml";
1921
+ let Me = ue, Xt = !1, Zt = null;
1922
+ const da = S({}, [gt, bt, ue], or);
1923
+ let yt = S({}, ["mi", "mo", "mn", "ms", "mtext"]), vt = S({}, ["annotation-xml"]);
1924
+ const ma = S({}, ["title", "style", "font", "a", "script"]);
1925
+ let nt = null;
1926
+ const fa = ["application/xhtml+xml", "text/html"], ha = "text/html";
1927
+ let z = null, Fe = null;
1928
+ const pa = r.createElement("form"), Pr = function(o) {
1929
+ return o instanceof RegExp || o instanceof Function;
1930
+ }, Qt = function() {
1931
+ let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1932
+ if (!(Fe && Fe === o)) {
1933
+ if ((!o || typeof o != "object") && (o = {}), o = fe(o), nt = // eslint-disable-next-line unicorn/prefer-includes
1934
+ fa.indexOf(o.PARSER_MEDIA_TYPE) === -1 ? ha : o.PARSER_MEDIA_TYPE, z = nt === "application/xhtml+xml" ? or : Pt, O = ne(o, "ALLOWED_TAGS") ? S({}, o.ALLOWED_TAGS, z) : ee, L = ne(o, "ALLOWED_ATTR") ? S({}, o.ALLOWED_ATTR, z) : Oe, Zt = ne(o, "ALLOWED_NAMESPACES") ? S({}, o.ALLOWED_NAMESPACES, or) : da, Kt = ne(o, "ADD_URI_SAFE_ATTR") ? S(fe(kr), o.ADD_URI_SAFE_ATTR, z) : kr, Ir = ne(o, "ADD_DATA_URI_TAGS") ? S(fe(Rr), o.ADD_DATA_URI_TAGS, z) : Rr, Le = ne(o, "FORBID_CONTENTS") ? S({}, o.FORBID_CONTENTS, z) : _r, te = ne(o, "FORBID_TAGS") ? S({}, o.FORBID_TAGS, z) : fe({}), be = ne(o, "FORBID_ATTR") ? S({}, o.FORBID_ATTR, z) : fe({}), De = ne(o, "USE_PROFILES") ? o.USE_PROFILES : !1, ye = o.ALLOW_ARIA_ATTR !== !1, re = o.ALLOW_DATA_ATTR !== !1, Ne = o.ALLOW_UNKNOWN_PROTOCOLS || !1, Se = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, j = o.SAFE_FOR_TEMPLATES || !1, ft = o.SAFE_FOR_XML !== !1, Te = o.WHOLE_DOCUMENT || !1, $e = o.RETURN_DOM || !1, ht = o.RETURN_DOM_FRAGMENT || !1, pt = o.RETURN_TRUSTED_TYPE || !1, Yt = o.FORCE_BODY || !1, Cr = o.SANITIZE_DOM !== !1, Ar = o.SANITIZE_NAMED_PROPS || !1, qt = o.KEEP_CONTENT !== !1, rt = o.IN_PLACE || !1, Ee = o.ALLOWED_URI_REGEXP || Zn, Me = o.NAMESPACE || ue, yt = o.MATHML_TEXT_INTEGRATION_POINTS || yt, vt = o.HTML_INTEGRATION_POINTS || vt, I = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && Pr(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (I.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && Pr(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (I.attributeNameCheck = o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), o.CUSTOM_ELEMENT_HANDLING && typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (I.allowCustomizedBuiltInElements = o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), j && (re = !1), ht && ($e = !0), De && (O = S({}, un), L = [], De.html === !0 && (S(O, cn), S(L, dn)), De.svg === !0 && (S(O, sr), S(L, ur), S(L, xt)), De.svgFilters === !0 && (S(O, lr), S(L, ur), S(L, xt)), De.mathMl === !0 && (S(O, cr), S(L, mn), S(L, xt))), o.ADD_TAGS && (O === ee && (O = fe(O)), S(O, o.ADD_TAGS, z)), o.ADD_ATTR && (L === Oe && (L = fe(L)), S(L, o.ADD_ATTR, z)), o.ADD_URI_SAFE_ATTR && S(Kt, o.ADD_URI_SAFE_ATTR, z), o.FORBID_CONTENTS && (Le === _r && (Le = fe(Le)), S(Le, o.FORBID_CONTENTS, z)), qt && (O["#text"] = !0), Te && S(O, ["html", "head", "body"]), O.table && (S(O, ["tbody"]), delete te.tbody), o.TRUSTED_TYPES_POLICY) {
1935
+ if (typeof o.TRUSTED_TYPES_POLICY.createHTML != "function")
1936
+ throw it('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
1937
+ if (typeof o.TRUSTED_TYPES_POLICY.createScriptURL != "function")
1938
+ throw it('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
1939
+ b = o.TRUSTED_TYPES_POLICY, R = b.createHTML("");
1940
1940
  } else
1941
- b === void 0 && (b = ti(v, o)), b !== null && typeof R == "string" && (R = b.createHTML(""));
1942
- q && q(a), Le = a;
1941
+ b === void 0 && (b = si(E, a)), b !== null && typeof R == "string" && (R = b.createHTML(""));
1942
+ q && q(o), Fe = o;
1943
1943
  }
1944
- }, Pr = E({}, [...ir, ...sr, ...Va]), Nr = E({}, [...lr, ...Ga]), uo = function(a) {
1945
- let c = _(a);
1944
+ }, Or = S({}, [...sr, ...lr, ...Xo]), Nr = S({}, [...cr, ...Zo]), ga = function(o) {
1945
+ let c = _(o);
1946
1946
  (!c || !c.tagName) && (c = {
1947
- namespaceURI: De,
1947
+ namespaceURI: Me,
1948
1948
  tagName: "template"
1949
1949
  });
1950
- const f = kt(a.tagName), N = kt(c.tagName);
1951
- return Xt[a.namespaceURI] ? a.namespaceURI === gt ? c.namespaceURI === ce ? f === "svg" : c.namespaceURI === pt ? f === "svg" && (N === "annotation-xml" || bt[N]) : !!Pr[f] : a.namespaceURI === pt ? c.namespaceURI === ce ? f === "math" : c.namespaceURI === gt ? f === "math" && yt[N] : !!Nr[f] : a.namespaceURI === ce ? c.namespaceURI === gt && !yt[N] || c.namespaceURI === pt && !bt[N] ? !1 : !Nr[f] && (io[f] || !Pr[f]) : !!(rt === "application/xhtml+xml" && Xt[a.namespaceURI]) : !1;
1952
- }, ae = function(a) {
1953
- nt(t.removed, {
1954
- element: a
1950
+ const m = Pt(o.tagName), N = Pt(c.tagName);
1951
+ return Zt[o.namespaceURI] ? o.namespaceURI === bt ? c.namespaceURI === ue ? m === "svg" : c.namespaceURI === gt ? m === "svg" && (N === "annotation-xml" || yt[N]) : !!Or[m] : o.namespaceURI === gt ? c.namespaceURI === ue ? m === "math" : c.namespaceURI === bt ? m === "math" && vt[N] : !!Nr[m] : o.namespaceURI === ue ? c.namespaceURI === bt && !vt[N] || c.namespaceURI === gt && !yt[N] ? !1 : !Nr[m] && (ma[m] || !Or[m]) : !!(nt === "application/xhtml+xml" && Zt[o.namespaceURI]) : !1;
1952
+ }, ie = function(o) {
1953
+ at(t.removed, {
1954
+ element: o
1955
1955
  });
1956
1956
  try {
1957
- _(a).removeChild(a);
1957
+ _(o).removeChild(o);
1958
1958
  } catch {
1959
- G(a);
1959
+ G(o);
1960
1960
  }
1961
- }, Te = function(a, c) {
1961
+ }, we = function(o, c) {
1962
1962
  try {
1963
- nt(t.removed, {
1964
- attribute: c.getAttributeNode(a),
1963
+ at(t.removed, {
1964
+ attribute: c.getAttributeNode(o),
1965
1965
  from: c
1966
1966
  });
1967
1967
  } catch {
1968
- nt(t.removed, {
1968
+ at(t.removed, {
1969
1969
  attribute: null,
1970
1970
  from: c
1971
1971
  });
1972
1972
  }
1973
- if (c.removeAttribute(a), a === "is")
1974
- if (Pe || mt)
1973
+ if (c.removeAttribute(o), o === "is")
1974
+ if ($e || ht)
1975
1975
  try {
1976
- ae(c);
1976
+ ie(c);
1977
1977
  } catch {
1978
1978
  }
1979
1979
  else
1980
1980
  try {
1981
- c.setAttribute(a, "");
1981
+ c.setAttribute(o, "");
1982
1982
  } catch {
1983
1983
  }
1984
- }, $r = function(a) {
1985
- let c = null, f = null;
1986
- if (jt)
1987
- a = "<remove></remove>" + a;
1984
+ }, $r = function(o) {
1985
+ let c = null, m = null;
1986
+ if (Yt)
1987
+ o = "<remove></remove>" + o;
1988
1988
  else {
1989
- const M = ar(a, /^[\r\n\t ]+/);
1990
- f = M && M[0];
1989
+ const M = ir(o, /^[\r\n\t ]+/);
1990
+ m = M && M[0];
1991
1991
  }
1992
- rt === "application/xhtml+xml" && De === ce && (a = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + a + "</body></html>");
1993
- const N = b ? b.createHTML(a) : a;
1994
- if (De === ce)
1992
+ nt === "application/xhtml+xml" && Me === ue && (o = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + o + "</body></html>");
1993
+ const N = b ? b.createHTML(o) : o;
1994
+ if (Me === ue)
1995
1995
  try {
1996
- c = new w().parseFromString(N, rt);
1996
+ c = new w().parseFromString(N, nt);
1997
1997
  } catch {
1998
1998
  }
1999
1999
  if (!c || !c.documentElement) {
2000
- c = x.createDocument(De, "template", null);
2000
+ c = x.createDocument(Me, "template", null);
2001
2001
  try {
2002
- c.documentElement.innerHTML = Kt ? R : N;
2002
+ c.documentElement.innerHTML = Xt ? R : N;
2003
2003
  } catch {
2004
2004
  }
2005
2005
  }
2006
- const H = c.body || c.documentElement;
2007
- return a && f && H.insertBefore(r.createTextNode(f), H.childNodes[0] || null), De === ce ? Re.call(c, Se ? "html" : "body")[0] : Se ? c.documentElement : H;
2008
- }, Dr = function(a) {
2006
+ const W = c.body || c.documentElement;
2007
+ return o && m && W.insertBefore(r.createTextNode(m), W.childNodes[0] || null), Me === ue ? Pe.call(c, Te ? "html" : "body")[0] : Te ? c.documentElement : W;
2008
+ }, Dr = function(o) {
2009
2009
  return y.call(
2010
- a.ownerDocument || a,
2011
- a,
2010
+ o.ownerDocument || o,
2011
+ o,
2012
2012
  // eslint-disable-next-line no-bitwise
2013
- m.SHOW_ELEMENT | m.SHOW_COMMENT | m.SHOW_TEXT | m.SHOW_PROCESSING_INSTRUCTION | m.SHOW_CDATA_SECTION,
2013
+ f.SHOW_ELEMENT | f.SHOW_COMMENT | f.SHOW_TEXT | f.SHOW_PROCESSING_INSTRUCTION | f.SHOW_CDATA_SECTION,
2014
2014
  null
2015
2015
  );
2016
- }, Qt = function(a) {
2017
- return a instanceof T && (typeof a.nodeName != "string" || typeof a.textContent != "string" || typeof a.removeChild != "function" || !(a.attributes instanceof p) || typeof a.removeAttribute != "function" || typeof a.setAttribute != "function" || typeof a.namespaceURI != "string" || typeof a.insertBefore != "function" || typeof a.hasChildNodes != "function");
2018
- }, Lr = function(a) {
2019
- return typeof d == "function" && a instanceof d;
2016
+ }, Jt = function(o) {
2017
+ return o instanceof T && (typeof o.nodeName != "string" || typeof o.textContent != "string" || typeof o.removeChild != "function" || !(o.attributes instanceof p) || typeof o.removeAttribute != "function" || typeof o.setAttribute != "function" || typeof o.namespaceURI != "string" || typeof o.insertBefore != "function" || typeof o.hasChildNodes != "function");
2018
+ }, Lr = function(o) {
2019
+ return typeof d == "function" && o instanceof d;
2020
2020
  };
2021
- function ue(h, a, c) {
2022
- Tt(h, (f) => {
2023
- f.call(t, a, c, Le);
2021
+ function de(h, o, c) {
2022
+ wt(h, (m) => {
2023
+ m.call(t, o, c, Fe);
2024
2024
  });
2025
2025
  }
2026
- const Mr = function(a) {
2026
+ const Mr = function(o) {
2027
2027
  let c = null;
2028
- if (ue(U.beforeSanitizeElements, a, null), Qt(a))
2029
- return ae(a), !0;
2030
- const f = z(a.nodeName);
2031
- if (ue(U.uponSanitizeElement, a, {
2032
- tagName: f,
2033
- allowedTags: P
2034
- }), ft && a.hasChildNodes() && !Lr(a.firstElementChild) && Y(/<[/\w!]/g, a.innerHTML) && Y(/<[/\w!]/g, a.textContent) || a.nodeType === st.progressingInstruction || ft && a.nodeType === st.comment && Y(/<[/\w]/g, a.data))
2035
- return ae(a), !0;
2036
- if (!P[f] || te[f]) {
2037
- if (!te[f] && zr(f) && (I.tagNameCheck instanceof RegExp && Y(I.tagNameCheck, f) || I.tagNameCheck instanceof Function && I.tagNameCheck(f)))
2028
+ if (de(U.beforeSanitizeElements, o, null), Jt(o))
2029
+ return ie(o), !0;
2030
+ const m = z(o.nodeName);
2031
+ if (de(U.uponSanitizeElement, o, {
2032
+ tagName: m,
2033
+ allowedTags: O
2034
+ }), ft && o.hasChildNodes() && !Lr(o.firstElementChild) && Y(/<[/\w!]/g, o.innerHTML) && Y(/<[/\w!]/g, o.textContent) || o.nodeType === lt.progressingInstruction || ft && o.nodeType === lt.comment && Y(/<[/\w]/g, o.data))
2035
+ return ie(o), !0;
2036
+ if (!O[m] || te[m]) {
2037
+ if (!te[m] && zr(m) && (I.tagNameCheck instanceof RegExp && Y(I.tagNameCheck, m) || I.tagNameCheck instanceof Function && I.tagNameCheck(m)))
2038
2038
  return !1;
2039
- if (Yt && !$e[f]) {
2040
- const N = _(a) || a.parentNode, H = O(a) || a.childNodes;
2041
- if (H && N) {
2042
- const M = H.length;
2039
+ if (qt && !Le[m]) {
2040
+ const N = _(o) || o.parentNode, W = P(o) || o.childNodes;
2041
+ if (W && N) {
2042
+ const M = W.length;
2043
2043
  for (let X = M - 1; X >= 0; --X) {
2044
- const de = $(H[X], !0);
2045
- de.__removalCount = (a.__removalCount || 0) + 1, N.insertBefore(de, D(a));
2044
+ const me = $(W[X], !0);
2045
+ me.__removalCount = (o.__removalCount || 0) + 1, N.insertBefore(me, D(o));
2046
2046
  }
2047
2047
  }
2048
2048
  }
2049
- return ae(a), !0;
2049
+ return ie(o), !0;
2050
2050
  }
2051
- return a instanceof u && !uo(a) || (f === "noscript" || f === "noembed" || f === "noframes") && Y(/<\/no(script|embed|frames)/i, a.innerHTML) ? (ae(a), !0) : (j && a.nodeType === st.text && (c = a.textContent, Tt([Xe, Ze, Qe], (N) => {
2051
+ return o instanceof u && !ga(o) || (m === "noscript" || m === "noembed" || m === "noframes") && Y(/<\/no(script|embed|frames)/i, o.innerHTML) ? (ie(o), !0) : (j && o.nodeType === lt.text && (c = o.textContent, wt([Ze, Qe, Je], (N) => {
2052
2052
  c = ot(c, N, " ");
2053
- }), a.textContent !== c && (nt(t.removed, {
2054
- element: a.cloneNode()
2055
- }), a.textContent = c)), ue(U.afterSanitizeElements, a, null), !1);
2056
- }, Fr = function(a, c, f) {
2057
- if (Cr && (c === "id" || c === "name") && (f in r || f in co))
2053
+ }), o.textContent !== c && (at(t.removed, {
2054
+ element: o.cloneNode()
2055
+ }), o.textContent = c)), de(U.afterSanitizeElements, o, null), !1);
2056
+ }, Fr = function(o, c, m) {
2057
+ if (Cr && (c === "id" || c === "name") && (m in r || m in pa))
2058
2058
  return !1;
2059
- if (!(re && !ge[c] && Y(Ht, c))) {
2060
- if (!(be && Y(Vt, c))) {
2061
- if (!L[c] || ge[c]) {
2059
+ if (!(re && !be[c] && Y(Ht, c))) {
2060
+ if (!(ye && Y(Gt, c))) {
2061
+ if (!L[c] || be[c]) {
2062
2062
  if (
2063
2063
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
2064
2064
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
2065
2065
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
2066
- !(zr(a) && (I.tagNameCheck instanceof RegExp && Y(I.tagNameCheck, a) || I.tagNameCheck instanceof Function && I.tagNameCheck(a)) && (I.attributeNameCheck instanceof RegExp && Y(I.attributeNameCheck, c) || I.attributeNameCheck instanceof Function && I.attributeNameCheck(c, a)) || // Alternative, second condition checks if it's an `is`-attribute, AND
2066
+ !(zr(o) && (I.tagNameCheck instanceof RegExp && Y(I.tagNameCheck, o) || I.tagNameCheck instanceof Function && I.tagNameCheck(o)) && (I.attributeNameCheck instanceof RegExp && Y(I.attributeNameCheck, c) || I.attributeNameCheck instanceof Function && I.attributeNameCheck(c, o)) || // Alternative, second condition checks if it's an `is`-attribute, AND
2067
2067
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
2068
- c === "is" && I.allowCustomizedBuiltInElements && (I.tagNameCheck instanceof RegExp && Y(I.tagNameCheck, f) || I.tagNameCheck instanceof Function && I.tagNameCheck(f)))
2068
+ c === "is" && I.allowCustomizedBuiltInElements && (I.tagNameCheck instanceof RegExp && Y(I.tagNameCheck, m) || I.tagNameCheck instanceof Function && I.tagNameCheck(m)))
2069
2069
  ) return !1;
2070
- } else if (!qt[c]) {
2071
- if (!Y(ve, ot(f, et, ""))) {
2072
- if (!((c === "src" || c === "xlink:href" || c === "href") && a !== "script" && Ba(f, "data:") === 0 && Ir[a])) {
2073
- if (!(Oe && !Y(Je, ot(f, et, "")))) {
2074
- if (f)
2070
+ } else if (!Kt[c]) {
2071
+ if (!Y(Ee, ot(m, tt, ""))) {
2072
+ if (!((c === "src" || c === "xlink:href" || c === "href") && o !== "script" && jo(m, "data:") === 0 && Ir[o])) {
2073
+ if (!(Ne && !Y(et, ot(m, tt, "")))) {
2074
+ if (m)
2075
2075
  return !1;
2076
2076
  }
2077
2077
  }
@@ -2080,16 +2080,16 @@ function Qn() {
2080
2080
  }
2081
2081
  }
2082
2082
  return !0;
2083
- }, zr = function(a) {
2084
- return a !== "annotation-xml" && ar(a, J);
2085
- }, Br = function(a) {
2086
- ue(U.beforeSanitizeAttributes, a, null);
2083
+ }, zr = function(o) {
2084
+ return o !== "annotation-xml" && ir(o, J);
2085
+ }, Br = function(o) {
2086
+ de(U.beforeSanitizeAttributes, o, null);
2087
2087
  const {
2088
2088
  attributes: c
2089
- } = a;
2090
- if (!c || Qt(a))
2089
+ } = o;
2090
+ if (!c || Jt(o))
2091
2091
  return;
2092
- const f = {
2092
+ const m = {
2093
2093
  attrName: "",
2094
2094
  attrValue: "",
2095
2095
  keepAttr: !0,
@@ -2098,123 +2098,123 @@ function Qn() {
2098
2098
  };
2099
2099
  let N = c.length;
2100
2100
  for (; N--; ) {
2101
- const H = c[N], {
2101
+ const W = c[N], {
2102
2102
  name: M,
2103
2103
  namespaceURI: X,
2104
- value: de
2105
- } = H, Me = z(M), Jt = de;
2106
- let W = M === "value" ? Jt : Ua(Jt);
2107
- if (f.attrName = Me, f.attrValue = W, f.keepAttr = !0, f.forceKeepAttr = void 0, ue(U.uponSanitizeAttribute, a, f), W = f.attrValue, Ar && (Me === "id" || Me === "name") && (Te(M, a), W = oo + W), ft && Y(/((--!?|])>)|<\/(style|title|textarea)/i, W)) {
2108
- Te(M, a);
2104
+ value: me
2105
+ } = W, ze = z(M), er = me;
2106
+ let V = M === "value" ? er : Yo(er);
2107
+ if (m.attrName = ze, m.attrValue = V, m.keepAttr = !0, m.forceKeepAttr = void 0, de(U.uponSanitizeAttribute, o, m), V = m.attrValue, Ar && (ze === "id" || ze === "name") && (we(M, o), V = ua + V), ft && Y(/((--!?|])>)|<\/(style|title|textarea)/i, V)) {
2108
+ we(M, o);
2109
2109
  continue;
2110
2110
  }
2111
- if (Me === "attributename" && ar(W, "href")) {
2112
- Te(M, a);
2111
+ if (ze === "attributename" && ir(V, "href")) {
2112
+ we(M, o);
2113
2113
  continue;
2114
2114
  }
2115
- if (f.forceKeepAttr)
2115
+ if (m.forceKeepAttr)
2116
2116
  continue;
2117
- if (!f.keepAttr) {
2118
- Te(M, a);
2117
+ if (!m.keepAttr) {
2118
+ we(M, o);
2119
2119
  continue;
2120
2120
  }
2121
- if (!Ee && Y(/\/>/i, W)) {
2122
- Te(M, a);
2121
+ if (!Se && Y(/\/>/i, V)) {
2122
+ we(M, o);
2123
2123
  continue;
2124
2124
  }
2125
- j && Tt([Xe, Ze, Qe], (Wr) => {
2126
- W = ot(W, Wr, " ");
2125
+ j && wt([Ze, Qe, Je], (Vr) => {
2126
+ V = ot(V, Vr, " ");
2127
2127
  });
2128
- const Ur = z(a.nodeName);
2129
- if (!Fr(Ur, Me, W)) {
2130
- Te(M, a);
2128
+ const Ur = z(o.nodeName);
2129
+ if (!Fr(Ur, ze, V)) {
2130
+ we(M, o);
2131
2131
  continue;
2132
2132
  }
2133
- if (b && typeof v == "object" && typeof v.getAttributeType == "function" && !X)
2134
- switch (v.getAttributeType(Ur, Me)) {
2133
+ if (b && typeof E == "object" && typeof E.getAttributeType == "function" && !X)
2134
+ switch (E.getAttributeType(Ur, ze)) {
2135
2135
  case "TrustedHTML": {
2136
- W = b.createHTML(W);
2136
+ V = b.createHTML(V);
2137
2137
  break;
2138
2138
  }
2139
2139
  case "TrustedScriptURL": {
2140
- W = b.createScriptURL(W);
2140
+ V = b.createScriptURL(V);
2141
2141
  break;
2142
2142
  }
2143
2143
  }
2144
- if (W !== Jt)
2144
+ if (V !== er)
2145
2145
  try {
2146
- X ? a.setAttributeNS(X, M, W) : a.setAttribute(M, W), Qt(a) ? ae(a) : ln(t.removed);
2146
+ X ? o.setAttributeNS(X, M, V) : o.setAttribute(M, V), Jt(o) ? ie(o) : ln(t.removed);
2147
2147
  } catch {
2148
- Te(M, a);
2148
+ we(M, o);
2149
2149
  }
2150
2150
  }
2151
- ue(U.afterSanitizeAttributes, a, null);
2152
- }, fo = function h(a) {
2151
+ de(U.afterSanitizeAttributes, o, null);
2152
+ }, ba = function h(o) {
2153
2153
  let c = null;
2154
- const f = Dr(a);
2155
- for (ue(U.beforeSanitizeShadowDOM, a, null); c = f.nextNode(); )
2156
- ue(U.uponSanitizeShadowNode, c, null), Mr(c), Br(c), c.content instanceof i && h(c.content);
2157
- ue(U.afterSanitizeShadowDOM, a, null);
2154
+ const m = Dr(o);
2155
+ for (de(U.beforeSanitizeShadowDOM, o, null); c = m.nextNode(); )
2156
+ de(U.uponSanitizeShadowNode, c, null), Mr(c), Br(c), c.content instanceof i && h(c.content);
2157
+ de(U.afterSanitizeShadowDOM, o, null);
2158
2158
  };
2159
2159
  return t.sanitize = function(h) {
2160
- let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, c = null, f = null, N = null, H = null;
2161
- if (Kt = !h, Kt && (h = "<!-->"), typeof h != "string" && !Lr(h))
2160
+ let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, c = null, m = null, N = null, W = null;
2161
+ if (Xt = !h, Xt && (h = "<!-->"), typeof h != "string" && !Lr(h))
2162
2162
  if (typeof h.toString == "function") {
2163
2163
  if (h = h.toString(), typeof h != "string")
2164
- throw at("dirty is not a string, aborting");
2164
+ throw it("dirty is not a string, aborting");
2165
2165
  } else
2166
- throw at("toString is not a function");
2166
+ throw it("toString is not a function");
2167
2167
  if (!t.isSupported)
2168
2168
  return h;
2169
- if (Gt || Zt(a), t.removed = [], typeof h == "string" && (tt = !1), tt) {
2169
+ if (jt || Qt(o), t.removed = [], typeof h == "string" && (rt = !1), rt) {
2170
2170
  if (h.nodeName) {
2171
- const de = z(h.nodeName);
2172
- if (!P[de] || te[de])
2173
- throw at("root node is forbidden and cannot be sanitized in-place");
2171
+ const me = z(h.nodeName);
2172
+ if (!O[me] || te[me])
2173
+ throw it("root node is forbidden and cannot be sanitized in-place");
2174
2174
  }
2175
2175
  } else if (h instanceof d)
2176
- c = $r("<!---->"), f = c.ownerDocument.importNode(h, !0), f.nodeType === st.element && f.nodeName === "BODY" || f.nodeName === "HTML" ? c = f : c.appendChild(f);
2176
+ c = $r("<!---->"), m = c.ownerDocument.importNode(h, !0), m.nodeType === lt.element && m.nodeName === "BODY" || m.nodeName === "HTML" ? c = m : c.appendChild(m);
2177
2177
  else {
2178
- if (!Pe && !j && !Se && // eslint-disable-next-line unicorn/prefer-includes
2178
+ if (!$e && !j && !Te && // eslint-disable-next-line unicorn/prefer-includes
2179
2179
  h.indexOf("<") === -1)
2180
- return b && ht ? b.createHTML(h) : h;
2180
+ return b && pt ? b.createHTML(h) : h;
2181
2181
  if (c = $r(h), !c)
2182
- return Pe ? null : ht ? R : "";
2182
+ return $e ? null : pt ? R : "";
2183
2183
  }
2184
- c && jt && ae(c.firstChild);
2185
- const M = Dr(tt ? h : c);
2184
+ c && Yt && ie(c.firstChild);
2185
+ const M = Dr(rt ? h : c);
2186
2186
  for (; N = M.nextNode(); )
2187
- Mr(N), Br(N), N.content instanceof i && fo(N.content);
2188
- if (tt)
2187
+ Mr(N), Br(N), N.content instanceof i && ba(N.content);
2188
+ if (rt)
2189
2189
  return h;
2190
- if (Pe) {
2191
- if (mt)
2192
- for (H = pe.call(c.ownerDocument); c.firstChild; )
2193
- H.appendChild(c.firstChild);
2190
+ if ($e) {
2191
+ if (ht)
2192
+ for (W = ge.call(c.ownerDocument); c.firstChild; )
2193
+ W.appendChild(c.firstChild);
2194
2194
  else
2195
- H = c;
2196
- return (L.shadowroot || L.shadowrootmode) && (H = Wt.call(n, H, !0)), H;
2195
+ W = c;
2196
+ return (L.shadowroot || L.shadowrootmode) && (W = Wt.call(n, W, !0)), W;
2197
2197
  }
2198
- let X = Se ? c.outerHTML : c.innerHTML;
2199
- return Se && P["!doctype"] && c.ownerDocument && c.ownerDocument.doctype && c.ownerDocument.doctype.name && Y(Zn, c.ownerDocument.doctype.name) && (X = "<!DOCTYPE " + c.ownerDocument.doctype.name + `>
2200
- ` + X), j && Tt([Xe, Ze, Qe], (de) => {
2201
- X = ot(X, de, " ");
2202
- }), b && ht ? b.createHTML(X) : X;
2198
+ let X = Te ? c.outerHTML : c.innerHTML;
2199
+ return Te && O["!doctype"] && c.ownerDocument && c.ownerDocument.doctype && c.ownerDocument.doctype.name && Y(Qn, c.ownerDocument.doctype.name) && (X = "<!DOCTYPE " + c.ownerDocument.doctype.name + `>
2200
+ ` + X), j && wt([Ze, Qe, Je], (me) => {
2201
+ X = ot(X, me, " ");
2202
+ }), b && pt ? b.createHTML(X) : X;
2203
2203
  }, t.setConfig = function() {
2204
2204
  let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2205
- Zt(h), Gt = !0;
2205
+ Qt(h), jt = !0;
2206
2206
  }, t.clearConfig = function() {
2207
- Le = null, Gt = !1;
2208
- }, t.isValidAttribute = function(h, a, c) {
2209
- Le || Zt({});
2210
- const f = z(h), N = z(a);
2211
- return Fr(f, N, c);
2212
- }, t.addHook = function(h, a) {
2213
- typeof a == "function" && nt(U[h], a);
2214
- }, t.removeHook = function(h, a) {
2215
- if (a !== void 0) {
2216
- const c = Fa(U[h], a);
2217
- return c === -1 ? void 0 : za(U[h], c, 1)[0];
2207
+ Fe = null, jt = !1;
2208
+ }, t.isValidAttribute = function(h, o, c) {
2209
+ Fe || Qt({});
2210
+ const m = z(h), N = z(o);
2211
+ return Fr(m, N, c);
2212
+ }, t.addHook = function(h, o) {
2213
+ typeof o == "function" && at(U[h], o);
2214
+ }, t.removeHook = function(h, o) {
2215
+ if (o !== void 0) {
2216
+ const c = Ho(U[h], o);
2217
+ return c === -1 ? void 0 : Go(U[h], c, 1)[0];
2218
2218
  }
2219
2219
  return ln(U[h]);
2220
2220
  }, t.removeHooks = function(h) {
@@ -2223,23 +2223,23 @@ function Qn() {
2223
2223
  U = hn();
2224
2224
  }, t;
2225
2225
  }
2226
- var ri = Qn();
2227
- const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required && (e == null || e === "") ? "Field is required" : t.basicEmailValidation && (e == null || e === "") ? "Field should be email" : null : null, pn = (e, t) => t ? Object.keys(t).map(
2228
- (o) => {
2229
- const i = oi(e[o], t[o].validations);
2226
+ var li = Jn();
2227
+ const ci = (e) => e == null, ut = (e) => !ci(e), ui = (e, t) => t ? t.required && (e == null || e === "") ? "Field is required" : t.basicEmailValidation && (e == null || e === "") ? "Field should be email" : null : null, pn = (e, t) => t ? Object.keys(t).map(
2228
+ (a) => {
2229
+ const i = ui(e[a], t[a].validations);
2230
2230
  return i ? {
2231
- field: o,
2231
+ field: a,
2232
2232
  error: i
2233
2233
  } : null;
2234
2234
  },
2235
2235
  {}
2236
- ).filter(ct) : [], Jn = (e) => {
2237
- const [t, r] = Ue(0), [n, o] = Ue([]), i = xe(async () => {
2236
+ ).filter(ut) : [], ea = (e) => {
2237
+ const [t, r] = We(0), [n, a] = We([]), i = Ce(async () => {
2238
2238
  try {
2239
- await $a({
2239
+ await Bo({
2240
2240
  feedbackFormId: e.formId,
2241
2241
  link: window.location.pathname,
2242
- rawHtml: ri.sanitize(document.getElementsByTagName("html")[0] ?? ""),
2242
+ rawHtml: li.sanitize(document.getElementsByTagName("html")[0] ?? ""),
2243
2243
  domainId: e.domainId,
2244
2244
  data: e.state,
2245
2245
  formType: e.formType,
@@ -2267,17 +2267,17 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2267
2267
  } catch (u) {
2268
2268
  console.log(u);
2269
2269
  }
2270
- }, [e.state, e.formType]), s = xe(() => {
2270
+ }, [e.state, e.formType]), s = Ce(() => {
2271
2271
  const u = pn(e.state, e.validationsPerStep[t]);
2272
- o(u), u.length || (t < e.stepsCount - 1 ? r((m) => m + 1) : i());
2273
- }, [e.state, e.validationsPerStep, t, i]), d = xe(() => {
2274
- t !== 0 && (o([]), r((u) => u - 1));
2272
+ a(u), u.length || (t < e.stepsCount - 1 ? r((f) => f + 1) : i());
2273
+ }, [e.state, e.validationsPerStep, t, i]), d = Ce(() => {
2274
+ t !== 0 && (a([]), r((u) => u - 1));
2275
2275
  }, [t]);
2276
- return We(() => {
2277
- o((u) => {
2276
+ return He(() => {
2277
+ a((u) => {
2278
2278
  if (u.length) {
2279
- const m = pn(e.state, e.validationsPerStep[t]);
2280
- if (m.length !== u.length) return m;
2279
+ const f = pn(e.state, e.validationsPerStep[t]);
2280
+ if (f.length !== u.length) return f;
2281
2281
  }
2282
2282
  return u;
2283
2283
  });
@@ -2287,16 +2287,16 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2287
2287
  onContinue: s,
2288
2288
  onBack: d
2289
2289
  };
2290
- }, ai = S.div({
2290
+ }, di = v.div({
2291
2291
  marginTop: "1rem",
2292
2292
  color: "var(--color-error)",
2293
2293
  height: "20px"
2294
- }), Ke = ({ errors: e }) => {
2294
+ }), ke = ({ errors: e }) => {
2295
2295
  var t;
2296
- return l.createElement(ai, { children: ((t = (e || [])[0]) == null ? void 0 : t.error) ?? null });
2297
- }, ii = S.input(
2296
+ return l.createElement(di, { children: ((t = (e || [])[0]) == null ? void 0 : t.error) ?? null });
2297
+ }, mi = v.input(
2298
2298
  ({ theme: e, colorVariant: t, selected: r }) => {
2299
- const n = `calc(${e.sizeSelector} * 6);`, o = he(t);
2299
+ const n = `calc(${e.sizeSelector} * 6);`, a = ce(t);
2300
2300
  return {
2301
2301
  cursor: "pointer",
2302
2302
  appearance: "none",
@@ -2304,7 +2304,7 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2304
2304
  verticalAlign: "middle",
2305
2305
  color: "var(--color-base-content)",
2306
2306
  width: n,
2307
- border: `1px solid ${o}`,
2307
+ border: `1px solid ${a}`,
2308
2308
  height: n,
2309
2309
  flexShrink: "0",
2310
2310
  padding: ".25rem",
@@ -2318,7 +2318,7 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2318
2318
  width: "100%",
2319
2319
  height: "100%",
2320
2320
  boxShadow: "0 3px oklch(100% 0 0/calc(var(--depth)*.1)) inset",
2321
- backgroundColor: `${o}`,
2321
+ backgroundColor: `${a}`,
2322
2322
  fontSize: "1rem",
2323
2323
  lineHeight: ".75",
2324
2324
  transition: "clip-path .3s .1s,opacity .1s .1s,rotate .3s .1s,translate .3s .1s",
@@ -2331,26 +2331,26 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2331
2331
  }
2332
2332
  };
2333
2333
  }
2334
- ), si = S.label((e) => ({
2334
+ ), fi = v.label((e) => ({
2335
2335
  display: "flex",
2336
2336
  fontWeight: e.selected ? "500" : "normal",
2337
2337
  transition: ".2s ease-in-out",
2338
2338
  alignItems: "center",
2339
2339
  cursor: "pointer",
2340
2340
  gap: "calc(var(--spacing) * 2)"
2341
- })), li = (e) => {
2342
- const t = se(
2341
+ })), hi = (e) => {
2342
+ const t = le(
2343
2343
  () => `${e.id}-${e.label.replace(/\s/g, "-").toLowerCase()}`,
2344
2344
  []
2345
- ), r = (o) => {
2345
+ ), r = (a) => {
2346
2346
  e.onSelect(
2347
- e.value.includes(o) ? e.value.filter((i) => i !== o) : [...e.value, o]
2347
+ e.value.includes(a) ? e.value.filter((i) => i !== a) : [...e.value, a]
2348
2348
  );
2349
2349
  }, n = e.value.includes(t);
2350
- return l.createElement(si, {
2350
+ return l.createElement(fi, {
2351
2351
  selected: n,
2352
2352
  children: [
2353
- l.createElement(ii, {
2353
+ l.createElement(mi, {
2354
2354
  id: t,
2355
2355
  type: "checkbox",
2356
2356
  selected: n,
@@ -2358,13 +2358,13 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2358
2358
  onChange: () => r(t),
2359
2359
  name: e.name
2360
2360
  }),
2361
- l.createElement(le, {
2361
+ l.createElement(oe, {
2362
2362
  children: e.label,
2363
2363
  linear: !0
2364
2364
  })
2365
2365
  ]
2366
2366
  });
2367
- }, ci = S.div`
2367
+ }, pi = v.div`
2368
2368
  display: flex;
2369
2369
  flex-direction: column;
2370
2370
  width: var(--all-fields-size);
@@ -2372,33 +2372,33 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2372
2372
  @media (max-width: 900px) {
2373
2373
  width: 100%;
2374
2374
  }
2375
- `, ui = S.div`
2375
+ `, gi = v.div`
2376
2376
  display: flex;
2377
2377
  gap: calc(var(--spacing) * 10);
2378
2378
  @media (max-width: 900px) {
2379
2379
  gap: var(--spacing);
2380
2380
  flex-direction: column;
2381
2381
  }
2382
- `, di = (e) => {
2383
- const t = e.label.replace(/\s/g, "-").toLowerCase(), r = e.elementsPerCol || 4, n = se(() => e.options.reduce(
2384
- (o, i, s) => {
2382
+ `, ta = (e) => {
2383
+ const t = e.label.replace(/\s/g, "-").toLowerCase(), r = e.elementsPerCol || 4, n = le(() => e.options.reduce(
2384
+ (a, i, s) => {
2385
2385
  var u;
2386
- return (s % r === 0 || s === 0) && o.push([]), (u = o[o.length - 1]) == null || u.push(i), o;
2386
+ return (s % r === 0 || s === 0) && a.push([]), (u = a[a.length - 1]) == null || u.push(i), a;
2387
2387
  },
2388
2388
  []
2389
2389
  ), [r, e.options]);
2390
2390
  return l.createElement("div", {
2391
2391
  children: [
2392
- l.createElement(le, {
2392
+ l.createElement(oe, {
2393
2393
  children: e.label,
2394
2394
  variant: "section"
2395
2395
  }),
2396
- l.createElement(ui, {
2396
+ l.createElement(gi, {
2397
2397
  children: n.map(
2398
- (o, i) => l.createElement(ci, {
2398
+ (a, i) => l.createElement(pi, {
2399
2399
  key: i,
2400
- children: o.map(
2401
- (s) => l.createElement(li, {
2400
+ children: a.map(
2401
+ (s) => l.createElement(hi, {
2402
2402
  onSelect: e.onChange,
2403
2403
  colorVariant: e.colorVariant,
2404
2404
  value: e.value,
@@ -2410,12 +2410,12 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2410
2410
  })
2411
2411
  )
2412
2412
  }),
2413
- l.createElement(Ke, {
2413
+ l.createElement(ke, {
2414
2414
  errors: e.errors
2415
2415
  })
2416
2416
  ]
2417
2417
  });
2418
- }, fi = S(Ye)(() => ({
2418
+ }, bi = v(Ke)(() => ({
2419
2419
  "&:not(:last-of-type):not(:first-of-type)": {
2420
2420
  borderRadius: "0",
2421
2421
  marginRight: "-1px",
@@ -2432,15 +2432,15 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2432
2432
  "@media (max-width: 900px)": {
2433
2433
  // display: 'none',
2434
2434
  }
2435
- })), mi = (e) => l.createElement(fi, {
2435
+ })), yi = (e) => l.createElement(bi, {
2436
2436
  onClick: e.onChange,
2437
2437
  $outlined: !e.selected,
2438
2438
  children: e.label
2439
- }), gn = S("span")(({
2439
+ }), gn = v("span")(({
2440
2440
  min: e,
2441
2441
  variant: t
2442
2442
  }) => {
2443
- const r = t || he();
2443
+ const r = t || ce();
2444
2444
  return {
2445
2445
  position: "absolute",
2446
2446
  left: e ? "0" : void 0,
@@ -2452,18 +2452,18 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2452
2452
  textTransform: "uppercase",
2453
2453
  color: r
2454
2454
  };
2455
- }), hi = S.div((e) => ({
2455
+ }), vi = v.div((e) => ({
2456
2456
  verticalAlign: "middle",
2457
2457
  display: "inline-flex",
2458
2458
  position: "relative",
2459
2459
  marginBottom: e.withText ? "calc(var(--spacing) * 6)" : "0"
2460
- })), pi = (e) => l.createElement("div", {
2460
+ })), ra = (e) => l.createElement("div", {
2461
2461
  children: [
2462
- l.createElement(le, {
2462
+ l.createElement(oe, {
2463
2463
  children: e.label,
2464
2464
  variant: "section"
2465
2465
  }),
2466
- l.createElement(hi, {
2466
+ l.createElement(vi, {
2467
2467
  withText: e.maxText || e.minText,
2468
2468
  children: [
2469
2469
  e.maxText ? l.createElement(gn, {
@@ -2474,7 +2474,7 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2474
2474
  min: !0,
2475
2475
  children: e.minText
2476
2476
  }) : null,
2477
- Array(e.max).fill(1).map((t, r) => l.createElement(mi, {
2477
+ Array(e.max).fill(1).map((t, r) => l.createElement(yi, {
2478
2478
  onChange: () => e.onChange(r + 1),
2479
2479
  selected: r + 1 === e.value,
2480
2480
  key: `${r}`,
@@ -2482,12 +2482,12 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2482
2482
  }))
2483
2483
  ]
2484
2484
  }),
2485
- l.createElement(Ke, {
2485
+ l.createElement(ke, {
2486
2486
  errors: e.errors
2487
2487
  })
2488
2488
  ]
2489
- }), gi = S.input(({ theme: e, selected: t, colorVariant: r }) => {
2490
- const n = `calc(${e.sizeSelector} * 6);`, o = he(r);
2489
+ }), Ei = v.input(({ theme: e, selected: t, colorVariant: r }) => {
2490
+ const n = `calc(${e.sizeSelector} * 6);`, a = ce(r);
2491
2491
  return {
2492
2492
  width: n,
2493
2493
  height: n,
@@ -2497,7 +2497,7 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2497
2497
  appearance: "none",
2498
2498
  verticalAlign: "middle",
2499
2499
  borderRadius: "3.40282e38px",
2500
- border: `1px solid ${o}`,
2500
+ border: `1px solid ${a}`,
2501
2501
  flexShrink: "0",
2502
2502
  padding: t ? ".25rem" : "0.4rem",
2503
2503
  transition: ".2s ease-in-out",
@@ -2507,31 +2507,31 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2507
2507
  "&::before": {
2508
2508
  content: '""',
2509
2509
  borderRadius: "3.40282e38px",
2510
- background: t ? o : "transparent",
2510
+ background: t ? a : "transparent",
2511
2511
  width: "100%",
2512
2512
  height: "100%",
2513
2513
  display: "block"
2514
2514
  }
2515
2515
  };
2516
- }), bi = S.label((e) => ({
2516
+ }), Si = v.label((e) => ({
2517
2517
  display: "flex",
2518
2518
  fontWeight: e.selected ? "500" : "normal",
2519
2519
  transition: ".2s ease-in-out",
2520
2520
  alignItems: "center",
2521
2521
  cursor: "pointer",
2522
2522
  gap: "calc(var(--spacing) * 2)"
2523
- })), yi = (e) => {
2524
- const t = se(
2523
+ })), Ti = (e) => {
2524
+ const t = le(
2525
2525
  () => `${e.id}-${e.label.replace(/\s/g, "-").toLowerCase()}`,
2526
2526
  [e.id]
2527
- ), r = (o) => {
2528
- e.onSelect(o);
2527
+ ), r = (a) => {
2528
+ e.onSelect(a);
2529
2529
  }, n = e.value === t;
2530
- return l.createElement(bi, {
2530
+ return l.createElement(Si, {
2531
2531
  selected: n,
2532
2532
  htmlFor: t,
2533
2533
  children: [
2534
- l.createElement(gi, {
2534
+ l.createElement(Ei, {
2535
2535
  id: t,
2536
2536
  type: "radio",
2537
2537
  variant: e.colorVariant,
@@ -2539,13 +2539,13 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2539
2539
  onChange: () => r(t),
2540
2540
  name: e.name
2541
2541
  }),
2542
- l.createElement(le, {
2542
+ l.createElement(oe, {
2543
2543
  children: e.label,
2544
2544
  linear: !0
2545
2545
  })
2546
2546
  ]
2547
2547
  });
2548
- }, vi = S.div`
2548
+ }, wi = v.div`
2549
2549
  display: flex;
2550
2550
  flex-direction: column;
2551
2551
  width: var(--all-fields-size);
@@ -2553,50 +2553,50 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2553
2553
  @media (max-width: 900px) {
2554
2554
  width: 100%;
2555
2555
  }
2556
- `, Ei = S.div`
2556
+ `, xi = v.div`
2557
2557
  display: flex;
2558
2558
  gap: calc(var(--spacing) * 10);
2559
2559
  @media (max-width: 900px) {
2560
2560
  gap: var(--spacing);
2561
2561
  flex-direction: column;
2562
2562
  }
2563
- `, Si = (e) => {
2564
- const t = e.elementsPerCol || 4, r = se(() => e.options.reduce(
2565
- (n, o, i) => {
2563
+ `, na = (e) => {
2564
+ const t = e.elementsPerCol || 4, r = le(() => e.options.reduce(
2565
+ (n, a, i) => {
2566
2566
  var d;
2567
- return (i % t === 0 || i === 0) && n.push([]), (d = n[n.length - 1]) == null || d.push(o), n;
2567
+ return (i % t === 0 || i === 0) && n.push([]), (d = n[n.length - 1]) == null || d.push(a), n;
2568
2568
  },
2569
2569
  []
2570
2570
  ), [t, e.options]);
2571
2571
  return l.createElement("div", {
2572
2572
  children: [
2573
- l.createElement(le, {
2573
+ l.createElement(oe, {
2574
2574
  children: e.label,
2575
2575
  variant: "section"
2576
2576
  }),
2577
- l.createElement(Ei, {
2577
+ l.createElement(xi, {
2578
2578
  children: r.map(
2579
- (n) => l.createElement(vi, {
2579
+ (n) => l.createElement(wi, {
2580
2580
  children: n.map(
2581
- (o) => l.createElement(yi, {
2581
+ (a) => l.createElement(Ti, {
2582
2582
  colorVariant: e.colorVariant,
2583
2583
  onSelect: e.onChange,
2584
2584
  value: e.value,
2585
2585
  id: e.formClientId,
2586
- name: `${o.id}-${e.formClientId}`,
2587
- label: o.label
2586
+ name: `${a.id}-${e.formClientId}`,
2587
+ label: a.label
2588
2588
  })
2589
2589
  )
2590
2590
  })
2591
2591
  )
2592
2592
  }),
2593
- l.createElement(Ke, {
2593
+ l.createElement(ke, {
2594
2594
  errors: e.errors
2595
2595
  })
2596
2596
  ]
2597
2597
  });
2598
- }, Ti = S.input((e) => {
2599
- const t = he(e.colorVariant);
2598
+ }, Ci = v.input((e) => {
2599
+ const t = ce(e.colorVariant);
2600
2600
  return {
2601
2601
  cursor: "text",
2602
2602
  border: `var(--border-width)solid ${t}`,
@@ -2622,8 +2622,8 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2622
2622
  isolation: "isolate"
2623
2623
  }
2624
2624
  };
2625
- }), wi = S.input((e) => {
2626
- const r = he(e.colorVariant);
2625
+ }), Ai = v.input((e) => {
2626
+ const r = ce(e.colorVariant);
2627
2627
  return {
2628
2628
  cursor: "pointer",
2629
2629
  flex: "1",
@@ -2672,31 +2672,31 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2672
2672
  transform: "translateY(-50%)"
2673
2673
  }
2674
2674
  };
2675
- }), xi = S.div`
2675
+ }), _i = v.div`
2676
2676
  width: clamp(3rem, 30rem, 100%);
2677
- `, Ci = S(Ti)`
2677
+ `, Ii = v(Ci)`
2678
2678
  width: calc(var(--size-field) * 15);
2679
- `, Ai = S.div`
2679
+ `, Ri = v.div`
2680
2680
  display: flex;
2681
2681
  align-items: center;
2682
2682
  gap: calc(var(--spacing) * 2);
2683
- `, _i = (e) => {
2684
- var o;
2683
+ `, ki = (e) => {
2684
+ var a;
2685
2685
  const t = e.min || 0, r = e.max || 100, n = (i) => {
2686
2686
  const s = Number.parseInt(i.target.value);
2687
2687
  Number.isNaN(s) ? console.error("RangeSlide must be a number") : e.onChange(s);
2688
2688
  };
2689
- return We(() => {
2689
+ return He(() => {
2690
2690
  e.onChange(e.value || e.initialValue || 0);
2691
- }, []), l.createElement(xi, {
2691
+ }, []), l.createElement(_i, {
2692
2692
  children: [
2693
- l.createElement(le, {
2693
+ l.createElement(oe, {
2694
2694
  children: e.label,
2695
2695
  variant: "section"
2696
2696
  }),
2697
- l.createElement(Ai, {
2697
+ l.createElement(Ri, {
2698
2698
  children: [
2699
- l.createElement(wi, {
2699
+ l.createElement(Ai, {
2700
2700
  type: "range",
2701
2701
  min: t,
2702
2702
  max: r,
@@ -2704,9 +2704,9 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2704
2704
  value: e.value,
2705
2705
  onChange: n
2706
2706
  }),
2707
- l.createElement(Ci, {
2707
+ l.createElement(Ii, {
2708
2708
  type: "number",
2709
- value: ((o = e.value) == null ? void 0 : o.toString()) ?? "",
2709
+ value: ((a = e.value) == null ? void 0 : a.toString()) ?? "",
2710
2710
  max: r,
2711
2711
  min: t,
2712
2712
  colorVariant: e.colorVariant,
@@ -2714,21 +2714,21 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2714
2714
  })
2715
2715
  ]
2716
2716
  }),
2717
- l.createElement(Ke, {
2717
+ l.createElement(ke, {
2718
2718
  errors: e.errors
2719
2719
  })
2720
2720
  ]
2721
2721
  });
2722
- }, Ii = '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="185"><path d="M100 184.606a15.384 15.384 0 0 1-8.653-2.678C53.565 156.28 37.205 138.695 28.182 127.7 8.952 104.264-.254 80.202.005 54.146.308 24.287 24.264 0 53.406 0c21.192 0 35.869 11.937 44.416 21.879a2.884 2.884 0 0 0 4.356 0C110.725 11.927 125.402 0 146.594 0c29.142 0 53.098 24.287 53.4 54.151.26 26.061-8.956 50.122-28.176 73.554-9.023 10.994-25.383 28.58-63.165 54.228a15.384 15.384 0 0 1-8.653 2.673Z" fill="black" fill-rule="nonzero"/></svg>', Ri = '<svg xmlns="http://www.w3.org/2000/svg" width="192" height="180"><path fill="black" d="m96 137.263-58.779 42.024 22.163-68.389L.894 68.481l72.476-.243L96 0l22.63 68.238 72.476.243-58.49 42.417 22.163 68.389z" fill-rule="evenodd"/></svg>', ki = '<svg xmlns="http://www.w3.org/2000/svg" width="192" height="180"><path fill="black" d="m96 153.044-58.779 26.243 7.02-63.513L.894 68.481l63.117-13.01L96 0l31.989 55.472 63.117 13.01-43.347 47.292 7.02 63.513z" fill-rule="evenodd"/></svg>', Oi = {
2723
- heart: encodeURIComponent(Ii),
2724
- star: encodeURIComponent(Ri),
2725
- star2: encodeURIComponent(ki)
2722
+ }, Pi = '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="185"><path d="M100 184.606a15.384 15.384 0 0 1-8.653-2.678C53.565 156.28 37.205 138.695 28.182 127.7 8.952 104.264-.254 80.202.005 54.146.308 24.287 24.264 0 53.406 0c21.192 0 35.869 11.937 44.416 21.879a2.884 2.884 0 0 0 4.356 0C110.725 11.927 125.402 0 146.594 0c29.142 0 53.098 24.287 53.4 54.151.26 26.061-8.956 50.122-28.176 73.554-9.023 10.994-25.383 28.58-63.165 54.228a15.384 15.384 0 0 1-8.653 2.673Z" fill="black" fill-rule="nonzero"/></svg>', Oi = '<svg xmlns="http://www.w3.org/2000/svg" width="192" height="180"><path fill="black" d="m96 137.263-58.779 42.024 22.163-68.389L.894 68.481l72.476-.243L96 0l22.63 68.238 72.476.243-58.49 42.417 22.163 68.389z" fill-rule="evenodd"/></svg>', Ni = '<svg xmlns="http://www.w3.org/2000/svg" width="192" height="180"><path fill="black" d="m96 153.044-58.779 26.243 7.02-63.513L.894 68.481l63.117-13.01L96 0l31.989 55.472 63.117 13.01-43.347 47.292 7.02 63.513z" fill-rule="evenodd"/></svg>', $i = {
2723
+ heart: encodeURIComponent(Pi),
2724
+ star: encodeURIComponent(Oi),
2725
+ star2: encodeURIComponent(Ni)
2726
2726
  }, bn = {
2727
2727
  small: "1rem",
2728
2728
  medium: "1.5rem",
2729
2729
  large: "2rem"
2730
- }, Pi = S.input((e) => {
2731
- const t = Oi[e.icon ?? "star2"], r = he(e.colorVariant);
2730
+ }, Di = v.input((e) => {
2731
+ const t = $i[e.icon ?? "star2"], r = ce(e.colorVariant);
2732
2732
  return {
2733
2733
  maskImage: `url(data:image/svg+xml,${t})`,
2734
2734
  backgroundColor: r,
@@ -2750,36 +2750,36 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2750
2750
  width: bn[e.size ?? "medium"],
2751
2751
  height: bn[e.size ?? "medium"]
2752
2752
  };
2753
- }), Ni = S.div(() => ({
2753
+ }), Li = v.div(() => ({
2754
2754
  verticalAlign: "middle",
2755
2755
  position: "relative"
2756
- })), $i = ({ value: e, max: t, errors: r, label: n, onChange: o }) => l.createElement(Ni, {
2756
+ })), aa = ({ value: e, max: t, errors: r, label: n, onChange: a }) => l.createElement(Li, {
2757
2757
  value: 1,
2758
2758
  max: 5,
2759
2759
  children: [
2760
- l.createElement(le, {
2760
+ l.createElement(oe, {
2761
2761
  variant: "section",
2762
2762
  children: n
2763
2763
  }),
2764
2764
  Array(t).fill(1).map(
2765
- (i, s) => l.createElement(Pi, {
2765
+ (i, s) => l.createElement(Di, {
2766
2766
  selected: s < e,
2767
2767
  name: `rating-${s + 1}`,
2768
2768
  key: `${s}`,
2769
2769
  onChange: () => {
2770
- o(s + 1);
2770
+ a(s + 1);
2771
2771
  },
2772
2772
  type: "radio"
2773
2773
  })
2774
2774
  ),
2775
- l.createElement(Ke, {
2775
+ l.createElement(ke, {
2776
2776
  errors: r
2777
2777
  })
2778
2778
  ]
2779
- }), Di = S.div`
2779
+ }), Mi = v.div`
2780
2780
  width: 100%;
2781
- `, Li = S.textarea((e) => {
2782
- const t = he(e.colorVariant);
2781
+ `, Fi = v.textarea((e) => {
2782
+ const t = ce(e.colorVariant);
2783
2783
  return {
2784
2784
  border: "var(--border-width)solid #0000",
2785
2785
  appearance: "none",
@@ -2803,39 +2803,39 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2803
2803
  isolation: "isolate"
2804
2804
  }
2805
2805
  };
2806
- }), Mi = (e) => {
2806
+ }), oa = (e) => {
2807
2807
  const t = (r) => e.onChange(r.target.value);
2808
- return l.createElement(Di, {
2808
+ return l.createElement(Mi, {
2809
2809
  children: [
2810
- l.createElement(le, {
2810
+ l.createElement(oe, {
2811
2811
  variant: "section",
2812
2812
  children: e.label
2813
2813
  }),
2814
- l.createElement(Li, {
2814
+ l.createElement(Fi, {
2815
2815
  value: e.value ?? "",
2816
2816
  useThemeColors: e.colorVariant,
2817
2817
  rows: e.rows ?? 3,
2818
2818
  onChange: t
2819
2819
  }),
2820
- l.createElement(Ke, {
2820
+ l.createElement(ke, {
2821
2821
  errors: e.errors
2822
2822
  })
2823
2823
  ]
2824
2824
  });
2825
- }, Fi = S.div`
2825
+ }, zi = v.div`
2826
2826
  width: 100%;
2827
- `, xt = (e) => e != null, zi = (e, t) => ((n) => {
2827
+ `, Ct = (e) => e != null, Bi = (e, t) => ((n) => {
2828
2828
  if (!n) return e.default;
2829
- const o = n.find((i) => i.conditions.every((s) => {
2829
+ const a = n.find((i) => i.conditions.every((s) => {
2830
2830
  const d = t(s.fieldName);
2831
- if (!xt(d)) return !1;
2831
+ if (!Ct(d)) return !1;
2832
2832
  const u = [];
2833
- return xt(s.eq) ? s.eq === d ? u.push(!0) : u.push(!1) : xt(s.lessThan) ? s.lessThan > d ? u.push(!0) : u.push(!1) : xt(s.moreThan) && (s.moreThan < d ? u.push(!0) : u.push(!1)), u.every(Boolean);
2833
+ return Ct(s.eq) ? s.eq === d ? u.push(!0) : u.push(!1) : Ct(s.lessThan) ? s.lessThan > d ? u.push(!0) : u.push(!1) : Ct(s.moreThan) && (s.moreThan < d ? u.push(!0) : u.push(!1)), u.every(Boolean);
2834
2834
  }));
2835
- return (o == null ? void 0 : o.value) ?? e.default;
2836
- })(e.values), eo = (e) => {
2835
+ return (a == null ? void 0 : a.value) ?? e.default;
2836
+ })(e.values), ia = (e) => {
2837
2837
  const t = () => {
2838
- const r = (i) => e.setStateByKey(e.dataField, i), n = zi(e.fieldProps.label, e.getStateByKey), o = {
2838
+ const r = (i) => e.setStateByKey(e.dataField, i), n = Bi(e.fieldProps.label, e.getStateByKey), a = {
2839
2839
  formClientId: e.formClientId,
2840
2840
  label: n,
2841
2841
  errors: e.errors,
@@ -2846,73 +2846,73 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2846
2846
  switch (e.type) {
2847
2847
  case "matrix": {
2848
2848
  const i = e.fieldProps;
2849
- return l.createElement(pi, {
2849
+ return l.createElement(ra, {
2850
2850
  ...i,
2851
- ...o,
2851
+ ...a,
2852
2852
  max: 10
2853
2853
  });
2854
2854
  }
2855
2855
  case "radio-group": {
2856
2856
  const i = e.fieldProps;
2857
- return l.createElement(Si, {
2857
+ return l.createElement(na, {
2858
2858
  ...i,
2859
- ...o
2859
+ ...a
2860
2860
  });
2861
2861
  }
2862
2862
  case "checkbox-group": {
2863
2863
  const i = e.fieldProps;
2864
- return l.createElement(di, {
2864
+ return l.createElement(ta, {
2865
2865
  ...i,
2866
- ...o
2866
+ ...a
2867
2867
  });
2868
2868
  }
2869
2869
  case "range-slide": {
2870
2870
  const i = e.fieldProps;
2871
- return l.createElement(_i, {
2871
+ return l.createElement(ki, {
2872
2872
  ...i,
2873
- ...o
2873
+ ...a
2874
2874
  });
2875
2875
  }
2876
2876
  case "rating": {
2877
2877
  const i = e.fieldProps;
2878
- return l.createElement($i, {
2878
+ return l.createElement(aa, {
2879
2879
  ...i,
2880
- ...o
2880
+ ...a
2881
2881
  });
2882
2882
  }
2883
2883
  case "textarea": {
2884
2884
  const i = e.fieldProps;
2885
- return l.createElement(Mi, {
2885
+ return l.createElement(oa, {
2886
2886
  ...i,
2887
- ...o
2887
+ ...a
2888
2888
  });
2889
2889
  }
2890
2890
  default:
2891
2891
  return null;
2892
2892
  }
2893
2893
  };
2894
- return l.createElement(Fi, {
2894
+ return l.createElement(zi, {
2895
2895
  children: t()
2896
2896
  });
2897
- }, Bi = S.div({
2897
+ }, Ui = v.div({
2898
2898
  position: "relative",
2899
2899
  fontSize: "var(--font-size)"
2900
- }), Ui = S.div`
2900
+ }), Vi = v.div`
2901
2901
  display: flex;
2902
2902
  align-items: center;
2903
2903
  justify-content: space-between;
2904
2904
  margin-top: calc(var(--spacing) * 10);
2905
- `, to = (e) => {
2906
- const t = se(
2905
+ `, sa = (e) => {
2906
+ const t = le(
2907
2907
  () => Math.random().toString(36).substring(2, 10),
2908
2908
  []
2909
- ), [r, n] = l.useState(null), o = (d) => {
2909
+ ), [r, n] = l.useState(null), a = (d) => {
2910
2910
  n((u) => !u || u < d ? d : u);
2911
- }, i = Yn({
2911
+ }, i = qn({
2912
2912
  form: e.inlineForm.form,
2913
2913
  formId: e.formId,
2914
2914
  domainId: e.domainId
2915
- }), s = Jn({
2915
+ }), s = ea({
2916
2916
  domainId: e.domainId,
2917
2917
  formType: "inlineForm",
2918
2918
  stepsCount: i.steps.length,
@@ -2920,22 +2920,22 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2920
2920
  formId: e.formId,
2921
2921
  state: i.state
2922
2922
  });
2923
- return l.createElement(Bi, {
2923
+ return l.createElement(Ui, {
2924
2924
  children: [
2925
- e.inlineForm.config.formTitle && l.createElement(le, {
2925
+ e.inlineForm.config.formTitle && l.createElement(oe, {
2926
2926
  variant: "title",
2927
2927
  children: e.inlineForm.config.formTitle
2928
2928
  }),
2929
2929
  i.steps.map(
2930
2930
  (d, u) => {
2931
- var m;
2932
- return l.createElement(Gn, {
2933
- key: u + `${(m = d.meta) == null ? void 0 : m.name}`,
2931
+ var f;
2932
+ return l.createElement(jn, {
2933
+ key: u + `${(f = d.meta) == null ? void 0 : f.name}`,
2934
2934
  height: r,
2935
- onSetMaxHeight: o,
2935
+ onSetMaxHeight: a,
2936
2936
  isVisible: u === s.step,
2937
2937
  children: d.fields.map(
2938
- (p) => l.createElement(eo, {
2938
+ (p) => l.createElement(ia, {
2939
2939
  type: p.type,
2940
2940
  fieldProps: p,
2941
2941
  dataField: p.dataField,
@@ -2949,18 +2949,18 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2949
2949
  });
2950
2950
  }
2951
2951
  ),
2952
- l.createElement(Ui, {
2952
+ l.createElement(Vi, {
2953
2953
  children: [
2954
- l.createElement(Ye, {
2954
+ l.createElement(Ke, {
2955
2955
  children: "Back",
2956
2956
  disabled: s.step === 0,
2957
2957
  onClick: s.onBack
2958
2958
  }),
2959
- l.createElement(jn, {
2959
+ l.createElement(Yn, {
2960
2960
  steps: i.steps,
2961
2961
  currentStepIndex: s.step
2962
2962
  }),
2963
- l.createElement(Ye, {
2963
+ l.createElement(Ke, {
2964
2964
  children: "Continue",
2965
2965
  onClick: s.onContinue
2966
2966
  })
@@ -2968,7 +2968,7 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2968
2968
  })
2969
2969
  ]
2970
2970
  });
2971
- }, Wi = S.div((e) => ({
2971
+ }, Wi = v.div((e) => ({
2972
2972
  backgroundColor: "var(--color-base-100)",
2973
2973
  borderTopLeftRadius: "var(--modal-tl,var(--radius-box))",
2974
2974
  borderTopRightRadius: "var(--modal-tr,var(--radius-box))",
@@ -2991,7 +2991,7 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2991
2991
  maxWidth: "initial",
2992
2992
  width: "auto"
2993
2993
  }
2994
- })), Hi = S.div(() => ({})), Vi = S.dialog(({ $visible: e }) => ({
2994
+ })), Hi = v.div(() => ({})), Gi = v.dialog(({ $visible: e }) => ({
2995
2995
  pointerEvents: e ? "auto" : "none",
2996
2996
  visibility: e ? "visible" : "hidden",
2997
2997
  width: "100%",
@@ -3013,20 +3013,20 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
3013
3013
  top: 0,
3014
3014
  border: 0,
3015
3015
  outline: 0
3016
- })), Gi = (e) => {
3017
- const t = yn(null), r = Math.random().toString(36).substring(2, 16), n = xe(
3016
+ })), ji = (e) => {
3017
+ const t = vn(null), r = Math.random().toString(36).substring(2, 16), n = Ce(
3018
3018
  (i) => {
3019
3019
  i.target === t.current && e.onClose(), i.preventDefault(), i.stopPropagation();
3020
3020
  },
3021
3021
  [e]
3022
- ), o = xe((i) => {
3022
+ ), a = Ce((i) => {
3023
3023
  i.key === "Escape" && e.onClose(), i.preventDefault();
3024
3024
  }, []);
3025
- return We(() => {
3025
+ return He(() => {
3026
3026
  t.current && e.isOpen ? t.current.show() : t.current && !e.isOpen && t.current.close();
3027
- }, [t, e.isOpen]), We(() => (document.addEventListener("keyup", o), () => {
3028
- document.removeEventListener("keyup", o);
3029
- }), []), l.createElement(Vi, {
3027
+ }, [t, e.isOpen]), He(() => (document.addEventListener("keyup", a), () => {
3028
+ document.removeEventListener("keyup", a);
3029
+ }), []), l.createElement(Gi, {
3030
3030
  $visible: e.isOpen,
3031
3031
  onClick: n,
3032
3032
  ref: t,
@@ -3034,7 +3034,7 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
3034
3034
  children: l.createElement(Wi, {
3035
3035
  $visible: e.isOpen,
3036
3036
  children: [
3037
- l.createElement(le, {
3037
+ l.createElement(oe, {
3038
3038
  children: e.heading,
3039
3039
  variant: "title"
3040
3040
  }),
@@ -3045,36 +3045,36 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
3045
3045
  ]
3046
3046
  })
3047
3047
  });
3048
- }, ji = S.div`
3048
+ }, Yi = v.div`
3049
3049
  display: flex;
3050
3050
  align-items: center;
3051
3051
  justify-content: space-between;
3052
3052
  margin-top: calc(var(--spacing) * 10);
3053
- `, Yi = S(Ye)`
3053
+ `, qi = v(Ke)`
3054
3054
  position: fixed;
3055
3055
  width: fit-content;
3056
3056
  height: fit-content;
3057
3057
  transform: rotate(-90deg) translateY(calc(100% - 15px));
3058
3058
  padding: 10px 20px 30px 20px;
3059
3059
  margin: auto;
3060
- left: ${(e) => ct(e.$left) ? `${e.$left}px` : null};
3061
- right: ${(e) => ct(e.$right) ? `${e.$right}px` : null};
3062
- top: ${(e) => ct(e.$top) ? `${e.$top}px` : null};
3063
- bottom: ${(e) => ct(e.$bottom) ? `${e.$bottom}px` : null};
3060
+ left: ${(e) => ut(e.$left) ? `${e.$left}px` : null};
3061
+ right: ${(e) => ut(e.$right) ? `${e.$right}px` : null};
3062
+ top: ${(e) => ut(e.$top) ? `${e.$top}px` : null};
3063
+ bottom: ${(e) => ut(e.$bottom) ? `${e.$bottom}px` : null};
3064
3064
  &:active {
3065
3065
  transform: rotate(-90deg) translateY(calc(100% - 18px));
3066
3066
  }
3067
- `, ro = (e) => {
3068
- const [t, r] = l.useState(!1), [n, o] = l.useState(null), i = se(
3067
+ `, la = (e) => {
3068
+ const [t, r] = l.useState(!1), [n, a] = l.useState(null), i = le(
3069
3069
  () => Math.random().toString(36).substring(2, 10),
3070
3070
  []
3071
- ), s = (m) => {
3072
- o((p) => !p || p < m ? m : p);
3073
- }, d = Yn({
3071
+ ), s = (f) => {
3072
+ a((p) => !p || p < f ? f : p);
3073
+ }, d = qn({
3074
3074
  form: e.popupForm.form,
3075
3075
  formId: e.formId,
3076
3076
  domainId: e.domainId
3077
- }), u = Jn({
3077
+ }), u = ea({
3078
3078
  domainId: e.domainId,
3079
3079
  formType: "inlineForm",
3080
3080
  stepsCount: d.steps.length,
@@ -3082,9 +3082,9 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
3082
3082
  formId: e.formId,
3083
3083
  state: d.state
3084
3084
  });
3085
- return l.createElement(po, {
3085
+ return l.createElement(Ea, {
3086
3086
  children: [
3087
- l.createElement(Yi, {
3087
+ l.createElement(qi, {
3088
3088
  children: e.popupForm.config.buttonText,
3089
3089
  onClick: () => r(!0),
3090
3090
  $left: e.popupForm.styles.left ?? null,
@@ -3092,43 +3092,43 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
3092
3092
  $top: e.popupForm.styles.top ?? null,
3093
3093
  $bottom: e.popupForm.styles.bottom ?? null
3094
3094
  }),
3095
- l.createElement(Gi, {
3095
+ l.createElement(ji, {
3096
3096
  onClose: () => r(!1),
3097
3097
  heading: e.popupForm.config.formTitle,
3098
3098
  isOpen: t,
3099
- footer: l.createElement(ji, {
3099
+ footer: l.createElement(Yi, {
3100
3100
  children: [
3101
- l.createElement(Ye, {
3101
+ l.createElement(Ke, {
3102
3102
  children: "Back",
3103
3103
  disabled: u.step === 0,
3104
3104
  onClick: u.onBack
3105
3105
  }),
3106
- l.createElement(jn, {
3106
+ l.createElement(Yn, {
3107
3107
  steps: d.steps,
3108
3108
  currentStepIndex: u.step
3109
3109
  }),
3110
- l.createElement(Ye, {
3110
+ l.createElement(Ke, {
3111
3111
  children: "Continue",
3112
3112
  onClick: u.onContinue
3113
3113
  })
3114
3114
  ]
3115
3115
  }),
3116
3116
  children: d.steps.map(
3117
- (m, p) => {
3117
+ (f, p) => {
3118
3118
  var T;
3119
- return l.createElement(Gn, {
3120
- key: p + `${(T = m.meta) == null ? void 0 : T.name}`,
3119
+ return l.createElement(jn, {
3120
+ key: p + `${(T = f.meta) == null ? void 0 : T.name}`,
3121
3121
  height: n,
3122
3122
  onSetMaxHeight: s,
3123
3123
  isVisible: p === u.step,
3124
- children: m.fields.map(
3125
- (w) => l.createElement(eo, {
3124
+ children: f.fields.map(
3125
+ (w) => l.createElement(ia, {
3126
3126
  type: w.type,
3127
3127
  fieldProps: w,
3128
3128
  formClientId: i,
3129
3129
  dataField: w.dataField,
3130
3130
  onContinue: u.onContinue,
3131
- errors: u.errors.filter((v) => v.field === w.dataField),
3131
+ errors: u.errors.filter((E) => E.field === w.dataField),
3132
3132
  getStateByKey: d.getStateByKey,
3133
3133
  setStateByKey: d.setStateByKey
3134
3134
  })
@@ -3157,32 +3157,97 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
3157
3157
  // ),
3158
3158
  ]
3159
3159
  });
3160
- }, no = (e) => {
3160
+ }, ca = (e) => {
3161
3161
  e.locale;
3162
- let { data: t, loading: r, error: n } = Aa(
3163
- () => Ca({
3162
+ let { data: t, loading: r, error: n } = Oo(
3163
+ () => Po({
3164
3164
  formId: e.formId
3165
3165
  })
3166
3166
  );
3167
- const o = se(() => t != null && t.inlineForm ? l.createElement(to, {
3167
+ const a = le(() => t != null && t.inlineForm ? l.createElement(sa, {
3168
3168
  key: `inline-form-${e.formId}`,
3169
3169
  formId: e.formId,
3170
3170
  domainId: t.domainId,
3171
3171
  formTheme: t.attributes.theme,
3172
3172
  inlineForm: t.inlineForm
3173
- }) : null, [t == null ? void 0 : t.attributes.theme, t == null ? void 0 : t.domainId, t == null ? void 0 : t.inlineForm, e.formId]), i = se(() => t != null && t.popupForm ? l.createElement(ro, {
3173
+ }) : null, [t == null ? void 0 : t.attributes.theme, t == null ? void 0 : t.domainId, t == null ? void 0 : t.inlineForm, e.formId]), i = le(() => t != null && t.popupForm ? l.createElement(la, {
3174
3174
  key: `popup-form-${e.formId}`,
3175
3175
  formId: e.formId,
3176
3176
  domainId: t.domainId,
3177
3177
  formTheme: t.attributes.theme,
3178
3178
  popupForm: t.popupForm
3179
3179
  }) : null, [t == null ? void 0 : t.attributes.theme, t == null ? void 0 : t.domainId, t == null ? void 0 : t.inlineForm, e.formId]);
3180
- return !t && r ? "Loading..." : !t || n ? n ? n.message : "Unknown error" : l.createElement(xr, {
3180
+ return !t && r ? "Loading..." : !t || n ? n ? n.message : "Unknown error" : l.createElement(pe, {
3181
3181
  theme: t.attributes.theme,
3182
3182
  selectedVariant: t.attributes.variant,
3183
- children: [o, i]
3183
+ children: [a, i]
3184
3184
  });
3185
- }, Zi = (e) => {
3185
+ }, yn = v.option(() => ({
3186
+ borderRadius: "var(--radius-field)",
3187
+ whiteSpace: "normal",
3188
+ paddingBlock: ".375rem",
3189
+ paddingInline: ".75rem",
3190
+ transitionProperty: "color,background-color",
3191
+ transitionDuration: ".2s",
3192
+ transitionTimingFunction: "cubic-bezier(0,0,.2,1)"
3193
+ })), Ki = v.select((e) => ({
3194
+ border: `var(--border-width)solid ${ce(e.colorVariant)}`,
3195
+ backgroundColor: "var(--color-base-100)",
3196
+ verticalAlign: "middle",
3197
+ width: "clamp(3rem,30rem,100%)",
3198
+ height: "calc(var(--size-field,.25rem)*10)",
3199
+ touchAction: "manipulation",
3200
+ whiteSpace: "nowrap",
3201
+ textOverflow: "ellipsis",
3202
+ borderStartStartRadius: "var(--radius-field)",
3203
+ borderStartEndRadius: "var(--radius-field)",
3204
+ borderEndEndRadius: "var(--radius-field)",
3205
+ borderEndStartRadius: "var(--radius-field)",
3206
+ flexShrink: "1",
3207
+ alignItems: "center",
3208
+ gap: ".375rem",
3209
+ paddingInline: ".75rem 1.75rem",
3210
+ fontSize: ".875rem",
3211
+ display: "inline-flex",
3212
+ position: "relative",
3213
+ overflow: "hidden"
3214
+ })), Xi = (e) => {
3215
+ const t = (r) => e.onChange(r.target.value);
3216
+ return l.createElement("div", {
3217
+ children: [
3218
+ l.createElement(oe, {
3219
+ children: e.label,
3220
+ variant: "section"
3221
+ }),
3222
+ l.createElement(Ki, {
3223
+ colorVariant: e.colorVariant,
3224
+ value: e.value ?? null,
3225
+ defaultChecked: !1,
3226
+ defaultValue: null,
3227
+ onChange: t,
3228
+ children: [
3229
+ l.createElement(yn, {
3230
+ value: "",
3231
+ selected: !e.value,
3232
+ children: "Select an option",
3233
+ key: ""
3234
+ }),
3235
+ e.options.map(
3236
+ (r) => l.createElement(yn, {
3237
+ value: r.id,
3238
+ selected: r.id === e.value,
3239
+ children: r.label,
3240
+ key: r.id
3241
+ })
3242
+ )
3243
+ ]
3244
+ }),
3245
+ l.createElement(ke, {
3246
+ errors: e.errors
3247
+ })
3248
+ ]
3249
+ });
3250
+ }, es = (e) => {
3186
3251
  if (!e) {
3187
3252
  console.error("options must be provided. Feedback module deactivated");
3188
3253
  return;
@@ -3191,27 +3256,59 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
3191
3256
  console.error("formId must be provided. Feedback module deactivated");
3192
3257
  return;
3193
3258
  }
3194
- const t = yo.createRoot(e.container || document);
3259
+ const t = wa.createRoot(e.container || document);
3195
3260
  typeof window < "u" && t.render(
3196
- l.createElement(no, {
3261
+ l.createElement(ca, {
3197
3262
  formId: e.formId
3198
3263
  })
3199
3264
  );
3200
- }, qi = (e) => e ? e.formId ? typeof window > "u" ? null : l.createElement(no, {
3265
+ }, Zi = (e) => e ? e.formId ? typeof window > "u" ? null : l.createElement(ca, {
3201
3266
  formId: e.formId
3202
- }) : (console.error("formId must be provided. Feedback module deactivated"), null) : (console.error("options must be provided. Feedback module deactivated"), null), Qi = (e) => qi(e), Ji = (e) => l.createElement(xr, {
3267
+ }) : (console.error("formId must be provided. Feedback module deactivated"), null) : (console.error("options must be provided. Feedback module deactivated"), null), ts = (e) => Zi(e), rs = (e) => l.createElement(pe, {
3203
3268
  theme: e.formTheme,
3204
3269
  selectedVariant: e.variant,
3205
- children: [l.createElement(to, e)]
3206
- }), es = (e) => l.createElement(xr, {
3270
+ children: [l.createElement(sa, e)]
3271
+ }), ns = (e) => l.createElement(pe, {
3207
3272
  theme: e.formTheme,
3208
3273
  selectedVariant: e.variant,
3209
- children: [l.createElement(ro, e)]
3210
- });
3274
+ children: [l.createElement(la, e)]
3275
+ }), as = {
3276
+ Checkbox: (e) => l.createElement(pe, {
3277
+ theme: e.formTheme,
3278
+ selectedVariant: e.formVariant,
3279
+ children: [l.createElement(ta, e.cmpProps)]
3280
+ }),
3281
+ QuestionMatrix: (e) => l.createElement(pe, {
3282
+ theme: e.formTheme,
3283
+ selectedVariant: e.formVariant,
3284
+ children: [l.createElement(ra, e.cmpProps)]
3285
+ }),
3286
+ Radio: (e) => l.createElement(pe, {
3287
+ theme: e.formTheme,
3288
+ selectedVariant: e.formVariant,
3289
+ children: [l.createElement(na, e.cmpProps)]
3290
+ }),
3291
+ Rating: (e) => l.createElement(pe, {
3292
+ theme: e.formTheme,
3293
+ selectedVariant: e.formVariant,
3294
+ children: [l.createElement(aa, e.cmpProps)]
3295
+ }),
3296
+ Select: (e) => l.createElement(pe, {
3297
+ theme: e.formTheme,
3298
+ selectedVariant: e.formVariant,
3299
+ children: [l.createElement(Xi, e.cmpProps)]
3300
+ }),
3301
+ Textarea: (e) => l.createElement(pe, {
3302
+ theme: e.formTheme,
3303
+ selectedVariant: e.formVariant,
3304
+ children: [l.createElement(oa, e.cmpProps)]
3305
+ })
3306
+ };
3211
3307
  export {
3212
- Qi as FeedbackModule,
3213
- Ji as PreviewInPlaceForm,
3214
- es as PreviewPopupForm,
3215
- Zi as initiateFeedbackModule,
3216
- qi as renderFeedbackModule
3308
+ ts as FeedbackModule,
3309
+ rs as PreviewInPlaceForm,
3310
+ ns as PreviewPopupForm,
3311
+ as as SurveyFormComponents,
3312
+ es as initiateFeedbackModule,
3313
+ Zi as renderFeedbackModule
3217
3314
  };