altcha 2.0.3 → 2.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,18 +1,18 @@
1
- var $n = Object.defineProperty;
2
- var Va = (e) => {
1
+ var Dn = Object.defineProperty;
2
+ var za = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
- var Sn = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
6
- var Ae = (e, t, r) => Sn(e, typeof t != "symbol" ? t + "" : t, r), Ra = (e, t, r) => t.has(e) || Va("Cannot " + r);
7
- var se = (e, t, r) => (Ra(e, t, "read from private field"), r ? r.call(e) : t.get(e)), wr = (e, t, r) => t.has(e) ? Va("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Cr = (e, t, r, i) => (Ra(e, t, "write to private field"), i ? i.call(e, r) : t.set(e, r), r);
8
- var Ga = Array.isArray, Pn = Array.prototype.indexOf, zn = Array.from, Xt = Object.keys, St = Object.defineProperty, Qe = Object.getOwnPropertyDescriptor, Nn = Object.getOwnPropertyDescriptors, Dn = Object.prototype, qn = Array.prototype, Ya = Object.getPrototypeOf, ja = Object.isExtensible;
9
- const bt = () => {
5
+ var qn = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
6
+ var ke = (e, t, r) => qn(e, typeof t != "symbol" ? t + "" : t, r), Na = (e, t, r) => t.has(e) || za("Cannot " + r);
7
+ var se = (e, t, r) => (Na(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Ir = (e, t, r) => t.has(e) ? za("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Vr = (e, t, r, i) => (Na(e, t, "write to private field"), i ? i.call(e, r) : t.set(e, r), r);
8
+ var Qa = Array.isArray, On = Array.prototype.indexOf, Hn = Array.from, ar = Object.keys, Dt = Object.defineProperty, rt = Object.getOwnPropertyDescriptor, Fn = Object.getOwnPropertyDescriptors, Mn = Object.prototype, Bn = Array.prototype, ei = Object.getPrototypeOf, Da = Object.isExtensible;
9
+ const yt = () => {
10
10
  };
11
- function Wa(e) {
11
+ function ti(e) {
12
12
  for (var t = 0; t < e.length; t++)
13
13
  e[t]();
14
14
  }
15
- function On(e, t, r = !1) {
15
+ function Un(e, t, r = !1) {
16
16
  return e === void 0 ? r ? (
17
17
  /** @type {() => V} */
18
18
  t()
@@ -21,70 +21,70 @@ function On(e, t, r = !1) {
21
21
  t
22
22
  ) : e;
23
23
  }
24
- const ke = 2, Ka = 4, nr = 8, zr = 16, Pe = 32, rt = 64, Qt = 128, he = 256, er = 512, fe = 1024, Se = 2048, at = 4096, mt = 8192, or = 16384, Hn = 32768, Nr = 65536, Fn = 1 << 19, Ja = 1 << 20, Tr = 1 << 21, jt = Symbol("$state"), Xa = Symbol("legacy props"), Mn = Symbol(""), Bn = typeof requestIdleCallback > "u" ? (e) => setTimeout(e, 1) : requestIdleCallback;
25
- let Pt = [], zt = [];
26
- function Qa() {
27
- var e = Pt;
28
- Pt = [], Wa(e);
24
+ const _e = 2, ri = 4, fr = 8, Fr = 16, Ne = 32, nt = 64, ir = 128, ge = 256, nr = 512, fe = 1024, ze = 2048, ot = 4096, kt = 8192, ur = 16384, Zn = 32768, Mr = 65536, Gn = 1 << 19, ai = 1 << 20, Sr = 1 << 21, zt = Symbol("$state"), ii = Symbol("legacy props"), Yn = Symbol(""), Wn = typeof requestIdleCallback > "u" ? (e) => setTimeout(e, 1) : requestIdleCallback;
25
+ let qt = [], Ot = [];
26
+ function ni() {
27
+ var e = qt;
28
+ qt = [], ti(e);
29
29
  }
30
- function ei() {
31
- var e = zt;
32
- zt = [], Wa(e);
30
+ function oi() {
31
+ var e = Ot;
32
+ Ot = [], ti(e);
33
33
  }
34
- function Dr(e) {
35
- Pt.length === 0 && queueMicrotask(Qa), Pt.push(e);
34
+ function Br(e) {
35
+ qt.length === 0 && queueMicrotask(ni), qt.push(e);
36
36
  }
37
- function Un(e) {
38
- zt.length === 0 && Bn(ei), zt.push(e);
37
+ function Kn(e) {
38
+ Ot.length === 0 && Wn(oi), Ot.push(e);
39
39
  }
40
- function Zn() {
41
- Pt.length > 0 && Qa(), zt.length > 0 && ei();
40
+ function Jn() {
41
+ qt.length > 0 && ni(), Ot.length > 0 && oi();
42
42
  }
43
- function ti(e) {
43
+ function li(e) {
44
44
  return e === this.v;
45
45
  }
46
- function ri(e, t) {
46
+ function si(e, t) {
47
47
  return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
48
48
  }
49
- function qr(e) {
50
- return !ri(e, this.v);
49
+ function Ur(e) {
50
+ return !si(e, this.v);
51
51
  }
52
- function Gn(e) {
52
+ function Xn(e) {
53
53
  throw new Error("https://svelte.dev/e/effect_in_teardown");
54
54
  }
55
- function Yn() {
55
+ function Qn() {
56
56
  throw new Error("https://svelte.dev/e/effect_in_unowned_derived");
57
57
  }
58
- function Wn(e) {
58
+ function eo(e) {
59
59
  throw new Error("https://svelte.dev/e/effect_orphan");
60
60
  }
61
- function Kn() {
61
+ function to() {
62
62
  throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
63
63
  }
64
- function Jn() {
64
+ function ro() {
65
65
  throw new Error("https://svelte.dev/e/hydration_failed");
66
66
  }
67
- function Xn(e) {
67
+ function ao(e) {
68
68
  throw new Error("https://svelte.dev/e/props_invalid_value");
69
69
  }
70
- function Qn() {
70
+ function io() {
71
71
  throw new Error("https://svelte.dev/e/state_descriptors_fixed");
72
72
  }
73
- function eo() {
73
+ function no() {
74
74
  throw new Error("https://svelte.dev/e/state_prototype_fixed");
75
75
  }
76
- function to() {
76
+ function oo() {
77
77
  throw new Error("https://svelte.dev/e/state_unsafe_mutation");
78
78
  }
79
- const ro = 1, ao = 4, io = 8, no = 16, oo = 1, lo = 2, Or = "[", ai = "[!", ii = "]", pt = {}, ue = Symbol(), so = "http://www.w3.org/1999/xhtml";
80
- function ni(e) {
79
+ const lo = 1, so = 4, co = 8, fo = 16, uo = 1, ho = 2, Zr = "[", ci = "[!", fi = "]", At = {}, ce = Symbol(), go = "http://www.w3.org/1999/xhtml";
80
+ function ui(e) {
81
81
  throw new Error("https://svelte.dev/e/lifecycle_outside_component");
82
82
  }
83
83
  let ie = null;
84
- function $a(e) {
84
+ function qa(e) {
85
85
  ie = e;
86
86
  }
87
- function oi(e, t = !1, r) {
87
+ function di(e, t = !1, r) {
88
88
  var i = ie = {
89
89
  p: ie,
90
90
  c: null,
@@ -95,25 +95,25 @@ function oi(e, t = !1, r) {
95
95
  x: null,
96
96
  l: null
97
97
  };
98
- Mr(() => {
98
+ Wr(() => {
99
99
  i.d = !0;
100
100
  });
101
101
  }
102
- function li(e) {
102
+ function hi(e) {
103
103
  const t = ie;
104
104
  if (t !== null) {
105
105
  e !== void 0 && (t.x = e);
106
- const u = t.e;
107
- if (u !== null) {
106
+ const c = t.e;
107
+ if (c !== null) {
108
108
  var r = $, i = j;
109
109
  t.e = null;
110
110
  try {
111
- for (var o = 0; o < u.length; o++) {
112
- var n = u[o];
113
- Ue(n.effect), Ve(n.reaction), Br(n.fn);
111
+ for (var o = 0; o < c.length; o++) {
112
+ var n = c[o];
113
+ Ge(n.effect), je(n.reaction), Kr(n.fn);
114
114
  }
115
115
  } finally {
116
- Ue(r), Ve(i);
116
+ Ge(r), je(i);
117
117
  }
118
118
  }
119
119
  ie = t.p, t.m = !0;
@@ -121,155 +121,155 @@ function li(e) {
121
121
  return e || /** @type {T} */
122
122
  {};
123
123
  }
124
- function si() {
124
+ function gi() {
125
125
  return !0;
126
126
  }
127
- function Fe(e) {
128
- if (typeof e != "object" || e === null || jt in e)
127
+ function Be(e) {
128
+ if (typeof e != "object" || e === null || zt in e)
129
129
  return e;
130
- const t = Ya(e);
131
- if (t !== Dn && t !== qn)
130
+ const t = ei(e);
131
+ if (t !== Mn && t !== Bn)
132
132
  return e;
133
- var r = /* @__PURE__ */ new Map(), i = Ga(e), o = /* @__PURE__ */ D(0), n = j, u = (s) => {
134
- var c = j;
135
- Ve(n);
133
+ var r = /* @__PURE__ */ new Map(), i = Qa(e), o = /* @__PURE__ */ z(0), n = j, c = (s) => {
134
+ var u = j;
135
+ je(n);
136
136
  var d = s();
137
- return Ve(c), d;
137
+ return je(u), d;
138
138
  };
139
- return i && r.set("length", /* @__PURE__ */ D(
139
+ return i && r.set("length", /* @__PURE__ */ z(
140
140
  /** @type {any[]} */
141
141
  e.length
142
142
  )), new Proxy(
143
143
  /** @type {any} */
144
144
  e,
145
145
  {
146
- defineProperty(s, c, d) {
147
- (!("value" in d) || d.configurable === !1 || d.enumerable === !1 || d.writable === !1) && Qn();
148
- var p = r.get(c);
149
- return p === void 0 ? (p = u(() => /* @__PURE__ */ D(d.value)), r.set(c, p)) : y(
150
- p,
151
- u(() => Fe(d.value))
146
+ defineProperty(s, u, d) {
147
+ (!("value" in d) || d.configurable === !1 || d.enumerable === !1 || d.writable === !1) && io();
148
+ var m = r.get(u);
149
+ return m === void 0 ? (m = c(() => /* @__PURE__ */ z(d.value)), r.set(u, m)) : A(
150
+ m,
151
+ c(() => Be(d.value))
152
152
  ), !0;
153
153
  },
154
- deleteProperty(s, c) {
155
- var d = r.get(c);
154
+ deleteProperty(s, u) {
155
+ var d = r.get(u);
156
156
  if (d === void 0)
157
- c in s && (r.set(
158
- c,
159
- u(() => /* @__PURE__ */ D(ue))
160
- ), Lr(o));
157
+ u in s && (r.set(
158
+ u,
159
+ c(() => /* @__PURE__ */ z(ce))
160
+ ), Rr(o));
161
161
  else {
162
- if (i && typeof c == "string") {
163
- var p = (
162
+ if (i && typeof u == "string") {
163
+ var m = (
164
164
  /** @type {Source<number>} */
165
165
  r.get("length")
166
- ), h = Number(c);
167
- Number.isInteger(h) && h < p.v && y(p, h);
166
+ ), h = Number(u);
167
+ Number.isInteger(h) && h < m.v && A(m, h);
168
168
  }
169
- y(d, ue), Lr(o);
169
+ A(d, ce), Rr(o);
170
170
  }
171
171
  return !0;
172
172
  },
173
- get(s, c, d) {
173
+ get(s, u, d) {
174
174
  var k;
175
- if (c === jt)
175
+ if (u === zt)
176
176
  return e;
177
- var p = r.get(c), h = c in s;
178
- if (p === void 0 && (!h || (k = Qe(s, c)) != null && k.writable) && (p = u(() => /* @__PURE__ */ D(Fe(h ? s[c] : ue))), r.set(c, p)), p !== void 0) {
179
- var v = l(p);
180
- return v === ue ? void 0 : v;
177
+ var m = r.get(u), h = u in s;
178
+ if (m === void 0 && (!h || (k = rt(s, u)) != null && k.writable) && (m = c(() => /* @__PURE__ */ z(Be(h ? s[u] : ce))), r.set(u, m)), m !== void 0) {
179
+ var b = l(m);
180
+ return b === ce ? void 0 : b;
181
181
  }
182
- return Reflect.get(s, c, d);
182
+ return Reflect.get(s, u, d);
183
183
  },
184
- getOwnPropertyDescriptor(s, c) {
185
- var d = Reflect.getOwnPropertyDescriptor(s, c);
184
+ getOwnPropertyDescriptor(s, u) {
185
+ var d = Reflect.getOwnPropertyDescriptor(s, u);
186
186
  if (d && "value" in d) {
187
- var p = r.get(c);
188
- p && (d.value = l(p));
187
+ var m = r.get(u);
188
+ m && (d.value = l(m));
189
189
  } else if (d === void 0) {
190
- var h = r.get(c), v = h == null ? void 0 : h.v;
191
- if (h !== void 0 && v !== ue)
190
+ var h = r.get(u), b = h == null ? void 0 : h.v;
191
+ if (h !== void 0 && b !== ce)
192
192
  return {
193
193
  enumerable: !0,
194
194
  configurable: !0,
195
- value: v,
195
+ value: b,
196
196
  writable: !0
197
197
  };
198
198
  }
199
199
  return d;
200
200
  },
201
- has(s, c) {
202
- var v;
203
- if (c === jt)
201
+ has(s, u) {
202
+ var b;
203
+ if (u === zt)
204
204
  return !0;
205
- var d = r.get(c), p = d !== void 0 && d.v !== ue || Reflect.has(s, c);
206
- if (d !== void 0 || $ !== null && (!p || (v = Qe(s, c)) != null && v.writable)) {
207
- d === void 0 && (d = u(() => /* @__PURE__ */ D(p ? Fe(s[c]) : ue)), r.set(c, d));
205
+ var d = r.get(u), m = d !== void 0 && d.v !== ce || Reflect.has(s, u);
206
+ if (d !== void 0 || $ !== null && (!m || (b = rt(s, u)) != null && b.writable)) {
207
+ d === void 0 && (d = c(() => /* @__PURE__ */ z(m ? Be(s[u]) : ce)), r.set(u, d));
208
208
  var h = l(d);
209
- if (h === ue)
209
+ if (h === ce)
210
210
  return !1;
211
211
  }
212
- return p;
212
+ return m;
213
213
  },
214
- set(s, c, d, p) {
215
- var K;
216
- var h = r.get(c), v = c in s;
217
- if (i && c === "length")
214
+ set(s, u, d, m) {
215
+ var J;
216
+ var h = r.get(u), b = u in s;
217
+ if (i && u === "length")
218
218
  for (var k = d; k < /** @type {Source<number>} */
219
219
  h.v; k += 1) {
220
220
  var V = r.get(k + "");
221
- V !== void 0 ? y(V, ue) : k in s && (V = u(() => /* @__PURE__ */ D(ue)), r.set(k + "", V));
221
+ V !== void 0 ? A(V, ce) : k in s && (V = c(() => /* @__PURE__ */ z(ce)), r.set(k + "", V));
222
222
  }
223
- h === void 0 ? (!v || (K = Qe(s, c)) != null && K.writable) && (h = u(() => /* @__PURE__ */ D(void 0)), y(
223
+ h === void 0 ? (!b || (J = rt(s, u)) != null && J.writable) && (h = c(() => /* @__PURE__ */ z(void 0)), A(
224
224
  h,
225
- u(() => Fe(d))
226
- ), r.set(c, h)) : (v = h.v !== ue, y(
225
+ c(() => Be(d))
226
+ ), r.set(u, h)) : (b = h.v !== ce, A(
227
227
  h,
228
- u(() => Fe(d))
228
+ c(() => Be(d))
229
229
  ));
230
- var _ = Reflect.getOwnPropertyDescriptor(s, c);
231
- if (_ != null && _.set && _.set.call(p, d), !v) {
232
- if (i && typeof c == "string") {
230
+ var w = Reflect.getOwnPropertyDescriptor(s, u);
231
+ if (w != null && w.set && w.set.call(m, d), !b) {
232
+ if (i && typeof u == "string") {
233
233
  var q = (
234
234
  /** @type {Source<number>} */
235
235
  r.get("length")
236
- ), ce = Number(c);
237
- Number.isInteger(ce) && ce >= q.v && y(q, ce + 1);
236
+ ), ue = Number(u);
237
+ Number.isInteger(ue) && ue >= q.v && A(q, ue + 1);
238
238
  }
239
- Lr(o);
239
+ Rr(o);
240
240
  }
241
241
  return !0;
242
242
  },
243
243
  ownKeys(s) {
244
244
  l(o);
245
- var c = Reflect.ownKeys(s).filter((h) => {
246
- var v = r.get(h);
247
- return v === void 0 || v.v !== ue;
245
+ var u = Reflect.ownKeys(s).filter((h) => {
246
+ var b = r.get(h);
247
+ return b === void 0 || b.v !== ce;
248
248
  });
249
- for (var [d, p] of r)
250
- p.v !== ue && !(d in s) && c.push(d);
251
- return c;
249
+ for (var [d, m] of r)
250
+ m.v !== ce && !(d in s) && u.push(d);
251
+ return u;
252
252
  },
253
253
  setPrototypeOf() {
254
- eo();
254
+ no();
255
255
  }
256
256
  }
257
257
  );
258
258
  }
259
- function Lr(e, t = 1) {
260
- y(e, e.v + t);
259
+ function Rr(e, t = 1) {
260
+ A(e, e.v + t);
261
261
  }
262
262
  // @__NO_SIDE_EFFECTS__
263
- function lr(e) {
264
- var t = ke | Se, r = j !== null && (j.f & ke) !== 0 ? (
263
+ function dr(e) {
264
+ var t = _e | ze, r = j !== null && (j.f & _e) !== 0 ? (
265
265
  /** @type {Derived} */
266
266
  j
267
267
  ) : null;
268
- return $ === null || r !== null && (r.f & he) !== 0 ? t |= he : $.f |= Ja, {
268
+ return $ === null || r !== null && (r.f & ge) !== 0 ? t |= ge : $.f |= ai, {
269
269
  ctx: ie,
270
270
  deps: null,
271
271
  effects: null,
272
- equals: ti,
272
+ equals: li,
273
273
  f: t,
274
274
  fn: e,
275
275
  reactions: null,
@@ -283,29 +283,29 @@ function lr(e) {
283
283
  };
284
284
  }
285
285
  // @__NO_SIDE_EFFECTS__
286
- function It(e) {
287
- const t = /* @__PURE__ */ lr(e);
288
- return pi(t), t;
286
+ function $t(e) {
287
+ const t = /* @__PURE__ */ dr(e);
288
+ return wi(t), t;
289
289
  }
290
290
  // @__NO_SIDE_EFFECTS__
291
- function uo(e) {
292
- const t = /* @__PURE__ */ lr(e);
293
- return t.equals = qr, t;
291
+ function vo(e) {
292
+ const t = /* @__PURE__ */ dr(e);
293
+ return t.equals = Ur, t;
294
294
  }
295
- function ui(e) {
295
+ function vi(e) {
296
296
  var t = e.effects;
297
297
  if (t !== null) {
298
298
  e.effects = null;
299
299
  for (var r = 0; r < t.length; r += 1)
300
- Ze(
300
+ Ye(
301
301
  /** @type {Effect} */
302
302
  t[r]
303
303
  );
304
304
  }
305
305
  }
306
- function fo(e) {
306
+ function bo(e) {
307
307
  for (var t = e.parent; t !== null; ) {
308
- if ((t.f & ke) === 0)
308
+ if ((t.f & _e) === 0)
309
309
  return (
310
310
  /** @type {Effect} */
311
311
  t
@@ -314,425 +314,425 @@ function fo(e) {
314
314
  }
315
315
  return null;
316
316
  }
317
- function fi(e) {
317
+ function bi(e) {
318
318
  var t, r = $;
319
- Ue(fo(e));
319
+ Ge(bo(e));
320
320
  try {
321
- ui(e), t = ki(e);
321
+ vi(e), t = xi(e);
322
322
  } finally {
323
- Ue(r);
323
+ Ge(r);
324
324
  }
325
325
  return t;
326
326
  }
327
- function ci(e) {
328
- var t = fi(e), r = (Me || (e.f & he) !== 0) && e.deps !== null ? at : fe;
329
- _e(e, r), e.equals(t) || (e.v = t, e.wv = yi());
327
+ function pi(e) {
328
+ var t = bi(e), r = (Ue || (e.f & ge) !== 0) && e.deps !== null ? ot : fe;
329
+ we(e, r), e.equals(t) || (e.v = t, e.wv = Ei());
330
330
  }
331
- const Nt = /* @__PURE__ */ new Map();
332
- function di(e, t) {
331
+ const Ht = /* @__PURE__ */ new Map();
332
+ function mi(e, t) {
333
333
  var r = {
334
334
  f: 0,
335
335
  // TODO ideally we could skip this altogether, but it causes type errors
336
336
  v: e,
337
337
  reactions: null,
338
- equals: ti,
338
+ equals: li,
339
339
  rv: 0,
340
340
  wv: 0
341
341
  };
342
342
  return r;
343
343
  }
344
344
  // @__NO_SIDE_EFFECTS__
345
- function D(e, t) {
346
- const r = di(e);
347
- return pi(r), r;
345
+ function z(e, t) {
346
+ const r = mi(e);
347
+ return wi(r), r;
348
348
  }
349
349
  // @__NO_SIDE_EFFECTS__
350
- function Hr(e, t = !1) {
351
- const r = di(e);
352
- return t || (r.equals = qr), r;
350
+ function Gr(e, t = !1) {
351
+ const r = mi(e);
352
+ return t || (r.equals = Ur), r;
353
353
  }
354
- function y(e, t, r = !1) {
355
- j !== null && !Te && si() && (j.f & (ke | zr)) !== 0 && !(ne != null && ne.includes(e)) && to();
356
- let i = r ? Fe(t) : t;
357
- return co(e, i);
354
+ function A(e, t, r = !1) {
355
+ j !== null && !Ve && gi() && (j.f & (_e | Fr)) !== 0 && !(ne != null && ne.includes(e)) && oo();
356
+ let i = r ? Be(t) : t;
357
+ return po(e, i);
358
358
  }
359
- function co(e, t) {
359
+ function po(e, t) {
360
360
  if (!e.equals(t)) {
361
361
  var r = e.v;
362
- Dt ? Nt.set(e, t) : Nt.set(e, r), e.v = t, (e.f & ke) !== 0 && ((e.f & Se) !== 0 && fi(
362
+ Ft ? Ht.set(e, t) : Ht.set(e, r), e.v = t, (e.f & _e) !== 0 && ((e.f & ze) !== 0 && bi(
363
363
  /** @type {Derived} */
364
364
  e
365
- ), _e(e, (e.f & he) === 0 ? fe : at)), e.wv = yi(), hi(e, Se), $ !== null && ($.f & fe) !== 0 && ($.f & (Pe | rt)) === 0 && (ve === null ? vo([e]) : ve.push(e));
365
+ ), we(e, (e.f & ge) === 0 ? fe : ot)), e.wv = Ei(), yi(e, ze), $ !== null && ($.f & fe) !== 0 && ($.f & (Ne | nt)) === 0 && (be === null ? Ao([e]) : be.push(e));
366
366
  }
367
367
  return t;
368
368
  }
369
- function hi(e, t) {
369
+ function yi(e, t) {
370
370
  var r = e.reactions;
371
371
  if (r !== null)
372
372
  for (var i = r.length, o = 0; o < i; o++) {
373
- var n = r[o], u = n.f;
374
- (u & Se) === 0 && (_e(n, t), (u & (fe | he)) !== 0 && ((u & ke) !== 0 ? hi(
373
+ var n = r[o], c = n.f;
374
+ (c & ze) === 0 && (we(n, t), (c & (fe | ge)) !== 0 && ((c & _e) !== 0 ? yi(
375
375
  /** @type {Derived} */
376
376
  n,
377
- at
378
- ) : cr(
377
+ ot
378
+ ) : br(
379
379
  /** @type {Effect} */
380
380
  n
381
381
  )));
382
382
  }
383
383
  }
384
- function sr(e) {
384
+ function hr(e) {
385
385
  console.warn("https://svelte.dev/e/hydration_mismatch");
386
386
  }
387
- let N = !1;
388
- function vt(e) {
389
- N = e;
387
+ let D = !1;
388
+ function mt(e) {
389
+ D = e;
390
390
  }
391
- let z;
392
- function Be(e) {
391
+ let N;
392
+ function Ze(e) {
393
393
  if (e === null)
394
- throw sr(), pt;
395
- return z = e;
394
+ throw hr(), At;
395
+ return N = e;
396
396
  }
397
- function yt() {
398
- return Be(
397
+ function _t() {
398
+ return Ze(
399
399
  /** @type {TemplateNode} */
400
- /* @__PURE__ */ Ge(z)
400
+ /* @__PURE__ */ We(N)
401
401
  );
402
402
  }
403
- function Z(e) {
404
- if (N) {
405
- if (/* @__PURE__ */ Ge(z) !== null)
406
- throw sr(), pt;
407
- z = e;
403
+ function G(e) {
404
+ if (D) {
405
+ if (/* @__PURE__ */ We(N) !== null)
406
+ throw hr(), At;
407
+ N = e;
408
408
  }
409
409
  }
410
- function ho() {
411
- for (var e = 0, t = z; ; ) {
410
+ function mo() {
411
+ for (var e = 0, t = N; ; ) {
412
412
  if (t.nodeType === 8) {
413
413
  var r = (
414
414
  /** @type {Comment} */
415
415
  t.data
416
416
  );
417
- if (r === ii) {
417
+ if (r === fi) {
418
418
  if (e === 0) return t;
419
419
  e -= 1;
420
- } else (r === Or || r === ai) && (e += 1);
420
+ } else (r === Zr || r === ci) && (e += 1);
421
421
  }
422
422
  var i = (
423
423
  /** @type {TemplateNode} */
424
- /* @__PURE__ */ Ge(t)
424
+ /* @__PURE__ */ We(t)
425
425
  );
426
426
  t.remove(), t = i;
427
427
  }
428
428
  }
429
- var Sa, gi, vi, bi;
430
- function Ir() {
431
- if (Sa === void 0) {
432
- Sa = window, gi = /Firefox/.test(navigator.userAgent);
429
+ var Oa, Ai, ki, _i;
430
+ function Pr() {
431
+ if (Oa === void 0) {
432
+ Oa = window, Ai = /Firefox/.test(navigator.userAgent);
433
433
  var e = Element.prototype, t = Node.prototype, r = Text.prototype;
434
- vi = Qe(t, "firstChild").get, bi = Qe(t, "nextSibling").get, ja(e) && (e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0), ja(r) && (r.__t = void 0);
434
+ ki = rt(t, "firstChild").get, _i = rt(t, "nextSibling").get, Da(e) && (e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0), Da(r) && (r.__t = void 0);
435
435
  }
436
436
  }
437
- function ur(e = "") {
437
+ function gr(e = "") {
438
438
  return document.createTextNode(e);
439
439
  }
440
440
  // @__NO_SIDE_EFFECTS__
441
- function pe(e) {
442
- return vi.call(e);
441
+ function me(e) {
442
+ return ki.call(e);
443
443
  }
444
444
  // @__NO_SIDE_EFFECTS__
445
- function Ge(e) {
446
- return bi.call(e);
445
+ function We(e) {
446
+ return _i.call(e);
447
447
  }
448
- function G(e, t) {
449
- if (!N)
450
- return /* @__PURE__ */ pe(e);
448
+ function Y(e, t) {
449
+ if (!D)
450
+ return /* @__PURE__ */ me(e);
451
451
  var r = (
452
452
  /** @type {TemplateNode} */
453
- /* @__PURE__ */ pe(z)
453
+ /* @__PURE__ */ me(N)
454
454
  );
455
- return r === null && (r = z.appendChild(ur())), Be(r), r;
455
+ return r === null && (r = N.appendChild(gr())), Ze(r), r;
456
456
  }
457
- function Vt(e, t) {
458
- if (!N) {
457
+ function St(e, t) {
458
+ if (!D) {
459
459
  var r = (
460
460
  /** @type {DocumentFragment} */
461
- /* @__PURE__ */ pe(
461
+ /* @__PURE__ */ me(
462
462
  /** @type {Node} */
463
463
  e
464
464
  )
465
465
  );
466
- return r instanceof Comment && r.data === "" ? /* @__PURE__ */ Ge(r) : r;
466
+ return r instanceof Comment && r.data === "" ? /* @__PURE__ */ We(r) : r;
467
467
  }
468
- return z;
468
+ return N;
469
469
  }
470
- function Y(e, t = 1, r = !1) {
471
- let i = N ? z : e;
470
+ function W(e, t = 1, r = !1) {
471
+ let i = D ? N : e;
472
472
  for (var o; t--; )
473
473
  o = i, i = /** @type {TemplateNode} */
474
- /* @__PURE__ */ Ge(i);
475
- if (!N)
474
+ /* @__PURE__ */ We(i);
475
+ if (!D)
476
476
  return i;
477
477
  var n = i == null ? void 0 : i.nodeType;
478
478
  if (r && n !== 3) {
479
- var u = ur();
480
- return i === null ? o == null || o.after(u) : i.before(u), Be(u), u;
479
+ var c = gr();
480
+ return i === null ? o == null || o.after(c) : i.before(c), Ze(c), c;
481
481
  }
482
- return Be(i), /** @type {TemplateNode} */
482
+ return Ze(i), /** @type {TemplateNode} */
483
483
  i;
484
484
  }
485
- function go(e) {
485
+ function yo(e) {
486
486
  e.textContent = "";
487
487
  }
488
- let Wt = !1, tr = !1, rr = null, et = !1, Dt = !1;
489
- function Pa(e) {
490
- Dt = e;
488
+ let er = !1, or = !1, lr = null, at = !1, Ft = !1;
489
+ function Ha(e) {
490
+ Ft = e;
491
491
  }
492
- let $t = [];
493
- let j = null, Te = !1;
494
- function Ve(e) {
492
+ let Nt = [];
493
+ let j = null, Ve = !1;
494
+ function je(e) {
495
495
  j = e;
496
496
  }
497
497
  let $ = null;
498
- function Ue(e) {
498
+ function Ge(e) {
499
499
  $ = e;
500
500
  }
501
501
  let ne = null;
502
- function pi(e) {
503
- j !== null && j.f & Tr && (ne === null ? ne = [e] : ne.push(e));
502
+ function wi(e) {
503
+ j !== null && j.f & Sr && (ne === null ? ne = [e] : ne.push(e));
504
504
  }
505
- let ae = null, de = 0, ve = null;
506
- function vo(e) {
507
- ve = e;
505
+ let ae = null, he = 0, be = null;
506
+ function Ao(e) {
507
+ be = e;
508
508
  }
509
- let mi = 1, ar = 0, Me = !1;
510
- function yi() {
511
- return ++mi;
509
+ let Ci = 1, sr = 0, Ue = !1;
510
+ function Ei() {
511
+ return ++Ci;
512
512
  }
513
- function qt(e) {
513
+ function Mt(e) {
514
514
  var h;
515
515
  var t = e.f;
516
- if ((t & Se) !== 0)
516
+ if ((t & ze) !== 0)
517
517
  return !0;
518
- if ((t & at) !== 0) {
519
- var r = e.deps, i = (t & he) !== 0;
518
+ if ((t & ot) !== 0) {
519
+ var r = e.deps, i = (t & ge) !== 0;
520
520
  if (r !== null) {
521
- var o, n, u = (t & er) !== 0, s = i && $ !== null && !Me, c = r.length;
522
- if (u || s) {
521
+ var o, n, c = (t & nr) !== 0, s = i && $ !== null && !Ue, u = r.length;
522
+ if (c || s) {
523
523
  var d = (
524
524
  /** @type {Derived} */
525
525
  e
526
- ), p = d.parent;
527
- for (o = 0; o < c; o++)
528
- n = r[o], (u || !((h = n == null ? void 0 : n.reactions) != null && h.includes(d))) && (n.reactions ?? (n.reactions = [])).push(d);
529
- u && (d.f ^= er), s && p !== null && (p.f & he) === 0 && (d.f ^= he);
526
+ ), m = d.parent;
527
+ for (o = 0; o < u; o++)
528
+ n = r[o], (c || !((h = n == null ? void 0 : n.reactions) != null && h.includes(d))) && (n.reactions ?? (n.reactions = [])).push(d);
529
+ c && (d.f ^= nr), s && m !== null && (m.f & ge) === 0 && (d.f ^= ge);
530
530
  }
531
- for (o = 0; o < c; o++)
532
- if (n = r[o], qt(
531
+ for (o = 0; o < u; o++)
532
+ if (n = r[o], Mt(
533
533
  /** @type {Derived} */
534
534
  n
535
- ) && ci(
535
+ ) && pi(
536
536
  /** @type {Derived} */
537
537
  n
538
538
  ), n.wv > e.wv)
539
539
  return !0;
540
540
  }
541
- (!i || $ !== null && !Me) && _e(e, fe);
541
+ (!i || $ !== null && !Ue) && we(e, fe);
542
542
  }
543
543
  return !1;
544
544
  }
545
- function bo(e, t) {
545
+ function ko(e, t) {
546
546
  for (var r = t; r !== null; ) {
547
- if ((r.f & Qt) !== 0)
547
+ if ((r.f & ir) !== 0)
548
548
  try {
549
549
  r.fn(e);
550
550
  return;
551
551
  } catch {
552
- r.f ^= Qt;
552
+ r.f ^= ir;
553
553
  }
554
554
  r = r.parent;
555
555
  }
556
- throw Wt = !1, e;
556
+ throw er = !1, e;
557
557
  }
558
- function za(e) {
559
- return (e.f & or) === 0 && (e.parent === null || (e.parent.f & Qt) === 0);
558
+ function Fa(e) {
559
+ return (e.f & ur) === 0 && (e.parent === null || (e.parent.f & ir) === 0);
560
560
  }
561
- function fr(e, t, r, i) {
562
- if (Wt) {
563
- if (r === null && (Wt = !1), za(t))
561
+ function vr(e, t, r, i) {
562
+ if (er) {
563
+ if (r === null && (er = !1), Fa(t))
564
564
  throw e;
565
565
  return;
566
566
  }
567
- if (r !== null && (Wt = !0), bo(e, t), za(t))
567
+ if (r !== null && (er = !0), ko(e, t), Fa(t))
568
568
  throw e;
569
569
  }
570
- function Ai(e, t, r = !0) {
570
+ function Li(e, t, r = !0) {
571
571
  var i = e.reactions;
572
572
  if (i !== null)
573
573
  for (var o = 0; o < i.length; o++) {
574
574
  var n = i[o];
575
- ne != null && ne.includes(e) || ((n.f & ke) !== 0 ? Ai(
575
+ ne != null && ne.includes(e) || ((n.f & _e) !== 0 ? Li(
576
576
  /** @type {Derived} */
577
577
  n,
578
578
  t,
579
579
  !1
580
- ) : t === n && (r ? _e(n, Se) : (n.f & fe) !== 0 && _e(n, at), cr(
580
+ ) : t === n && (r ? we(n, ze) : (n.f & fe) !== 0 && we(n, ot), br(
581
581
  /** @type {Effect} */
582
582
  n
583
583
  )));
584
584
  }
585
585
  }
586
- function ki(e) {
586
+ function xi(e) {
587
587
  var k;
588
- var t = ae, r = de, i = ve, o = j, n = Me, u = ne, s = ie, c = Te, d = e.f;
588
+ var t = ae, r = he, i = be, o = j, n = Ue, c = ne, s = ie, u = Ve, d = e.f;
589
589
  ae = /** @type {null | Value[]} */
590
- null, de = 0, ve = null, Me = (d & he) !== 0 && (Te || !et || j === null), j = (d & (Pe | rt)) === 0 ? e : null, ne = null, $a(e.ctx), Te = !1, ar++, e.f |= Tr;
590
+ null, he = 0, be = null, Ue = (d & ge) !== 0 && (Ve || !at || j === null), j = (d & (Ne | nt)) === 0 ? e : null, ne = null, qa(e.ctx), Ve = !1, sr++, e.f |= Sr;
591
591
  try {
592
- var p = (
592
+ var m = (
593
593
  /** @type {Function} */
594
594
  (0, e.fn)()
595
595
  ), h = e.deps;
596
596
  if (ae !== null) {
597
- var v;
598
- if (ir(e, de), h !== null && de > 0)
599
- for (h.length = de + ae.length, v = 0; v < ae.length; v++)
600
- h[de + v] = ae[v];
597
+ var b;
598
+ if (cr(e, he), h !== null && he > 0)
599
+ for (h.length = he + ae.length, b = 0; b < ae.length; b++)
600
+ h[he + b] = ae[b];
601
601
  else
602
602
  e.deps = h = ae;
603
- if (!Me)
604
- for (v = de; v < h.length; v++)
605
- ((k = h[v]).reactions ?? (k.reactions = [])).push(e);
606
- } else h !== null && de < h.length && (ir(e, de), h.length = de);
607
- if (si() && ve !== null && !Te && h !== null && (e.f & (ke | at | Se)) === 0)
608
- for (v = 0; v < /** @type {Source[]} */
609
- ve.length; v++)
610
- Ai(
611
- ve[v],
603
+ if (!Ue)
604
+ for (b = he; b < h.length; b++)
605
+ ((k = h[b]).reactions ?? (k.reactions = [])).push(e);
606
+ } else h !== null && he < h.length && (cr(e, he), h.length = he);
607
+ if (gi() && be !== null && !Ve && h !== null && (e.f & (_e | ot | ze)) === 0)
608
+ for (b = 0; b < /** @type {Source[]} */
609
+ be.length; b++)
610
+ Li(
611
+ be[b],
612
612
  /** @type {Effect} */
613
613
  e
614
614
  );
615
- return o !== null && o !== e && (ar++, ve !== null && (i === null ? i = ve : i.push(.../** @type {Source[]} */
616
- ve))), p;
615
+ return o !== null && o !== e && (sr++, be !== null && (i === null ? i = be : i.push(.../** @type {Source[]} */
616
+ be))), m;
617
617
  } finally {
618
- ae = t, de = r, ve = i, j = o, Me = n, ne = u, $a(s), Te = c, e.f ^= Tr;
618
+ ae = t, he = r, be = i, j = o, Ue = n, ne = c, qa(s), Ve = u, e.f ^= Sr;
619
619
  }
620
620
  }
621
- function po(e, t) {
621
+ function _o(e, t) {
622
622
  let r = t.reactions;
623
623
  if (r !== null) {
624
- var i = Pn.call(r, e);
624
+ var i = On.call(r, e);
625
625
  if (i !== -1) {
626
626
  var o = r.length - 1;
627
627
  o === 0 ? r = t.reactions = null : (r[i] = r[o], r.pop());
628
628
  }
629
629
  }
630
- r === null && (t.f & ke) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
630
+ r === null && (t.f & _e) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
631
631
  // to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
632
632
  // allows us to skip the expensive work of disconnecting and immediately reconnecting it
633
- (ae === null || !ae.includes(t)) && (_e(t, at), (t.f & (he | er)) === 0 && (t.f ^= er), ui(
633
+ (ae === null || !ae.includes(t)) && (we(t, ot), (t.f & (ge | nr)) === 0 && (t.f ^= nr), vi(
634
634
  /** @type {Derived} **/
635
635
  t
636
- ), ir(
636
+ ), cr(
637
637
  /** @type {Derived} **/
638
638
  t,
639
639
  0
640
640
  ));
641
641
  }
642
- function ir(e, t) {
642
+ function cr(e, t) {
643
643
  var r = e.deps;
644
644
  if (r !== null)
645
645
  for (var i = t; i < r.length; i++)
646
- po(e, r[i]);
646
+ _o(e, r[i]);
647
647
  }
648
- function Fr(e) {
648
+ function Yr(e) {
649
649
  var t = e.f;
650
- if ((t & or) === 0) {
651
- _e(e, fe);
652
- var r = $, i = ie, o = et;
653
- $ = e, et = !0;
650
+ if ((t & ur) === 0) {
651
+ we(e, fe);
652
+ var r = $, i = ie, o = at;
653
+ $ = e, at = !0;
654
654
  try {
655
- (t & zr) !== 0 ? Eo(e) : Li(e), Ci(e);
656
- var n = ki(e);
657
- e.teardown = typeof n == "function" ? n : null, e.wv = mi;
658
- var u = e.deps, s;
659
- } catch (c) {
660
- fr(c, e, r, i || e.ctx);
655
+ (t & Fr) !== 0 ? Ro(e) : Ri(e), Vi(e);
656
+ var n = xi(e);
657
+ e.teardown = typeof n == "function" ? n : null, e.wv = Ci;
658
+ var c = e.deps, s;
659
+ } catch (u) {
660
+ vr(u, e, r, i || e.ctx);
661
661
  } finally {
662
- et = o, $ = r;
662
+ at = o, $ = r;
663
663
  }
664
664
  }
665
665
  }
666
- function mo() {
666
+ function wo() {
667
667
  try {
668
- Kn();
668
+ to();
669
669
  } catch (e) {
670
- if (rr !== null)
671
- fr(e, rr, null);
670
+ if (lr !== null)
671
+ vr(e, lr, null);
672
672
  else
673
673
  throw e;
674
674
  }
675
675
  }
676
- function _i() {
677
- var e = et;
676
+ function Ti() {
677
+ var e = at;
678
678
  try {
679
679
  var t = 0;
680
- for (et = !0; $t.length > 0; ) {
681
- t++ > 1e3 && mo();
682
- var r = $t, i = r.length;
683
- $t = [];
680
+ for (at = !0; Nt.length > 0; ) {
681
+ t++ > 1e3 && wo();
682
+ var r = Nt, i = r.length;
683
+ Nt = [];
684
684
  for (var o = 0; o < i; o++) {
685
- var n = Ao(r[o]);
686
- yo(n);
685
+ var n = Eo(r[o]);
686
+ Co(n);
687
687
  }
688
- Nt.clear();
688
+ Ht.clear();
689
689
  }
690
690
  } finally {
691
- tr = !1, et = e, rr = null;
691
+ or = !1, at = e, lr = null;
692
692
  }
693
693
  }
694
- function yo(e) {
694
+ function Co(e) {
695
695
  var t = e.length;
696
696
  if (t !== 0)
697
697
  for (var r = 0; r < t; r++) {
698
698
  var i = e[r];
699
- if ((i.f & (or | mt)) === 0)
699
+ if ((i.f & (ur | kt)) === 0)
700
700
  try {
701
- qt(i) && (Fr(i), i.deps === null && i.first === null && i.nodes_start === null && (i.teardown === null ? xi(i) : i.fn = null));
701
+ Mt(i) && (Yr(i), i.deps === null && i.first === null && i.nodes_start === null && (i.teardown === null ? $i(i) : i.fn = null));
702
702
  } catch (o) {
703
- fr(o, i, null, i.ctx);
703
+ vr(o, i, null, i.ctx);
704
704
  }
705
705
  }
706
706
  }
707
- function cr(e) {
708
- tr || (tr = !0, queueMicrotask(_i));
709
- for (var t = rr = e; t.parent !== null; ) {
707
+ function br(e) {
708
+ or || (or = !0, queueMicrotask(Ti));
709
+ for (var t = lr = e; t.parent !== null; ) {
710
710
  t = t.parent;
711
711
  var r = t.f;
712
- if ((r & (rt | Pe)) !== 0) {
712
+ if ((r & (nt | Ne)) !== 0) {
713
713
  if ((r & fe) === 0) return;
714
714
  t.f ^= fe;
715
715
  }
716
716
  }
717
- $t.push(t);
717
+ Nt.push(t);
718
718
  }
719
- function Ao(e) {
719
+ function Eo(e) {
720
720
  for (var t = [], r = e; r !== null; ) {
721
- var i = r.f, o = (i & (Pe | rt)) !== 0, n = o && (i & fe) !== 0;
722
- if (!n && (i & mt) === 0) {
723
- if ((i & Ka) !== 0)
721
+ var i = r.f, o = (i & (Ne | nt)) !== 0, n = o && (i & fe) !== 0;
722
+ if (!n && (i & kt) === 0) {
723
+ if ((i & ri) !== 0)
724
724
  t.push(r);
725
725
  else if (o)
726
726
  r.f ^= fe;
727
727
  else
728
728
  try {
729
- qt(r) && Fr(r);
730
- } catch (c) {
731
- fr(c, r, null, r.ctx);
729
+ Mt(r) && Yr(r);
730
+ } catch (u) {
731
+ vr(u, r, null, r.ctx);
732
732
  }
733
- var u = r.first;
734
- if (u !== null) {
735
- r = u;
733
+ var c = r.first;
734
+ if (c !== null) {
735
+ r = c;
736
736
  continue;
737
737
  }
738
738
  }
@@ -742,25 +742,25 @@ function Ao(e) {
742
742
  }
743
743
  return t;
744
744
  }
745
- function E(e) {
745
+ function L(e) {
746
746
  for (var t; ; ) {
747
- if (Zn(), $t.length === 0)
747
+ if (Jn(), Nt.length === 0)
748
748
  return (
749
749
  /** @type {T} */
750
750
  t
751
751
  );
752
- tr = !0, _i();
752
+ or = !0, Ti();
753
753
  }
754
754
  }
755
- async function Er() {
756
- await Promise.resolve(), E();
755
+ async function jr() {
756
+ await Promise.resolve(), L();
757
757
  }
758
758
  function l(e) {
759
- var t = e.f, r = (t & ke) !== 0;
760
- if (j !== null && !Te) {
759
+ var t = e.f, r = (t & _e) !== 0;
760
+ if (j !== null && !Ve) {
761
761
  if (!(ne != null && ne.includes(e))) {
762
762
  var i = j.deps;
763
- e.rv < ar && (e.rv = ar, ae === null && i !== null && i[de] === e ? de++ : ae === null ? ae = [e] : (!Me || !ae.includes(e)) && ae.push(e));
763
+ e.rv < sr && (e.rv = sr, ae === null && i !== null && i[he] === e ? he++ : ae === null ? ae = [e] : (!Ue || !ae.includes(e)) && ae.push(e));
764
764
  }
765
765
  } else if (r && /** @type {Derived} */
766
766
  e.deps === null && /** @type {Derived} */
@@ -769,37 +769,37 @@ function l(e) {
769
769
  /** @type {Derived} */
770
770
  e
771
771
  ), n = o.parent;
772
- n !== null && (n.f & he) === 0 && (o.f ^= he);
772
+ n !== null && (n.f & ge) === 0 && (o.f ^= ge);
773
773
  }
774
774
  return r && (o = /** @type {Derived} */
775
- e, qt(o) && ci(o)), Dt && Nt.has(e) ? Nt.get(e) : e.v;
775
+ e, Mt(o) && pi(o)), Ft && Ht.has(e) ? Ht.get(e) : e.v;
776
776
  }
777
- function tt(e) {
778
- var t = Te;
777
+ function it(e) {
778
+ var t = Ve;
779
779
  try {
780
- return Te = !0, e();
780
+ return Ve = !0, e();
781
781
  } finally {
782
- Te = t;
782
+ Ve = t;
783
783
  }
784
784
  }
785
- const ko = -7169;
786
- function _e(e, t) {
787
- e.f = e.f & ko | t;
785
+ const Lo = -7169;
786
+ function we(e, t) {
787
+ e.f = e.f & Lo | t;
788
788
  }
789
- function _o(e) {
790
- $ === null && j === null && Wn(), j !== null && (j.f & he) !== 0 && $ === null && Yn(), Dt && Gn();
789
+ function xo(e) {
790
+ $ === null && j === null && eo(), j !== null && (j.f & ge) !== 0 && $ === null && Qn(), Ft && Xn();
791
791
  }
792
- function wo(e, t) {
792
+ function To(e, t) {
793
793
  var r = t.last;
794
794
  r === null ? t.last = t.first = e : (r.next = e, e.prev = r, t.last = e);
795
795
  }
796
- function it(e, t, r, i = !0) {
796
+ function lt(e, t, r, i = !0) {
797
797
  var o = $, n = {
798
798
  ctx: ie,
799
799
  deps: null,
800
800
  nodes_start: null,
801
801
  nodes_end: null,
802
- f: e | Se,
802
+ f: e | ze,
803
803
  first: null,
804
804
  fn: t,
805
805
  last: null,
@@ -812,13 +812,13 @@ function it(e, t, r, i = !0) {
812
812
  };
813
813
  if (r)
814
814
  try {
815
- Fr(n), n.f |= Hn;
816
- } catch (c) {
817
- throw Ze(n), c;
815
+ Yr(n), n.f |= Zn;
816
+ } catch (u) {
817
+ throw Ye(n), u;
818
818
  }
819
- else t !== null && cr(n);
820
- var u = r && n.deps === null && n.first === null && n.nodes_start === null && n.teardown === null && (n.f & (Ja | Qt)) === 0;
821
- if (!u && i && (o !== null && wo(n, o), j !== null && (j.f & ke) !== 0)) {
819
+ else t !== null && br(n);
820
+ var c = r && n.deps === null && n.first === null && n.nodes_start === null && n.teardown === null && (n.f & (ai | ir)) === 0;
821
+ if (!c && i && (o !== null && To(n, o), j !== null && (j.f & _e) !== 0)) {
822
822
  var s = (
823
823
  /** @type {Derived} */
824
824
  j
@@ -827,13 +827,13 @@ function it(e, t, r, i = !0) {
827
827
  }
828
828
  return n;
829
829
  }
830
- function Mr(e) {
831
- const t = it(nr, null, !1);
832
- return _e(t, fe), t.teardown = e, t;
830
+ function Wr(e) {
831
+ const t = lt(fr, null, !1);
832
+ return we(t, fe), t.teardown = e, t;
833
833
  }
834
- function Vr(e) {
835
- _o();
836
- var t = $ !== null && ($.f & Pe) !== 0 && ie !== null && !ie.m;
834
+ function zr(e) {
835
+ xo();
836
+ var t = $ !== null && ($.f & Ne) !== 0 && ie !== null && !ie.m;
837
837
  if (t) {
838
838
  var r = (
839
839
  /** @type {ComponentContext} */
@@ -845,100 +845,100 @@ function Vr(e) {
845
845
  reaction: j
846
846
  });
847
847
  } else {
848
- var i = Br(e);
848
+ var i = Kr(e);
849
849
  return i;
850
850
  }
851
851
  }
852
- function Co(e) {
853
- const t = it(rt, e, !0);
852
+ function Io(e) {
853
+ const t = lt(nt, e, !0);
854
854
  return () => {
855
- Ze(t);
855
+ Ye(t);
856
856
  };
857
857
  }
858
- function Lo(e) {
859
- const t = it(rt, e, !0);
858
+ function Vo(e) {
859
+ const t = lt(nt, e, !0);
860
860
  return (r = {}) => new Promise((i) => {
861
- r.outro ? jr(t, () => {
862
- Ze(t), i(void 0);
863
- }) : (Ze(t), i(void 0));
861
+ r.outro ? Dr(t, () => {
862
+ Ye(t), i(void 0);
863
+ }) : (Ye(t), i(void 0));
864
864
  });
865
865
  }
866
- function Br(e) {
867
- return it(Ka, e, !1);
866
+ function Kr(e) {
867
+ return lt(ri, e, !1);
868
868
  }
869
- function Ur(e) {
870
- return it(nr, e, !0);
869
+ function Jr(e) {
870
+ return lt(fr, e, !0);
871
871
  }
872
- function xe(e, t = [], r = lr) {
872
+ function Ie(e, t = [], r = dr) {
873
873
  const i = t.map(r);
874
- return wi(() => e(...i.map(l)));
874
+ return Ii(() => e(...i.map(l)));
875
875
  }
876
- function wi(e, t = 0) {
877
- return it(nr | zr | t, e, !0);
876
+ function Ii(e, t = 0) {
877
+ return lt(fr | Fr | t, e, !0);
878
878
  }
879
- function Rr(e, t = !0) {
880
- return it(nr | Pe, e, !0, t);
879
+ function Nr(e, t = !0) {
880
+ return lt(fr | Ne, e, !0, t);
881
881
  }
882
- function Ci(e) {
882
+ function Vi(e) {
883
883
  var t = e.teardown;
884
884
  if (t !== null) {
885
- const r = Dt, i = j;
886
- Pa(!0), Ve(null);
885
+ const r = Ft, i = j;
886
+ Ha(!0), je(null);
887
887
  try {
888
888
  t.call(null);
889
889
  } finally {
890
- Pa(r), Ve(i);
890
+ Ha(r), je(i);
891
891
  }
892
892
  }
893
893
  }
894
- function Li(e, t = !1) {
894
+ function Ri(e, t = !1) {
895
895
  var r = e.first;
896
896
  for (e.first = e.last = null; r !== null; ) {
897
897
  var i = r.next;
898
- (r.f & rt) !== 0 ? r.parent = null : Ze(r, t), r = i;
898
+ (r.f & nt) !== 0 ? r.parent = null : Ye(r, t), r = i;
899
899
  }
900
900
  }
901
- function Eo(e) {
901
+ function Ro(e) {
902
902
  for (var t = e.first; t !== null; ) {
903
903
  var r = t.next;
904
- (t.f & Pe) === 0 && Ze(t), t = r;
904
+ (t.f & Ne) === 0 && Ye(t), t = r;
905
905
  }
906
906
  }
907
- function Ze(e, t = !0) {
907
+ function Ye(e, t = !0) {
908
908
  var r = !1;
909
- (t || (e.f & Fn) !== 0) && e.nodes_start !== null && (Ei(
909
+ (t || (e.f & Gn) !== 0) && e.nodes_start !== null && (ji(
910
910
  e.nodes_start,
911
911
  /** @type {TemplateNode} */
912
912
  e.nodes_end
913
- ), r = !0), Li(e, t && !r), ir(e, 0), _e(e, or);
913
+ ), r = !0), Ri(e, t && !r), cr(e, 0), we(e, ur);
914
914
  var i = e.transitions;
915
915
  if (i !== null)
916
916
  for (const n of i)
917
917
  n.stop();
918
- Ci(e);
918
+ Vi(e);
919
919
  var o = e.parent;
920
- o !== null && o.first !== null && xi(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes_start = e.nodes_end = null;
920
+ o !== null && o.first !== null && $i(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes_start = e.nodes_end = null;
921
921
  }
922
- function Ei(e, t) {
922
+ function ji(e, t) {
923
923
  for (; e !== null; ) {
924
924
  var r = e === t ? null : (
925
925
  /** @type {TemplateNode} */
926
- /* @__PURE__ */ Ge(e)
926
+ /* @__PURE__ */ We(e)
927
927
  );
928
928
  e.remove(), e = r;
929
929
  }
930
930
  }
931
- function xi(e) {
931
+ function $i(e) {
932
932
  var t = e.parent, r = e.prev, i = e.next;
933
933
  r !== null && (r.next = i), i !== null && (i.prev = r), t !== null && (t.first === e && (t.first = i), t.last === e && (t.last = r));
934
934
  }
935
- function jr(e, t) {
935
+ function Dr(e, t) {
936
936
  var r = [];
937
- Ti(e, r, !0), xo(r, () => {
938
- Ze(e), t && t();
937
+ Si(e, r, !0), jo(r, () => {
938
+ Ye(e), t && t();
939
939
  });
940
940
  }
941
- function xo(e, t) {
941
+ function jo(e, t) {
942
942
  var r = e.length;
943
943
  if (r > 0) {
944
944
  var i = () => --r || t();
@@ -947,47 +947,47 @@ function xo(e, t) {
947
947
  } else
948
948
  t();
949
949
  }
950
- function Ti(e, t, r) {
951
- if ((e.f & mt) === 0) {
952
- if (e.f ^= mt, e.transitions !== null)
953
- for (const u of e.transitions)
954
- (u.is_global || r) && t.push(u);
950
+ function Si(e, t, r) {
951
+ if ((e.f & kt) === 0) {
952
+ if (e.f ^= kt, e.transitions !== null)
953
+ for (const c of e.transitions)
954
+ (c.is_global || r) && t.push(c);
955
955
  for (var i = e.first; i !== null; ) {
956
- var o = i.next, n = (i.f & Nr) !== 0 || (i.f & Pe) !== 0;
957
- Ti(i, t, n ? r : !1), i = o;
956
+ var o = i.next, n = (i.f & Mr) !== 0 || (i.f & Ne) !== 0;
957
+ Si(i, t, n ? r : !1), i = o;
958
958
  }
959
959
  }
960
960
  }
961
- function Na(e) {
962
- Ii(e, !0);
961
+ function Ma(e) {
962
+ Pi(e, !0);
963
963
  }
964
- function Ii(e, t) {
965
- if ((e.f & mt) !== 0) {
966
- e.f ^= mt, (e.f & fe) === 0 && (e.f ^= fe), qt(e) && (_e(e, Se), cr(e));
964
+ function Pi(e, t) {
965
+ if ((e.f & kt) !== 0) {
966
+ e.f ^= kt, (e.f & fe) === 0 && (e.f ^= fe), Mt(e) && (we(e, ze), br(e));
967
967
  for (var r = e.first; r !== null; ) {
968
- var i = r.next, o = (r.f & Nr) !== 0 || (r.f & Pe) !== 0;
969
- Ii(r, o ? t : !1), r = i;
968
+ var i = r.next, o = (r.f & Mr) !== 0 || (r.f & Ne) !== 0;
969
+ Pi(r, o ? t : !1), r = i;
970
970
  }
971
971
  if (e.transitions !== null)
972
972
  for (const n of e.transitions)
973
973
  (n.is_global || t) && n.in();
974
974
  }
975
975
  }
976
- const To = ["touchstart", "touchmove"];
977
- function Io(e) {
978
- return To.includes(e);
976
+ const $o = ["touchstart", "touchmove"];
977
+ function So(e) {
978
+ return $o.includes(e);
979
979
  }
980
- function Vo(e, t) {
980
+ function Po(e, t) {
981
981
  if (t) {
982
982
  const r = document.body;
983
- e.autofocus = !0, Dr(() => {
983
+ e.autofocus = !0, Br(() => {
984
984
  document.activeElement === r && e.focus();
985
985
  });
986
986
  }
987
987
  }
988
- let Da = !1;
989
- function Vi() {
990
- Da || (Da = !0, document.addEventListener(
988
+ let Ba = !1;
989
+ function zi() {
990
+ Ba || (Ba = !0, document.addEventListener(
991
991
  "reset",
992
992
  (e) => {
993
993
  Promise.resolve().then(() => {
@@ -1005,56 +1005,56 @@ function Vi() {
1005
1005
  { capture: !0 }
1006
1006
  ));
1007
1007
  }
1008
- function Ri(e) {
1008
+ function Ni(e) {
1009
1009
  var t = j, r = $;
1010
- Ve(null), Ue(null);
1010
+ je(null), Ge(null);
1011
1011
  try {
1012
1012
  return e();
1013
1013
  } finally {
1014
- Ve(t), Ue(r);
1014
+ je(t), Ge(r);
1015
1015
  }
1016
1016
  }
1017
- function Ro(e, t, r, i = r) {
1018
- e.addEventListener(t, () => Ri(r));
1017
+ function zo(e, t, r, i = r) {
1018
+ e.addEventListener(t, () => Ni(r));
1019
1019
  const o = e.__on_r;
1020
1020
  o ? e.__on_r = () => {
1021
1021
  o(), i(!0);
1022
- } : e.__on_r = () => i(!0), Vi();
1022
+ } : e.__on_r = () => i(!0), zi();
1023
1023
  }
1024
- const ji = /* @__PURE__ */ new Set(), $r = /* @__PURE__ */ new Set();
1025
- function jo(e, t, r, i = {}) {
1024
+ const Di = /* @__PURE__ */ new Set(), qr = /* @__PURE__ */ new Set();
1025
+ function No(e, t, r, i = {}) {
1026
1026
  function o(n) {
1027
- if (i.capture || Rt.call(t, n), !n.cancelBubble)
1028
- return Ri(() => r == null ? void 0 : r.call(this, n));
1027
+ if (i.capture || Pt.call(t, n), !n.cancelBubble)
1028
+ return Ni(() => r == null ? void 0 : r.call(this, n));
1029
1029
  }
1030
- return e.startsWith("pointer") || e.startsWith("touch") || e === "wheel" ? Dr(() => {
1030
+ return e.startsWith("pointer") || e.startsWith("touch") || e === "wheel" ? Br(() => {
1031
1031
  t.addEventListener(e, o, i);
1032
1032
  }) : t.addEventListener(e, o, i), o;
1033
1033
  }
1034
- function He(e, t, r, i, o) {
1035
- var n = { capture: i, passive: o }, u = jo(e, t, r, n);
1036
- (t === document.body || t === window || t === document) && Mr(() => {
1037
- t.removeEventListener(e, u, n);
1034
+ function Me(e, t, r, i, o) {
1035
+ var n = { capture: i, passive: o }, c = No(e, t, r, n);
1036
+ (t === document.body || t === window || t === document) && Wr(() => {
1037
+ t.removeEventListener(e, c, n);
1038
1038
  });
1039
1039
  }
1040
- function $o(e) {
1040
+ function Do(e) {
1041
1041
  for (var t = 0; t < e.length; t++)
1042
- ji.add(e[t]);
1043
- for (var r of $r)
1042
+ Di.add(e[t]);
1043
+ for (var r of qr)
1044
1044
  r(e);
1045
1045
  }
1046
- function Rt(e) {
1047
- var K;
1046
+ function Pt(e) {
1047
+ var J;
1048
1048
  var t = this, r = (
1049
1049
  /** @type {Node} */
1050
1050
  t.ownerDocument
1051
- ), i = e.type, o = ((K = e.composedPath) == null ? void 0 : K.call(e)) || [], n = (
1051
+ ), i = e.type, o = ((J = e.composedPath) == null ? void 0 : J.call(e)) || [], n = (
1052
1052
  /** @type {null | Element} */
1053
1053
  o[0] || e.target
1054
- ), u = 0, s = e.__root;
1054
+ ), c = 0, s = e.__root;
1055
1055
  if (s) {
1056
- var c = o.indexOf(s);
1057
- if (c !== -1 && (t === document || t === /** @type {any} */
1056
+ var u = o.indexOf(s);
1057
+ if (u !== -1 && (t === document || t === /** @type {any} */
1058
1058
  window)) {
1059
1059
  e.__root = t;
1060
1060
  return;
@@ -1062,57 +1062,57 @@ function Rt(e) {
1062
1062
  var d = o.indexOf(t);
1063
1063
  if (d === -1)
1064
1064
  return;
1065
- c <= d && (u = c);
1065
+ u <= d && (c = u);
1066
1066
  }
1067
1067
  if (n = /** @type {Element} */
1068
- o[u] || e.target, n !== t) {
1069
- St(e, "currentTarget", {
1068
+ o[c] || e.target, n !== t) {
1069
+ Dt(e, "currentTarget", {
1070
1070
  configurable: !0,
1071
1071
  get() {
1072
1072
  return n || r;
1073
1073
  }
1074
1074
  });
1075
- var p = j, h = $;
1076
- Ve(null), Ue(null);
1075
+ var m = j, h = $;
1076
+ je(null), Ge(null);
1077
1077
  try {
1078
- for (var v, k = []; n !== null; ) {
1078
+ for (var b, k = []; n !== null; ) {
1079
1079
  var V = n.assignedSlot || n.parentNode || /** @type {any} */
1080
1080
  n.host || null;
1081
1081
  try {
1082
- var _ = n["__" + i];
1083
- if (_ != null && (!/** @type {any} */
1082
+ var w = n["__" + i];
1083
+ if (w != null && (!/** @type {any} */
1084
1084
  n.disabled || // DOM could've been updated already by the time this is reached, so we check this as well
1085
1085
  // -> the target could not have been disabled because it emits the event in the first place
1086
1086
  e.target === n))
1087
- if (Ga(_)) {
1088
- var [q, ...ce] = _;
1089
- q.apply(n, [e, ...ce]);
1087
+ if (Qa(w)) {
1088
+ var [q, ...ue] = w;
1089
+ q.apply(n, [e, ...ue]);
1090
1090
  } else
1091
- _.call(n, e);
1092
- } catch (ee) {
1093
- v ? k.push(ee) : v = ee;
1091
+ w.call(n, e);
1092
+ } catch (te) {
1093
+ b ? k.push(te) : b = te;
1094
1094
  }
1095
1095
  if (e.cancelBubble || V === t || V === null)
1096
1096
  break;
1097
1097
  n = V;
1098
1098
  }
1099
- if (v) {
1100
- for (let ee of k)
1099
+ if (b) {
1100
+ for (let te of k)
1101
1101
  queueMicrotask(() => {
1102
- throw ee;
1102
+ throw te;
1103
1103
  });
1104
- throw v;
1104
+ throw b;
1105
1105
  }
1106
1106
  } finally {
1107
- e.__root = t, delete e.currentTarget, Ve(p), Ue(h);
1107
+ e.__root = t, delete e.currentTarget, je(m), Ge(h);
1108
1108
  }
1109
1109
  }
1110
1110
  }
1111
- function Zr(e) {
1111
+ function Xr(e) {
1112
1112
  var t = document.createElement("template");
1113
1113
  return t.innerHTML = e, t.content;
1114
1114
  }
1115
- function Ie(e, t) {
1115
+ function Re(e, t) {
1116
1116
  var r = (
1117
1117
  /** @type {Effect} */
1118
1118
  $
@@ -1120,64 +1120,64 @@ function Ie(e, t) {
1120
1120
  r.nodes_start === null && (r.nodes_start = e, r.nodes_end = t);
1121
1121
  }
1122
1122
  // @__NO_SIDE_EFFECTS__
1123
- function we(e, t) {
1124
- var r = (t & oo) !== 0, i = (t & lo) !== 0, o, n = !e.startsWith("<!>");
1123
+ function Ce(e, t) {
1124
+ var r = (t & uo) !== 0, i = (t & ho) !== 0, o, n = !e.startsWith("<!>");
1125
1125
  return () => {
1126
- if (N)
1127
- return Ie(z, null), z;
1128
- o === void 0 && (o = Zr(n ? e : "<!>" + e), r || (o = /** @type {Node} */
1129
- /* @__PURE__ */ pe(o)));
1130
- var u = (
1126
+ if (D)
1127
+ return Re(N, null), N;
1128
+ o === void 0 && (o = Xr(n ? e : "<!>" + e), r || (o = /** @type {Node} */
1129
+ /* @__PURE__ */ me(o)));
1130
+ var c = (
1131
1131
  /** @type {TemplateNode} */
1132
- i || gi ? document.importNode(o, !0) : o.cloneNode(!0)
1132
+ i || Ai ? document.importNode(o, !0) : o.cloneNode(!0)
1133
1133
  );
1134
1134
  if (r) {
1135
1135
  var s = (
1136
1136
  /** @type {TemplateNode} */
1137
- /* @__PURE__ */ pe(u)
1138
- ), c = (
1137
+ /* @__PURE__ */ me(c)
1138
+ ), u = (
1139
1139
  /** @type {TemplateNode} */
1140
- u.lastChild
1140
+ c.lastChild
1141
1141
  );
1142
- Ie(s, c);
1142
+ Re(s, u);
1143
1143
  } else
1144
- Ie(u, u);
1145
- return u;
1144
+ Re(c, c);
1145
+ return c;
1146
1146
  };
1147
1147
  }
1148
1148
  // @__NO_SIDE_EFFECTS__
1149
- function dr(e, t, r = "svg") {
1149
+ function pr(e, t, r = "svg") {
1150
1150
  var i = !e.startsWith("<!>"), o = `<${r}>${i ? e : "<!>" + e}</${r}>`, n;
1151
1151
  return () => {
1152
- if (N)
1153
- return Ie(z, null), z;
1152
+ if (D)
1153
+ return Re(N, null), N;
1154
1154
  if (!n) {
1155
- var u = (
1155
+ var c = (
1156
1156
  /** @type {DocumentFragment} */
1157
- Zr(o)
1157
+ Xr(o)
1158
1158
  ), s = (
1159
1159
  /** @type {Element} */
1160
- /* @__PURE__ */ pe(u)
1160
+ /* @__PURE__ */ me(c)
1161
1161
  );
1162
1162
  n = /** @type {Element} */
1163
- /* @__PURE__ */ pe(s);
1163
+ /* @__PURE__ */ me(s);
1164
1164
  }
1165
- var c = (
1165
+ var u = (
1166
1166
  /** @type {TemplateNode} */
1167
1167
  n.cloneNode(!0)
1168
1168
  );
1169
- return Ie(c, c), c;
1169
+ return Re(u, u), u;
1170
1170
  };
1171
1171
  }
1172
- function Zt() {
1173
- if (N)
1174
- return Ie(z, null), z;
1175
- var e = document.createDocumentFragment(), t = document.createComment(""), r = ur();
1176
- return e.append(t, r), Ie(t, r), e;
1172
+ function Jt() {
1173
+ if (D)
1174
+ return Re(N, null), N;
1175
+ var e = document.createDocumentFragment(), t = document.createComment(""), r = gr();
1176
+ return e.append(t, r), Re(t, r), e;
1177
1177
  }
1178
- function O(e, t) {
1179
- if (N) {
1180
- $.nodes_end = z, yt();
1178
+ function H(e, t) {
1179
+ if (D) {
1180
+ $.nodes_end = N, _t();
1181
1181
  return;
1182
1182
  }
1183
1183
  e !== null && e.before(
@@ -1185,209 +1185,209 @@ function O(e, t) {
1185
1185
  t
1186
1186
  );
1187
1187
  }
1188
- function So(e, t) {
1188
+ function qo(e, t) {
1189
1189
  var r = t == null ? "" : typeof t == "object" ? t + "" : t;
1190
1190
  r !== (e.__t ?? (e.__t = e.nodeValue)) && (e.__t = r, e.nodeValue = r + "");
1191
1191
  }
1192
- function $i(e, t) {
1193
- return Si(e, t);
1192
+ function qi(e, t) {
1193
+ return Oi(e, t);
1194
1194
  }
1195
- function Po(e, t) {
1196
- Ir(), t.intro = t.intro ?? !1;
1197
- const r = t.target, i = N, o = z;
1195
+ function Oo(e, t) {
1196
+ Pr(), t.intro = t.intro ?? !1;
1197
+ const r = t.target, i = D, o = N;
1198
1198
  try {
1199
1199
  for (var n = (
1200
1200
  /** @type {TemplateNode} */
1201
- /* @__PURE__ */ pe(r)
1201
+ /* @__PURE__ */ me(r)
1202
1202
  ); n && (n.nodeType !== 8 || /** @type {Comment} */
1203
- n.data !== Or); )
1203
+ n.data !== Zr); )
1204
1204
  n = /** @type {TemplateNode} */
1205
- /* @__PURE__ */ Ge(n);
1205
+ /* @__PURE__ */ We(n);
1206
1206
  if (!n)
1207
- throw pt;
1208
- vt(!0), Be(
1207
+ throw At;
1208
+ mt(!0), Ze(
1209
1209
  /** @type {Comment} */
1210
1210
  n
1211
- ), yt();
1212
- const u = Si(e, { ...t, anchor: n });
1213
- if (z === null || z.nodeType !== 8 || /** @type {Comment} */
1214
- z.data !== ii)
1215
- throw sr(), pt;
1216
- return vt(!1), /** @type {Exports} */
1217
- u;
1218
- } catch (u) {
1219
- if (u === pt)
1220
- return t.recover === !1 && Jn(), Ir(), go(r), vt(!1), $i(e, t);
1221
- throw u;
1211
+ ), _t();
1212
+ const c = Oi(e, { ...t, anchor: n });
1213
+ if (N === null || N.nodeType !== 8 || /** @type {Comment} */
1214
+ N.data !== fi)
1215
+ throw hr(), At;
1216
+ return mt(!1), /** @type {Exports} */
1217
+ c;
1218
+ } catch (c) {
1219
+ if (c === At)
1220
+ return t.recover === !1 && ro(), Pr(), yo(r), mt(!1), qi(e, t);
1221
+ throw c;
1222
1222
  } finally {
1223
- vt(i), Be(o);
1223
+ mt(i), Ze(o);
1224
1224
  }
1225
1225
  }
1226
- const ht = /* @__PURE__ */ new Map();
1227
- function Si(e, { target: t, anchor: r, props: i = {}, events: o, context: n, intro: u = !0 }) {
1228
- Ir();
1229
- var s = /* @__PURE__ */ new Set(), c = (h) => {
1230
- for (var v = 0; v < h.length; v++) {
1231
- var k = h[v];
1226
+ const bt = /* @__PURE__ */ new Map();
1227
+ function Oi(e, { target: t, anchor: r, props: i = {}, events: o, context: n, intro: c = !0 }) {
1228
+ Pr();
1229
+ var s = /* @__PURE__ */ new Set(), u = (h) => {
1230
+ for (var b = 0; b < h.length; b++) {
1231
+ var k = h[b];
1232
1232
  if (!s.has(k)) {
1233
1233
  s.add(k);
1234
- var V = Io(k);
1235
- t.addEventListener(k, Rt, { passive: V });
1236
- var _ = ht.get(k);
1237
- _ === void 0 ? (document.addEventListener(k, Rt, { passive: V }), ht.set(k, 1)) : ht.set(k, _ + 1);
1234
+ var V = So(k);
1235
+ t.addEventListener(k, Pt, { passive: V });
1236
+ var w = bt.get(k);
1237
+ w === void 0 ? (document.addEventListener(k, Pt, { passive: V }), bt.set(k, 1)) : bt.set(k, w + 1);
1238
1238
  }
1239
1239
  }
1240
1240
  };
1241
- c(zn(ji)), $r.add(c);
1242
- var d = void 0, p = Lo(() => {
1243
- var h = r ?? t.appendChild(ur());
1244
- return Rr(() => {
1241
+ u(Hn(Di)), qr.add(u);
1242
+ var d = void 0, m = Vo(() => {
1243
+ var h = r ?? t.appendChild(gr());
1244
+ return Nr(() => {
1245
1245
  if (n) {
1246
- oi({});
1247
- var v = (
1246
+ di({});
1247
+ var b = (
1248
1248
  /** @type {ComponentContext} */
1249
1249
  ie
1250
1250
  );
1251
- v.c = n;
1251
+ b.c = n;
1252
1252
  }
1253
- o && (i.$$events = o), N && Ie(
1253
+ o && (i.$$events = o), D && Re(
1254
1254
  /** @type {TemplateNode} */
1255
1255
  h,
1256
1256
  null
1257
- ), d = e(h, i) || {}, N && ($.nodes_end = z), n && li();
1257
+ ), d = e(h, i) || {}, D && ($.nodes_end = N), n && hi();
1258
1258
  }), () => {
1259
1259
  var V;
1260
- for (var v of s) {
1261
- t.removeEventListener(v, Rt);
1260
+ for (var b of s) {
1261
+ t.removeEventListener(b, Pt);
1262
1262
  var k = (
1263
1263
  /** @type {number} */
1264
- ht.get(v)
1264
+ bt.get(b)
1265
1265
  );
1266
- --k === 0 ? (document.removeEventListener(v, Rt), ht.delete(v)) : ht.set(v, k);
1266
+ --k === 0 ? (document.removeEventListener(b, Pt), bt.delete(b)) : bt.set(b, k);
1267
1267
  }
1268
- $r.delete(c), h !== r && ((V = h.parentNode) == null || V.removeChild(h));
1268
+ qr.delete(u), h !== r && ((V = h.parentNode) == null || V.removeChild(h));
1269
1269
  };
1270
1270
  });
1271
- return Sr.set(d, p), d;
1272
- }
1273
- let Sr = /* @__PURE__ */ new WeakMap();
1274
- function zo(e, t) {
1275
- const r = Sr.get(e);
1276
- return r ? (Sr.delete(e), r(t)) : Promise.resolve();
1277
- }
1278
- function W(e, t, [r, i] = [0, 0]) {
1279
- N && r === 0 && yt();
1280
- var o = e, n = null, u = null, s = ue, c = r > 0 ? Nr : 0, d = !1;
1281
- const p = (v, k = !0) => {
1282
- d = !0, h(k, v);
1283
- }, h = (v, k) => {
1284
- if (s === (s = v)) return;
1271
+ return Or.set(d, m), d;
1272
+ }
1273
+ let Or = /* @__PURE__ */ new WeakMap();
1274
+ function Ho(e, t) {
1275
+ const r = Or.get(e);
1276
+ return r ? (Or.delete(e), r(t)) : Promise.resolve();
1277
+ }
1278
+ function K(e, t, [r, i] = [0, 0]) {
1279
+ D && r === 0 && _t();
1280
+ var o = e, n = null, c = null, s = ce, u = r > 0 ? Mr : 0, d = !1;
1281
+ const m = (b, k = !0) => {
1282
+ d = !0, h(k, b);
1283
+ }, h = (b, k) => {
1284
+ if (s === (s = b)) return;
1285
1285
  let V = !1;
1286
- if (N && i !== -1) {
1286
+ if (D && i !== -1) {
1287
1287
  if (r === 0) {
1288
1288
  const q = (
1289
1289
  /** @type {Comment} */
1290
1290
  o.data
1291
1291
  );
1292
- q === Or ? i = 0 : q === ai ? i = 1 / 0 : (i = parseInt(q.substring(1)), i !== i && (i = s ? 1 / 0 : -1));
1292
+ q === Zr ? i = 0 : q === ci ? i = 1 / 0 : (i = parseInt(q.substring(1)), i !== i && (i = s ? 1 / 0 : -1));
1293
1293
  }
1294
- const _ = i > r;
1295
- !!s === _ && (o = ho(), Be(o), vt(!1), V = !0, i = -1);
1294
+ const w = i > r;
1295
+ !!s === w && (o = mo(), Ze(o), mt(!1), V = !0, i = -1);
1296
1296
  }
1297
- s ? (n ? Na(n) : k && (n = Rr(() => k(o))), u && jr(u, () => {
1298
- u = null;
1299
- })) : (u ? Na(u) : k && (u = Rr(() => k(o, [r + 1, i]))), n && jr(n, () => {
1297
+ s ? (n ? Ma(n) : k && (n = Nr(() => k(o))), c && Dr(c, () => {
1298
+ c = null;
1299
+ })) : (c ? Ma(c) : k && (c = Nr(() => k(o, [r + 1, i]))), n && Dr(n, () => {
1300
1300
  n = null;
1301
- })), V && vt(!0);
1301
+ })), V && mt(!0);
1302
1302
  };
1303
- wi(() => {
1304
- d = !1, t(p), d || h(null, null);
1305
- }, c), N && (o = z);
1303
+ Ii(() => {
1304
+ d = !1, t(m), d || h(null, null);
1305
+ }, u), D && (o = N);
1306
1306
  }
1307
- function Xe(e, t, r = !1, i = !1, o = !1) {
1308
- var n = e, u = "";
1309
- xe(() => {
1307
+ function tt(e, t, r = !1, i = !1, o = !1) {
1308
+ var n = e, c = "";
1309
+ Ie(() => {
1310
1310
  var s = (
1311
1311
  /** @type {Effect} */
1312
1312
  $
1313
1313
  );
1314
- if (u === (u = t() ?? "")) {
1315
- N && yt();
1314
+ if (c === (c = t() ?? "")) {
1315
+ D && _t();
1316
1316
  return;
1317
1317
  }
1318
- if (s.nodes_start !== null && (Ei(
1318
+ if (s.nodes_start !== null && (ji(
1319
1319
  s.nodes_start,
1320
1320
  /** @type {TemplateNode} */
1321
1321
  s.nodes_end
1322
- ), s.nodes_start = s.nodes_end = null), u !== "") {
1323
- if (N) {
1324
- z.data;
1325
- for (var c = yt(), d = c; c !== null && (c.nodeType !== 8 || /** @type {Comment} */
1326
- c.data !== ""); )
1327
- d = c, c = /** @type {TemplateNode} */
1328
- /* @__PURE__ */ Ge(c);
1329
- if (c === null)
1330
- throw sr(), pt;
1331
- Ie(z, d), n = Be(c);
1322
+ ), s.nodes_start = s.nodes_end = null), c !== "") {
1323
+ if (D) {
1324
+ N.data;
1325
+ for (var u = _t(), d = u; u !== null && (u.nodeType !== 8 || /** @type {Comment} */
1326
+ u.data !== ""); )
1327
+ d = u, u = /** @type {TemplateNode} */
1328
+ /* @__PURE__ */ We(u);
1329
+ if (u === null)
1330
+ throw hr(), At;
1331
+ Re(N, d), n = Ze(u);
1332
1332
  return;
1333
1333
  }
1334
- var p = u + "";
1335
- r ? p = `<svg>${p}</svg>` : i && (p = `<math>${p}</math>`);
1336
- var h = Zr(p);
1334
+ var m = c + "";
1335
+ r ? m = `<svg>${m}</svg>` : i && (m = `<math>${m}</math>`);
1336
+ var h = Xr(m);
1337
1337
  if ((r || i) && (h = /** @type {Element} */
1338
- /* @__PURE__ */ pe(h)), Ie(
1338
+ /* @__PURE__ */ me(h)), Re(
1339
1339
  /** @type {TemplateNode} */
1340
- /* @__PURE__ */ pe(h),
1340
+ /* @__PURE__ */ me(h),
1341
1341
  /** @type {TemplateNode} */
1342
1342
  h.lastChild
1343
1343
  ), r || i)
1344
- for (; /* @__PURE__ */ pe(h); )
1344
+ for (; /* @__PURE__ */ me(h); )
1345
1345
  n.before(
1346
1346
  /** @type {Node} */
1347
- /* @__PURE__ */ pe(h)
1347
+ /* @__PURE__ */ me(h)
1348
1348
  );
1349
1349
  else
1350
1350
  n.before(h);
1351
1351
  }
1352
1352
  });
1353
1353
  }
1354
- function No(e, t, r, i, o) {
1354
+ function Fo(e, t, r, i, o) {
1355
1355
  var s;
1356
- N && yt();
1357
- var n = (s = t.$$slots) == null ? void 0 : s[r], u = !1;
1358
- n === !0 && (n = t.children, u = !0), n === void 0 || n(e, u ? () => i : i);
1356
+ D && _t();
1357
+ var n = (s = t.$$slots) == null ? void 0 : s[r], c = !1;
1358
+ n === !0 && (n = t.children, c = !0), n === void 0 || n(e, c ? () => i : i);
1359
1359
  }
1360
- const qa = [...`
1360
+ const Ua = [...`
1361
1361
  \r\f \v\uFEFF`];
1362
- function Do(e, t, r) {
1362
+ function Mo(e, t, r) {
1363
1363
  var i = "" + e;
1364
1364
  if (r) {
1365
1365
  for (var o in r)
1366
1366
  if (r[o])
1367
1367
  i = i ? i + " " + o : o;
1368
1368
  else if (i.length)
1369
- for (var n = o.length, u = 0; (u = i.indexOf(o, u)) >= 0; ) {
1370
- var s = u + n;
1371
- (u === 0 || qa.includes(i[u - 1])) && (s === i.length || qa.includes(i[s])) ? i = (u === 0 ? "" : i.substring(0, u)) + i.substring(s + 1) : u = s;
1369
+ for (var n = o.length, c = 0; (c = i.indexOf(o, c)) >= 0; ) {
1370
+ var s = c + n;
1371
+ (c === 0 || Ua.includes(i[c - 1])) && (s === i.length || Ua.includes(i[s])) ? i = (c === 0 ? "" : i.substring(0, c)) + i.substring(s + 1) : c = s;
1372
1372
  }
1373
1373
  }
1374
1374
  return i === "" ? null : i;
1375
1375
  }
1376
- function qo(e, t, r, i, o, n) {
1377
- var u = e.__className;
1378
- if (N || u !== r || u === void 0) {
1379
- var s = Do(r, i, n);
1380
- (!N || s !== e.getAttribute("class")) && (s == null ? e.removeAttribute("class") : e.className = s), e.__className = r;
1376
+ function Bo(e, t, r, i, o, n) {
1377
+ var c = e.__className;
1378
+ if (D || c !== r || c === void 0) {
1379
+ var s = Mo(r, i, n);
1380
+ (!D || s !== e.getAttribute("class")) && (s == null ? e.removeAttribute("class") : e.className = s), e.__className = r;
1381
1381
  } else if (n && o !== n)
1382
- for (var c in n) {
1383
- var d = !!n[c];
1384
- (o == null || d !== !!o[c]) && e.classList.toggle(c, d);
1382
+ for (var u in n) {
1383
+ var d = !!n[u];
1384
+ (o == null || d !== !!o[u]) && e.classList.toggle(u, d);
1385
1385
  }
1386
1386
  return n;
1387
1387
  }
1388
- const Oo = Symbol("is custom element"), Ho = Symbol("is html");
1389
- function Oa(e) {
1390
- if (N) {
1388
+ const Uo = Symbol("is custom element"), Zo = Symbol("is html");
1389
+ function Za(e) {
1390
+ if (D) {
1391
1391
  var t = !1, r = () => {
1392
1392
  if (!t) {
1393
1393
  if (t = !0, e.hasAttribute("value")) {
@@ -1400,97 +1400,97 @@ function Oa(e) {
1400
1400
  }
1401
1401
  }
1402
1402
  };
1403
- e.__on_r = r, Un(r), Vi();
1403
+ e.__on_r = r, Kn(r), zi();
1404
1404
  }
1405
1405
  }
1406
- function Fo(e, t) {
1407
- var r = Pi(e);
1406
+ function Go(e, t) {
1407
+ var r = Hi(e);
1408
1408
  r.value === (r.value = // treat null and undefined the same for the initial value
1409
1409
  t ?? void 0) || // @ts-expect-error
1410
1410
  // `progress` elements always need their value set when it's `0`
1411
1411
  e.value === t && (t !== 0 || e.nodeName !== "PROGRESS") || (e.value = t ?? "");
1412
1412
  }
1413
1413
  function R(e, t, r, i) {
1414
- var o = Pi(e);
1415
- N && (o[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === "LINK") || o[t] !== (o[t] = r) && (t === "loading" && (e[Mn] = r), r == null ? e.removeAttribute(t) : typeof r != "string" && Mo(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
1414
+ var o = Hi(e);
1415
+ D && (o[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === "LINK") || o[t] !== (o[t] = r) && (t === "loading" && (e[Yn] = r), r == null ? e.removeAttribute(t) : typeof r != "string" && Yo(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
1416
1416
  }
1417
- function Pi(e) {
1417
+ function Hi(e) {
1418
1418
  return (
1419
1419
  /** @type {Record<string | symbol, unknown>} **/
1420
1420
  // @ts-expect-error
1421
1421
  e.__attributes ?? (e.__attributes = {
1422
- [Oo]: e.nodeName.includes("-"),
1423
- [Ho]: e.namespaceURI === so
1422
+ [Uo]: e.nodeName.includes("-"),
1423
+ [Zo]: e.namespaceURI === go
1424
1424
  })
1425
1425
  );
1426
1426
  }
1427
- var Ha = /* @__PURE__ */ new Map();
1428
- function Mo(e) {
1429
- var t = Ha.get(e.nodeName);
1427
+ var Ga = /* @__PURE__ */ new Map();
1428
+ function Yo(e) {
1429
+ var t = Ga.get(e.nodeName);
1430
1430
  if (t) return t;
1431
- Ha.set(e.nodeName, t = []);
1431
+ Ga.set(e.nodeName, t = []);
1432
1432
  for (var r, i = e, o = Element.prototype; o !== i; ) {
1433
- r = Nn(i);
1433
+ r = Fn(i);
1434
1434
  for (var n in r)
1435
1435
  r[n].set && t.push(n);
1436
- i = Ya(i);
1436
+ i = ei(i);
1437
1437
  }
1438
1438
  return t;
1439
1439
  }
1440
- function Bo(e, t, r = t) {
1441
- Ro(e, "change", (i) => {
1440
+ function Wo(e, t, r = t) {
1441
+ zo(e, "change", (i) => {
1442
1442
  var o = i ? e.defaultChecked : e.checked;
1443
1443
  r(o);
1444
1444
  }), // If we are hydrating and the value has since changed,
1445
1445
  // then use the update value from the input instead.
1446
- (N && e.defaultChecked !== e.checked || // If defaultChecked is set, then checked == defaultChecked
1447
- tt(t) == null) && r(e.checked), Ur(() => {
1446
+ (D && e.defaultChecked !== e.checked || // If defaultChecked is set, then checked == defaultChecked
1447
+ it(t) == null) && r(e.checked), Jr(() => {
1448
1448
  var i = t();
1449
1449
  e.checked = !!i;
1450
1450
  });
1451
1451
  }
1452
- function Fa(e, t) {
1453
- return e === t || (e == null ? void 0 : e[jt]) === t;
1452
+ function Ya(e, t) {
1453
+ return e === t || (e == null ? void 0 : e[zt]) === t;
1454
1454
  }
1455
- function Gt(e = {}, t, r, i) {
1456
- return Br(() => {
1455
+ function Xt(e = {}, t, r, i) {
1456
+ return Kr(() => {
1457
1457
  var o, n;
1458
- return Ur(() => {
1459
- o = n, n = [], tt(() => {
1460
- e !== r(...n) && (t(e, ...n), o && Fa(r(...o), e) && t(null, ...o));
1458
+ return Jr(() => {
1459
+ o = n, n = [], it(() => {
1460
+ e !== r(...n) && (t(e, ...n), o && Ya(r(...o), e) && t(null, ...o));
1461
1461
  });
1462
1462
  }), () => {
1463
- Dr(() => {
1464
- n && Fa(r(...n), e) && t(null, ...n);
1463
+ Br(() => {
1464
+ n && Ya(r(...n), e) && t(null, ...n);
1465
1465
  });
1466
1466
  };
1467
1467
  }), e;
1468
1468
  }
1469
- let Yt = !1, Pr = Symbol();
1470
- function Uo(e, t, r) {
1469
+ let Qt = !1, Hr = Symbol();
1470
+ function Ko(e, t, r) {
1471
1471
  const i = r[t] ?? (r[t] = {
1472
1472
  store: null,
1473
- source: /* @__PURE__ */ Hr(void 0),
1474
- unsubscribe: bt
1473
+ source: /* @__PURE__ */ Gr(void 0),
1474
+ unsubscribe: yt
1475
1475
  });
1476
- if (i.store !== e && !(Pr in r))
1476
+ if (i.store !== e && !(Hr in r))
1477
1477
  if (i.unsubscribe(), i.store = e ?? null, e == null)
1478
- i.source.v = void 0, i.unsubscribe = bt;
1478
+ i.source.v = void 0, i.unsubscribe = yt;
1479
1479
  else {
1480
1480
  var o = !0;
1481
- i.unsubscribe = Di(e, (n) => {
1482
- o ? i.source.v = n : y(i.source, n);
1481
+ i.unsubscribe = Bi(e, (n) => {
1482
+ o ? i.source.v = n : A(i.source, n);
1483
1483
  }), o = !1;
1484
1484
  }
1485
- return e && Pr in r ? Jt(e) : l(i.source);
1485
+ return e && Hr in r ? rr(e) : l(i.source);
1486
1486
  }
1487
- function Zo() {
1487
+ function Jo() {
1488
1488
  const e = {};
1489
1489
  function t() {
1490
- Mr(() => {
1490
+ Wr(() => {
1491
1491
  for (var r in e)
1492
1492
  e[r].unsubscribe();
1493
- St(e, Pr, {
1493
+ Dt(e, Hr, {
1494
1494
  enumerable: !1,
1495
1495
  value: !0
1496
1496
  });
@@ -1498,72 +1498,72 @@ function Zo() {
1498
1498
  }
1499
1499
  return [e, t];
1500
1500
  }
1501
- function Go(e) {
1502
- var t = Yt;
1501
+ function Xo(e) {
1502
+ var t = Qt;
1503
1503
  try {
1504
- return Yt = !1, [e(), Yt];
1504
+ return Qt = !1, [e(), Qt];
1505
1505
  } finally {
1506
- Yt = t;
1506
+ Qt = t;
1507
1507
  }
1508
1508
  }
1509
- function Ma(e) {
1509
+ function Wa(e) {
1510
1510
  var t;
1511
1511
  return ((t = e.ctx) == null ? void 0 : t.d) ?? !1;
1512
1512
  }
1513
1513
  function x(e, t, r, i) {
1514
- var nt;
1515
- var o = (r & ro) !== 0, n = !0, u = (r & io) !== 0, s = (r & no) !== 0, c = !1, d;
1516
- u ? [d, c] = Go(() => (
1514
+ var st;
1515
+ var o = (r & lo) !== 0, n = !0, c = (r & co) !== 0, s = (r & fo) !== 0, u = !1, d;
1516
+ c ? [d, u] = Xo(() => (
1517
1517
  /** @type {V} */
1518
1518
  e[t]
1519
1519
  )) : d = /** @type {V} */
1520
1520
  e[t];
1521
- var p = jt in e || Xa in e, h = u && (((nt = Qe(e, t)) == null ? void 0 : nt.set) ?? (p && t in e && ((H) => e[t] = H))) || void 0, v = (
1521
+ var m = zt in e || ii in e, h = c && (((st = rt(e, t)) == null ? void 0 : st.set) ?? (m && t in e && ((F) => e[t] = F))) || void 0, b = (
1522
1522
  /** @type {V} */
1523
1523
  i
1524
- ), k = !0, V = !1, _ = () => (V = !0, k && (k = !1, s ? v = tt(
1524
+ ), k = !0, V = !1, w = () => (V = !0, k && (k = !1, s ? b = it(
1525
1525
  /** @type {() => V} */
1526
1526
  i
1527
- ) : v = /** @type {V} */
1528
- i), v);
1529
- d === void 0 && i !== void 0 && (h && n && Xn(), d = _(), h && h(d));
1527
+ ) : b = /** @type {V} */
1528
+ i), b);
1529
+ d === void 0 && i !== void 0 && (h && n && ao(), d = w(), h && h(d));
1530
1530
  var q;
1531
1531
  if (q = () => {
1532
- var H = (
1532
+ var F = (
1533
1533
  /** @type {V} */
1534
1534
  e[t]
1535
1535
  );
1536
- return H === void 0 ? _() : (k = !0, V = !1, H);
1537
- }, (r & ao) === 0)
1536
+ return F === void 0 ? w() : (k = !0, V = !1, F);
1537
+ }, (r & so) === 0)
1538
1538
  return q;
1539
1539
  if (h) {
1540
- var ce = e.$$legacy;
1541
- return function(H, oe) {
1542
- return arguments.length > 0 ? ((!oe || ce || c) && h(oe ? q() : H), H) : q();
1540
+ var ue = e.$$legacy;
1541
+ return function(F, oe) {
1542
+ return arguments.length > 0 ? ((!oe || ue || u) && h(oe ? q() : F), F) : q();
1543
1543
  };
1544
1544
  }
1545
- var K = !1, ee = /* @__PURE__ */ Hr(d), J = /* @__PURE__ */ lr(() => {
1546
- var H = q(), oe = l(ee);
1547
- return K ? (K = !1, oe) : ee.v = H;
1545
+ var J = !1, te = /* @__PURE__ */ Gr(d), X = /* @__PURE__ */ dr(() => {
1546
+ var F = q(), oe = l(te);
1547
+ return J ? (J = !1, oe) : te.v = F;
1548
1548
  });
1549
- return u && l(J), o || (J.equals = qr), function(H, oe) {
1549
+ return c && l(X), o || (X.equals = Ur), function(F, oe) {
1550
1550
  if (arguments.length > 0) {
1551
- const me = oe ? l(J) : u ? Fe(H) : H;
1552
- if (!J.equals(me)) {
1553
- if (K = !0, y(ee, me), V && v !== void 0 && (v = me), Ma(J))
1554
- return H;
1555
- tt(() => l(J));
1551
+ const ye = oe ? l(X) : c ? Be(F) : F;
1552
+ if (!X.equals(ye)) {
1553
+ if (J = !0, A(te, ye), V && b !== void 0 && (b = ye), Wa(X))
1554
+ return F;
1555
+ it(() => l(X));
1556
1556
  }
1557
- return H;
1557
+ return F;
1558
1558
  }
1559
- return Ma(J) ? J.v : l(J);
1559
+ return Wa(X) ? X.v : l(X);
1560
1560
  };
1561
1561
  }
1562
- function Yo(e) {
1563
- return new Wo(e);
1562
+ function Qo(e) {
1563
+ return new el(e);
1564
1564
  }
1565
- var $e, be;
1566
- class Wo {
1565
+ var Pe, pe;
1566
+ class el {
1567
1567
  /**
1568
1568
  * @param {ComponentConstructorOptions & {
1569
1569
  * component: any;
@@ -1571,57 +1571,57 @@ class Wo {
1571
1571
  */
1572
1572
  constructor(t) {
1573
1573
  /** @type {any} */
1574
- wr(this, $e);
1574
+ Ir(this, Pe);
1575
1575
  /** @type {Record<string, any>} */
1576
- wr(this, be);
1576
+ Ir(this, pe);
1577
1577
  var n;
1578
- var r = /* @__PURE__ */ new Map(), i = (u, s) => {
1579
- var c = /* @__PURE__ */ Hr(s);
1580
- return r.set(u, c), c;
1578
+ var r = /* @__PURE__ */ new Map(), i = (c, s) => {
1579
+ var u = /* @__PURE__ */ Gr(s);
1580
+ return r.set(c, u), u;
1581
1581
  };
1582
1582
  const o = new Proxy(
1583
1583
  { ...t.props || {}, $$events: {} },
1584
1584
  {
1585
- get(u, s) {
1586
- return l(r.get(s) ?? i(s, Reflect.get(u, s)));
1585
+ get(c, s) {
1586
+ return l(r.get(s) ?? i(s, Reflect.get(c, s)));
1587
1587
  },
1588
- has(u, s) {
1589
- return s === Xa ? !0 : (l(r.get(s) ?? i(s, Reflect.get(u, s))), Reflect.has(u, s));
1588
+ has(c, s) {
1589
+ return s === ii ? !0 : (l(r.get(s) ?? i(s, Reflect.get(c, s))), Reflect.has(c, s));
1590
1590
  },
1591
- set(u, s, c) {
1592
- return y(r.get(s) ?? i(s, c), c), Reflect.set(u, s, c);
1591
+ set(c, s, u) {
1592
+ return A(r.get(s) ?? i(s, u), u), Reflect.set(c, s, u);
1593
1593
  }
1594
1594
  }
1595
1595
  );
1596
- Cr(this, be, (t.hydrate ? Po : $i)(t.component, {
1596
+ Vr(this, pe, (t.hydrate ? Oo : qi)(t.component, {
1597
1597
  target: t.target,
1598
1598
  anchor: t.anchor,
1599
1599
  props: o,
1600
1600
  context: t.context,
1601
1601
  intro: t.intro ?? !1,
1602
1602
  recover: t.recover
1603
- })), (!((n = t == null ? void 0 : t.props) != null && n.$$host) || t.sync === !1) && E(), Cr(this, $e, o.$$events);
1604
- for (const u of Object.keys(se(this, be)))
1605
- u === "$set" || u === "$destroy" || u === "$on" || St(this, u, {
1603
+ })), (!((n = t == null ? void 0 : t.props) != null && n.$$host) || t.sync === !1) && L(), Vr(this, Pe, o.$$events);
1604
+ for (const c of Object.keys(se(this, pe)))
1605
+ c === "$set" || c === "$destroy" || c === "$on" || Dt(this, c, {
1606
1606
  get() {
1607
- return se(this, be)[u];
1607
+ return se(this, pe)[c];
1608
1608
  },
1609
1609
  /** @param {any} value */
1610
1610
  set(s) {
1611
- se(this, be)[u] = s;
1611
+ se(this, pe)[c] = s;
1612
1612
  },
1613
1613
  enumerable: !0
1614
1614
  });
1615
- se(this, be).$set = /** @param {Record<string, any>} next */
1616
- (u) => {
1617
- Object.assign(o, u);
1618
- }, se(this, be).$destroy = () => {
1619
- zo(se(this, be));
1615
+ se(this, pe).$set = /** @param {Record<string, any>} next */
1616
+ (c) => {
1617
+ Object.assign(o, c);
1618
+ }, se(this, pe).$destroy = () => {
1619
+ Ho(se(this, pe));
1620
1620
  };
1621
1621
  }
1622
1622
  /** @param {Record<string, any>} props */
1623
1623
  $set(t) {
1624
- se(this, be).$set(t);
1624
+ se(this, pe).$set(t);
1625
1625
  }
1626
1626
  /**
1627
1627
  * @param {string} event
@@ -1629,22 +1629,22 @@ class Wo {
1629
1629
  * @returns {any}
1630
1630
  */
1631
1631
  $on(t, r) {
1632
- se(this, $e)[t] = se(this, $e)[t] || [];
1632
+ se(this, Pe)[t] = se(this, Pe)[t] || [];
1633
1633
  const i = (...o) => r.call(this, ...o);
1634
- return se(this, $e)[t].push(i), () => {
1635
- se(this, $e)[t] = se(this, $e)[t].filter(
1634
+ return se(this, Pe)[t].push(i), () => {
1635
+ se(this, Pe)[t] = se(this, Pe)[t].filter(
1636
1636
  /** @param {any} fn */
1637
1637
  (o) => o !== i
1638
1638
  );
1639
1639
  };
1640
1640
  }
1641
1641
  $destroy() {
1642
- se(this, be).$destroy();
1642
+ se(this, pe).$destroy();
1643
1643
  }
1644
1644
  }
1645
- $e = new WeakMap(), be = new WeakMap();
1646
- let zi;
1647
- typeof HTMLElement == "function" && (zi = class extends HTMLElement {
1645
+ Pe = new WeakMap(), pe = new WeakMap();
1646
+ let Fi;
1647
+ typeof HTMLElement == "function" && (Fi = class extends HTMLElement {
1648
1648
  /**
1649
1649
  * @param {*} $$componentCtor
1650
1650
  * @param {*} $$slots
@@ -1653,25 +1653,25 @@ typeof HTMLElement == "function" && (zi = class extends HTMLElement {
1653
1653
  constructor(t, r, i) {
1654
1654
  super();
1655
1655
  /** The Svelte component constructor */
1656
- Ae(this, "$$ctor");
1656
+ ke(this, "$$ctor");
1657
1657
  /** Slots */
1658
- Ae(this, "$$s");
1658
+ ke(this, "$$s");
1659
1659
  /** @type {any} The Svelte component instance */
1660
- Ae(this, "$$c");
1660
+ ke(this, "$$c");
1661
1661
  /** Whether or not the custom element is connected */
1662
- Ae(this, "$$cn", !1);
1662
+ ke(this, "$$cn", !1);
1663
1663
  /** @type {Record<string, any>} Component props data */
1664
- Ae(this, "$$d", {});
1664
+ ke(this, "$$d", {});
1665
1665
  /** `true` if currently in the process of reflecting component props back to attributes */
1666
- Ae(this, "$$r", !1);
1666
+ ke(this, "$$r", !1);
1667
1667
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
1668
- Ae(this, "$$p_d", {});
1668
+ ke(this, "$$p_d", {});
1669
1669
  /** @type {Record<string, EventListenerOrEventListenerObject[]>} Event listeners */
1670
- Ae(this, "$$l", {});
1670
+ ke(this, "$$l", {});
1671
1671
  /** @type {Map<EventListenerOrEventListenerObject, Function>} Event listener unsubscribe functions */
1672
- Ae(this, "$$l_u", /* @__PURE__ */ new Map());
1672
+ ke(this, "$$l_u", /* @__PURE__ */ new Map());
1673
1673
  /** @type {any} The managed render effect for reflecting attributes */
1674
- Ae(this, "$$me");
1674
+ ke(this, "$$me");
1675
1675
  this.$$ctor = t, this.$$s = r, i && this.attachShadow({ mode: "open" });
1676
1676
  }
1677
1677
  /**
@@ -1701,22 +1701,22 @@ typeof HTMLElement == "function" && (zi = class extends HTMLElement {
1701
1701
  if (this.$$cn = !0, !this.$$c) {
1702
1702
  let t = function(o) {
1703
1703
  return (n) => {
1704
- const u = document.createElement("slot");
1705
- o !== "default" && (u.name = o), O(n, u);
1704
+ const c = document.createElement("slot");
1705
+ o !== "default" && (c.name = o), H(n, c);
1706
1706
  };
1707
1707
  };
1708
1708
  if (await Promise.resolve(), !this.$$cn || this.$$c)
1709
1709
  return;
1710
- const r = {}, i = Ko(this);
1710
+ const r = {}, i = tl(this);
1711
1711
  for (const o of this.$$s)
1712
1712
  o in i && (o === "default" && !this.$$d.children ? (this.$$d.children = t(o), r.default = !0) : r[o] = t(o));
1713
1713
  for (const o of this.attributes) {
1714
1714
  const n = this.$$g_p(o.name);
1715
- n in this.$$d || (this.$$d[n] = Kt(n, o.value, this.$$p_d, "toProp"));
1715
+ n in this.$$d || (this.$$d[n] = tr(n, o.value, this.$$p_d, "toProp"));
1716
1716
  }
1717
1717
  for (const o in this.$$p_d)
1718
1718
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
1719
- this.$$c = Yo({
1719
+ this.$$c = Qo({
1720
1720
  component: this.$$ctor,
1721
1721
  target: this.shadowRoot || this,
1722
1722
  props: {
@@ -1724,28 +1724,28 @@ typeof HTMLElement == "function" && (zi = class extends HTMLElement {
1724
1724
  $$slots: r,
1725
1725
  $$host: this
1726
1726
  }
1727
- }), this.$$me = Co(() => {
1728
- Ur(() => {
1727
+ }), this.$$me = Io(() => {
1728
+ Jr(() => {
1729
1729
  var o;
1730
1730
  this.$$r = !0;
1731
- for (const n of Xt(this.$$c)) {
1731
+ for (const n of ar(this.$$c)) {
1732
1732
  if (!((o = this.$$p_d[n]) != null && o.reflect)) continue;
1733
1733
  this.$$d[n] = this.$$c[n];
1734
- const u = Kt(
1734
+ const c = tr(
1735
1735
  n,
1736
1736
  this.$$d[n],
1737
1737
  this.$$p_d,
1738
1738
  "toAttribute"
1739
1739
  );
1740
- u == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, u);
1740
+ c == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, c);
1741
1741
  }
1742
1742
  this.$$r = !1;
1743
1743
  });
1744
1744
  });
1745
1745
  for (const o in this.$$l)
1746
1746
  for (const n of this.$$l[o]) {
1747
- const u = this.$$c.$on(o, n);
1748
- this.$$l_u.set(n, u);
1747
+ const c = this.$$c.$on(o, n);
1748
+ this.$$l_u.set(n, c);
1749
1749
  }
1750
1750
  this.$$l = {};
1751
1751
  }
@@ -1759,7 +1759,7 @@ typeof HTMLElement == "function" && (zi = class extends HTMLElement {
1759
1759
  */
1760
1760
  attributeChangedCallback(t, r, i) {
1761
1761
  var o;
1762
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Kt(t, i, this.$$p_d, "toProp"), (o = this.$$c) == null || o.$set({ [t]: this.$$d[t] }));
1762
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = tr(t, i, this.$$p_d, "toProp"), (o = this.$$c) == null || o.$set({ [t]: this.$$d[t] }));
1763
1763
  }
1764
1764
  disconnectedCallback() {
1765
1765
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -1770,12 +1770,12 @@ typeof HTMLElement == "function" && (zi = class extends HTMLElement {
1770
1770
  * @param {string} attribute_name
1771
1771
  */
1772
1772
  $$g_p(t) {
1773
- return Xt(this.$$p_d).find(
1773
+ return ar(this.$$p_d).find(
1774
1774
  (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
1775
1775
  ) || t;
1776
1776
  }
1777
1777
  });
1778
- function Kt(e, t, r, i) {
1778
+ function tr(e, t, r, i) {
1779
1779
  var n;
1780
1780
  const o = (n = r[e]) == null ? void 0 : n.type;
1781
1781
  if (t = o === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
@@ -1806,7 +1806,7 @@ function Kt(e, t, r, i) {
1806
1806
  return t;
1807
1807
  }
1808
1808
  }
1809
- function Ko(e) {
1809
+ function tl(e) {
1810
1810
  const t = {};
1811
1811
  return e.childNodes.forEach((r) => {
1812
1812
  t[
@@ -1815,58 +1815,58 @@ function Ko(e) {
1815
1815
  ] = !0;
1816
1816
  }), t;
1817
1817
  }
1818
- function Jo(e, t, r, i, o, n) {
1819
- let u = class extends zi {
1818
+ function rl(e, t, r, i, o, n) {
1819
+ let c = class extends Fi {
1820
1820
  constructor() {
1821
1821
  super(e, r, o), this.$$p_d = t;
1822
1822
  }
1823
1823
  static get observedAttributes() {
1824
- return Xt(t).map(
1824
+ return ar(t).map(
1825
1825
  (s) => (t[s].attribute || s).toLowerCase()
1826
1826
  );
1827
1827
  }
1828
1828
  };
1829
- return Xt(t).forEach((s) => {
1830
- St(u.prototype, s, {
1829
+ return ar(t).forEach((s) => {
1830
+ Dt(c.prototype, s, {
1831
1831
  get() {
1832
1832
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
1833
1833
  },
1834
- set(c) {
1834
+ set(u) {
1835
1835
  var h;
1836
- c = Kt(s, c, t), this.$$d[s] = c;
1836
+ u = tr(s, u, t), this.$$d[s] = u;
1837
1837
  var d = this.$$c;
1838
1838
  if (d) {
1839
- var p = (h = Qe(d, s)) == null ? void 0 : h.get;
1840
- p ? d[s] = c : d.$set({ [s]: c });
1839
+ var m = (h = rt(d, s)) == null ? void 0 : h.get;
1840
+ m ? d[s] = u : d.$set({ [s]: u });
1841
1841
  }
1842
1842
  }
1843
1843
  });
1844
1844
  }), i.forEach((s) => {
1845
- St(u.prototype, s, {
1845
+ Dt(c.prototype, s, {
1846
1846
  get() {
1847
- var c;
1848
- return (c = this.$$c) == null ? void 0 : c[s];
1847
+ var u;
1848
+ return (u = this.$$c) == null ? void 0 : u[s];
1849
1849
  }
1850
1850
  });
1851
1851
  }), e.element = /** @type {any} */
1852
- u, u;
1852
+ c, c;
1853
1853
  }
1854
- function Ni(e) {
1855
- ie === null && ni(), Vr(() => {
1856
- const t = tt(e);
1854
+ function Mi(e) {
1855
+ ie === null && ui(), zr(() => {
1856
+ const t = it(e);
1857
1857
  if (typeof t == "function") return (
1858
1858
  /** @type {() => void} */
1859
1859
  t
1860
1860
  );
1861
1861
  });
1862
1862
  }
1863
- function Xo(e) {
1864
- ie === null && ni(), Ni(() => () => tt(e));
1863
+ function al(e) {
1864
+ ie === null && ui(), Mi(() => () => it(e));
1865
1865
  }
1866
- function Di(e, t, r) {
1866
+ function Bi(e, t, r) {
1867
1867
  if (e == null)
1868
- return t(void 0), bt;
1869
- const i = tt(
1868
+ return t(void 0), yt;
1869
+ const i = it(
1870
1870
  () => e.subscribe(
1871
1871
  t,
1872
1872
  // @ts-expect-error
@@ -1875,19 +1875,19 @@ function Di(e, t, r) {
1875
1875
  );
1876
1876
  return i.unsubscribe ? () => i.unsubscribe() : i;
1877
1877
  }
1878
- const gt = [];
1879
- function Qo(e, t = bt) {
1878
+ const pt = [];
1879
+ function il(e, t = yt) {
1880
1880
  let r = null;
1881
1881
  const i = /* @__PURE__ */ new Set();
1882
1882
  function o(s) {
1883
- if (ri(e, s) && (e = s, r)) {
1884
- const c = !gt.length;
1883
+ if (si(e, s) && (e = s, r)) {
1884
+ const u = !pt.length;
1885
1885
  for (const d of i)
1886
- d[1](), gt.push(d, e);
1887
- if (c) {
1888
- for (let d = 0; d < gt.length; d += 2)
1889
- gt[d][0](gt[d + 1]);
1890
- gt.length = 0;
1886
+ d[1](), pt.push(d, e);
1887
+ if (u) {
1888
+ for (let d = 0; d < pt.length; d += 2)
1889
+ pt[d][0](pt[d + 1]);
1890
+ pt.length = 0;
1891
1891
  }
1892
1892
  }
1893
1893
  }
@@ -1897,32 +1897,32 @@ function Qo(e, t = bt) {
1897
1897
  e
1898
1898
  ));
1899
1899
  }
1900
- function u(s, c = bt) {
1901
- const d = [s, c];
1902
- return i.add(d), i.size === 1 && (r = t(o, n) || bt), s(
1900
+ function c(s, u = yt) {
1901
+ const d = [s, u];
1902
+ return i.add(d), i.size === 1 && (r = t(o, n) || yt), s(
1903
1903
  /** @type {T} */
1904
1904
  e
1905
1905
  ), () => {
1906
1906
  i.delete(d), i.size === 0 && r && (r(), r = null);
1907
1907
  };
1908
1908
  }
1909
- return { set: o, update: n, subscribe: u };
1909
+ return { set: o, update: n, subscribe: c };
1910
1910
  }
1911
- function Jt(e) {
1911
+ function rr(e) {
1912
1912
  let t;
1913
- return Di(e, (r) => t = r)(), t;
1913
+ return Bi(e, (r) => t = r)(), t;
1914
1914
  }
1915
1915
  globalThis.altchaPlugins = globalThis.altchaPlugins || [];
1916
1916
  globalThis.altchaI18n = globalThis.altchaI18n || {
1917
- get: (e) => Jt(globalThis.altchaI18n.store)[e],
1917
+ get: (e) => rr(globalThis.altchaI18n.store)[e],
1918
1918
  set: (e, t) => {
1919
- Object.assign(Jt(globalThis.altchaI18n.store), {
1919
+ Object.assign(rr(globalThis.altchaI18n.store), {
1920
1920
  [e]: t
1921
- }), globalThis.altchaI18n.store.set(Jt(globalThis.altchaI18n.store));
1921
+ }), globalThis.altchaI18n.store.set(rr(globalThis.altchaI18n.store));
1922
1922
  },
1923
- store: Qo({})
1923
+ store: il({})
1924
1924
  };
1925
- const el = {
1925
+ const nl = {
1926
1926
  ariaLinkLabel: "Besoek Altcha.org",
1927
1927
  enterCode: "Voer kode in",
1928
1928
  enterCodeAria: "Voer die kode in wat jy hoor. Druk Spasie om die klank af te speel.",
@@ -1939,8 +1939,8 @@ const el = {
1939
1939
  verifying: "Verifieer...",
1940
1940
  waitAlert: "Verifieer... wag asseblief."
1941
1941
  };
1942
- globalThis.altchaI18n.set("af", el);
1943
- const tl = {
1942
+ globalThis.altchaI18n.set("af", nl);
1943
+ const ol = {
1944
1944
  ariaLinkLabel: "زور Altcha.org",
1945
1945
  enterCode: "أدخل الرمز",
1946
1946
  enterCodeAria: "أدخل الرمز الذي تسمعه. اضغط على المسافة لتشغيل الصوت.",
@@ -1957,8 +1957,8 @@ const tl = {
1957
1957
  verifying: "جارٍ التحقق...",
1958
1958
  waitAlert: "جارٍ التحقق... يرجى الانتظار."
1959
1959
  };
1960
- globalThis.altchaI18n.set("ar", tl);
1961
- const rl = {
1960
+ globalThis.altchaI18n.set("ar", ol);
1961
+ const ll = {
1962
1962
  ariaLinkLabel: "Посетете Altcha.org",
1963
1963
  enterCode: "Въведете код",
1964
1964
  enterCodeAria: "Въведете кода, който чувате. Натиснете Space за възпроизвеждане на аудио.",
@@ -1975,8 +1975,8 @@ const rl = {
1975
1975
  verifying: "Проверява се...",
1976
1976
  waitAlert: "Проверката е в процес... моля изчакайте."
1977
1977
  };
1978
- globalThis.altchaI18n.set("bg", rl);
1979
- const al = {
1978
+ globalThis.altchaI18n.set("bg", ll);
1979
+ const sl = {
1980
1980
  ariaLinkLabel: "Наведаць Altcha.org",
1981
1981
  enterCode: "Увядзіце код",
1982
1982
  enterCodeAria: "Увядзіце код, які вы чуеце. Націсніце прабел, каб прайграць аўдыё.",
@@ -1993,8 +1993,8 @@ const al = {
1993
1993
  verifying: "Правяраем...",
1994
1994
  waitAlert: "Праверка... калі ласка, пачакайце."
1995
1995
  };
1996
- globalThis.altchaI18n.set("be", al);
1997
- const il = {
1996
+ globalThis.altchaI18n.set("be", sl);
1997
+ const cl = {
1998
1998
  ariaLinkLabel: "Posjetite Altcha.org",
1999
1999
  enterCode: "Unesite kod",
2000
2000
  enterCodeAria: "Unesite kod koji čujete. Pritisnite Space da biste pustili zvuk.",
@@ -2011,8 +2011,8 @@ const il = {
2011
2011
  verifying: "Verifikacija u toku...",
2012
2012
  waitAlert: "Verifikacija u toku... molimo vas da sačekate."
2013
2013
  };
2014
- globalThis.altchaI18n.set("bs", il);
2015
- const nl = {
2014
+ globalThis.altchaI18n.set("bs", cl);
2015
+ const fl = {
2016
2016
  ariaLinkLabel: "Visita Altcha.org",
2017
2017
  enterCode: "Introdueix el codi",
2018
2018
  enterCodeAria: "Introdueix el codi que escoltes. Prem Espai per reproduir l’àudio.",
@@ -2029,8 +2029,8 @@ const nl = {
2029
2029
  verifying: "Verificant...",
2030
2030
  waitAlert: "Verificant... si us plau, espera."
2031
2031
  };
2032
- globalThis.altchaI18n.set("ca", nl);
2033
- const ol = {
2032
+ globalThis.altchaI18n.set("ca", fl);
2033
+ const ul = {
2034
2034
  ariaLinkLabel: "Navštivte Altcha.org",
2035
2035
  enterCode: "Zadejte kód",
2036
2036
  enterCodeAria: "Zadejte kód, který slyšíte. Stisknutím mezerníku přehrajete zvuk.",
@@ -2047,8 +2047,8 @@ const ol = {
2047
2047
  verifying: "Ověřování...",
2048
2048
  waitAlert: "Probíhá ověření... prosím počkejte."
2049
2049
  };
2050
- globalThis.altchaI18n.set("cs", ol);
2051
- const ll = {
2050
+ globalThis.altchaI18n.set("cs", ul);
2051
+ const dl = {
2052
2052
  ariaLinkLabel: "Besøg Altcha.org",
2053
2053
  enterCode: "Indtast kode",
2054
2054
  enterCodeAria: "Indtast den kode, du hører. Tryk på mellemrumstasten for at afspille lyd.",
@@ -2065,8 +2065,8 @@ const ll = {
2065
2065
  verifying: "Verificerer...",
2066
2066
  waitAlert: "Verificerer... vent venligst."
2067
2067
  };
2068
- globalThis.altchaI18n.set("da", ll);
2069
- const sl = {
2068
+ globalThis.altchaI18n.set("da", dl);
2069
+ const hl = {
2070
2070
  ariaLinkLabel: "Besuche Altcha.org",
2071
2071
  enterCode: "Code eingeben",
2072
2072
  enterCodeAria: "Geben Sie den Code ein, den Sie hören. Drücken Sie die Leertaste, um die Audio abzuspielen.",
@@ -2083,8 +2083,8 @@ const sl = {
2083
2083
  verifying: "Wird überprüft...",
2084
2084
  waitAlert: "Überprüfung läuft... bitte warten."
2085
2085
  };
2086
- globalThis.altchaI18n.set("de", sl);
2087
- const ul = {
2086
+ globalThis.altchaI18n.set("de", hl);
2087
+ const gl = {
2088
2088
  ariaLinkLabel: "Επισκεφθείτε το Altcha.org",
2089
2089
  enterCode: "Εισαγάγετε κωδικό",
2090
2090
  enterCodeAria: "Εισαγάγετε τον κωδικό που ακούτε. Πατήστε Space για να παίξετε τον ήχο.",
@@ -2101,8 +2101,8 @@ const ul = {
2101
2101
  verifying: "Γίνεται επαλήθευση...",
2102
2102
  waitAlert: "Γίνεται επαλήθευση... παρακαλώ περιμένετε."
2103
2103
  };
2104
- globalThis.altchaI18n.set("el", ul);
2105
- const fl = {
2104
+ globalThis.altchaI18n.set("el", gl);
2105
+ const vl = {
2106
2106
  ariaLinkLabel: "Visitar Altcha.org",
2107
2107
  enterCode: "Introduce el código",
2108
2108
  enterCodeAria: "Introduce el código que escuchas. Pulsa Espacio para reproducir el audio.",
@@ -2119,8 +2119,8 @@ const fl = {
2119
2119
  verifying: "Verificando...",
2120
2120
  waitAlert: "Verificando... por favor espere."
2121
2121
  };
2122
- globalThis.altchaI18n.set("es-es", fl);
2123
- const cl = {
2122
+ globalThis.altchaI18n.set("es-es", vl);
2123
+ const bl = {
2124
2124
  ariaLinkLabel: "Visitar Altcha.org",
2125
2125
  enterCode: "Ingresa el código",
2126
2126
  enterCodeAria: "Ingresa el código que escuchas. Presiona Espacio para reproducir el audio.",
@@ -2137,8 +2137,8 @@ const cl = {
2137
2137
  verifying: "Verificando...",
2138
2138
  waitAlert: "Verificando... por favor espera."
2139
2139
  };
2140
- globalThis.altchaI18n.set("es-419", cl);
2141
- const dl = {
2140
+ globalThis.altchaI18n.set("es-419", bl);
2141
+ const pl = {
2142
2142
  ariaLinkLabel: "Külasta Altcha.org",
2143
2143
  enterCode: "Sisesta kood",
2144
2144
  enterCodeAria: "Sisestage kuuldu kood. Vajutage tühikut, et esitada heli.",
@@ -2155,8 +2155,8 @@ const dl = {
2155
2155
  verifying: "Kinnitamine...",
2156
2156
  waitAlert: "Kinnitamine... palun oota."
2157
2157
  };
2158
- globalThis.altchaI18n.set("et", dl);
2159
- const hl = {
2158
+ globalThis.altchaI18n.set("et", pl);
2159
+ const ml = {
2160
2160
  ariaLinkLabel: "Bisitatu Altcha.org",
2161
2161
  enterCode: "Sartu kodea",
2162
2162
  enterCodeAria: "Sartu entzun duzun kodea. Sakatu Espazioa audioa erreproduzitzeko.",
@@ -2173,8 +2173,8 @@ const hl = {
2173
2173
  verifying: "Egiaztatzen...",
2174
2174
  waitAlert: "Egiaztatzen... itxaron mesedez."
2175
2175
  };
2176
- globalThis.altchaI18n.set("eu", hl);
2177
- const gl = {
2176
+ globalThis.altchaI18n.set("eu", ml);
2177
+ const yl = {
2178
2178
  ariaLinkLabel: "Vieraile sivulla Altcha.org",
2179
2179
  enterCode: "Syötä koodi",
2180
2180
  enterCodeAria: "Kirjoita kuulemasi koodi. Paina välilyöntiä toistaaksesi äänen.",
@@ -2191,8 +2191,8 @@ const gl = {
2191
2191
  verifying: "Vahvistetaan...",
2192
2192
  waitAlert: "Vahvistetaan... odota hetki."
2193
2193
  };
2194
- globalThis.altchaI18n.set("fi", gl);
2195
- const vl = {
2194
+ globalThis.altchaI18n.set("fi", yl);
2195
+ const Al = {
2196
2196
  ariaLinkLabel: "Visitez Altcha.org",
2197
2197
  enterCode: "Entrez le code",
2198
2198
  enterCodeAria: "Entrez le code que vous entendez. Appuyez sur la barre d'espace pour écouter l'audio.",
@@ -2209,8 +2209,8 @@ const vl = {
2209
2209
  verifying: "Vérification en cours...",
2210
2210
  waitAlert: "Vérification en cours... veuillez patienter."
2211
2211
  };
2212
- globalThis.altchaI18n.set("fr-ca", vl);
2213
- const bl = {
2212
+ globalThis.altchaI18n.set("fr-ca", Al);
2213
+ const kl = {
2214
2214
  ariaLinkLabel: "Visitez Altcha.org",
2215
2215
  enterCode: "Entrez le code",
2216
2216
  enterCodeAria: "Entrez le code que vous entendez. Appuyez sur Espace pour écouter l'audio.",
@@ -2227,8 +2227,8 @@ const bl = {
2227
2227
  verifying: "Vérification en cours...",
2228
2228
  waitAlert: "Vérification en cours... veuillez patienter."
2229
2229
  };
2230
- globalThis.altchaI18n.set("fr-fr", bl);
2231
- const pl = {
2230
+ globalThis.altchaI18n.set("fr-fr", kl);
2231
+ const _l = {
2232
2232
  ariaLinkLabel: "Tabhair cuairt ar Altcha.org",
2233
2233
  enterCode: "Iontráil cód",
2234
2234
  enterCodeAria: "Cuir isteach an cód a chloiseann tú. Brúigh Spás chun an fuaime a sheinm.",
@@ -2245,8 +2245,8 @@ const pl = {
2245
2245
  verifying: "Fíorú ar siúl...",
2246
2246
  waitAlert: "Fíorú ar siúl... fan go fóill."
2247
2247
  };
2248
- globalThis.altchaI18n.set("ga", pl);
2249
- const ml = {
2248
+ globalThis.altchaI18n.set("ga", _l);
2249
+ const wl = {
2250
2250
  ariaLinkLabel: "Posjetite Altcha.org",
2251
2251
  enterCode: "Unesite kod",
2252
2252
  enterCodeAria: "Unesite kod koji čujete. Pritisnite razmaknicu za reprodukciju zvuka.",
@@ -2263,8 +2263,8 @@ const ml = {
2263
2263
  verifying: "Provjeravanje...",
2264
2264
  waitAlert: "Provjera je u tijeku... molimo pričekajte."
2265
2265
  };
2266
- globalThis.altchaI18n.set("hr", ml);
2267
- const yl = {
2266
+ globalThis.altchaI18n.set("hr", wl);
2267
+ const Cl = {
2268
2268
  ariaLinkLabel: "Látogass el az Altcha.org oldalra",
2269
2269
  enterCode: "Írja be a kódot",
2270
2270
  enterCodeAria: "Írja be a hallott kódot. Nyomja meg a Szóköz billentyűt a hang lejátszásához.",
@@ -2281,8 +2281,8 @@ const yl = {
2281
2281
  verifying: "Ellenőrzés folyamatban...",
2282
2282
  waitAlert: "Ellenőrzés folyamatban... kérlek várj."
2283
2283
  };
2284
- globalThis.altchaI18n.set("hu", yl);
2285
- const Al = {
2284
+ globalThis.altchaI18n.set("hu", Cl);
2285
+ const El = {
2286
2286
  ariaLinkLabel: "Heimsækja Altcha.org",
2287
2287
  enterCode: "Sláðu inn kóða",
2288
2288
  enterCodeAria: "Sláðu inn kóðann sem þú heyrir. Ýttu á Space til að spila hljóðið.",
@@ -2299,8 +2299,8 @@ const Al = {
2299
2299
  verifying: "Að staðfesta...",
2300
2300
  waitAlert: "Að staðfesta... vinsamlegast bíða."
2301
2301
  };
2302
- globalThis.altchaI18n.set("is", Al);
2303
- const kl = {
2302
+ globalThis.altchaI18n.set("is", El);
2303
+ const Ll = {
2304
2304
  ariaLinkLabel: "Visita Altcha.org",
2305
2305
  enterCode: "Inserisci il codice",
2306
2306
  enterCodeAria: "Inserisci il codice che senti. Premi Spazio per riprodurre l'audio.",
@@ -2317,8 +2317,8 @@ const kl = {
2317
2317
  verifying: "Verifica in corso...",
2318
2318
  waitAlert: "Verifica in corso... attendere."
2319
2319
  };
2320
- globalThis.altchaI18n.set("it", kl);
2321
- const _l = {
2320
+ globalThis.altchaI18n.set("it", Ll);
2321
+ const xl = {
2322
2322
  ariaLinkLabel: "Apsilankykite Altcha.org",
2323
2323
  enterCode: "Įveskite kodą",
2324
2324
  enterCodeAria: "Įveskite girdimą kodą. Paspauskite tarpo klavišą, kad grotumėte garso įrašą.",
@@ -2335,8 +2335,8 @@ const _l = {
2335
2335
  verifying: "Tikrinama...",
2336
2336
  waitAlert: "Tikrinama... prašome palaukti."
2337
2337
  };
2338
- globalThis.altchaI18n.set("lt", _l);
2339
- const wl = {
2338
+ globalThis.altchaI18n.set("lt", xl);
2339
+ const Tl = {
2340
2340
  ariaLinkLabel: "Apmeklējiet Altcha.org",
2341
2341
  enterCode: "Ievadiet kodu",
2342
2342
  enterCodeAria: "Ievadiet dzirdamo kodu. Nospiediet atstarpes taustiņu, lai atskaņotu audio.",
@@ -2353,8 +2353,8 @@ const wl = {
2353
2353
  verifying: "Notiek verifikācija...",
2354
2354
  waitAlert: "Notiek verifikācija... lūdzu, uzgaidiet."
2355
2355
  };
2356
- globalThis.altchaI18n.set("lv", wl);
2357
- const Cl = {
2356
+ globalThis.altchaI18n.set("lv", Tl);
2357
+ const Il = {
2358
2358
  ariaLinkLabel: "Żur Altcha.org",
2359
2359
  enterCode: "Idħol il-kodiċi",
2360
2360
  enterCodeAria: "Idħol il-kodiċi li tisma'. Agħfas Spazju biex tindaqq l-awdjo.",
@@ -2371,8 +2371,8 @@ const Cl = {
2371
2371
  verifying: "Verifika għaddejja...",
2372
2372
  waitAlert: "Verifika għaddejja... stenna ftit."
2373
2373
  };
2374
- globalThis.altchaI18n.set("mt", Cl);
2375
- const qi = {
2374
+ globalThis.altchaI18n.set("mt", Il);
2375
+ const Ui = {
2376
2376
  ariaLinkLabel: "Besøk Altcha.org",
2377
2377
  enterCode: "Skriv inn kode",
2378
2378
  enterCodeAria: "Skriv inn koden du hører. Trykk på Space for å spille av lyden.",
@@ -2389,9 +2389,9 @@ const qi = {
2389
2389
  verifying: "Verifiserer...",
2390
2390
  waitAlert: "Verifiserer... vennligst vent."
2391
2391
  };
2392
- globalThis.altchaI18n.set("nb", qi);
2393
- globalThis.altchaI18n.set("no", qi);
2394
- const Ll = {
2392
+ globalThis.altchaI18n.set("nb", Ui);
2393
+ globalThis.altchaI18n.set("no", Ui);
2394
+ const Vl = {
2395
2395
  ariaLinkLabel: "Bezoek Altcha.org",
2396
2396
  enterCode: "Voer code in",
2397
2397
  enterCodeAria: "Voer de code in die je hoort. Druk op Spatie om de audio af te spelen.",
@@ -2408,8 +2408,8 @@ const Ll = {
2408
2408
  verifying: "Bezig met verifiëren...",
2409
2409
  waitAlert: "Bezig met verifiëren... even geduld a.u.b."
2410
2410
  };
2411
- globalThis.altchaI18n.set("nl", Ll);
2412
- const El = {
2411
+ globalThis.altchaI18n.set("nl", Vl);
2412
+ const Rl = {
2413
2413
  ariaLinkLabel: "Odwiedź Altcha.org",
2414
2414
  enterCode: "Wprowadź kod",
2415
2415
  enterCodeAria: "Wpisz kod, który słyszysz. Naciśnij Spację, aby odtworzyć dźwięk.",
@@ -2426,8 +2426,8 @@ const El = {
2426
2426
  verifying: "Weryfikacja...",
2427
2427
  waitAlert: "Trwa weryfikacja... proszę czekać."
2428
2428
  };
2429
- globalThis.altchaI18n.set("pl", El);
2430
- const xl = {
2429
+ globalThis.altchaI18n.set("pl", Rl);
2430
+ const jl = {
2431
2431
  ariaLinkLabel: "Visitar Altcha.org",
2432
2432
  enterCode: "Introduza o código",
2433
2433
  enterCodeAria: "Introduza o código que ouve. Prima Espaço para reproduzir o áudio.",
@@ -2444,8 +2444,8 @@ const xl = {
2444
2444
  verifying: "A verificar...",
2445
2445
  waitAlert: "A verificar... por favor aguarde."
2446
2446
  };
2447
- globalThis.altchaI18n.set("pt-pt", xl);
2448
- const Tl = {
2447
+ globalThis.altchaI18n.set("pt-pt", jl);
2448
+ const $l = {
2449
2449
  ariaLinkLabel: "Visitar Altcha.org",
2450
2450
  enterCode: "Digite o código",
2451
2451
  enterCodeAria: "Digite o código que você ouve. Pressione Espaço para reproduzir o áudio.",
@@ -2462,8 +2462,8 @@ const Tl = {
2462
2462
  verifying: "Verificando...",
2463
2463
  waitAlert: "Verificando... por favor aguarde."
2464
2464
  };
2465
- globalThis.altchaI18n.set("pt-br", Tl);
2466
- const Il = {
2465
+ globalThis.altchaI18n.set("pt-br", $l);
2466
+ const Sl = {
2467
2467
  ariaLinkLabel: "Vizitează Altcha.org",
2468
2468
  enterCode: "Introduceți codul",
2469
2469
  enterCodeAria: "Introduceți codul pe care îl auziți. Apăsați Spațiu pentru a reda audio.",
@@ -2480,8 +2480,8 @@ const Il = {
2480
2480
  verifying: "Se verifică...",
2481
2481
  waitAlert: "Se verifică... te rugăm să aștepți."
2482
2482
  };
2483
- globalThis.altchaI18n.set("ro", Il);
2484
- const Vl = {
2483
+ globalThis.altchaI18n.set("ro", Sl);
2484
+ const Pl = {
2485
2485
  ariaLinkLabel: "Перейти на Altcha.org",
2486
2486
  enterCode: "Введите код",
2487
2487
  enterCodeAria: "Введите код, который слышите. Нажмите пробел для воспроизведения аудио.",
@@ -2498,8 +2498,8 @@ const Vl = {
2498
2498
  verifying: "Идет проверка...",
2499
2499
  waitAlert: "Идет проверка... Пожалуйста, подождите."
2500
2500
  };
2501
- globalThis.altchaI18n.set("ru", Vl);
2502
- const Rl = {
2501
+ globalThis.altchaI18n.set("ru", Pl);
2502
+ const zl = {
2503
2503
  ariaLinkLabel: "Navštívte Altcha.org",
2504
2504
  enterCode: "Zadajte kód",
2505
2505
  enterCodeAria: "Zadajte kód, ktorý počujete. Stlačením medzerníka prehráte zvuk.",
@@ -2516,8 +2516,8 @@ const Rl = {
2516
2516
  verifying: "Prebieha verifikácia...",
2517
2517
  waitAlert: "Prebieha verifikácia... prosím čakajte."
2518
2518
  };
2519
- globalThis.altchaI18n.set("sk", Rl);
2520
- const jl = {
2519
+ globalThis.altchaI18n.set("sk", zl);
2520
+ const Nl = {
2521
2521
  ariaLinkLabel: "Obiščite Altcha.org",
2522
2522
  enterCode: "Vnesite kodo",
2523
2523
  enterCodeAria: "Vnesite kodo, ki jo slišite. Pritisnite preslednico za predvajanje zvoka.",
@@ -2534,8 +2534,8 @@ const jl = {
2534
2534
  verifying: "Preverjanje...",
2535
2535
  waitAlert: "Preverjanje... prosim počakajte."
2536
2536
  };
2537
- globalThis.altchaI18n.set("sl", jl);
2538
- const $l = {
2537
+ globalThis.altchaI18n.set("sl", Nl);
2538
+ const Dl = {
2539
2539
  ariaLinkLabel: "Posetite Altcha.org",
2540
2540
  enterCode: "Unesite kod",
2541
2541
  enterCodeAria: "Unesite kod koji čujete. Pritisnite Space da biste pustili zvuk.",
@@ -2552,8 +2552,8 @@ const $l = {
2552
2552
  verifying: "Verifikacija u toku...",
2553
2553
  waitAlert: "Verifikacija u toku... molimo vas da sačekate."
2554
2554
  };
2555
- globalThis.altchaI18n.set("sr", $l);
2556
- const Sl = {
2555
+ globalThis.altchaI18n.set("sr", Dl);
2556
+ const ql = {
2557
2557
  ariaLinkLabel: "Besök Altcha.org",
2558
2558
  enterCode: "Ange kod",
2559
2559
  enterCodeAria: "Ange koden du hör. Tryck på mellanslag för att spela upp ljudet.",
@@ -2570,8 +2570,8 @@ const Sl = {
2570
2570
  verifying: "Verifierar...",
2571
2571
  waitAlert: "Verifierar... vänligen vänta."
2572
2572
  };
2573
- globalThis.altchaI18n.set("sv", Sl);
2574
- const Pl = {
2573
+ globalThis.altchaI18n.set("sv", ql);
2574
+ const Ol = {
2575
2575
  ariaLinkLabel: "Altcha.org'yu ziyaret edin",
2576
2576
  enterCode: "Kodu girin",
2577
2577
  enterCodeAria: "Duyduğunuz kodu girin. Ses dosyasını oynatmak için Boşluk tuşuna basın.",
@@ -2588,8 +2588,8 @@ const Pl = {
2588
2588
  verifying: "Doğrulama yapılıyor...",
2589
2589
  waitAlert: "Doğrulama yapılıyor... lütfen bekleyin."
2590
2590
  };
2591
- globalThis.altchaI18n.set("tr", Pl);
2592
- const zl = {
2591
+ globalThis.altchaI18n.set("tr", Ol);
2592
+ const Hl = {
2593
2593
  ariaLinkLabel: "Відвідати Altcha.org",
2594
2594
  enterCode: "Введіть код",
2595
2595
  enterCodeAria: "Введіть код, який ви чуєте. Натисніть пробіл, щоб відтворити аудіо.",
@@ -2606,8 +2606,8 @@ const zl = {
2606
2606
  verifying: "Перевіряється...",
2607
2607
  waitAlert: "Перевірка... будь ласка, зачекайте."
2608
2608
  };
2609
- globalThis.altchaI18n.set("uk", zl);
2610
- const Nl = {
2609
+ globalThis.altchaI18n.set("uk", Hl);
2610
+ const Fl = {
2611
2611
  ariaLinkLabel: "Altcha.org পরিদর্শন করুন",
2612
2612
  enterCode: "কোড লিখুন",
2613
2613
  enterCodeAria: "আপনি যে কোড শুনতে পান তা লিখুন। অডিও প্লে করতে স্পেস বাটন টিপুন।",
@@ -2624,8 +2624,8 @@ const Nl = {
2624
2624
  verifying: "যাচাই করা হচ্ছে...",
2625
2625
  waitAlert: "যাচাই করা হচ্ছে... দয়া করে অপেক্ষা করুন।"
2626
2626
  };
2627
- globalThis.altchaI18n.set("bn", Nl);
2628
- const Dl = {
2627
+ globalThis.altchaI18n.set("bn", Fl);
2628
+ const Ml = {
2629
2629
  ariaLinkLabel: "בקר באתר Altcha.org",
2630
2630
  enterCode: "הזן קוד",
2631
2631
  enterCodeAria: "הזן את הקוד שאתה שומע. לחץ על רווח להפעלת השמע.",
@@ -2642,8 +2642,8 @@ const Dl = {
2642
2642
  verifying: "מאמת...",
2643
2643
  waitAlert: "מבצע אימות... אנא המתן."
2644
2644
  };
2645
- globalThis.altchaI18n.set("he", Dl);
2646
- const ql = {
2645
+ globalThis.altchaI18n.set("he", Ml);
2646
+ const Bl = {
2647
2647
  ariaLinkLabel: "Altcha.org पर जाएं",
2648
2648
  enterCode: "कोड दर्ज करेंं",
2649
2649
  enterCodeAria: "आप जो कोड सुनते हैं उसे दर्ज करें। ऑडियो चलाने के लिए स्पेस दबाएं।",
@@ -2660,8 +2660,8 @@ const ql = {
2660
2660
  verifying: "सत्यापित कर रहे हैं...",
2661
2661
  waitAlert: "सत्यापित किया जा रहा है... कृपया प्रतीक्षा करें।"
2662
2662
  };
2663
- globalThis.altchaI18n.set("hi", ql);
2664
- const Ol = {
2663
+ globalThis.altchaI18n.set("hi", Bl);
2664
+ const Ul = {
2665
2665
  ariaLinkLabel: "Kunjungi Altcha.org",
2666
2666
  enterCode: "Masukkan kode",
2667
2667
  enterCodeAria: "Masukkan kode yang Anda dengar. Tekan Spasi untuk memutar audio.",
@@ -2678,8 +2678,8 @@ const Ol = {
2678
2678
  verifying: "Memverifikasi...",
2679
2679
  waitAlert: "Memverifikasi... harap tunggu."
2680
2680
  };
2681
- globalThis.altchaI18n.set("id", Ol);
2682
- const Hl = {
2681
+ globalThis.altchaI18n.set("id", Ul);
2682
+ const Zl = {
2683
2683
  ariaLinkLabel: "Altcha.orgを訪問",
2684
2684
  enterCode: "コードを入力",
2685
2685
  enterCodeAria: "聞こえるコードを入力してください。スペースキーを押して音声を再生します。",
@@ -2696,8 +2696,8 @@ const Hl = {
2696
2696
  verifying: "確認中...",
2697
2697
  waitAlert: "確認中...少々お待ちください。"
2698
2698
  };
2699
- globalThis.altchaI18n.set("ja", Hl);
2700
- const Fl = {
2699
+ globalThis.altchaI18n.set("ja", Zl);
2700
+ const Gl = {
2701
2701
  ariaLinkLabel: "Altcha.org 방문하기",
2702
2702
  enterCode: "코드 입력",
2703
2703
  enterCodeAria: "들리는 코드를 입력하세요. 스페이스 바를 눌러 오디오를 재생합니다.",
@@ -2714,8 +2714,8 @@ const Fl = {
2714
2714
  verifying: "확인 중...",
2715
2715
  waitAlert: "확인 중... 잠시만 기다려주세요."
2716
2716
  };
2717
- globalThis.altchaI18n.set("ko", Fl);
2718
- const Ml = {
2717
+ globalThis.altchaI18n.set("ko", Gl);
2718
+ const Yl = {
2719
2719
  ariaLinkLabel: "Altcha.org भेट द्या",
2720
2720
  enterCode: "कोड टाकाा",
2721
2721
  enterCodeAria: "तुम्ही ऐकत असलेला कोड टाका. ऑडिओ प्ले करण्यासाठी स्पेस दाबा.",
@@ -2732,8 +2732,8 @@ const Ml = {
2732
2732
  verifying: "पुष्टीकरण करत आहे...",
2733
2733
  waitAlert: "पुष्टीकरण करत आहे... कृपया थोडा वेळ थांबा."
2734
2734
  };
2735
- globalThis.altchaI18n.set("mr", Ml);
2736
- const Bl = {
2735
+ globalThis.altchaI18n.set("mr", Yl);
2736
+ const Wl = {
2737
2737
  ariaLinkLabel: "Altcha.org ஐ பார்வையிடவும்",
2738
2738
  enterCode: "குறியீட்டை உள்ளிடவும்",
2739
2739
  enterCodeAria: "நீங்கள் கேட்கும் குறியீட்டை உள்ளிடவும். ஆடியோவை இயக்க Space ஐ அழுத்தவும்.",
@@ -2750,8 +2750,8 @@ const Bl = {
2750
2750
  verifying: "சரிபார்க்கப்படுகிறது...",
2751
2751
  waitAlert: "சரிபார்க்கப்படுகிறது... தயவுசெய்து காத்திருக்கவும்."
2752
2752
  };
2753
- globalThis.altchaI18n.set("ta", Bl);
2754
- const Ul = {
2753
+ globalThis.altchaI18n.set("ta", Wl);
2754
+ const Kl = {
2755
2755
  ariaLinkLabel: "Altcha.org సందర్శించండి",
2756
2756
  enterCode: "కోడ్‌ని నమోదు చేయండి",
2757
2757
  enterCodeAria: "మీరు విన్న కోడ్‌ని నమోదు చేయండి. ఆడియో ప్లే చేయడానికి స్పేస్‌ను నొక్కండి.",
@@ -2768,8 +2768,8 @@ const Ul = {
2768
2768
  verifying: "ధ్రువీకరణ జరుగుతుంది...",
2769
2769
  waitAlert: "ధ్రువీకరణ జరుగుతుంది... దయచేసి వేచి ఉండండి."
2770
2770
  };
2771
- globalThis.altchaI18n.set("te", Ul);
2772
- const Zl = {
2771
+ globalThis.altchaI18n.set("te", Kl);
2772
+ const Jl = {
2773
2773
  ariaLinkLabel: "เยี่ยมชม Altcha.org",
2774
2774
  enterCode: "ป้อนรหัส",
2775
2775
  enterCodeAria: "ป้อนรหัสที่คุณได้ยิน กด Space เพื่อเล่นเสียง",
@@ -2786,8 +2786,8 @@ const Zl = {
2786
2786
  verifying: "กำลังตรวจสอบ...",
2787
2787
  waitAlert: "กำลังตรวจสอบ... กรุณารอ"
2788
2788
  };
2789
- globalThis.altchaI18n.set("th", Zl);
2790
- const Gl = {
2789
+ globalThis.altchaI18n.set("th", Jl);
2790
+ const Xl = {
2791
2791
  ariaLinkLabel: "Altcha.org پر جائیں",
2792
2792
  enterCode: "کوڈ درج کریں",
2793
2793
  enterCodeAria: "جو کوڈ آپ سنتے ہیں وہ درج کریں۔ آڈیو چلانے کے لیے اسپیس دبائیں۔",
@@ -2804,8 +2804,8 @@ const Gl = {
2804
2804
  verifying: "توثیق ہو رہی ہے...",
2805
2805
  waitAlert: "توثیق ہو رہی ہے... براہ کرم انتظار کریں۔"
2806
2806
  };
2807
- globalThis.altchaI18n.set("ur", Gl);
2808
- const Yl = {
2807
+ globalThis.altchaI18n.set("ur", Xl);
2808
+ const Ql = {
2809
2809
  ariaLinkLabel: "Truy cập Altcha.org",
2810
2810
  enterCode: "Nhập mã",
2811
2811
  enterCodeAria: "Nhập mã bạn nghe được. Nhấn Phím cách để phát âm thanh.",
@@ -2822,8 +2822,8 @@ const Yl = {
2822
2822
  verifying: "Đang xác minh...",
2823
2823
  waitAlert: "Đang xác minh... vui lòng chờ."
2824
2824
  };
2825
- globalThis.altchaI18n.set("vi", Yl);
2826
- const Wl = {
2825
+ globalThis.altchaI18n.set("vi", Ql);
2826
+ const es = {
2827
2827
  ariaLinkLabel: "访问 Altcha.org",
2828
2828
  enterCode: "输入代码",
2829
2829
  enterCodeAria: "输入您听到的代码。按空格键播放音频。",
@@ -2840,8 +2840,8 @@ const Wl = {
2840
2840
  verifying: "正在验证...",
2841
2841
  waitAlert: "正在验证... 请稍等。"
2842
2842
  };
2843
- globalThis.altchaI18n.set("zh-cn", Wl);
2844
- const Kl = {
2843
+ globalThis.altchaI18n.set("zh-cn", es);
2844
+ const ts = {
2845
2845
  ariaLinkLabel: "訪問 Altcha.org",
2846
2846
  enterCode: "輸入代碼",
2847
2847
  enterCodeAria: "輸入您聽到的代碼。按空格鍵播放音頻。",
@@ -2858,13 +2858,13 @@ const Kl = {
2858
2858
  verifying: "正在驗證...",
2859
2859
  waitAlert: "正在驗證... 請稍等。"
2860
2860
  };
2861
- globalThis.altchaI18n.set("zh-tw", Kl);
2862
- const Oi = `(function(){"use strict";const d=new TextEncoder;function p(e){return[...new Uint8Array(e)].map(t=>t.toString(16).padStart(2,"0")).join("")}async function b(e,t,r){if(typeof crypto>"u"||!("subtle"in crypto)||!("digest"in crypto.subtle))throw new Error("Web Crypto is not available. Secure context is required (https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts).");return p(await crypto.subtle.digest(r.toUpperCase(),d.encode(e+t)))}function w(e,t,r="SHA-256",n=1e6,s=0){const o=new AbortController,a=Date.now();return{promise:(async()=>{for(let c=s;c<=n;c+=1){if(o.signal.aborted)return null;if(await b(t,c,r)===e)return{number:c,took:Date.now()-a}}return null})(),controller:o}}function h(e){const t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}function g(e,t=12){const r=new Uint8Array(t);for(let n=0;n<t;n++)r[n]=e%256,e=Math.floor(e/256);return r}async function m(e,t="",r=1e6,n=0){const s="AES-GCM",o=new AbortController,a=Date.now(),l=async()=>{for(let u=n;u<=r;u+=1){if(o.signal.aborted||!c||!y)return null;try{const f=await crypto.subtle.decrypt({name:s,iv:g(u)},c,y);if(f)return{clearText:new TextDecoder().decode(f),took:Date.now()-a}}catch{}}return null};let c=null,y=null;try{y=h(e);const u=await crypto.subtle.digest("SHA-256",d.encode(t));c=await crypto.subtle.importKey("raw",u,s,!1,["decrypt"])}catch{return{promise:Promise.reject(),controller:o}}return{promise:l(),controller:o}}let i;onmessage=async e=>{const{type:t,payload:r,start:n,max:s}=e.data;let o=null;if(t==="abort")i==null||i.abort(),i=void 0;else if(t==="work"){if("obfuscated"in r){const{key:a,obfuscated:l}=r||{};o=await m(l,a,s,n)}else{const{algorithm:a,challenge:l,salt:c}=r||{};o=w(l,c,a,s,n)}i=o.controller,o.promise.then(a=>{self.postMessage(a&&{...a,worker:!0})})}}})();
2863
- `, Ba = typeof self < "u" && self.Blob && new Blob([Oi], { type: "text/javascript;charset=utf-8" });
2864
- function Jl(e) {
2861
+ globalThis.altchaI18n.set("zh-tw", ts);
2862
+ const Zi = `(function(){"use strict";const d=new TextEncoder;function p(e){return[...new Uint8Array(e)].map(t=>t.toString(16).padStart(2,"0")).join("")}async function b(e,t,r){if(typeof crypto>"u"||!("subtle"in crypto)||!("digest"in crypto.subtle))throw new Error("Web Crypto is not available. Secure context is required (https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts).");return p(await crypto.subtle.digest(r.toUpperCase(),d.encode(e+t)))}function w(e,t,r="SHA-256",n=1e6,s=0){const o=new AbortController,a=Date.now();return{promise:(async()=>{for(let c=s;c<=n;c+=1){if(o.signal.aborted)return null;if(await b(t,c,r)===e)return{number:c,took:Date.now()-a}}return null})(),controller:o}}function h(e){const t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}function g(e,t=12){const r=new Uint8Array(t);for(let n=0;n<t;n++)r[n]=e%256,e=Math.floor(e/256);return r}async function m(e,t="",r=1e6,n=0){const s="AES-GCM",o=new AbortController,a=Date.now(),l=async()=>{for(let u=n;u<=r;u+=1){if(o.signal.aborted||!c||!y)return null;try{const f=await crypto.subtle.decrypt({name:s,iv:g(u)},c,y);if(f)return{clearText:new TextDecoder().decode(f),took:Date.now()-a}}catch{}}return null};let c=null,y=null;try{y=h(e);const u=await crypto.subtle.digest("SHA-256",d.encode(t));c=await crypto.subtle.importKey("raw",u,s,!1,["decrypt"])}catch{return{promise:Promise.reject(),controller:o}}return{promise:l(),controller:o}}let i;onmessage=async e=>{const{type:t,payload:r,start:n,max:s}=e.data;let o=null;if(t==="abort")i==null||i.abort(),i=void 0;else if(t==="work"){if("obfuscated"in r){const{key:a,obfuscated:l}=r||{};o=await m(l,a,s,n)}else{const{algorithm:a,challenge:l,salt:c}=r||{};o=w(l,c,a,s,n)}i=o.controller,o.promise.then(a=>{self.postMessage(a&&{...a,worker:!0})})}}})();
2863
+ `, Ka = typeof self < "u" && self.Blob && new Blob([Zi], { type: "text/javascript;charset=utf-8" });
2864
+ function rs(e) {
2865
2865
  let t;
2866
2866
  try {
2867
- if (t = Ba && (self.URL || self.webkitURL).createObjectURL(Ba), !t) throw "";
2867
+ if (t = Ka && (self.URL || self.webkitURL).createObjectURL(Ka), !t) throw "";
2868
2868
  const r = new Worker(t, {
2869
2869
  name: e == null ? void 0 : e.name
2870
2870
  });
@@ -2873,7 +2873,7 @@ function Jl(e) {
2873
2873
  }), r;
2874
2874
  } catch {
2875
2875
  return new Worker(
2876
- "data:text/javascript;charset=utf-8," + encodeURIComponent(Oi),
2876
+ "data:text/javascript;charset=utf-8," + encodeURIComponent(Zi),
2877
2877
  {
2878
2878
  name: e == null ? void 0 : e.name
2879
2879
  }
@@ -2882,17 +2882,17 @@ function Jl(e) {
2882
2882
  t && (self.URL || self.webkitURL).revokeObjectURL(t);
2883
2883
  }
2884
2884
  }
2885
- const Xl = "5";
2886
- var Za;
2887
- typeof window < "u" && ((Za = window.__svelte ?? (window.__svelte = {})).v ?? (Za.v = /* @__PURE__ */ new Set())).add(Xl);
2888
- const Hi = new TextEncoder();
2889
- function Ql(e) {
2885
+ const as = "5";
2886
+ var Xa;
2887
+ typeof window < "u" && ((Xa = window.__svelte ?? (window.__svelte = {})).v ?? (Xa.v = /* @__PURE__ */ new Set())).add(as);
2888
+ const Gi = new TextEncoder();
2889
+ function is(e) {
2890
2890
  return [...new Uint8Array(e)].map((t) => t.toString(16).padStart(2, "0")).join("");
2891
2891
  }
2892
- async function es(e, t = "SHA-256", r = 1e5) {
2892
+ async function ns(e, t = "SHA-256", r = 1e5) {
2893
2893
  const i = Date.now().toString(16);
2894
2894
  e || (e = Math.round(Math.random() * r));
2895
- const o = await Fi(i, e, t);
2895
+ const o = await Yi(i, e, t);
2896
2896
  return {
2897
2897
  algorithm: t,
2898
2898
  challenge: o,
@@ -2900,27 +2900,27 @@ async function es(e, t = "SHA-256", r = 1e5) {
2900
2900
  signature: ""
2901
2901
  };
2902
2902
  }
2903
- async function Fi(e, t, r) {
2903
+ async function Yi(e, t, r) {
2904
2904
  if (typeof crypto > "u" || !("subtle" in crypto) || !("digest" in crypto.subtle))
2905
2905
  throw new Error("Web Crypto is not available. Secure context is required (https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts).");
2906
- return Ql(
2906
+ return is(
2907
2907
  await crypto.subtle.digest(
2908
2908
  r.toUpperCase(),
2909
- Hi.encode(e + t)
2909
+ Gi.encode(e + t)
2910
2910
  )
2911
2911
  );
2912
2912
  }
2913
- function ts(e, t, r = "SHA-256", i = 1e6, o = 0) {
2914
- const n = new AbortController(), u = Date.now();
2913
+ function os(e, t, r = "SHA-256", i = 1e6, o = 0) {
2914
+ const n = new AbortController(), c = Date.now();
2915
2915
  return {
2916
2916
  promise: (async () => {
2917
- for (let c = o; c <= i; c += 1) {
2917
+ for (let u = o; u <= i; u += 1) {
2918
2918
  if (n.signal.aborted)
2919
2919
  return null;
2920
- if (await Fi(t, c, r) === e)
2920
+ if (await Yi(t, u, r) === e)
2921
2921
  return {
2922
- number: c,
2923
- took: Date.now() - u
2922
+ number: u,
2923
+ took: Date.now() - c
2924
2924
  };
2925
2925
  }
2926
2926
  return null;
@@ -2928,58 +2928,58 @@ function ts(e, t, r = "SHA-256", i = 1e6, o = 0) {
2928
2928
  controller: n
2929
2929
  };
2930
2930
  }
2931
- function Ua() {
2931
+ function Ja() {
2932
2932
  try {
2933
2933
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
2934
2934
  } catch {
2935
2935
  }
2936
2936
  }
2937
- function rs(e) {
2937
+ function ls(e) {
2938
2938
  const t = atob(e), r = new Uint8Array(t.length);
2939
2939
  for (let i = 0; i < t.length; i++)
2940
2940
  r[i] = t.charCodeAt(i);
2941
2941
  return r;
2942
2942
  }
2943
- function as(e, t = 12) {
2943
+ function ss(e, t = 12) {
2944
2944
  const r = new Uint8Array(t);
2945
2945
  for (let i = 0; i < t; i++)
2946
2946
  r[i] = e % 256, e = Math.floor(e / 256);
2947
2947
  return r;
2948
2948
  }
2949
- async function is(e, t = "", r = 1e6, i = 0) {
2950
- const o = "AES-GCM", n = new AbortController(), u = Date.now(), s = async () => {
2951
- for (let p = i; p <= r; p += 1) {
2952
- if (n.signal.aborted || !c || !d)
2949
+ async function cs(e, t = "", r = 1e6, i = 0) {
2950
+ const o = "AES-GCM", n = new AbortController(), c = Date.now(), s = async () => {
2951
+ for (let m = i; m <= r; m += 1) {
2952
+ if (n.signal.aborted || !u || !d)
2953
2953
  return null;
2954
2954
  try {
2955
2955
  const h = await crypto.subtle.decrypt(
2956
2956
  {
2957
2957
  name: o,
2958
- iv: as(p)
2958
+ iv: ss(m)
2959
2959
  },
2960
- c,
2960
+ u,
2961
2961
  d
2962
2962
  );
2963
2963
  if (h)
2964
2964
  return {
2965
2965
  clearText: new TextDecoder().decode(h),
2966
- took: Date.now() - u
2966
+ took: Date.now() - c
2967
2967
  };
2968
2968
  } catch {
2969
2969
  }
2970
2970
  }
2971
2971
  return null;
2972
2972
  };
2973
- let c = null, d = null;
2973
+ let u = null, d = null;
2974
2974
  try {
2975
- d = rs(e);
2976
- const p = await crypto.subtle.digest(
2975
+ d = ls(e);
2976
+ const m = await crypto.subtle.digest(
2977
2977
  "SHA-256",
2978
- Hi.encode(t)
2978
+ Gi.encode(t)
2979
2979
  );
2980
- c = await crypto.subtle.importKey(
2980
+ u = await crypto.subtle.importKey(
2981
2981
  "raw",
2982
- p,
2982
+ m,
2983
2983
  o,
2984
2984
  !1,
2985
2985
  ["decrypt"]
@@ -2995,8 +2995,8 @@ async function is(e, t = "", r = 1e6, i = 0) {
2995
2995
  controller: n
2996
2996
  };
2997
2997
  }
2998
- var w = /* @__PURE__ */ ((e) => (e.CODE = "code", e.ERROR = "error", e.VERIFIED = "verified", e.VERIFYING = "verifying", e.UNVERIFIED = "unverified", e.EXPIRED = "expired", e))(w || {}), Q = /* @__PURE__ */ ((e) => (e.ERROR = "error", e.LOADING = "loading", e.PLAYING = "playing", e.PAUSED = "paused", e.READY = "ready", e))(Q || {});
2999
- const ns = {
2998
+ var C = /* @__PURE__ */ ((e) => (e.CODE = "code", e.ERROR = "error", e.VERIFIED = "verified", e.VERIFYING = "verifying", e.UNVERIFIED = "unverified", e.EXPIRED = "expired", e))(C || {}), ee = /* @__PURE__ */ ((e) => (e.ERROR = "error", e.LOADING = "loading", e.PLAYING = "playing", e.PAUSED = "paused", e.READY = "ready", e))(ee || {});
2999
+ const fs = {
3000
3000
  ariaLinkLabel: "Visit Altcha.org",
3001
3001
  enterCode: "Enter code",
3002
3002
  enterCodeAria: "Enter code you hear. Press Space to play audio.",
@@ -3013,142 +3013,142 @@ const ns = {
3013
3013
  verifying: "Verifying...",
3014
3014
  waitAlert: "Verifying... please wait."
3015
3015
  };
3016
- globalThis.altchaI18n.set("en", ns);
3017
- const xr = (e, t) => {
3018
- let r = /* @__PURE__ */ uo(() => On(t == null ? void 0 : t(), 24));
3019
- var i = us();
3020
- xe(() => {
3016
+ globalThis.altchaI18n.set("en", fs);
3017
+ const $r = (e, t) => {
3018
+ let r = /* @__PURE__ */ vo(() => Un(t == null ? void 0 : t(), 24));
3019
+ var i = gs();
3020
+ Ie(() => {
3021
3021
  R(i, "width", l(r)), R(i, "height", l(r));
3022
- }), O(e, i);
3022
+ }), H(e, i);
3023
3023
  };
3024
- function os(e, t) {
3024
+ function us(e, t) {
3025
3025
  e.code === "Space" && (e.preventDefault(), e.stopImmediatePropagation(), t());
3026
3026
  }
3027
- function ls(e, t) {
3027
+ function ds(e, t) {
3028
3028
  e.preventDefault(), t();
3029
3029
  }
3030
- function ss(e, t, r, i, o, n, u, s) {
3031
- var c;
3030
+ function hs(e, t, r, i, o, n, c, s) {
3031
+ var u;
3032
3032
  [
3033
- w.UNVERIFIED,
3034
- w.ERROR,
3035
- w.EXPIRED,
3036
- w.CODE
3037
- ].includes(l(t)) ? r() !== !1 && ((c = l(i)) == null ? void 0 : c.reportValidity()) === !1 ? y(o, !1) : n() ? u() : s() : y(o, !0);
3038
- }
3039
- var us = /* @__PURE__ */ dr('<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="altcha-spinner"><path d="M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z" fill="currentColor" opacity=".25"></path><path d="M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z" fill="currentColor"></path></svg>'), fs = /* @__PURE__ */ we('<input type="hidden">'), cs = /* @__PURE__ */ we('<div><a target="_blank" class="altcha-logo" aria-hidden="true"><svg width="22" height="22" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.33955 16.4279C5.88954 20.6586 12.1971 21.2105 16.4279 17.6604C18.4699 15.947 19.6548 13.5911 19.9352 11.1365L17.9886 10.4279C17.8738 12.5624 16.909 14.6459 15.1423 16.1284C11.7577 18.9684 6.71167 18.5269 3.87164 15.1423C1.03163 11.7577 1.4731 6.71166 4.8577 3.87164C8.24231 1.03162 13.2883 1.4731 16.1284 4.8577C16.9767 5.86872 17.5322 7.02798 17.804 8.2324L19.9522 9.01429C19.7622 7.07737 19.0059 5.17558 17.6604 3.57212C14.1104 -0.658624 7.80283 -1.21043 3.57212 2.33956C-0.658625 5.88958 -1.21046 12.1971 2.33955 16.4279Z" fill="currentColor"></path><path d="M3.57212 2.33956C1.65755 3.94607 0.496389 6.11731 0.12782 8.40523L2.04639 9.13961C2.26047 7.15832 3.21057 5.25375 4.8577 3.87164C8.24231 1.03162 13.2883 1.4731 16.1284 4.8577L13.8302 6.78606L19.9633 9.13364C19.7929 7.15555 19.0335 5.20847 17.6604 3.57212C14.1104 -0.658624 7.80283 -1.21043 3.57212 2.33956Z" fill="currentColor"></path><path d="M7 10H5C5 12.7614 7.23858 15 10 15C12.7614 15 15 12.7614 15 10H13C13 11.6569 11.6569 13 10 13C8.3431 13 7 11.6569 7 10Z" fill="currentColor"></path></svg></a></div>'), ds = /* @__PURE__ */ dr('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12.8659 3.00017L22.3922 19.5002C22.6684 19.9785 22.5045 20.5901 22.0262 20.8662C21.8742 20.954 21.7017 21.0002 21.5262 21.0002H2.47363C1.92135 21.0002 1.47363 20.5525 1.47363 20.0002C1.47363 19.8246 1.51984 19.6522 1.60761 19.5002L11.1339 3.00017C11.41 2.52187 12.0216 2.358 12.4999 2.63414C12.6519 2.72191 12.7782 2.84815 12.8659 3.00017ZM10.9999 16.0002V18.0002H12.9999V16.0002H10.9999ZM10.9999 9.00017V14.0002H12.9999V9.00017H10.9999Z"></path></svg>'), hs = /* @__PURE__ */ dr('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M15 7C15 6.44772 15.4477 6 16 6C16.5523 6 17 6.44772 17 7V17C17 17.5523 16.5523 18 16 18C15.4477 18 15 17.5523 15 17V7ZM7 7C7 6.44772 7.44772 6 8 6C8.55228 6 9 6.44772 9 7V17C9 17.5523 8.55228 18 8 18C7.44772 18 7 17.5523 7 17V7Z"></path></svg>'), gs = /* @__PURE__ */ dr('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4 12H7C8.10457 12 9 12.8954 9 14V19C9 20.1046 8.10457 21 7 21H4C2.89543 21 2 20.1046 2 19V12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12V19C22 20.1046 21.1046 21 20 21H17C15.8954 21 15 20.1046 15 19V14C15 12.8954 15.8954 12 17 12H20C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12Z"></path></svg>'), vs = /* @__PURE__ */ we('<button type="button" class="altcha-code-challenge-audio"><!></button>'), bs = /* @__PURE__ */ we("<audio hidden autoplay><source></audio>"), ps = /* @__PURE__ */ we('<div class="altcha-code-challenge" role="dialog"><div class="altcha-code-challenge-arrow"></div> <form data-code-challenge-form="1"><img class="altcha-code-challenge-image" alt=""> <input type="text" autocomplete="off" name="code" class="altcha-code-challenge-input" required> <div class="altcha-code-challenge-buttons"><div class="altcha-code-challenge-buttons-left"><!> <button type="button" class="altcha-code-challenge-reload"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2V4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 9.25022 5.38734 6.82447 7.50024 5.38451L7.5 8H9.5V2L3.5 2V4L5.99918 3.99989C3.57075 5.82434 2 8.72873 2 12Z"></path></svg></button></div> <button type="submit" class="altcha-code-challenge-verify"><!> </button></div> <!></form></div>'), ms = /* @__PURE__ */ we("<div><!></div>"), ys = /* @__PURE__ */ we("<div><!></div>"), As = /* @__PURE__ */ we('<div class="altcha-error"><svg width="14" height="14" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"></path></svg> <!></div>'), ks = /* @__PURE__ */ we('<div class="altcha-footer"><div><!></div></div>'), _s = /* @__PURE__ */ we('<div class="altcha-anchor-arrow"></div>'), ws = /* @__PURE__ */ we('<!> <div class="altcha"><div class="altcha-main"><div><!> <input type="checkbox"></div> <label class="altcha-label"><!></label> <!> <!> <!></div> <!> <!> <!></div>', 1);
3040
- function Cs(e, t) {
3041
- var Ta, Ia;
3042
- oi(t, !0);
3043
- const [r, i] = Zo(), o = () => Uo(Bi, "$altchaI18nStore", r);
3044
- let n = x(t, "auto", 7, void 0), u = x(t, "blockspam", 7, void 0), s = x(t, "challengeurl", 7, void 0), c = x(t, "challengejson", 7, void 0), d = x(t, "credentials", 7, void 0), p = x(t, "customfetch", 7, void 0), h = x(t, "debug", 7, !1), v = x(t, "delay", 7, 0), k = x(t, "disableautofocus", 7, !1), V = x(t, "expire", 7, void 0), _ = x(t, "floating", 7, void 0), q = x(t, "floatinganchor", 7, void 0), ce = x(t, "floatingoffset", 7, void 0), K = x(t, "floatingpersist", 7, !1), ee = x(t, "hidefooter", 7, !1), J = x(t, "hidelogo", 7, !1), nt = x(t, "id", 7, void 0), H = x(t, "language", 7, void 0), oe = x(t, "name", 7, "altcha"), me = x(t, "maxnumber", 7, 1e6), At = x(t, "mockerror", 7, !1), ze = x(t, "obfuscated", 7, void 0), Ot = x(t, "plugins", 7, void 0), kt = x(t, "refetchonexpire", 7, !0), Ye = x(t, "sentinel", 7, void 0), Ce = x(t, "spamfilter", 7, !1), ot = x(t, "strings", 7, void 0), ge = x(t, "test", 7, !1), te = x(t, "verifyurl", 7, void 0), lt = x(t, "workers", 23, () => Math.min(16, navigator.hardwareConcurrency || 8)), _t = x(t, "workerurl", 7, void 0);
3045
- const { altchaI18n: Mi } = globalThis, Bi = Mi.store, Gr = ["SHA-256", "SHA-384", "SHA-512"], Ui = "https://altcha.org/", Ne = (a, f) => {
3033
+ C.UNVERIFIED,
3034
+ C.ERROR,
3035
+ C.EXPIRED,
3036
+ C.CODE
3037
+ ].includes(l(t)) ? r() !== !1 && ((u = l(i)) == null ? void 0 : u.reportValidity()) === !1 ? A(o, !1) : n() ? c() : s() : A(o, !0);
3038
+ }
3039
+ var gs = /* @__PURE__ */ pr('<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="altcha-spinner"><path d="M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z" fill="currentColor" opacity=".25"></path><path d="M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z" fill="currentColor"></path></svg>'), vs = /* @__PURE__ */ Ce('<input type="hidden">'), bs = /* @__PURE__ */ Ce('<div><a target="_blank" class="altcha-logo" aria-hidden="true"><svg width="22" height="22" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.33955 16.4279C5.88954 20.6586 12.1971 21.2105 16.4279 17.6604C18.4699 15.947 19.6548 13.5911 19.9352 11.1365L17.9886 10.4279C17.8738 12.5624 16.909 14.6459 15.1423 16.1284C11.7577 18.9684 6.71167 18.5269 3.87164 15.1423C1.03163 11.7577 1.4731 6.71166 4.8577 3.87164C8.24231 1.03162 13.2883 1.4731 16.1284 4.8577C16.9767 5.86872 17.5322 7.02798 17.804 8.2324L19.9522 9.01429C19.7622 7.07737 19.0059 5.17558 17.6604 3.57212C14.1104 -0.658624 7.80283 -1.21043 3.57212 2.33956C-0.658625 5.88958 -1.21046 12.1971 2.33955 16.4279Z" fill="currentColor"></path><path d="M3.57212 2.33956C1.65755 3.94607 0.496389 6.11731 0.12782 8.40523L2.04639 9.13961C2.26047 7.15832 3.21057 5.25375 4.8577 3.87164C8.24231 1.03162 13.2883 1.4731 16.1284 4.8577L13.8302 6.78606L19.9633 9.13364C19.7929 7.15555 19.0335 5.20847 17.6604 3.57212C14.1104 -0.658624 7.80283 -1.21043 3.57212 2.33956Z" fill="currentColor"></path><path d="M7 10H5C5 12.7614 7.23858 15 10 15C12.7614 15 15 12.7614 15 10H13C13 11.6569 11.6569 13 10 13C8.3431 13 7 11.6569 7 10Z" fill="currentColor"></path></svg></a></div>'), ps = /* @__PURE__ */ pr('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12.8659 3.00017L22.3922 19.5002C22.6684 19.9785 22.5045 20.5901 22.0262 20.8662C21.8742 20.954 21.7017 21.0002 21.5262 21.0002H2.47363C1.92135 21.0002 1.47363 20.5525 1.47363 20.0002C1.47363 19.8246 1.51984 19.6522 1.60761 19.5002L11.1339 3.00017C11.41 2.52187 12.0216 2.358 12.4999 2.63414C12.6519 2.72191 12.7782 2.84815 12.8659 3.00017ZM10.9999 16.0002V18.0002H12.9999V16.0002H10.9999ZM10.9999 9.00017V14.0002H12.9999V9.00017H10.9999Z"></path></svg>'), ms = /* @__PURE__ */ pr('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M15 7C15 6.44772 15.4477 6 16 6C16.5523 6 17 6.44772 17 7V17C17 17.5523 16.5523 18 16 18C15.4477 18 15 17.5523 15 17V7ZM7 7C7 6.44772 7.44772 6 8 6C8.55228 6 9 6.44772 9 7V17C9 17.5523 8.55228 18 8 18C7.44772 18 7 17.5523 7 17V7Z"></path></svg>'), ys = /* @__PURE__ */ pr('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4 12H7C8.10457 12 9 12.8954 9 14V19C9 20.1046 8.10457 21 7 21H4C2.89543 21 2 20.1046 2 19V12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12V19C22 20.1046 21.1046 21 20 21H17C15.8954 21 15 20.1046 15 19V14C15 12.8954 15.8954 12 17 12H20C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12Z"></path></svg>'), As = /* @__PURE__ */ Ce('<button type="button" class="altcha-code-challenge-audio"><!></button>'), ks = /* @__PURE__ */ Ce("<audio hidden autoplay><source></audio>"), _s = /* @__PURE__ */ Ce('<div class="altcha-code-challenge" role="dialog"><div class="altcha-code-challenge-arrow"></div> <form data-code-challenge-form="1"><img class="altcha-code-challenge-image" alt=""> <input type="text" autocomplete="off" name="code" class="altcha-code-challenge-input" required> <div class="altcha-code-challenge-buttons"><div class="altcha-code-challenge-buttons-left"><!> <button type="button" class="altcha-code-challenge-reload"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2V4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 9.25022 5.38734 6.82447 7.50024 5.38451L7.5 8H9.5V2L3.5 2V4L5.99918 3.99989C3.57075 5.82434 2 8.72873 2 12Z"></path></svg></button></div> <button type="submit" class="altcha-code-challenge-verify"><!> </button></div> <!></form></div>'), ws = /* @__PURE__ */ Ce("<div><!></div>"), Cs = /* @__PURE__ */ Ce("<div><!></div>"), Es = /* @__PURE__ */ Ce('<div class="altcha-error"><svg width="14" height="14" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"></path></svg> <!></div>'), Ls = /* @__PURE__ */ Ce('<div class="altcha-footer"><div><!></div></div>'), xs = /* @__PURE__ */ Ce('<div class="altcha-anchor-arrow"></div>'), Ts = /* @__PURE__ */ Ce('<!> <div class="altcha"><div class="altcha-main"><div><!> <input type="checkbox"></div> <label class="altcha-label"><!></label> <!> <!> <!></div> <!> <!> <!></div>', 1);
3040
+ function Is(e, t) {
3041
+ var Sa, Pa;
3042
+ di(t, !0);
3043
+ const [r, i] = Jo(), o = () => Ko(Ki, "$altchaI18nStore", r);
3044
+ let n = x(t, "auto", 7, void 0), c = x(t, "blockspam", 7, void 0), s = x(t, "challengeurl", 7, void 0), u = x(t, "challengejson", 7, void 0), d = x(t, "credentials", 7, void 0), m = x(t, "customfetch", 7, void 0), h = x(t, "debug", 7, !1), b = x(t, "delay", 7, 0), k = x(t, "disableautofocus", 7, !1), V = x(t, "expire", 7, void 0), w = x(t, "floating", 7, void 0), q = x(t, "floatinganchor", 7, void 0), ue = x(t, "floatingoffset", 7, void 0), J = x(t, "floatingpersist", 7, !1), te = x(t, "hidefooter", 7, !1), X = x(t, "hidelogo", 7, !1), st = x(t, "id", 7, void 0), F = x(t, "language", 7, void 0), oe = x(t, "name", 7, "altcha"), ye = x(t, "maxnumber", 7, 1e6), wt = x(t, "mockerror", 7, !1), De = x(t, "obfuscated", 7, void 0), Ee = x(t, "overlay", 7, void 0), Ct = x(t, "overlaycontent", 7, void 0), Bt = x(t, "plugins", 7, void 0), Et = x(t, "refetchonexpire", 7, !0), Ke = x(t, "sentinel", 7, void 0), Le = x(t, "spamfilter", 7, !1), ct = x(t, "strings", 7, void 0), ve = x(t, "test", 7, !1), re = x(t, "verifyurl", 7, void 0), ft = x(t, "workers", 23, () => Math.min(16, navigator.hardwareConcurrency || 8)), Lt = x(t, "workerurl", 7, void 0);
3045
+ const { altchaI18n: Wi } = globalThis, Ki = Wi.store, Qr = ["SHA-256", "SHA-384", "SHA-512"], Ji = "https://altcha.org/", qe = (a, f) => {
3046
3046
  t.$$host.dispatchEvent(new CustomEvent(a, { detail: f }));
3047
- }, Yr = (Ia = (Ta = document.documentElement.lang) == null ? void 0 : Ta.split("-")) == null ? void 0 : Ia[0], hr = /* @__PURE__ */ It(() => {
3047
+ }, ea = (Pa = (Sa = document.documentElement.lang) == null ? void 0 : Sa.split("-")) == null ? void 0 : Pa[0], mr = /* @__PURE__ */ $t(() => {
3048
3048
  var a;
3049
3049
  return s() && new URL(s(), location.origin).host.endsWith(".altcha.org") && !!((a = s()) != null && a.includes("apiKey=ckey_"));
3050
- }), gr = /* @__PURE__ */ It(() => c() ? ua(c()) : void 0), Zi = /* @__PURE__ */ It(() => ot() ? ua(ot()) : {}), P = /* @__PURE__ */ It(() => ({
3051
- ...Xr(o()),
3052
- ...l(Zi)
3053
- })), Wr = /* @__PURE__ */ It(() => `${nt() || oe()}_checkbox_${Math.round(Math.random() * 1e8)}`);
3054
- let wt = /* @__PURE__ */ D(!1), M = /* @__PURE__ */ D(null), T = /* @__PURE__ */ D(Fe(w.UNVERIFIED)), re = /* @__PURE__ */ D(void 0), Ct = /* @__PURE__ */ D(null), De = /* @__PURE__ */ D(null), vr = /* @__PURE__ */ D(null), st = /* @__PURE__ */ D(null), S = /* @__PURE__ */ D(null), We = /* @__PURE__ */ D(null), Le = null, B = /* @__PURE__ */ D(null), Ke = /* @__PURE__ */ D(!1), qe = [], br = /* @__PURE__ */ D(!1), Re = /* @__PURE__ */ D(null);
3055
- Vr(() => {
3056
- on(l(We));
3057
- }), Vr(() => {
3058
- ln(l(T));
3059
- }), Xo(() => {
3060
- Gi(), l(S) && (l(S).removeEventListener("submit", ia), l(S).removeEventListener("reset", na), l(S).removeEventListener("focusin", aa), y(S, null)), Le && (clearTimeout(Le), Le = null), document.removeEventListener("click", ta), document.removeEventListener("scroll", ra), window.removeEventListener("resize", sa);
3061
- }), Ni(() => {
3050
+ }), yr = /* @__PURE__ */ $t(() => u() ? va(u()) : void 0), Xi = /* @__PURE__ */ $t(() => ct() ? va(ct()) : {}), P = /* @__PURE__ */ $t(() => ({
3051
+ ...ia(o()),
3052
+ ...l(Xi)
3053
+ })), ta = /* @__PURE__ */ $t(() => `${st() || oe()}_checkbox_${Math.round(Math.random() * 1e8)}`);
3054
+ let xt = /* @__PURE__ */ z(!1), B = /* @__PURE__ */ z(null), T = /* @__PURE__ */ z(Be(C.UNVERIFIED)), O = /* @__PURE__ */ z(void 0), Tt = /* @__PURE__ */ z(null), Oe = /* @__PURE__ */ z(null), de = /* @__PURE__ */ z(null), Ar = /* @__PURE__ */ z(null), ut = /* @__PURE__ */ z(null), S = /* @__PURE__ */ z(null), It = /* @__PURE__ */ z(null), Je = /* @__PURE__ */ z(null), xe = null, U = /* @__PURE__ */ z(null), Xe = /* @__PURE__ */ z(!1), He = [], kr = /* @__PURE__ */ z(!1), $e = /* @__PURE__ */ z(null);
3055
+ zr(() => {
3056
+ dn(l(Je));
3057
+ }), zr(() => {
3058
+ hn(l(T));
3059
+ }), al(() => {
3060
+ Qi(), l(S) && (l(S).removeEventListener("submit", fa), l(S).removeEventListener("reset", ua), l(S).removeEventListener("focusin", ca), A(S, null)), xe && (clearTimeout(xe), xe = null), document.removeEventListener("click", la), document.removeEventListener("scroll", sa), window.removeEventListener("resize", ga);
3061
+ }), Mi(() => {
3062
3062
  var a;
3063
- I("mounted", "2.0.3"), I("workers", lt()), Ji(), I("plugins", qe.length ? qe.map((f) => f.constructor.pluginName).join(", ") : "none"), ge() && I("using test mode"), V() && pr(V()), n() !== void 0 && I("auto", n()), _() !== void 0 && ca(_()), y(S, (a = l(re)) == null ? void 0 : a.closest("form"), !0), l(S) && (l(S).addEventListener("submit", ia, { capture: !0 }), l(S).addEventListener("reset", na), (n() === "onfocus" || K() === "focus") && l(S).addEventListener("focusin", aa)), n() === "onload" && (ze() ? Lt() : je()), l(hr) && (ee() || J()) && I("Attributes hidefooter and hidelogo ignored because usage with free API Keys requires attribution."), requestAnimationFrame(() => {
3064
- Ne("load");
3063
+ I("mounted", "2.1.0-beta.1"), I("workers", ft()), an(), I("plugins", He.length ? He.map((f) => f.constructor.pluginName).join(", ") : "none"), ve() && I("using test mode"), V() && wr(V()), n() !== void 0 && I("auto", n()), w() !== void 0 && pa(w()), A(S, (a = l(O)) == null ? void 0 : a.closest("form"), !0), l(S) && (l(S).addEventListener("submit", fa, { capture: !0 }), l(S).addEventListener("reset", ua), (n() === "onfocus" || J() === "focus") && l(S).addEventListener("focusin", ca)), Ee() && ma(!0), n() === "onload" && (De() ? Vt() : Se()), l(mr) && (te() || X()) && I("Attributes hidefooter and hidelogo ignored because usage with free API Keys requires attribution."), requestAnimationFrame(() => {
3064
+ qe("load");
3065
3065
  });
3066
3066
  });
3067
- function Ht(a, f) {
3067
+ function Ut(a, f) {
3068
3068
  return btoa(JSON.stringify({
3069
3069
  algorithm: a.algorithm,
3070
3070
  challenge: a.challenge,
3071
3071
  number: f.number,
3072
3072
  salt: a.salt,
3073
3073
  signature: a.signature,
3074
- test: ge() ? !0 : void 0,
3074
+ test: ve() ? !0 : void 0,
3075
3075
  took: f.took
3076
3076
  }));
3077
3077
  }
3078
- function Gi() {
3079
- for (const a of qe)
3078
+ function Qi() {
3079
+ for (const a of He)
3080
3080
  a.destroy();
3081
3081
  }
3082
- function Kr() {
3083
- s() && kt() && l(T) === w.VERIFIED ? je() : ut(w.EXPIRED, l(P).expired);
3082
+ function ra() {
3083
+ s() && Et() && l(T) === C.VERIFIED ? Se() : Qe(C.EXPIRED, l(P).expired);
3084
3084
  }
3085
- async function Yi() {
3085
+ async function en() {
3086
3086
  var a;
3087
- if (At())
3087
+ if (wt())
3088
3088
  throw I("mocking error"), new Error("Mocked error.");
3089
- if (l(gr))
3090
- return I("using provided json data"), l(gr);
3091
- if (ge())
3092
- return I("generating test challenge", { test: ge() }), es(typeof ge() != "boolean" ? +ge() : void 0);
3089
+ if (l(yr))
3090
+ return I("using provided json data"), l(yr);
3091
+ if (ve())
3092
+ return I("generating test challenge", { test: ve() }), ns(typeof ve() != "boolean" ? +ve() : void 0);
3093
3093
  {
3094
3094
  if (!s() && l(S)) {
3095
- const L = l(S).getAttribute("action");
3096
- L != null && L.includes("/form/") && s(L + "/altcha");
3095
+ const E = l(S).getAttribute("action");
3096
+ E != null && E.includes("/form/") && s(E + "/altcha");
3097
3097
  }
3098
3098
  if (!s())
3099
3099
  throw new Error("Attribute challengeurl not set.");
3100
3100
  I("fetching challenge from", s());
3101
3101
  const f = {
3102
3102
  credentials: typeof d() == "boolean" ? "include" : d(),
3103
- headers: Ce() !== !1 ? { "x-altcha-spam-filter": "1" } : {}
3104
- }, g = await Jr()(s(), f);
3103
+ headers: Le() !== !1 ? { "x-altcha-spam-filter": "1" } : {}
3104
+ }, g = await aa()(s(), f);
3105
3105
  if (!g || !(g instanceof Response))
3106
3106
  throw new Error("Custom fetch function did not return a response.");
3107
3107
  if (g.status !== 200)
3108
3108
  throw new Error(`Server responded with ${g.status}.`);
3109
- const m = g.headers.get("X-Altcha-Config"), b = await g.json(), C = new URLSearchParams((a = b.salt.split("?")) == null ? void 0 : a[1]), A = C.get("expires") || C.get("expire");
3110
- if (A) {
3111
- const L = new Date(+A * 1e3), F = isNaN(L.getTime()) ? 0 : L.getTime() - Date.now();
3112
- F > 0 && pr(F);
3109
+ const p = g.headers.get("X-Altcha-Config"), v = await g.json(), _ = new URLSearchParams((a = v.salt.split("?")) == null ? void 0 : a[1]), y = _.get("expires") || _.get("expire");
3110
+ if (y) {
3111
+ const E = new Date(+y * 1e3), M = isNaN(E.getTime()) ? 0 : E.getTime() - Date.now();
3112
+ M > 0 && wr(M);
3113
3113
  }
3114
- if (m)
3114
+ if (p)
3115
3115
  try {
3116
- const L = JSON.parse(m);
3117
- L && typeof L == "object" && (L.verifyurl && !L.verifyurl.startsWith("fn:") && (L.verifyurl = ea(L.verifyurl)), ga(L));
3118
- } catch (L) {
3119
- I("unable to configure from X-Altcha-Config", L);
3116
+ const E = JSON.parse(p);
3117
+ E && typeof E == "object" && (E.verifyurl && !E.verifyurl.startsWith("fn:") && (E.verifyurl = oa(E.verifyurl)), ka(E));
3118
+ } catch (E) {
3119
+ I("unable to configure from X-Altcha-Config", E);
3120
3120
  }
3121
- return b;
3121
+ return v;
3122
3122
  }
3123
3123
  }
3124
- function Wi(a) {
3125
- var g, m;
3124
+ function tn(a) {
3125
+ var g, p;
3126
3126
  const f = (g = l(S)) == null ? void 0 : g.querySelector(typeof a == "string" ? `input[name="${a}"]` : 'input[type="email"]:not([data-no-spamfilter])');
3127
- return ((m = f == null ? void 0 : f.value) == null ? void 0 : m.slice(f.value.indexOf("@"))) || void 0;
3127
+ return ((p = f == null ? void 0 : f.value) == null ? void 0 : p.slice(f.value.indexOf("@"))) || void 0;
3128
3128
  }
3129
- function Jr() {
3129
+ function aa() {
3130
3130
  let a = fetch;
3131
- if (p())
3132
- if (I("using customfetch"), typeof p() == "string") {
3133
- if (a = globalThis[p()] || null, !a)
3134
- throw new Error(`Custom fetch function not found: ${p()}`);
3131
+ if (m())
3132
+ if (I("using customfetch"), typeof m() == "string") {
3133
+ if (a = globalThis[m()] || null, !a)
3134
+ throw new Error(`Custom fetch function not found: ${m()}`);
3135
3135
  } else
3136
- a = p();
3136
+ a = m();
3137
3137
  return a;
3138
3138
  }
3139
- function Xr(a, f = [
3140
- H() || "",
3139
+ function ia(a, f = [
3140
+ F() || "",
3141
3141
  document.documentElement.lang || "",
3142
3142
  ...navigator.languages
3143
3143
  ]) {
3144
- const g = Object.keys(a).map((b) => b.toLowerCase()), m = f.reduce(
3145
- (b, C) => (C = C.toLowerCase(), b || (a[C] ? C : null) || g.find((A) => C.split("-")[0] === A.split("-")[0]) || null),
3144
+ const g = Object.keys(a).map((v) => v.toLowerCase()), p = f.reduce(
3145
+ (v, _) => (_ = _.toLowerCase(), v || (a[_] ? _ : null) || g.find((y) => _.split("-")[0] === y.split("-")[0]) || null),
3146
3146
  null
3147
3147
  );
3148
- return a[m || "en"];
3148
+ return a[p || "en"];
3149
3149
  }
3150
- function Ki() {
3151
- return Ce() === "ipAddress" ? {
3150
+ function rn() {
3151
+ return Le() === "ipAddress" ? {
3152
3152
  blockedCountries: void 0,
3153
3153
  classifier: void 0,
3154
3154
  disableRules: void 0,
@@ -3159,7 +3159,7 @@ function Cs(e, t) {
3159
3159
  ipAddress: void 0,
3160
3160
  text: void 0,
3161
3161
  timeZone: void 0
3162
- } : typeof Ce() == "object" ? Ce() : {
3162
+ } : typeof Le() == "object" ? Le() : {
3163
3163
  blockedCountries: void 0,
3164
3164
  classifier: void 0,
3165
3165
  disableRules: void 0,
@@ -3172,158 +3172,159 @@ function Cs(e, t) {
3172
3172
  timeZone: void 0
3173
3173
  };
3174
3174
  }
3175
- function Qr(a) {
3175
+ function na(a) {
3176
3176
  var g;
3177
3177
  return [
3178
- ...((g = l(S)) == null ? void 0 : g.querySelectorAll(a != null && a.length ? a.map((m) => `input[name="${m}"]`).join(", ") : 'input[type="text"]:not([data-no-spamfilter]), textarea:not([data-no-spamfilter])')) || []
3178
+ ...((g = l(S)) == null ? void 0 : g.querySelectorAll(a != null && a.length ? a.map((p) => `input[name="${p}"]`).join(", ") : 'input[type="text"]:not([data-no-spamfilter]), textarea:not([data-no-spamfilter])')) || []
3179
3179
  ].reduce(
3180
- (m, b) => {
3181
- const C = b.name, A = b.value;
3182
- return C && A && (m[C] = /\n/.test(A) ? A.replace(new RegExp("(?<!\\r)\\n", "g"), `\r
3183
- `) : A), m;
3180
+ (p, v) => {
3181
+ const _ = v.name, y = v.value;
3182
+ return _ && y && (p[_] = /\n/.test(y) ? y.replace(new RegExp("(?<!\\r)\\n", "g"), `\r
3183
+ `) : y), p;
3184
3184
  },
3185
3185
  {}
3186
3186
  );
3187
3187
  }
3188
- function ea(a, f) {
3189
- const g = new URL(s() || location.origin), m = new URL(a, g);
3190
- if (m.search || (m.search = g.search), f)
3191
- for (const b in f)
3192
- f[b] !== void 0 && f[b] !== null && m.searchParams.set(b, f[b]);
3193
- return m.toString();
3188
+ function oa(a, f) {
3189
+ const g = new URL(s() || location.origin), p = new URL(a, g);
3190
+ if (p.search || (p.search = g.search), f)
3191
+ for (const v in f)
3192
+ f[v] !== void 0 && f[v] !== null && p.searchParams.set(v, f[v]);
3193
+ return p.toString();
3194
3194
  }
3195
- function Ji() {
3196
- const a = Ot() !== void 0 ? Ot().split(",") : void 0;
3195
+ function an() {
3196
+ const a = Bt() !== void 0 ? Bt().split(",") : void 0;
3197
3197
  for (const f of globalThis.altchaPlugins)
3198
- (!a || a.includes(f.pluginName)) && qe.push(new f({
3199
- el: l(re),
3200
- clarify: Lt,
3201
- dispatch: Ne,
3202
- getConfiguration: va,
3203
- getFloatingAnchor: ba,
3204
- getState: pa,
3198
+ (!a || a.includes(f.pluginName)) && He.push(new f({
3199
+ el: l(O),
3200
+ clarify: Vt,
3201
+ dispatch: qe,
3202
+ getConfiguration: _a,
3203
+ getFloatingAnchor: wa,
3204
+ getState: Ca,
3205
3205
  log: I,
3206
- reset: ut,
3207
- solve: ha,
3208
- setState: Ee,
3209
- setFloatingAnchor: ya,
3210
- verify: je
3206
+ reset: Qe,
3207
+ solve: Aa,
3208
+ setState: Te,
3209
+ setFloatingAnchor: Ea,
3210
+ verify: Se
3211
3211
  }));
3212
3212
  }
3213
3213
  function I(...a) {
3214
3214
  (h() || a.some((f) => f instanceof Error)) && console[a[0] instanceof Error ? "error" : "log"]("ALTCHA", `[name=${oe()}]`, ...a);
3215
3215
  }
3216
- function Xi() {
3217
- y(B, Q.PAUSED, !0);
3216
+ function nn() {
3217
+ A(U, ee.PAUSED, !0);
3218
3218
  }
3219
- function Qi(a) {
3220
- y(B, Q.ERROR, !0);
3219
+ function on(a) {
3220
+ A(U, ee.ERROR, !0);
3221
3221
  }
3222
- function en() {
3223
- y(B, Q.READY, !0);
3222
+ function ln() {
3223
+ A(U, ee.READY, !0);
3224
3224
  }
3225
- function tn() {
3226
- y(B, Q.LOADING, !0);
3225
+ function sn() {
3226
+ A(U, ee.LOADING, !0);
3227
3227
  }
3228
- function rn() {
3229
- y(B, Q.PLAYING, !0);
3228
+ function cn() {
3229
+ A(U, ee.PLAYING, !0);
3230
3230
  }
3231
- function an() {
3232
- y(B, Q.PAUSED, !0);
3231
+ function fn() {
3232
+ A(U, ee.PAUSED, !0);
3233
3233
  }
3234
- function nn(a) {
3234
+ function un(a) {
3235
3235
  var f;
3236
- if (a.preventDefault(), a.stopPropagation(), l(M)) {
3237
- const g = new FormData(a.target), m = String(g.get("code"));
3238
- if ((f = te()) != null && f.startsWith("fn:")) {
3239
- const b = te().replace(/^fn:/, "");
3240
- if (I(`calling ${b} function instead of verifyurl`), !(b in globalThis))
3241
- throw new Error(`Global function "${b}" is undefined.`);
3242
- return globalThis[b]({
3243
- challenge: l(M).challenge,
3244
- code: m,
3245
- solution: l(M).solution
3236
+ if (a.preventDefault(), a.stopPropagation(), l(B)) {
3237
+ const g = new FormData(a.target), p = String(g.get("code"));
3238
+ if ((f = re()) != null && f.startsWith("fn:")) {
3239
+ const v = re().replace(/^fn:/, "");
3240
+ if (I(`calling ${v} function instead of verifyurl`), !(v in globalThis))
3241
+ throw new Error(`Global function "${v}" is undefined.`);
3242
+ return globalThis[v]({
3243
+ challenge: l(B).challenge,
3244
+ code: p,
3245
+ solution: l(B).solution
3246
3246
  });
3247
3247
  }
3248
- y(Ke, !0), fa(Ht(l(M).challenge, l(M).solution), m).then(({ reason: b, verified: C }) => {
3249
- C ? (y(M, null), Ee(w.VERIFIED), I("verified"), Er().then(() => {
3250
- var A;
3251
- (A = l(vr)) == null || A.focus(), Ne("verified", { payload: l(Re) });
3252
- })) : (ut(), y(We, b || "Verification failed", !0));
3253
- }).catch((b) => {
3254
- y(M, null), Ee(w.ERROR, b), I("sentinel verification failed:", b);
3248
+ A(Xe, !0), ba(Ut(l(B).challenge, l(B).solution), p).then(({ reason: v, verified: _ }) => {
3249
+ _ ? (A(B, null), Te(C.VERIFIED), I("verified"), jr().then(() => {
3250
+ var y;
3251
+ (y = l(Ar)) == null || y.focus(), qe("verified", { payload: l($e) }), n() === "onsubmit" ? _r(l(It)) : Ee() && Zt();
3252
+ })) : (Qe(), A(Je, v || "Verification failed", !0));
3253
+ }).catch((v) => {
3254
+ A(B, null), Te(C.ERROR, v), I("sentinel verification failed:", v);
3255
3255
  }).finally(() => {
3256
- y(Ke, !1);
3256
+ A(Xe, !1);
3257
3257
  });
3258
3258
  }
3259
3259
  }
3260
- function ta(a) {
3260
+ function la(a) {
3261
3261
  var g;
3262
3262
  const f = a.target;
3263
- _() && f && !l(re).contains(f) && (l(T) === w.VERIFIED && K() === !1 || l(T) === w.VERIFIED && K() === "focus" && !((g = l(S)) != null && g.matches(":focus-within")) || n() === "off" && l(T) === w.UNVERIFIED) && ma();
3263
+ w() && f && !l(O).contains(f) && (l(T) === C.VERIFIED && J() === !1 || l(T) === C.VERIFIED && J() === "focus" && !((g = l(S)) != null && g.matches(":focus-within")) || n() === "off" && l(T) === C.UNVERIFIED) && Zt();
3264
3264
  }
3265
- function ra() {
3266
- _() && l(T) !== w.UNVERIFIED && Et();
3265
+ function sa() {
3266
+ w() && l(T) !== C.UNVERIFIED && Rt();
3267
3267
  }
3268
- function on(a) {
3269
- for (const f of qe)
3270
- typeof f.onErrorChange == "function" && f.onErrorChange(l(We));
3268
+ function dn(a) {
3269
+ for (const f of He)
3270
+ typeof f.onErrorChange == "function" && f.onErrorChange(l(Je));
3271
3271
  }
3272
- function aa(a) {
3273
- l(T) === w.UNVERIFIED ? je() : _() && K() === "focus" && l(T) === w.VERIFIED && mr();
3272
+ function ca(a) {
3273
+ l(T) === C.UNVERIFIED ? Se() : w() && J() === "focus" && l(T) === C.VERIFIED && Cr();
3274
3274
  }
3275
- function ia(a) {
3276
- const f = a.target, g = a.submitter;
3277
- f != null && f.hasAttribute("data-code-challenge-form") || (l(S) && n() === "onsubmit" ? l(T) === w.UNVERIFIED ? (a.preventDefault(), a.stopPropagation(), je().then(() => {
3278
- un(g);
3279
- })) : l(T) !== w.VERIFIED && (a.preventDefault(), a.stopPropagation(), l(T) === w.VERIFYING && oa()) : l(S) && _() && n() === "off" && l(T) === w.UNVERIFIED && (a.preventDefault(), a.stopPropagation(), mr()));
3275
+ function fa(a) {
3276
+ var p;
3277
+ const f = a.target;
3278
+ f != null && f.hasAttribute("data-code-challenge-form") || (A(It, a.submitter, !0), l(S) && n() === "onsubmit" ? ((p = l(It)) == null || p.blur(), l(T) === C.UNVERIFIED ? (a.preventDefault(), a.stopPropagation(), Se().then(() => {
3279
+ _r(l(It));
3280
+ })) : l(T) !== C.VERIFIED && (a.preventDefault(), a.stopPropagation(), l(T) === C.VERIFYING && da())) : l(S) && w() && n() === "off" && l(T) === C.UNVERIFIED && (a.preventDefault(), a.stopPropagation(), Cr()));
3280
3281
  }
3281
- function na() {
3282
- ut();
3282
+ function ua() {
3283
+ Qe();
3283
3284
  }
3284
- function oa() {
3285
- l(T) === w.VERIFYING && l(P).waitAlert && alert(l(P).waitAlert);
3285
+ function da() {
3286
+ l(T) === C.VERIFYING && l(P).waitAlert && alert(l(P).waitAlert);
3286
3287
  }
3287
- function la() {
3288
- l(De) ? l(De).paused ? (l(De).currentTime = 0, l(De).play()) : l(De).pause() : (y(br, !0), requestAnimationFrame(() => {
3288
+ function ha() {
3289
+ l(Oe) ? l(Oe).paused ? (l(Oe).currentTime = 0, l(Oe).play()) : l(Oe).pause() : (A(kr, !0), requestAnimationFrame(() => {
3289
3290
  var a;
3290
- (a = l(De)) == null || a.play();
3291
+ (a = l(Oe)) == null || a.play();
3291
3292
  }));
3292
3293
  }
3293
- function ln(a) {
3294
- for (const f of qe)
3294
+ function hn(a) {
3295
+ for (const f of He)
3295
3296
  typeof f.onStateChange == "function" && f.onStateChange(l(T));
3296
- _() && l(T) !== w.UNVERIFIED && requestAnimationFrame(() => {
3297
- Et();
3298
- }), y(wt, l(T) === w.VERIFIED);
3297
+ w() && l(T) !== C.UNVERIFIED && requestAnimationFrame(() => {
3298
+ Rt();
3299
+ }), A(xt, l(T) === C.VERIFIED), Ee() && l(de) && (l(T) !== C.UNVERIFIED ? l(de).style.display = "flex" : l(de).style.display = "none");
3299
3300
  }
3300
- function sa() {
3301
- _() && Et();
3301
+ function ga() {
3302
+ w() && Rt();
3302
3303
  }
3303
- function ua(a) {
3304
+ function va(a) {
3304
3305
  return JSON.parse(a);
3305
3306
  }
3306
- async function sn(a) {
3307
- if (!te())
3307
+ async function gn(a) {
3308
+ if (!re())
3308
3309
  throw new Error("Attribute verifyurl not set.");
3309
- I("requesting server verification from", te());
3310
+ I("requesting server verification from", re());
3310
3311
  const f = { payload: a };
3311
- if (Ce() !== !1) {
3312
+ if (Le() !== !1) {
3312
3313
  const {
3313
- blockedCountries: b,
3314
- classifier: C,
3315
- disableRules: A,
3316
- email: L,
3317
- expectedLanguages: F,
3318
- expectedCountries: X,
3314
+ blockedCountries: v,
3315
+ classifier: _,
3316
+ disableRules: y,
3317
+ email: E,
3318
+ expectedLanguages: M,
3319
+ expectedCountries: Q,
3319
3320
  fields: le,
3320
- ipAddress: Oe,
3321
- text: Ar,
3322
- timeZone: Bt
3323
- } = Ki();
3324
- f.blockedCountries = b, f.classifier = C, f.disableRules = A, f.email = L === !1 ? void 0 : Wi(L), f.expectedCountries = X, f.expectedLanguages = F || (Yr ? [Yr] : void 0), f.fields = le === !1 ? void 0 : Qr(le), f.ipAddress = Oe === !1 ? void 0 : Oe || "auto", f.text = Ar, f.timeZone = Bt === !1 ? void 0 : Bt || Ua();
3321
+ ipAddress: Fe,
3322
+ text: Lr,
3323
+ timeZone: Wt
3324
+ } = rn();
3325
+ f.blockedCountries = v, f.classifier = _, f.disableRules = y, f.email = E === !1 ? void 0 : tn(E), f.expectedCountries = Q, f.expectedLanguages = M || (ea ? [ea] : void 0), f.fields = le === !1 ? void 0 : na(le), f.ipAddress = Fe === !1 ? void 0 : Fe || "auto", f.text = Lr, f.timeZone = Wt === !1 ? void 0 : Wt || Ja();
3325
3326
  }
3326
- const g = await Jr()(te(), {
3327
+ const g = await aa()(re(), {
3327
3328
  body: JSON.stringify(f),
3328
3329
  headers: { "content-type": "application/json" },
3329
3330
  method: "POST"
@@ -3332,55 +3333,65 @@ function Cs(e, t) {
3332
3333
  throw new Error("Custom fetch function did not return a response.");
3333
3334
  if (g.status !== 200)
3334
3335
  throw new Error(`Server responded with ${g.status}.`);
3335
- const m = await g.json();
3336
- if (m != null && m.payload && y(Re, m.payload, !0), Ne("serververification", m), u() && m.classification === "BAD")
3336
+ const p = await g.json();
3337
+ if (p != null && p.payload && A($e, p.payload, !0), qe("serververification", p), c() && p.classification === "BAD")
3337
3338
  throw new Error("SpamFilter returned negative classification.");
3338
3339
  }
3339
- async function fa(a, f) {
3340
- if (!te())
3340
+ async function ba(a, f) {
3341
+ if (!re())
3341
3342
  throw new Error("Attribute verifyurl not set.");
3342
- I("requesting sentinel verification from", te());
3343
+ I("requesting sentinel verification from", re());
3343
3344
  const g = { code: f, payload: a };
3344
- Ye() && (g.fields = Ye().fields ? Qr() : void 0, g.timeZone = Ye().timeZone ? Ua() : void 0);
3345
- const m = await fetch(te(), {
3345
+ Ke() && (g.fields = Ke().fields ? na() : void 0, g.timeZone = Ke().timeZone ? Ja() : void 0);
3346
+ const p = await fetch(re(), {
3346
3347
  body: JSON.stringify(g),
3347
3348
  headers: { "content-type": "application/json" },
3348
3349
  method: "POST"
3349
3350
  });
3350
- if (!m || !(m instanceof Response))
3351
+ if (!p || !(p instanceof Response))
3351
3352
  throw new Error("Fetch function did not return a response.");
3352
- if (m.status !== 200)
3353
- throw new Error(`Server responded with ${m.status}.`);
3354
- const b = await m.json();
3355
- return b != null && b.payload && y(Re, b.payload, !0), Ne("sentinelverification", b), b;
3353
+ if (p.status !== 200)
3354
+ throw new Error(`Server responded with ${p.status}.`);
3355
+ const v = await p.json();
3356
+ return v != null && v.payload && A($e, v.payload, !0), qe("sentinelverification", v), v;
3356
3357
  }
3357
- function un(a) {
3358
+ function _r(a) {
3358
3359
  var f;
3359
3360
  l(S) && "requestSubmit" in l(S) ? l(S).requestSubmit(a) : (f = l(S)) != null && f.reportValidity() && (a ? a.click() : l(S).submit());
3360
3361
  }
3361
- function pr(a) {
3362
- I("expire", a), Le && (clearTimeout(Le), Le = null), a < 1 ? Kr() : Le = setTimeout(Kr, a);
3362
+ function wr(a) {
3363
+ I("expire", a), xe && (clearTimeout(xe), xe = null), a < 1 ? ra() : xe = setTimeout(ra, a);
3363
3364
  }
3364
- function ca(a) {
3365
- I("floating", a), _() !== a && (l(re).style.left = "", l(re).style.top = ""), _(a === !0 || a === "" ? "auto" : a === !1 || a === "false" ? void 0 : _()), _() ? (n() || n("onsubmit"), document.addEventListener("scroll", ra), document.addEventListener("click", ta), window.addEventListener("resize", sa)) : n() === "onsubmit" && n(void 0);
3365
+ function pa(a) {
3366
+ I("floating", a), w() !== a && (l(O).style.left = "", l(O).style.top = ""), w(a === !0 || a === "" ? "auto" : a === !1 || a === "false" ? void 0 : w()), w() ? (n() || n("onsubmit"), document.addEventListener("scroll", sa), document.addEventListener("click", la), window.addEventListener("resize", ga)) : n() === "onsubmit" && n(void 0);
3367
+ }
3368
+ function ma(a) {
3369
+ var f, g, p, v;
3370
+ if (l(de) && ((g = (f = l(O).parentElement) == null ? void 0 : f.parentElement) == null || g.append(l(O).parentElement), document.body.removeChild(l(de))), a && (n() || n("onsubmit"), (v = (p = l(O)) == null ? void 0 : p.parentElement) != null && v.parentElement)) {
3371
+ A(de, document.createElement("div"), !0), l(O).parentElement.parentElement.appendChild(l(de));
3372
+ const _ = document.createElement("div"), y = document.createElement("button");
3373
+ y.type = "button", y.innerHTML = "&times;", y.addEventListener("click", (E) => {
3374
+ E.preventDefault(), Qe();
3375
+ }), l(de).classList.add("altcha-overlay-backdrop"), y.classList.add("altcha-overlay-close-button"), _.classList.add("altcha-overlay"), l(de).append(_), _.append(y), Ct() && _.append(...document.querySelectorAll(Ct())), _.append(l(O).parentElement);
3376
+ }
3366
3377
  }
3367
- function da(a) {
3378
+ function ya(a) {
3368
3379
  if (!a.algorithm)
3369
3380
  throw new Error("Invalid challenge. Property algorithm is missing.");
3370
3381
  if (a.signature === void 0)
3371
3382
  throw new Error("Invalid challenge. Property signature is missing.");
3372
- if (!Gr.includes(a.algorithm.toUpperCase()))
3373
- throw new Error(`Unknown algorithm value. Allowed values: ${Gr.join(", ")}`);
3383
+ if (!Qr.includes(a.algorithm.toUpperCase()))
3384
+ throw new Error(`Unknown algorithm value. Allowed values: ${Qr.join(", ")}`);
3374
3385
  if (!a.challenge || a.challenge.length < 40)
3375
3386
  throw new Error("Challenge is too short. Min. 40 chars.");
3376
3387
  if (!a.salt || a.salt.length < 10)
3377
3388
  throw new Error("Salt is too short. Min. 10 chars.");
3378
3389
  }
3379
- async function ha(a) {
3390
+ async function Aa(a) {
3380
3391
  let f = null;
3381
3392
  if ("Worker" in window) {
3382
3393
  try {
3383
- f = await fn(a, a.maxNumber || a.maxnumber || me());
3394
+ f = await vn(a, a.maxNumber || a.maxnumber || ye());
3384
3395
  } catch (g) {
3385
3396
  I(g);
3386
3397
  }
@@ -3388,588 +3399,601 @@ function Cs(e, t) {
3388
3399
  return { data: a, solution: f };
3389
3400
  }
3390
3401
  if ("obfuscated" in a) {
3391
- const g = await is(a.obfuscated, a.key, a.maxNumber || a.maxnumber);
3402
+ const g = await cs(a.obfuscated, a.key, a.maxNumber || a.maxnumber);
3392
3403
  return { data: a, solution: await g.promise };
3393
3404
  }
3394
3405
  return {
3395
3406
  data: a,
3396
- solution: await ts(a.challenge, a.salt, a.algorithm, a.maxNumber || a.maxnumber || me()).promise
3407
+ solution: await os(a.challenge, a.salt, a.algorithm, a.maxNumber || a.maxnumber || ye()).promise
3397
3408
  };
3398
3409
  }
3399
- async function fn(a, f = typeof ge() == "number" ? ge() : a.maxNumber || a.maxnumber || me(), g = Math.ceil(lt())) {
3400
- const m = [];
3410
+ async function vn(a, f = typeof ve() == "number" ? ve() : a.maxNumber || a.maxnumber || ye(), g = Math.ceil(ft())) {
3411
+ const p = [];
3401
3412
  g = Math.min(16, f, Math.max(1, g));
3402
- for (let A = 0; A < g; A++)
3403
- m.push(altchaCreateWorker(_t()));
3404
- const b = Math.ceil(f / g), C = await Promise.all(m.map((A, L) => {
3405
- const F = L * b;
3406
- return new Promise((X) => {
3407
- A.addEventListener("message", (le) => {
3413
+ for (let y = 0; y < g; y++)
3414
+ p.push(altchaCreateWorker(Lt()));
3415
+ const v = Math.ceil(f / g), _ = await Promise.all(p.map((y, E) => {
3416
+ const M = E * v;
3417
+ return new Promise((Q) => {
3418
+ y.addEventListener("message", (le) => {
3408
3419
  if (le.data)
3409
- for (const Oe of m)
3410
- Oe !== A && Oe.postMessage({ type: "abort" });
3411
- X(le.data);
3412
- }), A.postMessage({
3420
+ for (const Fe of p)
3421
+ Fe !== y && Fe.postMessage({ type: "abort" });
3422
+ Q(le.data);
3423
+ }), y.postMessage({
3413
3424
  payload: a,
3414
- max: F + b,
3415
- start: F,
3425
+ max: M + v,
3426
+ start: M,
3416
3427
  type: "work"
3417
3428
  });
3418
3429
  });
3419
3430
  }));
3420
- for (const A of m)
3421
- A.terminate();
3422
- return C.find((A) => !!A) || null;
3431
+ for (const y of p)
3432
+ y.terminate();
3433
+ return _.find((y) => !!y) || null;
3423
3434
  }
3424
- async function Lt() {
3425
- if (!ze()) {
3426
- Ee(w.ERROR);
3435
+ async function Vt() {
3436
+ if (!De()) {
3437
+ Te(C.ERROR);
3427
3438
  return;
3428
3439
  }
3429
- const a = qe.find((f) => f.constructor.pluginName === "obfuscation");
3440
+ const a = He.find((f) => f.constructor.pluginName === "obfuscation");
3430
3441
  if (!a || !("clarify" in a)) {
3431
- Ee(w.ERROR), I("Plugin `obfuscation` not found. Import `altcha/plugins/obfuscation` to load it.");
3442
+ Te(C.ERROR), I("Plugin `obfuscation` not found. Import `altcha/plugins/obfuscation` to load it.");
3432
3443
  return;
3433
3444
  }
3434
3445
  if ("clarify" in a && typeof a.clarify == "function")
3435
3446
  return a.clarify();
3436
3447
  }
3437
- function ga(a) {
3438
- a.obfuscated !== void 0 && ze(a.obfuscated), a.auto !== void 0 && (n(a.auto), n() === "onload" && (ze() ? Lt() : je())), a.blockspam !== void 0 && u(!!a.blockspam), a.customfetch !== void 0 && p(a.customfetch), a.floatinganchor !== void 0 && q(a.floatinganchor), a.delay !== void 0 && v(a.delay), a.floatingoffset !== void 0 && ce(a.floatingoffset), a.floating !== void 0 && ca(a.floating), a.expire !== void 0 && (pr(a.expire), V(a.expire)), a.challenge && (c(typeof a.challenge == "string" ? a.challenge : JSON.stringify(a.challenge)), da(l(gr))), a.challengeurl !== void 0 && s(a.challengeurl), a.debug !== void 0 && h(!!a.debug), a.hidefooter !== void 0 && ee(!!a.hidefooter), a.hidelogo !== void 0 && J(!!a.hidelogo), a.language !== void 0 && ot(Xr(o(), [a.language])), a.maxnumber !== void 0 && me(+a.maxnumber), a.mockerror !== void 0 && At(!!a.mockerror), a.name !== void 0 && oe(a.name), a.refetchonexpire !== void 0 && kt(!!a.refetchonexpire), a.sentinel !== void 0 && typeof a.sentinel == "object" && Ye(a.sentinel), a.spamfilter !== void 0 && Ce(typeof a.spamfilter == "object" ? a.spamfilter : !!a.spamfilter), a.strings && ot(typeof a.strings == "string" ? a.strings : JSON.stringify(a.strings)), a.test !== void 0 && ge(typeof a.test == "number" ? a.test : !!a.test), a.verifyurl !== void 0 && te(a.verifyurl), a.workers !== void 0 && lt(+a.workers), a.workerurl !== void 0 && _t(a.workerurl);
3448
+ function ka(a) {
3449
+ a.obfuscated !== void 0 && De(a.obfuscated), a.auto !== void 0 && (n(a.auto), n() === "onload" && (De() ? Vt() : Se())), a.blockspam !== void 0 && c(!!a.blockspam), a.customfetch !== void 0 && m(a.customfetch), a.floatinganchor !== void 0 && q(a.floatinganchor), a.delay !== void 0 && b(a.delay), a.floatingoffset !== void 0 && ue(a.floatingoffset), a.floating !== void 0 && pa(a.floating), a.expire !== void 0 && (wr(a.expire), V(a.expire)), a.challenge && (u(typeof a.challenge == "string" ? a.challenge : JSON.stringify(a.challenge)), ya(l(yr))), a.challengeurl !== void 0 && s(a.challengeurl), a.debug !== void 0 && h(!!a.debug), a.hidefooter !== void 0 && te(!!a.hidefooter), a.hidelogo !== void 0 && X(!!a.hidelogo), a.language !== void 0 && ct(ia(o(), [a.language])), a.maxnumber !== void 0 && ye(+a.maxnumber), a.mockerror !== void 0 && wt(!!a.mockerror), a.name !== void 0 && oe(a.name), a.overlay !== void 0 && ma(a.overlay), a.overlaycontent !== void 0 && Ct(a.overlaycontent), a.refetchonexpire !== void 0 && Et(!!a.refetchonexpire), a.sentinel !== void 0 && typeof a.sentinel == "object" && Ke(a.sentinel), a.spamfilter !== void 0 && Le(typeof a.spamfilter == "object" ? a.spamfilter : !!a.spamfilter), a.strings && ct(typeof a.strings == "string" ? a.strings : JSON.stringify(a.strings)), a.test !== void 0 && ve(typeof a.test == "number" ? a.test : !!a.test), a.verifyurl !== void 0 && re(a.verifyurl), a.workers !== void 0 && ft(+a.workers), a.workerurl !== void 0 && Lt(a.workerurl);
3439
3450
  }
3440
- function va() {
3451
+ function _a() {
3441
3452
  return {
3442
3453
  auto: n(),
3443
- blockspam: u(),
3454
+ blockspam: c(),
3444
3455
  challengeurl: s(),
3445
3456
  debug: h(),
3446
- delay: v(),
3457
+ delay: b(),
3447
3458
  expire: V(),
3448
- floating: _(),
3459
+ floating: w(),
3449
3460
  floatinganchor: q(),
3450
- floatingoffset: ce(),
3451
- hidefooter: ee(),
3452
- hidelogo: J(),
3461
+ floatingoffset: ue(),
3462
+ hidefooter: te(),
3463
+ hidelogo: X(),
3453
3464
  name: oe(),
3454
- maxnumber: me(),
3455
- mockerror: At(),
3456
- obfuscated: ze(),
3457
- refetchonexpire: kt(),
3458
- spamfilter: Ce(),
3465
+ maxnumber: ye(),
3466
+ mockerror: wt(),
3467
+ obfuscated: De(),
3468
+ overlay: Ee(),
3469
+ refetchonexpire: Et(),
3470
+ spamfilter: Le(),
3459
3471
  strings: l(P),
3460
- test: ge(),
3461
- verifyurl: te(),
3462
- workers: lt(),
3463
- workerurl: _t()
3472
+ test: ve(),
3473
+ verifyurl: re(),
3474
+ workers: ft(),
3475
+ workerurl: Lt()
3464
3476
  };
3465
3477
  }
3466
- function ba() {
3467
- return l(st);
3478
+ function wa() {
3479
+ return l(ut);
3468
3480
  }
3469
- function cn(a) {
3470
- return qe.find((f) => f.constructor.pluginName === a);
3481
+ function bn(a) {
3482
+ return He.find((f) => f.constructor.pluginName === a);
3471
3483
  }
3472
- function pa() {
3484
+ function Ca() {
3473
3485
  return l(T);
3474
3486
  }
3475
- function ma() {
3476
- l(re).style.display = "none";
3487
+ function Zt() {
3488
+ l(O).style.display = "none", Ee() && l(de) && (l(de).style.display = "none");
3477
3489
  }
3478
- function Et(a = 20) {
3490
+ function Rt(a = 20) {
3479
3491
  var f;
3480
- if (l(re))
3481
- if (l(st) || y(st, (q() ? document.querySelector(q()) : (f = l(S)) == null ? void 0 : f.querySelector('input[type="submit"], button[type="submit"], button:not([type="button"]):not([type="reset"])')) || l(S), !0), l(st)) {
3482
- const g = parseInt(ce(), 10) || 12, m = l(st).getBoundingClientRect(), b = l(re).getBoundingClientRect(), C = document.documentElement.clientHeight, A = document.documentElement.clientWidth, L = _() === "auto" ? m.bottom + b.height + g + a > C : _() === "top", F = Math.max(a, Math.min(A - a - b.width, m.left + m.width / 2 - b.width / 2));
3483
- if (L ? l(re).style.top = `${m.top - (b.height + g)}px` : l(re).style.top = `${m.bottom + g}px`, l(re).style.left = `${F}px`, l(re).setAttribute("data-floating", L ? "top" : "bottom"), l(Ct)) {
3484
- const X = l(Ct).getBoundingClientRect();
3485
- l(Ct).style.left = m.left - F + m.width / 2 - X.width / 2 + "px";
3492
+ if (l(O))
3493
+ if (l(ut) || A(ut, (q() ? document.querySelector(q()) : (f = l(S)) == null ? void 0 : f.querySelector('input[type="submit"], button[type="submit"], button:not([type="button"]):not([type="reset"])')) || l(S), !0), l(ut)) {
3494
+ const g = parseInt(ue(), 10) || 12, p = l(ut).getBoundingClientRect(), v = l(O).getBoundingClientRect(), _ = document.documentElement.clientHeight, y = document.documentElement.clientWidth, E = w() === "auto" ? p.bottom + v.height + g + a > _ : w() === "top", M = Math.max(a, Math.min(y - a - v.width, p.left + p.width / 2 - v.width / 2));
3495
+ if (E ? l(O).style.top = `${p.top - (v.height + g)}px` : l(O).style.top = `${p.bottom + g}px`, l(O).style.left = `${M}px`, l(O).setAttribute("data-floating", E ? "top" : "bottom"), l(Tt)) {
3496
+ const Q = l(Tt).getBoundingClientRect();
3497
+ l(Tt).style.left = p.left - M + p.width / 2 - Q.width / 2 + "px";
3486
3498
  }
3487
3499
  } else
3488
3500
  I("unable to find floating anchor element");
3489
3501
  }
3490
- function ut(a = w.UNVERIFIED, f = null) {
3491
- Le && (clearTimeout(Le), Le = null), y(wt, !1), y(Re, null), y(M, null), y(br, !1), y(B, null), Ee(a, f);
3502
+ function Qe(a = C.UNVERIFIED, f = null) {
3503
+ xe && (clearTimeout(xe), xe = null), A(xt, !1), A($e, null), A(B, null), A(kr, !1), A(U, null), Te(a, f);
3492
3504
  }
3493
- function ya(a) {
3494
- y(st, a, !0);
3505
+ function Ea(a) {
3506
+ A(ut, a, !0);
3495
3507
  }
3496
- function Ee(a, f = null) {
3497
- y(T, a, !0), y(We, f, !0), Ne("statechange", {
3498
- payload: l(Re),
3508
+ function Te(a, f = null) {
3509
+ A(T, a, !0), A(Je, f, !0), qe("statechange", {
3510
+ payload: l($e),
3499
3511
  state: l(T)
3500
3512
  });
3501
3513
  }
3502
- function mr() {
3503
- l(re).style.display = "block", _() && Et();
3514
+ function Cr() {
3515
+ l(O).style.display = "block", w() && Rt(), Ee() && l(de) && (l(de).style.display = "flex");
3504
3516
  }
3505
- async function je() {
3506
- return ut(w.VERIFYING), await new Promise((a) => setTimeout(a, v() || 0)), Yi().then((a) => (da(a), I("challenge", a), ha(a))).then(({ data: a, solution: f }) => {
3517
+ async function Se() {
3518
+ return Qe(C.VERIFYING), await new Promise((a) => setTimeout(a, b() || 0)), en().then((a) => (ya(a), I("challenge", a), Aa(a))).then(({ data: a, solution: f }) => {
3507
3519
  var g;
3508
3520
  if (I("solution", f), !f || a && "challenge" in a && !("clearText" in f))
3509
3521
  if ((f == null ? void 0 : f.number) !== void 0 && "challenge" in a)
3510
- if (te() && "codeChallenge" in a)
3511
- ((g = document.activeElement) == null ? void 0 : g.tagName) === "INPUT" && k() === !1 && document.activeElement.blur(), y(M, { challenge: a, solution: f }, !0);
3522
+ if (re() && "codeChallenge" in a)
3523
+ ((g = document.activeElement) == null ? void 0 : g.tagName) === "INPUT" && k() === !1 && document.activeElement.blur(), A(B, { challenge: a, solution: f }, !0);
3512
3524
  else {
3513
- if (te() && Ye() !== void 0)
3514
- return fa(Ht(a, f));
3515
- if (te())
3516
- return sn(Ht(a, f));
3517
- y(Re, Ht(a, f), !0), I("payload", l(Re));
3525
+ if (re() && Ke() !== void 0)
3526
+ return ba(Ut(a, f));
3527
+ if (re())
3528
+ return gn(Ut(a, f));
3529
+ A($e, Ut(a, f), !0), I("payload", l($e));
3518
3530
  }
3519
3531
  else
3520
3532
  throw I("Unable to find a solution. Ensure that the 'maxnumber' attribute is greater than the randomly generated number."), new Error("Unexpected result returned.");
3521
3533
  }).then(() => {
3522
- l(M) ? (Ee(w.CODE), Er().then(() => {
3523
- Ne("code", { codeChallenge: l(M) });
3524
- })) : (Ee(w.VERIFIED), I("verified"), Er().then(() => {
3525
- Ne("verified", { payload: l(Re) });
3534
+ l(B) ? (Te(C.CODE), jr().then(() => {
3535
+ qe("code", { codeChallenge: l(B) });
3536
+ })) : (Te(C.VERIFIED), I("verified"), jr().then(() => {
3537
+ qe("verified", { payload: l($e) }), n() === "onsubmit" ? _r(l(It)) : Ee() && Zt();
3526
3538
  }));
3527
3539
  }).catch((a) => {
3528
- I(a), Ee(w.ERROR, a.message);
3540
+ I(a), Te(C.ERROR, a.message);
3529
3541
  });
3530
3542
  }
3531
- var Aa = ws(), ka = Vt(Aa);
3532
- No(ka, t, "default", {});
3533
- var xt = Y(ka, 2), yr = G(xt), Ft = G(yr);
3534
- let _a;
3535
- var wa = G(Ft);
3543
+ var La = Ts(), xa = St(La);
3544
+ Fo(xa, t, "default", {});
3545
+ var dt = W(xa, 2), Er = Y(dt), Gt = Y(Er);
3546
+ let Ta;
3547
+ var Ia = Y(Gt);
3536
3548
  {
3537
- var dn = (a) => {
3538
- xr(a);
3549
+ var pn = (a) => {
3550
+ $r(a);
3539
3551
  };
3540
- W(wa, (a) => {
3541
- l(T) === w.VERIFYING && a(dn);
3552
+ K(Ia, (a) => {
3553
+ l(T) === C.VERIFYING && a(pn);
3542
3554
  });
3543
3555
  }
3544
- var Je = Y(wa, 2);
3545
- Oa(Je), Je.__change = [
3546
- ss,
3556
+ var et = W(Ia, 2);
3557
+ Za(et), et.__change = [
3558
+ hs,
3547
3559
  T,
3548
- Ce,
3560
+ Le,
3549
3561
  S,
3550
- wt,
3551
- ze,
3552
- Lt,
3553
- je
3554
- ], Gt(Je, (a) => y(vr, a), () => l(vr)), Z(Ft);
3555
- var Mt = Y(Ft, 2), hn = G(Mt);
3562
+ xt,
3563
+ De,
3564
+ Vt,
3565
+ Se
3566
+ ], Xt(et, (a) => A(Ar, a), () => l(Ar)), G(Gt);
3567
+ var Yt = W(Gt, 2), mn = Y(Yt);
3556
3568
  {
3557
- var gn = (a) => {
3558
- var f = Zt(), g = Vt(f);
3559
- Xe(g, () => l(P).verified), O(a, f);
3560
- }, vn = (a, f) => {
3569
+ var yn = (a) => {
3570
+ var f = Jt(), g = St(f);
3571
+ tt(g, () => l(P).verified), H(a, f);
3572
+ }, An = (a, f) => {
3561
3573
  {
3562
- var g = (b) => {
3563
- var C = Zt(), A = Vt(C);
3564
- Xe(A, () => l(P).verifying), O(b, C);
3565
- }, m = (b, C) => {
3574
+ var g = (v) => {
3575
+ var _ = Jt(), y = St(_);
3576
+ tt(y, () => l(P).verifying), H(v, _);
3577
+ }, p = (v, _) => {
3566
3578
  {
3567
- var A = (F) => {
3568
- var X = Zt(), le = Vt(X);
3569
- Xe(le, () => l(P).verificationRequired), O(F, X);
3570
- }, L = (F) => {
3571
- var X = Zt(), le = Vt(X);
3572
- Xe(le, () => l(P).label), O(F, X);
3579
+ var y = (M) => {
3580
+ var Q = Jt(), le = St(Q);
3581
+ tt(le, () => l(P).verificationRequired), H(M, Q);
3582
+ }, E = (M) => {
3583
+ var Q = Jt(), le = St(Q);
3584
+ tt(le, () => l(P).label), H(M, Q);
3573
3585
  };
3574
- W(
3575
- b,
3576
- (F) => {
3577
- l(T) === w.CODE ? F(A) : F(L, !1);
3586
+ K(
3587
+ v,
3588
+ (M) => {
3589
+ l(T) === C.CODE ? M(y) : M(E, !1);
3578
3590
  },
3579
- C
3591
+ _
3580
3592
  );
3581
3593
  }
3582
3594
  };
3583
- W(
3595
+ K(
3584
3596
  a,
3585
- (b) => {
3586
- l(T) === w.VERIFYING ? b(g) : b(m, !1);
3597
+ (v) => {
3598
+ l(T) === C.VERIFYING ? v(g) : v(p, !1);
3587
3599
  },
3588
3600
  f
3589
3601
  );
3590
3602
  }
3591
3603
  };
3592
- W(hn, (a) => {
3593
- l(T) === w.VERIFIED ? a(gn) : a(vn, !1);
3604
+ K(mn, (a) => {
3605
+ l(T) === C.VERIFIED ? a(yn) : a(An, !1);
3594
3606
  });
3595
3607
  }
3596
- Z(Mt);
3597
- var Ca = Y(Mt, 2);
3608
+ G(Yt);
3609
+ var Va = W(Yt, 2);
3598
3610
  {
3599
- var bn = (a) => {
3600
- var f = fs();
3601
- Oa(f), xe(() => {
3602
- R(f, "name", oe()), Fo(f, l(Re));
3603
- }), O(a, f);
3611
+ var kn = (a) => {
3612
+ var f = vs();
3613
+ Za(f), Ie(() => {
3614
+ R(f, "name", oe()), Go(f, l($e));
3615
+ }), H(a, f);
3604
3616
  };
3605
- W(Ca, (a) => {
3606
- l(T) === w.VERIFIED && a(bn);
3617
+ K(Va, (a) => {
3618
+ l(T) === C.VERIFIED && a(kn);
3607
3619
  });
3608
3620
  }
3609
- var La = Y(Ca, 2);
3621
+ var Ra = W(Va, 2);
3610
3622
  {
3611
- var pn = (a) => {
3612
- var f = cs(), g = G(f);
3613
- R(g, "href", Ui), Z(f), xe(() => R(g, "aria-label", l(P).ariaLinkLabel)), O(a, f);
3623
+ var _n = (a) => {
3624
+ var f = bs(), g = Y(f);
3625
+ R(g, "href", Ji), G(f), Ie(() => R(g, "aria-label", l(P).ariaLinkLabel)), H(a, f);
3614
3626
  };
3615
- W(La, (a) => {
3616
- (J() !== !0 || l(hr)) && a(pn);
3627
+ K(Ra, (a) => {
3628
+ (X() !== !0 || l(mr)) && a(_n);
3617
3629
  });
3618
3630
  }
3619
- var mn = Y(La, 2);
3631
+ var wn = W(Ra, 2);
3620
3632
  {
3621
- var yn = (a) => {
3622
- var f = ps(), g = Y(G(f), 2), m = G(g), b = Y(m, 2);
3623
- Vo(b, !k()), b.__keydown = [
3624
- os,
3625
- la
3633
+ var Cn = (a) => {
3634
+ var f = _s(), g = W(Y(f), 2), p = Y(g), v = W(p, 2);
3635
+ Po(v, !k()), v.__keydown = [
3636
+ us,
3637
+ ha
3626
3638
  ];
3627
- var C = Y(b, 2), A = G(C), L = G(A);
3639
+ var _ = W(v, 2), y = Y(_), E = Y(y);
3628
3640
  {
3629
- var F = (ye) => {
3630
- var U = vs();
3631
- U.__click = la;
3632
- var Ut = G(U);
3641
+ var M = (Ae) => {
3642
+ var Z = As();
3643
+ Z.__click = ha;
3644
+ var Kt = Y(Z);
3633
3645
  {
3634
- var Tt = (ft) => {
3635
- xr(ft, () => 20);
3636
- }, xn = (ft, Tn) => {
3646
+ var jt = (ht) => {
3647
+ $r(ht, () => 20);
3648
+ }, jn = (ht, $n) => {
3637
3649
  {
3638
- var In = (ct) => {
3639
- var kr = ds();
3640
- O(ct, kr);
3641
- }, Vn = (ct, kr) => {
3650
+ var Sn = (gt) => {
3651
+ var xr = ps();
3652
+ H(gt, xr);
3653
+ }, Pn = (gt, xr) => {
3642
3654
  {
3643
- var Rn = (dt) => {
3644
- var _r = hs();
3645
- O(dt, _r);
3646
- }, jn = (dt) => {
3647
- var _r = gs();
3648
- O(dt, _r);
3655
+ var zn = (vt) => {
3656
+ var Tr = ms();
3657
+ H(vt, Tr);
3658
+ }, Nn = (vt) => {
3659
+ var Tr = ys();
3660
+ H(vt, Tr);
3649
3661
  };
3650
- W(
3651
- ct,
3652
- (dt) => {
3653
- l(B) === Q.PLAYING ? dt(Rn) : dt(jn, !1);
3662
+ K(
3663
+ gt,
3664
+ (vt) => {
3665
+ l(U) === ee.PLAYING ? vt(zn) : vt(Nn, !1);
3654
3666
  },
3655
- kr
3667
+ xr
3656
3668
  );
3657
3669
  }
3658
3670
  };
3659
- W(
3660
- ft,
3661
- (ct) => {
3662
- l(B) === Q.ERROR ? ct(In) : ct(Vn, !1);
3671
+ K(
3672
+ ht,
3673
+ (gt) => {
3674
+ l(U) === ee.ERROR ? gt(Sn) : gt(Pn, !1);
3663
3675
  },
3664
- Tn
3676
+ $n
3665
3677
  );
3666
3678
  }
3667
3679
  };
3668
- W(Ut, (ft) => {
3669
- l(B) === Q.LOADING ? ft(Tt) : ft(xn, !1);
3680
+ K(Kt, (ht) => {
3681
+ l(U) === ee.LOADING ? ht(jt) : ht(jn, !1);
3670
3682
  });
3671
3683
  }
3672
- Z(U), xe(() => {
3673
- R(U, "title", l(P).getAudioChallenge), U.disabled = l(B) === Q.LOADING || l(B) === Q.ERROR || l(Ke), R(U, "aria-label", l(B) === Q.LOADING ? l(P).loading : l(P).getAudioChallenge);
3674
- }), O(ye, U);
3684
+ G(Z), Ie(() => {
3685
+ R(Z, "title", l(P).getAudioChallenge), Z.disabled = l(U) === ee.LOADING || l(U) === ee.ERROR || l(Xe), R(Z, "aria-label", l(U) === ee.LOADING ? l(P).loading : l(P).getAudioChallenge);
3686
+ }), H(Ae, Z);
3675
3687
  };
3676
- W(L, (ye) => {
3677
- l(M).challenge.codeChallenge.audio && ye(F);
3688
+ K(E, (Ae) => {
3689
+ l(B).challenge.codeChallenge.audio && Ae(M);
3678
3690
  });
3679
3691
  }
3680
- var X = Y(L, 2);
3681
- X.__click = [ls, je], Z(A);
3682
- var le = Y(A, 2), Oe = G(le);
3692
+ var Q = W(E, 2);
3693
+ Q.__click = [ds, Se], G(y);
3694
+ var le = W(y, 2), Fe = Y(le);
3683
3695
  {
3684
- var Ar = (ye) => {
3685
- xr(ye, () => 16);
3696
+ var Lr = (Ae) => {
3697
+ $r(Ae, () => 16);
3686
3698
  };
3687
- W(Oe, (ye) => {
3688
- l(Ke) && ye(Ar);
3699
+ K(Fe, (Ae) => {
3700
+ l(Xe) && Ae(Lr);
3689
3701
  });
3690
3702
  }
3691
- var Bt = Y(Oe);
3692
- Z(le), Z(C);
3693
- var Ln = Y(C, 2);
3703
+ var Wt = W(Fe);
3704
+ G(le), G(_);
3705
+ var Vn = W(_, 2);
3694
3706
  {
3695
- var En = (ye) => {
3696
- var U = bs(), Ut = G(U);
3697
- Z(U), Gt(U, (Tt) => y(De, Tt), () => l(De)), xe((Tt) => R(Ut, "src", Tt), [
3698
- () => ea(l(M).challenge.codeChallenge.audio, { language: H() })
3699
- ]), He("loadstart", U, tn), He("canplay", U, en), He("pause", U, an), He("playing", U, rn), He("ended", U, Xi), He("error", Ut, Qi), O(ye, U);
3707
+ var Rn = (Ae) => {
3708
+ var Z = ks(), Kt = Y(Z);
3709
+ G(Z), Xt(Z, (jt) => A(Oe, jt), () => l(Oe)), Ie((jt) => R(Kt, "src", jt), [
3710
+ () => oa(l(B).challenge.codeChallenge.audio, { language: F() })
3711
+ ]), Me("loadstart", Z, sn), Me("canplay", Z, ln), Me("pause", Z, fn), Me("playing", Z, cn), Me("ended", Z, nn), Me("error", Kt, on), H(Ae, Z);
3700
3712
  };
3701
- W(Ln, (ye) => {
3702
- l(M).challenge.codeChallenge.audio && l(br) && ye(En);
3713
+ K(Vn, (Ae) => {
3714
+ l(B).challenge.codeChallenge.audio && l(kr) && Ae(Rn);
3703
3715
  });
3704
3716
  }
3705
- Z(g), Z(f), xe(() => {
3706
- R(f, "aria-label", l(P).verificationRequired), R(m, "src", l(M).challenge.codeChallenge.image), R(b, "minlength", l(M).challenge.codeChallenge.length || 1), R(b, "maxlength", l(M).challenge.codeChallenge.length), R(b, "placeholder", l(P).enterCode), R(b, "aria-label", l(B) === Q.LOADING ? l(P).loading : l(B) === Q.PLAYING ? "" : l(P).enterCodeAria), R(b, "aria-live", l(B) ? "assertive" : "polite"), R(b, "aria-busy", l(B) === Q.LOADING), b.disabled = l(Ke), R(X, "aria-label", l(P).reload), R(X, "title", l(P).reload), X.disabled = l(Ke), le.disabled = l(Ke), R(le, "aria-label", l(P).verify), So(Bt, ` ${l(P).verify ?? ""}`);
3707
- }), He("submit", g, nn, !0), O(a, f);
3717
+ G(g), G(f), Ie(() => {
3718
+ R(f, "aria-label", l(P).verificationRequired), R(p, "src", l(B).challenge.codeChallenge.image), R(v, "minlength", l(B).challenge.codeChallenge.length || 1), R(v, "maxlength", l(B).challenge.codeChallenge.length), R(v, "placeholder", l(P).enterCode), R(v, "aria-label", l(U) === ee.LOADING ? l(P).loading : l(U) === ee.PLAYING ? "" : l(P).enterCodeAria), R(v, "aria-live", l(U) ? "assertive" : "polite"), R(v, "aria-busy", l(U) === ee.LOADING), v.disabled = l(Xe), R(Q, "aria-label", l(P).reload), R(Q, "title", l(P).reload), Q.disabled = l(Xe), le.disabled = l(Xe), R(le, "aria-label", l(P).verify), qo(Wt, ` ${l(P).verify ?? ""}`);
3719
+ }), Me("submit", g, un, !0), H(a, f);
3708
3720
  };
3709
- W(mn, (a) => {
3721
+ K(wn, (a) => {
3710
3722
  var f;
3711
- (f = l(M)) != null && f.challenge.codeChallenge && a(yn);
3723
+ (f = l(B)) != null && f.challenge.codeChallenge && a(Cn);
3712
3724
  });
3713
3725
  }
3714
- Z(yr);
3715
- var Ea = Y(yr, 2);
3726
+ G(Er);
3727
+ var ja = W(Er, 2);
3716
3728
  {
3717
- var An = (a) => {
3718
- var f = As(), g = Y(G(f), 2);
3729
+ var En = (a) => {
3730
+ var f = Es(), g = W(Y(f), 2);
3719
3731
  {
3720
- var m = (C) => {
3721
- var A = ms(), L = G(A);
3722
- Xe(L, () => l(P).expired), Z(A), xe(() => R(A, "title", l(We))), O(C, A);
3723
- }, b = (C) => {
3724
- var A = ys(), L = G(A);
3725
- Xe(L, () => l(P).error), Z(A), xe(() => R(A, "title", l(We))), O(C, A);
3732
+ var p = (_) => {
3733
+ var y = ws(), E = Y(y);
3734
+ tt(E, () => l(P).expired), G(y), Ie(() => R(y, "title", l(Je))), H(_, y);
3735
+ }, v = (_) => {
3736
+ var y = Cs(), E = Y(y);
3737
+ tt(E, () => l(P).error), G(y), Ie(() => R(y, "title", l(Je))), H(_, y);
3726
3738
  };
3727
- W(g, (C) => {
3728
- l(T) === w.EXPIRED ? C(m) : C(b, !1);
3739
+ K(g, (_) => {
3740
+ l(T) === C.EXPIRED ? _(p) : _(v, !1);
3729
3741
  });
3730
3742
  }
3731
- Z(f), O(a, f);
3743
+ G(f), H(a, f);
3732
3744
  };
3733
- W(Ea, (a) => {
3734
- (l(We) || l(T) === w.EXPIRED) && a(An);
3745
+ K(ja, (a) => {
3746
+ (l(Je) || l(T) === C.EXPIRED) && a(En);
3735
3747
  });
3736
3748
  }
3737
- var xa = Y(Ea, 2);
3749
+ var $a = W(ja, 2);
3738
3750
  {
3739
- var kn = (a) => {
3740
- var f = ks(), g = G(f), m = G(g);
3741
- Xe(m, () => l(P).footer), Z(g), Z(f), O(a, f);
3751
+ var Ln = (a) => {
3752
+ var f = Ls(), g = Y(f), p = Y(g);
3753
+ tt(p, () => l(P).footer), G(g), G(f), H(a, f);
3742
3754
  };
3743
- W(xa, (a) => {
3744
- l(P).footer && (ee() !== !0 || l(hr)) && a(kn);
3755
+ K($a, (a) => {
3756
+ l(P).footer && (te() !== !0 || l(mr)) && a(Ln);
3745
3757
  });
3746
3758
  }
3747
- var _n = Y(xa, 2);
3759
+ var xn = W($a, 2);
3748
3760
  {
3749
- var wn = (a) => {
3750
- var f = _s();
3751
- Gt(f, (g) => y(Ct, g), () => l(Ct)), O(a, f);
3761
+ var Tn = (a) => {
3762
+ var f = xs();
3763
+ Xt(f, (g) => A(Tt, g), () => l(Tt)), H(a, f);
3752
3764
  };
3753
- W(_n, (a) => {
3754
- _() && a(wn);
3765
+ K(xn, (a) => {
3766
+ w() && a(Tn);
3755
3767
  });
3756
3768
  }
3757
- Z(xt), Gt(xt, (a) => y(re, a), () => l(re)), xe(
3769
+ G(dt), Xt(dt, (a) => A(O, a), () => l(O)), Ie(
3758
3770
  (a) => {
3759
- R(xt, "data-state", l(T)), R(xt, "data-floating", _()), _a = qo(Ft, 1, "altcha-checkbox", null, _a, a), R(Je, "id", l(Wr)), Je.required = n() !== "onsubmit" && (!_() || n() !== "off"), R(Mt, "for", l(Wr));
3771
+ R(dt, "data-state", l(T)), R(dt, "data-floating", w()), R(dt, "data-overlay", Ee()), Ta = Bo(Gt, 1, "altcha-checkbox", null, Ta, a), R(et, "id", l(ta)), et.required = n() !== "onsubmit" && (!w() || n() !== "off"), R(Yt, "for", l(ta));
3760
3772
  },
3761
3773
  [
3762
3774
  () => ({
3763
- "altcha-checkbox-verifying": l(T) === w.VERIFYING
3775
+ "altcha-checkbox-verifying": l(T) === C.VERIFYING
3764
3776
  })
3765
3777
  ]
3766
- ), He("invalid", Je, oa), Bo(Je, () => l(wt), (a) => y(wt, a)), O(e, Aa);
3767
- var Cn = li({
3768
- clarify: Lt,
3769
- configure: ga,
3770
- getConfiguration: va,
3771
- getFloatingAnchor: ba,
3772
- getPlugin: cn,
3773
- getState: pa,
3774
- hide: ma,
3775
- repositionFloating: Et,
3776
- reset: ut,
3777
- setFloatingAnchor: ya,
3778
- setState: Ee,
3779
- show: mr,
3780
- verify: je,
3778
+ ), Me("invalid", et, da), Wo(et, () => l(xt), (a) => A(xt, a)), H(e, La);
3779
+ var In = hi({
3780
+ clarify: Vt,
3781
+ configure: ka,
3782
+ getConfiguration: _a,
3783
+ getFloatingAnchor: wa,
3784
+ getPlugin: bn,
3785
+ getState: Ca,
3786
+ hide: Zt,
3787
+ repositionFloating: Rt,
3788
+ reset: Qe,
3789
+ setFloatingAnchor: Ea,
3790
+ setState: Te,
3791
+ show: Cr,
3792
+ verify: Se,
3781
3793
  get auto() {
3782
3794
  return n();
3783
3795
  },
3784
3796
  set auto(a = void 0) {
3785
- n(a), E();
3797
+ n(a), L();
3786
3798
  },
3787
3799
  get blockspam() {
3788
- return u();
3800
+ return c();
3789
3801
  },
3790
3802
  set blockspam(a = void 0) {
3791
- u(a), E();
3803
+ c(a), L();
3792
3804
  },
3793
3805
  get challengeurl() {
3794
3806
  return s();
3795
3807
  },
3796
3808
  set challengeurl(a = void 0) {
3797
- s(a), E();
3809
+ s(a), L();
3798
3810
  },
3799
3811
  get challengejson() {
3800
- return c();
3812
+ return u();
3801
3813
  },
3802
3814
  set challengejson(a = void 0) {
3803
- c(a), E();
3815
+ u(a), L();
3804
3816
  },
3805
3817
  get credentials() {
3806
3818
  return d();
3807
3819
  },
3808
3820
  set credentials(a = void 0) {
3809
- d(a), E();
3821
+ d(a), L();
3810
3822
  },
3811
3823
  get customfetch() {
3812
- return p();
3824
+ return m();
3813
3825
  },
3814
3826
  set customfetch(a = void 0) {
3815
- p(a), E();
3827
+ m(a), L();
3816
3828
  },
3817
3829
  get debug() {
3818
3830
  return h();
3819
3831
  },
3820
3832
  set debug(a = !1) {
3821
- h(a), E();
3833
+ h(a), L();
3822
3834
  },
3823
3835
  get delay() {
3824
- return v();
3836
+ return b();
3825
3837
  },
3826
3838
  set delay(a = 0) {
3827
- v(a), E();
3839
+ b(a), L();
3828
3840
  },
3829
3841
  get disableautofocus() {
3830
3842
  return k();
3831
3843
  },
3832
3844
  set disableautofocus(a = !1) {
3833
- k(a), E();
3845
+ k(a), L();
3834
3846
  },
3835
3847
  get expire() {
3836
3848
  return V();
3837
3849
  },
3838
3850
  set expire(a = void 0) {
3839
- V(a), E();
3851
+ V(a), L();
3840
3852
  },
3841
3853
  get floating() {
3842
- return _();
3854
+ return w();
3843
3855
  },
3844
3856
  set floating(a = void 0) {
3845
- _(a), E();
3857
+ w(a), L();
3846
3858
  },
3847
3859
  get floatinganchor() {
3848
3860
  return q();
3849
3861
  },
3850
3862
  set floatinganchor(a = void 0) {
3851
- q(a), E();
3863
+ q(a), L();
3852
3864
  },
3853
3865
  get floatingoffset() {
3854
- return ce();
3866
+ return ue();
3855
3867
  },
3856
3868
  set floatingoffset(a = void 0) {
3857
- ce(a), E();
3869
+ ue(a), L();
3858
3870
  },
3859
3871
  get floatingpersist() {
3860
- return K();
3872
+ return J();
3861
3873
  },
3862
3874
  set floatingpersist(a = !1) {
3863
- K(a), E();
3875
+ J(a), L();
3864
3876
  },
3865
3877
  get hidefooter() {
3866
- return ee();
3878
+ return te();
3867
3879
  },
3868
3880
  set hidefooter(a = !1) {
3869
- ee(a), E();
3881
+ te(a), L();
3870
3882
  },
3871
3883
  get hidelogo() {
3872
- return J();
3884
+ return X();
3873
3885
  },
3874
3886
  set hidelogo(a = !1) {
3875
- J(a), E();
3887
+ X(a), L();
3876
3888
  },
3877
3889
  get id() {
3878
- return nt();
3890
+ return st();
3879
3891
  },
3880
3892
  set id(a = void 0) {
3881
- nt(a), E();
3893
+ st(a), L();
3882
3894
  },
3883
3895
  get language() {
3884
- return H();
3896
+ return F();
3885
3897
  },
3886
3898
  set language(a = void 0) {
3887
- H(a), E();
3899
+ F(a), L();
3888
3900
  },
3889
3901
  get name() {
3890
3902
  return oe();
3891
3903
  },
3892
3904
  set name(a = "altcha") {
3893
- oe(a), E();
3905
+ oe(a), L();
3894
3906
  },
3895
3907
  get maxnumber() {
3896
- return me();
3908
+ return ye();
3897
3909
  },
3898
3910
  set maxnumber(a = 1e6) {
3899
- me(a), E();
3911
+ ye(a), L();
3900
3912
  },
3901
3913
  get mockerror() {
3902
- return At();
3914
+ return wt();
3903
3915
  },
3904
3916
  set mockerror(a = !1) {
3905
- At(a), E();
3917
+ wt(a), L();
3906
3918
  },
3907
3919
  get obfuscated() {
3908
- return ze();
3920
+ return De();
3909
3921
  },
3910
3922
  set obfuscated(a = void 0) {
3911
- ze(a), E();
3923
+ De(a), L();
3924
+ },
3925
+ get overlay() {
3926
+ return Ee();
3927
+ },
3928
+ set overlay(a = void 0) {
3929
+ Ee(a), L();
3930
+ },
3931
+ get overlaycontent() {
3932
+ return Ct();
3933
+ },
3934
+ set overlaycontent(a = void 0) {
3935
+ Ct(a), L();
3912
3936
  },
3913
3937
  get plugins() {
3914
- return Ot();
3938
+ return Bt();
3915
3939
  },
3916
3940
  set plugins(a = void 0) {
3917
- Ot(a), E();
3941
+ Bt(a), L();
3918
3942
  },
3919
3943
  get refetchonexpire() {
3920
- return kt();
3944
+ return Et();
3921
3945
  },
3922
3946
  set refetchonexpire(a = !0) {
3923
- kt(a), E();
3947
+ Et(a), L();
3924
3948
  },
3925
3949
  get sentinel() {
3926
- return Ye();
3950
+ return Ke();
3927
3951
  },
3928
3952
  set sentinel(a = void 0) {
3929
- Ye(a), E();
3953
+ Ke(a), L();
3930
3954
  },
3931
3955
  get spamfilter() {
3932
- return Ce();
3956
+ return Le();
3933
3957
  },
3934
3958
  set spamfilter(a = !1) {
3935
- Ce(a), E();
3959
+ Le(a), L();
3936
3960
  },
3937
3961
  get strings() {
3938
- return ot();
3962
+ return ct();
3939
3963
  },
3940
3964
  set strings(a = void 0) {
3941
- ot(a), E();
3965
+ ct(a), L();
3942
3966
  },
3943
3967
  get test() {
3944
- return ge();
3968
+ return ve();
3945
3969
  },
3946
3970
  set test(a = !1) {
3947
- ge(a), E();
3971
+ ve(a), L();
3948
3972
  },
3949
3973
  get verifyurl() {
3950
- return te();
3974
+ return re();
3951
3975
  },
3952
3976
  set verifyurl(a = void 0) {
3953
- te(a), E();
3977
+ re(a), L();
3954
3978
  },
3955
3979
  get workers() {
3956
- return lt();
3980
+ return ft();
3957
3981
  },
3958
3982
  set workers(a = Math.min(16, navigator.hardwareConcurrency || 8)) {
3959
- lt(a), E();
3983
+ ft(a), L();
3960
3984
  },
3961
3985
  get workerurl() {
3962
- return _t();
3986
+ return Lt();
3963
3987
  },
3964
3988
  set workerurl(a = void 0) {
3965
- _t(a), E();
3989
+ Lt(a), L();
3966
3990
  }
3967
3991
  });
3968
- return i(), Cn;
3992
+ return i(), In;
3969
3993
  }
3970
- $o(["change", "keydown", "click"]);
3971
- customElements.define("altcha-widget", Jo(
3972
- Cs,
3994
+ Do(["change", "keydown", "click"]);
3995
+ customElements.define("altcha-widget", rl(
3996
+ Is,
3973
3997
  {
3974
3998
  blockspam: { type: "Boolean" },
3975
3999
  debug: { type: "Boolean" },
@@ -3996,6 +4020,8 @@ customElements.define("altcha-widget", Jo(
3996
4020
  language: {},
3997
4021
  name: {},
3998
4022
  obfuscated: {},
4023
+ overlay: {},
4024
+ overlaycontent: {},
3999
4025
  plugins: {},
4000
4026
  sentinel: {},
4001
4027
  spamfilter: {},
@@ -4021,15 +4047,15 @@ customElements.define("altcha-widget", Jo(
4021
4047
  ],
4022
4048
  !1
4023
4049
  ));
4024
- const Ls = '@keyframes altcha-spinner{to{transform:rotate(360deg)}}.altcha{background:var(--altcha-color-base, transparent);border:var(--altcha-border-width, 1px) solid var(--altcha-color-border, #a0a0a0);border-radius:var(--altcha-border-radius, 3px);color:var(--altcha-color-text, currentColor);display:flex;flex-direction:column;max-width:var(--altcha-max-width, 260px);position:relative}.altcha:focus-within{border-color:var(--altcha-color-border-focus, currentColor)}.altcha[data-floating]{background:var(--altcha-color-base, white);display:none;filter:drop-shadow(3px 3px 6px rgba(0,0,0,.2));left:-100%;position:fixed;top:-100%;width:var(--altcha-max-width, 260px);z-index:999999}.altcha[data-floating=top] .altcha-anchor-arrow{border-bottom-color:transparent;border-top-color:var(--altcha-color-border, #a0a0a0);bottom:-12px;top:auto}.altcha[data-floating=bottom]:focus-within::after{border-bottom-color:var(--altcha-color-border-focus, currentColor)}.altcha[data-floating=top]:focus-within::after{border-top-color:var(--altcha-color-border-focus, currentColor)}.altcha[data-floating]:not([data-state=unverified]){display:block}.altcha-anchor-arrow{border:6px solid transparent;border-bottom-color:var(--altcha-color-border, #a0a0a0);content:"";height:0;left:12px;position:absolute;top:-12px;width:0}.altcha-main{align-items:center;display:flex;gap:.4rem;padding:.7rem;position:relative}.altcha-code-challenge{background:var(--altcha-color-base, white);border:1px solid var(--altcha-color-border-focus, currentColor);border-radius:var(--altcha-border-radius, 3px);filter:drop-shadow(3px 3px 6px rgba(0,0,0,.2));padding:.5rem;position:absolute;top:2.5rem;z-index:9999999}.altcha-code-challenge>form{display:flex;flex-direction:column;gap:.5rem}.altcha-code-challenge-input{border:1px solid currentColor;border-radius:3px;box-sizing:border-box;outline:0;font-size:16px;padding:.35rem;width:220px}.altcha-code-challenge-input:focus{outline:2px solid color-mix(in srgb,var(--altcha-color-active, #1D1DC9) 20%,transparent)}.altcha-code-challenge-input:disabled{opacity:.7}.altcha-code-challenge-image{background-color:#fff;border:1px solid currentColor;border-radius:3px;box-sizing:border-box;object-fit:contain;height:50px;width:220px}.altcha-code-challenge-audio,.altcha-code-challenge-reload{background:color-mix(in srgb,var(--altcha-color-text, currentColor) 10%,transparent);border:0;border-radius:3px;color:var(--altcha-color-text, currentColor);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:.35rem}.altcha-code-challenge-audio:disabled,.altcha-code-challenge-reload:disabled,.altcha-code-challenge-verify:disabled{opacity:.7;pointer-events:none}.altcha-code-challenge-audio>*,.altcha-code-challenge-reload>*{height:20px;width:20px}.altcha-code-challenge-buttons{display:flex;justify-content:space-between}.altcha-code-challenge-buttons-left{display:flex;gap:.25rem}.altcha-code-challenge-verify{align-items:center;background:var(--altcha-color-active, #1D1DC9);border:0;border-radius:3px;color:#fff;cursor:pointer;display:flex;gap:.5rem;font-size:100%;padding:.35rem 1rem}.altcha-code-challenge-arrow{border:6px solid transparent;border-bottom-color:var(--altcha-color-border, currentColor);content:"";height:0;left:.15rem;position:absolute;top:-12px;width:0}.altcha[data-floating=top] .altcha-code-challenge{top:-150px}.altcha[data-floating=top] .altcha-code-challenge-arrow{border-bottom-color:transparent;border-top-color:var(--altcha-color-border, currentColor);bottom:-12px;top:auto}.altcha-label{cursor:pointer;flex-grow:1}.altcha-logo{color:currentColor!important;opacity:.7}.altcha-footer:hover,.altcha-logo:hover{opacity:1}.altcha-error{color:var(--altcha-color-error-text, #f23939);display:flex;font-size:.85rem;gap:.3rem;padding:0 .7rem .7rem}.altcha-footer{align-items:center;background-color:var(--altcha-color-footer-bg, transparent);display:flex;font-size:.75rem;opacity:.7;justify-content:end;padding:.2rem .7rem}.altcha-footer a{color:currentColor}.altcha-checkbox{display:flex;align-items:center;justify-content:center;height:24px;position:relative;width:24px}.altcha-checkbox .altcha-spinner{bottom:0;left:0;position:absolute;right:0;top:0}.altcha-checkbox input{width:18px;height:18px;margin:0}.altcha-checkbox-verifying input{appearance:none;opacity:0;pointer-events:none}.altcha-spinner{animation:altcha-spinner .75s infinite linear;transform-origin:center}';
4025
- function Es(e, t = "__altcha-css") {
4050
+ const Vs = '@keyframes overlay-slidein{to{opacity:1;top:50%}}@keyframes altcha-spinner{to{transform:rotate(360deg)}}.altcha{background:var(--altcha-color-base, transparent);border:var(--altcha-border-width, 1px) solid var(--altcha-color-border, #a0a0a0);border-radius:var(--altcha-border-radius, 3px);color:var(--altcha-color-text, currentColor);display:flex;flex-direction:column;max-width:var(--altcha-max-width, 260px);position:relative}.altcha:focus-within{border-color:var(--altcha-color-border-focus, currentColor)}.altcha[data-floating]{background:var(--altcha-color-base, white);display:none;filter:drop-shadow(3px 3px 6px rgba(0,0,0,.2));left:-100%;position:fixed;top:-100%;width:var(--altcha-max-width, 260px);z-index:999999}.altcha[data-floating=top] .altcha-anchor-arrow{border-bottom-color:transparent;border-top-color:var(--altcha-color-border, #a0a0a0);bottom:-12px;top:auto}.altcha[data-floating=bottom]:focus-within::after{border-bottom-color:var(--altcha-color-border-focus, currentColor)}.altcha[data-floating=top]:focus-within::after{border-top-color:var(--altcha-color-border-focus, currentColor)}.altcha[data-floating]:not([data-state=unverified]){display:block}.altcha-anchor-arrow{border:6px solid transparent;border-bottom-color:var(--altcha-color-border, #a0a0a0);content:"";height:0;left:12px;position:absolute;top:-12px;width:0}.altcha-main{align-items:center;display:flex;gap:.4rem;padding:.7rem;position:relative}.altcha-code-challenge{background:var(--altcha-color-base, white);border:1px solid var(--altcha-color-border-focus, currentColor);border-radius:var(--altcha-border-radius, 3px);filter:drop-shadow(3px 3px 6px rgba(0,0,0,.2));padding:.5rem;position:absolute;top:2.5rem;z-index:9999999}.altcha-code-challenge>form{display:flex;flex-direction:column;gap:.5rem}.altcha-code-challenge-input{border:1px solid currentColor;border-radius:3px;box-sizing:border-box;outline:0;font-size:16px;padding:.35rem;width:220px}.altcha-code-challenge-input:focus{outline:2px solid color-mix(in srgb,var(--altcha-color-active, #1D1DC9) 20%,transparent)}.altcha-code-challenge-input:disabled{opacity:.7}.altcha-code-challenge-image{background-color:#fff;border:1px solid currentColor;border-radius:3px;box-sizing:border-box;object-fit:contain;height:50px;width:220px}.altcha-code-challenge-audio,.altcha-code-challenge-reload{background:color-mix(in srgb,var(--altcha-color-text, currentColor) 10%,transparent);border:0;border-radius:3px;color:var(--altcha-color-text, currentColor);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:.35rem}.altcha-code-challenge-audio:disabled,.altcha-code-challenge-reload:disabled,.altcha-code-challenge-verify:disabled{opacity:.7;pointer-events:none}.altcha-code-challenge-audio>*,.altcha-code-challenge-reload>*{height:20px;width:20px}.altcha-code-challenge-buttons{display:flex;justify-content:space-between}.altcha-code-challenge-buttons-left{display:flex;gap:.25rem}.altcha-code-challenge-verify{align-items:center;background:var(--altcha-color-active, #1D1DC9);border:0;border-radius:3px;color:#fff;cursor:pointer;display:flex;gap:.5rem;font-size:100%;padding:.35rem 1rem}.altcha-code-challenge-arrow{border:6px solid transparent;border-bottom-color:var(--altcha-color-border, currentColor);content:"";height:0;left:.15rem;position:absolute;top:-12px;width:0}.altcha[data-floating=top] .altcha-code-challenge{top:-150px}.altcha[data-floating=top] .altcha-code-challenge-arrow{border-bottom-color:transparent;border-top-color:var(--altcha-color-border, currentColor);bottom:-12px;top:auto}.altcha-label{cursor:pointer;flex-grow:1}.altcha-logo{color:currentColor!important;opacity:.7}.altcha-footer:hover,.altcha-logo:hover{opacity:1}.altcha-error{color:var(--altcha-color-error-text, #f23939);display:flex;font-size:.85rem;gap:.3rem;padding:0 .7rem .7rem}.altcha-footer{align-items:center;background-color:var(--altcha-color-footer-bg, transparent);display:flex;font-size:.75rem;opacity:.7;justify-content:end;padding:.2rem .7rem}.altcha-footer a{color:currentColor}.altcha-checkbox{display:flex;align-items:center;justify-content:center;height:24px;position:relative;width:24px}.altcha-checkbox .altcha-spinner{bottom:0;left:0;position:absolute;right:0;top:0}.altcha-checkbox input{width:18px;height:18px;margin:0}.altcha-checkbox-verifying input{appearance:none;opacity:0;pointer-events:none}.altcha-spinner{animation:altcha-spinner .75s infinite linear;transform-origin:center}.altcha-overlay{--altcha-color-base:#fff;--altcha-color-text:#000;animation:overlay-slidein .5s forwards;display:flex;flex-direction:column;gap:.5rem;left:50%;width:260px;opacity:0;position:fixed;top:45%;transform:translate(-50%,-50%)}.altcha-overlay-backdrop{background:rgba(0,0,0,.5);bottom:0;display:none;left:0;position:fixed;right:0;top:0;z-index:999990}.altcha-overlay-close-button{align-self:flex-end;background:0 0;border:0;padding:.25rem;cursor:pointer;color:currentColor;font-size:130%;line-height:1;opacity:.7}@media (max-height:450px){.altcha-overlay{top:10%!important;transform:translate(-50%,0)}}';
4051
+ function Rs(e, t = "__altcha-css") {
4026
4052
  if (!document.getElementById(t)) {
4027
4053
  const r = document.createElement("style");
4028
4054
  r.id = t, r.textContent = e, document.head.appendChild(r);
4029
4055
  }
4030
4056
  }
4031
- globalThis.altchaCreateWorker = (e) => e ? new Worker(new URL(e)) : new Jl();
4032
- Es(Ls);
4057
+ globalThis.altchaCreateWorker = (e) => e ? new Worker(new URL(e)) : new rs();
4058
+ Rs(Vs);
4033
4059
  export {
4034
- Cs as Altcha
4060
+ Is as Altcha
4035
4061
  };