@rash2x/bridge-widget 0.6.50 → 0.6.51

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,23 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index-B256CQyT.cjs");
4
- /**
5
- * @license
6
- * Copyright 2019 Google LLC
7
- * SPDX-License-Identifier: BSD-3-Clause
8
- */
9
- const t$4 = window, e$6 = t$4.ShadowRoot && (void 0 === t$4.ShadyCSS || t$4.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$4 = Symbol(), n$6 = /* @__PURE__ */ new WeakMap();
10
- let o$5 = class o {
3
+ const index = require("./index-CxeCQY-P.cjs");
4
+ const t$3 = window, e$5 = t$3.ShadowRoot && (void 0 === t$3.ShadyCSS || t$3.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$3 = /* @__PURE__ */ Symbol(), n$5 = /* @__PURE__ */ new WeakMap();
5
+ let o$4 = class o {
11
6
  constructor(t2, e2, n2) {
12
- if (this._$cssResult$ = true, n2 !== s$4) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
7
+ if (this._$cssResult$ = true, n2 !== s$3) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
13
8
  this.cssText = t2, this.t = e2;
14
9
  }
15
10
  get styleSheet() {
16
11
  let t2 = this.o;
17
- const s3 = this.t;
18
- if (e$6 && void 0 === t2) {
19
- const e2 = void 0 !== s3 && 1 === s3.length;
20
- e2 && (t2 = n$6.get(s3)), void 0 === t2 && ((this.o = t2 = new CSSStyleSheet()).replaceSync(this.cssText), e2 && n$6.set(s3, t2));
12
+ const s2 = this.t;
13
+ if (e$5 && void 0 === t2) {
14
+ const e2 = void 0 !== s2 && 1 === s2.length;
15
+ e2 && (t2 = n$5.get(s2)), void 0 === t2 && ((this.o = t2 = new CSSStyleSheet()).replaceSync(this.cssText), e2 && n$5.set(s2, t2));
21
16
  }
22
17
  return t2;
23
18
  }
@@ -25,140 +20,135 @@ let o$5 = class o {
25
20
  return this.cssText;
26
21
  }
27
22
  };
28
- const r$3 = (t2) => new o$5("string" == typeof t2 ? t2 : t2 + "", void 0, s$4), i$4 = (t2, ...e2) => {
29
- const n2 = 1 === t2.length ? t2[0] : e2.reduce(((e3, s3, n3) => e3 + ((t3) => {
23
+ const r$2 = (t2) => new o$4("string" == typeof t2 ? t2 : t2 + "", void 0, s$3), i$3 = (t2, ...e2) => {
24
+ const n2 = 1 === t2.length ? t2[0] : e2.reduce(((e3, s2, n3) => e3 + ((t3) => {
30
25
  if (true === t3._$cssResult$) return t3.cssText;
31
26
  if ("number" == typeof t3) return t3;
32
27
  throw Error("Value passed to 'css' function must be a 'css' function result: " + t3 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
33
- })(s3) + t2[n3 + 1]), t2[0]);
34
- return new o$5(n2, t2, s$4);
35
- }, S$2 = (s3, n2) => {
36
- e$6 ? s3.adoptedStyleSheets = n2.map(((t2) => t2 instanceof CSSStyleSheet ? t2 : t2.styleSheet)) : n2.forEach(((e2) => {
37
- const n3 = document.createElement("style"), o3 = t$4.litNonce;
38
- void 0 !== o3 && n3.setAttribute("nonce", o3), n3.textContent = e2.cssText, s3.appendChild(n3);
28
+ })(s2) + t2[n3 + 1]), t2[0]);
29
+ return new o$4(n2, t2, s$3);
30
+ }, S$1 = (s2, n2) => {
31
+ e$5 ? s2.adoptedStyleSheets = n2.map(((t2) => t2 instanceof CSSStyleSheet ? t2 : t2.styleSheet)) : n2.forEach(((e2) => {
32
+ const n3 = document.createElement("style"), o3 = t$3.litNonce;
33
+ void 0 !== o3 && n3.setAttribute("nonce", o3), n3.textContent = e2.cssText, s2.appendChild(n3);
39
34
  }));
40
- }, c$2 = e$6 ? (t2) => t2 : (t2) => t2 instanceof CSSStyleSheet ? ((t3) => {
35
+ }, c$1 = e$5 ? (t2) => t2 : (t2) => t2 instanceof CSSStyleSheet ? ((t3) => {
41
36
  let e2 = "";
42
- for (const s3 of t3.cssRules) e2 += s3.cssText;
43
- return r$3(e2);
37
+ for (const s2 of t3.cssRules) e2 += s2.cssText;
38
+ return r$2(e2);
44
39
  })(t2) : t2;
45
- /**
46
- * @license
47
- * Copyright 2017 Google LLC
48
- * SPDX-License-Identifier: BSD-3-Clause
49
- */
50
- var s$3;
51
- const e$5 = window, r$2 = e$5.trustedTypes, h$2 = r$2 ? r$2.emptyScript : "", o$4 = e$5.reactiveElementPolyfillSupport, n$5 = { toAttribute(t2, i3) {
52
- switch (i3) {
40
+ var s$2;
41
+ const e$4 = window, r$1 = e$4.trustedTypes, h$1 = r$1 ? r$1.emptyScript : "", o$3 = e$4.reactiveElementPolyfillSupport, n$4 = { toAttribute(t2, i2) {
42
+ switch (i2) {
53
43
  case Boolean:
54
- t2 = t2 ? h$2 : null;
44
+ t2 = t2 ? h$1 : null;
55
45
  break;
56
46
  case Object:
57
47
  case Array:
58
48
  t2 = null == t2 ? t2 : JSON.stringify(t2);
59
49
  }
60
50
  return t2;
61
- }, fromAttribute(t2, i3) {
62
- let s3 = t2;
63
- switch (i3) {
51
+ }, fromAttribute(t2, i2) {
52
+ let s2 = t2;
53
+ switch (i2) {
64
54
  case Boolean:
65
- s3 = null !== t2;
55
+ s2 = null !== t2;
66
56
  break;
67
57
  case Number:
68
- s3 = null === t2 ? null : Number(t2);
58
+ s2 = null === t2 ? null : Number(t2);
69
59
  break;
70
60
  case Object:
71
61
  case Array:
72
62
  try {
73
- s3 = JSON.parse(t2);
63
+ s2 = JSON.parse(t2);
74
64
  } catch (t3) {
75
- s3 = null;
65
+ s2 = null;
76
66
  }
77
67
  }
78
- return s3;
79
- } }, a$2 = (t2, i3) => i3 !== t2 && (i3 == i3 || t2 == t2), l$4 = { attribute: true, type: String, converter: n$5, reflect: false, hasChanged: a$2 }, d$2 = "finalized";
80
- let u$2 = class u extends HTMLElement {
68
+ return s2;
69
+ } }, a$1 = (t2, i2) => i2 !== t2 && (i2 == i2 || t2 == t2), l$3 = { attribute: true, type: String, converter: n$4, reflect: false, hasChanged: a$1 }, d$1 = "finalized";
70
+ let u$1 = class u extends HTMLElement {
81
71
  constructor() {
82
72
  super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = false, this.hasUpdated = false, this._$El = null, this._$Eu();
83
73
  }
84
74
  static addInitializer(t2) {
85
- var i3;
86
- this.finalize(), (null !== (i3 = this.h) && void 0 !== i3 ? i3 : this.h = []).push(t2);
75
+ var i2;
76
+ this.finalize(), (null !== (i2 = this.h) && void 0 !== i2 ? i2 : this.h = []).push(t2);
87
77
  }
88
78
  static get observedAttributes() {
89
79
  this.finalize();
90
80
  const t2 = [];
91
- return this.elementProperties.forEach(((i3, s3) => {
92
- const e2 = this._$Ep(s3, i3);
93
- void 0 !== e2 && (this._$Ev.set(e2, s3), t2.push(e2));
81
+ return this.elementProperties.forEach(((i2, s2) => {
82
+ const e2 = this._$Ep(s2, i2);
83
+ void 0 !== e2 && (this._$Ev.set(e2, s2), t2.push(e2));
94
84
  })), t2;
95
85
  }
96
- static createProperty(t2, i3 = l$4) {
97
- if (i3.state && (i3.attribute = false), this.finalize(), this.elementProperties.set(t2, i3), !i3.noAccessor && !this.prototype.hasOwnProperty(t2)) {
98
- const s3 = "symbol" == typeof t2 ? Symbol() : "__" + t2, e2 = this.getPropertyDescriptor(t2, s3, i3);
86
+ static createProperty(t2, i2 = l$3) {
87
+ if (i2.state && (i2.attribute = false), this.finalize(), this.elementProperties.set(t2, i2), !i2.noAccessor && !this.prototype.hasOwnProperty(t2)) {
88
+ const s2 = "symbol" == typeof t2 ? /* @__PURE__ */ Symbol() : "__" + t2, e2 = this.getPropertyDescriptor(t2, s2, i2);
99
89
  void 0 !== e2 && Object.defineProperty(this.prototype, t2, e2);
100
90
  }
101
91
  }
102
- static getPropertyDescriptor(t2, i3, s3) {
92
+ static getPropertyDescriptor(t2, i2, s2) {
103
93
  return { get() {
104
- return this[i3];
94
+ return this[i2];
105
95
  }, set(e2) {
106
96
  const r2 = this[t2];
107
- this[i3] = e2, this.requestUpdate(t2, r2, s3);
97
+ this[i2] = e2, this.requestUpdate(t2, r2, s2);
108
98
  }, configurable: true, enumerable: true };
109
99
  }
110
100
  static getPropertyOptions(t2) {
111
- return this.elementProperties.get(t2) || l$4;
101
+ return this.elementProperties.get(t2) || l$3;
112
102
  }
113
103
  static finalize() {
114
- if (this.hasOwnProperty(d$2)) return false;
115
- this[d$2] = true;
104
+ if (this.hasOwnProperty(d$1)) return false;
105
+ this[d$1] = true;
116
106
  const t2 = Object.getPrototypeOf(this);
117
107
  if (t2.finalize(), void 0 !== t2.h && (this.h = [...t2.h]), this.elementProperties = new Map(t2.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
118
- const t3 = this.properties, i3 = [...Object.getOwnPropertyNames(t3), ...Object.getOwnPropertySymbols(t3)];
119
- for (const s3 of i3) this.createProperty(s3, t3[s3]);
108
+ const t3 = this.properties, i2 = [...Object.getOwnPropertyNames(t3), ...Object.getOwnPropertySymbols(t3)];
109
+ for (const s2 of i2) this.createProperty(s2, t3[s2]);
120
110
  }
121
111
  return this.elementStyles = this.finalizeStyles(this.styles), true;
122
112
  }
123
- static finalizeStyles(i3) {
124
- const s3 = [];
125
- if (Array.isArray(i3)) {
126
- const e2 = new Set(i3.flat(1 / 0).reverse());
127
- for (const i4 of e2) s3.unshift(c$2(i4));
128
- } else void 0 !== i3 && s3.push(c$2(i3));
129
- return s3;
113
+ static finalizeStyles(i2) {
114
+ const s2 = [];
115
+ if (Array.isArray(i2)) {
116
+ const e2 = new Set(i2.flat(1 / 0).reverse());
117
+ for (const i3 of e2) s2.unshift(c$1(i3));
118
+ } else void 0 !== i2 && s2.push(c$1(i2));
119
+ return s2;
130
120
  }
131
- static _$Ep(t2, i3) {
132
- const s3 = i3.attribute;
133
- return false === s3 ? void 0 : "string" == typeof s3 ? s3 : "string" == typeof t2 ? t2.toLowerCase() : void 0;
121
+ static _$Ep(t2, i2) {
122
+ const s2 = i2.attribute;
123
+ return false === s2 ? void 0 : "string" == typeof s2 ? s2 : "string" == typeof t2 ? t2.toLowerCase() : void 0;
134
124
  }
135
125
  _$Eu() {
136
126
  var t2;
137
127
  this._$E_ = new Promise(((t3) => this.enableUpdating = t3)), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), null === (t2 = this.constructor.h) || void 0 === t2 || t2.forEach(((t3) => t3(this)));
138
128
  }
139
129
  addController(t2) {
140
- var i3, s3;
141
- (null !== (i3 = this._$ES) && void 0 !== i3 ? i3 : this._$ES = []).push(t2), void 0 !== this.renderRoot && this.isConnected && (null === (s3 = t2.hostConnected) || void 0 === s3 || s3.call(t2));
130
+ var i2, s2;
131
+ (null !== (i2 = this._$ES) && void 0 !== i2 ? i2 : this._$ES = []).push(t2), void 0 !== this.renderRoot && this.isConnected && (null === (s2 = t2.hostConnected) || void 0 === s2 || s2.call(t2));
142
132
  }
143
133
  removeController(t2) {
144
- var i3;
145
- null === (i3 = this._$ES) || void 0 === i3 || i3.splice(this._$ES.indexOf(t2) >>> 0, 1);
134
+ var i2;
135
+ null === (i2 = this._$ES) || void 0 === i2 || i2.splice(this._$ES.indexOf(t2) >>> 0, 1);
146
136
  }
147
137
  _$Eg() {
148
- this.constructor.elementProperties.forEach(((t2, i3) => {
149
- this.hasOwnProperty(i3) && (this._$Ei.set(i3, this[i3]), delete this[i3]);
138
+ this.constructor.elementProperties.forEach(((t2, i2) => {
139
+ this.hasOwnProperty(i2) && (this._$Ei.set(i2, this[i2]), delete this[i2]);
150
140
  }));
151
141
  }
152
142
  createRenderRoot() {
153
143
  var t2;
154
- const s3 = null !== (t2 = this.shadowRoot) && void 0 !== t2 ? t2 : this.attachShadow(this.constructor.shadowRootOptions);
155
- return S$2(s3, this.constructor.elementStyles), s3;
144
+ const s2 = null !== (t2 = this.shadowRoot) && void 0 !== t2 ? t2 : this.attachShadow(this.constructor.shadowRootOptions);
145
+ return S$1(s2, this.constructor.elementStyles), s2;
156
146
  }
157
147
  connectedCallback() {
158
148
  var t2;
159
149
  void 0 === this.renderRoot && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(true), null === (t2 = this._$ES) || void 0 === t2 || t2.forEach(((t3) => {
160
- var i3;
161
- return null === (i3 = t3.hostConnected) || void 0 === i3 ? void 0 : i3.call(t3);
150
+ var i2;
151
+ return null === (i2 = t3.hostConnected) || void 0 === i2 ? void 0 : i2.call(t3);
162
152
  }));
163
153
  }
164
154
  enableUpdating(t2) {
@@ -166,32 +156,32 @@ let u$2 = class u extends HTMLElement {
166
156
  disconnectedCallback() {
167
157
  var t2;
168
158
  null === (t2 = this._$ES) || void 0 === t2 || t2.forEach(((t3) => {
169
- var i3;
170
- return null === (i3 = t3.hostDisconnected) || void 0 === i3 ? void 0 : i3.call(t3);
159
+ var i2;
160
+ return null === (i2 = t3.hostDisconnected) || void 0 === i2 ? void 0 : i2.call(t3);
171
161
  }));
172
162
  }
173
- attributeChangedCallback(t2, i3, s3) {
174
- this._$AK(t2, s3);
163
+ attributeChangedCallback(t2, i2, s2) {
164
+ this._$AK(t2, s2);
175
165
  }
176
- _$EO(t2, i3, s3 = l$4) {
166
+ _$EO(t2, i2, s2 = l$3) {
177
167
  var e2;
178
- const r2 = this.constructor._$Ep(t2, s3);
179
- if (void 0 !== r2 && true === s3.reflect) {
180
- const h2 = (void 0 !== (null === (e2 = s3.converter) || void 0 === e2 ? void 0 : e2.toAttribute) ? s3.converter : n$5).toAttribute(i3, s3.type);
168
+ const r2 = this.constructor._$Ep(t2, s2);
169
+ if (void 0 !== r2 && true === s2.reflect) {
170
+ const h2 = (void 0 !== (null === (e2 = s2.converter) || void 0 === e2 ? void 0 : e2.toAttribute) ? s2.converter : n$4).toAttribute(i2, s2.type);
181
171
  this._$El = t2, null == h2 ? this.removeAttribute(r2) : this.setAttribute(r2, h2), this._$El = null;
182
172
  }
183
173
  }
184
- _$AK(t2, i3) {
185
- var s3;
174
+ _$AK(t2, i2) {
175
+ var s2;
186
176
  const e2 = this.constructor, r2 = e2._$Ev.get(t2);
187
177
  if (void 0 !== r2 && this._$El !== r2) {
188
- const t3 = e2.getPropertyOptions(r2), h2 = "function" == typeof t3.converter ? { fromAttribute: t3.converter } : void 0 !== (null === (s3 = t3.converter) || void 0 === s3 ? void 0 : s3.fromAttribute) ? t3.converter : n$5;
189
- this._$El = r2, this[r2] = h2.fromAttribute(i3, t3.type), this._$El = null;
178
+ const t3 = e2.getPropertyOptions(r2), h2 = "function" == typeof t3.converter ? { fromAttribute: t3.converter } : void 0 !== (null === (s2 = t3.converter) || void 0 === s2 ? void 0 : s2.fromAttribute) ? t3.converter : n$4;
179
+ this._$El = r2, this[r2] = h2.fromAttribute(i2, t3.type), this._$El = null;
190
180
  }
191
181
  }
192
- requestUpdate(t2, i3, s3) {
182
+ requestUpdate(t2, i2, s2) {
193
183
  let e2 = true;
194
- void 0 !== t2 && (((s3 = s3 || this.constructor.getPropertyOptions(t2)).hasChanged || a$2)(this[t2], i3) ? (this._$AL.has(t2) || this._$AL.set(t2, i3), true === s3.reflect && this._$El !== t2 && (void 0 === this._$EC && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t2, s3))) : e2 = false), !this.isUpdatePending && e2 && (this._$E_ = this._$Ej());
184
+ void 0 !== t2 && (((s2 = s2 || this.constructor.getPropertyOptions(t2)).hasChanged || a$1)(this[t2], i2) ? (this._$AL.has(t2) || this._$AL.set(t2, i2), true === s2.reflect && this._$El !== t2 && (void 0 === this._$EC && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t2, s2))) : e2 = false), !this.isUpdatePending && e2 && (this._$E_ = this._$Ej());
195
185
  }
196
186
  async _$Ej() {
197
187
  this.isUpdatePending = true;
@@ -209,26 +199,26 @@ let u$2 = class u extends HTMLElement {
209
199
  performUpdate() {
210
200
  var t2;
211
201
  if (!this.isUpdatePending) return;
212
- this.hasUpdated, this._$Ei && (this._$Ei.forEach(((t3, i4) => this[i4] = t3)), this._$Ei = void 0);
213
- let i3 = false;
214
- const s3 = this._$AL;
202
+ this.hasUpdated, this._$Ei && (this._$Ei.forEach(((t3, i3) => this[i3] = t3)), this._$Ei = void 0);
203
+ let i2 = false;
204
+ const s2 = this._$AL;
215
205
  try {
216
- i3 = this.shouldUpdate(s3), i3 ? (this.willUpdate(s3), null === (t2 = this._$ES) || void 0 === t2 || t2.forEach(((t3) => {
217
- var i4;
218
- return null === (i4 = t3.hostUpdate) || void 0 === i4 ? void 0 : i4.call(t3);
219
- })), this.update(s3)) : this._$Ek();
206
+ i2 = this.shouldUpdate(s2), i2 ? (this.willUpdate(s2), null === (t2 = this._$ES) || void 0 === t2 || t2.forEach(((t3) => {
207
+ var i3;
208
+ return null === (i3 = t3.hostUpdate) || void 0 === i3 ? void 0 : i3.call(t3);
209
+ })), this.update(s2)) : this._$Ek();
220
210
  } catch (t3) {
221
- throw i3 = false, this._$Ek(), t3;
211
+ throw i2 = false, this._$Ek(), t3;
222
212
  }
223
- i3 && this._$AE(s3);
213
+ i2 && this._$AE(s2);
224
214
  }
225
215
  willUpdate(t2) {
226
216
  }
227
217
  _$AE(t2) {
228
- var i3;
229
- null === (i3 = this._$ES) || void 0 === i3 || i3.forEach(((t3) => {
230
- var i4;
231
- return null === (i4 = t3.hostUpdated) || void 0 === i4 ? void 0 : i4.call(t3);
218
+ var i2;
219
+ null === (i2 = this._$ES) || void 0 === i2 || i2.forEach(((t3) => {
220
+ var i3;
221
+ return null === (i3 = t3.hostUpdated) || void 0 === i3 ? void 0 : i3.call(t3);
232
222
  })), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t2)), this.updated(t2);
233
223
  }
234
224
  _$Ek() {
@@ -244,92 +234,87 @@ let u$2 = class u extends HTMLElement {
244
234
  return true;
245
235
  }
246
236
  update(t2) {
247
- void 0 !== this._$EC && (this._$EC.forEach(((t3, i3) => this._$EO(i3, this[i3], t3))), this._$EC = void 0), this._$Ek();
237
+ void 0 !== this._$EC && (this._$EC.forEach(((t3, i2) => this._$EO(i2, this[i2], t3))), this._$EC = void 0), this._$Ek();
248
238
  }
249
239
  updated(t2) {
250
240
  }
251
241
  firstUpdated(t2) {
252
242
  }
253
243
  };
254
- u$2[d$2] = true, u$2.elementProperties = /* @__PURE__ */ new Map(), u$2.elementStyles = [], u$2.shadowRootOptions = { mode: "open" }, null == o$4 || o$4({ ReactiveElement: u$2 }), (null !== (s$3 = e$5.reactiveElementVersions) && void 0 !== s$3 ? s$3 : e$5.reactiveElementVersions = []).push("1.6.3");
255
- /**
256
- * @license
257
- * Copyright 2017 Google LLC
258
- * SPDX-License-Identifier: BSD-3-Clause
259
- */
260
- var t$3;
261
- const i$3 = window, s$2 = i$3.trustedTypes, e$4 = s$2 ? s$2.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, o$3 = "$lit$", n$4 = `lit$${(Math.random() + "").slice(9)}$`, l$3 = "?" + n$4, h$1 = `<${l$3}>`, r$1 = document, u$1 = () => r$1.createComment(""), d$1 = (t2) => null === t2 || "object" != typeof t2 && "function" != typeof t2, c$1 = Array.isArray, v$1 = (t2) => c$1(t2) || "function" == typeof (null == t2 ? void 0 : t2[Symbol.iterator]), a$1 = "[ \n\f\r]", f$1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _$1 = /-->/g, m$1 = />/g, p$1 = RegExp(`>|${a$1}(?:([^\\s"'>=/]+)(${a$1}*=${a$1}*(?:[^
262
- \f\r"'\`<>=]|("|')|))|$)`, "g"), g$1 = /'/g, $$1 = /"/g, y$1 = /^(?:script|style|textarea|title)$/i, w = (t2) => (i3, ...s3) => ({ _$litType$: t2, strings: i3, values: s3 }), x = w(1), b$1 = w(2), T$1 = Symbol.for("lit-noChange"), A$1 = Symbol.for("lit-nothing"), E$1 = /* @__PURE__ */ new WeakMap(), C$1 = r$1.createTreeWalker(r$1, 129, null, false);
263
- function P$1(t2, i3) {
244
+ u$1[d$1] = true, u$1.elementProperties = /* @__PURE__ */ new Map(), u$1.elementStyles = [], u$1.shadowRootOptions = { mode: "open" }, null == o$3 || o$3({ ReactiveElement: u$1 }), (null !== (s$2 = e$4.reactiveElementVersions) && void 0 !== s$2 ? s$2 : e$4.reactiveElementVersions = []).push("1.6.3");
245
+ var t$2;
246
+ const i$2 = window, s$1 = i$2.trustedTypes, e$3 = s$1 ? s$1.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, o$2 = "$lit$", n$3 = `lit$${(Math.random() + "").slice(9)}$`, l$2 = "?" + n$3, h = `<${l$2}>`, r = document, u2 = () => r.createComment(""), d = (t2) => null === t2 || "object" != typeof t2 && "function" != typeof t2, c = Array.isArray, v = (t2) => c(t2) || "function" == typeof (null == t2 ? void 0 : t2[Symbol.iterator]), a = "[ \n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _ = /-->/g, m = />/g, p = RegExp(`>|${a}(?:([^\\s"'>=/]+)(${a}*=${a}*(?:[^
247
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), g = /'/g, $ = /"/g, y = /^(?:script|style|textarea|title)$/i, w = (t2) => (i2, ...s2) => ({ _$litType$: t2, strings: i2, values: s2 }), x = w(1), b = w(2), T = /* @__PURE__ */ Symbol.for("lit-noChange"), A = /* @__PURE__ */ Symbol.for("lit-nothing"), E = /* @__PURE__ */ new WeakMap(), C = r.createTreeWalker(r, 129, null, false);
248
+ function P(t2, i2) {
264
249
  if (!Array.isArray(t2) || !t2.hasOwnProperty("raw")) throw Error("invalid template strings array");
265
- return void 0 !== e$4 ? e$4.createHTML(i3) : i3;
250
+ return void 0 !== e$3 ? e$3.createHTML(i2) : i2;
266
251
  }
267
- const V$1 = (t2, i3) => {
268
- const s3 = t2.length - 1, e2 = [];
269
- let l2, r2 = 2 === i3 ? "<svg>" : "", u3 = f$1;
270
- for (let i4 = 0; i4 < s3; i4++) {
271
- const s4 = t2[i4];
252
+ const V = (t2, i2) => {
253
+ const s2 = t2.length - 1, e2 = [];
254
+ let l2, r2 = 2 === i2 ? "<svg>" : "", u3 = f;
255
+ for (let i3 = 0; i3 < s2; i3++) {
256
+ const s3 = t2[i3];
272
257
  let d2, c2, v2 = -1, a2 = 0;
273
- for (; a2 < s4.length && (u3.lastIndex = a2, c2 = u3.exec(s4), null !== c2); ) a2 = u3.lastIndex, u3 === f$1 ? "!--" === c2[1] ? u3 = _$1 : void 0 !== c2[1] ? u3 = m$1 : void 0 !== c2[2] ? (y$1.test(c2[2]) && (l2 = RegExp("</" + c2[2], "g")), u3 = p$1) : void 0 !== c2[3] && (u3 = p$1) : u3 === p$1 ? ">" === c2[0] ? (u3 = null != l2 ? l2 : f$1, v2 = -1) : void 0 === c2[1] ? v2 = -2 : (v2 = u3.lastIndex - c2[2].length, d2 = c2[1], u3 = void 0 === c2[3] ? p$1 : '"' === c2[3] ? $$1 : g$1) : u3 === $$1 || u3 === g$1 ? u3 = p$1 : u3 === _$1 || u3 === m$1 ? u3 = f$1 : (u3 = p$1, l2 = void 0);
274
- const w2 = u3 === p$1 && t2[i4 + 1].startsWith("/>") ? " " : "";
275
- r2 += u3 === f$1 ? s4 + h$1 : v2 >= 0 ? (e2.push(d2), s4.slice(0, v2) + o$3 + s4.slice(v2) + n$4 + w2) : s4 + n$4 + (-2 === v2 ? (e2.push(void 0), i4) : w2);
258
+ for (; a2 < s3.length && (u3.lastIndex = a2, c2 = u3.exec(s3), null !== c2); ) a2 = u3.lastIndex, u3 === f ? "!--" === c2[1] ? u3 = _ : void 0 !== c2[1] ? u3 = m : void 0 !== c2[2] ? (y.test(c2[2]) && (l2 = RegExp("</" + c2[2], "g")), u3 = p) : void 0 !== c2[3] && (u3 = p) : u3 === p ? ">" === c2[0] ? (u3 = null != l2 ? l2 : f, v2 = -1) : void 0 === c2[1] ? v2 = -2 : (v2 = u3.lastIndex - c2[2].length, d2 = c2[1], u3 = void 0 === c2[3] ? p : '"' === c2[3] ? $ : g) : u3 === $ || u3 === g ? u3 = p : u3 === _ || u3 === m ? u3 = f : (u3 = p, l2 = void 0);
259
+ const w2 = u3 === p && t2[i3 + 1].startsWith("/>") ? " " : "";
260
+ r2 += u3 === f ? s3 + h : v2 >= 0 ? (e2.push(d2), s3.slice(0, v2) + o$2 + s3.slice(v2) + n$3 + w2) : s3 + n$3 + (-2 === v2 ? (e2.push(void 0), i3) : w2);
276
261
  }
277
- return [P$1(t2, r2 + (t2[s3] || "<?>") + (2 === i3 ? "</svg>" : "")), e2];
262
+ return [P(t2, r2 + (t2[s2] || "<?>") + (2 === i2 ? "</svg>" : "")), e2];
278
263
  };
279
- let N$1 = class N {
280
- constructor({ strings: t2, _$litType$: i3 }, e2) {
264
+ class N {
265
+ constructor({ strings: t2, _$litType$: i2 }, e2) {
281
266
  let h2;
282
267
  this.parts = [];
283
268
  let r2 = 0, d2 = 0;
284
- const c2 = t2.length - 1, v2 = this.parts, [a2, f2] = V$1(t2, i3);
285
- if (this.el = N.createElement(a2, e2), C$1.currentNode = this.el.content, 2 === i3) {
286
- const t3 = this.el.content, i4 = t3.firstChild;
287
- i4.remove(), t3.append(...i4.childNodes);
269
+ const c2 = t2.length - 1, v2 = this.parts, [a2, f2] = V(t2, i2);
270
+ if (this.el = N.createElement(a2, e2), C.currentNode = this.el.content, 2 === i2) {
271
+ const t3 = this.el.content, i3 = t3.firstChild;
272
+ i3.remove(), t3.append(...i3.childNodes);
288
273
  }
289
- for (; null !== (h2 = C$1.nextNode()) && v2.length < c2; ) {
274
+ for (; null !== (h2 = C.nextNode()) && v2.length < c2; ) {
290
275
  if (1 === h2.nodeType) {
291
276
  if (h2.hasAttributes()) {
292
277
  const t3 = [];
293
- for (const i4 of h2.getAttributeNames()) if (i4.endsWith(o$3) || i4.startsWith(n$4)) {
294
- const s3 = f2[d2++];
295
- if (t3.push(i4), void 0 !== s3) {
296
- const t4 = h2.getAttribute(s3.toLowerCase() + o$3).split(n$4), i5 = /([.?@])?(.*)/.exec(s3);
297
- v2.push({ type: 1, index: r2, name: i5[2], strings: t4, ctor: "." === i5[1] ? H$1 : "?" === i5[1] ? L$1 : "@" === i5[1] ? z$1 : k$1 });
278
+ for (const i3 of h2.getAttributeNames()) if (i3.endsWith(o$2) || i3.startsWith(n$3)) {
279
+ const s2 = f2[d2++];
280
+ if (t3.push(i3), void 0 !== s2) {
281
+ const t4 = h2.getAttribute(s2.toLowerCase() + o$2).split(n$3), i4 = /([.?@])?(.*)/.exec(s2);
282
+ v2.push({ type: 1, index: r2, name: i4[2], strings: t4, ctor: "." === i4[1] ? H : "?" === i4[1] ? L : "@" === i4[1] ? z : k });
298
283
  } else v2.push({ type: 6, index: r2 });
299
284
  }
300
- for (const i4 of t3) h2.removeAttribute(i4);
285
+ for (const i3 of t3) h2.removeAttribute(i3);
301
286
  }
302
- if (y$1.test(h2.tagName)) {
303
- const t3 = h2.textContent.split(n$4), i4 = t3.length - 1;
304
- if (i4 > 0) {
305
- h2.textContent = s$2 ? s$2.emptyScript : "";
306
- for (let s3 = 0; s3 < i4; s3++) h2.append(t3[s3], u$1()), C$1.nextNode(), v2.push({ type: 2, index: ++r2 });
307
- h2.append(t3[i4], u$1());
287
+ if (y.test(h2.tagName)) {
288
+ const t3 = h2.textContent.split(n$3), i3 = t3.length - 1;
289
+ if (i3 > 0) {
290
+ h2.textContent = s$1 ? s$1.emptyScript : "";
291
+ for (let s2 = 0; s2 < i3; s2++) h2.append(t3[s2], u2()), C.nextNode(), v2.push({ type: 2, index: ++r2 });
292
+ h2.append(t3[i3], u2());
308
293
  }
309
294
  }
310
- } else if (8 === h2.nodeType) if (h2.data === l$3) v2.push({ type: 2, index: r2 });
295
+ } else if (8 === h2.nodeType) if (h2.data === l$2) v2.push({ type: 2, index: r2 });
311
296
  else {
312
297
  let t3 = -1;
313
- for (; -1 !== (t3 = h2.data.indexOf(n$4, t3 + 1)); ) v2.push({ type: 7, index: r2 }), t3 += n$4.length - 1;
298
+ for (; -1 !== (t3 = h2.data.indexOf(n$3, t3 + 1)); ) v2.push({ type: 7, index: r2 }), t3 += n$3.length - 1;
314
299
  }
315
300
  r2++;
316
301
  }
317
302
  }
318
- static createElement(t2, i3) {
319
- const s3 = r$1.createElement("template");
320
- return s3.innerHTML = t2, s3;
303
+ static createElement(t2, i2) {
304
+ const s2 = r.createElement("template");
305
+ return s2.innerHTML = t2, s2;
321
306
  }
322
- };
323
- function S$1(t2, i3, s3 = t2, e2) {
307
+ }
308
+ function S(t2, i2, s2 = t2, e2) {
324
309
  var o3, n2, l2, h2;
325
- if (i3 === T$1) return i3;
326
- let r2 = void 0 !== e2 ? null === (o3 = s3._$Co) || void 0 === o3 ? void 0 : o3[e2] : s3._$Cl;
327
- const u3 = d$1(i3) ? void 0 : i3._$litDirective$;
328
- return (null == r2 ? void 0 : r2.constructor) !== u3 && (null === (n2 = null == r2 ? void 0 : r2._$AO) || void 0 === n2 || n2.call(r2, false), void 0 === u3 ? r2 = void 0 : (r2 = new u3(t2), r2._$AT(t2, s3, e2)), void 0 !== e2 ? (null !== (l2 = (h2 = s3)._$Co) && void 0 !== l2 ? l2 : h2._$Co = [])[e2] = r2 : s3._$Cl = r2), void 0 !== r2 && (i3 = S$1(t2, r2._$AS(t2, i3.values), r2, e2)), i3;
310
+ if (i2 === T) return i2;
311
+ let r2 = void 0 !== e2 ? null === (o3 = s2._$Co) || void 0 === o3 ? void 0 : o3[e2] : s2._$Cl;
312
+ const u3 = d(i2) ? void 0 : i2._$litDirective$;
313
+ return (null == r2 ? void 0 : r2.constructor) !== u3 && (null === (n2 = null == r2 ? void 0 : r2._$AO) || void 0 === n2 || n2.call(r2, false), void 0 === u3 ? r2 = void 0 : (r2 = new u3(t2), r2._$AT(t2, s2, e2)), void 0 !== e2 ? (null !== (l2 = (h2 = s2)._$Co) && void 0 !== l2 ? l2 : h2._$Co = [])[e2] = r2 : s2._$Cl = r2), void 0 !== r2 && (i2 = S(t2, r2._$AS(t2, i2.values), r2, e2)), i2;
329
314
  }
330
- let M$1 = class M {
331
- constructor(t2, i3) {
332
- this._$AV = [], this._$AN = void 0, this._$AD = t2, this._$AM = i3;
315
+ class M {
316
+ constructor(t2, i2) {
317
+ this._$AV = [], this._$AN = void 0, this._$AD = t2, this._$AM = i2;
333
318
  }
334
319
  get parentNode() {
335
320
  return this._$AM.parentNode;
@@ -338,37 +323,37 @@ let M$1 = class M {
338
323
  return this._$AM._$AU;
339
324
  }
340
325
  u(t2) {
341
- var i3;
342
- const { el: { content: s3 }, parts: e2 } = this._$AD, o3 = (null !== (i3 = null == t2 ? void 0 : t2.creationScope) && void 0 !== i3 ? i3 : r$1).importNode(s3, true);
343
- C$1.currentNode = o3;
344
- let n2 = C$1.nextNode(), l2 = 0, h2 = 0, u3 = e2[0];
326
+ var i2;
327
+ const { el: { content: s2 }, parts: e2 } = this._$AD, o3 = (null !== (i2 = null == t2 ? void 0 : t2.creationScope) && void 0 !== i2 ? i2 : r).importNode(s2, true);
328
+ C.currentNode = o3;
329
+ let n2 = C.nextNode(), l2 = 0, h2 = 0, u3 = e2[0];
345
330
  for (; void 0 !== u3; ) {
346
331
  if (l2 === u3.index) {
347
- let i4;
348
- 2 === u3.type ? i4 = new R$1(n2, n2.nextSibling, this, t2) : 1 === u3.type ? i4 = new u3.ctor(n2, u3.name, u3.strings, this, t2) : 6 === u3.type && (i4 = new Z(n2, this, t2)), this._$AV.push(i4), u3 = e2[++h2];
332
+ let i3;
333
+ 2 === u3.type ? i3 = new R(n2, n2.nextSibling, this, t2) : 1 === u3.type ? i3 = new u3.ctor(n2, u3.name, u3.strings, this, t2) : 6 === u3.type && (i3 = new Z(n2, this, t2)), this._$AV.push(i3), u3 = e2[++h2];
349
334
  }
350
- l2 !== (null == u3 ? void 0 : u3.index) && (n2 = C$1.nextNode(), l2++);
335
+ l2 !== (null == u3 ? void 0 : u3.index) && (n2 = C.nextNode(), l2++);
351
336
  }
352
- return C$1.currentNode = r$1, o3;
337
+ return C.currentNode = r, o3;
353
338
  }
354
339
  v(t2) {
355
- let i3 = 0;
356
- for (const s3 of this._$AV) void 0 !== s3 && (void 0 !== s3.strings ? (s3._$AI(t2, s3, i3), i3 += s3.strings.length - 2) : s3._$AI(t2[i3])), i3++;
340
+ let i2 = 0;
341
+ for (const s2 of this._$AV) void 0 !== s2 && (void 0 !== s2.strings ? (s2._$AI(t2, s2, i2), i2 += s2.strings.length - 2) : s2._$AI(t2[i2])), i2++;
357
342
  }
358
- };
359
- let R$1 = class R {
360
- constructor(t2, i3, s3, e2) {
343
+ }
344
+ class R {
345
+ constructor(t2, i2, s2, e2) {
361
346
  var o3;
362
- this.type = 2, this._$AH = A$1, this._$AN = void 0, this._$AA = t2, this._$AB = i3, this._$AM = s3, this.options = e2, this._$Cp = null === (o3 = null == e2 ? void 0 : e2.isConnected) || void 0 === o3 || o3;
347
+ this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t2, this._$AB = i2, this._$AM = s2, this.options = e2, this._$Cp = null === (o3 = null == e2 ? void 0 : e2.isConnected) || void 0 === o3 || o3;
363
348
  }
364
349
  get _$AU() {
365
- var t2, i3;
366
- return null !== (i3 = null === (t2 = this._$AM) || void 0 === t2 ? void 0 : t2._$AU) && void 0 !== i3 ? i3 : this._$Cp;
350
+ var t2, i2;
351
+ return null !== (i2 = null === (t2 = this._$AM) || void 0 === t2 ? void 0 : t2._$AU) && void 0 !== i2 ? i2 : this._$Cp;
367
352
  }
368
353
  get parentNode() {
369
354
  let t2 = this._$AA.parentNode;
370
- const i3 = this._$AM;
371
- return void 0 !== i3 && 11 === (null == t2 ? void 0 : t2.nodeType) && (t2 = i3.parentNode), t2;
355
+ const i2 = this._$AM;
356
+ return void 0 !== i2 && 11 === (null == t2 ? void 0 : t2.nodeType) && (t2 = i2.parentNode), t2;
372
357
  }
373
358
  get startNode() {
374
359
  return this._$AA;
@@ -376,8 +361,8 @@ let R$1 = class R {
376
361
  get endNode() {
377
362
  return this._$AB;
378
363
  }
379
- _$AI(t2, i3 = this) {
380
- t2 = S$1(this, t2, i3), d$1(t2) ? t2 === A$1 || null == t2 || "" === t2 ? (this._$AH !== A$1 && this._$AR(), this._$AH = A$1) : t2 !== this._$AH && t2 !== T$1 && this._(t2) : void 0 !== t2._$litType$ ? this.g(t2) : void 0 !== t2.nodeType ? this.$(t2) : v$1(t2) ? this.T(t2) : this._(t2);
364
+ _$AI(t2, i2 = this) {
365
+ t2 = S(this, t2, i2), d(t2) ? t2 === A || null == t2 || "" === t2 ? (this._$AH !== A && this._$AR(), this._$AH = A) : t2 !== this._$AH && t2 !== T && this._(t2) : void 0 !== t2._$litType$ ? this.g(t2) : void 0 !== t2.nodeType ? this.$(t2) : v(t2) ? this.T(t2) : this._(t2);
381
366
  }
382
367
  k(t2) {
383
368
  return this._$AA.parentNode.insertBefore(t2, this._$AB);
@@ -386,43 +371,43 @@ let R$1 = class R {
386
371
  this._$AH !== t2 && (this._$AR(), this._$AH = this.k(t2));
387
372
  }
388
373
  _(t2) {
389
- this._$AH !== A$1 && d$1(this._$AH) ? this._$AA.nextSibling.data = t2 : this.$(r$1.createTextNode(t2)), this._$AH = t2;
374
+ this._$AH !== A && d(this._$AH) ? this._$AA.nextSibling.data = t2 : this.$(r.createTextNode(t2)), this._$AH = t2;
390
375
  }
391
376
  g(t2) {
392
- var i3;
393
- const { values: s3, _$litType$: e2 } = t2, o3 = "number" == typeof e2 ? this._$AC(t2) : (void 0 === e2.el && (e2.el = N$1.createElement(P$1(e2.h, e2.h[0]), this.options)), e2);
394
- if ((null === (i3 = this._$AH) || void 0 === i3 ? void 0 : i3._$AD) === o3) this._$AH.v(s3);
377
+ var i2;
378
+ const { values: s2, _$litType$: e2 } = t2, o3 = "number" == typeof e2 ? this._$AC(t2) : (void 0 === e2.el && (e2.el = N.createElement(P(e2.h, e2.h[0]), this.options)), e2);
379
+ if ((null === (i2 = this._$AH) || void 0 === i2 ? void 0 : i2._$AD) === o3) this._$AH.v(s2);
395
380
  else {
396
- const t3 = new M$1(o3, this), i4 = t3.u(this.options);
397
- t3.v(s3), this.$(i4), this._$AH = t3;
381
+ const t3 = new M(o3, this), i3 = t3.u(this.options);
382
+ t3.v(s2), this.$(i3), this._$AH = t3;
398
383
  }
399
384
  }
400
385
  _$AC(t2) {
401
- let i3 = E$1.get(t2.strings);
402
- return void 0 === i3 && E$1.set(t2.strings, i3 = new N$1(t2)), i3;
386
+ let i2 = E.get(t2.strings);
387
+ return void 0 === i2 && E.set(t2.strings, i2 = new N(t2)), i2;
403
388
  }
404
389
  T(t2) {
405
- c$1(this._$AH) || (this._$AH = [], this._$AR());
406
- const i3 = this._$AH;
407
- let s3, e2 = 0;
408
- for (const o3 of t2) e2 === i3.length ? i3.push(s3 = new R(this.k(u$1()), this.k(u$1()), this, this.options)) : s3 = i3[e2], s3._$AI(o3), e2++;
409
- e2 < i3.length && (this._$AR(s3 && s3._$AB.nextSibling, e2), i3.length = e2);
390
+ c(this._$AH) || (this._$AH = [], this._$AR());
391
+ const i2 = this._$AH;
392
+ let s2, e2 = 0;
393
+ for (const o3 of t2) e2 === i2.length ? i2.push(s2 = new R(this.k(u2()), this.k(u2()), this, this.options)) : s2 = i2[e2], s2._$AI(o3), e2++;
394
+ e2 < i2.length && (this._$AR(s2 && s2._$AB.nextSibling, e2), i2.length = e2);
410
395
  }
411
- _$AR(t2 = this._$AA.nextSibling, i3) {
412
- var s3;
413
- for (null === (s3 = this._$AP) || void 0 === s3 || s3.call(this, false, true, i3); t2 && t2 !== this._$AB; ) {
414
- const i4 = t2.nextSibling;
415
- t2.remove(), t2 = i4;
396
+ _$AR(t2 = this._$AA.nextSibling, i2) {
397
+ var s2;
398
+ for (null === (s2 = this._$AP) || void 0 === s2 || s2.call(this, false, true, i2); t2 && t2 !== this._$AB; ) {
399
+ const i3 = t2.nextSibling;
400
+ t2.remove(), t2 = i3;
416
401
  }
417
402
  }
418
403
  setConnected(t2) {
419
- var i3;
420
- void 0 === this._$AM && (this._$Cp = t2, null === (i3 = this._$AP) || void 0 === i3 || i3.call(this, t2));
404
+ var i2;
405
+ void 0 === this._$AM && (this._$Cp = t2, null === (i2 = this._$AP) || void 0 === i2 || i2.call(this, t2));
421
406
  }
422
- };
423
- let k$1 = class k {
424
- constructor(t2, i3, s3, e2, o3) {
425
- this.type = 1, this._$AH = A$1, this._$AN = void 0, this.element = t2, this.name = i3, this._$AM = e2, this.options = o3, s3.length > 2 || "" !== s3[0] || "" !== s3[1] ? (this._$AH = Array(s3.length - 1).fill(new String()), this.strings = s3) : this._$AH = A$1;
407
+ }
408
+ class k {
409
+ constructor(t2, i2, s2, e2, o3) {
410
+ this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t2, this.name = i2, this._$AM = e2, this.options = o3, s2.length > 2 || "" !== s2[0] || "" !== s2[1] ? (this._$AH = Array(s2.length - 1).fill(new String()), this.strings = s2) : this._$AH = A;
426
411
  }
427
412
  get tagName() {
428
413
  return this.element.tagName;
@@ -430,94 +415,89 @@ let k$1 = class k {
430
415
  get _$AU() {
431
416
  return this._$AM._$AU;
432
417
  }
433
- _$AI(t2, i3 = this, s3, e2) {
418
+ _$AI(t2, i2 = this, s2, e2) {
434
419
  const o3 = this.strings;
435
420
  let n2 = false;
436
- if (void 0 === o3) t2 = S$1(this, t2, i3, 0), n2 = !d$1(t2) || t2 !== this._$AH && t2 !== T$1, n2 && (this._$AH = t2);
421
+ if (void 0 === o3) t2 = S(this, t2, i2, 0), n2 = !d(t2) || t2 !== this._$AH && t2 !== T, n2 && (this._$AH = t2);
437
422
  else {
438
423
  const e3 = t2;
439
424
  let l2, h2;
440
- for (t2 = o3[0], l2 = 0; l2 < o3.length - 1; l2++) h2 = S$1(this, e3[s3 + l2], i3, l2), h2 === T$1 && (h2 = this._$AH[l2]), n2 || (n2 = !d$1(h2) || h2 !== this._$AH[l2]), h2 === A$1 ? t2 = A$1 : t2 !== A$1 && (t2 += (null != h2 ? h2 : "") + o3[l2 + 1]), this._$AH[l2] = h2;
425
+ for (t2 = o3[0], l2 = 0; l2 < o3.length - 1; l2++) h2 = S(this, e3[s2 + l2], i2, l2), h2 === T && (h2 = this._$AH[l2]), n2 || (n2 = !d(h2) || h2 !== this._$AH[l2]), h2 === A ? t2 = A : t2 !== A && (t2 += (null != h2 ? h2 : "") + o3[l2 + 1]), this._$AH[l2] = h2;
441
426
  }
442
427
  n2 && !e2 && this.j(t2);
443
428
  }
444
429
  j(t2) {
445
- t2 === A$1 ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t2 ? t2 : "");
430
+ t2 === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t2 ? t2 : "");
446
431
  }
447
- };
448
- let H$1 = class H extends k$1 {
432
+ }
433
+ class H extends k {
449
434
  constructor() {
450
435
  super(...arguments), this.type = 3;
451
436
  }
452
437
  j(t2) {
453
- this.element[this.name] = t2 === A$1 ? void 0 : t2;
438
+ this.element[this.name] = t2 === A ? void 0 : t2;
454
439
  }
455
- };
456
- const I$1 = s$2 ? s$2.emptyScript : "";
457
- let L$1 = class L extends k$1 {
440
+ }
441
+ const I = s$1 ? s$1.emptyScript : "";
442
+ class L extends k {
458
443
  constructor() {
459
444
  super(...arguments), this.type = 4;
460
445
  }
461
446
  j(t2) {
462
- t2 && t2 !== A$1 ? this.element.setAttribute(this.name, I$1) : this.element.removeAttribute(this.name);
447
+ t2 && t2 !== A ? this.element.setAttribute(this.name, I) : this.element.removeAttribute(this.name);
463
448
  }
464
- };
465
- let z$1 = class z extends k$1 {
466
- constructor(t2, i3, s3, e2, o3) {
467
- super(t2, i3, s3, e2, o3), this.type = 5;
468
- }
469
- _$AI(t2, i3 = this) {
470
- var s3;
471
- if ((t2 = null !== (s3 = S$1(this, t2, i3, 0)) && void 0 !== s3 ? s3 : A$1) === T$1) return;
472
- const e2 = this._$AH, o3 = t2 === A$1 && e2 !== A$1 || t2.capture !== e2.capture || t2.once !== e2.once || t2.passive !== e2.passive, n2 = t2 !== A$1 && (e2 === A$1 || o3);
449
+ }
450
+ class z extends k {
451
+ constructor(t2, i2, s2, e2, o3) {
452
+ super(t2, i2, s2, e2, o3), this.type = 5;
453
+ }
454
+ _$AI(t2, i2 = this) {
455
+ var s2;
456
+ if ((t2 = null !== (s2 = S(this, t2, i2, 0)) && void 0 !== s2 ? s2 : A) === T) return;
457
+ const e2 = this._$AH, o3 = t2 === A && e2 !== A || t2.capture !== e2.capture || t2.once !== e2.once || t2.passive !== e2.passive, n2 = t2 !== A && (e2 === A || o3);
473
458
  o3 && this.element.removeEventListener(this.name, this, e2), n2 && this.element.addEventListener(this.name, this, t2), this._$AH = t2;
474
459
  }
475
460
  handleEvent(t2) {
476
- var i3, s3;
477
- "function" == typeof this._$AH ? this._$AH.call(null !== (s3 = null === (i3 = this.options) || void 0 === i3 ? void 0 : i3.host) && void 0 !== s3 ? s3 : this.element, t2) : this._$AH.handleEvent(t2);
461
+ var i2, s2;
462
+ "function" == typeof this._$AH ? this._$AH.call(null !== (s2 = null === (i2 = this.options) || void 0 === i2 ? void 0 : i2.host) && void 0 !== s2 ? s2 : this.element, t2) : this._$AH.handleEvent(t2);
478
463
  }
479
- };
464
+ }
480
465
  class Z {
481
- constructor(t2, i3, s3) {
482
- this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i3, this.options = s3;
466
+ constructor(t2, i2, s2) {
467
+ this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i2, this.options = s2;
483
468
  }
484
469
  get _$AU() {
485
470
  return this._$AM._$AU;
486
471
  }
487
472
  _$AI(t2) {
488
- S$1(this, t2);
473
+ S(this, t2);
489
474
  }
490
475
  }
491
- const B = i$3.litHtmlPolyfillSupport;
492
- null == B || B(N$1, R$1), (null !== (t$3 = i$3.litHtmlVersions) && void 0 !== t$3 ? t$3 : i$3.litHtmlVersions = []).push("2.8.0");
493
- const D = (t2, i3, s3) => {
476
+ const B = i$2.litHtmlPolyfillSupport;
477
+ null == B || B(N, R), (null !== (t$2 = i$2.litHtmlVersions) && void 0 !== t$2 ? t$2 : i$2.litHtmlVersions = []).push("2.8.0");
478
+ const D = (t2, i2, s2) => {
494
479
  var e2, o3;
495
- const n2 = null !== (e2 = null == s3 ? void 0 : s3.renderBefore) && void 0 !== e2 ? e2 : i3;
480
+ const n2 = null !== (e2 = null == s2 ? void 0 : s2.renderBefore) && void 0 !== e2 ? e2 : i2;
496
481
  let l2 = n2._$litPart$;
497
482
  if (void 0 === l2) {
498
- const t3 = null !== (o3 = null == s3 ? void 0 : s3.renderBefore) && void 0 !== o3 ? o3 : null;
499
- n2._$litPart$ = l2 = new R$1(i3.insertBefore(u$1(), t3), t3, void 0, null != s3 ? s3 : {});
483
+ const t3 = null !== (o3 = null == s2 ? void 0 : s2.renderBefore) && void 0 !== o3 ? o3 : null;
484
+ n2._$litPart$ = l2 = new R(i2.insertBefore(u2(), t3), t3, void 0, null != s2 ? s2 : {});
500
485
  }
501
486
  return l2._$AI(t2), l2;
502
487
  };
503
- /**
504
- * @license
505
- * Copyright 2017 Google LLC
506
- * SPDX-License-Identifier: BSD-3-Clause
507
- */
508
- var l$2, o$2;
509
- let s$1 = class s extends u$2 {
488
+ var l$1, o$1;
489
+ class s extends u$1 {
510
490
  constructor() {
511
491
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
512
492
  }
513
493
  createRenderRoot() {
514
494
  var t2, e2;
515
- const i3 = super.createRenderRoot();
516
- return null !== (t2 = (e2 = this.renderOptions).renderBefore) && void 0 !== t2 || (e2.renderBefore = i3.firstChild), i3;
495
+ const i2 = super.createRenderRoot();
496
+ return null !== (t2 = (e2 = this.renderOptions).renderBefore) && void 0 !== t2 || (e2.renderBefore = i2.firstChild), i2;
517
497
  }
518
498
  update(t2) {
519
- const i3 = this.render();
520
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t2), this._$Do = D(i3, this.renderRoot, this.renderOptions);
499
+ const i2 = this.render();
500
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t2), this._$Do = D(i2, this.renderRoot, this.renderOptions);
521
501
  }
522
502
  connectedCallback() {
523
503
  var t2;
@@ -528,70 +508,45 @@ let s$1 = class s extends u$2 {
528
508
  super.disconnectedCallback(), null === (t2 = this._$Do) || void 0 === t2 || t2.setConnected(false);
529
509
  }
530
510
  render() {
531
- return T$1;
511
+ return T;
532
512
  }
533
- };
534
- s$1.finalized = true, s$1._$litElement$ = true, null === (l$2 = globalThis.litElementHydrateSupport) || void 0 === l$2 || l$2.call(globalThis, { LitElement: s$1 });
535
- const n$3 = globalThis.litElementPolyfillSupport;
536
- null == n$3 || n$3({ LitElement: s$1 });
537
- (null !== (o$2 = globalThis.litElementVersions) && void 0 !== o$2 ? o$2 : globalThis.litElementVersions = []).push("3.3.3");
538
- /**
539
- * @license
540
- * Copyright 2017 Google LLC
541
- * SPDX-License-Identifier: BSD-3-Clause
542
- */
543
- const e$3 = (e2) => (n2) => "function" == typeof n2 ? ((e3, n3) => (customElements.define(e3, n3), n3))(e2, n2) : ((e3, n3) => {
544
- const { kind: t2, elements: s3 } = n3;
545
- return { kind: t2, elements: s3, finisher(n4) {
513
+ }
514
+ s.finalized = true, s._$litElement$ = true, null === (l$1 = globalThis.litElementHydrateSupport) || void 0 === l$1 || l$1.call(globalThis, { LitElement: s });
515
+ const n$2 = globalThis.litElementPolyfillSupport;
516
+ null == n$2 || n$2({ LitElement: s });
517
+ (null !== (o$1 = globalThis.litElementVersions) && void 0 !== o$1 ? o$1 : globalThis.litElementVersions = []).push("3.3.3");
518
+ const e$2 = (e2) => (n2) => "function" == typeof n2 ? ((e3, n3) => (customElements.define(e3, n3), n3))(e2, n2) : ((e3, n3) => {
519
+ const { kind: t2, elements: s2 } = n3;
520
+ return { kind: t2, elements: s2, finisher(n4) {
546
521
  customElements.define(e3, n4);
547
522
  } };
548
523
  })(e2, n2);
549
- /**
550
- * @license
551
- * Copyright 2017 Google LLC
552
- * SPDX-License-Identifier: BSD-3-Clause
553
- */
554
- const i$2 = (i3, e2) => "method" === e2.kind && e2.descriptor && !("value" in e2.descriptor) ? { ...e2, finisher(n2) {
555
- n2.createProperty(e2.key, i3);
556
- } } : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: e2.key, initializer() {
524
+ const i$1 = (i2, e2) => "method" === e2.kind && e2.descriptor && !("value" in e2.descriptor) ? { ...e2, finisher(n2) {
525
+ n2.createProperty(e2.key, i2);
526
+ } } : { kind: "field", key: /* @__PURE__ */ Symbol(), placement: "own", descriptor: {}, originalKey: e2.key, initializer() {
557
527
  "function" == typeof e2.initializer && (this[e2.key] = e2.initializer.call(this));
558
528
  }, finisher(n2) {
559
- n2.createProperty(e2.key, i3);
560
- } }, e$2 = (i3, e2, n2) => {
561
- e2.constructor.createProperty(n2, i3);
529
+ n2.createProperty(e2.key, i2);
530
+ } }, e$1 = (i2, e2, n2) => {
531
+ e2.constructor.createProperty(n2, i2);
562
532
  };
563
- function n$2(n2) {
564
- return (t2, o3) => void 0 !== o3 ? e$2(n2, t2, o3) : i$2(n2, t2);
533
+ function n$1(n2) {
534
+ return (t2, o3) => void 0 !== o3 ? e$1(n2, t2, o3) : i$1(n2, t2);
565
535
  }
566
- /**
567
- * @license
568
- * Copyright 2017 Google LLC
569
- * SPDX-License-Identifier: BSD-3-Clause
570
- */
571
- function t$2(t2) {
572
- return n$2({ ...t2, state: true });
536
+ function t$1(t2) {
537
+ return n$1({ ...t2, state: true });
573
538
  }
574
- /**
575
- * @license
576
- * Copyright 2021 Google LLC
577
- * SPDX-License-Identifier: BSD-3-Clause
578
- */
579
- var n$1;
580
- null != (null === (n$1 = window.HTMLSlotElement) || void 0 === n$1 ? void 0 : n$1.prototype.assignedElements) ? (o3, n2) => o3.assignedElements(n2) : (o3, n2) => o3.assignedNodes(n2).filter(((o4) => o4.nodeType === Node.ELEMENT_NODE));
581
- /**
582
- * @license
583
- * Copyright 2017 Google LLC
584
- * SPDX-License-Identifier: BSD-3-Clause
585
- */
586
- const t$1 = { ATTRIBUTE: 1 }, e$1 = (t2) => (...e2) => ({ _$litDirective$: t2, values: e2 });
587
- let i$1 = class i {
539
+ var n;
540
+ null != (null === (n = window.HTMLSlotElement) || void 0 === n ? void 0 : n.prototype.assignedElements) ? (o3, n2) => o3.assignedElements(n2) : (o3, n2) => o3.assignedNodes(n2).filter(((o4) => o4.nodeType === Node.ELEMENT_NODE));
541
+ const t = { ATTRIBUTE: 1 }, e = (t2) => (...e2) => ({ _$litDirective$: t2, values: e2 });
542
+ class i {
588
543
  constructor(t2) {
589
544
  }
590
545
  get _$AU() {
591
546
  return this._$AM._$AU;
592
547
  }
593
- _$AT(t2, e2, i3) {
594
- this._$Ct = t2, this._$AM = e2, this._$Ci = i3;
548
+ _$AT(t2, e2, i2) {
549
+ this._$Ct = t2, this._$AM = e2, this._$Ci = i2;
595
550
  }
596
551
  _$AS(t2, e2) {
597
552
  return this.update(t2, e2);
@@ -599,258 +554,33 @@ let i$1 = class i {
599
554
  update(t2, e2) {
600
555
  return this.render(...e2);
601
556
  }
602
- };
603
- /**
604
- * @license
605
- * Copyright 2018 Google LLC
606
- * SPDX-License-Identifier: BSD-3-Clause
607
- */
608
- const o$1 = e$1(class extends i$1 {
609
- constructor(t2) {
610
- var i3;
611
- if (super(t2), t2.type !== t$1.ATTRIBUTE || "class" !== t2.name || (null === (i3 = t2.strings) || void 0 === i3 ? void 0 : i3.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
557
+ }
558
+ const o2 = e(class extends i {
559
+ constructor(t$12) {
560
+ var i2;
561
+ if (super(t$12), t$12.type !== t.ATTRIBUTE || "class" !== t$12.name || (null === (i2 = t$12.strings) || void 0 === i2 ? void 0 : i2.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
612
562
  }
613
563
  render(t2) {
614
- return " " + Object.keys(t2).filter(((i3) => t2[i3])).join(" ") + " ";
564
+ return " " + Object.keys(t2).filter(((i2) => t2[i2])).join(" ") + " ";
615
565
  }
616
- update(i3, [s3]) {
566
+ update(i2, [s2]) {
617
567
  var r2, o3;
618
568
  if (void 0 === this.it) {
619
- this.it = /* @__PURE__ */ new Set(), void 0 !== i3.strings && (this.nt = new Set(i3.strings.join(" ").split(/\s/).filter(((t2) => "" !== t2))));
620
- for (const t2 in s3) s3[t2] && !(null === (r2 = this.nt) || void 0 === r2 ? void 0 : r2.has(t2)) && this.it.add(t2);
621
- return this.render(s3);
569
+ this.it = /* @__PURE__ */ new Set(), void 0 !== i2.strings && (this.nt = new Set(i2.strings.join(" ").split(/\s/).filter(((t2) => "" !== t2))));
570
+ for (const t2 in s2) s2[t2] && !(null === (r2 = this.nt) || void 0 === r2 ? void 0 : r2.has(t2)) && this.it.add(t2);
571
+ return this.render(s2);
622
572
  }
623
- const e2 = i3.element.classList;
573
+ const e2 = i2.element.classList;
624
574
  this.it.forEach(((t2) => {
625
- t2 in s3 || (e2.remove(t2), this.it.delete(t2));
575
+ t2 in s2 || (e2.remove(t2), this.it.delete(t2));
626
576
  }));
627
- for (const t2 in s3) {
628
- const i4 = !!s3[t2];
629
- i4 === this.it.has(t2) || (null === (o3 = this.nt) || void 0 === o3 ? void 0 : o3.has(t2)) || (i4 ? (e2.add(t2), this.it.add(t2)) : (e2.remove(t2), this.it.delete(t2)));
577
+ for (const t2 in s2) {
578
+ const i3 = !!s2[t2];
579
+ i3 === this.it.has(t2) || (null === (o3 = this.nt) || void 0 === o3 ? void 0 : o3.has(t2)) || (i3 ? (e2.add(t2), this.it.add(t2)) : (e2.remove(t2), this.it.delete(t2)));
630
580
  }
631
- return T$1;
581
+ return T;
632
582
  }
633
583
  });
634
- /**
635
- * @license
636
- * Copyright 2017 Google LLC
637
- * SPDX-License-Identifier: BSD-3-Clause
638
- */
639
- const t = globalThis, i2 = t.trustedTypes, s2 = i2 ? i2.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, e = "$lit$", h = `lit$${Math.random().toFixed(9).slice(2)}$`, o2 = "?" + h, n = `<${o2}>`, r = document, l$1 = () => r.createComment(""), c = (t2) => null === t2 || "object" != typeof t2 && "function" != typeof t2, a = Array.isArray, u2 = (t2) => a(t2) || "function" == typeof t2?.[Symbol.iterator], d = "[ \n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, v = /-->/g, _ = />/g, m = RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^
640
- \f\r"'\`<>=]|("|')|))|$)`, "g"), p = /'/g, g = /"/g, $ = /^(?:script|style|textarea|title)$/i, y = (t2) => (i3, ...s3) => ({ _$litType$: t2, strings: i3, values: s3 }), b = y(2), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = /* @__PURE__ */ new WeakMap(), C = r.createTreeWalker(r, 129);
641
- function P(t2, i3) {
642
- if (!a(t2) || !t2.hasOwnProperty("raw")) throw Error("invalid template strings array");
643
- return void 0 !== s2 ? s2.createHTML(i3) : i3;
644
- }
645
- const V = (t2, i3) => {
646
- const s3 = t2.length - 1, o3 = [];
647
- let r2, l2 = 2 === i3 ? "<svg>" : 3 === i3 ? "<math>" : "", c2 = f;
648
- for (let i4 = 0; i4 < s3; i4++) {
649
- const s4 = t2[i4];
650
- let a2, u3, d2 = -1, y2 = 0;
651
- for (; y2 < s4.length && (c2.lastIndex = y2, u3 = c2.exec(s4), null !== u3); ) y2 = c2.lastIndex, c2 === f ? "!--" === u3[1] ? c2 = v : void 0 !== u3[1] ? c2 = _ : void 0 !== u3[2] ? ($.test(u3[2]) && (r2 = RegExp("</" + u3[2], "g")), c2 = m) : void 0 !== u3[3] && (c2 = m) : c2 === m ? ">" === u3[0] ? (c2 = r2 ?? f, d2 = -1) : void 0 === u3[1] ? d2 = -2 : (d2 = c2.lastIndex - u3[2].length, a2 = u3[1], c2 = void 0 === u3[3] ? m : '"' === u3[3] ? g : p) : c2 === g || c2 === p ? c2 = m : c2 === v || c2 === _ ? c2 = f : (c2 = m, r2 = void 0);
652
- const x2 = c2 === m && t2[i4 + 1].startsWith("/>") ? " " : "";
653
- l2 += c2 === f ? s4 + n : d2 >= 0 ? (o3.push(a2), s4.slice(0, d2) + e + s4.slice(d2) + h + x2) : s4 + h + (-2 === d2 ? i4 : x2);
654
- }
655
- return [P(t2, l2 + (t2[s3] || "<?>") + (2 === i3 ? "</svg>" : 3 === i3 ? "</math>" : "")), o3];
656
- };
657
- class N2 {
658
- constructor({ strings: t2, _$litType$: s3 }, n2) {
659
- let r2;
660
- this.parts = [];
661
- let c2 = 0, a2 = 0;
662
- const u3 = t2.length - 1, d2 = this.parts, [f2, v2] = V(t2, s3);
663
- if (this.el = N2.createElement(f2, n2), C.currentNode = this.el.content, 2 === s3 || 3 === s3) {
664
- const t3 = this.el.content.firstChild;
665
- t3.replaceWith(...t3.childNodes);
666
- }
667
- for (; null !== (r2 = C.nextNode()) && d2.length < u3; ) {
668
- if (1 === r2.nodeType) {
669
- if (r2.hasAttributes()) for (const t3 of r2.getAttributeNames()) if (t3.endsWith(e)) {
670
- const i3 = v2[a2++], s4 = r2.getAttribute(t3).split(h), e2 = /([.?@])?(.*)/.exec(i3);
671
- d2.push({ type: 1, index: c2, name: e2[2], strings: s4, ctor: "." === e2[1] ? H2 : "?" === e2[1] ? I : "@" === e2[1] ? L2 : k2 }), r2.removeAttribute(t3);
672
- } else t3.startsWith(h) && (d2.push({ type: 6, index: c2 }), r2.removeAttribute(t3));
673
- if ($.test(r2.tagName)) {
674
- const t3 = r2.textContent.split(h), s4 = t3.length - 1;
675
- if (s4 > 0) {
676
- r2.textContent = i2 ? i2.emptyScript : "";
677
- for (let i3 = 0; i3 < s4; i3++) r2.append(t3[i3], l$1()), C.nextNode(), d2.push({ type: 2, index: ++c2 });
678
- r2.append(t3[s4], l$1());
679
- }
680
- }
681
- } else if (8 === r2.nodeType) if (r2.data === o2) d2.push({ type: 2, index: c2 });
682
- else {
683
- let t3 = -1;
684
- for (; -1 !== (t3 = r2.data.indexOf(h, t3 + 1)); ) d2.push({ type: 7, index: c2 }), t3 += h.length - 1;
685
- }
686
- c2++;
687
- }
688
- }
689
- static createElement(t2, i3) {
690
- const s3 = r.createElement("template");
691
- return s3.innerHTML = t2, s3;
692
- }
693
- }
694
- function S(t2, i3, s3 = t2, e2) {
695
- if (i3 === T) return i3;
696
- let h2 = void 0 !== e2 ? s3._$Co?.[e2] : s3._$Cl;
697
- const o3 = c(i3) ? void 0 : i3._$litDirective$;
698
- return h2?.constructor !== o3 && (h2?._$AO?.(false), void 0 === o3 ? h2 = void 0 : (h2 = new o3(t2), h2._$AT(t2, s3, e2)), void 0 !== e2 ? (s3._$Co ?? (s3._$Co = []))[e2] = h2 : s3._$Cl = h2), void 0 !== h2 && (i3 = S(t2, h2._$AS(t2, i3.values), h2, e2)), i3;
699
- }
700
- class M2 {
701
- constructor(t2, i3) {
702
- this._$AV = [], this._$AN = void 0, this._$AD = t2, this._$AM = i3;
703
- }
704
- get parentNode() {
705
- return this._$AM.parentNode;
706
- }
707
- get _$AU() {
708
- return this._$AM._$AU;
709
- }
710
- u(t2) {
711
- const { el: { content: i3 }, parts: s3 } = this._$AD, e2 = (t2?.creationScope ?? r).importNode(i3, true);
712
- C.currentNode = e2;
713
- let h2 = C.nextNode(), o3 = 0, n2 = 0, l2 = s3[0];
714
- for (; void 0 !== l2; ) {
715
- if (o3 === l2.index) {
716
- let i4;
717
- 2 === l2.type ? i4 = new R2(h2, h2.nextSibling, this, t2) : 1 === l2.type ? i4 = new l2.ctor(h2, l2.name, l2.strings, this, t2) : 6 === l2.type && (i4 = new z2(h2, this, t2)), this._$AV.push(i4), l2 = s3[++n2];
718
- }
719
- o3 !== l2?.index && (h2 = C.nextNode(), o3++);
720
- }
721
- return C.currentNode = r, e2;
722
- }
723
- p(t2) {
724
- let i3 = 0;
725
- for (const s3 of this._$AV) void 0 !== s3 && (void 0 !== s3.strings ? (s3._$AI(t2, s3, i3), i3 += s3.strings.length - 2) : s3._$AI(t2[i3])), i3++;
726
- }
727
- }
728
- class R2 {
729
- get _$AU() {
730
- return this._$AM?._$AU ?? this._$Cv;
731
- }
732
- constructor(t2, i3, s3, e2) {
733
- this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t2, this._$AB = i3, this._$AM = s3, this.options = e2, this._$Cv = e2?.isConnected ?? true;
734
- }
735
- get parentNode() {
736
- let t2 = this._$AA.parentNode;
737
- const i3 = this._$AM;
738
- return void 0 !== i3 && 11 === t2?.nodeType && (t2 = i3.parentNode), t2;
739
- }
740
- get startNode() {
741
- return this._$AA;
742
- }
743
- get endNode() {
744
- return this._$AB;
745
- }
746
- _$AI(t2, i3 = this) {
747
- t2 = S(this, t2, i3), c(t2) ? t2 === E || null == t2 || "" === t2 ? (this._$AH !== E && this._$AR(), this._$AH = E) : t2 !== this._$AH && t2 !== T && this._(t2) : void 0 !== t2._$litType$ ? this.$(t2) : void 0 !== t2.nodeType ? this.T(t2) : u2(t2) ? this.k(t2) : this._(t2);
748
- }
749
- O(t2) {
750
- return this._$AA.parentNode.insertBefore(t2, this._$AB);
751
- }
752
- T(t2) {
753
- this._$AH !== t2 && (this._$AR(), this._$AH = this.O(t2));
754
- }
755
- _(t2) {
756
- this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t2 : this.T(r.createTextNode(t2)), this._$AH = t2;
757
- }
758
- $(t2) {
759
- const { values: i3, _$litType$: s3 } = t2, e2 = "number" == typeof s3 ? this._$AC(t2) : (void 0 === s3.el && (s3.el = N2.createElement(P(s3.h, s3.h[0]), this.options)), s3);
760
- if (this._$AH?._$AD === e2) this._$AH.p(i3);
761
- else {
762
- const t3 = new M2(e2, this), s4 = t3.u(this.options);
763
- t3.p(i3), this.T(s4), this._$AH = t3;
764
- }
765
- }
766
- _$AC(t2) {
767
- let i3 = A.get(t2.strings);
768
- return void 0 === i3 && A.set(t2.strings, i3 = new N2(t2)), i3;
769
- }
770
- k(t2) {
771
- a(this._$AH) || (this._$AH = [], this._$AR());
772
- const i3 = this._$AH;
773
- let s3, e2 = 0;
774
- for (const h2 of t2) e2 === i3.length ? i3.push(s3 = new R2(this.O(l$1()), this.O(l$1()), this, this.options)) : s3 = i3[e2], s3._$AI(h2), e2++;
775
- e2 < i3.length && (this._$AR(s3 && s3._$AB.nextSibling, e2), i3.length = e2);
776
- }
777
- _$AR(t2 = this._$AA.nextSibling, i3) {
778
- for (this._$AP?.(false, true, i3); t2 !== this._$AB; ) {
779
- const i4 = t2.nextSibling;
780
- t2.remove(), t2 = i4;
781
- }
782
- }
783
- setConnected(t2) {
784
- void 0 === this._$AM && (this._$Cv = t2, this._$AP?.(t2));
785
- }
786
- }
787
- class k2 {
788
- get tagName() {
789
- return this.element.tagName;
790
- }
791
- get _$AU() {
792
- return this._$AM._$AU;
793
- }
794
- constructor(t2, i3, s3, e2, h2) {
795
- this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t2, this.name = i3, this._$AM = e2, this.options = h2, s3.length > 2 || "" !== s3[0] || "" !== s3[1] ? (this._$AH = Array(s3.length - 1).fill(new String()), this.strings = s3) : this._$AH = E;
796
- }
797
- _$AI(t2, i3 = this, s3, e2) {
798
- const h2 = this.strings;
799
- let o3 = false;
800
- if (void 0 === h2) t2 = S(this, t2, i3, 0), o3 = !c(t2) || t2 !== this._$AH && t2 !== T, o3 && (this._$AH = t2);
801
- else {
802
- const e3 = t2;
803
- let n2, r2;
804
- for (t2 = h2[0], n2 = 0; n2 < h2.length - 1; n2++) r2 = S(this, e3[s3 + n2], i3, n2), r2 === T && (r2 = this._$AH[n2]), o3 || (o3 = !c(r2) || r2 !== this._$AH[n2]), r2 === E ? t2 = E : t2 !== E && (t2 += (r2 ?? "") + h2[n2 + 1]), this._$AH[n2] = r2;
805
- }
806
- o3 && !e2 && this.j(t2);
807
- }
808
- j(t2) {
809
- t2 === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t2 ?? "");
810
- }
811
- }
812
- class H2 extends k2 {
813
- constructor() {
814
- super(...arguments), this.type = 3;
815
- }
816
- j(t2) {
817
- this.element[this.name] = t2 === E ? void 0 : t2;
818
- }
819
- }
820
- class I extends k2 {
821
- constructor() {
822
- super(...arguments), this.type = 4;
823
- }
824
- j(t2) {
825
- this.element.toggleAttribute(this.name, !!t2 && t2 !== E);
826
- }
827
- }
828
- class L2 extends k2 {
829
- constructor(t2, i3, s3, e2, h2) {
830
- super(t2, i3, s3, e2, h2), this.type = 5;
831
- }
832
- _$AI(t2, i3 = this) {
833
- if ((t2 = S(this, t2, i3, 0) ?? E) === T) return;
834
- const s3 = this._$AH, e2 = t2 === E && s3 !== E || t2.capture !== s3.capture || t2.once !== s3.once || t2.passive !== s3.passive, h2 = t2 !== E && (s3 === E || e2);
835
- e2 && this.element.removeEventListener(this.name, this, s3), h2 && this.element.addEventListener(this.name, this, t2), this._$AH = t2;
836
- }
837
- handleEvent(t2) {
838
- "function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t2) : this._$AH.handleEvent(t2);
839
- }
840
- }
841
- class z2 {
842
- constructor(t2, i3, s3) {
843
- this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i3, this.options = s3;
844
- }
845
- get _$AU() {
846
- return this._$AM._$AU;
847
- }
848
- _$AI(t2) {
849
- S(this, t2);
850
- }
851
- }
852
- const j = t.litHtmlPolyfillSupport;
853
- j?.(N2, R2), (t.litHtmlVersions ?? (t.litHtmlVersions = [])).push("3.3.1");
854
584
  function addUniqueItem(array, item) {
855
585
  array.indexOf(item) === -1 && array.push(item);
856
586
  }
@@ -868,8 +598,8 @@ const wrap = (min, max, v2) => {
868
598
  const rangeSize = max - min;
869
599
  return ((v2 - min) % rangeSize + rangeSize) % rangeSize + min;
870
600
  };
871
- function getEasingForSegment(easing, i3) {
872
- return isEasingList(easing) ? easing[wrap(0, easing.length, i3)] : easing;
601
+ function getEasingForSegment(easing, i2) {
602
+ return isEasingList(easing) ? easing[wrap(0, easing.length, i2)] : easing;
873
603
  }
874
604
  const mix = (min, max, progress2) => -progress2 * min + progress2 * max + min;
875
605
  const noop = () => {
@@ -878,8 +608,8 @@ const noopReturn = (v2) => v2;
878
608
  const progress = (min, max, value) => max - min === 0 ? 1 : (value - min) / (max - min);
879
609
  function fillOffset(offset, remaining) {
880
610
  const min = offset[offset.length - 1];
881
- for (let i3 = 1; i3 <= remaining; i3++) {
882
- const offsetProgress = progress(0, remaining, i3);
611
+ for (let i2 = 1; i2 <= remaining; i2++) {
612
+ const offsetProgress = progress(0, remaining, i2);
883
613
  offset.push(mix(min, 1, offsetProgress));
884
614
  }
885
615
  }
@@ -893,15 +623,15 @@ function interpolate(output, input = defaultOffset(output.length), easing = noop
893
623
  const remainder = length - input.length;
894
624
  remainder > 0 && fillOffset(input, remainder);
895
625
  return (t2) => {
896
- let i3 = 0;
897
- for (; i3 < length - 2; i3++) {
898
- if (t2 < input[i3 + 1])
626
+ let i2 = 0;
627
+ for (; i2 < length - 2; i2++) {
628
+ if (t2 < input[i2 + 1])
899
629
  break;
900
630
  }
901
- let progressInRange = clamp(0, 1, progress(input[i3], input[i3 + 1], t2));
902
- const segmentEasing = getEasingForSegment(easing, i3);
631
+ let progressInRange = clamp(0, 1, progress(input[i2], input[i2 + 1], t2));
632
+ const segmentEasing = getEasingForSegment(easing, i2);
903
633
  progressInRange = segmentEasing(progressInRange);
904
- return mix(output[i3], output[i3 + 1], progressInRange);
634
+ return mix(output[i2], output[i2 + 1], progressInRange);
905
635
  };
906
636
  }
907
637
  const isCubicBezier = (easing) => Array.isArray(easing) && isNumber(easing[0]);
@@ -918,7 +648,7 @@ const subdivisionMaxIterations = 12;
918
648
  function binarySubdivide(x2, lowerBound, upperBound, mX1, mX2) {
919
649
  let currentX;
920
650
  let currentT;
921
- let i3 = 0;
651
+ let i2 = 0;
922
652
  do {
923
653
  currentT = lowerBound + (upperBound - lowerBound) / 2;
924
654
  currentX = calcBezier(currentT, mX1, mX2) - x2;
@@ -927,7 +657,7 @@ function binarySubdivide(x2, lowerBound, upperBound, mX1, mX2) {
927
657
  } else {
928
658
  lowerBound = currentT;
929
659
  }
930
- } while (Math.abs(currentX) > subdivisionPrecision && ++i3 < subdivisionMaxIterations);
660
+ } while (Math.abs(currentX) > subdivisionPrecision && ++i2 < subdivisionMaxIterations);
931
661
  return currentT;
932
662
  }
933
663
  function cubicBezier(mX1, mY1, mX2, mY2) {
@@ -1215,8 +945,8 @@ const resolution = 0.015;
1215
945
  const generateLinearEasingPoints = (easing, duration) => {
1216
946
  let points = "";
1217
947
  const numPoints = Math.round(duration / resolution);
1218
- for (let i3 = 0; i3 < numPoints; i3++) {
1219
- points += easing(progress(0, numPoints - 1, i3)) + ", ";
948
+ for (let i2 = 0; i2 < numPoints; i2++) {
949
+ points += easing(progress(0, numPoints - 1, i2)) + ", ";
1220
950
  }
1221
951
  return points.substring(0, points.length - 2);
1222
952
  };
@@ -1229,9 +959,9 @@ const convertEasing = (easing, duration) => {
1229
959
  };
1230
960
  const cubicBezierAsString = ([a2, b2, c2, d2]) => `cubic-bezier(${a2}, ${b2}, ${c2}, ${d2})`;
1231
961
  function hydrateKeyframes(keyframes, readInitialValue) {
1232
- for (let i3 = 0; i3 < keyframes.length; i3++) {
1233
- if (keyframes[i3] === null) {
1234
- keyframes[i3] = i3 ? keyframes[i3 - 1] : readInitialValue();
962
+ for (let i2 = 0; i2 < keyframes.length; i2++) {
963
+ if (keyframes[i2] === null) {
964
+ keyframes[i2] = i2 ? keyframes[i2 - 1] : readInitialValue();
1235
965
  }
1236
966
  }
1237
967
  return keyframes;
@@ -1452,8 +1182,8 @@ const controls = {
1452
1182
  value = time.ms(value);
1453
1183
  // Fall-through
1454
1184
  case "playbackRate":
1455
- for (let i3 = 0; i3 < target.animations.length; i3++) {
1456
- target.animations[i3][key] = value;
1185
+ for (let i2 = 0; i2 < target.animations.length; i2++) {
1186
+ target.animations[i2][key] = value;
1457
1187
  }
1458
1188
  return true;
1459
1189
  }
@@ -1461,19 +1191,19 @@ const controls = {
1461
1191
  }
1462
1192
  };
1463
1193
  const selectFinished = (animation) => animation.finished;
1464
- function resolveOption(option, i3, total) {
1465
- return isFunction(option) ? option(i3, total) : option;
1194
+ function resolveOption(option, i2, total) {
1195
+ return isFunction(option) ? option(i2, total) : option;
1466
1196
  }
1467
1197
  function createAnimate(AnimatePolyfill) {
1468
1198
  return function animate2(elements, keyframes, options = {}) {
1469
1199
  elements = resolveElements(elements);
1470
1200
  const numElements = elements.length;
1471
1201
  const animationFactories = [];
1472
- for (let i3 = 0; i3 < numElements; i3++) {
1473
- const element = elements[i3];
1202
+ for (let i2 = 0; i2 < numElements; i2++) {
1203
+ const element = elements[i2];
1474
1204
  for (const key in keyframes) {
1475
1205
  const valueOptions = getOptions(options, key);
1476
- valueOptions.delay = resolveOption(valueOptions.delay, i3, numElements);
1206
+ valueOptions.delay = resolveOption(valueOptions.delay, i2, numElements);
1477
1207
  const animation = animateStyle(element, key, keyframes[key], valueOptions, AnimatePolyfill);
1478
1208
  animationFactories.push(animation);
1479
1209
  }
@@ -1509,12 +1239,7 @@ function animate(target, keyframesOrOptions, options) {
1509
1239
  const factory = isFunction(target) ? animateProgress : animate$1;
1510
1240
  return factory(target, keyframesOrOptions, options);
1511
1241
  }
1512
- /**
1513
- * @license
1514
- * Copyright 2018 Google LLC
1515
- * SPDX-License-Identifier: BSD-3-Clause
1516
- */
1517
- const l = (l2) => null != l2 ? l2 : A$1;
1242
+ const l = (l2) => null != l2 ? l2 : A;
1518
1243
  var browser = {};
1519
1244
  var canPromise;
1520
1245
  var hasRequiredCanPromise;
@@ -1612,11 +1337,11 @@ var hasRequiredErrorCorrectionLevel;
1612
1337
  function requireErrorCorrectionLevel() {
1613
1338
  if (hasRequiredErrorCorrectionLevel) return errorCorrectionLevel;
1614
1339
  hasRequiredErrorCorrectionLevel = 1;
1615
- (function(exports2) {
1616
- exports2.L = { bit: 1 };
1617
- exports2.M = { bit: 0 };
1618
- exports2.Q = { bit: 3 };
1619
- exports2.H = { bit: 2 };
1340
+ (function(exports$1) {
1341
+ exports$1.L = { bit: 1 };
1342
+ exports$1.M = { bit: 0 };
1343
+ exports$1.Q = { bit: 3 };
1344
+ exports$1.H = { bit: 2 };
1620
1345
  function fromString(string) {
1621
1346
  if (typeof string !== "string") {
1622
1347
  throw new Error("Param is not a string");
@@ -1625,25 +1350,25 @@ function requireErrorCorrectionLevel() {
1625
1350
  switch (lcStr) {
1626
1351
  case "l":
1627
1352
  case "low":
1628
- return exports2.L;
1353
+ return exports$1.L;
1629
1354
  case "m":
1630
1355
  case "medium":
1631
- return exports2.M;
1356
+ return exports$1.M;
1632
1357
  case "q":
1633
1358
  case "quartile":
1634
- return exports2.Q;
1359
+ return exports$1.Q;
1635
1360
  case "h":
1636
1361
  case "high":
1637
- return exports2.H;
1362
+ return exports$1.H;
1638
1363
  default:
1639
1364
  throw new Error("Unknown EC Level: " + string);
1640
1365
  }
1641
1366
  }
1642
- exports2.isValid = function isValid(level) {
1367
+ exports$1.isValid = function isValid(level) {
1643
1368
  return level && typeof level.bit !== "undefined" && level.bit >= 0 && level.bit < 4;
1644
1369
  };
1645
- exports2.from = function from(value, defaultValue) {
1646
- if (exports2.isValid(value)) {
1370
+ exports$1.from = function from(value, defaultValue) {
1371
+ if (exports$1.isValid(value)) {
1647
1372
  return value;
1648
1373
  }
1649
1374
  try {
@@ -1670,8 +1395,8 @@ function requireBitBuffer() {
1670
1395
  return (this.buffer[bufIndex] >>> 7 - index2 % 8 & 1) === 1;
1671
1396
  },
1672
1397
  put: function(num, length) {
1673
- for (let i3 = 0; i3 < length; i3++) {
1674
- this.putBit((num >>> length - i3 - 1 & 1) === 1);
1398
+ for (let i2 = 0; i2 < length; i2++) {
1399
+ this.putBit((num >>> length - i2 - 1 & 1) === 1);
1675
1400
  }
1676
1401
  },
1677
1402
  getLengthInBits: function() {
@@ -1726,32 +1451,32 @@ var hasRequiredAlignmentPattern;
1726
1451
  function requireAlignmentPattern() {
1727
1452
  if (hasRequiredAlignmentPattern) return alignmentPattern;
1728
1453
  hasRequiredAlignmentPattern = 1;
1729
- (function(exports2) {
1454
+ (function(exports$1) {
1730
1455
  const getSymbolSize = requireUtils$1().getSymbolSize;
1731
- exports2.getRowColCoords = function getRowColCoords(version2) {
1456
+ exports$1.getRowColCoords = function getRowColCoords(version2) {
1732
1457
  if (version2 === 1) return [];
1733
1458
  const posCount = Math.floor(version2 / 7) + 2;
1734
1459
  const size = getSymbolSize(version2);
1735
1460
  const intervals = size === 145 ? 26 : Math.ceil((size - 13) / (2 * posCount - 2)) * 2;
1736
1461
  const positions = [size - 7];
1737
- for (let i3 = 1; i3 < posCount - 1; i3++) {
1738
- positions[i3] = positions[i3 - 1] - intervals;
1462
+ for (let i2 = 1; i2 < posCount - 1; i2++) {
1463
+ positions[i2] = positions[i2 - 1] - intervals;
1739
1464
  }
1740
1465
  positions.push(6);
1741
1466
  return positions.reverse();
1742
1467
  };
1743
- exports2.getPositions = function getPositions(version2) {
1468
+ exports$1.getPositions = function getPositions(version2) {
1744
1469
  const coords = [];
1745
- const pos = exports2.getRowColCoords(version2);
1470
+ const pos = exports$1.getRowColCoords(version2);
1746
1471
  const posLength = pos.length;
1747
- for (let i3 = 0; i3 < posLength; i3++) {
1748
- for (let j2 = 0; j2 < posLength; j2++) {
1749
- if (i3 === 0 && j2 === 0 || // top-left
1750
- i3 === 0 && j2 === posLength - 1 || // bottom-left
1751
- i3 === posLength - 1 && j2 === 0) {
1472
+ for (let i2 = 0; i2 < posLength; i2++) {
1473
+ for (let j = 0; j < posLength; j++) {
1474
+ if (i2 === 0 && j === 0 || // top-left
1475
+ i2 === 0 && j === posLength - 1 || // bottom-left
1476
+ i2 === posLength - 1 && j === 0) {
1752
1477
  continue;
1753
1478
  }
1754
- coords.push([pos[i3], pos[j2]]);
1479
+ coords.push([pos[i2], pos[j]]);
1755
1480
  }
1756
1481
  }
1757
1482
  return coords;
@@ -1784,8 +1509,8 @@ var hasRequiredMaskPattern;
1784
1509
  function requireMaskPattern() {
1785
1510
  if (hasRequiredMaskPattern) return maskPattern;
1786
1511
  hasRequiredMaskPattern = 1;
1787
- (function(exports2) {
1788
- exports2.Patterns = {
1512
+ (function(exports$1) {
1513
+ exports$1.Patterns = {
1789
1514
  PATTERN000: 0,
1790
1515
  PATTERN001: 1,
1791
1516
  PATTERN010: 2,
@@ -1801,13 +1526,13 @@ function requireMaskPattern() {
1801
1526
  N3: 40,
1802
1527
  N4: 10
1803
1528
  };
1804
- exports2.isValid = function isValid(mask) {
1529
+ exports$1.isValid = function isValid(mask) {
1805
1530
  return mask != null && mask !== "" && !isNaN(mask) && mask >= 0 && mask <= 7;
1806
1531
  };
1807
- exports2.from = function from(value) {
1808
- return exports2.isValid(value) ? parseInt(value, 10) : void 0;
1532
+ exports$1.from = function from(value) {
1533
+ return exports$1.isValid(value) ? parseInt(value, 10) : void 0;
1809
1534
  };
1810
- exports2.getPenaltyN1 = function getPenaltyN1(data2) {
1535
+ exports$1.getPenaltyN1 = function getPenaltyN1(data2) {
1811
1536
  const size = data2.size;
1812
1537
  let points = 0;
1813
1538
  let sameCountCol = 0;
@@ -1840,7 +1565,7 @@ function requireMaskPattern() {
1840
1565
  }
1841
1566
  return points;
1842
1567
  };
1843
- exports2.getPenaltyN2 = function getPenaltyN2(data2) {
1568
+ exports$1.getPenaltyN2 = function getPenaltyN2(data2) {
1844
1569
  const size = data2.size;
1845
1570
  let points = 0;
1846
1571
  for (let row = 0; row < size - 1; row++) {
@@ -1851,7 +1576,7 @@ function requireMaskPattern() {
1851
1576
  }
1852
1577
  return points * PenaltyScores.N2;
1853
1578
  };
1854
- exports2.getPenaltyN3 = function getPenaltyN3(data2) {
1579
+ exports$1.getPenaltyN3 = function getPenaltyN3(data2) {
1855
1580
  const size = data2.size;
1856
1581
  let points = 0;
1857
1582
  let bitsCol = 0;
@@ -1867,36 +1592,36 @@ function requireMaskPattern() {
1867
1592
  }
1868
1593
  return points * PenaltyScores.N3;
1869
1594
  };
1870
- exports2.getPenaltyN4 = function getPenaltyN4(data2) {
1595
+ exports$1.getPenaltyN4 = function getPenaltyN4(data2) {
1871
1596
  let darkCount = 0;
1872
1597
  const modulesCount = data2.data.length;
1873
- for (let i3 = 0; i3 < modulesCount; i3++) darkCount += data2.data[i3];
1874
- const k3 = Math.abs(Math.ceil(darkCount * 100 / modulesCount / 5) - 10);
1875
- return k3 * PenaltyScores.N4;
1598
+ for (let i2 = 0; i2 < modulesCount; i2++) darkCount += data2.data[i2];
1599
+ const k2 = Math.abs(Math.ceil(darkCount * 100 / modulesCount / 5) - 10);
1600
+ return k2 * PenaltyScores.N4;
1876
1601
  };
1877
- function getMaskAt(maskPattern2, i3, j2) {
1602
+ function getMaskAt(maskPattern2, i2, j) {
1878
1603
  switch (maskPattern2) {
1879
- case exports2.Patterns.PATTERN000:
1880
- return (i3 + j2) % 2 === 0;
1881
- case exports2.Patterns.PATTERN001:
1882
- return i3 % 2 === 0;
1883
- case exports2.Patterns.PATTERN010:
1884
- return j2 % 3 === 0;
1885
- case exports2.Patterns.PATTERN011:
1886
- return (i3 + j2) % 3 === 0;
1887
- case exports2.Patterns.PATTERN100:
1888
- return (Math.floor(i3 / 2) + Math.floor(j2 / 3)) % 2 === 0;
1889
- case exports2.Patterns.PATTERN101:
1890
- return i3 * j2 % 2 + i3 * j2 % 3 === 0;
1891
- case exports2.Patterns.PATTERN110:
1892
- return (i3 * j2 % 2 + i3 * j2 % 3) % 2 === 0;
1893
- case exports2.Patterns.PATTERN111:
1894
- return (i3 * j2 % 3 + (i3 + j2) % 2) % 2 === 0;
1604
+ case exports$1.Patterns.PATTERN000:
1605
+ return (i2 + j) % 2 === 0;
1606
+ case exports$1.Patterns.PATTERN001:
1607
+ return i2 % 2 === 0;
1608
+ case exports$1.Patterns.PATTERN010:
1609
+ return j % 3 === 0;
1610
+ case exports$1.Patterns.PATTERN011:
1611
+ return (i2 + j) % 3 === 0;
1612
+ case exports$1.Patterns.PATTERN100:
1613
+ return (Math.floor(i2 / 2) + Math.floor(j / 3)) % 2 === 0;
1614
+ case exports$1.Patterns.PATTERN101:
1615
+ return i2 * j % 2 + i2 * j % 3 === 0;
1616
+ case exports$1.Patterns.PATTERN110:
1617
+ return (i2 * j % 2 + i2 * j % 3) % 2 === 0;
1618
+ case exports$1.Patterns.PATTERN111:
1619
+ return (i2 * j % 3 + (i2 + j) % 2) % 2 === 0;
1895
1620
  default:
1896
1621
  throw new Error("bad maskPattern:" + maskPattern2);
1897
1622
  }
1898
1623
  }
1899
- exports2.applyMask = function applyMask(pattern, data2) {
1624
+ exports$1.applyMask = function applyMask(pattern, data2) {
1900
1625
  const size = data2.size;
1901
1626
  for (let col = 0; col < size; col++) {
1902
1627
  for (let row = 0; row < size; row++) {
@@ -1905,15 +1630,15 @@ function requireMaskPattern() {
1905
1630
  }
1906
1631
  }
1907
1632
  };
1908
- exports2.getBestMask = function getBestMask(data2, setupFormatFunc) {
1909
- const numPatterns = Object.keys(exports2.Patterns).length;
1633
+ exports$1.getBestMask = function getBestMask(data2, setupFormatFunc) {
1634
+ const numPatterns = Object.keys(exports$1.Patterns).length;
1910
1635
  let bestPattern = 0;
1911
1636
  let lowerPenalty = Infinity;
1912
1637
  for (let p2 = 0; p2 < numPatterns; p2++) {
1913
1638
  setupFormatFunc(p2);
1914
- exports2.applyMask(p2, data2);
1915
- const penalty = exports2.getPenaltyN1(data2) + exports2.getPenaltyN2(data2) + exports2.getPenaltyN3(data2) + exports2.getPenaltyN4(data2);
1916
- exports2.applyMask(p2, data2);
1639
+ exports$1.applyMask(p2, data2);
1640
+ const penalty = exports$1.getPenaltyN1(data2) + exports$1.getPenaltyN2(data2) + exports$1.getPenaltyN3(data2) + exports$1.getPenaltyN4(data2);
1641
+ exports$1.applyMask(p2, data2);
1917
1642
  if (penalty < lowerPenalty) {
1918
1643
  lowerPenalty = penalty;
1919
1644
  bestPattern = p2;
@@ -2296,16 +2021,16 @@ function requireGaloisField() {
2296
2021
  const LOG_TABLE = new Uint8Array(256);
2297
2022
  (function initTables() {
2298
2023
  let x2 = 1;
2299
- for (let i3 = 0; i3 < 255; i3++) {
2300
- EXP_TABLE[i3] = x2;
2301
- LOG_TABLE[x2] = i3;
2024
+ for (let i2 = 0; i2 < 255; i2++) {
2025
+ EXP_TABLE[i2] = x2;
2026
+ LOG_TABLE[x2] = i2;
2302
2027
  x2 <<= 1;
2303
2028
  if (x2 & 256) {
2304
2029
  x2 ^= 285;
2305
2030
  }
2306
2031
  }
2307
- for (let i3 = 255; i3 < 512; i3++) {
2308
- EXP_TABLE[i3] = EXP_TABLE[i3 - 255];
2032
+ for (let i2 = 255; i2 < 512; i2++) {
2033
+ EXP_TABLE[i2] = EXP_TABLE[i2 - 255];
2309
2034
  }
2310
2035
  })();
2311
2036
  galoisField.log = function log(n2) {
@@ -2325,23 +2050,23 @@ var hasRequiredPolynomial;
2325
2050
  function requirePolynomial() {
2326
2051
  if (hasRequiredPolynomial) return polynomial;
2327
2052
  hasRequiredPolynomial = 1;
2328
- (function(exports2) {
2053
+ (function(exports$1) {
2329
2054
  const GF = requireGaloisField();
2330
- exports2.mul = function mul(p1, p2) {
2055
+ exports$1.mul = function mul(p1, p2) {
2331
2056
  const coeff = new Uint8Array(p1.length + p2.length - 1);
2332
- for (let i3 = 0; i3 < p1.length; i3++) {
2333
- for (let j2 = 0; j2 < p2.length; j2++) {
2334
- coeff[i3 + j2] ^= GF.mul(p1[i3], p2[j2]);
2057
+ for (let i2 = 0; i2 < p1.length; i2++) {
2058
+ for (let j = 0; j < p2.length; j++) {
2059
+ coeff[i2 + j] ^= GF.mul(p1[i2], p2[j]);
2335
2060
  }
2336
2061
  }
2337
2062
  return coeff;
2338
2063
  };
2339
- exports2.mod = function mod(divident, divisor) {
2064
+ exports$1.mod = function mod(divident, divisor) {
2340
2065
  let result = new Uint8Array(divident);
2341
2066
  while (result.length - divisor.length >= 0) {
2342
2067
  const coeff = result[0];
2343
- for (let i3 = 0; i3 < divisor.length; i3++) {
2344
- result[i3] ^= GF.mul(divisor[i3], coeff);
2068
+ for (let i2 = 0; i2 < divisor.length; i2++) {
2069
+ result[i2] ^= GF.mul(divisor[i2], coeff);
2345
2070
  }
2346
2071
  let offset = 0;
2347
2072
  while (offset < result.length && result[offset] === 0) offset++;
@@ -2349,10 +2074,10 @@ function requirePolynomial() {
2349
2074
  }
2350
2075
  return result;
2351
2076
  };
2352
- exports2.generateECPolynomial = function generateECPolynomial(degree) {
2077
+ exports$1.generateECPolynomial = function generateECPolynomial(degree) {
2353
2078
  let poly = new Uint8Array([1]);
2354
- for (let i3 = 0; i3 < degree; i3++) {
2355
- poly = exports2.mul(poly, new Uint8Array([1, GF.exp(i3)]));
2079
+ for (let i2 = 0; i2 < degree; i2++) {
2080
+ poly = exports$1.mul(poly, new Uint8Array([1, GF.exp(i2)]));
2356
2081
  }
2357
2082
  return poly;
2358
2083
  };
@@ -2437,33 +2162,33 @@ var hasRequiredMode;
2437
2162
  function requireMode() {
2438
2163
  if (hasRequiredMode) return mode;
2439
2164
  hasRequiredMode = 1;
2440
- (function(exports2) {
2165
+ (function(exports$1) {
2441
2166
  const VersionCheck = requireVersionCheck();
2442
2167
  const Regex = requireRegex();
2443
- exports2.NUMERIC = {
2168
+ exports$1.NUMERIC = {
2444
2169
  id: "Numeric",
2445
2170
  bit: 1 << 0,
2446
2171
  ccBits: [10, 12, 14]
2447
2172
  };
2448
- exports2.ALPHANUMERIC = {
2173
+ exports$1.ALPHANUMERIC = {
2449
2174
  id: "Alphanumeric",
2450
2175
  bit: 1 << 1,
2451
2176
  ccBits: [9, 11, 13]
2452
2177
  };
2453
- exports2.BYTE = {
2178
+ exports$1.BYTE = {
2454
2179
  id: "Byte",
2455
2180
  bit: 1 << 2,
2456
2181
  ccBits: [8, 16, 16]
2457
2182
  };
2458
- exports2.KANJI = {
2183
+ exports$1.KANJI = {
2459
2184
  id: "Kanji",
2460
2185
  bit: 1 << 3,
2461
2186
  ccBits: [8, 10, 12]
2462
2187
  };
2463
- exports2.MIXED = {
2188
+ exports$1.MIXED = {
2464
2189
  bit: -1
2465
2190
  };
2466
- exports2.getCharCountIndicator = function getCharCountIndicator(mode2, version2) {
2191
+ exports$1.getCharCountIndicator = function getCharCountIndicator(mode2, version2) {
2467
2192
  if (!mode2.ccBits) throw new Error("Invalid mode: " + mode2);
2468
2193
  if (!VersionCheck.isValid(version2)) {
2469
2194
  throw new Error("Invalid version: " + version2);
@@ -2472,17 +2197,17 @@ function requireMode() {
2472
2197
  else if (version2 < 27) return mode2.ccBits[1];
2473
2198
  return mode2.ccBits[2];
2474
2199
  };
2475
- exports2.getBestModeForData = function getBestModeForData(dataStr) {
2476
- if (Regex.testNumeric(dataStr)) return exports2.NUMERIC;
2477
- else if (Regex.testAlphanumeric(dataStr)) return exports2.ALPHANUMERIC;
2478
- else if (Regex.testKanji(dataStr)) return exports2.KANJI;
2479
- else return exports2.BYTE;
2200
+ exports$1.getBestModeForData = function getBestModeForData(dataStr) {
2201
+ if (Regex.testNumeric(dataStr)) return exports$1.NUMERIC;
2202
+ else if (Regex.testAlphanumeric(dataStr)) return exports$1.ALPHANUMERIC;
2203
+ else if (Regex.testKanji(dataStr)) return exports$1.KANJI;
2204
+ else return exports$1.BYTE;
2480
2205
  };
2481
- exports2.toString = function toString(mode2) {
2206
+ exports$1.toString = function toString(mode2) {
2482
2207
  if (mode2 && mode2.id) return mode2.id;
2483
2208
  throw new Error("Invalid mode");
2484
2209
  };
2485
- exports2.isValid = function isValid(mode2) {
2210
+ exports$1.isValid = function isValid(mode2) {
2486
2211
  return mode2 && mode2.bit && mode2.ccBits;
2487
2212
  };
2488
2213
  function fromString(string) {
@@ -2492,19 +2217,19 @@ function requireMode() {
2492
2217
  const lcStr = string.toLowerCase();
2493
2218
  switch (lcStr) {
2494
2219
  case "numeric":
2495
- return exports2.NUMERIC;
2220
+ return exports$1.NUMERIC;
2496
2221
  case "alphanumeric":
2497
- return exports2.ALPHANUMERIC;
2222
+ return exports$1.ALPHANUMERIC;
2498
2223
  case "kanji":
2499
- return exports2.KANJI;
2224
+ return exports$1.KANJI;
2500
2225
  case "byte":
2501
- return exports2.BYTE;
2226
+ return exports$1.BYTE;
2502
2227
  default:
2503
2228
  throw new Error("Unknown mode: " + string);
2504
2229
  }
2505
2230
  }
2506
- exports2.from = function from(value, defaultValue) {
2507
- if (exports2.isValid(value)) {
2231
+ exports$1.from = function from(value, defaultValue) {
2232
+ if (exports$1.isValid(value)) {
2508
2233
  return value;
2509
2234
  }
2510
2235
  try {
@@ -2520,7 +2245,7 @@ var hasRequiredVersion;
2520
2245
  function requireVersion() {
2521
2246
  if (hasRequiredVersion) return version;
2522
2247
  hasRequiredVersion = 1;
2523
- (function(exports2) {
2248
+ (function(exports$1) {
2524
2249
  const Utils = requireUtils$1();
2525
2250
  const ECCode = requireErrorCorrectionCode();
2526
2251
  const ECLevel = requireErrorCorrectionLevel();
@@ -2530,7 +2255,7 @@ function requireVersion() {
2530
2255
  const G18_BCH = Utils.getBCHDigit(G18);
2531
2256
  function getBestVersionForDataLength(mode2, length, errorCorrectionLevel2) {
2532
2257
  for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {
2533
- if (length <= exports2.getCapacity(currentVersion, errorCorrectionLevel2, mode2)) {
2258
+ if (length <= exports$1.getCapacity(currentVersion, errorCorrectionLevel2, mode2)) {
2534
2259
  return currentVersion;
2535
2260
  }
2536
2261
  }
@@ -2550,19 +2275,19 @@ function requireVersion() {
2550
2275
  function getBestVersionForMixedData(segments2, errorCorrectionLevel2) {
2551
2276
  for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {
2552
2277
  const length = getTotalBitsFromDataArray(segments2, currentVersion);
2553
- if (length <= exports2.getCapacity(currentVersion, errorCorrectionLevel2, Mode.MIXED)) {
2278
+ if (length <= exports$1.getCapacity(currentVersion, errorCorrectionLevel2, Mode.MIXED)) {
2554
2279
  return currentVersion;
2555
2280
  }
2556
2281
  }
2557
2282
  return void 0;
2558
2283
  }
2559
- exports2.from = function from(value, defaultValue) {
2284
+ exports$1.from = function from(value, defaultValue) {
2560
2285
  if (VersionCheck.isValid(value)) {
2561
2286
  return parseInt(value, 10);
2562
2287
  }
2563
2288
  return defaultValue;
2564
2289
  };
2565
- exports2.getCapacity = function getCapacity(version2, errorCorrectionLevel2, mode2) {
2290
+ exports$1.getCapacity = function getCapacity(version2, errorCorrectionLevel2, mode2) {
2566
2291
  if (!VersionCheck.isValid(version2)) {
2567
2292
  throw new Error("Invalid QR Code version");
2568
2293
  }
@@ -2584,7 +2309,7 @@ function requireVersion() {
2584
2309
  return Math.floor(usableBits / 8);
2585
2310
  }
2586
2311
  };
2587
- exports2.getBestVersionForData = function getBestVersionForData(data2, errorCorrectionLevel2) {
2312
+ exports$1.getBestVersionForData = function getBestVersionForData(data2, errorCorrectionLevel2) {
2588
2313
  let seg;
2589
2314
  const ecl = ECLevel.from(errorCorrectionLevel2, ECLevel.M);
2590
2315
  if (Array.isArray(data2)) {
@@ -2600,7 +2325,7 @@ function requireVersion() {
2600
2325
  }
2601
2326
  return getBestVersionForDataLength(seg.mode, seg.getLength(), ecl);
2602
2327
  };
2603
- exports2.getEncodedBits = function getEncodedBits(version2) {
2328
+ exports$1.getEncodedBits = function getEncodedBits(version2) {
2604
2329
  if (!VersionCheck.isValid(version2) || version2 < 7) {
2605
2330
  throw new Error("Invalid QR Code version");
2606
2331
  }
@@ -2653,15 +2378,15 @@ function requireNumericData() {
2653
2378
  return NumericData.getBitsLength(this.data.length);
2654
2379
  };
2655
2380
  NumericData.prototype.write = function write(bitBuffer2) {
2656
- let i3, group, value;
2657
- for (i3 = 0; i3 + 3 <= this.data.length; i3 += 3) {
2658
- group = this.data.substr(i3, 3);
2381
+ let i2, group, value;
2382
+ for (i2 = 0; i2 + 3 <= this.data.length; i2 += 3) {
2383
+ group = this.data.substr(i2, 3);
2659
2384
  value = parseInt(group, 10);
2660
2385
  bitBuffer2.put(value, 10);
2661
2386
  }
2662
- const remainingNum = this.data.length - i3;
2387
+ const remainingNum = this.data.length - i2;
2663
2388
  if (remainingNum > 0) {
2664
- group = this.data.substr(i3);
2389
+ group = this.data.substr(i2);
2665
2390
  value = parseInt(group, 10);
2666
2391
  bitBuffer2.put(value, remainingNum * 3 + 1);
2667
2392
  }
@@ -2736,14 +2461,14 @@ function requireAlphanumericData() {
2736
2461
  return AlphanumericData.getBitsLength(this.data.length);
2737
2462
  };
2738
2463
  AlphanumericData.prototype.write = function write(bitBuffer2) {
2739
- let i3;
2740
- for (i3 = 0; i3 + 2 <= this.data.length; i3 += 2) {
2741
- let value = ALPHA_NUM_CHARS.indexOf(this.data[i3]) * 45;
2742
- value += ALPHA_NUM_CHARS.indexOf(this.data[i3 + 1]);
2464
+ let i2;
2465
+ for (i2 = 0; i2 + 2 <= this.data.length; i2 += 2) {
2466
+ let value = ALPHA_NUM_CHARS.indexOf(this.data[i2]) * 45;
2467
+ value += ALPHA_NUM_CHARS.indexOf(this.data[i2 + 1]);
2743
2468
  bitBuffer2.put(value, 11);
2744
2469
  }
2745
2470
  if (this.data.length % 2) {
2746
- bitBuffer2.put(ALPHA_NUM_CHARS.indexOf(this.data[i3]), 6);
2471
+ bitBuffer2.put(ALPHA_NUM_CHARS.indexOf(this.data[i2]), 6);
2747
2472
  }
2748
2473
  };
2749
2474
  alphanumericData = AlphanumericData;
@@ -2818,8 +2543,8 @@ function requireByteData() {
2818
2543
  return ByteData.getBitsLength(this.data.length);
2819
2544
  };
2820
2545
  ByteData.prototype.write = function(bitBuffer2) {
2821
- for (let i3 = 0, l2 = this.data.length; i3 < l2; i3++) {
2822
- bitBuffer2.put(this.data[i3], 8);
2546
+ for (let i2 = 0, l2 = this.data.length; i2 < l2; i2++) {
2547
+ bitBuffer2.put(this.data[i2], 8);
2823
2548
  }
2824
2549
  };
2825
2550
  byteData = ByteData;
@@ -2846,16 +2571,16 @@ function requireKanjiData() {
2846
2571
  return KanjiData.getBitsLength(this.data.length);
2847
2572
  };
2848
2573
  KanjiData.prototype.write = function(bitBuffer2) {
2849
- let i3;
2850
- for (i3 = 0; i3 < this.data.length; i3++) {
2851
- let value = Utils.toSJIS(this.data[i3]);
2574
+ let i2;
2575
+ for (i2 = 0; i2 < this.data.length; i2++) {
2576
+ let value = Utils.toSJIS(this.data[i2]);
2852
2577
  if (value >= 33088 && value <= 40956) {
2853
2578
  value -= 33088;
2854
2579
  } else if (value >= 57408 && value <= 60351) {
2855
2580
  value -= 49472;
2856
2581
  } else {
2857
2582
  throw new Error(
2858
- "Invalid SJIS character: " + this.data[i3] + "\nMake sure your charset is UTF-8"
2583
+ "Invalid SJIS character: " + this.data[i2] + "\nMake sure your charset is UTF-8"
2859
2584
  );
2860
2585
  }
2861
2586
  value = (value >>> 8 & 255) * 192 + (value & 255);
@@ -2872,12 +2597,12 @@ function requireDijkstra() {
2872
2597
  hasRequiredDijkstra = 1;
2873
2598
  (function(module2) {
2874
2599
  var dijkstra2 = {
2875
- single_source_shortest_paths: function(graph, s3, d2) {
2600
+ single_source_shortest_paths: function(graph, s2, d2) {
2876
2601
  var predecessors = {};
2877
2602
  var costs = {};
2878
- costs[s3] = 0;
2603
+ costs[s2] = 0;
2879
2604
  var open = dijkstra2.PriorityQueue.make();
2880
- open.push(s3, 0);
2605
+ open.push(s2, 0);
2881
2606
  var closest, u3, v2, cost_of_s_to_u, adjacent_nodes, cost_of_e, cost_of_s_to_u_plus_cost_of_e, cost_of_s_to_v, first_visit;
2882
2607
  while (!open.empty()) {
2883
2608
  closest = open.pop();
@@ -2899,7 +2624,7 @@ function requireDijkstra() {
2899
2624
  }
2900
2625
  }
2901
2626
  if (typeof d2 !== "undefined" && typeof costs[d2] === "undefined") {
2902
- var msg = ["Could not find a path from ", s3, " to ", d2, "."].join("");
2627
+ var msg = ["Could not find a path from ", s2, " to ", d2, "."].join("");
2903
2628
  throw new Error(msg);
2904
2629
  }
2905
2630
  return predecessors;
@@ -2915,8 +2640,8 @@ function requireDijkstra() {
2915
2640
  nodes.reverse();
2916
2641
  return nodes;
2917
2642
  },
2918
- find_path: function(graph, s3, d2) {
2919
- var predecessors = dijkstra2.single_source_shortest_paths(graph, s3, d2);
2643
+ find_path: function(graph, s2, d2) {
2644
+ var predecessors = dijkstra2.single_source_shortest_paths(graph, s2, d2);
2920
2645
  return dijkstra2.extract_shortest_path_from_predecessor_list(
2921
2646
  predecessors,
2922
2647
  d2
@@ -2971,7 +2696,7 @@ var hasRequiredSegments;
2971
2696
  function requireSegments() {
2972
2697
  if (hasRequiredSegments) return segments;
2973
2698
  hasRequiredSegments = 1;
2974
- (function(exports2) {
2699
+ (function(exports$1) {
2975
2700
  const Mode = requireMode();
2976
2701
  const NumericData = requireNumericData();
2977
2702
  const AlphanumericData = requireAlphanumericData();
@@ -3009,8 +2734,8 @@ function requireSegments() {
3009
2734
  kanjiSegs = [];
3010
2735
  }
3011
2736
  const segs = numSegs.concat(alphaNumSegs, byteSegs, kanjiSegs);
3012
- return segs.sort(function(s1, s22) {
3013
- return s1.index - s22.index;
2737
+ return segs.sort(function(s1, s2) {
2738
+ return s1.index - s2.index;
3014
2739
  }).map(function(obj) {
3015
2740
  return {
3016
2741
  data: obj.data,
@@ -3044,8 +2769,8 @@ function requireSegments() {
3044
2769
  }
3045
2770
  function buildNodes(segs) {
3046
2771
  const nodes = [];
3047
- for (let i3 = 0; i3 < segs.length; i3++) {
3048
- const seg = segs[i3];
2772
+ for (let i2 = 0; i2 < segs.length; i2++) {
2773
+ const seg = segs[i2];
3049
2774
  switch (seg.mode) {
3050
2775
  case Mode.NUMERIC:
3051
2776
  nodes.push([
@@ -3078,12 +2803,12 @@ function requireSegments() {
3078
2803
  const table = {};
3079
2804
  const graph = { start: {} };
3080
2805
  let prevNodeIds = ["start"];
3081
- for (let i3 = 0; i3 < nodes.length; i3++) {
3082
- const nodeGroup = nodes[i3];
2806
+ for (let i2 = 0; i2 < nodes.length; i2++) {
2807
+ const nodeGroup = nodes[i2];
3083
2808
  const currentNodeIds = [];
3084
- for (let j2 = 0; j2 < nodeGroup.length; j2++) {
3085
- const node = nodeGroup[j2];
3086
- const key = "" + i3 + j2;
2809
+ for (let j = 0; j < nodeGroup.length; j++) {
2810
+ const node = nodeGroup[j];
2811
+ const key = "" + i2 + j;
3087
2812
  currentNodeIds.push(key);
3088
2813
  table[key] = { node, lastCount: 0 };
3089
2814
  graph[key] = {};
@@ -3126,7 +2851,7 @@ function requireSegments() {
3126
2851
  return new ByteData(data2);
3127
2852
  }
3128
2853
  }
3129
- exports2.fromArray = function fromArray(array) {
2854
+ exports$1.fromArray = function fromArray(array) {
3130
2855
  return array.reduce(function(acc, seg) {
3131
2856
  if (typeof seg === "string") {
3132
2857
  acc.push(buildSingleSegment(seg, null));
@@ -3136,19 +2861,19 @@ function requireSegments() {
3136
2861
  return acc;
3137
2862
  }, []);
3138
2863
  };
3139
- exports2.fromString = function fromString(data2, version2) {
2864
+ exports$1.fromString = function fromString(data2, version2) {
3140
2865
  const segs = getSegmentsFromString(data2, Utils.isKanjiModeEnabled());
3141
2866
  const nodes = buildNodes(segs);
3142
2867
  const graph = buildGraph(nodes, version2);
3143
2868
  const path = dijkstra2.find_path(graph.map, "start", "end");
3144
2869
  const optimizedSegs = [];
3145
- for (let i3 = 1; i3 < path.length - 1; i3++) {
3146
- optimizedSegs.push(graph.table[path[i3]].node);
2870
+ for (let i2 = 1; i2 < path.length - 1; i2++) {
2871
+ optimizedSegs.push(graph.table[path[i2]].node);
3147
2872
  }
3148
- return exports2.fromArray(mergeSegments(optimizedSegs));
2873
+ return exports$1.fromArray(mergeSegments(optimizedSegs));
3149
2874
  };
3150
- exports2.rawSplit = function rawSplit(data2) {
3151
- return exports2.fromArray(
2875
+ exports$1.rawSplit = function rawSplit(data2) {
2876
+ return exports$1.fromArray(
3152
2877
  getSegmentsFromString(data2, Utils.isKanjiModeEnabled())
3153
2878
  );
3154
2879
  };
@@ -3175,9 +2900,9 @@ function requireQrcode() {
3175
2900
  function setupFinderPattern(matrix, version2) {
3176
2901
  const size = matrix.size;
3177
2902
  const pos = FinderPattern.getPositions(version2);
3178
- for (let i3 = 0; i3 < pos.length; i3++) {
3179
- const row = pos[i3][0];
3180
- const col = pos[i3][1];
2903
+ for (let i2 = 0; i2 < pos.length; i2++) {
2904
+ const row = pos[i2][0];
2905
+ const col = pos[i2][1];
3181
2906
  for (let r2 = -1; r2 <= 7; r2++) {
3182
2907
  if (row + r2 <= -1 || size <= row + r2) continue;
3183
2908
  for (let c2 = -1; c2 <= 7; c2++) {
@@ -3201,9 +2926,9 @@ function requireQrcode() {
3201
2926
  }
3202
2927
  function setupAlignmentPattern(matrix, version2) {
3203
2928
  const pos = AlignmentPattern.getPositions(version2);
3204
- for (let i3 = 0; i3 < pos.length; i3++) {
3205
- const row = pos[i3][0];
3206
- const col = pos[i3][1];
2929
+ for (let i2 = 0; i2 < pos.length; i2++) {
2930
+ const row = pos[i2][0];
2931
+ const col = pos[i2][1];
3207
2932
  for (let r2 = -2; r2 <= 2; r2++) {
3208
2933
  for (let c2 = -2; c2 <= 2; c2++) {
3209
2934
  if (r2 === -2 || r2 === 2 || c2 === -2 || c2 === 2 || r2 === 0 && c2 === 0) {
@@ -3219,10 +2944,10 @@ function requireQrcode() {
3219
2944
  const size = matrix.size;
3220
2945
  const bits = Version.getEncodedBits(version2);
3221
2946
  let row, col, mod;
3222
- for (let i3 = 0; i3 < 18; i3++) {
3223
- row = Math.floor(i3 / 3);
3224
- col = i3 % 3 + size - 8 - 3;
3225
- mod = (bits >> i3 & 1) === 1;
2947
+ for (let i2 = 0; i2 < 18; i2++) {
2948
+ row = Math.floor(i2 / 3);
2949
+ col = i2 % 3 + size - 8 - 3;
2950
+ mod = (bits >> i2 & 1) === 1;
3226
2951
  matrix.set(row, col, mod, true);
3227
2952
  matrix.set(col, row, mod, true);
3228
2953
  }
@@ -3230,22 +2955,22 @@ function requireQrcode() {
3230
2955
  function setupFormatInfo(matrix, errorCorrectionLevel2, maskPattern2) {
3231
2956
  const size = matrix.size;
3232
2957
  const bits = FormatInfo.getEncodedBits(errorCorrectionLevel2, maskPattern2);
3233
- let i3, mod;
3234
- for (i3 = 0; i3 < 15; i3++) {
3235
- mod = (bits >> i3 & 1) === 1;
3236
- if (i3 < 6) {
3237
- matrix.set(i3, 8, mod, true);
3238
- } else if (i3 < 8) {
3239
- matrix.set(i3 + 1, 8, mod, true);
2958
+ let i2, mod;
2959
+ for (i2 = 0; i2 < 15; i2++) {
2960
+ mod = (bits >> i2 & 1) === 1;
2961
+ if (i2 < 6) {
2962
+ matrix.set(i2, 8, mod, true);
2963
+ } else if (i2 < 8) {
2964
+ matrix.set(i2 + 1, 8, mod, true);
3240
2965
  } else {
3241
- matrix.set(size - 15 + i3, 8, mod, true);
2966
+ matrix.set(size - 15 + i2, 8, mod, true);
3242
2967
  }
3243
- if (i3 < 8) {
3244
- matrix.set(8, size - i3 - 1, mod, true);
3245
- } else if (i3 < 9) {
3246
- matrix.set(8, 15 - i3 - 1 + 1, mod, true);
2968
+ if (i2 < 8) {
2969
+ matrix.set(8, size - i2 - 1, mod, true);
2970
+ } else if (i2 < 9) {
2971
+ matrix.set(8, 15 - i2 - 1 + 1, mod, true);
3247
2972
  } else {
3248
- matrix.set(8, 15 - i3 - 1, mod, true);
2973
+ matrix.set(8, 15 - i2 - 1, mod, true);
3249
2974
  }
3250
2975
  }
3251
2976
  matrix.set(size - 8, 8, 1, true);
@@ -3299,8 +3024,8 @@ function requireQrcode() {
3299
3024
  buffer.putBit(0);
3300
3025
  }
3301
3026
  const remainingByte = (dataTotalCodewordsBits - buffer.getLengthInBits()) / 8;
3302
- for (let i3 = 0; i3 < remainingByte; i3++) {
3303
- buffer.put(i3 % 2 ? 17 : 236, 8);
3027
+ for (let i2 = 0; i2 < remainingByte; i2++) {
3028
+ buffer.put(i2 % 2 ? 17 : 236, 8);
3304
3029
  }
3305
3030
  return createCodewords(buffer, version2, errorCorrectionLevel2);
3306
3031
  }
@@ -3330,17 +3055,17 @@ function requireQrcode() {
3330
3055
  }
3331
3056
  const data2 = new Uint8Array(totalCodewords);
3332
3057
  let index2 = 0;
3333
- let i3, r2;
3334
- for (i3 = 0; i3 < maxDataSize; i3++) {
3058
+ let i2, r2;
3059
+ for (i2 = 0; i2 < maxDataSize; i2++) {
3335
3060
  for (r2 = 0; r2 < ecTotalBlocks; r2++) {
3336
- if (i3 < dcData[r2].length) {
3337
- data2[index2++] = dcData[r2][i3];
3061
+ if (i2 < dcData[r2].length) {
3062
+ data2[index2++] = dcData[r2][i2];
3338
3063
  }
3339
3064
  }
3340
3065
  }
3341
- for (i3 = 0; i3 < ecCount; i3++) {
3066
+ for (i2 = 0; i2 < ecCount; i2++) {
3342
3067
  for (r2 = 0; r2 < ecTotalBlocks; r2++) {
3343
- data2[index2++] = ecData[r2][i3];
3068
+ data2[index2++] = ecData[r2][i2];
3344
3069
  }
3345
3070
  }
3346
3071
  return data2;
@@ -3422,7 +3147,7 @@ var hasRequiredUtils;
3422
3147
  function requireUtils() {
3423
3148
  if (hasRequiredUtils) return utils;
3424
3149
  hasRequiredUtils = 1;
3425
- (function(exports2) {
3150
+ (function(exports$1) {
3426
3151
  function hex2rgba(hex) {
3427
3152
  if (typeof hex === "number") {
3428
3153
  hex = hex.toString();
@@ -3449,7 +3174,7 @@ function requireUtils() {
3449
3174
  hex: "#" + hexCode.slice(0, 6).join("")
3450
3175
  };
3451
3176
  }
3452
- exports2.getOptions = function getOptions2(options) {
3177
+ exports$1.getOptions = function getOptions2(options) {
3453
3178
  if (!options) options = {};
3454
3179
  if (!options.color) options.color = {};
3455
3180
  const margin = typeof options.margin === "undefined" || options.margin === null || options.margin < 0 ? 4 : options.margin;
@@ -3467,27 +3192,27 @@ function requireUtils() {
3467
3192
  rendererOpts: options.rendererOpts || {}
3468
3193
  };
3469
3194
  };
3470
- exports2.getScale = function getScale(qrSize, opts) {
3195
+ exports$1.getScale = function getScale(qrSize, opts) {
3471
3196
  return opts.width && opts.width >= qrSize + opts.margin * 2 ? opts.width / (qrSize + opts.margin * 2) : opts.scale;
3472
3197
  };
3473
- exports2.getImageWidth = function getImageWidth(qrSize, opts) {
3474
- const scale = exports2.getScale(qrSize, opts);
3198
+ exports$1.getImageWidth = function getImageWidth(qrSize, opts) {
3199
+ const scale = exports$1.getScale(qrSize, opts);
3475
3200
  return Math.floor((qrSize + opts.margin * 2) * scale);
3476
3201
  };
3477
- exports2.qrToImageData = function qrToImageData(imgData, qr, opts) {
3202
+ exports$1.qrToImageData = function qrToImageData(imgData, qr, opts) {
3478
3203
  const size = qr.modules.size;
3479
3204
  const data2 = qr.modules.data;
3480
- const scale = exports2.getScale(size, opts);
3205
+ const scale = exports$1.getScale(size, opts);
3481
3206
  const symbolSize = Math.floor((size + opts.margin * 2) * scale);
3482
3207
  const scaledMargin = opts.margin * scale;
3483
3208
  const palette = [opts.color.light, opts.color.dark];
3484
- for (let i3 = 0; i3 < symbolSize; i3++) {
3485
- for (let j2 = 0; j2 < symbolSize; j2++) {
3486
- let posDst = (i3 * symbolSize + j2) * 4;
3209
+ for (let i2 = 0; i2 < symbolSize; i2++) {
3210
+ for (let j = 0; j < symbolSize; j++) {
3211
+ let posDst = (i2 * symbolSize + j) * 4;
3487
3212
  let pxColor = opts.color.light;
3488
- if (i3 >= scaledMargin && j2 >= scaledMargin && i3 < symbolSize - scaledMargin && j2 < symbolSize - scaledMargin) {
3489
- const iSrc = Math.floor((i3 - scaledMargin) / scale);
3490
- const jSrc = Math.floor((j2 - scaledMargin) / scale);
3213
+ if (i2 >= scaledMargin && j >= scaledMargin && i2 < symbolSize - scaledMargin && j < symbolSize - scaledMargin) {
3214
+ const iSrc = Math.floor((i2 - scaledMargin) / scale);
3215
+ const jSrc = Math.floor((j - scaledMargin) / scale);
3491
3216
  pxColor = palette[data2[iSrc * size + jSrc] ? 1 : 0];
3492
3217
  }
3493
3218
  imgData[posDst++] = pxColor.r;
@@ -3504,7 +3229,7 @@ var hasRequiredCanvas;
3504
3229
  function requireCanvas() {
3505
3230
  if (hasRequiredCanvas) return canvas;
3506
3231
  hasRequiredCanvas = 1;
3507
- (function(exports2) {
3232
+ (function(exports$1) {
3508
3233
  const Utils = requireUtils();
3509
3234
  function clearCanvas(ctx, canvas2, size) {
3510
3235
  ctx.clearRect(0, 0, canvas2.width, canvas2.height);
@@ -3521,7 +3246,7 @@ function requireCanvas() {
3521
3246
  throw new Error("You need to specify a canvas element");
3522
3247
  }
3523
3248
  }
3524
- exports2.render = function render(qrData, canvas2, options) {
3249
+ exports$1.render = function render(qrData, canvas2, options) {
3525
3250
  let opts = options;
3526
3251
  let canvasEl = canvas2;
3527
3252
  if (typeof opts === "undefined" && (!canvas2 || !canvas2.getContext)) {
@@ -3540,14 +3265,14 @@ function requireCanvas() {
3540
3265
  ctx.putImageData(image, 0, 0);
3541
3266
  return canvasEl;
3542
3267
  };
3543
- exports2.renderToDataURL = function renderToDataURL(qrData, canvas2, options) {
3268
+ exports$1.renderToDataURL = function renderToDataURL(qrData, canvas2, options) {
3544
3269
  let opts = options;
3545
3270
  if (typeof opts === "undefined" && (!canvas2 || !canvas2.getContext)) {
3546
3271
  opts = canvas2;
3547
3272
  canvas2 = void 0;
3548
3273
  }
3549
3274
  if (!opts) opts = {};
3550
- const canvasEl = exports2.render(qrData, canvas2, opts);
3275
+ const canvasEl = exports$1.render(qrData, canvas2, opts);
3551
3276
  const type = opts.type || "image/png";
3552
3277
  const rendererOpts = opts.rendererOpts || {};
3553
3278
  return canvasEl.toDataURL(type, rendererOpts.quality);
@@ -3576,18 +3301,18 @@ function requireSvgTag() {
3576
3301
  let moveBy = 0;
3577
3302
  let newRow = false;
3578
3303
  let lineLength = 0;
3579
- for (let i3 = 0; i3 < data2.length; i3++) {
3580
- const col = Math.floor(i3 % size);
3581
- const row = Math.floor(i3 / size);
3304
+ for (let i2 = 0; i2 < data2.length; i2++) {
3305
+ const col = Math.floor(i2 % size);
3306
+ const row = Math.floor(i2 / size);
3582
3307
  if (!col && !newRow) newRow = true;
3583
- if (data2[i3]) {
3308
+ if (data2[i2]) {
3584
3309
  lineLength++;
3585
- if (!(i3 > 0 && col > 0 && data2[i3 - 1])) {
3310
+ if (!(i2 > 0 && col > 0 && data2[i2 - 1])) {
3586
3311
  path += newRow ? svgCmd("M", col + margin, 0.5 + row + margin) : svgCmd("m", moveBy, 0);
3587
3312
  moveBy = 0;
3588
3313
  newRow = false;
3589
3314
  }
3590
- if (!(col + 1 < size && data2[i3 + 1])) {
3315
+ if (!(col + 1 < size && data2[i2 + 1])) {
3591
3316
  path += svgCmd("h", lineLength);
3592
3317
  lineLength = 0;
3593
3318
  }
@@ -3795,21 +3520,21 @@ const ThemeUtil = {
3795
3520
  Object.entries(variables).forEach(([key, val]) => root.style.setProperty(key, val));
3796
3521
  }
3797
3522
  },
3798
- globalCss: i$4`*,::after,::before{margin:0;padding:0;box-sizing:border-box;font-style:normal;text-rendering:optimizeSpeed;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;backface-visibility:hidden}button{cursor:pointer;display:flex;justify-content:center;align-items:center;position:relative;border:none;background-color:transparent;transition:all .2s ease}@media (hover:hover) and (pointer:fine){button:active{transition:all .1s ease;transform:scale(.93)}}button::after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;transition:background-color,.2s ease}button:disabled{cursor:not-allowed}button svg,button wcm-text{position:relative;z-index:1}input{border:none;outline:0;appearance:none}img{display:block}::selection{color:var(--wcm-accent-fill-color);background:var(--wcm-accent-color)}`
3523
+ globalCss: i$3`*,::after,::before{margin:0;padding:0;box-sizing:border-box;font-style:normal;text-rendering:optimizeSpeed;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;backface-visibility:hidden}button{cursor:pointer;display:flex;justify-content:center;align-items:center;position:relative;border:none;background-color:transparent;transition:all .2s ease}@media (hover:hover) and (pointer:fine){button:active{transition:all .1s ease;transform:scale(.93)}}button::after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;transition:background-color,.2s ease}button:disabled{cursor:not-allowed}button svg,button wcm-text{position:relative;z-index:1}input{border:none;outline:0;appearance:none}img{display:block}::selection{color:var(--wcm-accent-fill-color);background:var(--wcm-accent-color)}`
3799
3524
  };
3800
- const styles$t = i$4`button{border-radius:var(--wcm-secondary-button-border-radius);height:28px;padding:0 10px;background-color:var(--wcm-accent-color)}button path{fill:var(--wcm-accent-fill-color)}button::after{border-radius:inherit;border:1px solid var(--wcm-color-overlay)}button:disabled::after{background-color:transparent}.wcm-icon-left svg{margin-right:5px}.wcm-icon-right svg{margin-left:5px}button:active::after{background-color:var(--wcm-color-overlay)}.wcm-ghost,.wcm-ghost:active::after,.wcm-outline{background-color:transparent}.wcm-ghost:active{opacity:.5}@media(hover:hover){button:hover::after{background-color:var(--wcm-color-overlay)}.wcm-ghost:hover::after{background-color:transparent}.wcm-ghost:hover{opacity:.5}}button:disabled{background-color:var(--wcm-color-bg-3);pointer-events:none}.wcm-ghost::after{border-color:transparent}.wcm-ghost path{fill:var(--wcm-color-fg-2)}.wcm-outline path{fill:var(--wcm-accent-color)}.wcm-outline:disabled{background-color:transparent;opacity:.5}`;
3525
+ const styles$t = i$3`button{border-radius:var(--wcm-secondary-button-border-radius);height:28px;padding:0 10px;background-color:var(--wcm-accent-color)}button path{fill:var(--wcm-accent-fill-color)}button::after{border-radius:inherit;border:1px solid var(--wcm-color-overlay)}button:disabled::after{background-color:transparent}.wcm-icon-left svg{margin-right:5px}.wcm-icon-right svg{margin-left:5px}button:active::after{background-color:var(--wcm-color-overlay)}.wcm-ghost,.wcm-ghost:active::after,.wcm-outline{background-color:transparent}.wcm-ghost:active{opacity:.5}@media(hover:hover){button:hover::after{background-color:var(--wcm-color-overlay)}.wcm-ghost:hover::after{background-color:transparent}.wcm-ghost:hover{opacity:.5}}button:disabled{background-color:var(--wcm-color-bg-3);pointer-events:none}.wcm-ghost::after{border-color:transparent}.wcm-ghost path{fill:var(--wcm-color-fg-2)}.wcm-outline path{fill:var(--wcm-accent-color)}.wcm-outline:disabled{background-color:transparent;opacity:.5}`;
3801
3526
  var __defProp$x = Object.defineProperty;
3802
3527
  var __getOwnPropDesc$x = Object.getOwnPropertyDescriptor;
3803
3528
  var __decorateClass$x = (decorators, target, key, kind) => {
3804
3529
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$x(target, key) : target;
3805
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3806
- if (decorator = decorators[i3])
3530
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3531
+ if (decorator = decorators[i2])
3807
3532
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3808
3533
  if (kind && result)
3809
3534
  __defProp$x(target, key, result);
3810
3535
  return result;
3811
3536
  };
3812
- let WcmButton = class extends s$1 {
3537
+ let WcmButton = class extends s {
3813
3538
  constructor() {
3814
3539
  super(...arguments);
3815
3540
  this.disabled = false;
@@ -3833,41 +3558,41 @@ let WcmButton = class extends s$1 {
3833
3558
  if (this.variant === "outline") {
3834
3559
  textColor = "accent";
3835
3560
  }
3836
- return x`<button class="${o$1(classes)}" ?disabled="${this.disabled}" @click="${this.onClick}">${this.iconLeft}<wcm-text variant="small-regular" color="${textColor}"><slot></slot></wcm-text>${this.iconRight}</button>`;
3561
+ return x`<button class="${o2(classes)}" ?disabled="${this.disabled}" @click="${this.onClick}">${this.iconLeft}<wcm-text variant="small-regular" color="${textColor}"><slot></slot></wcm-text>${this.iconRight}</button>`;
3837
3562
  }
3838
3563
  };
3839
3564
  WcmButton.styles = [ThemeUtil.globalCss, styles$t];
3840
3565
  __decorateClass$x([
3841
- n$2({ type: Boolean })
3566
+ n$1({ type: Boolean })
3842
3567
  ], WcmButton.prototype, "disabled", 2);
3843
3568
  __decorateClass$x([
3844
- n$2()
3569
+ n$1()
3845
3570
  ], WcmButton.prototype, "iconLeft", 2);
3846
3571
  __decorateClass$x([
3847
- n$2()
3572
+ n$1()
3848
3573
  ], WcmButton.prototype, "iconRight", 2);
3849
3574
  __decorateClass$x([
3850
- n$2()
3575
+ n$1()
3851
3576
  ], WcmButton.prototype, "onClick", 2);
3852
3577
  __decorateClass$x([
3853
- n$2()
3578
+ n$1()
3854
3579
  ], WcmButton.prototype, "variant", 2);
3855
3580
  WcmButton = __decorateClass$x([
3856
- e$3("wcm-button")
3581
+ e$2("wcm-button")
3857
3582
  ], WcmButton);
3858
- const styles$s = i$4`:host{display:inline-block}button{padding:0 15px 1px;height:40px;border-radius:var(--wcm-button-border-radius);color:var(--wcm-accent-fill-color);background-color:var(--wcm-accent-color)}button::after{content:'';top:0;bottom:0;left:0;right:0;position:absolute;background-color:transparent;border-radius:inherit;transition:background-color .2s ease;border:1px solid var(--wcm-color-overlay)}button:active::after{background-color:var(--wcm-color-overlay)}button:disabled{padding-bottom:0;background-color:var(--wcm-color-bg-3);color:var(--wcm-color-fg-3)}.wcm-secondary{color:var(--wcm-accent-color);background-color:transparent}.wcm-secondary::after{display:none}@media(hover:hover){button:hover::after{background-color:var(--wcm-color-overlay)}}`;
3583
+ const styles$s = i$3`:host{display:inline-block}button{padding:0 15px 1px;height:40px;border-radius:var(--wcm-button-border-radius);color:var(--wcm-accent-fill-color);background-color:var(--wcm-accent-color)}button::after{content:'';top:0;bottom:0;left:0;right:0;position:absolute;background-color:transparent;border-radius:inherit;transition:background-color .2s ease;border:1px solid var(--wcm-color-overlay)}button:active::after{background-color:var(--wcm-color-overlay)}button:disabled{padding-bottom:0;background-color:var(--wcm-color-bg-3);color:var(--wcm-color-fg-3)}.wcm-secondary{color:var(--wcm-accent-color);background-color:transparent}.wcm-secondary::after{display:none}@media(hover:hover){button:hover::after{background-color:var(--wcm-color-overlay)}}`;
3859
3584
  var __defProp$w = Object.defineProperty;
3860
3585
  var __getOwnPropDesc$w = Object.getOwnPropertyDescriptor;
3861
3586
  var __decorateClass$w = (decorators, target, key, kind) => {
3862
3587
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$w(target, key) : target;
3863
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3864
- if (decorator = decorators[i3])
3588
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3589
+ if (decorator = decorators[i2])
3865
3590
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3866
3591
  if (kind && result)
3867
3592
  __defProp$w(target, key, result);
3868
3593
  return result;
3869
3594
  };
3870
- let WcmButtonBig = class extends s$1 {
3595
+ let WcmButtonBig = class extends s {
3871
3596
  constructor() {
3872
3597
  super(...arguments);
3873
3598
  this.disabled = false;
@@ -3878,29 +3603,29 @@ let WcmButtonBig = class extends s$1 {
3878
3603
  const classes = {
3879
3604
  "wcm-secondary": this.variant === "secondary"
3880
3605
  };
3881
- return x`<button ?disabled="${this.disabled}" class="${o$1(classes)}"><slot></slot></button>`;
3606
+ return x`<button ?disabled="${this.disabled}" class="${o2(classes)}"><slot></slot></button>`;
3882
3607
  }
3883
3608
  };
3884
3609
  WcmButtonBig.styles = [ThemeUtil.globalCss, styles$s];
3885
3610
  __decorateClass$w([
3886
- n$2({ type: Boolean })
3611
+ n$1({ type: Boolean })
3887
3612
  ], WcmButtonBig.prototype, "disabled", 2);
3888
3613
  __decorateClass$w([
3889
- n$2()
3614
+ n$1()
3890
3615
  ], WcmButtonBig.prototype, "variant", 2);
3891
3616
  WcmButtonBig = __decorateClass$w([
3892
- e$3("wcm-button-big")
3617
+ e$2("wcm-button-big")
3893
3618
  ], WcmButtonBig);
3894
- const styles$r = i$4`:host{background-color:var(--wcm-color-bg-2);border-top:1px solid var(--wcm-color-bg-3)}div{padding:10px 20px;display:inherit;flex-direction:inherit;align-items:inherit;width:inherit;justify-content:inherit}`;
3619
+ const styles$r = i$3`:host{background-color:var(--wcm-color-bg-2);border-top:1px solid var(--wcm-color-bg-3)}div{padding:10px 20px;display:inherit;flex-direction:inherit;align-items:inherit;width:inherit;justify-content:inherit}`;
3895
3620
  var __getOwnPropDesc$v = Object.getOwnPropertyDescriptor;
3896
3621
  var __decorateClass$v = (decorators, target, key, kind) => {
3897
3622
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$v(target, key) : target;
3898
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3899
- if (decorator = decorators[i3])
3623
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3624
+ if (decorator = decorators[i2])
3900
3625
  result = decorator(result) || result;
3901
3626
  return result;
3902
3627
  };
3903
- let WcmInfoFooter = class extends s$1 {
3628
+ let WcmInfoFooter = class extends s {
3904
3629
  // -- render ------------------------------------------------------- //
3905
3630
  render() {
3906
3631
  return x`<div><slot></slot></div>`;
@@ -3908,7 +3633,7 @@ let WcmInfoFooter = class extends s$1 {
3908
3633
  };
3909
3634
  WcmInfoFooter.styles = [ThemeUtil.globalCss, styles$r];
3910
3635
  WcmInfoFooter = __decorateClass$v([
3911
- e$3("wcm-info-footer")
3636
+ e$2("wcm-info-footer")
3912
3637
  ], WcmInfoFooter);
3913
3638
  const SvgUtil = {
3914
3639
  CROSS_ICON: b`<svg width="12" height="12" viewBox="0 0 12 12"><path d="M9.94 11A.75.75 0 1 0 11 9.94L7.414 6.353a.5.5 0 0 1 0-.708L11 2.061A.75.75 0 1 0 9.94 1L6.353 4.586a.5.5 0 0 1-.708 0L2.061 1A.75.75 0 0 0 1 2.06l3.586 3.586a.5.5 0 0 1 0 .708L1 9.939A.75.75 0 1 0 2.06 11l3.586-3.586a.5.5 0 0 1 .708 0L9.939 11Z" fill="#fff"/></svg>`,
@@ -3930,16 +3655,16 @@ const SvgUtil = {
3930
3655
  WALLET_PLACEHOLDER: b`<svg width="60" height="60" fill="none" viewBox="0 0 60 60"><g clip-path="url(#q)"><path id="wallet-placeholder-fill" fill="#fff" d="M0 24.9c0-9.251 0-13.877 1.97-17.332a15 15 0 0 1 5.598-5.597C11.023 0 15.648 0 24.9 0h10.2c9.252 0 13.877 0 17.332 1.97a15 15 0 0 1 5.597 5.598C60 11.023 60 15.648 60 24.9v10.2c0 9.252 0 13.877-1.97 17.332a15.001 15.001 0 0 1-5.598 5.597C48.977 60 44.352 60 35.1 60H24.9c-9.251 0-13.877 0-17.332-1.97a15 15 0 0 1-5.597-5.598C0 48.977 0 44.352 0 35.1V24.9Z"/><path id="wallet-placeholder-dash" stroke="#000" stroke-dasharray="4 4" stroke-width="1.5" d="M.04 41.708a231.598 231.598 0 0 1-.039-4.403l.75-.001L.75 35.1v-2.55H0v-5.1h.75V24.9l.001-2.204h-.75c.003-1.617.011-3.077.039-4.404l.75.016c.034-1.65.099-3.08.218-4.343l-.746-.07c.158-1.678.412-3.083.82-4.316l.713.236c.224-.679.497-1.296.827-1.875a14.25 14.25 0 0 1 1.05-1.585L3.076 5.9A15 15 0 0 1 5.9 3.076l.455.596a14.25 14.25 0 0 1 1.585-1.05c.579-.33 1.196-.603 1.875-.827l-.236-.712C10.812.674 12.217.42 13.895.262l.07.746C15.23.89 16.66.824 18.308.79l-.016-.75C19.62.012 21.08.004 22.695.001l.001.75L24.9.75h2.55V0h5.1v.75h2.55l2.204.001v-.75c1.617.003 3.077.011 4.404.039l-.016.75c1.65.034 3.08.099 4.343.218l.07-.746c1.678.158 3.083.412 4.316.82l-.236.713c.679.224 1.296.497 1.875.827a14.24 14.24 0 0 1 1.585 1.05l.455-.596A14.999 14.999 0 0 1 56.924 5.9l-.596.455c.384.502.735 1.032 1.05 1.585.33.579.602 1.196.827 1.875l.712-.236c.409 1.233.663 2.638.822 4.316l-.747.07c.119 1.264.184 2.694.218 4.343l.75-.016c.028 1.327.036 2.787.039 4.403l-.75.001.001 2.204v2.55H60v5.1h-.75v2.55l-.001 2.204h.75a231.431 231.431 0 0 1-.039 4.404l-.75-.016c-.034 1.65-.099 3.08-.218 4.343l.747.07c-.159 1.678-.413 3.083-.822 4.316l-.712-.236a10.255 10.255 0 0 1-.827 1.875 14.242 14.242 0 0 1-1.05 1.585l.596.455a14.997 14.997 0 0 1-2.824 2.824l-.455-.596c-.502.384-1.032.735-1.585 1.05-.579.33-1.196.602-1.875.827l.236.712c-1.233.409-2.638.663-4.316.822l-.07-.747c-1.264.119-2.694.184-4.343.218l.016.75c-1.327.028-2.787.036-4.403.039l-.001-.75-2.204.001h-2.55V60h-5.1v-.75H24.9l-2.204-.001v.75a231.431 231.431 0 0 1-4.404-.039l.016-.75c-1.65-.034-3.08-.099-4.343-.218l-.07.747c-1.678-.159-3.083-.413-4.316-.822l.236-.712a10.258 10.258 0 0 1-1.875-.827 14.252 14.252 0 0 1-1.585-1.05l-.455.596A14.999 14.999 0 0 1 3.076 54.1l.596-.455a14.24 14.24 0 0 1-1.05-1.585 10.259 10.259 0 0 1-.827-1.875l-.712.236C.674 49.188.42 47.783.262 46.105l.746-.07C.89 44.77.824 43.34.79 41.692l-.75.016Z"/><path fill="#fff" fill-rule="evenodd" d="M35.643 32.145c-.297-.743-.445-1.114-.401-1.275a.42.42 0 0 1 .182-.27c.134-.1.463-.1 1.123-.1.742 0 1.499.046 2.236-.05a6 6 0 0 0 5.166-5.166c.051-.39.051-.855.051-1.784 0-.928 0-1.393-.051-1.783a6 6 0 0 0-5.166-5.165c-.39-.052-.854-.052-1.783-.052h-7.72c-4.934 0-7.401 0-9.244 1.051a8 8 0 0 0-2.985 2.986C16.057 22.28 16.003 24.58 16 29 15.998 31.075 16 33.15 16 35.224A7.778 7.778 0 0 0 23.778 43H28.5c1.394 0 2.09 0 2.67-.116a6 6 0 0 0 4.715-4.714c.115-.58.115-1.301.115-2.744 0-1.31 0-1.964-.114-2.49a4.998 4.998 0 0 0-.243-.792Z" clip-rule="evenodd"/><path fill="#9EA9A9" fill-rule="evenodd" d="M37 18h-7.72c-2.494 0-4.266.002-5.647.126-1.361.122-2.197.354-2.854.728a6.5 6.5 0 0 0-2.425 2.426c-.375.657-.607 1.492-.729 2.853-.11 1.233-.123 2.777-.125 4.867 0 .7 0 1.05.097 1.181.096.13.182.181.343.2.163.02.518-.18 1.229-.581a6.195 6.195 0 0 1 3.053-.8H37c.977 0 1.32-.003 1.587-.038a4.5 4.5 0 0 0 3.874-3.874c.036-.268.039-.611.039-1.588 0-.976-.003-1.319-.038-1.587a4.5 4.5 0 0 0-3.875-3.874C38.32 18.004 37.977 18 37 18Zm-7.364 12.5h-7.414a4.722 4.722 0 0 0-4.722 4.723 6.278 6.278 0 0 0 6.278 6.278H28.5c1.466 0 1.98-.008 2.378-.087a4.5 4.5 0 0 0 3.535-3.536c.08-.397.087-.933.087-2.451 0-1.391-.009-1.843-.08-2.17a3.5 3.5 0 0 0-2.676-2.676c-.328-.072-.762-.08-2.108-.08Z" clip-rule="evenodd"/></g><defs><clipPath id="q"><path fill="#fff" d="M0 0h60v60H0z"/></clipPath></defs></svg>`,
3931
3656
  GLOBE_ICON: b`<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="#fff" fill-rule="evenodd" d="M15.5 8a7.5 7.5 0 1 1-15 0 7.5 7.5 0 0 1 15 0Zm-2.113.75c.301 0 .535.264.47.558a6.01 6.01 0 0 1-2.867 3.896c-.203.116-.42-.103-.334-.32.409-1.018.691-2.274.797-3.657a.512.512 0 0 1 .507-.477h1.427Zm.47-2.058c.065.294-.169.558-.47.558H11.96a.512.512 0 0 1-.507-.477c-.106-1.383-.389-2.638-.797-3.656-.087-.217.13-.437.333-.32a6.01 6.01 0 0 1 2.868 3.895Zm-4.402.558c.286 0 .515-.24.49-.525-.121-1.361-.429-2.534-.83-3.393-.279-.6-.549-.93-.753-1.112a.535.535 0 0 0-.724 0c-.204.182-.474.513-.754 1.112-.4.859-.708 2.032-.828 3.393a.486.486 0 0 0 .49.525h2.909Zm-5.415 0c.267 0 .486-.21.507-.477.106-1.383.389-2.638.797-3.656.087-.217-.13-.437-.333-.32a6.01 6.01 0 0 0-2.868 3.895c-.065.294.169.558.47.558H4.04ZM2.143 9.308c-.065-.294.169-.558.47-.558H4.04c.267 0 .486.21.507.477.106 1.383.389 2.639.797 3.657.087.217-.13.436-.333.32a6.01 6.01 0 0 1-2.868-3.896Zm3.913-.033a.486.486 0 0 1 .49-.525h2.909c.286 0 .515.24.49.525-.121 1.361-.428 2.535-.83 3.394-.279.6-.549.93-.753 1.112a.535.535 0 0 1-.724 0c-.204-.182-.474-.513-.754-1.112-.4-.859-.708-2.033-.828-3.394Z" clip-rule="evenodd"/></svg>`
3932
3657
  };
3933
- const styles$q = i$4`.wcm-toolbar-placeholder{top:0;bottom:0;left:0;right:0;width:100%;position:absolute;display:block;pointer-events:none;height:100px;border-radius:calc(var(--wcm-background-border-radius) * .9);background-color:var(--wcm-background-color);background-position:center;background-size:cover}.wcm-toolbar{height:38px;display:flex;position:relative;margin:5px 15px 5px 5px;justify-content:space-between;align-items:center}.wcm-toolbar img,.wcm-toolbar svg{height:28px;object-position:left center;object-fit:contain}#wcm-wc-logo path{fill:var(--wcm-accent-fill-color)}button{width:28px;height:28px;border-radius:var(--wcm-icon-button-border-radius);border:0;display:flex;justify-content:center;align-items:center;cursor:pointer;background-color:var(--wcm-color-bg-1);box-shadow:0 0 0 1px var(--wcm-color-overlay)}button:active{background-color:var(--wcm-color-bg-2)}button svg{display:block;object-position:center}button path{fill:var(--wcm-color-fg-1)}.wcm-toolbar div{display:flex}@media(hover:hover){button:hover{background-color:var(--wcm-color-bg-2)}}`;
3658
+ const styles$q = i$3`.wcm-toolbar-placeholder{top:0;bottom:0;left:0;right:0;width:100%;position:absolute;display:block;pointer-events:none;height:100px;border-radius:calc(var(--wcm-background-border-radius) * .9);background-color:var(--wcm-background-color);background-position:center;background-size:cover}.wcm-toolbar{height:38px;display:flex;position:relative;margin:5px 15px 5px 5px;justify-content:space-between;align-items:center}.wcm-toolbar img,.wcm-toolbar svg{height:28px;object-position:left center;object-fit:contain}#wcm-wc-logo path{fill:var(--wcm-accent-fill-color)}button{width:28px;height:28px;border-radius:var(--wcm-icon-button-border-radius);border:0;display:flex;justify-content:center;align-items:center;cursor:pointer;background-color:var(--wcm-color-bg-1);box-shadow:0 0 0 1px var(--wcm-color-overlay)}button:active{background-color:var(--wcm-color-bg-2)}button svg{display:block;object-position:center}button path{fill:var(--wcm-color-fg-1)}.wcm-toolbar div{display:flex}@media(hover:hover){button:hover{background-color:var(--wcm-color-bg-2)}}`;
3934
3659
  var __getOwnPropDesc$u = Object.getOwnPropertyDescriptor;
3935
3660
  var __decorateClass$u = (decorators, target, key, kind) => {
3936
3661
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$u(target, key) : target;
3937
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3938
- if (decorator = decorators[i3])
3662
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3663
+ if (decorator = decorators[i2])
3939
3664
  result = decorator(result) || result;
3940
3665
  return result;
3941
3666
  };
3942
- let WcmModalBackcard = class extends s$1 {
3667
+ let WcmModalBackcard = class extends s {
3943
3668
  // -- render ------------------------------------------------------- //
3944
3669
  render() {
3945
3670
  return x`<div class="wcm-toolbar-placeholder"></div><div class="wcm-toolbar">${SvgUtil.WALLET_CONNECT_LOGO} <button @click="${index.ModalCtrl.close}">${SvgUtil.CROSS_ICON}</button></div>`;
@@ -3947,18 +3672,18 @@ let WcmModalBackcard = class extends s$1 {
3947
3672
  };
3948
3673
  WcmModalBackcard.styles = [ThemeUtil.globalCss, styles$q];
3949
3674
  WcmModalBackcard = __decorateClass$u([
3950
- e$3("wcm-modal-backcard")
3675
+ e$2("wcm-modal-backcard")
3951
3676
  ], WcmModalBackcard);
3952
- const styles$p = i$4`main{padding:20px;padding-top:0;width:100%}`;
3677
+ const styles$p = i$3`main{padding:20px;padding-top:0;width:100%}`;
3953
3678
  var __getOwnPropDesc$t = Object.getOwnPropertyDescriptor;
3954
3679
  var __decorateClass$t = (decorators, target, key, kind) => {
3955
3680
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$t(target, key) : target;
3956
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3957
- if (decorator = decorators[i3])
3681
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3682
+ if (decorator = decorators[i2])
3958
3683
  result = decorator(result) || result;
3959
3684
  return result;
3960
3685
  };
3961
- let WcmModalContent = class extends s$1 {
3686
+ let WcmModalContent = class extends s {
3962
3687
  // -- render ------------------------------------------------------- //
3963
3688
  render() {
3964
3689
  return x`<main><slot></slot></main>`;
@@ -3966,18 +3691,18 @@ let WcmModalContent = class extends s$1 {
3966
3691
  };
3967
3692
  WcmModalContent.styles = [ThemeUtil.globalCss, styles$p];
3968
3693
  WcmModalContent = __decorateClass$t([
3969
- e$3("wcm-modal-content")
3694
+ e$2("wcm-modal-content")
3970
3695
  ], WcmModalContent);
3971
- const styles$o = i$4`footer{padding:10px;display:flex;flex-direction:column;align-items:inherit;justify-content:inherit;border-top:1px solid var(--wcm-color-bg-2)}`;
3696
+ const styles$o = i$3`footer{padding:10px;display:flex;flex-direction:column;align-items:inherit;justify-content:inherit;border-top:1px solid var(--wcm-color-bg-2)}`;
3972
3697
  var __getOwnPropDesc$s = Object.getOwnPropertyDescriptor;
3973
3698
  var __decorateClass$s = (decorators, target, key, kind) => {
3974
3699
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$s(target, key) : target;
3975
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3976
- if (decorator = decorators[i3])
3700
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3701
+ if (decorator = decorators[i2])
3977
3702
  result = decorator(result) || result;
3978
3703
  return result;
3979
3704
  };
3980
- let WcmModalFooter = class extends s$1 {
3705
+ let WcmModalFooter = class extends s {
3981
3706
  // -- render ------------------------------------------------------- //
3982
3707
  render() {
3983
3708
  return x`<footer><slot></slot></footer>`;
@@ -3985,21 +3710,21 @@ let WcmModalFooter = class extends s$1 {
3985
3710
  };
3986
3711
  WcmModalFooter.styles = [ThemeUtil.globalCss, styles$o];
3987
3712
  WcmModalFooter = __decorateClass$s([
3988
- e$3("wcm-modal-footer")
3713
+ e$2("wcm-modal-footer")
3989
3714
  ], WcmModalFooter);
3990
- const styles$n = i$4`header{display:flex;justify-content:center;align-items:center;padding:20px;position:relative}.wcm-border{border-bottom:1px solid var(--wcm-color-bg-2);margin-bottom:20px}header button{padding:15px 20px}header button:active{opacity:.5}@media(hover:hover){header button:hover{opacity:.5}}.wcm-back-btn{position:absolute;left:0}.wcm-action-btn{position:absolute;right:0}path{fill:var(--wcm-accent-color)}`;
3715
+ const styles$n = i$3`header{display:flex;justify-content:center;align-items:center;padding:20px;position:relative}.wcm-border{border-bottom:1px solid var(--wcm-color-bg-2);margin-bottom:20px}header button{padding:15px 20px}header button:active{opacity:.5}@media(hover:hover){header button:hover{opacity:.5}}.wcm-back-btn{position:absolute;left:0}.wcm-action-btn{position:absolute;right:0}path{fill:var(--wcm-accent-color)}`;
3991
3716
  var __defProp$r = Object.defineProperty;
3992
3717
  var __getOwnPropDesc$r = Object.getOwnPropertyDescriptor;
3993
3718
  var __decorateClass$r = (decorators, target, key, kind) => {
3994
3719
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$r(target, key) : target;
3995
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3996
- if (decorator = decorators[i3])
3720
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3721
+ if (decorator = decorators[i2])
3997
3722
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3998
3723
  if (kind && result)
3999
3724
  __defProp$r(target, key, result);
4000
3725
  return result;
4001
3726
  };
4002
- let WcmModalHeader = class extends s$1 {
3727
+ let WcmModalHeader = class extends s {
4003
3728
  constructor() {
4004
3729
  super(...arguments);
4005
3730
  this.title = "";
@@ -4021,24 +3746,24 @@ let WcmModalHeader = class extends s$1 {
4021
3746
  };
4022
3747
  const backBtn = index.RouterCtrl.state.history.length > 1;
4023
3748
  const content = this.title ? x`<wcm-text variant="big-bold">${this.title}</wcm-text>` : x`<slot></slot>`;
4024
- return x`<header class="${o$1(classes)}">${backBtn ? this.backBtnTemplate() : null} ${content} ${this.onAction ? this.actionBtnTemplate() : null}</header>`;
3749
+ return x`<header class="${o2(classes)}">${backBtn ? this.backBtnTemplate() : null} ${content} ${this.onAction ? this.actionBtnTemplate() : null}</header>`;
4025
3750
  }
4026
3751
  };
4027
3752
  WcmModalHeader.styles = [ThemeUtil.globalCss, styles$n];
4028
3753
  __decorateClass$r([
4029
- n$2()
3754
+ n$1()
4030
3755
  ], WcmModalHeader.prototype, "title", 2);
4031
3756
  __decorateClass$r([
4032
- n$2()
3757
+ n$1()
4033
3758
  ], WcmModalHeader.prototype, "onAction", 2);
4034
3759
  __decorateClass$r([
4035
- n$2()
3760
+ n$1()
4036
3761
  ], WcmModalHeader.prototype, "actionIcon", 2);
4037
3762
  __decorateClass$r([
4038
- n$2({ type: Boolean })
3763
+ n$1({ type: Boolean })
4039
3764
  ], WcmModalHeader.prototype, "border", 2);
4040
3765
  WcmModalHeader = __decorateClass$r([
4041
- e$3("wcm-modal-header")
3766
+ e$2("wcm-modal-header")
4042
3767
  ], WcmModalHeader);
4043
3768
  const UiUtil = {
4044
3769
  MOBILE_BREAKPOINT: 600,
@@ -4199,19 +3924,19 @@ const UiUtil = {
4199
3924
  }
4200
3925
  }
4201
3926
  };
4202
- const styles$m = i$4`.wcm-router{overflow:hidden;will-change:transform}.wcm-content{display:flex;flex-direction:column}`;
3927
+ const styles$m = i$3`.wcm-router{overflow:hidden;will-change:transform}.wcm-content{display:flex;flex-direction:column}`;
4203
3928
  var __defProp$q = Object.defineProperty;
4204
3929
  var __getOwnPropDesc$q = Object.getOwnPropertyDescriptor;
4205
3930
  var __decorateClass$q = (decorators, target, key, kind) => {
4206
3931
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$q(target, key) : target;
4207
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4208
- if (decorator = decorators[i3])
3932
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3933
+ if (decorator = decorators[i2])
4209
3934
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4210
3935
  if (kind && result)
4211
3936
  __defProp$q(target, key, result);
4212
3937
  return result;
4213
3938
  };
4214
- let WcmModalRouter = class extends s$1 {
3939
+ let WcmModalRouter = class extends s {
4215
3940
  // -- lifecycle ---------------------------------------------------- //
4216
3941
  constructor() {
4217
3942
  super();
@@ -4285,27 +4010,27 @@ let WcmModalRouter = class extends s$1 {
4285
4010
  };
4286
4011
  WcmModalRouter.styles = [ThemeUtil.globalCss, styles$m];
4287
4012
  __decorateClass$q([
4288
- t$2()
4013
+ t$1()
4289
4014
  ], WcmModalRouter.prototype, "view", 2);
4290
4015
  __decorateClass$q([
4291
- t$2()
4016
+ t$1()
4292
4017
  ], WcmModalRouter.prototype, "prevView", 2);
4293
4018
  WcmModalRouter = __decorateClass$q([
4294
- e$3("wcm-modal-router")
4019
+ e$2("wcm-modal-router")
4295
4020
  ], WcmModalRouter);
4296
- const styles$l = i$4`div{height:36px;width:max-content;display:flex;justify-content:center;align-items:center;padding:9px 15px 11px;position:absolute;top:12px;box-shadow:0 6px 14px -6px rgba(10,16,31,.3),0 10px 32px -4px rgba(10,16,31,.15);z-index:2;left:50%;transform:translateX(-50%);pointer-events:none;backdrop-filter:blur(20px) saturate(1.8);-webkit-backdrop-filter:blur(20px) saturate(1.8);border-radius:var(--wcm-notification-border-radius);border:1px solid var(--wcm-color-overlay);background-color:var(--wcm-color-overlay)}svg{margin-right:5px}@-moz-document url-prefix(){div{background-color:var(--wcm-color-bg-3)}}.wcm-success path{fill:var(--wcm-accent-color)}.wcm-error path{fill:var(--wcm-error-color)}`;
4021
+ const styles$l = i$3`div{height:36px;width:max-content;display:flex;justify-content:center;align-items:center;padding:9px 15px 11px;position:absolute;top:12px;box-shadow:0 6px 14px -6px rgba(10,16,31,.3),0 10px 32px -4px rgba(10,16,31,.15);z-index:2;left:50%;transform:translateX(-50%);pointer-events:none;backdrop-filter:blur(20px) saturate(1.8);-webkit-backdrop-filter:blur(20px) saturate(1.8);border-radius:var(--wcm-notification-border-radius);border:1px solid var(--wcm-color-overlay);background-color:var(--wcm-color-overlay)}svg{margin-right:5px}@-moz-document url-prefix(){div{background-color:var(--wcm-color-bg-3)}}.wcm-success path{fill:var(--wcm-accent-color)}.wcm-error path{fill:var(--wcm-error-color)}`;
4297
4022
  var __defProp$p = Object.defineProperty;
4298
4023
  var __getOwnPropDesc$p = Object.getOwnPropertyDescriptor;
4299
4024
  var __decorateClass$p = (decorators, target, key, kind) => {
4300
4025
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$p(target, key) : target;
4301
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4302
- if (decorator = decorators[i3])
4026
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4027
+ if (decorator = decorators[i2])
4303
4028
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4304
4029
  if (kind && result)
4305
4030
  __defProp$p(target, key, result);
4306
4031
  return result;
4307
4032
  };
4308
- let WcmModalToast = class extends s$1 {
4033
+ let WcmModalToast = class extends s {
4309
4034
  constructor() {
4310
4035
  super();
4311
4036
  this.open = false;
@@ -4334,15 +4059,15 @@ let WcmModalToast = class extends s$1 {
4334
4059
  "wcm-success": variant === "success",
4335
4060
  "wcm-error": variant === "error"
4336
4061
  };
4337
- return this.open ? x`<div class="${o$1(classes)}">${variant === "success" ? SvgUtil.CHECKMARK_ICON : null} ${variant === "error" ? SvgUtil.CROSS_ICON : null}<wcm-text variant="small-regular">${message}</wcm-text></div>` : null;
4062
+ return this.open ? x`<div class="${o2(classes)}">${variant === "success" ? SvgUtil.CHECKMARK_ICON : null} ${variant === "error" ? SvgUtil.CROSS_ICON : null}<wcm-text variant="small-regular">${message}</wcm-text></div>` : null;
4338
4063
  }
4339
4064
  };
4340
4065
  WcmModalToast.styles = [ThemeUtil.globalCss, styles$l];
4341
4066
  __decorateClass$p([
4342
- t$2()
4067
+ t$1()
4343
4068
  ], WcmModalToast.prototype, "open", 2);
4344
4069
  WcmModalToast = __decorateClass$p([
4345
- e$3("wcm-modal-toast")
4070
+ e$2("wcm-modal-toast")
4346
4071
  ], WcmModalToast);
4347
4072
  const CONNECTING_ERROR_MARGIN = 0.1;
4348
4073
  const CIRCLE_SIZE_MODIFIER = 2.5;
@@ -4381,10 +4106,10 @@ const QrCodeUtil = {
4381
4106
  const x1 = (matrix.length - QRCODE_MATRIX_MARGIN) * cellSize * x2;
4382
4107
  const y1 = (matrix.length - QRCODE_MATRIX_MARGIN) * cellSize * y2;
4383
4108
  const borderRadius = 0.45;
4384
- for (let i3 = 0; i3 < qrList.length; i3 += 1) {
4385
- const dotSize = cellSize * (QRCODE_MATRIX_MARGIN - i3 * 2);
4109
+ for (let i2 = 0; i2 < qrList.length; i2 += 1) {
4110
+ const dotSize = cellSize * (QRCODE_MATRIX_MARGIN - i2 * 2);
4386
4111
  dots.push(
4387
- b$1`<rect fill="${i3 % 2 === 0 ? dotColor : edgeColor}" height="${dotSize}" rx="${dotSize * borderRadius}" ry="${dotSize * borderRadius}" width="${dotSize}" x="${x1 + cellSize * i3}" y="${y1 + cellSize * i3}">`
4112
+ b`<rect fill="${i2 % 2 === 0 ? dotColor : edgeColor}" height="${dotSize}" rx="${dotSize * borderRadius}" ry="${dotSize * borderRadius}" width="${dotSize}" x="${x1 + cellSize * i2}" y="${y1 + cellSize * i2}">`
4388
4113
  );
4389
4114
  }
4390
4115
  });
@@ -4392,13 +4117,13 @@ const QrCodeUtil = {
4392
4117
  const matrixMiddleStart = matrix.length / 2 - clearArenaSize / 2;
4393
4118
  const matrixMiddleEnd = matrix.length / 2 + clearArenaSize / 2 - 1;
4394
4119
  const circles = [];
4395
- matrix.forEach((row, i3) => {
4396
- row.forEach((_2, j2) => {
4397
- if (matrix[i3][j2]) {
4398
- if (!(i3 < QRCODE_MATRIX_MARGIN && j2 < QRCODE_MATRIX_MARGIN || i3 > matrix.length - (QRCODE_MATRIX_MARGIN + 1) && j2 < QRCODE_MATRIX_MARGIN || i3 < QRCODE_MATRIX_MARGIN && j2 > matrix.length - (QRCODE_MATRIX_MARGIN + 1))) {
4399
- if (!(i3 > matrixMiddleStart && i3 < matrixMiddleEnd && j2 > matrixMiddleStart && j2 < matrixMiddleEnd)) {
4400
- const cx = i3 * cellSize + cellSize / 2;
4401
- const cy = j2 * cellSize + cellSize / 2;
4120
+ matrix.forEach((row, i2) => {
4121
+ row.forEach((_2, j) => {
4122
+ if (matrix[i2][j]) {
4123
+ if (!(i2 < QRCODE_MATRIX_MARGIN && j < QRCODE_MATRIX_MARGIN || i2 > matrix.length - (QRCODE_MATRIX_MARGIN + 1) && j < QRCODE_MATRIX_MARGIN || i2 < QRCODE_MATRIX_MARGIN && j > matrix.length - (QRCODE_MATRIX_MARGIN + 1))) {
4124
+ if (!(i2 > matrixMiddleStart && i2 < matrixMiddleEnd && j > matrixMiddleStart && j < matrixMiddleEnd)) {
4125
+ const cx = i2 * cellSize + cellSize / 2;
4126
+ const cy = j * cellSize + cellSize / 2;
4402
4127
  circles.push([cx, cy]);
4403
4128
  }
4404
4129
  }
@@ -4421,7 +4146,7 @@ const QrCodeUtil = {
4421
4146
  }).forEach(([cx, cys]) => {
4422
4147
  cys.forEach((cy) => {
4423
4148
  dots.push(
4424
- b$1`<circle cx="${cx}" cy="${cy}" fill="${dotColor}" r="${cellSize / CIRCLE_SIZE_MODIFIER}">`
4149
+ b`<circle cx="${cx}" cy="${cy}" fill="${dotColor}" r="${cellSize / CIRCLE_SIZE_MODIFIER}">`
4425
4150
  );
4426
4151
  });
4427
4152
  });
@@ -4445,26 +4170,26 @@ const QrCodeUtil = {
4445
4170
  }).forEach(([cx, groups]) => {
4446
4171
  groups.forEach(([y1, y2]) => {
4447
4172
  dots.push(
4448
- b$1`<line x1="${cx}" x2="${cx}" y1="${y1}" y2="${y2}" stroke="${dotColor}" stroke-width="${cellSize / (CIRCLE_SIZE_MODIFIER / 2)}" stroke-linecap="round">`
4173
+ b`<line x1="${cx}" x2="${cx}" y1="${y1}" y2="${y2}" stroke="${dotColor}" stroke-width="${cellSize / (CIRCLE_SIZE_MODIFIER / 2)}" stroke-linecap="round">`
4449
4174
  );
4450
4175
  });
4451
4176
  });
4452
4177
  return dots;
4453
4178
  }
4454
4179
  };
4455
- const styles$k = i$4`@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}div{position:relative;user-select:none;display:block;overflow:hidden;aspect-ratio:1/1;animation:fadeIn ease .2s}.wcm-dark{background-color:#fff;border-radius:var(--wcm-container-border-radius);padding:18px;box-shadow:0 2px 5px #000}svg:first-child,wcm-wallet-image{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%)}wcm-wallet-image{transform:translateY(-50%) translateX(-50%)}wcm-wallet-image{width:25%;height:25%;border-radius:var(--wcm-wallet-icon-border-radius)}svg:first-child{transform:translateY(-50%) translateX(-50%) scale(.9)}svg:first-child path:first-child{fill:var(--wcm-accent-color)}svg:first-child path:last-child{stroke:var(--wcm-color-overlay)}`;
4180
+ const styles$k = i$3`@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}div{position:relative;user-select:none;display:block;overflow:hidden;aspect-ratio:1/1;animation:fadeIn ease .2s}.wcm-dark{background-color:#fff;border-radius:var(--wcm-container-border-radius);padding:18px;box-shadow:0 2px 5px #000}svg:first-child,wcm-wallet-image{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%)}wcm-wallet-image{transform:translateY(-50%) translateX(-50%)}wcm-wallet-image{width:25%;height:25%;border-radius:var(--wcm-wallet-icon-border-radius)}svg:first-child{transform:translateY(-50%) translateX(-50%) scale(.9)}svg:first-child path:first-child{fill:var(--wcm-accent-color)}svg:first-child path:last-child{stroke:var(--wcm-color-overlay)}`;
4456
4181
  var __defProp$o = Object.defineProperty;
4457
4182
  var __getOwnPropDesc$o = Object.getOwnPropertyDescriptor;
4458
4183
  var __decorateClass$o = (decorators, target, key, kind) => {
4459
4184
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$o(target, key) : target;
4460
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4461
- if (decorator = decorators[i3])
4185
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4186
+ if (decorator = decorators[i2])
4462
4187
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4463
4188
  if (kind && result)
4464
4189
  __defProp$o(target, key, result);
4465
4190
  return result;
4466
4191
  };
4467
- exports.WcmQrCode = class WcmQrCode extends s$1 {
4192
+ exports.WcmQrCode = class WcmQrCode extends s {
4468
4193
  constructor() {
4469
4194
  super(...arguments);
4470
4195
  this.uri = "";
@@ -4477,48 +4202,48 @@ exports.WcmQrCode = class WcmQrCode extends s$1 {
4477
4202
  svgTemplate() {
4478
4203
  const isLightMode = index.ThemeCtrl.state.themeMode === "light";
4479
4204
  const size = isLightMode ? this.size : this.size - 18 * 2;
4480
- return b$1`<svg height="${size}" width="${size}">${QrCodeUtil.generate(this.uri, size, size / 4)}</svg>`;
4205
+ return b`<svg height="${size}" width="${size}">${QrCodeUtil.generate(this.uri, size, size / 4)}</svg>`;
4481
4206
  }
4482
4207
  // -- render ------------------------------------------------------- //
4483
4208
  render() {
4484
4209
  const classes = {
4485
4210
  "wcm-dark": index.ThemeCtrl.state.themeMode === "dark"
4486
4211
  };
4487
- return x`<div style="${`width: ${this.size}px`}" class="${o$1(classes)}">${this.walletId || this.imageUrl ? x`<wcm-wallet-image walletId="${l(this.walletId)}" imageId="${l(this.imageId)}" imageUrl="${l(this.imageUrl)}"></wcm-wallet-image>` : SvgUtil.WALLET_CONNECT_ICON_COLORED} ${this.svgTemplate()}</div>`;
4212
+ return x`<div style="${`width: ${this.size}px`}" class="${o2(classes)}">${this.walletId || this.imageUrl ? x`<wcm-wallet-image walletId="${l(this.walletId)}" imageId="${l(this.imageId)}" imageUrl="${l(this.imageUrl)}"></wcm-wallet-image>` : SvgUtil.WALLET_CONNECT_ICON_COLORED} ${this.svgTemplate()}</div>`;
4488
4213
  }
4489
4214
  };
4490
4215
  exports.WcmQrCode.styles = [ThemeUtil.globalCss, styles$k];
4491
4216
  __decorateClass$o([
4492
- n$2()
4217
+ n$1()
4493
4218
  ], exports.WcmQrCode.prototype, "uri", 2);
4494
4219
  __decorateClass$o([
4495
- n$2({ type: Number })
4220
+ n$1({ type: Number })
4496
4221
  ], exports.WcmQrCode.prototype, "size", 2);
4497
4222
  __decorateClass$o([
4498
- n$2()
4223
+ n$1()
4499
4224
  ], exports.WcmQrCode.prototype, "imageId", 2);
4500
4225
  __decorateClass$o([
4501
- n$2()
4226
+ n$1()
4502
4227
  ], exports.WcmQrCode.prototype, "walletId", 2);
4503
4228
  __decorateClass$o([
4504
- n$2()
4229
+ n$1()
4505
4230
  ], exports.WcmQrCode.prototype, "imageUrl", 2);
4506
4231
  exports.WcmQrCode = __decorateClass$o([
4507
- e$3("wcm-qrcode")
4232
+ e$2("wcm-qrcode")
4508
4233
  ], exports.WcmQrCode);
4509
- const styles$j = i$4`:host{position:relative;height:28px;width:80%}input{width:100%;height:100%;line-height:28px!important;border-radius:var(--wcm-input-border-radius);font-style:normal;font-family:-apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,Ubuntu,'Helvetica Neue',sans-serif;font-feature-settings:'case' on;font-weight:500;font-size:16px;letter-spacing:-.03em;padding:0 10px 0 34px;transition:.2s all ease;color:var(--wcm-color-fg-1);background-color:var(--wcm-color-bg-3);box-shadow:inset 0 0 0 1px var(--wcm-color-overlay);caret-color:var(--wcm-accent-color)}input::placeholder{color:var(--wcm-color-fg-2)}svg{left:10px;top:4px;pointer-events:none;position:absolute;width:20px;height:20px}input:focus-within{box-shadow:inset 0 0 0 1px var(--wcm-accent-color)}path{fill:var(--wcm-color-fg-2)}`;
4234
+ const styles$j = i$3`:host{position:relative;height:28px;width:80%}input{width:100%;height:100%;line-height:28px!important;border-radius:var(--wcm-input-border-radius);font-style:normal;font-family:-apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,Ubuntu,'Helvetica Neue',sans-serif;font-feature-settings:'case' on;font-weight:500;font-size:16px;letter-spacing:-.03em;padding:0 10px 0 34px;transition:.2s all ease;color:var(--wcm-color-fg-1);background-color:var(--wcm-color-bg-3);box-shadow:inset 0 0 0 1px var(--wcm-color-overlay);caret-color:var(--wcm-accent-color)}input::placeholder{color:var(--wcm-color-fg-2)}svg{left:10px;top:4px;pointer-events:none;position:absolute;width:20px;height:20px}input:focus-within{box-shadow:inset 0 0 0 1px var(--wcm-accent-color)}path{fill:var(--wcm-color-fg-2)}`;
4510
4235
  var __defProp$n = Object.defineProperty;
4511
4236
  var __getOwnPropDesc$n = Object.getOwnPropertyDescriptor;
4512
4237
  var __decorateClass$n = (decorators, target, key, kind) => {
4513
4238
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$n(target, key) : target;
4514
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4515
- if (decorator = decorators[i3])
4239
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4240
+ if (decorator = decorators[i2])
4516
4241
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4517
4242
  if (kind && result)
4518
4243
  __defProp$n(target, key, result);
4519
4244
  return result;
4520
4245
  };
4521
- let WcmSearchInput = class extends s$1 {
4246
+ let WcmSearchInput = class extends s {
4522
4247
  constructor() {
4523
4248
  super(...arguments);
4524
4249
  this.onChange = () => null;
@@ -4530,21 +4255,21 @@ let WcmSearchInput = class extends s$1 {
4530
4255
  };
4531
4256
  WcmSearchInput.styles = [ThemeUtil.globalCss, styles$j];
4532
4257
  __decorateClass$n([
4533
- n$2()
4258
+ n$1()
4534
4259
  ], WcmSearchInput.prototype, "onChange", 2);
4535
4260
  WcmSearchInput = __decorateClass$n([
4536
- e$3("wcm-search-input")
4261
+ e$2("wcm-search-input")
4537
4262
  ], WcmSearchInput);
4538
- const styles$i = i$4`@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}svg{animation:rotate 2s linear infinite;display:flex;justify-content:center;align-items:center}svg circle{stroke-linecap:round;animation:dash 1.5s ease infinite;stroke:var(--wcm-accent-color)}`;
4263
+ const styles$i = i$3`@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}svg{animation:rotate 2s linear infinite;display:flex;justify-content:center;align-items:center}svg circle{stroke-linecap:round;animation:dash 1.5s ease infinite;stroke:var(--wcm-accent-color)}`;
4539
4264
  var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
4540
4265
  var __decorateClass$m = (decorators, target, key, kind) => {
4541
4266
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$m(target, key) : target;
4542
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4543
- if (decorator = decorators[i3])
4267
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4268
+ if (decorator = decorators[i2])
4544
4269
  result = decorator(result) || result;
4545
4270
  return result;
4546
4271
  };
4547
- let WcmSpinner = class extends s$1 {
4272
+ let WcmSpinner = class extends s {
4548
4273
  // -- render ------------------------------------------------------- //
4549
4274
  render() {
4550
4275
  return x`<svg viewBox="0 0 50 50" width="24" height="24"><circle cx="25" cy="25" r="20" fill="none" stroke-width="4" stroke="#fff"/></svg>`;
@@ -4552,21 +4277,21 @@ let WcmSpinner = class extends s$1 {
4552
4277
  };
4553
4278
  WcmSpinner.styles = [ThemeUtil.globalCss, styles$i];
4554
4279
  WcmSpinner = __decorateClass$m([
4555
- e$3("wcm-spinner")
4280
+ e$2("wcm-spinner")
4556
4281
  ], WcmSpinner);
4557
- const styles$h = i$4`span{font-style:normal;font-family:var(--wcm-font-family);font-feature-settings:var(--wcm-font-feature-settings)}.wcm-xsmall-bold{font-family:var(--wcm-text-xsmall-bold-font-family);font-weight:var(--wcm-text-xsmall-bold-weight);font-size:var(--wcm-text-xsmall-bold-size);line-height:var(--wcm-text-xsmall-bold-line-height);letter-spacing:var(--wcm-text-xsmall-bold-letter-spacing);text-transform:var(--wcm-text-xsmall-bold-text-transform)}.wcm-xsmall-regular{font-family:var(--wcm-text-xsmall-regular-font-family);font-weight:var(--wcm-text-xsmall-regular-weight);font-size:var(--wcm-text-xsmall-regular-size);line-height:var(--wcm-text-xsmall-regular-line-height);letter-spacing:var(--wcm-text-xsmall-regular-letter-spacing);text-transform:var(--wcm-text-xsmall-regular-text-transform)}.wcm-small-thin{font-family:var(--wcm-text-small-thin-font-family);font-weight:var(--wcm-text-small-thin-weight);font-size:var(--wcm-text-small-thin-size);line-height:var(--wcm-text-small-thin-line-height);letter-spacing:var(--wcm-text-small-thin-letter-spacing);text-transform:var(--wcm-text-small-thin-text-transform)}.wcm-small-regular{font-family:var(--wcm-text-small-regular-font-family);font-weight:var(--wcm-text-small-regular-weight);font-size:var(--wcm-text-small-regular-size);line-height:var(--wcm-text-small-regular-line-height);letter-spacing:var(--wcm-text-small-regular-letter-spacing);text-transform:var(--wcm-text-small-regular-text-transform)}.wcm-medium-regular{font-family:var(--wcm-text-medium-regular-font-family);font-weight:var(--wcm-text-medium-regular-weight);font-size:var(--wcm-text-medium-regular-size);line-height:var(--wcm-text-medium-regular-line-height);letter-spacing:var(--wcm-text-medium-regular-letter-spacing);text-transform:var(--wcm-text-medium-regular-text-transform)}.wcm-big-bold{font-family:var(--wcm-text-big-bold-font-family);font-weight:var(--wcm-text-big-bold-weight);font-size:var(--wcm-text-big-bold-size);line-height:var(--wcm-text-big-bold-line-height);letter-spacing:var(--wcm-text-big-bold-letter-spacing);text-transform:var(--wcm-text-big-bold-text-transform)}:host(*){color:var(--wcm-color-fg-1)}.wcm-color-primary{color:var(--wcm-color-fg-1)}.wcm-color-secondary{color:var(--wcm-color-fg-2)}.wcm-color-tertiary{color:var(--wcm-color-fg-3)}.wcm-color-inverse{color:var(--wcm-accent-fill-color)}.wcm-color-accnt{color:var(--wcm-accent-color)}.wcm-color-error{color:var(--wcm-error-color)}`;
4282
+ const styles$h = i$3`span{font-style:normal;font-family:var(--wcm-font-family);font-feature-settings:var(--wcm-font-feature-settings)}.wcm-xsmall-bold{font-family:var(--wcm-text-xsmall-bold-font-family);font-weight:var(--wcm-text-xsmall-bold-weight);font-size:var(--wcm-text-xsmall-bold-size);line-height:var(--wcm-text-xsmall-bold-line-height);letter-spacing:var(--wcm-text-xsmall-bold-letter-spacing);text-transform:var(--wcm-text-xsmall-bold-text-transform)}.wcm-xsmall-regular{font-family:var(--wcm-text-xsmall-regular-font-family);font-weight:var(--wcm-text-xsmall-regular-weight);font-size:var(--wcm-text-xsmall-regular-size);line-height:var(--wcm-text-xsmall-regular-line-height);letter-spacing:var(--wcm-text-xsmall-regular-letter-spacing);text-transform:var(--wcm-text-xsmall-regular-text-transform)}.wcm-small-thin{font-family:var(--wcm-text-small-thin-font-family);font-weight:var(--wcm-text-small-thin-weight);font-size:var(--wcm-text-small-thin-size);line-height:var(--wcm-text-small-thin-line-height);letter-spacing:var(--wcm-text-small-thin-letter-spacing);text-transform:var(--wcm-text-small-thin-text-transform)}.wcm-small-regular{font-family:var(--wcm-text-small-regular-font-family);font-weight:var(--wcm-text-small-regular-weight);font-size:var(--wcm-text-small-regular-size);line-height:var(--wcm-text-small-regular-line-height);letter-spacing:var(--wcm-text-small-regular-letter-spacing);text-transform:var(--wcm-text-small-regular-text-transform)}.wcm-medium-regular{font-family:var(--wcm-text-medium-regular-font-family);font-weight:var(--wcm-text-medium-regular-weight);font-size:var(--wcm-text-medium-regular-size);line-height:var(--wcm-text-medium-regular-line-height);letter-spacing:var(--wcm-text-medium-regular-letter-spacing);text-transform:var(--wcm-text-medium-regular-text-transform)}.wcm-big-bold{font-family:var(--wcm-text-big-bold-font-family);font-weight:var(--wcm-text-big-bold-weight);font-size:var(--wcm-text-big-bold-size);line-height:var(--wcm-text-big-bold-line-height);letter-spacing:var(--wcm-text-big-bold-letter-spacing);text-transform:var(--wcm-text-big-bold-text-transform)}:host(*){color:var(--wcm-color-fg-1)}.wcm-color-primary{color:var(--wcm-color-fg-1)}.wcm-color-secondary{color:var(--wcm-color-fg-2)}.wcm-color-tertiary{color:var(--wcm-color-fg-3)}.wcm-color-inverse{color:var(--wcm-accent-fill-color)}.wcm-color-accnt{color:var(--wcm-accent-color)}.wcm-color-error{color:var(--wcm-error-color)}`;
4558
4283
  var __defProp$l = Object.defineProperty;
4559
4284
  var __getOwnPropDesc$l = Object.getOwnPropertyDescriptor;
4560
4285
  var __decorateClass$l = (decorators, target, key, kind) => {
4561
4286
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$l(target, key) : target;
4562
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4563
- if (decorator = decorators[i3])
4287
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4288
+ if (decorator = decorators[i2])
4564
4289
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4565
4290
  if (kind && result)
4566
4291
  __defProp$l(target, key, result);
4567
4292
  return result;
4568
4293
  };
4569
- let WcmText = class extends s$1 {
4294
+ let WcmText = class extends s {
4570
4295
  constructor() {
4571
4296
  super(...arguments);
4572
4297
  this.variant = "medium-regular";
@@ -4588,32 +4313,32 @@ let WcmText = class extends s$1 {
4588
4313
  "wcm-color-accnt": this.color === "accent",
4589
4314
  "wcm-color-error": this.color === "error"
4590
4315
  };
4591
- return x`<span><slot class="${o$1(classes)}"></slot></span>`;
4316
+ return x`<span><slot class="${o2(classes)}"></slot></span>`;
4592
4317
  }
4593
4318
  };
4594
4319
  WcmText.styles = [ThemeUtil.globalCss, styles$h];
4595
4320
  __decorateClass$l([
4596
- n$2()
4321
+ n$1()
4597
4322
  ], WcmText.prototype, "variant", 2);
4598
4323
  __decorateClass$l([
4599
- n$2()
4324
+ n$1()
4600
4325
  ], WcmText.prototype, "color", 2);
4601
4326
  WcmText = __decorateClass$l([
4602
- e$3("wcm-text")
4327
+ e$2("wcm-text")
4603
4328
  ], WcmText);
4604
- const styles$g = i$4`button{width:100%;height:100%;border-radius:var(--wcm-button-hover-highlight-border-radius);display:flex;align-items:flex-start}button:active{background-color:var(--wcm-color-overlay)}@media(hover:hover){button:hover{background-color:var(--wcm-color-overlay)}}button>div{width:80px;padding:5px 0;display:flex;flex-direction:column;align-items:center}wcm-text{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}wcm-wallet-image{height:60px;width:60px;transition:all .2s ease;border-radius:var(--wcm-wallet-icon-border-radius);margin-bottom:5px}.wcm-sublabel{margin-top:2px}`;
4329
+ const styles$g = i$3`button{width:100%;height:100%;border-radius:var(--wcm-button-hover-highlight-border-radius);display:flex;align-items:flex-start}button:active{background-color:var(--wcm-color-overlay)}@media(hover:hover){button:hover{background-color:var(--wcm-color-overlay)}}button>div{width:80px;padding:5px 0;display:flex;flex-direction:column;align-items:center}wcm-text{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}wcm-wallet-image{height:60px;width:60px;transition:all .2s ease;border-radius:var(--wcm-wallet-icon-border-radius);margin-bottom:5px}.wcm-sublabel{margin-top:2px}`;
4605
4330
  var __defProp$k = Object.defineProperty;
4606
4331
  var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
4607
4332
  var __decorateClass$k = (decorators, target, key, kind) => {
4608
4333
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
4609
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4610
- if (decorator = decorators[i3])
4334
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4335
+ if (decorator = decorators[i2])
4611
4336
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4612
4337
  if (kind && result)
4613
4338
  __defProp$k(target, key, result);
4614
4339
  return result;
4615
4340
  };
4616
- let WcmWalletButton = class extends s$1 {
4341
+ let WcmWalletButton = class extends s {
4617
4342
  constructor() {
4618
4343
  super(...arguments);
4619
4344
  this.onClick = () => null;
@@ -4645,42 +4370,42 @@ let WcmWalletButton = class extends s$1 {
4645
4370
  };
4646
4371
  WcmWalletButton.styles = [ThemeUtil.globalCss, styles$g];
4647
4372
  __decorateClass$k([
4648
- n$2()
4373
+ n$1()
4649
4374
  ], WcmWalletButton.prototype, "onClick", 2);
4650
4375
  __decorateClass$k([
4651
- n$2()
4376
+ n$1()
4652
4377
  ], WcmWalletButton.prototype, "name", 2);
4653
4378
  __decorateClass$k([
4654
- n$2()
4379
+ n$1()
4655
4380
  ], WcmWalletButton.prototype, "walletId", 2);
4656
4381
  __decorateClass$k([
4657
- n$2()
4382
+ n$1()
4658
4383
  ], WcmWalletButton.prototype, "label", 2);
4659
4384
  __decorateClass$k([
4660
- n$2()
4385
+ n$1()
4661
4386
  ], WcmWalletButton.prototype, "imageId", 2);
4662
4387
  __decorateClass$k([
4663
- n$2({ type: Boolean })
4388
+ n$1({ type: Boolean })
4664
4389
  ], WcmWalletButton.prototype, "installed", 2);
4665
4390
  __decorateClass$k([
4666
- n$2({ type: Boolean })
4391
+ n$1({ type: Boolean })
4667
4392
  ], WcmWalletButton.prototype, "recent", 2);
4668
4393
  WcmWalletButton = __decorateClass$k([
4669
- e$3("wcm-wallet-button")
4394
+ e$2("wcm-wallet-button")
4670
4395
  ], WcmWalletButton);
4671
- const styles$f = i$4`:host{display:block}div{overflow:hidden;position:relative;border-radius:inherit;width:100%;height:100%;background-color:var(--wcm-color-overlay)}svg{position:relative;width:100%;height:100%}div::after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border-radius:inherit;border:1px solid var(--wcm-color-overlay)}div img{width:100%;height:100%;object-fit:cover;object-position:center}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`;
4396
+ const styles$f = i$3`:host{display:block}div{overflow:hidden;position:relative;border-radius:inherit;width:100%;height:100%;background-color:var(--wcm-color-overlay)}svg{position:relative;width:100%;height:100%}div::after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border-radius:inherit;border:1px solid var(--wcm-color-overlay)}div img{width:100%;height:100%;object-fit:cover;object-position:center}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`;
4672
4397
  var __defProp$j = Object.defineProperty;
4673
4398
  var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
4674
4399
  var __decorateClass$j = (decorators, target, key, kind) => {
4675
4400
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
4676
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4677
- if (decorator = decorators[i3])
4401
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4402
+ if (decorator = decorators[i2])
4678
4403
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4679
4404
  if (kind && result)
4680
4405
  __defProp$j(target, key, result);
4681
4406
  return result;
4682
4407
  };
4683
- let WcmWalletImage = class extends s$1 {
4408
+ let WcmWalletImage = class extends s {
4684
4409
  constructor() {
4685
4410
  super(...arguments);
4686
4411
  this.walletId = "";
@@ -4696,29 +4421,29 @@ let WcmWalletImage = class extends s$1 {
4696
4421
  };
4697
4422
  WcmWalletImage.styles = [ThemeUtil.globalCss, styles$f];
4698
4423
  __decorateClass$j([
4699
- n$2()
4424
+ n$1()
4700
4425
  ], WcmWalletImage.prototype, "walletId", 2);
4701
4426
  __decorateClass$j([
4702
- n$2()
4427
+ n$1()
4703
4428
  ], WcmWalletImage.prototype, "imageId", 2);
4704
4429
  __decorateClass$j([
4705
- n$2()
4430
+ n$1()
4706
4431
  ], WcmWalletImage.prototype, "imageUrl", 2);
4707
4432
  WcmWalletImage = __decorateClass$j([
4708
- e$3("wcm-wallet-image")
4433
+ e$2("wcm-wallet-image")
4709
4434
  ], WcmWalletImage);
4710
4435
  var __defProp$i = Object.defineProperty;
4711
4436
  var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
4712
4437
  var __decorateClass$i = (decorators, target, key, kind) => {
4713
4438
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
4714
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4715
- if (decorator = decorators[i3])
4439
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4440
+ if (decorator = decorators[i2])
4716
4441
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4717
4442
  if (kind && result)
4718
4443
  __defProp$i(target, key, result);
4719
4444
  return result;
4720
4445
  };
4721
- let WcmExplorerContext = class extends s$1 {
4446
+ let WcmExplorerContext = class extends s {
4722
4447
  // -- lifecycle ---------------------------------------------------- //
4723
4448
  constructor() {
4724
4449
  super();
@@ -4763,20 +4488,20 @@ let WcmExplorerContext = class extends s$1 {
4763
4488
  }
4764
4489
  };
4765
4490
  __decorateClass$i([
4766
- t$2()
4491
+ t$1()
4767
4492
  ], WcmExplorerContext.prototype, "preload", 2);
4768
4493
  WcmExplorerContext = __decorateClass$i([
4769
- e$3("wcm-explorer-context")
4494
+ e$2("wcm-explorer-context")
4770
4495
  ], WcmExplorerContext);
4771
4496
  var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
4772
4497
  var __decorateClass$h = (decorators, target, key, kind) => {
4773
4498
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
4774
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4775
- if (decorator = decorators[i3])
4499
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4500
+ if (decorator = decorators[i2])
4776
4501
  result = decorator(result) || result;
4777
4502
  return result;
4778
4503
  };
4779
- let WcmThemeContext = class extends s$1 {
4504
+ let WcmThemeContext = class extends s {
4780
4505
  // -- lifecycle ---------------------------------------------------- //
4781
4506
  constructor() {
4782
4507
  super();
@@ -4790,18 +4515,18 @@ let WcmThemeContext = class extends s$1 {
4790
4515
  }
4791
4516
  };
4792
4517
  WcmThemeContext = __decorateClass$h([
4793
- e$3("wcm-theme-context")
4518
+ e$2("wcm-theme-context")
4794
4519
  ], WcmThemeContext);
4795
- const styles$e = i$4`@keyframes scroll{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(calc(-70px * 9),0,0)}}.wcm-slider{position:relative;overflow-x:hidden;padding:10px 0;margin:0 -20px;width:calc(100% + 40px)}.wcm-track{display:flex;width:calc(70px * 18);animation:scroll 20s linear infinite;opacity:.7}.wcm-track svg{margin:0 5px}wcm-wallet-image{width:60px;height:60px;margin:0 5px;border-radius:var(--wcm-wallet-icon-border-radius)}.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between}.wcm-title{display:flex;align-items:center;margin-bottom:10px}.wcm-title svg{margin-right:6px}.wcm-title path{fill:var(--wcm-accent-color)}wcm-modal-footer .wcm-title{padding:0 10px}wcm-button-big{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);filter:drop-shadow(0 0 17px var(--wcm-color-bg-1))}wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-info-footer wcm-text{text-align:center;margin-bottom:15px}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`;
4520
+ const styles$e = i$3`@keyframes scroll{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(calc(-70px * 9),0,0)}}.wcm-slider{position:relative;overflow-x:hidden;padding:10px 0;margin:0 -20px;width:calc(100% + 40px)}.wcm-track{display:flex;width:calc(70px * 18);animation:scroll 20s linear infinite;opacity:.7}.wcm-track svg{margin:0 5px}wcm-wallet-image{width:60px;height:60px;margin:0 5px;border-radius:var(--wcm-wallet-icon-border-radius)}.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between}.wcm-title{display:flex;align-items:center;margin-bottom:10px}.wcm-title svg{margin-right:6px}.wcm-title path{fill:var(--wcm-accent-color)}wcm-modal-footer .wcm-title{padding:0 10px}wcm-button-big{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);filter:drop-shadow(0 0 17px var(--wcm-color-bg-1))}wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-info-footer wcm-text{text-align:center;margin-bottom:15px}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`;
4796
4521
  var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
4797
4522
  var __decorateClass$g = (decorators, target, key, kind) => {
4798
4523
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
4799
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4800
- if (decorator = decorators[i3])
4524
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4525
+ if (decorator = decorators[i2])
4801
4526
  result = decorator(result) || result;
4802
4527
  return result;
4803
4528
  };
4804
- let WcmAndroidWalletSelection = class extends s$1 {
4529
+ let WcmAndroidWalletSelection = class extends s {
4805
4530
  // -- private ------------------------------------------------------ //
4806
4531
  onGoToQrcode() {
4807
4532
  index.RouterCtrl.push("Qrcode");
@@ -4819,21 +4544,21 @@ let WcmAndroidWalletSelection = class extends s$1 {
4819
4544
  };
4820
4545
  WcmAndroidWalletSelection.styles = [ThemeUtil.globalCss, styles$e];
4821
4546
  WcmAndroidWalletSelection = __decorateClass$g([
4822
- e$3("wcm-android-wallet-selection")
4547
+ e$2("wcm-android-wallet-selection")
4823
4548
  ], WcmAndroidWalletSelection);
4824
- const styles$d = i$4`@keyframes loading{to{stroke-dashoffset:0}}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(1px,0,0)}30%,50%,70%{transform:translate3d(-2px,0,0)}40%,60%{transform:translate3d(2px,0,0)}}:host{display:flex;flex-direction:column;align-items:center}div{position:relative;width:110px;height:110px;display:flex;justify-content:center;align-items:center;margin:40px 0 20px 0;transform:translate3d(0,0,0)}svg{position:absolute;width:110px;height:110px;fill:none;stroke:transparent;stroke-linecap:round;stroke-width:2px;top:0;left:0}use{stroke:var(--wcm-accent-color);animation:loading 1s linear infinite}wcm-wallet-image{border-radius:var(--wcm-wallet-icon-large-border-radius);width:90px;height:90px}wcm-text{margin-bottom:40px}.wcm-error svg{stroke:var(--wcm-error-color)}.wcm-error use{display:none}.wcm-error{animation:shake .4s cubic-bezier(.36,.07,.19,.97) both}.wcm-stale svg,.wcm-stale use{display:none}`;
4549
+ const styles$d = i$3`@keyframes loading{to{stroke-dashoffset:0}}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(1px,0,0)}30%,50%,70%{transform:translate3d(-2px,0,0)}40%,60%{transform:translate3d(2px,0,0)}}:host{display:flex;flex-direction:column;align-items:center}div{position:relative;width:110px;height:110px;display:flex;justify-content:center;align-items:center;margin:40px 0 20px 0;transform:translate3d(0,0,0)}svg{position:absolute;width:110px;height:110px;fill:none;stroke:transparent;stroke-linecap:round;stroke-width:2px;top:0;left:0}use{stroke:var(--wcm-accent-color);animation:loading 1s linear infinite}wcm-wallet-image{border-radius:var(--wcm-wallet-icon-large-border-radius);width:90px;height:90px}wcm-text{margin-bottom:40px}.wcm-error svg{stroke:var(--wcm-error-color)}.wcm-error use{display:none}.wcm-error{animation:shake .4s cubic-bezier(.36,.07,.19,.97) both}.wcm-stale svg,.wcm-stale use{display:none}`;
4825
4550
  var __defProp$f = Object.defineProperty;
4826
4551
  var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
4827
4552
  var __decorateClass$f = (decorators, target, key, kind) => {
4828
4553
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
4829
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4830
- if (decorator = decorators[i3])
4554
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4555
+ if (decorator = decorators[i2])
4831
4556
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4832
4557
  if (kind && result)
4833
4558
  __defProp$f(target, key, result);
4834
4559
  return result;
4835
4560
  };
4836
- let WcmConnectorWaiting = class extends s$1 {
4561
+ let WcmConnectorWaiting = class extends s {
4837
4562
  constructor() {
4838
4563
  super(...arguments);
4839
4564
  this.walletId = void 0;
@@ -4866,27 +4591,27 @@ let WcmConnectorWaiting = class extends s$1 {
4866
4591
  "wcm-error": this.isError,
4867
4592
  "wcm-stale": this.isStale
4868
4593
  };
4869
- return x`<div class="${o$1(classes)}">${this.svgLoaderTemplate()}<wcm-wallet-image walletId="${l(this.walletId)}" imageId="${l(this.imageId)}"></wcm-wallet-image></div><wcm-text variant="medium-regular" color="${this.isError ? "error" : "primary"}">${this.isError ? "Connection declined" : this.label}</wcm-text>`;
4594
+ return x`<div class="${o2(classes)}">${this.svgLoaderTemplate()}<wcm-wallet-image walletId="${l(this.walletId)}" imageId="${l(this.imageId)}"></wcm-wallet-image></div><wcm-text variant="medium-regular" color="${this.isError ? "error" : "primary"}">${this.isError ? "Connection declined" : this.label}</wcm-text>`;
4870
4595
  }
4871
4596
  };
4872
4597
  WcmConnectorWaiting.styles = [ThemeUtil.globalCss, styles$d];
4873
4598
  __decorateClass$f([
4874
- n$2()
4599
+ n$1()
4875
4600
  ], WcmConnectorWaiting.prototype, "walletId", 2);
4876
4601
  __decorateClass$f([
4877
- n$2()
4602
+ n$1()
4878
4603
  ], WcmConnectorWaiting.prototype, "imageId", 2);
4879
4604
  __decorateClass$f([
4880
- n$2({ type: Boolean })
4605
+ n$1({ type: Boolean })
4881
4606
  ], WcmConnectorWaiting.prototype, "isError", 2);
4882
4607
  __decorateClass$f([
4883
- n$2({ type: Boolean })
4608
+ n$1({ type: Boolean })
4884
4609
  ], WcmConnectorWaiting.prototype, "isStale", 2);
4885
4610
  __decorateClass$f([
4886
- n$2()
4611
+ n$1()
4887
4612
  ], WcmConnectorWaiting.prototype, "label", 2);
4888
4613
  WcmConnectorWaiting = __decorateClass$f([
4889
- e$3("wcm-connector-waiting")
4614
+ e$2("wcm-connector-waiting")
4890
4615
  ], WcmConnectorWaiting);
4891
4616
  const DataUtil = {
4892
4617
  manualWallets() {
@@ -4932,16 +4657,16 @@ const TemplateUtil = {
4932
4657
  return x`<wcm-wallet-button name="${wallet.name}" walletId="${wallet.id}" imageId="${l(wallet.image_id)}" .recent="${true}" .onClick="${() => this.onConnecting(wallet)}"></wcm-wallet-button>`;
4933
4658
  }
4934
4659
  };
4935
- const styles$c = i$4`.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between}.wcm-desktop-title,.wcm-mobile-title{display:flex;align-items:center}.wcm-mobile-title{justify-content:space-between;margin-bottom:20px;margin-top:-10px}.wcm-desktop-title{margin-bottom:10px;padding:0 10px}.wcm-subtitle{display:flex;align-items:center}.wcm-subtitle:last-child path{fill:var(--wcm-color-fg-3)}.wcm-desktop-title svg,.wcm-mobile-title svg{margin-right:6px}.wcm-desktop-title path,.wcm-mobile-title path{fill:var(--wcm-accent-color)}`;
4660
+ const styles$c = i$3`.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between}.wcm-desktop-title,.wcm-mobile-title{display:flex;align-items:center}.wcm-mobile-title{justify-content:space-between;margin-bottom:20px;margin-top:-10px}.wcm-desktop-title{margin-bottom:10px;padding:0 10px}.wcm-subtitle{display:flex;align-items:center}.wcm-subtitle:last-child path{fill:var(--wcm-color-fg-3)}.wcm-desktop-title svg,.wcm-mobile-title svg{margin-right:6px}.wcm-desktop-title path,.wcm-mobile-title path{fill:var(--wcm-accent-color)}`;
4936
4661
  var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
4937
4662
  var __decorateClass$e = (decorators, target, key, kind) => {
4938
4663
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
4939
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4940
- if (decorator = decorators[i3])
4664
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4665
+ if (decorator = decorators[i2])
4941
4666
  result = decorator(result) || result;
4942
4667
  return result;
4943
4668
  };
4944
- let WcmDesktopWalletSelection = class extends s$1 {
4669
+ let WcmDesktopWalletSelection = class extends s {
4945
4670
  // -- render ------------------------------------------------------- //
4946
4671
  render() {
4947
4672
  const { explorerExcludedWalletIds, enableExplorer } = index.ConfigCtrl.state;
@@ -4964,18 +4689,18 @@ let WcmDesktopWalletSelection = class extends s$1 {
4964
4689
  };
4965
4690
  WcmDesktopWalletSelection.styles = [ThemeUtil.globalCss, styles$c];
4966
4691
  WcmDesktopWalletSelection = __decorateClass$e([
4967
- e$3("wcm-desktop-wallet-selection")
4692
+ e$2("wcm-desktop-wallet-selection")
4968
4693
  ], WcmDesktopWalletSelection);
4969
- const styles$b = i$4`div{background-color:var(--wcm-color-bg-2);padding:10px 20px 15px 20px;border-top:1px solid var(--wcm-color-bg-3);text-align:center}a{color:var(--wcm-accent-color);text-decoration:none;transition:opacity .2s ease-in-out;display:inline}a:active{opacity:.8}@media(hover:hover){a:hover{opacity:.8}}`;
4694
+ const styles$b = i$3`div{background-color:var(--wcm-color-bg-2);padding:10px 20px 15px 20px;border-top:1px solid var(--wcm-color-bg-3);text-align:center}a{color:var(--wcm-accent-color);text-decoration:none;transition:opacity .2s ease-in-out;display:inline}a:active{opacity:.8}@media(hover:hover){a:hover{opacity:.8}}`;
4970
4695
  var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
4971
4696
  var __decorateClass$d = (decorators, target, key, kind) => {
4972
4697
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
4973
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4974
- if (decorator = decorators[i3])
4698
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4699
+ if (decorator = decorators[i2])
4975
4700
  result = decorator(result) || result;
4976
4701
  return result;
4977
4702
  };
4978
- let WcmLegalNotice = class extends s$1 {
4703
+ let WcmLegalNotice = class extends s {
4979
4704
  // -- render ------------------------------------------------------- //
4980
4705
  render() {
4981
4706
  const { termsOfServiceUrl, privacyPolicyUrl } = index.ConfigCtrl.state;
@@ -4988,18 +4713,18 @@ let WcmLegalNotice = class extends s$1 {
4988
4713
  };
4989
4714
  WcmLegalNotice.styles = [ThemeUtil.globalCss, styles$b];
4990
4715
  WcmLegalNotice = __decorateClass$d([
4991
- e$3("wcm-legal-notice")
4716
+ e$2("wcm-legal-notice")
4992
4717
  ], WcmLegalNotice);
4993
- const styles$a = i$4`div{display:grid;grid-template-columns:repeat(4,80px);margin:0 -10px;justify-content:space-between;row-gap:10px}`;
4718
+ const styles$a = i$3`div{display:grid;grid-template-columns:repeat(4,80px);margin:0 -10px;justify-content:space-between;row-gap:10px}`;
4994
4719
  var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
4995
4720
  var __decorateClass$c = (decorators, target, key, kind) => {
4996
4721
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
4997
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4998
- if (decorator = decorators[i3])
4722
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4723
+ if (decorator = decorators[i2])
4999
4724
  result = decorator(result) || result;
5000
4725
  return result;
5001
4726
  };
5002
- let WcmMobileWalletSelection = class extends s$1 {
4727
+ let WcmMobileWalletSelection = class extends s {
5003
4728
  // -- private ------------------------------------------------------ //
5004
4729
  onQrcode() {
5005
4730
  index.RouterCtrl.push("Qrcode");
@@ -5026,21 +4751,21 @@ let WcmMobileWalletSelection = class extends s$1 {
5026
4751
  };
5027
4752
  WcmMobileWalletSelection.styles = [ThemeUtil.globalCss, styles$a];
5028
4753
  WcmMobileWalletSelection = __decorateClass$c([
5029
- e$3("wcm-mobile-wallet-selection")
4754
+ e$2("wcm-mobile-wallet-selection")
5030
4755
  ], WcmMobileWalletSelection);
5031
- const styles$9 = i$4`:host{all:initial}.wcm-overlay{top:0;bottom:0;left:0;right:0;position:fixed;z-index:var(--wcm-z-index);overflow:hidden;display:flex;justify-content:center;align-items:center;opacity:0;pointer-events:none;background-color:var(--wcm-overlay-background-color);backdrop-filter:var(--wcm-overlay-backdrop-filter)}@media(max-height:720px) and (orientation:landscape){.wcm-overlay{overflow:scroll;align-items:flex-start;padding:20px 0}}.wcm-active{pointer-events:auto}.wcm-container{position:relative;max-width:360px;width:100%;outline:0;border-radius:var(--wcm-background-border-radius) var(--wcm-background-border-radius) var(--wcm-container-border-radius) var(--wcm-container-border-radius);border:1px solid var(--wcm-color-overlay);overflow:hidden}.wcm-card{width:100%;position:relative;border-radius:var(--wcm-container-border-radius);overflow:hidden;box-shadow:0 6px 14px -6px rgba(10,16,31,.12),0 10px 32px -4px rgba(10,16,31,.1),0 0 0 1px var(--wcm-color-overlay);background-color:var(--wcm-color-bg-1);color:var(--wcm-color-fg-1)}@media(max-width:600px){.wcm-container{max-width:440px;border-radius:var(--wcm-background-border-radius) var(--wcm-background-border-radius) 0 0}.wcm-card{border-radius:var(--wcm-container-border-radius) var(--wcm-container-border-radius) 0 0}.wcm-overlay{align-items:flex-end}}@media(max-width:440px){.wcm-container{border:0}}`;
4756
+ const styles$9 = i$3`:host{all:initial}.wcm-overlay{top:0;bottom:0;left:0;right:0;position:fixed;z-index:var(--wcm-z-index);overflow:hidden;display:flex;justify-content:center;align-items:center;opacity:0;pointer-events:none;background-color:var(--wcm-overlay-background-color);backdrop-filter:var(--wcm-overlay-backdrop-filter)}@media(max-height:720px) and (orientation:landscape){.wcm-overlay{overflow:scroll;align-items:flex-start;padding:20px 0}}.wcm-active{pointer-events:auto}.wcm-container{position:relative;max-width:360px;width:100%;outline:0;border-radius:var(--wcm-background-border-radius) var(--wcm-background-border-radius) var(--wcm-container-border-radius) var(--wcm-container-border-radius);border:1px solid var(--wcm-color-overlay);overflow:hidden}.wcm-card{width:100%;position:relative;border-radius:var(--wcm-container-border-radius);overflow:hidden;box-shadow:0 6px 14px -6px rgba(10,16,31,.12),0 10px 32px -4px rgba(10,16,31,.1),0 0 0 1px var(--wcm-color-overlay);background-color:var(--wcm-color-bg-1);color:var(--wcm-color-fg-1)}@media(max-width:600px){.wcm-container{max-width:440px;border-radius:var(--wcm-background-border-radius) var(--wcm-background-border-radius) 0 0}.wcm-card{border-radius:var(--wcm-container-border-radius) var(--wcm-container-border-radius) 0 0}.wcm-overlay{align-items:flex-end}}@media(max-width:440px){.wcm-container{border:0}}`;
5032
4757
  var __defProp$b = Object.defineProperty;
5033
4758
  var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
5034
4759
  var __decorateClass$b = (decorators, target, key, kind) => {
5035
4760
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
5036
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5037
- if (decorator = decorators[i3])
4761
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4762
+ if (decorator = decorators[i2])
5038
4763
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5039
4764
  if (kind && result)
5040
4765
  __defProp$b(target, key, result);
5041
4766
  return result;
5042
4767
  };
5043
- exports.WcmModal = class WcmModal extends s$1 {
4768
+ exports.WcmModal = class WcmModal extends s {
5044
4769
  // -- lifecycle ---------------------------------------------------- //
5045
4770
  constructor() {
5046
4771
  super();
@@ -5142,32 +4867,32 @@ exports.WcmModal = class WcmModal extends s$1 {
5142
4867
  "wcm-overlay": true,
5143
4868
  "wcm-active": this.active
5144
4869
  };
5145
- return x`<wcm-explorer-context></wcm-explorer-context><wcm-theme-context></wcm-theme-context><div id="wcm-modal" class="${o$1(classes)}" @click="${this.onCloseModal}" role="alertdialog" aria-modal="true"><div class="wcm-container" tabindex="0">${this.open ? x`<wcm-modal-backcard></wcm-modal-backcard><div class="wcm-card"><wcm-modal-router></wcm-modal-router><wcm-modal-toast></wcm-modal-toast></div>` : null}</div></div>`;
4870
+ return x`<wcm-explorer-context></wcm-explorer-context><wcm-theme-context></wcm-theme-context><div id="wcm-modal" class="${o2(classes)}" @click="${this.onCloseModal}" role="alertdialog" aria-modal="true"><div class="wcm-container" tabindex="0">${this.open ? x`<wcm-modal-backcard></wcm-modal-backcard><div class="wcm-card"><wcm-modal-router></wcm-modal-router><wcm-modal-toast></wcm-modal-toast></div>` : null}</div></div>`;
5146
4871
  }
5147
4872
  };
5148
4873
  exports.WcmModal.styles = [ThemeUtil.globalCss, styles$9];
5149
4874
  __decorateClass$b([
5150
- t$2()
4875
+ t$1()
5151
4876
  ], exports.WcmModal.prototype, "open", 2);
5152
4877
  __decorateClass$b([
5153
- t$2()
4878
+ t$1()
5154
4879
  ], exports.WcmModal.prototype, "active", 2);
5155
4880
  exports.WcmModal = __decorateClass$b([
5156
- e$3("wcm-modal")
4881
+ e$2("wcm-modal")
5157
4882
  ], exports.WcmModal);
5158
- const styles$8 = i$4`div{display:flex;margin-top:15px}slot{display:inline-block;margin:0 5px}wcm-button{margin:0 5px}`;
4883
+ const styles$8 = i$3`div{display:flex;margin-top:15px}slot{display:inline-block;margin:0 5px}wcm-button{margin:0 5px}`;
5159
4884
  var __defProp$a = Object.defineProperty;
5160
4885
  var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
5161
4886
  var __decorateClass$a = (decorators, target, key, kind) => {
5162
4887
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
5163
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5164
- if (decorator = decorators[i3])
4888
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4889
+ if (decorator = decorators[i2])
5165
4890
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5166
4891
  if (kind && result)
5167
4892
  __defProp$a(target, key, result);
5168
4893
  return result;
5169
4894
  };
5170
- let WcmPlatformSelection = class extends s$1 {
4895
+ let WcmPlatformSelection = class extends s {
5171
4896
  constructor() {
5172
4897
  super(...arguments);
5173
4898
  this.isMobile = false;
@@ -5197,30 +4922,30 @@ let WcmPlatformSelection = class extends s$1 {
5197
4922
  };
5198
4923
  WcmPlatformSelection.styles = [ThemeUtil.globalCss, styles$8];
5199
4924
  __decorateClass$a([
5200
- n$2({ type: Boolean })
4925
+ n$1({ type: Boolean })
5201
4926
  ], WcmPlatformSelection.prototype, "isMobile", 2);
5202
4927
  __decorateClass$a([
5203
- n$2({ type: Boolean })
4928
+ n$1({ type: Boolean })
5204
4929
  ], WcmPlatformSelection.prototype, "isDesktop", 2);
5205
4930
  __decorateClass$a([
5206
- n$2({ type: Boolean })
4931
+ n$1({ type: Boolean })
5207
4932
  ], WcmPlatformSelection.prototype, "isWeb", 2);
5208
4933
  __decorateClass$a([
5209
- n$2({ type: Boolean })
4934
+ n$1({ type: Boolean })
5210
4935
  ], WcmPlatformSelection.prototype, "isRetry", 2);
5211
4936
  WcmPlatformSelection = __decorateClass$a([
5212
- e$3("wcm-platform-selection")
4937
+ e$2("wcm-platform-selection")
5213
4938
  ], WcmPlatformSelection);
5214
- const styles$7 = i$4`button{display:flex;flex-direction:column;padding:5px 10px;border-radius:var(--wcm-button-hover-highlight-border-radius);height:100%;justify-content:flex-start}.wcm-icons{width:60px;height:60px;display:flex;flex-wrap:wrap;padding:7px;border-radius:var(--wcm-wallet-icon-border-radius);justify-content:space-between;align-items:center;margin-bottom:5px;background-color:var(--wcm-color-bg-2);box-shadow:inset 0 0 0 1px var(--wcm-color-overlay)}button:active{background-color:var(--wcm-color-overlay)}@media(hover:hover){button:hover{background-color:var(--wcm-color-overlay)}}.wcm-icons img{width:21px;height:21px;object-fit:cover;object-position:center;border-radius:calc(var(--wcm-wallet-icon-border-radius)/ 2);border:1px solid var(--wcm-color-overlay)}.wcm-icons svg{width:21px;height:21px}.wcm-icons img:nth-child(1),.wcm-icons img:nth-child(2),.wcm-icons svg:nth-child(1),.wcm-icons svg:nth-child(2){margin-bottom:4px}wcm-text{width:100%;text-align:center}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`;
4939
+ const styles$7 = i$3`button{display:flex;flex-direction:column;padding:5px 10px;border-radius:var(--wcm-button-hover-highlight-border-radius);height:100%;justify-content:flex-start}.wcm-icons{width:60px;height:60px;display:flex;flex-wrap:wrap;padding:7px;border-radius:var(--wcm-wallet-icon-border-radius);justify-content:space-between;align-items:center;margin-bottom:5px;background-color:var(--wcm-color-bg-2);box-shadow:inset 0 0 0 1px var(--wcm-color-overlay)}button:active{background-color:var(--wcm-color-overlay)}@media(hover:hover){button:hover{background-color:var(--wcm-color-overlay)}}.wcm-icons img{width:21px;height:21px;object-fit:cover;object-position:center;border-radius:calc(var(--wcm-wallet-icon-border-radius)/ 2);border:1px solid var(--wcm-color-overlay)}.wcm-icons svg{width:21px;height:21px}.wcm-icons img:nth-child(1),.wcm-icons img:nth-child(2),.wcm-icons svg:nth-child(1),.wcm-icons svg:nth-child(2){margin-bottom:4px}wcm-text{width:100%;text-align:center}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`;
5215
4940
  var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
5216
4941
  var __decorateClass$9 = (decorators, target, key, kind) => {
5217
4942
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
5218
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5219
- if (decorator = decorators[i3])
4943
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4944
+ if (decorator = decorators[i2])
5220
4945
  result = decorator(result) || result;
5221
4946
  return result;
5222
4947
  };
5223
- let WcmViewAllWalletsButton = class extends s$1 {
4948
+ let WcmViewAllWalletsButton = class extends s {
5224
4949
  // -- render ------------------------------------------------------- //
5225
4950
  onClick() {
5226
4951
  index.RouterCtrl.push("WalletExplorer");
@@ -5242,21 +4967,21 @@ let WcmViewAllWalletsButton = class extends s$1 {
5242
4967
  };
5243
4968
  WcmViewAllWalletsButton.styles = [ThemeUtil.globalCss, styles$7];
5244
4969
  WcmViewAllWalletsButton = __decorateClass$9([
5245
- e$3("wcm-view-all-wallets-button")
4970
+ e$2("wcm-view-all-wallets-button")
5246
4971
  ], WcmViewAllWalletsButton);
5247
- const styles$6 = i$4`.wcm-qr-container{width:100%;display:flex;justify-content:center;align-items:center;aspect-ratio:1/1}`;
4972
+ const styles$6 = i$3`.wcm-qr-container{width:100%;display:flex;justify-content:center;align-items:center;aspect-ratio:1/1}`;
5248
4973
  var __defProp$8 = Object.defineProperty;
5249
4974
  var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
5250
4975
  var __decorateClass$8 = (decorators, target, key, kind) => {
5251
4976
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
5252
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5253
- if (decorator = decorators[i3])
4977
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4978
+ if (decorator = decorators[i2])
5254
4979
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5255
4980
  if (kind && result)
5256
4981
  __defProp$8(target, key, result);
5257
4982
  return result;
5258
4983
  };
5259
- let WcmWalletConnectQr = class extends s$1 {
4984
+ let WcmWalletConnectQr = class extends s {
5260
4985
  // -- lifecycle ---------------------------------------------------- //
5261
4986
  constructor() {
5262
4987
  super();
@@ -5279,26 +5004,26 @@ let WcmWalletConnectQr = class extends s$1 {
5279
5004
  };
5280
5005
  WcmWalletConnectQr.styles = [ThemeUtil.globalCss, styles$6];
5281
5006
  __decorateClass$8([
5282
- n$2()
5007
+ n$1()
5283
5008
  ], WcmWalletConnectQr.prototype, "walletId", 2);
5284
5009
  __decorateClass$8([
5285
- n$2()
5010
+ n$1()
5286
5011
  ], WcmWalletConnectQr.prototype, "imageId", 2);
5287
5012
  __decorateClass$8([
5288
- t$2()
5013
+ t$1()
5289
5014
  ], WcmWalletConnectQr.prototype, "uri", 2);
5290
5015
  WcmWalletConnectQr = __decorateClass$8([
5291
- e$3("wcm-walletconnect-qr")
5016
+ e$2("wcm-walletconnect-qr")
5292
5017
  ], WcmWalletConnectQr);
5293
5018
  var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
5294
5019
  var __decorateClass$7 = (decorators, target, key, kind) => {
5295
5020
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
5296
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5297
- if (decorator = decorators[i3])
5021
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5022
+ if (decorator = decorators[i2])
5298
5023
  result = decorator(result) || result;
5299
5024
  return result;
5300
5025
  };
5301
- let WcmConnectWalletView = class extends s$1 {
5026
+ let WcmConnectWalletView = class extends s {
5302
5027
  // -- private ------------------------------------------------------ //
5303
5028
  viewTemplate() {
5304
5029
  if (index.CoreUtil.isAndroid() && !index.CoreUtil.isTelegram()) {
@@ -5316,21 +5041,21 @@ let WcmConnectWalletView = class extends s$1 {
5316
5041
  };
5317
5042
  WcmConnectWalletView.styles = [ThemeUtil.globalCss];
5318
5043
  WcmConnectWalletView = __decorateClass$7([
5319
- e$3("wcm-connect-wallet-view")
5044
+ e$2("wcm-connect-wallet-view")
5320
5045
  ], WcmConnectWalletView);
5321
- const styles$5 = i$4`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`;
5046
+ const styles$5 = i$3`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`;
5322
5047
  var __defProp$6 = Object.defineProperty;
5323
5048
  var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
5324
5049
  var __decorateClass$6 = (decorators, target, key, kind) => {
5325
5050
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
5326
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5327
- if (decorator = decorators[i3])
5051
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5052
+ if (decorator = decorators[i2])
5328
5053
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5329
5054
  if (kind && result)
5330
5055
  __defProp$6(target, key, result);
5331
5056
  return result;
5332
5057
  };
5333
- let WcmDesktopConnectingView = class extends s$1 {
5058
+ let WcmDesktopConnectingView = class extends s {
5334
5059
  // -- lifecycle ---------------------------------------------------- //
5335
5060
  constructor() {
5336
5061
  super();
@@ -5367,21 +5092,21 @@ let WcmDesktopConnectingView = class extends s$1 {
5367
5092
  };
5368
5093
  WcmDesktopConnectingView.styles = [ThemeUtil.globalCss, styles$5];
5369
5094
  __decorateClass$6([
5370
- t$2()
5095
+ t$1()
5371
5096
  ], WcmDesktopConnectingView.prototype, "isError", 2);
5372
5097
  WcmDesktopConnectingView = __decorateClass$6([
5373
- e$3("wcm-desktop-connecting-view")
5098
+ e$2("wcm-desktop-connecting-view")
5374
5099
  ], WcmDesktopConnectingView);
5375
- const styles$4 = i$4`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}wcm-button{margin-top:15px}`;
5100
+ const styles$4 = i$3`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}wcm-button{margin-top:15px}`;
5376
5101
  var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
5377
5102
  var __decorateClass$5 = (decorators, target, key, kind) => {
5378
5103
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;
5379
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5380
- if (decorator = decorators[i3])
5104
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5105
+ if (decorator = decorators[i2])
5381
5106
  result = decorator(result) || result;
5382
5107
  return result;
5383
5108
  };
5384
- let WcmInstallWalletView = class extends s$1 {
5109
+ let WcmInstallWalletView = class extends s {
5385
5110
  // -- private ------------------------------------------------------ //
5386
5111
  onInstall(uri) {
5387
5112
  if (uri) {
@@ -5396,21 +5121,21 @@ let WcmInstallWalletView = class extends s$1 {
5396
5121
  };
5397
5122
  WcmInstallWalletView.styles = [ThemeUtil.globalCss, styles$4];
5398
5123
  WcmInstallWalletView = __decorateClass$5([
5399
- e$3("wcm-install-wallet-view")
5124
+ e$2("wcm-install-wallet-view")
5400
5125
  ], WcmInstallWalletView);
5401
- const styles$3 = i$4`wcm-wallet-image{border-radius:var(--wcm-wallet-icon-large-border-radius);width:96px;height:96px;margin-bottom:20px}wcm-info-footer{display:flex;width:100%}.wcm-app-store{justify-content:space-between}.wcm-app-store wcm-wallet-image{margin-right:10px;margin-bottom:0;width:28px;height:28px;border-radius:var(--wcm-wallet-icon-small-border-radius)}.wcm-app-store div{display:flex;align-items:center}.wcm-app-store wcm-button{margin-right:-10px}.wcm-note{flex-direction:column;align-items:center;padding:5px 0}.wcm-note wcm-text{text-align:center}wcm-platform-selection{margin-top:-15px}.wcm-note wcm-text{margin-top:15px}.wcm-note wcm-text span{color:var(--wcm-accent-color)}`;
5126
+ const styles$3 = i$3`wcm-wallet-image{border-radius:var(--wcm-wallet-icon-large-border-radius);width:96px;height:96px;margin-bottom:20px}wcm-info-footer{display:flex;width:100%}.wcm-app-store{justify-content:space-between}.wcm-app-store wcm-wallet-image{margin-right:10px;margin-bottom:0;width:28px;height:28px;border-radius:var(--wcm-wallet-icon-small-border-radius)}.wcm-app-store div{display:flex;align-items:center}.wcm-app-store wcm-button{margin-right:-10px}.wcm-note{flex-direction:column;align-items:center;padding:5px 0}.wcm-note wcm-text{text-align:center}wcm-platform-selection{margin-top:-15px}.wcm-note wcm-text{margin-top:15px}.wcm-note wcm-text span{color:var(--wcm-accent-color)}`;
5402
5127
  var __defProp$4 = Object.defineProperty;
5403
5128
  var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;
5404
5129
  var __decorateClass$4 = (decorators, target, key, kind) => {
5405
5130
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;
5406
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5407
- if (decorator = decorators[i3])
5131
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5132
+ if (decorator = decorators[i2])
5408
5133
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5409
5134
  if (kind && result)
5410
5135
  __defProp$4(target, key, result);
5411
5136
  return result;
5412
5137
  };
5413
- let WcmMobileConnectingView = class extends s$1 {
5138
+ let WcmMobileConnectingView = class extends s {
5414
5139
  // -- lifecycle ---------------------------------------------------- //
5415
5140
  constructor() {
5416
5141
  super();
@@ -5456,21 +5181,21 @@ let WcmMobileConnectingView = class extends s$1 {
5456
5181
  };
5457
5182
  WcmMobileConnectingView.styles = [ThemeUtil.globalCss, styles$3];
5458
5183
  __decorateClass$4([
5459
- t$2()
5184
+ t$1()
5460
5185
  ], WcmMobileConnectingView.prototype, "isError", 2);
5461
5186
  WcmMobileConnectingView = __decorateClass$4([
5462
- e$3("wcm-mobile-connecting-view")
5187
+ e$2("wcm-mobile-connecting-view")
5463
5188
  ], WcmMobileConnectingView);
5464
- const styles$2 = i$4`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`;
5189
+ const styles$2 = i$3`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`;
5465
5190
  var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
5466
5191
  var __decorateClass$3 = (decorators, target, key, kind) => {
5467
5192
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;
5468
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5469
- if (decorator = decorators[i3])
5193
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5194
+ if (decorator = decorators[i2])
5470
5195
  result = decorator(result) || result;
5471
5196
  return result;
5472
5197
  };
5473
- let WcmMobileQrConnectingView = class extends s$1 {
5198
+ let WcmMobileQrConnectingView = class extends s {
5474
5199
  // -- render ------------------------------------------------------- //
5475
5200
  render() {
5476
5201
  const { name, id, image_id } = index.CoreUtil.getWalletRouterData();
@@ -5480,17 +5205,17 @@ let WcmMobileQrConnectingView = class extends s$1 {
5480
5205
  };
5481
5206
  WcmMobileQrConnectingView.styles = [ThemeUtil.globalCss, styles$2];
5482
5207
  WcmMobileQrConnectingView = __decorateClass$3([
5483
- e$3("wcm-mobile-qr-connecting-view")
5208
+ e$2("wcm-mobile-qr-connecting-view")
5484
5209
  ], WcmMobileQrConnectingView);
5485
5210
  var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;
5486
5211
  var __decorateClass$2 = (decorators, target, key, kind) => {
5487
5212
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;
5488
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5489
- if (decorator = decorators[i3])
5213
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5214
+ if (decorator = decorators[i2])
5490
5215
  result = decorator(result) || result;
5491
5216
  return result;
5492
5217
  };
5493
- let WcmQrcodeView = class extends s$1 {
5218
+ let WcmQrcodeView = class extends s {
5494
5219
  // -- render ------------------------------------------------------- //
5495
5220
  render() {
5496
5221
  return x`<wcm-modal-header title="Scan the code" .onAction="${UiUtil.handleUriCopy}" .actionIcon="${SvgUtil.COPY_ICON}"></wcm-modal-header><wcm-modal-content><wcm-walletconnect-qr></wcm-walletconnect-qr></wcm-modal-content>`;
@@ -5498,22 +5223,22 @@ let WcmQrcodeView = class extends s$1 {
5498
5223
  };
5499
5224
  WcmQrcodeView.styles = [ThemeUtil.globalCss];
5500
5225
  WcmQrcodeView = __decorateClass$2([
5501
- e$3("wcm-qrcode-view")
5226
+ e$2("wcm-qrcode-view")
5502
5227
  ], WcmQrcodeView);
5503
- const styles$1 = i$4`wcm-modal-content{height:clamp(200px,60vh,600px);display:block;overflow:scroll;scrollbar-width:none;position:relative;margin-top:1px}.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between;margin:-15px -10px;padding-top:20px}wcm-modal-content::after,wcm-modal-content::before{content:'';position:fixed;pointer-events:none;z-index:1;width:100%;height:20px;opacity:1}wcm-modal-content::before{box-shadow:0 -1px 0 0 var(--wcm-color-bg-1);background:linear-gradient(var(--wcm-color-bg-1),rgba(255,255,255,0))}wcm-modal-content::after{box-shadow:0 1px 0 0 var(--wcm-color-bg-1);background:linear-gradient(rgba(255,255,255,0),var(--wcm-color-bg-1));top:calc(100% - 20px)}wcm-modal-content::-webkit-scrollbar{display:none}.wcm-placeholder-block{display:flex;justify-content:center;align-items:center;height:100px;overflow:hidden}.wcm-empty,.wcm-loading{display:flex}.wcm-loading .wcm-placeholder-block{height:100%}.wcm-end-reached .wcm-placeholder-block{height:0;opacity:0}.wcm-empty .wcm-placeholder-block{opacity:1;height:100%}wcm-wallet-button{margin:calc((100% - 60px)/ 3) 0}`;
5228
+ const styles$1 = i$3`wcm-modal-content{height:clamp(200px,60vh,600px);display:block;overflow:scroll;scrollbar-width:none;position:relative;margin-top:1px}.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between;margin:-15px -10px;padding-top:20px}wcm-modal-content::after,wcm-modal-content::before{content:'';position:fixed;pointer-events:none;z-index:1;width:100%;height:20px;opacity:1}wcm-modal-content::before{box-shadow:0 -1px 0 0 var(--wcm-color-bg-1);background:linear-gradient(var(--wcm-color-bg-1),rgba(255,255,255,0))}wcm-modal-content::after{box-shadow:0 1px 0 0 var(--wcm-color-bg-1);background:linear-gradient(rgba(255,255,255,0),var(--wcm-color-bg-1));top:calc(100% - 20px)}wcm-modal-content::-webkit-scrollbar{display:none}.wcm-placeholder-block{display:flex;justify-content:center;align-items:center;height:100px;overflow:hidden}.wcm-empty,.wcm-loading{display:flex}.wcm-loading .wcm-placeholder-block{height:100%}.wcm-end-reached .wcm-placeholder-block{height:0;opacity:0}.wcm-empty .wcm-placeholder-block{opacity:1;height:100%}wcm-wallet-button{margin:calc((100% - 60px)/ 3) 0}`;
5504
5229
  var __defProp$1 = Object.defineProperty;
5505
5230
  var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
5506
5231
  var __decorateClass$1 = (decorators, target, key, kind) => {
5507
5232
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;
5508
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5509
- if (decorator = decorators[i3])
5233
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5234
+ if (decorator = decorators[i2])
5510
5235
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5511
5236
  if (kind && result)
5512
5237
  __defProp$1(target, key, result);
5513
5238
  return result;
5514
5239
  };
5515
5240
  const PAGE_ENTRIES = 40;
5516
- let WcmWalletExplorerView = class extends s$1 {
5241
+ let WcmWalletExplorerView = class extends s {
5517
5242
  constructor() {
5518
5243
  super(...arguments);
5519
5244
  this.loading = !index.ExplorerCtrl.state.wallets.listings.length;
@@ -5623,40 +5348,40 @@ let WcmWalletExplorerView = class extends s$1 {
5623
5348
  "wcm-end-reached": this.endReached || !this.loading,
5624
5349
  "wcm-empty": isEmpty
5625
5350
  };
5626
- return x`<wcm-modal-header><wcm-search-input .onChange="${this.onSearchChange.bind(this)}"></wcm-search-input></wcm-modal-header><wcm-modal-content class="${o$1(classes)}"><div class="wcm-grid">${isLoading ? null : manualWallets} ${isLoading ? null : recomendedWallets} ${isLoading ? null : listings.map(
5351
+ return x`<wcm-modal-header><wcm-search-input .onChange="${this.onSearchChange.bind(this)}"></wcm-search-input></wcm-modal-header><wcm-modal-content class="${o2(classes)}"><div class="wcm-grid">${isLoading ? null : manualWallets} ${isLoading ? null : recomendedWallets} ${isLoading ? null : listings.map(
5627
5352
  (listing) => x`${listing ? x`<wcm-wallet-button imageId="${listing.image_id}" name="${listing.name}" walletId="${listing.id}" .onClick="${() => this.onConnect(listing)}"></wcm-wallet-button>` : null}`
5628
5353
  )}</div><div class="wcm-placeholder-block">${isEmpty ? x`<wcm-text variant="big-bold" color="secondary">No results found</wcm-text>` : null} ${!isEmpty && this.loading ? x`<wcm-spinner></wcm-spinner>` : null}</div></wcm-modal-content>`;
5629
5354
  }
5630
5355
  };
5631
5356
  WcmWalletExplorerView.styles = [ThemeUtil.globalCss, styles$1];
5632
5357
  __decorateClass$1([
5633
- t$2()
5358
+ t$1()
5634
5359
  ], WcmWalletExplorerView.prototype, "loading", 2);
5635
5360
  __decorateClass$1([
5636
- t$2()
5361
+ t$1()
5637
5362
  ], WcmWalletExplorerView.prototype, "firstFetch", 2);
5638
5363
  __decorateClass$1([
5639
- t$2()
5364
+ t$1()
5640
5365
  ], WcmWalletExplorerView.prototype, "search", 2);
5641
5366
  __decorateClass$1([
5642
- t$2()
5367
+ t$1()
5643
5368
  ], WcmWalletExplorerView.prototype, "endReached", 2);
5644
5369
  WcmWalletExplorerView = __decorateClass$1([
5645
- e$3("wcm-wallet-explorer-view")
5370
+ e$2("wcm-wallet-explorer-view")
5646
5371
  ], WcmWalletExplorerView);
5647
- const styles = i$4`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`;
5372
+ const styles = i$3`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`;
5648
5373
  var __defProp = Object.defineProperty;
5649
5374
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5650
5375
  var __decorateClass = (decorators, target, key, kind) => {
5651
5376
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
5652
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5653
- if (decorator = decorators[i3])
5377
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5378
+ if (decorator = decorators[i2])
5654
5379
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5655
5380
  if (kind && result)
5656
5381
  __defProp(target, key, result);
5657
5382
  return result;
5658
5383
  };
5659
- let WcmWebConnectingView = class extends s$1 {
5384
+ let WcmWebConnectingView = class extends s {
5660
5385
  // -- lifecycle ---------------------------------------------------- //
5661
5386
  constructor() {
5662
5387
  super();
@@ -5690,9 +5415,9 @@ let WcmWebConnectingView = class extends s$1 {
5690
5415
  };
5691
5416
  WcmWebConnectingView.styles = [ThemeUtil.globalCss, styles];
5692
5417
  __decorateClass([
5693
- t$2()
5418
+ t$1()
5694
5419
  ], WcmWebConnectingView.prototype, "isError", 2);
5695
5420
  WcmWebConnectingView = __decorateClass([
5696
- e$3("wcm-web-connecting-view")
5421
+ e$2("wcm-web-connecting-view")
5697
5422
  ], WcmWebConnectingView);
5698
- //# sourceMappingURL=index-AsrjoTPW.cjs.map
5423
+ //# sourceMappingURL=index-CQwJsubu.cjs.map