@getauthui/core 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- const kt = globalThis, pi = kt.ShadowRoot && (kt.ShadyCSS === void 0 || kt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, hi = /* @__PURE__ */ Symbol(), Ai = /* @__PURE__ */ new WeakMap();
2
- let Yi = class {
1
+ const kt = globalThis, hi = kt.ShadowRoot && (kt.ShadyCSS === void 0 || kt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, fi = /* @__PURE__ */ Symbol(), ki = /* @__PURE__ */ new WeakMap();
2
+ let Zi = class {
3
3
  constructor(e, n, i) {
4
- if (this._$cssResult$ = !0, i !== hi) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
4
+ if (this._$cssResult$ = !0, i !== fi) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
5
5
  this.cssText = e, this.t = n;
6
6
  }
7
7
  get styleSheet() {
8
8
  let e = this.o;
9
9
  const n = this.t;
10
- if (pi && e === void 0) {
10
+ if (hi && e === void 0) {
11
11
  const i = n !== void 0 && n.length === 1;
12
- i && (e = Ai.get(n)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), i && Ai.set(n, e));
12
+ i && (e = ki.get(n)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), i && ki.set(n, e));
13
13
  }
14
14
  return e;
15
15
  }
@@ -17,28 +17,28 @@ let Yi = class {
17
17
  return this.cssText;
18
18
  }
19
19
  };
20
- const an = (t) => new Yi(typeof t == "string" ? t : t + "", void 0, hi), We = (t, ...e) => {
20
+ const cn = (t) => new Zi(typeof t == "string" ? t : t + "", void 0, fi), We = (t, ...e) => {
21
21
  const n = t.length === 1 ? t[0] : e.reduce((i, o, a) => i + ((s) => {
22
22
  if (s._$cssResult$ === !0) return s.cssText;
23
23
  if (typeof s == "number") return s;
24
24
  throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
25
25
  })(o) + t[a + 1], t[0]);
26
- return new Yi(n, t, hi);
27
- }, sn = (t, e) => {
28
- if (pi) t.adoptedStyleSheets = e.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
26
+ return new Zi(n, t, fi);
27
+ }, dn = (t, e) => {
28
+ if (hi) t.adoptedStyleSheets = e.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
29
29
  else for (const n of e) {
30
30
  const i = document.createElement("style"), o = kt.litNonce;
31
31
  o !== void 0 && i.setAttribute("nonce", o), i.textContent = n.cssText, t.appendChild(i);
32
32
  }
33
- }, ki = pi ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
33
+ }, Si = hi ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
34
34
  let n = "";
35
35
  for (const i of e.cssRules) n += i.cssText;
36
- return an(n);
36
+ return cn(n);
37
37
  })(t) : t;
38
- const { is: rn, defineProperty: cn, getOwnPropertyDescriptor: dn, getOwnPropertyNames: ln, getOwnPropertySymbols: un, getPrototypeOf: pn } = Object, Ut = globalThis, Si = Ut.trustedTypes, hn = Si ? Si.emptyScript : "", fn = Ut.reactiveElementPolyfillSupport, ut = (t, e) => t, $t = { toAttribute(t, e) {
38
+ const { is: ln, defineProperty: un, getOwnPropertyDescriptor: pn, getOwnPropertyNames: hn, getOwnPropertySymbols: fn, getPrototypeOf: gn } = Object, Mt = globalThis, ji = Mt.trustedTypes, yn = ji ? ji.emptyScript : "", mn = Mt.reactiveElementPolyfillSupport, ut = (t, e) => t, $t = { toAttribute(t, e) {
39
39
  switch (e) {
40
40
  case Boolean:
41
- t = t ? hn : null;
41
+ t = t ? yn : null;
42
42
  break;
43
43
  case Object:
44
44
  case Array:
@@ -63,8 +63,8 @@ const { is: rn, defineProperty: cn, getOwnPropertyDescriptor: dn, getOwnProperty
63
63
  }
64
64
  }
65
65
  return n;
66
- } }, fi = (t, e) => !rn(t, e), ji = { attribute: !0, type: String, converter: $t, reflect: !1, useDefault: !1, hasChanged: fi };
67
- Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), Ut.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
66
+ } }, gi = (t, e) => !ln(t, e), $i = { attribute: !0, type: String, converter: $t, reflect: !1, useDefault: !1, hasChanged: gi };
67
+ Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), Mt.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
68
68
  let Fe = class extends HTMLElement {
69
69
  static addInitializer(e) {
70
70
  this._$Ei(), (this.l ??= []).push(e);
@@ -72,14 +72,14 @@ let Fe = class extends HTMLElement {
72
72
  static get observedAttributes() {
73
73
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
74
74
  }
75
- static createProperty(e, n = ji) {
75
+ static createProperty(e, n = $i) {
76
76
  if (n.state && (n.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((n = Object.create(n)).wrapped = !0), this.elementProperties.set(e, n), !n.noAccessor) {
77
77
  const i = /* @__PURE__ */ Symbol(), o = this.getPropertyDescriptor(e, i, n);
78
- o !== void 0 && cn(this.prototype, e, o);
78
+ o !== void 0 && un(this.prototype, e, o);
79
79
  }
80
80
  }
81
81
  static getPropertyDescriptor(e, n, i) {
82
- const { get: o, set: a } = dn(this.prototype, e) ?? { get() {
82
+ const { get: o, set: a } = pn(this.prototype, e) ?? { get() {
83
83
  return this[n];
84
84
  }, set(s) {
85
85
  this[n] = s;
@@ -90,17 +90,17 @@ let Fe = class extends HTMLElement {
90
90
  }, configurable: !0, enumerable: !0 };
91
91
  }
92
92
  static getPropertyOptions(e) {
93
- return this.elementProperties.get(e) ?? ji;
93
+ return this.elementProperties.get(e) ?? $i;
94
94
  }
95
95
  static _$Ei() {
96
96
  if (this.hasOwnProperty(ut("elementProperties"))) return;
97
- const e = pn(this);
97
+ const e = gn(this);
98
98
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
99
99
  }
100
100
  static finalize() {
101
101
  if (this.hasOwnProperty(ut("finalized"))) return;
102
102
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ut("properties"))) {
103
- const n = this.properties, i = [...ln(n), ...un(n)];
103
+ const n = this.properties, i = [...hn(n), ...fn(n)];
104
104
  for (const o of i) this.createProperty(o, n[o]);
105
105
  }
106
106
  const e = this[Symbol.metadata];
@@ -119,8 +119,8 @@ let Fe = class extends HTMLElement {
119
119
  const n = [];
120
120
  if (Array.isArray(e)) {
121
121
  const i = new Set(e.flat(1 / 0).reverse());
122
- for (const o of i) n.unshift(ki(o));
123
- } else e !== void 0 && n.push(ki(e));
122
+ for (const o of i) n.unshift(Si(o));
123
+ } else e !== void 0 && n.push(Si(e));
124
124
  return n;
125
125
  }
126
126
  static _$Eu(e, n) {
@@ -146,7 +146,7 @@ let Fe = class extends HTMLElement {
146
146
  }
147
147
  createRenderRoot() {
148
148
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
149
- return sn(e, this.constructor.elementStyles), e;
149
+ return dn(e, this.constructor.elementStyles), e;
150
150
  }
151
151
  connectedCallback() {
152
152
  this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((e) => e.hostConnected?.());
@@ -178,7 +178,7 @@ let Fe = class extends HTMLElement {
178
178
  requestUpdate(e, n, i, o = !1, a) {
179
179
  if (e !== void 0) {
180
180
  const s = this.constructor;
181
- if (o === !1 && (a = this[e]), i ??= s.getPropertyOptions(e), !((i.hasChanged ?? fi)(a, n) || i.useDefault && i.reflect && a === this._$Ej?.get(e) && !this.hasAttribute(s._$Eu(e, i)))) return;
181
+ if (o === !1 && (a = this[e]), i ??= s.getPropertyOptions(e), !((i.hasChanged ?? gi)(a, n) || i.useDefault && i.reflect && a === this._$Ej?.get(e) && !this.hasAttribute(s._$Eu(e, i)))) return;
182
182
  this.C(e, n, i);
183
183
  }
184
184
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -246,43 +246,43 @@ let Fe = class extends HTMLElement {
246
246
  firstUpdated(e) {
247
247
  }
248
248
  };
249
- Fe.elementStyles = [], Fe.shadowRootOptions = { mode: "open" }, Fe[ut("elementProperties")] = /* @__PURE__ */ new Map(), Fe[ut("finalized")] = /* @__PURE__ */ new Map(), fn?.({ ReactiveElement: Fe }), (Ut.reactiveElementVersions ??= []).push("2.1.2");
250
- const gi = globalThis, $i = (t) => t, Pt = gi.trustedTypes, Pi = Pt ? Pt.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Ji = "$lit$", Be = `lit$${Math.random().toFixed(9).slice(2)}$`, Zi = "?" + Be, gn = `<${Zi}>`, Ze = document, ht = () => Ze.createComment(""), ft = (t) => t === null || typeof t != "object" && typeof t != "function", yi = Array.isArray, yn = (t) => yi(t) || typeof t?.[Symbol.iterator] == "function", Xt = `[
251
- \f\r]`, ct = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ci = /-->/g, xi = />/g, Ke = RegExp(`>|${Xt}(?:([^\\s"'>=/]+)(${Xt}*=${Xt}*(?:[^
252
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Ui = /'/g, Mi = /"/g, Qi = /^(?:script|style|textarea|title)$/i, Ti = (t) => (e, ...n) => ({ _$litType$: t, strings: e, values: n }), b = Ti(1), W = Ti(2), tt = /* @__PURE__ */ Symbol.for("lit-noChange"), M = /* @__PURE__ */ Symbol.for("lit-nothing"), Ri = /* @__PURE__ */ new WeakMap(), Ye = Ze.createTreeWalker(Ze, 129);
253
- function zi(t, e) {
254
- if (!yi(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
255
- return Pi !== void 0 ? Pi.createHTML(e) : e;
249
+ Fe.elementStyles = [], Fe.shadowRootOptions = { mode: "open" }, Fe[ut("elementProperties")] = /* @__PURE__ */ new Map(), Fe[ut("finalized")] = /* @__PURE__ */ new Map(), mn?.({ ReactiveElement: Fe }), (Mt.reactiveElementVersions ??= []).push("2.1.2");
250
+ const yi = globalThis, Pi = (t) => t, Pt = yi.trustedTypes, Ci = Pt ? Pt.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Qi = "$lit$", Be = `lit$${Math.random().toFixed(9).slice(2)}$`, Ti = "?" + Be, wn = `<${Ti}>`, Ze = document, ht = () => Ze.createComment(""), ft = (t) => t === null || typeof t != "object" && typeof t != "function", mi = Array.isArray, bn = (t) => mi(t) || typeof t?.[Symbol.iterator] == "function", Vt = `[
251
+ \f\r]`, ct = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, xi = /-->/g, Ui = />/g, Ke = RegExp(`>|${Vt}(?:([^\\s"'>=/]+)(${Vt}*=${Vt}*(?:[^
252
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Mi = /'/g, Ri = /"/g, zi = /^(?:script|style|textarea|title)$/i, Oi = (t) => (e, ...n) => ({ _$litType$: t, strings: e, values: n }), b = Oi(1), W = Oi(2), tt = /* @__PURE__ */ Symbol.for("lit-noChange"), M = /* @__PURE__ */ Symbol.for("lit-nothing"), qi = /* @__PURE__ */ new WeakMap(), Ye = Ze.createTreeWalker(Ze, 129);
253
+ function Fi(t, e) {
254
+ if (!mi(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
255
+ return Ci !== void 0 ? Ci.createHTML(e) : e;
256
256
  }
257
- const mn = (t, e) => {
257
+ const vn = (t, e) => {
258
258
  const n = t.length - 1, i = [];
259
259
  let o, a = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", s = ct;
260
260
  for (let r = 0; r < n; r++) {
261
261
  const d = t[r];
262
262
  let c, p, u = -1, m = 0;
263
- for (; m < d.length && (s.lastIndex = m, p = s.exec(d), p !== null); ) m = s.lastIndex, s === ct ? p[1] === "!--" ? s = Ci : p[1] !== void 0 ? s = xi : p[2] !== void 0 ? (Qi.test(p[2]) && (o = RegExp("</" + p[2], "g")), s = Ke) : p[3] !== void 0 && (s = Ke) : s === Ke ? p[0] === ">" ? (s = o ?? ct, u = -1) : p[1] === void 0 ? u = -2 : (u = s.lastIndex - p[2].length, c = p[1], s = p[3] === void 0 ? Ke : p[3] === '"' ? Mi : Ui) : s === Mi || s === Ui ? s = Ke : s === Ci || s === xi ? s = ct : (s = Ke, o = void 0);
263
+ for (; m < d.length && (s.lastIndex = m, p = s.exec(d), p !== null); ) m = s.lastIndex, s === ct ? p[1] === "!--" ? s = xi : p[1] !== void 0 ? s = Ui : p[2] !== void 0 ? (zi.test(p[2]) && (o = RegExp("</" + p[2], "g")), s = Ke) : p[3] !== void 0 && (s = Ke) : s === Ke ? p[0] === ">" ? (s = o ?? ct, u = -1) : p[1] === void 0 ? u = -2 : (u = s.lastIndex - p[2].length, c = p[1], s = p[3] === void 0 ? Ke : p[3] === '"' ? Ri : Mi) : s === Ri || s === Mi ? s = Ke : s === xi || s === Ui ? s = ct : (s = Ke, o = void 0);
264
264
  const j = s === Ke && t[r + 1].startsWith("/>") ? " " : "";
265
- a += s === ct ? d + gn : u >= 0 ? (i.push(c), d.slice(0, u) + Ji + d.slice(u) + Be + j) : d + Be + (u === -2 ? r : j);
265
+ a += s === ct ? d + wn : u >= 0 ? (i.push(c), d.slice(0, u) + Qi + d.slice(u) + Be + j) : d + Be + (u === -2 ? r : j);
266
266
  }
267
- return [zi(t, a + (t[n] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
267
+ return [Fi(t, a + (t[n] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
268
268
  };
269
269
  class gt {
270
270
  constructor({ strings: e, _$litType$: n }, i) {
271
271
  let o;
272
272
  this.parts = [];
273
273
  let a = 0, s = 0;
274
- const r = e.length - 1, d = this.parts, [c, p] = mn(e, n);
274
+ const r = e.length - 1, d = this.parts, [c, p] = vn(e, n);
275
275
  if (this.el = gt.createElement(c, i), Ye.currentNode = this.el.content, n === 2 || n === 3) {
276
276
  const u = this.el.content.firstChild;
277
277
  u.replaceWith(...u.childNodes);
278
278
  }
279
279
  for (; (o = Ye.nextNode()) !== null && d.length < r; ) {
280
280
  if (o.nodeType === 1) {
281
- if (o.hasAttributes()) for (const u of o.getAttributeNames()) if (u.endsWith(Ji)) {
281
+ if (o.hasAttributes()) for (const u of o.getAttributeNames()) if (u.endsWith(Qi)) {
282
282
  const m = p[s++], j = o.getAttribute(u).split(Be), q = /([.?@])?(.*)/.exec(m);
283
- d.push({ type: 1, index: a, name: q[2], strings: j, ctor: q[1] === "." ? bn : q[1] === "?" ? vn : q[1] === "@" ? In : Mt }), o.removeAttribute(u);
283
+ d.push({ type: 1, index: a, name: q[2], strings: j, ctor: q[1] === "." ? An : q[1] === "?" ? kn : q[1] === "@" ? Sn : Rt }), o.removeAttribute(u);
284
284
  } else u.startsWith(Be) && (d.push({ type: 6, index: a }), o.removeAttribute(u));
285
- if (Qi.test(o.tagName)) {
285
+ if (zi.test(o.tagName)) {
286
286
  const u = o.textContent.split(Be), m = u.length - 1;
287
287
  if (m > 0) {
288
288
  o.textContent = Pt ? Pt.emptyScript : "";
@@ -290,7 +290,7 @@ class gt {
290
290
  o.append(u[m], ht());
291
291
  }
292
292
  }
293
- } else if (o.nodeType === 8) if (o.data === Zi) d.push({ type: 2, index: a });
293
+ } else if (o.nodeType === 8) if (o.data === Ti) d.push({ type: 2, index: a });
294
294
  else {
295
295
  let u = -1;
296
296
  for (; (u = o.data.indexOf(Be, u + 1)) !== -1; ) d.push({ type: 7, index: a }), u += Be.length - 1;
@@ -309,7 +309,7 @@ function it(t, e, n = t, i) {
309
309
  const a = ft(e) ? void 0 : e._$litDirective$;
310
310
  return o?.constructor !== a && (o?._$AO?.(!1), a === void 0 ? o = void 0 : (o = new a(t), o._$AT(t, n, i)), i !== void 0 ? (n._$Co ??= [])[i] = o : n._$Cl = o), o !== void 0 && (e = it(t, o._$AS(t, e.values), o, i)), e;
311
311
  }
312
- class wn {
312
+ class In {
313
313
  constructor(e, n) {
314
314
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = n;
315
315
  }
@@ -326,7 +326,7 @@ class wn {
326
326
  for (; d !== void 0; ) {
327
327
  if (s === d.index) {
328
328
  let c;
329
- d.type === 2 ? c = new bt(a, a.nextSibling, this, e) : d.type === 1 ? c = new d.ctor(a, d.name, d.strings, this, e) : d.type === 6 && (c = new An(a, this, e)), this._$AV.push(c), d = i[++r];
329
+ d.type === 2 ? c = new bt(a, a.nextSibling, this, e) : d.type === 1 ? c = new d.ctor(a, d.name, d.strings, this, e) : d.type === 6 && (c = new jn(a, this, e)), this._$AV.push(c), d = i[++r];
330
330
  }
331
331
  s !== d?.index && (a = Ye.nextNode(), s++);
332
332
  }
@@ -356,7 +356,7 @@ class bt {
356
356
  return this._$AB;
357
357
  }
358
358
  _$AI(e, n = this) {
359
- e = it(this, e, n), ft(e) ? e === M || e == null || e === "" ? (this._$AH !== M && this._$AR(), this._$AH = M) : e !== this._$AH && e !== tt && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : yn(e) ? this.k(e) : this._(e);
359
+ e = it(this, e, n), ft(e) ? e === M || e == null || e === "" ? (this._$AH !== M && this._$AR(), this._$AH = M) : e !== this._$AH && e !== tt && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : bn(e) ? this.k(e) : this._(e);
360
360
  }
361
361
  O(e) {
362
362
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -368,19 +368,19 @@ class bt {
368
368
  this._$AH !== M && ft(this._$AH) ? this._$AA.nextSibling.data = e : this.T(Ze.createTextNode(e)), this._$AH = e;
369
369
  }
370
370
  $(e) {
371
- const { values: n, _$litType$: i } = e, o = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = gt.createElement(zi(i.h, i.h[0]), this.options)), i);
371
+ const { values: n, _$litType$: i } = e, o = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = gt.createElement(Fi(i.h, i.h[0]), this.options)), i);
372
372
  if (this._$AH?._$AD === o) this._$AH.p(n);
373
373
  else {
374
- const a = new wn(o, this), s = a.u(this.options);
374
+ const a = new In(o, this), s = a.u(this.options);
375
375
  a.p(n), this.T(s), this._$AH = a;
376
376
  }
377
377
  }
378
378
  _$AC(e) {
379
- let n = Ri.get(e.strings);
380
- return n === void 0 && Ri.set(e.strings, n = new gt(e)), n;
379
+ let n = qi.get(e.strings);
380
+ return n === void 0 && qi.set(e.strings, n = new gt(e)), n;
381
381
  }
382
382
  k(e) {
383
- yi(this._$AH) || (this._$AH = [], this._$AR());
383
+ mi(this._$AH) || (this._$AH = [], this._$AR());
384
384
  const n = this._$AH;
385
385
  let i, o = 0;
386
386
  for (const a of e) o === n.length ? n.push(i = new bt(this.O(ht()), this.O(ht()), this, this.options)) : i = n[o], i._$AI(a), o++;
@@ -388,15 +388,15 @@ class bt {
388
388
  }
389
389
  _$AR(e = this._$AA.nextSibling, n) {
390
390
  for (this._$AP?.(!1, !0, n); e !== this._$AB; ) {
391
- const i = $i(e).nextSibling;
392
- $i(e).remove(), e = i;
391
+ const i = Pi(e).nextSibling;
392
+ Pi(e).remove(), e = i;
393
393
  }
394
394
  }
395
395
  setConnected(e) {
396
396
  this._$AM === void 0 && (this._$Cv = e, this._$AP?.(e));
397
397
  }
398
398
  }
399
- class Mt {
399
+ class Rt {
400
400
  get tagName() {
401
401
  return this.element.tagName;
402
402
  }
@@ -421,7 +421,7 @@ class Mt {
421
421
  e === M ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
422
422
  }
423
423
  }
424
- class bn extends Mt {
424
+ class An extends Rt {
425
425
  constructor() {
426
426
  super(...arguments), this.type = 3;
427
427
  }
@@ -429,7 +429,7 @@ class bn extends Mt {
429
429
  this.element[this.name] = e === M ? void 0 : e;
430
430
  }
431
431
  }
432
- class vn extends Mt {
432
+ class kn extends Rt {
433
433
  constructor() {
434
434
  super(...arguments), this.type = 4;
435
435
  }
@@ -437,7 +437,7 @@ class vn extends Mt {
437
437
  this.element.toggleAttribute(this.name, !!e && e !== M);
438
438
  }
439
439
  }
440
- class In extends Mt {
440
+ class Sn extends Rt {
441
441
  constructor(e, n, i, o, a) {
442
442
  super(e, n, i, o, a), this.type = 5;
443
443
  }
@@ -450,7 +450,7 @@ class In extends Mt {
450
450
  typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, e) : this._$AH.handleEvent(e);
451
451
  }
452
452
  }
453
- class An {
453
+ class jn {
454
454
  constructor(e, n, i) {
455
455
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = n, this.options = i;
456
456
  }
@@ -461,9 +461,9 @@ class An {
461
461
  it(this, e);
462
462
  }
463
463
  }
464
- const kn = gi.litHtmlPolyfillSupport;
465
- kn?.(gt, bt), (gi.litHtmlVersions ??= []).push("3.3.3");
466
- const Sn = (t, e, n) => {
464
+ const $n = yi.litHtmlPolyfillSupport;
465
+ $n?.(gt, bt), (yi.litHtmlVersions ??= []).push("3.3.3");
466
+ const Pn = (t, e, n) => {
467
467
  const i = n?.renderBefore ?? e;
468
468
  let o = i._$litPart$;
469
469
  if (o === void 0) {
@@ -472,7 +472,7 @@ const Sn = (t, e, n) => {
472
472
  }
473
473
  return o._$AI(t), o;
474
474
  };
475
- const mi = globalThis;
475
+ const wi = globalThis;
476
476
  class Je extends Fe {
477
477
  constructor() {
478
478
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
@@ -483,7 +483,7 @@ class Je extends Fe {
483
483
  }
484
484
  update(e) {
485
485
  const n = this.render();
486
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Sn(n, this.renderRoot, this.renderOptions);
486
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Pn(n, this.renderRoot, this.renderOptions);
487
487
  }
488
488
  connectedCallback() {
489
489
  super.connectedCallback(), this._$Do?.setConnected(!0);
@@ -495,16 +495,16 @@ class Je extends Fe {
495
495
  return tt;
496
496
  }
497
497
  }
498
- Je._$litElement$ = !0, Je.finalized = !0, mi.litElementHydrateSupport?.({ LitElement: Je });
499
- const jn = mi.litElementPolyfillSupport;
500
- jn?.({ LitElement: Je });
501
- (mi.litElementVersions ??= []).push("4.2.2");
498
+ Je._$litElement$ = !0, Je.finalized = !0, wi.litElementHydrateSupport?.({ LitElement: Je });
499
+ const Cn = wi.litElementPolyfillSupport;
500
+ Cn?.({ LitElement: Je });
501
+ (wi.litElementVersions ??= []).push("4.2.2");
502
502
  const Qe = (t) => (e, n) => {
503
503
  n !== void 0 ? n.addInitializer(() => {
504
504
  customElements.define(t, e);
505
505
  }) : customElements.define(t, e);
506
506
  };
507
- const $n = { attribute: !0, type: String, converter: $t, reflect: !1, hasChanged: fi }, Pn = (t = $n, e, n) => {
507
+ const xn = { attribute: !0, type: String, converter: $t, reflect: !1, hasChanged: gi }, Un = (t = xn, e, n) => {
508
508
  const { kind: i, metadata: o } = n;
509
509
  let a = globalThis.litPropertyMetadata.get(o);
510
510
  if (a === void 0 && globalThis.litPropertyMetadata.set(o, a = /* @__PURE__ */ new Map()), i === "setter" && ((t = Object.create(t)).wrapped = !0), a.set(n.name, t), i === "accessor") {
@@ -526,7 +526,7 @@ const $n = { attribute: !0, type: String, converter: $t, reflect: !1, hasChanged
526
526
  throw Error("Unsupported decorator location: " + i);
527
527
  };
528
528
  function ee(t) {
529
- return (e, n) => typeof n == "object" ? Pn(t, e, n) : ((i, o, a) => {
529
+ return (e, n) => typeof n == "object" ? Un(t, e, n) : ((i, o, a) => {
530
530
  const s = o.hasOwnProperty(a);
531
531
  return o.constructor.createProperty(a, i), s ? Object.getOwnPropertyDescriptor(o, a) : void 0;
532
532
  })(t, e, n);
@@ -534,25 +534,25 @@ function ee(t) {
534
534
  function G(t) {
535
535
  return ee({ ...t, state: !0, attribute: !1 });
536
536
  }
537
- const Cn = (t, e, n) => (n.configurable = !0, n.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(t, e, n), n);
538
- function Oi(t, e) {
537
+ const Mn = (t, e, n) => (n.configurable = !0, n.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(t, e, n), n);
538
+ function en(t, e) {
539
539
  return (n, i, o) => {
540
540
  const a = (s) => s.renderRoot?.querySelector(t) ?? null;
541
- return Cn(n, i, { get() {
541
+ return Mn(n, i, { get() {
542
542
  return a(this);
543
543
  } });
544
544
  };
545
545
  }
546
- function xn(t) {
546
+ function Rn(t) {
547
547
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
548
548
  }
549
- var dt = { exports: {} }, Vt = { exports: {} }, St = { exports: {} }, Un = St.exports, qi;
550
- function Fi() {
551
- return qi || (qi = 1, (function(t) {
549
+ var dt = { exports: {} }, Wt = { exports: {} }, St = { exports: {} }, qn = St.exports, Ei;
550
+ function tn() {
551
+ return Ei || (Ei = 1, (function(t) {
552
552
  (function(e) {
553
553
  var n, i = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, o = Math.ceil, a = Math.floor, s = "[BigNumber Error] ", r = s + "Number primitive has more than 15 significant digits: ", d = 1e14, c = 14, p = 9007199254740991, u = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], m = 1e7, j = 1e9;
554
554
  function q(H) {
555
- var L, te, X, U = x.prototype = { constructor: x, toString: null, valueOf: null }, Y = new x(1), Q = 20, ie = 4, ce = -7, de = 21, Ue = -1e7, Ae = 1e7, qe = !1, st = 1, De = 0, _t = {
555
+ var L, te, X, U = x.prototype = { constructor: x, toString: null, valueOf: null }, Y = new x(1), Q = 20, ie = 4, ce = -7, de = 21, Ue = -1e7, Ae = 1e7, qe = !1, st = 1, De = 0, Lt = {
556
556
  prefix: "",
557
557
  groupSize: 3,
558
558
  secondaryGroupSize: 0,
@@ -562,7 +562,7 @@ function Fi() {
562
562
  fractionGroupSeparator: " ",
563
563
  // non-breaking space
564
564
  suffix: ""
565
- }, Ge = "0123456789abcdefghijklmnopqrstuvwxyz", Lt = !0;
565
+ }, Ge = "0123456789abcdefghijklmnopqrstuvwxyz", Nt = !0;
566
566
  function x(l, f) {
567
567
  var g, k, w, I, $, y, v, S, A = this;
568
568
  if (!(A instanceof x)) return new x(l, f);
@@ -584,7 +584,7 @@ function Fi() {
584
584
  }
585
585
  (I = S.indexOf(".")) > -1 && (S = S.replace(".", "")), ($ = S.search(/e/i)) > 0 ? (I < 0 && (I = $), I += +S.slice($ + 1), S = S.substring(0, $)) : I < 0 && (I = S.length);
586
586
  } else {
587
- if (E(f, 2, Ge.length, "Base"), f == 10 && Lt)
587
+ if (E(f, 2, Ge.length, "Base"), f == 10 && Nt)
588
588
  return A = new x(l), Se(A, Q + A.e + 1, ie);
589
589
  if (S = String(l), y = typeof l == "number") {
590
590
  if (l * 0 != 0) return X(A, S, y, f);
@@ -652,11 +652,11 @@ function Fi() {
652
652
  else
653
653
  throw Error(s + f + " not true or false: " + g);
654
654
  if (l.hasOwnProperty(f = "MODULO_MODE") && (g = l[f], E(g, 0, 9, f), st = g), l.hasOwnProperty(f = "POW_PRECISION") && (g = l[f], E(g, 0, j, f), De = g), l.hasOwnProperty(f = "FORMAT"))
655
- if (g = l[f], typeof g == "object") _t = g;
655
+ if (g = l[f], typeof g == "object") Lt = g;
656
656
  else throw Error(s + f + " not an object: " + g);
657
657
  if (l.hasOwnProperty(f = "ALPHABET"))
658
658
  if (g = l[f], typeof g == "string" && !/^.?$|[+\-.\s]|(.).*\1/.test(g))
659
- Lt = g.slice(0, 10) == "0123456789", Ge = g;
659
+ Nt = g.slice(0, 10) == "0123456789", Ge = g;
660
660
  else
661
661
  throw Error(s + f + " invalid: " + g);
662
662
  } else
@@ -669,7 +669,7 @@ function Fi() {
669
669
  CRYPTO: qe,
670
670
  MODULO_MODE: st,
671
671
  POW_PRECISION: De,
672
- FORMAT: _t,
672
+ FORMAT: Lt,
673
673
  ALPHABET: Ge
674
674
  };
675
675
  }, x.isBigNumber = function(l) {
@@ -692,9 +692,9 @@ function Fi() {
692
692
  return !0;
693
693
  throw Error(s + "Invalid BigNumber: " + l);
694
694
  }, x.maximum = x.max = function() {
695
- return Ii(arguments, -1);
695
+ return Ai(arguments, -1);
696
696
  }, x.minimum = x.min = function() {
697
- return Ii(arguments, 1);
697
+ return Ai(arguments, 1);
698
698
  }, x.random = (function() {
699
699
  var l = 9007199254740992, f = Math.random() * l & 2097151 ? function() {
700
700
  return a(Math.random() * l);
@@ -786,7 +786,7 @@ function Fi() {
786
786
  for (; !k[0] && k.length > 1; k.splice(0, 1)) ;
787
787
  }
788
788
  return function(k, w, I, $, y) {
789
- var v, S, A, C, D, B, ne, le, he, F, re, me, vt, Dt, Bt, Me, rt, je = k.s == w.s ? 1 : -1, be = k.c, ue = w.c;
789
+ var v, S, A, C, D, B, ne, le, he, F, re, me, vt, Bt, Xt, Me, rt, je = k.s == w.s ? 1 : -1, be = k.c, ue = w.c;
790
790
  if (!be || !be[0] || !ue || !ue[0])
791
791
  return new x(
792
792
  // Return NaN if either NaN, or both Infinity or 0.
@@ -799,11 +799,11 @@ function Fi() {
799
799
  if (ue[A] > (be[A] || 0) && S--, je < 0)
800
800
  he.push(1), C = !0;
801
801
  else {
802
- for (Dt = be.length, Me = ue.length, A = 0, je += 2, D = a(y / (ue[0] + 1)), D > 1 && (ue = l(ue, D, y), be = l(be, D, y), Me = ue.length, Dt = be.length), vt = Me, F = be.slice(0, Me), re = F.length; re < Me; F[re++] = 0) ;
803
- rt = ue.slice(), rt = [0].concat(rt), Bt = ue[0], ue[1] >= y / 2 && Bt++;
802
+ for (Bt = be.length, Me = ue.length, A = 0, je += 2, D = a(y / (ue[0] + 1)), D > 1 && (ue = l(ue, D, y), be = l(be, D, y), Me = ue.length, Bt = be.length), vt = Me, F = be.slice(0, Me), re = F.length; re < Me; F[re++] = 0) ;
803
+ rt = ue.slice(), rt = [0].concat(rt), Xt = ue[0], ue[1] >= y / 2 && Xt++;
804
804
  do {
805
805
  if (D = 0, v = f(ue, F, Me, re), v < 0) {
806
- if (me = F[0], Me != re && (me = me * y + (F[1] || 0)), D = a(me / Bt), D > 1)
806
+ if (me = F[0], Me != re && (me = me * y + (F[1] || 0)), D = a(me / Xt), D > 1)
807
807
  for (D >= y && (D = y - 1), B = l(ue, D, y), ne = B.length, re = F.length; f(B, F, ne, re) == 1; )
808
808
  D--, g(B, Me < ne ? rt : ue, ne, y), ne = B.length, v = 1;
809
809
  else
@@ -813,7 +813,7 @@ function Fi() {
813
813
  D++, g(F, Me < re ? rt : ue, re, y), re = F.length;
814
814
  } else v === 0 && (D++, F = [0]);
815
815
  he[A++] = D, F[0] ? F[re++] = be[vt] || 0 : (F = [be[vt]], re = 1);
816
- } while ((vt++ < Dt || F[0] != null) && je--);
816
+ } while ((vt++ < Bt || F[0] != null) && je--);
817
817
  C = F[0] != null, he[0] || he.splice(0, 1);
818
818
  }
819
819
  if (y == d) {
@@ -824,7 +824,7 @@ function Fi() {
824
824
  return le;
825
825
  };
826
826
  })();
827
- function Nt(l, f, g, k) {
827
+ function Ht(l, f, g, k) {
828
828
  var w, I, $, y, v;
829
829
  if (g == null ? g = ie : E(g, 0, 8), !l.c) return l.toString();
830
830
  if (w = l.c[0], $ = l.e, f == null)
@@ -838,12 +838,12 @@ function Fi() {
838
838
  for (I + 1 == y && (v += "."); f--; v += "0") ;
839
839
  return l.s < 0 && w ? "-" + v : v;
840
840
  }
841
- function Ii(l, f) {
841
+ function Ai(l, f) {
842
842
  for (var g, k, w = 1, I = new x(l[0]); w < l.length; w++)
843
843
  k = new x(l[w]), (!k.s || (g = K(I, k)) === f || g === 0 && I.s === f) && (I = k);
844
844
  return I;
845
845
  }
846
- function Ht(l, f, g) {
846
+ function Dt(l, f, g) {
847
847
  for (var k = 1, w = f.length; !f[--w]; f.pop()) ;
848
848
  for (w = f[0]; w >= 10; w /= 10, k++) ;
849
849
  return (g = k + g * c - 1) > Ae ? l.c = l.e = null : g < Ue ? l.c = [l.e = 0] : (l.e = g, l.c = f), l;
@@ -1014,7 +1014,7 @@ function Fi() {
1014
1014
  A[k] -= C[k];
1015
1015
  }
1016
1016
  for (; A[0] == 0; A.splice(0, 1), --S) ;
1017
- return A[0] ? Ht(l, A, S) : (l.s = ie == 3 ? -1 : 1, l.c = [l.e = 0], l);
1017
+ return A[0] ? Dt(l, A, S) : (l.s = ie == 3 ? -1 : 1, l.c = [l.e = 0], l);
1018
1018
  }, U.modulo = U.mod = function(l, f) {
1019
1019
  var g, k, w = this;
1020
1020
  return l = new x(l, f), !w.c || !l.s || l.c && !l.c[0] ? new x(NaN) : !l.c || w.c && !w.c[0] ? new x(w) : (st == 9 ? (k = l.s, l.s = 1, g = L(w, l, 0, 3), l.s = k, g.s *= k) : g = L(w, l, 0, st), l = w.minus(g.times(l)), !l.c[0] && st == 1 && (l.s = w.s), l);
@@ -1028,7 +1028,7 @@ function Fi() {
1028
1028
  S = re[--$] % he, A = re[$] / he | 0, y = B * S + A * D, S = D * S + y % he * he + ne[I] + g, g = (S / le | 0) + (y / he | 0) + B * A, ne[I--] = S % le;
1029
1029
  ne[I] = g;
1030
1030
  }
1031
- return g ? ++k : ne.splice(0, 1), Ht(l, ne, k);
1031
+ return g ? ++k : ne.splice(0, 1), Dt(l, ne, k);
1032
1032
  }, U.negated = function() {
1033
1033
  var l = new x(this);
1034
1034
  return l.s = -l.s || null, l;
@@ -1048,7 +1048,7 @@ function Fi() {
1048
1048
  }
1049
1049
  for (w = y.length, f = v.length, w - f < 0 && (g = v, v = y, y = g, f = w), w = 0; f; )
1050
1050
  w = (y[--f] = y[f] + v[f] + w) / d | 0, y[f] = d === y[f] ? 0 : y[f] % d;
1051
- return w && (y = [w].concat(y), ++$), Ht(l, y, $);
1051
+ return w && (y = [w].concat(y), ++$), Dt(l, y, $);
1052
1052
  }, U.precision = U.sd = function(l, f) {
1053
1053
  var g, k, w, I = this;
1054
1054
  if (l != null && l !== !!l)
@@ -1081,13 +1081,13 @@ function Fi() {
1081
1081
  }
1082
1082
  return Se(g, g.e + Q + 1, ie, l);
1083
1083
  }, U.toExponential = function(l, f) {
1084
- return l != null && (E(l, 0, j), l++), Nt(this, l, f, 1);
1084
+ return l != null && (E(l, 0, j), l++), Ht(this, l, f, 1);
1085
1085
  }, U.toFixed = function(l, f) {
1086
- return l != null && (E(l, 0, j), l = l + this.e + 1), Nt(this, l, f);
1086
+ return l != null && (E(l, 0, j), l = l + this.e + 1), Ht(this, l, f);
1087
1087
  }, U.toFormat = function(l, f, g) {
1088
1088
  var k, w = this;
1089
1089
  if (g == null)
1090
- l != null && f && typeof f == "object" ? (g = f, f = null) : l && typeof l == "object" ? (g = l, l = f = null) : g = _t;
1090
+ l != null && f && typeof f == "object" ? (g = f, f = null) : l && typeof l == "object" ? (g = l, l = f = null) : g = Lt;
1091
1091
  else if (typeof g != "object")
1092
1092
  throw Error(s + "Argument not an object: " + g);
1093
1093
  if (k = w.toFixed(l, f), w.c) {
@@ -1115,10 +1115,10 @@ function Fi() {
1115
1115
  }, U.toNumber = function() {
1116
1116
  return +Ee(this);
1117
1117
  }, U.toPrecision = function(l, f) {
1118
- return l != null && E(l, 1, j), Nt(this, l, f, 2);
1118
+ return l != null && E(l, 1, j), Ht(this, l, f, 2);
1119
1119
  }, U.toString = function(l) {
1120
1120
  var f, g = this, k = g.s, w = g.e;
1121
- return w === null ? k ? (f = "Infinity", k < 0 && (f = "-" + f)) : f = "NaN" : (l == null ? f = w <= ce || w >= de ? J(V(g.c), w) : ae(V(g.c), w, "0") : l === 10 && Lt ? (g = Se(new x(g), Q + w + 1, ie), f = ae(V(g.c), g.e, "0")) : (E(l, 2, Ge.length, "Base"), f = te(ae(V(g.c), w, "0"), 10, l, k, !0)), k < 0 && g.c[0] && (f = "-" + f)), f;
1121
+ return w === null ? k ? (f = "Infinity", k < 0 && (f = "-" + f)) : f = "NaN" : (l == null ? f = w <= ce || w >= de ? J(V(g.c), w) : ae(V(g.c), w, "0") : l === 10 && Nt ? (g = Se(new x(g), Q + w + 1, ie), f = ae(V(g.c), g.e, "0")) : (E(l, 2, Ge.length, "Base"), f = te(ae(V(g.c), w, "0"), 10, l, k, !0)), k < 0 && g.c[0] && (f = "-" + f)), f;
1122
1122
  }, U.valueOf = U.toJSON = function() {
1123
1123
  return Ee(this);
1124
1124
  }, U._isBigNumber = !0, H != null && x.set(H), x;
@@ -1168,13 +1168,13 @@ function Fi() {
1168
1168
  return H;
1169
1169
  }
1170
1170
  n = q(), n.default = n.BigNumber = n, t.exports ? t.exports = n : (e || (e = typeof self < "u" && self ? self : window), e.BigNumber = n);
1171
- })(Un);
1171
+ })(qn);
1172
1172
  })(St)), St.exports;
1173
1173
  }
1174
- var Ei;
1175
- function Mn() {
1176
- return Ei || (Ei = 1, (function(t) {
1177
- var e = Fi(), n = t.exports;
1174
+ var _i;
1175
+ function En() {
1176
+ return _i || (_i = 1, (function(t) {
1177
+ var e = tn(), n = t.exports;
1178
1178
  (function() {
1179
1179
  var i = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, o, a, s = {
1180
1180
  // table of character substitutions
@@ -1241,12 +1241,12 @@ function Mn() {
1241
1241
  return c("", { "": p });
1242
1242
  });
1243
1243
  })();
1244
- })(Vt)), Vt.exports;
1244
+ })(Wt)), Wt.exports;
1245
1245
  }
1246
- var Wt, _i;
1247
- function Rn() {
1248
- if (_i) return Wt;
1249
- _i = 1;
1246
+ var Gt, Li;
1247
+ function _n() {
1248
+ if (Li) return Gt;
1249
+ Li = 1;
1250
1250
  var t = null;
1251
1251
  const e = /(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/, n = /(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;
1252
1252
  var i = function(o) {
@@ -1310,7 +1310,7 @@ function Rn() {
1310
1310
  if (N = +J, !isFinite(N))
1311
1311
  p("Bad number");
1312
1312
  else
1313
- return t == null && (t = Fi()), J.length > 15 ? a.storeAsString ? J : a.useNativeBigInt ? BigInt(J) : new t(J) : a.alwaysParseAsBig ? a.useNativeBigInt ? BigInt(N) : new t(N) : N;
1313
+ return t == null && (t = tn()), J.length > 15 ? a.storeAsString ? J : a.useNativeBigInt ? BigInt(J) : new t(J) : a.alwaysParseAsBig ? a.useNativeBigInt ? BigInt(N) : new t(N) : N;
1314
1314
  }, j = function() {
1315
1315
  var N, J, ae = "", H;
1316
1316
  if (r === '"')
@@ -1391,13 +1391,13 @@ function Rn() {
1391
1391
  })({ "": ae }, "") : ae;
1392
1392
  };
1393
1393
  };
1394
- return Wt = i, Wt;
1394
+ return Gt = i, Gt;
1395
1395
  }
1396
- var Li;
1397
- function qn() {
1398
- if (Li) return dt.exports;
1399
- Li = 1;
1400
- var t = Mn().stringify, e = Rn();
1396
+ var Ni;
1397
+ function Ln() {
1398
+ if (Ni) return dt.exports;
1399
+ Ni = 1;
1400
+ var t = En().stringify, e = _n();
1401
1401
  return dt.exports = function(n) {
1402
1402
  return {
1403
1403
  parse: e(n),
@@ -1405,8 +1405,8 @@ function qn() {
1405
1405
  };
1406
1406
  }, dt.exports.parse = e(), dt.exports.stringify = t, dt.exports;
1407
1407
  }
1408
- var En = qn();
1409
- const wi = /* @__PURE__ */ xn(En);
1408
+ var Nn = Ln();
1409
+ const bi = /* @__PURE__ */ Rn(Nn);
1410
1410
  function Ie(t, e, n, i) {
1411
1411
  function o(a) {
1412
1412
  return a instanceof n ? a : new n(function(s) {
@@ -1434,11 +1434,11 @@ function Ie(t, e, n, i) {
1434
1434
  c((i = i.apply(t, e || [])).next());
1435
1435
  });
1436
1436
  }
1437
- function _n(t, e, n, i) {
1437
+ function Hn(t, e, n, i) {
1438
1438
  if (typeof e == "function" ? t !== e || !i : !e.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1439
1439
  return n === "m" ? i : n === "a" ? i.call(t) : i ? i.value : e.get(t);
1440
1440
  }
1441
- var jt, en;
1441
+ var jt, nn;
1442
1442
  class Xe {
1443
1443
  /**
1444
1444
  * Uses the provided ID as the ID for the resource.
@@ -1456,7 +1456,7 @@ class Xe {
1456
1456
  * @returns {string}
1457
1457
  */
1458
1458
  static unique(e = 7) {
1459
- const n = _n(jt, jt, "m", en).call(jt);
1459
+ const n = Hn(jt, jt, "m", nn).call(jt);
1460
1460
  let i = "";
1461
1461
  for (let o = 0; o < e; o++) {
1462
1462
  const a = Math.floor(Math.random() * 16).toString(16);
@@ -1465,11 +1465,11 @@ class Xe {
1465
1465
  return n + i;
1466
1466
  }
1467
1467
  }
1468
- jt = Xe, en = function() {
1468
+ jt = Xe, nn = function() {
1469
1469
  const e = /* @__PURE__ */ new Date(), n = Math.floor(e.getTime() / 1e3), i = e.getMilliseconds();
1470
1470
  return n.toString(16) + i.toString(16).padStart(5, "0");
1471
1471
  };
1472
- const Rt = wi({ useNativeBigInt: !0 });
1472
+ const qt = bi({ useNativeBigInt: !0 });
1473
1473
  class P {
1474
1474
  /**
1475
1475
  * Constructor for Query class.
@@ -1487,7 +1487,7 @@ class P {
1487
1487
  * @returns {string}
1488
1488
  */
1489
1489
  toString() {
1490
- return Rt.stringify({
1490
+ return qt.stringify({
1491
1491
  method: this.method,
1492
1492
  attribute: this.attribute,
1493
1493
  values: this.values
@@ -1537,9 +1537,9 @@ P.createdBetween = (t, e) => P.between("$createdAt", t, e);
1537
1537
  P.updatedBefore = (t) => P.lessThan("$updatedAt", t);
1538
1538
  P.updatedAfter = (t) => P.greaterThan("$updatedAt", t);
1539
1539
  P.updatedBetween = (t, e) => P.between("$updatedAt", t, e);
1540
- P.or = (t) => new P("or", void 0, t.map((e) => Rt.parse(e))).toString();
1541
- P.and = (t) => new P("and", void 0, t.map((e) => Rt.parse(e))).toString();
1542
- P.elemMatch = (t, e) => new P("elemMatch", t, e.map((n) => Rt.parse(n))).toString();
1540
+ P.or = (t) => new P("or", void 0, t.map((e) => qt.parse(e))).toString();
1541
+ P.and = (t) => new P("and", void 0, t.map((e) => qt.parse(e))).toString();
1542
+ P.elemMatch = (t, e) => new P("elemMatch", t, e.map((n) => qt.parse(n))).toString();
1543
1543
  P.distanceEqual = (t, e, n, i = !0) => new P("distanceEqual", t, [
1544
1544
  [e, n, i]
1545
1545
  ]).toString();
@@ -1569,23 +1569,23 @@ P.overlaps = (t, e) => new P("overlaps", t, [e]).toString();
1569
1569
  P.notOverlaps = (t, e) => new P("notOverlaps", t, [e]).toString();
1570
1570
  P.touches = (t, e) => new P("touches", t, [e]).toString();
1571
1571
  P.notTouches = (t, e) => new P("notTouches", t, [e]).toString();
1572
- const Ln = wi({ storeAsString: !1 }), Nn = wi({ useNativeBigInt: !0 }), Hn = BigInt(Number.MAX_SAFE_INTEGER), Dn = BigInt(Number.MIN_SAFE_INTEGER), Bn = BigInt("9223372036854775807"), Xn = BigInt("-9223372036854775808");
1573
- function Vn(t) {
1572
+ const Dn = bi({ storeAsString: !1 }), Bn = bi({ useNativeBigInt: !0 }), Xn = BigInt(Number.MAX_SAFE_INTEGER), Vn = BigInt(Number.MIN_SAFE_INTEGER), Wn = BigInt("9223372036854775807"), Gn = BigInt("-9223372036854775808");
1573
+ function Kn(t) {
1574
1574
  return t !== null && typeof t == "object" && t._isBigNumber === !0 && typeof t.isInteger == "function" && typeof t.toFixed == "function" && typeof t.toNumber == "function";
1575
1575
  }
1576
- function Wn(t, e) {
1577
- if (Vn(e)) {
1576
+ function Yn(t, e) {
1577
+ if (Kn(e)) {
1578
1578
  if (e.isInteger()) {
1579
1579
  const n = e.toFixed(), i = BigInt(n);
1580
- return i >= Dn && i <= Hn ? Number(n) : i >= Xn && i <= Bn ? i : e.toNumber();
1580
+ return i >= Vn && i <= Xn ? Number(n) : i >= Gn && i <= Wn ? i : e.toNumber();
1581
1581
  }
1582
1582
  return e.toNumber();
1583
1583
  }
1584
1584
  return e;
1585
1585
  }
1586
1586
  const we = {
1587
- parse: (t) => Ln.parse(t, Wn),
1588
- stringify: Nn.stringify
1587
+ parse: (t) => Dn.parse(t, Yn),
1588
+ stringify: Bn.stringify
1589
1589
  };
1590
1590
  class h extends Error {
1591
1591
  /**
@@ -2136,7 +2136,7 @@ class ye {
2136
2136
  }
2137
2137
  }
2138
2138
  ye.CHUNK_SIZE = 5 * 1024 * 1024;
2139
- class Kt {
2139
+ class Yt {
2140
2140
  constructor(e) {
2141
2141
  this.client = e;
2142
2142
  }
@@ -3228,7 +3228,7 @@ class Kt {
3228
3228
  return this.client.call("put", d, c, r);
3229
3229
  }
3230
3230
  }
3231
- class tn {
3231
+ class on {
3232
3232
  constructor(e) {
3233
3233
  this.client = e;
3234
3234
  }
@@ -3414,7 +3414,7 @@ class tn {
3414
3414
  return U.toString();
3415
3415
  }
3416
3416
  }
3417
- class Gn {
3417
+ class Jn {
3418
3418
  constructor(e) {
3419
3419
  this.client = e;
3420
3420
  }
@@ -3719,7 +3719,7 @@ class Gn {
3719
3719
  return this.client.call("patch", j, q, m);
3720
3720
  }
3721
3721
  }
3722
- class Kn {
3722
+ class Zn {
3723
3723
  constructor(e) {
3724
3724
  this.client = e;
3725
3725
  }
@@ -4048,7 +4048,7 @@ class Kn {
4048
4048
  return this.client.call("patch", j, q, m);
4049
4049
  }
4050
4050
  }
4051
- class Yn {
4051
+ class Qn {
4052
4052
  constructor(e) {
4053
4053
  this.client = e;
4054
4054
  }
@@ -4111,7 +4111,7 @@ class Yn {
4111
4111
  return this.client.call("get", d, c, r);
4112
4112
  }
4113
4113
  }
4114
- class Jn {
4114
+ class Tn {
4115
4115
  constructor(e) {
4116
4116
  this.client = e;
4117
4117
  }
@@ -4152,7 +4152,7 @@ class Jn {
4152
4152
  return this.client.call("post", s, r, a);
4153
4153
  }
4154
4154
  }
4155
- class Zn {
4155
+ class zn {
4156
4156
  constructor(e) {
4157
4157
  this.client = e;
4158
4158
  }
@@ -4263,7 +4263,7 @@ class Zn {
4263
4263
  return this.client.call("get", i, o, n);
4264
4264
  }
4265
4265
  }
4266
- class Qn {
4266
+ class On {
4267
4267
  constructor(e) {
4268
4268
  this.client = e;
4269
4269
  }
@@ -4308,7 +4308,7 @@ class Qn {
4308
4308
  return this.client.call("delete", d, c, r);
4309
4309
  }
4310
4310
  }
4311
- class Tn {
4311
+ class Fn {
4312
4312
  constructor(e) {
4313
4313
  this.client = e;
4314
4314
  }
@@ -4392,7 +4392,7 @@ class Tn {
4392
4392
  return this.client.call("delete", s, r, a);
4393
4393
  }
4394
4394
  }
4395
- class zn {
4395
+ class eo {
4396
4396
  constructor(e) {
4397
4397
  this.client = e;
4398
4398
  }
@@ -4485,7 +4485,7 @@ class zn {
4485
4485
  return this.client.call("delete", s, r, a);
4486
4486
  }
4487
4487
  }
4488
- class On {
4488
+ class to {
4489
4489
  constructor(e) {
4490
4490
  this.client = e;
4491
4491
  }
@@ -4661,7 +4661,7 @@ class On {
4661
4661
  return c.toString();
4662
4662
  }
4663
4663
  }
4664
- class Fn {
4664
+ class io {
4665
4665
  constructor(e) {
4666
4666
  this.client = e;
4667
4667
  }
@@ -4966,7 +4966,7 @@ class Fn {
4966
4966
  return this.client.call("patch", j, q, m);
4967
4967
  }
4968
4968
  }
4969
- class nn {
4969
+ class an {
4970
4970
  constructor(e) {
4971
4971
  this.client = e;
4972
4972
  }
@@ -5311,7 +5311,7 @@ class nn {
5311
5311
  return this.client.call("put", d, c, r);
5312
5312
  }
5313
5313
  }
5314
- class eo {
5314
+ class no {
5315
5315
  constructor(e) {
5316
5316
  this.client = e;
5317
5317
  }
@@ -5586,7 +5586,7 @@ var Ct;
5586
5586
  (function(t) {
5587
5587
  t[t.NORMAL_CLOSURE = 1e3] = "NORMAL_CLOSURE", t[t.POLICY_VIOLATION = 1008] = "POLICY_VIOLATION", t[t.UNKNOWN_ERROR = -1] = "UNKNOWN_ERROR";
5588
5588
  })(Ct || (Ct = {}));
5589
- class to {
5589
+ class oo {
5590
5590
  constructor(e) {
5591
5591
  this.TYPE_ERROR = "error", this.TYPE_EVENT = "event", this.TYPE_PONG = "pong", this.TYPE_CONNECTED = "connected", this.DEBOUNCE_MS = 1, this.HEARTBEAT_INTERVAL = 2e4, this.activeSubscriptions = /* @__PURE__ */ new Map(), this.pendingSubscribes = /* @__PURE__ */ new Map(), this.appConnected = !1, this.subCallDepth = 0, this.reconnectAttempts = 0, this.connectionId = 0, this.reconnect = !0, this.onErrorCallbacks = [], this.onCloseCallbacks = [], this.onOpenCallbacks = [], this.client = e;
5592
5592
  }
@@ -5921,7 +5921,7 @@ ot.write = (t) => `write("${t}")`;
5921
5921
  ot.create = (t) => `create("${t}")`;
5922
5922
  ot.update = (t) => `update("${t}")`;
5923
5923
  ot.delete = (t) => `delete("${t}")`;
5924
- class io {
5924
+ class ao {
5925
5925
  /**
5926
5926
  * Grants access to anyone.
5927
5927
  *
@@ -6109,10 +6109,10 @@ class Pe {
6109
6109
  return "presences";
6110
6110
  }
6111
6111
  }
6112
- var Yt;
6112
+ var Jt;
6113
6113
  (function(t) {
6114
6114
  t.Equal = "equal", t.NotEqual = "notEqual", t.GreaterThan = "greaterThan", t.GreaterThanEqual = "greaterThanEqual", t.LessThan = "lessThan", t.LessThanEqual = "lessThanEqual", t.Contains = "contains", t.IsNull = "isNull", t.IsNotNull = "isNotNull";
6115
- })(Yt || (Yt = {}));
6115
+ })(Jt || (Jt = {}));
6116
6116
  class T {
6117
6117
  /**
6118
6118
  * Constructor for Operator class.
@@ -6204,140 +6204,140 @@ T.toggle = () => new T("toggle", []).toString();
6204
6204
  T.dateAddDays = (t) => new T("dateAddDays", [t]).toString();
6205
6205
  T.dateSubDays = (t) => new T("dateSubDays", [t]).toString();
6206
6206
  T.dateSetNow = () => new T("dateSetNow", []).toString();
6207
- var Jt;
6208
- (function(t) {
6209
- t.Totp = "totp";
6210
- })(Jt || (Jt = {}));
6211
6207
  var Zt;
6212
6208
  (function(t) {
6213
- t.Email = "email", t.Phone = "phone", t.Totp = "totp", t.Recoverycode = "recoverycode", t.Custom = "custom";
6209
+ t.Totp = "totp";
6214
6210
  })(Zt || (Zt = {}));
6215
6211
  var Qt;
6216
6212
  (function(t) {
6217
- t.Amazon = "amazon", t.Apple = "apple", t.Appwrite = "appwrite", t.Auth0 = "auth0", t.Authentik = "authentik", t.Autodesk = "autodesk", t.Bitbucket = "bitbucket", t.Bitly = "bitly", t.Box = "box", t.Cloudflare = "cloudflare", t.Dailymotion = "dailymotion", t.Discord = "discord", t.Disqus = "disqus", t.Dropbox = "dropbox", t.Etsy = "etsy", t.Facebook = "facebook", t.Figma = "figma", t.Fusionauth = "fusionauth", t.Github = "github", t.Gitlab = "gitlab", t.Google = "google", t.Huggingface = "huggingface", t.Keycloak = "keycloak", t.Kick = "kick", t.Linkedin = "linkedin", t.Microsoft = "microsoft", t.Notion = "notion", t.Oidc = "oidc", t.Okta = "okta", t.Paypal = "paypal", t.PaypalSandbox = "paypalSandbox", t.Podio = "podio", t.Resend = "resend", t.Salesforce = "salesforce", t.Slack = "slack", t.Spotify = "spotify", t.Stripe = "stripe", t.Tradeshift = "tradeshift", t.TradeshiftBox = "tradeshiftBox", t.Twitch = "twitch", t.Wordpress = "wordpress", t.X = "x", t.Yahoo = "yahoo", t.Yammer = "yammer", t.Yandex = "yandex", t.Zoho = "zoho", t.Zoom = "zoom";
6213
+ t.Email = "email", t.Phone = "phone", t.Totp = "totp", t.Recoverycode = "recoverycode", t.Custom = "custom";
6218
6214
  })(Qt || (Qt = {}));
6219
6215
  var Tt;
6220
6216
  (function(t) {
6221
- t.AvantBrowser = "aa", t.AndroidWebViewBeta = "an", t.GoogleChrome = "ch", t.GoogleChromeIOS = "ci", t.GoogleChromeMobile = "cm", t.Chromium = "cr", t.MozillaFirefox = "ff", t.Safari = "sf", t.MobileSafari = "mf", t.MicrosoftEdge = "ps", t.MicrosoftEdgeIOS = "oi", t.OperaMini = "om", t.Opera = "op", t.OperaNext = "on";
6217
+ t.Amazon = "amazon", t.Apple = "apple", t.Appwrite = "appwrite", t.Auth0 = "auth0", t.Authentik = "authentik", t.Autodesk = "autodesk", t.Bitbucket = "bitbucket", t.Bitly = "bitly", t.Box = "box", t.Cloudflare = "cloudflare", t.Dailymotion = "dailymotion", t.Discord = "discord", t.Disqus = "disqus", t.Dropbox = "dropbox", t.Etsy = "etsy", t.Facebook = "facebook", t.Figma = "figma", t.Fusionauth = "fusionauth", t.Github = "github", t.Gitlab = "gitlab", t.Google = "google", t.Huggingface = "huggingface", t.Keycloak = "keycloak", t.Kick = "kick", t.Linkedin = "linkedin", t.Microsoft = "microsoft", t.Notion = "notion", t.Oidc = "oidc", t.Okta = "okta", t.Paypal = "paypal", t.PaypalSandbox = "paypalSandbox", t.Podio = "podio", t.Resend = "resend", t.Salesforce = "salesforce", t.Slack = "slack", t.Spotify = "spotify", t.Stripe = "stripe", t.Tradeshift = "tradeshift", t.TradeshiftBox = "tradeshiftBox", t.Twitch = "twitch", t.Wordpress = "wordpress", t.X = "x", t.Yahoo = "yahoo", t.Yammer = "yammer", t.Yandex = "yandex", t.Zoho = "zoho", t.Zoom = "zoom";
6222
6218
  })(Tt || (Tt = {}));
6223
6219
  var zt;
6224
6220
  (function(t) {
6225
- t.AmericanExpress = "amex", t.Argencard = "argencard", t.Cabal = "cabal", t.Cencosud = "cencosud", t.DinersClub = "diners", t.Discover = "discover", t.Elo = "elo", t.Hipercard = "hipercard", t.JCB = "jcb", t.Mastercard = "mastercard", t.Naranja = "naranja", t.TarjetaShopping = "targeta-shopping", t.UnionPay = "unionpay", t.Visa = "visa", t.MIR = "mir", t.Maestro = "maestro", t.Rupay = "rupay";
6221
+ t.AvantBrowser = "aa", t.AndroidWebViewBeta = "an", t.GoogleChrome = "ch", t.GoogleChromeIOS = "ci", t.GoogleChromeMobile = "cm", t.Chromium = "cr", t.MozillaFirefox = "ff", t.Safari = "sf", t.MobileSafari = "mf", t.MicrosoftEdge = "ps", t.MicrosoftEdgeIOS = "oi", t.OperaMini = "om", t.Opera = "op", t.OperaNext = "on";
6226
6222
  })(zt || (zt = {}));
6227
6223
  var Ot;
6228
6224
  (function(t) {
6229
- t.Afghanistan = "af", t.Angola = "ao", t.Albania = "al", t.Andorra = "ad", t.UnitedArabEmirates = "ae", t.Argentina = "ar", t.Armenia = "am", t.AntiguaAndBarbuda = "ag", t.Australia = "au", t.Austria = "at", t.Azerbaijan = "az", t.Burundi = "bi", t.Belgium = "be", t.Benin = "bj", t.BurkinaFaso = "bf", t.Bangladesh = "bd", t.Bulgaria = "bg", t.Bahrain = "bh", t.Bahamas = "bs", t.BosniaAndHerzegovina = "ba", t.Belarus = "by", t.Belize = "bz", t.Bolivia = "bo", t.Brazil = "br", t.Barbados = "bb", t.BruneiDarussalam = "bn", t.Bhutan = "bt", t.Botswana = "bw", t.CentralAfricanRepublic = "cf", t.Canada = "ca", t.Switzerland = "ch", t.Chile = "cl", t.China = "cn", t.CoteDIvoire = "ci", t.Cameroon = "cm", t.DemocraticRepublicOfTheCongo = "cd", t.RepublicOfTheCongo = "cg", t.Colombia = "co", t.Comoros = "km", t.CapeVerde = "cv", t.CostaRica = "cr", t.Cuba = "cu", t.Cyprus = "cy", t.CzechRepublic = "cz", t.Germany = "de", t.Djibouti = "dj", t.Dominica = "dm", t.Denmark = "dk", t.DominicanRepublic = "do", t.Algeria = "dz", t.Ecuador = "ec", t.Egypt = "eg", t.Eritrea = "er", t.Spain = "es", t.Estonia = "ee", t.Ethiopia = "et", t.Finland = "fi", t.Fiji = "fj", t.France = "fr", t.MicronesiaFederatedStatesOf = "fm", t.Gabon = "ga", t.UnitedKingdom = "gb", t.Georgia = "ge", t.Ghana = "gh", t.Guinea = "gn", t.Gambia = "gm", t.GuineaBissau = "gw", t.EquatorialGuinea = "gq", t.Greece = "gr", t.Grenada = "gd", t.Guatemala = "gt", t.Guyana = "gy", t.Honduras = "hn", t.Croatia = "hr", t.Haiti = "ht", t.Hungary = "hu", t.Indonesia = "id", t.India = "in", t.Ireland = "ie", t.IranIslamicRepublicOf = "ir", t.Iraq = "iq", t.Iceland = "is", t.Israel = "il", t.Italy = "it", t.Jamaica = "jm", t.Jordan = "jo", t.Japan = "jp", t.Kazakhstan = "kz", t.Kenya = "ke", t.Kyrgyzstan = "kg", t.Cambodia = "kh", t.Kiribati = "ki", t.SaintKittsAndNevis = "kn", t.SouthKorea = "kr", t.Kuwait = "kw", t.LaoPeopleSDemocraticRepublic = "la", t.Lebanon = "lb", t.Liberia = "lr", t.Libya = "ly", t.SaintLucia = "lc", t.Liechtenstein = "li", t.SriLanka = "lk", t.Lesotho = "ls", t.Lithuania = "lt", t.Luxembourg = "lu", t.Latvia = "lv", t.Morocco = "ma", t.Monaco = "mc", t.Moldova = "md", t.Madagascar = "mg", t.Maldives = "mv", t.Mexico = "mx", t.MarshallIslands = "mh", t.NorthMacedonia = "mk", t.Mali = "ml", t.Malta = "mt", t.Myanmar = "mm", t.Montenegro = "me", t.Mongolia = "mn", t.Mozambique = "mz", t.Mauritania = "mr", t.Mauritius = "mu", t.Malawi = "mw", t.Malaysia = "my", t.Namibia = "na", t.Niger = "ne", t.Nigeria = "ng", t.Nicaragua = "ni", t.Netherlands = "nl", t.Norway = "no", t.Nepal = "np", t.Nauru = "nr", t.NewZealand = "nz", t.Oman = "om", t.Pakistan = "pk", t.Panama = "pa", t.Peru = "pe", t.Philippines = "ph", t.Palau = "pw", t.PapuaNewGuinea = "pg", t.Poland = "pl", t.FrenchPolynesia = "pf", t.NorthKorea = "kp", t.Portugal = "pt", t.Paraguay = "py", t.Qatar = "qa", t.Romania = "ro", t.Russia = "ru", t.Rwanda = "rw", t.SaudiArabia = "sa", t.Sudan = "sd", t.Senegal = "sn", t.Singapore = "sg", t.SolomonIslands = "sb", t.SierraLeone = "sl", t.ElSalvador = "sv", t.SanMarino = "sm", t.Somalia = "so", t.Serbia = "rs", t.SouthSudan = "ss", t.SaoTomeAndPrincipe = "st", t.Suriname = "sr", t.Slovakia = "sk", t.Slovenia = "si", t.Sweden = "se", t.Eswatini = "sz", t.Seychelles = "sc", t.Syria = "sy", t.Chad = "td", t.Togo = "tg", t.Thailand = "th", t.Tajikistan = "tj", t.Turkmenistan = "tm", t.TimorLeste = "tl", t.Tonga = "to", t.TrinidadAndTobago = "tt", t.Tunisia = "tn", t.Turkey = "tr", t.Tuvalu = "tv", t.Tanzania = "tz", t.Uganda = "ug", t.Ukraine = "ua", t.Uruguay = "uy", t.UnitedStates = "us", t.Uzbekistan = "uz", t.VaticanCity = "va", t.SaintVincentAndTheGrenadines = "vc", t.Venezuela = "ve", t.Vietnam = "vn", t.Vanuatu = "vu", t.Samoa = "ws", t.Yemen = "ye", t.SouthAfrica = "za", t.Zambia = "zm", t.Zimbabwe = "zw";
6225
+ t.AmericanExpress = "amex", t.Argencard = "argencard", t.Cabal = "cabal", t.Cencosud = "cencosud", t.DinersClub = "diners", t.Discover = "discover", t.Elo = "elo", t.Hipercard = "hipercard", t.JCB = "jcb", t.Mastercard = "mastercard", t.Naranja = "naranja", t.TarjetaShopping = "targeta-shopping", t.UnionPay = "unionpay", t.Visa = "visa", t.MIR = "mir", t.Maestro = "maestro", t.Rupay = "rupay";
6230
6226
  })(Ot || (Ot = {}));
6231
6227
  var Ft;
6232
6228
  (function(t) {
6233
- t.Light = "light", t.Dark = "dark";
6229
+ t.Afghanistan = "af", t.Angola = "ao", t.Albania = "al", t.Andorra = "ad", t.UnitedArabEmirates = "ae", t.Argentina = "ar", t.Armenia = "am", t.AntiguaAndBarbuda = "ag", t.Australia = "au", t.Austria = "at", t.Azerbaijan = "az", t.Burundi = "bi", t.Belgium = "be", t.Benin = "bj", t.BurkinaFaso = "bf", t.Bangladesh = "bd", t.Bulgaria = "bg", t.Bahrain = "bh", t.Bahamas = "bs", t.BosniaAndHerzegovina = "ba", t.Belarus = "by", t.Belize = "bz", t.Bolivia = "bo", t.Brazil = "br", t.Barbados = "bb", t.BruneiDarussalam = "bn", t.Bhutan = "bt", t.Botswana = "bw", t.CentralAfricanRepublic = "cf", t.Canada = "ca", t.Switzerland = "ch", t.Chile = "cl", t.China = "cn", t.CoteDIvoire = "ci", t.Cameroon = "cm", t.DemocraticRepublicOfTheCongo = "cd", t.RepublicOfTheCongo = "cg", t.Colombia = "co", t.Comoros = "km", t.CapeVerde = "cv", t.CostaRica = "cr", t.Cuba = "cu", t.Cyprus = "cy", t.CzechRepublic = "cz", t.Germany = "de", t.Djibouti = "dj", t.Dominica = "dm", t.Denmark = "dk", t.DominicanRepublic = "do", t.Algeria = "dz", t.Ecuador = "ec", t.Egypt = "eg", t.Eritrea = "er", t.Spain = "es", t.Estonia = "ee", t.Ethiopia = "et", t.Finland = "fi", t.Fiji = "fj", t.France = "fr", t.MicronesiaFederatedStatesOf = "fm", t.Gabon = "ga", t.UnitedKingdom = "gb", t.Georgia = "ge", t.Ghana = "gh", t.Guinea = "gn", t.Gambia = "gm", t.GuineaBissau = "gw", t.EquatorialGuinea = "gq", t.Greece = "gr", t.Grenada = "gd", t.Guatemala = "gt", t.Guyana = "gy", t.Honduras = "hn", t.Croatia = "hr", t.Haiti = "ht", t.Hungary = "hu", t.Indonesia = "id", t.India = "in", t.Ireland = "ie", t.IranIslamicRepublicOf = "ir", t.Iraq = "iq", t.Iceland = "is", t.Israel = "il", t.Italy = "it", t.Jamaica = "jm", t.Jordan = "jo", t.Japan = "jp", t.Kazakhstan = "kz", t.Kenya = "ke", t.Kyrgyzstan = "kg", t.Cambodia = "kh", t.Kiribati = "ki", t.SaintKittsAndNevis = "kn", t.SouthKorea = "kr", t.Kuwait = "kw", t.LaoPeopleSDemocraticRepublic = "la", t.Lebanon = "lb", t.Liberia = "lr", t.Libya = "ly", t.SaintLucia = "lc", t.Liechtenstein = "li", t.SriLanka = "lk", t.Lesotho = "ls", t.Lithuania = "lt", t.Luxembourg = "lu", t.Latvia = "lv", t.Morocco = "ma", t.Monaco = "mc", t.Moldova = "md", t.Madagascar = "mg", t.Maldives = "mv", t.Mexico = "mx", t.MarshallIslands = "mh", t.NorthMacedonia = "mk", t.Mali = "ml", t.Malta = "mt", t.Myanmar = "mm", t.Montenegro = "me", t.Mongolia = "mn", t.Mozambique = "mz", t.Mauritania = "mr", t.Mauritius = "mu", t.Malawi = "mw", t.Malaysia = "my", t.Namibia = "na", t.Niger = "ne", t.Nigeria = "ng", t.Nicaragua = "ni", t.Netherlands = "nl", t.Norway = "no", t.Nepal = "np", t.Nauru = "nr", t.NewZealand = "nz", t.Oman = "om", t.Pakistan = "pk", t.Panama = "pa", t.Peru = "pe", t.Philippines = "ph", t.Palau = "pw", t.PapuaNewGuinea = "pg", t.Poland = "pl", t.FrenchPolynesia = "pf", t.NorthKorea = "kp", t.Portugal = "pt", t.Paraguay = "py", t.Qatar = "qa", t.Romania = "ro", t.Russia = "ru", t.Rwanda = "rw", t.SaudiArabia = "sa", t.Sudan = "sd", t.Senegal = "sn", t.Singapore = "sg", t.SolomonIslands = "sb", t.SierraLeone = "sl", t.ElSalvador = "sv", t.SanMarino = "sm", t.Somalia = "so", t.Serbia = "rs", t.SouthSudan = "ss", t.SaoTomeAndPrincipe = "st", t.Suriname = "sr", t.Slovakia = "sk", t.Slovenia = "si", t.Sweden = "se", t.Eswatini = "sz", t.Seychelles = "sc", t.Syria = "sy", t.Chad = "td", t.Togo = "tg", t.Thailand = "th", t.Tajikistan = "tj", t.Turkmenistan = "tm", t.TimorLeste = "tl", t.Tonga = "to", t.TrinidadAndTobago = "tt", t.Tunisia = "tn", t.Turkey = "tr", t.Tuvalu = "tv", t.Tanzania = "tz", t.Uganda = "ug", t.Ukraine = "ua", t.Uruguay = "uy", t.UnitedStates = "us", t.Uzbekistan = "uz", t.VaticanCity = "va", t.SaintVincentAndTheGrenadines = "vc", t.Venezuela = "ve", t.Vietnam = "vn", t.Vanuatu = "vu", t.Samoa = "ws", t.Yemen = "ye", t.SouthAfrica = "za", t.Zambia = "zm", t.Zimbabwe = "zw";
6234
6230
  })(Ft || (Ft = {}));
6235
6231
  var ei;
6236
6232
  (function(t) {
6237
- t.AfricaAbidjan = "africa/abidjan", t.AfricaAccra = "africa/accra", t.AfricaAddisAbaba = "africa/addis_ababa", t.AfricaAlgiers = "africa/algiers", t.AfricaAsmara = "africa/asmara", t.AfricaBamako = "africa/bamako", t.AfricaBangui = "africa/bangui", t.AfricaBanjul = "africa/banjul", t.AfricaBissau = "africa/bissau", t.AfricaBlantyre = "africa/blantyre", t.AfricaBrazzaville = "africa/brazzaville", t.AfricaBujumbura = "africa/bujumbura", t.AfricaCairo = "africa/cairo", t.AfricaCasablanca = "africa/casablanca", t.AfricaCeuta = "africa/ceuta", t.AfricaConakry = "africa/conakry", t.AfricaDakar = "africa/dakar", t.AfricaDarEsSalaam = "africa/dar_es_salaam", t.AfricaDjibouti = "africa/djibouti", t.AfricaDouala = "africa/douala", t.AfricaElAaiun = "africa/el_aaiun", t.AfricaFreetown = "africa/freetown", t.AfricaGaborone = "africa/gaborone", t.AfricaHarare = "africa/harare", t.AfricaJohannesburg = "africa/johannesburg", t.AfricaJuba = "africa/juba", t.AfricaKampala = "africa/kampala", t.AfricaKhartoum = "africa/khartoum", t.AfricaKigali = "africa/kigali", t.AfricaKinshasa = "africa/kinshasa", t.AfricaLagos = "africa/lagos", t.AfricaLibreville = "africa/libreville", t.AfricaLome = "africa/lome", t.AfricaLuanda = "africa/luanda", t.AfricaLubumbashi = "africa/lubumbashi", t.AfricaLusaka = "africa/lusaka", t.AfricaMalabo = "africa/malabo", t.AfricaMaputo = "africa/maputo", t.AfricaMaseru = "africa/maseru", t.AfricaMbabane = "africa/mbabane", t.AfricaMogadishu = "africa/mogadishu", t.AfricaMonrovia = "africa/monrovia", t.AfricaNairobi = "africa/nairobi", t.AfricaNdjamena = "africa/ndjamena", t.AfricaNiamey = "africa/niamey", t.AfricaNouakchott = "africa/nouakchott", t.AfricaOuagadougou = "africa/ouagadougou", t.AfricaPortonovo = "africa/porto-novo", t.AfricaSaoTome = "africa/sao_tome", t.AfricaTripoli = "africa/tripoli", t.AfricaTunis = "africa/tunis", t.AfricaWindhoek = "africa/windhoek", t.AmericaAdak = "america/adak", t.AmericaAnchorage = "america/anchorage", t.AmericaAnguilla = "america/anguilla", t.AmericaAntigua = "america/antigua", t.AmericaAraguaina = "america/araguaina", t.AmericaArgentinaBuenosAires = "america/argentina/buenos_aires", t.AmericaArgentinaCatamarca = "america/argentina/catamarca", t.AmericaArgentinaCordoba = "america/argentina/cordoba", t.AmericaArgentinaJujuy = "america/argentina/jujuy", t.AmericaArgentinaLaRioja = "america/argentina/la_rioja", t.AmericaArgentinaMendoza = "america/argentina/mendoza", t.AmericaArgentinaRioGallegos = "america/argentina/rio_gallegos", t.AmericaArgentinaSalta = "america/argentina/salta", t.AmericaArgentinaSanJuan = "america/argentina/san_juan", t.AmericaArgentinaSanLuis = "america/argentina/san_luis", t.AmericaArgentinaTucuman = "america/argentina/tucuman", t.AmericaArgentinaUshuaia = "america/argentina/ushuaia", t.AmericaAruba = "america/aruba", t.AmericaAsuncion = "america/asuncion", t.AmericaAtikokan = "america/atikokan", t.AmericaBahia = "america/bahia", t.AmericaBahiaBanderas = "america/bahia_banderas", t.AmericaBarbados = "america/barbados", t.AmericaBelem = "america/belem", t.AmericaBelize = "america/belize", t.AmericaBlancsablon = "america/blanc-sablon", t.AmericaBoaVista = "america/boa_vista", t.AmericaBogota = "america/bogota", t.AmericaBoise = "america/boise", t.AmericaCambridgeBay = "america/cambridge_bay", t.AmericaCampoGrande = "america/campo_grande", t.AmericaCancun = "america/cancun", t.AmericaCaracas = "america/caracas", t.AmericaCayenne = "america/cayenne", t.AmericaCayman = "america/cayman", t.AmericaChicago = "america/chicago", t.AmericaChihuahua = "america/chihuahua", t.AmericaCiudadJuarez = "america/ciudad_juarez", t.AmericaCostaRica = "america/costa_rica", t.AmericaCoyhaique = "america/coyhaique", t.AmericaCreston = "america/creston", t.AmericaCuiaba = "america/cuiaba", t.AmericaCuracao = "america/curacao", t.AmericaDanmarkshavn = "america/danmarkshavn", t.AmericaDawson = "america/dawson", t.AmericaDawsonCreek = "america/dawson_creek", t.AmericaDenver = "america/denver", t.AmericaDetroit = "america/detroit", t.AmericaDominica = "america/dominica", t.AmericaEdmonton = "america/edmonton", t.AmericaEirunepe = "america/eirunepe", t.AmericaElSalvador = "america/el_salvador", t.AmericaFortNelson = "america/fort_nelson", t.AmericaFortaleza = "america/fortaleza", t.AmericaGlaceBay = "america/glace_bay", t.AmericaGooseBay = "america/goose_bay", t.AmericaGrandTurk = "america/grand_turk", t.AmericaGrenada = "america/grenada", t.AmericaGuadeloupe = "america/guadeloupe", t.AmericaGuatemala = "america/guatemala", t.AmericaGuayaquil = "america/guayaquil", t.AmericaGuyana = "america/guyana", t.AmericaHalifax = "america/halifax", t.AmericaHavana = "america/havana", t.AmericaHermosillo = "america/hermosillo", t.AmericaIndianaIndianapolis = "america/indiana/indianapolis", t.AmericaIndianaKnox = "america/indiana/knox", t.AmericaIndianaMarengo = "america/indiana/marengo", t.AmericaIndianaPetersburg = "america/indiana/petersburg", t.AmericaIndianaTellCity = "america/indiana/tell_city", t.AmericaIndianaVevay = "america/indiana/vevay", t.AmericaIndianaVincennes = "america/indiana/vincennes", t.AmericaIndianaWinamac = "america/indiana/winamac", t.AmericaInuvik = "america/inuvik", t.AmericaIqaluit = "america/iqaluit", t.AmericaJamaica = "america/jamaica", t.AmericaJuneau = "america/juneau", t.AmericaKentuckyLouisville = "america/kentucky/louisville", t.AmericaKentuckyMonticello = "america/kentucky/monticello", t.AmericaKralendijk = "america/kralendijk", t.AmericaLaPaz = "america/la_paz", t.AmericaLima = "america/lima", t.AmericaLosAngeles = "america/los_angeles", t.AmericaLowerPrinces = "america/lower_princes", t.AmericaMaceio = "america/maceio", t.AmericaManagua = "america/managua", t.AmericaManaus = "america/manaus", t.AmericaMarigot = "america/marigot", t.AmericaMartinique = "america/martinique", t.AmericaMatamoros = "america/matamoros", t.AmericaMazatlan = "america/mazatlan", t.AmericaMenominee = "america/menominee", t.AmericaMerida = "america/merida", t.AmericaMetlakatla = "america/metlakatla", t.AmericaMexicoCity = "america/mexico_city", t.AmericaMiquelon = "america/miquelon", t.AmericaMoncton = "america/moncton", t.AmericaMonterrey = "america/monterrey", t.AmericaMontevideo = "america/montevideo", t.AmericaMontserrat = "america/montserrat", t.AmericaNassau = "america/nassau", t.AmericaNewYork = "america/new_york", t.AmericaNome = "america/nome", t.AmericaNoronha = "america/noronha", t.AmericaNorthDakotaBeulah = "america/north_dakota/beulah", t.AmericaNorthDakotaCenter = "america/north_dakota/center", t.AmericaNorthDakotaNewSalem = "america/north_dakota/new_salem", t.AmericaNuuk = "america/nuuk", t.AmericaOjinaga = "america/ojinaga", t.AmericaPanama = "america/panama", t.AmericaParamaribo = "america/paramaribo", t.AmericaPhoenix = "america/phoenix", t.AmericaPortauprince = "america/port-au-prince", t.AmericaPortOfSpain = "america/port_of_spain", t.AmericaPortoVelho = "america/porto_velho", t.AmericaPuertoRico = "america/puerto_rico", t.AmericaPuntaArenas = "america/punta_arenas", t.AmericaRankinInlet = "america/rankin_inlet", t.AmericaRecife = "america/recife", t.AmericaRegina = "america/regina", t.AmericaResolute = "america/resolute", t.AmericaRioBranco = "america/rio_branco", t.AmericaSantarem = "america/santarem", t.AmericaSantiago = "america/santiago", t.AmericaSantoDomingo = "america/santo_domingo", t.AmericaSaoPaulo = "america/sao_paulo", t.AmericaScoresbysund = "america/scoresbysund", t.AmericaSitka = "america/sitka", t.AmericaStBarthelemy = "america/st_barthelemy", t.AmericaStJohns = "america/st_johns", t.AmericaStKitts = "america/st_kitts", t.AmericaStLucia = "america/st_lucia", t.AmericaStThomas = "america/st_thomas", t.AmericaStVincent = "america/st_vincent", t.AmericaSwiftCurrent = "america/swift_current", t.AmericaTegucigalpa = "america/tegucigalpa", t.AmericaThule = "america/thule", t.AmericaTijuana = "america/tijuana", t.AmericaToronto = "america/toronto", t.AmericaTortola = "america/tortola", t.AmericaVancouver = "america/vancouver", t.AmericaWhitehorse = "america/whitehorse", t.AmericaWinnipeg = "america/winnipeg", t.AmericaYakutat = "america/yakutat", t.AntarcticaCasey = "antarctica/casey", t.AntarcticaDavis = "antarctica/davis", t.AntarcticaDumontdurville = "antarctica/dumontdurville", t.AntarcticaMacquarie = "antarctica/macquarie", t.AntarcticaMawson = "antarctica/mawson", t.AntarcticaMcmurdo = "antarctica/mcmurdo", t.AntarcticaPalmer = "antarctica/palmer", t.AntarcticaRothera = "antarctica/rothera", t.AntarcticaSyowa = "antarctica/syowa", t.AntarcticaTroll = "antarctica/troll", t.AntarcticaVostok = "antarctica/vostok", t.ArcticLongyearbyen = "arctic/longyearbyen", t.AsiaAden = "asia/aden", t.AsiaAlmaty = "asia/almaty", t.AsiaAmman = "asia/amman", t.AsiaAnadyr = "asia/anadyr", t.AsiaAqtau = "asia/aqtau", t.AsiaAqtobe = "asia/aqtobe", t.AsiaAshgabat = "asia/ashgabat", t.AsiaAtyrau = "asia/atyrau", t.AsiaBaghdad = "asia/baghdad", t.AsiaBahrain = "asia/bahrain", t.AsiaBaku = "asia/baku", t.AsiaBangkok = "asia/bangkok", t.AsiaBarnaul = "asia/barnaul", t.AsiaBeirut = "asia/beirut", t.AsiaBishkek = "asia/bishkek", t.AsiaBrunei = "asia/brunei", t.AsiaChita = "asia/chita", t.AsiaColombo = "asia/colombo", t.AsiaDamascus = "asia/damascus", t.AsiaDhaka = "asia/dhaka", t.AsiaDili = "asia/dili", t.AsiaDubai = "asia/dubai", t.AsiaDushanbe = "asia/dushanbe", t.AsiaFamagusta = "asia/famagusta", t.AsiaGaza = "asia/gaza", t.AsiaHebron = "asia/hebron", t.AsiaHoChiMinh = "asia/ho_chi_minh", t.AsiaHongKong = "asia/hong_kong", t.AsiaHovd = "asia/hovd", t.AsiaIrkutsk = "asia/irkutsk", t.AsiaJakarta = "asia/jakarta", t.AsiaJayapura = "asia/jayapura", t.AsiaJerusalem = "asia/jerusalem", t.AsiaKabul = "asia/kabul", t.AsiaKamchatka = "asia/kamchatka", t.AsiaKarachi = "asia/karachi", t.AsiaKathmandu = "asia/kathmandu", t.AsiaKhandyga = "asia/khandyga", t.AsiaKolkata = "asia/kolkata", t.AsiaKrasnoyarsk = "asia/krasnoyarsk", t.AsiaKualaLumpur = "asia/kuala_lumpur", t.AsiaKuching = "asia/kuching", t.AsiaKuwait = "asia/kuwait", t.AsiaMacau = "asia/macau", t.AsiaMagadan = "asia/magadan", t.AsiaMakassar = "asia/makassar", t.AsiaManila = "asia/manila", t.AsiaMuscat = "asia/muscat", t.AsiaNicosia = "asia/nicosia", t.AsiaNovokuznetsk = "asia/novokuznetsk", t.AsiaNovosibirsk = "asia/novosibirsk", t.AsiaOmsk = "asia/omsk", t.AsiaOral = "asia/oral", t.AsiaPhnomPenh = "asia/phnom_penh", t.AsiaPontianak = "asia/pontianak", t.AsiaPyongyang = "asia/pyongyang", t.AsiaQatar = "asia/qatar", t.AsiaQostanay = "asia/qostanay", t.AsiaQyzylorda = "asia/qyzylorda", t.AsiaRiyadh = "asia/riyadh", t.AsiaSakhalin = "asia/sakhalin", t.AsiaSamarkand = "asia/samarkand", t.AsiaSeoul = "asia/seoul", t.AsiaShanghai = "asia/shanghai", t.AsiaSingapore = "asia/singapore", t.AsiaSrednekolymsk = "asia/srednekolymsk", t.AsiaTaipei = "asia/taipei", t.AsiaTashkent = "asia/tashkent", t.AsiaTbilisi = "asia/tbilisi", t.AsiaTehran = "asia/tehran", t.AsiaThimphu = "asia/thimphu", t.AsiaTokyo = "asia/tokyo", t.AsiaTomsk = "asia/tomsk", t.AsiaUlaanbaatar = "asia/ulaanbaatar", t.AsiaUrumqi = "asia/urumqi", t.AsiaUstnera = "asia/ust-nera", t.AsiaVientiane = "asia/vientiane", t.AsiaVladivostok = "asia/vladivostok", t.AsiaYakutsk = "asia/yakutsk", t.AsiaYangon = "asia/yangon", t.AsiaYekaterinburg = "asia/yekaterinburg", t.AsiaYerevan = "asia/yerevan", t.AtlanticAzores = "atlantic/azores", t.AtlanticBermuda = "atlantic/bermuda", t.AtlanticCanary = "atlantic/canary", t.AtlanticCapeVerde = "atlantic/cape_verde", t.AtlanticFaroe = "atlantic/faroe", t.AtlanticMadeira = "atlantic/madeira", t.AtlanticReykjavik = "atlantic/reykjavik", t.AtlanticSouthGeorgia = "atlantic/south_georgia", t.AtlanticStHelena = "atlantic/st_helena", t.AtlanticStanley = "atlantic/stanley", t.AustraliaAdelaide = "australia/adelaide", t.AustraliaBrisbane = "australia/brisbane", t.AustraliaBrokenHill = "australia/broken_hill", t.AustraliaDarwin = "australia/darwin", t.AustraliaEucla = "australia/eucla", t.AustraliaHobart = "australia/hobart", t.AustraliaLindeman = "australia/lindeman", t.AustraliaLordHowe = "australia/lord_howe", t.AustraliaMelbourne = "australia/melbourne", t.AustraliaPerth = "australia/perth", t.AustraliaSydney = "australia/sydney", t.EuropeAmsterdam = "europe/amsterdam", t.EuropeAndorra = "europe/andorra", t.EuropeAstrakhan = "europe/astrakhan", t.EuropeAthens = "europe/athens", t.EuropeBelgrade = "europe/belgrade", t.EuropeBerlin = "europe/berlin", t.EuropeBratislava = "europe/bratislava", t.EuropeBrussels = "europe/brussels", t.EuropeBucharest = "europe/bucharest", t.EuropeBudapest = "europe/budapest", t.EuropeBusingen = "europe/busingen", t.EuropeChisinau = "europe/chisinau", t.EuropeCopenhagen = "europe/copenhagen", t.EuropeDublin = "europe/dublin", t.EuropeGibraltar = "europe/gibraltar", t.EuropeGuernsey = "europe/guernsey", t.EuropeHelsinki = "europe/helsinki", t.EuropeIsleOfMan = "europe/isle_of_man", t.EuropeIstanbul = "europe/istanbul", t.EuropeJersey = "europe/jersey", t.EuropeKaliningrad = "europe/kaliningrad", t.EuropeKirov = "europe/kirov", t.EuropeKyiv = "europe/kyiv", t.EuropeLisbon = "europe/lisbon", t.EuropeLjubljana = "europe/ljubljana", t.EuropeLondon = "europe/london", t.EuropeLuxembourg = "europe/luxembourg", t.EuropeMadrid = "europe/madrid", t.EuropeMalta = "europe/malta", t.EuropeMariehamn = "europe/mariehamn", t.EuropeMinsk = "europe/minsk", t.EuropeMonaco = "europe/monaco", t.EuropeMoscow = "europe/moscow", t.EuropeOslo = "europe/oslo", t.EuropeParis = "europe/paris", t.EuropePodgorica = "europe/podgorica", t.EuropePrague = "europe/prague", t.EuropeRiga = "europe/riga", t.EuropeRome = "europe/rome", t.EuropeSamara = "europe/samara", t.EuropeSanMarino = "europe/san_marino", t.EuropeSarajevo = "europe/sarajevo", t.EuropeSaratov = "europe/saratov", t.EuropeSimferopol = "europe/simferopol", t.EuropeSkopje = "europe/skopje", t.EuropeSofia = "europe/sofia", t.EuropeStockholm = "europe/stockholm", t.EuropeTallinn = "europe/tallinn", t.EuropeTirane = "europe/tirane", t.EuropeUlyanovsk = "europe/ulyanovsk", t.EuropeVaduz = "europe/vaduz", t.EuropeVatican = "europe/vatican", t.EuropeVienna = "europe/vienna", t.EuropeVilnius = "europe/vilnius", t.EuropeVolgograd = "europe/volgograd", t.EuropeWarsaw = "europe/warsaw", t.EuropeZagreb = "europe/zagreb", t.EuropeZurich = "europe/zurich", t.IndianAntananarivo = "indian/antananarivo", t.IndianChagos = "indian/chagos", t.IndianChristmas = "indian/christmas", t.IndianCocos = "indian/cocos", t.IndianComoro = "indian/comoro", t.IndianKerguelen = "indian/kerguelen", t.IndianMahe = "indian/mahe", t.IndianMaldives = "indian/maldives", t.IndianMauritius = "indian/mauritius", t.IndianMayotte = "indian/mayotte", t.IndianReunion = "indian/reunion", t.PacificApia = "pacific/apia", t.PacificAuckland = "pacific/auckland", t.PacificBougainville = "pacific/bougainville", t.PacificChatham = "pacific/chatham", t.PacificChuuk = "pacific/chuuk", t.PacificEaster = "pacific/easter", t.PacificEfate = "pacific/efate", t.PacificFakaofo = "pacific/fakaofo", t.PacificFiji = "pacific/fiji", t.PacificFunafuti = "pacific/funafuti", t.PacificGalapagos = "pacific/galapagos", t.PacificGambier = "pacific/gambier", t.PacificGuadalcanal = "pacific/guadalcanal", t.PacificGuam = "pacific/guam", t.PacificHonolulu = "pacific/honolulu", t.PacificKanton = "pacific/kanton", t.PacificKiritimati = "pacific/kiritimati", t.PacificKosrae = "pacific/kosrae", t.PacificKwajalein = "pacific/kwajalein", t.PacificMajuro = "pacific/majuro", t.PacificMarquesas = "pacific/marquesas", t.PacificMidway = "pacific/midway", t.PacificNauru = "pacific/nauru", t.PacificNiue = "pacific/niue", t.PacificNorfolk = "pacific/norfolk", t.PacificNoumea = "pacific/noumea", t.PacificPagoPago = "pacific/pago_pago", t.PacificPalau = "pacific/palau", t.PacificPitcairn = "pacific/pitcairn", t.PacificPohnpei = "pacific/pohnpei", t.PacificPortMoresby = "pacific/port_moresby", t.PacificRarotonga = "pacific/rarotonga", t.PacificSaipan = "pacific/saipan", t.PacificTahiti = "pacific/tahiti", t.PacificTarawa = "pacific/tarawa", t.PacificTongatapu = "pacific/tongatapu", t.PacificWake = "pacific/wake", t.PacificWallis = "pacific/wallis", t.Utc = "utc";
6233
+ t.Light = "light", t.Dark = "dark";
6238
6234
  })(ei || (ei = {}));
6239
6235
  var ti;
6240
6236
  (function(t) {
6241
- t.Geolocation = "geolocation", t.Camera = "camera", t.Microphone = "microphone", t.Notifications = "notifications", t.Midi = "midi", t.Push = "push", t.Clipboardread = "clipboard-read", t.Clipboardwrite = "clipboard-write", t.Paymenthandler = "payment-handler", t.Usb = "usb", t.Bluetooth = "bluetooth", t.Accelerometer = "accelerometer", t.Gyroscope = "gyroscope", t.Magnetometer = "magnetometer", t.Ambientlightsensor = "ambient-light-sensor", t.Backgroundsync = "background-sync", t.Persistentstorage = "persistent-storage", t.Screenwakelock = "screen-wake-lock", t.Webshare = "web-share", t.Xrspatialtracking = "xr-spatial-tracking";
6237
+ t.AfricaAbidjan = "africa/abidjan", t.AfricaAccra = "africa/accra", t.AfricaAddisAbaba = "africa/addis_ababa", t.AfricaAlgiers = "africa/algiers", t.AfricaAsmara = "africa/asmara", t.AfricaBamako = "africa/bamako", t.AfricaBangui = "africa/bangui", t.AfricaBanjul = "africa/banjul", t.AfricaBissau = "africa/bissau", t.AfricaBlantyre = "africa/blantyre", t.AfricaBrazzaville = "africa/brazzaville", t.AfricaBujumbura = "africa/bujumbura", t.AfricaCairo = "africa/cairo", t.AfricaCasablanca = "africa/casablanca", t.AfricaCeuta = "africa/ceuta", t.AfricaConakry = "africa/conakry", t.AfricaDakar = "africa/dakar", t.AfricaDarEsSalaam = "africa/dar_es_salaam", t.AfricaDjibouti = "africa/djibouti", t.AfricaDouala = "africa/douala", t.AfricaElAaiun = "africa/el_aaiun", t.AfricaFreetown = "africa/freetown", t.AfricaGaborone = "africa/gaborone", t.AfricaHarare = "africa/harare", t.AfricaJohannesburg = "africa/johannesburg", t.AfricaJuba = "africa/juba", t.AfricaKampala = "africa/kampala", t.AfricaKhartoum = "africa/khartoum", t.AfricaKigali = "africa/kigali", t.AfricaKinshasa = "africa/kinshasa", t.AfricaLagos = "africa/lagos", t.AfricaLibreville = "africa/libreville", t.AfricaLome = "africa/lome", t.AfricaLuanda = "africa/luanda", t.AfricaLubumbashi = "africa/lubumbashi", t.AfricaLusaka = "africa/lusaka", t.AfricaMalabo = "africa/malabo", t.AfricaMaputo = "africa/maputo", t.AfricaMaseru = "africa/maseru", t.AfricaMbabane = "africa/mbabane", t.AfricaMogadishu = "africa/mogadishu", t.AfricaMonrovia = "africa/monrovia", t.AfricaNairobi = "africa/nairobi", t.AfricaNdjamena = "africa/ndjamena", t.AfricaNiamey = "africa/niamey", t.AfricaNouakchott = "africa/nouakchott", t.AfricaOuagadougou = "africa/ouagadougou", t.AfricaPortonovo = "africa/porto-novo", t.AfricaSaoTome = "africa/sao_tome", t.AfricaTripoli = "africa/tripoli", t.AfricaTunis = "africa/tunis", t.AfricaWindhoek = "africa/windhoek", t.AmericaAdak = "america/adak", t.AmericaAnchorage = "america/anchorage", t.AmericaAnguilla = "america/anguilla", t.AmericaAntigua = "america/antigua", t.AmericaAraguaina = "america/araguaina", t.AmericaArgentinaBuenosAires = "america/argentina/buenos_aires", t.AmericaArgentinaCatamarca = "america/argentina/catamarca", t.AmericaArgentinaCordoba = "america/argentina/cordoba", t.AmericaArgentinaJujuy = "america/argentina/jujuy", t.AmericaArgentinaLaRioja = "america/argentina/la_rioja", t.AmericaArgentinaMendoza = "america/argentina/mendoza", t.AmericaArgentinaRioGallegos = "america/argentina/rio_gallegos", t.AmericaArgentinaSalta = "america/argentina/salta", t.AmericaArgentinaSanJuan = "america/argentina/san_juan", t.AmericaArgentinaSanLuis = "america/argentina/san_luis", t.AmericaArgentinaTucuman = "america/argentina/tucuman", t.AmericaArgentinaUshuaia = "america/argentina/ushuaia", t.AmericaAruba = "america/aruba", t.AmericaAsuncion = "america/asuncion", t.AmericaAtikokan = "america/atikokan", t.AmericaBahia = "america/bahia", t.AmericaBahiaBanderas = "america/bahia_banderas", t.AmericaBarbados = "america/barbados", t.AmericaBelem = "america/belem", t.AmericaBelize = "america/belize", t.AmericaBlancsablon = "america/blanc-sablon", t.AmericaBoaVista = "america/boa_vista", t.AmericaBogota = "america/bogota", t.AmericaBoise = "america/boise", t.AmericaCambridgeBay = "america/cambridge_bay", t.AmericaCampoGrande = "america/campo_grande", t.AmericaCancun = "america/cancun", t.AmericaCaracas = "america/caracas", t.AmericaCayenne = "america/cayenne", t.AmericaCayman = "america/cayman", t.AmericaChicago = "america/chicago", t.AmericaChihuahua = "america/chihuahua", t.AmericaCiudadJuarez = "america/ciudad_juarez", t.AmericaCostaRica = "america/costa_rica", t.AmericaCoyhaique = "america/coyhaique", t.AmericaCreston = "america/creston", t.AmericaCuiaba = "america/cuiaba", t.AmericaCuracao = "america/curacao", t.AmericaDanmarkshavn = "america/danmarkshavn", t.AmericaDawson = "america/dawson", t.AmericaDawsonCreek = "america/dawson_creek", t.AmericaDenver = "america/denver", t.AmericaDetroit = "america/detroit", t.AmericaDominica = "america/dominica", t.AmericaEdmonton = "america/edmonton", t.AmericaEirunepe = "america/eirunepe", t.AmericaElSalvador = "america/el_salvador", t.AmericaFortNelson = "america/fort_nelson", t.AmericaFortaleza = "america/fortaleza", t.AmericaGlaceBay = "america/glace_bay", t.AmericaGooseBay = "america/goose_bay", t.AmericaGrandTurk = "america/grand_turk", t.AmericaGrenada = "america/grenada", t.AmericaGuadeloupe = "america/guadeloupe", t.AmericaGuatemala = "america/guatemala", t.AmericaGuayaquil = "america/guayaquil", t.AmericaGuyana = "america/guyana", t.AmericaHalifax = "america/halifax", t.AmericaHavana = "america/havana", t.AmericaHermosillo = "america/hermosillo", t.AmericaIndianaIndianapolis = "america/indiana/indianapolis", t.AmericaIndianaKnox = "america/indiana/knox", t.AmericaIndianaMarengo = "america/indiana/marengo", t.AmericaIndianaPetersburg = "america/indiana/petersburg", t.AmericaIndianaTellCity = "america/indiana/tell_city", t.AmericaIndianaVevay = "america/indiana/vevay", t.AmericaIndianaVincennes = "america/indiana/vincennes", t.AmericaIndianaWinamac = "america/indiana/winamac", t.AmericaInuvik = "america/inuvik", t.AmericaIqaluit = "america/iqaluit", t.AmericaJamaica = "america/jamaica", t.AmericaJuneau = "america/juneau", t.AmericaKentuckyLouisville = "america/kentucky/louisville", t.AmericaKentuckyMonticello = "america/kentucky/monticello", t.AmericaKralendijk = "america/kralendijk", t.AmericaLaPaz = "america/la_paz", t.AmericaLima = "america/lima", t.AmericaLosAngeles = "america/los_angeles", t.AmericaLowerPrinces = "america/lower_princes", t.AmericaMaceio = "america/maceio", t.AmericaManagua = "america/managua", t.AmericaManaus = "america/manaus", t.AmericaMarigot = "america/marigot", t.AmericaMartinique = "america/martinique", t.AmericaMatamoros = "america/matamoros", t.AmericaMazatlan = "america/mazatlan", t.AmericaMenominee = "america/menominee", t.AmericaMerida = "america/merida", t.AmericaMetlakatla = "america/metlakatla", t.AmericaMexicoCity = "america/mexico_city", t.AmericaMiquelon = "america/miquelon", t.AmericaMoncton = "america/moncton", t.AmericaMonterrey = "america/monterrey", t.AmericaMontevideo = "america/montevideo", t.AmericaMontserrat = "america/montserrat", t.AmericaNassau = "america/nassau", t.AmericaNewYork = "america/new_york", t.AmericaNome = "america/nome", t.AmericaNoronha = "america/noronha", t.AmericaNorthDakotaBeulah = "america/north_dakota/beulah", t.AmericaNorthDakotaCenter = "america/north_dakota/center", t.AmericaNorthDakotaNewSalem = "america/north_dakota/new_salem", t.AmericaNuuk = "america/nuuk", t.AmericaOjinaga = "america/ojinaga", t.AmericaPanama = "america/panama", t.AmericaParamaribo = "america/paramaribo", t.AmericaPhoenix = "america/phoenix", t.AmericaPortauprince = "america/port-au-prince", t.AmericaPortOfSpain = "america/port_of_spain", t.AmericaPortoVelho = "america/porto_velho", t.AmericaPuertoRico = "america/puerto_rico", t.AmericaPuntaArenas = "america/punta_arenas", t.AmericaRankinInlet = "america/rankin_inlet", t.AmericaRecife = "america/recife", t.AmericaRegina = "america/regina", t.AmericaResolute = "america/resolute", t.AmericaRioBranco = "america/rio_branco", t.AmericaSantarem = "america/santarem", t.AmericaSantiago = "america/santiago", t.AmericaSantoDomingo = "america/santo_domingo", t.AmericaSaoPaulo = "america/sao_paulo", t.AmericaScoresbysund = "america/scoresbysund", t.AmericaSitka = "america/sitka", t.AmericaStBarthelemy = "america/st_barthelemy", t.AmericaStJohns = "america/st_johns", t.AmericaStKitts = "america/st_kitts", t.AmericaStLucia = "america/st_lucia", t.AmericaStThomas = "america/st_thomas", t.AmericaStVincent = "america/st_vincent", t.AmericaSwiftCurrent = "america/swift_current", t.AmericaTegucigalpa = "america/tegucigalpa", t.AmericaThule = "america/thule", t.AmericaTijuana = "america/tijuana", t.AmericaToronto = "america/toronto", t.AmericaTortola = "america/tortola", t.AmericaVancouver = "america/vancouver", t.AmericaWhitehorse = "america/whitehorse", t.AmericaWinnipeg = "america/winnipeg", t.AmericaYakutat = "america/yakutat", t.AntarcticaCasey = "antarctica/casey", t.AntarcticaDavis = "antarctica/davis", t.AntarcticaDumontdurville = "antarctica/dumontdurville", t.AntarcticaMacquarie = "antarctica/macquarie", t.AntarcticaMawson = "antarctica/mawson", t.AntarcticaMcmurdo = "antarctica/mcmurdo", t.AntarcticaPalmer = "antarctica/palmer", t.AntarcticaRothera = "antarctica/rothera", t.AntarcticaSyowa = "antarctica/syowa", t.AntarcticaTroll = "antarctica/troll", t.AntarcticaVostok = "antarctica/vostok", t.ArcticLongyearbyen = "arctic/longyearbyen", t.AsiaAden = "asia/aden", t.AsiaAlmaty = "asia/almaty", t.AsiaAmman = "asia/amman", t.AsiaAnadyr = "asia/anadyr", t.AsiaAqtau = "asia/aqtau", t.AsiaAqtobe = "asia/aqtobe", t.AsiaAshgabat = "asia/ashgabat", t.AsiaAtyrau = "asia/atyrau", t.AsiaBaghdad = "asia/baghdad", t.AsiaBahrain = "asia/bahrain", t.AsiaBaku = "asia/baku", t.AsiaBangkok = "asia/bangkok", t.AsiaBarnaul = "asia/barnaul", t.AsiaBeirut = "asia/beirut", t.AsiaBishkek = "asia/bishkek", t.AsiaBrunei = "asia/brunei", t.AsiaChita = "asia/chita", t.AsiaColombo = "asia/colombo", t.AsiaDamascus = "asia/damascus", t.AsiaDhaka = "asia/dhaka", t.AsiaDili = "asia/dili", t.AsiaDubai = "asia/dubai", t.AsiaDushanbe = "asia/dushanbe", t.AsiaFamagusta = "asia/famagusta", t.AsiaGaza = "asia/gaza", t.AsiaHebron = "asia/hebron", t.AsiaHoChiMinh = "asia/ho_chi_minh", t.AsiaHongKong = "asia/hong_kong", t.AsiaHovd = "asia/hovd", t.AsiaIrkutsk = "asia/irkutsk", t.AsiaJakarta = "asia/jakarta", t.AsiaJayapura = "asia/jayapura", t.AsiaJerusalem = "asia/jerusalem", t.AsiaKabul = "asia/kabul", t.AsiaKamchatka = "asia/kamchatka", t.AsiaKarachi = "asia/karachi", t.AsiaKathmandu = "asia/kathmandu", t.AsiaKhandyga = "asia/khandyga", t.AsiaKolkata = "asia/kolkata", t.AsiaKrasnoyarsk = "asia/krasnoyarsk", t.AsiaKualaLumpur = "asia/kuala_lumpur", t.AsiaKuching = "asia/kuching", t.AsiaKuwait = "asia/kuwait", t.AsiaMacau = "asia/macau", t.AsiaMagadan = "asia/magadan", t.AsiaMakassar = "asia/makassar", t.AsiaManila = "asia/manila", t.AsiaMuscat = "asia/muscat", t.AsiaNicosia = "asia/nicosia", t.AsiaNovokuznetsk = "asia/novokuznetsk", t.AsiaNovosibirsk = "asia/novosibirsk", t.AsiaOmsk = "asia/omsk", t.AsiaOral = "asia/oral", t.AsiaPhnomPenh = "asia/phnom_penh", t.AsiaPontianak = "asia/pontianak", t.AsiaPyongyang = "asia/pyongyang", t.AsiaQatar = "asia/qatar", t.AsiaQostanay = "asia/qostanay", t.AsiaQyzylorda = "asia/qyzylorda", t.AsiaRiyadh = "asia/riyadh", t.AsiaSakhalin = "asia/sakhalin", t.AsiaSamarkand = "asia/samarkand", t.AsiaSeoul = "asia/seoul", t.AsiaShanghai = "asia/shanghai", t.AsiaSingapore = "asia/singapore", t.AsiaSrednekolymsk = "asia/srednekolymsk", t.AsiaTaipei = "asia/taipei", t.AsiaTashkent = "asia/tashkent", t.AsiaTbilisi = "asia/tbilisi", t.AsiaTehran = "asia/tehran", t.AsiaThimphu = "asia/thimphu", t.AsiaTokyo = "asia/tokyo", t.AsiaTomsk = "asia/tomsk", t.AsiaUlaanbaatar = "asia/ulaanbaatar", t.AsiaUrumqi = "asia/urumqi", t.AsiaUstnera = "asia/ust-nera", t.AsiaVientiane = "asia/vientiane", t.AsiaVladivostok = "asia/vladivostok", t.AsiaYakutsk = "asia/yakutsk", t.AsiaYangon = "asia/yangon", t.AsiaYekaterinburg = "asia/yekaterinburg", t.AsiaYerevan = "asia/yerevan", t.AtlanticAzores = "atlantic/azores", t.AtlanticBermuda = "atlantic/bermuda", t.AtlanticCanary = "atlantic/canary", t.AtlanticCapeVerde = "atlantic/cape_verde", t.AtlanticFaroe = "atlantic/faroe", t.AtlanticMadeira = "atlantic/madeira", t.AtlanticReykjavik = "atlantic/reykjavik", t.AtlanticSouthGeorgia = "atlantic/south_georgia", t.AtlanticStHelena = "atlantic/st_helena", t.AtlanticStanley = "atlantic/stanley", t.AustraliaAdelaide = "australia/adelaide", t.AustraliaBrisbane = "australia/brisbane", t.AustraliaBrokenHill = "australia/broken_hill", t.AustraliaDarwin = "australia/darwin", t.AustraliaEucla = "australia/eucla", t.AustraliaHobart = "australia/hobart", t.AustraliaLindeman = "australia/lindeman", t.AustraliaLordHowe = "australia/lord_howe", t.AustraliaMelbourne = "australia/melbourne", t.AustraliaPerth = "australia/perth", t.AustraliaSydney = "australia/sydney", t.EuropeAmsterdam = "europe/amsterdam", t.EuropeAndorra = "europe/andorra", t.EuropeAstrakhan = "europe/astrakhan", t.EuropeAthens = "europe/athens", t.EuropeBelgrade = "europe/belgrade", t.EuropeBerlin = "europe/berlin", t.EuropeBratislava = "europe/bratislava", t.EuropeBrussels = "europe/brussels", t.EuropeBucharest = "europe/bucharest", t.EuropeBudapest = "europe/budapest", t.EuropeBusingen = "europe/busingen", t.EuropeChisinau = "europe/chisinau", t.EuropeCopenhagen = "europe/copenhagen", t.EuropeDublin = "europe/dublin", t.EuropeGibraltar = "europe/gibraltar", t.EuropeGuernsey = "europe/guernsey", t.EuropeHelsinki = "europe/helsinki", t.EuropeIsleOfMan = "europe/isle_of_man", t.EuropeIstanbul = "europe/istanbul", t.EuropeJersey = "europe/jersey", t.EuropeKaliningrad = "europe/kaliningrad", t.EuropeKirov = "europe/kirov", t.EuropeKyiv = "europe/kyiv", t.EuropeLisbon = "europe/lisbon", t.EuropeLjubljana = "europe/ljubljana", t.EuropeLondon = "europe/london", t.EuropeLuxembourg = "europe/luxembourg", t.EuropeMadrid = "europe/madrid", t.EuropeMalta = "europe/malta", t.EuropeMariehamn = "europe/mariehamn", t.EuropeMinsk = "europe/minsk", t.EuropeMonaco = "europe/monaco", t.EuropeMoscow = "europe/moscow", t.EuropeOslo = "europe/oslo", t.EuropeParis = "europe/paris", t.EuropePodgorica = "europe/podgorica", t.EuropePrague = "europe/prague", t.EuropeRiga = "europe/riga", t.EuropeRome = "europe/rome", t.EuropeSamara = "europe/samara", t.EuropeSanMarino = "europe/san_marino", t.EuropeSarajevo = "europe/sarajevo", t.EuropeSaratov = "europe/saratov", t.EuropeSimferopol = "europe/simferopol", t.EuropeSkopje = "europe/skopje", t.EuropeSofia = "europe/sofia", t.EuropeStockholm = "europe/stockholm", t.EuropeTallinn = "europe/tallinn", t.EuropeTirane = "europe/tirane", t.EuropeUlyanovsk = "europe/ulyanovsk", t.EuropeVaduz = "europe/vaduz", t.EuropeVatican = "europe/vatican", t.EuropeVienna = "europe/vienna", t.EuropeVilnius = "europe/vilnius", t.EuropeVolgograd = "europe/volgograd", t.EuropeWarsaw = "europe/warsaw", t.EuropeZagreb = "europe/zagreb", t.EuropeZurich = "europe/zurich", t.IndianAntananarivo = "indian/antananarivo", t.IndianChagos = "indian/chagos", t.IndianChristmas = "indian/christmas", t.IndianCocos = "indian/cocos", t.IndianComoro = "indian/comoro", t.IndianKerguelen = "indian/kerguelen", t.IndianMahe = "indian/mahe", t.IndianMaldives = "indian/maldives", t.IndianMauritius = "indian/mauritius", t.IndianMayotte = "indian/mayotte", t.IndianReunion = "indian/reunion", t.PacificApia = "pacific/apia", t.PacificAuckland = "pacific/auckland", t.PacificBougainville = "pacific/bougainville", t.PacificChatham = "pacific/chatham", t.PacificChuuk = "pacific/chuuk", t.PacificEaster = "pacific/easter", t.PacificEfate = "pacific/efate", t.PacificFakaofo = "pacific/fakaofo", t.PacificFiji = "pacific/fiji", t.PacificFunafuti = "pacific/funafuti", t.PacificGalapagos = "pacific/galapagos", t.PacificGambier = "pacific/gambier", t.PacificGuadalcanal = "pacific/guadalcanal", t.PacificGuam = "pacific/guam", t.PacificHonolulu = "pacific/honolulu", t.PacificKanton = "pacific/kanton", t.PacificKiritimati = "pacific/kiritimati", t.PacificKosrae = "pacific/kosrae", t.PacificKwajalein = "pacific/kwajalein", t.PacificMajuro = "pacific/majuro", t.PacificMarquesas = "pacific/marquesas", t.PacificMidway = "pacific/midway", t.PacificNauru = "pacific/nauru", t.PacificNiue = "pacific/niue", t.PacificNorfolk = "pacific/norfolk", t.PacificNoumea = "pacific/noumea", t.PacificPagoPago = "pacific/pago_pago", t.PacificPalau = "pacific/palau", t.PacificPitcairn = "pacific/pitcairn", t.PacificPohnpei = "pacific/pohnpei", t.PacificPortMoresby = "pacific/port_moresby", t.PacificRarotonga = "pacific/rarotonga", t.PacificSaipan = "pacific/saipan", t.PacificTahiti = "pacific/tahiti", t.PacificTarawa = "pacific/tarawa", t.PacificTongatapu = "pacific/tongatapu", t.PacificWake = "pacific/wake", t.PacificWallis = "pacific/wallis", t.Utc = "utc";
6242
6238
  })(ti || (ti = {}));
6243
6239
  var ii;
6244
6240
  (function(t) {
6245
- t.Jpg = "jpg", t.Jpeg = "jpeg", t.Png = "png", t.Webp = "webp", t.Heic = "heic", t.Avif = "avif", t.Gif = "gif";
6241
+ t.Geolocation = "geolocation", t.Camera = "camera", t.Microphone = "microphone", t.Notifications = "notifications", t.Midi = "midi", t.Push = "push", t.Clipboardread = "clipboard-read", t.Clipboardwrite = "clipboard-write", t.Paymenthandler = "payment-handler", t.Usb = "usb", t.Bluetooth = "bluetooth", t.Accelerometer = "accelerometer", t.Gyroscope = "gyroscope", t.Magnetometer = "magnetometer", t.Ambientlightsensor = "ambient-light-sensor", t.Backgroundsync = "background-sync", t.Persistentstorage = "persistent-storage", t.Screenwakelock = "screen-wake-lock", t.Webshare = "web-share", t.Xrspatialtracking = "xr-spatial-tracking";
6246
6242
  })(ii || (ii = {}));
6247
6243
  var ni;
6248
6244
  (function(t) {
6249
- t.GET = "GET", t.POST = "POST", t.PUT = "PUT", t.PATCH = "PATCH", t.DELETE = "DELETE", t.OPTIONS = "OPTIONS", t.HEAD = "HEAD";
6245
+ t.Jpg = "jpg", t.Jpeg = "jpeg", t.Png = "png", t.Webp = "webp", t.Heic = "heic", t.Avif = "avif", t.Gif = "gif";
6250
6246
  })(ni || (ni = {}));
6251
6247
  var oi;
6252
6248
  (function(t) {
6253
- t.Auto = "auto", t.Center = "center", t.Topleft = "top-left", t.Top = "top", t.Topright = "top-right", t.Left = "left", t.Right = "right", t.Bottomleft = "bottom-left", t.Bottom = "bottom", t.Bottomright = "bottom-right";
6249
+ t.GET = "GET", t.POST = "POST", t.PUT = "PUT", t.PATCH = "PATCH", t.DELETE = "DELETE", t.OPTIONS = "OPTIONS", t.HEAD = "HEAD";
6254
6250
  })(oi || (oi = {}));
6255
6251
  var ai;
6256
6252
  (function(t) {
6257
- t.Functions = "functions", t.Sites = "sites";
6253
+ t.Auto = "auto", t.Center = "center", t.Topleft = "top-left", t.Top = "top", t.Topright = "top-right", t.Left = "left", t.Right = "right", t.Bottomleft = "bottom-left", t.Bottom = "bottom", t.Bottomright = "bottom-right";
6258
6254
  })(ai || (ai = {}));
6259
6255
  var si;
6260
6256
  (function(t) {
6261
- t.Http = "http", t.Schedule = "schedule", t.Event = "event";
6257
+ t.Functions = "functions", t.Sites = "sites";
6262
6258
  })(si || (si = {}));
6263
6259
  var ri;
6264
6260
  (function(t) {
6265
- t.Waiting = "waiting", t.Processing = "processing", t.Completed = "completed", t.Failed = "failed", t.Scheduled = "scheduled";
6261
+ t.Http = "http", t.Schedule = "schedule", t.Event = "event";
6266
6262
  })(ri || (ri = {}));
6267
- const To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6263
+ var ci;
6264
+ (function(t) {
6265
+ t.Waiting = "waiting", t.Processing = "processing", t.Completed = "completed", t.Failed = "failed", t.Scheduled = "scheduled";
6266
+ })(ci || (ci = {}));
6267
+ const ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6268
6268
  __proto__: null,
6269
- Account: Kt,
6269
+ Account: Yt,
6270
6270
  AppwriteException: h,
6271
6271
  get AuthenticationFactor() {
6272
- return Zt;
6272
+ return Qt;
6273
6273
  },
6274
6274
  get AuthenticatorType() {
6275
- return Jt;
6275
+ return Zt;
6276
6276
  },
6277
- Avatars: tn,
6277
+ Avatars: on,
6278
6278
  get Browser() {
6279
- return Tt;
6279
+ return zt;
6280
6280
  },
6281
6281
  get BrowserPermission() {
6282
- return ti;
6282
+ return ii;
6283
6283
  },
6284
6284
  get BrowserTheme() {
6285
- return Ft;
6285
+ return ei;
6286
6286
  },
6287
6287
  Channel: Pe,
6288
6288
  Client: Ce,
6289
6289
  get Condition() {
6290
- return Yt;
6290
+ return Jt;
6291
6291
  },
6292
6292
  get CreditCard() {
6293
- return zt;
6293
+ return Ot;
6294
6294
  },
6295
- Databases: Gn,
6296
- DocumentsDB: Kn,
6295
+ Databases: Jn,
6296
+ DocumentsDB: Zn,
6297
6297
  get ExecutionMethod() {
6298
- return ni;
6298
+ return oi;
6299
6299
  },
6300
6300
  get ExecutionResourceType() {
6301
- return ai;
6301
+ return si;
6302
6302
  },
6303
6303
  get ExecutionStatus() {
6304
- return ri;
6304
+ return ci;
6305
6305
  },
6306
6306
  get ExecutionTrigger() {
6307
- return si;
6307
+ return ri;
6308
6308
  },
6309
6309
  get Flag() {
6310
- return Ot;
6310
+ return Ft;
6311
6311
  },
6312
- Functions: Yn,
6313
- Graphql: Jn,
6312
+ Functions: Qn,
6313
+ Graphql: Tn,
6314
6314
  ID: Xe,
6315
6315
  get ImageFormat() {
6316
- return ii;
6316
+ return ni;
6317
6317
  },
6318
6318
  get ImageGravity() {
6319
- return oi;
6319
+ return ai;
6320
6320
  },
6321
- Locale: Zn,
6322
- Messaging: Qn,
6321
+ Locale: zn,
6322
+ Messaging: On,
6323
6323
  get OAuthProvider() {
6324
- return Qt;
6324
+ return Tt;
6325
6325
  },
6326
6326
  Operator: T,
6327
- Organization: Tn,
6327
+ Organization: Fn,
6328
6328
  Permission: ot,
6329
- Presences: zn,
6329
+ Presences: eo,
6330
6330
  Query: P,
6331
- Realtime: to,
6332
- Role: io,
6333
- Storage: On,
6334
- TablesDB: Fn,
6335
- Teams: nn,
6331
+ Realtime: oo,
6332
+ Role: ao,
6333
+ Storage: to,
6334
+ TablesDB: io,
6335
+ Teams: an,
6336
6336
  get Timezone() {
6337
- return ei;
6337
+ return ti;
6338
6338
  },
6339
- VectorsDB: eo
6340
- }, Symbol.toStringTag, { value: "Module" })), no = {
6339
+ VectorsDB: no
6340
+ }, Symbol.toStringTag, { value: "Module" })), so = {
6341
6341
  signIn: "Sign in",
6342
6342
  dialogSignIn: "Sign in",
6343
6343
  signUp: "Sign up",
@@ -6505,13 +6505,13 @@ const To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6505
6505
  guestAccountDescription: "Add an email and password to keep your data.",
6506
6506
  preview: "Preview"
6507
6507
  };
6508
- function oo(t, e = {}) {
6508
+ function ro(t, e = {}) {
6509
6509
  return t.replace(
6510
6510
  /\{(\w+)\}/g,
6511
6511
  (n, i) => i in e ? String(e[i]) : `{${i}}`
6512
6512
  );
6513
6513
  }
6514
- const ao = {
6514
+ const co = {
6515
6515
  amazon: "Amazon",
6516
6516
  apple: "Apple",
6517
6517
  appwrite: "Appwrite",
@@ -6563,7 +6563,7 @@ const ao = {
6563
6563
  zoom: "Zoom"
6564
6564
  };
6565
6565
  function pt(t) {
6566
- return ao[t] ?? t.charAt(0).toUpperCase() + t.slice(1);
6566
+ return co[t] ?? t.charAt(0).toUpperCase() + t.slice(1);
6567
6567
  }
6568
6568
  const It = (t, e, n = 401) => Object.assign(new Error(e), { type: t, code: n }), xe = () => (/* @__PURE__ */ new Date()).toISOString(), Le = (t) => new Date(Date.now() - t * 6e4).toISOString(), At = [
6569
6569
  "amber",
@@ -6578,13 +6578,13 @@ const It = (t, e, n = 401) => Object.assign(new Error(e), { type: t, code: n }),
6578
6578
  "juniper",
6579
6579
  "kite",
6580
6580
  "lumen"
6581
- ], Ni = () => `${At[Math.floor(Math.random() * At.length)]}-${At[Math.floor(Math.random() * At.length)]}`, ze = () => Math.random().toString(36).slice(2, 12), Hi = () => Array.from({ length: 2 }, () => Math.random().toString(36).slice(2, 7)).join("-"), so = {
6581
+ ], Hi = () => `${At[Math.floor(Math.random() * At.length)]}-${At[Math.floor(Math.random() * At.length)]}`, ze = () => Math.random().toString(36).slice(2, 12), Di = () => Array.from({ length: 2 }, () => Math.random().toString(36).slice(2, 7)).join("-"), lo = {
6582
6582
  name: "Ada Lovelace",
6583
6583
  email: "ada@example.com",
6584
6584
  phone: "+15550100"
6585
6585
  };
6586
- class ro {
6587
- constructor(e = so) {
6586
+ class uo {
6587
+ constructor(e = lo) {
6588
6588
  this.seed = e, this.user = null, this.mfaPending = !1, this.mfaEnabled = !1, this.totpEnrolled = !1, this.recoveryCodes = [], this.lastChallenge = 0, this.sessions = [], this.identities = [], this.logs = [], this.tokens = /* @__PURE__ */ new Map(), this.pendingAuthenticator = null;
6589
6589
  }
6590
6590
  // ───────────────────────── helpers ─────────────────────────
@@ -6771,7 +6771,7 @@ class ro {
6771
6771
  userId: e,
6772
6772
  secret: "",
6773
6773
  expire: "",
6774
- phrase: Ni()
6774
+ phrase: Hi()
6775
6775
  });
6776
6776
  }
6777
6777
  async createEmailToken(e, n) {
@@ -6781,7 +6781,7 @@ class ro {
6781
6781
  userId: e,
6782
6782
  secret: "",
6783
6783
  expire: "",
6784
- phrase: Ni()
6784
+ phrase: Hi()
6785
6785
  });
6786
6786
  }
6787
6787
  async createPhoneToken(e, n) {
@@ -6907,21 +6907,21 @@ class ro {
6907
6907
  return this.delay(() => {
6908
6908
  if (this.recoveryCodes.length > 0)
6909
6909
  throw It("user_recovery_codes_already_exists", "Recovery codes already generated.", 409);
6910
- return this.recoveryCodes = Array.from({ length: 6 }, Hi), { recoveryCodes: this.recoveryCodes };
6910
+ return this.recoveryCodes = Array.from({ length: 6 }, Di), { recoveryCodes: this.recoveryCodes };
6911
6911
  });
6912
6912
  }
6913
6913
  async getMFARecoveryCodes() {
6914
6914
  return this.delay(() => (this.requireRecentChallenge(), { recoveryCodes: this.recoveryCodes }));
6915
6915
  }
6916
6916
  async updateMFARecoveryCodes() {
6917
- return this.delay(() => (this.requireRecentChallenge(), this.recoveryCodes = Array.from({ length: 6 }, Hi), { recoveryCodes: this.recoveryCodes }));
6917
+ return this.delay(() => (this.requireRecentChallenge(), this.recoveryCodes = Array.from({ length: 6 }, Di), { recoveryCodes: this.recoveryCodes }));
6918
6918
  }
6919
6919
  /** Forget everything, as a sign out would. */
6920
6920
  reset() {
6921
6921
  this.user = null, this.mfaPending = !1, this.sessions = [], this.identities = [], this.logs = [], this.tokens.clear();
6922
6922
  }
6923
6923
  }
6924
- function co(t) {
6924
+ function po(t) {
6925
6925
  let e = 2166136261;
6926
6926
  const n = () => (e ^= e << 13, e ^= e >>> 17, e ^= e << 5, (e >>> 0) / 4294967296);
6927
6927
  for (const r of t) e = (e ^ r.charCodeAt(0)) * 16777619;
@@ -7027,23 +7027,73 @@ function xt(t, e, n = "link") {
7027
7027
  }
7028
7028
  return i.type === oe.projectNotFound || i.type === oe.unknownOrigin ? e.errorConfig : i.type === oe.routeNotFound ? e.errorConfigEndpoint : i.code === 0 && /fetch|network/i.test(i.message) ? e.errorNetwork : /Invalid `\w+` param/i.test(i.message) ? e.errorGeneric : i.message ? i.message || e.errorGeneric : i.code === 404 || i.type === oe.routeNotFound ? e.errorConfigEndpoint : e.errorGeneric;
7029
7029
  }
7030
- function lo(t) {
7030
+ function ho(t) {
7031
7031
  const e = et(t);
7032
7032
  return !!(e.type === oe.projectNotFound || e.type === oe.unknownOrigin || e.type === oe.routeNotFound || !e.message && e.code === 404 || e.code === 0 && /fetch|network|load failed|failed to fetch/i.test(e.message));
7033
7033
  }
7034
- const ci = (t) => `authui:active-team:${t}`;
7035
- function Di(t) {
7034
+ const di = (t) => `authui:active-team:${t}`;
7035
+ function Bi(t) {
7036
7036
  if (typeof localStorage > "u" || !t) return null;
7037
7037
  try {
7038
- return localStorage.getItem(ci(t));
7038
+ return localStorage.getItem(di(t));
7039
7039
  } catch {
7040
7040
  return null;
7041
7041
  }
7042
7042
  }
7043
- function uo(t, e) {
7043
+ function fo(t, e) {
7044
7044
  if (!(typeof localStorage > "u" || !t))
7045
7045
  try {
7046
- e ? localStorage.setItem(ci(t), e) : localStorage.removeItem(ci(t));
7046
+ e ? localStorage.setItem(di(t), e) : localStorage.removeItem(di(t));
7047
+ } catch {
7048
+ }
7049
+ }
7050
+ const vi = "authui:last-method";
7051
+ function lt(t) {
7052
+ if (!(typeof localStorage > "u")) {
7053
+ if (!t || t === "mfa" || t === "sign-up")
7054
+ if (t === "sign-up") t = "email-password";
7055
+ else return;
7056
+ try {
7057
+ localStorage.setItem(vi, t);
7058
+ } catch {
7059
+ }
7060
+ }
7061
+ }
7062
+ function Oe() {
7063
+ if (typeof localStorage > "u") return null;
7064
+ try {
7065
+ return localStorage.getItem(vi);
7066
+ } catch {
7067
+ return null;
7068
+ }
7069
+ }
7070
+ function ta() {
7071
+ if (!(typeof localStorage > "u"))
7072
+ try {
7073
+ localStorage.removeItem(vi);
7074
+ } catch {
7075
+ }
7076
+ }
7077
+ const Ut = "authui:pending-oauth";
7078
+ function go(t) {
7079
+ if (!(typeof sessionStorage > "u"))
7080
+ try {
7081
+ sessionStorage.setItem(Ut, t);
7082
+ } catch {
7083
+ }
7084
+ }
7085
+ function sn() {
7086
+ if (!(typeof sessionStorage > "u"))
7087
+ try {
7088
+ const t = sessionStorage.getItem(Ut);
7089
+ sessionStorage.removeItem(Ut), t && lt(`oauth:${t}`);
7090
+ } catch {
7091
+ }
7092
+ }
7093
+ function Xi() {
7094
+ if (!(typeof sessionStorage > "u"))
7095
+ try {
7096
+ sessionStorage.removeItem(Ut);
7047
7097
  } catch {
7048
7098
  }
7049
7099
  }
@@ -7057,7 +7107,7 @@ function $e(t, e, n) {
7057
7107
  new Error(`Appwrite SDK is missing ${e[0]}(). Update the appwrite package.`)
7058
7108
  );
7059
7109
  }
7060
- const di = "authui", Bi = ["userId", "secret", "expire", "project", "error", di], Xi = () => ({
7110
+ const li = "authui", Vi = ["userId", "secret", "expire", "project", "error", li], Wi = () => ({
7061
7111
  status: "loading",
7062
7112
  user: null,
7063
7113
  mfaFactors: null,
@@ -7065,9 +7115,9 @@ const di = "authui", Bi = ["userId", "secret", "expire", "project", "error", di]
7065
7115
  configured: !1,
7066
7116
  configError: null
7067
7117
  });
7068
- class po {
7118
+ class yo {
7069
7119
  constructor() {
7070
- this.client = null, this.account = null, this.config = null, this.state = Xi(), this.listeners = /* @__PURE__ */ new Map(), this.refreshPromise = null, this.preview = null, this.teams = null, this.activeTeamId = null;
7120
+ this.client = null, this.account = null, this.config = null, this.state = Wi(), this.listeners = /* @__PURE__ */ new Map(), this.refreshPromise = null, this.preview = null, this.teams = null, this.activeTeamId = null;
7071
7121
  }
7072
7122
  // ───────────────────────────── configuration ─────────────────────────────
7073
7123
  /** Configure the Appwrite client. Safe to call more than once; the last call wins. */
@@ -7075,7 +7125,7 @@ class po {
7075
7125
  const n = e.endpoint.trim().replace(/\/+$/, "");
7076
7126
  n && !n.endsWith("/v1") && console.warn(
7077
7127
  `[authui] endpoint should end with /v1 (got "${e.endpoint}"). Without it Appwrite returns HTML 404 pages.`
7078
- ), this.config = e, this.client = new Ce().setEndpoint(e.endpoint).setProject(e.project), this.preview = e.preview ? new ro() : null, this.account = this.preview ? this.preview : new Kt(this.client), this.teams = null, this.activeTeamId = Di(e.project), this.setState({ configured: !0, status: "loading", configError: null }), this.preview ? this.refresh() : typeof window < "u" && this.handleRedirect().then(() => this.refresh());
7128
+ ), this.config = e, this.client = new Ce().setEndpoint(e.endpoint).setProject(e.project), this.preview = e.preview ? new uo() : null, this.account = this.preview ? this.preview : new Yt(this.client), this.teams = null, this.activeTeamId = Bi(e.project), this.setState({ configured: !0, status: "loading", configError: null }), this.preview ? this.refresh() : typeof window < "u" && this.handleRedirect().then(() => this.refresh());
7079
7129
  }
7080
7130
  /**
7081
7131
  * Called by <authui-config> when it is on the page but missing endpoint or project.
@@ -7121,7 +7171,7 @@ class po {
7121
7171
  /** List teams the signed-in user belongs to. Empty in preview or when signed out. */
7122
7172
  async listTeams() {
7123
7173
  if (this.preview || !this.client || this.state.status !== "signed-in") return [];
7124
- this.teams ??= new nn(this.client);
7174
+ this.teams ??= new an(this.client);
7125
7175
  try {
7126
7176
  return (await this.teams.list()).teams ?? [];
7127
7177
  } catch (e) {
@@ -7131,7 +7181,7 @@ class po {
7131
7181
  getActiveTeamId() {
7132
7182
  if (this.activeTeamId) return this.activeTeamId;
7133
7183
  const e = this.config?.project;
7134
- return e ? (this.activeTeamId = Di(e), this.activeTeamId) : null;
7184
+ return e ? (this.activeTeamId = Bi(e), this.activeTeamId) : null;
7135
7185
  }
7136
7186
  /**
7137
7187
  * Remember the active team locally and emit `active-team`.
@@ -7139,10 +7189,10 @@ class po {
7139
7189
  */
7140
7190
  setActiveTeam(e) {
7141
7191
  const n = this.config?.project;
7142
- n && uo(n, e?.$id ?? null), this.activeTeamId = e?.$id ?? null, this.emit("active-team", { teamId: this.activeTeamId, team: e });
7192
+ n && fo(n, e?.$id ?? null), this.activeTeamId = e?.$id ?? null, this.emit("active-team", { teamId: this.activeTeamId, team: e });
7143
7193
  }
7144
7194
  getStrings() {
7145
- return { ...no, ...this.config?.strings ?? {} };
7195
+ return { ...so, ...this.config?.strings ?? {} };
7146
7196
  }
7147
7197
  getState() {
7148
7198
  return { ...this.state };
@@ -7210,7 +7260,7 @@ class po {
7210
7260
  message: this.getStrings().errorUserBlocked
7211
7261
  }
7212
7262
  }), e && this.emit("signed-out", void 0);
7213
- else if (!e && lo(n)) {
7263
+ else if (!e && ho(n)) {
7214
7264
  const o = xt(n, this.getStrings()) || this.getStrings().errorConfig;
7215
7265
  console.warn(
7216
7266
  `[authui] ${o} (endpoint=${this.config?.endpoint ?? "?"}, project=${this.config?.project ?? "?"})`
@@ -7260,7 +7310,7 @@ class po {
7260
7310
  localStorage.removeItem("cookieFallback");
7261
7311
  } catch {
7262
7312
  }
7263
- this.config && !this.preview && (this.client = new Ce().setEndpoint(this.config.endpoint).setProject(this.config.project), this.account = new Kt(this.client));
7313
+ this.config && !this.preview && (this.client = new Ce().setEndpoint(this.config.endpoint).setProject(this.config.project), this.account = new Yt(this.client));
7264
7314
  }
7265
7315
  // ─────────────────────────────── sign in ───────────────────────────────
7266
7316
  async signInWithEmailPassword(e, n) {
@@ -7612,8 +7662,8 @@ class po {
7612
7662
  /** Build the URL Appwrite should send the user back to for a given flow. */
7613
7663
  redirectUrl(e) {
7614
7664
  const n = this.config?.redirectUrl ?? (typeof window < "u" ? window.location.origin + window.location.pathname : ""), i = new URL(n, typeof window < "u" ? window.location.href : void 0);
7615
- for (const o of Bi) i.searchParams.delete(o);
7616
- return i.searchParams.set(di, e), i.toString();
7665
+ for (const o of Vi) i.searchParams.delete(o);
7666
+ return i.searchParams.set(li, e), i.toString();
7617
7667
  }
7618
7668
  setPending(e) {
7619
7669
  this.setState({ pending: e });
@@ -7624,7 +7674,7 @@ class po {
7624
7674
  */
7625
7675
  async handleRedirect() {
7626
7676
  if (typeof window > "u") return !1;
7627
- const e = new URLSearchParams(window.location.search), n = e.get(di);
7677
+ const e = new URLSearchParams(window.location.search), n = e.get(li);
7628
7678
  if (!n) return !1;
7629
7679
  const i = e.get("userId") ?? "", o = e.get("secret") ?? "";
7630
7680
  this.cleanUrl();
@@ -7641,10 +7691,16 @@ class po {
7641
7691
  switch (n) {
7642
7692
  case "oauth":
7643
7693
  case "magic-url":
7644
- i && o ? await this.acct().createSession(i, o) : a();
7694
+ i && o ? (await this.acct().createSession(i, o), n === "oauth" && sn()) : (n === "oauth" && Xi(), a());
7645
7695
  break;
7646
7696
  case "oauth-failed":
7647
- this.setState({ pending: { type: "oauth-failed" } });
7697
+ Xi(), this.setState({
7698
+ pending: {
7699
+ type: "notice",
7700
+ tone: "error",
7701
+ message: this.getStrings().errorOAuth
7702
+ }
7703
+ });
7648
7704
  break;
7649
7705
  case "recovery":
7650
7706
  i && o ? this.setState({ pending: { type: "reset-password", userId: i, secret: o } }) : a();
@@ -7671,16 +7727,16 @@ class po {
7671
7727
  }
7672
7728
  cleanUrl() {
7673
7729
  const e = new URL(window.location.href);
7674
- for (const n of Bi) e.searchParams.delete(n);
7730
+ for (const n of Vi) e.searchParams.delete(n);
7675
7731
  window.history.replaceState(window.history.state, "", e.toString());
7676
7732
  }
7677
7733
  /** Test helper. */
7678
7734
  reset() {
7679
- this.client = null, this.account = null, this.teams = null, this.activeTeamId = null, this.preview = null, this.config = null, this.state = Xi(), this.listeners.clear();
7735
+ this.client = null, this.account = null, this.teams = null, this.activeTeamId = null, this.preview = null, this.config = null, this.state = Wi(), this.listeners.clear();
7680
7736
  }
7681
7737
  }
7682
- const R = new po();
7683
- class ho {
7738
+ const R = new yo();
7739
+ class mo {
7684
7740
  constructor() {
7685
7741
  this.listeners = /* @__PURE__ */ new Set(), this.observer = null, this.media = null, this.notify = () => {
7686
7742
  const e = this.isDark("auto");
@@ -7708,14 +7764,14 @@ class ho {
7708
7764
  this.observer?.disconnect(), this.observer = null, this.media?.removeEventListener?.("change", this.notify), this.media = null;
7709
7765
  }
7710
7766
  }
7711
- const Vi = new ho(), Wi = {
7767
+ const Gi = new mo(), Ki = {
7712
7768
  none: "0px",
7713
7769
  sm: "0.25rem",
7714
7770
  md: "0.625rem",
7715
7771
  lg: "0.875rem",
7716
7772
  xl: "1.125rem",
7717
7773
  full: "1.5rem"
7718
- }, fo = We`
7774
+ }, wo = We`
7719
7775
  :host {
7720
7776
  /* Light theme (matches :root in the console) */
7721
7777
  --authui-background: oklch(1 0 0);
@@ -7793,7 +7849,7 @@ const Vi = new ho(), Wi = {
7793
7849
  --authui-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.5);
7794
7850
  color-scheme: dark;
7795
7851
  }
7796
- `, go = We`
7852
+ `, bo = We`
7797
7853
  *,
7798
7854
  *::before,
7799
7855
  *::after {
@@ -8598,12 +8654,12 @@ const Vi = new ho(), Wi = {
8598
8654
  }
8599
8655
  }
8600
8656
  `;
8601
- var yo = Object.defineProperty, mo = (t, e, n, i) => {
8657
+ var vo = Object.defineProperty, Io = (t, e, n, i) => {
8602
8658
  for (var o = void 0, a = t.length - 1, s; a >= 0; a--)
8603
8659
  (s = t[a]) && (o = s(e, n, o) || o);
8604
- return o && yo(e, n, o), o;
8660
+ return o && vo(e, n, o), o;
8605
8661
  }, Ne;
8606
- const on = (Ne = class extends Je {
8662
+ const rn = (Ne = class extends Je {
8607
8663
  constructor() {
8608
8664
  super(...arguments), this.auth = R.getState(), this.unsubscribeStore = null, this.unsubscribeTheme = null, this.stopKeys = (e) => e.stopPropagation();
8609
8665
  }
@@ -8612,7 +8668,7 @@ const on = (Ne = class extends Je {
8612
8668
  for (const e of Ne.KEY_EVENTS) this.addEventListener(e, this.stopKeys);
8613
8669
  this.auth = R.getState(), this.unsubscribeStore = R.on("change", (e) => {
8614
8670
  this.auth = e, this.applyBranding();
8615
- }), this.unsubscribeTheme = Vi.subscribe(() => this.applyBranding()), this.applyBranding();
8671
+ }), this.unsubscribeTheme = Gi.subscribe(() => this.applyBranding()), this.applyBranding();
8616
8672
  }
8617
8673
  disconnectedCallback() {
8618
8674
  super.disconnectedCallback();
@@ -8624,7 +8680,7 @@ const on = (Ne = class extends Je {
8624
8680
  }
8625
8681
  /** Translate a string key with optional `{placeholders}`. */
8626
8682
  t(e, n) {
8627
- return oo(this.strings[e], n);
8683
+ return ro(this.strings[e], n);
8628
8684
  }
8629
8685
  get config() {
8630
8686
  return R.getConfig();
@@ -8634,25 +8690,25 @@ const on = (Ne = class extends Je {
8634
8690
  }
8635
8691
  /** Push theme and branding from config onto the host element. */
8636
8692
  applyBranding() {
8637
- const e = this.config?.branding, n = Vi.isDark(e?.theme ?? "auto");
8693
+ const e = this.config?.branding, n = Gi.isDark(e?.theme ?? "auto");
8638
8694
  this.setAttribute("data-theme", n ? "dark" : "light"), e?.primary && (this.style.setProperty("--authui-primary", e.primary), this.style.setProperty(
8639
8695
  "--authui-primary-foreground",
8640
8696
  e.primaryForeground ?? "#ffffff"
8641
- )), e?.radius && Wi[e.radius] && this.style.setProperty("--authui-radius", Wi[e.radius]);
8697
+ )), e?.radius && Ki[e.radius] && this.style.setProperty("--authui-radius", Ki[e.radius]);
8642
8698
  }
8643
8699
  /** Emit a composed custom event from this element. */
8644
8700
  fire(e, n) {
8645
8701
  this.dispatchEvent(new CustomEvent(e, { detail: n, bubbles: !0, composed: !0 }));
8646
8702
  }
8647
- }, Ne.styles = [fo, go], Ne.KEY_EVENTS = ["keydown", "keyup", "keypress"], Ne);
8648
- mo([
8703
+ }, Ne.styles = [wo, bo], Ne.KEY_EVENTS = ["keydown", "keyup", "keypress"], Ne);
8704
+ Io([
8649
8705
  G()
8650
- ], on.prototype, "auth");
8651
- let Re = on;
8652
- var wo = Object.defineProperty, bo = Object.getOwnPropertyDescriptor, fe = (t, e, n, i) => {
8653
- for (var o = i > 1 ? void 0 : i ? bo(e, n) : e, a = t.length - 1, s; a >= 0; a--)
8706
+ ], rn.prototype, "auth");
8707
+ let Re = rn;
8708
+ var Ao = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, fe = (t, e, n, i) => {
8709
+ for (var o = i > 1 ? void 0 : i ? ko(e, n) : e, a = t.length - 1, s; a >= 0; a--)
8654
8710
  (s = t[a]) && (o = (i ? s(e, n, o) : s(o)) || o);
8655
- return i && o && wo(e, n, o), o;
8711
+ return i && o && Ao(e, n, o), o;
8656
8712
  };
8657
8713
  let pe = class extends Je {
8658
8714
  constructor() {
@@ -8766,34 +8822,34 @@ fe([
8766
8822
  pe = fe([
8767
8823
  Qe("authui-config")
8768
8824
  ], pe);
8769
- var vo = Object.defineProperty, Io = Object.getOwnPropertyDescriptor, qt = (t, e, n, i) => {
8770
- for (var o = i > 1 ? void 0 : i ? Io(e, n) : e, a = t.length - 1, s; a >= 0; a--)
8825
+ var So = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, Et = (t, e, n, i) => {
8826
+ for (var o = i > 1 ? void 0 : i ? jo(e, n) : e, a = t.length - 1, s; a >= 0; a--)
8771
8827
  (s = t[a]) && (o = (i ? s(e, n, o) : s(o)) || o);
8772
- return i && o && vo(e, n, o), o;
8828
+ return i && o && So(e, n, o), o;
8773
8829
  };
8774
- const Gi = "authui-show:not([ready]){display:none}", zo = "authui-show:not([ready]){display:none}authui-button:not(:defined),authui-user-button:not(:defined){visibility:hidden}";
8775
- let Ki = !1;
8776
- function Ao() {
8777
- if (!(typeof document > "u" || Ki)) {
8778
- Ki = !0;
8830
+ const Yi = "authui-show:not([ready]){display:none}", ia = "authui-show:not([ready]){display:none}authui-button:not(:defined),authui-user-button:not(:defined){visibility:hidden}";
8831
+ let Ji = !1;
8832
+ function $o() {
8833
+ if (!(typeof document > "u" || Ji)) {
8834
+ Ji = !0;
8779
8835
  try {
8780
8836
  if (typeof CSSStyleSheet < "u" && "adoptedStyleSheets" in Document.prototype) {
8781
8837
  const t = new CSSStyleSheet();
8782
- t.replaceSync(Gi), document.adoptedStyleSheets = [...document.adoptedStyleSheets, t];
8838
+ t.replaceSync(Yi), document.adoptedStyleSheets = [...document.adoptedStyleSheets, t];
8783
8839
  return;
8784
8840
  }
8785
8841
  } catch {
8786
8842
  }
8787
8843
  if (!document.getElementById("authui-fouc")) {
8788
8844
  const t = document.createElement("style");
8789
- t.id = "authui-fouc", t.textContent = Gi, document.head.appendChild(t);
8845
+ t.id = "authui-fouc", t.textContent = Yi, document.head.appendChild(t);
8790
8846
  }
8791
8847
  }
8792
8848
  }
8793
- Ao();
8794
- const ko = ["loading", "signed-out", "signed-in", "mfa-required"];
8795
- function Gt(t) {
8796
- return t ? t.split(/[\s,]+/).map((e) => e.trim()).filter((e) => ko.includes(e)) : [];
8849
+ $o();
8850
+ const Po = ["loading", "signed-out", "signed-in", "mfa-required"];
8851
+ function Kt(t) {
8852
+ return t ? t.split(/[\s,]+/).map((e) => e.trim()).filter((e) => Po.includes(e)) : [];
8797
8853
  }
8798
8854
  let mt = class extends Je {
8799
8855
  constructor() {
@@ -8807,29 +8863,29 @@ let mt = class extends Je {
8807
8863
  }
8808
8864
  /** Whether the current status satisfies `when` and `unless`. */
8809
8865
  get visible() {
8810
- const t = Gt(this.when), e = Gt(this.unless);
8866
+ const t = Kt(this.when), e = Kt(this.unless);
8811
8867
  return !(this.status === "loading" && !t.includes("loading") || t.length > 0 && !t.includes(this.status) || e.includes(this.status));
8812
8868
  }
8813
8869
  updated() {
8814
- (this.status !== "loading" || Gt(this.when).includes("loading")) && (this.setAttribute("ready", ""), this.style.display = "contents");
8870
+ (this.status !== "loading" || Kt(this.when).includes("loading")) && (this.setAttribute("ready", ""), this.style.display = "contents");
8815
8871
  }
8816
8872
  render() {
8817
8873
  return this.visible ? b`<slot></slot>` : M;
8818
8874
  }
8819
8875
  };
8820
- qt([
8876
+ Et([
8821
8877
  ee({ type: String })
8822
8878
  ], mt.prototype, "when", 2);
8823
- qt([
8879
+ Et([
8824
8880
  ee({ type: String })
8825
8881
  ], mt.prototype, "unless", 2);
8826
- qt([
8882
+ Et([
8827
8883
  G()
8828
8884
  ], mt.prototype, "status", 2);
8829
- mt = qt([
8885
+ mt = Et([
8830
8886
  Qe("authui-show")
8831
8887
  ], mt);
8832
- const So = We`
8888
+ const Co = We`
8833
8889
  :host {
8834
8890
  display: block;
8835
8891
  width: 100%;
@@ -8976,7 +9032,7 @@ const So = We`
8976
9032
  qr: se(
8977
9033
  W`<rect width="5" height="5" x="3" y="3" rx="1"/><rect width="5" height="5" x="16" y="3" rx="1"/><rect width="5" height="5" x="3" y="16" rx="1"/><path d="M21 16h-3a2 2 0 0 0-2 2v3"/><path d="M21 21v.01"/><path d="M12 7v3a2 2 0 0 1-2 2H7"/><path d="M3 12h.01"/><path d="M12 3h.01"/><path d="M12 16v.01"/><path d="M16 12h1"/><path d="M21 12v.01"/><path d="M12 21v-1"/>`
8978
9034
  )
8979
- }, ge = (t, e = "0 0 24 24") => b`<svg xmlns="http://www.w3.org/2000/svg" viewBox=${e} aria-hidden="true">${t}</svg>`, jo = {
9035
+ }, ge = (t, e = "0 0 24 24") => b`<svg xmlns="http://www.w3.org/2000/svg" viewBox=${e} aria-hidden="true">${t}</svg>`, xo = {
8980
9036
  google: ge(
8981
9037
  W`<path fill="#4285F4" d="M23.49 12.27c0-.79-.07-1.54-.19-2.27H12v4.51h6.47a5.57 5.57 0 0 1-2.4 3.58v3h3.86c2.26-2.09 3.56-5.17 3.56-8.82z"/><path fill="#34A853" d="M12 24c3.24 0 5.95-1.08 7.93-2.91l-3.86-3c-1.08.72-2.45 1.16-4.07 1.16-3.13 0-5.78-2.11-6.73-4.96H1.29v3.09A11.99 11.99 0 0 0 12 24z"/><path fill="#FBBC05" d="M5.27 14.29A7.2 7.2 0 0 1 4.89 12c0-.8.14-1.57.38-2.29V6.62H1.29A11.97 11.97 0 0 0 0 12c0 1.94.46 3.77 1.29 5.38l3.98-3.09z"/><path fill="#EA4335" d="M12 4.75c1.77 0 3.35.61 4.6 1.8l3.42-3.42C17.95 1.19 15.24 0 12 0 7.31 0 3.26 2.69 1.29 6.62l3.98 3.09C6.22 6.86 8.87 4.75 12 4.75z"/>`
8982
9038
  ),
@@ -9032,10 +9088,10 @@ const So = We`
9032
9088
  W`<path fill="#003087" d="M7.076 21.337H2.47a.641.641 0 0 1-.633-.74L4.944.901C5.026.382 5.474 0 5.998 0h7.46c2.57 0 4.578.543 5.69 1.81 1.01 1.15 1.304 2.42 1.012 4.287-.023.143-.047.288-.077.437-.983 5.05-4.349 6.797-8.647 6.797h-2.19c-.524 0-.968.382-1.05.9l-1.12 7.106zm14.146-14.42a3.35 3.35 0 0 0-.607-.541c-.013.076-.026.175-.041.254-.93 4.778-4.005 7.201-9.138 7.201h-2.19a.563.563 0 0 0-.556.479l-1.187 7.527h-.506l-.24 1.516a.56.56 0 0 0 .554.647h3.882c.46 0 .85-.334.922-.788.06-.26.76-4.852.816-5.09a.932.932 0 0 1 .923-.788h.58c3.76 0 6.705-1.528 7.565-5.946.36-1.847.174-3.388-.777-4.471z"/>`
9033
9089
  )
9034
9090
  };
9035
- function li(t) {
9036
- return jo[t] ?? _.globe;
9091
+ function ui(t) {
9092
+ return xo[t] ?? _.globe;
9037
9093
  }
9038
- function bi(t) {
9094
+ function Ii(t) {
9039
9095
  const e = (t.trim()[0] ?? "?").toUpperCase();
9040
9096
  return /[A-Z0-9]/i.test(e) ? e : _.user;
9041
9097
  }
@@ -9044,10 +9100,10 @@ function wt(t) {
9044
9100
  window.dispatchEvent(new CustomEvent("authui:open", { detail: { view: t } }));
9045
9101
  }));
9046
9102
  }
9047
- function $o() {
9103
+ function Uo() {
9048
9104
  typeof window > "u" || window.dispatchEvent(new CustomEvent("authui:close"));
9049
9105
  }
9050
- function ui(t) {
9106
+ function pi(t) {
9051
9107
  const e = {
9052
9108
  length: t.length >= 8,
9053
9109
  long: t.length >= 12,
@@ -9063,37 +9119,10 @@ function ui(t) {
9063
9119
  let i, o;
9064
9120
  return !e.length || n <= 1 ? (i = 1, o = "passwordStrengthTooWeak") : n === 2 ? (i = 2, o = "passwordStrengthWeak") : n === 3 ? (i = 3, o = "passwordStrengthFair") : n >= 5 && e.long && e.lower && e.upper && e.number && e.symbol ? (i = 4, o = "passwordStrengthVeryStrong") : (i = 4, o = "passwordStrengthStrong"), { level: i, percent: i * 25, labelKey: o, checks: e };
9065
9121
  }
9066
- const vi = "authui:last-method";
9067
- function lt(t) {
9068
- if (!(typeof localStorage > "u")) {
9069
- if (!t || t === "mfa" || t === "sign-up")
9070
- if (t === "sign-up") t = "email-password";
9071
- else return;
9072
- try {
9073
- localStorage.setItem(vi, t);
9074
- } catch {
9075
- }
9076
- }
9077
- }
9078
- function Oe() {
9079
- if (typeof localStorage > "u") return null;
9080
- try {
9081
- return localStorage.getItem(vi);
9082
- } catch {
9083
- return null;
9084
- }
9085
- }
9086
- function Oo() {
9087
- if (!(typeof localStorage > "u"))
9088
- try {
9089
- localStorage.removeItem(vi);
9090
- } catch {
9091
- }
9092
- }
9093
- var Po = Object.defineProperty, Co = Object.getOwnPropertyDescriptor, ke = (t, e, n, i) => {
9094
- for (var o = i > 1 ? void 0 : i ? Co(e, n) : e, a = t.length - 1, s; a >= 0; a--)
9122
+ var Mo = Object.defineProperty, Ro = Object.getOwnPropertyDescriptor, ke = (t, e, n, i) => {
9123
+ for (var o = i > 1 ? void 0 : i ? Ro(e, n) : e, a = t.length - 1, s; a >= 0; a--)
9095
9124
  (s = t[a]) && (o = (i ? s(e, n, o) : s(o)) || o);
9096
- return i && o && Po(e, n, o), o;
9125
+ return i && o && Mo(e, n, o), o;
9097
9126
  };
9098
9127
  let ve = class extends Re {
9099
9128
  constructor() {
@@ -9111,8 +9140,8 @@ let ve = class extends Re {
9111
9140
  });
9112
9141
  }, this.onOAuth = (t) => {
9113
9142
  this.run(async () => {
9114
- if (lt(`oauth:${t}`), await R.signInWithOAuth(t), R.isPreview) {
9115
- this.fire("authui-success", { method: "oauth" });
9143
+ if (go(t), await R.signInWithOAuth(t), R.isPreview) {
9144
+ sn(), this.fire("authui-success", { method: "oauth" });
9116
9145
  return;
9117
9146
  }
9118
9147
  await new Promise((e) => setTimeout(e, 4e3));
@@ -9129,7 +9158,7 @@ let ve = class extends Re {
9129
9158
  }
9130
9159
  const e = this.recovery;
9131
9160
  e && this.run(async () => {
9132
- await R.completePasswordRecovery(e.userId, e.secret, this.password), this.password = "", this.passwordConfirm = "", this.recovery = null, this.auth.pending?.type === "reset-password" && R.setPending(null), this.notice = { tone: "success", message: this.t("passwordUpdated") }, this.go("sign-in");
9161
+ await R.completePasswordRecovery(e.userId, e.secret, this.password), this.password = "", this.passwordConfirm = "", this.recovery = null, this.auth.pending?.type === "reset-password" && R.setPending(null), this.go("sign-in"), this.notice = { tone: "success", message: this.t("passwordUpdated") };
9133
9162
  });
9134
9163
  }, this.onMagicUrl = (t) => {
9135
9164
  t.preventDefault(), this.requireValid(t) && this.run(async () => {
@@ -9200,7 +9229,7 @@ let ve = class extends Re {
9200
9229
  const { status: t, pending: e } = this.auth;
9201
9230
  t === "mfa-required" && this.step !== "mfa" && this.go("mfa");
9202
9231
  const n = this.step === "reset-password" || e?.type === "reset-password" || this.recovery !== null;
9203
- (t === "signed-in" || t === "signed-out") && !n && (this.step === "mfa" || this.step === "phone" || this.step === "email-otp" || this.step === "magic-url" || this.step === "forgot-password" || this.token !== null || this.challenge !== null || t === "signed-out") && (this.token = null, this.challenge = null, this.code = "", this.password = "", this.notice = null, this.go(this.view === "sign-up" ? "sign-up" : "sign-in")), e?.type === "reset-password" && this.step !== "reset-password" && (this.recovery = { userId: e.userId, secret: e.secret }, this.go("reset-password")), e?.type === "oauth-failed" && (this.notice = { tone: "error", message: this.t("errorOAuth") }, R.setPending(null)), e?.type === "notice" && !this.notice && (this.notice = {
9232
+ (t === "signed-in" || t === "signed-out") && !n && (this.step === "mfa" || this.step === "phone" || this.step === "email-otp" || this.step === "magic-url" || this.step === "forgot-password" || this.token !== null || this.challenge !== null || t === "signed-out") && (this.token = null, this.challenge = null, this.code = "", this.password = "", this.notice = null, this.go(this.view === "sign-up" ? "sign-up" : "sign-in")), e?.type === "reset-password" && this.step !== "reset-password" && (this.recovery = { userId: e.userId, secret: e.secret }, this.go("reset-password")), e?.type === "oauth-failed" && (this.notice = { tone: "error", message: this.t("errorOAuth") }), e?.type === "notice" && !this.notice && (this.notice = {
9204
9233
  tone: e.tone === "error" ? "error" : e.tone,
9205
9234
  message: e.message
9206
9235
  });
@@ -9210,7 +9239,7 @@ let ve = class extends Re {
9210
9239
  this.notice = null, this.auth.pending?.type === "notice" && R.setPending(null);
9211
9240
  }
9212
9241
  go(t) {
9213
- t === "sign-up" && this.config?.signUp === !1 && (t = "sign-in"), this.focusOnStep = !0, this.step = t, this.error = "", this.notice = null, this.auth.pending?.type === "notice" && R.setPending(null), this.busy = !1, this.showPassword = !1, this.password = "", this.passwordConfirm = "", t !== "mfa" && (this.challenge = null), t !== "email-otp" && t !== "phone" && t !== "magic-url" && (this.token = null), this.fire("authui-view", { view: t });
9242
+ t === "sign-up" && this.config?.signUp === !1 && (t = "sign-in"), this.focusOnStep = !0, this.step = t, this.error = "", this.notice = null, this.busy = !1, this.showPassword = !1, this.password = "", this.passwordConfirm = "", t !== "mfa" && (this.challenge = null), t !== "email-otp" && t !== "phone" && t !== "magic-url" && (this.token = null), this.fire("authui-view", { view: t });
9214
9243
  }
9215
9244
  // ───────────────────────────── actions ─────────────────────────────
9216
9245
  async run(t, e = "link") {
@@ -9312,7 +9341,7 @@ let ve = class extends Re {
9312
9341
  </button>`;
9313
9342
  }
9314
9343
  passwordField(t) {
9315
- const e = this[t.field], n = t.meter ? ui(e) : null;
9344
+ const e = this[t.field], n = t.meter ? pi(e) : null;
9316
9345
  return b`
9317
9346
  <div class="field">
9318
9347
  <label class="label" for=${t.id}>
@@ -9455,7 +9484,7 @@ let ve = class extends Re {
9455
9484
  <div class="stack">
9456
9485
  <div class="row">
9457
9486
  <div class="inline">
9458
- <span class="avatar">${bi(e)}</span>
9487
+ <span class="avatar">${Ii(e)}</span>
9459
9488
  <div class="row-main">
9460
9489
  <span class="row-title" title=${e}>${e}</span>
9461
9490
  ${t.email && t.name ? b`<span class="row-sub" title=${t.email}>${t.email}</span>` : M}
@@ -9502,7 +9531,7 @@ let ve = class extends Re {
9502
9531
  ?disabled=${this.busy}
9503
9532
  aria-label=${this.t("continueWith", { provider: pt(i) })}
9504
9533
  >
9505
- ${li(i)}
9534
+ ${ui(i)}
9506
9535
  <span
9507
9536
  >${n ? pt(i) : this.t("continueWith", { provider: pt(i) })}</span
9508
9537
  >
@@ -9840,7 +9869,7 @@ let ve = class extends Re {
9840
9869
  `;
9841
9870
  }
9842
9871
  };
9843
- ve.styles = [...Re.styles, So];
9872
+ ve.styles = [...Re.styles, Co];
9844
9873
  ke([
9845
9874
  ee({ type: String })
9846
9875
  ], ve.prototype, "view", 2);
@@ -9875,15 +9904,15 @@ ke([
9875
9904
  G()
9876
9905
  ], ve.prototype, "recovery", 2);
9877
9906
  ke([
9878
- Oi("form input:not([type=hidden])")
9907
+ en("form input:not([type=hidden])")
9879
9908
  ], ve.prototype, "firstInput", 2);
9880
9909
  ve = ke([
9881
9910
  Qe("authui-sign-in")
9882
9911
  ], ve);
9883
- var xo = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, O = (t, e, n, i) => {
9884
- for (var o = i > 1 ? void 0 : i ? Uo(e, n) : e, a = t.length - 1, s; a >= 0; a--)
9912
+ var qo = Object.defineProperty, Eo = Object.getOwnPropertyDescriptor, O = (t, e, n, i) => {
9913
+ for (var o = i > 1 ? void 0 : i ? Eo(e, n) : e, a = t.length - 1, s; a >= 0; a--)
9885
9914
  (s = t[a]) && (o = (i ? s(e, n, o) : s(o)) || o);
9886
- return i && o && xo(e, n, o), o;
9915
+ return i && o && qo(e, n, o), o;
9887
9916
  };
9888
9917
  let z = class extends Re {
9889
9918
  constructor() {
@@ -10245,7 +10274,7 @@ let z = class extends Re {
10245
10274
  return b`
10246
10275
  <div class="between">
10247
10276
  <div class="identity">
10248
- <span class="avatar">${bi(e)}</span>
10277
+ <span class="avatar">${Ii(e)}</span>
10249
10278
  <div class="row-main">
10250
10279
  <span class="row-title" title=${e}>
10251
10280
  ${e}
@@ -10341,7 +10370,7 @@ let z = class extends Re {
10341
10370
  autocomplete="new-password"
10342
10371
  />
10343
10372
  ${this.emailPassword ? (() => {
10344
- const e = ui(this.emailPassword);
10373
+ const e = pi(this.emailPassword);
10345
10374
  return b`<div class="strength" aria-live="polite">
10346
10375
  <div
10347
10376
  class="strength-meter"
@@ -10607,7 +10636,7 @@ let z = class extends Re {
10607
10636
  autocomplete="new-password"
10608
10637
  />
10609
10638
  ${this.newPassword ? (() => {
10610
- const n = ui(this.newPassword);
10639
+ const n = pi(this.newPassword);
10611
10640
  return b`<div class="strength" aria-live="polite">
10612
10641
  <div
10613
10642
  class="strength-meter"
@@ -10656,7 +10685,7 @@ let z = class extends Re {
10656
10685
  </div>`;
10657
10686
  }
10658
10687
  renderMfaCard() {
10659
- const t = this.user, e = this.factors?.totp ?? !1, n = this.authenticator ? R.isPreview ? co(this.authenticator.uri) : new tn(R.getClient()).getQR(this.authenticator.uri, 400, 1).toString() : "";
10688
+ const t = this.user, e = this.factors?.totp ?? !1, n = this.authenticator ? R.isPreview ? po(this.authenticator.uri) : new on(R.getClient()).getQR(this.authenticator.uri, 400, 1).toString() : "";
10660
10689
  return this.card(
10661
10690
  this.t("twoFactor"),
10662
10691
  this.t("twoFactorDescription"),
@@ -10988,7 +11017,7 @@ let z = class extends Re {
10988
11017
  ${t === null ? b`<div class="empty"><span class="spinner"></span></div>` : t.length === 0 ? b`<div class="empty">${this.t("noConnections")}</div>` : t.map(
10989
11018
  (n) => b`<div class="row">
10990
11019
  <div class="inline">
10991
- <span class="device">${li(n.provider)}</span>
11020
+ <span class="device">${ui(n.provider)}</span>
10992
11021
  <div class="row-main">
10993
11022
  <span class="row-title">${pt(n.provider)}</span>
10994
11023
  <span class="row-sub">${n.providerEmail || n.providerUid}</span>
@@ -11029,7 +11058,7 @@ let z = class extends Re {
11029
11058
  }}
11030
11059
  ?disabled=${!!this.busy}
11031
11060
  >
11032
- ${this.spinner(`connect-${n}`)} ${li(n)}
11061
+ ${this.spinner(`connect-${n}`)} ${ui(n)}
11033
11062
  ${this.t("connectProvider", { provider: pt(n) })}
11034
11063
  </button>`
11035
11064
  )}` : void 0
@@ -11261,10 +11290,10 @@ O([
11261
11290
  z = O([
11262
11291
  Qe("authui-account")
11263
11292
  ], z);
11264
- var Mo = Object.defineProperty, Ro = Object.getOwnPropertyDescriptor, at = (t, e, n, i) => {
11265
- for (var o = i > 1 ? void 0 : i ? Ro(e, n) : e, a = t.length - 1, s; a >= 0; a--)
11293
+ var _o = Object.defineProperty, Lo = Object.getOwnPropertyDescriptor, at = (t, e, n, i) => {
11294
+ for (var o = i > 1 ? void 0 : i ? Lo(e, n) : e, a = t.length - 1, s; a >= 0; a--)
11266
11295
  (s = t[a]) && (o = (i ? s(e, n, o) : s(o)) || o);
11267
- return i && o && Mo(e, n, o), o;
11296
+ return i && o && _o(e, n, o), o;
11268
11297
  };
11269
11298
  let Ve = class extends Re {
11270
11299
  constructor() {
@@ -11412,15 +11441,15 @@ at([
11412
11441
  G()
11413
11442
  ], Ve.prototype, "handledPending", 2);
11414
11443
  at([
11415
- Oi("dialog")
11444
+ en("dialog")
11416
11445
  ], Ve.prototype, "dialog", 2);
11417
11446
  Ve = at([
11418
11447
  Qe("authui-modal")
11419
11448
  ], Ve);
11420
- var qo = Object.defineProperty, Eo = Object.getOwnPropertyDescriptor, Et = (t, e, n, i) => {
11421
- for (var o = i > 1 ? void 0 : i ? Eo(e, n) : e, a = t.length - 1, s; a >= 0; a--)
11449
+ var No = Object.defineProperty, Ho = Object.getOwnPropertyDescriptor, _t = (t, e, n, i) => {
11450
+ for (var o = i > 1 ? void 0 : i ? Ho(e, n) : e, a = t.length - 1, s; a >= 0; a--)
11422
11451
  (s = t[a]) && (o = (i ? s(e, n, o) : s(o)) || o);
11423
- return i && o && qo(e, n, o), o;
11452
+ return i && o && No(e, n, o), o;
11424
11453
  };
11425
11454
  let nt = class extends Re {
11426
11455
  constructor() {
@@ -11450,22 +11479,22 @@ nt.styles = [
11450
11479
  }
11451
11480
  `
11452
11481
  ];
11453
- Et([
11482
+ _t([
11454
11483
  ee({ type: String })
11455
11484
  ], nt.prototype, "view", 2);
11456
- Et([
11485
+ _t([
11457
11486
  ee({ type: String })
11458
11487
  ], nt.prototype, "variant", 2);
11459
- Et([
11488
+ _t([
11460
11489
  ee({ type: String })
11461
11490
  ], nt.prototype, "size", 2);
11462
- nt = Et([
11491
+ nt = _t([
11463
11492
  Qe("authui-button")
11464
11493
  ], nt);
11465
- var _o = Object.defineProperty, Lo = Object.getOwnPropertyDescriptor, Te = (t, e, n, i) => {
11466
- for (var o = i > 1 ? void 0 : i ? Lo(e, n) : e, a = t.length - 1, s; a >= 0; a--)
11494
+ var Do = Object.defineProperty, Bo = Object.getOwnPropertyDescriptor, Te = (t, e, n, i) => {
11495
+ for (var o = i > 1 ? void 0 : i ? Bo(e, n) : e, a = t.length - 1, s; a >= 0; a--)
11467
11496
  (s = t[a]) && (o = (i ? s(e, n, o) : s(o)) || o);
11468
- return i && o && _o(e, n, o), o;
11497
+ return i && o && Do(e, n, o), o;
11469
11498
  };
11470
11499
  let He = class extends Re {
11471
11500
  constructor() {
@@ -11540,7 +11569,7 @@ let He = class extends Re {
11540
11569
  aria-label=${i}
11541
11570
  >
11542
11571
  <span class="avatar"
11543
- >${this.src ? b`<img src=${this.src} alt="" />` : bi(i)}</span
11572
+ >${this.src ? b`<img src=${this.src} alt="" />` : Ii(i)}</span
11544
11573
  >
11545
11574
  </button>
11546
11575
  ${this.menuOpen ? b`<div class="menu" role="menu">
@@ -11719,52 +11748,52 @@ Te([
11719
11748
  He = Te([
11720
11749
  Qe("authui-user-button")
11721
11750
  ], He);
11722
- function No(t) {
11723
- return R.configure(t), Jo;
11751
+ function Xo(t) {
11752
+ return R.configure(t), zo;
11724
11753
  }
11725
- function Ho(t) {
11754
+ function Vo(t) {
11726
11755
  wt(t);
11727
11756
  }
11728
- function Do() {
11729
- $o();
11757
+ function Wo() {
11758
+ Uo();
11730
11759
  }
11731
- function Bo() {
11760
+ function Go() {
11732
11761
  return R.signOut();
11733
11762
  }
11734
- function Xo() {
11763
+ function Ko() {
11735
11764
  return R.user;
11736
11765
  }
11737
- function Vo() {
11766
+ function Yo() {
11738
11767
  return R.getState();
11739
11768
  }
11740
- function Wo() {
11769
+ function Jo() {
11741
11770
  return R.getClient();
11742
11771
  }
11743
- function Go() {
11772
+ function Zo() {
11744
11773
  return R.getAccount();
11745
11774
  }
11746
- function Ko() {
11775
+ function Qo() {
11747
11776
  return R.previewSignIn();
11748
11777
  }
11749
- function Yo(t, e) {
11778
+ function To(t, e) {
11750
11779
  return R.on(t, e);
11751
11780
  }
11752
- const Jo = {
11753
- init: No,
11754
- open: Ho,
11755
- close: Do,
11756
- signOut: Bo,
11757
- getUser: Xo,
11758
- getState: Vo,
11759
- getClient: Wo,
11760
- getAccount: Go,
11761
- on: Yo,
11762
- previewSignIn: Ko,
11781
+ const zo = {
11782
+ init: Xo,
11783
+ open: Vo,
11784
+ close: Wo,
11785
+ signOut: Go,
11786
+ getUser: Ko,
11787
+ getState: Yo,
11788
+ getClient: Jo,
11789
+ getAccount: Zo,
11790
+ on: To,
11791
+ previewSignIn: Qo,
11763
11792
  store: R
11764
11793
  };
11765
11794
  export {
11766
- po as AuthStore,
11767
- Jo as AuthUI,
11795
+ yo as AuthStore,
11796
+ zo as AuthUI,
11768
11797
  z as AuthUIAccount,
11769
11798
  nt as AuthUIButton,
11770
11799
  pe as AuthUIConfigElement,
@@ -11773,33 +11802,36 @@ export {
11773
11802
  mt as AuthUIShow,
11774
11803
  ve as AuthUISignIn,
11775
11804
  He as AuthUIUserButton,
11776
- zo as CRITICAL_FOUC_CSS,
11805
+ ia as CRITICAL_FOUC_CSS,
11777
11806
  oe as ErrorTypes,
11778
- Gi as FOUC_CSS,
11779
- ro as PreviewAccount,
11780
- To as appwrite,
11807
+ Yi as FOUC_CSS,
11808
+ uo as PreviewAccount,
11809
+ ea as appwrite,
11781
11810
  R as authStore,
11782
- Oo as clearLastMethod,
11783
- Do as close,
11784
- $o as closeModal,
11785
- no as defaultStrings,
11811
+ ta as clearLastMethod,
11812
+ Xi as clearPendingOAuth,
11813
+ Wo as close,
11814
+ Uo as closeModal,
11815
+ so as defaultStrings,
11786
11816
  xt as describeError,
11787
- Go as getAccount,
11788
- Wo as getClient,
11817
+ Zo as getAccount,
11818
+ Jo as getClient,
11789
11819
  Oe as getLastMethod,
11790
- Vo as getState,
11791
- Di as getStoredActiveTeamId,
11792
- Xo as getUser,
11793
- No as init,
11794
- lo as isConfigError,
11795
- Yo as on,
11796
- Ho as open,
11820
+ Yo as getState,
11821
+ Bi as getStoredActiveTeamId,
11822
+ Ko as getUser,
11823
+ Xo as init,
11824
+ ho as isConfigError,
11825
+ To as on,
11826
+ Vo as open,
11797
11827
  wt as openModal,
11798
- Ko as previewSignIn,
11828
+ Qo as previewSignIn,
11799
11829
  pt as providerLabel,
11800
11830
  lt as rememberLastMethod,
11801
- ui as scorePassword,
11802
- uo as setStoredActiveTeamId,
11803
- Bo as signOut,
11831
+ sn as rememberPendingOAuth,
11832
+ pi as scorePassword,
11833
+ fo as setStoredActiveTeamId,
11834
+ Go as signOut,
11835
+ go as stashPendingOAuth,
11804
11836
  et as toAuthUIError
11805
11837
  };