@arcenpay/react 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +124 -0
- package/dist/add-LG363GP4.mjs +34 -0
- package/dist/all-wallets-UW4KSWDQ.mjs +25 -0
- package/dist/app-store-GOSERMQC.mjs +36 -0
- package/dist/apple-Y34SY63H.mjs +37 -0
- package/dist/arrow-bottom-YDRRJYRC.mjs +27 -0
- package/dist/arrow-bottom-circle-XSCE7Y52.mjs +30 -0
- package/dist/arrow-left-VMP4J3ME.mjs +27 -0
- package/dist/arrow-right-FSU7ZETV.mjs +27 -0
- package/dist/arrow-top-SQNMDYUF.mjs +27 -0
- package/dist/bank-DO6DNPBT.mjs +33 -0
- package/dist/basic-3OAVXLDO.mjs +10769 -0
- package/dist/browser-BI7YYLKK.mjs +33 -0
- package/dist/card-F2CIEB7K.mjs +33 -0
- package/dist/checkmark-YASK3T7D.mjs +30 -0
- package/dist/checkmark-bold-UJRS6R4T.mjs +27 -0
- package/dist/chevron-bottom-Z7YOJH7F.mjs +27 -0
- package/dist/chevron-left-YPDPGZVV.mjs +27 -0
- package/dist/chevron-right-4464VKIO.mjs +27 -0
- package/dist/chevron-top-6F4WXRKZ.mjs +27 -0
- package/dist/chrome-store-KH57RD54.mjs +80 -0
- package/dist/chunk-5MZNFSFK.mjs +1273 -0
- package/dist/chunk-ALKFEKMG.mjs +8108 -0
- package/dist/chunk-GUHCPHEG.mjs +768 -0
- package/dist/chunk-HPVNNTYF.mjs +7546 -0
- package/dist/chunk-LACDYDLO.mjs +402 -0
- package/dist/chunk-LGBIIGSV.mjs +39793 -0
- package/dist/chunk-M4NAIVF3.mjs +93283 -0
- package/dist/chunk-QILMZVJE.mjs +11957 -0
- package/dist/chunk-RKV353G3.mjs +272 -0
- package/dist/chunk-X2BMVUAF.mjs +50 -0
- package/dist/chunk-ZKNFAGRN.mjs +1414 -0
- package/dist/clock-WGC5S5SU.mjs +27 -0
- package/dist/close-HJ6ZBPVZ.mjs +27 -0
- package/dist/coinPlaceholder-UOKFKY4T.mjs +27 -0
- package/dist/compass-WAYDVX5E.mjs +27 -0
- package/dist/copy-OPJY4AKY.mjs +34 -0
- package/dist/core-GECUTVXD.mjs +10138 -0
- package/dist/cursor-PAYF2D2S.mjs +22 -0
- package/dist/cursor-transparent-T4M3KZJ2.mjs +31 -0
- package/dist/desktop-QSXXA65J.mjs +28 -0
- package/dist/disconnect-7NMPCP66.mjs +27 -0
- package/dist/discord-KRLKWIM5.mjs +36 -0
- package/dist/etherscan-TAXMMDC4.mjs +25 -0
- package/dist/exclamation-triangle-MW7PXM5B.mjs +23 -0
- package/dist/extension-LAAZQU7X.mjs +27 -0
- package/dist/external-link-IFBQ3MSI.mjs +27 -0
- package/dist/facebook-PAENGKOR.mjs +45 -0
- package/dist/farcaster-P47HCAAY.mjs +31 -0
- package/dist/filters-4HNPLZQV.mjs +27 -0
- package/dist/github-RO4C47BJ.mjs +37 -0
- package/dist/google-RIBTWZH2.mjs +37 -0
- package/dist/help-circle-PN7NOOY4.mjs +31 -0
- package/dist/id-JYBNXVYQ.mjs +31 -0
- package/dist/image-FUPENKKO.mjs +23 -0
- package/dist/index.d.mts +288 -0
- package/dist/index.d.ts +288 -0
- package/dist/index.js +295316 -0
- package/dist/index.mjs +7936 -0
- package/dist/info-34PNUQRI.mjs +22 -0
- package/dist/info-circle-M5CXNBEA.mjs +31 -0
- package/dist/lightbulb-CPZO66W6.mjs +22 -0
- package/dist/mail-RAF36J77.mjs +27 -0
- package/dist/mobile-ZLFYOCHK.mjs +28 -0
- package/dist/more-CIHKDQMO.mjs +30 -0
- package/dist/network-placeholder-QOMFBWMT.mjs +33 -0
- package/dist/nftPlaceholder-7TK2T2QP.mjs +27 -0
- package/dist/off-WWNLGDOR.mjs +27 -0
- package/dist/play-store-HLZSDCUP.mjs +51 -0
- package/dist/plus-SCLTSRAT.mjs +32 -0
- package/dist/qr-code-T7FWUJU6.mjs +25 -0
- package/dist/recycle-horizontal-WRR5I5MX.mjs +28 -0
- package/dist/refresh-6AQ524CD.mjs +27 -0
- package/dist/reown-logo-NJCCGFTU.mjs +31 -0
- package/dist/search-HXD6I5XQ.mjs +27 -0
- package/dist/send-3N2W3TJ6.mjs +34 -0
- package/dist/src-DKYFVWPL.mjs +7 -0
- package/dist/src-HMFDWVJP.mjs +5 -0
- package/dist/src-TV3VFBF5.mjs +98950 -0
- package/dist/swapHorizontal-KPYCPFL4.mjs +27 -0
- package/dist/swapHorizontalBold-WCO2BX6U.mjs +27 -0
- package/dist/swapHorizontalMedium-SCPLSG7N.mjs +35 -0
- package/dist/swapHorizontalRoundedBold-YX7IIFNL.mjs +27 -0
- package/dist/swapVertical-XS35BJ2R.mjs +27 -0
- package/dist/telegram-RIP72IGI.mjs +35 -0
- package/dist/three-dots-IPE2YG6Z.mjs +24 -0
- package/dist/twitch-5K6DAEPG.mjs +37 -0
- package/dist/twitterIcon-U3V7EFPB.mjs +25 -0
- package/dist/verify-JML7EMVO.mjs +27 -0
- package/dist/verify-filled-R5MYOEEJ.mjs +27 -0
- package/dist/w3m-modal-LW2TBGRA.mjs +2042 -0
- package/dist/wallet-AJFVN7JZ.mjs +27 -0
- package/dist/wallet-placeholder-4QSRXVF5.mjs +33 -0
- package/dist/walletconnect-G267PBVT.mjs +53 -0
- package/dist/warning-circle-2KJXNGLQ.mjs +31 -0
- package/dist/x-MTQL7KFF.mjs +31 -0
- package/dist/zerodev.d.mts +106 -0
- package/dist/zerodev.d.ts +106 -0
- package/dist/zerodev.js +420 -0
- package/dist/zerodev.mjs +17 -0
- package/package.json +78 -0
|
@@ -0,0 +1,1414 @@
|
|
|
1
|
+
import {
|
|
2
|
+
UiHelperUtil,
|
|
3
|
+
colorStyles,
|
|
4
|
+
customElement,
|
|
5
|
+
elementStyles,
|
|
6
|
+
init_ThemeUtil,
|
|
7
|
+
init_UiHelperUtil,
|
|
8
|
+
init_WebComponentsUtil,
|
|
9
|
+
resetStyles
|
|
10
|
+
} from "./chunk-ALKFEKMG.mjs";
|
|
11
|
+
import {
|
|
12
|
+
A,
|
|
13
|
+
E,
|
|
14
|
+
T,
|
|
15
|
+
Z,
|
|
16
|
+
b,
|
|
17
|
+
i,
|
|
18
|
+
i2,
|
|
19
|
+
init_lit,
|
|
20
|
+
init_lit_html,
|
|
21
|
+
init_reactive_element,
|
|
22
|
+
m
|
|
23
|
+
} from "./chunk-5MZNFSFK.mjs";
|
|
24
|
+
import {
|
|
25
|
+
__esm
|
|
26
|
+
} from "./chunk-X2BMVUAF.mjs";
|
|
27
|
+
|
|
28
|
+
// ../../node_modules/@lit/reactive-element/node/decorators/property.js
|
|
29
|
+
function n(t3) {
|
|
30
|
+
return (e4, o4) => "object" == typeof o4 ? r(t3, e4, o4) : ((t4, e5, o5) => {
|
|
31
|
+
const r5 = e5.hasOwnProperty(o5);
|
|
32
|
+
return e5.constructor.createProperty(o5, t4), r5 ? Object.getOwnPropertyDescriptor(e5, o5) : void 0;
|
|
33
|
+
})(t3, e4, o4);
|
|
34
|
+
}
|
|
35
|
+
var o, r;
|
|
36
|
+
var init_property = __esm({
|
|
37
|
+
"../../node_modules/@lit/reactive-element/node/decorators/property.js"() {
|
|
38
|
+
"use strict";
|
|
39
|
+
init_reactive_element();
|
|
40
|
+
o = { attribute: true, type: String, converter: b, reflect: false, hasChanged: m };
|
|
41
|
+
r = (t3 = o, e4, r5) => {
|
|
42
|
+
const { kind: n5, metadata: i5 } = r5;
|
|
43
|
+
let s3 = globalThis.litPropertyMetadata.get(i5);
|
|
44
|
+
if (void 0 === s3 && globalThis.litPropertyMetadata.set(i5, s3 = /* @__PURE__ */ new Map()), "setter" === n5 && ((t3 = Object.create(t3)).wrapped = true), s3.set(r5.name, t3), "accessor" === n5) {
|
|
45
|
+
const { name: o4 } = r5;
|
|
46
|
+
return { set(r6) {
|
|
47
|
+
const n6 = e4.get.call(this);
|
|
48
|
+
e4.set.call(this, r6), this.requestUpdate(o4, n6, t3, true, r6);
|
|
49
|
+
}, init(e5) {
|
|
50
|
+
return void 0 !== e5 && this.C(o4, void 0, t3, e5), e5;
|
|
51
|
+
} };
|
|
52
|
+
}
|
|
53
|
+
if ("setter" === n5) {
|
|
54
|
+
const { name: o4 } = r5;
|
|
55
|
+
return function(r6) {
|
|
56
|
+
const n6 = this[o4];
|
|
57
|
+
e4.call(this, r6), this.requestUpdate(o4, n6, t3, true, r6);
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
throw Error("Unsupported decorator location: " + n5);
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
// ../../node_modules/@lit/reactive-element/node/decorators/state.js
|
|
66
|
+
function r2(r5) {
|
|
67
|
+
return n({ ...r5, state: true, attribute: false });
|
|
68
|
+
}
|
|
69
|
+
var init_state = __esm({
|
|
70
|
+
"../../node_modules/@lit/reactive-element/node/decorators/state.js"() {
|
|
71
|
+
"use strict";
|
|
72
|
+
init_property();
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
// ../../node_modules/@lit/reactive-element/node/decorators/custom-element.js
|
|
77
|
+
var init_custom_element = __esm({
|
|
78
|
+
"../../node_modules/@lit/reactive-element/node/decorators/custom-element.js"() {
|
|
79
|
+
"use strict";
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
// ../../node_modules/@lit/reactive-element/node/decorators/event-options.js
|
|
84
|
+
var init_event_options = __esm({
|
|
85
|
+
"../../node_modules/@lit/reactive-element/node/decorators/event-options.js"() {
|
|
86
|
+
"use strict";
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
// ../../node_modules/@lit/reactive-element/node/decorators/base.js
|
|
91
|
+
var init_base = __esm({
|
|
92
|
+
"../../node_modules/@lit/reactive-element/node/decorators/base.js"() {
|
|
93
|
+
"use strict";
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
// ../../node_modules/@lit/reactive-element/node/decorators/query.js
|
|
98
|
+
var init_query = __esm({
|
|
99
|
+
"../../node_modules/@lit/reactive-element/node/decorators/query.js"() {
|
|
100
|
+
"use strict";
|
|
101
|
+
init_base();
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
// ../../node_modules/@lit/reactive-element/node/decorators/query-all.js
|
|
106
|
+
var init_query_all = __esm({
|
|
107
|
+
"../../node_modules/@lit/reactive-element/node/decorators/query-all.js"() {
|
|
108
|
+
"use strict";
|
|
109
|
+
init_base();
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
// ../../node_modules/@lit/reactive-element/node/decorators/query-async.js
|
|
114
|
+
var init_query_async = __esm({
|
|
115
|
+
"../../node_modules/@lit/reactive-element/node/decorators/query-async.js"() {
|
|
116
|
+
"use strict";
|
|
117
|
+
init_base();
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
// ../../node_modules/@lit/reactive-element/node/decorators/query-assigned-elements.js
|
|
122
|
+
var init_query_assigned_elements = __esm({
|
|
123
|
+
"../../node_modules/@lit/reactive-element/node/decorators/query-assigned-elements.js"() {
|
|
124
|
+
"use strict";
|
|
125
|
+
init_base();
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
// ../../node_modules/@lit/reactive-element/node/decorators/query-assigned-nodes.js
|
|
130
|
+
var init_query_assigned_nodes = __esm({
|
|
131
|
+
"../../node_modules/@lit/reactive-element/node/decorators/query-assigned-nodes.js"() {
|
|
132
|
+
"use strict";
|
|
133
|
+
init_base();
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
// ../../node_modules/lit/decorators.js
|
|
138
|
+
var init_decorators = __esm({
|
|
139
|
+
"../../node_modules/lit/decorators.js"() {
|
|
140
|
+
"use strict";
|
|
141
|
+
init_custom_element();
|
|
142
|
+
init_property();
|
|
143
|
+
init_state();
|
|
144
|
+
init_event_options();
|
|
145
|
+
init_query();
|
|
146
|
+
init_query_all();
|
|
147
|
+
init_query_async();
|
|
148
|
+
init_query_assigned_elements();
|
|
149
|
+
init_query_assigned_nodes();
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/layout/wui-flex/styles.js
|
|
154
|
+
var styles_default;
|
|
155
|
+
var init_styles = __esm({
|
|
156
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/layout/wui-flex/styles.js"() {
|
|
157
|
+
"use strict";
|
|
158
|
+
init_lit();
|
|
159
|
+
styles_default = i`
|
|
160
|
+
:host {
|
|
161
|
+
display: flex;
|
|
162
|
+
width: inherit;
|
|
163
|
+
height: inherit;
|
|
164
|
+
}
|
|
165
|
+
`;
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
|
|
169
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/layout/wui-flex/index.js
|
|
170
|
+
var __decorate, WuiFlex;
|
|
171
|
+
var init_wui_flex = __esm({
|
|
172
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/layout/wui-flex/index.js"() {
|
|
173
|
+
"use strict";
|
|
174
|
+
init_lit();
|
|
175
|
+
init_decorators();
|
|
176
|
+
init_ThemeUtil();
|
|
177
|
+
init_UiHelperUtil();
|
|
178
|
+
init_WebComponentsUtil();
|
|
179
|
+
init_styles();
|
|
180
|
+
__decorate = function(decorators, target, key, desc) {
|
|
181
|
+
var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
182
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
|
|
183
|
+
else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d = decorators[i5]) r5 = (c3 < 3 ? d(r5) : c3 > 3 ? d(target, key, r5) : d(target, key)) || r5;
|
|
184
|
+
return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
|
|
185
|
+
};
|
|
186
|
+
WuiFlex = class WuiFlex2 extends i2 {
|
|
187
|
+
render() {
|
|
188
|
+
this.style.cssText = `
|
|
189
|
+
flex-direction: ${this.flexDirection};
|
|
190
|
+
flex-wrap: ${this.flexWrap};
|
|
191
|
+
flex-basis: ${this.flexBasis};
|
|
192
|
+
flex-grow: ${this.flexGrow};
|
|
193
|
+
flex-shrink: ${this.flexShrink};
|
|
194
|
+
align-items: ${this.alignItems};
|
|
195
|
+
justify-content: ${this.justifyContent};
|
|
196
|
+
column-gap: ${this.columnGap && `var(--wui-spacing-${this.columnGap})`};
|
|
197
|
+
row-gap: ${this.rowGap && `var(--wui-spacing-${this.rowGap})`};
|
|
198
|
+
gap: ${this.gap && `var(--wui-spacing-${this.gap})`};
|
|
199
|
+
padding-top: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 0)};
|
|
200
|
+
padding-right: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 1)};
|
|
201
|
+
padding-bottom: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 2)};
|
|
202
|
+
padding-left: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 3)};
|
|
203
|
+
margin-top: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 0)};
|
|
204
|
+
margin-right: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 1)};
|
|
205
|
+
margin-bottom: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 2)};
|
|
206
|
+
margin-left: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 3)};
|
|
207
|
+
`;
|
|
208
|
+
return T`<slot></slot>`;
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
WuiFlex.styles = [resetStyles, styles_default];
|
|
212
|
+
__decorate([
|
|
213
|
+
n()
|
|
214
|
+
], WuiFlex.prototype, "flexDirection", void 0);
|
|
215
|
+
__decorate([
|
|
216
|
+
n()
|
|
217
|
+
], WuiFlex.prototype, "flexWrap", void 0);
|
|
218
|
+
__decorate([
|
|
219
|
+
n()
|
|
220
|
+
], WuiFlex.prototype, "flexBasis", void 0);
|
|
221
|
+
__decorate([
|
|
222
|
+
n()
|
|
223
|
+
], WuiFlex.prototype, "flexGrow", void 0);
|
|
224
|
+
__decorate([
|
|
225
|
+
n()
|
|
226
|
+
], WuiFlex.prototype, "flexShrink", void 0);
|
|
227
|
+
__decorate([
|
|
228
|
+
n()
|
|
229
|
+
], WuiFlex.prototype, "alignItems", void 0);
|
|
230
|
+
__decorate([
|
|
231
|
+
n()
|
|
232
|
+
], WuiFlex.prototype, "justifyContent", void 0);
|
|
233
|
+
__decorate([
|
|
234
|
+
n()
|
|
235
|
+
], WuiFlex.prototype, "columnGap", void 0);
|
|
236
|
+
__decorate([
|
|
237
|
+
n()
|
|
238
|
+
], WuiFlex.prototype, "rowGap", void 0);
|
|
239
|
+
__decorate([
|
|
240
|
+
n()
|
|
241
|
+
], WuiFlex.prototype, "gap", void 0);
|
|
242
|
+
__decorate([
|
|
243
|
+
n()
|
|
244
|
+
], WuiFlex.prototype, "padding", void 0);
|
|
245
|
+
__decorate([
|
|
246
|
+
n()
|
|
247
|
+
], WuiFlex.prototype, "margin", void 0);
|
|
248
|
+
WuiFlex = __decorate([
|
|
249
|
+
customElement("wui-flex")
|
|
250
|
+
], WuiFlex);
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
|
|
254
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/exports/wui-flex.js
|
|
255
|
+
var init_wui_flex2 = __esm({
|
|
256
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/exports/wui-flex.js"() {
|
|
257
|
+
"use strict";
|
|
258
|
+
init_wui_flex();
|
|
259
|
+
}
|
|
260
|
+
});
|
|
261
|
+
|
|
262
|
+
// ../../node_modules/lit-html/node/directives/if-defined.js
|
|
263
|
+
var o2;
|
|
264
|
+
var init_if_defined = __esm({
|
|
265
|
+
"../../node_modules/lit-html/node/directives/if-defined.js"() {
|
|
266
|
+
"use strict";
|
|
267
|
+
init_lit_html();
|
|
268
|
+
o2 = (o4) => o4 ?? A;
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
|
|
272
|
+
// ../../node_modules/lit/directives/if-defined.js
|
|
273
|
+
var init_if_defined2 = __esm({
|
|
274
|
+
"../../node_modules/lit/directives/if-defined.js"() {
|
|
275
|
+
"use strict";
|
|
276
|
+
init_if_defined();
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
|
|
280
|
+
// ../../node_modules/lit-html/node/directive.js
|
|
281
|
+
var t, e2, i3;
|
|
282
|
+
var init_directive = __esm({
|
|
283
|
+
"../../node_modules/lit-html/node/directive.js"() {
|
|
284
|
+
"use strict";
|
|
285
|
+
t = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 };
|
|
286
|
+
e2 = (t3) => (...e4) => ({ _$litDirective$: t3, values: e4 });
|
|
287
|
+
i3 = class {
|
|
288
|
+
constructor(t3) {
|
|
289
|
+
}
|
|
290
|
+
get _$AU() {
|
|
291
|
+
return this._$AM._$AU;
|
|
292
|
+
}
|
|
293
|
+
_$AT(t3, e4, i5) {
|
|
294
|
+
this._$Ct = t3, this._$AM = e4, this._$Ci = i5;
|
|
295
|
+
}
|
|
296
|
+
_$AS(t3, e4) {
|
|
297
|
+
return this.update(t3, e4);
|
|
298
|
+
}
|
|
299
|
+
update(t3, e4) {
|
|
300
|
+
return this.render(...e4);
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
|
|
306
|
+
// ../../node_modules/lit-html/node/directives/class-map.js
|
|
307
|
+
var e3;
|
|
308
|
+
var init_class_map = __esm({
|
|
309
|
+
"../../node_modules/lit-html/node/directives/class-map.js"() {
|
|
310
|
+
"use strict";
|
|
311
|
+
init_lit_html();
|
|
312
|
+
init_directive();
|
|
313
|
+
e3 = e2(class extends i3 {
|
|
314
|
+
constructor(t3) {
|
|
315
|
+
if (super(t3), t3.type !== t.ATTRIBUTE || "class" !== t3.name || t3.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
316
|
+
}
|
|
317
|
+
render(t3) {
|
|
318
|
+
return " " + Object.keys(t3).filter((s3) => t3[s3]).join(" ") + " ";
|
|
319
|
+
}
|
|
320
|
+
update(s3, [i5]) {
|
|
321
|
+
if (void 0 === this.st) {
|
|
322
|
+
this.st = /* @__PURE__ */ new Set(), void 0 !== s3.strings && (this.nt = new Set(s3.strings.join(" ").split(/\s/).filter((t3) => "" !== t3)));
|
|
323
|
+
for (const t3 in i5) i5[t3] && !this.nt?.has(t3) && this.st.add(t3);
|
|
324
|
+
return this.render(i5);
|
|
325
|
+
}
|
|
326
|
+
const r5 = s3.element.classList;
|
|
327
|
+
for (const t3 of this.st) t3 in i5 || (r5.remove(t3), this.st.delete(t3));
|
|
328
|
+
for (const t3 in i5) {
|
|
329
|
+
const s4 = !!i5[t3];
|
|
330
|
+
s4 === this.st.has(t3) || this.nt?.has(t3) || (s4 ? (r5.add(t3), this.st.add(t3)) : (r5.remove(t3), this.st.delete(t3)));
|
|
331
|
+
}
|
|
332
|
+
return E;
|
|
333
|
+
}
|
|
334
|
+
});
|
|
335
|
+
}
|
|
336
|
+
});
|
|
337
|
+
|
|
338
|
+
// ../../node_modules/lit/directives/class-map.js
|
|
339
|
+
var init_class_map2 = __esm({
|
|
340
|
+
"../../node_modules/lit/directives/class-map.js"() {
|
|
341
|
+
"use strict";
|
|
342
|
+
init_class_map();
|
|
343
|
+
}
|
|
344
|
+
});
|
|
345
|
+
|
|
346
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-text/styles.js
|
|
347
|
+
var styles_default2;
|
|
348
|
+
var init_styles2 = __esm({
|
|
349
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-text/styles.js"() {
|
|
350
|
+
"use strict";
|
|
351
|
+
init_lit();
|
|
352
|
+
styles_default2 = i`
|
|
353
|
+
:host {
|
|
354
|
+
display: inline-flex !important;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
slot {
|
|
358
|
+
width: 100%;
|
|
359
|
+
display: inline-block;
|
|
360
|
+
font-style: normal;
|
|
361
|
+
font-family: var(--wui-font-family);
|
|
362
|
+
font-feature-settings:
|
|
363
|
+
'tnum' on,
|
|
364
|
+
'lnum' on,
|
|
365
|
+
'case' on;
|
|
366
|
+
line-height: 130%;
|
|
367
|
+
font-weight: var(--wui-font-weight-regular);
|
|
368
|
+
overflow: inherit;
|
|
369
|
+
text-overflow: inherit;
|
|
370
|
+
text-align: var(--local-align);
|
|
371
|
+
color: var(--local-color);
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.wui-line-clamp-1 {
|
|
375
|
+
overflow: hidden;
|
|
376
|
+
display: -webkit-box;
|
|
377
|
+
-webkit-box-orient: vertical;
|
|
378
|
+
-webkit-line-clamp: 1;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.wui-line-clamp-2 {
|
|
382
|
+
overflow: hidden;
|
|
383
|
+
display: -webkit-box;
|
|
384
|
+
-webkit-box-orient: vertical;
|
|
385
|
+
-webkit-line-clamp: 2;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.wui-font-medium-400 {
|
|
389
|
+
font-size: var(--wui-font-size-medium);
|
|
390
|
+
font-weight: var(--wui-font-weight-light);
|
|
391
|
+
letter-spacing: var(--wui-letter-spacing-medium);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.wui-font-medium-600 {
|
|
395
|
+
font-size: var(--wui-font-size-medium);
|
|
396
|
+
letter-spacing: var(--wui-letter-spacing-medium);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.wui-font-title-600 {
|
|
400
|
+
font-size: var(--wui-font-size-title);
|
|
401
|
+
letter-spacing: var(--wui-letter-spacing-title);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.wui-font-title-6-600 {
|
|
405
|
+
font-size: var(--wui-font-size-title-6);
|
|
406
|
+
letter-spacing: var(--wui-letter-spacing-title-6);
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.wui-font-mini-700 {
|
|
410
|
+
font-size: var(--wui-font-size-mini);
|
|
411
|
+
letter-spacing: var(--wui-letter-spacing-mini);
|
|
412
|
+
text-transform: uppercase;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.wui-font-large-500,
|
|
416
|
+
.wui-font-large-600,
|
|
417
|
+
.wui-font-large-700 {
|
|
418
|
+
font-size: var(--wui-font-size-large);
|
|
419
|
+
letter-spacing: var(--wui-letter-spacing-large);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.wui-font-2xl-500,
|
|
423
|
+
.wui-font-2xl-600,
|
|
424
|
+
.wui-font-2xl-700 {
|
|
425
|
+
font-size: var(--wui-font-size-2xl);
|
|
426
|
+
letter-spacing: var(--wui-letter-spacing-2xl);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.wui-font-paragraph-400,
|
|
430
|
+
.wui-font-paragraph-500,
|
|
431
|
+
.wui-font-paragraph-600,
|
|
432
|
+
.wui-font-paragraph-700 {
|
|
433
|
+
font-size: var(--wui-font-size-paragraph);
|
|
434
|
+
letter-spacing: var(--wui-letter-spacing-paragraph);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.wui-font-small-400,
|
|
438
|
+
.wui-font-small-500,
|
|
439
|
+
.wui-font-small-600 {
|
|
440
|
+
font-size: var(--wui-font-size-small);
|
|
441
|
+
letter-spacing: var(--wui-letter-spacing-small);
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.wui-font-tiny-400,
|
|
445
|
+
.wui-font-tiny-500,
|
|
446
|
+
.wui-font-tiny-600 {
|
|
447
|
+
font-size: var(--wui-font-size-tiny);
|
|
448
|
+
letter-spacing: var(--wui-letter-spacing-tiny);
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.wui-font-micro-700,
|
|
452
|
+
.wui-font-micro-600 {
|
|
453
|
+
font-size: var(--wui-font-size-micro);
|
|
454
|
+
letter-spacing: var(--wui-letter-spacing-micro);
|
|
455
|
+
text-transform: uppercase;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.wui-font-tiny-400,
|
|
459
|
+
.wui-font-small-400,
|
|
460
|
+
.wui-font-medium-400,
|
|
461
|
+
.wui-font-paragraph-400 {
|
|
462
|
+
font-weight: var(--wui-font-weight-light);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.wui-font-large-700,
|
|
466
|
+
.wui-font-paragraph-700,
|
|
467
|
+
.wui-font-micro-700,
|
|
468
|
+
.wui-font-mini-700 {
|
|
469
|
+
font-weight: var(--wui-font-weight-bold);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.wui-font-medium-600,
|
|
473
|
+
.wui-font-medium-title-600,
|
|
474
|
+
.wui-font-title-6-600,
|
|
475
|
+
.wui-font-large-600,
|
|
476
|
+
.wui-font-paragraph-600,
|
|
477
|
+
.wui-font-small-600,
|
|
478
|
+
.wui-font-tiny-600,
|
|
479
|
+
.wui-font-micro-600 {
|
|
480
|
+
font-weight: var(--wui-font-weight-medium);
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
:host([disabled]) {
|
|
484
|
+
opacity: 0.4;
|
|
485
|
+
}
|
|
486
|
+
`;
|
|
487
|
+
}
|
|
488
|
+
});
|
|
489
|
+
|
|
490
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-text/index.js
|
|
491
|
+
var __decorate2, WuiText;
|
|
492
|
+
var init_wui_text = __esm({
|
|
493
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-text/index.js"() {
|
|
494
|
+
"use strict";
|
|
495
|
+
init_lit();
|
|
496
|
+
init_decorators();
|
|
497
|
+
init_class_map2();
|
|
498
|
+
init_ThemeUtil();
|
|
499
|
+
init_WebComponentsUtil();
|
|
500
|
+
init_styles2();
|
|
501
|
+
__decorate2 = function(decorators, target, key, desc) {
|
|
502
|
+
var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
503
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
|
|
504
|
+
else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d = decorators[i5]) r5 = (c3 < 3 ? d(r5) : c3 > 3 ? d(target, key, r5) : d(target, key)) || r5;
|
|
505
|
+
return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
|
|
506
|
+
};
|
|
507
|
+
WuiText = class WuiText2 extends i2 {
|
|
508
|
+
constructor() {
|
|
509
|
+
super(...arguments);
|
|
510
|
+
this.variant = "paragraph-500";
|
|
511
|
+
this.color = "fg-300";
|
|
512
|
+
this.align = "left";
|
|
513
|
+
this.lineClamp = void 0;
|
|
514
|
+
}
|
|
515
|
+
render() {
|
|
516
|
+
const classes = {
|
|
517
|
+
[`wui-font-${this.variant}`]: true,
|
|
518
|
+
[`wui-color-${this.color}`]: true,
|
|
519
|
+
[`wui-line-clamp-${this.lineClamp}`]: this.lineClamp ? true : false
|
|
520
|
+
};
|
|
521
|
+
this.style.cssText = `
|
|
522
|
+
--local-align: ${this.align};
|
|
523
|
+
--local-color: var(--wui-color-${this.color});
|
|
524
|
+
`;
|
|
525
|
+
return T`<slot class=${e3(classes)}></slot>`;
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
WuiText.styles = [resetStyles, styles_default2];
|
|
529
|
+
__decorate2([
|
|
530
|
+
n()
|
|
531
|
+
], WuiText.prototype, "variant", void 0);
|
|
532
|
+
__decorate2([
|
|
533
|
+
n()
|
|
534
|
+
], WuiText.prototype, "color", void 0);
|
|
535
|
+
__decorate2([
|
|
536
|
+
n()
|
|
537
|
+
], WuiText.prototype, "align", void 0);
|
|
538
|
+
__decorate2([
|
|
539
|
+
n()
|
|
540
|
+
], WuiText.prototype, "lineClamp", void 0);
|
|
541
|
+
WuiText = __decorate2([
|
|
542
|
+
customElement("wui-text")
|
|
543
|
+
], WuiText);
|
|
544
|
+
}
|
|
545
|
+
});
|
|
546
|
+
|
|
547
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/exports/wui-text.js
|
|
548
|
+
var init_wui_text2 = __esm({
|
|
549
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/exports/wui-text.js"() {
|
|
550
|
+
"use strict";
|
|
551
|
+
init_wui_text();
|
|
552
|
+
}
|
|
553
|
+
});
|
|
554
|
+
|
|
555
|
+
// ../../node_modules/lit-html/node/directive-helpers.js
|
|
556
|
+
var t2, n2, r3;
|
|
557
|
+
var init_directive_helpers = __esm({
|
|
558
|
+
"../../node_modules/lit-html/node/directive-helpers.js"() {
|
|
559
|
+
"use strict";
|
|
560
|
+
init_lit_html();
|
|
561
|
+
({ I: t2 } = Z);
|
|
562
|
+
n2 = (o4) => null === o4 || "object" != typeof o4 && "function" != typeof o4;
|
|
563
|
+
r3 = (o4) => void 0 === o4.strings;
|
|
564
|
+
}
|
|
565
|
+
});
|
|
566
|
+
|
|
567
|
+
// ../../node_modules/lit-html/node/async-directive.js
|
|
568
|
+
function h(i5) {
|
|
569
|
+
void 0 !== this._$AN ? (o3(this), this._$AM = i5, r4(this)) : this._$AM = i5;
|
|
570
|
+
}
|
|
571
|
+
function n3(i5, t3 = false, e4 = 0) {
|
|
572
|
+
const r5 = this._$AH, h3 = this._$AN;
|
|
573
|
+
if (void 0 !== h3 && 0 !== h3.size) if (t3) if (Array.isArray(r5)) for (let i6 = e4; i6 < r5.length; i6++) s(r5[i6], false), o3(r5[i6]);
|
|
574
|
+
else null != r5 && (s(r5, false), o3(r5));
|
|
575
|
+
else s(this, i5);
|
|
576
|
+
}
|
|
577
|
+
var s, o3, r4, c, f;
|
|
578
|
+
var init_async_directive = __esm({
|
|
579
|
+
"../../node_modules/lit-html/node/async-directive.js"() {
|
|
580
|
+
"use strict";
|
|
581
|
+
init_directive_helpers();
|
|
582
|
+
init_directive();
|
|
583
|
+
init_directive();
|
|
584
|
+
s = (i5, t3) => {
|
|
585
|
+
const e4 = i5._$AN;
|
|
586
|
+
if (void 0 === e4) return false;
|
|
587
|
+
for (const i6 of e4) i6._$AO?.(t3, false), s(i6, t3);
|
|
588
|
+
return true;
|
|
589
|
+
};
|
|
590
|
+
o3 = (i5) => {
|
|
591
|
+
let t3, e4;
|
|
592
|
+
do {
|
|
593
|
+
if (void 0 === (t3 = i5._$AM)) break;
|
|
594
|
+
e4 = t3._$AN, e4.delete(i5), i5 = t3;
|
|
595
|
+
} while (0 === e4?.size);
|
|
596
|
+
};
|
|
597
|
+
r4 = (i5) => {
|
|
598
|
+
for (let t3; t3 = i5._$AM; i5 = t3) {
|
|
599
|
+
let e4 = t3._$AN;
|
|
600
|
+
if (void 0 === e4) t3._$AN = e4 = /* @__PURE__ */ new Set();
|
|
601
|
+
else if (e4.has(i5)) break;
|
|
602
|
+
e4.add(i5), c(t3);
|
|
603
|
+
}
|
|
604
|
+
};
|
|
605
|
+
c = (i5) => {
|
|
606
|
+
i5.type == t.CHILD && (i5._$AP ??= n3, i5._$AQ ??= h);
|
|
607
|
+
};
|
|
608
|
+
f = class extends i3 {
|
|
609
|
+
constructor() {
|
|
610
|
+
super(...arguments), this._$AN = void 0;
|
|
611
|
+
}
|
|
612
|
+
_$AT(i5, t3, e4) {
|
|
613
|
+
super._$AT(i5, t3, e4), r4(this), this.isConnected = i5._$AU;
|
|
614
|
+
}
|
|
615
|
+
_$AO(i5, t3 = true) {
|
|
616
|
+
i5 !== this.isConnected && (this.isConnected = i5, i5 ? this.reconnected?.() : this.disconnected?.()), t3 && (s(this, i5), o3(this));
|
|
617
|
+
}
|
|
618
|
+
setValue(t3) {
|
|
619
|
+
if (r3(this._$Ct)) this._$Ct._$AI(t3, this);
|
|
620
|
+
else {
|
|
621
|
+
const i5 = [...this._$Ct._$AH];
|
|
622
|
+
i5[this._$Ci] = t3, this._$Ct._$AI(i5, this, 0);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
disconnected() {
|
|
626
|
+
}
|
|
627
|
+
reconnected() {
|
|
628
|
+
}
|
|
629
|
+
};
|
|
630
|
+
}
|
|
631
|
+
});
|
|
632
|
+
|
|
633
|
+
// ../../node_modules/lit-html/node/directives/private-async-helpers.js
|
|
634
|
+
var s2, i4;
|
|
635
|
+
var init_private_async_helpers = __esm({
|
|
636
|
+
"../../node_modules/lit-html/node/directives/private-async-helpers.js"() {
|
|
637
|
+
"use strict";
|
|
638
|
+
s2 = class {
|
|
639
|
+
constructor(t3) {
|
|
640
|
+
this.G = t3;
|
|
641
|
+
}
|
|
642
|
+
disconnect() {
|
|
643
|
+
this.G = void 0;
|
|
644
|
+
}
|
|
645
|
+
reconnect(t3) {
|
|
646
|
+
this.G = t3;
|
|
647
|
+
}
|
|
648
|
+
deref() {
|
|
649
|
+
return this.G;
|
|
650
|
+
}
|
|
651
|
+
};
|
|
652
|
+
i4 = class {
|
|
653
|
+
constructor() {
|
|
654
|
+
this.Y = void 0, this.Z = void 0;
|
|
655
|
+
}
|
|
656
|
+
get() {
|
|
657
|
+
return this.Y;
|
|
658
|
+
}
|
|
659
|
+
pause() {
|
|
660
|
+
this.Y ??= new Promise((t3) => this.Z = t3);
|
|
661
|
+
}
|
|
662
|
+
resume() {
|
|
663
|
+
this.Z?.(), this.Y = this.Z = void 0;
|
|
664
|
+
}
|
|
665
|
+
};
|
|
666
|
+
}
|
|
667
|
+
});
|
|
668
|
+
|
|
669
|
+
// ../../node_modules/lit-html/node/directives/until.js
|
|
670
|
+
var n4, h2, c2, m2;
|
|
671
|
+
var init_until = __esm({
|
|
672
|
+
"../../node_modules/lit-html/node/directives/until.js"() {
|
|
673
|
+
"use strict";
|
|
674
|
+
init_lit_html();
|
|
675
|
+
init_directive_helpers();
|
|
676
|
+
init_async_directive();
|
|
677
|
+
init_private_async_helpers();
|
|
678
|
+
init_directive();
|
|
679
|
+
n4 = (t3) => !n2(t3) && "function" == typeof t3.then;
|
|
680
|
+
h2 = 1073741823;
|
|
681
|
+
c2 = class extends f {
|
|
682
|
+
constructor() {
|
|
683
|
+
super(...arguments), this._$Cwt = h2, this._$Cbt = [], this._$CK = new s2(this), this._$CX = new i4();
|
|
684
|
+
}
|
|
685
|
+
render(...s3) {
|
|
686
|
+
return s3.find((t3) => !n4(t3)) ?? E;
|
|
687
|
+
}
|
|
688
|
+
update(s3, i5) {
|
|
689
|
+
const e4 = this._$Cbt;
|
|
690
|
+
let r5 = e4.length;
|
|
691
|
+
this._$Cbt = i5;
|
|
692
|
+
const o4 = this._$CK, c3 = this._$CX;
|
|
693
|
+
this.isConnected || this.disconnected();
|
|
694
|
+
for (let t3 = 0; t3 < i5.length && !(t3 > this._$Cwt); t3++) {
|
|
695
|
+
const s4 = i5[t3];
|
|
696
|
+
if (!n4(s4)) return this._$Cwt = t3, s4;
|
|
697
|
+
t3 < r5 && s4 === e4[t3] || (this._$Cwt = h2, r5 = 0, Promise.resolve(s4).then(async (t4) => {
|
|
698
|
+
for (; c3.get(); ) await c3.get();
|
|
699
|
+
const i6 = o4.deref();
|
|
700
|
+
if (void 0 !== i6) {
|
|
701
|
+
const e5 = i6._$Cbt.indexOf(s4);
|
|
702
|
+
e5 > -1 && e5 < i6._$Cwt && (i6._$Cwt = e5, i6.setValue(t4));
|
|
703
|
+
}
|
|
704
|
+
}));
|
|
705
|
+
}
|
|
706
|
+
return E;
|
|
707
|
+
}
|
|
708
|
+
disconnected() {
|
|
709
|
+
this._$CK.disconnect(), this._$CX.pause();
|
|
710
|
+
}
|
|
711
|
+
reconnected() {
|
|
712
|
+
this._$CK.reconnect(this), this._$CX.resume();
|
|
713
|
+
}
|
|
714
|
+
};
|
|
715
|
+
m2 = e2(c2);
|
|
716
|
+
}
|
|
717
|
+
});
|
|
718
|
+
|
|
719
|
+
// ../../node_modules/lit/directives/until.js
|
|
720
|
+
var init_until2 = __esm({
|
|
721
|
+
"../../node_modules/lit/directives/until.js"() {
|
|
722
|
+
"use strict";
|
|
723
|
+
init_until();
|
|
724
|
+
}
|
|
725
|
+
});
|
|
726
|
+
|
|
727
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/utils/CacheUtil.js
|
|
728
|
+
var CacheUtil, globalSvgCache;
|
|
729
|
+
var init_CacheUtil = __esm({
|
|
730
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/utils/CacheUtil.js"() {
|
|
731
|
+
"use strict";
|
|
732
|
+
CacheUtil = class {
|
|
733
|
+
constructor() {
|
|
734
|
+
this.cache = /* @__PURE__ */ new Map();
|
|
735
|
+
}
|
|
736
|
+
set(key, value) {
|
|
737
|
+
this.cache.set(key, value);
|
|
738
|
+
}
|
|
739
|
+
get(key) {
|
|
740
|
+
return this.cache.get(key);
|
|
741
|
+
}
|
|
742
|
+
has(key) {
|
|
743
|
+
return this.cache.has(key);
|
|
744
|
+
}
|
|
745
|
+
delete(key) {
|
|
746
|
+
this.cache.delete(key);
|
|
747
|
+
}
|
|
748
|
+
clear() {
|
|
749
|
+
this.cache.clear();
|
|
750
|
+
}
|
|
751
|
+
};
|
|
752
|
+
globalSvgCache = new CacheUtil();
|
|
753
|
+
}
|
|
754
|
+
});
|
|
755
|
+
|
|
756
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-icon/styles.js
|
|
757
|
+
var styles_default3;
|
|
758
|
+
var init_styles3 = __esm({
|
|
759
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-icon/styles.js"() {
|
|
760
|
+
"use strict";
|
|
761
|
+
init_lit();
|
|
762
|
+
styles_default3 = i`
|
|
763
|
+
:host {
|
|
764
|
+
display: flex;
|
|
765
|
+
aspect-ratio: var(--local-aspect-ratio);
|
|
766
|
+
color: var(--local-color);
|
|
767
|
+
width: var(--local-width);
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
svg {
|
|
771
|
+
width: inherit;
|
|
772
|
+
height: inherit;
|
|
773
|
+
object-fit: contain;
|
|
774
|
+
object-position: center;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
.fallback {
|
|
778
|
+
width: var(--local-width);
|
|
779
|
+
height: var(--local-height);
|
|
780
|
+
}
|
|
781
|
+
`;
|
|
782
|
+
}
|
|
783
|
+
});
|
|
784
|
+
|
|
785
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-icon/index.js
|
|
786
|
+
async function getSvg(name) {
|
|
787
|
+
if (globalSvgCache.has(name)) {
|
|
788
|
+
return globalSvgCache.get(name);
|
|
789
|
+
}
|
|
790
|
+
const importFn = ICONS[name] ?? ICONS.copy;
|
|
791
|
+
const svgPromise = importFn();
|
|
792
|
+
globalSvgCache.set(name, svgPromise);
|
|
793
|
+
return svgPromise;
|
|
794
|
+
}
|
|
795
|
+
var __decorate3, ICONS, WuiIcon;
|
|
796
|
+
var init_wui_icon = __esm({
|
|
797
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-icon/index.js"() {
|
|
798
|
+
"use strict";
|
|
799
|
+
init_lit();
|
|
800
|
+
init_decorators();
|
|
801
|
+
init_until2();
|
|
802
|
+
init_CacheUtil();
|
|
803
|
+
init_ThemeUtil();
|
|
804
|
+
init_WebComponentsUtil();
|
|
805
|
+
init_styles3();
|
|
806
|
+
__decorate3 = function(decorators, target, key, desc) {
|
|
807
|
+
var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
808
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
|
|
809
|
+
else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d = decorators[i5]) r5 = (c3 < 3 ? d(r5) : c3 > 3 ? d(target, key, r5) : d(target, key)) || r5;
|
|
810
|
+
return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
|
|
811
|
+
};
|
|
812
|
+
ICONS = {
|
|
813
|
+
add: async () => (await import("./add-LG363GP4.mjs")).addSvg,
|
|
814
|
+
allWallets: async () => (await import("./all-wallets-UW4KSWDQ.mjs")).allWalletsSvg,
|
|
815
|
+
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-XSCE7Y52.mjs")).arrowBottomCircleSvg,
|
|
816
|
+
appStore: async () => (await import("./app-store-GOSERMQC.mjs")).appStoreSvg,
|
|
817
|
+
apple: async () => (await import("./apple-Y34SY63H.mjs")).appleSvg,
|
|
818
|
+
arrowBottom: async () => (await import("./arrow-bottom-YDRRJYRC.mjs")).arrowBottomSvg,
|
|
819
|
+
arrowLeft: async () => (await import("./arrow-left-VMP4J3ME.mjs")).arrowLeftSvg,
|
|
820
|
+
arrowRight: async () => (await import("./arrow-right-FSU7ZETV.mjs")).arrowRightSvg,
|
|
821
|
+
arrowTop: async () => (await import("./arrow-top-SQNMDYUF.mjs")).arrowTopSvg,
|
|
822
|
+
bank: async () => (await import("./bank-DO6DNPBT.mjs")).bankSvg,
|
|
823
|
+
browser: async () => (await import("./browser-BI7YYLKK.mjs")).browserSvg,
|
|
824
|
+
card: async () => (await import("./card-F2CIEB7K.mjs")).cardSvg,
|
|
825
|
+
checkmark: async () => (await import("./checkmark-YASK3T7D.mjs")).checkmarkSvg,
|
|
826
|
+
checkmarkBold: async () => (await import("./checkmark-bold-UJRS6R4T.mjs")).checkmarkBoldSvg,
|
|
827
|
+
chevronBottom: async () => (await import("./chevron-bottom-Z7YOJH7F.mjs")).chevronBottomSvg,
|
|
828
|
+
chevronLeft: async () => (await import("./chevron-left-YPDPGZVV.mjs")).chevronLeftSvg,
|
|
829
|
+
chevronRight: async () => (await import("./chevron-right-4464VKIO.mjs")).chevronRightSvg,
|
|
830
|
+
chevronTop: async () => (await import("./chevron-top-6F4WXRKZ.mjs")).chevronTopSvg,
|
|
831
|
+
chromeStore: async () => (await import("./chrome-store-KH57RD54.mjs")).chromeStoreSvg,
|
|
832
|
+
clock: async () => (await import("./clock-WGC5S5SU.mjs")).clockSvg,
|
|
833
|
+
close: async () => (await import("./close-HJ6ZBPVZ.mjs")).closeSvg,
|
|
834
|
+
compass: async () => (await import("./compass-WAYDVX5E.mjs")).compassSvg,
|
|
835
|
+
coinPlaceholder: async () => (await import("./coinPlaceholder-UOKFKY4T.mjs")).coinPlaceholderSvg,
|
|
836
|
+
copy: async () => (await import("./copy-OPJY4AKY.mjs")).copySvg,
|
|
837
|
+
cursor: async () => (await import("./cursor-PAYF2D2S.mjs")).cursorSvg,
|
|
838
|
+
cursorTransparent: async () => (await import("./cursor-transparent-T4M3KZJ2.mjs")).cursorTransparentSvg,
|
|
839
|
+
desktop: async () => (await import("./desktop-QSXXA65J.mjs")).desktopSvg,
|
|
840
|
+
disconnect: async () => (await import("./disconnect-7NMPCP66.mjs")).disconnectSvg,
|
|
841
|
+
discord: async () => (await import("./discord-KRLKWIM5.mjs")).discordSvg,
|
|
842
|
+
etherscan: async () => (await import("./etherscan-TAXMMDC4.mjs")).etherscanSvg,
|
|
843
|
+
extension: async () => (await import("./extension-LAAZQU7X.mjs")).extensionSvg,
|
|
844
|
+
externalLink: async () => (await import("./external-link-IFBQ3MSI.mjs")).externalLinkSvg,
|
|
845
|
+
facebook: async () => (await import("./facebook-PAENGKOR.mjs")).facebookSvg,
|
|
846
|
+
farcaster: async () => (await import("./farcaster-P47HCAAY.mjs")).farcasterSvg,
|
|
847
|
+
filters: async () => (await import("./filters-4HNPLZQV.mjs")).filtersSvg,
|
|
848
|
+
github: async () => (await import("./github-RO4C47BJ.mjs")).githubSvg,
|
|
849
|
+
google: async () => (await import("./google-RIBTWZH2.mjs")).googleSvg,
|
|
850
|
+
helpCircle: async () => (await import("./help-circle-PN7NOOY4.mjs")).helpCircleSvg,
|
|
851
|
+
image: async () => (await import("./image-FUPENKKO.mjs")).imageSvg,
|
|
852
|
+
id: async () => (await import("./id-JYBNXVYQ.mjs")).idSvg,
|
|
853
|
+
infoCircle: async () => (await import("./info-circle-M5CXNBEA.mjs")).infoCircleSvg,
|
|
854
|
+
lightbulb: async () => (await import("./lightbulb-CPZO66W6.mjs")).lightbulbSvg,
|
|
855
|
+
mail: async () => (await import("./mail-RAF36J77.mjs")).mailSvg,
|
|
856
|
+
mobile: async () => (await import("./mobile-ZLFYOCHK.mjs")).mobileSvg,
|
|
857
|
+
more: async () => (await import("./more-CIHKDQMO.mjs")).moreSvg,
|
|
858
|
+
networkPlaceholder: async () => (await import("./network-placeholder-QOMFBWMT.mjs")).networkPlaceholderSvg,
|
|
859
|
+
nftPlaceholder: async () => (await import("./nftPlaceholder-7TK2T2QP.mjs")).nftPlaceholderSvg,
|
|
860
|
+
off: async () => (await import("./off-WWNLGDOR.mjs")).offSvg,
|
|
861
|
+
playStore: async () => (await import("./play-store-HLZSDCUP.mjs")).playStoreSvg,
|
|
862
|
+
plus: async () => (await import("./plus-SCLTSRAT.mjs")).plusSvg,
|
|
863
|
+
qrCode: async () => (await import("./qr-code-T7FWUJU6.mjs")).qrCodeIcon,
|
|
864
|
+
recycleHorizontal: async () => (await import("./recycle-horizontal-WRR5I5MX.mjs")).recycleHorizontalSvg,
|
|
865
|
+
refresh: async () => (await import("./refresh-6AQ524CD.mjs")).refreshSvg,
|
|
866
|
+
search: async () => (await import("./search-HXD6I5XQ.mjs")).searchSvg,
|
|
867
|
+
send: async () => (await import("./send-3N2W3TJ6.mjs")).sendSvg,
|
|
868
|
+
swapHorizontal: async () => (await import("./swapHorizontal-KPYCPFL4.mjs")).swapHorizontalSvg,
|
|
869
|
+
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-SCPLSG7N.mjs")).swapHorizontalMediumSvg,
|
|
870
|
+
swapHorizontalBold: async () => (await import("./swapHorizontalBold-WCO2BX6U.mjs")).swapHorizontalBoldSvg,
|
|
871
|
+
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-YX7IIFNL.mjs")).swapHorizontalRoundedBoldSvg,
|
|
872
|
+
swapVertical: async () => (await import("./swapVertical-XS35BJ2R.mjs")).swapVerticalSvg,
|
|
873
|
+
telegram: async () => (await import("./telegram-RIP72IGI.mjs")).telegramSvg,
|
|
874
|
+
threeDots: async () => (await import("./three-dots-IPE2YG6Z.mjs")).threeDotsSvg,
|
|
875
|
+
twitch: async () => (await import("./twitch-5K6DAEPG.mjs")).twitchSvg,
|
|
876
|
+
twitter: async () => (await import("./x-MTQL7KFF.mjs")).xSvg,
|
|
877
|
+
twitterIcon: async () => (await import("./twitterIcon-U3V7EFPB.mjs")).twitterIconSvg,
|
|
878
|
+
verify: async () => (await import("./verify-JML7EMVO.mjs")).verifySvg,
|
|
879
|
+
verifyFilled: async () => (await import("./verify-filled-R5MYOEEJ.mjs")).verifyFilledSvg,
|
|
880
|
+
wallet: async () => (await import("./wallet-AJFVN7JZ.mjs")).walletSvg,
|
|
881
|
+
walletConnect: async () => (await import("./walletconnect-G267PBVT.mjs")).walletConnectSvg,
|
|
882
|
+
walletConnectLightBrown: async () => (await import("./walletconnect-G267PBVT.mjs")).walletConnectLightBrownSvg,
|
|
883
|
+
walletConnectBrown: async () => (await import("./walletconnect-G267PBVT.mjs")).walletConnectBrownSvg,
|
|
884
|
+
walletPlaceholder: async () => (await import("./wallet-placeholder-4QSRXVF5.mjs")).walletPlaceholderSvg,
|
|
885
|
+
warningCircle: async () => (await import("./warning-circle-2KJXNGLQ.mjs")).warningCircleSvg,
|
|
886
|
+
x: async () => (await import("./x-MTQL7KFF.mjs")).xSvg,
|
|
887
|
+
info: async () => (await import("./info-34PNUQRI.mjs")).infoSvg,
|
|
888
|
+
exclamationTriangle: async () => (await import("./exclamation-triangle-MW7PXM5B.mjs")).exclamationTriangleSvg,
|
|
889
|
+
reown: async () => (await import("./reown-logo-NJCCGFTU.mjs")).reownSvg
|
|
890
|
+
};
|
|
891
|
+
WuiIcon = class WuiIcon2 extends i2 {
|
|
892
|
+
constructor() {
|
|
893
|
+
super(...arguments);
|
|
894
|
+
this.size = "md";
|
|
895
|
+
this.name = "copy";
|
|
896
|
+
this.color = "fg-300";
|
|
897
|
+
this.aspectRatio = "1 / 1";
|
|
898
|
+
}
|
|
899
|
+
render() {
|
|
900
|
+
this.style.cssText = `
|
|
901
|
+
--local-color: ${`var(--wui-color-${this.color});`}
|
|
902
|
+
--local-width: ${`var(--wui-icon-size-${this.size});`}
|
|
903
|
+
--local-aspect-ratio: ${this.aspectRatio}
|
|
904
|
+
`;
|
|
905
|
+
return T`${m2(getSvg(this.name), T`<div class="fallback"></div>`)}`;
|
|
906
|
+
}
|
|
907
|
+
};
|
|
908
|
+
WuiIcon.styles = [resetStyles, colorStyles, styles_default3];
|
|
909
|
+
__decorate3([
|
|
910
|
+
n()
|
|
911
|
+
], WuiIcon.prototype, "size", void 0);
|
|
912
|
+
__decorate3([
|
|
913
|
+
n()
|
|
914
|
+
], WuiIcon.prototype, "name", void 0);
|
|
915
|
+
__decorate3([
|
|
916
|
+
n()
|
|
917
|
+
], WuiIcon.prototype, "color", void 0);
|
|
918
|
+
__decorate3([
|
|
919
|
+
n()
|
|
920
|
+
], WuiIcon.prototype, "aspectRatio", void 0);
|
|
921
|
+
WuiIcon = __decorate3([
|
|
922
|
+
customElement("wui-icon")
|
|
923
|
+
], WuiIcon);
|
|
924
|
+
}
|
|
925
|
+
});
|
|
926
|
+
|
|
927
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/composites/wui-icon-box/styles.js
|
|
928
|
+
var styles_default4;
|
|
929
|
+
var init_styles4 = __esm({
|
|
930
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/composites/wui-icon-box/styles.js"() {
|
|
931
|
+
"use strict";
|
|
932
|
+
init_lit();
|
|
933
|
+
styles_default4 = i`
|
|
934
|
+
:host {
|
|
935
|
+
display: inline-flex;
|
|
936
|
+
justify-content: center;
|
|
937
|
+
align-items: center;
|
|
938
|
+
position: relative;
|
|
939
|
+
overflow: hidden;
|
|
940
|
+
background-color: var(--wui-color-gray-glass-020);
|
|
941
|
+
border-radius: var(--local-border-radius);
|
|
942
|
+
border: var(--local-border);
|
|
943
|
+
box-sizing: content-box;
|
|
944
|
+
width: var(--local-size);
|
|
945
|
+
height: var(--local-size);
|
|
946
|
+
min-height: var(--local-size);
|
|
947
|
+
min-width: var(--local-size);
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
@supports (background: color-mix(in srgb, white 50%, black)) {
|
|
951
|
+
:host {
|
|
952
|
+
background-color: color-mix(in srgb, var(--local-bg-value) var(--local-bg-mix), transparent);
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
`;
|
|
956
|
+
}
|
|
957
|
+
});
|
|
958
|
+
|
|
959
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/composites/wui-icon-box/index.js
|
|
960
|
+
var __decorate4, WuiIconBox;
|
|
961
|
+
var init_wui_icon_box = __esm({
|
|
962
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/composites/wui-icon-box/index.js"() {
|
|
963
|
+
"use strict";
|
|
964
|
+
init_lit();
|
|
965
|
+
init_decorators();
|
|
966
|
+
init_wui_icon();
|
|
967
|
+
init_ThemeUtil();
|
|
968
|
+
init_WebComponentsUtil();
|
|
969
|
+
init_styles4();
|
|
970
|
+
__decorate4 = function(decorators, target, key, desc) {
|
|
971
|
+
var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
972
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
|
|
973
|
+
else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d = decorators[i5]) r5 = (c3 < 3 ? d(r5) : c3 > 3 ? d(target, key, r5) : d(target, key)) || r5;
|
|
974
|
+
return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
|
|
975
|
+
};
|
|
976
|
+
WuiIconBox = class WuiIconBox2 extends i2 {
|
|
977
|
+
constructor() {
|
|
978
|
+
super(...arguments);
|
|
979
|
+
this.size = "md";
|
|
980
|
+
this.backgroundColor = "accent-100";
|
|
981
|
+
this.iconColor = "accent-100";
|
|
982
|
+
this.background = "transparent";
|
|
983
|
+
this.border = false;
|
|
984
|
+
this.borderColor = "wui-color-bg-125";
|
|
985
|
+
this.icon = "copy";
|
|
986
|
+
}
|
|
987
|
+
render() {
|
|
988
|
+
const iconSize = this.iconSize || this.size;
|
|
989
|
+
const isLg = this.size === "lg";
|
|
990
|
+
const isXl = this.size === "xl";
|
|
991
|
+
const bgMix = isLg ? "12%" : "16%";
|
|
992
|
+
const borderRadius = isLg ? "xxs" : isXl ? "s" : "3xl";
|
|
993
|
+
const isGray = this.background === "gray";
|
|
994
|
+
const isOpaque = this.background === "opaque";
|
|
995
|
+
const isColorChange = this.backgroundColor === "accent-100" && isOpaque || this.backgroundColor === "success-100" && isOpaque || this.backgroundColor === "error-100" && isOpaque || this.backgroundColor === "inverse-100" && isOpaque;
|
|
996
|
+
let bgValueVariable = `var(--wui-color-${this.backgroundColor})`;
|
|
997
|
+
if (isColorChange) {
|
|
998
|
+
bgValueVariable = `var(--wui-icon-box-bg-${this.backgroundColor})`;
|
|
999
|
+
} else if (isGray) {
|
|
1000
|
+
bgValueVariable = `var(--wui-color-gray-${this.backgroundColor})`;
|
|
1001
|
+
}
|
|
1002
|
+
this.style.cssText = `
|
|
1003
|
+
--local-bg-value: ${bgValueVariable};
|
|
1004
|
+
--local-bg-mix: ${isColorChange || isGray ? `100%` : bgMix};
|
|
1005
|
+
--local-border-radius: var(--wui-border-radius-${borderRadius});
|
|
1006
|
+
--local-size: var(--wui-icon-box-size-${this.size});
|
|
1007
|
+
--local-border: ${this.borderColor === "wui-color-bg-125" ? `2px` : `1px`} solid ${this.border ? `var(--${this.borderColor})` : `transparent`}
|
|
1008
|
+
`;
|
|
1009
|
+
return T` <wui-icon color=${this.iconColor} size=${iconSize} name=${this.icon}></wui-icon> `;
|
|
1010
|
+
}
|
|
1011
|
+
};
|
|
1012
|
+
WuiIconBox.styles = [resetStyles, elementStyles, styles_default4];
|
|
1013
|
+
__decorate4([
|
|
1014
|
+
n()
|
|
1015
|
+
], WuiIconBox.prototype, "size", void 0);
|
|
1016
|
+
__decorate4([
|
|
1017
|
+
n()
|
|
1018
|
+
], WuiIconBox.prototype, "backgroundColor", void 0);
|
|
1019
|
+
__decorate4([
|
|
1020
|
+
n()
|
|
1021
|
+
], WuiIconBox.prototype, "iconColor", void 0);
|
|
1022
|
+
__decorate4([
|
|
1023
|
+
n()
|
|
1024
|
+
], WuiIconBox.prototype, "iconSize", void 0);
|
|
1025
|
+
__decorate4([
|
|
1026
|
+
n()
|
|
1027
|
+
], WuiIconBox.prototype, "background", void 0);
|
|
1028
|
+
__decorate4([
|
|
1029
|
+
n({ type: Boolean })
|
|
1030
|
+
], WuiIconBox.prototype, "border", void 0);
|
|
1031
|
+
__decorate4([
|
|
1032
|
+
n()
|
|
1033
|
+
], WuiIconBox.prototype, "borderColor", void 0);
|
|
1034
|
+
__decorate4([
|
|
1035
|
+
n()
|
|
1036
|
+
], WuiIconBox.prototype, "icon", void 0);
|
|
1037
|
+
WuiIconBox = __decorate4([
|
|
1038
|
+
customElement("wui-icon-box")
|
|
1039
|
+
], WuiIconBox);
|
|
1040
|
+
}
|
|
1041
|
+
});
|
|
1042
|
+
|
|
1043
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/exports/wui-icon.js
|
|
1044
|
+
var init_wui_icon2 = __esm({
|
|
1045
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/exports/wui-icon.js"() {
|
|
1046
|
+
"use strict";
|
|
1047
|
+
init_wui_icon();
|
|
1048
|
+
}
|
|
1049
|
+
});
|
|
1050
|
+
|
|
1051
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-image/styles.js
|
|
1052
|
+
var styles_default5;
|
|
1053
|
+
var init_styles5 = __esm({
|
|
1054
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-image/styles.js"() {
|
|
1055
|
+
"use strict";
|
|
1056
|
+
init_lit();
|
|
1057
|
+
styles_default5 = i`
|
|
1058
|
+
:host {
|
|
1059
|
+
display: block;
|
|
1060
|
+
width: var(--local-width);
|
|
1061
|
+
height: var(--local-height);
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
img {
|
|
1065
|
+
display: block;
|
|
1066
|
+
width: 100%;
|
|
1067
|
+
height: 100%;
|
|
1068
|
+
object-fit: cover;
|
|
1069
|
+
object-position: center center;
|
|
1070
|
+
border-radius: inherit;
|
|
1071
|
+
}
|
|
1072
|
+
`;
|
|
1073
|
+
}
|
|
1074
|
+
});
|
|
1075
|
+
|
|
1076
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-image/index.js
|
|
1077
|
+
var __decorate5, WuiImage;
|
|
1078
|
+
var init_wui_image = __esm({
|
|
1079
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-image/index.js"() {
|
|
1080
|
+
"use strict";
|
|
1081
|
+
init_lit();
|
|
1082
|
+
init_decorators();
|
|
1083
|
+
init_ThemeUtil();
|
|
1084
|
+
init_WebComponentsUtil();
|
|
1085
|
+
init_styles5();
|
|
1086
|
+
__decorate5 = function(decorators, target, key, desc) {
|
|
1087
|
+
var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1088
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
|
|
1089
|
+
else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d = decorators[i5]) r5 = (c3 < 3 ? d(r5) : c3 > 3 ? d(target, key, r5) : d(target, key)) || r5;
|
|
1090
|
+
return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
|
|
1091
|
+
};
|
|
1092
|
+
WuiImage = class WuiImage2 extends i2 {
|
|
1093
|
+
constructor() {
|
|
1094
|
+
super(...arguments);
|
|
1095
|
+
this.src = "./path/to/image.jpg";
|
|
1096
|
+
this.alt = "Image";
|
|
1097
|
+
this.size = void 0;
|
|
1098
|
+
}
|
|
1099
|
+
render() {
|
|
1100
|
+
this.style.cssText = `
|
|
1101
|
+
--local-width: ${this.size ? `var(--wui-icon-size-${this.size});` : "100%"};
|
|
1102
|
+
--local-height: ${this.size ? `var(--wui-icon-size-${this.size});` : "100%"};
|
|
1103
|
+
`;
|
|
1104
|
+
return T`<img src=${this.src} alt=${this.alt} @error=${this.handleImageError} />`;
|
|
1105
|
+
}
|
|
1106
|
+
handleImageError() {
|
|
1107
|
+
this.dispatchEvent(new CustomEvent("onLoadError", { bubbles: true, composed: true }));
|
|
1108
|
+
}
|
|
1109
|
+
};
|
|
1110
|
+
WuiImage.styles = [resetStyles, colorStyles, styles_default5];
|
|
1111
|
+
__decorate5([
|
|
1112
|
+
n()
|
|
1113
|
+
], WuiImage.prototype, "src", void 0);
|
|
1114
|
+
__decorate5([
|
|
1115
|
+
n()
|
|
1116
|
+
], WuiImage.prototype, "alt", void 0);
|
|
1117
|
+
__decorate5([
|
|
1118
|
+
n()
|
|
1119
|
+
], WuiImage.prototype, "size", void 0);
|
|
1120
|
+
WuiImage = __decorate5([
|
|
1121
|
+
customElement("wui-image")
|
|
1122
|
+
], WuiImage);
|
|
1123
|
+
}
|
|
1124
|
+
});
|
|
1125
|
+
|
|
1126
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/composites/wui-tag/styles.js
|
|
1127
|
+
var styles_default6;
|
|
1128
|
+
var init_styles6 = __esm({
|
|
1129
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/composites/wui-tag/styles.js"() {
|
|
1130
|
+
"use strict";
|
|
1131
|
+
init_lit();
|
|
1132
|
+
styles_default6 = i`
|
|
1133
|
+
:host {
|
|
1134
|
+
display: flex;
|
|
1135
|
+
justify-content: center;
|
|
1136
|
+
align-items: center;
|
|
1137
|
+
height: var(--wui-spacing-m);
|
|
1138
|
+
padding: 0 var(--wui-spacing-3xs) !important;
|
|
1139
|
+
border-radius: var(--wui-border-radius-5xs);
|
|
1140
|
+
transition:
|
|
1141
|
+
border-radius var(--wui-duration-lg) var(--wui-ease-out-power-1),
|
|
1142
|
+
background-color var(--wui-duration-lg) var(--wui-ease-out-power-1);
|
|
1143
|
+
will-change: border-radius, background-color;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
:host > wui-text {
|
|
1147
|
+
transform: translateY(5%);
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
:host([data-variant='main']) {
|
|
1151
|
+
background-color: var(--wui-color-accent-glass-015);
|
|
1152
|
+
color: var(--wui-color-accent-100);
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
:host([data-variant='shade']) {
|
|
1156
|
+
background-color: var(--wui-color-gray-glass-010);
|
|
1157
|
+
color: var(--wui-color-fg-200);
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
:host([data-variant='success']) {
|
|
1161
|
+
background-color: var(--wui-icon-box-bg-success-100);
|
|
1162
|
+
color: var(--wui-color-success-100);
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
:host([data-variant='error']) {
|
|
1166
|
+
background-color: var(--wui-icon-box-bg-error-100);
|
|
1167
|
+
color: var(--wui-color-error-100);
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
:host([data-size='lg']) {
|
|
1171
|
+
padding: 11px 5px !important;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
:host([data-size='lg']) > wui-text {
|
|
1175
|
+
transform: translateY(2%);
|
|
1176
|
+
}
|
|
1177
|
+
`;
|
|
1178
|
+
}
|
|
1179
|
+
});
|
|
1180
|
+
|
|
1181
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/composites/wui-tag/index.js
|
|
1182
|
+
var __decorate6, WuiTag;
|
|
1183
|
+
var init_wui_tag = __esm({
|
|
1184
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/composites/wui-tag/index.js"() {
|
|
1185
|
+
"use strict";
|
|
1186
|
+
init_lit();
|
|
1187
|
+
init_decorators();
|
|
1188
|
+
init_wui_text();
|
|
1189
|
+
init_ThemeUtil();
|
|
1190
|
+
init_WebComponentsUtil();
|
|
1191
|
+
init_styles6();
|
|
1192
|
+
__decorate6 = function(decorators, target, key, desc) {
|
|
1193
|
+
var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1194
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
|
|
1195
|
+
else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d = decorators[i5]) r5 = (c3 < 3 ? d(r5) : c3 > 3 ? d(target, key, r5) : d(target, key)) || r5;
|
|
1196
|
+
return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
|
|
1197
|
+
};
|
|
1198
|
+
WuiTag = class WuiTag2 extends i2 {
|
|
1199
|
+
constructor() {
|
|
1200
|
+
super(...arguments);
|
|
1201
|
+
this.variant = "main";
|
|
1202
|
+
this.size = "lg";
|
|
1203
|
+
}
|
|
1204
|
+
render() {
|
|
1205
|
+
this.dataset["variant"] = this.variant;
|
|
1206
|
+
this.dataset["size"] = this.size;
|
|
1207
|
+
const textVariant = this.size === "md" ? "mini-700" : "micro-700";
|
|
1208
|
+
return T`
|
|
1209
|
+
<wui-text data-variant=${this.variant} variant=${textVariant} color="inherit">
|
|
1210
|
+
<slot></slot>
|
|
1211
|
+
</wui-text>
|
|
1212
|
+
`;
|
|
1213
|
+
}
|
|
1214
|
+
};
|
|
1215
|
+
WuiTag.styles = [resetStyles, styles_default6];
|
|
1216
|
+
__decorate6([
|
|
1217
|
+
n()
|
|
1218
|
+
], WuiTag.prototype, "variant", void 0);
|
|
1219
|
+
__decorate6([
|
|
1220
|
+
n()
|
|
1221
|
+
], WuiTag.prototype, "size", void 0);
|
|
1222
|
+
WuiTag = __decorate6([
|
|
1223
|
+
customElement("wui-tag")
|
|
1224
|
+
], WuiTag);
|
|
1225
|
+
}
|
|
1226
|
+
});
|
|
1227
|
+
|
|
1228
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-loading-spinner/styles.js
|
|
1229
|
+
var styles_default7;
|
|
1230
|
+
var init_styles7 = __esm({
|
|
1231
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-loading-spinner/styles.js"() {
|
|
1232
|
+
"use strict";
|
|
1233
|
+
init_lit();
|
|
1234
|
+
styles_default7 = i`
|
|
1235
|
+
:host {
|
|
1236
|
+
display: flex;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
:host([data-size='sm']) > svg {
|
|
1240
|
+
width: 12px;
|
|
1241
|
+
height: 12px;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
:host([data-size='md']) > svg {
|
|
1245
|
+
width: 16px;
|
|
1246
|
+
height: 16px;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
:host([data-size='lg']) > svg {
|
|
1250
|
+
width: 24px;
|
|
1251
|
+
height: 24px;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
:host([data-size='xl']) > svg {
|
|
1255
|
+
width: 32px;
|
|
1256
|
+
height: 32px;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
svg {
|
|
1260
|
+
animation: rotate 2s linear infinite;
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
circle {
|
|
1264
|
+
fill: none;
|
|
1265
|
+
stroke: var(--local-color);
|
|
1266
|
+
stroke-width: 4px;
|
|
1267
|
+
stroke-dasharray: 1, 124;
|
|
1268
|
+
stroke-dashoffset: 0;
|
|
1269
|
+
stroke-linecap: round;
|
|
1270
|
+
animation: dash 1.5s ease-in-out infinite;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
:host([data-size='md']) > svg > circle {
|
|
1274
|
+
stroke-width: 6px;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
:host([data-size='sm']) > svg > circle {
|
|
1278
|
+
stroke-width: 8px;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
@keyframes rotate {
|
|
1282
|
+
100% {
|
|
1283
|
+
transform: rotate(360deg);
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
@keyframes dash {
|
|
1288
|
+
0% {
|
|
1289
|
+
stroke-dasharray: 1, 124;
|
|
1290
|
+
stroke-dashoffset: 0;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
50% {
|
|
1294
|
+
stroke-dasharray: 90, 124;
|
|
1295
|
+
stroke-dashoffset: -35;
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
100% {
|
|
1299
|
+
stroke-dashoffset: -125;
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
`;
|
|
1303
|
+
}
|
|
1304
|
+
});
|
|
1305
|
+
|
|
1306
|
+
// ../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-loading-spinner/index.js
|
|
1307
|
+
var __decorate7, WuiLoadingSpinner;
|
|
1308
|
+
var init_wui_loading_spinner = __esm({
|
|
1309
|
+
"../../node_modules/@reown/appkit-ui/dist/esm/src/components/wui-loading-spinner/index.js"() {
|
|
1310
|
+
"use strict";
|
|
1311
|
+
init_lit();
|
|
1312
|
+
init_decorators();
|
|
1313
|
+
init_ThemeUtil();
|
|
1314
|
+
init_WebComponentsUtil();
|
|
1315
|
+
init_styles7();
|
|
1316
|
+
__decorate7 = function(decorators, target, key, desc) {
|
|
1317
|
+
var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1318
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
|
|
1319
|
+
else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d = decorators[i5]) r5 = (c3 < 3 ? d(r5) : c3 > 3 ? d(target, key, r5) : d(target, key)) || r5;
|
|
1320
|
+
return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
|
|
1321
|
+
};
|
|
1322
|
+
WuiLoadingSpinner = class WuiLoadingSpinner2 extends i2 {
|
|
1323
|
+
constructor() {
|
|
1324
|
+
super(...arguments);
|
|
1325
|
+
this.color = "accent-100";
|
|
1326
|
+
this.size = "lg";
|
|
1327
|
+
}
|
|
1328
|
+
render() {
|
|
1329
|
+
this.style.cssText = `--local-color: ${this.color === "inherit" ? "inherit" : `var(--wui-color-${this.color})`}`;
|
|
1330
|
+
this.dataset["size"] = this.size;
|
|
1331
|
+
return T`<svg viewBox="25 25 50 50">
|
|
1332
|
+
<circle r="20" cy="50" cx="50"></circle>
|
|
1333
|
+
</svg>`;
|
|
1334
|
+
}
|
|
1335
|
+
};
|
|
1336
|
+
WuiLoadingSpinner.styles = [resetStyles, styles_default7];
|
|
1337
|
+
__decorate7([
|
|
1338
|
+
n()
|
|
1339
|
+
], WuiLoadingSpinner.prototype, "color", void 0);
|
|
1340
|
+
__decorate7([
|
|
1341
|
+
n()
|
|
1342
|
+
], WuiLoadingSpinner.prototype, "size", void 0);
|
|
1343
|
+
WuiLoadingSpinner = __decorate7([
|
|
1344
|
+
customElement("wui-loading-spinner")
|
|
1345
|
+
], WuiLoadingSpinner);
|
|
1346
|
+
}
|
|
1347
|
+
});
|
|
1348
|
+
|
|
1349
|
+
export {
|
|
1350
|
+
n,
|
|
1351
|
+
r2 as r,
|
|
1352
|
+
init_decorators,
|
|
1353
|
+
init_wui_flex,
|
|
1354
|
+
init_wui_flex2,
|
|
1355
|
+
o2 as o,
|
|
1356
|
+
init_if_defined2 as init_if_defined,
|
|
1357
|
+
e2 as e,
|
|
1358
|
+
init_directive,
|
|
1359
|
+
f,
|
|
1360
|
+
init_async_directive,
|
|
1361
|
+
init_wui_icon,
|
|
1362
|
+
e3 as e2,
|
|
1363
|
+
init_class_map2 as init_class_map,
|
|
1364
|
+
init_wui_text,
|
|
1365
|
+
init_wui_icon_box,
|
|
1366
|
+
init_wui_image,
|
|
1367
|
+
init_wui_tag,
|
|
1368
|
+
init_wui_loading_spinner,
|
|
1369
|
+
init_wui_icon2,
|
|
1370
|
+
init_wui_text2
|
|
1371
|
+
};
|
|
1372
|
+
/*! Bundled license information:
|
|
1373
|
+
|
|
1374
|
+
@lit/reactive-element/node/decorators/property.js:
|
|
1375
|
+
@lit/reactive-element/node/decorators/state.js:
|
|
1376
|
+
@lit/reactive-element/node/decorators/custom-element.js:
|
|
1377
|
+
@lit/reactive-element/node/decorators/event-options.js:
|
|
1378
|
+
@lit/reactive-element/node/decorators/base.js:
|
|
1379
|
+
@lit/reactive-element/node/decorators/query.js:
|
|
1380
|
+
@lit/reactive-element/node/decorators/query-all.js:
|
|
1381
|
+
@lit/reactive-element/node/decorators/query-async.js:
|
|
1382
|
+
@lit/reactive-element/node/decorators/query-assigned-nodes.js:
|
|
1383
|
+
lit-html/node/directive.js:
|
|
1384
|
+
lit-html/node/async-directive.js:
|
|
1385
|
+
lit-html/node/directives/until.js:
|
|
1386
|
+
(**
|
|
1387
|
+
* @license
|
|
1388
|
+
* Copyright 2017 Google LLC
|
|
1389
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1390
|
+
*)
|
|
1391
|
+
|
|
1392
|
+
@lit/reactive-element/node/decorators/query-assigned-elements.js:
|
|
1393
|
+
lit-html/node/directives/private-async-helpers.js:
|
|
1394
|
+
(**
|
|
1395
|
+
* @license
|
|
1396
|
+
* Copyright 2021 Google LLC
|
|
1397
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1398
|
+
*)
|
|
1399
|
+
|
|
1400
|
+
lit-html/node/directives/if-defined.js:
|
|
1401
|
+
lit-html/node/directives/class-map.js:
|
|
1402
|
+
(**
|
|
1403
|
+
* @license
|
|
1404
|
+
* Copyright 2018 Google LLC
|
|
1405
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1406
|
+
*)
|
|
1407
|
+
|
|
1408
|
+
lit-html/node/directive-helpers.js:
|
|
1409
|
+
(**
|
|
1410
|
+
* @license
|
|
1411
|
+
* Copyright 2020 Google LLC
|
|
1412
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1413
|
+
*)
|
|
1414
|
+
*/
|