altcha 2.0.0-beta.6 → 2.0.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/altcha.js CHANGED
@@ -1,13 +1,13 @@
1
- var fl = Object.defineProperty;
2
- var wn = (e) => {
1
+ var fi = Object.defineProperty;
2
+ var bn = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
- var dl = (e, t, r) => t in e ? fl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
6
- var _e = (e, t, r) => dl(e, typeof t != "symbol" ? t + "" : t, r), yn = (e, t, r) => t.has(e) || wn("Cannot " + r);
7
- var ae = (e, t, r) => (yn(e, t, "read from private field"), r ? r.call(e) : t.get(e)), _r = (e, t, r) => t.has(e) ? wn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), mr = (e, t, r, i) => (yn(e, t, "write to private field"), i ? i.call(e, r) : t.set(e, r), r);
5
+ var di = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
6
+ var _e = (e, t, r) => di(e, typeof t != "symbol" ? t + "" : t, r), yn = (e, t, r) => t.has(e) || bn("Cannot " + r);
7
+ var ae = (e, t, r) => (yn(e, t, "read from private field"), r ? r.call(e) : t.get(e)), _r = (e, t, r) => t.has(e) ? bn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), mr = (e, t, r, l) => (yn(e, t, "write to private field"), l ? l.call(e, r) : t.set(e, r), r);
8
8
  const Fn = `(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})})}}})();
9
9
  `, xn = typeof self < "u" && self.Blob && new Blob([Fn], { type: "text/javascript;charset=utf-8" });
10
- function hl(e) {
10
+ function hi(e) {
11
11
  let t;
12
12
  try {
13
13
  if (t = xn && (self.URL || self.webkitURL).createObjectURL(xn), !t) throw "";
@@ -28,16 +28,16 @@ function hl(e) {
28
28
  t && (self.URL || self.webkitURL).revokeObjectURL(t);
29
29
  }
30
30
  }
31
- const vl = "5";
31
+ const vi = "5";
32
32
  var On;
33
- typeof window < "u" && ((On = window.__svelte ?? (window.__svelte = {})).v ?? (On.v = /* @__PURE__ */ new Set())).add(vl);
34
- const gl = 1, pl = 4, _l = 8, ml = 16, bl = 1, wl = 2, Ar = "[", Vn = "[!", Mn = "]", vt = {}, se = Symbol(), yl = "http://www.w3.org/1999/xhtml", En = !1, be = 2, Un = 4, Qt = 8, Rr = 16, Oe = 32, nt = 64, Ht = 128, ge = 256, Yt = 512, de = 1024, Fe = 2048, mt = 4096, gt = 8192, er = 16384, xl = 32768, Ir = 65536, El = 1 << 19, jn = 1 << 20, $t = Symbol("$state"), qn = Symbol("legacy props"), Cl = Symbol("");
35
- var Bn = Array.isArray, kl = Array.prototype.indexOf, Al = Array.from, Gt = Object.keys, Wt = Object.defineProperty, tt = Object.getOwnPropertyDescriptor, Rl = Object.getOwnPropertyDescriptors, Il = Object.prototype, $l = Array.prototype, Hn = Object.getPrototypeOf;
33
+ typeof window < "u" && ((On = window.__svelte ?? (window.__svelte = {})).v ?? (On.v = /* @__PURE__ */ new Set())).add(vi);
34
+ const gi = 1, wi = 4, _i = 8, mi = 16, pi = 1, bi = 2, Ar = "[", Vn = "[!", Mn = "]", vt = {}, se = Symbol(), yi = "http://www.w3.org/1999/xhtml", En = !1, pe = 2, Un = 4, Qt = 8, Rr = 16, Oe = 32, nt = 64, Ht = 128, ge = 256, Yt = 512, de = 1024, Fe = 2048, mt = 4096, gt = 8192, er = 16384, xi = 32768, Ir = 65536, Ei = 1 << 19, jn = 1 << 20, $t = Symbol("$state"), qn = Symbol("legacy props"), Ci = Symbol("");
35
+ var Bn = Array.isArray, ki = Array.prototype.indexOf, Ai = Array.from, Gt = Object.keys, Wt = Object.defineProperty, tt = Object.getOwnPropertyDescriptor, Ri = Object.getOwnPropertyDescriptors, Ii = Object.prototype, $i = Array.prototype, Hn = Object.getPrototypeOf;
36
36
  function Yn(e) {
37
37
  for (var t = 0; t < e.length; t++)
38
38
  e[t]();
39
39
  }
40
- function Sl(e, t, r = !1) {
40
+ function Si(e, t, r = !1) {
41
41
  return e === void 0 ? r ? (
42
42
  /** @type {() => V} */
43
43
  t()
@@ -46,7 +46,7 @@ function Sl(e, t, r = !1) {
46
46
  t
47
47
  ) : e;
48
48
  }
49
- const Nl = typeof requestIdleCallback > "u" ? (e) => setTimeout(e, 1) : requestIdleCallback;
49
+ const Ni = typeof requestIdleCallback > "u" ? (e) => setTimeout(e, 1) : requestIdleCallback;
50
50
  let Nt = [], Dt = [];
51
51
  function Gn() {
52
52
  var e = Nt;
@@ -59,8 +59,8 @@ function Wn() {
59
59
  function tr(e) {
60
60
  Nt.length === 0 && queueMicrotask(Gn), Nt.push(e);
61
61
  }
62
- function Dl(e) {
63
- Dt.length === 0 && Nl(Wn), Dt.push(e);
62
+ function Di(e) {
63
+ Dt.length === 0 && Ni(Wn), Dt.push(e);
64
64
  }
65
65
  function Cn() {
66
66
  Nt.length > 0 && Gn(), Dt.length > 0 && Wn();
@@ -68,43 +68,43 @@ function Cn() {
68
68
  function Zn(e) {
69
69
  return e === this.v;
70
70
  }
71
- function Tl(e, t) {
71
+ function Ti(e, t) {
72
72
  return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
73
73
  }
74
74
  function $r(e) {
75
- return !Tl(e, this.v);
75
+ return !Ti(e, this.v);
76
76
  }
77
- function Ll(e) {
77
+ function Li(e) {
78
78
  throw new Error("https://svelte.dev/e/effect_in_teardown");
79
79
  }
80
- function Pl() {
80
+ function Pi() {
81
81
  throw new Error("https://svelte.dev/e/effect_in_unowned_derived");
82
82
  }
83
- function Ol(e) {
83
+ function Oi(e) {
84
84
  throw new Error("https://svelte.dev/e/effect_orphan");
85
85
  }
86
- function Fl() {
86
+ function Fi() {
87
87
  throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
88
88
  }
89
- function Vl() {
89
+ function Vi() {
90
90
  throw new Error("https://svelte.dev/e/hydration_failed");
91
91
  }
92
- function Ml(e) {
92
+ function Mi(e) {
93
93
  throw new Error("https://svelte.dev/e/props_invalid_value");
94
94
  }
95
- function Ul() {
95
+ function Ui() {
96
96
  throw new Error("https://svelte.dev/e/state_descriptors_fixed");
97
97
  }
98
- function jl() {
98
+ function ji() {
99
99
  throw new Error("https://svelte.dev/e/state_prototype_fixed");
100
100
  }
101
- function ql() {
101
+ function qi() {
102
102
  throw new Error("https://svelte.dev/e/state_unsafe_local_read");
103
103
  }
104
- function Bl() {
104
+ function Bi() {
105
105
  throw new Error("https://svelte.dev/e/state_unsafe_mutation");
106
106
  }
107
- let Hl = !1;
107
+ let Hi = !1;
108
108
  function ke(e, t) {
109
109
  var r = {
110
110
  f: 0,
@@ -118,7 +118,7 @@ function ke(e, t) {
118
118
  return r;
119
119
  }
120
120
  function oe(e) {
121
- return /* @__PURE__ */ Yl(ke(e));
121
+ return /* @__PURE__ */ Yi(ke(e));
122
122
  }
123
123
  // @__NO_SIDE_EFFECTS__
124
124
  function zn(e, t = !1) {
@@ -126,27 +126,27 @@ function zn(e, t = !1) {
126
126
  return t || (r.equals = $r), r;
127
127
  }
128
128
  // @__NO_SIDE_EFFECTS__
129
- function Yl(e) {
130
- return S !== null && !me && (S.f & be) !== 0 && (Ae === null ? Xl([e]) : Ae.push(e)), e;
129
+ function Yi(e) {
130
+ return S !== null && !me && (S.f & pe) !== 0 && (Ae === null ? Xi([e]) : Ae.push(e)), e;
131
131
  }
132
- function w(e, t) {
133
- return S !== null && !me && gi() && (S.f & (be | Rr)) !== 0 && // If the source was created locally within the current derived, then
132
+ function b(e, t) {
133
+ return S !== null && !me && gl() && (S.f & (pe | Rr)) !== 0 && // If the source was created locally within the current derived, then
134
134
  // we allow the mutation.
135
- (Ae === null || !Ae.includes(e)) && Bl(), Gl(e, t);
135
+ (Ae === null || !Ae.includes(e)) && Bi(), Gi(e, t);
136
136
  }
137
- function Gl(e, t) {
138
- return e.equals(t) || (e.v, e.v = t, e.wv = ni(), Jn(e, Fe), D !== null && (D.f & de) !== 0 && (D.f & (Oe | nt)) === 0 && (De === null ? Ql([e]) : De.push(e))), t;
137
+ function Gi(e, t) {
138
+ return e.equals(t) || (e.v, e.v = t, e.wv = nl(), Jn(e, Fe), D !== null && (D.f & de) !== 0 && (D.f & (Oe | nt)) === 0 && (De === null ? Qi([e]) : De.push(e))), t;
139
139
  }
140
140
  function Jn(e, t) {
141
141
  var r = e.reactions;
142
142
  if (r !== null)
143
- for (var i = r.length, l = 0; l < i; l++) {
144
- var a = r[l], s = a.f;
145
- (s & Fe) === 0 && (Ie(a, t), (s & (de | ge)) !== 0 && ((s & be) !== 0 ? Jn(
143
+ for (var l = r.length, i = 0; i < l; i++) {
144
+ var a = r[i], s = a.f;
145
+ (s & Fe) === 0 && (Ie(a, t), (s & (de | ge)) !== 0 && ((s & pe) !== 0 ? Jn(
146
146
  /** @type {Derived} */
147
147
  a,
148
148
  mt
149
- ) : lr(
149
+ ) : ir(
150
150
  /** @type {Effect} */
151
151
  a
152
152
  )));
@@ -154,7 +154,7 @@ function Jn(e, t) {
154
154
  }
155
155
  // @__NO_SIDE_EFFECTS__
156
156
  function He(e) {
157
- var t = be | Fe, r = S !== null && (S.f & be) !== 0 ? (
157
+ var t = pe | Fe, r = S !== null && (S.f & pe) !== 0 ? (
158
158
  /** @type {Derived} */
159
159
  S
160
160
  ) : null;
@@ -176,7 +176,7 @@ function He(e) {
176
176
  };
177
177
  }
178
178
  // @__NO_SIDE_EFFECTS__
179
- function Wl(e) {
179
+ function Wi(e) {
180
180
  const t = /* @__PURE__ */ He(e);
181
181
  return t.equals = $r, t;
182
182
  }
@@ -191,9 +191,9 @@ function Kn(e) {
191
191
  );
192
192
  }
193
193
  }
194
- function Zl(e) {
194
+ function Zi(e) {
195
195
  for (var t = e.parent; t !== null; ) {
196
- if ((t.f & be) === 0)
196
+ if ((t.f & pe) === 0)
197
197
  return (
198
198
  /** @type {Effect} */
199
199
  t
@@ -202,19 +202,19 @@ function Zl(e) {
202
202
  }
203
203
  return null;
204
204
  }
205
- function zl(e) {
205
+ function zi(e) {
206
206
  var t, r = D;
207
- Ze(Zl(e));
207
+ Ze(Zi(e));
208
208
  try {
209
- Kn(e), t = li(e);
209
+ Kn(e), t = il(e);
210
210
  } finally {
211
211
  Ze(r);
212
212
  }
213
213
  return t;
214
214
  }
215
215
  function Xn(e) {
216
- var t = zl(e), r = (Ye || (e.f & ge) !== 0) && e.deps !== null ? mt : de;
217
- Ie(e, r), e.equals(t) || (e.v = t, e.wv = ni());
216
+ var t = zi(e), r = (Ye || (e.f & ge) !== 0) && e.deps !== null ? mt : de;
217
+ Ie(e, r), e.equals(t) || (e.v = t, e.wv = nl());
218
218
  }
219
219
  function rr(e) {
220
220
  console.warn("https://svelte.dev/e/hydration_mismatch");
@@ -229,7 +229,7 @@ function Ge(e) {
229
229
  throw rr(), vt;
230
230
  return P = e;
231
231
  }
232
- function pt() {
232
+ function wt() {
233
233
  return Ge(
234
234
  /** @type {TemplateNode} */
235
235
  /* @__PURE__ */ ze(P)
@@ -242,7 +242,7 @@ function G(e) {
242
242
  P = e;
243
243
  }
244
244
  }
245
- function Jl() {
245
+ function Ji() {
246
246
  for (var e = 0, t = P; ; ) {
247
247
  if (t.nodeType === 8) {
248
248
  var r = (
@@ -254,21 +254,21 @@ function Jl() {
254
254
  e -= 1;
255
255
  } else (r === Ar || r === Vn) && (e += 1);
256
256
  }
257
- var i = (
257
+ var l = (
258
258
  /** @type {TemplateNode} */
259
259
  /* @__PURE__ */ ze(t)
260
260
  );
261
- t.remove(), t = i;
261
+ t.remove(), t = l;
262
262
  }
263
263
  }
264
264
  function V(e, t = null, r) {
265
265
  if (typeof e != "object" || e === null || $t in e)
266
266
  return e;
267
- const i = Hn(e);
268
- if (i !== Il && i !== $l)
267
+ const l = Hn(e);
268
+ if (l !== Ii && l !== $i)
269
269
  return e;
270
- var l = /* @__PURE__ */ new Map(), a = Bn(e), s = ke(0);
271
- a && l.set("length", ke(
270
+ var i = /* @__PURE__ */ new Map(), a = Bn(e), s = ke(0);
271
+ a && i.set("length", ke(
272
272
  /** @type {any[]} */
273
273
  e.length
274
274
  ));
@@ -278,23 +278,23 @@ function V(e, t = null, r) {
278
278
  e,
279
279
  {
280
280
  defineProperty(f, d, _) {
281
- (!("value" in _) || _.configurable === !1 || _.enumerable === !1 || _.writable === !1) && Ul();
282
- var v = l.get(d);
283
- return v === void 0 ? (v = ke(_.value), l.set(d, v)) : w(v, V(_.value, c)), !0;
281
+ (!("value" in _) || _.configurable === !1 || _.enumerable === !1 || _.writable === !1) && Ui();
282
+ var v = i.get(d);
283
+ return v === void 0 ? (v = ke(_.value), i.set(d, v)) : b(v, V(_.value, c)), !0;
284
284
  },
285
285
  deleteProperty(f, d) {
286
- var _ = l.get(d);
286
+ var _ = i.get(d);
287
287
  if (_ === void 0)
288
- d in f && l.set(d, ke(se));
288
+ d in f && i.set(d, ke(se));
289
289
  else {
290
290
  if (a && typeof d == "string") {
291
291
  var v = (
292
292
  /** @type {Source<number>} */
293
- l.get("length")
293
+ i.get("length")
294
294
  ), h = Number(d);
295
- Number.isInteger(h) && h < v.v && w(v, h);
295
+ Number.isInteger(h) && h < v.v && b(v, h);
296
296
  }
297
- w(_, se), kn(s);
297
+ b(_, se), kn(s);
298
298
  }
299
299
  return !0;
300
300
  },
@@ -302,37 +302,37 @@ function V(e, t = null, r) {
302
302
  var k;
303
303
  if (d === $t)
304
304
  return e;
305
- var v = l.get(d), h = d in f;
306
- if (v === void 0 && (!h || (k = tt(f, d)) != null && k.writable) && (v = ke(V(h ? f[d] : se, c)), l.set(d, v)), v !== void 0) {
307
- var b = o(v);
308
- return b === se ? void 0 : b;
305
+ var v = i.get(d), h = d in f;
306
+ if (v === void 0 && (!h || (k = tt(f, d)) != null && k.writable) && (v = ke(V(h ? f[d] : se, c)), i.set(d, v)), v !== void 0) {
307
+ var p = o(v);
308
+ return p === se ? void 0 : p;
309
309
  }
310
310
  return Reflect.get(f, d, _);
311
311
  },
312
312
  getOwnPropertyDescriptor(f, d) {
313
313
  var _ = Reflect.getOwnPropertyDescriptor(f, d);
314
314
  if (_ && "value" in _) {
315
- var v = l.get(d);
315
+ var v = i.get(d);
316
316
  v && (_.value = o(v));
317
317
  } else if (_ === void 0) {
318
- var h = l.get(d), b = h == null ? void 0 : h.v;
319
- if (h !== void 0 && b !== se)
318
+ var h = i.get(d), p = h == null ? void 0 : h.v;
319
+ if (h !== void 0 && p !== se)
320
320
  return {
321
321
  enumerable: !0,
322
322
  configurable: !0,
323
- value: b,
323
+ value: p,
324
324
  writable: !0
325
325
  };
326
326
  }
327
327
  return _;
328
328
  },
329
329
  has(f, d) {
330
- var b;
330
+ var p;
331
331
  if (d === $t)
332
332
  return !0;
333
- var _ = l.get(d), v = _ !== void 0 && _.v !== se || Reflect.has(f, d);
334
- if (_ !== void 0 || D !== null && (!v || (b = tt(f, d)) != null && b.writable)) {
335
- _ === void 0 && (_ = ke(v ? V(f[d], c) : se), l.set(d, _));
333
+ var _ = i.get(d), v = _ !== void 0 && _.v !== se || Reflect.has(f, d);
334
+ if (_ !== void 0 || D !== null && (!v || (p = tt(f, d)) != null && p.writable)) {
335
+ _ === void 0 && (_ = ke(v ? V(f[d], c) : se), i.set(d, _));
336
336
  var h = o(_);
337
337
  if (h === se)
338
338
  return !1;
@@ -341,22 +341,22 @@ function V(e, t = null, r) {
341
341
  },
342
342
  set(f, d, _, v) {
343
343
  var J;
344
- var h = l.get(d), b = d in f;
344
+ var h = i.get(d), p = d in f;
345
345
  if (a && d === "length")
346
346
  for (var k = _; k < /** @type {Source<number>} */
347
347
  h.v; k += 1) {
348
- var T = l.get(k + "");
349
- T !== void 0 ? w(T, se) : k in f && (T = ke(se), l.set(k + "", T));
348
+ var T = i.get(k + "");
349
+ T !== void 0 ? b(T, se) : k in f && (T = ke(se), i.set(k + "", T));
350
350
  }
351
- h === void 0 ? (!b || (J = tt(f, d)) != null && J.writable) && (h = ke(void 0), w(h, V(_, c)), l.set(d, h)) : (b = h.v !== se, w(h, V(_, c)));
351
+ h === void 0 ? (!p || (J = tt(f, d)) != null && J.writable) && (h = ke(void 0), b(h, V(_, c)), i.set(d, h)) : (p = h.v !== se, b(h, V(_, c)));
352
352
  var F = Reflect.getOwnPropertyDescriptor(f, d);
353
- if (F != null && F.set && F.set.call(v, _), !b) {
353
+ if (F != null && F.set && F.set.call(v, _), !p) {
354
354
  if (a && typeof d == "string") {
355
355
  var ue = (
356
356
  /** @type {Source<number>} */
357
- l.get("length")
358
- ), ie = Number(d);
359
- Number.isInteger(ie) && ie >= ue.v && w(ue, ie + 1);
357
+ i.get("length")
358
+ ), le = Number(d);
359
+ Number.isInteger(le) && le >= ue.v && b(ue, le + 1);
360
360
  }
361
361
  kn(s);
362
362
  }
@@ -365,28 +365,28 @@ function V(e, t = null, r) {
365
365
  ownKeys(f) {
366
366
  o(s);
367
367
  var d = Reflect.ownKeys(f).filter((h) => {
368
- var b = l.get(h);
369
- return b === void 0 || b.v !== se;
368
+ var p = i.get(h);
369
+ return p === void 0 || p.v !== se;
370
370
  });
371
- for (var [_, v] of l)
371
+ for (var [_, v] of i)
372
372
  v.v !== se && !(_ in f) && d.push(_);
373
373
  return d;
374
374
  },
375
375
  setPrototypeOf() {
376
- jl();
376
+ ji();
377
377
  }
378
378
  }
379
379
  );
380
380
  }
381
381
  function kn(e, t = 1) {
382
- w(e, e.v + t);
382
+ b(e, e.v + t);
383
383
  }
384
- var An, Qn, ei, ti;
384
+ var An, Qn, el, tl;
385
385
  function yr() {
386
386
  if (An === void 0) {
387
387
  An = window, Qn = /Firefox/.test(navigator.userAgent);
388
388
  var e = Element.prototype, t = Node.prototype;
389
- ei = tt(t, "firstChild").get, ti = tt(t, "nextSibling").get, e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0, Text.prototype.__t = void 0;
389
+ el = tt(t, "firstChild").get, tl = tt(t, "nextSibling").get, e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0, Text.prototype.__t = void 0;
390
390
  }
391
391
  }
392
392
  function nr(e = "") {
@@ -394,11 +394,11 @@ function nr(e = "") {
394
394
  }
395
395
  // @__NO_SIDE_EFFECTS__
396
396
  function Le(e) {
397
- return ei.call(e);
397
+ return el.call(e);
398
398
  }
399
399
  // @__NO_SIDE_EFFECTS__
400
400
  function ze(e) {
401
- return ti.call(e);
401
+ return tl.call(e);
402
402
  }
403
403
  function W(e, t) {
404
404
  if (!O)
@@ -423,21 +423,21 @@ function Rt(e, t) {
423
423
  return P;
424
424
  }
425
425
  function Z(e, t = 1, r = !1) {
426
- let i = O ? P : e;
427
- for (var l; t--; )
428
- l = i, i = /** @type {TemplateNode} */
429
- /* @__PURE__ */ ze(i);
426
+ let l = O ? P : e;
427
+ for (var i; t--; )
428
+ i = l, l = /** @type {TemplateNode} */
429
+ /* @__PURE__ */ ze(l);
430
430
  if (!O)
431
- return i;
432
- var a = i == null ? void 0 : i.nodeType;
431
+ return l;
432
+ var a = l == null ? void 0 : l.nodeType;
433
433
  if (r && a !== 3) {
434
434
  var s = nr();
435
- return i === null ? l == null || l.after(s) : i.before(s), Ge(s), s;
435
+ return l === null ? i == null || i.after(s) : l.before(s), Ge(s), s;
436
436
  }
437
- return Ge(i), /** @type {TemplateNode} */
438
- i;
437
+ return Ge(l), /** @type {TemplateNode} */
438
+ l;
439
439
  }
440
- function Kl(e) {
440
+ function Ki(e) {
441
441
  e.textContent = "";
442
442
  }
443
443
  let qt = !1, Zt = !1, zt = null, rt = !1, Sr = !1;
@@ -454,16 +454,16 @@ function Ze(e) {
454
454
  D = e;
455
455
  }
456
456
  let Ae = null;
457
- function Xl(e) {
457
+ function Xi(e) {
458
458
  Ae = e;
459
459
  }
460
460
  let re = null, fe = 0, De = null;
461
- function Ql(e) {
461
+ function Qi(e) {
462
462
  De = e;
463
463
  }
464
- let ri = 1, Jt = 0, Ye = !1;
465
- function ni() {
466
- return ++ri;
464
+ let rl = 1, Jt = 0, Ye = !1;
465
+ function nl() {
466
+ return ++rl;
467
467
  }
468
468
  function Tt(e) {
469
469
  var v;
@@ -471,20 +471,20 @@ function Tt(e) {
471
471
  if ((t & Fe) !== 0)
472
472
  return !0;
473
473
  if ((t & mt) !== 0) {
474
- var r = e.deps, i = (t & ge) !== 0;
474
+ var r = e.deps, l = (t & ge) !== 0;
475
475
  if (r !== null) {
476
- var l, a, s = (t & Yt) !== 0, c = i && D !== null && !Ye, f = r.length;
476
+ var i, a, s = (t & Yt) !== 0, c = l && D !== null && !Ye, f = r.length;
477
477
  if (s || c) {
478
478
  var d = (
479
479
  /** @type {Derived} */
480
480
  e
481
481
  ), _ = d.parent;
482
- for (l = 0; l < f; l++)
483
- a = r[l], (s || !((v = a == null ? void 0 : a.reactions) != null && v.includes(d))) && (a.reactions ?? (a.reactions = [])).push(d);
482
+ for (i = 0; i < f; i++)
483
+ a = r[i], (s || !((v = a == null ? void 0 : a.reactions) != null && v.includes(d))) && (a.reactions ?? (a.reactions = [])).push(d);
484
484
  s && (d.f ^= Yt), c && _ !== null && (_.f & ge) === 0 && (d.f ^= ge);
485
485
  }
486
- for (l = 0; l < f; l++)
487
- if (a = r[l], Tt(
486
+ for (i = 0; i < f; i++)
487
+ if (a = r[i], Tt(
488
488
  /** @type {Derived} */
489
489
  a
490
490
  ) && Xn(
@@ -493,7 +493,7 @@ function Tt(e) {
493
493
  ), a.wv > e.wv)
494
494
  return !0;
495
495
  }
496
- (!i || D !== null && !Ye) && Ie(e, de);
496
+ (!l || D !== null && !Ye) && Ie(e, de);
497
497
  }
498
498
  return !1;
499
499
  }
@@ -513,7 +513,7 @@ function ea(e, t) {
513
513
  function ta(e) {
514
514
  return (e.f & er) === 0 && (e.parent === null || (e.parent.f & Ht) === 0);
515
515
  }
516
- function ir(e, t, r, i) {
516
+ function lr(e, t, r, l) {
517
517
  if (qt) {
518
518
  if (r === null && (qt = !1), ta(t))
519
519
  throw e;
@@ -525,25 +525,25 @@ function ir(e, t, r, i) {
525
525
  return;
526
526
  }
527
527
  }
528
- function ii(e, t, r = !0) {
529
- var i = e.reactions;
530
- if (i !== null)
531
- for (var l = 0; l < i.length; l++) {
532
- var a = i[l];
533
- (a.f & be) !== 0 ? ii(
528
+ function ll(e, t, r = !0) {
529
+ var l = e.reactions;
530
+ if (l !== null)
531
+ for (var i = 0; i < l.length; i++) {
532
+ var a = l[i];
533
+ (a.f & pe) !== 0 ? ll(
534
534
  /** @type {Derived} */
535
535
  a,
536
536
  t,
537
537
  !1
538
- ) : t === a && (r ? Ie(a, Fe) : (a.f & de) !== 0 && Ie(a, mt), lr(
538
+ ) : t === a && (r ? Ie(a, Fe) : (a.f & de) !== 0 && Ie(a, mt), ir(
539
539
  /** @type {Effect} */
540
540
  a
541
541
  ));
542
542
  }
543
543
  }
544
- function li(e) {
545
- var b;
546
- var t = re, r = fe, i = De, l = S, a = Ye, s = Ae, c = ne, f = me, d = e.f;
544
+ function il(e) {
545
+ var p;
546
+ var t = re, r = fe, l = De, i = S, a = Ye, s = Ae, c = ne, f = me, d = e.f;
547
547
  re = /** @type {null | Value[]} */
548
548
  null, fe = 0, De = null, Ye = (d & ge) !== 0 && (me || !rt || S === null), S = (d & (Oe | nt)) === 0 ? e : null, Ae = null, $n(e.ctx), me = !1, Jt++;
549
549
  try {
@@ -560,31 +560,31 @@ function li(e) {
560
560
  e.deps = v = re;
561
561
  if (!Ye)
562
562
  for (h = fe; h < v.length; h++)
563
- ((b = v[h]).reactions ?? (b.reactions = [])).push(e);
563
+ ((p = v[h]).reactions ?? (p.reactions = [])).push(e);
564
564
  } else v !== null && fe < v.length && (Kt(e, fe), v.length = fe);
565
- if (gi() && De !== null && !me && v !== null && (e.f & (be | mt | Fe)) === 0)
565
+ if (gl() && De !== null && !me && v !== null && (e.f & (pe | mt | Fe)) === 0)
566
566
  for (h = 0; h < /** @type {Source[]} */
567
567
  De.length; h++)
568
- ii(
568
+ ll(
569
569
  De[h],
570
570
  /** @type {Effect} */
571
571
  e
572
572
  );
573
- return l !== null && Jt++, _;
573
+ return i !== null && Jt++, _;
574
574
  } finally {
575
- re = t, fe = r, De = i, S = l, Ye = a, Ae = s, $n(c), me = f;
575
+ re = t, fe = r, De = l, S = i, Ye = a, Ae = s, $n(c), me = f;
576
576
  }
577
577
  }
578
578
  function ra(e, t) {
579
579
  let r = t.reactions;
580
580
  if (r !== null) {
581
- var i = kl.call(r, e);
582
- if (i !== -1) {
583
- var l = r.length - 1;
584
- l === 0 ? r = t.reactions = null : (r[i] = r[l], r.pop());
581
+ var l = ki.call(r, e);
582
+ if (l !== -1) {
583
+ var i = r.length - 1;
584
+ i === 0 ? r = t.reactions = null : (r[l] = r[i], r.pop());
585
585
  }
586
586
  }
587
- r === null && (t.f & be) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
587
+ r === null && (t.f & pe) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
588
588
  // to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
589
589
  // allows us to skip the expensive work of disconnecting and immediately reconnecting it
590
590
  (re === null || !re.includes(t)) && (Ie(t, mt), (t.f & (ge | Yt)) === 0 && (t.f ^= Yt), Kn(
@@ -599,70 +599,70 @@ function ra(e, t) {
599
599
  function Kt(e, t) {
600
600
  var r = e.deps;
601
601
  if (r !== null)
602
- for (var i = t; i < r.length; i++)
603
- ra(e, r[i]);
602
+ for (var l = t; l < r.length; l++)
603
+ ra(e, r[l]);
604
604
  }
605
605
  function Nr(e) {
606
606
  var t = e.f;
607
607
  if ((t & er) === 0) {
608
608
  Ie(e, de);
609
- var r = D, i = ne, l = rt;
609
+ var r = D, l = ne, i = rt;
610
610
  D = e, rt = !0;
611
611
  try {
612
- (t & Rr) !== 0 ? da(e) : si(e), oi(e);
613
- var a = li(e);
614
- e.teardown = typeof a == "function" ? a : null, e.wv = ri;
612
+ (t & Rr) !== 0 ? da(e) : sl(e), ol(e);
613
+ var a = il(e);
614
+ e.teardown = typeof a == "function" ? a : null, e.wv = rl;
615
615
  var s = e.deps, c;
616
- En && Hl && e.f & Fe;
616
+ En && Hi && e.f & Fe;
617
617
  } catch (f) {
618
- ir(f, e, r, i || e.ctx);
618
+ lr(f, e, r, l || e.ctx);
619
619
  } finally {
620
- rt = l, D = r;
620
+ rt = i, D = r;
621
621
  }
622
622
  }
623
623
  }
624
624
  function na() {
625
625
  try {
626
- Fl();
626
+ Fi();
627
627
  } catch (e) {
628
628
  if (zt !== null)
629
- ir(e, zt, null);
629
+ lr(e, zt, null);
630
630
  else
631
631
  throw e;
632
632
  }
633
633
  }
634
- function ai() {
634
+ function al() {
635
635
  var e = rt;
636
636
  try {
637
637
  var t = 0;
638
638
  for (rt = !0; St.length > 0; ) {
639
639
  t++ > 1e3 && na();
640
- var r = St, i = r.length;
640
+ var r = St, l = r.length;
641
641
  St = [];
642
- for (var l = 0; l < i; l++) {
643
- var a = la(r[l]);
644
- ia(a);
642
+ for (var i = 0; i < l; i++) {
643
+ var a = ia(r[i]);
644
+ la(a);
645
645
  }
646
646
  }
647
647
  } finally {
648
648
  Zt = !1, rt = e, zt = null;
649
649
  }
650
650
  }
651
- function ia(e) {
651
+ function la(e) {
652
652
  var t = e.length;
653
653
  if (t !== 0)
654
654
  for (var r = 0; r < t; r++) {
655
- var i = e[r];
656
- if ((i.f & (er | gt)) === 0)
655
+ var l = e[r];
656
+ if ((l.f & (er | gt)) === 0)
657
657
  try {
658
- Tt(i) && (Nr(i), i.deps === null && i.first === null && i.nodes_start === null && (i.teardown === null ? ui(i) : i.fn = null));
659
- } catch (l) {
660
- ir(l, i, null, i.ctx);
658
+ Tt(l) && (Nr(l), l.deps === null && l.first === null && l.nodes_start === null && (l.teardown === null ? ul(l) : l.fn = null));
659
+ } catch (i) {
660
+ lr(i, l, null, l.ctx);
661
661
  }
662
662
  }
663
663
  }
664
- function lr(e) {
665
- Zt || (Zt = !0, queueMicrotask(ai));
664
+ function ir(e) {
665
+ Zt || (Zt = !0, queueMicrotask(al));
666
666
  for (var t = zt = e; t.parent !== null; ) {
667
667
  t = t.parent;
668
668
  var r = t.f;
@@ -673,20 +673,20 @@ function lr(e) {
673
673
  }
674
674
  St.push(t);
675
675
  }
676
- function la(e) {
676
+ function ia(e) {
677
677
  for (var t = [], r = e; r !== null; ) {
678
- var i = r.f, l = (i & (Oe | nt)) !== 0, a = l && (i & de) !== 0;
679
- if (!a && (i & gt) === 0) {
680
- if ((i & Un) !== 0)
678
+ var l = r.f, i = (l & (Oe | nt)) !== 0, a = i && (l & de) !== 0;
679
+ if (!a && (l & gt) === 0) {
680
+ if ((l & Un) !== 0)
681
681
  t.push(r);
682
- else if (l)
682
+ else if (i)
683
683
  r.f ^= de;
684
684
  else {
685
685
  var s = S;
686
686
  try {
687
687
  S = r, Tt(r) && Nr(r);
688
688
  } catch (d) {
689
- ir(d, r, null, r.ctx);
689
+ lr(d, r, null, r.ctx);
690
690
  } finally {
691
691
  S = s;
692
692
  }
@@ -706,32 +706,32 @@ function la(e) {
706
706
  function C(e) {
707
707
  var t;
708
708
  for (Cn(); St.length > 0; )
709
- Zt = !0, ai(), Cn();
709
+ Zt = !0, al(), Cn();
710
710
  return (
711
711
  /** @type {T} */
712
712
  t
713
713
  );
714
714
  }
715
- async function br() {
715
+ async function pr() {
716
716
  await Promise.resolve(), C();
717
717
  }
718
718
  function o(e) {
719
- var t = e.f, r = (t & be) !== 0;
719
+ var t = e.f, r = (t & pe) !== 0;
720
720
  if (S !== null && !me) {
721
- Ae !== null && Ae.includes(e) && ql();
722
- var i = S.deps;
723
- e.rv < Jt && (e.rv = Jt, re === null && i !== null && i[fe] === e ? fe++ : re === null ? re = [e] : (!Ye || !re.includes(e)) && re.push(e));
721
+ Ae !== null && Ae.includes(e) && qi();
722
+ var l = S.deps;
723
+ e.rv < Jt && (e.rv = Jt, re === null && l !== null && l[fe] === e ? fe++ : re === null ? re = [e] : (!Ye || !re.includes(e)) && re.push(e));
724
724
  } else if (r && /** @type {Derived} */
725
725
  e.deps === null && /** @type {Derived} */
726
726
  e.effects === null) {
727
- var l = (
727
+ var i = (
728
728
  /** @type {Derived} */
729
729
  e
730
- ), a = l.parent;
731
- a !== null && (a.f & ge) === 0 && (l.f ^= ge);
730
+ ), a = i.parent;
731
+ a !== null && (a.f & ge) === 0 && (i.f ^= ge);
732
732
  }
733
- return r && (l = /** @type {Derived} */
734
- e, Tt(l) && Xn(l)), e.v;
733
+ return r && (i = /** @type {Derived} */
734
+ e, Tt(i) && Xn(i)), e.v;
735
735
  }
736
736
  function _t(e) {
737
737
  var t = me;
@@ -746,14 +746,14 @@ function Ie(e, t) {
746
746
  e.f = e.f & aa | t;
747
747
  }
748
748
  function oa(e) {
749
- D === null && S === null && Ol(), S !== null && (S.f & ge) !== 0 && D === null && Pl(), Sr && Ll();
749
+ D === null && S === null && Oi(), S !== null && (S.f & ge) !== 0 && D === null && Pi(), Sr && Li();
750
750
  }
751
751
  function sa(e, t) {
752
752
  var r = t.last;
753
753
  r === null ? t.last = t.first = e : (r.next = e, e.prev = r, t.last = e);
754
754
  }
755
- function it(e, t, r, i = !0) {
756
- var l = D, a = {
755
+ function lt(e, t, r, l = !0) {
756
+ var i = D, a = {
757
757
  ctx: ne,
758
758
  deps: null,
759
759
  nodes_start: null,
@@ -763,7 +763,7 @@ function it(e, t, r, i = !0) {
763
763
  fn: t,
764
764
  last: null,
765
765
  next: null,
766
- parent: l,
766
+ parent: i,
767
767
  prev: null,
768
768
  teardown: null,
769
769
  transitions: null,
@@ -771,13 +771,13 @@ function it(e, t, r, i = !0) {
771
771
  };
772
772
  if (r)
773
773
  try {
774
- Nr(a), a.f |= xl;
774
+ Nr(a), a.f |= xi;
775
775
  } catch (f) {
776
776
  throw Pe(a), f;
777
777
  }
778
- else t !== null && lr(a);
778
+ else t !== null && ir(a);
779
779
  var s = r && a.deps === null && a.first === null && a.nodes_start === null && a.teardown === null && (a.f & (jn | Ht)) === 0;
780
- if (!s && i && (l !== null && sa(a, l), S !== null && (S.f & be) !== 0)) {
780
+ if (!s && l && (i !== null && sa(a, i), S !== null && (S.f & pe) !== 0)) {
781
781
  var c = (
782
782
  /** @type {Derived} */
783
783
  S
@@ -787,7 +787,7 @@ function it(e, t, r, i = !0) {
787
787
  return a;
788
788
  }
789
789
  function ua(e) {
790
- const t = it(Qt, null, !1);
790
+ const t = lt(Qt, null, !1);
791
791
  return Ie(t, de), t.teardown = e, t;
792
792
  }
793
793
  function xr(e) {
@@ -804,57 +804,57 @@ function xr(e) {
804
804
  reaction: S
805
805
  });
806
806
  } else {
807
- var i = Dr(e);
808
- return i;
807
+ var l = Dr(e);
808
+ return l;
809
809
  }
810
810
  }
811
811
  function ca(e) {
812
- const t = it(nt, e, !0);
812
+ const t = lt(nt, e, !0);
813
813
  return () => {
814
814
  Pe(t);
815
815
  };
816
816
  }
817
817
  function fa(e) {
818
- const t = it(nt, e, !0);
819
- return (r = {}) => new Promise((i) => {
818
+ const t = lt(nt, e, !0);
819
+ return (r = {}) => new Promise((l) => {
820
820
  r.outro ? Er(t, () => {
821
- Pe(t), i(void 0);
822
- }) : (Pe(t), i(void 0));
821
+ Pe(t), l(void 0);
822
+ }) : (Pe(t), l(void 0));
823
823
  });
824
824
  }
825
825
  function Dr(e) {
826
- return it(Un, e, !1);
826
+ return lt(Un, e, !1);
827
827
  }
828
828
  function Tr(e) {
829
- return it(Qt, e, !0);
829
+ return lt(Qt, e, !0);
830
830
  }
831
831
  function Ne(e, t = [], r = He) {
832
- const i = t.map(r);
833
- return Lr(() => e(...i.map(o)));
832
+ const l = t.map(r);
833
+ return Lr(() => e(...l.map(o)));
834
834
  }
835
835
  function Lr(e, t = 0) {
836
- return it(Qt | Rr | t, e, !0);
836
+ return lt(Qt | Rr | t, e, !0);
837
837
  }
838
838
  function Xt(e, t = !0) {
839
- return it(Qt | Oe, e, !0, t);
839
+ return lt(Qt | Oe, e, !0, t);
840
840
  }
841
- function oi(e) {
841
+ function ol(e) {
842
842
  var t = e.teardown;
843
843
  if (t !== null) {
844
- const r = Sr, i = S;
844
+ const r = Sr, l = S;
845
845
  Rn(!0), We(null);
846
846
  try {
847
847
  t.call(null);
848
848
  } finally {
849
- Rn(r), We(i);
849
+ Rn(r), We(l);
850
850
  }
851
851
  }
852
852
  }
853
- function si(e, t = !1) {
853
+ function sl(e, t = !1) {
854
854
  var r = e.first;
855
855
  for (e.first = e.last = null; r !== null; ) {
856
- var i = r.next;
857
- (r.f & nt) !== 0 ? r.parent = null : Pe(r, t), r = i;
856
+ var l = r.next;
857
+ (r.f & nt) !== 0 ? r.parent = null : Pe(r, t), r = l;
858
858
  }
859
859
  }
860
860
  function da(e) {
@@ -865,78 +865,78 @@ function da(e) {
865
865
  }
866
866
  function Pe(e, t = !0) {
867
867
  var r = !1;
868
- if ((t || (e.f & El) !== 0) && e.nodes_start !== null) {
869
- for (var i = e.nodes_start, l = e.nodes_end; i !== null; ) {
870
- var a = i === l ? null : (
868
+ if ((t || (e.f & Ei) !== 0) && e.nodes_start !== null) {
869
+ for (var l = e.nodes_start, i = e.nodes_end; l !== null; ) {
870
+ var a = l === i ? null : (
871
871
  /** @type {TemplateNode} */
872
- /* @__PURE__ */ ze(i)
872
+ /* @__PURE__ */ ze(l)
873
873
  );
874
- i.remove(), i = a;
874
+ l.remove(), l = a;
875
875
  }
876
876
  r = !0;
877
877
  }
878
- si(e, t && !r), Kt(e, 0), Ie(e, er);
878
+ sl(e, t && !r), Kt(e, 0), Ie(e, er);
879
879
  var s = e.transitions;
880
880
  if (s !== null)
881
881
  for (const f of s)
882
882
  f.stop();
883
- oi(e);
883
+ ol(e);
884
884
  var c = e.parent;
885
- c !== null && c.first !== null && ui(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes_start = e.nodes_end = null;
885
+ c !== null && c.first !== null && ul(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes_start = e.nodes_end = null;
886
886
  }
887
- function ui(e) {
888
- var t = e.parent, r = e.prev, i = e.next;
889
- r !== null && (r.next = i), i !== null && (i.prev = r), t !== null && (t.first === e && (t.first = i), t.last === e && (t.last = r));
887
+ function ul(e) {
888
+ var t = e.parent, r = e.prev, l = e.next;
889
+ r !== null && (r.next = l), l !== null && (l.prev = r), t !== null && (t.first === e && (t.first = l), t.last === e && (t.last = r));
890
890
  }
891
891
  function Er(e, t) {
892
892
  var r = [];
893
- ci(e, r, !0), ha(r, () => {
893
+ cl(e, r, !0), ha(r, () => {
894
894
  Pe(e), t && t();
895
895
  });
896
896
  }
897
897
  function ha(e, t) {
898
898
  var r = e.length;
899
899
  if (r > 0) {
900
- var i = () => --r || t();
901
- for (var l of e)
902
- l.out(i);
900
+ var l = () => --r || t();
901
+ for (var i of e)
902
+ i.out(l);
903
903
  } else
904
904
  t();
905
905
  }
906
- function ci(e, t, r) {
906
+ function cl(e, t, r) {
907
907
  if ((e.f & gt) === 0) {
908
908
  if (e.f ^= gt, e.transitions !== null)
909
909
  for (const s of e.transitions)
910
910
  (s.is_global || r) && t.push(s);
911
- for (var i = e.first; i !== null; ) {
912
- var l = i.next, a = (i.f & Ir) !== 0 || (i.f & Oe) !== 0;
913
- ci(i, t, a ? r : !1), i = l;
911
+ for (var l = e.first; l !== null; ) {
912
+ var i = l.next, a = (l.f & Ir) !== 0 || (l.f & Oe) !== 0;
913
+ cl(l, t, a ? r : !1), l = i;
914
914
  }
915
915
  }
916
916
  }
917
917
  function In(e) {
918
- fi(e, !0);
918
+ fl(e, !0);
919
919
  }
920
- function fi(e, t) {
920
+ function fl(e, t) {
921
921
  if ((e.f & gt) !== 0) {
922
- e.f ^= gt, (e.f & de) === 0 && (e.f ^= de), Tt(e) && (Ie(e, Fe), lr(e));
922
+ e.f ^= gt, (e.f & de) === 0 && (e.f ^= de), Tt(e) && (Ie(e, Fe), ir(e));
923
923
  for (var r = e.first; r !== null; ) {
924
- var i = r.next, l = (r.f & Ir) !== 0 || (r.f & Oe) !== 0;
925
- fi(r, l ? t : !1), r = i;
924
+ var l = r.next, i = (r.f & Ir) !== 0 || (r.f & Oe) !== 0;
925
+ fl(r, i ? t : !1), r = l;
926
926
  }
927
927
  if (e.transitions !== null)
928
928
  for (const a of e.transitions)
929
929
  (a.is_global || t) && a.in();
930
930
  }
931
931
  }
932
- function di(e) {
932
+ function dl(e) {
933
933
  throw new Error("https://svelte.dev/e/lifecycle_outside_component");
934
934
  }
935
935
  let ne = null;
936
936
  function $n(e) {
937
937
  ne = e;
938
938
  }
939
- function hi(e, t = !1, r) {
939
+ function hl(e, t = !1, r) {
940
940
  ne = {
941
941
  p: ne,
942
942
  c: null,
@@ -947,21 +947,21 @@ function hi(e, t = !1, r) {
947
947
  l: null
948
948
  };
949
949
  }
950
- function vi(e) {
950
+ function vl(e) {
951
951
  const t = ne;
952
952
  if (t !== null) {
953
953
  e !== void 0 && (t.x = e);
954
954
  const s = t.e;
955
955
  if (s !== null) {
956
- var r = D, i = S;
956
+ var r = D, l = S;
957
957
  t.e = null;
958
958
  try {
959
- for (var l = 0; l < s.length; l++) {
960
- var a = s[l];
959
+ for (var i = 0; i < s.length; i++) {
960
+ var a = s[i];
961
961
  Ze(a.effect), We(a.reaction), Dr(a.fn);
962
962
  }
963
963
  } finally {
964
- Ze(r), We(i);
964
+ Ze(r), We(l);
965
965
  }
966
966
  }
967
967
  ne = t.p, t.m = !0;
@@ -969,14 +969,14 @@ function vi(e) {
969
969
  return e || /** @type {T} */
970
970
  {};
971
971
  }
972
- function gi() {
972
+ function gl() {
973
973
  return !0;
974
974
  }
975
975
  const va = ["touchstart", "touchmove"];
976
976
  function ga(e) {
977
977
  return va.includes(e);
978
978
  }
979
- function pa(e, t) {
979
+ function wa(e, t) {
980
980
  if (t) {
981
981
  const r = document.body;
982
982
  e.autofocus = !0, tr(() => {
@@ -985,7 +985,7 @@ function pa(e, t) {
985
985
  }
986
986
  }
987
987
  let Sn = !1;
988
- function pi() {
988
+ function wl() {
989
989
  Sn || (Sn = !0, document.addEventListener(
990
990
  "reset",
991
991
  (e) => {
@@ -1004,7 +1004,7 @@ function pi() {
1004
1004
  { capture: !0 }
1005
1005
  ));
1006
1006
  }
1007
- function _i(e) {
1007
+ function _l(e) {
1008
1008
  var t = S, r = D;
1009
1009
  We(null), Ze(null);
1010
1010
  try {
@@ -1013,58 +1013,58 @@ function _i(e) {
1013
1013
  We(t), Ze(r);
1014
1014
  }
1015
1015
  }
1016
- function _a(e, t, r, i = r) {
1017
- e.addEventListener(t, () => _i(r));
1018
- const l = e.__on_r;
1019
- l ? e.__on_r = () => {
1020
- l(), i(!0);
1021
- } : e.__on_r = () => i(!0), pi();
1016
+ function _a(e, t, r, l = r) {
1017
+ e.addEventListener(t, () => _l(r));
1018
+ const i = e.__on_r;
1019
+ i ? e.__on_r = () => {
1020
+ i(), l(!0);
1021
+ } : e.__on_r = () => l(!0), wl();
1022
1022
  }
1023
- const mi = /* @__PURE__ */ new Set(), Cr = /* @__PURE__ */ new Set();
1024
- function ma(e, t, r, i = {}) {
1025
- function l(a) {
1026
- if (i.capture || It.call(t, a), !a.cancelBubble)
1027
- return _i(() => r == null ? void 0 : r.call(this, a));
1023
+ const ml = /* @__PURE__ */ new Set(), Cr = /* @__PURE__ */ new Set();
1024
+ function ma(e, t, r, l = {}) {
1025
+ function i(a) {
1026
+ if (l.capture || It.call(t, a), !a.cancelBubble)
1027
+ return _l(() => r == null ? void 0 : r.call(this, a));
1028
1028
  }
1029
1029
  return e.startsWith("pointer") || e.startsWith("touch") || e === "wheel" ? tr(() => {
1030
- t.addEventListener(e, l, i);
1031
- }) : t.addEventListener(e, l, i), l;
1030
+ t.addEventListener(e, i, l);
1031
+ }) : t.addEventListener(e, i, l), i;
1032
1032
  }
1033
- function Be(e, t, r, i, l) {
1034
- var a = { capture: i, passive: l }, s = ma(e, t, r, a);
1033
+ function Be(e, t, r, l, i) {
1034
+ var a = { capture: l, passive: i }, s = ma(e, t, r, a);
1035
1035
  (t === document.body || t === window || t === document) && ua(() => {
1036
1036
  t.removeEventListener(e, s, a);
1037
1037
  });
1038
1038
  }
1039
- function ba(e) {
1039
+ function pa(e) {
1040
1040
  for (var t = 0; t < e.length; t++)
1041
- mi.add(e[t]);
1041
+ ml.add(e[t]);
1042
1042
  for (var r of Cr)
1043
1043
  r(e);
1044
1044
  }
1045
1045
  function It(e) {
1046
- var ie;
1046
+ var le;
1047
1047
  var t = this, r = (
1048
1048
  /** @type {Node} */
1049
1049
  t.ownerDocument
1050
- ), i = e.type, l = ((ie = e.composedPath) == null ? void 0 : ie.call(e)) || [], a = (
1050
+ ), l = e.type, i = ((le = e.composedPath) == null ? void 0 : le.call(e)) || [], a = (
1051
1051
  /** @type {null | Element} */
1052
- l[0] || e.target
1052
+ i[0] || e.target
1053
1053
  ), s = 0, c = e.__root;
1054
1054
  if (c) {
1055
- var f = l.indexOf(c);
1055
+ var f = i.indexOf(c);
1056
1056
  if (f !== -1 && (t === document || t === /** @type {any} */
1057
1057
  window)) {
1058
1058
  e.__root = t;
1059
1059
  return;
1060
1060
  }
1061
- var d = l.indexOf(t);
1061
+ var d = i.indexOf(t);
1062
1062
  if (d === -1)
1063
1063
  return;
1064
1064
  f <= d && (s = f);
1065
1065
  }
1066
1066
  if (a = /** @type {Element} */
1067
- l[s] || e.target, a !== t) {
1067
+ i[s] || e.target, a !== t) {
1068
1068
  Wt(e, "currentTarget", {
1069
1069
  configurable: !0,
1070
1070
  get() {
@@ -1074,11 +1074,11 @@ function It(e) {
1074
1074
  var _ = S, v = D;
1075
1075
  We(null), Ze(null);
1076
1076
  try {
1077
- for (var h, b = []; a !== null; ) {
1077
+ for (var h, p = []; a !== null; ) {
1078
1078
  var k = a.assignedSlot || a.parentNode || /** @type {any} */
1079
1079
  a.host || null;
1080
1080
  try {
1081
- var T = a["__" + i];
1081
+ var T = a["__" + l];
1082
1082
  if (T != null && (!/** @type {any} */
1083
1083
  a.disabled || // DOM could've been updated already by the time this is reached, so we check this as well
1084
1084
  // -> the target could not have been disabled because it emits the event in the first place
@@ -1089,14 +1089,14 @@ function It(e) {
1089
1089
  } else
1090
1090
  T.call(a, e);
1091
1091
  } catch (J) {
1092
- h ? b.push(J) : h = J;
1092
+ h ? p.push(J) : h = J;
1093
1093
  }
1094
1094
  if (e.cancelBubble || k === t || k === null)
1095
1095
  break;
1096
1096
  a = k;
1097
1097
  }
1098
1098
  if (h) {
1099
- for (let J of b)
1099
+ for (let J of p)
1100
1100
  queueMicrotask(() => {
1101
1101
  throw J;
1102
1102
  });
@@ -1119,16 +1119,16 @@ function Re(e, t) {
1119
1119
  r.nodes_start === null && (r.nodes_start = e, r.nodes_end = t);
1120
1120
  }
1121
1121
  // @__NO_SIDE_EFFECTS__
1122
- function we(e, t) {
1123
- var r = (t & bl) !== 0, i = (t & wl) !== 0, l, a = !e.startsWith("<!>");
1122
+ function be(e, t) {
1123
+ var r = (t & pi) !== 0, l = (t & bi) !== 0, i, a = !e.startsWith("<!>");
1124
1124
  return () => {
1125
1125
  if (O)
1126
1126
  return Re(P, null), P;
1127
- l === void 0 && (l = Pr(a ? e : "<!>" + e), r || (l = /** @type {Node} */
1128
- /* @__PURE__ */ Le(l)));
1127
+ i === void 0 && (i = Pr(a ? e : "<!>" + e), r || (i = /** @type {Node} */
1128
+ /* @__PURE__ */ Le(i)));
1129
1129
  var s = (
1130
1130
  /** @type {TemplateNode} */
1131
- i || Qn ? document.importNode(l, !0) : l.cloneNode(!0)
1131
+ l || Qn ? document.importNode(i, !0) : i.cloneNode(!0)
1132
1132
  );
1133
1133
  if (r) {
1134
1134
  var c = (
@@ -1146,14 +1146,14 @@ function we(e, t) {
1146
1146
  }
1147
1147
  // @__NO_SIDE_EFFECTS__
1148
1148
  function ar(e, t, r = "svg") {
1149
- var i = !e.startsWith("<!>"), l = `<${r}>${i ? e : "<!>" + e}</${r}>`, a;
1149
+ var l = !e.startsWith("<!>"), i = `<${r}>${l ? e : "<!>" + e}</${r}>`, a;
1150
1150
  return () => {
1151
1151
  if (O)
1152
1152
  return Re(P, null), P;
1153
1153
  if (!a) {
1154
1154
  var s = (
1155
1155
  /** @type {DocumentFragment} */
1156
- Pr(l)
1156
+ Pr(i)
1157
1157
  ), c = (
1158
1158
  /** @type {Element} */
1159
1159
  /* @__PURE__ */ Le(s)
@@ -1176,7 +1176,7 @@ function Mt() {
1176
1176
  }
1177
1177
  function U(e, t) {
1178
1178
  if (O) {
1179
- D.nodes_end = P, pt();
1179
+ D.nodes_end = P, wt();
1180
1180
  return;
1181
1181
  }
1182
1182
  e !== null && e.before(
@@ -1184,16 +1184,16 @@ function U(e, t) {
1184
1184
  t
1185
1185
  );
1186
1186
  }
1187
- function wa(e, t) {
1187
+ function ba(e, t) {
1188
1188
  var r = t == null ? "" : typeof t == "object" ? t + "" : t;
1189
1189
  r !== (e.__t ?? (e.__t = e.nodeValue)) && (e.__t = r, e.nodeValue = r + "");
1190
1190
  }
1191
- function bi(e, t) {
1192
- return wi(e, t);
1191
+ function pl(e, t) {
1192
+ return bl(e, t);
1193
1193
  }
1194
1194
  function ya(e, t) {
1195
1195
  yr(), t.intro = t.intro ?? !1;
1196
- const r = t.target, i = O, l = P;
1196
+ const r = t.target, l = O, i = P;
1197
1197
  try {
1198
1198
  for (var a = (
1199
1199
  /** @type {TemplateNode} */
@@ -1207,8 +1207,8 @@ function ya(e, t) {
1207
1207
  ht(!0), Ge(
1208
1208
  /** @type {Comment} */
1209
1209
  a
1210
- ), pt();
1211
- const s = wi(e, { ...t, anchor: a });
1210
+ ), wt();
1211
+ const s = bl(e, { ...t, anchor: a });
1212
1212
  if (P === null || P.nodeType !== 8 || /** @type {Comment} */
1213
1213
  P.data !== Mn)
1214
1214
  throw rr(), vt;
@@ -1216,53 +1216,53 @@ function ya(e, t) {
1216
1216
  s;
1217
1217
  } catch (s) {
1218
1218
  if (s === vt)
1219
- return t.recover === !1 && Vl(), yr(), Kl(r), ht(!1), bi(e, t);
1219
+ return t.recover === !1 && Vi(), yr(), Ki(r), ht(!1), pl(e, t);
1220
1220
  throw s;
1221
1221
  } finally {
1222
- ht(i), Ge(l);
1222
+ ht(l), Ge(i);
1223
1223
  }
1224
1224
  }
1225
1225
  const dt = /* @__PURE__ */ new Map();
1226
- function wi(e, { target: t, anchor: r, props: i = {}, events: l, context: a, intro: s = !0 }) {
1226
+ function bl(e, { target: t, anchor: r, props: l = {}, events: i, context: a, intro: s = !0 }) {
1227
1227
  yr();
1228
1228
  var c = /* @__PURE__ */ new Set(), f = (v) => {
1229
1229
  for (var h = 0; h < v.length; h++) {
1230
- var b = v[h];
1231
- if (!c.has(b)) {
1232
- c.add(b);
1233
- var k = ga(b);
1234
- t.addEventListener(b, It, { passive: k });
1235
- var T = dt.get(b);
1236
- T === void 0 ? (document.addEventListener(b, It, { passive: k }), dt.set(b, 1)) : dt.set(b, T + 1);
1230
+ var p = v[h];
1231
+ if (!c.has(p)) {
1232
+ c.add(p);
1233
+ var k = ga(p);
1234
+ t.addEventListener(p, It, { passive: k });
1235
+ var T = dt.get(p);
1236
+ T === void 0 ? (document.addEventListener(p, It, { passive: k }), dt.set(p, 1)) : dt.set(p, T + 1);
1237
1237
  }
1238
1238
  }
1239
1239
  };
1240
- f(Al(mi)), Cr.add(f);
1240
+ f(Ai(ml)), Cr.add(f);
1241
1241
  var d = void 0, _ = fa(() => {
1242
1242
  var v = r ?? t.appendChild(nr());
1243
1243
  return Xt(() => {
1244
1244
  if (a) {
1245
- hi({});
1245
+ hl({});
1246
1246
  var h = (
1247
1247
  /** @type {ComponentContext} */
1248
1248
  ne
1249
1249
  );
1250
1250
  h.c = a;
1251
1251
  }
1252
- l && (i.$$events = l), O && Re(
1252
+ i && (l.$$events = i), O && Re(
1253
1253
  /** @type {TemplateNode} */
1254
1254
  v,
1255
1255
  null
1256
- ), d = e(v, i) || {}, O && (D.nodes_end = P), a && vi();
1256
+ ), d = e(v, l) || {}, O && (D.nodes_end = P), a && vl();
1257
1257
  }), () => {
1258
1258
  var k;
1259
1259
  for (var h of c) {
1260
1260
  t.removeEventListener(h, It);
1261
- var b = (
1261
+ var p = (
1262
1262
  /** @type {number} */
1263
1263
  dt.get(h)
1264
1264
  );
1265
- --b === 0 ? (document.removeEventListener(h, It), dt.delete(h)) : dt.set(h, b);
1265
+ --p === 0 ? (document.removeEventListener(h, It), dt.delete(h)) : dt.set(h, p);
1266
1266
  }
1267
1267
  Cr.delete(f), v !== r && ((k = v.parentNode) == null || k.removeChild(v));
1268
1268
  };
@@ -1274,46 +1274,46 @@ function xa(e, t) {
1274
1274
  const r = kr.get(e);
1275
1275
  return r ? (kr.delete(e), r(t)) : Promise.resolve();
1276
1276
  }
1277
- function z(e, t, [r, i] = [0, 0]) {
1278
- O && r === 0 && pt();
1279
- var l = e, a = null, s = null, c = se, f = r > 0 ? Ir : 0, d = !1;
1280
- const _ = (h, b = !0) => {
1281
- d = !0, v(b, h);
1282
- }, v = (h, b) => {
1277
+ function z(e, t, [r, l] = [0, 0]) {
1278
+ O && r === 0 && wt();
1279
+ var i = e, a = null, s = null, c = se, f = r > 0 ? Ir : 0, d = !1;
1280
+ const _ = (h, p = !0) => {
1281
+ d = !0, v(p, h);
1282
+ }, v = (h, p) => {
1283
1283
  if (c === (c = h)) return;
1284
1284
  let k = !1;
1285
- if (O && i !== -1) {
1285
+ if (O && l !== -1) {
1286
1286
  if (r === 0) {
1287
1287
  const F = (
1288
1288
  /** @type {Comment} */
1289
- l.data
1289
+ i.data
1290
1290
  );
1291
- F === Ar ? i = 0 : F === Vn ? i = 1 / 0 : (i = parseInt(F.substring(1)), i !== i && (i = c ? 1 / 0 : -1));
1291
+ F === Ar ? l = 0 : F === Vn ? l = 1 / 0 : (l = parseInt(F.substring(1)), l !== l && (l = c ? 1 / 0 : -1));
1292
1292
  }
1293
- const T = i > r;
1294
- !!c === T && (l = Jl(), Ge(l), ht(!1), k = !0, i = -1);
1293
+ const T = l > r;
1294
+ !!c === T && (i = Ji(), Ge(i), ht(!1), k = !0, l = -1);
1295
1295
  }
1296
- c ? (a ? In(a) : b && (a = Xt(() => b(l))), s && Er(s, () => {
1296
+ c ? (a ? In(a) : p && (a = Xt(() => p(i))), s && Er(s, () => {
1297
1297
  s = null;
1298
- })) : (s ? In(s) : b && (s = Xt(() => b(l, [r + 1, i]))), a && Er(a, () => {
1298
+ })) : (s ? In(s) : p && (s = Xt(() => p(i, [r + 1, l]))), a && Er(a, () => {
1299
1299
  a = null;
1300
1300
  })), k && ht(!0);
1301
1301
  };
1302
1302
  Lr(() => {
1303
1303
  d = !1, t(_), d || v(null, null);
1304
- }, f), O && (l = P);
1304
+ }, f), O && (i = P);
1305
1305
  }
1306
- function et(e, t, r, i, l) {
1306
+ function et(e, t, r, l, i) {
1307
1307
  var a = e, s = "", c;
1308
1308
  Lr(() => {
1309
1309
  if (s === (s = t() ?? "")) {
1310
- O && pt();
1310
+ O && wt();
1311
1311
  return;
1312
1312
  }
1313
1313
  c !== void 0 && (Pe(c), c = void 0), s !== "" && (c = Xt(() => {
1314
1314
  if (O) {
1315
1315
  P.data;
1316
- for (var f = pt(), d = f; f !== null && (f.nodeType !== 8 || /** @type {Comment} */
1316
+ for (var f = wt(), d = f; f !== null && (f.nodeType !== 8 || /** @type {Comment} */
1317
1317
  f.data !== ""); )
1318
1318
  d = f, f = /** @type {TemplateNode} */
1319
1319
  /* @__PURE__ */ ze(f);
@@ -1332,15 +1332,15 @@ function et(e, t, r, i, l) {
1332
1332
  }));
1333
1333
  });
1334
1334
  }
1335
- function Ea(e, t, r, i, l) {
1335
+ function Ea(e, t, r, l, i) {
1336
1336
  var c;
1337
- O && pt();
1337
+ O && wt();
1338
1338
  var a = (c = t.$$slots) == null ? void 0 : c[r], s = !1;
1339
- a === !0 && (a = t.children, s = !0), a === void 0 || a(e, s ? () => i : i);
1339
+ a === !0 && (a = t.children, s = !0), a === void 0 || a(e, s ? () => l : l);
1340
1340
  }
1341
1341
  function Ca(e, t) {
1342
1342
  tr(() => {
1343
- var r = e.getRootNode(), i = (
1343
+ var r = e.getRootNode(), l = (
1344
1344
  /** @type {ShadowRoot} */
1345
1345
  r.host ? (
1346
1346
  /** @type {ShadowRoot} */
@@ -1351,37 +1351,37 @@ function Ca(e, t) {
1351
1351
  r.ownerDocument.head
1352
1352
  )
1353
1353
  );
1354
- if (!i.querySelector("#" + t.hash)) {
1355
- const l = document.createElement("style");
1356
- l.id = t.hash, l.textContent = t.code, i.appendChild(l);
1354
+ if (!l.querySelector("#" + t.hash)) {
1355
+ const i = document.createElement("style");
1356
+ i.id = t.hash, i.textContent = t.code, l.appendChild(i);
1357
1357
  }
1358
1358
  });
1359
1359
  }
1360
1360
  const Nn = [...`
1361
1361
  \r\f \v\uFEFF`];
1362
1362
  function ka(e, t, r) {
1363
- var i = "" + e;
1363
+ var l = "" + e;
1364
1364
  if (r) {
1365
- for (var l in r)
1366
- if (r[l])
1367
- i = i ? i + " " + l : l;
1368
- else if (i.length)
1369
- for (var a = l.length, s = 0; (s = i.indexOf(l, s)) >= 0; ) {
1365
+ for (var i in r)
1366
+ if (r[i])
1367
+ l = l ? l + " " + i : i;
1368
+ else if (l.length)
1369
+ for (var a = i.length, s = 0; (s = l.indexOf(i, s)) >= 0; ) {
1370
1370
  var c = s + a;
1371
- (s === 0 || Nn.includes(i[s - 1])) && (c === i.length || Nn.includes(i[c])) ? i = (s === 0 ? "" : i.substring(0, s)) + i.substring(c + 1) : s = c;
1371
+ (s === 0 || Nn.includes(l[s - 1])) && (c === l.length || Nn.includes(l[c])) ? l = (s === 0 ? "" : l.substring(0, s)) + l.substring(c + 1) : s = c;
1372
1372
  }
1373
1373
  }
1374
- return i === "" ? null : i;
1374
+ return l === "" ? null : l;
1375
1375
  }
1376
- function Aa(e, t, r, i, l, a) {
1376
+ function Aa(e, t, r, l, i, a) {
1377
1377
  var s = e.__className;
1378
1378
  if (O || s !== r) {
1379
- var c = ka(r, i, a);
1379
+ var c = ka(r, l, a);
1380
1380
  (!O || c !== e.getAttribute("class")) && (c == null ? e.removeAttribute("class") : e.className = c), e.__className = r;
1381
- } else if (a && l !== a)
1381
+ } else if (a && i !== a)
1382
1382
  for (var f in a) {
1383
1383
  var d = !!a[f];
1384
- (l == null || d !== !!l[f]) && e.classList.toggle(f, d);
1384
+ (i == null || d !== !!i[f]) && e.classList.toggle(f, d);
1385
1385
  }
1386
1386
  return a;
1387
1387
  }
@@ -1391,36 +1391,36 @@ function Dn(e) {
1391
1391
  var t = !1, r = () => {
1392
1392
  if (!t) {
1393
1393
  if (t = !0, e.hasAttribute("value")) {
1394
- var i = e.value;
1395
- N(e, "value", null), e.value = i;
1394
+ var l = e.value;
1395
+ N(e, "value", null), e.value = l;
1396
1396
  }
1397
1397
  if (e.hasAttribute("checked")) {
1398
- var l = e.checked;
1399
- N(e, "checked", null), e.checked = l;
1398
+ var i = e.checked;
1399
+ N(e, "checked", null), e.checked = i;
1400
1400
  }
1401
1401
  }
1402
1402
  };
1403
- e.__on_r = r, Dl(r), pi();
1403
+ e.__on_r = r, Di(r), wl();
1404
1404
  }
1405
1405
  }
1406
1406
  function $a(e, t) {
1407
- var r = yi(e);
1407
+ var r = yl(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
- function N(e, t, r, i) {
1414
- var l = yi(e);
1415
- O && (l[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === "LINK") || l[t] !== (l[t] = r) && (t === "loading" && (e[Cl] = r), r == null ? e.removeAttribute(t) : typeof r != "string" && Sa(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
1413
+ function N(e, t, r, l) {
1414
+ var i = yl(e);
1415
+ O && (i[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === "LINK") || i[t] !== (i[t] = r) && (t === "loading" && (e[Ci] = r), r == null ? e.removeAttribute(t) : typeof r != "string" && Sa(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
1416
1416
  }
1417
- function yi(e) {
1417
+ function yl(e) {
1418
1418
  return (
1419
1419
  /** @type {Record<string | symbol, unknown>} **/
1420
1420
  // @ts-expect-error
1421
1421
  e.__attributes ?? (e.__attributes = {
1422
1422
  [Ra]: e.nodeName.includes("-"),
1423
- [Ia]: e.namespaceURI === yl
1423
+ [Ia]: e.namespaceURI === yi
1424
1424
  })
1425
1425
  );
1426
1426
  }
@@ -1429,35 +1429,35 @@ function Sa(e) {
1429
1429
  var t = Tn.get(e.nodeName);
1430
1430
  if (t) return t;
1431
1431
  Tn.set(e.nodeName, t = []);
1432
- for (var r, i = e, l = Element.prototype; l !== i; ) {
1433
- r = Rl(i);
1432
+ for (var r, l = e, i = Element.prototype; i !== l; ) {
1433
+ r = Ri(l);
1434
1434
  for (var a in r)
1435
1435
  r[a].set && t.push(a);
1436
- i = Hn(i);
1436
+ l = Hn(l);
1437
1437
  }
1438
1438
  return t;
1439
1439
  }
1440
1440
  function Na(e, t, r = t) {
1441
- _a(e, "change", (i) => {
1442
- var l = i ? e.defaultChecked : e.checked;
1443
- r(l);
1441
+ _a(e, "change", (l) => {
1442
+ var i = l ? e.defaultChecked : e.checked;
1443
+ r(i);
1444
1444
  }), // If we are hydrating and the value has since changed,
1445
1445
  // then use the update value from the input instead.
1446
1446
  (O && e.defaultChecked !== e.checked || // If defaultChecked is set, then checked == defaultChecked
1447
1447
  _t(t) == null) && r(e.checked), Tr(() => {
1448
- var i = t();
1449
- e.checked = !!i;
1448
+ var l = t();
1449
+ e.checked = !!l;
1450
1450
  });
1451
1451
  }
1452
1452
  function Ln(e, t) {
1453
1453
  return e === t || (e == null ? void 0 : e[$t]) === t;
1454
1454
  }
1455
- function Ut(e = {}, t, r, i) {
1455
+ function Ut(e = {}, t, r, l) {
1456
1456
  return Dr(() => {
1457
- var l, a;
1457
+ var i, a;
1458
1458
  return Tr(() => {
1459
- l = a, a = [], _t(() => {
1460
- e !== r(...a) && (t(e, ...a), l && Ln(r(...l), e) && t(null, ...l));
1459
+ i = a, a = [], _t(() => {
1460
+ e !== r(...a) && (t(e, ...a), i && Ln(r(...i), e) && t(null, ...i));
1461
1461
  });
1462
1462
  }), () => {
1463
1463
  tr(() => {
@@ -1466,8 +1466,8 @@ function Ut(e = {}, t, r, i) {
1466
1466
  };
1467
1467
  }), e;
1468
1468
  }
1469
- function xi(e) {
1470
- ne === null && di(), xr(() => {
1469
+ function xl(e) {
1470
+ ne === null && dl(), xr(() => {
1471
1471
  const t = _t(e);
1472
1472
  if (typeof t == "function") return (
1473
1473
  /** @type {() => void} */
@@ -1476,7 +1476,7 @@ function xi(e) {
1476
1476
  });
1477
1477
  }
1478
1478
  function Da(e) {
1479
- ne === null && di(), xi(() => () => _t(e));
1479
+ ne === null && dl(), xl(() => () => _t(e));
1480
1480
  }
1481
1481
  let jt = !1;
1482
1482
  function Ta(e) {
@@ -1487,9 +1487,9 @@ function Ta(e) {
1487
1487
  jt = t;
1488
1488
  }
1489
1489
  }
1490
- function R(e, t, r, i) {
1490
+ function R(e, t, r, l) {
1491
1491
  var ye;
1492
- var l = (r & gl) !== 0, a = !0, s = (r & _l) !== 0, c = (r & ml) !== 0, f = !1, d;
1492
+ var i = (r & gi) !== 0, a = !0, s = (r & _i) !== 0, c = (r & mi) !== 0, f = !1, d;
1493
1493
  s ? [d, f] = Ta(() => (
1494
1494
  /** @type {V} */
1495
1495
  e[t]
@@ -1497,21 +1497,21 @@ function R(e, t, r, i) {
1497
1497
  e[t];
1498
1498
  var _ = $t in e || qn in e, v = s && (((ye = tt(e, t)) == null ? void 0 : ye.set) ?? (_ && t in e && ((j) => e[t] = j))) || void 0, h = (
1499
1499
  /** @type {V} */
1500
- i
1501
- ), b = !0, k = !1, T = () => (k = !0, b && (b = !1, c ? h = _t(
1500
+ l
1501
+ ), p = !0, k = !1, T = () => (k = !0, p && (p = !1, c ? h = _t(
1502
1502
  /** @type {() => V} */
1503
- i
1503
+ l
1504
1504
  ) : h = /** @type {V} */
1505
- i), h);
1506
- d === void 0 && i !== void 0 && (v && a && Ml(), d = T(), v && v(d));
1505
+ l), h);
1506
+ d === void 0 && l !== void 0 && (v && a && Mi(), d = T(), v && v(d));
1507
1507
  var F;
1508
1508
  if (F = () => {
1509
1509
  var j = (
1510
1510
  /** @type {V} */
1511
1511
  e[t]
1512
1512
  );
1513
- return j === void 0 ? T() : (b = !0, k = !1, j);
1514
- }, (r & pl) === 0)
1513
+ return j === void 0 ? T() : (p = !0, k = !1, j);
1514
+ }, (r & wi) === 0)
1515
1515
  return F;
1516
1516
  if (v) {
1517
1517
  var ue = e.$$legacy;
@@ -1519,14 +1519,14 @@ function R(e, t, r, i) {
1519
1519
  return arguments.length > 0 ? ((!Q || ue || f) && v(Q ? F() : j), j) : F();
1520
1520
  };
1521
1521
  }
1522
- var ie = !1, J = /* @__PURE__ */ zn(d), ce = /* @__PURE__ */ He(() => {
1522
+ var le = !1, J = /* @__PURE__ */ zn(d), ce = /* @__PURE__ */ He(() => {
1523
1523
  var j = F(), Q = o(J);
1524
- return ie ? (ie = !1, Q) : J.v = j;
1524
+ return le ? (le = !1, Q) : J.v = j;
1525
1525
  });
1526
- return l || (ce.equals = $r), function(j, Q) {
1526
+ return i || (ce.equals = $r), function(j, Q) {
1527
1527
  if (arguments.length > 0) {
1528
1528
  const Ve = Q ? o(ce) : s ? V(j) : j;
1529
- return ce.equals(Ve) || (ie = !0, w(J, Ve), k && h !== void 0 && (h = Ve), _t(() => o(ce))), j;
1529
+ return ce.equals(Ve) || (le = !0, b(J, Ve), k && h !== void 0 && (h = Ve), _t(() => o(ce))), j;
1530
1530
  }
1531
1531
  return o(ce);
1532
1532
  };
@@ -1547,32 +1547,32 @@ class Pa {
1547
1547
  /** @type {Record<string, any>} */
1548
1548
  _r(this, ve);
1549
1549
  var a;
1550
- var r = /* @__PURE__ */ new Map(), i = (s, c) => {
1550
+ var r = /* @__PURE__ */ new Map(), l = (s, c) => {
1551
1551
  var f = /* @__PURE__ */ zn(c);
1552
1552
  return r.set(s, f), f;
1553
1553
  };
1554
- const l = new Proxy(
1554
+ const i = new Proxy(
1555
1555
  { ...t.props || {}, $$events: {} },
1556
1556
  {
1557
1557
  get(s, c) {
1558
- return o(r.get(c) ?? i(c, Reflect.get(s, c)));
1558
+ return o(r.get(c) ?? l(c, Reflect.get(s, c)));
1559
1559
  },
1560
1560
  has(s, c) {
1561
- return c === qn ? !0 : (o(r.get(c) ?? i(c, Reflect.get(s, c))), Reflect.has(s, c));
1561
+ return c === qn ? !0 : (o(r.get(c) ?? l(c, Reflect.get(s, c))), Reflect.has(s, c));
1562
1562
  },
1563
1563
  set(s, c, f) {
1564
- return w(r.get(c) ?? i(c, f), f), Reflect.set(s, c, f);
1564
+ return b(r.get(c) ?? l(c, f), f), Reflect.set(s, c, f);
1565
1565
  }
1566
1566
  }
1567
1567
  );
1568
- mr(this, ve, (t.hydrate ? ya : bi)(t.component, {
1568
+ mr(this, ve, (t.hydrate ? ya : pl)(t.component, {
1569
1569
  target: t.target,
1570
1570
  anchor: t.anchor,
1571
- props: l,
1571
+ props: i,
1572
1572
  context: t.context,
1573
1573
  intro: t.intro ?? !1,
1574
1574
  recover: t.recover
1575
- })), (!((a = t == null ? void 0 : t.props) != null && a.$$host) || t.sync === !1) && C(), mr(this, Te, l.$$events);
1575
+ })), (!((a = t == null ? void 0 : t.props) != null && a.$$host) || t.sync === !1) && C(), mr(this, Te, i.$$events);
1576
1576
  for (const s of Object.keys(ae(this, ve)))
1577
1577
  s === "$set" || s === "$destroy" || s === "$on" || Wt(this, s, {
1578
1578
  get() {
@@ -1586,7 +1586,7 @@ class Pa {
1586
1586
  });
1587
1587
  ae(this, ve).$set = /** @param {Record<string, any>} next */
1588
1588
  (s) => {
1589
- Object.assign(l, s);
1589
+ Object.assign(i, s);
1590
1590
  }, ae(this, ve).$destroy = () => {
1591
1591
  xa(ae(this, ve));
1592
1592
  };
@@ -1602,11 +1602,11 @@ class Pa {
1602
1602
  */
1603
1603
  $on(t, r) {
1604
1604
  ae(this, Te)[t] = ae(this, Te)[t] || [];
1605
- const i = (...l) => r.call(this, ...l);
1606
- return ae(this, Te)[t].push(i), () => {
1605
+ const l = (...i) => r.call(this, ...i);
1606
+ return ae(this, Te)[t].push(l), () => {
1607
1607
  ae(this, Te)[t] = ae(this, Te)[t].filter(
1608
1608
  /** @param {any} fn */
1609
- (l) => l !== i
1609
+ (i) => i !== l
1610
1610
  );
1611
1611
  };
1612
1612
  }
@@ -1615,14 +1615,14 @@ class Pa {
1615
1615
  }
1616
1616
  }
1617
1617
  Te = new WeakMap(), ve = new WeakMap();
1618
- let Ei;
1619
- typeof HTMLElement == "function" && (Ei = class extends HTMLElement {
1618
+ let El;
1619
+ typeof HTMLElement == "function" && (El = class extends HTMLElement {
1620
1620
  /**
1621
1621
  * @param {*} $$componentCtor
1622
1622
  * @param {*} $$slots
1623
1623
  * @param {*} use_shadow_dom
1624
1624
  */
1625
- constructor(t, r, i) {
1625
+ constructor(t, r, l) {
1626
1626
  super();
1627
1627
  /** The Svelte component constructor */
1628
1628
  _e(this, "$$ctor");
@@ -1644,50 +1644,50 @@ typeof HTMLElement == "function" && (Ei = class extends HTMLElement {
1644
1644
  _e(this, "$$l_u", /* @__PURE__ */ new Map());
1645
1645
  /** @type {any} The managed render effect for reflecting attributes */
1646
1646
  _e(this, "$$me");
1647
- this.$$ctor = t, this.$$s = r, i && this.attachShadow({ mode: "open" });
1647
+ this.$$ctor = t, this.$$s = r, l && this.attachShadow({ mode: "open" });
1648
1648
  }
1649
1649
  /**
1650
1650
  * @param {string} type
1651
1651
  * @param {EventListenerOrEventListenerObject} listener
1652
1652
  * @param {boolean | AddEventListenerOptions} [options]
1653
1653
  */
1654
- addEventListener(t, r, i) {
1654
+ addEventListener(t, r, l) {
1655
1655
  if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
1656
- const l = this.$$c.$on(t, r);
1657
- this.$$l_u.set(r, l);
1656
+ const i = this.$$c.$on(t, r);
1657
+ this.$$l_u.set(r, i);
1658
1658
  }
1659
- super.addEventListener(t, r, i);
1659
+ super.addEventListener(t, r, l);
1660
1660
  }
1661
1661
  /**
1662
1662
  * @param {string} type
1663
1663
  * @param {EventListenerOrEventListenerObject} listener
1664
1664
  * @param {boolean | AddEventListenerOptions} [options]
1665
1665
  */
1666
- removeEventListener(t, r, i) {
1667
- if (super.removeEventListener(t, r, i), this.$$c) {
1668
- const l = this.$$l_u.get(r);
1669
- l && (l(), this.$$l_u.delete(r));
1666
+ removeEventListener(t, r, l) {
1667
+ if (super.removeEventListener(t, r, l), this.$$c) {
1668
+ const i = this.$$l_u.get(r);
1669
+ i && (i(), this.$$l_u.delete(r));
1670
1670
  }
1671
1671
  }
1672
1672
  async connectedCallback() {
1673
1673
  if (this.$$cn = !0, !this.$$c) {
1674
- let t = function(l) {
1674
+ let t = function(i) {
1675
1675
  return (a) => {
1676
1676
  const s = document.createElement("slot");
1677
- l !== "default" && (s.name = l), U(a, s);
1677
+ i !== "default" && (s.name = i), U(a, s);
1678
1678
  };
1679
1679
  };
1680
1680
  if (await Promise.resolve(), !this.$$cn || this.$$c)
1681
1681
  return;
1682
- const r = {}, i = Oa(this);
1683
- for (const l of this.$$s)
1684
- l in i && (l === "default" && !this.$$d.children ? (this.$$d.children = t(l), r.default = !0) : r[l] = t(l));
1685
- for (const l of this.attributes) {
1686
- const a = this.$$g_p(l.name);
1687
- a in this.$$d || (this.$$d[a] = Bt(a, l.value, this.$$p_d, "toProp"));
1682
+ const r = {}, l = Oa(this);
1683
+ for (const i of this.$$s)
1684
+ i in l && (i === "default" && !this.$$d.children ? (this.$$d.children = t(i), r.default = !0) : r[i] = t(i));
1685
+ for (const i of this.attributes) {
1686
+ const a = this.$$g_p(i.name);
1687
+ a in this.$$d || (this.$$d[a] = Bt(a, i.value, this.$$p_d, "toProp"));
1688
1688
  }
1689
- for (const l in this.$$p_d)
1690
- !(l in this.$$d) && this[l] !== void 0 && (this.$$d[l] = this[l], delete this[l]);
1689
+ for (const i in this.$$p_d)
1690
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
1691
1691
  this.$$c = La({
1692
1692
  component: this.$$ctor,
1693
1693
  target: this.shadowRoot || this,
@@ -1698,10 +1698,10 @@ typeof HTMLElement == "function" && (Ei = class extends HTMLElement {
1698
1698
  }
1699
1699
  }), this.$$me = ca(() => {
1700
1700
  Tr(() => {
1701
- var l;
1701
+ var i;
1702
1702
  this.$$r = !0;
1703
1703
  for (const a of Gt(this.$$c)) {
1704
- if (!((l = this.$$p_d[a]) != null && l.reflect)) continue;
1704
+ if (!((i = this.$$p_d[a]) != null && i.reflect)) continue;
1705
1705
  this.$$d[a] = this.$$c[a];
1706
1706
  const s = Bt(
1707
1707
  a,
@@ -1714,9 +1714,9 @@ typeof HTMLElement == "function" && (Ei = class extends HTMLElement {
1714
1714
  this.$$r = !1;
1715
1715
  });
1716
1716
  });
1717
- for (const l in this.$$l)
1718
- for (const a of this.$$l[l]) {
1719
- const s = this.$$c.$on(l, a);
1717
+ for (const i in this.$$l)
1718
+ for (const a of this.$$l[i]) {
1719
+ const s = this.$$c.$on(i, a);
1720
1720
  this.$$l_u.set(a, s);
1721
1721
  }
1722
1722
  this.$$l = {};
@@ -1729,9 +1729,9 @@ typeof HTMLElement == "function" && (Ei = class extends HTMLElement {
1729
1729
  * @param {string} _oldValue
1730
1730
  * @param {string} newValue
1731
1731
  */
1732
- attributeChangedCallback(t, r, i) {
1733
- var l;
1734
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Bt(t, i, this.$$p_d, "toProp"), (l = this.$$c) == null || l.$set({ [t]: this.$$d[t] }));
1732
+ attributeChangedCallback(t, r, l) {
1733
+ var i;
1734
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Bt(t, l, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
1735
1735
  }
1736
1736
  disconnectedCallback() {
1737
1737
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -1747,13 +1747,13 @@ typeof HTMLElement == "function" && (Ei = class extends HTMLElement {
1747
1747
  ) || t;
1748
1748
  }
1749
1749
  });
1750
- function Bt(e, t, r, i) {
1750
+ function Bt(e, t, r, l) {
1751
1751
  var a;
1752
- const l = (a = r[e]) == null ? void 0 : a.type;
1753
- if (t = l === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
1752
+ const i = (a = r[e]) == null ? void 0 : a.type;
1753
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !l || !r[e])
1754
1754
  return t;
1755
- if (i === "toAttribute")
1756
- switch (l) {
1755
+ if (l === "toAttribute")
1756
+ switch (i) {
1757
1757
  case "Object":
1758
1758
  case "Array":
1759
1759
  return t == null ? null : JSON.stringify(t);
@@ -1765,7 +1765,7 @@ function Bt(e, t, r, i) {
1765
1765
  return t;
1766
1766
  }
1767
1767
  else
1768
- switch (l) {
1768
+ switch (i) {
1769
1769
  case "Object":
1770
1770
  case "Array":
1771
1771
  return t && JSON.parse(t);
@@ -1787,10 +1787,10 @@ function Oa(e) {
1787
1787
  ] = !0;
1788
1788
  }), t;
1789
1789
  }
1790
- function Fa(e, t, r, i, l, a) {
1791
- let s = class extends Ei {
1790
+ function Fa(e, t, r, l, i, a) {
1791
+ let s = class extends El {
1792
1792
  constructor() {
1793
- super(e, r, l), this.$$p_d = t;
1793
+ super(e, r, i), this.$$p_d = t;
1794
1794
  }
1795
1795
  static get observedAttributes() {
1796
1796
  return Gt(t).map(
@@ -1813,7 +1813,7 @@ function Fa(e, t, r, i, l, a) {
1813
1813
  }
1814
1814
  }
1815
1815
  });
1816
- }), i.forEach((c) => {
1816
+ }), l.forEach((c) => {
1817
1817
  Wt(s.prototype, c, {
1818
1818
  get() {
1819
1819
  var f;
@@ -1823,39 +1823,39 @@ function Fa(e, t, r, i, l, a) {
1823
1823
  }), e.element = /** @type {any} */
1824
1824
  s, s;
1825
1825
  }
1826
- const Ci = new TextEncoder();
1826
+ const Cl = new TextEncoder();
1827
1827
  function Va(e) {
1828
1828
  return [...new Uint8Array(e)].map((t) => t.toString(16).padStart(2, "0")).join("");
1829
1829
  }
1830
1830
  async function Ma(e, t = "SHA-256", r = 1e5) {
1831
- const i = Date.now().toString(16);
1831
+ const l = Date.now().toString(16);
1832
1832
  e || (e = Math.round(Math.random() * r));
1833
- const l = await ki(i, e, t);
1833
+ const i = await kl(l, e, t);
1834
1834
  return {
1835
1835
  algorithm: t,
1836
- challenge: l,
1837
- salt: i,
1836
+ challenge: i,
1837
+ salt: l,
1838
1838
  signature: ""
1839
1839
  };
1840
1840
  }
1841
- async function ki(e, t, r) {
1841
+ async function kl(e, t, r) {
1842
1842
  if (typeof crypto > "u" || !("subtle" in crypto) || !("digest" in crypto.subtle))
1843
1843
  throw new Error("Web Crypto is not available. Secure context is required (https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts).");
1844
1844
  return Va(
1845
1845
  await crypto.subtle.digest(
1846
1846
  r.toUpperCase(),
1847
- Ci.encode(e + t)
1847
+ Cl.encode(e + t)
1848
1848
  )
1849
1849
  );
1850
1850
  }
1851
- function Ua(e, t, r = "SHA-256", i = 1e6, l = 0) {
1851
+ function Ua(e, t, r = "SHA-256", l = 1e6, i = 0) {
1852
1852
  const a = new AbortController(), s = Date.now();
1853
1853
  return {
1854
1854
  promise: (async () => {
1855
- for (let f = l; f <= i; f += 1) {
1855
+ for (let f = i; f <= l; f += 1) {
1856
1856
  if (a.signal.aborted)
1857
1857
  return null;
1858
- if (await ki(t, f, r) === e)
1858
+ if (await kl(t, f, r) === e)
1859
1859
  return {
1860
1860
  number: f,
1861
1861
  took: Date.now() - s
@@ -1874,25 +1874,25 @@ function Pn() {
1874
1874
  }
1875
1875
  function ja(e) {
1876
1876
  const t = atob(e), r = new Uint8Array(t.length);
1877
- for (let i = 0; i < t.length; i++)
1878
- r[i] = t.charCodeAt(i);
1877
+ for (let l = 0; l < t.length; l++)
1878
+ r[l] = t.charCodeAt(l);
1879
1879
  return r;
1880
1880
  }
1881
1881
  function qa(e, t = 12) {
1882
1882
  const r = new Uint8Array(t);
1883
- for (let i = 0; i < t; i++)
1884
- r[i] = e % 256, e = Math.floor(e / 256);
1883
+ for (let l = 0; l < t; l++)
1884
+ r[l] = e % 256, e = Math.floor(e / 256);
1885
1885
  return r;
1886
1886
  }
1887
- async function Ba(e, t = "", r = 1e6, i = 0) {
1888
- const l = "AES-GCM", a = new AbortController(), s = Date.now(), c = async () => {
1889
- for (let _ = i; _ <= r; _ += 1) {
1887
+ async function Ba(e, t = "", r = 1e6, l = 0) {
1888
+ const i = "AES-GCM", a = new AbortController(), s = Date.now(), c = async () => {
1889
+ for (let _ = l; _ <= r; _ += 1) {
1890
1890
  if (a.signal.aborted || !f || !d)
1891
1891
  return null;
1892
1892
  try {
1893
1893
  const v = await crypto.subtle.decrypt(
1894
1894
  {
1895
- name: l,
1895
+ name: i,
1896
1896
  iv: qa(_)
1897
1897
  },
1898
1898
  f,
@@ -1913,12 +1913,12 @@ async function Ba(e, t = "", r = 1e6, i = 0) {
1913
1913
  d = ja(e);
1914
1914
  const _ = await crypto.subtle.digest(
1915
1915
  "SHA-256",
1916
- Ci.encode(t)
1916
+ Cl.encode(t)
1917
1917
  );
1918
1918
  f = await crypto.subtle.importKey(
1919
1919
  "raw",
1920
1920
  _,
1921
- l,
1921
+ i,
1922
1922
  !1,
1923
1923
  ["decrypt"]
1924
1924
  );
@@ -1958,12 +1958,12 @@ const Ha = {
1958
1958
  waitAlert: "Verifying... please wait."
1959
1959
  };
1960
1960
  globalThis.altchaI18n.register("en", Ha);
1961
- const wr = (e, t) => {
1962
- let r = /* @__PURE__ */ Wl(() => Sl(t == null ? void 0 : t(), 24));
1963
- var i = Za();
1961
+ const br = (e, t) => {
1962
+ let r = /* @__PURE__ */ Wi(() => Si(t == null ? void 0 : t(), 24));
1963
+ var l = Za();
1964
1964
  Ne(() => {
1965
- N(i, "width", o(r)), N(i, "height", o(r));
1966
- }), U(e, i);
1965
+ N(l, "width", o(r)), N(l, "height", o(r));
1966
+ }), U(e, l);
1967
1967
  };
1968
1968
  function Ya(e, t) {
1969
1969
  e.code === "Space" && (e.preventDefault(), e.stopImmediatePropagation(), t());
@@ -1971,53 +1971,53 @@ function Ya(e, t) {
1971
1971
  function Ga(e, t) {
1972
1972
  e.preventDefault(), t();
1973
1973
  }
1974
- function Wa(e, t, r, i, l, a, s, c) {
1974
+ function Wa(e, t, r, l, i, a, s, c) {
1975
1975
  var f;
1976
1976
  [
1977
1977
  x.UNVERIFIED,
1978
1978
  x.ERROR,
1979
1979
  x.EXPIRED,
1980
1980
  x.CODE
1981
- ].includes(o(t)) ? r() !== !1 && ((f = o(i)) == null ? void 0 : f.reportValidity()) === !1 ? w(l, !1) : a() ? s() : c() : w(l, !0);
1981
+ ].includes(o(t)) ? r() !== !1 && ((f = o(l)) == null ? void 0 : f.reportValidity()) === !1 ? b(i, !1) : a() ? s() : c() : b(i, !0);
1982
1982
  }
1983
- var Za = /* @__PURE__ */ ar('<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="svelte-16ux7p0"><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" class="svelte-16ux7p0"></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" class="altcha-spinner svelte-16ux7p0"></path></svg>'), za = /* @__PURE__ */ we('<input type="hidden" class="svelte-16ux7p0">'), Ja = /* @__PURE__ */ we('<div class="svelte-16ux7p0"><a target="_blank" class="altcha-logo svelte-16ux7p0" aria-hidden="true"><svg width="22" height="22" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-16ux7p0"><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" class="svelte-16ux7p0"></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" class="svelte-16ux7p0"></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" class="svelte-16ux7p0"></path></svg></a></div>'), Ka = /* @__PURE__ */ ar('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="svelte-16ux7p0"><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" class="svelte-16ux7p0"></path></svg>'), Xa = /* @__PURE__ */ ar('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="svelte-16ux7p0"><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" class="svelte-16ux7p0"></path></svg>'), Qa = /* @__PURE__ */ ar('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="svelte-16ux7p0"><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" class="svelte-16ux7p0"></path></svg>'), eo = /* @__PURE__ */ we('<button type="button" class="altcha-code-challenge-audio svelte-16ux7p0"><!></button>'), to = /* @__PURE__ */ we('<audio hidden autoplay class="svelte-16ux7p0"><source class="svelte-16ux7p0"></audio>'), ro = /* @__PURE__ */ we('<div class="altcha-code-challenge svelte-16ux7p0" role="dialog"><div class="altcha-code-challenge-arrow svelte-16ux7p0"></div> <form data-code-challenge-form="1" class="svelte-16ux7p0"><img class="altcha-code-challenge-image svelte-16ux7p0" alt=""> <input type="text" autocomplete="off" name="code" class="altcha-code-challenge-input svelte-16ux7p0" required> <div class="altcha-code-challenge-buttons svelte-16ux7p0"><div class="altcha-code-challenge-buttons-left svelte-16ux7p0"><!> <button type="button" class="altcha-code-challenge-reload svelte-16ux7p0"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="svelte-16ux7p0"><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" class="svelte-16ux7p0"></path></svg></button></div> <button type="submit" class="altcha-code-challenge-verify svelte-16ux7p0"><!> </button></div> <!></form></div>'), no = /* @__PURE__ */ we('<div class="svelte-16ux7p0"><!></div>'), io = /* @__PURE__ */ we('<div class="svelte-16ux7p0"><!></div>'), lo = /* @__PURE__ */ we('<div class="altcha-error svelte-16ux7p0"><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" class="svelte-16ux7p0"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" class="svelte-16ux7p0"></path></svg> <!></div>'), ao = /* @__PURE__ */ we('<div class="altcha-footer svelte-16ux7p0"><div class="svelte-16ux7p0"><!></div></div>'), oo = /* @__PURE__ */ we('<div class="altcha-anchor-arrow svelte-16ux7p0"></div>'), so = /* @__PURE__ */ we('<!> <div class="altcha svelte-16ux7p0"><div class="altcha-main svelte-16ux7p0"><div><!> <input type="checkbox" class="svelte-16ux7p0"></div> <label class="altcha-label svelte-16ux7p0"><!></label> <!> <!> <!></div> <!> <!> <!></div>', 1);
1983
+ var Za = /* @__PURE__ */ ar('<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="svelte-74x4nw"><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" class="svelte-74x4nw"></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" class="altcha-spinner svelte-74x4nw"></path></svg>'), za = /* @__PURE__ */ be('<input type="hidden" class="svelte-74x4nw">'), Ja = /* @__PURE__ */ be('<div class="svelte-74x4nw"><a target="_blank" class="altcha-logo svelte-74x4nw" aria-hidden="true"><svg width="22" height="22" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-74x4nw"><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" class="svelte-74x4nw"></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" class="svelte-74x4nw"></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" class="svelte-74x4nw"></path></svg></a></div>'), Ka = /* @__PURE__ */ ar('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="svelte-74x4nw"><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" class="svelte-74x4nw"></path></svg>'), Xa = /* @__PURE__ */ ar('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="svelte-74x4nw"><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" class="svelte-74x4nw"></path></svg>'), Qa = /* @__PURE__ */ ar('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="svelte-74x4nw"><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" class="svelte-74x4nw"></path></svg>'), eo = /* @__PURE__ */ be('<button type="button" class="altcha-code-challenge-audio svelte-74x4nw"><!></button>'), to = /* @__PURE__ */ be('<audio hidden autoplay class="svelte-74x4nw"><source class="svelte-74x4nw"></audio>'), ro = /* @__PURE__ */ be('<div class="altcha-code-challenge svelte-74x4nw" role="dialog"><div class="altcha-code-challenge-arrow svelte-74x4nw"></div> <form data-code-challenge-form="1" class="svelte-74x4nw"><img class="altcha-code-challenge-image svelte-74x4nw" alt=""> <input type="text" autocomplete="off" name="code" class="altcha-code-challenge-input svelte-74x4nw" required> <div class="altcha-code-challenge-buttons svelte-74x4nw"><div class="altcha-code-challenge-buttons-left svelte-74x4nw"><!> <button type="button" class="altcha-code-challenge-reload svelte-74x4nw"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="svelte-74x4nw"><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" class="svelte-74x4nw"></path></svg></button></div> <button type="submit" class="altcha-code-challenge-verify svelte-74x4nw"><!> </button></div> <!></form></div>'), no = /* @__PURE__ */ be('<div class="svelte-74x4nw"><!></div>'), lo = /* @__PURE__ */ be('<div class="svelte-74x4nw"><!></div>'), io = /* @__PURE__ */ be('<div class="altcha-error svelte-74x4nw"><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" class="svelte-74x4nw"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" class="svelte-74x4nw"></path></svg> <!></div>'), ao = /* @__PURE__ */ be('<div class="altcha-footer svelte-74x4nw"><div class="svelte-74x4nw"><!></div></div>'), oo = /* @__PURE__ */ be('<div class="altcha-anchor-arrow svelte-74x4nw"></div>'), so = /* @__PURE__ */ be('<!> <div class="altcha svelte-74x4nw"><div class="altcha-main svelte-74x4nw"><div><!> <input type="checkbox" class="svelte-74x4nw"></div> <label class="altcha-label svelte-74x4nw"><!></label> <!> <!> <!></div> <!> <!> <!></div>', 1);
1984
1984
  const uo = {
1985
- hash: "svelte-16ux7p0",
1986
- code: `.altcha.svelte-16ux7p0 {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.svelte-16ux7p0:focus-within {border-color:var(--altcha-color-border-focus, currentColor);}.altcha[data-floating].svelte-16ux7p0 {background:var(--altcha-color-base, white);display:none;filter:drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.2));left:-100%;position:fixed;top:-100%;width:var(--altcha-max-width, 260px);z-index:999999;}.altcha[data-floating=top].svelte-16ux7p0 .altcha-anchor-arrow:where(.svelte-16ux7p0) {border-bottom-color:transparent;border-top-color:var(--altcha-color-border, #a0a0a0);bottom:-12px;top:auto;}.altcha[data-floating=bottom].svelte-16ux7p0:focus-within::after {border-bottom-color:var(--altcha-color-border-focus, currentColor);}.altcha[data-floating=top].svelte-16ux7p0:focus-within::after {border-top-color:var(--altcha-color-border-focus, currentColor);}.altcha[data-floating].svelte-16ux7p0:not([data-state=unverified]) {display:block;}.altcha-anchor-arrow.svelte-16ux7p0 {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.svelte-16ux7p0 {align-items:center;display:flex;gap:0.4rem;padding:0.7rem;position:relative;}.altcha-code-challenge.svelte-16ux7p0 {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, 0.2));padding:0.5rem;position:absolute;top:2.5rem;z-index:9999999;}.altcha-code-challenge.svelte-16ux7p0 > form:where(.svelte-16ux7p0) {display:flex;flex-direction:column;gap:0.5rem;}.altcha-code-challenge-input.svelte-16ux7p0 {border:1px solid currentColor;border-radius:3px;box-sizing:border-box;outline:none;font-size:16px;padding:0.35rem;width:220px;}.altcha-code-challenge-input.svelte-16ux7p0:focus {outline:2px solid color-mix(in srgb, var(--altcha-color-active, #1D1DC9) 20%, transparent);}.altcha-code-challenge-input.svelte-16ux7p0:disabled {opacity:0.7;}.altcha-code-challenge-image.svelte-16ux7p0 {border:1px solid currentColor;border-radius:3px;box-sizing:border-box;object-fit:contain;height:50px;width:220px;}.altcha-code-challenge-audio.svelte-16ux7p0,
1987
- .altcha-code-challenge-reload.svelte-16ux7p0 {background:#efefef;border:0;border-radius:3px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0.35rem;}.altcha-code-challenge-audio.svelte-16ux7p0:disabled,
1988
- .altcha-code-challenge-reload.svelte-16ux7p0:disabled {opacity:0.7;pointer-events:none;}.altcha-code-challenge-audio.svelte-16ux7p0 > :where(.svelte-16ux7p0),
1989
- .altcha-code-challenge-reload.svelte-16ux7p0 > :where(.svelte-16ux7p0) {height:20px;width:20px;}.altcha-code-challenge-buttons.svelte-16ux7p0 {display:flex;justify-content:space-between;}.altcha-code-challenge-buttons-left.svelte-16ux7p0 {display:flex;gap:0.25rem;}.altcha-code-challenge-verify.svelte-16ux7p0 {align-items:center;background:var(--altcha-color-active, #1D1DC9);border:0;border-radius:3px;color:white;cursor:pointer;display:flex;gap:0.5rem;font-size:100%;padding:0.35rem 1rem;}.altcha-code-challenge-verify.svelte-16ux7p0:disabled {opacity:0.7;pointer-events:none;}.altcha-code-challenge-arrow.svelte-16ux7p0 {border:6px solid transparent;border-bottom-color:var(--altcha-color-border, currentColor);content:"";height:0;left:0.15rem;position:absolute;top:-12px;width:0;}.altcha[data-floating=top].svelte-16ux7p0 .altcha-code-challenge:where(.svelte-16ux7p0) {top:-150px;}.altcha[data-floating=top].svelte-16ux7p0 .altcha-code-challenge-arrow:where(.svelte-16ux7p0) {border-bottom-color:transparent;border-top-color:var(--altcha-color-border, currentColor);bottom:-12px;top:auto;}.altcha-label.svelte-16ux7p0 {cursor:pointer;flex-grow:1;}.altcha-logo.svelte-16ux7p0 {color:currentColor;opacity:0.7;}.altcha-logo.svelte-16ux7p0:hover {opacity:1;}.altcha-error.svelte-16ux7p0 {color:var(--altcha-color-error-text, #f23939);display:flex;font-size:0.85rem;gap:0.3rem;padding:0 0.7rem 0.7rem;}.altcha-footer.svelte-16ux7p0 {align-items:center;background-color:var(--altcha-color-footer-bg, transparent);display:flex;font-size:0.75rem;opacity:0.7;justify-content:end;padding:0.2rem 0.7rem;}.altcha-footer.svelte-16ux7p0:hover {opacity:1;}.altcha-footer.svelte-16ux7p0 a {color:currentColor;}.altcha-checkbox.svelte-16ux7p0 {display:flex;align-items:center;height:24px;width:24px;}.altcha-checkbox.svelte-16ux7p0 input:where(.svelte-16ux7p0) {width:18px;height:18px;margin:0;}.altcha-checkbox-verifying.svelte-16ux7p0 input:where(.svelte-16ux7p0) {appearance:none;pointer-events:none;height:0;width:0;}.altcha-spinner.svelte-16ux7p0 {
1990
- animation: svelte-16ux7p0-altcha-spinner 0.75s infinite linear;transform-origin:center;}
1985
+ hash: "svelte-74x4nw",
1986
+ code: `.altcha.svelte-74x4nw {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.svelte-74x4nw:focus-within {border-color:var(--altcha-color-border-focus, currentColor);}.altcha[data-floating].svelte-74x4nw {background:var(--altcha-color-base, white);display:none;filter:drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.2));left:-100%;position:fixed;top:-100%;width:var(--altcha-max-width, 260px);z-index:999999;}.altcha[data-floating=top].svelte-74x4nw .altcha-anchor-arrow:where(.svelte-74x4nw) {border-bottom-color:transparent;border-top-color:var(--altcha-color-border, #a0a0a0);bottom:-12px;top:auto;}.altcha[data-floating=bottom].svelte-74x4nw:focus-within::after {border-bottom-color:var(--altcha-color-border-focus, currentColor);}.altcha[data-floating=top].svelte-74x4nw:focus-within::after {border-top-color:var(--altcha-color-border-focus, currentColor);}.altcha[data-floating].svelte-74x4nw:not([data-state=unverified]) {display:block;}.altcha-anchor-arrow.svelte-74x4nw {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.svelte-74x4nw {align-items:center;display:flex;gap:0.4rem;padding:0.7rem;position:relative;}.altcha-code-challenge.svelte-74x4nw {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, 0.2));padding:0.5rem;position:absolute;top:2.5rem;z-index:9999999;}.altcha-code-challenge.svelte-74x4nw > form:where(.svelte-74x4nw) {display:flex;flex-direction:column;gap:0.5rem;}.altcha-code-challenge-input.svelte-74x4nw {border:1px solid currentColor;border-radius:3px;box-sizing:border-box;outline:none;font-size:16px;padding:0.35rem;width:220px;}.altcha-code-challenge-input.svelte-74x4nw:focus {outline:2px solid color-mix(in srgb, var(--altcha-color-active, #1D1DC9) 20%, transparent);}.altcha-code-challenge-input.svelte-74x4nw:disabled {opacity:0.7;}.altcha-code-challenge-image.svelte-74x4nw {background-color:white;border:1px solid currentColor;border-radius:3px;box-sizing:border-box;object-fit:contain;height:50px;width:220px;}.altcha-code-challenge-audio.svelte-74x4nw,
1987
+ .altcha-code-challenge-reload.svelte-74x4nw {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:0.35rem;}.altcha-code-challenge-audio.svelte-74x4nw:disabled,
1988
+ .altcha-code-challenge-reload.svelte-74x4nw:disabled {opacity:0.7;pointer-events:none;}.altcha-code-challenge-audio.svelte-74x4nw > :where(.svelte-74x4nw),
1989
+ .altcha-code-challenge-reload.svelte-74x4nw > :where(.svelte-74x4nw) {height:20px;width:20px;}.altcha-code-challenge-buttons.svelte-74x4nw {display:flex;justify-content:space-between;}.altcha-code-challenge-buttons-left.svelte-74x4nw {display:flex;gap:0.25rem;}.altcha-code-challenge-verify.svelte-74x4nw {align-items:center;background:var(--altcha-color-active, #1D1DC9);border:0;border-radius:3px;color:white;cursor:pointer;display:flex;gap:0.5rem;font-size:100%;padding:0.35rem 1rem;}.altcha-code-challenge-verify.svelte-74x4nw:disabled {opacity:0.7;pointer-events:none;}.altcha-code-challenge-arrow.svelte-74x4nw {border:6px solid transparent;border-bottom-color:var(--altcha-color-border, currentColor);content:"";height:0;left:0.15rem;position:absolute;top:-12px;width:0;}.altcha[data-floating=top].svelte-74x4nw .altcha-code-challenge:where(.svelte-74x4nw) {top:-150px;}.altcha[data-floating=top].svelte-74x4nw .altcha-code-challenge-arrow:where(.svelte-74x4nw) {border-bottom-color:transparent;border-top-color:var(--altcha-color-border, currentColor);bottom:-12px;top:auto;}.altcha-label.svelte-74x4nw {cursor:pointer;flex-grow:1;}.altcha-logo.svelte-74x4nw {color:currentColor;opacity:0.7;}.altcha-logo.svelte-74x4nw:hover {opacity:1;}.altcha-error.svelte-74x4nw {color:var(--altcha-color-error-text, #f23939);display:flex;font-size:0.85rem;gap:0.3rem;padding:0 0.7rem 0.7rem;}.altcha-footer.svelte-74x4nw {align-items:center;background-color:var(--altcha-color-footer-bg, transparent);display:flex;font-size:0.75rem;opacity:0.7;justify-content:end;padding:0.2rem 0.7rem;}.altcha-footer.svelte-74x4nw:hover {opacity:1;}.altcha-footer.svelte-74x4nw a {color:currentColor;}.altcha-checkbox.svelte-74x4nw {display:flex;align-items:center;height:24px;width:24px;}.altcha-checkbox.svelte-74x4nw input:where(.svelte-74x4nw) {width:18px;height:18px;margin:0;}.altcha-checkbox-verifying.svelte-74x4nw input:where(.svelte-74x4nw) {appearance:none;pointer-events:none;height:0;width:0;}.altcha-spinner.svelte-74x4nw {
1990
+ animation: svelte-74x4nw-altcha-spinner 0.75s infinite linear;transform-origin:center;}
1991
1991
 
1992
- @keyframes svelte-16ux7p0-altcha-spinner {
1992
+ @keyframes svelte-74x4nw-altcha-spinner {
1993
1993
  100% {
1994
1994
  transform: rotate(360deg);
1995
1995
  }
1996
1996
  }`
1997
1997
  };
1998
1998
  function co(e, t) {
1999
- var mn, bn;
2000
- hi(t, !0), Ca(e, uo);
2001
- let r = R(t, "auto", 7, void 0), i = R(t, "blockspam", 7, void 0), l = R(t, "challengeurl", 7, void 0), a = R(t, "challengejson", 7, void 0), s = R(t, "credentials", 7, void 0), c = R(t, "customfetch", 7, void 0), f = R(t, "debug", 7, !1), d = R(t, "delay", 7, 0), _ = R(t, "disableautofocus", 7, !1), v = R(t, "expire", 7, void 0), h = R(t, "floating", 7, void 0), b = R(t, "floatinganchor", 7, void 0), k = R(t, "floatingoffset", 7, void 0), T = R(t, "floatingpersist", 7, !1), F = R(t, "hidefooter", 7, !1), ue = R(t, "hidelogo", 7, !1), ie = R(t, "id", 7, void 0), J = R(t, "language", 7, void 0), ce = R(t, "name", 7, "altcha"), ye = R(t, "maxnumber", 7, 1e6), j = R(t, "mockerror", 7, !1), Q = R(t, "obfuscated", 7, void 0), Ve = R(t, "plugins", 7, void 0), bt = R(t, "refetchonexpire", 7, !0), Je = R(t, "sentinel", 7, void 0), xe = R(t, "spamfilter", 7, !1), lt = R(t, "strings", 7, void 0), he = R(t, "test", 7, !1), ee = R(t, "verifyurl", 7, void 0), at = R(t, "workers", 23, () => Math.min(16, navigator.hardwareConcurrency || 8)), wt = R(t, "workerurl", 7, void 0);
2002
- const Or = ["SHA-256", "SHA-384", "SHA-512"], Ai = "https://altcha.org/", Me = (n, u) => {
1999
+ var mn, pn;
2000
+ hl(t, !0), Ca(e, uo);
2001
+ let r = R(t, "auto", 7, void 0), l = R(t, "blockspam", 7, void 0), i = R(t, "challengeurl", 7, void 0), a = R(t, "challengejson", 7, void 0), s = R(t, "credentials", 7, void 0), c = R(t, "customfetch", 7, void 0), f = R(t, "debug", 7, !1), d = R(t, "delay", 7, 0), _ = R(t, "disableautofocus", 7, !1), v = R(t, "expire", 7, void 0), h = R(t, "floating", 7, void 0), p = R(t, "floatinganchor", 7, void 0), k = R(t, "floatingoffset", 7, void 0), T = R(t, "floatingpersist", 7, !1), F = R(t, "hidefooter", 7, !1), ue = R(t, "hidelogo", 7, !1), le = R(t, "id", 7, void 0), J = R(t, "language", 7, void 0), ce = R(t, "name", 7, "altcha"), ye = R(t, "maxnumber", 7, 1e6), j = R(t, "mockerror", 7, !1), Q = R(t, "obfuscated", 7, void 0), Ve = R(t, "plugins", 7, void 0), pt = R(t, "refetchonexpire", 7, !0), Je = R(t, "sentinel", 7, void 0), xe = R(t, "spamfilter", 7, !1), it = R(t, "strings", 7, void 0), he = R(t, "test", 7, !1), ee = R(t, "verifyurl", 7, void 0), at = R(t, "workers", 23, () => Math.min(16, navigator.hardwareConcurrency || 8)), bt = R(t, "workerurl", 7, void 0);
2002
+ const Or = ["SHA-256", "SHA-384", "SHA-512"], Al = "https://altcha.org/", Me = (n, u) => {
2003
2003
  t.$$host.dispatchEvent(new CustomEvent(n, { detail: u }));
2004
- }, Fr = (bn = (mn = document.documentElement.lang) == null ? void 0 : mn.split("-")) == null ? void 0 : bn[0], or = /* @__PURE__ */ He(() => {
2004
+ }, Fr = (pn = (mn = document.documentElement.lang) == null ? void 0 : mn.split("-")) == null ? void 0 : pn[0], or = /* @__PURE__ */ He(() => {
2005
2005
  var n;
2006
- return l() && new URL(l(), location.origin).host.endsWith(".altcha.org") && !!((n = l()) != null && n.includes("apiKey=ckey_"));
2007
- }), sr = /* @__PURE__ */ He(() => a() ? Xr(a()) : void 0), Ri = /* @__PURE__ */ He(() => lt() ? Xr(lt()) : {}), L = /* @__PURE__ */ He(() => ({
2006
+ return i() && new URL(i(), location.origin).host.endsWith(".altcha.org") && !!((n = i()) != null && n.includes("apiKey=ckey_"));
2007
+ }), sr = /* @__PURE__ */ He(() => a() ? Xr(a()) : void 0), Rl = /* @__PURE__ */ He(() => it() ? Xr(it()) : {}), L = /* @__PURE__ */ He(() => ({
2008
2008
  ...jr(),
2009
- ...o(Ri)
2010
- })), Vr = /* @__PURE__ */ He(() => `${ie() || ce()}_checkbox_${Math.round(Math.random() * 1e8)}`);
2009
+ ...o(Rl)
2010
+ })), Vr = /* @__PURE__ */ He(() => `${le() || ce()}_checkbox_${Math.round(Math.random() * 1e8)}`);
2011
2011
  let yt = oe(!1), B = oe(null), I = oe(V(x.UNVERIFIED)), te = oe(void 0), xt = oe(null), Ue = oe(null), ur = oe(null), ot = oe(null), M = oe(null), Ke = oe(null), Ee = null, H = oe(null), Xe = oe(!1), je = [], cr = oe(!1), $e = oe(null);
2012
2012
  xr(() => {
2013
- Ui(o(Ke));
2013
+ Ul(o(Ke));
2014
2014
  }), xr(() => {
2015
- ji(o(I));
2015
+ jl(o(I));
2016
2016
  }), Da(() => {
2017
- Ii(), o(M) && (o(M).removeEventListener("submit", Wr), o(M).removeEventListener("reset", Zr), o(M).removeEventListener("focusin", Gr), w(M, null)), Ee && (clearTimeout(Ee), Ee = null), document.removeEventListener("click", Hr), document.removeEventListener("scroll", Yr), window.removeEventListener("resize", Kr);
2018
- }), xi(() => {
2017
+ Il(), o(M) && (o(M).removeEventListener("submit", Wr), o(M).removeEventListener("reset", Zr), o(M).removeEventListener("focusin", Gr), b(M, null)), Ee && (clearTimeout(Ee), Ee = null), document.removeEventListener("click", Hr), document.removeEventListener("scroll", Yr), window.removeEventListener("resize", Kr);
2018
+ }), xl(() => {
2019
2019
  var n;
2020
- $("mounted", "2.0.0-beta.6"), $("workers", at()), Di(), $("plugins", je.length ? je.map((u) => u.constructor.pluginName).join(", ") : "none"), he() && $("using test mode"), v() && fr(v()), r() !== void 0 && $("auto", r()), h() !== void 0 && en(h()), w(M, V((n = o(te)) == null ? void 0 : n.closest("form"))), o(M) && (o(M).addEventListener("submit", Wr, { capture: !0 }), o(M).addEventListener("reset", Zr), (r() === "onfocus" || T() === "focus") && o(M).addEventListener("focusin", Gr)), r() === "onload" && (Q() ? Et() : Se()), o(or) && (F() || ue()) && $("Attributes hidefooter and hidelogo ignored because usage with free API Keys requires attribution."), requestAnimationFrame(() => {
2020
+ $("mounted", "2.0.0-beta.7"), $("workers", at()), Dl(), $("plugins", je.length ? je.map((u) => u.constructor.pluginName).join(", ") : "none"), he() && $("using test mode"), v() && fr(v()), r() !== void 0 && $("auto", r()), h() !== void 0 && en(h()), b(M, V((n = o(te)) == null ? void 0 : n.closest("form"))), o(M) && (o(M).addEventListener("submit", Wr, { capture: !0 }), o(M).addEventListener("reset", Zr), (r() === "onfocus" || T() === "focus") && o(M).addEventListener("focusin", Gr)), r() === "onload" && (Q() ? Et() : Se()), o(or) && (F() || ue()) && $("Attributes hidefooter and hidelogo ignored because usage with free API Keys requires attribution."), requestAnimationFrame(() => {
2021
2021
  Me("load");
2022
2022
  });
2023
2023
  });
@@ -2032,14 +2032,14 @@ function co(e, t) {
2032
2032
  took: u.took
2033
2033
  }));
2034
2034
  }
2035
- function Ii() {
2035
+ function Il() {
2036
2036
  for (const n of je)
2037
2037
  n.destroy();
2038
2038
  }
2039
2039
  function Mr() {
2040
- l() && bt() && o(I) === x.VERIFIED ? Se() : st(x.EXPIRED, o(L).expired);
2040
+ i() && pt() && o(I) === x.VERIFIED ? Se() : st(x.EXPIRED, o(L).expired);
2041
2041
  }
2042
- async function $i() {
2042
+ async function $l() {
2043
2043
  var n;
2044
2044
  if (j())
2045
2045
  throw $("mocking error"), new Error("Mocked error.");
@@ -2048,22 +2048,22 @@ function co(e, t) {
2048
2048
  if (he())
2049
2049
  return $("generating test challenge", { test: he() }), Ma(typeof he() != "boolean" ? +he() : void 0);
2050
2050
  {
2051
- if (!l() && o(M)) {
2051
+ if (!i() && o(M)) {
2052
2052
  const E = o(M).getAttribute("action");
2053
- E != null && E.includes("/form/") && l(E + "/altcha");
2053
+ E != null && E.includes("/form/") && i(E + "/altcha");
2054
2054
  }
2055
- if (!l())
2055
+ if (!i())
2056
2056
  throw new Error("Attribute challengeurl not set.");
2057
- $("fetching challenge from", l());
2057
+ $("fetching challenge from", i());
2058
2058
  const u = {
2059
2059
  credentials: typeof s() == "boolean" ? "include" : s(),
2060
2060
  headers: xe() !== !1 ? { "x-altcha-spam-filter": "1" } : {}
2061
- }, g = await Ur()(l(), u);
2061
+ }, g = await Ur()(i(), u);
2062
2062
  if (!g || !(g instanceof Response))
2063
2063
  throw new Error("Custom fetch function did not return a response.");
2064
2064
  if (g.status !== 200)
2065
2065
  throw new Error(`Server responded with ${g.status}.`);
2066
- const m = g.headers.get("X-Altcha-Config"), p = await g.json(), A = new URLSearchParams((n = p.salt.split("?")) == null ? void 0 : n[1]), y = A.get("expires") || A.get("expire");
2066
+ const m = g.headers.get("X-Altcha-Config"), w = await g.json(), A = new URLSearchParams((n = w.salt.split("?")) == null ? void 0 : n[1]), y = A.get("expires") || A.get("expire");
2067
2067
  if (y) {
2068
2068
  const E = new Date(+y * 1e3), q = isNaN(E.getTime()) ? 0 : E.getTime() - Date.now();
2069
2069
  q > 0 && fr(q);
@@ -2075,10 +2075,10 @@ function co(e, t) {
2075
2075
  } catch (E) {
2076
2076
  $("unable to configure from X-Altcha-Config", E);
2077
2077
  }
2078
- return p;
2078
+ return w;
2079
2079
  }
2080
2080
  }
2081
- function Si(n) {
2081
+ function Sl(n) {
2082
2082
  var g, m;
2083
2083
  const u = (g = o(M)) == null ? void 0 : g.querySelector(typeof n == "string" ? `input[name="${n}"]` : 'input[type="email"]:not([data-no-spamfilter])');
2084
2084
  return ((m = u == null ? void 0 : u.value) == null ? void 0 : m.slice(u.value.indexOf("@"))) || void 0;
@@ -2099,12 +2099,12 @@ function co(e, t) {
2099
2099
  ...navigator.languages
2100
2100
  ]) {
2101
2101
  const u = Object.keys(globalThis.altchaI18n).map((m) => m.toLowerCase()), g = n.reduce(
2102
- (m, p) => (p = p.toLowerCase(), m || (globalThis.altchaI18n[p] ? p : null) || u.find((A) => p.split("-")[0] === A.split("-")[0]) || null),
2102
+ (m, w) => (w = w.toLowerCase(), m || (globalThis.altchaI18n[w] ? w : null) || u.find((A) => w.split("-")[0] === A.split("-")[0]) || null),
2103
2103
  null
2104
2104
  );
2105
2105
  return globalThis.altchaI18n[g || "en"];
2106
2106
  }
2107
- function Ni() {
2107
+ function Nl() {
2108
2108
  return xe() === "ipAddress" ? {
2109
2109
  blockedCountries: void 0,
2110
2110
  classifier: void 0,
@@ -2134,8 +2134,8 @@ function co(e, t) {
2134
2134
  return [
2135
2135
  ...((g = o(M)) == null ? void 0 : g.querySelectorAll(n != null && n.length ? n.map((m) => `input[name="${m}"]`).join(", ") : 'input[type="text"]:not([data-no-spamfilter]), textarea:not([data-no-spamfilter])')) || []
2136
2136
  ].reduce(
2137
- (m, p) => {
2138
- const A = p.name, y = p.value;
2137
+ (m, w) => {
2138
+ const A = w.name, y = w.value;
2139
2139
  return A && y && (m[A] = /\n/.test(y) ? y.replace(new RegExp("(?<!\\r)\\n", "g"), `\r
2140
2140
  `) : y), m;
2141
2141
  },
@@ -2143,13 +2143,13 @@ function co(e, t) {
2143
2143
  );
2144
2144
  }
2145
2145
  function Br(n, u) {
2146
- const g = new URL(l() || location.origin), m = new URL(n, g);
2146
+ const g = new URL(i() || location.origin), m = new URL(n, g);
2147
2147
  if (m.search || (m.search = g.search), u)
2148
- for (const p in u)
2149
- u[p] !== void 0 && u[p] !== null && m.searchParams.set(p, u[p]);
2148
+ for (const w in u)
2149
+ u[w] !== void 0 && u[w] !== null && m.searchParams.set(w, u[w]);
2150
2150
  return m.toString();
2151
2151
  }
2152
- function Di() {
2152
+ function Dl() {
2153
2153
  const n = Ve() !== void 0 ? Ve().split(",") : void 0;
2154
2154
  for (const u of globalThis.altchaPlugins)
2155
2155
  (!n || n.includes(u.pluginName)) && je.push(new u({
@@ -2170,47 +2170,47 @@ function co(e, t) {
2170
2170
  function $(...n) {
2171
2171
  (f() || n.some((u) => u instanceof Error)) && console[n[0] instanceof Error ? "error" : "log"]("ALTCHA", `[name=${ce()}]`, ...n);
2172
2172
  }
2173
- function Ti() {
2174
- w(H, V(X.PAUSED));
2173
+ function Tl() {
2174
+ b(H, V(X.PAUSED));
2175
2175
  }
2176
- function Li(n) {
2177
- w(H, V(X.ERROR));
2176
+ function Ll(n) {
2177
+ b(H, V(X.ERROR));
2178
2178
  }
2179
- function Pi() {
2180
- w(H, V(X.READY));
2179
+ function Pl() {
2180
+ b(H, V(X.READY));
2181
2181
  }
2182
- function Oi() {
2183
- w(H, V(X.LOADING));
2182
+ function Ol() {
2183
+ b(H, V(X.LOADING));
2184
2184
  }
2185
- function Fi() {
2186
- w(H, V(X.PLAYING));
2185
+ function Fl() {
2186
+ b(H, V(X.PLAYING));
2187
2187
  }
2188
- function Vi() {
2189
- w(H, V(X.PAUSED));
2188
+ function Vl() {
2189
+ b(H, V(X.PAUSED));
2190
2190
  }
2191
- function Mi(n) {
2191
+ function Ml(n) {
2192
2192
  var u;
2193
2193
  if (n.preventDefault(), n.stopPropagation(), o(B)) {
2194
2194
  const g = new FormData(n.target), m = String(g.get("code"));
2195
2195
  if ((u = ee()) != null && u.startsWith("javascript:")) {
2196
- const p = ee().replace(/^javascript:/, "");
2197
- if ($(`calling ${p} function instead of verifyurl`), !(p in globalThis))
2198
- throw new Error(`Global function "${p}" is undefined.`);
2199
- return globalThis[p]({
2196
+ const w = ee().replace(/^javascript:/, "");
2197
+ if ($(`calling ${w} function instead of verifyurl`), !(w in globalThis))
2198
+ throw new Error(`Global function "${w}" is undefined.`);
2199
+ return globalThis[w]({
2200
2200
  challenge: o(B).challenge,
2201
2201
  code: m,
2202
2202
  solution: o(B).solution
2203
2203
  });
2204
2204
  }
2205
- w(Xe, !0), Qr(Lt(o(B).challenge, o(B).solution), m).then(({ reason: p, verified: A }) => {
2206
- A ? (w(B, null), Ce(x.VERIFIED), $("verified"), br().then(() => {
2205
+ b(Xe, !0), Qr(Lt(o(B).challenge, o(B).solution), m).then(({ reason: w, verified: A }) => {
2206
+ A ? (b(B, null), Ce(x.VERIFIED), $("verified"), pr().then(() => {
2207
2207
  var y;
2208
2208
  (y = o(ur)) == null || y.focus(), Me("verified", { payload: o($e) });
2209
- })) : (st(), w(Ke, V(p || "Verification failed")));
2210
- }).catch((p) => {
2211
- w(B, null), Ce(x.ERROR, p), $("sentinel verification failed:", p);
2209
+ })) : (st(), b(Ke, V(w || "Verification failed")));
2210
+ }).catch((w) => {
2211
+ b(B, null), Ce(x.ERROR, w), $("sentinel verification failed:", w);
2212
2212
  }).finally(() => {
2213
- w(Xe, !1);
2213
+ b(Xe, !1);
2214
2214
  });
2215
2215
  }
2216
2216
  }
@@ -2222,7 +2222,7 @@ function co(e, t) {
2222
2222
  function Yr() {
2223
2223
  h() && o(I) !== x.UNVERIFIED && Ct();
2224
2224
  }
2225
- function Ui(n) {
2225
+ function Ul(n) {
2226
2226
  for (const u of je)
2227
2227
  typeof u.onErrorChange == "function" && u.onErrorChange(o(Ke));
2228
2228
  }
@@ -2232,8 +2232,8 @@ function co(e, t) {
2232
2232
  function Wr(n) {
2233
2233
  const u = n.target, g = n.submitter;
2234
2234
  u != null && u.hasAttribute("data-code-challenge-form") || (o(M) && r() === "onsubmit" ? o(I) === x.UNVERIFIED ? (n.preventDefault(), n.stopPropagation(), Se().then(() => {
2235
- var p;
2236
- g && ["INPUT", "BUTTON"].includes(g.tagName) && g.getAttribute("name") ? g.click() : (p = o(M)) == null || p.requestSubmit();
2235
+ var w;
2236
+ g && ["INPUT", "BUTTON"].includes(g.tagName) && g.getAttribute("name") ? g.click() : (w = o(M)) == null || w.requestSubmit();
2237
2237
  })) : o(I) !== x.VERIFIED && (n.preventDefault(), n.stopPropagation(), o(I) === x.VERIFYING && zr()) : o(M) && h() && r() === "off" && o(I) === x.UNVERIFIED && (n.preventDefault(), n.stopPropagation(), dr()));
2238
2238
  }
2239
2239
  function Zr() {
@@ -2243,17 +2243,17 @@ function co(e, t) {
2243
2243
  o(I) === x.VERIFYING && o(L).waitAlert && alert(o(L).waitAlert);
2244
2244
  }
2245
2245
  function Jr() {
2246
- o(Ue) ? o(Ue).paused ? (o(Ue).currentTime = 0, o(Ue).play()) : o(Ue).pause() : (w(cr, !0), requestAnimationFrame(() => {
2246
+ o(Ue) ? o(Ue).paused ? (o(Ue).currentTime = 0, o(Ue).play()) : o(Ue).pause() : (b(cr, !0), requestAnimationFrame(() => {
2247
2247
  var n;
2248
2248
  (n = o(Ue)) == null || n.play();
2249
2249
  }));
2250
2250
  }
2251
- function ji(n) {
2251
+ function jl(n) {
2252
2252
  for (const u of je)
2253
2253
  typeof u.onStateChange == "function" && u.onStateChange(o(I));
2254
2254
  h() && o(I) !== x.UNVERIFIED && requestAnimationFrame(() => {
2255
2255
  Ct();
2256
- }), w(yt, o(I) === x.VERIFIED);
2256
+ }), b(yt, o(I) === x.VERIFIED);
2257
2257
  }
2258
2258
  function Kr() {
2259
2259
  h() && Ct();
@@ -2261,25 +2261,25 @@ function co(e, t) {
2261
2261
  function Xr(n) {
2262
2262
  return JSON.parse(n);
2263
2263
  }
2264
- async function qi(n) {
2264
+ async function ql(n) {
2265
2265
  if (!ee())
2266
2266
  throw new Error("Attribute verifyurl not set.");
2267
2267
  $("requesting server verification from", ee());
2268
2268
  const u = { payload: n };
2269
2269
  if (xe() !== !1) {
2270
2270
  const {
2271
- blockedCountries: p,
2271
+ blockedCountries: w,
2272
2272
  classifier: A,
2273
2273
  disableRules: y,
2274
2274
  email: E,
2275
2275
  expectedLanguages: q,
2276
2276
  expectedCountries: K,
2277
- fields: le,
2277
+ fields: ie,
2278
2278
  ipAddress: qe,
2279
2279
  text: vr,
2280
2280
  timeZone: Ft
2281
- } = Ni();
2282
- u.blockedCountries = p, u.classifier = A, u.disableRules = y, u.email = E === !1 ? void 0 : Si(E), u.expectedCountries = K, u.expectedLanguages = q || (Fr ? [Fr] : void 0), u.fields = le === !1 ? void 0 : qr(le), u.ipAddress = qe === !1 ? void 0 : qe || "auto", u.text = vr, u.timeZone = Ft === !1 ? void 0 : Ft || Pn();
2281
+ } = Nl();
2282
+ u.blockedCountries = w, u.classifier = A, u.disableRules = y, u.email = E === !1 ? void 0 : Sl(E), u.expectedCountries = K, u.expectedLanguages = q || (Fr ? [Fr] : void 0), u.fields = ie === !1 ? void 0 : qr(ie), u.ipAddress = qe === !1 ? void 0 : qe || "auto", u.text = vr, u.timeZone = Ft === !1 ? void 0 : Ft || Pn();
2283
2283
  }
2284
2284
  const g = await Ur()(ee(), {
2285
2285
  body: JSON.stringify(u),
@@ -2291,7 +2291,7 @@ function co(e, t) {
2291
2291
  if (g.status !== 200)
2292
2292
  throw new Error(`Server responded with ${g.status}.`);
2293
2293
  const m = await g.json();
2294
- if (m != null && m.payload && w($e, V(m.payload)), Me("serververification", m), i() && m.classification === "BAD")
2294
+ if (m != null && m.payload && b($e, V(m.payload)), Me("serververification", m), l() && m.classification === "BAD")
2295
2295
  throw new Error("SpamFilter returned negative classification.");
2296
2296
  }
2297
2297
  async function Qr(n, u) {
@@ -2307,8 +2307,8 @@ function co(e, t) {
2307
2307
  });
2308
2308
  if (m.status !== 200)
2309
2309
  throw new Error(`Server responded with ${m.status}.`);
2310
- const p = await m.json();
2311
- return p != null && p.payload && w($e, V(p.payload)), Me("sentinelverification", p), p;
2310
+ const w = await m.json();
2311
+ return w != null && w.payload && b($e, V(w.payload)), Me("sentinelverification", w), w;
2312
2312
  }
2313
2313
  function fr(n) {
2314
2314
  $("expire", n), Ee && (clearTimeout(Ee), Ee = null), n < 1 ? Mr() : Ee = setTimeout(Mr, n);
@@ -2332,7 +2332,7 @@ function co(e, t) {
2332
2332
  let u = null;
2333
2333
  if ("Worker" in window) {
2334
2334
  try {
2335
- u = await Bi(n, n.maxNumber || n.maxnumber || ye());
2335
+ u = await Bl(n, n.maxNumber || n.maxnumber || ye());
2336
2336
  } catch (g) {
2337
2337
  $(g);
2338
2338
  }
@@ -2348,22 +2348,22 @@ function co(e, t) {
2348
2348
  solution: await Ua(n.challenge, n.salt, n.algorithm, n.maxNumber || n.maxnumber || ye()).promise
2349
2349
  };
2350
2350
  }
2351
- async function Bi(n, u = typeof he() == "number" ? he() : n.maxNumber || n.maxnumber || ye(), g = Math.ceil(at())) {
2351
+ async function Bl(n, u = typeof he() == "number" ? he() : n.maxNumber || n.maxnumber || ye(), g = Math.ceil(at())) {
2352
2352
  const m = [];
2353
2353
  g = Math.min(16, u, Math.max(1, g));
2354
2354
  for (let y = 0; y < g; y++)
2355
- m.push(altchaCreateWorker(wt()));
2356
- const p = Math.ceil(u / g), A = await Promise.all(m.map((y, E) => {
2357
- const q = E * p;
2355
+ m.push(altchaCreateWorker(bt()));
2356
+ const w = Math.ceil(u / g), A = await Promise.all(m.map((y, E) => {
2357
+ const q = E * w;
2358
2358
  return new Promise((K) => {
2359
- y.addEventListener("message", (le) => {
2360
- if (le.data)
2359
+ y.addEventListener("message", (ie) => {
2360
+ if (ie.data)
2361
2361
  for (const qe of m)
2362
2362
  qe !== y && qe.postMessage({ type: "abort" });
2363
- K(le.data);
2363
+ K(ie.data);
2364
2364
  }), y.postMessage({
2365
2365
  payload: n,
2366
- max: q + p,
2366
+ max: q + w,
2367
2367
  start: q,
2368
2368
  type: "work"
2369
2369
  });
@@ -2387,18 +2387,18 @@ function co(e, t) {
2387
2387
  return n.clarify();
2388
2388
  }
2389
2389
  function nn(n) {
2390
- n.obfuscated !== void 0 && Q(n.obfuscated), n.auto !== void 0 && (r(n.auto), r() === "onload" && (Q() ? Et() : Se())), n.blockspam !== void 0 && i(!!n.blockspam), n.customfetch !== void 0 && c(n.customfetch), n.floatinganchor !== void 0 && b(n.floatinganchor), n.delay !== void 0 && d(n.delay), n.floatingoffset !== void 0 && k(n.floatingoffset), n.floating !== void 0 && en(n.floating), n.expire !== void 0 && (fr(n.expire), v(n.expire)), n.challenge && (a(typeof n.challenge == "string" ? n.challenge : JSON.stringify(n.challenge)), tn(o(sr))), n.challengeurl !== void 0 && l(n.challengeurl), n.debug !== void 0 && f(!!n.debug), n.hidefooter !== void 0 && F(!!n.hidefooter), n.hidelogo !== void 0 && ue(!!n.hidelogo), n.language !== void 0 && lt(jr([n.language])), n.maxnumber !== void 0 && ye(+n.maxnumber), n.mockerror !== void 0 && j(!!n.mockerror), n.name !== void 0 && ce(n.name), n.refetchonexpire !== void 0 && bt(!!n.refetchonexpire), n.sentinel !== void 0 && typeof n.sentinel == "object" && Je(n.sentinel), n.spamfilter !== void 0 && xe(typeof n.spamfilter == "object" ? n.spamfilter : !!n.spamfilter), n.strings && lt(typeof n.strings == "string" ? n.strings : JSON.stringify(n.strings)), n.test !== void 0 && he(typeof n.test == "number" ? n.test : !!n.test), n.verifyurl !== void 0 && ee(n.verifyurl), n.workers !== void 0 && at(+n.workers), n.workerurl !== void 0 && wt(n.workerurl);
2390
+ n.obfuscated !== void 0 && Q(n.obfuscated), n.auto !== void 0 && (r(n.auto), r() === "onload" && (Q() ? Et() : Se())), n.blockspam !== void 0 && l(!!n.blockspam), n.customfetch !== void 0 && c(n.customfetch), n.floatinganchor !== void 0 && p(n.floatinganchor), n.delay !== void 0 && d(n.delay), n.floatingoffset !== void 0 && k(n.floatingoffset), n.floating !== void 0 && en(n.floating), n.expire !== void 0 && (fr(n.expire), v(n.expire)), n.challenge && (a(typeof n.challenge == "string" ? n.challenge : JSON.stringify(n.challenge)), tn(o(sr))), n.challengeurl !== void 0 && i(n.challengeurl), n.debug !== void 0 && f(!!n.debug), n.hidefooter !== void 0 && F(!!n.hidefooter), n.hidelogo !== void 0 && ue(!!n.hidelogo), n.language !== void 0 && it(jr([n.language])), n.maxnumber !== void 0 && ye(+n.maxnumber), n.mockerror !== void 0 && j(!!n.mockerror), n.name !== void 0 && ce(n.name), n.refetchonexpire !== void 0 && pt(!!n.refetchonexpire), n.sentinel !== void 0 && typeof n.sentinel == "object" && Je(n.sentinel), n.spamfilter !== void 0 && xe(typeof n.spamfilter == "object" ? n.spamfilter : !!n.spamfilter), n.strings && it(typeof n.strings == "string" ? n.strings : JSON.stringify(n.strings)), n.test !== void 0 && he(typeof n.test == "number" ? n.test : !!n.test), n.verifyurl !== void 0 && ee(n.verifyurl), n.workers !== void 0 && at(+n.workers), n.workerurl !== void 0 && bt(n.workerurl);
2391
2391
  }
2392
2392
  function ln() {
2393
2393
  return {
2394
2394
  auto: r(),
2395
- blockspam: i(),
2396
- challengeurl: l(),
2395
+ blockspam: l(),
2396
+ challengeurl: i(),
2397
2397
  debug: f(),
2398
2398
  delay: d(),
2399
2399
  expire: v(),
2400
2400
  floating: h(),
2401
- floatinganchor: b(),
2401
+ floatinganchor: p(),
2402
2402
  floatingoffset: k(),
2403
2403
  hidefooter: F(),
2404
2404
  hidelogo: ue(),
@@ -2406,19 +2406,19 @@ function co(e, t) {
2406
2406
  maxnumber: ye(),
2407
2407
  mockerror: j(),
2408
2408
  obfuscated: Q(),
2409
- refetchonexpire: bt(),
2409
+ refetchonexpire: pt(),
2410
2410
  spamfilter: xe(),
2411
2411
  strings: o(L),
2412
2412
  test: he(),
2413
2413
  verifyurl: ee(),
2414
2414
  workers: at(),
2415
- workerurl: wt()
2415
+ workerurl: bt()
2416
2416
  };
2417
2417
  }
2418
2418
  function an() {
2419
2419
  return o(ot);
2420
2420
  }
2421
- function Hi(n) {
2421
+ function Hl(n) {
2422
2422
  return je.find((u) => u.constructor.pluginName === n);
2423
2423
  }
2424
2424
  function on() {
@@ -2430,9 +2430,9 @@ function co(e, t) {
2430
2430
  function Ct(n = 20) {
2431
2431
  var u;
2432
2432
  if (o(te))
2433
- if (o(ot) || w(ot, V((b() ? document.querySelector(b()) : (u = o(M)) == null ? void 0 : u.querySelector('input[type="submit"], button[type="submit"], button:not([type="button"]):not([type="reset"])')) || o(M))), o(ot)) {
2434
- const g = parseInt(k(), 10) || 12, m = o(ot).getBoundingClientRect(), p = o(te).getBoundingClientRect(), A = document.documentElement.clientHeight, y = document.documentElement.clientWidth, E = h() === "auto" ? m.bottom + p.height + g + n > A : h() === "top", q = Math.max(n, Math.min(y - n - p.width, m.left + m.width / 2 - p.width / 2));
2435
- if (E ? o(te).style.top = `${m.top - (p.height + g)}px` : o(te).style.top = `${m.bottom + g}px`, o(te).style.left = `${q}px`, o(te).setAttribute("data-floating", E ? "top" : "bottom"), o(xt)) {
2433
+ if (o(ot) || b(ot, V((p() ? document.querySelector(p()) : (u = o(M)) == null ? void 0 : u.querySelector('input[type="submit"], button[type="submit"], button:not([type="button"]):not([type="reset"])')) || o(M))), o(ot)) {
2434
+ const g = parseInt(k(), 10) || 12, m = o(ot).getBoundingClientRect(), w = o(te).getBoundingClientRect(), A = document.documentElement.clientHeight, y = document.documentElement.clientWidth, E = h() === "auto" ? m.bottom + w.height + g + n > A : h() === "top", q = Math.max(n, Math.min(y - n - w.width, m.left + m.width / 2 - w.width / 2));
2435
+ if (E ? o(te).style.top = `${m.top - (w.height + g)}px` : o(te).style.top = `${m.bottom + g}px`, o(te).style.left = `${q}px`, o(te).setAttribute("data-floating", E ? "top" : "bottom"), o(xt)) {
2436
2436
  const K = o(xt).getBoundingClientRect();
2437
2437
  o(xt).style.left = m.left - q + m.width / 2 - K.width / 2 + "px";
2438
2438
  }
@@ -2440,13 +2440,13 @@ function co(e, t) {
2440
2440
  $("unable to find floating anchor element");
2441
2441
  }
2442
2442
  function st(n = x.UNVERIFIED, u = null) {
2443
- Ee && (clearTimeout(Ee), Ee = null), w(yt, !1), w($e, null), w(B, null), w(cr, !1), w(H, null), Ce(n, u);
2443
+ Ee && (clearTimeout(Ee), Ee = null), b(yt, !1), b($e, null), b(B, null), b(cr, !1), b(H, null), Ce(n, u);
2444
2444
  }
2445
2445
  function un(n) {
2446
- w(ot, V(n));
2446
+ b(ot, V(n));
2447
2447
  }
2448
2448
  function Ce(n, u = null) {
2449
- w(I, V(n)), w(Ke, V(u)), Me("statechange", {
2449
+ b(I, V(n)), b(Ke, V(u)), Me("statechange", {
2450
2450
  payload: o($e),
2451
2451
  state: o(I)
2452
2452
  });
@@ -2455,25 +2455,25 @@ function co(e, t) {
2455
2455
  o(te).style.display = "block", h() && Ct();
2456
2456
  }
2457
2457
  async function Se() {
2458
- return st(x.VERIFYING), await new Promise((n) => setTimeout(n, d() || 0)), $i().then((n) => (tn(n), $("challenge", n), rn(n))).then(({ data: n, solution: u }) => {
2458
+ return st(x.VERIFYING), await new Promise((n) => setTimeout(n, d() || 0)), $l().then((n) => (tn(n), $("challenge", n), rn(n))).then(({ data: n, solution: u }) => {
2459
2459
  var g;
2460
2460
  if ($("solution", u), !u || n && "challenge" in n && !("clearText" in u))
2461
2461
  if ((u == null ? void 0 : u.number) !== void 0 && "challenge" in n)
2462
2462
  if (ee() && "codeChallenge" in n)
2463
- ((g = document.activeElement) == null ? void 0 : g.tagName) === "INPUT" && _() === !1 && document.activeElement.blur(), w(B, V({ challenge: n, solution: u }));
2463
+ ((g = document.activeElement) == null ? void 0 : g.tagName) === "INPUT" && _() === !1 && document.activeElement.blur(), b(B, V({ challenge: n, solution: u }));
2464
2464
  else {
2465
2465
  if (ee() && Je() !== void 0)
2466
2466
  return Qr(Lt(n, u));
2467
2467
  if (ee())
2468
- return qi(Lt(n, u));
2469
- w($e, V(Lt(n, u))), $("payload", o($e));
2468
+ return ql(Lt(n, u));
2469
+ b($e, V(Lt(n, u))), $("payload", o($e));
2470
2470
  }
2471
2471
  else
2472
2472
  throw $("Unable to find a solution. Ensure that the 'maxnumber' attribute is greater than the randomly generated number."), new Error("Unexpected result returned.");
2473
2473
  }).then(() => {
2474
- o(B) ? (Ce(x.CODE), br().then(() => {
2474
+ o(B) ? (Ce(x.CODE), pr().then(() => {
2475
2475
  Me("code", { codeChallenge: o(B) });
2476
- })) : (Ce(x.VERIFIED), $("verified"), br().then(() => {
2476
+ })) : (Ce(x.VERIFIED), $("verified"), pr().then(() => {
2477
2477
  Me("verified", { payload: o($e) });
2478
2478
  }));
2479
2479
  }).catch((n) => {
@@ -2486,11 +2486,11 @@ function co(e, t) {
2486
2486
  let dn;
2487
2487
  var hn = W(Pt);
2488
2488
  {
2489
- var Yi = (n) => {
2490
- wr(n);
2489
+ var Yl = (n) => {
2490
+ br(n);
2491
2491
  };
2492
2492
  z(hn, (n) => {
2493
- o(I) === x.VERIFYING && n(Yi);
2493
+ o(I) === x.VERIFYING && n(Yl);
2494
2494
  });
2495
2495
  }
2496
2496
  var Qe = Z(hn, 2);
@@ -2503,28 +2503,28 @@ function co(e, t) {
2503
2503
  Q,
2504
2504
  Et,
2505
2505
  Se
2506
- ], Ut(Qe, (n) => w(ur, n), () => o(ur)), G(Pt);
2507
- var Ot = Z(Pt, 2), Gi = W(Ot);
2506
+ ], Ut(Qe, (n) => b(ur, n), () => o(ur)), G(Pt);
2507
+ var Ot = Z(Pt, 2), Gl = W(Ot);
2508
2508
  {
2509
- var Wi = (n) => {
2509
+ var Wl = (n) => {
2510
2510
  var u = Mt(), g = Rt(u);
2511
2511
  et(g, () => o(L).verified), U(n, u);
2512
- }, Zi = (n, u) => {
2512
+ }, Zl = (n, u) => {
2513
2513
  {
2514
- var g = (p) => {
2514
+ var g = (w) => {
2515
2515
  var A = Mt(), y = Rt(A);
2516
- et(y, () => o(L).verifying), U(p, A);
2517
- }, m = (p, A) => {
2516
+ et(y, () => o(L).verifying), U(w, A);
2517
+ }, m = (w, A) => {
2518
2518
  {
2519
2519
  var y = (q) => {
2520
- var K = Mt(), le = Rt(K);
2521
- et(le, () => o(L).verificationRequired), U(q, K);
2520
+ var K = Mt(), ie = Rt(K);
2521
+ et(ie, () => o(L).verificationRequired), U(q, K);
2522
2522
  }, E = (q) => {
2523
- var K = Mt(), le = Rt(K);
2524
- et(le, () => o(L).label), U(q, K);
2523
+ var K = Mt(), ie = Rt(K);
2524
+ et(ie, () => o(L).label), U(q, K);
2525
2525
  };
2526
2526
  z(
2527
- p,
2527
+ w,
2528
2528
  (q) => {
2529
2529
  o(I) === x.CODE ? q(y) : q(E, !1);
2530
2530
  },
@@ -2534,75 +2534,75 @@ function co(e, t) {
2534
2534
  };
2535
2535
  z(
2536
2536
  n,
2537
- (p) => {
2538
- o(I) === x.VERIFYING ? p(g) : p(m, !1);
2537
+ (w) => {
2538
+ o(I) === x.VERIFYING ? w(g) : w(m, !1);
2539
2539
  },
2540
2540
  u
2541
2541
  );
2542
2542
  }
2543
2543
  };
2544
- z(Gi, (n) => {
2545
- o(I) === x.VERIFIED ? n(Wi) : n(Zi, !1);
2544
+ z(Gl, (n) => {
2545
+ o(I) === x.VERIFIED ? n(Wl) : n(Zl, !1);
2546
2546
  });
2547
2547
  }
2548
2548
  G(Ot);
2549
2549
  var vn = Z(Ot, 2);
2550
2550
  {
2551
- var zi = (n) => {
2551
+ var zl = (n) => {
2552
2552
  var u = za();
2553
2553
  Dn(u), Ne(() => {
2554
2554
  N(u, "name", ce()), $a(u, o($e));
2555
2555
  }), U(n, u);
2556
2556
  };
2557
2557
  z(vn, (n) => {
2558
- o(I) === x.VERIFIED && n(zi);
2558
+ o(I) === x.VERIFIED && n(zl);
2559
2559
  });
2560
2560
  }
2561
2561
  var gn = Z(vn, 2);
2562
2562
  {
2563
- var Ji = (n) => {
2563
+ var Jl = (n) => {
2564
2564
  var u = Ja(), g = W(u);
2565
- N(g, "href", Ai), G(u), Ne(() => N(g, "aria-label", o(L).ariaLinkLabel)), U(n, u);
2565
+ N(g, "href", Al), G(u), Ne(() => N(g, "aria-label", o(L).ariaLinkLabel)), U(n, u);
2566
2566
  };
2567
2567
  z(gn, (n) => {
2568
- (ue() !== !0 || o(or)) && n(Ji);
2568
+ (ue() !== !0 || o(or)) && n(Jl);
2569
2569
  });
2570
2570
  }
2571
- var Ki = Z(gn, 2);
2571
+ var Kl = Z(gn, 2);
2572
2572
  {
2573
- var Xi = (n) => {
2574
- var u = ro(), g = Z(W(u), 2), m = W(g), p = Z(m, 2);
2575
- pa(p, !_()), p.__keydown = [
2573
+ var Xl = (n) => {
2574
+ var u = ro(), g = Z(W(u), 2), m = W(g), w = Z(m, 2);
2575
+ wa(w, !_()), w.__keydown = [
2576
2576
  Ya,
2577
2577
  Jr
2578
2578
  ];
2579
- var A = Z(p, 2), y = W(A), E = W(y);
2579
+ var A = Z(w, 2), y = W(A), E = W(y);
2580
2580
  {
2581
- var q = (pe) => {
2581
+ var q = (we) => {
2582
2582
  var Y = eo();
2583
2583
  Y.__click = Jr;
2584
2584
  var Vt = W(Y);
2585
2585
  {
2586
2586
  var At = (ut) => {
2587
- wr(ut, () => 20);
2588
- }, ll = (ut, al) => {
2587
+ br(ut, () => 20);
2588
+ }, ii = (ut, ai) => {
2589
2589
  {
2590
- var ol = (ct) => {
2590
+ var oi = (ct) => {
2591
2591
  var gr = Ka();
2592
2592
  U(ct, gr);
2593
- }, sl = (ct, gr) => {
2593
+ }, si = (ct, gr) => {
2594
2594
  {
2595
- var ul = (ft) => {
2596
- var pr = Xa();
2597
- U(ft, pr);
2598
- }, cl = (ft) => {
2599
- var pr = Qa();
2600
- U(ft, pr);
2595
+ var ui = (ft) => {
2596
+ var wr = Xa();
2597
+ U(ft, wr);
2598
+ }, ci = (ft) => {
2599
+ var wr = Qa();
2600
+ U(ft, wr);
2601
2601
  };
2602
2602
  z(
2603
2603
  ct,
2604
2604
  (ft) => {
2605
- o(H) === X.PLAYING ? ft(ul) : ft(cl, !1);
2605
+ o(H) === X.PLAYING ? ft(ui) : ft(ci, !1);
2606
2606
  },
2607
2607
  gr
2608
2608
  );
@@ -2611,116 +2611,116 @@ function co(e, t) {
2611
2611
  z(
2612
2612
  ut,
2613
2613
  (ct) => {
2614
- o(H) === X.ERROR ? ct(ol) : ct(sl, !1);
2614
+ o(H) === X.ERROR ? ct(oi) : ct(si, !1);
2615
2615
  },
2616
- al
2616
+ ai
2617
2617
  );
2618
2618
  }
2619
2619
  };
2620
2620
  z(Vt, (ut) => {
2621
- o(H) === X.LOADING ? ut(At) : ut(ll, !1);
2621
+ o(H) === X.LOADING ? ut(At) : ut(ii, !1);
2622
2622
  });
2623
2623
  }
2624
2624
  G(Y), Ne(() => {
2625
2625
  N(Y, "title", o(L).getAudioChallenge), Y.disabled = o(H) === X.LOADING || o(H) === X.ERROR || o(Xe), N(Y, "aria-label", o(H) === X.LOADING ? o(L).loading : o(L).getAudioChallenge);
2626
- }), U(pe, Y);
2626
+ }), U(we, Y);
2627
2627
  };
2628
- z(E, (pe) => {
2629
- o(B).challenge.codeChallenge.audio && pe(q);
2628
+ z(E, (we) => {
2629
+ o(B).challenge.codeChallenge.audio && we(q);
2630
2630
  });
2631
2631
  }
2632
2632
  var K = Z(E, 2);
2633
2633
  K.__click = [Ga, Se], G(y);
2634
- var le = Z(y, 2), qe = W(le);
2634
+ var ie = Z(y, 2), qe = W(ie);
2635
2635
  {
2636
- var vr = (pe) => {
2637
- wr(pe, () => 16);
2636
+ var vr = (we) => {
2637
+ br(we, () => 16);
2638
2638
  };
2639
- z(qe, (pe) => {
2640
- o(Xe) && pe(vr);
2639
+ z(qe, (we) => {
2640
+ o(Xe) && we(vr);
2641
2641
  });
2642
2642
  }
2643
2643
  var Ft = Z(qe);
2644
- G(le), G(A);
2645
- var nl = Z(A, 2);
2644
+ G(ie), G(A);
2645
+ var ni = Z(A, 2);
2646
2646
  {
2647
- var il = (pe) => {
2647
+ var li = (we) => {
2648
2648
  var Y = to(), Vt = W(Y);
2649
- G(Y), Ut(Y, (At) => w(Ue, At), () => o(Ue)), Ne((At) => N(Vt, "src", At), [
2649
+ G(Y), Ut(Y, (At) => b(Ue, At), () => o(Ue)), Ne((At) => N(Vt, "src", At), [
2650
2650
  () => Br(o(B).challenge.codeChallenge.audio, { language: J() })
2651
- ]), Be("loadstart", Y, Oi), Be("canplay", Y, Pi), Be("pause", Y, Vi), Be("playing", Y, Fi), Be("ended", Y, Ti), Be("error", Vt, Li), U(pe, Y);
2651
+ ]), Be("loadstart", Y, Ol), Be("canplay", Y, Pl), Be("pause", Y, Vl), Be("playing", Y, Fl), Be("ended", Y, Tl), Be("error", Vt, Ll), U(we, Y);
2652
2652
  };
2653
- z(nl, (pe) => {
2654
- o(B).challenge.codeChallenge.audio && o(cr) && pe(il);
2653
+ z(ni, (we) => {
2654
+ o(B).challenge.codeChallenge.audio && o(cr) && we(li);
2655
2655
  });
2656
2656
  }
2657
2657
  G(g), G(u), Ne(() => {
2658
- N(u, "aria-label", o(L).verificationRequired), N(m, "src", o(B).challenge.codeChallenge.image), N(p, "minlength", o(B).challenge.codeChallenge.length || 1), N(p, "maxlength", o(B).challenge.codeChallenge.length), N(p, "placeholder", o(L).enterCode), N(p, "aria-label", o(H) === X.LOADING ? o(L).loading : o(H) === X.PLAYING ? "" : o(L).enterCodeAria), N(p, "aria-live", o(H) ? "assertive" : "polite"), N(p, "aria-busy", o(H) === X.LOADING), p.disabled = o(Xe), N(K, "aria-label", o(L).reload), N(K, "title", o(L).reload), K.disabled = o(Xe), le.disabled = o(Xe), N(le, "aria-label", o(L).verify), wa(Ft, ` ${o(L).verify ?? ""}`);
2659
- }), Be("submit", g, Mi, !0), U(n, u);
2658
+ N(u, "aria-label", o(L).verificationRequired), N(m, "src", o(B).challenge.codeChallenge.image), N(w, "minlength", o(B).challenge.codeChallenge.length || 1), N(w, "maxlength", o(B).challenge.codeChallenge.length), N(w, "placeholder", o(L).enterCode), N(w, "aria-label", o(H) === X.LOADING ? o(L).loading : o(H) === X.PLAYING ? "" : o(L).enterCodeAria), N(w, "aria-live", o(H) ? "assertive" : "polite"), N(w, "aria-busy", o(H) === X.LOADING), w.disabled = o(Xe), N(K, "aria-label", o(L).reload), N(K, "title", o(L).reload), K.disabled = o(Xe), ie.disabled = o(Xe), N(ie, "aria-label", o(L).verify), ba(Ft, ` ${o(L).verify ?? ""}`);
2659
+ }), Be("submit", g, Ml, !0), U(n, u);
2660
2660
  };
2661
- z(Ki, (n) => {
2661
+ z(Kl, (n) => {
2662
2662
  var u;
2663
- (u = o(B)) != null && u.challenge.codeChallenge && n(Xi);
2663
+ (u = o(B)) != null && u.challenge.codeChallenge && n(Xl);
2664
2664
  });
2665
2665
  }
2666
2666
  G(hr);
2667
- var pn = Z(hr, 2);
2667
+ var wn = Z(hr, 2);
2668
2668
  {
2669
- var Qi = (n) => {
2670
- var u = lo(), g = Z(W(u), 2);
2669
+ var Ql = (n) => {
2670
+ var u = io(), g = Z(W(u), 2);
2671
2671
  {
2672
2672
  var m = (A) => {
2673
2673
  var y = no(), E = W(y);
2674
2674
  et(E, () => o(L).expired), G(y), Ne(() => N(y, "title", o(Ke))), U(A, y);
2675
- }, p = (A) => {
2676
- var y = io(), E = W(y);
2675
+ }, w = (A) => {
2676
+ var y = lo(), E = W(y);
2677
2677
  et(E, () => o(L).error), G(y), Ne(() => N(y, "title", o(Ke))), U(A, y);
2678
2678
  };
2679
2679
  z(g, (A) => {
2680
- o(I) === x.EXPIRED ? A(m) : A(p, !1);
2680
+ o(I) === x.EXPIRED ? A(m) : A(w, !1);
2681
2681
  });
2682
2682
  }
2683
2683
  G(u), U(n, u);
2684
2684
  };
2685
- z(pn, (n) => {
2686
- (o(Ke) || o(I) === x.EXPIRED) && n(Qi);
2685
+ z(wn, (n) => {
2686
+ (o(Ke) || o(I) === x.EXPIRED) && n(Ql);
2687
2687
  });
2688
2688
  }
2689
- var _n = Z(pn, 2);
2689
+ var _n = Z(wn, 2);
2690
2690
  {
2691
- var el = (n) => {
2691
+ var ei = (n) => {
2692
2692
  var u = ao(), g = W(u), m = W(g);
2693
2693
  et(m, () => o(L).footer), G(g), G(u), U(n, u);
2694
2694
  };
2695
2695
  z(_n, (n) => {
2696
- o(L).footer && (F() !== !0 || o(or)) && n(el);
2696
+ o(L).footer && (F() !== !0 || o(or)) && n(ei);
2697
2697
  });
2698
2698
  }
2699
- var tl = Z(_n, 2);
2699
+ var ti = Z(_n, 2);
2700
2700
  {
2701
- var rl = (n) => {
2701
+ var ri = (n) => {
2702
2702
  var u = oo();
2703
- Ut(u, (g) => w(xt, g), () => o(xt)), U(n, u);
2703
+ Ut(u, (g) => b(xt, g), () => o(xt)), U(n, u);
2704
2704
  };
2705
- z(tl, (n) => {
2706
- h() && n(rl);
2705
+ z(ti, (n) => {
2706
+ h() && n(ri);
2707
2707
  });
2708
2708
  }
2709
- return G(kt), Ut(kt, (n) => w(te, n), () => o(te)), Ne(
2709
+ return G(kt), Ut(kt, (n) => b(te, n), () => o(te)), Ne(
2710
2710
  (n) => {
2711
- N(kt, "data-state", o(I)), N(kt, "data-floating", h()), dn = Aa(Pt, 1, "altcha-checkbox svelte-16ux7p0", null, dn, n), N(Qe, "id", o(Vr)), Qe.required = r() !== "onsubmit" && (!h() || r() !== "off"), N(Ot, "for", o(Vr));
2711
+ N(kt, "data-state", o(I)), N(kt, "data-floating", h()), dn = Aa(Pt, 1, "altcha-checkbox svelte-74x4nw", null, dn, n), N(Qe, "id", o(Vr)), Qe.required = r() !== "onsubmit" && (!h() || r() !== "off"), N(Ot, "for", o(Vr));
2712
2712
  },
2713
2713
  [
2714
2714
  () => ({
2715
2715
  "altcha-checkbox-verifying": o(I) === x.VERIFYING
2716
2716
  })
2717
2717
  ]
2718
- ), Be("invalid", Qe, zr), Na(Qe, () => o(yt), (n) => w(yt, n)), U(e, cn), vi({
2718
+ ), Be("invalid", Qe, zr), Na(Qe, () => o(yt), (n) => b(yt, n)), U(e, cn), vl({
2719
2719
  clarify: Et,
2720
2720
  configure: nn,
2721
2721
  getConfiguration: ln,
2722
2722
  getFloatingAnchor: an,
2723
- getPlugin: Hi,
2723
+ getPlugin: Hl,
2724
2724
  getState: on,
2725
2725
  hide: sn,
2726
2726
  repositionFloating: Ct,
@@ -2736,16 +2736,16 @@ function co(e, t) {
2736
2736
  r(n), C();
2737
2737
  },
2738
2738
  get blockspam() {
2739
- return i();
2739
+ return l();
2740
2740
  },
2741
2741
  set blockspam(n = void 0) {
2742
- i(n), C();
2742
+ l(n), C();
2743
2743
  },
2744
2744
  get challengeurl() {
2745
- return l();
2745
+ return i();
2746
2746
  },
2747
2747
  set challengeurl(n = void 0) {
2748
- l(n), C();
2748
+ i(n), C();
2749
2749
  },
2750
2750
  get challengejson() {
2751
2751
  return a();
@@ -2796,10 +2796,10 @@ function co(e, t) {
2796
2796
  h(n), C();
2797
2797
  },
2798
2798
  get floatinganchor() {
2799
- return b();
2799
+ return p();
2800
2800
  },
2801
2801
  set floatinganchor(n = void 0) {
2802
- b(n), C();
2802
+ p(n), C();
2803
2803
  },
2804
2804
  get floatingoffset() {
2805
2805
  return k();
@@ -2826,10 +2826,10 @@ function co(e, t) {
2826
2826
  ue(n), C();
2827
2827
  },
2828
2828
  get id() {
2829
- return ie();
2829
+ return le();
2830
2830
  },
2831
2831
  set id(n = void 0) {
2832
- ie(n), C();
2832
+ le(n), C();
2833
2833
  },
2834
2834
  get language() {
2835
2835
  return J();
@@ -2868,10 +2868,10 @@ function co(e, t) {
2868
2868
  Ve(n), C();
2869
2869
  },
2870
2870
  get refetchonexpire() {
2871
- return bt();
2871
+ return pt();
2872
2872
  },
2873
2873
  set refetchonexpire(n = !0) {
2874
- bt(n), C();
2874
+ pt(n), C();
2875
2875
  },
2876
2876
  get sentinel() {
2877
2877
  return Je();
@@ -2886,10 +2886,10 @@ function co(e, t) {
2886
2886
  xe(n), C();
2887
2887
  },
2888
2888
  get strings() {
2889
- return lt();
2889
+ return it();
2890
2890
  },
2891
2891
  set strings(n = void 0) {
2892
- lt(n), C();
2892
+ it(n), C();
2893
2893
  },
2894
2894
  get test() {
2895
2895
  return he();
@@ -2910,14 +2910,14 @@ function co(e, t) {
2910
2910
  at(n), C();
2911
2911
  },
2912
2912
  get workerurl() {
2913
- return wt();
2913
+ return bt();
2914
2914
  },
2915
2915
  set workerurl(n = void 0) {
2916
- wt(n), C();
2916
+ bt(n), C();
2917
2917
  }
2918
2918
  });
2919
2919
  }
2920
- ba(["change", "keydown", "click"]);
2920
+ pa(["change", "keydown", "click"]);
2921
2921
  customElements.define("altcha-widget", Fa(
2922
2922
  co,
2923
2923
  {
@@ -2971,7 +2971,7 @@ customElements.define("altcha-widget", Fa(
2971
2971
  ],
2972
2972
  !1
2973
2973
  ));
2974
- globalThis.altchaCreateWorker = (e) => e ? new Worker(new URL(e)) : new hl();
2974
+ globalThis.altchaCreateWorker = (e) => e ? new Worker(new URL(e)) : new hi();
2975
2975
  export {
2976
2976
  co as Altcha
2977
2977
  };