@rash2x/bridge-widget 0.6.49 → 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,21 +1,16 @@
1
- import { g as getDefaultExportFromCjs, M as ModalCtrl, R as RouterCtrl, T as ToastCtrl, a as ThemeCtrl, E as EventsCtrl, b as ExplorerCtrl, C as ConfigCtrl, c as CoreUtil, O as OptionsCtrl } from "./index-CumyB0Wj.js";
2
- /**
3
- * @license
4
- * Copyright 2019 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
6
- */
7
- 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();
8
- let o$5 = class o {
1
+ import { g as getDefaultExportFromCjs, M as ModalCtrl, R as RouterCtrl, T as ToastCtrl, a as ThemeCtrl, E as EventsCtrl, b as ExplorerCtrl, C as ConfigCtrl, c as CoreUtil, O as OptionsCtrl } from "./index-CvJ9R4nQ.js";
2
+ 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();
3
+ let o$4 = class o {
9
4
  constructor(t2, e2, n2) {
10
- if (this._$cssResult$ = true, n2 !== s$4) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
5
+ if (this._$cssResult$ = true, n2 !== s$3) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
11
6
  this.cssText = t2, this.t = e2;
12
7
  }
13
8
  get styleSheet() {
14
9
  let t2 = this.o;
15
- const s3 = this.t;
16
- if (e$6 && void 0 === t2) {
17
- const e2 = void 0 !== s3 && 1 === s3.length;
18
- e2 && (t2 = n$6.get(s3)), void 0 === t2 && ((this.o = t2 = new CSSStyleSheet()).replaceSync(this.cssText), e2 && n$6.set(s3, t2));
10
+ const s2 = this.t;
11
+ if (e$5 && void 0 === t2) {
12
+ const e2 = void 0 !== s2 && 1 === s2.length;
13
+ e2 && (t2 = n$5.get(s2)), void 0 === t2 && ((this.o = t2 = new CSSStyleSheet()).replaceSync(this.cssText), e2 && n$5.set(s2, t2));
19
14
  }
20
15
  return t2;
21
16
  }
@@ -23,140 +18,135 @@ let o$5 = class o {
23
18
  return this.cssText;
24
19
  }
25
20
  };
26
- const r$3 = (t2) => new o$5("string" == typeof t2 ? t2 : t2 + "", void 0, s$4), i$4 = (t2, ...e2) => {
27
- const n2 = 1 === t2.length ? t2[0] : e2.reduce(((e3, s3, n3) => e3 + ((t3) => {
21
+ const r$2 = (t2) => new o$4("string" == typeof t2 ? t2 : t2 + "", void 0, s$3), i$3 = (t2, ...e2) => {
22
+ const n2 = 1 === t2.length ? t2[0] : e2.reduce(((e3, s2, n3) => e3 + ((t3) => {
28
23
  if (true === t3._$cssResult$) return t3.cssText;
29
24
  if ("number" == typeof t3) return t3;
30
25
  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.");
31
- })(s3) + t2[n3 + 1]), t2[0]);
32
- return new o$5(n2, t2, s$4);
33
- }, S$2 = (s3, n2) => {
34
- e$6 ? s3.adoptedStyleSheets = n2.map(((t2) => t2 instanceof CSSStyleSheet ? t2 : t2.styleSheet)) : n2.forEach(((e2) => {
35
- const n3 = document.createElement("style"), o3 = t$4.litNonce;
36
- void 0 !== o3 && n3.setAttribute("nonce", o3), n3.textContent = e2.cssText, s3.appendChild(n3);
26
+ })(s2) + t2[n3 + 1]), t2[0]);
27
+ return new o$4(n2, t2, s$3);
28
+ }, S$1 = (s2, n2) => {
29
+ e$5 ? s2.adoptedStyleSheets = n2.map(((t2) => t2 instanceof CSSStyleSheet ? t2 : t2.styleSheet)) : n2.forEach(((e2) => {
30
+ const n3 = document.createElement("style"), o3 = t$3.litNonce;
31
+ void 0 !== o3 && n3.setAttribute("nonce", o3), n3.textContent = e2.cssText, s2.appendChild(n3);
37
32
  }));
38
- }, c$2 = e$6 ? (t2) => t2 : (t2) => t2 instanceof CSSStyleSheet ? ((t3) => {
33
+ }, c$1 = e$5 ? (t2) => t2 : (t2) => t2 instanceof CSSStyleSheet ? ((t3) => {
39
34
  let e2 = "";
40
- for (const s3 of t3.cssRules) e2 += s3.cssText;
41
- return r$3(e2);
35
+ for (const s2 of t3.cssRules) e2 += s2.cssText;
36
+ return r$2(e2);
42
37
  })(t2) : t2;
43
- /**
44
- * @license
45
- * Copyright 2017 Google LLC
46
- * SPDX-License-Identifier: BSD-3-Clause
47
- */
48
- var s$3;
49
- 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) {
50
- switch (i3) {
38
+ var s$2;
39
+ 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) {
40
+ switch (i2) {
51
41
  case Boolean:
52
- t2 = t2 ? h$2 : null;
42
+ t2 = t2 ? h$1 : null;
53
43
  break;
54
44
  case Object:
55
45
  case Array:
56
46
  t2 = null == t2 ? t2 : JSON.stringify(t2);
57
47
  }
58
48
  return t2;
59
- }, fromAttribute(t2, i3) {
60
- let s3 = t2;
61
- switch (i3) {
49
+ }, fromAttribute(t2, i2) {
50
+ let s2 = t2;
51
+ switch (i2) {
62
52
  case Boolean:
63
- s3 = null !== t2;
53
+ s2 = null !== t2;
64
54
  break;
65
55
  case Number:
66
- s3 = null === t2 ? null : Number(t2);
56
+ s2 = null === t2 ? null : Number(t2);
67
57
  break;
68
58
  case Object:
69
59
  case Array:
70
60
  try {
71
- s3 = JSON.parse(t2);
61
+ s2 = JSON.parse(t2);
72
62
  } catch (t3) {
73
- s3 = null;
63
+ s2 = null;
74
64
  }
75
65
  }
76
- return s3;
77
- } }, 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";
78
- let u$2 = class u extends HTMLElement {
66
+ return s2;
67
+ } }, 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";
68
+ let u$1 = class u extends HTMLElement {
79
69
  constructor() {
80
70
  super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = false, this.hasUpdated = false, this._$El = null, this._$Eu();
81
71
  }
82
72
  static addInitializer(t2) {
83
- var i3;
84
- this.finalize(), (null !== (i3 = this.h) && void 0 !== i3 ? i3 : this.h = []).push(t2);
73
+ var i2;
74
+ this.finalize(), (null !== (i2 = this.h) && void 0 !== i2 ? i2 : this.h = []).push(t2);
85
75
  }
86
76
  static get observedAttributes() {
87
77
  this.finalize();
88
78
  const t2 = [];
89
- return this.elementProperties.forEach(((i3, s3) => {
90
- const e2 = this._$Ep(s3, i3);
91
- void 0 !== e2 && (this._$Ev.set(e2, s3), t2.push(e2));
79
+ return this.elementProperties.forEach(((i2, s2) => {
80
+ const e2 = this._$Ep(s2, i2);
81
+ void 0 !== e2 && (this._$Ev.set(e2, s2), t2.push(e2));
92
82
  })), t2;
93
83
  }
94
- static createProperty(t2, i3 = l$4) {
95
- if (i3.state && (i3.attribute = false), this.finalize(), this.elementProperties.set(t2, i3), !i3.noAccessor && !this.prototype.hasOwnProperty(t2)) {
96
- const s3 = "symbol" == typeof t2 ? Symbol() : "__" + t2, e2 = this.getPropertyDescriptor(t2, s3, i3);
84
+ static createProperty(t2, i2 = l$3) {
85
+ if (i2.state && (i2.attribute = false), this.finalize(), this.elementProperties.set(t2, i2), !i2.noAccessor && !this.prototype.hasOwnProperty(t2)) {
86
+ const s2 = "symbol" == typeof t2 ? /* @__PURE__ */ Symbol() : "__" + t2, e2 = this.getPropertyDescriptor(t2, s2, i2);
97
87
  void 0 !== e2 && Object.defineProperty(this.prototype, t2, e2);
98
88
  }
99
89
  }
100
- static getPropertyDescriptor(t2, i3, s3) {
90
+ static getPropertyDescriptor(t2, i2, s2) {
101
91
  return { get() {
102
- return this[i3];
92
+ return this[i2];
103
93
  }, set(e2) {
104
94
  const r2 = this[t2];
105
- this[i3] = e2, this.requestUpdate(t2, r2, s3);
95
+ this[i2] = e2, this.requestUpdate(t2, r2, s2);
106
96
  }, configurable: true, enumerable: true };
107
97
  }
108
98
  static getPropertyOptions(t2) {
109
- return this.elementProperties.get(t2) || l$4;
99
+ return this.elementProperties.get(t2) || l$3;
110
100
  }
111
101
  static finalize() {
112
- if (this.hasOwnProperty(d$2)) return false;
113
- this[d$2] = true;
102
+ if (this.hasOwnProperty(d$1)) return false;
103
+ this[d$1] = true;
114
104
  const t2 = Object.getPrototypeOf(this);
115
105
  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")) {
116
- const t3 = this.properties, i3 = [...Object.getOwnPropertyNames(t3), ...Object.getOwnPropertySymbols(t3)];
117
- for (const s3 of i3) this.createProperty(s3, t3[s3]);
106
+ const t3 = this.properties, i2 = [...Object.getOwnPropertyNames(t3), ...Object.getOwnPropertySymbols(t3)];
107
+ for (const s2 of i2) this.createProperty(s2, t3[s2]);
118
108
  }
119
109
  return this.elementStyles = this.finalizeStyles(this.styles), true;
120
110
  }
121
- static finalizeStyles(i3) {
122
- const s3 = [];
123
- if (Array.isArray(i3)) {
124
- const e2 = new Set(i3.flat(1 / 0).reverse());
125
- for (const i4 of e2) s3.unshift(c$2(i4));
126
- } else void 0 !== i3 && s3.push(c$2(i3));
127
- return s3;
111
+ static finalizeStyles(i2) {
112
+ const s2 = [];
113
+ if (Array.isArray(i2)) {
114
+ const e2 = new Set(i2.flat(1 / 0).reverse());
115
+ for (const i3 of e2) s2.unshift(c$1(i3));
116
+ } else void 0 !== i2 && s2.push(c$1(i2));
117
+ return s2;
128
118
  }
129
- static _$Ep(t2, i3) {
130
- const s3 = i3.attribute;
131
- return false === s3 ? void 0 : "string" == typeof s3 ? s3 : "string" == typeof t2 ? t2.toLowerCase() : void 0;
119
+ static _$Ep(t2, i2) {
120
+ const s2 = i2.attribute;
121
+ return false === s2 ? void 0 : "string" == typeof s2 ? s2 : "string" == typeof t2 ? t2.toLowerCase() : void 0;
132
122
  }
133
123
  _$Eu() {
134
124
  var t2;
135
125
  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)));
136
126
  }
137
127
  addController(t2) {
138
- var i3, s3;
139
- (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));
128
+ var i2, s2;
129
+ (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));
140
130
  }
141
131
  removeController(t2) {
142
- var i3;
143
- null === (i3 = this._$ES) || void 0 === i3 || i3.splice(this._$ES.indexOf(t2) >>> 0, 1);
132
+ var i2;
133
+ null === (i2 = this._$ES) || void 0 === i2 || i2.splice(this._$ES.indexOf(t2) >>> 0, 1);
144
134
  }
145
135
  _$Eg() {
146
- this.constructor.elementProperties.forEach(((t2, i3) => {
147
- this.hasOwnProperty(i3) && (this._$Ei.set(i3, this[i3]), delete this[i3]);
136
+ this.constructor.elementProperties.forEach(((t2, i2) => {
137
+ this.hasOwnProperty(i2) && (this._$Ei.set(i2, this[i2]), delete this[i2]);
148
138
  }));
149
139
  }
150
140
  createRenderRoot() {
151
141
  var t2;
152
- const s3 = null !== (t2 = this.shadowRoot) && void 0 !== t2 ? t2 : this.attachShadow(this.constructor.shadowRootOptions);
153
- return S$2(s3, this.constructor.elementStyles), s3;
142
+ const s2 = null !== (t2 = this.shadowRoot) && void 0 !== t2 ? t2 : this.attachShadow(this.constructor.shadowRootOptions);
143
+ return S$1(s2, this.constructor.elementStyles), s2;
154
144
  }
155
145
  connectedCallback() {
156
146
  var t2;
157
147
  void 0 === this.renderRoot && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(true), null === (t2 = this._$ES) || void 0 === t2 || t2.forEach(((t3) => {
158
- var i3;
159
- return null === (i3 = t3.hostConnected) || void 0 === i3 ? void 0 : i3.call(t3);
148
+ var i2;
149
+ return null === (i2 = t3.hostConnected) || void 0 === i2 ? void 0 : i2.call(t3);
160
150
  }));
161
151
  }
162
152
  enableUpdating(t2) {
@@ -164,32 +154,32 @@ let u$2 = class u extends HTMLElement {
164
154
  disconnectedCallback() {
165
155
  var t2;
166
156
  null === (t2 = this._$ES) || void 0 === t2 || t2.forEach(((t3) => {
167
- var i3;
168
- return null === (i3 = t3.hostDisconnected) || void 0 === i3 ? void 0 : i3.call(t3);
157
+ var i2;
158
+ return null === (i2 = t3.hostDisconnected) || void 0 === i2 ? void 0 : i2.call(t3);
169
159
  }));
170
160
  }
171
- attributeChangedCallback(t2, i3, s3) {
172
- this._$AK(t2, s3);
161
+ attributeChangedCallback(t2, i2, s2) {
162
+ this._$AK(t2, s2);
173
163
  }
174
- _$EO(t2, i3, s3 = l$4) {
164
+ _$EO(t2, i2, s2 = l$3) {
175
165
  var e2;
176
- const r2 = this.constructor._$Ep(t2, s3);
177
- if (void 0 !== r2 && true === s3.reflect) {
178
- const h2 = (void 0 !== (null === (e2 = s3.converter) || void 0 === e2 ? void 0 : e2.toAttribute) ? s3.converter : n$5).toAttribute(i3, s3.type);
166
+ const r2 = this.constructor._$Ep(t2, s2);
167
+ if (void 0 !== r2 && true === s2.reflect) {
168
+ const h2 = (void 0 !== (null === (e2 = s2.converter) || void 0 === e2 ? void 0 : e2.toAttribute) ? s2.converter : n$4).toAttribute(i2, s2.type);
179
169
  this._$El = t2, null == h2 ? this.removeAttribute(r2) : this.setAttribute(r2, h2), this._$El = null;
180
170
  }
181
171
  }
182
- _$AK(t2, i3) {
183
- var s3;
172
+ _$AK(t2, i2) {
173
+ var s2;
184
174
  const e2 = this.constructor, r2 = e2._$Ev.get(t2);
185
175
  if (void 0 !== r2 && this._$El !== r2) {
186
- 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;
187
- this._$El = r2, this[r2] = h2.fromAttribute(i3, t3.type), this._$El = null;
176
+ 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;
177
+ this._$El = r2, this[r2] = h2.fromAttribute(i2, t3.type), this._$El = null;
188
178
  }
189
179
  }
190
- requestUpdate(t2, i3, s3) {
180
+ requestUpdate(t2, i2, s2) {
191
181
  let e2 = true;
192
- 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());
182
+ 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());
193
183
  }
194
184
  async _$Ej() {
195
185
  this.isUpdatePending = true;
@@ -207,26 +197,26 @@ let u$2 = class u extends HTMLElement {
207
197
  performUpdate() {
208
198
  var t2;
209
199
  if (!this.isUpdatePending) return;
210
- this.hasUpdated, this._$Ei && (this._$Ei.forEach(((t3, i4) => this[i4] = t3)), this._$Ei = void 0);
211
- let i3 = false;
212
- const s3 = this._$AL;
200
+ this.hasUpdated, this._$Ei && (this._$Ei.forEach(((t3, i3) => this[i3] = t3)), this._$Ei = void 0);
201
+ let i2 = false;
202
+ const s2 = this._$AL;
213
203
  try {
214
- i3 = this.shouldUpdate(s3), i3 ? (this.willUpdate(s3), null === (t2 = this._$ES) || void 0 === t2 || t2.forEach(((t3) => {
215
- var i4;
216
- return null === (i4 = t3.hostUpdate) || void 0 === i4 ? void 0 : i4.call(t3);
217
- })), this.update(s3)) : this._$Ek();
204
+ i2 = this.shouldUpdate(s2), i2 ? (this.willUpdate(s2), null === (t2 = this._$ES) || void 0 === t2 || t2.forEach(((t3) => {
205
+ var i3;
206
+ return null === (i3 = t3.hostUpdate) || void 0 === i3 ? void 0 : i3.call(t3);
207
+ })), this.update(s2)) : this._$Ek();
218
208
  } catch (t3) {
219
- throw i3 = false, this._$Ek(), t3;
209
+ throw i2 = false, this._$Ek(), t3;
220
210
  }
221
- i3 && this._$AE(s3);
211
+ i2 && this._$AE(s2);
222
212
  }
223
213
  willUpdate(t2) {
224
214
  }
225
215
  _$AE(t2) {
226
- var i3;
227
- null === (i3 = this._$ES) || void 0 === i3 || i3.forEach(((t3) => {
228
- var i4;
229
- return null === (i4 = t3.hostUpdated) || void 0 === i4 ? void 0 : i4.call(t3);
216
+ var i2;
217
+ null === (i2 = this._$ES) || void 0 === i2 || i2.forEach(((t3) => {
218
+ var i3;
219
+ return null === (i3 = t3.hostUpdated) || void 0 === i3 ? void 0 : i3.call(t3);
230
220
  })), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t2)), this.updated(t2);
231
221
  }
232
222
  _$Ek() {
@@ -242,92 +232,87 @@ let u$2 = class u extends HTMLElement {
242
232
  return true;
243
233
  }
244
234
  update(t2) {
245
- void 0 !== this._$EC && (this._$EC.forEach(((t3, i3) => this._$EO(i3, this[i3], t3))), this._$EC = void 0), this._$Ek();
235
+ void 0 !== this._$EC && (this._$EC.forEach(((t3, i2) => this._$EO(i2, this[i2], t3))), this._$EC = void 0), this._$Ek();
246
236
  }
247
237
  updated(t2) {
248
238
  }
249
239
  firstUpdated(t2) {
250
240
  }
251
241
  };
252
- 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");
253
- /**
254
- * @license
255
- * Copyright 2017 Google LLC
256
- * SPDX-License-Identifier: BSD-3-Clause
257
- */
258
- var t$3;
259
- 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}*(?:[^
260
- \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);
261
- function P$1(t2, i3) {
242
+ 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");
243
+ var t$2;
244
+ 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}*(?:[^
245
+ \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);
246
+ function P(t2, i2) {
262
247
  if (!Array.isArray(t2) || !t2.hasOwnProperty("raw")) throw Error("invalid template strings array");
263
- return void 0 !== e$4 ? e$4.createHTML(i3) : i3;
248
+ return void 0 !== e$3 ? e$3.createHTML(i2) : i2;
264
249
  }
265
- const V$1 = (t2, i3) => {
266
- const s3 = t2.length - 1, e2 = [];
267
- let l2, r2 = 2 === i3 ? "<svg>" : "", u3 = f$1;
268
- for (let i4 = 0; i4 < s3; i4++) {
269
- const s4 = t2[i4];
250
+ const V = (t2, i2) => {
251
+ const s2 = t2.length - 1, e2 = [];
252
+ let l2, r2 = 2 === i2 ? "<svg>" : "", u3 = f;
253
+ for (let i3 = 0; i3 < s2; i3++) {
254
+ const s3 = t2[i3];
270
255
  let d2, c2, v2 = -1, a2 = 0;
271
- 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);
272
- const w2 = u3 === p$1 && t2[i4 + 1].startsWith("/>") ? " " : "";
273
- 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);
256
+ 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);
257
+ const w2 = u3 === p && t2[i3 + 1].startsWith("/>") ? " " : "";
258
+ 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);
274
259
  }
275
- return [P$1(t2, r2 + (t2[s3] || "<?>") + (2 === i3 ? "</svg>" : "")), e2];
260
+ return [P(t2, r2 + (t2[s2] || "<?>") + (2 === i2 ? "</svg>" : "")), e2];
276
261
  };
277
- let N$1 = class N {
278
- constructor({ strings: t2, _$litType$: i3 }, e2) {
262
+ class N {
263
+ constructor({ strings: t2, _$litType$: i2 }, e2) {
279
264
  let h2;
280
265
  this.parts = [];
281
266
  let r2 = 0, d2 = 0;
282
- const c2 = t2.length - 1, v2 = this.parts, [a2, f2] = V$1(t2, i3);
283
- if (this.el = N.createElement(a2, e2), C$1.currentNode = this.el.content, 2 === i3) {
284
- const t3 = this.el.content, i4 = t3.firstChild;
285
- i4.remove(), t3.append(...i4.childNodes);
267
+ const c2 = t2.length - 1, v2 = this.parts, [a2, f2] = V(t2, i2);
268
+ if (this.el = N.createElement(a2, e2), C.currentNode = this.el.content, 2 === i2) {
269
+ const t3 = this.el.content, i3 = t3.firstChild;
270
+ i3.remove(), t3.append(...i3.childNodes);
286
271
  }
287
- for (; null !== (h2 = C$1.nextNode()) && v2.length < c2; ) {
272
+ for (; null !== (h2 = C.nextNode()) && v2.length < c2; ) {
288
273
  if (1 === h2.nodeType) {
289
274
  if (h2.hasAttributes()) {
290
275
  const t3 = [];
291
- for (const i4 of h2.getAttributeNames()) if (i4.endsWith(o$3) || i4.startsWith(n$4)) {
292
- const s3 = f2[d2++];
293
- if (t3.push(i4), void 0 !== s3) {
294
- const t4 = h2.getAttribute(s3.toLowerCase() + o$3).split(n$4), i5 = /([.?@])?(.*)/.exec(s3);
295
- 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 });
276
+ for (const i3 of h2.getAttributeNames()) if (i3.endsWith(o$2) || i3.startsWith(n$3)) {
277
+ const s2 = f2[d2++];
278
+ if (t3.push(i3), void 0 !== s2) {
279
+ const t4 = h2.getAttribute(s2.toLowerCase() + o$2).split(n$3), i4 = /([.?@])?(.*)/.exec(s2);
280
+ v2.push({ type: 1, index: r2, name: i4[2], strings: t4, ctor: "." === i4[1] ? H : "?" === i4[1] ? L : "@" === i4[1] ? z : k });
296
281
  } else v2.push({ type: 6, index: r2 });
297
282
  }
298
- for (const i4 of t3) h2.removeAttribute(i4);
283
+ for (const i3 of t3) h2.removeAttribute(i3);
299
284
  }
300
- if (y$1.test(h2.tagName)) {
301
- const t3 = h2.textContent.split(n$4), i4 = t3.length - 1;
302
- if (i4 > 0) {
303
- h2.textContent = s$2 ? s$2.emptyScript : "";
304
- for (let s3 = 0; s3 < i4; s3++) h2.append(t3[s3], u$1()), C$1.nextNode(), v2.push({ type: 2, index: ++r2 });
305
- h2.append(t3[i4], u$1());
285
+ if (y.test(h2.tagName)) {
286
+ const t3 = h2.textContent.split(n$3), i3 = t3.length - 1;
287
+ if (i3 > 0) {
288
+ h2.textContent = s$1 ? s$1.emptyScript : "";
289
+ for (let s2 = 0; s2 < i3; s2++) h2.append(t3[s2], u2()), C.nextNode(), v2.push({ type: 2, index: ++r2 });
290
+ h2.append(t3[i3], u2());
306
291
  }
307
292
  }
308
- } else if (8 === h2.nodeType) if (h2.data === l$3) v2.push({ type: 2, index: r2 });
293
+ } else if (8 === h2.nodeType) if (h2.data === l$2) v2.push({ type: 2, index: r2 });
309
294
  else {
310
295
  let t3 = -1;
311
- for (; -1 !== (t3 = h2.data.indexOf(n$4, t3 + 1)); ) v2.push({ type: 7, index: r2 }), t3 += n$4.length - 1;
296
+ for (; -1 !== (t3 = h2.data.indexOf(n$3, t3 + 1)); ) v2.push({ type: 7, index: r2 }), t3 += n$3.length - 1;
312
297
  }
313
298
  r2++;
314
299
  }
315
300
  }
316
- static createElement(t2, i3) {
317
- const s3 = r$1.createElement("template");
318
- return s3.innerHTML = t2, s3;
301
+ static createElement(t2, i2) {
302
+ const s2 = r.createElement("template");
303
+ return s2.innerHTML = t2, s2;
319
304
  }
320
- };
321
- function S$1(t2, i3, s3 = t2, e2) {
305
+ }
306
+ function S(t2, i2, s2 = t2, e2) {
322
307
  var o3, n2, l2, h2;
323
- if (i3 === T$1) return i3;
324
- let r2 = void 0 !== e2 ? null === (o3 = s3._$Co) || void 0 === o3 ? void 0 : o3[e2] : s3._$Cl;
325
- const u3 = d$1(i3) ? void 0 : i3._$litDirective$;
326
- 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;
308
+ if (i2 === T) return i2;
309
+ let r2 = void 0 !== e2 ? null === (o3 = s2._$Co) || void 0 === o3 ? void 0 : o3[e2] : s2._$Cl;
310
+ const u3 = d(i2) ? void 0 : i2._$litDirective$;
311
+ 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;
327
312
  }
328
- let M$1 = class M {
329
- constructor(t2, i3) {
330
- this._$AV = [], this._$AN = void 0, this._$AD = t2, this._$AM = i3;
313
+ class M {
314
+ constructor(t2, i2) {
315
+ this._$AV = [], this._$AN = void 0, this._$AD = t2, this._$AM = i2;
331
316
  }
332
317
  get parentNode() {
333
318
  return this._$AM.parentNode;
@@ -336,37 +321,37 @@ let M$1 = class M {
336
321
  return this._$AM._$AU;
337
322
  }
338
323
  u(t2) {
339
- var i3;
340
- 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);
341
- C$1.currentNode = o3;
342
- let n2 = C$1.nextNode(), l2 = 0, h2 = 0, u3 = e2[0];
324
+ var i2;
325
+ 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);
326
+ C.currentNode = o3;
327
+ let n2 = C.nextNode(), l2 = 0, h2 = 0, u3 = e2[0];
343
328
  for (; void 0 !== u3; ) {
344
329
  if (l2 === u3.index) {
345
- let i4;
346
- 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];
330
+ let i3;
331
+ 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];
347
332
  }
348
- l2 !== (null == u3 ? void 0 : u3.index) && (n2 = C$1.nextNode(), l2++);
333
+ l2 !== (null == u3 ? void 0 : u3.index) && (n2 = C.nextNode(), l2++);
349
334
  }
350
- return C$1.currentNode = r$1, o3;
335
+ return C.currentNode = r, o3;
351
336
  }
352
337
  v(t2) {
353
- let i3 = 0;
354
- 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++;
338
+ let i2 = 0;
339
+ 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++;
355
340
  }
356
- };
357
- let R$1 = class R {
358
- constructor(t2, i3, s3, e2) {
341
+ }
342
+ class R {
343
+ constructor(t2, i2, s2, e2) {
359
344
  var o3;
360
- 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;
345
+ 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;
361
346
  }
362
347
  get _$AU() {
363
- var t2, i3;
364
- return null !== (i3 = null === (t2 = this._$AM) || void 0 === t2 ? void 0 : t2._$AU) && void 0 !== i3 ? i3 : this._$Cp;
348
+ var t2, i2;
349
+ return null !== (i2 = null === (t2 = this._$AM) || void 0 === t2 ? void 0 : t2._$AU) && void 0 !== i2 ? i2 : this._$Cp;
365
350
  }
366
351
  get parentNode() {
367
352
  let t2 = this._$AA.parentNode;
368
- const i3 = this._$AM;
369
- return void 0 !== i3 && 11 === (null == t2 ? void 0 : t2.nodeType) && (t2 = i3.parentNode), t2;
353
+ const i2 = this._$AM;
354
+ return void 0 !== i2 && 11 === (null == t2 ? void 0 : t2.nodeType) && (t2 = i2.parentNode), t2;
370
355
  }
371
356
  get startNode() {
372
357
  return this._$AA;
@@ -374,8 +359,8 @@ let R$1 = class R {
374
359
  get endNode() {
375
360
  return this._$AB;
376
361
  }
377
- _$AI(t2, i3 = this) {
378
- 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);
362
+ _$AI(t2, i2 = this) {
363
+ 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);
379
364
  }
380
365
  k(t2) {
381
366
  return this._$AA.parentNode.insertBefore(t2, this._$AB);
@@ -384,43 +369,43 @@ let R$1 = class R {
384
369
  this._$AH !== t2 && (this._$AR(), this._$AH = this.k(t2));
385
370
  }
386
371
  _(t2) {
387
- this._$AH !== A$1 && d$1(this._$AH) ? this._$AA.nextSibling.data = t2 : this.$(r$1.createTextNode(t2)), this._$AH = t2;
372
+ this._$AH !== A && d(this._$AH) ? this._$AA.nextSibling.data = t2 : this.$(r.createTextNode(t2)), this._$AH = t2;
388
373
  }
389
374
  g(t2) {
390
- var i3;
391
- 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);
392
- if ((null === (i3 = this._$AH) || void 0 === i3 ? void 0 : i3._$AD) === o3) this._$AH.v(s3);
375
+ var i2;
376
+ 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);
377
+ if ((null === (i2 = this._$AH) || void 0 === i2 ? void 0 : i2._$AD) === o3) this._$AH.v(s2);
393
378
  else {
394
- const t3 = new M$1(o3, this), i4 = t3.u(this.options);
395
- t3.v(s3), this.$(i4), this._$AH = t3;
379
+ const t3 = new M(o3, this), i3 = t3.u(this.options);
380
+ t3.v(s2), this.$(i3), this._$AH = t3;
396
381
  }
397
382
  }
398
383
  _$AC(t2) {
399
- let i3 = E$1.get(t2.strings);
400
- return void 0 === i3 && E$1.set(t2.strings, i3 = new N$1(t2)), i3;
384
+ let i2 = E.get(t2.strings);
385
+ return void 0 === i2 && E.set(t2.strings, i2 = new N(t2)), i2;
401
386
  }
402
387
  T(t2) {
403
- c$1(this._$AH) || (this._$AH = [], this._$AR());
404
- const i3 = this._$AH;
405
- let s3, e2 = 0;
406
- 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++;
407
- e2 < i3.length && (this._$AR(s3 && s3._$AB.nextSibling, e2), i3.length = e2);
388
+ c(this._$AH) || (this._$AH = [], this._$AR());
389
+ const i2 = this._$AH;
390
+ let s2, e2 = 0;
391
+ 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++;
392
+ e2 < i2.length && (this._$AR(s2 && s2._$AB.nextSibling, e2), i2.length = e2);
408
393
  }
409
- _$AR(t2 = this._$AA.nextSibling, i3) {
410
- var s3;
411
- for (null === (s3 = this._$AP) || void 0 === s3 || s3.call(this, false, true, i3); t2 && t2 !== this._$AB; ) {
412
- const i4 = t2.nextSibling;
413
- t2.remove(), t2 = i4;
394
+ _$AR(t2 = this._$AA.nextSibling, i2) {
395
+ var s2;
396
+ for (null === (s2 = this._$AP) || void 0 === s2 || s2.call(this, false, true, i2); t2 && t2 !== this._$AB; ) {
397
+ const i3 = t2.nextSibling;
398
+ t2.remove(), t2 = i3;
414
399
  }
415
400
  }
416
401
  setConnected(t2) {
417
- var i3;
418
- void 0 === this._$AM && (this._$Cp = t2, null === (i3 = this._$AP) || void 0 === i3 || i3.call(this, t2));
402
+ var i2;
403
+ void 0 === this._$AM && (this._$Cp = t2, null === (i2 = this._$AP) || void 0 === i2 || i2.call(this, t2));
419
404
  }
420
- };
421
- let k$1 = class k {
422
- constructor(t2, i3, s3, e2, o3) {
423
- 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;
405
+ }
406
+ class k {
407
+ constructor(t2, i2, s2, e2, o3) {
408
+ 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;
424
409
  }
425
410
  get tagName() {
426
411
  return this.element.tagName;
@@ -428,94 +413,89 @@ let k$1 = class k {
428
413
  get _$AU() {
429
414
  return this._$AM._$AU;
430
415
  }
431
- _$AI(t2, i3 = this, s3, e2) {
416
+ _$AI(t2, i2 = this, s2, e2) {
432
417
  const o3 = this.strings;
433
418
  let n2 = false;
434
- 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);
419
+ if (void 0 === o3) t2 = S(this, t2, i2, 0), n2 = !d(t2) || t2 !== this._$AH && t2 !== T, n2 && (this._$AH = t2);
435
420
  else {
436
421
  const e3 = t2;
437
422
  let l2, h2;
438
- 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;
423
+ 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;
439
424
  }
440
425
  n2 && !e2 && this.j(t2);
441
426
  }
442
427
  j(t2) {
443
- t2 === A$1 ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t2 ? t2 : "");
428
+ t2 === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t2 ? t2 : "");
444
429
  }
445
- };
446
- let H$1 = class H extends k$1 {
430
+ }
431
+ class H extends k {
447
432
  constructor() {
448
433
  super(...arguments), this.type = 3;
449
434
  }
450
435
  j(t2) {
451
- this.element[this.name] = t2 === A$1 ? void 0 : t2;
436
+ this.element[this.name] = t2 === A ? void 0 : t2;
452
437
  }
453
- };
454
- const I$1 = s$2 ? s$2.emptyScript : "";
455
- let L$1 = class L extends k$1 {
438
+ }
439
+ const I = s$1 ? s$1.emptyScript : "";
440
+ class L extends k {
456
441
  constructor() {
457
442
  super(...arguments), this.type = 4;
458
443
  }
459
444
  j(t2) {
460
- t2 && t2 !== A$1 ? this.element.setAttribute(this.name, I$1) : this.element.removeAttribute(this.name);
445
+ t2 && t2 !== A ? this.element.setAttribute(this.name, I) : this.element.removeAttribute(this.name);
461
446
  }
462
- };
463
- let z$1 = class z extends k$1 {
464
- constructor(t2, i3, s3, e2, o3) {
465
- super(t2, i3, s3, e2, o3), this.type = 5;
466
- }
467
- _$AI(t2, i3 = this) {
468
- var s3;
469
- if ((t2 = null !== (s3 = S$1(this, t2, i3, 0)) && void 0 !== s3 ? s3 : A$1) === T$1) return;
470
- 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);
447
+ }
448
+ class z extends k {
449
+ constructor(t2, i2, s2, e2, o3) {
450
+ super(t2, i2, s2, e2, o3), this.type = 5;
451
+ }
452
+ _$AI(t2, i2 = this) {
453
+ var s2;
454
+ if ((t2 = null !== (s2 = S(this, t2, i2, 0)) && void 0 !== s2 ? s2 : A) === T) return;
455
+ 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);
471
456
  o3 && this.element.removeEventListener(this.name, this, e2), n2 && this.element.addEventListener(this.name, this, t2), this._$AH = t2;
472
457
  }
473
458
  handleEvent(t2) {
474
- var i3, s3;
475
- "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);
459
+ var i2, s2;
460
+ "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);
476
461
  }
477
- };
462
+ }
478
463
  class Z {
479
- constructor(t2, i3, s3) {
480
- this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i3, this.options = s3;
464
+ constructor(t2, i2, s2) {
465
+ this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i2, this.options = s2;
481
466
  }
482
467
  get _$AU() {
483
468
  return this._$AM._$AU;
484
469
  }
485
470
  _$AI(t2) {
486
- S$1(this, t2);
471
+ S(this, t2);
487
472
  }
488
473
  }
489
- const B = i$3.litHtmlPolyfillSupport;
490
- 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");
491
- const D = (t2, i3, s3) => {
474
+ const B = i$2.litHtmlPolyfillSupport;
475
+ null == B || B(N, R), (null !== (t$2 = i$2.litHtmlVersions) && void 0 !== t$2 ? t$2 : i$2.litHtmlVersions = []).push("2.8.0");
476
+ const D = (t2, i2, s2) => {
492
477
  var e2, o3;
493
- const n2 = null !== (e2 = null == s3 ? void 0 : s3.renderBefore) && void 0 !== e2 ? e2 : i3;
478
+ const n2 = null !== (e2 = null == s2 ? void 0 : s2.renderBefore) && void 0 !== e2 ? e2 : i2;
494
479
  let l2 = n2._$litPart$;
495
480
  if (void 0 === l2) {
496
- const t3 = null !== (o3 = null == s3 ? void 0 : s3.renderBefore) && void 0 !== o3 ? o3 : null;
497
- n2._$litPart$ = l2 = new R$1(i3.insertBefore(u$1(), t3), t3, void 0, null != s3 ? s3 : {});
481
+ const t3 = null !== (o3 = null == s2 ? void 0 : s2.renderBefore) && void 0 !== o3 ? o3 : null;
482
+ n2._$litPart$ = l2 = new R(i2.insertBefore(u2(), t3), t3, void 0, null != s2 ? s2 : {});
498
483
  }
499
484
  return l2._$AI(t2), l2;
500
485
  };
501
- /**
502
- * @license
503
- * Copyright 2017 Google LLC
504
- * SPDX-License-Identifier: BSD-3-Clause
505
- */
506
- var l$2, o$2;
507
- let s$1 = class s extends u$2 {
486
+ var l$1, o$1;
487
+ class s extends u$1 {
508
488
  constructor() {
509
489
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
510
490
  }
511
491
  createRenderRoot() {
512
492
  var t2, e2;
513
- const i3 = super.createRenderRoot();
514
- return null !== (t2 = (e2 = this.renderOptions).renderBefore) && void 0 !== t2 || (e2.renderBefore = i3.firstChild), i3;
493
+ const i2 = super.createRenderRoot();
494
+ return null !== (t2 = (e2 = this.renderOptions).renderBefore) && void 0 !== t2 || (e2.renderBefore = i2.firstChild), i2;
515
495
  }
516
496
  update(t2) {
517
- const i3 = this.render();
518
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t2), this._$Do = D(i3, this.renderRoot, this.renderOptions);
497
+ const i2 = this.render();
498
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t2), this._$Do = D(i2, this.renderRoot, this.renderOptions);
519
499
  }
520
500
  connectedCallback() {
521
501
  var t2;
@@ -526,70 +506,45 @@ let s$1 = class s extends u$2 {
526
506
  super.disconnectedCallback(), null === (t2 = this._$Do) || void 0 === t2 || t2.setConnected(false);
527
507
  }
528
508
  render() {
529
- return T$1;
509
+ return T;
530
510
  }
531
- };
532
- s$1.finalized = true, s$1._$litElement$ = true, null === (l$2 = globalThis.litElementHydrateSupport) || void 0 === l$2 || l$2.call(globalThis, { LitElement: s$1 });
533
- const n$3 = globalThis.litElementPolyfillSupport;
534
- null == n$3 || n$3({ LitElement: s$1 });
535
- (null !== (o$2 = globalThis.litElementVersions) && void 0 !== o$2 ? o$2 : globalThis.litElementVersions = []).push("3.3.3");
536
- /**
537
- * @license
538
- * Copyright 2017 Google LLC
539
- * SPDX-License-Identifier: BSD-3-Clause
540
- */
541
- const e$3 = (e2) => (n2) => "function" == typeof n2 ? ((e3, n3) => (customElements.define(e3, n3), n3))(e2, n2) : ((e3, n3) => {
542
- const { kind: t2, elements: s3 } = n3;
543
- return { kind: t2, elements: s3, finisher(n4) {
511
+ }
512
+ s.finalized = true, s._$litElement$ = true, null === (l$1 = globalThis.litElementHydrateSupport) || void 0 === l$1 || l$1.call(globalThis, { LitElement: s });
513
+ const n$2 = globalThis.litElementPolyfillSupport;
514
+ null == n$2 || n$2({ LitElement: s });
515
+ (null !== (o$1 = globalThis.litElementVersions) && void 0 !== o$1 ? o$1 : globalThis.litElementVersions = []).push("3.3.3");
516
+ const e$2 = (e2) => (n2) => "function" == typeof n2 ? ((e3, n3) => (customElements.define(e3, n3), n3))(e2, n2) : ((e3, n3) => {
517
+ const { kind: t2, elements: s2 } = n3;
518
+ return { kind: t2, elements: s2, finisher(n4) {
544
519
  customElements.define(e3, n4);
545
520
  } };
546
521
  })(e2, n2);
547
- /**
548
- * @license
549
- * Copyright 2017 Google LLC
550
- * SPDX-License-Identifier: BSD-3-Clause
551
- */
552
- const i$2 = (i3, e2) => "method" === e2.kind && e2.descriptor && !("value" in e2.descriptor) ? { ...e2, finisher(n2) {
553
- n2.createProperty(e2.key, i3);
554
- } } : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: e2.key, initializer() {
522
+ const i$1 = (i2, e2) => "method" === e2.kind && e2.descriptor && !("value" in e2.descriptor) ? { ...e2, finisher(n2) {
523
+ n2.createProperty(e2.key, i2);
524
+ } } : { kind: "field", key: /* @__PURE__ */ Symbol(), placement: "own", descriptor: {}, originalKey: e2.key, initializer() {
555
525
  "function" == typeof e2.initializer && (this[e2.key] = e2.initializer.call(this));
556
526
  }, finisher(n2) {
557
- n2.createProperty(e2.key, i3);
558
- } }, e$2 = (i3, e2, n2) => {
559
- e2.constructor.createProperty(n2, i3);
527
+ n2.createProperty(e2.key, i2);
528
+ } }, e$1 = (i2, e2, n2) => {
529
+ e2.constructor.createProperty(n2, i2);
560
530
  };
561
- function n$2(n2) {
562
- return (t2, o3) => void 0 !== o3 ? e$2(n2, t2, o3) : i$2(n2, t2);
531
+ function n$1(n2) {
532
+ return (t2, o3) => void 0 !== o3 ? e$1(n2, t2, o3) : i$1(n2, t2);
563
533
  }
564
- /**
565
- * @license
566
- * Copyright 2017 Google LLC
567
- * SPDX-License-Identifier: BSD-3-Clause
568
- */
569
- function t$2(t2) {
570
- return n$2({ ...t2, state: true });
534
+ function t$1(t2) {
535
+ return n$1({ ...t2, state: true });
571
536
  }
572
- /**
573
- * @license
574
- * Copyright 2021 Google LLC
575
- * SPDX-License-Identifier: BSD-3-Clause
576
- */
577
- var n$1;
578
- 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));
579
- /**
580
- * @license
581
- * Copyright 2017 Google LLC
582
- * SPDX-License-Identifier: BSD-3-Clause
583
- */
584
- const t$1 = { ATTRIBUTE: 1 }, e$1 = (t2) => (...e2) => ({ _$litDirective$: t2, values: e2 });
585
- let i$1 = class i {
537
+ var n;
538
+ 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));
539
+ const t = { ATTRIBUTE: 1 }, e = (t2) => (...e2) => ({ _$litDirective$: t2, values: e2 });
540
+ class i {
586
541
  constructor(t2) {
587
542
  }
588
543
  get _$AU() {
589
544
  return this._$AM._$AU;
590
545
  }
591
- _$AT(t2, e2, i3) {
592
- this._$Ct = t2, this._$AM = e2, this._$Ci = i3;
546
+ _$AT(t2, e2, i2) {
547
+ this._$Ct = t2, this._$AM = e2, this._$Ci = i2;
593
548
  }
594
549
  _$AS(t2, e2) {
595
550
  return this.update(t2, e2);
@@ -597,258 +552,33 @@ let i$1 = class i {
597
552
  update(t2, e2) {
598
553
  return this.render(...e2);
599
554
  }
600
- };
601
- /**
602
- * @license
603
- * Copyright 2018 Google LLC
604
- * SPDX-License-Identifier: BSD-3-Clause
605
- */
606
- const o$1 = e$1(class extends i$1 {
607
- constructor(t2) {
608
- var i3;
609
- 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.");
555
+ }
556
+ const o2 = e(class extends i {
557
+ constructor(t$12) {
558
+ var i2;
559
+ 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.");
610
560
  }
611
561
  render(t2) {
612
- return " " + Object.keys(t2).filter(((i3) => t2[i3])).join(" ") + " ";
562
+ return " " + Object.keys(t2).filter(((i2) => t2[i2])).join(" ") + " ";
613
563
  }
614
- update(i3, [s3]) {
564
+ update(i2, [s2]) {
615
565
  var r2, o3;
616
566
  if (void 0 === this.it) {
617
- this.it = /* @__PURE__ */ new Set(), void 0 !== i3.strings && (this.nt = new Set(i3.strings.join(" ").split(/\s/).filter(((t2) => "" !== t2))));
618
- for (const t2 in s3) s3[t2] && !(null === (r2 = this.nt) || void 0 === r2 ? void 0 : r2.has(t2)) && this.it.add(t2);
619
- return this.render(s3);
567
+ this.it = /* @__PURE__ */ new Set(), void 0 !== i2.strings && (this.nt = new Set(i2.strings.join(" ").split(/\s/).filter(((t2) => "" !== t2))));
568
+ for (const t2 in s2) s2[t2] && !(null === (r2 = this.nt) || void 0 === r2 ? void 0 : r2.has(t2)) && this.it.add(t2);
569
+ return this.render(s2);
620
570
  }
621
- const e2 = i3.element.classList;
571
+ const e2 = i2.element.classList;
622
572
  this.it.forEach(((t2) => {
623
- t2 in s3 || (e2.remove(t2), this.it.delete(t2));
573
+ t2 in s2 || (e2.remove(t2), this.it.delete(t2));
624
574
  }));
625
- for (const t2 in s3) {
626
- const i4 = !!s3[t2];
627
- 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)));
575
+ for (const t2 in s2) {
576
+ const i3 = !!s2[t2];
577
+ 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)));
628
578
  }
629
- return T$1;
579
+ return T;
630
580
  }
631
581
  });
632
- /**
633
- * @license
634
- * Copyright 2017 Google LLC
635
- * SPDX-License-Identifier: BSD-3-Clause
636
- */
637
- 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}*(?:[^
638
- \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);
639
- function P(t2, i3) {
640
- if (!a(t2) || !t2.hasOwnProperty("raw")) throw Error("invalid template strings array");
641
- return void 0 !== s2 ? s2.createHTML(i3) : i3;
642
- }
643
- const V = (t2, i3) => {
644
- const s3 = t2.length - 1, o3 = [];
645
- let r2, l2 = 2 === i3 ? "<svg>" : 3 === i3 ? "<math>" : "", c2 = f;
646
- for (let i4 = 0; i4 < s3; i4++) {
647
- const s4 = t2[i4];
648
- let a2, u3, d2 = -1, y2 = 0;
649
- 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);
650
- const x2 = c2 === m && t2[i4 + 1].startsWith("/>") ? " " : "";
651
- 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);
652
- }
653
- return [P(t2, l2 + (t2[s3] || "<?>") + (2 === i3 ? "</svg>" : 3 === i3 ? "</math>" : "")), o3];
654
- };
655
- class N2 {
656
- constructor({ strings: t2, _$litType$: s3 }, n2) {
657
- let r2;
658
- this.parts = [];
659
- let c2 = 0, a2 = 0;
660
- const u3 = t2.length - 1, d2 = this.parts, [f2, v2] = V(t2, s3);
661
- if (this.el = N2.createElement(f2, n2), C.currentNode = this.el.content, 2 === s3 || 3 === s3) {
662
- const t3 = this.el.content.firstChild;
663
- t3.replaceWith(...t3.childNodes);
664
- }
665
- for (; null !== (r2 = C.nextNode()) && d2.length < u3; ) {
666
- if (1 === r2.nodeType) {
667
- if (r2.hasAttributes()) for (const t3 of r2.getAttributeNames()) if (t3.endsWith(e)) {
668
- const i3 = v2[a2++], s4 = r2.getAttribute(t3).split(h), e2 = /([.?@])?(.*)/.exec(i3);
669
- 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);
670
- } else t3.startsWith(h) && (d2.push({ type: 6, index: c2 }), r2.removeAttribute(t3));
671
- if ($.test(r2.tagName)) {
672
- const t3 = r2.textContent.split(h), s4 = t3.length - 1;
673
- if (s4 > 0) {
674
- r2.textContent = i2 ? i2.emptyScript : "";
675
- for (let i3 = 0; i3 < s4; i3++) r2.append(t3[i3], l$1()), C.nextNode(), d2.push({ type: 2, index: ++c2 });
676
- r2.append(t3[s4], l$1());
677
- }
678
- }
679
- } else if (8 === r2.nodeType) if (r2.data === o2) d2.push({ type: 2, index: c2 });
680
- else {
681
- let t3 = -1;
682
- for (; -1 !== (t3 = r2.data.indexOf(h, t3 + 1)); ) d2.push({ type: 7, index: c2 }), t3 += h.length - 1;
683
- }
684
- c2++;
685
- }
686
- }
687
- static createElement(t2, i3) {
688
- const s3 = r.createElement("template");
689
- return s3.innerHTML = t2, s3;
690
- }
691
- }
692
- function S(t2, i3, s3 = t2, e2) {
693
- if (i3 === T) return i3;
694
- let h2 = void 0 !== e2 ? s3._$Co?.[e2] : s3._$Cl;
695
- const o3 = c(i3) ? void 0 : i3._$litDirective$;
696
- 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;
697
- }
698
- class M2 {
699
- constructor(t2, i3) {
700
- this._$AV = [], this._$AN = void 0, this._$AD = t2, this._$AM = i3;
701
- }
702
- get parentNode() {
703
- return this._$AM.parentNode;
704
- }
705
- get _$AU() {
706
- return this._$AM._$AU;
707
- }
708
- u(t2) {
709
- const { el: { content: i3 }, parts: s3 } = this._$AD, e2 = (t2?.creationScope ?? r).importNode(i3, true);
710
- C.currentNode = e2;
711
- let h2 = C.nextNode(), o3 = 0, n2 = 0, l2 = s3[0];
712
- for (; void 0 !== l2; ) {
713
- if (o3 === l2.index) {
714
- let i4;
715
- 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];
716
- }
717
- o3 !== l2?.index && (h2 = C.nextNode(), o3++);
718
- }
719
- return C.currentNode = r, e2;
720
- }
721
- p(t2) {
722
- let i3 = 0;
723
- 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++;
724
- }
725
- }
726
- class R2 {
727
- get _$AU() {
728
- return this._$AM?._$AU ?? this._$Cv;
729
- }
730
- constructor(t2, i3, s3, e2) {
731
- 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;
732
- }
733
- get parentNode() {
734
- let t2 = this._$AA.parentNode;
735
- const i3 = this._$AM;
736
- return void 0 !== i3 && 11 === t2?.nodeType && (t2 = i3.parentNode), t2;
737
- }
738
- get startNode() {
739
- return this._$AA;
740
- }
741
- get endNode() {
742
- return this._$AB;
743
- }
744
- _$AI(t2, i3 = this) {
745
- 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);
746
- }
747
- O(t2) {
748
- return this._$AA.parentNode.insertBefore(t2, this._$AB);
749
- }
750
- T(t2) {
751
- this._$AH !== t2 && (this._$AR(), this._$AH = this.O(t2));
752
- }
753
- _(t2) {
754
- this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t2 : this.T(r.createTextNode(t2)), this._$AH = t2;
755
- }
756
- $(t2) {
757
- 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);
758
- if (this._$AH?._$AD === e2) this._$AH.p(i3);
759
- else {
760
- const t3 = new M2(e2, this), s4 = t3.u(this.options);
761
- t3.p(i3), this.T(s4), this._$AH = t3;
762
- }
763
- }
764
- _$AC(t2) {
765
- let i3 = A.get(t2.strings);
766
- return void 0 === i3 && A.set(t2.strings, i3 = new N2(t2)), i3;
767
- }
768
- k(t2) {
769
- a(this._$AH) || (this._$AH = [], this._$AR());
770
- const i3 = this._$AH;
771
- let s3, e2 = 0;
772
- 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++;
773
- e2 < i3.length && (this._$AR(s3 && s3._$AB.nextSibling, e2), i3.length = e2);
774
- }
775
- _$AR(t2 = this._$AA.nextSibling, i3) {
776
- for (this._$AP?.(false, true, i3); t2 !== this._$AB; ) {
777
- const i4 = t2.nextSibling;
778
- t2.remove(), t2 = i4;
779
- }
780
- }
781
- setConnected(t2) {
782
- void 0 === this._$AM && (this._$Cv = t2, this._$AP?.(t2));
783
- }
784
- }
785
- class k2 {
786
- get tagName() {
787
- return this.element.tagName;
788
- }
789
- get _$AU() {
790
- return this._$AM._$AU;
791
- }
792
- constructor(t2, i3, s3, e2, h2) {
793
- 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;
794
- }
795
- _$AI(t2, i3 = this, s3, e2) {
796
- const h2 = this.strings;
797
- let o3 = false;
798
- if (void 0 === h2) t2 = S(this, t2, i3, 0), o3 = !c(t2) || t2 !== this._$AH && t2 !== T, o3 && (this._$AH = t2);
799
- else {
800
- const e3 = t2;
801
- let n2, r2;
802
- 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;
803
- }
804
- o3 && !e2 && this.j(t2);
805
- }
806
- j(t2) {
807
- t2 === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t2 ?? "");
808
- }
809
- }
810
- class H2 extends k2 {
811
- constructor() {
812
- super(...arguments), this.type = 3;
813
- }
814
- j(t2) {
815
- this.element[this.name] = t2 === E ? void 0 : t2;
816
- }
817
- }
818
- class I extends k2 {
819
- constructor() {
820
- super(...arguments), this.type = 4;
821
- }
822
- j(t2) {
823
- this.element.toggleAttribute(this.name, !!t2 && t2 !== E);
824
- }
825
- }
826
- class L2 extends k2 {
827
- constructor(t2, i3, s3, e2, h2) {
828
- super(t2, i3, s3, e2, h2), this.type = 5;
829
- }
830
- _$AI(t2, i3 = this) {
831
- if ((t2 = S(this, t2, i3, 0) ?? E) === T) return;
832
- 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);
833
- e2 && this.element.removeEventListener(this.name, this, s3), h2 && this.element.addEventListener(this.name, this, t2), this._$AH = t2;
834
- }
835
- handleEvent(t2) {
836
- "function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t2) : this._$AH.handleEvent(t2);
837
- }
838
- }
839
- class z2 {
840
- constructor(t2, i3, s3) {
841
- this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i3, this.options = s3;
842
- }
843
- get _$AU() {
844
- return this._$AM._$AU;
845
- }
846
- _$AI(t2) {
847
- S(this, t2);
848
- }
849
- }
850
- const j = t.litHtmlPolyfillSupport;
851
- j?.(N2, R2), (t.litHtmlVersions ?? (t.litHtmlVersions = [])).push("3.3.1");
852
582
  function addUniqueItem(array, item) {
853
583
  array.indexOf(item) === -1 && array.push(item);
854
584
  }
@@ -866,8 +596,8 @@ const wrap = (min, max, v2) => {
866
596
  const rangeSize = max - min;
867
597
  return ((v2 - min) % rangeSize + rangeSize) % rangeSize + min;
868
598
  };
869
- function getEasingForSegment(easing, i3) {
870
- return isEasingList(easing) ? easing[wrap(0, easing.length, i3)] : easing;
599
+ function getEasingForSegment(easing, i2) {
600
+ return isEasingList(easing) ? easing[wrap(0, easing.length, i2)] : easing;
871
601
  }
872
602
  const mix = (min, max, progress2) => -progress2 * min + progress2 * max + min;
873
603
  const noop = () => {
@@ -876,8 +606,8 @@ const noopReturn = (v2) => v2;
876
606
  const progress = (min, max, value) => max - min === 0 ? 1 : (value - min) / (max - min);
877
607
  function fillOffset(offset, remaining) {
878
608
  const min = offset[offset.length - 1];
879
- for (let i3 = 1; i3 <= remaining; i3++) {
880
- const offsetProgress = progress(0, remaining, i3);
609
+ for (let i2 = 1; i2 <= remaining; i2++) {
610
+ const offsetProgress = progress(0, remaining, i2);
881
611
  offset.push(mix(min, 1, offsetProgress));
882
612
  }
883
613
  }
@@ -891,15 +621,15 @@ function interpolate(output, input = defaultOffset(output.length), easing = noop
891
621
  const remainder = length - input.length;
892
622
  remainder > 0 && fillOffset(input, remainder);
893
623
  return (t2) => {
894
- let i3 = 0;
895
- for (; i3 < length - 2; i3++) {
896
- if (t2 < input[i3 + 1])
624
+ let i2 = 0;
625
+ for (; i2 < length - 2; i2++) {
626
+ if (t2 < input[i2 + 1])
897
627
  break;
898
628
  }
899
- let progressInRange = clamp(0, 1, progress(input[i3], input[i3 + 1], t2));
900
- const segmentEasing = getEasingForSegment(easing, i3);
629
+ let progressInRange = clamp(0, 1, progress(input[i2], input[i2 + 1], t2));
630
+ const segmentEasing = getEasingForSegment(easing, i2);
901
631
  progressInRange = segmentEasing(progressInRange);
902
- return mix(output[i3], output[i3 + 1], progressInRange);
632
+ return mix(output[i2], output[i2 + 1], progressInRange);
903
633
  };
904
634
  }
905
635
  const isCubicBezier = (easing) => Array.isArray(easing) && isNumber(easing[0]);
@@ -916,7 +646,7 @@ const subdivisionMaxIterations = 12;
916
646
  function binarySubdivide(x2, lowerBound, upperBound, mX1, mX2) {
917
647
  let currentX;
918
648
  let currentT;
919
- let i3 = 0;
649
+ let i2 = 0;
920
650
  do {
921
651
  currentT = lowerBound + (upperBound - lowerBound) / 2;
922
652
  currentX = calcBezier(currentT, mX1, mX2) - x2;
@@ -925,7 +655,7 @@ function binarySubdivide(x2, lowerBound, upperBound, mX1, mX2) {
925
655
  } else {
926
656
  lowerBound = currentT;
927
657
  }
928
- } while (Math.abs(currentX) > subdivisionPrecision && ++i3 < subdivisionMaxIterations);
658
+ } while (Math.abs(currentX) > subdivisionPrecision && ++i2 < subdivisionMaxIterations);
929
659
  return currentT;
930
660
  }
931
661
  function cubicBezier(mX1, mY1, mX2, mY2) {
@@ -1213,8 +943,8 @@ const resolution = 0.015;
1213
943
  const generateLinearEasingPoints = (easing, duration) => {
1214
944
  let points = "";
1215
945
  const numPoints = Math.round(duration / resolution);
1216
- for (let i3 = 0; i3 < numPoints; i3++) {
1217
- points += easing(progress(0, numPoints - 1, i3)) + ", ";
946
+ for (let i2 = 0; i2 < numPoints; i2++) {
947
+ points += easing(progress(0, numPoints - 1, i2)) + ", ";
1218
948
  }
1219
949
  return points.substring(0, points.length - 2);
1220
950
  };
@@ -1227,9 +957,9 @@ const convertEasing = (easing, duration) => {
1227
957
  };
1228
958
  const cubicBezierAsString = ([a2, b2, c2, d2]) => `cubic-bezier(${a2}, ${b2}, ${c2}, ${d2})`;
1229
959
  function hydrateKeyframes(keyframes, readInitialValue) {
1230
- for (let i3 = 0; i3 < keyframes.length; i3++) {
1231
- if (keyframes[i3] === null) {
1232
- keyframes[i3] = i3 ? keyframes[i3 - 1] : readInitialValue();
960
+ for (let i2 = 0; i2 < keyframes.length; i2++) {
961
+ if (keyframes[i2] === null) {
962
+ keyframes[i2] = i2 ? keyframes[i2 - 1] : readInitialValue();
1233
963
  }
1234
964
  }
1235
965
  return keyframes;
@@ -1450,8 +1180,8 @@ const controls = {
1450
1180
  value = time.ms(value);
1451
1181
  // Fall-through
1452
1182
  case "playbackRate":
1453
- for (let i3 = 0; i3 < target.animations.length; i3++) {
1454
- target.animations[i3][key] = value;
1183
+ for (let i2 = 0; i2 < target.animations.length; i2++) {
1184
+ target.animations[i2][key] = value;
1455
1185
  }
1456
1186
  return true;
1457
1187
  }
@@ -1459,19 +1189,19 @@ const controls = {
1459
1189
  }
1460
1190
  };
1461
1191
  const selectFinished = (animation) => animation.finished;
1462
- function resolveOption(option, i3, total) {
1463
- return isFunction(option) ? option(i3, total) : option;
1192
+ function resolveOption(option, i2, total) {
1193
+ return isFunction(option) ? option(i2, total) : option;
1464
1194
  }
1465
1195
  function createAnimate(AnimatePolyfill) {
1466
1196
  return function animate2(elements, keyframes, options = {}) {
1467
1197
  elements = resolveElements(elements);
1468
1198
  const numElements = elements.length;
1469
1199
  const animationFactories = [];
1470
- for (let i3 = 0; i3 < numElements; i3++) {
1471
- const element = elements[i3];
1200
+ for (let i2 = 0; i2 < numElements; i2++) {
1201
+ const element = elements[i2];
1472
1202
  for (const key in keyframes) {
1473
1203
  const valueOptions = getOptions(options, key);
1474
- valueOptions.delay = resolveOption(valueOptions.delay, i3, numElements);
1204
+ valueOptions.delay = resolveOption(valueOptions.delay, i2, numElements);
1475
1205
  const animation = animateStyle(element, key, keyframes[key], valueOptions, AnimatePolyfill);
1476
1206
  animationFactories.push(animation);
1477
1207
  }
@@ -1507,12 +1237,7 @@ function animate(target, keyframesOrOptions, options) {
1507
1237
  const factory = isFunction(target) ? animateProgress : animate$1;
1508
1238
  return factory(target, keyframesOrOptions, options);
1509
1239
  }
1510
- /**
1511
- * @license
1512
- * Copyright 2018 Google LLC
1513
- * SPDX-License-Identifier: BSD-3-Clause
1514
- */
1515
- const l = (l2) => null != l2 ? l2 : A$1;
1240
+ const l = (l2) => null != l2 ? l2 : A;
1516
1241
  var browser = {};
1517
1242
  var canPromise;
1518
1243
  var hasRequiredCanPromise;
@@ -1610,11 +1335,11 @@ var hasRequiredErrorCorrectionLevel;
1610
1335
  function requireErrorCorrectionLevel() {
1611
1336
  if (hasRequiredErrorCorrectionLevel) return errorCorrectionLevel;
1612
1337
  hasRequiredErrorCorrectionLevel = 1;
1613
- (function(exports) {
1614
- exports.L = { bit: 1 };
1615
- exports.M = { bit: 0 };
1616
- exports.Q = { bit: 3 };
1617
- exports.H = { bit: 2 };
1338
+ (function(exports$1) {
1339
+ exports$1.L = { bit: 1 };
1340
+ exports$1.M = { bit: 0 };
1341
+ exports$1.Q = { bit: 3 };
1342
+ exports$1.H = { bit: 2 };
1618
1343
  function fromString(string) {
1619
1344
  if (typeof string !== "string") {
1620
1345
  throw new Error("Param is not a string");
@@ -1623,25 +1348,25 @@ function requireErrorCorrectionLevel() {
1623
1348
  switch (lcStr) {
1624
1349
  case "l":
1625
1350
  case "low":
1626
- return exports.L;
1351
+ return exports$1.L;
1627
1352
  case "m":
1628
1353
  case "medium":
1629
- return exports.M;
1354
+ return exports$1.M;
1630
1355
  case "q":
1631
1356
  case "quartile":
1632
- return exports.Q;
1357
+ return exports$1.Q;
1633
1358
  case "h":
1634
1359
  case "high":
1635
- return exports.H;
1360
+ return exports$1.H;
1636
1361
  default:
1637
1362
  throw new Error("Unknown EC Level: " + string);
1638
1363
  }
1639
1364
  }
1640
- exports.isValid = function isValid(level) {
1365
+ exports$1.isValid = function isValid(level) {
1641
1366
  return level && typeof level.bit !== "undefined" && level.bit >= 0 && level.bit < 4;
1642
1367
  };
1643
- exports.from = function from(value, defaultValue) {
1644
- if (exports.isValid(value)) {
1368
+ exports$1.from = function from(value, defaultValue) {
1369
+ if (exports$1.isValid(value)) {
1645
1370
  return value;
1646
1371
  }
1647
1372
  try {
@@ -1668,8 +1393,8 @@ function requireBitBuffer() {
1668
1393
  return (this.buffer[bufIndex] >>> 7 - index % 8 & 1) === 1;
1669
1394
  },
1670
1395
  put: function(num, length) {
1671
- for (let i3 = 0; i3 < length; i3++) {
1672
- this.putBit((num >>> length - i3 - 1 & 1) === 1);
1396
+ for (let i2 = 0; i2 < length; i2++) {
1397
+ this.putBit((num >>> length - i2 - 1 & 1) === 1);
1673
1398
  }
1674
1399
  },
1675
1400
  getLengthInBits: function() {
@@ -1724,32 +1449,32 @@ var hasRequiredAlignmentPattern;
1724
1449
  function requireAlignmentPattern() {
1725
1450
  if (hasRequiredAlignmentPattern) return alignmentPattern;
1726
1451
  hasRequiredAlignmentPattern = 1;
1727
- (function(exports) {
1452
+ (function(exports$1) {
1728
1453
  const getSymbolSize = requireUtils$1().getSymbolSize;
1729
- exports.getRowColCoords = function getRowColCoords(version2) {
1454
+ exports$1.getRowColCoords = function getRowColCoords(version2) {
1730
1455
  if (version2 === 1) return [];
1731
1456
  const posCount = Math.floor(version2 / 7) + 2;
1732
1457
  const size = getSymbolSize(version2);
1733
1458
  const intervals = size === 145 ? 26 : Math.ceil((size - 13) / (2 * posCount - 2)) * 2;
1734
1459
  const positions = [size - 7];
1735
- for (let i3 = 1; i3 < posCount - 1; i3++) {
1736
- positions[i3] = positions[i3 - 1] - intervals;
1460
+ for (let i2 = 1; i2 < posCount - 1; i2++) {
1461
+ positions[i2] = positions[i2 - 1] - intervals;
1737
1462
  }
1738
1463
  positions.push(6);
1739
1464
  return positions.reverse();
1740
1465
  };
1741
- exports.getPositions = function getPositions(version2) {
1466
+ exports$1.getPositions = function getPositions(version2) {
1742
1467
  const coords = [];
1743
- const pos = exports.getRowColCoords(version2);
1468
+ const pos = exports$1.getRowColCoords(version2);
1744
1469
  const posLength = pos.length;
1745
- for (let i3 = 0; i3 < posLength; i3++) {
1746
- for (let j2 = 0; j2 < posLength; j2++) {
1747
- if (i3 === 0 && j2 === 0 || // top-left
1748
- i3 === 0 && j2 === posLength - 1 || // bottom-left
1749
- i3 === posLength - 1 && j2 === 0) {
1470
+ for (let i2 = 0; i2 < posLength; i2++) {
1471
+ for (let j = 0; j < posLength; j++) {
1472
+ if (i2 === 0 && j === 0 || // top-left
1473
+ i2 === 0 && j === posLength - 1 || // bottom-left
1474
+ i2 === posLength - 1 && j === 0) {
1750
1475
  continue;
1751
1476
  }
1752
- coords.push([pos[i3], pos[j2]]);
1477
+ coords.push([pos[i2], pos[j]]);
1753
1478
  }
1754
1479
  }
1755
1480
  return coords;
@@ -1782,8 +1507,8 @@ var hasRequiredMaskPattern;
1782
1507
  function requireMaskPattern() {
1783
1508
  if (hasRequiredMaskPattern) return maskPattern;
1784
1509
  hasRequiredMaskPattern = 1;
1785
- (function(exports) {
1786
- exports.Patterns = {
1510
+ (function(exports$1) {
1511
+ exports$1.Patterns = {
1787
1512
  PATTERN000: 0,
1788
1513
  PATTERN001: 1,
1789
1514
  PATTERN010: 2,
@@ -1799,13 +1524,13 @@ function requireMaskPattern() {
1799
1524
  N3: 40,
1800
1525
  N4: 10
1801
1526
  };
1802
- exports.isValid = function isValid(mask) {
1527
+ exports$1.isValid = function isValid(mask) {
1803
1528
  return mask != null && mask !== "" && !isNaN(mask) && mask >= 0 && mask <= 7;
1804
1529
  };
1805
- exports.from = function from(value) {
1806
- return exports.isValid(value) ? parseInt(value, 10) : void 0;
1530
+ exports$1.from = function from(value) {
1531
+ return exports$1.isValid(value) ? parseInt(value, 10) : void 0;
1807
1532
  };
1808
- exports.getPenaltyN1 = function getPenaltyN1(data2) {
1533
+ exports$1.getPenaltyN1 = function getPenaltyN1(data2) {
1809
1534
  const size = data2.size;
1810
1535
  let points = 0;
1811
1536
  let sameCountCol = 0;
@@ -1838,7 +1563,7 @@ function requireMaskPattern() {
1838
1563
  }
1839
1564
  return points;
1840
1565
  };
1841
- exports.getPenaltyN2 = function getPenaltyN2(data2) {
1566
+ exports$1.getPenaltyN2 = function getPenaltyN2(data2) {
1842
1567
  const size = data2.size;
1843
1568
  let points = 0;
1844
1569
  for (let row = 0; row < size - 1; row++) {
@@ -1849,7 +1574,7 @@ function requireMaskPattern() {
1849
1574
  }
1850
1575
  return points * PenaltyScores.N2;
1851
1576
  };
1852
- exports.getPenaltyN3 = function getPenaltyN3(data2) {
1577
+ exports$1.getPenaltyN3 = function getPenaltyN3(data2) {
1853
1578
  const size = data2.size;
1854
1579
  let points = 0;
1855
1580
  let bitsCol = 0;
@@ -1865,36 +1590,36 @@ function requireMaskPattern() {
1865
1590
  }
1866
1591
  return points * PenaltyScores.N3;
1867
1592
  };
1868
- exports.getPenaltyN4 = function getPenaltyN4(data2) {
1593
+ exports$1.getPenaltyN4 = function getPenaltyN4(data2) {
1869
1594
  let darkCount = 0;
1870
1595
  const modulesCount = data2.data.length;
1871
- for (let i3 = 0; i3 < modulesCount; i3++) darkCount += data2.data[i3];
1872
- const k3 = Math.abs(Math.ceil(darkCount * 100 / modulesCount / 5) - 10);
1873
- return k3 * PenaltyScores.N4;
1596
+ for (let i2 = 0; i2 < modulesCount; i2++) darkCount += data2.data[i2];
1597
+ const k2 = Math.abs(Math.ceil(darkCount * 100 / modulesCount / 5) - 10);
1598
+ return k2 * PenaltyScores.N4;
1874
1599
  };
1875
- function getMaskAt(maskPattern2, i3, j2) {
1600
+ function getMaskAt(maskPattern2, i2, j) {
1876
1601
  switch (maskPattern2) {
1877
- case exports.Patterns.PATTERN000:
1878
- return (i3 + j2) % 2 === 0;
1879
- case exports.Patterns.PATTERN001:
1880
- return i3 % 2 === 0;
1881
- case exports.Patterns.PATTERN010:
1882
- return j2 % 3 === 0;
1883
- case exports.Patterns.PATTERN011:
1884
- return (i3 + j2) % 3 === 0;
1885
- case exports.Patterns.PATTERN100:
1886
- return (Math.floor(i3 / 2) + Math.floor(j2 / 3)) % 2 === 0;
1887
- case exports.Patterns.PATTERN101:
1888
- return i3 * j2 % 2 + i3 * j2 % 3 === 0;
1889
- case exports.Patterns.PATTERN110:
1890
- return (i3 * j2 % 2 + i3 * j2 % 3) % 2 === 0;
1891
- case exports.Patterns.PATTERN111:
1892
- return (i3 * j2 % 3 + (i3 + j2) % 2) % 2 === 0;
1602
+ case exports$1.Patterns.PATTERN000:
1603
+ return (i2 + j) % 2 === 0;
1604
+ case exports$1.Patterns.PATTERN001:
1605
+ return i2 % 2 === 0;
1606
+ case exports$1.Patterns.PATTERN010:
1607
+ return j % 3 === 0;
1608
+ case exports$1.Patterns.PATTERN011:
1609
+ return (i2 + j) % 3 === 0;
1610
+ case exports$1.Patterns.PATTERN100:
1611
+ return (Math.floor(i2 / 2) + Math.floor(j / 3)) % 2 === 0;
1612
+ case exports$1.Patterns.PATTERN101:
1613
+ return i2 * j % 2 + i2 * j % 3 === 0;
1614
+ case exports$1.Patterns.PATTERN110:
1615
+ return (i2 * j % 2 + i2 * j % 3) % 2 === 0;
1616
+ case exports$1.Patterns.PATTERN111:
1617
+ return (i2 * j % 3 + (i2 + j) % 2) % 2 === 0;
1893
1618
  default:
1894
1619
  throw new Error("bad maskPattern:" + maskPattern2);
1895
1620
  }
1896
1621
  }
1897
- exports.applyMask = function applyMask(pattern, data2) {
1622
+ exports$1.applyMask = function applyMask(pattern, data2) {
1898
1623
  const size = data2.size;
1899
1624
  for (let col = 0; col < size; col++) {
1900
1625
  for (let row = 0; row < size; row++) {
@@ -1903,15 +1628,15 @@ function requireMaskPattern() {
1903
1628
  }
1904
1629
  }
1905
1630
  };
1906
- exports.getBestMask = function getBestMask(data2, setupFormatFunc) {
1907
- const numPatterns = Object.keys(exports.Patterns).length;
1631
+ exports$1.getBestMask = function getBestMask(data2, setupFormatFunc) {
1632
+ const numPatterns = Object.keys(exports$1.Patterns).length;
1908
1633
  let bestPattern = 0;
1909
1634
  let lowerPenalty = Infinity;
1910
1635
  for (let p2 = 0; p2 < numPatterns; p2++) {
1911
1636
  setupFormatFunc(p2);
1912
- exports.applyMask(p2, data2);
1913
- const penalty = exports.getPenaltyN1(data2) + exports.getPenaltyN2(data2) + exports.getPenaltyN3(data2) + exports.getPenaltyN4(data2);
1914
- exports.applyMask(p2, data2);
1637
+ exports$1.applyMask(p2, data2);
1638
+ const penalty = exports$1.getPenaltyN1(data2) + exports$1.getPenaltyN2(data2) + exports$1.getPenaltyN3(data2) + exports$1.getPenaltyN4(data2);
1639
+ exports$1.applyMask(p2, data2);
1915
1640
  if (penalty < lowerPenalty) {
1916
1641
  lowerPenalty = penalty;
1917
1642
  bestPattern = p2;
@@ -2294,16 +2019,16 @@ function requireGaloisField() {
2294
2019
  const LOG_TABLE = new Uint8Array(256);
2295
2020
  (function initTables() {
2296
2021
  let x2 = 1;
2297
- for (let i3 = 0; i3 < 255; i3++) {
2298
- EXP_TABLE[i3] = x2;
2299
- LOG_TABLE[x2] = i3;
2022
+ for (let i2 = 0; i2 < 255; i2++) {
2023
+ EXP_TABLE[i2] = x2;
2024
+ LOG_TABLE[x2] = i2;
2300
2025
  x2 <<= 1;
2301
2026
  if (x2 & 256) {
2302
2027
  x2 ^= 285;
2303
2028
  }
2304
2029
  }
2305
- for (let i3 = 255; i3 < 512; i3++) {
2306
- EXP_TABLE[i3] = EXP_TABLE[i3 - 255];
2030
+ for (let i2 = 255; i2 < 512; i2++) {
2031
+ EXP_TABLE[i2] = EXP_TABLE[i2 - 255];
2307
2032
  }
2308
2033
  })();
2309
2034
  galoisField.log = function log(n2) {
@@ -2323,23 +2048,23 @@ var hasRequiredPolynomial;
2323
2048
  function requirePolynomial() {
2324
2049
  if (hasRequiredPolynomial) return polynomial;
2325
2050
  hasRequiredPolynomial = 1;
2326
- (function(exports) {
2051
+ (function(exports$1) {
2327
2052
  const GF = requireGaloisField();
2328
- exports.mul = function mul(p1, p2) {
2053
+ exports$1.mul = function mul(p1, p2) {
2329
2054
  const coeff = new Uint8Array(p1.length + p2.length - 1);
2330
- for (let i3 = 0; i3 < p1.length; i3++) {
2331
- for (let j2 = 0; j2 < p2.length; j2++) {
2332
- coeff[i3 + j2] ^= GF.mul(p1[i3], p2[j2]);
2055
+ for (let i2 = 0; i2 < p1.length; i2++) {
2056
+ for (let j = 0; j < p2.length; j++) {
2057
+ coeff[i2 + j] ^= GF.mul(p1[i2], p2[j]);
2333
2058
  }
2334
2059
  }
2335
2060
  return coeff;
2336
2061
  };
2337
- exports.mod = function mod(divident, divisor) {
2062
+ exports$1.mod = function mod(divident, divisor) {
2338
2063
  let result = new Uint8Array(divident);
2339
2064
  while (result.length - divisor.length >= 0) {
2340
2065
  const coeff = result[0];
2341
- for (let i3 = 0; i3 < divisor.length; i3++) {
2342
- result[i3] ^= GF.mul(divisor[i3], coeff);
2066
+ for (let i2 = 0; i2 < divisor.length; i2++) {
2067
+ result[i2] ^= GF.mul(divisor[i2], coeff);
2343
2068
  }
2344
2069
  let offset = 0;
2345
2070
  while (offset < result.length && result[offset] === 0) offset++;
@@ -2347,10 +2072,10 @@ function requirePolynomial() {
2347
2072
  }
2348
2073
  return result;
2349
2074
  };
2350
- exports.generateECPolynomial = function generateECPolynomial(degree) {
2075
+ exports$1.generateECPolynomial = function generateECPolynomial(degree) {
2351
2076
  let poly = new Uint8Array([1]);
2352
- for (let i3 = 0; i3 < degree; i3++) {
2353
- poly = exports.mul(poly, new Uint8Array([1, GF.exp(i3)]));
2077
+ for (let i2 = 0; i2 < degree; i2++) {
2078
+ poly = exports$1.mul(poly, new Uint8Array([1, GF.exp(i2)]));
2354
2079
  }
2355
2080
  return poly;
2356
2081
  };
@@ -2435,33 +2160,33 @@ var hasRequiredMode;
2435
2160
  function requireMode() {
2436
2161
  if (hasRequiredMode) return mode;
2437
2162
  hasRequiredMode = 1;
2438
- (function(exports) {
2163
+ (function(exports$1) {
2439
2164
  const VersionCheck = requireVersionCheck();
2440
2165
  const Regex = requireRegex();
2441
- exports.NUMERIC = {
2166
+ exports$1.NUMERIC = {
2442
2167
  id: "Numeric",
2443
2168
  bit: 1 << 0,
2444
2169
  ccBits: [10, 12, 14]
2445
2170
  };
2446
- exports.ALPHANUMERIC = {
2171
+ exports$1.ALPHANUMERIC = {
2447
2172
  id: "Alphanumeric",
2448
2173
  bit: 1 << 1,
2449
2174
  ccBits: [9, 11, 13]
2450
2175
  };
2451
- exports.BYTE = {
2176
+ exports$1.BYTE = {
2452
2177
  id: "Byte",
2453
2178
  bit: 1 << 2,
2454
2179
  ccBits: [8, 16, 16]
2455
2180
  };
2456
- exports.KANJI = {
2181
+ exports$1.KANJI = {
2457
2182
  id: "Kanji",
2458
2183
  bit: 1 << 3,
2459
2184
  ccBits: [8, 10, 12]
2460
2185
  };
2461
- exports.MIXED = {
2186
+ exports$1.MIXED = {
2462
2187
  bit: -1
2463
2188
  };
2464
- exports.getCharCountIndicator = function getCharCountIndicator(mode2, version2) {
2189
+ exports$1.getCharCountIndicator = function getCharCountIndicator(mode2, version2) {
2465
2190
  if (!mode2.ccBits) throw new Error("Invalid mode: " + mode2);
2466
2191
  if (!VersionCheck.isValid(version2)) {
2467
2192
  throw new Error("Invalid version: " + version2);
@@ -2470,17 +2195,17 @@ function requireMode() {
2470
2195
  else if (version2 < 27) return mode2.ccBits[1];
2471
2196
  return mode2.ccBits[2];
2472
2197
  };
2473
- exports.getBestModeForData = function getBestModeForData(dataStr) {
2474
- if (Regex.testNumeric(dataStr)) return exports.NUMERIC;
2475
- else if (Regex.testAlphanumeric(dataStr)) return exports.ALPHANUMERIC;
2476
- else if (Regex.testKanji(dataStr)) return exports.KANJI;
2477
- else return exports.BYTE;
2198
+ exports$1.getBestModeForData = function getBestModeForData(dataStr) {
2199
+ if (Regex.testNumeric(dataStr)) return exports$1.NUMERIC;
2200
+ else if (Regex.testAlphanumeric(dataStr)) return exports$1.ALPHANUMERIC;
2201
+ else if (Regex.testKanji(dataStr)) return exports$1.KANJI;
2202
+ else return exports$1.BYTE;
2478
2203
  };
2479
- exports.toString = function toString(mode2) {
2204
+ exports$1.toString = function toString(mode2) {
2480
2205
  if (mode2 && mode2.id) return mode2.id;
2481
2206
  throw new Error("Invalid mode");
2482
2207
  };
2483
- exports.isValid = function isValid(mode2) {
2208
+ exports$1.isValid = function isValid(mode2) {
2484
2209
  return mode2 && mode2.bit && mode2.ccBits;
2485
2210
  };
2486
2211
  function fromString(string) {
@@ -2490,19 +2215,19 @@ function requireMode() {
2490
2215
  const lcStr = string.toLowerCase();
2491
2216
  switch (lcStr) {
2492
2217
  case "numeric":
2493
- return exports.NUMERIC;
2218
+ return exports$1.NUMERIC;
2494
2219
  case "alphanumeric":
2495
- return exports.ALPHANUMERIC;
2220
+ return exports$1.ALPHANUMERIC;
2496
2221
  case "kanji":
2497
- return exports.KANJI;
2222
+ return exports$1.KANJI;
2498
2223
  case "byte":
2499
- return exports.BYTE;
2224
+ return exports$1.BYTE;
2500
2225
  default:
2501
2226
  throw new Error("Unknown mode: " + string);
2502
2227
  }
2503
2228
  }
2504
- exports.from = function from(value, defaultValue) {
2505
- if (exports.isValid(value)) {
2229
+ exports$1.from = function from(value, defaultValue) {
2230
+ if (exports$1.isValid(value)) {
2506
2231
  return value;
2507
2232
  }
2508
2233
  try {
@@ -2518,7 +2243,7 @@ var hasRequiredVersion;
2518
2243
  function requireVersion() {
2519
2244
  if (hasRequiredVersion) return version;
2520
2245
  hasRequiredVersion = 1;
2521
- (function(exports) {
2246
+ (function(exports$1) {
2522
2247
  const Utils = requireUtils$1();
2523
2248
  const ECCode = requireErrorCorrectionCode();
2524
2249
  const ECLevel = requireErrorCorrectionLevel();
@@ -2528,7 +2253,7 @@ function requireVersion() {
2528
2253
  const G18_BCH = Utils.getBCHDigit(G18);
2529
2254
  function getBestVersionForDataLength(mode2, length, errorCorrectionLevel2) {
2530
2255
  for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {
2531
- if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel2, mode2)) {
2256
+ if (length <= exports$1.getCapacity(currentVersion, errorCorrectionLevel2, mode2)) {
2532
2257
  return currentVersion;
2533
2258
  }
2534
2259
  }
@@ -2548,19 +2273,19 @@ function requireVersion() {
2548
2273
  function getBestVersionForMixedData(segments2, errorCorrectionLevel2) {
2549
2274
  for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {
2550
2275
  const length = getTotalBitsFromDataArray(segments2, currentVersion);
2551
- if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel2, Mode.MIXED)) {
2276
+ if (length <= exports$1.getCapacity(currentVersion, errorCorrectionLevel2, Mode.MIXED)) {
2552
2277
  return currentVersion;
2553
2278
  }
2554
2279
  }
2555
2280
  return void 0;
2556
2281
  }
2557
- exports.from = function from(value, defaultValue) {
2282
+ exports$1.from = function from(value, defaultValue) {
2558
2283
  if (VersionCheck.isValid(value)) {
2559
2284
  return parseInt(value, 10);
2560
2285
  }
2561
2286
  return defaultValue;
2562
2287
  };
2563
- exports.getCapacity = function getCapacity(version2, errorCorrectionLevel2, mode2) {
2288
+ exports$1.getCapacity = function getCapacity(version2, errorCorrectionLevel2, mode2) {
2564
2289
  if (!VersionCheck.isValid(version2)) {
2565
2290
  throw new Error("Invalid QR Code version");
2566
2291
  }
@@ -2582,7 +2307,7 @@ function requireVersion() {
2582
2307
  return Math.floor(usableBits / 8);
2583
2308
  }
2584
2309
  };
2585
- exports.getBestVersionForData = function getBestVersionForData(data2, errorCorrectionLevel2) {
2310
+ exports$1.getBestVersionForData = function getBestVersionForData(data2, errorCorrectionLevel2) {
2586
2311
  let seg;
2587
2312
  const ecl = ECLevel.from(errorCorrectionLevel2, ECLevel.M);
2588
2313
  if (Array.isArray(data2)) {
@@ -2598,7 +2323,7 @@ function requireVersion() {
2598
2323
  }
2599
2324
  return getBestVersionForDataLength(seg.mode, seg.getLength(), ecl);
2600
2325
  };
2601
- exports.getEncodedBits = function getEncodedBits(version2) {
2326
+ exports$1.getEncodedBits = function getEncodedBits(version2) {
2602
2327
  if (!VersionCheck.isValid(version2) || version2 < 7) {
2603
2328
  throw new Error("Invalid QR Code version");
2604
2329
  }
@@ -2651,15 +2376,15 @@ function requireNumericData() {
2651
2376
  return NumericData.getBitsLength(this.data.length);
2652
2377
  };
2653
2378
  NumericData.prototype.write = function write(bitBuffer2) {
2654
- let i3, group, value;
2655
- for (i3 = 0; i3 + 3 <= this.data.length; i3 += 3) {
2656
- group = this.data.substr(i3, 3);
2379
+ let i2, group, value;
2380
+ for (i2 = 0; i2 + 3 <= this.data.length; i2 += 3) {
2381
+ group = this.data.substr(i2, 3);
2657
2382
  value = parseInt(group, 10);
2658
2383
  bitBuffer2.put(value, 10);
2659
2384
  }
2660
- const remainingNum = this.data.length - i3;
2385
+ const remainingNum = this.data.length - i2;
2661
2386
  if (remainingNum > 0) {
2662
- group = this.data.substr(i3);
2387
+ group = this.data.substr(i2);
2663
2388
  value = parseInt(group, 10);
2664
2389
  bitBuffer2.put(value, remainingNum * 3 + 1);
2665
2390
  }
@@ -2734,14 +2459,14 @@ function requireAlphanumericData() {
2734
2459
  return AlphanumericData.getBitsLength(this.data.length);
2735
2460
  };
2736
2461
  AlphanumericData.prototype.write = function write(bitBuffer2) {
2737
- let i3;
2738
- for (i3 = 0; i3 + 2 <= this.data.length; i3 += 2) {
2739
- let value = ALPHA_NUM_CHARS.indexOf(this.data[i3]) * 45;
2740
- value += ALPHA_NUM_CHARS.indexOf(this.data[i3 + 1]);
2462
+ let i2;
2463
+ for (i2 = 0; i2 + 2 <= this.data.length; i2 += 2) {
2464
+ let value = ALPHA_NUM_CHARS.indexOf(this.data[i2]) * 45;
2465
+ value += ALPHA_NUM_CHARS.indexOf(this.data[i2 + 1]);
2741
2466
  bitBuffer2.put(value, 11);
2742
2467
  }
2743
2468
  if (this.data.length % 2) {
2744
- bitBuffer2.put(ALPHA_NUM_CHARS.indexOf(this.data[i3]), 6);
2469
+ bitBuffer2.put(ALPHA_NUM_CHARS.indexOf(this.data[i2]), 6);
2745
2470
  }
2746
2471
  };
2747
2472
  alphanumericData = AlphanumericData;
@@ -2816,8 +2541,8 @@ function requireByteData() {
2816
2541
  return ByteData.getBitsLength(this.data.length);
2817
2542
  };
2818
2543
  ByteData.prototype.write = function(bitBuffer2) {
2819
- for (let i3 = 0, l2 = this.data.length; i3 < l2; i3++) {
2820
- bitBuffer2.put(this.data[i3], 8);
2544
+ for (let i2 = 0, l2 = this.data.length; i2 < l2; i2++) {
2545
+ bitBuffer2.put(this.data[i2], 8);
2821
2546
  }
2822
2547
  };
2823
2548
  byteData = ByteData;
@@ -2844,16 +2569,16 @@ function requireKanjiData() {
2844
2569
  return KanjiData.getBitsLength(this.data.length);
2845
2570
  };
2846
2571
  KanjiData.prototype.write = function(bitBuffer2) {
2847
- let i3;
2848
- for (i3 = 0; i3 < this.data.length; i3++) {
2849
- let value = Utils.toSJIS(this.data[i3]);
2572
+ let i2;
2573
+ for (i2 = 0; i2 < this.data.length; i2++) {
2574
+ let value = Utils.toSJIS(this.data[i2]);
2850
2575
  if (value >= 33088 && value <= 40956) {
2851
2576
  value -= 33088;
2852
2577
  } else if (value >= 57408 && value <= 60351) {
2853
2578
  value -= 49472;
2854
2579
  } else {
2855
2580
  throw new Error(
2856
- "Invalid SJIS character: " + this.data[i3] + "\nMake sure your charset is UTF-8"
2581
+ "Invalid SJIS character: " + this.data[i2] + "\nMake sure your charset is UTF-8"
2857
2582
  );
2858
2583
  }
2859
2584
  value = (value >>> 8 & 255) * 192 + (value & 255);
@@ -2870,12 +2595,12 @@ function requireDijkstra() {
2870
2595
  hasRequiredDijkstra = 1;
2871
2596
  (function(module) {
2872
2597
  var dijkstra2 = {
2873
- single_source_shortest_paths: function(graph, s3, d2) {
2598
+ single_source_shortest_paths: function(graph, s2, d2) {
2874
2599
  var predecessors = {};
2875
2600
  var costs = {};
2876
- costs[s3] = 0;
2601
+ costs[s2] = 0;
2877
2602
  var open = dijkstra2.PriorityQueue.make();
2878
- open.push(s3, 0);
2603
+ open.push(s2, 0);
2879
2604
  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;
2880
2605
  while (!open.empty()) {
2881
2606
  closest = open.pop();
@@ -2897,7 +2622,7 @@ function requireDijkstra() {
2897
2622
  }
2898
2623
  }
2899
2624
  if (typeof d2 !== "undefined" && typeof costs[d2] === "undefined") {
2900
- var msg = ["Could not find a path from ", s3, " to ", d2, "."].join("");
2625
+ var msg = ["Could not find a path from ", s2, " to ", d2, "."].join("");
2901
2626
  throw new Error(msg);
2902
2627
  }
2903
2628
  return predecessors;
@@ -2913,8 +2638,8 @@ function requireDijkstra() {
2913
2638
  nodes.reverse();
2914
2639
  return nodes;
2915
2640
  },
2916
- find_path: function(graph, s3, d2) {
2917
- var predecessors = dijkstra2.single_source_shortest_paths(graph, s3, d2);
2641
+ find_path: function(graph, s2, d2) {
2642
+ var predecessors = dijkstra2.single_source_shortest_paths(graph, s2, d2);
2918
2643
  return dijkstra2.extract_shortest_path_from_predecessor_list(
2919
2644
  predecessors,
2920
2645
  d2
@@ -2969,7 +2694,7 @@ var hasRequiredSegments;
2969
2694
  function requireSegments() {
2970
2695
  if (hasRequiredSegments) return segments;
2971
2696
  hasRequiredSegments = 1;
2972
- (function(exports) {
2697
+ (function(exports$1) {
2973
2698
  const Mode = requireMode();
2974
2699
  const NumericData = requireNumericData();
2975
2700
  const AlphanumericData = requireAlphanumericData();
@@ -3007,8 +2732,8 @@ function requireSegments() {
3007
2732
  kanjiSegs = [];
3008
2733
  }
3009
2734
  const segs = numSegs.concat(alphaNumSegs, byteSegs, kanjiSegs);
3010
- return segs.sort(function(s1, s22) {
3011
- return s1.index - s22.index;
2735
+ return segs.sort(function(s1, s2) {
2736
+ return s1.index - s2.index;
3012
2737
  }).map(function(obj) {
3013
2738
  return {
3014
2739
  data: obj.data,
@@ -3042,8 +2767,8 @@ function requireSegments() {
3042
2767
  }
3043
2768
  function buildNodes(segs) {
3044
2769
  const nodes = [];
3045
- for (let i3 = 0; i3 < segs.length; i3++) {
3046
- const seg = segs[i3];
2770
+ for (let i2 = 0; i2 < segs.length; i2++) {
2771
+ const seg = segs[i2];
3047
2772
  switch (seg.mode) {
3048
2773
  case Mode.NUMERIC:
3049
2774
  nodes.push([
@@ -3076,12 +2801,12 @@ function requireSegments() {
3076
2801
  const table = {};
3077
2802
  const graph = { start: {} };
3078
2803
  let prevNodeIds = ["start"];
3079
- for (let i3 = 0; i3 < nodes.length; i3++) {
3080
- const nodeGroup = nodes[i3];
2804
+ for (let i2 = 0; i2 < nodes.length; i2++) {
2805
+ const nodeGroup = nodes[i2];
3081
2806
  const currentNodeIds = [];
3082
- for (let j2 = 0; j2 < nodeGroup.length; j2++) {
3083
- const node = nodeGroup[j2];
3084
- const key = "" + i3 + j2;
2807
+ for (let j = 0; j < nodeGroup.length; j++) {
2808
+ const node = nodeGroup[j];
2809
+ const key = "" + i2 + j;
3085
2810
  currentNodeIds.push(key);
3086
2811
  table[key] = { node, lastCount: 0 };
3087
2812
  graph[key] = {};
@@ -3124,7 +2849,7 @@ function requireSegments() {
3124
2849
  return new ByteData(data2);
3125
2850
  }
3126
2851
  }
3127
- exports.fromArray = function fromArray(array) {
2852
+ exports$1.fromArray = function fromArray(array) {
3128
2853
  return array.reduce(function(acc, seg) {
3129
2854
  if (typeof seg === "string") {
3130
2855
  acc.push(buildSingleSegment(seg, null));
@@ -3134,19 +2859,19 @@ function requireSegments() {
3134
2859
  return acc;
3135
2860
  }, []);
3136
2861
  };
3137
- exports.fromString = function fromString(data2, version2) {
2862
+ exports$1.fromString = function fromString(data2, version2) {
3138
2863
  const segs = getSegmentsFromString(data2, Utils.isKanjiModeEnabled());
3139
2864
  const nodes = buildNodes(segs);
3140
2865
  const graph = buildGraph(nodes, version2);
3141
2866
  const path = dijkstra2.find_path(graph.map, "start", "end");
3142
2867
  const optimizedSegs = [];
3143
- for (let i3 = 1; i3 < path.length - 1; i3++) {
3144
- optimizedSegs.push(graph.table[path[i3]].node);
2868
+ for (let i2 = 1; i2 < path.length - 1; i2++) {
2869
+ optimizedSegs.push(graph.table[path[i2]].node);
3145
2870
  }
3146
- return exports.fromArray(mergeSegments(optimizedSegs));
2871
+ return exports$1.fromArray(mergeSegments(optimizedSegs));
3147
2872
  };
3148
- exports.rawSplit = function rawSplit(data2) {
3149
- return exports.fromArray(
2873
+ exports$1.rawSplit = function rawSplit(data2) {
2874
+ return exports$1.fromArray(
3150
2875
  getSegmentsFromString(data2, Utils.isKanjiModeEnabled())
3151
2876
  );
3152
2877
  };
@@ -3173,9 +2898,9 @@ function requireQrcode() {
3173
2898
  function setupFinderPattern(matrix, version2) {
3174
2899
  const size = matrix.size;
3175
2900
  const pos = FinderPattern.getPositions(version2);
3176
- for (let i3 = 0; i3 < pos.length; i3++) {
3177
- const row = pos[i3][0];
3178
- const col = pos[i3][1];
2901
+ for (let i2 = 0; i2 < pos.length; i2++) {
2902
+ const row = pos[i2][0];
2903
+ const col = pos[i2][1];
3179
2904
  for (let r2 = -1; r2 <= 7; r2++) {
3180
2905
  if (row + r2 <= -1 || size <= row + r2) continue;
3181
2906
  for (let c2 = -1; c2 <= 7; c2++) {
@@ -3199,9 +2924,9 @@ function requireQrcode() {
3199
2924
  }
3200
2925
  function setupAlignmentPattern(matrix, version2) {
3201
2926
  const pos = AlignmentPattern.getPositions(version2);
3202
- for (let i3 = 0; i3 < pos.length; i3++) {
3203
- const row = pos[i3][0];
3204
- const col = pos[i3][1];
2927
+ for (let i2 = 0; i2 < pos.length; i2++) {
2928
+ const row = pos[i2][0];
2929
+ const col = pos[i2][1];
3205
2930
  for (let r2 = -2; r2 <= 2; r2++) {
3206
2931
  for (let c2 = -2; c2 <= 2; c2++) {
3207
2932
  if (r2 === -2 || r2 === 2 || c2 === -2 || c2 === 2 || r2 === 0 && c2 === 0) {
@@ -3217,10 +2942,10 @@ function requireQrcode() {
3217
2942
  const size = matrix.size;
3218
2943
  const bits = Version.getEncodedBits(version2);
3219
2944
  let row, col, mod;
3220
- for (let i3 = 0; i3 < 18; i3++) {
3221
- row = Math.floor(i3 / 3);
3222
- col = i3 % 3 + size - 8 - 3;
3223
- mod = (bits >> i3 & 1) === 1;
2945
+ for (let i2 = 0; i2 < 18; i2++) {
2946
+ row = Math.floor(i2 / 3);
2947
+ col = i2 % 3 + size - 8 - 3;
2948
+ mod = (bits >> i2 & 1) === 1;
3224
2949
  matrix.set(row, col, mod, true);
3225
2950
  matrix.set(col, row, mod, true);
3226
2951
  }
@@ -3228,22 +2953,22 @@ function requireQrcode() {
3228
2953
  function setupFormatInfo(matrix, errorCorrectionLevel2, maskPattern2) {
3229
2954
  const size = matrix.size;
3230
2955
  const bits = FormatInfo.getEncodedBits(errorCorrectionLevel2, maskPattern2);
3231
- let i3, mod;
3232
- for (i3 = 0; i3 < 15; i3++) {
3233
- mod = (bits >> i3 & 1) === 1;
3234
- if (i3 < 6) {
3235
- matrix.set(i3, 8, mod, true);
3236
- } else if (i3 < 8) {
3237
- matrix.set(i3 + 1, 8, mod, true);
2956
+ let i2, mod;
2957
+ for (i2 = 0; i2 < 15; i2++) {
2958
+ mod = (bits >> i2 & 1) === 1;
2959
+ if (i2 < 6) {
2960
+ matrix.set(i2, 8, mod, true);
2961
+ } else if (i2 < 8) {
2962
+ matrix.set(i2 + 1, 8, mod, true);
3238
2963
  } else {
3239
- matrix.set(size - 15 + i3, 8, mod, true);
2964
+ matrix.set(size - 15 + i2, 8, mod, true);
3240
2965
  }
3241
- if (i3 < 8) {
3242
- matrix.set(8, size - i3 - 1, mod, true);
3243
- } else if (i3 < 9) {
3244
- matrix.set(8, 15 - i3 - 1 + 1, mod, true);
2966
+ if (i2 < 8) {
2967
+ matrix.set(8, size - i2 - 1, mod, true);
2968
+ } else if (i2 < 9) {
2969
+ matrix.set(8, 15 - i2 - 1 + 1, mod, true);
3245
2970
  } else {
3246
- matrix.set(8, 15 - i3 - 1, mod, true);
2971
+ matrix.set(8, 15 - i2 - 1, mod, true);
3247
2972
  }
3248
2973
  }
3249
2974
  matrix.set(size - 8, 8, 1, true);
@@ -3297,8 +3022,8 @@ function requireQrcode() {
3297
3022
  buffer.putBit(0);
3298
3023
  }
3299
3024
  const remainingByte = (dataTotalCodewordsBits - buffer.getLengthInBits()) / 8;
3300
- for (let i3 = 0; i3 < remainingByte; i3++) {
3301
- buffer.put(i3 % 2 ? 17 : 236, 8);
3025
+ for (let i2 = 0; i2 < remainingByte; i2++) {
3026
+ buffer.put(i2 % 2 ? 17 : 236, 8);
3302
3027
  }
3303
3028
  return createCodewords(buffer, version2, errorCorrectionLevel2);
3304
3029
  }
@@ -3328,17 +3053,17 @@ function requireQrcode() {
3328
3053
  }
3329
3054
  const data2 = new Uint8Array(totalCodewords);
3330
3055
  let index = 0;
3331
- let i3, r2;
3332
- for (i3 = 0; i3 < maxDataSize; i3++) {
3056
+ let i2, r2;
3057
+ for (i2 = 0; i2 < maxDataSize; i2++) {
3333
3058
  for (r2 = 0; r2 < ecTotalBlocks; r2++) {
3334
- if (i3 < dcData[r2].length) {
3335
- data2[index++] = dcData[r2][i3];
3059
+ if (i2 < dcData[r2].length) {
3060
+ data2[index++] = dcData[r2][i2];
3336
3061
  }
3337
3062
  }
3338
3063
  }
3339
- for (i3 = 0; i3 < ecCount; i3++) {
3064
+ for (i2 = 0; i2 < ecCount; i2++) {
3340
3065
  for (r2 = 0; r2 < ecTotalBlocks; r2++) {
3341
- data2[index++] = ecData[r2][i3];
3066
+ data2[index++] = ecData[r2][i2];
3342
3067
  }
3343
3068
  }
3344
3069
  return data2;
@@ -3420,7 +3145,7 @@ var hasRequiredUtils;
3420
3145
  function requireUtils() {
3421
3146
  if (hasRequiredUtils) return utils;
3422
3147
  hasRequiredUtils = 1;
3423
- (function(exports) {
3148
+ (function(exports$1) {
3424
3149
  function hex2rgba(hex) {
3425
3150
  if (typeof hex === "number") {
3426
3151
  hex = hex.toString();
@@ -3447,7 +3172,7 @@ function requireUtils() {
3447
3172
  hex: "#" + hexCode.slice(0, 6).join("")
3448
3173
  };
3449
3174
  }
3450
- exports.getOptions = function getOptions2(options) {
3175
+ exports$1.getOptions = function getOptions2(options) {
3451
3176
  if (!options) options = {};
3452
3177
  if (!options.color) options.color = {};
3453
3178
  const margin = typeof options.margin === "undefined" || options.margin === null || options.margin < 0 ? 4 : options.margin;
@@ -3465,27 +3190,27 @@ function requireUtils() {
3465
3190
  rendererOpts: options.rendererOpts || {}
3466
3191
  };
3467
3192
  };
3468
- exports.getScale = function getScale(qrSize, opts) {
3193
+ exports$1.getScale = function getScale(qrSize, opts) {
3469
3194
  return opts.width && opts.width >= qrSize + opts.margin * 2 ? opts.width / (qrSize + opts.margin * 2) : opts.scale;
3470
3195
  };
3471
- exports.getImageWidth = function getImageWidth(qrSize, opts) {
3472
- const scale = exports.getScale(qrSize, opts);
3196
+ exports$1.getImageWidth = function getImageWidth(qrSize, opts) {
3197
+ const scale = exports$1.getScale(qrSize, opts);
3473
3198
  return Math.floor((qrSize + opts.margin * 2) * scale);
3474
3199
  };
3475
- exports.qrToImageData = function qrToImageData(imgData, qr, opts) {
3200
+ exports$1.qrToImageData = function qrToImageData(imgData, qr, opts) {
3476
3201
  const size = qr.modules.size;
3477
3202
  const data2 = qr.modules.data;
3478
- const scale = exports.getScale(size, opts);
3203
+ const scale = exports$1.getScale(size, opts);
3479
3204
  const symbolSize = Math.floor((size + opts.margin * 2) * scale);
3480
3205
  const scaledMargin = opts.margin * scale;
3481
3206
  const palette = [opts.color.light, opts.color.dark];
3482
- for (let i3 = 0; i3 < symbolSize; i3++) {
3483
- for (let j2 = 0; j2 < symbolSize; j2++) {
3484
- let posDst = (i3 * symbolSize + j2) * 4;
3207
+ for (let i2 = 0; i2 < symbolSize; i2++) {
3208
+ for (let j = 0; j < symbolSize; j++) {
3209
+ let posDst = (i2 * symbolSize + j) * 4;
3485
3210
  let pxColor = opts.color.light;
3486
- if (i3 >= scaledMargin && j2 >= scaledMargin && i3 < symbolSize - scaledMargin && j2 < symbolSize - scaledMargin) {
3487
- const iSrc = Math.floor((i3 - scaledMargin) / scale);
3488
- const jSrc = Math.floor((j2 - scaledMargin) / scale);
3211
+ if (i2 >= scaledMargin && j >= scaledMargin && i2 < symbolSize - scaledMargin && j < symbolSize - scaledMargin) {
3212
+ const iSrc = Math.floor((i2 - scaledMargin) / scale);
3213
+ const jSrc = Math.floor((j - scaledMargin) / scale);
3489
3214
  pxColor = palette[data2[iSrc * size + jSrc] ? 1 : 0];
3490
3215
  }
3491
3216
  imgData[posDst++] = pxColor.r;
@@ -3502,7 +3227,7 @@ var hasRequiredCanvas;
3502
3227
  function requireCanvas() {
3503
3228
  if (hasRequiredCanvas) return canvas;
3504
3229
  hasRequiredCanvas = 1;
3505
- (function(exports) {
3230
+ (function(exports$1) {
3506
3231
  const Utils = requireUtils();
3507
3232
  function clearCanvas(ctx, canvas2, size) {
3508
3233
  ctx.clearRect(0, 0, canvas2.width, canvas2.height);
@@ -3519,7 +3244,7 @@ function requireCanvas() {
3519
3244
  throw new Error("You need to specify a canvas element");
3520
3245
  }
3521
3246
  }
3522
- exports.render = function render(qrData, canvas2, options) {
3247
+ exports$1.render = function render(qrData, canvas2, options) {
3523
3248
  let opts = options;
3524
3249
  let canvasEl = canvas2;
3525
3250
  if (typeof opts === "undefined" && (!canvas2 || !canvas2.getContext)) {
@@ -3538,14 +3263,14 @@ function requireCanvas() {
3538
3263
  ctx.putImageData(image, 0, 0);
3539
3264
  return canvasEl;
3540
3265
  };
3541
- exports.renderToDataURL = function renderToDataURL(qrData, canvas2, options) {
3266
+ exports$1.renderToDataURL = function renderToDataURL(qrData, canvas2, options) {
3542
3267
  let opts = options;
3543
3268
  if (typeof opts === "undefined" && (!canvas2 || !canvas2.getContext)) {
3544
3269
  opts = canvas2;
3545
3270
  canvas2 = void 0;
3546
3271
  }
3547
3272
  if (!opts) opts = {};
3548
- const canvasEl = exports.render(qrData, canvas2, opts);
3273
+ const canvasEl = exports$1.render(qrData, canvas2, opts);
3549
3274
  const type = opts.type || "image/png";
3550
3275
  const rendererOpts = opts.rendererOpts || {};
3551
3276
  return canvasEl.toDataURL(type, rendererOpts.quality);
@@ -3574,18 +3299,18 @@ function requireSvgTag() {
3574
3299
  let moveBy = 0;
3575
3300
  let newRow = false;
3576
3301
  let lineLength = 0;
3577
- for (let i3 = 0; i3 < data2.length; i3++) {
3578
- const col = Math.floor(i3 % size);
3579
- const row = Math.floor(i3 / size);
3302
+ for (let i2 = 0; i2 < data2.length; i2++) {
3303
+ const col = Math.floor(i2 % size);
3304
+ const row = Math.floor(i2 / size);
3580
3305
  if (!col && !newRow) newRow = true;
3581
- if (data2[i3]) {
3306
+ if (data2[i2]) {
3582
3307
  lineLength++;
3583
- if (!(i3 > 0 && col > 0 && data2[i3 - 1])) {
3308
+ if (!(i2 > 0 && col > 0 && data2[i2 - 1])) {
3584
3309
  path += newRow ? svgCmd("M", col + margin, 0.5 + row + margin) : svgCmd("m", moveBy, 0);
3585
3310
  moveBy = 0;
3586
3311
  newRow = false;
3587
3312
  }
3588
- if (!(col + 1 < size && data2[i3 + 1])) {
3313
+ if (!(col + 1 < size && data2[i2 + 1])) {
3589
3314
  path += svgCmd("h", lineLength);
3590
3315
  lineLength = 0;
3591
3316
  }
@@ -3793,21 +3518,21 @@ const ThemeUtil = {
3793
3518
  Object.entries(variables).forEach(([key, val]) => root.style.setProperty(key, val));
3794
3519
  }
3795
3520
  },
3796
- 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)}`
3521
+ 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)}`
3797
3522
  };
3798
- 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}`;
3523
+ 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}`;
3799
3524
  var __defProp$x = Object.defineProperty;
3800
3525
  var __getOwnPropDesc$x = Object.getOwnPropertyDescriptor;
3801
3526
  var __decorateClass$x = (decorators, target, key, kind) => {
3802
3527
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$x(target, key) : target;
3803
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3804
- if (decorator = decorators[i3])
3528
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3529
+ if (decorator = decorators[i2])
3805
3530
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3806
3531
  if (kind && result)
3807
3532
  __defProp$x(target, key, result);
3808
3533
  return result;
3809
3534
  };
3810
- let WcmButton = class extends s$1 {
3535
+ let WcmButton = class extends s {
3811
3536
  constructor() {
3812
3537
  super(...arguments);
3813
3538
  this.disabled = false;
@@ -3831,41 +3556,41 @@ let WcmButton = class extends s$1 {
3831
3556
  if (this.variant === "outline") {
3832
3557
  textColor = "accent";
3833
3558
  }
3834
- 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>`;
3559
+ 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>`;
3835
3560
  }
3836
3561
  };
3837
3562
  WcmButton.styles = [ThemeUtil.globalCss, styles$t];
3838
3563
  __decorateClass$x([
3839
- n$2({ type: Boolean })
3564
+ n$1({ type: Boolean })
3840
3565
  ], WcmButton.prototype, "disabled", 2);
3841
3566
  __decorateClass$x([
3842
- n$2()
3567
+ n$1()
3843
3568
  ], WcmButton.prototype, "iconLeft", 2);
3844
3569
  __decorateClass$x([
3845
- n$2()
3570
+ n$1()
3846
3571
  ], WcmButton.prototype, "iconRight", 2);
3847
3572
  __decorateClass$x([
3848
- n$2()
3573
+ n$1()
3849
3574
  ], WcmButton.prototype, "onClick", 2);
3850
3575
  __decorateClass$x([
3851
- n$2()
3576
+ n$1()
3852
3577
  ], WcmButton.prototype, "variant", 2);
3853
3578
  WcmButton = __decorateClass$x([
3854
- e$3("wcm-button")
3579
+ e$2("wcm-button")
3855
3580
  ], WcmButton);
3856
- 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)}}`;
3581
+ 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)}}`;
3857
3582
  var __defProp$w = Object.defineProperty;
3858
3583
  var __getOwnPropDesc$w = Object.getOwnPropertyDescriptor;
3859
3584
  var __decorateClass$w = (decorators, target, key, kind) => {
3860
3585
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$w(target, key) : target;
3861
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3862
- if (decorator = decorators[i3])
3586
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3587
+ if (decorator = decorators[i2])
3863
3588
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3864
3589
  if (kind && result)
3865
3590
  __defProp$w(target, key, result);
3866
3591
  return result;
3867
3592
  };
3868
- let WcmButtonBig = class extends s$1 {
3593
+ let WcmButtonBig = class extends s {
3869
3594
  constructor() {
3870
3595
  super(...arguments);
3871
3596
  this.disabled = false;
@@ -3876,29 +3601,29 @@ let WcmButtonBig = class extends s$1 {
3876
3601
  const classes = {
3877
3602
  "wcm-secondary": this.variant === "secondary"
3878
3603
  };
3879
- return x`<button ?disabled="${this.disabled}" class="${o$1(classes)}"><slot></slot></button>`;
3604
+ return x`<button ?disabled="${this.disabled}" class="${o2(classes)}"><slot></slot></button>`;
3880
3605
  }
3881
3606
  };
3882
3607
  WcmButtonBig.styles = [ThemeUtil.globalCss, styles$s];
3883
3608
  __decorateClass$w([
3884
- n$2({ type: Boolean })
3609
+ n$1({ type: Boolean })
3885
3610
  ], WcmButtonBig.prototype, "disabled", 2);
3886
3611
  __decorateClass$w([
3887
- n$2()
3612
+ n$1()
3888
3613
  ], WcmButtonBig.prototype, "variant", 2);
3889
3614
  WcmButtonBig = __decorateClass$w([
3890
- e$3("wcm-button-big")
3615
+ e$2("wcm-button-big")
3891
3616
  ], WcmButtonBig);
3892
- 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}`;
3617
+ 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}`;
3893
3618
  var __getOwnPropDesc$v = Object.getOwnPropertyDescriptor;
3894
3619
  var __decorateClass$v = (decorators, target, key, kind) => {
3895
3620
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$v(target, key) : target;
3896
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3897
- if (decorator = decorators[i3])
3621
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3622
+ if (decorator = decorators[i2])
3898
3623
  result = decorator(result) || result;
3899
3624
  return result;
3900
3625
  };
3901
- let WcmInfoFooter = class extends s$1 {
3626
+ let WcmInfoFooter = class extends s {
3902
3627
  // -- render ------------------------------------------------------- //
3903
3628
  render() {
3904
3629
  return x`<div><slot></slot></div>`;
@@ -3906,7 +3631,7 @@ let WcmInfoFooter = class extends s$1 {
3906
3631
  };
3907
3632
  WcmInfoFooter.styles = [ThemeUtil.globalCss, styles$r];
3908
3633
  WcmInfoFooter = __decorateClass$v([
3909
- e$3("wcm-info-footer")
3634
+ e$2("wcm-info-footer")
3910
3635
  ], WcmInfoFooter);
3911
3636
  const SvgUtil = {
3912
3637
  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>`,
@@ -3928,16 +3653,16 @@ const SvgUtil = {
3928
3653
  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>`,
3929
3654
  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>`
3930
3655
  };
3931
- 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)}}`;
3656
+ 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)}}`;
3932
3657
  var __getOwnPropDesc$u = Object.getOwnPropertyDescriptor;
3933
3658
  var __decorateClass$u = (decorators, target, key, kind) => {
3934
3659
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$u(target, key) : target;
3935
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3936
- if (decorator = decorators[i3])
3660
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3661
+ if (decorator = decorators[i2])
3937
3662
  result = decorator(result) || result;
3938
3663
  return result;
3939
3664
  };
3940
- let WcmModalBackcard = class extends s$1 {
3665
+ let WcmModalBackcard = class extends s {
3941
3666
  // -- render ------------------------------------------------------- //
3942
3667
  render() {
3943
3668
  return x`<div class="wcm-toolbar-placeholder"></div><div class="wcm-toolbar">${SvgUtil.WALLET_CONNECT_LOGO} <button @click="${ModalCtrl.close}">${SvgUtil.CROSS_ICON}</button></div>`;
@@ -3945,18 +3670,18 @@ let WcmModalBackcard = class extends s$1 {
3945
3670
  };
3946
3671
  WcmModalBackcard.styles = [ThemeUtil.globalCss, styles$q];
3947
3672
  WcmModalBackcard = __decorateClass$u([
3948
- e$3("wcm-modal-backcard")
3673
+ e$2("wcm-modal-backcard")
3949
3674
  ], WcmModalBackcard);
3950
- const styles$p = i$4`main{padding:20px;padding-top:0;width:100%}`;
3675
+ const styles$p = i$3`main{padding:20px;padding-top:0;width:100%}`;
3951
3676
  var __getOwnPropDesc$t = Object.getOwnPropertyDescriptor;
3952
3677
  var __decorateClass$t = (decorators, target, key, kind) => {
3953
3678
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$t(target, key) : target;
3954
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3955
- if (decorator = decorators[i3])
3679
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3680
+ if (decorator = decorators[i2])
3956
3681
  result = decorator(result) || result;
3957
3682
  return result;
3958
3683
  };
3959
- let WcmModalContent = class extends s$1 {
3684
+ let WcmModalContent = class extends s {
3960
3685
  // -- render ------------------------------------------------------- //
3961
3686
  render() {
3962
3687
  return x`<main><slot></slot></main>`;
@@ -3964,18 +3689,18 @@ let WcmModalContent = class extends s$1 {
3964
3689
  };
3965
3690
  WcmModalContent.styles = [ThemeUtil.globalCss, styles$p];
3966
3691
  WcmModalContent = __decorateClass$t([
3967
- e$3("wcm-modal-content")
3692
+ e$2("wcm-modal-content")
3968
3693
  ], WcmModalContent);
3969
- 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)}`;
3694
+ 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)}`;
3970
3695
  var __getOwnPropDesc$s = Object.getOwnPropertyDescriptor;
3971
3696
  var __decorateClass$s = (decorators, target, key, kind) => {
3972
3697
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$s(target, key) : target;
3973
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3974
- if (decorator = decorators[i3])
3698
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3699
+ if (decorator = decorators[i2])
3975
3700
  result = decorator(result) || result;
3976
3701
  return result;
3977
3702
  };
3978
- let WcmModalFooter = class extends s$1 {
3703
+ let WcmModalFooter = class extends s {
3979
3704
  // -- render ------------------------------------------------------- //
3980
3705
  render() {
3981
3706
  return x`<footer><slot></slot></footer>`;
@@ -3983,21 +3708,21 @@ let WcmModalFooter = class extends s$1 {
3983
3708
  };
3984
3709
  WcmModalFooter.styles = [ThemeUtil.globalCss, styles$o];
3985
3710
  WcmModalFooter = __decorateClass$s([
3986
- e$3("wcm-modal-footer")
3711
+ e$2("wcm-modal-footer")
3987
3712
  ], WcmModalFooter);
3988
- 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)}`;
3713
+ 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)}`;
3989
3714
  var __defProp$r = Object.defineProperty;
3990
3715
  var __getOwnPropDesc$r = Object.getOwnPropertyDescriptor;
3991
3716
  var __decorateClass$r = (decorators, target, key, kind) => {
3992
3717
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$r(target, key) : target;
3993
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3994
- if (decorator = decorators[i3])
3718
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3719
+ if (decorator = decorators[i2])
3995
3720
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3996
3721
  if (kind && result)
3997
3722
  __defProp$r(target, key, result);
3998
3723
  return result;
3999
3724
  };
4000
- let WcmModalHeader = class extends s$1 {
3725
+ let WcmModalHeader = class extends s {
4001
3726
  constructor() {
4002
3727
  super(...arguments);
4003
3728
  this.title = "";
@@ -4019,24 +3744,24 @@ let WcmModalHeader = class extends s$1 {
4019
3744
  };
4020
3745
  const backBtn = RouterCtrl.state.history.length > 1;
4021
3746
  const content = this.title ? x`<wcm-text variant="big-bold">${this.title}</wcm-text>` : x`<slot></slot>`;
4022
- return x`<header class="${o$1(classes)}">${backBtn ? this.backBtnTemplate() : null} ${content} ${this.onAction ? this.actionBtnTemplate() : null}</header>`;
3747
+ return x`<header class="${o2(classes)}">${backBtn ? this.backBtnTemplate() : null} ${content} ${this.onAction ? this.actionBtnTemplate() : null}</header>`;
4023
3748
  }
4024
3749
  };
4025
3750
  WcmModalHeader.styles = [ThemeUtil.globalCss, styles$n];
4026
3751
  __decorateClass$r([
4027
- n$2()
3752
+ n$1()
4028
3753
  ], WcmModalHeader.prototype, "title", 2);
4029
3754
  __decorateClass$r([
4030
- n$2()
3755
+ n$1()
4031
3756
  ], WcmModalHeader.prototype, "onAction", 2);
4032
3757
  __decorateClass$r([
4033
- n$2()
3758
+ n$1()
4034
3759
  ], WcmModalHeader.prototype, "actionIcon", 2);
4035
3760
  __decorateClass$r([
4036
- n$2({ type: Boolean })
3761
+ n$1({ type: Boolean })
4037
3762
  ], WcmModalHeader.prototype, "border", 2);
4038
3763
  WcmModalHeader = __decorateClass$r([
4039
- e$3("wcm-modal-header")
3764
+ e$2("wcm-modal-header")
4040
3765
  ], WcmModalHeader);
4041
3766
  const UiUtil = {
4042
3767
  MOBILE_BREAKPOINT: 600,
@@ -4197,19 +3922,19 @@ const UiUtil = {
4197
3922
  }
4198
3923
  }
4199
3924
  };
4200
- const styles$m = i$4`.wcm-router{overflow:hidden;will-change:transform}.wcm-content{display:flex;flex-direction:column}`;
3925
+ const styles$m = i$3`.wcm-router{overflow:hidden;will-change:transform}.wcm-content{display:flex;flex-direction:column}`;
4201
3926
  var __defProp$q = Object.defineProperty;
4202
3927
  var __getOwnPropDesc$q = Object.getOwnPropertyDescriptor;
4203
3928
  var __decorateClass$q = (decorators, target, key, kind) => {
4204
3929
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$q(target, key) : target;
4205
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4206
- if (decorator = decorators[i3])
3930
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3931
+ if (decorator = decorators[i2])
4207
3932
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4208
3933
  if (kind && result)
4209
3934
  __defProp$q(target, key, result);
4210
3935
  return result;
4211
3936
  };
4212
- let WcmModalRouter = class extends s$1 {
3937
+ let WcmModalRouter = class extends s {
4213
3938
  // -- lifecycle ---------------------------------------------------- //
4214
3939
  constructor() {
4215
3940
  super();
@@ -4283,27 +4008,27 @@ let WcmModalRouter = class extends s$1 {
4283
4008
  };
4284
4009
  WcmModalRouter.styles = [ThemeUtil.globalCss, styles$m];
4285
4010
  __decorateClass$q([
4286
- t$2()
4011
+ t$1()
4287
4012
  ], WcmModalRouter.prototype, "view", 2);
4288
4013
  __decorateClass$q([
4289
- t$2()
4014
+ t$1()
4290
4015
  ], WcmModalRouter.prototype, "prevView", 2);
4291
4016
  WcmModalRouter = __decorateClass$q([
4292
- e$3("wcm-modal-router")
4017
+ e$2("wcm-modal-router")
4293
4018
  ], WcmModalRouter);
4294
- 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)}`;
4019
+ 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)}`;
4295
4020
  var __defProp$p = Object.defineProperty;
4296
4021
  var __getOwnPropDesc$p = Object.getOwnPropertyDescriptor;
4297
4022
  var __decorateClass$p = (decorators, target, key, kind) => {
4298
4023
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$p(target, key) : target;
4299
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4300
- if (decorator = decorators[i3])
4024
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4025
+ if (decorator = decorators[i2])
4301
4026
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4302
4027
  if (kind && result)
4303
4028
  __defProp$p(target, key, result);
4304
4029
  return result;
4305
4030
  };
4306
- let WcmModalToast = class extends s$1 {
4031
+ let WcmModalToast = class extends s {
4307
4032
  constructor() {
4308
4033
  super();
4309
4034
  this.open = false;
@@ -4332,15 +4057,15 @@ let WcmModalToast = class extends s$1 {
4332
4057
  "wcm-success": variant === "success",
4333
4058
  "wcm-error": variant === "error"
4334
4059
  };
4335
- 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;
4060
+ 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;
4336
4061
  }
4337
4062
  };
4338
4063
  WcmModalToast.styles = [ThemeUtil.globalCss, styles$l];
4339
4064
  __decorateClass$p([
4340
- t$2()
4065
+ t$1()
4341
4066
  ], WcmModalToast.prototype, "open", 2);
4342
4067
  WcmModalToast = __decorateClass$p([
4343
- e$3("wcm-modal-toast")
4068
+ e$2("wcm-modal-toast")
4344
4069
  ], WcmModalToast);
4345
4070
  const CONNECTING_ERROR_MARGIN = 0.1;
4346
4071
  const CIRCLE_SIZE_MODIFIER = 2.5;
@@ -4379,10 +4104,10 @@ const QrCodeUtil = {
4379
4104
  const x1 = (matrix.length - QRCODE_MATRIX_MARGIN) * cellSize * x2;
4380
4105
  const y1 = (matrix.length - QRCODE_MATRIX_MARGIN) * cellSize * y2;
4381
4106
  const borderRadius = 0.45;
4382
- for (let i3 = 0; i3 < qrList.length; i3 += 1) {
4383
- const dotSize = cellSize * (QRCODE_MATRIX_MARGIN - i3 * 2);
4107
+ for (let i2 = 0; i2 < qrList.length; i2 += 1) {
4108
+ const dotSize = cellSize * (QRCODE_MATRIX_MARGIN - i2 * 2);
4384
4109
  dots.push(
4385
- 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}">`
4110
+ 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}">`
4386
4111
  );
4387
4112
  }
4388
4113
  });
@@ -4390,13 +4115,13 @@ const QrCodeUtil = {
4390
4115
  const matrixMiddleStart = matrix.length / 2 - clearArenaSize / 2;
4391
4116
  const matrixMiddleEnd = matrix.length / 2 + clearArenaSize / 2 - 1;
4392
4117
  const circles = [];
4393
- matrix.forEach((row, i3) => {
4394
- row.forEach((_2, j2) => {
4395
- if (matrix[i3][j2]) {
4396
- 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))) {
4397
- if (!(i3 > matrixMiddleStart && i3 < matrixMiddleEnd && j2 > matrixMiddleStart && j2 < matrixMiddleEnd)) {
4398
- const cx = i3 * cellSize + cellSize / 2;
4399
- const cy = j2 * cellSize + cellSize / 2;
4118
+ matrix.forEach((row, i2) => {
4119
+ row.forEach((_2, j) => {
4120
+ if (matrix[i2][j]) {
4121
+ 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))) {
4122
+ if (!(i2 > matrixMiddleStart && i2 < matrixMiddleEnd && j > matrixMiddleStart && j < matrixMiddleEnd)) {
4123
+ const cx = i2 * cellSize + cellSize / 2;
4124
+ const cy = j * cellSize + cellSize / 2;
4400
4125
  circles.push([cx, cy]);
4401
4126
  }
4402
4127
  }
@@ -4419,7 +4144,7 @@ const QrCodeUtil = {
4419
4144
  }).forEach(([cx, cys]) => {
4420
4145
  cys.forEach((cy) => {
4421
4146
  dots.push(
4422
- b$1`<circle cx="${cx}" cy="${cy}" fill="${dotColor}" r="${cellSize / CIRCLE_SIZE_MODIFIER}">`
4147
+ b`<circle cx="${cx}" cy="${cy}" fill="${dotColor}" r="${cellSize / CIRCLE_SIZE_MODIFIER}">`
4423
4148
  );
4424
4149
  });
4425
4150
  });
@@ -4443,26 +4168,26 @@ const QrCodeUtil = {
4443
4168
  }).forEach(([cx, groups]) => {
4444
4169
  groups.forEach(([y1, y2]) => {
4445
4170
  dots.push(
4446
- b$1`<line x1="${cx}" x2="${cx}" y1="${y1}" y2="${y2}" stroke="${dotColor}" stroke-width="${cellSize / (CIRCLE_SIZE_MODIFIER / 2)}" stroke-linecap="round">`
4171
+ b`<line x1="${cx}" x2="${cx}" y1="${y1}" y2="${y2}" stroke="${dotColor}" stroke-width="${cellSize / (CIRCLE_SIZE_MODIFIER / 2)}" stroke-linecap="round">`
4447
4172
  );
4448
4173
  });
4449
4174
  });
4450
4175
  return dots;
4451
4176
  }
4452
4177
  };
4453
- 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)}`;
4178
+ 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)}`;
4454
4179
  var __defProp$o = Object.defineProperty;
4455
4180
  var __getOwnPropDesc$o = Object.getOwnPropertyDescriptor;
4456
4181
  var __decorateClass$o = (decorators, target, key, kind) => {
4457
4182
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$o(target, key) : target;
4458
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4459
- if (decorator = decorators[i3])
4183
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4184
+ if (decorator = decorators[i2])
4460
4185
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4461
4186
  if (kind && result)
4462
4187
  __defProp$o(target, key, result);
4463
4188
  return result;
4464
4189
  };
4465
- let WcmQrCode = class extends s$1 {
4190
+ let WcmQrCode = class extends s {
4466
4191
  constructor() {
4467
4192
  super(...arguments);
4468
4193
  this.uri = "";
@@ -4475,48 +4200,48 @@ let WcmQrCode = class extends s$1 {
4475
4200
  svgTemplate() {
4476
4201
  const isLightMode = ThemeCtrl.state.themeMode === "light";
4477
4202
  const size = isLightMode ? this.size : this.size - 18 * 2;
4478
- return b$1`<svg height="${size}" width="${size}">${QrCodeUtil.generate(this.uri, size, size / 4)}</svg>`;
4203
+ return b`<svg height="${size}" width="${size}">${QrCodeUtil.generate(this.uri, size, size / 4)}</svg>`;
4479
4204
  }
4480
4205
  // -- render ------------------------------------------------------- //
4481
4206
  render() {
4482
4207
  const classes = {
4483
4208
  "wcm-dark": ThemeCtrl.state.themeMode === "dark"
4484
4209
  };
4485
- 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>`;
4210
+ 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>`;
4486
4211
  }
4487
4212
  };
4488
4213
  WcmQrCode.styles = [ThemeUtil.globalCss, styles$k];
4489
4214
  __decorateClass$o([
4490
- n$2()
4215
+ n$1()
4491
4216
  ], WcmQrCode.prototype, "uri", 2);
4492
4217
  __decorateClass$o([
4493
- n$2({ type: Number })
4218
+ n$1({ type: Number })
4494
4219
  ], WcmQrCode.prototype, "size", 2);
4495
4220
  __decorateClass$o([
4496
- n$2()
4221
+ n$1()
4497
4222
  ], WcmQrCode.prototype, "imageId", 2);
4498
4223
  __decorateClass$o([
4499
- n$2()
4224
+ n$1()
4500
4225
  ], WcmQrCode.prototype, "walletId", 2);
4501
4226
  __decorateClass$o([
4502
- n$2()
4227
+ n$1()
4503
4228
  ], WcmQrCode.prototype, "imageUrl", 2);
4504
4229
  WcmQrCode = __decorateClass$o([
4505
- e$3("wcm-qrcode")
4230
+ e$2("wcm-qrcode")
4506
4231
  ], WcmQrCode);
4507
- 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)}`;
4232
+ 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)}`;
4508
4233
  var __defProp$n = Object.defineProperty;
4509
4234
  var __getOwnPropDesc$n = Object.getOwnPropertyDescriptor;
4510
4235
  var __decorateClass$n = (decorators, target, key, kind) => {
4511
4236
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$n(target, key) : target;
4512
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4513
- if (decorator = decorators[i3])
4237
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4238
+ if (decorator = decorators[i2])
4514
4239
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4515
4240
  if (kind && result)
4516
4241
  __defProp$n(target, key, result);
4517
4242
  return result;
4518
4243
  };
4519
- let WcmSearchInput = class extends s$1 {
4244
+ let WcmSearchInput = class extends s {
4520
4245
  constructor() {
4521
4246
  super(...arguments);
4522
4247
  this.onChange = () => null;
@@ -4528,21 +4253,21 @@ let WcmSearchInput = class extends s$1 {
4528
4253
  };
4529
4254
  WcmSearchInput.styles = [ThemeUtil.globalCss, styles$j];
4530
4255
  __decorateClass$n([
4531
- n$2()
4256
+ n$1()
4532
4257
  ], WcmSearchInput.prototype, "onChange", 2);
4533
4258
  WcmSearchInput = __decorateClass$n([
4534
- e$3("wcm-search-input")
4259
+ e$2("wcm-search-input")
4535
4260
  ], WcmSearchInput);
4536
- 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)}`;
4261
+ 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)}`;
4537
4262
  var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
4538
4263
  var __decorateClass$m = (decorators, target, key, kind) => {
4539
4264
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$m(target, key) : target;
4540
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4541
- if (decorator = decorators[i3])
4265
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4266
+ if (decorator = decorators[i2])
4542
4267
  result = decorator(result) || result;
4543
4268
  return result;
4544
4269
  };
4545
- let WcmSpinner = class extends s$1 {
4270
+ let WcmSpinner = class extends s {
4546
4271
  // -- render ------------------------------------------------------- //
4547
4272
  render() {
4548
4273
  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>`;
@@ -4550,21 +4275,21 @@ let WcmSpinner = class extends s$1 {
4550
4275
  };
4551
4276
  WcmSpinner.styles = [ThemeUtil.globalCss, styles$i];
4552
4277
  WcmSpinner = __decorateClass$m([
4553
- e$3("wcm-spinner")
4278
+ e$2("wcm-spinner")
4554
4279
  ], WcmSpinner);
4555
- 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)}`;
4280
+ 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)}`;
4556
4281
  var __defProp$l = Object.defineProperty;
4557
4282
  var __getOwnPropDesc$l = Object.getOwnPropertyDescriptor;
4558
4283
  var __decorateClass$l = (decorators, target, key, kind) => {
4559
4284
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$l(target, key) : target;
4560
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4561
- if (decorator = decorators[i3])
4285
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4286
+ if (decorator = decorators[i2])
4562
4287
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4563
4288
  if (kind && result)
4564
4289
  __defProp$l(target, key, result);
4565
4290
  return result;
4566
4291
  };
4567
- let WcmText = class extends s$1 {
4292
+ let WcmText = class extends s {
4568
4293
  constructor() {
4569
4294
  super(...arguments);
4570
4295
  this.variant = "medium-regular";
@@ -4586,32 +4311,32 @@ let WcmText = class extends s$1 {
4586
4311
  "wcm-color-accnt": this.color === "accent",
4587
4312
  "wcm-color-error": this.color === "error"
4588
4313
  };
4589
- return x`<span><slot class="${o$1(classes)}"></slot></span>`;
4314
+ return x`<span><slot class="${o2(classes)}"></slot></span>`;
4590
4315
  }
4591
4316
  };
4592
4317
  WcmText.styles = [ThemeUtil.globalCss, styles$h];
4593
4318
  __decorateClass$l([
4594
- n$2()
4319
+ n$1()
4595
4320
  ], WcmText.prototype, "variant", 2);
4596
4321
  __decorateClass$l([
4597
- n$2()
4322
+ n$1()
4598
4323
  ], WcmText.prototype, "color", 2);
4599
4324
  WcmText = __decorateClass$l([
4600
- e$3("wcm-text")
4325
+ e$2("wcm-text")
4601
4326
  ], WcmText);
4602
- 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}`;
4327
+ 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}`;
4603
4328
  var __defProp$k = Object.defineProperty;
4604
4329
  var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
4605
4330
  var __decorateClass$k = (decorators, target, key, kind) => {
4606
4331
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
4607
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4608
- if (decorator = decorators[i3])
4332
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4333
+ if (decorator = decorators[i2])
4609
4334
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4610
4335
  if (kind && result)
4611
4336
  __defProp$k(target, key, result);
4612
4337
  return result;
4613
4338
  };
4614
- let WcmWalletButton = class extends s$1 {
4339
+ let WcmWalletButton = class extends s {
4615
4340
  constructor() {
4616
4341
  super(...arguments);
4617
4342
  this.onClick = () => null;
@@ -4643,42 +4368,42 @@ let WcmWalletButton = class extends s$1 {
4643
4368
  };
4644
4369
  WcmWalletButton.styles = [ThemeUtil.globalCss, styles$g];
4645
4370
  __decorateClass$k([
4646
- n$2()
4371
+ n$1()
4647
4372
  ], WcmWalletButton.prototype, "onClick", 2);
4648
4373
  __decorateClass$k([
4649
- n$2()
4374
+ n$1()
4650
4375
  ], WcmWalletButton.prototype, "name", 2);
4651
4376
  __decorateClass$k([
4652
- n$2()
4377
+ n$1()
4653
4378
  ], WcmWalletButton.prototype, "walletId", 2);
4654
4379
  __decorateClass$k([
4655
- n$2()
4380
+ n$1()
4656
4381
  ], WcmWalletButton.prototype, "label", 2);
4657
4382
  __decorateClass$k([
4658
- n$2()
4383
+ n$1()
4659
4384
  ], WcmWalletButton.prototype, "imageId", 2);
4660
4385
  __decorateClass$k([
4661
- n$2({ type: Boolean })
4386
+ n$1({ type: Boolean })
4662
4387
  ], WcmWalletButton.prototype, "installed", 2);
4663
4388
  __decorateClass$k([
4664
- n$2({ type: Boolean })
4389
+ n$1({ type: Boolean })
4665
4390
  ], WcmWalletButton.prototype, "recent", 2);
4666
4391
  WcmWalletButton = __decorateClass$k([
4667
- e$3("wcm-wallet-button")
4392
+ e$2("wcm-wallet-button")
4668
4393
  ], WcmWalletButton);
4669
- 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)}`;
4394
+ 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)}`;
4670
4395
  var __defProp$j = Object.defineProperty;
4671
4396
  var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
4672
4397
  var __decorateClass$j = (decorators, target, key, kind) => {
4673
4398
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
4674
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4675
- if (decorator = decorators[i3])
4399
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4400
+ if (decorator = decorators[i2])
4676
4401
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4677
4402
  if (kind && result)
4678
4403
  __defProp$j(target, key, result);
4679
4404
  return result;
4680
4405
  };
4681
- let WcmWalletImage = class extends s$1 {
4406
+ let WcmWalletImage = class extends s {
4682
4407
  constructor() {
4683
4408
  super(...arguments);
4684
4409
  this.walletId = "";
@@ -4694,29 +4419,29 @@ let WcmWalletImage = class extends s$1 {
4694
4419
  };
4695
4420
  WcmWalletImage.styles = [ThemeUtil.globalCss, styles$f];
4696
4421
  __decorateClass$j([
4697
- n$2()
4422
+ n$1()
4698
4423
  ], WcmWalletImage.prototype, "walletId", 2);
4699
4424
  __decorateClass$j([
4700
- n$2()
4425
+ n$1()
4701
4426
  ], WcmWalletImage.prototype, "imageId", 2);
4702
4427
  __decorateClass$j([
4703
- n$2()
4428
+ n$1()
4704
4429
  ], WcmWalletImage.prototype, "imageUrl", 2);
4705
4430
  WcmWalletImage = __decorateClass$j([
4706
- e$3("wcm-wallet-image")
4431
+ e$2("wcm-wallet-image")
4707
4432
  ], WcmWalletImage);
4708
4433
  var __defProp$i = Object.defineProperty;
4709
4434
  var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
4710
4435
  var __decorateClass$i = (decorators, target, key, kind) => {
4711
4436
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
4712
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4713
- if (decorator = decorators[i3])
4437
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4438
+ if (decorator = decorators[i2])
4714
4439
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4715
4440
  if (kind && result)
4716
4441
  __defProp$i(target, key, result);
4717
4442
  return result;
4718
4443
  };
4719
- let WcmExplorerContext = class extends s$1 {
4444
+ let WcmExplorerContext = class extends s {
4720
4445
  // -- lifecycle ---------------------------------------------------- //
4721
4446
  constructor() {
4722
4447
  super();
@@ -4761,20 +4486,20 @@ let WcmExplorerContext = class extends s$1 {
4761
4486
  }
4762
4487
  };
4763
4488
  __decorateClass$i([
4764
- t$2()
4489
+ t$1()
4765
4490
  ], WcmExplorerContext.prototype, "preload", 2);
4766
4491
  WcmExplorerContext = __decorateClass$i([
4767
- e$3("wcm-explorer-context")
4492
+ e$2("wcm-explorer-context")
4768
4493
  ], WcmExplorerContext);
4769
4494
  var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
4770
4495
  var __decorateClass$h = (decorators, target, key, kind) => {
4771
4496
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
4772
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4773
- if (decorator = decorators[i3])
4497
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4498
+ if (decorator = decorators[i2])
4774
4499
  result = decorator(result) || result;
4775
4500
  return result;
4776
4501
  };
4777
- let WcmThemeContext = class extends s$1 {
4502
+ let WcmThemeContext = class extends s {
4778
4503
  // -- lifecycle ---------------------------------------------------- //
4779
4504
  constructor() {
4780
4505
  super();
@@ -4788,18 +4513,18 @@ let WcmThemeContext = class extends s$1 {
4788
4513
  }
4789
4514
  };
4790
4515
  WcmThemeContext = __decorateClass$h([
4791
- e$3("wcm-theme-context")
4516
+ e$2("wcm-theme-context")
4792
4517
  ], WcmThemeContext);
4793
- 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)}`;
4518
+ 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)}`;
4794
4519
  var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
4795
4520
  var __decorateClass$g = (decorators, target, key, kind) => {
4796
4521
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
4797
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4798
- if (decorator = decorators[i3])
4522
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4523
+ if (decorator = decorators[i2])
4799
4524
  result = decorator(result) || result;
4800
4525
  return result;
4801
4526
  };
4802
- let WcmAndroidWalletSelection = class extends s$1 {
4527
+ let WcmAndroidWalletSelection = class extends s {
4803
4528
  // -- private ------------------------------------------------------ //
4804
4529
  onGoToQrcode() {
4805
4530
  RouterCtrl.push("Qrcode");
@@ -4817,21 +4542,21 @@ let WcmAndroidWalletSelection = class extends s$1 {
4817
4542
  };
4818
4543
  WcmAndroidWalletSelection.styles = [ThemeUtil.globalCss, styles$e];
4819
4544
  WcmAndroidWalletSelection = __decorateClass$g([
4820
- e$3("wcm-android-wallet-selection")
4545
+ e$2("wcm-android-wallet-selection")
4821
4546
  ], WcmAndroidWalletSelection);
4822
- 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}`;
4547
+ 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}`;
4823
4548
  var __defProp$f = Object.defineProperty;
4824
4549
  var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
4825
4550
  var __decorateClass$f = (decorators, target, key, kind) => {
4826
4551
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
4827
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4828
- if (decorator = decorators[i3])
4552
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4553
+ if (decorator = decorators[i2])
4829
4554
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4830
4555
  if (kind && result)
4831
4556
  __defProp$f(target, key, result);
4832
4557
  return result;
4833
4558
  };
4834
- let WcmConnectorWaiting = class extends s$1 {
4559
+ let WcmConnectorWaiting = class extends s {
4835
4560
  constructor() {
4836
4561
  super(...arguments);
4837
4562
  this.walletId = void 0;
@@ -4864,27 +4589,27 @@ let WcmConnectorWaiting = class extends s$1 {
4864
4589
  "wcm-error": this.isError,
4865
4590
  "wcm-stale": this.isStale
4866
4591
  };
4867
- 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>`;
4592
+ 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>`;
4868
4593
  }
4869
4594
  };
4870
4595
  WcmConnectorWaiting.styles = [ThemeUtil.globalCss, styles$d];
4871
4596
  __decorateClass$f([
4872
- n$2()
4597
+ n$1()
4873
4598
  ], WcmConnectorWaiting.prototype, "walletId", 2);
4874
4599
  __decorateClass$f([
4875
- n$2()
4600
+ n$1()
4876
4601
  ], WcmConnectorWaiting.prototype, "imageId", 2);
4877
4602
  __decorateClass$f([
4878
- n$2({ type: Boolean })
4603
+ n$1({ type: Boolean })
4879
4604
  ], WcmConnectorWaiting.prototype, "isError", 2);
4880
4605
  __decorateClass$f([
4881
- n$2({ type: Boolean })
4606
+ n$1({ type: Boolean })
4882
4607
  ], WcmConnectorWaiting.prototype, "isStale", 2);
4883
4608
  __decorateClass$f([
4884
- n$2()
4609
+ n$1()
4885
4610
  ], WcmConnectorWaiting.prototype, "label", 2);
4886
4611
  WcmConnectorWaiting = __decorateClass$f([
4887
- e$3("wcm-connector-waiting")
4612
+ e$2("wcm-connector-waiting")
4888
4613
  ], WcmConnectorWaiting);
4889
4614
  const DataUtil = {
4890
4615
  manualWallets() {
@@ -4930,16 +4655,16 @@ const TemplateUtil = {
4930
4655
  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>`;
4931
4656
  }
4932
4657
  };
4933
- 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)}`;
4658
+ 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)}`;
4934
4659
  var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
4935
4660
  var __decorateClass$e = (decorators, target, key, kind) => {
4936
4661
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
4937
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4938
- if (decorator = decorators[i3])
4662
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4663
+ if (decorator = decorators[i2])
4939
4664
  result = decorator(result) || result;
4940
4665
  return result;
4941
4666
  };
4942
- let WcmDesktopWalletSelection = class extends s$1 {
4667
+ let WcmDesktopWalletSelection = class extends s {
4943
4668
  // -- render ------------------------------------------------------- //
4944
4669
  render() {
4945
4670
  const { explorerExcludedWalletIds, enableExplorer } = ConfigCtrl.state;
@@ -4962,18 +4687,18 @@ let WcmDesktopWalletSelection = class extends s$1 {
4962
4687
  };
4963
4688
  WcmDesktopWalletSelection.styles = [ThemeUtil.globalCss, styles$c];
4964
4689
  WcmDesktopWalletSelection = __decorateClass$e([
4965
- e$3("wcm-desktop-wallet-selection")
4690
+ e$2("wcm-desktop-wallet-selection")
4966
4691
  ], WcmDesktopWalletSelection);
4967
- 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}}`;
4692
+ 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}}`;
4968
4693
  var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
4969
4694
  var __decorateClass$d = (decorators, target, key, kind) => {
4970
4695
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
4971
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4972
- if (decorator = decorators[i3])
4696
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4697
+ if (decorator = decorators[i2])
4973
4698
  result = decorator(result) || result;
4974
4699
  return result;
4975
4700
  };
4976
- let WcmLegalNotice = class extends s$1 {
4701
+ let WcmLegalNotice = class extends s {
4977
4702
  // -- render ------------------------------------------------------- //
4978
4703
  render() {
4979
4704
  const { termsOfServiceUrl, privacyPolicyUrl } = ConfigCtrl.state;
@@ -4986,18 +4711,18 @@ let WcmLegalNotice = class extends s$1 {
4986
4711
  };
4987
4712
  WcmLegalNotice.styles = [ThemeUtil.globalCss, styles$b];
4988
4713
  WcmLegalNotice = __decorateClass$d([
4989
- e$3("wcm-legal-notice")
4714
+ e$2("wcm-legal-notice")
4990
4715
  ], WcmLegalNotice);
4991
- const styles$a = i$4`div{display:grid;grid-template-columns:repeat(4,80px);margin:0 -10px;justify-content:space-between;row-gap:10px}`;
4716
+ const styles$a = i$3`div{display:grid;grid-template-columns:repeat(4,80px);margin:0 -10px;justify-content:space-between;row-gap:10px}`;
4992
4717
  var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
4993
4718
  var __decorateClass$c = (decorators, target, key, kind) => {
4994
4719
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
4995
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
4996
- if (decorator = decorators[i3])
4720
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4721
+ if (decorator = decorators[i2])
4997
4722
  result = decorator(result) || result;
4998
4723
  return result;
4999
4724
  };
5000
- let WcmMobileWalletSelection = class extends s$1 {
4725
+ let WcmMobileWalletSelection = class extends s {
5001
4726
  // -- private ------------------------------------------------------ //
5002
4727
  onQrcode() {
5003
4728
  RouterCtrl.push("Qrcode");
@@ -5024,21 +4749,21 @@ let WcmMobileWalletSelection = class extends s$1 {
5024
4749
  };
5025
4750
  WcmMobileWalletSelection.styles = [ThemeUtil.globalCss, styles$a];
5026
4751
  WcmMobileWalletSelection = __decorateClass$c([
5027
- e$3("wcm-mobile-wallet-selection")
4752
+ e$2("wcm-mobile-wallet-selection")
5028
4753
  ], WcmMobileWalletSelection);
5029
- 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}}`;
4754
+ 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}}`;
5030
4755
  var __defProp$b = Object.defineProperty;
5031
4756
  var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
5032
4757
  var __decorateClass$b = (decorators, target, key, kind) => {
5033
4758
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
5034
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5035
- if (decorator = decorators[i3])
4759
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4760
+ if (decorator = decorators[i2])
5036
4761
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5037
4762
  if (kind && result)
5038
4763
  __defProp$b(target, key, result);
5039
4764
  return result;
5040
4765
  };
5041
- let WcmModal = class extends s$1 {
4766
+ let WcmModal = class extends s {
5042
4767
  // -- lifecycle ---------------------------------------------------- //
5043
4768
  constructor() {
5044
4769
  super();
@@ -5140,32 +4865,32 @@ let WcmModal = class extends s$1 {
5140
4865
  "wcm-overlay": true,
5141
4866
  "wcm-active": this.active
5142
4867
  };
5143
- 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>`;
4868
+ 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>`;
5144
4869
  }
5145
4870
  };
5146
4871
  WcmModal.styles = [ThemeUtil.globalCss, styles$9];
5147
4872
  __decorateClass$b([
5148
- t$2()
4873
+ t$1()
5149
4874
  ], WcmModal.prototype, "open", 2);
5150
4875
  __decorateClass$b([
5151
- t$2()
4876
+ t$1()
5152
4877
  ], WcmModal.prototype, "active", 2);
5153
4878
  WcmModal = __decorateClass$b([
5154
- e$3("wcm-modal")
4879
+ e$2("wcm-modal")
5155
4880
  ], WcmModal);
5156
- const styles$8 = i$4`div{display:flex;margin-top:15px}slot{display:inline-block;margin:0 5px}wcm-button{margin:0 5px}`;
4881
+ const styles$8 = i$3`div{display:flex;margin-top:15px}slot{display:inline-block;margin:0 5px}wcm-button{margin:0 5px}`;
5157
4882
  var __defProp$a = Object.defineProperty;
5158
4883
  var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
5159
4884
  var __decorateClass$a = (decorators, target, key, kind) => {
5160
4885
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
5161
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5162
- if (decorator = decorators[i3])
4886
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4887
+ if (decorator = decorators[i2])
5163
4888
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5164
4889
  if (kind && result)
5165
4890
  __defProp$a(target, key, result);
5166
4891
  return result;
5167
4892
  };
5168
- let WcmPlatformSelection = class extends s$1 {
4893
+ let WcmPlatformSelection = class extends s {
5169
4894
  constructor() {
5170
4895
  super(...arguments);
5171
4896
  this.isMobile = false;
@@ -5195,30 +4920,30 @@ let WcmPlatformSelection = class extends s$1 {
5195
4920
  };
5196
4921
  WcmPlatformSelection.styles = [ThemeUtil.globalCss, styles$8];
5197
4922
  __decorateClass$a([
5198
- n$2({ type: Boolean })
4923
+ n$1({ type: Boolean })
5199
4924
  ], WcmPlatformSelection.prototype, "isMobile", 2);
5200
4925
  __decorateClass$a([
5201
- n$2({ type: Boolean })
4926
+ n$1({ type: Boolean })
5202
4927
  ], WcmPlatformSelection.prototype, "isDesktop", 2);
5203
4928
  __decorateClass$a([
5204
- n$2({ type: Boolean })
4929
+ n$1({ type: Boolean })
5205
4930
  ], WcmPlatformSelection.prototype, "isWeb", 2);
5206
4931
  __decorateClass$a([
5207
- n$2({ type: Boolean })
4932
+ n$1({ type: Boolean })
5208
4933
  ], WcmPlatformSelection.prototype, "isRetry", 2);
5209
4934
  WcmPlatformSelection = __decorateClass$a([
5210
- e$3("wcm-platform-selection")
4935
+ e$2("wcm-platform-selection")
5211
4936
  ], WcmPlatformSelection);
5212
- 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)}`;
4937
+ 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)}`;
5213
4938
  var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
5214
4939
  var __decorateClass$9 = (decorators, target, key, kind) => {
5215
4940
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
5216
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5217
- if (decorator = decorators[i3])
4941
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4942
+ if (decorator = decorators[i2])
5218
4943
  result = decorator(result) || result;
5219
4944
  return result;
5220
4945
  };
5221
- let WcmViewAllWalletsButton = class extends s$1 {
4946
+ let WcmViewAllWalletsButton = class extends s {
5222
4947
  // -- render ------------------------------------------------------- //
5223
4948
  onClick() {
5224
4949
  RouterCtrl.push("WalletExplorer");
@@ -5240,21 +4965,21 @@ let WcmViewAllWalletsButton = class extends s$1 {
5240
4965
  };
5241
4966
  WcmViewAllWalletsButton.styles = [ThemeUtil.globalCss, styles$7];
5242
4967
  WcmViewAllWalletsButton = __decorateClass$9([
5243
- e$3("wcm-view-all-wallets-button")
4968
+ e$2("wcm-view-all-wallets-button")
5244
4969
  ], WcmViewAllWalletsButton);
5245
- const styles$6 = i$4`.wcm-qr-container{width:100%;display:flex;justify-content:center;align-items:center;aspect-ratio:1/1}`;
4970
+ const styles$6 = i$3`.wcm-qr-container{width:100%;display:flex;justify-content:center;align-items:center;aspect-ratio:1/1}`;
5246
4971
  var __defProp$8 = Object.defineProperty;
5247
4972
  var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
5248
4973
  var __decorateClass$8 = (decorators, target, key, kind) => {
5249
4974
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
5250
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5251
- if (decorator = decorators[i3])
4975
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
4976
+ if (decorator = decorators[i2])
5252
4977
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5253
4978
  if (kind && result)
5254
4979
  __defProp$8(target, key, result);
5255
4980
  return result;
5256
4981
  };
5257
- let WcmWalletConnectQr = class extends s$1 {
4982
+ let WcmWalletConnectQr = class extends s {
5258
4983
  // -- lifecycle ---------------------------------------------------- //
5259
4984
  constructor() {
5260
4985
  super();
@@ -5277,26 +5002,26 @@ let WcmWalletConnectQr = class extends s$1 {
5277
5002
  };
5278
5003
  WcmWalletConnectQr.styles = [ThemeUtil.globalCss, styles$6];
5279
5004
  __decorateClass$8([
5280
- n$2()
5005
+ n$1()
5281
5006
  ], WcmWalletConnectQr.prototype, "walletId", 2);
5282
5007
  __decorateClass$8([
5283
- n$2()
5008
+ n$1()
5284
5009
  ], WcmWalletConnectQr.prototype, "imageId", 2);
5285
5010
  __decorateClass$8([
5286
- t$2()
5011
+ t$1()
5287
5012
  ], WcmWalletConnectQr.prototype, "uri", 2);
5288
5013
  WcmWalletConnectQr = __decorateClass$8([
5289
- e$3("wcm-walletconnect-qr")
5014
+ e$2("wcm-walletconnect-qr")
5290
5015
  ], WcmWalletConnectQr);
5291
5016
  var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
5292
5017
  var __decorateClass$7 = (decorators, target, key, kind) => {
5293
5018
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
5294
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5295
- if (decorator = decorators[i3])
5019
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5020
+ if (decorator = decorators[i2])
5296
5021
  result = decorator(result) || result;
5297
5022
  return result;
5298
5023
  };
5299
- let WcmConnectWalletView = class extends s$1 {
5024
+ let WcmConnectWalletView = class extends s {
5300
5025
  // -- private ------------------------------------------------------ //
5301
5026
  viewTemplate() {
5302
5027
  if (CoreUtil.isAndroid() && !CoreUtil.isTelegram()) {
@@ -5314,21 +5039,21 @@ let WcmConnectWalletView = class extends s$1 {
5314
5039
  };
5315
5040
  WcmConnectWalletView.styles = [ThemeUtil.globalCss];
5316
5041
  WcmConnectWalletView = __decorateClass$7([
5317
- e$3("wcm-connect-wallet-view")
5042
+ e$2("wcm-connect-wallet-view")
5318
5043
  ], WcmConnectWalletView);
5319
- 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}`;
5044
+ 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}`;
5320
5045
  var __defProp$6 = Object.defineProperty;
5321
5046
  var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
5322
5047
  var __decorateClass$6 = (decorators, target, key, kind) => {
5323
5048
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
5324
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5325
- if (decorator = decorators[i3])
5049
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5050
+ if (decorator = decorators[i2])
5326
5051
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5327
5052
  if (kind && result)
5328
5053
  __defProp$6(target, key, result);
5329
5054
  return result;
5330
5055
  };
5331
- let WcmDesktopConnectingView = class extends s$1 {
5056
+ let WcmDesktopConnectingView = class extends s {
5332
5057
  // -- lifecycle ---------------------------------------------------- //
5333
5058
  constructor() {
5334
5059
  super();
@@ -5365,21 +5090,21 @@ let WcmDesktopConnectingView = class extends s$1 {
5365
5090
  };
5366
5091
  WcmDesktopConnectingView.styles = [ThemeUtil.globalCss, styles$5];
5367
5092
  __decorateClass$6([
5368
- t$2()
5093
+ t$1()
5369
5094
  ], WcmDesktopConnectingView.prototype, "isError", 2);
5370
5095
  WcmDesktopConnectingView = __decorateClass$6([
5371
- e$3("wcm-desktop-connecting-view")
5096
+ e$2("wcm-desktop-connecting-view")
5372
5097
  ], WcmDesktopConnectingView);
5373
- 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}`;
5098
+ 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}`;
5374
5099
  var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
5375
5100
  var __decorateClass$5 = (decorators, target, key, kind) => {
5376
5101
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;
5377
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5378
- if (decorator = decorators[i3])
5102
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5103
+ if (decorator = decorators[i2])
5379
5104
  result = decorator(result) || result;
5380
5105
  return result;
5381
5106
  };
5382
- let WcmInstallWalletView = class extends s$1 {
5107
+ let WcmInstallWalletView = class extends s {
5383
5108
  // -- private ------------------------------------------------------ //
5384
5109
  onInstall(uri) {
5385
5110
  if (uri) {
@@ -5394,21 +5119,21 @@ let WcmInstallWalletView = class extends s$1 {
5394
5119
  };
5395
5120
  WcmInstallWalletView.styles = [ThemeUtil.globalCss, styles$4];
5396
5121
  WcmInstallWalletView = __decorateClass$5([
5397
- e$3("wcm-install-wallet-view")
5122
+ e$2("wcm-install-wallet-view")
5398
5123
  ], WcmInstallWalletView);
5399
- 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)}`;
5124
+ 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)}`;
5400
5125
  var __defProp$4 = Object.defineProperty;
5401
5126
  var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;
5402
5127
  var __decorateClass$4 = (decorators, target, key, kind) => {
5403
5128
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;
5404
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5405
- if (decorator = decorators[i3])
5129
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5130
+ if (decorator = decorators[i2])
5406
5131
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5407
5132
  if (kind && result)
5408
5133
  __defProp$4(target, key, result);
5409
5134
  return result;
5410
5135
  };
5411
- let WcmMobileConnectingView = class extends s$1 {
5136
+ let WcmMobileConnectingView = class extends s {
5412
5137
  // -- lifecycle ---------------------------------------------------- //
5413
5138
  constructor() {
5414
5139
  super();
@@ -5454,21 +5179,21 @@ let WcmMobileConnectingView = class extends s$1 {
5454
5179
  };
5455
5180
  WcmMobileConnectingView.styles = [ThemeUtil.globalCss, styles$3];
5456
5181
  __decorateClass$4([
5457
- t$2()
5182
+ t$1()
5458
5183
  ], WcmMobileConnectingView.prototype, "isError", 2);
5459
5184
  WcmMobileConnectingView = __decorateClass$4([
5460
- e$3("wcm-mobile-connecting-view")
5185
+ e$2("wcm-mobile-connecting-view")
5461
5186
  ], WcmMobileConnectingView);
5462
- 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}`;
5187
+ 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}`;
5463
5188
  var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
5464
5189
  var __decorateClass$3 = (decorators, target, key, kind) => {
5465
5190
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;
5466
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5467
- if (decorator = decorators[i3])
5191
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5192
+ if (decorator = decorators[i2])
5468
5193
  result = decorator(result) || result;
5469
5194
  return result;
5470
5195
  };
5471
- let WcmMobileQrConnectingView = class extends s$1 {
5196
+ let WcmMobileQrConnectingView = class extends s {
5472
5197
  // -- render ------------------------------------------------------- //
5473
5198
  render() {
5474
5199
  const { name, id, image_id } = CoreUtil.getWalletRouterData();
@@ -5478,17 +5203,17 @@ let WcmMobileQrConnectingView = class extends s$1 {
5478
5203
  };
5479
5204
  WcmMobileQrConnectingView.styles = [ThemeUtil.globalCss, styles$2];
5480
5205
  WcmMobileQrConnectingView = __decorateClass$3([
5481
- e$3("wcm-mobile-qr-connecting-view")
5206
+ e$2("wcm-mobile-qr-connecting-view")
5482
5207
  ], WcmMobileQrConnectingView);
5483
5208
  var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;
5484
5209
  var __decorateClass$2 = (decorators, target, key, kind) => {
5485
5210
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;
5486
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5487
- if (decorator = decorators[i3])
5211
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5212
+ if (decorator = decorators[i2])
5488
5213
  result = decorator(result) || result;
5489
5214
  return result;
5490
5215
  };
5491
- let WcmQrcodeView = class extends s$1 {
5216
+ let WcmQrcodeView = class extends s {
5492
5217
  // -- render ------------------------------------------------------- //
5493
5218
  render() {
5494
5219
  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>`;
@@ -5496,22 +5221,22 @@ let WcmQrcodeView = class extends s$1 {
5496
5221
  };
5497
5222
  WcmQrcodeView.styles = [ThemeUtil.globalCss];
5498
5223
  WcmQrcodeView = __decorateClass$2([
5499
- e$3("wcm-qrcode-view")
5224
+ e$2("wcm-qrcode-view")
5500
5225
  ], WcmQrcodeView);
5501
- 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}`;
5226
+ 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}`;
5502
5227
  var __defProp$1 = Object.defineProperty;
5503
5228
  var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
5504
5229
  var __decorateClass$1 = (decorators, target, key, kind) => {
5505
5230
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;
5506
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5507
- if (decorator = decorators[i3])
5231
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5232
+ if (decorator = decorators[i2])
5508
5233
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5509
5234
  if (kind && result)
5510
5235
  __defProp$1(target, key, result);
5511
5236
  return result;
5512
5237
  };
5513
5238
  const PAGE_ENTRIES = 40;
5514
- let WcmWalletExplorerView = class extends s$1 {
5239
+ let WcmWalletExplorerView = class extends s {
5515
5240
  constructor() {
5516
5241
  super(...arguments);
5517
5242
  this.loading = !ExplorerCtrl.state.wallets.listings.length;
@@ -5621,40 +5346,40 @@ let WcmWalletExplorerView = class extends s$1 {
5621
5346
  "wcm-end-reached": this.endReached || !this.loading,
5622
5347
  "wcm-empty": isEmpty
5623
5348
  };
5624
- 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(
5349
+ 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(
5625
5350
  (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}`
5626
5351
  )}</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>`;
5627
5352
  }
5628
5353
  };
5629
5354
  WcmWalletExplorerView.styles = [ThemeUtil.globalCss, styles$1];
5630
5355
  __decorateClass$1([
5631
- t$2()
5356
+ t$1()
5632
5357
  ], WcmWalletExplorerView.prototype, "loading", 2);
5633
5358
  __decorateClass$1([
5634
- t$2()
5359
+ t$1()
5635
5360
  ], WcmWalletExplorerView.prototype, "firstFetch", 2);
5636
5361
  __decorateClass$1([
5637
- t$2()
5362
+ t$1()
5638
5363
  ], WcmWalletExplorerView.prototype, "search", 2);
5639
5364
  __decorateClass$1([
5640
- t$2()
5365
+ t$1()
5641
5366
  ], WcmWalletExplorerView.prototype, "endReached", 2);
5642
5367
  WcmWalletExplorerView = __decorateClass$1([
5643
- e$3("wcm-wallet-explorer-view")
5368
+ e$2("wcm-wallet-explorer-view")
5644
5369
  ], WcmWalletExplorerView);
5645
- 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}`;
5370
+ 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}`;
5646
5371
  var __defProp = Object.defineProperty;
5647
5372
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5648
5373
  var __decorateClass = (decorators, target, key, kind) => {
5649
5374
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
5650
- for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
5651
- if (decorator = decorators[i3])
5375
+ for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
5376
+ if (decorator = decorators[i2])
5652
5377
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5653
5378
  if (kind && result)
5654
5379
  __defProp(target, key, result);
5655
5380
  return result;
5656
5381
  };
5657
- let WcmWebConnectingView = class extends s$1 {
5382
+ let WcmWebConnectingView = class extends s {
5658
5383
  // -- lifecycle ---------------------------------------------------- //
5659
5384
  constructor() {
5660
5385
  super();
@@ -5688,13 +5413,13 @@ let WcmWebConnectingView = class extends s$1 {
5688
5413
  };
5689
5414
  WcmWebConnectingView.styles = [ThemeUtil.globalCss, styles];
5690
5415
  __decorateClass([
5691
- t$2()
5416
+ t$1()
5692
5417
  ], WcmWebConnectingView.prototype, "isError", 2);
5693
5418
  WcmWebConnectingView = __decorateClass([
5694
- e$3("wcm-web-connecting-view")
5419
+ e$2("wcm-web-connecting-view")
5695
5420
  ], WcmWebConnectingView);
5696
5421
  export {
5697
5422
  WcmModal,
5698
5423
  WcmQrCode
5699
5424
  };
5700
- //# sourceMappingURL=index--ChsB93S.js.map
5425
+ //# sourceMappingURL=index-Dl3Nclhp.js.map