@revenuecat/purchases-ui-js 1.0.2 → 2.0.0
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,324 +1,247 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
function Ur(e) {
|
|
19
|
-
for (var t = 0; t < e.length; t++)
|
|
20
|
-
e[t]();
|
|
21
|
-
}
|
|
22
|
-
const j = 2, qt = 4, We = 8, ct = 16, Z = 32, ie = 64, ze = 128, pe = 256, He = 512, A = 1024, J = 2048, be = 4096, ve = 8192, ye = 16384, Yr = 32768, Xe = 65536, Wr = 1 << 17, Xr = 1 << 19, Vt = 1 << 20, Fe = Symbol("$state"), Ut = Symbol("legacy props"), Gr = Symbol("");
|
|
23
|
-
function Yt(e) {
|
|
24
|
-
return e === this.v;
|
|
25
|
-
}
|
|
26
|
-
function Kr(e, t) {
|
|
27
|
-
return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
|
|
1
|
+
var Ne = Object.defineProperty;
|
|
2
|
+
var Re = (t, e, n) => e in t ? Ne(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
+
var Wt = (t, e, n) => Re(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
+
const Pe = "5";
|
|
5
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pe);
|
|
6
|
+
const Be = 1, Me = 2, ze = 4, Ce = 8, je = 16, $e = 1, He = 2, w = Symbol(), Xt = !1;
|
|
7
|
+
var Ve = Array.isArray, Ue = Array.prototype.indexOf, ut = Object.getOwnPropertyDescriptor, qe = Object.getOwnPropertyDescriptors, We = Object.prototype, Xe = Array.prototype, ie = Object.getPrototypeOf;
|
|
8
|
+
const le = () => {
|
|
9
|
+
}, O = 2, ae = 4, Lt = 8, Nt = 16, z = 32, lt = 64, vt = 128, K = 256, dt = 512, T = 1024, C = 2048, Z = 4096, Y = 8192, J = 16384, Ye = 32768, xt = 65536, Ge = 1 << 17, Ke = 1 << 19, se = 1 << 20, ft = Symbol("$state"), Ze = Symbol("legacy props"), Je = Symbol("");
|
|
10
|
+
function oe(t) {
|
|
11
|
+
return t === this.v;
|
|
12
|
+
}
|
|
13
|
+
function Qe(t, e) {
|
|
14
|
+
return t != t ? e == e : t !== e || t !== null && typeof t == "object" || typeof t == "function";
|
|
15
|
+
}
|
|
16
|
+
function Rt(t) {
|
|
17
|
+
return !Qe(t, this.v);
|
|
28
18
|
}
|
|
29
|
-
function
|
|
30
|
-
return !Kr(e, this.v);
|
|
31
|
-
}
|
|
32
|
-
function Zr() {
|
|
19
|
+
function tn() {
|
|
33
20
|
throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
|
|
34
21
|
}
|
|
35
|
-
function
|
|
36
|
-
throw new Error("https://svelte.dev/e/hydration_failed");
|
|
37
|
-
}
|
|
38
|
-
function Qr(e) {
|
|
22
|
+
function en(t) {
|
|
39
23
|
throw new Error("https://svelte.dev/e/props_invalid_value");
|
|
40
24
|
}
|
|
41
|
-
function
|
|
25
|
+
function nn() {
|
|
42
26
|
throw new Error("https://svelte.dev/e/state_descriptors_fixed");
|
|
43
27
|
}
|
|
44
|
-
function
|
|
28
|
+
function rn() {
|
|
45
29
|
throw new Error("https://svelte.dev/e/state_prototype_fixed");
|
|
46
30
|
}
|
|
47
|
-
function
|
|
31
|
+
function ln() {
|
|
48
32
|
throw new Error("https://svelte.dev/e/state_unsafe_local_read");
|
|
49
33
|
}
|
|
50
|
-
function
|
|
34
|
+
function an() {
|
|
51
35
|
throw new Error("https://svelte.dev/e/state_unsafe_mutation");
|
|
52
36
|
}
|
|
53
|
-
let
|
|
37
|
+
let at = !1, sn = !1;
|
|
54
38
|
function on() {
|
|
55
|
-
|
|
39
|
+
at = !0;
|
|
56
40
|
}
|
|
57
|
-
function
|
|
58
|
-
var
|
|
41
|
+
function N(t, e) {
|
|
42
|
+
var n = {
|
|
59
43
|
f: 0,
|
|
60
44
|
// TODO ideally we could skip this altogether, but it causes type errors
|
|
61
|
-
v:
|
|
45
|
+
v: t,
|
|
62
46
|
reactions: null,
|
|
63
|
-
equals:
|
|
47
|
+
equals: oe,
|
|
64
48
|
rv: 0,
|
|
65
49
|
wv: 0
|
|
66
50
|
};
|
|
67
|
-
return
|
|
51
|
+
return n;
|
|
68
52
|
}
|
|
69
53
|
// @__NO_SIDE_EFFECTS__
|
|
70
|
-
function
|
|
71
|
-
var
|
|
72
|
-
const
|
|
73
|
-
return
|
|
54
|
+
function un(t, e = !1) {
|
|
55
|
+
var r;
|
|
56
|
+
const n = N(t);
|
|
57
|
+
return e || (n.equals = Rt), at && S !== null && S.l !== null && ((r = S.l).s ?? (r.s = [])).push(n), n;
|
|
74
58
|
}
|
|
75
|
-
function
|
|
76
|
-
return
|
|
59
|
+
function P(t, e) {
|
|
60
|
+
return h !== null && wt() && h.f & (O | Nt) && // If the source was created locally within the current derived, then
|
|
77
61
|
// we allow the mutation.
|
|
78
|
-
(
|
|
62
|
+
(V === null || !V.includes(t)) && an(), fn(t, e);
|
|
79
63
|
}
|
|
80
|
-
function
|
|
81
|
-
return
|
|
64
|
+
function fn(t, e) {
|
|
65
|
+
return t.equals(e) || (t.v, t.v = e, t.wv = xe(), ue(t, C), wt() && g !== null && g.f & T && !(g.f & (z | lt)) && (M === null ? xn([t]) : M.push(t))), e;
|
|
82
66
|
}
|
|
83
|
-
function
|
|
84
|
-
var
|
|
85
|
-
if (
|
|
86
|
-
for (var
|
|
87
|
-
var
|
|
88
|
-
|
|
67
|
+
function ue(t, e) {
|
|
68
|
+
var n = t.reactions;
|
|
69
|
+
if (n !== null)
|
|
70
|
+
for (var r = wt(), i = n.length, l = 0; l < i; l++) {
|
|
71
|
+
var a = n[l], _ = a.f;
|
|
72
|
+
_ & C || !r && a === g || (R(a, e), _ & (T | K) && (_ & O ? ue(
|
|
89
73
|
/** @type {Derived} */
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
) :
|
|
74
|
+
a,
|
|
75
|
+
Z
|
|
76
|
+
) : Tt(
|
|
93
77
|
/** @type {Effect} */
|
|
94
|
-
|
|
78
|
+
a
|
|
95
79
|
)));
|
|
96
80
|
}
|
|
97
81
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
if (e === null)
|
|
108
|
-
throw ht(), we;
|
|
109
|
-
return m = e;
|
|
110
|
-
}
|
|
111
|
-
function Ge() {
|
|
112
|
-
return Se(
|
|
113
|
-
/** @type {TemplateNode} */
|
|
114
|
-
/* @__PURE__ */ me(m)
|
|
115
|
-
);
|
|
116
|
-
}
|
|
117
|
-
function Gt(e) {
|
|
118
|
-
if (w) {
|
|
119
|
-
if (/* @__PURE__ */ me(m) !== null)
|
|
120
|
-
throw ht(), we;
|
|
121
|
-
m = e;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
function an() {
|
|
125
|
-
for (var e = 0, t = m; ; ) {
|
|
126
|
-
if (t.nodeType === 8) {
|
|
127
|
-
var r = (
|
|
128
|
-
/** @type {Comment} */
|
|
129
|
-
t.data
|
|
130
|
-
);
|
|
131
|
-
if (r === Ct) {
|
|
132
|
-
if (e === 0) return t;
|
|
133
|
-
e -= 1;
|
|
134
|
-
} else (r === Pt || r === Mt) && (e += 1);
|
|
135
|
-
}
|
|
136
|
-
var s = (
|
|
137
|
-
/** @type {TemplateNode} */
|
|
138
|
-
/* @__PURE__ */ me(t)
|
|
139
|
-
);
|
|
140
|
-
t.remove(), t = s;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
function ue(e, t = null, r) {
|
|
144
|
-
if (typeof e != "object" || e === null || Fe in e)
|
|
145
|
-
return e;
|
|
146
|
-
const s = zt(e);
|
|
147
|
-
if (s !== qr && s !== Vr)
|
|
148
|
-
return e;
|
|
149
|
-
var n = /* @__PURE__ */ new Map(), i = Bt(e), o = q(0);
|
|
150
|
-
i && n.set("length", q(
|
|
82
|
+
let cn = !1;
|
|
83
|
+
function W(t, e = null, n) {
|
|
84
|
+
if (typeof t != "object" || t === null || ft in t)
|
|
85
|
+
return t;
|
|
86
|
+
const r = ie(t);
|
|
87
|
+
if (r !== We && r !== Xe)
|
|
88
|
+
return t;
|
|
89
|
+
var i = /* @__PURE__ */ new Map(), l = Ve(t), a = N(0);
|
|
90
|
+
l && i.set("length", N(
|
|
151
91
|
/** @type {any[]} */
|
|
152
|
-
|
|
92
|
+
t.length
|
|
153
93
|
));
|
|
154
|
-
var
|
|
94
|
+
var _;
|
|
155
95
|
return new Proxy(
|
|
156
96
|
/** @type {any} */
|
|
157
|
-
|
|
97
|
+
t,
|
|
158
98
|
{
|
|
159
|
-
defineProperty(
|
|
160
|
-
(!("value" in
|
|
161
|
-
var
|
|
162
|
-
return
|
|
99
|
+
defineProperty(f, s, u) {
|
|
100
|
+
(!("value" in u) || u.configurable === !1 || u.enumerable === !1 || u.writable === !1) && nn();
|
|
101
|
+
var o = i.get(s);
|
|
102
|
+
return o === void 0 ? (o = N(u.value), i.set(s, o)) : P(o, W(u.value, _)), !0;
|
|
163
103
|
},
|
|
164
|
-
deleteProperty(
|
|
165
|
-
var
|
|
166
|
-
if (
|
|
167
|
-
|
|
104
|
+
deleteProperty(f, s) {
|
|
105
|
+
var u = i.get(s);
|
|
106
|
+
if (u === void 0)
|
|
107
|
+
s in f && i.set(s, N(w));
|
|
168
108
|
else {
|
|
169
|
-
if (
|
|
170
|
-
var
|
|
109
|
+
if (l && typeof s == "string") {
|
|
110
|
+
var o = (
|
|
171
111
|
/** @type {Source<number>} */
|
|
172
|
-
|
|
173
|
-
),
|
|
174
|
-
Number.isInteger(
|
|
112
|
+
i.get("length")
|
|
113
|
+
), c = Number(s);
|
|
114
|
+
Number.isInteger(c) && c < o.v && P(o, c);
|
|
175
115
|
}
|
|
176
|
-
|
|
116
|
+
P(u, w), Yt(a);
|
|
177
117
|
}
|
|
178
118
|
return !0;
|
|
179
119
|
},
|
|
180
|
-
get(
|
|
181
|
-
var
|
|
182
|
-
if (
|
|
183
|
-
return
|
|
184
|
-
var
|
|
185
|
-
if (
|
|
186
|
-
var
|
|
187
|
-
return
|
|
120
|
+
get(f, s, u) {
|
|
121
|
+
var x;
|
|
122
|
+
if (s === ft)
|
|
123
|
+
return t;
|
|
124
|
+
var o = i.get(s), c = s in f;
|
|
125
|
+
if (o === void 0 && (!c || (x = ut(f, s)) != null && x.writable) && (o = N(W(c ? f[s] : w, _)), i.set(s, o)), o !== void 0) {
|
|
126
|
+
var v = p(o);
|
|
127
|
+
return v === w ? void 0 : v;
|
|
188
128
|
}
|
|
189
|
-
return Reflect.get(
|
|
129
|
+
return Reflect.get(f, s, u);
|
|
190
130
|
},
|
|
191
|
-
getOwnPropertyDescriptor(
|
|
192
|
-
var
|
|
193
|
-
if (
|
|
194
|
-
var
|
|
195
|
-
|
|
196
|
-
} else if (
|
|
197
|
-
var
|
|
198
|
-
if (
|
|
131
|
+
getOwnPropertyDescriptor(f, s) {
|
|
132
|
+
var u = Reflect.getOwnPropertyDescriptor(f, s);
|
|
133
|
+
if (u && "value" in u) {
|
|
134
|
+
var o = i.get(s);
|
|
135
|
+
o && (u.value = p(o));
|
|
136
|
+
} else if (u === void 0) {
|
|
137
|
+
var c = i.get(s), v = c == null ? void 0 : c.v;
|
|
138
|
+
if (c !== void 0 && v !== w)
|
|
199
139
|
return {
|
|
200
140
|
enumerable: !0,
|
|
201
141
|
configurable: !0,
|
|
202
|
-
value:
|
|
142
|
+
value: v,
|
|
203
143
|
writable: !0
|
|
204
144
|
};
|
|
205
145
|
}
|
|
206
|
-
return
|
|
146
|
+
return u;
|
|
207
147
|
},
|
|
208
|
-
has(
|
|
209
|
-
var
|
|
210
|
-
if (
|
|
148
|
+
has(f, s) {
|
|
149
|
+
var v;
|
|
150
|
+
if (s === ft)
|
|
211
151
|
return !0;
|
|
212
|
-
var
|
|
213
|
-
if (
|
|
214
|
-
|
|
215
|
-
var
|
|
216
|
-
if (
|
|
152
|
+
var u = i.get(s), o = u !== void 0 && u.v !== w || Reflect.has(f, s);
|
|
153
|
+
if (u !== void 0 || g !== null && (!o || (v = ut(f, s)) != null && v.writable)) {
|
|
154
|
+
u === void 0 && (u = N(o ? W(f[s], _) : w), i.set(s, u));
|
|
155
|
+
var c = p(u);
|
|
156
|
+
if (c === w)
|
|
217
157
|
return !1;
|
|
218
158
|
}
|
|
219
|
-
return
|
|
159
|
+
return o;
|
|
220
160
|
},
|
|
221
|
-
set(
|
|
222
|
-
var
|
|
223
|
-
var
|
|
224
|
-
if (
|
|
225
|
-
for (var
|
|
226
|
-
|
|
227
|
-
var
|
|
228
|
-
|
|
161
|
+
set(f, s, u, o) {
|
|
162
|
+
var $;
|
|
163
|
+
var c = i.get(s), v = s in f;
|
|
164
|
+
if (l && s === "length")
|
|
165
|
+
for (var x = u; x < /** @type {Source<number>} */
|
|
166
|
+
c.v; x += 1) {
|
|
167
|
+
var m = i.get(x + "");
|
|
168
|
+
m !== void 0 ? P(m, w) : x in f && (m = N(w), i.set(x + "", m));
|
|
229
169
|
}
|
|
230
|
-
|
|
231
|
-
var
|
|
232
|
-
if (
|
|
233
|
-
if (
|
|
234
|
-
var
|
|
170
|
+
c === void 0 ? (!v || ($ = ut(f, s)) != null && $.writable) && (c = N(void 0), P(c, W(u, _)), i.set(s, c)) : (v = c.v !== w, P(c, W(u, _)));
|
|
171
|
+
var y = Reflect.getOwnPropertyDescriptor(f, s);
|
|
172
|
+
if (y != null && y.set && y.set.call(o, u), !v) {
|
|
173
|
+
if (l && typeof s == "string") {
|
|
174
|
+
var U = (
|
|
235
175
|
/** @type {Source<number>} */
|
|
236
|
-
|
|
237
|
-
),
|
|
238
|
-
Number.isInteger(
|
|
176
|
+
i.get("length")
|
|
177
|
+
), j = Number(s);
|
|
178
|
+
Number.isInteger(j) && j >= U.v && P(U, j + 1);
|
|
239
179
|
}
|
|
240
|
-
|
|
180
|
+
Yt(a);
|
|
241
181
|
}
|
|
242
182
|
return !0;
|
|
243
183
|
},
|
|
244
|
-
ownKeys(
|
|
245
|
-
|
|
246
|
-
var
|
|
247
|
-
var
|
|
248
|
-
return
|
|
184
|
+
ownKeys(f) {
|
|
185
|
+
p(a);
|
|
186
|
+
var s = Reflect.ownKeys(f).filter((c) => {
|
|
187
|
+
var v = i.get(c);
|
|
188
|
+
return v === void 0 || v.v !== w;
|
|
249
189
|
});
|
|
250
|
-
for (var [
|
|
251
|
-
|
|
252
|
-
return
|
|
190
|
+
for (var [u, o] of i)
|
|
191
|
+
o.v !== w && !(u in f) && s.push(u);
|
|
192
|
+
return s;
|
|
253
193
|
},
|
|
254
194
|
setPrototypeOf() {
|
|
255
|
-
|
|
195
|
+
rn();
|
|
256
196
|
}
|
|
257
197
|
}
|
|
258
198
|
);
|
|
259
199
|
}
|
|
260
|
-
function
|
|
261
|
-
|
|
200
|
+
function Yt(t, e = 1) {
|
|
201
|
+
P(t, t.v + e);
|
|
262
202
|
}
|
|
263
|
-
var
|
|
264
|
-
function
|
|
265
|
-
|
|
266
|
-
Ot = window;
|
|
267
|
-
var e = Element.prototype, t = Node.prototype;
|
|
268
|
-
Kt = ne(t, "firstChild").get, Zt = ne(t, "nextSibling").get, e.__click = void 0, e.__className = "", e.__attributes = null, e.__styles = null, e.__e = void 0, Text.prototype.__t = void 0;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
function vt(e = "") {
|
|
272
|
-
return document.createTextNode(e);
|
|
203
|
+
var _n, vn;
|
|
204
|
+
function dn(t = "") {
|
|
205
|
+
return document.createTextNode(t);
|
|
273
206
|
}
|
|
274
207
|
// @__NO_SIDE_EFFECTS__
|
|
275
|
-
function
|
|
276
|
-
return
|
|
208
|
+
function gt(t) {
|
|
209
|
+
return _n.call(t);
|
|
277
210
|
}
|
|
278
211
|
// @__NO_SIDE_EFFECTS__
|
|
279
|
-
function
|
|
280
|
-
return
|
|
281
|
-
}
|
|
282
|
-
function
|
|
283
|
-
|
|
284
|
-
return /* @__PURE__ */ ge(e);
|
|
285
|
-
var r = (
|
|
286
|
-
/** @type {TemplateNode} */
|
|
287
|
-
/* @__PURE__ */ ge(m)
|
|
288
|
-
);
|
|
289
|
-
return r === null && (r = m.appendChild(vt())), Se(r), r;
|
|
212
|
+
function fe(t) {
|
|
213
|
+
return vn.call(t);
|
|
214
|
+
}
|
|
215
|
+
function ce(t, e) {
|
|
216
|
+
return /* @__PURE__ */ gt(t);
|
|
290
217
|
}
|
|
291
|
-
function
|
|
292
|
-
|
|
293
|
-
var
|
|
218
|
+
function gn(t, e) {
|
|
219
|
+
{
|
|
220
|
+
var n = (
|
|
294
221
|
/** @type {DocumentFragment} */
|
|
295
|
-
/* @__PURE__ */
|
|
222
|
+
/* @__PURE__ */ gt(
|
|
296
223
|
/** @type {Node} */
|
|
297
|
-
|
|
224
|
+
t
|
|
298
225
|
)
|
|
299
226
|
);
|
|
300
|
-
return
|
|
227
|
+
return n instanceof Comment && n.data === "" ? /* @__PURE__ */ fe(n) : n;
|
|
301
228
|
}
|
|
302
|
-
return m;
|
|
303
|
-
}
|
|
304
|
-
function fn(e) {
|
|
305
|
-
e.textContent = "";
|
|
306
229
|
}
|
|
307
230
|
// @__NO_SIDE_EFFECTS__
|
|
308
|
-
function
|
|
309
|
-
var
|
|
310
|
-
|
|
311
|
-
var
|
|
231
|
+
function B(t) {
|
|
232
|
+
var e = O | C;
|
|
233
|
+
g === null ? e |= K : g.f |= se;
|
|
234
|
+
var n = h !== null && h.f & O ? (
|
|
312
235
|
/** @type {Derived} */
|
|
313
|
-
|
|
236
|
+
h
|
|
314
237
|
) : null;
|
|
315
|
-
const
|
|
238
|
+
const r = {
|
|
316
239
|
children: null,
|
|
317
|
-
ctx:
|
|
240
|
+
ctx: S,
|
|
318
241
|
deps: null,
|
|
319
|
-
equals:
|
|
320
|
-
f:
|
|
321
|
-
fn:
|
|
242
|
+
equals: oe,
|
|
243
|
+
f: e,
|
|
244
|
+
fn: t,
|
|
322
245
|
reactions: null,
|
|
323
246
|
rv: 0,
|
|
324
247
|
v: (
|
|
@@ -326,1407 +249,781 @@ function W(e) {
|
|
|
326
249
|
null
|
|
327
250
|
),
|
|
328
251
|
wv: 0,
|
|
329
|
-
parent:
|
|
252
|
+
parent: n ?? g
|
|
330
253
|
};
|
|
331
|
-
return
|
|
254
|
+
return n !== null && (n.children ?? (n.children = [])).push(r), r;
|
|
332
255
|
}
|
|
333
256
|
// @__NO_SIDE_EFFECTS__
|
|
334
|
-
function
|
|
335
|
-
const
|
|
336
|
-
return
|
|
337
|
-
}
|
|
338
|
-
function
|
|
339
|
-
var
|
|
340
|
-
if (
|
|
341
|
-
|
|
342
|
-
for (var
|
|
343
|
-
var
|
|
344
|
-
|
|
257
|
+
function hn(t) {
|
|
258
|
+
const e = /* @__PURE__ */ B(t);
|
|
259
|
+
return e.equals = Rt, e;
|
|
260
|
+
}
|
|
261
|
+
function _e(t) {
|
|
262
|
+
var e = t.children;
|
|
263
|
+
if (e !== null) {
|
|
264
|
+
t.children = null;
|
|
265
|
+
for (var n = 0; n < e.length; n += 1) {
|
|
266
|
+
var r = e[n];
|
|
267
|
+
r.f & O ? Pt(
|
|
345
268
|
/** @type {Derived} */
|
|
346
|
-
|
|
347
|
-
) :
|
|
269
|
+
r
|
|
270
|
+
) : Q(
|
|
348
271
|
/** @type {Effect} */
|
|
349
|
-
|
|
272
|
+
r
|
|
350
273
|
);
|
|
351
274
|
}
|
|
352
275
|
}
|
|
353
276
|
}
|
|
354
|
-
function
|
|
355
|
-
for (var
|
|
356
|
-
if (!(
|
|
277
|
+
function pn(t) {
|
|
278
|
+
for (var e = t.parent; e !== null; ) {
|
|
279
|
+
if (!(e.f & O))
|
|
357
280
|
return (
|
|
358
281
|
/** @type {Effect} */
|
|
359
|
-
|
|
282
|
+
e
|
|
360
283
|
);
|
|
361
|
-
|
|
284
|
+
e = e.parent;
|
|
362
285
|
}
|
|
363
286
|
return null;
|
|
364
287
|
}
|
|
365
|
-
function
|
|
366
|
-
var
|
|
367
|
-
|
|
288
|
+
function ve(t) {
|
|
289
|
+
var e, n = g;
|
|
290
|
+
G(pn(t));
|
|
368
291
|
try {
|
|
369
|
-
|
|
292
|
+
_e(t), e = Ee(t);
|
|
370
293
|
} finally {
|
|
371
|
-
|
|
294
|
+
G(n);
|
|
372
295
|
}
|
|
373
|
-
return
|
|
296
|
+
return e;
|
|
374
297
|
}
|
|
375
|
-
function
|
|
376
|
-
var
|
|
377
|
-
|
|
298
|
+
function de(t) {
|
|
299
|
+
var e = ve(t), n = (H || t.f & K) && t.deps !== null ? Z : T;
|
|
300
|
+
R(t, n), t.equals(e) || (t.v = e, t.wv = xe());
|
|
378
301
|
}
|
|
379
|
-
function
|
|
380
|
-
|
|
302
|
+
function Pt(t) {
|
|
303
|
+
_e(t), rt(t, 0), R(t, J), t.v = t.children = t.deps = t.ctx = t.reactions = null;
|
|
381
304
|
}
|
|
382
|
-
function
|
|
383
|
-
var
|
|
384
|
-
|
|
305
|
+
function bn(t, e) {
|
|
306
|
+
var n = e.last;
|
|
307
|
+
n === null ? e.last = e.first = t : (n.next = t, t.prev = n, e.last = t);
|
|
385
308
|
}
|
|
386
|
-
function
|
|
387
|
-
var
|
|
388
|
-
ctx:
|
|
309
|
+
function Bt(t, e, n, r = !0) {
|
|
310
|
+
var i = (t & lt) !== 0, l = g, a = {
|
|
311
|
+
ctx: S,
|
|
389
312
|
deps: null,
|
|
390
313
|
deriveds: null,
|
|
391
314
|
nodes_start: null,
|
|
392
315
|
nodes_end: null,
|
|
393
|
-
f:
|
|
316
|
+
f: t | C,
|
|
394
317
|
first: null,
|
|
395
|
-
fn:
|
|
318
|
+
fn: e,
|
|
396
319
|
last: null,
|
|
397
320
|
next: null,
|
|
398
|
-
parent:
|
|
321
|
+
parent: i ? null : l,
|
|
399
322
|
prev: null,
|
|
400
323
|
teardown: null,
|
|
401
324
|
transitions: null,
|
|
402
325
|
wv: 0
|
|
403
326
|
};
|
|
404
|
-
if (
|
|
405
|
-
var
|
|
327
|
+
if (n) {
|
|
328
|
+
var _ = X;
|
|
406
329
|
try {
|
|
407
|
-
|
|
408
|
-
} catch (
|
|
409
|
-
throw
|
|
330
|
+
Zt(!0), Ct(a), a.f |= Ye;
|
|
331
|
+
} catch (u) {
|
|
332
|
+
throw Q(a), u;
|
|
410
333
|
} finally {
|
|
411
|
-
|
|
334
|
+
Zt(_);
|
|
412
335
|
}
|
|
413
|
-
} else
|
|
414
|
-
var
|
|
415
|
-
if (!
|
|
416
|
-
var
|
|
336
|
+
} else e !== null && Tt(a);
|
|
337
|
+
var f = n && a.deps === null && a.first === null && a.nodes_start === null && a.teardown === null && (a.f & (se | vt)) === 0;
|
|
338
|
+
if (!f && !i && r && (l !== null && bn(a, l), h !== null && h.f & O)) {
|
|
339
|
+
var s = (
|
|
417
340
|
/** @type {Derived} */
|
|
418
|
-
|
|
341
|
+
h
|
|
419
342
|
);
|
|
420
|
-
(
|
|
343
|
+
(s.children ?? (s.children = [])).push(a);
|
|
421
344
|
}
|
|
422
|
-
return
|
|
423
|
-
}
|
|
424
|
-
function vn(e) {
|
|
425
|
-
const t = $e(ie, e, !0);
|
|
426
|
-
return () => {
|
|
427
|
-
K(t);
|
|
428
|
-
};
|
|
345
|
+
return a;
|
|
429
346
|
}
|
|
430
|
-
function
|
|
431
|
-
|
|
432
|
-
return (r = {}) => new Promise((s) => {
|
|
433
|
-
r.outro ? lt(t, () => {
|
|
434
|
-
K(t), s(void 0);
|
|
435
|
-
}) : (K(t), s(void 0));
|
|
436
|
-
});
|
|
437
|
-
}
|
|
438
|
-
function _n(e) {
|
|
439
|
-
return $e(qt, e, !1);
|
|
347
|
+
function mn(t) {
|
|
348
|
+
return Bt(ae, t, !1);
|
|
440
349
|
}
|
|
441
|
-
function
|
|
442
|
-
return
|
|
350
|
+
function Mt(t) {
|
|
351
|
+
return zt(t);
|
|
443
352
|
}
|
|
444
|
-
function
|
|
445
|
-
return
|
|
353
|
+
function zt(t, e = 0) {
|
|
354
|
+
return Bt(Lt | Nt | e, t, !0);
|
|
446
355
|
}
|
|
447
|
-
function
|
|
448
|
-
return
|
|
356
|
+
function At(t, e = !0) {
|
|
357
|
+
return Bt(Lt | z, t, !0, e);
|
|
449
358
|
}
|
|
450
|
-
function
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
if (t !== null) {
|
|
456
|
-
const r = $;
|
|
457
|
-
_e(null);
|
|
359
|
+
function ge(t) {
|
|
360
|
+
var e = t.teardown;
|
|
361
|
+
if (e !== null) {
|
|
362
|
+
const n = h;
|
|
363
|
+
bt(null);
|
|
458
364
|
try {
|
|
459
|
-
|
|
365
|
+
e.call(null);
|
|
460
366
|
} finally {
|
|
461
|
-
|
|
367
|
+
bt(n);
|
|
462
368
|
}
|
|
463
369
|
}
|
|
464
370
|
}
|
|
465
|
-
function
|
|
466
|
-
var
|
|
467
|
-
if (
|
|
468
|
-
|
|
469
|
-
for (var
|
|
470
|
-
|
|
371
|
+
function he(t) {
|
|
372
|
+
var e = t.deriveds;
|
|
373
|
+
if (e !== null) {
|
|
374
|
+
t.deriveds = null;
|
|
375
|
+
for (var n = 0; n < e.length; n += 1)
|
|
376
|
+
Pt(e[n]);
|
|
471
377
|
}
|
|
472
378
|
}
|
|
473
|
-
function
|
|
474
|
-
var
|
|
475
|
-
for (
|
|
476
|
-
var
|
|
477
|
-
|
|
379
|
+
function pe(t, e = !1) {
|
|
380
|
+
var n = t.first;
|
|
381
|
+
for (t.first = t.last = null; n !== null; ) {
|
|
382
|
+
var r = n.next;
|
|
383
|
+
Q(n, e), n = r;
|
|
478
384
|
}
|
|
479
385
|
}
|
|
480
|
-
function
|
|
481
|
-
for (var
|
|
482
|
-
var
|
|
483
|
-
|
|
386
|
+
function yn(t) {
|
|
387
|
+
for (var e = t.first; e !== null; ) {
|
|
388
|
+
var n = e.next;
|
|
389
|
+
e.f & z || Q(e), e = n;
|
|
484
390
|
}
|
|
485
391
|
}
|
|
486
|
-
function
|
|
487
|
-
var
|
|
488
|
-
if ((
|
|
489
|
-
for (var
|
|
490
|
-
var
|
|
392
|
+
function Q(t, e = !0) {
|
|
393
|
+
var n = !1;
|
|
394
|
+
if ((e || t.f & Ke) && t.nodes_start !== null) {
|
|
395
|
+
for (var r = t.nodes_start, i = t.nodes_end; r !== null; ) {
|
|
396
|
+
var l = r === i ? null : (
|
|
491
397
|
/** @type {TemplateNode} */
|
|
492
|
-
/* @__PURE__ */
|
|
398
|
+
/* @__PURE__ */ fe(r)
|
|
493
399
|
);
|
|
494
|
-
|
|
400
|
+
r.remove(), r = l;
|
|
495
401
|
}
|
|
496
|
-
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
var
|
|
500
|
-
if (
|
|
501
|
-
for (const
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
var
|
|
505
|
-
|
|
506
|
-
}
|
|
507
|
-
function
|
|
508
|
-
var
|
|
509
|
-
|
|
510
|
-
}
|
|
511
|
-
function
|
|
512
|
-
var
|
|
513
|
-
|
|
514
|
-
|
|
402
|
+
n = !0;
|
|
403
|
+
}
|
|
404
|
+
pe(t, e && !n), he(t), rt(t, 0), R(t, J);
|
|
405
|
+
var a = t.transitions;
|
|
406
|
+
if (a !== null)
|
|
407
|
+
for (const f of a)
|
|
408
|
+
f.stop();
|
|
409
|
+
ge(t);
|
|
410
|
+
var _ = t.parent;
|
|
411
|
+
_ !== null && _.first !== null && be(t), t.next = t.prev = t.teardown = t.ctx = t.deps = t.fn = t.nodes_start = t.nodes_end = null;
|
|
412
|
+
}
|
|
413
|
+
function be(t) {
|
|
414
|
+
var e = t.parent, n = t.prev, r = t.next;
|
|
415
|
+
n !== null && (n.next = r), r !== null && (r.prev = n), e !== null && (e.first === t && (e.first = r), e.last === t && (e.last = n));
|
|
416
|
+
}
|
|
417
|
+
function Gt(t, e) {
|
|
418
|
+
var n = [];
|
|
419
|
+
me(t, n, !0), Sn(n, () => {
|
|
420
|
+
Q(t), e && e();
|
|
515
421
|
});
|
|
516
422
|
}
|
|
517
|
-
function
|
|
518
|
-
var
|
|
519
|
-
if (
|
|
520
|
-
var
|
|
521
|
-
for (var
|
|
522
|
-
|
|
423
|
+
function Sn(t, e) {
|
|
424
|
+
var n = t.length;
|
|
425
|
+
if (n > 0) {
|
|
426
|
+
var r = () => --n || e();
|
|
427
|
+
for (var i of t)
|
|
428
|
+
i.out(r);
|
|
523
429
|
} else
|
|
524
|
-
|
|
525
|
-
}
|
|
526
|
-
function
|
|
527
|
-
if (!(
|
|
528
|
-
if (
|
|
529
|
-
for (const
|
|
530
|
-
(
|
|
531
|
-
for (var
|
|
532
|
-
var
|
|
533
|
-
|
|
430
|
+
e();
|
|
431
|
+
}
|
|
432
|
+
function me(t, e, n) {
|
|
433
|
+
if (!(t.f & Y)) {
|
|
434
|
+
if (t.f ^= Y, t.transitions !== null)
|
|
435
|
+
for (const a of t.transitions)
|
|
436
|
+
(a.is_global || n) && e.push(a);
|
|
437
|
+
for (var r = t.first; r !== null; ) {
|
|
438
|
+
var i = r.next, l = (r.f & xt) !== 0 || (r.f & z) !== 0;
|
|
439
|
+
me(r, e, l ? n : !1), r = i;
|
|
534
440
|
}
|
|
535
441
|
}
|
|
536
442
|
}
|
|
537
|
-
function
|
|
538
|
-
|
|
443
|
+
function Kt(t) {
|
|
444
|
+
ye(t, !0);
|
|
539
445
|
}
|
|
540
|
-
function
|
|
541
|
-
if (
|
|
542
|
-
|
|
543
|
-
for (var
|
|
544
|
-
var
|
|
545
|
-
|
|
446
|
+
function ye(t, e) {
|
|
447
|
+
if (t.f & Y) {
|
|
448
|
+
t.f ^= Y, t.f & T || (t.f ^= T), st(t) && (R(t, C), Tt(t));
|
|
449
|
+
for (var n = t.first; n !== null; ) {
|
|
450
|
+
var r = n.next, i = (n.f & xt) !== 0 || (n.f & z) !== 0;
|
|
451
|
+
ye(n, i ? e : !1), n = r;
|
|
546
452
|
}
|
|
547
|
-
if (
|
|
548
|
-
for (const
|
|
549
|
-
(
|
|
453
|
+
if (t.transitions !== null)
|
|
454
|
+
for (const l of t.transitions)
|
|
455
|
+
(l.is_global || e) && l.in();
|
|
550
456
|
}
|
|
551
457
|
}
|
|
552
|
-
let
|
|
553
|
-
function
|
|
554
|
-
|
|
555
|
-
const e = at.slice();
|
|
556
|
-
at = [], Ur(e);
|
|
458
|
+
let ct = !1, ht = !1, pt = null, X = !1;
|
|
459
|
+
function Zt(t) {
|
|
460
|
+
X = t;
|
|
557
461
|
}
|
|
558
|
-
|
|
559
|
-
|
|
462
|
+
let Dt = [], et = 0;
|
|
463
|
+
let h = null;
|
|
464
|
+
function bt(t) {
|
|
465
|
+
h = t;
|
|
560
466
|
}
|
|
561
|
-
|
|
562
|
-
|
|
467
|
+
let g = null;
|
|
468
|
+
function G(t) {
|
|
469
|
+
g = t;
|
|
563
470
|
}
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
ce = e;
|
|
471
|
+
let V = null, E = null, k = 0, M = null;
|
|
472
|
+
function xn(t) {
|
|
473
|
+
M = t;
|
|
568
474
|
}
|
|
569
|
-
let
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
$ = e;
|
|
475
|
+
let Se = 1, mt = 0, H = !1, S = null;
|
|
476
|
+
function xe() {
|
|
477
|
+
return ++Se;
|
|
573
478
|
}
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
p = e;
|
|
479
|
+
function wt() {
|
|
480
|
+
return !at || S !== null && S.l === null;
|
|
577
481
|
}
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
let fr = 1, Ue = 0, re = !1, k = null;
|
|
583
|
-
function cr() {
|
|
584
|
-
return ++fr;
|
|
585
|
-
}
|
|
586
|
-
function Ke() {
|
|
587
|
-
return !Le || k !== null && k.l === null;
|
|
588
|
-
}
|
|
589
|
-
function Ne(e) {
|
|
590
|
-
var a;
|
|
591
|
-
var t = e.f;
|
|
592
|
-
if (t & J)
|
|
482
|
+
function st(t) {
|
|
483
|
+
var s;
|
|
484
|
+
var e = t.f;
|
|
485
|
+
if (e & C)
|
|
593
486
|
return !0;
|
|
594
|
-
if (
|
|
595
|
-
var
|
|
596
|
-
if (
|
|
597
|
-
var
|
|
598
|
-
if (
|
|
599
|
-
for (
|
|
600
|
-
|
|
601
|
-
|
|
487
|
+
if (e & Z) {
|
|
488
|
+
var n = t.deps, r = (e & K) !== 0;
|
|
489
|
+
if (n !== null) {
|
|
490
|
+
var i, l, a = (e & dt) !== 0, _ = r && g !== null && !H, f = n.length;
|
|
491
|
+
if (a || _) {
|
|
492
|
+
for (i = 0; i < f; i++)
|
|
493
|
+
l = n[i], (a || !((s = l == null ? void 0 : l.reactions) != null && s.includes(t))) && (l.reactions ?? (l.reactions = [])).push(t);
|
|
494
|
+
a && (t.f ^= dt);
|
|
602
495
|
}
|
|
603
|
-
for (
|
|
604
|
-
if (
|
|
496
|
+
for (i = 0; i < f; i++)
|
|
497
|
+
if (l = n[i], st(
|
|
605
498
|
/** @type {Derived} */
|
|
606
|
-
|
|
607
|
-
) &&
|
|
499
|
+
l
|
|
500
|
+
) && de(
|
|
608
501
|
/** @type {Derived} */
|
|
609
|
-
|
|
610
|
-
),
|
|
502
|
+
l
|
|
503
|
+
), l.wv > t.wv)
|
|
611
504
|
return !0;
|
|
612
505
|
}
|
|
613
|
-
(!
|
|
506
|
+
(!r || g !== null && !H) && R(t, T);
|
|
614
507
|
}
|
|
615
508
|
return !1;
|
|
616
509
|
}
|
|
617
|
-
function
|
|
618
|
-
for (var
|
|
619
|
-
if (
|
|
510
|
+
function wn(t, e) {
|
|
511
|
+
for (var n = e; n !== null; ) {
|
|
512
|
+
if (n.f & vt)
|
|
620
513
|
try {
|
|
621
|
-
|
|
514
|
+
n.fn(t);
|
|
622
515
|
return;
|
|
623
516
|
} catch {
|
|
624
|
-
|
|
517
|
+
n.f ^= vt;
|
|
625
518
|
}
|
|
626
|
-
|
|
519
|
+
n = n.parent;
|
|
627
520
|
}
|
|
628
|
-
throw
|
|
521
|
+
throw ct = !1, t;
|
|
629
522
|
}
|
|
630
|
-
function
|
|
631
|
-
return (
|
|
523
|
+
function En(t) {
|
|
524
|
+
return (t.f & J) === 0 && (t.parent === null || (t.parent.f & vt) === 0);
|
|
632
525
|
}
|
|
633
|
-
function
|
|
634
|
-
if (
|
|
635
|
-
if (
|
|
636
|
-
throw
|
|
526
|
+
function Et(t, e, n, r) {
|
|
527
|
+
if (ct) {
|
|
528
|
+
if (n === null && (ct = !1), En(e))
|
|
529
|
+
throw t;
|
|
637
530
|
return;
|
|
638
531
|
}
|
|
639
|
-
|
|
532
|
+
n !== null && (ct = !0);
|
|
640
533
|
{
|
|
641
|
-
|
|
534
|
+
wn(t, e);
|
|
642
535
|
return;
|
|
643
536
|
}
|
|
644
537
|
}
|
|
645
|
-
function
|
|
646
|
-
var
|
|
647
|
-
if (
|
|
648
|
-
for (var
|
|
649
|
-
var
|
|
650
|
-
|
|
538
|
+
function we(t, e, n = 0) {
|
|
539
|
+
var r = t.reactions;
|
|
540
|
+
if (r !== null)
|
|
541
|
+
for (var i = 0; i < r.length; i++) {
|
|
542
|
+
var l = r[i];
|
|
543
|
+
l.f & O ? we(
|
|
651
544
|
/** @type {Derived} */
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
) :
|
|
545
|
+
l,
|
|
546
|
+
e,
|
|
547
|
+
n + 1
|
|
548
|
+
) : e === l && (n === 0 ? R(l, C) : l.f & T && R(l, Z), Tt(
|
|
656
549
|
/** @type {Effect} */
|
|
657
|
-
|
|
550
|
+
l
|
|
658
551
|
));
|
|
659
552
|
}
|
|
660
553
|
}
|
|
661
|
-
function
|
|
662
|
-
var
|
|
663
|
-
var
|
|
664
|
-
|
|
665
|
-
null,
|
|
554
|
+
function Ee(t) {
|
|
555
|
+
var c;
|
|
556
|
+
var e = E, n = k, r = M, i = h, l = H, a = V, _ = S, f = t.f;
|
|
557
|
+
E = /** @type {null | Value[]} */
|
|
558
|
+
null, k = 0, M = null, h = f & (z | lt) ? null : t, H = !X && (f & K) !== 0, V = null, S = t.ctx, mt++;
|
|
666
559
|
try {
|
|
667
|
-
var
|
|
560
|
+
var s = (
|
|
668
561
|
/** @type {Function} */
|
|
669
|
-
(0,
|
|
670
|
-
),
|
|
671
|
-
if (
|
|
672
|
-
var
|
|
673
|
-
if (
|
|
674
|
-
for (
|
|
675
|
-
|
|
562
|
+
(0, t.fn)()
|
|
563
|
+
), u = t.deps;
|
|
564
|
+
if (E !== null) {
|
|
565
|
+
var o;
|
|
566
|
+
if (rt(t, k), u !== null && k > 0)
|
|
567
|
+
for (u.length = k + E.length, o = 0; o < E.length; o++)
|
|
568
|
+
u[k + o] = E[o];
|
|
676
569
|
else
|
|
677
|
-
|
|
678
|
-
if (!
|
|
679
|
-
for (
|
|
680
|
-
((
|
|
681
|
-
} else
|
|
682
|
-
if (
|
|
683
|
-
for (
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
570
|
+
t.deps = u = E;
|
|
571
|
+
if (!H)
|
|
572
|
+
for (o = k; o < u.length; o++)
|
|
573
|
+
((c = u[o]).reactions ?? (c.reactions = [])).push(t);
|
|
574
|
+
} else u !== null && k < u.length && (rt(t, k), u.length = k);
|
|
575
|
+
if (wt() && M !== null && !(t.f & (O | Z | C)))
|
|
576
|
+
for (o = 0; o < /** @type {Source[]} */
|
|
577
|
+
M.length; o++)
|
|
578
|
+
we(
|
|
579
|
+
M[o],
|
|
687
580
|
/** @type {Effect} */
|
|
688
|
-
|
|
581
|
+
t
|
|
689
582
|
);
|
|
690
|
-
return
|
|
583
|
+
return i !== null && mt++, s;
|
|
691
584
|
} finally {
|
|
692
|
-
|
|
585
|
+
E = e, k = n, M = r, h = i, H = l, V = a, S = _;
|
|
693
586
|
}
|
|
694
587
|
}
|
|
695
|
-
function
|
|
696
|
-
let
|
|
697
|
-
if (
|
|
698
|
-
var
|
|
699
|
-
if (
|
|
700
|
-
var
|
|
701
|
-
|
|
588
|
+
function Tn(t, e) {
|
|
589
|
+
let n = e.reactions;
|
|
590
|
+
if (n !== null) {
|
|
591
|
+
var r = Ue.call(n, t);
|
|
592
|
+
if (r !== -1) {
|
|
593
|
+
var i = n.length - 1;
|
|
594
|
+
i === 0 ? n = e.reactions = null : (n[r] = n[i], n.pop());
|
|
702
595
|
}
|
|
703
596
|
}
|
|
704
|
-
|
|
597
|
+
n === null && e.f & O && // Destroying a child effect while updating a parent effect can cause a dependency to appear
|
|
705
598
|
// to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
|
|
706
599
|
// allows us to skip the expensive work of disconnecting and immediately reconnecting it
|
|
707
|
-
(
|
|
600
|
+
(E === null || !E.includes(e)) && (R(e, Z), e.f & (K | dt) || (e.f ^= dt), rt(
|
|
708
601
|
/** @type {Derived} **/
|
|
709
|
-
|
|
602
|
+
e,
|
|
710
603
|
0
|
|
711
604
|
));
|
|
712
605
|
}
|
|
713
|
-
function
|
|
714
|
-
var
|
|
715
|
-
if (
|
|
716
|
-
for (var
|
|
717
|
-
|
|
718
|
-
}
|
|
719
|
-
function
|
|
720
|
-
var
|
|
721
|
-
if (!(
|
|
722
|
-
|
|
723
|
-
var
|
|
724
|
-
|
|
606
|
+
function rt(t, e) {
|
|
607
|
+
var n = t.deps;
|
|
608
|
+
if (n !== null)
|
|
609
|
+
for (var r = e; r < n.length; r++)
|
|
610
|
+
Tn(t, n[r]);
|
|
611
|
+
}
|
|
612
|
+
function Ct(t) {
|
|
613
|
+
var e = t.f;
|
|
614
|
+
if (!(e & J)) {
|
|
615
|
+
R(t, T);
|
|
616
|
+
var n = g, r = S;
|
|
617
|
+
g = t;
|
|
725
618
|
try {
|
|
726
|
-
|
|
727
|
-
var
|
|
728
|
-
|
|
729
|
-
var
|
|
730
|
-
|
|
731
|
-
} catch (
|
|
732
|
-
|
|
619
|
+
e & Nt ? yn(t) : pe(t), he(t), ge(t);
|
|
620
|
+
var i = Ee(t);
|
|
621
|
+
t.teardown = typeof i == "function" ? i : null, t.wv = Se;
|
|
622
|
+
var l = t.deps, a;
|
|
623
|
+
Xt && sn && t.f & C;
|
|
624
|
+
} catch (_) {
|
|
625
|
+
Et(_, t, n, r || t.ctx);
|
|
733
626
|
} finally {
|
|
734
|
-
|
|
627
|
+
g = n;
|
|
735
628
|
}
|
|
736
629
|
}
|
|
737
630
|
}
|
|
738
|
-
function
|
|
739
|
-
if (
|
|
740
|
-
|
|
631
|
+
function kn() {
|
|
632
|
+
if (et > 1e3) {
|
|
633
|
+
et = 0;
|
|
741
634
|
try {
|
|
742
|
-
|
|
743
|
-
} catch (
|
|
744
|
-
if (
|
|
745
|
-
|
|
635
|
+
tn();
|
|
636
|
+
} catch (t) {
|
|
637
|
+
if (pt !== null)
|
|
638
|
+
Et(t, pt, null);
|
|
746
639
|
else
|
|
747
|
-
throw
|
|
640
|
+
throw t;
|
|
748
641
|
}
|
|
749
642
|
}
|
|
750
|
-
|
|
751
|
-
}
|
|
752
|
-
function
|
|
753
|
-
var
|
|
754
|
-
if (
|
|
755
|
-
|
|
756
|
-
var
|
|
757
|
-
|
|
643
|
+
et++;
|
|
644
|
+
}
|
|
645
|
+
function Fn(t) {
|
|
646
|
+
var e = t.length;
|
|
647
|
+
if (e !== 0) {
|
|
648
|
+
kn();
|
|
649
|
+
var n = X;
|
|
650
|
+
X = !0;
|
|
758
651
|
try {
|
|
759
|
-
for (var
|
|
760
|
-
var
|
|
761
|
-
|
|
762
|
-
var
|
|
763
|
-
|
|
652
|
+
for (var r = 0; r < e; r++) {
|
|
653
|
+
var i = t[r];
|
|
654
|
+
i.f & T || (i.f ^= T);
|
|
655
|
+
var l = [];
|
|
656
|
+
Te(i, l), On(l);
|
|
764
657
|
}
|
|
765
658
|
} finally {
|
|
766
|
-
|
|
659
|
+
X = n;
|
|
767
660
|
}
|
|
768
661
|
}
|
|
769
662
|
}
|
|
770
|
-
function
|
|
771
|
-
var
|
|
772
|
-
if (
|
|
773
|
-
for (var
|
|
774
|
-
var
|
|
775
|
-
if (!(
|
|
663
|
+
function On(t) {
|
|
664
|
+
var e = t.length;
|
|
665
|
+
if (e !== 0)
|
|
666
|
+
for (var n = 0; n < e; n++) {
|
|
667
|
+
var r = t[n];
|
|
668
|
+
if (!(r.f & (J | Y)))
|
|
776
669
|
try {
|
|
777
|
-
|
|
778
|
-
} catch (
|
|
779
|
-
|
|
670
|
+
st(r) && (Ct(r), r.deps === null && r.first === null && r.nodes_start === null && (r.teardown === null ? be(r) : r.fn = null));
|
|
671
|
+
} catch (i) {
|
|
672
|
+
Et(i, r, null, r.ctx);
|
|
780
673
|
}
|
|
781
674
|
}
|
|
782
675
|
}
|
|
783
|
-
function
|
|
784
|
-
if (
|
|
676
|
+
function An() {
|
|
677
|
+
if (ht = !1, et > 1001)
|
|
785
678
|
return;
|
|
786
|
-
const
|
|
787
|
-
|
|
788
|
-
}
|
|
789
|
-
function
|
|
790
|
-
|
|
791
|
-
for (var
|
|
792
|
-
|
|
793
|
-
var
|
|
794
|
-
if (
|
|
795
|
-
if (!(
|
|
796
|
-
|
|
679
|
+
const t = Dt;
|
|
680
|
+
Dt = [], Fn(t), ht || (et = 0, pt = null);
|
|
681
|
+
}
|
|
682
|
+
function Tt(t) {
|
|
683
|
+
ht || (ht = !0, queueMicrotask(An)), pt = t;
|
|
684
|
+
for (var e = t; e.parent !== null; ) {
|
|
685
|
+
e = e.parent;
|
|
686
|
+
var n = e.f;
|
|
687
|
+
if (n & (lt | z)) {
|
|
688
|
+
if (!(n & T)) return;
|
|
689
|
+
e.f ^= T;
|
|
797
690
|
}
|
|
798
691
|
}
|
|
799
|
-
|
|
800
|
-
}
|
|
801
|
-
function
|
|
802
|
-
var
|
|
803
|
-
|
|
804
|
-
var
|
|
805
|
-
if (!
|
|
806
|
-
if (
|
|
807
|
-
if (
|
|
808
|
-
|
|
692
|
+
Dt.push(e);
|
|
693
|
+
}
|
|
694
|
+
function Te(t, e) {
|
|
695
|
+
var n = t.first, r = [];
|
|
696
|
+
t: for (; n !== null; ) {
|
|
697
|
+
var i = n.f, l = (i & z) !== 0, a = l && (i & T) !== 0, _ = n.next;
|
|
698
|
+
if (!a && !(i & Y))
|
|
699
|
+
if (i & Lt) {
|
|
700
|
+
if (l)
|
|
701
|
+
n.f ^= T;
|
|
809
702
|
else
|
|
810
703
|
try {
|
|
811
|
-
|
|
812
|
-
} catch (
|
|
813
|
-
|
|
704
|
+
st(n) && Ct(n);
|
|
705
|
+
} catch (o) {
|
|
706
|
+
Et(o, n, null, n.ctx);
|
|
814
707
|
}
|
|
815
|
-
var
|
|
816
|
-
if (
|
|
817
|
-
|
|
708
|
+
var f = n.first;
|
|
709
|
+
if (f !== null) {
|
|
710
|
+
n = f;
|
|
818
711
|
continue;
|
|
819
712
|
}
|
|
820
|
-
} else
|
|
821
|
-
if (
|
|
822
|
-
let
|
|
823
|
-
for (;
|
|
824
|
-
if (
|
|
825
|
-
break
|
|
826
|
-
var
|
|
827
|
-
if (
|
|
828
|
-
|
|
829
|
-
continue
|
|
713
|
+
} else i & ae && r.push(n);
|
|
714
|
+
if (_ === null) {
|
|
715
|
+
let o = n.parent;
|
|
716
|
+
for (; o !== null; ) {
|
|
717
|
+
if (t === o)
|
|
718
|
+
break t;
|
|
719
|
+
var s = o.next;
|
|
720
|
+
if (s !== null) {
|
|
721
|
+
n = s;
|
|
722
|
+
continue t;
|
|
830
723
|
}
|
|
831
|
-
|
|
724
|
+
o = o.parent;
|
|
832
725
|
}
|
|
833
726
|
}
|
|
834
|
-
|
|
727
|
+
n = _;
|
|
835
728
|
}
|
|
836
|
-
for (var
|
|
837
|
-
|
|
729
|
+
for (var u = 0; u < r.length; u++)
|
|
730
|
+
f = r[u], e.push(f), Te(f, e);
|
|
838
731
|
}
|
|
839
|
-
function
|
|
840
|
-
var
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
je = xn, te = n, ke = !1, gr(r);
|
|
845
|
-
var s = e == null ? void 0 : e();
|
|
846
|
-
return $n(), (te.length > 0 || n.length > 0) && D(), de = 0, Ee = null, s;
|
|
847
|
-
} finally {
|
|
848
|
-
je = t, te = r;
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
function y(e) {
|
|
852
|
-
var c;
|
|
853
|
-
var t = e.f, r = (t & j) !== 0;
|
|
854
|
-
if (r && t & ye) {
|
|
855
|
-
var s = er(
|
|
732
|
+
function p(t) {
|
|
733
|
+
var u;
|
|
734
|
+
var e = t.f, n = (e & O) !== 0;
|
|
735
|
+
if (n && e & J) {
|
|
736
|
+
var r = ve(
|
|
856
737
|
/** @type {Derived} */
|
|
857
|
-
|
|
738
|
+
t
|
|
858
739
|
);
|
|
859
|
-
return
|
|
740
|
+
return Pt(
|
|
860
741
|
/** @type {Derived} */
|
|
861
|
-
|
|
862
|
-
),
|
|
863
|
-
}
|
|
864
|
-
if (
|
|
865
|
-
|
|
866
|
-
var
|
|
867
|
-
|
|
868
|
-
} else if (
|
|
869
|
-
|
|
870
|
-
for (var
|
|
742
|
+
t
|
|
743
|
+
), r;
|
|
744
|
+
}
|
|
745
|
+
if (h !== null) {
|
|
746
|
+
V !== null && V.includes(t) && ln();
|
|
747
|
+
var i = h.deps;
|
|
748
|
+
t.rv < mt && (t.rv = mt, E === null && i !== null && i[k] === t ? k++ : E === null ? E = [t] : E.push(t));
|
|
749
|
+
} else if (n && /** @type {Derived} */
|
|
750
|
+
t.deps === null)
|
|
751
|
+
for (var l = (
|
|
871
752
|
/** @type {Derived} */
|
|
872
|
-
|
|
873
|
-
),
|
|
874
|
-
if (
|
|
875
|
-
var
|
|
753
|
+
t
|
|
754
|
+
), a = l.parent, _ = l; a !== null; )
|
|
755
|
+
if (a.f & O) {
|
|
756
|
+
var f = (
|
|
876
757
|
/** @type {Derived} */
|
|
877
|
-
|
|
758
|
+
a
|
|
878
759
|
);
|
|
879
|
-
|
|
760
|
+
_ = f, a = f.parent;
|
|
880
761
|
} else {
|
|
881
|
-
var
|
|
762
|
+
var s = (
|
|
882
763
|
/** @type {Effect} */
|
|
883
|
-
|
|
764
|
+
a
|
|
884
765
|
);
|
|
885
|
-
(
|
|
766
|
+
(u = s.deriveds) != null && u.includes(_) || (s.deriveds ?? (s.deriveds = [])).push(_);
|
|
886
767
|
break;
|
|
887
768
|
}
|
|
888
|
-
return
|
|
889
|
-
|
|
769
|
+
return n && (l = /** @type {Derived} */
|
|
770
|
+
t, st(l) && de(l)), t.v;
|
|
890
771
|
}
|
|
891
|
-
function
|
|
892
|
-
const
|
|
772
|
+
function Jt(t) {
|
|
773
|
+
const e = h;
|
|
893
774
|
try {
|
|
894
|
-
return
|
|
775
|
+
return h = null, t();
|
|
895
776
|
} finally {
|
|
896
|
-
|
|
777
|
+
h = e;
|
|
897
778
|
}
|
|
898
779
|
}
|
|
899
|
-
const
|
|
900
|
-
function
|
|
901
|
-
|
|
780
|
+
const Dn = -7169;
|
|
781
|
+
function R(t, e) {
|
|
782
|
+
t.f = t.f & Dn | e;
|
|
902
783
|
}
|
|
903
|
-
function
|
|
904
|
-
|
|
905
|
-
p:
|
|
784
|
+
function ke(t, e = !1, n) {
|
|
785
|
+
S = {
|
|
786
|
+
p: S,
|
|
906
787
|
c: null,
|
|
907
788
|
e: null,
|
|
908
789
|
m: !1,
|
|
909
|
-
s:
|
|
790
|
+
s: t,
|
|
910
791
|
x: null,
|
|
911
792
|
l: null
|
|
912
|
-
},
|
|
793
|
+
}, at && !e && (S.l = {
|
|
913
794
|
s: null,
|
|
914
795
|
u: null,
|
|
915
796
|
r1: [],
|
|
916
|
-
r2:
|
|
797
|
+
r2: N(!1)
|
|
917
798
|
});
|
|
918
799
|
}
|
|
919
|
-
function
|
|
920
|
-
const
|
|
921
|
-
if (
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
t.e = null;
|
|
800
|
+
function Fe(t) {
|
|
801
|
+
const e = S;
|
|
802
|
+
if (e !== null) {
|
|
803
|
+
const a = e.e;
|
|
804
|
+
if (a !== null) {
|
|
805
|
+
var n = g, r = h;
|
|
806
|
+
e.e = null;
|
|
927
807
|
try {
|
|
928
|
-
for (var
|
|
929
|
-
var
|
|
930
|
-
|
|
808
|
+
for (var i = 0; i < a.length; i++) {
|
|
809
|
+
var l = a[i];
|
|
810
|
+
G(l.effect), bt(l.reaction), mn(l.fn);
|
|
931
811
|
}
|
|
932
812
|
} finally {
|
|
933
|
-
|
|
813
|
+
G(n), bt(r);
|
|
934
814
|
}
|
|
935
815
|
}
|
|
936
|
-
|
|
937
|
-
}
|
|
938
|
-
return e || /** @type {T} */
|
|
939
|
-
{};
|
|
940
|
-
}
|
|
941
|
-
const pr = /* @__PURE__ */ new Set(), ut = /* @__PURE__ */ new Set();
|
|
942
|
-
function Ln(e) {
|
|
943
|
-
for (var t = 0; t < e.length; t++)
|
|
944
|
-
pr.add(e[t]);
|
|
945
|
-
for (var r of ut)
|
|
946
|
-
r(e);
|
|
947
|
-
}
|
|
948
|
-
function De(e) {
|
|
949
|
-
var M;
|
|
950
|
-
var t = this, r = (
|
|
951
|
-
/** @type {Node} */
|
|
952
|
-
t.ownerDocument
|
|
953
|
-
), s = e.type, n = ((M = e.composedPath) == null ? void 0 : M.call(e)) || [], i = (
|
|
954
|
-
/** @type {null | Element} */
|
|
955
|
-
n[0] || e.target
|
|
956
|
-
), o = 0, l = e.__root;
|
|
957
|
-
if (l) {
|
|
958
|
-
var u = n.indexOf(l);
|
|
959
|
-
if (u !== -1 && (t === document || t === /** @type {any} */
|
|
960
|
-
window)) {
|
|
961
|
-
e.__root = t;
|
|
962
|
-
return;
|
|
963
|
-
}
|
|
964
|
-
var a = n.indexOf(t);
|
|
965
|
-
if (a === -1)
|
|
966
|
-
return;
|
|
967
|
-
u <= a && (o = u);
|
|
968
|
-
}
|
|
969
|
-
if (i = /** @type {Element} */
|
|
970
|
-
n[o] || e.target, i !== t) {
|
|
971
|
-
Be(e, "currentTarget", {
|
|
972
|
-
configurable: !0,
|
|
973
|
-
get() {
|
|
974
|
-
return i || r;
|
|
975
|
-
}
|
|
976
|
-
});
|
|
977
|
-
var c = $, f = p;
|
|
978
|
-
_e(null), ee(null);
|
|
979
|
-
try {
|
|
980
|
-
for (var d, h = []; i !== null; ) {
|
|
981
|
-
var g = i.assignedSlot || i.parentNode || /** @type {any} */
|
|
982
|
-
i.host || null;
|
|
983
|
-
try {
|
|
984
|
-
var S = i["__" + s];
|
|
985
|
-
if (S !== void 0 && !/** @type {any} */
|
|
986
|
-
i.disabled)
|
|
987
|
-
if (Bt(S)) {
|
|
988
|
-
var [_, ...Y] = S;
|
|
989
|
-
_.apply(i, [e, ...Y]);
|
|
990
|
-
} else
|
|
991
|
-
S.call(i, e);
|
|
992
|
-
} catch (L) {
|
|
993
|
-
d ? h.push(L) : d = L;
|
|
994
|
-
}
|
|
995
|
-
if (e.cancelBubble || g === t || g === null)
|
|
996
|
-
break;
|
|
997
|
-
i = g;
|
|
998
|
-
}
|
|
999
|
-
if (d) {
|
|
1000
|
-
for (let L of h)
|
|
1001
|
-
queueMicrotask(() => {
|
|
1002
|
-
throw L;
|
|
1003
|
-
});
|
|
1004
|
-
throw d;
|
|
1005
|
-
}
|
|
1006
|
-
} finally {
|
|
1007
|
-
e.__root = t, delete e.currentTarget, _e(c), ee(f);
|
|
1008
|
-
}
|
|
816
|
+
S = e.p, e.m = !0;
|
|
1009
817
|
}
|
|
818
|
+
return (
|
|
819
|
+
/** @type {T} */
|
|
820
|
+
{}
|
|
821
|
+
);
|
|
1010
822
|
}
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
823
|
+
const In = /* @__PURE__ */ new Set(), Ln = /* @__PURE__ */ new Set();
|
|
824
|
+
function Nn(t) {
|
|
825
|
+
for (var e = 0; e < t.length; e++)
|
|
826
|
+
In.add(t[e]);
|
|
827
|
+
for (var n of Ln)
|
|
828
|
+
n(t);
|
|
1014
829
|
}
|
|
1015
|
-
function
|
|
1016
|
-
var
|
|
830
|
+
function Rn(t) {
|
|
831
|
+
var e = document.createElement("template");
|
|
832
|
+
return e.innerHTML = t, e.content;
|
|
833
|
+
}
|
|
834
|
+
function It(t, e) {
|
|
835
|
+
var n = (
|
|
1017
836
|
/** @type {Effect} */
|
|
1018
|
-
|
|
837
|
+
g
|
|
1019
838
|
);
|
|
1020
|
-
|
|
839
|
+
n.nodes_start === null && (n.nodes_start = t, n.nodes_end = e);
|
|
1021
840
|
}
|
|
1022
841
|
// @__NO_SIDE_EFFECTS__
|
|
1023
|
-
function
|
|
1024
|
-
var
|
|
842
|
+
function jt(t, e) {
|
|
843
|
+
var n = (e & $e) !== 0, r = (e & He) !== 0, i, l = !t.startsWith("<!>");
|
|
1025
844
|
return () => {
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
/* @__PURE__ */ ge(n)));
|
|
1030
|
-
var o = (
|
|
845
|
+
i === void 0 && (i = Rn(l ? t : "<!>" + t), n || (i = /** @type {Node} */
|
|
846
|
+
/* @__PURE__ */ gt(i)));
|
|
847
|
+
var a = (
|
|
1031
848
|
/** @type {TemplateNode} */
|
|
1032
|
-
|
|
849
|
+
r ? document.importNode(i, !0) : i.cloneNode(!0)
|
|
1033
850
|
);
|
|
1034
|
-
if (
|
|
1035
|
-
var
|
|
851
|
+
if (n) {
|
|
852
|
+
var _ = (
|
|
1036
853
|
/** @type {TemplateNode} */
|
|
1037
|
-
/* @__PURE__ */
|
|
1038
|
-
),
|
|
854
|
+
/* @__PURE__ */ gt(a)
|
|
855
|
+
), f = (
|
|
1039
856
|
/** @type {TemplateNode} */
|
|
1040
|
-
|
|
857
|
+
a.lastChild
|
|
1041
858
|
);
|
|
1042
|
-
|
|
859
|
+
It(_, f);
|
|
1043
860
|
} else
|
|
1044
|
-
|
|
1045
|
-
return
|
|
861
|
+
It(a, a);
|
|
862
|
+
return a;
|
|
1046
863
|
};
|
|
1047
864
|
}
|
|
1048
|
-
function
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
var e = document.createDocumentFragment(), t = document.createComment(""), r = vt();
|
|
1052
|
-
return e.append(t, r), he(t, r), e;
|
|
865
|
+
function Pn() {
|
|
866
|
+
var t = document.createDocumentFragment(), e = document.createComment(""), n = dn();
|
|
867
|
+
return t.append(e, n), It(e, n), t;
|
|
1053
868
|
}
|
|
1054
|
-
function
|
|
1055
|
-
|
|
1056
|
-
p.nodes_end = m, Ge();
|
|
1057
|
-
return;
|
|
1058
|
-
}
|
|
1059
|
-
e !== null && e.before(
|
|
869
|
+
function yt(t, e) {
|
|
870
|
+
t !== null && t.before(
|
|
1060
871
|
/** @type {Node} */
|
|
1061
|
-
|
|
872
|
+
e
|
|
1062
873
|
);
|
|
1063
874
|
}
|
|
1064
|
-
function
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
/** @type {TemplateNode} */
|
|
1073
|
-
/* @__PURE__ */ ge(r)
|
|
1074
|
-
); i && (i.nodeType !== 8 || /** @type {Comment} */
|
|
1075
|
-
i.data !== Pt); )
|
|
1076
|
-
i = /** @type {TemplateNode} */
|
|
1077
|
-
/* @__PURE__ */ me(i);
|
|
1078
|
-
if (!i)
|
|
1079
|
-
throw we;
|
|
1080
|
-
fe(!0), Se(
|
|
1081
|
-
/** @type {Comment} */
|
|
1082
|
-
i
|
|
1083
|
-
), Ge();
|
|
1084
|
-
const o = yr(e, { ...t, anchor: i });
|
|
1085
|
-
if (m === null || m.nodeType !== 8 || /** @type {Comment} */
|
|
1086
|
-
m.data !== Ct)
|
|
1087
|
-
throw ht(), we;
|
|
1088
|
-
return fe(!1), /** @type {Exports} */
|
|
1089
|
-
o;
|
|
1090
|
-
} catch (o) {
|
|
1091
|
-
if (o === we)
|
|
1092
|
-
return t.recover === !1 && Jr(), ot(), fn(r), fe(!1), br(e, t);
|
|
1093
|
-
throw o;
|
|
1094
|
-
} finally {
|
|
1095
|
-
fe(s), Se(n);
|
|
1096
|
-
}
|
|
1097
|
-
}
|
|
1098
|
-
const ae = /* @__PURE__ */ new Map();
|
|
1099
|
-
function yr(e, { target: t, anchor: r, props: s = {}, events: n, context: i, intro: o = !0 }) {
|
|
1100
|
-
ot();
|
|
1101
|
-
var l = /* @__PURE__ */ new Set(), u = (f) => {
|
|
1102
|
-
for (var d = 0; d < f.length; d++) {
|
|
1103
|
-
var h = f[d];
|
|
1104
|
-
if (!l.has(h)) {
|
|
1105
|
-
l.add(h);
|
|
1106
|
-
var g = Cr(h);
|
|
1107
|
-
t.addEventListener(h, De, { passive: g });
|
|
1108
|
-
var S = ae.get(h);
|
|
1109
|
-
S === void 0 ? (document.addEventListener(h, De, { passive: g }), ae.set(h, 1)) : ae.set(h, S + 1);
|
|
1110
|
-
}
|
|
1111
|
-
}
|
|
1112
|
-
};
|
|
1113
|
-
u(zr(pr)), ut.add(u);
|
|
1114
|
-
var a = void 0, c = gn(() => {
|
|
1115
|
-
var f = r ?? t.appendChild(vt());
|
|
1116
|
-
return qe(() => {
|
|
1117
|
-
if (i) {
|
|
1118
|
-
Qe({});
|
|
1119
|
-
var d = (
|
|
1120
|
-
/** @type {ComponentContext} */
|
|
1121
|
-
k
|
|
1122
|
-
);
|
|
1123
|
-
d.c = i;
|
|
1124
|
-
}
|
|
1125
|
-
n && (s.$$events = n), w && he(
|
|
1126
|
-
/** @type {TemplateNode} */
|
|
1127
|
-
f,
|
|
1128
|
-
null
|
|
1129
|
-
), a = e(f, s) || {}, w && (p.nodes_end = m), i && et();
|
|
1130
|
-
}), () => {
|
|
1131
|
-
var g;
|
|
1132
|
-
for (var d of l) {
|
|
1133
|
-
t.removeEventListener(d, De);
|
|
1134
|
-
var h = (
|
|
1135
|
-
/** @type {number} */
|
|
1136
|
-
ae.get(d)
|
|
1137
|
-
);
|
|
1138
|
-
--h === 0 ? (document.removeEventListener(d, De), ae.delete(d)) : ae.set(d, h);
|
|
1139
|
-
}
|
|
1140
|
-
ut.delete(u), f !== r && ((g = f.parentNode) == null || g.removeChild(f));
|
|
1141
|
-
};
|
|
1142
|
-
});
|
|
1143
|
-
return ft.set(a, c), a;
|
|
1144
|
-
}
|
|
1145
|
-
let ft = /* @__PURE__ */ new WeakMap();
|
|
1146
|
-
function Fn(e, t) {
|
|
1147
|
-
const r = ft.get(e);
|
|
1148
|
-
return r ? (ft.delete(e), r(t)) : Promise.resolve();
|
|
1149
|
-
}
|
|
1150
|
-
function Rn(e, t, r = !1) {
|
|
1151
|
-
w && Ge();
|
|
1152
|
-
var s = e, n = null, i = null, o = T, l = r ? Xe : 0, u = !1;
|
|
1153
|
-
const a = (f, d = !0) => {
|
|
1154
|
-
u = !0, c(d, f);
|
|
1155
|
-
}, c = (f, d) => {
|
|
1156
|
-
if (o === (o = f)) return;
|
|
1157
|
-
let h = !1;
|
|
1158
|
-
if (w) {
|
|
1159
|
-
const g = (
|
|
1160
|
-
/** @type {Comment} */
|
|
1161
|
-
s.data === Mt
|
|
1162
|
-
);
|
|
1163
|
-
!!o === g && (s = an(), Se(s), fe(!1), h = !0);
|
|
1164
|
-
}
|
|
1165
|
-
o ? (n ? At(n) : d && (n = qe(() => d(s))), i && lt(i, () => {
|
|
875
|
+
function Bn(t, e, n = !1) {
|
|
876
|
+
var r = t, i = null, l = null, a = w, _ = n ? xt : 0, f = !1;
|
|
877
|
+
const s = (o, c = !0) => {
|
|
878
|
+
f = !0, u(c, o);
|
|
879
|
+
}, u = (o, c) => {
|
|
880
|
+
a !== (a = o) && (a ? (i ? Kt(i) : c && (i = At(() => c(r))), l && Gt(l, () => {
|
|
881
|
+
l = null;
|
|
882
|
+
})) : (l ? Kt(l) : c && (l = At(() => c(r))), i && Gt(i, () => {
|
|
1166
883
|
i = null;
|
|
1167
|
-
}))
|
|
1168
|
-
n = null;
|
|
1169
|
-
})), h && fe(!0);
|
|
884
|
+
})));
|
|
1170
885
|
};
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
},
|
|
1174
|
-
}
|
|
1175
|
-
function jn(e, t, r, s, n) {
|
|
1176
|
-
var l;
|
|
1177
|
-
w && Ge();
|
|
1178
|
-
var i = (l = t.$$slots) == null ? void 0 : l[r], o = !1;
|
|
1179
|
-
i === !0 && (i = t.children, o = !0), i === void 0 || i(e, o ? () => s : s);
|
|
1180
|
-
}
|
|
1181
|
-
function Pn(e, t, ...r) {
|
|
1182
|
-
var s = e, n = Ht, i;
|
|
1183
|
-
pt(() => {
|
|
1184
|
-
n !== (n = t()) && (i && (K(i), i = null), i = qe(() => (
|
|
1185
|
-
/** @type {SnippetFn} */
|
|
1186
|
-
n(s, ...r)
|
|
1187
|
-
)));
|
|
1188
|
-
}, Xe), w && (s = m);
|
|
1189
|
-
}
|
|
1190
|
-
function mt(e, t) {
|
|
1191
|
-
mn(() => {
|
|
1192
|
-
var r = e.getRootNode(), s = (
|
|
1193
|
-
/** @type {ShadowRoot} */
|
|
1194
|
-
r.host ? (
|
|
1195
|
-
/** @type {ShadowRoot} */
|
|
1196
|
-
r
|
|
1197
|
-
) : (
|
|
1198
|
-
/** @type {Document} */
|
|
1199
|
-
r.head ?? /** @type {Document} */
|
|
1200
|
-
r.ownerDocument.head
|
|
1201
|
-
)
|
|
1202
|
-
);
|
|
1203
|
-
if (!s.querySelector("#" + t.hash)) {
|
|
1204
|
-
const n = document.createElement("style");
|
|
1205
|
-
n.id = t.hash, n.textContent = t.code, s.appendChild(n);
|
|
1206
|
-
}
|
|
1207
|
-
});
|
|
886
|
+
zt(() => {
|
|
887
|
+
f = !1, e(s), f || u(null, null);
|
|
888
|
+
}, _);
|
|
1208
889
|
}
|
|
1209
|
-
function
|
|
1210
|
-
var
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
var Dt = /* @__PURE__ */ new Map();
|
|
1214
|
-
function Mn(e) {
|
|
1215
|
-
var t = Dt.get(e.nodeName);
|
|
1216
|
-
if (t) return t;
|
|
1217
|
-
Dt.set(e.nodeName, t = []);
|
|
1218
|
-
for (var r, s = e, n = Element.prototype; n !== s; ) {
|
|
1219
|
-
r = Hr(s);
|
|
1220
|
-
for (var i in r)
|
|
1221
|
-
r[i].set && t.push(i);
|
|
1222
|
-
s = zt(s);
|
|
1223
|
-
}
|
|
1224
|
-
return t;
|
|
1225
|
-
}
|
|
1226
|
-
function mr(e, t, r) {
|
|
1227
|
-
var s = e.__className, n = Cn(t);
|
|
1228
|
-
w && e.className === n ? e.__className = n : (s !== n || w && e.className !== n) && (t == null ? e.removeAttribute("class") : e.className = n, e.__className = n);
|
|
1229
|
-
}
|
|
1230
|
-
function Cn(e, t) {
|
|
1231
|
-
return (e ?? "") + "";
|
|
890
|
+
function Mn(t, e, n, r, i) {
|
|
891
|
+
var _;
|
|
892
|
+
var l = (_ = e.$$slots) == null ? void 0 : _[n], a = !1;
|
|
893
|
+
l === !0 && (l = e.children, a = !0), l === void 0 || l(t, a ? () => r : r);
|
|
1232
894
|
}
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
895
|
+
function zn(t, e, ...n) {
|
|
896
|
+
var r = t, i = le, l;
|
|
897
|
+
zt(() => {
|
|
898
|
+
i !== (i = e()) && (l && (Q(l), l = null), l = At(() => (
|
|
899
|
+
/** @type {SnippetFn} */
|
|
900
|
+
i(r, ...n)
|
|
901
|
+
)));
|
|
902
|
+
}, xt);
|
|
903
|
+
}
|
|
904
|
+
function _t(t, e, n, r) {
|
|
905
|
+
var i = t.__attributes ?? (t.__attributes = {});
|
|
906
|
+
i[e] !== (i[e] = n) && (e === "style" && "__styles" in t && (t.__styles = {}), e === "loading" && (t[Je] = n), n == null ? t.removeAttribute(e) : typeof n != "string" && Cn(t).includes(e) ? t[e] = n : t.setAttribute(e, n));
|
|
907
|
+
}
|
|
908
|
+
var Qt = /* @__PURE__ */ new Map();
|
|
909
|
+
function Cn(t) {
|
|
910
|
+
var e = Qt.get(t.nodeName);
|
|
911
|
+
if (e) return e;
|
|
912
|
+
Qt.set(t.nodeName, e = []);
|
|
913
|
+
for (var n, r = t, i = Element.prototype; i !== r; ) {
|
|
914
|
+
n = qe(r);
|
|
915
|
+
for (var l in n)
|
|
916
|
+
n[l].set && e.push(l);
|
|
917
|
+
r = ie(r);
|
|
918
|
+
}
|
|
919
|
+
return e;
|
|
920
|
+
}
|
|
921
|
+
function Oe(t, e, n) {
|
|
922
|
+
var r = t.__className, i = jn(e);
|
|
923
|
+
(r !== i || cn) && (e == null ? t.removeAttribute("class") : t.className = i, t.__className = i);
|
|
924
|
+
}
|
|
925
|
+
function jn(t, e) {
|
|
926
|
+
return (t ?? "") + "";
|
|
927
|
+
}
|
|
928
|
+
let ot = !1;
|
|
929
|
+
function $n(t) {
|
|
930
|
+
var e = ot;
|
|
1236
931
|
try {
|
|
1237
|
-
return
|
|
932
|
+
return ot = !1, [t(), ot];
|
|
1238
933
|
} finally {
|
|
1239
|
-
|
|
934
|
+
ot = e;
|
|
1240
935
|
}
|
|
1241
936
|
}
|
|
1242
|
-
function
|
|
1243
|
-
for (var
|
|
1244
|
-
|
|
937
|
+
function te(t) {
|
|
938
|
+
for (var e = g, n = g; e !== null && !(e.f & (z | lt)); )
|
|
939
|
+
e = e.parent;
|
|
1245
940
|
try {
|
|
1246
|
-
return
|
|
941
|
+
return G(e), t();
|
|
1247
942
|
} finally {
|
|
1248
|
-
|
|
943
|
+
G(n);
|
|
1249
944
|
}
|
|
1250
945
|
}
|
|
1251
|
-
function
|
|
1252
|
-
var
|
|
1253
|
-
var
|
|
1254
|
-
|
|
946
|
+
function nt(t, e, n, r) {
|
|
947
|
+
var qt;
|
|
948
|
+
var i = (n & Be) !== 0, l = !at || (n & Me) !== 0, a = (n & Ce) !== 0, _ = (n & je) !== 0, f = !1, s;
|
|
949
|
+
a ? [s, f] = $n(() => (
|
|
1255
950
|
/** @type {V} */
|
|
1256
|
-
e
|
|
1257
|
-
)) :
|
|
1258
|
-
e
|
|
1259
|
-
var
|
|
951
|
+
t[e]
|
|
952
|
+
)) : s = /** @type {V} */
|
|
953
|
+
t[e];
|
|
954
|
+
var u = ft in t || Ze in t, o = a && (((qt = ut(t, e)) == null ? void 0 : qt.set) ?? (u && e in t && ((b) => t[e] = b))) || void 0, c = (
|
|
1260
955
|
/** @type {V} */
|
|
1261
|
-
|
|
1262
|
-
),
|
|
956
|
+
r
|
|
957
|
+
), v = !0, x = !1, m = () => (x = !0, v && (v = !1, _ ? c = Jt(
|
|
1263
958
|
/** @type {() => V} */
|
|
1264
|
-
|
|
1265
|
-
) :
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
var
|
|
1269
|
-
if (
|
|
1270
|
-
|
|
1271
|
-
var
|
|
959
|
+
r
|
|
960
|
+
) : c = /** @type {V} */
|
|
961
|
+
r), c);
|
|
962
|
+
s === void 0 && r !== void 0 && (o && l && en(), s = m(), o && o(s));
|
|
963
|
+
var y;
|
|
964
|
+
if (l)
|
|
965
|
+
y = () => {
|
|
966
|
+
var b = (
|
|
1272
967
|
/** @type {V} */
|
|
1273
|
-
e
|
|
968
|
+
t[e]
|
|
1274
969
|
);
|
|
1275
|
-
return
|
|
970
|
+
return b === void 0 ? m() : (v = !0, x = !1, b);
|
|
1276
971
|
};
|
|
1277
972
|
else {
|
|
1278
|
-
var
|
|
1279
|
-
() => (
|
|
973
|
+
var U = te(
|
|
974
|
+
() => (i ? B : hn)(() => (
|
|
1280
975
|
/** @type {V} */
|
|
1281
|
-
e
|
|
976
|
+
t[e]
|
|
1282
977
|
))
|
|
1283
978
|
);
|
|
1284
|
-
|
|
1285
|
-
var
|
|
1286
|
-
return
|
|
1287
|
-
void 0),
|
|
979
|
+
U.f |= Ge, y = () => {
|
|
980
|
+
var b = p(U);
|
|
981
|
+
return b !== void 0 && (c = /** @type {V} */
|
|
982
|
+
void 0), b === void 0 ? c : b;
|
|
1288
983
|
};
|
|
1289
984
|
}
|
|
1290
|
-
if (!(
|
|
1291
|
-
return
|
|
1292
|
-
if (
|
|
1293
|
-
var
|
|
1294
|
-
return function(
|
|
1295
|
-
return arguments.length > 0 ? ((!
|
|
985
|
+
if (!(n & ze))
|
|
986
|
+
return y;
|
|
987
|
+
if (o) {
|
|
988
|
+
var j = t.$$legacy;
|
|
989
|
+
return function(b, q) {
|
|
990
|
+
return arguments.length > 0 ? ((!l || !q || j || f) && o(q ? y() : b), b) : y();
|
|
1296
991
|
};
|
|
1297
992
|
}
|
|
1298
|
-
var
|
|
1299
|
-
() => /* @__PURE__ */
|
|
1300
|
-
var
|
|
1301
|
-
return
|
|
993
|
+
var $ = !1, Ut = !1, kt = /* @__PURE__ */ un(s), tt = te(
|
|
994
|
+
() => /* @__PURE__ */ B(() => {
|
|
995
|
+
var b = y(), q = p(kt);
|
|
996
|
+
return $ ? ($ = !1, Ut = !0, q) : (Ut = !1, kt.v = b);
|
|
1302
997
|
})
|
|
1303
998
|
);
|
|
1304
|
-
return
|
|
999
|
+
return i || (tt.equals = Rt), function(b, q) {
|
|
1305
1000
|
if (arguments.length > 0) {
|
|
1306
|
-
const
|
|
1307
|
-
return
|
|
1308
|
-
}
|
|
1309
|
-
return y(oe);
|
|
1310
|
-
};
|
|
1311
|
-
}
|
|
1312
|
-
function zn(e) {
|
|
1313
|
-
return new Hn(e);
|
|
1314
|
-
}
|
|
1315
|
-
var G, F;
|
|
1316
|
-
class Hn {
|
|
1317
|
-
/**
|
|
1318
|
-
* @param {ComponentConstructorOptions & {
|
|
1319
|
-
* component: any;
|
|
1320
|
-
* }} options
|
|
1321
|
-
*/
|
|
1322
|
-
constructor(t) {
|
|
1323
|
-
/** @type {any} */
|
|
1324
|
-
rt(this, G);
|
|
1325
|
-
/** @type {Record<string, any>} */
|
|
1326
|
-
rt(this, F);
|
|
1327
|
-
var i;
|
|
1328
|
-
var r = /* @__PURE__ */ new Map(), s = (o, l) => {
|
|
1329
|
-
var u = /* @__PURE__ */ Wt(l);
|
|
1330
|
-
return r.set(o, u), u;
|
|
1331
|
-
};
|
|
1332
|
-
const n = new Proxy(
|
|
1333
|
-
{ ...t.props || {}, $$events: {} },
|
|
1334
|
-
{
|
|
1335
|
-
get(o, l) {
|
|
1336
|
-
return y(r.get(l) ?? s(l, Reflect.get(o, l)));
|
|
1337
|
-
},
|
|
1338
|
-
has(o, l) {
|
|
1339
|
-
return l === Ut ? !0 : (y(r.get(l) ?? s(l, Reflect.get(o, l))), Reflect.has(o, l));
|
|
1340
|
-
},
|
|
1341
|
-
set(o, l, u) {
|
|
1342
|
-
return V(r.get(l) ?? s(l, u), u), Reflect.set(o, l, u);
|
|
1343
|
-
}
|
|
1344
|
-
}
|
|
1345
|
-
);
|
|
1346
|
-
nt(this, F, (t.hydrate ? In : br)(t.component, {
|
|
1347
|
-
target: t.target,
|
|
1348
|
-
anchor: t.anchor,
|
|
1349
|
-
props: n,
|
|
1350
|
-
context: t.context,
|
|
1351
|
-
intro: t.intro ?? !1,
|
|
1352
|
-
recover: t.recover
|
|
1353
|
-
})), (!((i = t == null ? void 0 : t.props) != null && i.$$host) || t.sync === !1) && D(), nt(this, G, n.$$events);
|
|
1354
|
-
for (const o of Object.keys(E(this, F)))
|
|
1355
|
-
o === "$set" || o === "$destroy" || o === "$on" || Be(this, o, {
|
|
1356
|
-
get() {
|
|
1357
|
-
return E(this, F)[o];
|
|
1358
|
-
},
|
|
1359
|
-
/** @param {any} value */
|
|
1360
|
-
set(l) {
|
|
1361
|
-
E(this, F)[o] = l;
|
|
1362
|
-
},
|
|
1363
|
-
enumerable: !0
|
|
1364
|
-
});
|
|
1365
|
-
E(this, F).$set = /** @param {Record<string, any>} next */
|
|
1366
|
-
(o) => {
|
|
1367
|
-
Object.assign(n, o);
|
|
1368
|
-
}, E(this, F).$destroy = () => {
|
|
1369
|
-
Fn(E(this, F));
|
|
1370
|
-
};
|
|
1371
|
-
}
|
|
1372
|
-
/** @param {Record<string, any>} props */
|
|
1373
|
-
$set(t) {
|
|
1374
|
-
E(this, F).$set(t);
|
|
1375
|
-
}
|
|
1376
|
-
/**
|
|
1377
|
-
* @param {string} event
|
|
1378
|
-
* @param {(...args: any[]) => any} callback
|
|
1379
|
-
* @returns {any}
|
|
1380
|
-
*/
|
|
1381
|
-
$on(t, r) {
|
|
1382
|
-
E(this, G)[t] = E(this, G)[t] || [];
|
|
1383
|
-
const s = (...n) => r.call(this, ...n);
|
|
1384
|
-
return E(this, G)[t].push(s), () => {
|
|
1385
|
-
E(this, G)[t] = E(this, G)[t].filter(
|
|
1386
|
-
/** @param {any} fn */
|
|
1387
|
-
(n) => n !== s
|
|
1388
|
-
);
|
|
1389
|
-
};
|
|
1390
|
-
}
|
|
1391
|
-
$destroy() {
|
|
1392
|
-
E(this, F).$destroy();
|
|
1393
|
-
}
|
|
1394
|
-
}
|
|
1395
|
-
G = new WeakMap(), F = new WeakMap();
|
|
1396
|
-
let $r;
|
|
1397
|
-
typeof HTMLElement == "function" && ($r = class extends HTMLElement {
|
|
1398
|
-
/**
|
|
1399
|
-
* @param {*} $$componentCtor
|
|
1400
|
-
* @param {*} $$slots
|
|
1401
|
-
* @param {*} use_shadow_dom
|
|
1402
|
-
*/
|
|
1403
|
-
constructor(t, r, s) {
|
|
1404
|
-
super();
|
|
1405
|
-
/** The Svelte component constructor */
|
|
1406
|
-
I(this, "$$ctor");
|
|
1407
|
-
/** Slots */
|
|
1408
|
-
I(this, "$$s");
|
|
1409
|
-
/** @type {any} The Svelte component instance */
|
|
1410
|
-
I(this, "$$c");
|
|
1411
|
-
/** Whether or not the custom element is connected */
|
|
1412
|
-
I(this, "$$cn", !1);
|
|
1413
|
-
/** @type {Record<string, any>} Component props data */
|
|
1414
|
-
I(this, "$$d", {});
|
|
1415
|
-
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
1416
|
-
I(this, "$$r", !1);
|
|
1417
|
-
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
1418
|
-
I(this, "$$p_d", {});
|
|
1419
|
-
/** @type {Record<string, EventListenerOrEventListenerObject[]>} Event listeners */
|
|
1420
|
-
I(this, "$$l", {});
|
|
1421
|
-
/** @type {Map<EventListenerOrEventListenerObject, Function>} Event listener unsubscribe functions */
|
|
1422
|
-
I(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
1423
|
-
/** @type {any} The managed render effect for reflecting attributes */
|
|
1424
|
-
I(this, "$$me");
|
|
1425
|
-
this.$$ctor = t, this.$$s = r, s && this.attachShadow({ mode: "open" });
|
|
1426
|
-
}
|
|
1427
|
-
/**
|
|
1428
|
-
* @param {string} type
|
|
1429
|
-
* @param {EventListenerOrEventListenerObject} listener
|
|
1430
|
-
* @param {boolean | AddEventListenerOptions} [options]
|
|
1431
|
-
*/
|
|
1432
|
-
addEventListener(t, r, s) {
|
|
1433
|
-
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
|
1434
|
-
const n = this.$$c.$on(t, r);
|
|
1435
|
-
this.$$l_u.set(r, n);
|
|
1436
|
-
}
|
|
1437
|
-
super.addEventListener(t, r, s);
|
|
1438
|
-
}
|
|
1439
|
-
/**
|
|
1440
|
-
* @param {string} type
|
|
1441
|
-
* @param {EventListenerOrEventListenerObject} listener
|
|
1442
|
-
* @param {boolean | AddEventListenerOptions} [options]
|
|
1443
|
-
*/
|
|
1444
|
-
removeEventListener(t, r, s) {
|
|
1445
|
-
if (super.removeEventListener(t, r, s), this.$$c) {
|
|
1446
|
-
const n = this.$$l_u.get(r);
|
|
1447
|
-
n && (n(), this.$$l_u.delete(r));
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
|
-
async connectedCallback() {
|
|
1451
|
-
if (this.$$cn = !0, !this.$$c) {
|
|
1452
|
-
let t = function(n) {
|
|
1453
|
-
return (i) => {
|
|
1454
|
-
const o = document.createElement("slot");
|
|
1455
|
-
n !== "default" && (o.name = n), Oe(i, o);
|
|
1456
|
-
};
|
|
1457
|
-
};
|
|
1458
|
-
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
1459
|
-
return;
|
|
1460
|
-
const r = {}, s = qn(this);
|
|
1461
|
-
for (const n of this.$$s)
|
|
1462
|
-
n in s && (n === "default" && !this.$$d.children ? (this.$$d.children = t(n), r.default = !0) : r[n] = t(n));
|
|
1463
|
-
for (const n of this.attributes) {
|
|
1464
|
-
const i = this.$$g_p(n.name);
|
|
1465
|
-
i in this.$$d || (this.$$d[i] = Me(i, n.value, this.$$p_d, "toProp"));
|
|
1466
|
-
}
|
|
1467
|
-
for (const n in this.$$p_d)
|
|
1468
|
-
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
1469
|
-
this.$$c = zn({
|
|
1470
|
-
component: this.$$ctor,
|
|
1471
|
-
target: this.shadowRoot || this,
|
|
1472
|
-
props: {
|
|
1473
|
-
...this.$$d,
|
|
1474
|
-
$$slots: r,
|
|
1475
|
-
$$host: this
|
|
1476
|
-
}
|
|
1477
|
-
}), this.$$me = vn(() => {
|
|
1478
|
-
pn(() => {
|
|
1479
|
-
var n;
|
|
1480
|
-
this.$$r = !0;
|
|
1481
|
-
for (const i of Ce(this.$$c)) {
|
|
1482
|
-
if (!((n = this.$$p_d[i]) != null && n.reflect)) continue;
|
|
1483
|
-
this.$$d[i] = this.$$c[i];
|
|
1484
|
-
const o = Me(
|
|
1485
|
-
i,
|
|
1486
|
-
this.$$d[i],
|
|
1487
|
-
this.$$p_d,
|
|
1488
|
-
"toAttribute"
|
|
1489
|
-
);
|
|
1490
|
-
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
|
1491
|
-
}
|
|
1492
|
-
this.$$r = !1;
|
|
1493
|
-
});
|
|
1494
|
-
});
|
|
1495
|
-
for (const n in this.$$l)
|
|
1496
|
-
for (const i of this.$$l[n]) {
|
|
1497
|
-
const o = this.$$c.$on(n, i);
|
|
1498
|
-
this.$$l_u.set(i, o);
|
|
1499
|
-
}
|
|
1500
|
-
this.$$l = {};
|
|
1501
|
-
}
|
|
1502
|
-
}
|
|
1503
|
-
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
1504
|
-
// and setting attributes through setAttribute etc, this is helpful
|
|
1505
|
-
/**
|
|
1506
|
-
* @param {string} attr
|
|
1507
|
-
* @param {string} _oldValue
|
|
1508
|
-
* @param {string} newValue
|
|
1509
|
-
*/
|
|
1510
|
-
attributeChangedCallback(t, r, s) {
|
|
1511
|
-
var n;
|
|
1512
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Me(t, s, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [t]: this.$$d[t] }));
|
|
1513
|
-
}
|
|
1514
|
-
disconnectedCallback() {
|
|
1515
|
-
this.$$cn = !1, Promise.resolve().then(() => {
|
|
1516
|
-
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$me(), this.$$c = void 0);
|
|
1517
|
-
});
|
|
1518
|
-
}
|
|
1519
|
-
/**
|
|
1520
|
-
* @param {string} attribute_name
|
|
1521
|
-
*/
|
|
1522
|
-
$$g_p(t) {
|
|
1523
|
-
return Ce(this.$$p_d).find(
|
|
1524
|
-
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
|
1525
|
-
) || t;
|
|
1526
|
-
}
|
|
1527
|
-
});
|
|
1528
|
-
function Me(e, t, r, s) {
|
|
1529
|
-
var i;
|
|
1530
|
-
const n = (i = r[e]) == null ? void 0 : i.type;
|
|
1531
|
-
if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !r[e])
|
|
1532
|
-
return t;
|
|
1533
|
-
if (s === "toAttribute")
|
|
1534
|
-
switch (n) {
|
|
1535
|
-
case "Object":
|
|
1536
|
-
case "Array":
|
|
1537
|
-
return t == null ? null : JSON.stringify(t);
|
|
1538
|
-
case "Boolean":
|
|
1539
|
-
return t ? "" : null;
|
|
1540
|
-
case "Number":
|
|
1541
|
-
return t ?? null;
|
|
1542
|
-
default:
|
|
1543
|
-
return t;
|
|
1544
|
-
}
|
|
1545
|
-
else
|
|
1546
|
-
switch (n) {
|
|
1547
|
-
case "Object":
|
|
1548
|
-
case "Array":
|
|
1549
|
-
return t && JSON.parse(t);
|
|
1550
|
-
case "Boolean":
|
|
1551
|
-
return t;
|
|
1552
|
-
// conversion already handled above
|
|
1553
|
-
case "Number":
|
|
1554
|
-
return t != null ? +t : t;
|
|
1555
|
-
default:
|
|
1556
|
-
return t;
|
|
1557
|
-
}
|
|
1558
|
-
}
|
|
1559
|
-
function qn(e) {
|
|
1560
|
-
const t = {};
|
|
1561
|
-
return e.childNodes.forEach((r) => {
|
|
1562
|
-
t[
|
|
1563
|
-
/** @type {Element} node */
|
|
1564
|
-
r.slot || "default"
|
|
1565
|
-
] = !0;
|
|
1566
|
-
}), t;
|
|
1567
|
-
}
|
|
1568
|
-
function $t(e, t, r, s, n, i) {
|
|
1569
|
-
let o = class extends $r {
|
|
1570
|
-
constructor() {
|
|
1571
|
-
super(e, r, n), this.$$p_d = t;
|
|
1572
|
-
}
|
|
1573
|
-
static get observedAttributes() {
|
|
1574
|
-
return Ce(t).map(
|
|
1575
|
-
(l) => (t[l].attribute || l).toLowerCase()
|
|
1576
|
-
);
|
|
1001
|
+
const Ft = q ? p(tt) : l && a ? W(b) : b;
|
|
1002
|
+
return tt.equals(Ft) || ($ = !0, P(kt, Ft), x && c !== void 0 && (c = Ft), Jt(() => p(tt))), b;
|
|
1577
1003
|
}
|
|
1004
|
+
return p(tt);
|
|
1578
1005
|
};
|
|
1579
|
-
return Ce(t).forEach((l) => {
|
|
1580
|
-
Be(o.prototype, l, {
|
|
1581
|
-
get() {
|
|
1582
|
-
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
1583
|
-
},
|
|
1584
|
-
set(u) {
|
|
1585
|
-
var f;
|
|
1586
|
-
u = Me(l, u, t), this.$$d[l] = u;
|
|
1587
|
-
var a = this.$$c;
|
|
1588
|
-
if (a) {
|
|
1589
|
-
var c = (f = ne(a, l)) == null ? void 0 : f.get;
|
|
1590
|
-
c ? a[l] = u : a.$set({ [l]: u });
|
|
1591
|
-
}
|
|
1592
|
-
}
|
|
1593
|
-
});
|
|
1594
|
-
}), s.forEach((l) => {
|
|
1595
|
-
Be(o.prototype, l, {
|
|
1596
|
-
get() {
|
|
1597
|
-
var u;
|
|
1598
|
-
return (u = this.$$c) == null ? void 0 : u[l];
|
|
1599
|
-
}
|
|
1600
|
-
});
|
|
1601
|
-
}), e.element = /** @type {any} */
|
|
1602
|
-
o, o;
|
|
1603
1006
|
}
|
|
1604
1007
|
on();
|
|
1605
|
-
var
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
animation: svelte-2j2b59-l5 1.5s infinite linear;}
|
|
1610
|
-
|
|
1611
|
-
@keyframes svelte-2j2b59-l5 {
|
|
1612
|
-
0% {
|
|
1613
|
-
box-shadow:
|
|
1614
|
-
var(--shadow-offset) 0 #fff2,
|
|
1615
|
-
calc(-1 * var(--shadow-offset)) 0 #fff2;
|
|
1616
|
-
background: #fff2;
|
|
1617
|
-
}
|
|
1618
|
-
25% {
|
|
1619
|
-
box-shadow:
|
|
1620
|
-
var(--shadow-offset) 0 #fff2,
|
|
1621
|
-
calc(-1 * var(--shadow-offset)) 0 #ffff;
|
|
1622
|
-
background: #fff2;
|
|
1623
|
-
}
|
|
1624
|
-
50% {
|
|
1625
|
-
box-shadow:
|
|
1626
|
-
var(--shadow-offset) 0 #fff2,
|
|
1627
|
-
calc(-1 * var(--shadow-offset)) 0 #fff2;
|
|
1628
|
-
background: #ffff;
|
|
1629
|
-
}
|
|
1630
|
-
75% {
|
|
1631
|
-
box-shadow:
|
|
1632
|
-
var(--shadow-offset) 0 #ffff,
|
|
1633
|
-
calc(-1 * var(--shadow-offset)) 0 #fff2;
|
|
1634
|
-
background: #fff2;
|
|
1635
|
-
}
|
|
1636
|
-
100% {
|
|
1637
|
-
box-shadow:
|
|
1638
|
-
var(--shadow-offset) 0 #fff2,
|
|
1639
|
-
calc(-1 * var(--shadow-offset)) 0 #fff2;
|
|
1640
|
-
background: #fff2;
|
|
1641
|
-
}
|
|
1642
|
-
}`
|
|
1643
|
-
};
|
|
1644
|
-
function xr(e, t) {
|
|
1645
|
-
Qe(t, !1), mt(e, Un);
|
|
1646
|
-
let r = P(t, "size", 12, "medium");
|
|
1647
|
-
const s = {
|
|
1008
|
+
var Hn = /* @__PURE__ */ jt('<div class="rcb-processing svelte-2j2b59"></div>');
|
|
1009
|
+
function Vn(t, e) {
|
|
1010
|
+
let n = nt(e, "size", 8, "medium");
|
|
1011
|
+
const r = {
|
|
1648
1012
|
small: { width: "8px", offset: "10px" },
|
|
1649
1013
|
medium: { width: "12px", offset: "20px" },
|
|
1650
1014
|
large: { width: "16px", offset: "30px" }
|
|
1651
1015
|
};
|
|
1652
|
-
var
|
|
1653
|
-
|
|
1654
|
-
get size() {
|
|
1655
|
-
return r();
|
|
1656
|
-
},
|
|
1657
|
-
set size(i) {
|
|
1658
|
-
r(i), D();
|
|
1659
|
-
}
|
|
1660
|
-
});
|
|
1016
|
+
var i = Hn();
|
|
1017
|
+
Mt(() => _t(i, "style", `--shadow-offset: ${r[n()].offset ?? ""}; --width: ${r[n()].width ?? ""};`)), yt(t, i);
|
|
1661
1018
|
}
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-heading-xl.svelte-byrjto {font:var(--rc-text-headingXl-mobile);}
|
|
1670
|
-
|
|
1671
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-heading-lg.svelte-byrjto {font:var(--rc-text-headingLg-mobile);}
|
|
1672
|
-
|
|
1673
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-heading-md.svelte-byrjto {font:var(--rc-text-headingMd-mobile);}
|
|
1674
|
-
|
|
1675
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-body-base.svelte-byrjto {font:var(--rc-text-bodyBase-mobile);}
|
|
1676
|
-
|
|
1677
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-body-small.svelte-byrjto {font:var(--rc-text-bodySmall-mobile);}
|
|
1678
|
-
|
|
1679
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-label-button.svelte-byrjto {font:var(--rc-text-labelButton-mobile);}
|
|
1680
|
-
|
|
1681
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-label-default.svelte-byrjto {font:var(--rc-text-labelDefault-mobile);}
|
|
1682
|
-
|
|
1683
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-caption-default.svelte-byrjto {font:var(--rc-text-captionDefault-mobile);}
|
|
1684
|
-
|
|
1685
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-caption-link.svelte-byrjto {font:var(--rc-text-captionLink-mobile);}
|
|
1686
|
-
|
|
1687
|
-
@container layout-query-container (width >= 768px) {
|
|
1688
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-heading-2xl.svelte-byrjto {font:var(--rc-text-heading2xl-desktop);}
|
|
1689
|
-
|
|
1690
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-heading-xl.svelte-byrjto {font:var(--rc-text-headingXl-desktop);}
|
|
1691
|
-
|
|
1692
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-heading-lg.svelte-byrjto {font:var(--rc-text-headingLg-desktop);}
|
|
1693
|
-
|
|
1694
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-heading-md.svelte-byrjto {font:var(--rc-text-headingMd-desktop);}
|
|
1695
|
-
|
|
1696
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-body-base.svelte-byrjto {font:var(--rc-text-bodyBase-desktop);}
|
|
1697
|
-
|
|
1698
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-body-small.svelte-byrjto {font:var(--rc-text-bodySmall-desktop);}
|
|
1699
|
-
|
|
1700
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-label-button.svelte-byrjto {font:var(--rc-text-labelButton-desktop);}
|
|
1701
|
-
|
|
1702
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-label-default.svelte-byrjto {font:var(--rc-text-labelDefault-desktop);}
|
|
1703
|
-
|
|
1704
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-caption-default.svelte-byrjto {font:var(--rc-text-captionDefault-desktop);}
|
|
1705
|
-
|
|
1706
|
-
/* svelte-ignore css-unused-selector */.rcb-typography-caption-link.svelte-byrjto {font:var(--rc-text-captionLink-desktop);}
|
|
1707
|
-
}`
|
|
1708
|
-
};
|
|
1709
|
-
function wr(e, t) {
|
|
1710
|
-
Qe(t, !0), mt(e, Wn);
|
|
1711
|
-
const r = P(t, "children", 7), s = P(t, "size", 7, "body-base");
|
|
1712
|
-
var n = Yn(), i = Jt(n);
|
|
1713
|
-
return Pn(i, () => r() ?? Ht), Gt(n), _t(() => mr(n, `rcb-typography rcb-typography-${s() ?? ""} svelte-byrjto`)), Oe(e, n), et({
|
|
1714
|
-
get children() {
|
|
1715
|
-
return r();
|
|
1716
|
-
},
|
|
1717
|
-
set children(o) {
|
|
1718
|
-
r(o), D();
|
|
1719
|
-
},
|
|
1720
|
-
get size() {
|
|
1721
|
-
return s();
|
|
1722
|
-
},
|
|
1723
|
-
set size(o = "body-base") {
|
|
1724
|
-
s(o), D();
|
|
1725
|
-
}
|
|
1726
|
-
});
|
|
1019
|
+
var Un = /* @__PURE__ */ jt("<span><!></span>");
|
|
1020
|
+
function qn(t, e) {
|
|
1021
|
+
ke(e, !0);
|
|
1022
|
+
const n = nt(e, "size", 3, "body-base");
|
|
1023
|
+
var r = Un(), i = ce(r);
|
|
1024
|
+
zn(i, () => e.children ?? le), Mt(() => Oe(r, `rcb-typography rcb-typography-${n() ?? ""} svelte-byrjto`)), yt(t, r), Fe();
|
|
1727
1025
|
}
|
|
1728
|
-
|
|
1729
|
-
const Xn = {
|
|
1026
|
+
const Wn = {
|
|
1730
1027
|
error: "#B0171F",
|
|
1731
1028
|
warning: "#f4e971",
|
|
1732
1029
|
focus: "#1148B8",
|
|
@@ -1742,7 +1039,7 @@ const Xn = {
|
|
|
1742
1039
|
"grey-ui-light": "rgba(0,0,0,0.1)",
|
|
1743
1040
|
"input-background": "white",
|
|
1744
1041
|
background: "white"
|
|
1745
|
-
},
|
|
1042
|
+
}, Xn = {
|
|
1746
1043
|
error: "#B0171F",
|
|
1747
1044
|
warning: "#f4e971",
|
|
1748
1045
|
focus: "#1148B8",
|
|
@@ -1758,33 +1055,33 @@ const Xn = {
|
|
|
1758
1055
|
"grey-ui-light": "rgba(0,0,0,0.1)",
|
|
1759
1056
|
"input-background": "white",
|
|
1760
1057
|
background: "#EFF3FA"
|
|
1761
|
-
},
|
|
1058
|
+
}, Ae = {
|
|
1762
1059
|
error: "color_error",
|
|
1763
1060
|
focus: "color_accent",
|
|
1764
1061
|
accent: "color_accent",
|
|
1765
1062
|
primary: "color_buttons_primary"
|
|
1766
|
-
},
|
|
1767
|
-
...
|
|
1063
|
+
}, Yn = {
|
|
1064
|
+
...Ae,
|
|
1768
1065
|
"input-background": "color_form_bg",
|
|
1769
1066
|
background: "color_form_bg"
|
|
1770
|
-
},
|
|
1771
|
-
...
|
|
1067
|
+
}, Gn = {
|
|
1068
|
+
...Ae,
|
|
1772
1069
|
"input-background": "color_product_info_bg",
|
|
1773
1070
|
background: "color_product_info_bg"
|
|
1774
|
-
},
|
|
1071
|
+
}, De = {
|
|
1775
1072
|
"input-border-radius": "4px",
|
|
1776
1073
|
"input-button-border-radius": "8px"
|
|
1777
|
-
},
|
|
1074
|
+
}, Kn = {
|
|
1778
1075
|
"input-border-radius": "0px",
|
|
1779
1076
|
"input-button-border-radius": "0px"
|
|
1780
|
-
},
|
|
1077
|
+
}, Zn = {
|
|
1781
1078
|
"input-border-radius": "12px",
|
|
1782
1079
|
"input-button-border-radius": "9999px"
|
|
1783
|
-
},
|
|
1080
|
+
}, ee = De, ne = "-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif", A = {
|
|
1784
1081
|
regular: "400",
|
|
1785
1082
|
medium: "500",
|
|
1786
1083
|
semibold: "600"
|
|
1787
|
-
},
|
|
1084
|
+
}, F = {
|
|
1788
1085
|
10: "10px",
|
|
1789
1086
|
12: "12px",
|
|
1790
1087
|
14: "14px",
|
|
@@ -1796,285 +1093,285 @@ const Xn = {
|
|
|
1796
1093
|
32: "32px",
|
|
1797
1094
|
36: "36px",
|
|
1798
1095
|
40: "40px"
|
|
1799
|
-
},
|
|
1096
|
+
}, D = {
|
|
1800
1097
|
120: "120%",
|
|
1801
1098
|
130: "130%",
|
|
1802
1099
|
140: "140%"
|
|
1803
|
-
},
|
|
1100
|
+
}, I = {
|
|
1804
1101
|
tight: "0.20%",
|
|
1805
1102
|
regular: "0",
|
|
1806
1103
|
loose: "0.20%"
|
|
1807
|
-
},
|
|
1104
|
+
}, d = {
|
|
1808
1105
|
heading2xl: {
|
|
1809
|
-
fontSize:
|
|
1810
|
-
lineHeight:
|
|
1811
|
-
fontWeight:
|
|
1812
|
-
letterSpacing:
|
|
1106
|
+
fontSize: F[28],
|
|
1107
|
+
lineHeight: D[120],
|
|
1108
|
+
fontWeight: A.semibold,
|
|
1109
|
+
letterSpacing: I.tight
|
|
1813
1110
|
},
|
|
1814
1111
|
headingXl: {
|
|
1815
|
-
fontSize:
|
|
1816
|
-
lineHeight:
|
|
1817
|
-
fontWeight:
|
|
1818
|
-
letterSpacing:
|
|
1112
|
+
fontSize: F[24],
|
|
1113
|
+
lineHeight: D[130],
|
|
1114
|
+
fontWeight: A.semibold,
|
|
1115
|
+
letterSpacing: I.regular
|
|
1819
1116
|
},
|
|
1820
1117
|
headingLg: {
|
|
1821
1118
|
fontSize: "20px",
|
|
1822
|
-
lineHeight:
|
|
1823
|
-
fontWeight:
|
|
1824
|
-
letterSpacing:
|
|
1119
|
+
lineHeight: D[130],
|
|
1120
|
+
fontWeight: A.semibold,
|
|
1121
|
+
letterSpacing: I.regular
|
|
1825
1122
|
},
|
|
1826
1123
|
headingMd: {
|
|
1827
1124
|
fontSize: "16px",
|
|
1828
|
-
lineHeight:
|
|
1829
|
-
fontWeight:
|
|
1830
|
-
letterSpacing:
|
|
1125
|
+
lineHeight: D[140],
|
|
1126
|
+
fontWeight: A.medium,
|
|
1127
|
+
letterSpacing: I.regular
|
|
1831
1128
|
},
|
|
1832
1129
|
bodyBase: {
|
|
1833
|
-
fontSize:
|
|
1834
|
-
lineHeight:
|
|
1835
|
-
fontWeight:
|
|
1836
|
-
letterSpacing:
|
|
1130
|
+
fontSize: F[16],
|
|
1131
|
+
lineHeight: D[140],
|
|
1132
|
+
fontWeight: A.regular,
|
|
1133
|
+
letterSpacing: I.regular
|
|
1837
1134
|
},
|
|
1838
1135
|
bodySmall: {
|
|
1839
|
-
fontSize:
|
|
1840
|
-
lineHeight:
|
|
1841
|
-
fontWeight:
|
|
1842
|
-
letterSpacing:
|
|
1136
|
+
fontSize: F[14],
|
|
1137
|
+
lineHeight: D[140],
|
|
1138
|
+
fontWeight: A.regular,
|
|
1139
|
+
letterSpacing: I.regular
|
|
1843
1140
|
},
|
|
1844
1141
|
labelButton: {
|
|
1845
|
-
fontSize:
|
|
1846
|
-
lineHeight:
|
|
1847
|
-
fontWeight:
|
|
1848
|
-
letterSpacing:
|
|
1142
|
+
fontSize: F[16],
|
|
1143
|
+
lineHeight: D[140],
|
|
1144
|
+
fontWeight: A.regular,
|
|
1145
|
+
letterSpacing: I.tight
|
|
1849
1146
|
},
|
|
1850
1147
|
labelDefault: {
|
|
1851
|
-
fontSize:
|
|
1852
|
-
lineHeight:
|
|
1853
|
-
fontWeight:
|
|
1854
|
-
letterSpacing:
|
|
1148
|
+
fontSize: F[14],
|
|
1149
|
+
lineHeight: D[140],
|
|
1150
|
+
fontWeight: A.regular,
|
|
1151
|
+
letterSpacing: I.tight
|
|
1855
1152
|
},
|
|
1856
1153
|
captionDefault: {
|
|
1857
|
-
fontSize:
|
|
1858
|
-
lineHeight:
|
|
1859
|
-
fontWeight:
|
|
1860
|
-
letterSpacing:
|
|
1154
|
+
fontSize: F[12],
|
|
1155
|
+
lineHeight: D[140],
|
|
1156
|
+
fontWeight: A.regular,
|
|
1157
|
+
letterSpacing: I.regular
|
|
1861
1158
|
},
|
|
1862
1159
|
captionLink: {
|
|
1863
|
-
fontSize:
|
|
1864
|
-
lineHeight:
|
|
1865
|
-
fontWeight:
|
|
1866
|
-
letterSpacing:
|
|
1160
|
+
fontSize: F[12],
|
|
1161
|
+
lineHeight: D[140],
|
|
1162
|
+
fontWeight: A.regular,
|
|
1163
|
+
letterSpacing: I.regular
|
|
1867
1164
|
}
|
|
1868
|
-
},
|
|
1165
|
+
}, L = {
|
|
1869
1166
|
heading2xl: {
|
|
1870
|
-
...
|
|
1871
|
-
fontSize:
|
|
1167
|
+
...d.heading2xl,
|
|
1168
|
+
fontSize: F[36]
|
|
1872
1169
|
},
|
|
1873
1170
|
headingXl: {
|
|
1874
|
-
...
|
|
1875
|
-
fontSize:
|
|
1171
|
+
...d.headingXl,
|
|
1172
|
+
fontSize: F[32]
|
|
1876
1173
|
},
|
|
1877
1174
|
headingLg: {
|
|
1878
|
-
...
|
|
1879
|
-
fontSize:
|
|
1175
|
+
...d.headingLg,
|
|
1176
|
+
fontSize: F[24]
|
|
1880
1177
|
},
|
|
1881
1178
|
headingMd: {
|
|
1882
|
-
...
|
|
1883
|
-
fontSize:
|
|
1179
|
+
...d.headingMd,
|
|
1180
|
+
fontSize: F[18]
|
|
1884
1181
|
},
|
|
1885
1182
|
bodyBase: {
|
|
1886
|
-
...
|
|
1183
|
+
...d.bodyBase
|
|
1887
1184
|
},
|
|
1888
1185
|
bodySmall: {
|
|
1889
|
-
...
|
|
1186
|
+
...d.bodySmall
|
|
1890
1187
|
},
|
|
1891
1188
|
labelButton: {
|
|
1892
|
-
...
|
|
1189
|
+
...d.labelButton
|
|
1893
1190
|
},
|
|
1894
1191
|
labelDefault: {
|
|
1895
|
-
...
|
|
1192
|
+
...d.labelDefault
|
|
1896
1193
|
},
|
|
1897
1194
|
captionDefault: {
|
|
1898
|
-
...
|
|
1195
|
+
...d.captionDefault
|
|
1899
1196
|
},
|
|
1900
1197
|
captionLink: {
|
|
1901
|
-
...
|
|
1198
|
+
...d.captionLink
|
|
1902
1199
|
}
|
|
1903
|
-
},
|
|
1200
|
+
}, Jn = {
|
|
1904
1201
|
heading2xl: {
|
|
1905
|
-
mobile:
|
|
1906
|
-
desktop:
|
|
1202
|
+
mobile: d.heading2xl,
|
|
1203
|
+
desktop: L.heading2xl
|
|
1907
1204
|
},
|
|
1908
1205
|
headingXl: {
|
|
1909
|
-
desktop:
|
|
1910
|
-
mobile:
|
|
1206
|
+
desktop: L.headingXl,
|
|
1207
|
+
mobile: d.headingXl
|
|
1911
1208
|
},
|
|
1912
1209
|
headingLg: {
|
|
1913
|
-
desktop:
|
|
1914
|
-
mobile:
|
|
1210
|
+
desktop: L.headingLg,
|
|
1211
|
+
mobile: d.headingLg
|
|
1915
1212
|
},
|
|
1916
1213
|
headingMd: {
|
|
1917
|
-
desktop:
|
|
1918
|
-
mobile:
|
|
1214
|
+
desktop: L.headingMd,
|
|
1215
|
+
mobile: d.headingMd
|
|
1919
1216
|
},
|
|
1920
1217
|
bodyBase: {
|
|
1921
|
-
desktop:
|
|
1922
|
-
mobile:
|
|
1218
|
+
desktop: L.bodyBase,
|
|
1219
|
+
mobile: d.bodyBase
|
|
1923
1220
|
},
|
|
1924
1221
|
bodySmall: {
|
|
1925
|
-
desktop:
|
|
1926
|
-
mobile:
|
|
1222
|
+
desktop: L.bodySmall,
|
|
1223
|
+
mobile: d.bodySmall
|
|
1927
1224
|
},
|
|
1928
1225
|
labelButton: {
|
|
1929
|
-
desktop:
|
|
1930
|
-
mobile:
|
|
1226
|
+
desktop: L.labelButton,
|
|
1227
|
+
mobile: d.labelButton
|
|
1931
1228
|
},
|
|
1932
1229
|
labelDefault: {
|
|
1933
|
-
desktop:
|
|
1934
|
-
mobile:
|
|
1230
|
+
desktop: L.labelDefault,
|
|
1231
|
+
mobile: d.labelDefault
|
|
1935
1232
|
},
|
|
1936
1233
|
captionDefault: {
|
|
1937
|
-
desktop:
|
|
1938
|
-
mobile:
|
|
1234
|
+
desktop: L.captionDefault,
|
|
1235
|
+
mobile: d.captionDefault
|
|
1939
1236
|
},
|
|
1940
1237
|
captionLink: {
|
|
1941
|
-
desktop:
|
|
1942
|
-
mobile:
|
|
1943
|
-
}
|
|
1944
|
-
},
|
|
1945
|
-
r: parseInt(
|
|
1946
|
-
g: parseInt(
|
|
1947
|
-
b: parseInt(
|
|
1948
|
-
} :
|
|
1949
|
-
r: parseInt(
|
|
1950
|
-
g: parseInt(
|
|
1951
|
-
b: parseInt(
|
|
1952
|
-
} : null,
|
|
1953
|
-
r:
|
|
1954
|
-
g:
|
|
1955
|
-
b:
|
|
1956
|
-
luminanceThreshold:
|
|
1238
|
+
desktop: L.captionLink,
|
|
1239
|
+
mobile: d.captionLink
|
|
1240
|
+
}
|
|
1241
|
+
}, it = (t) => t.length == 7 ? {
|
|
1242
|
+
r: parseInt(t.slice(1, 3), 16),
|
|
1243
|
+
g: parseInt(t.slice(3, 5), 16),
|
|
1244
|
+
b: parseInt(t.slice(5, 7), 16)
|
|
1245
|
+
} : t.length == 4 ? {
|
|
1246
|
+
r: parseInt(t[1], 16),
|
|
1247
|
+
g: parseInt(t[2], 16),
|
|
1248
|
+
b: parseInt(t[3], 16)
|
|
1249
|
+
} : null, $t = ({
|
|
1250
|
+
r: t,
|
|
1251
|
+
g: e,
|
|
1252
|
+
b: n,
|
|
1253
|
+
luminanceThreshold: r
|
|
1957
1254
|
}) => {
|
|
1958
|
-
const
|
|
1959
|
-
return 0.2126 *
|
|
1960
|
-
},
|
|
1961
|
-
const
|
|
1255
|
+
const i = (a) => (a = a / 255, a <= 0.03928 ? a / 12.92 : Math.pow((a + 0.055) / 1.055, 2.4));
|
|
1256
|
+
return 0.2126 * i(t) + 0.7152 * i(e) + 0.0722 * i(n) > r;
|
|
1257
|
+
}, Ht = 0.37, Qn = (t, e = Ht) => {
|
|
1258
|
+
const n = $t({ ...t, luminanceThreshold: e }) ? "0,0,0" : "255,255,255";
|
|
1962
1259
|
return {
|
|
1963
|
-
"grey-text-dark": `rgb(${
|
|
1964
|
-
"grey-text-light": `rgba(${
|
|
1965
|
-
"grey-ui-dark": `rgba(${
|
|
1966
|
-
"grey-ui-light": `rgba(${
|
|
1260
|
+
"grey-text-dark": `rgb(${n})`,
|
|
1261
|
+
"grey-text-light": `rgba(${n},0.70)`,
|
|
1262
|
+
"grey-ui-dark": `rgba(${n},0.3)`,
|
|
1263
|
+
"grey-ui-light": `rgba(${n},0.1)`
|
|
1967
1264
|
};
|
|
1968
1265
|
};
|
|
1969
|
-
function
|
|
1970
|
-
const
|
|
1971
|
-
return `#${
|
|
1972
|
-
}
|
|
1973
|
-
function
|
|
1974
|
-
const
|
|
1975
|
-
let
|
|
1976
|
-
(isNaN(
|
|
1977
|
-
const
|
|
1978
|
-
...
|
|
1979
|
-
luminanceThreshold:
|
|
1266
|
+
function tr(t, e, n) {
|
|
1267
|
+
const r = it(t) || { r: 0, g: 0, b: 0 }, i = it(e) || { r: 255, g: 255, b: 255 }, l = Math.round(i.r * n + r.r * (1 - n)), a = Math.round(i.g * n + r.g * (1 - n)), _ = Math.round(i.b * n + r.b * (1 - n));
|
|
1268
|
+
return `#${Ot(l)}${Ot(a)}${Ot(_)}`;
|
|
1269
|
+
}
|
|
1270
|
+
function re(t, e) {
|
|
1271
|
+
const n = { r: 255, g: 255, b: 255 }, r = Math.max(0, Math.min(1, e));
|
|
1272
|
+
let i = t, l = it(t) || n;
|
|
1273
|
+
(isNaN(l.r) || isNaN(l.g) || isNaN(l.b)) && (l = n, i = "#FFFFFF");
|
|
1274
|
+
const _ = $t({
|
|
1275
|
+
...l,
|
|
1276
|
+
luminanceThreshold: Ht
|
|
1980
1277
|
}) ? "#000000" : "#FFFFFF";
|
|
1981
|
-
return
|
|
1982
|
-
}
|
|
1983
|
-
function
|
|
1984
|
-
return
|
|
1985
|
-
}
|
|
1986
|
-
const
|
|
1987
|
-
const
|
|
1988
|
-
"grey-text-dark":
|
|
1989
|
-
"grey-text-light":
|
|
1990
|
-
"grey-ui-dark":
|
|
1991
|
-
"grey-ui-light":
|
|
1992
|
-
"primary-text":
|
|
1278
|
+
return tr(i, _, r);
|
|
1279
|
+
}
|
|
1280
|
+
function Ot(t) {
|
|
1281
|
+
return t.toString(16).padStart(2, "0").toUpperCase();
|
|
1282
|
+
}
|
|
1283
|
+
const er = (t, e, n, r = Ht) => {
|
|
1284
|
+
const i = {
|
|
1285
|
+
"grey-text-dark": n["grey-text-dark"],
|
|
1286
|
+
"grey-text-light": n["grey-text-light"],
|
|
1287
|
+
"grey-ui-dark": n["grey-ui-dark"],
|
|
1288
|
+
"grey-ui-light": n["grey-ui-light"],
|
|
1289
|
+
"primary-text": n["primary-text"]
|
|
1993
1290
|
};
|
|
1994
|
-
if (e != null && e.startsWith("#")) {
|
|
1995
|
-
const i = Ae(e);
|
|
1996
|
-
i !== null && Object.assign(n, ts(i));
|
|
1997
|
-
}
|
|
1998
1291
|
if (t != null && t.startsWith("#")) {
|
|
1999
|
-
const
|
|
2000
|
-
|
|
1292
|
+
const l = it(t);
|
|
1293
|
+
l !== null && Object.assign(i, Qn(l));
|
|
2001
1294
|
}
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
1295
|
+
if (e != null && e.startsWith("#")) {
|
|
1296
|
+
const l = it(e);
|
|
1297
|
+
l !== null && (i["primary-text"] = $t({ ...l, luminanceThreshold: r }) ? "black" : "white");
|
|
1298
|
+
}
|
|
1299
|
+
return i;
|
|
1300
|
+
}, nr = (t) => ({
|
|
1301
|
+
"primary-hover": re(t, 0.1),
|
|
1302
|
+
"primary-pressed": re(t, 0.15)
|
|
1303
|
+
}), rr = (t, e) => t || e, ir = (t, e, n) => {
|
|
1304
|
+
const r = Object.entries(t).map(([i, l]) => [
|
|
1305
|
+
i,
|
|
1306
|
+
rr(
|
|
1307
|
+
n ? n[l] : null,
|
|
1308
|
+
e[i]
|
|
2012
1309
|
)
|
|
2013
1310
|
]);
|
|
2014
|
-
return Object.fromEntries(
|
|
2015
|
-
},
|
|
2016
|
-
const
|
|
2017
|
-
e,
|
|
1311
|
+
return Object.fromEntries(r);
|
|
1312
|
+
}, Ie = (t, e, n) => {
|
|
1313
|
+
const r = ir(
|
|
2018
1314
|
t,
|
|
2019
|
-
|
|
1315
|
+
e,
|
|
1316
|
+
n
|
|
2020
1317
|
);
|
|
2021
|
-
return
|
|
2022
|
-
...
|
|
2023
|
-
...
|
|
2024
|
-
...
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
1318
|
+
return n ? {
|
|
1319
|
+
...e,
|
|
1320
|
+
...r,
|
|
1321
|
+
...er(
|
|
1322
|
+
r.background,
|
|
1323
|
+
r.primary,
|
|
1324
|
+
e
|
|
2028
1325
|
),
|
|
2029
|
-
...
|
|
2030
|
-
} : { ...
|
|
2031
|
-
},
|
|
2032
|
-
Zn,
|
|
1326
|
+
...nr(r.primary)
|
|
1327
|
+
} : { ...e };
|
|
1328
|
+
}, lr = (t) => Ie(
|
|
2033
1329
|
Gn,
|
|
2034
|
-
e
|
|
2035
|
-
), Tr = (e) => Er(
|
|
2036
|
-
Kn,
|
|
2037
1330
|
Xn,
|
|
2038
|
-
|
|
2039
|
-
),
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
1331
|
+
t
|
|
1332
|
+
), Le = (t) => Ie(
|
|
1333
|
+
Yn,
|
|
1334
|
+
Wn,
|
|
1335
|
+
t
|
|
1336
|
+
), Vt = (t) => {
|
|
1337
|
+
if (!t)
|
|
1338
|
+
return ee;
|
|
1339
|
+
switch (t.shapes) {
|
|
2043
1340
|
case "rounded":
|
|
2044
|
-
return
|
|
1341
|
+
return De;
|
|
2045
1342
|
case "rectangle":
|
|
2046
|
-
return
|
|
1343
|
+
return Kn;
|
|
2047
1344
|
case "pill":
|
|
2048
|
-
return
|
|
1345
|
+
return Zn;
|
|
2049
1346
|
default:
|
|
2050
|
-
return
|
|
1347
|
+
return ee;
|
|
2051
1348
|
}
|
|
2052
|
-
},
|
|
2053
|
-
const
|
|
1349
|
+
}, St = (t = "", e) => e.map(([n, r]) => `--rc-${t}-${n}: ${r}`).join("; "), ar = (t) => {
|
|
1350
|
+
const e = St(
|
|
2054
1351
|
"color",
|
|
2055
|
-
Object.entries(
|
|
2056
|
-
),
|
|
1352
|
+
Object.entries(lr(t))
|
|
1353
|
+
), n = St(
|
|
2057
1354
|
"shape",
|
|
2058
|
-
Object.entries(
|
|
1355
|
+
Object.entries(Vt(t))
|
|
2059
1356
|
);
|
|
2060
|
-
return [
|
|
2061
|
-
},
|
|
2062
|
-
const
|
|
1357
|
+
return [e, n].join("; ");
|
|
1358
|
+
}, sr = (t) => {
|
|
1359
|
+
const e = St(
|
|
2063
1360
|
"color",
|
|
2064
|
-
Object.entries(
|
|
2065
|
-
),
|
|
1361
|
+
Object.entries(Le(t))
|
|
1362
|
+
), n = St(
|
|
2066
1363
|
"shape",
|
|
2067
|
-
Object.entries(
|
|
1364
|
+
Object.entries(Vt(t))
|
|
2068
1365
|
);
|
|
2069
|
-
return [
|
|
2070
|
-
},
|
|
2071
|
-
`--rc-${
|
|
2072
|
-
`--rc-${
|
|
2073
|
-
`--rc-${
|
|
2074
|
-
`--rc-${
|
|
2075
|
-
]).join("; "),
|
|
2076
|
-
([
|
|
2077
|
-
).join(" "),
|
|
1366
|
+
return [e, n].join("; ");
|
|
1367
|
+
}, or = (t = "", e) => Object.entries(e).flatMap(([n, { desktop: r, mobile: i }]) => [
|
|
1368
|
+
`--rc-${t}-${n}-desktop: normal normal ${r.fontWeight} ${r.fontSize}/${r.lineHeight} ${ne}`,
|
|
1369
|
+
`--rc-${t}-${n}-mobile: normal normal ${i.fontWeight} ${i.fontSize}/${i.lineHeight} ${ne}`,
|
|
1370
|
+
`--rc-${t}-${n}-desktop-font-size: ${r.fontSize}`,
|
|
1371
|
+
`--rc-${t}-${n}-mobile-font-size: ${i.fontSize}`
|
|
1372
|
+
]).join("; "), ur = (t = "", e) => Object.entries(e).map(
|
|
1373
|
+
([n, { mobile: r, desktop: i }]) => `--rc-${t}-${n}-mobile: ${r}; --rc-${t}-${n}-desktop: ${i};`
|
|
1374
|
+
).join(" "), fr = {
|
|
2078
1375
|
outerPadding: {
|
|
2079
1376
|
mobile: "clamp(1.3125rem, 5.6vw, 1.5rem)",
|
|
2080
1377
|
desktop: "clamp(1.5rem, 9.44vw, 5rem)"
|
|
@@ -2116,149 +1413,74 @@ const ns = (e, t, r, s = wt) => {
|
|
|
2116
1413
|
desktop: "1rem"
|
|
2117
1414
|
}
|
|
2118
1415
|
};
|
|
2119
|
-
class
|
|
2120
|
-
constructor(
|
|
2121
|
-
|
|
2122
|
-
|
|
1416
|
+
class cr {
|
|
1417
|
+
constructor(e) {
|
|
1418
|
+
Wt(this, "brandingAppearance");
|
|
1419
|
+
e ? this.brandingAppearance = e : this.brandingAppearance = void 0;
|
|
2123
1420
|
}
|
|
2124
1421
|
get shape() {
|
|
2125
|
-
return
|
|
1422
|
+
return Vt(this.brandingAppearance);
|
|
2126
1423
|
}
|
|
2127
1424
|
get formColors() {
|
|
2128
|
-
return
|
|
1425
|
+
return Le(this.brandingAppearance);
|
|
2129
1426
|
}
|
|
2130
1427
|
get formStyleVars() {
|
|
2131
|
-
return
|
|
1428
|
+
return sr(this.brandingAppearance);
|
|
2132
1429
|
}
|
|
2133
1430
|
get productInfoStyleVars() {
|
|
2134
|
-
return
|
|
1431
|
+
return ar(this.brandingAppearance);
|
|
2135
1432
|
}
|
|
2136
1433
|
get spacing() {
|
|
2137
|
-
return
|
|
1434
|
+
return fr;
|
|
2138
1435
|
}
|
|
2139
1436
|
get textStyles() {
|
|
2140
|
-
return
|
|
1437
|
+
return Jn;
|
|
2141
1438
|
}
|
|
2142
1439
|
get textStyleVars() {
|
|
2143
|
-
return
|
|
1440
|
+
return or("text", this.textStyles);
|
|
2144
1441
|
}
|
|
2145
1442
|
get spacingStyleVars() {
|
|
2146
|
-
return
|
|
2147
|
-
}
|
|
2148
|
-
}
|
|
2149
|
-
var
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
button.svelte-td7xvm:active {background-color:var(--rc-color-primary-pressed);outline:none;}button.intent-primary.svelte-td7xvm:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-dark);}`
|
|
2159
|
-
};
|
|
2160
|
-
function _s(e, t) {
|
|
2161
|
-
Qe(t, !0), mt(e, gs);
|
|
2162
|
-
const r = P(t, "onclick", 7), s = P(t, "intent", 7, "primary"), n = P(t, "disabled", 7, !1), i = P(t, "testId", 7), o = P(t, "type", 7), l = P(t, "loading", 7, !1), u = P(t, "brandingAppearance", 7), a = P(t, "styleOverrides", 7), c = /* @__PURE__ */ W(() => new hs(u())), f = /* @__PURE__ */ W(() => y(c).textStyleVars), d = /* @__PURE__ */ W(() => y(c).spacingStyleVars), h = /* @__PURE__ */ W(() => y(c).productInfoStyleVars), g = /* @__PURE__ */ W(() => y(c).formStyleVars), S = /* @__PURE__ */ W(() => [
|
|
2163
|
-
a(),
|
|
2164
|
-
y(f),
|
|
2165
|
-
y(d),
|
|
2166
|
-
y(h),
|
|
2167
|
-
y(g)
|
|
1443
|
+
return ur("spacing", this.spacing);
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
var _r = /* @__PURE__ */ jt("<button><!></button>");
|
|
1447
|
+
function dr(t, e) {
|
|
1448
|
+
ke(e, !0);
|
|
1449
|
+
const n = nt(e, "intent", 3, "primary"), r = nt(e, "disabled", 3, !1), i = nt(e, "loading", 3, !1), l = /* @__PURE__ */ B(() => new cr(e.brandingAppearance)), a = /* @__PURE__ */ B(() => p(l).textStyleVars), _ = /* @__PURE__ */ B(() => p(l).spacingStyleVars), f = /* @__PURE__ */ B(() => p(l).productInfoStyleVars), s = /* @__PURE__ */ B(() => p(l).formStyleVars), u = /* @__PURE__ */ B(() => [
|
|
1450
|
+
e.styleOverrides,
|
|
1451
|
+
p(a),
|
|
1452
|
+
p(_),
|
|
1453
|
+
p(f),
|
|
1454
|
+
p(s)
|
|
2168
1455
|
].join("; "));
|
|
2169
|
-
var
|
|
2170
|
-
|
|
2171
|
-
var
|
|
2172
|
-
(
|
|
1456
|
+
var o = _r();
|
|
1457
|
+
o.__click = function(...m) {
|
|
1458
|
+
var y;
|
|
1459
|
+
(y = e.onclick) == null || y.apply(this, m);
|
|
2173
1460
|
};
|
|
2174
|
-
var
|
|
1461
|
+
var c = ce(o);
|
|
2175
1462
|
{
|
|
2176
|
-
var
|
|
2177
|
-
|
|
2178
|
-
},
|
|
2179
|
-
|
|
1463
|
+
var v = (m) => {
|
|
1464
|
+
Vn(m, { size: "small" });
|
|
1465
|
+
}, x = (m) => {
|
|
1466
|
+
qn(m, {
|
|
2180
1467
|
size: "body-base",
|
|
2181
|
-
children: (
|
|
2182
|
-
var
|
|
2183
|
-
|
|
1468
|
+
children: (y, U) => {
|
|
1469
|
+
var j = Pn(), $ = gn(j);
|
|
1470
|
+
Mn($, e, "default", {}), yt(y, j);
|
|
2184
1471
|
},
|
|
2185
1472
|
$$slots: { default: !0 }
|
|
2186
1473
|
});
|
|
2187
1474
|
};
|
|
2188
|
-
|
|
2189
|
-
|
|
1475
|
+
Bn(c, (m) => {
|
|
1476
|
+
i() ? m(v) : m(x, !1);
|
|
2190
1477
|
});
|
|
2191
1478
|
}
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
}),
|
|
2195
|
-
get onclick() {
|
|
2196
|
-
return r();
|
|
2197
|
-
},
|
|
2198
|
-
set onclick(v) {
|
|
2199
|
-
r(v), D();
|
|
2200
|
-
},
|
|
2201
|
-
get intent() {
|
|
2202
|
-
return s();
|
|
2203
|
-
},
|
|
2204
|
-
set intent(v = "primary") {
|
|
2205
|
-
s(v), D();
|
|
2206
|
-
},
|
|
2207
|
-
get disabled() {
|
|
2208
|
-
return n();
|
|
2209
|
-
},
|
|
2210
|
-
set disabled(v = !1) {
|
|
2211
|
-
n(v), D();
|
|
2212
|
-
},
|
|
2213
|
-
get testId() {
|
|
2214
|
-
return i();
|
|
2215
|
-
},
|
|
2216
|
-
set testId(v) {
|
|
2217
|
-
i(v), D();
|
|
2218
|
-
},
|
|
2219
|
-
get type() {
|
|
2220
|
-
return o();
|
|
2221
|
-
},
|
|
2222
|
-
set type(v) {
|
|
2223
|
-
o(v), D();
|
|
2224
|
-
},
|
|
2225
|
-
get loading() {
|
|
2226
|
-
return l();
|
|
2227
|
-
},
|
|
2228
|
-
set loading(v = !1) {
|
|
2229
|
-
l(v), D();
|
|
2230
|
-
},
|
|
2231
|
-
get brandingAppearance() {
|
|
2232
|
-
return u();
|
|
2233
|
-
},
|
|
2234
|
-
set brandingAppearance(v) {
|
|
2235
|
-
u(v), D();
|
|
2236
|
-
},
|
|
2237
|
-
get styleOverrides() {
|
|
2238
|
-
return a();
|
|
2239
|
-
},
|
|
2240
|
-
set styleOverrides(v) {
|
|
2241
|
-
a(v), D();
|
|
2242
|
-
}
|
|
2243
|
-
});
|
|
1479
|
+
Mt(() => {
|
|
1480
|
+
Oe(o, `${`intent-${n()}` ?? ""} svelte-td7xvm`), o.disabled = r(), _t(o, "data-testid", e.testId), _t(o, "type", e.type), _t(o, "style", p(u));
|
|
1481
|
+
}), yt(t, o), Fe();
|
|
2244
1482
|
}
|
|
2245
|
-
|
|
2246
|
-
customElements.define("ui-button", $t(
|
|
2247
|
-
_s,
|
|
2248
|
-
{
|
|
2249
|
-
onclick: {},
|
|
2250
|
-
intent: {},
|
|
2251
|
-
disabled: {},
|
|
2252
|
-
testId: {},
|
|
2253
|
-
type: {},
|
|
2254
|
-
loading: {},
|
|
2255
|
-
brandingAppearance: {},
|
|
2256
|
-
styleOverrides: {}
|
|
2257
|
-
},
|
|
2258
|
-
["default"],
|
|
2259
|
-
[],
|
|
2260
|
-
!0
|
|
2261
|
-
));
|
|
1483
|
+
Nn(["click"]);
|
|
2262
1484
|
export {
|
|
2263
|
-
|
|
1485
|
+
dr as Button
|
|
2264
1486
|
};
|