melonykit 0.6.2 → 0.7.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.
- package/dist/browser.js +13 -14
- package/dist/index.js +311 -156
- package/dist/signals.module-CHeHx-c5.js +763 -0
- package/package.json +5 -8
|
@@ -0,0 +1,763 @@
|
|
|
1
|
+
//#region node_modules/preact/dist/preact.module.js
|
|
2
|
+
var e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h = {}, g = [], _ = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, v = Array.isArray;
|
|
3
|
+
function y(e, t) {
|
|
4
|
+
for (var n in t) e[n] = t[n];
|
|
5
|
+
return e;
|
|
6
|
+
}
|
|
7
|
+
function b(e) {
|
|
8
|
+
e && e.parentNode && e.parentNode.removeChild(e);
|
|
9
|
+
}
|
|
10
|
+
function x(e, r, i, a, o) {
|
|
11
|
+
var s = {
|
|
12
|
+
type: e,
|
|
13
|
+
props: r,
|
|
14
|
+
key: i,
|
|
15
|
+
ref: a,
|
|
16
|
+
__k: null,
|
|
17
|
+
__: null,
|
|
18
|
+
__b: 0,
|
|
19
|
+
__e: null,
|
|
20
|
+
__c: null,
|
|
21
|
+
constructor: void 0,
|
|
22
|
+
__v: o ?? ++n,
|
|
23
|
+
__i: -1,
|
|
24
|
+
__u: 0
|
|
25
|
+
};
|
|
26
|
+
return o == null && t.vnode != null && t.vnode(s), s;
|
|
27
|
+
}
|
|
28
|
+
function S(e) {
|
|
29
|
+
return e.children;
|
|
30
|
+
}
|
|
31
|
+
function C(e, t) {
|
|
32
|
+
this.props = e, this.context = t;
|
|
33
|
+
}
|
|
34
|
+
function w(e, t) {
|
|
35
|
+
if (t == null) return e.__ ? w(e.__, e.__i + 1) : null;
|
|
36
|
+
for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;
|
|
37
|
+
return typeof e.type == "function" ? w(e) : null;
|
|
38
|
+
}
|
|
39
|
+
function T(e) {
|
|
40
|
+
if (e.__P && e.__d) {
|
|
41
|
+
var n = e.__v, r = n.__e, i = [], a = [], o = y({}, n);
|
|
42
|
+
o.__v = n.__v + 1, t.vnode && t.vnode(o), ne(e.__P, o, n, e.__n, e.__P.namespaceURI, 32 & n.__u ? [r] : null, i, r ?? w(n), !!(32 & n.__u), a), o.__v = n.__v, o.__.__k[o.__i] = o, ie(i, o, a), n.__e = n.__ = null, o.__e != r && E(o);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function E(e) {
|
|
46
|
+
if ((e = e.__) != null && e.__c != null) return e.__e = e.__c.base = null, e.__k.some(function(t) {
|
|
47
|
+
if (t != null && t.__e != null) return e.__e = e.__c.base = t.__e;
|
|
48
|
+
}), E(e);
|
|
49
|
+
}
|
|
50
|
+
function D(e) {
|
|
51
|
+
(!e.__d && (e.__d = !0) && i.push(e) && !O.__r++ || a != t.debounceRendering) && ((a = t.debounceRendering) || o)(O);
|
|
52
|
+
}
|
|
53
|
+
function O() {
|
|
54
|
+
try {
|
|
55
|
+
for (var e, t = 1; i.length;) i.length > t && i.sort(s), e = i.shift(), t = i.length, T(e);
|
|
56
|
+
} finally {
|
|
57
|
+
i.length = O.__r = 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
function ee(e, t, n, r, i, a, o, s, c, l, u) {
|
|
61
|
+
var d, f, p, m, _, v, y = r && r.__k || g, b = t.length;
|
|
62
|
+
for (c = k(n, t, y, c, b), d = 0; d < b; d++) (p = n.__k[d]) != null && (f = p.__i != -1 && y[p.__i] || h, p.__i = d, v = ne(e, p, f, i, a, o, s, c, l, u), m = p.__e, p.ref && f.ref != p.ref && (f.ref && se(f.ref, null, p), u.push(p.ref, p.__c || m, p)), _ == null && m != null && (_ = m), 4 & p.__u ? (c = A(p, c, e), f.__e && (f.__e = null)) : typeof p.type == "function" && v !== void 0 ? c = v : m && (c = m.nextSibling), p.__u &= -7);
|
|
63
|
+
return n.__e = _, c;
|
|
64
|
+
}
|
|
65
|
+
function k(e, t, n, r, i) {
|
|
66
|
+
var a, o, s, c, l, u = n.length, d = u, f = 0;
|
|
67
|
+
for (e.__k = Array(i), a = 0; a < i; a++) (o = t[a]) != null && typeof o != "boolean" && typeof o != "function" ? (typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? o = e.__k[a] = x(null, o, null, null, null) : v(o) ? o = e.__k[a] = x(S, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? o = e.__k[a] = x(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : e.__k[a] = o, c = a + f, o.__ = e, o.__b = e.__b + 1, s = null, (l = o.__i = te(o, n, c, d)) != -1 && (d--, (s = n[l]) && (s.__u |= 2)), s == null || s.__v == null ? (l == -1 && (i > u ? f-- : i < u && f++), typeof o.type != "function" && (o.__u |= 4)) : l != c && (l == c - 1 ? f-- : l == c + 1 ? f++ : (l > c ? f-- : f++, o.__u |= 4))) : e.__k[a] = null;
|
|
68
|
+
if (d) for (a = 0; a < u; a++) (s = n[a]) != null && !(2 & s.__u) && (s.__e == r && (r = w(s)), ce(s, s));
|
|
69
|
+
return r;
|
|
70
|
+
}
|
|
71
|
+
function A(e, t, n) {
|
|
72
|
+
var r, i;
|
|
73
|
+
if (typeof e.type == "function") {
|
|
74
|
+
for (r = e.__k, i = 0; r && i < r.length; i++) r[i] && (r[i].__ = e, t = A(r[i], t, n));
|
|
75
|
+
return t;
|
|
76
|
+
}
|
|
77
|
+
e.__e != t && (t && e.type && !t.parentNode && (t = w(e)), t = n.insertBefore(e.__e, t || null));
|
|
78
|
+
do
|
|
79
|
+
t &&= t.nextSibling;
|
|
80
|
+
while (t != null && t.nodeType == 8);
|
|
81
|
+
return t;
|
|
82
|
+
}
|
|
83
|
+
function te(e, t, n, r) {
|
|
84
|
+
var i, a, o, s = e.key, c = e.type, l = t[n], u = l != null && !(2 & l.__u);
|
|
85
|
+
if (l === null && s == null || u && s == l.key && c == l.type) return n;
|
|
86
|
+
if (r > +!!u) {
|
|
87
|
+
for (i = n - 1, a = n + 1; i >= 0 || a < t.length;) if ((l = t[o = i >= 0 ? i-- : a++]) != null && !(2 & l.__u) && s == l.key && c == l.type) return o;
|
|
88
|
+
}
|
|
89
|
+
return -1;
|
|
90
|
+
}
|
|
91
|
+
function j(e, t, n) {
|
|
92
|
+
t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || _.test(t) ? n : n + "px";
|
|
93
|
+
}
|
|
94
|
+
function M(e, t, n, r, i) {
|
|
95
|
+
var a, o;
|
|
96
|
+
n: if (t == "style") if (typeof n == "string") e.style.cssText = n;
|
|
97
|
+
else {
|
|
98
|
+
if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || j(e.style, t, "");
|
|
99
|
+
if (n) for (t in n) r && n[t] == r[t] || j(e.style, t, n[t]);
|
|
100
|
+
}
|
|
101
|
+
else if (t[0] == "o" && t[1] == "n") a = t != (t = t.replace(d, "$1")), o = t.toLowerCase(), t = o in e || t == "onFocusOut" || t == "onFocusIn" ? o.slice(2) : t.slice(2), e.l ||= {}, e.l[t + a] = n, n ? r ? n[u] = r[u] : (n[u] = f, e.addEventListener(t, a ? m : p, a)) : e.removeEventListener(t, a ? m : p, a);
|
|
102
|
+
else {
|
|
103
|
+
if (i == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
104
|
+
else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
|
|
105
|
+
e[t] = n ?? "";
|
|
106
|
+
break n;
|
|
107
|
+
} catch {}
|
|
108
|
+
typeof n == "function" || (n == null || !1 === n && t[4] != "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && n == 1 ? "" : n));
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function N(e) {
|
|
112
|
+
return function(n) {
|
|
113
|
+
if (this.l) {
|
|
114
|
+
var r = this.l[n.type + e];
|
|
115
|
+
if (n[l] == null) n[l] = f++;
|
|
116
|
+
else if (n[l] < r[u]) return;
|
|
117
|
+
return r(t.event ? t.event(n) : n);
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
function ne(e, n, r, i, a, o, s, c, l, u) {
|
|
122
|
+
var d, f, p, m, h, _, x, T, E, D, O, k, A, te, j, M, N = n.type;
|
|
123
|
+
if (n.constructor !== void 0) return null;
|
|
124
|
+
128 & r.__u && (l = !!(32 & r.__u), o = [c = n.__e = r.__e]), (d = t.__b) && d(n);
|
|
125
|
+
n: if (typeof N == "function") {
|
|
126
|
+
f = s.length;
|
|
127
|
+
try {
|
|
128
|
+
if (E = n.props, D = N.prototype && N.prototype.render, O = (d = N.contextType) && i[d.__c], k = d ? O ? O.props.value : d.__ : i, r.__c ? T = (p = n.__c = r.__c).__ = p.__E : (D ? n.__c = p = new N(E, k) : (n.__c = p = new C(E, k), p.constructor = N, p.render = le), O && O.sub(p), p.state || (p.state = {}), p.__n = i, m = p.__d = !0, p.__h = [], p._sb = []), D && p.__s == null && (p.__s = p.state), D && N.getDerivedStateFromProps != null && (p.__s == p.state && (p.__s = y({}, p.__s)), y(p.__s, N.getDerivedStateFromProps(E, p.__s))), h = p.props, _ = p.state, p.__v = n, m) D && N.getDerivedStateFromProps == null && p.componentWillMount != null && p.componentWillMount(), D && p.componentDidMount != null && p.__h.push(p.componentDidMount);
|
|
129
|
+
else {
|
|
130
|
+
if (D && N.getDerivedStateFromProps == null && E !== h && p.componentWillReceiveProps != null && p.componentWillReceiveProps(E, k), n.__v == r.__v || !p.__e && p.shouldComponentUpdate != null && !1 === p.shouldComponentUpdate(E, p.__s, k)) {
|
|
131
|
+
n.__v != r.__v && (p.props = E, p.state = p.__s, p.__d = !1), n.__e = r.__e, n.__k = r.__k, n.__k.some(function(e) {
|
|
132
|
+
e && (e.__ = n);
|
|
133
|
+
}), g.push.apply(p.__h, p._sb), p._sb = [], p.__h.length && s.push(p), c = w(r);
|
|
134
|
+
break n;
|
|
135
|
+
}
|
|
136
|
+
p.componentWillUpdate != null && p.componentWillUpdate(E, p.__s, k), D && p.componentDidUpdate != null && p.__h.push(function() {
|
|
137
|
+
p.componentDidUpdate(h, _, x);
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
if (p.context = k, p.props = E, p.__P = e, p.__e = !1, A = t.__r, te = 0, D) p.state = p.__s, p.__d = !1, A && A(n), d = p.render(p.props, p.state, p.context), g.push.apply(p.__h, p._sb), p._sb = [];
|
|
141
|
+
else do
|
|
142
|
+
p.__d = !1, A && A(n), d = p.render(p.props, p.state, p.context), p.state = p.__s;
|
|
143
|
+
while (p.__d && ++te < 25);
|
|
144
|
+
p.state = p.__s, p.getChildContext != null && (i = y(y({}, i), p.getChildContext())), D && !m && p.getSnapshotBeforeUpdate != null && (x = p.getSnapshotBeforeUpdate(h, _)), j = d != null && d.type === S && d.key == null ? ae(d.props.children) : d, c = ee(e, v(j) ? j : [j], n, r, i, a, o, s, c, l, u), p.base = n.__e, n.__u &= -161, p.__h.length && s.push(p), T && (p.__E = p.__ = null);
|
|
145
|
+
} catch (e) {
|
|
146
|
+
if (s.length = f, n.__v = null, l || o != null) {
|
|
147
|
+
if (e.then) {
|
|
148
|
+
for (n.__u |= l ? 160 : 128; c && c.nodeType == 8 && c.nextSibling;) c = c.nextSibling;
|
|
149
|
+
o != null && (o[o.indexOf(c)] = null), n.__e = c;
|
|
150
|
+
} else if (o != null) for (M = o.length; M--;) b(o[M]);
|
|
151
|
+
} else n.__e = r.__e;
|
|
152
|
+
n.__k ??= r.__k || [], e.then || re(n), t.__e(e, n, r);
|
|
153
|
+
}
|
|
154
|
+
} else o == null && n.__v == r.__v ? (n.__k = r.__k, n.__e = r.__e) : c = n.__e = oe(r.__e, n, r, i, a, o, s, l, u);
|
|
155
|
+
return (d = t.diffed) && d(n), 128 & n.__u ? void 0 : c;
|
|
156
|
+
}
|
|
157
|
+
function re(e) {
|
|
158
|
+
e && (e.__c && (e.__c.__e = !0), e.__k && e.__k.some(re));
|
|
159
|
+
}
|
|
160
|
+
function ie(e, n, r) {
|
|
161
|
+
for (var i = 0; i < r.length; i++) se(r[i], r[++i], r[++i]);
|
|
162
|
+
t.__c && t.__c(n, e), e.some(function(n) {
|
|
163
|
+
try {
|
|
164
|
+
e = n.__h, n.__h = [], e.some(function(e) {
|
|
165
|
+
e.call(n);
|
|
166
|
+
});
|
|
167
|
+
} catch (e) {
|
|
168
|
+
t.__e(e, n.__v);
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
function ae(e) {
|
|
173
|
+
return typeof e != "object" || !e || e.__b > 0 ? e : v(e) ? e.map(ae) : e.constructor === void 0 ? y({}, e) : null;
|
|
174
|
+
}
|
|
175
|
+
function oe(n, r, i, a, o, s, c, l, u) {
|
|
176
|
+
var d, f, p, m, g, _, y, x = i.props || h, S = r.props, C = r.type;
|
|
177
|
+
if (C == "svg" ? o = "http://www.w3.org/2000/svg" : C == "math" ? o = "http://www.w3.org/1998/Math/MathML" : o ||= "http://www.w3.org/1999/xhtml", s != null) {
|
|
178
|
+
for (d = 0; d < s.length; d++) if ((g = s[d]) && "setAttribute" in g == !!C && (C ? g.localName == C : g.nodeType == 3)) {
|
|
179
|
+
n = g, s[d] = null;
|
|
180
|
+
break;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
if (n == null) {
|
|
184
|
+
if (C == null) return document.createTextNode(S);
|
|
185
|
+
n = document.createElementNS(o, C, S.is && S), l &&= (t.__m && t.__m(r, s), !1), s = null;
|
|
186
|
+
}
|
|
187
|
+
if (C == null) x === S || l && n.data == S || (n.data = S);
|
|
188
|
+
else {
|
|
189
|
+
if (s = C == "textarea" && S.defaultValue != null ? null : s && e.call(n.childNodes), !l && s != null) for (x = {}, d = 0; d < n.attributes.length; d++) x[(g = n.attributes[d]).name] = g.value;
|
|
190
|
+
for (d in x) g = x[d], d == "dangerouslySetInnerHTML" ? p = g : d == "children" || d in S || d == "value" && "defaultValue" in S || d == "checked" && "defaultChecked" in S || M(n, d, null, g, o);
|
|
191
|
+
for (d in S) g = S[d], d == "children" ? m = g : d == "dangerouslySetInnerHTML" ? f = g : d == "value" ? _ = g : d == "checked" ? y = g : l && typeof g != "function" || x[d] === g || M(n, d, g, x[d], o);
|
|
192
|
+
if (f) l || p && (f.__html == p.__html || f.__html == n.innerHTML) || (n.innerHTML = f.__html), r.__k = [];
|
|
193
|
+
else if (p && (n.innerHTML = ""), ee(r.type == "template" ? n.content : n, v(m) ? m : [m], r, i, a, C == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, s, c, s ? s[0] : i.__k && w(i, 0), l, u), s != null) for (d = s.length; d--;) b(s[d]);
|
|
194
|
+
l && C != "textarea" || (d = "value", C == "progress" && _ == null ? n.removeAttribute("value") : _ != null && (_ !== n[d] || C == "progress" && !_ || C == "option" && _ != x[d]) && M(n, d, _, x[d], o), d = "checked", y != null && y != n[d] && M(n, d, y, x[d], o));
|
|
195
|
+
}
|
|
196
|
+
return n;
|
|
197
|
+
}
|
|
198
|
+
function se(e, n, r) {
|
|
199
|
+
try {
|
|
200
|
+
if (typeof e == "function") {
|
|
201
|
+
var i = typeof e.__u == "function";
|
|
202
|
+
i && e.__u(), i && n == null || (e.__u = e(n));
|
|
203
|
+
} else e.current = n;
|
|
204
|
+
} catch (e) {
|
|
205
|
+
t.__e(e, r);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
function ce(e, n, r) {
|
|
209
|
+
var i, a;
|
|
210
|
+
if (t.unmount && t.unmount(e), (i = e.ref) && (i.current && i.current != e.__e || se(i, null, n)), (i = e.__c) != null) {
|
|
211
|
+
if (i.componentWillUnmount) try {
|
|
212
|
+
i.componentWillUnmount();
|
|
213
|
+
} catch (e) {
|
|
214
|
+
t.__e(e, n);
|
|
215
|
+
}
|
|
216
|
+
i.base = i.__P = i.__n = null;
|
|
217
|
+
}
|
|
218
|
+
if (i = e.__k) for (a = 0; a < i.length; a++) i[a] && ce(i[a], n, r || typeof e.type != "function");
|
|
219
|
+
r || b(e.__e), e.__c = e.__ = e.__e = void 0;
|
|
220
|
+
}
|
|
221
|
+
function le(e, t, n) {
|
|
222
|
+
return this.constructor(e, n);
|
|
223
|
+
}
|
|
224
|
+
e = g.slice, t = { __e: function(e, t, n, r) {
|
|
225
|
+
for (var i, a, o; t = t.__;) if ((i = t.__c) && !i.__) try {
|
|
226
|
+
if ((a = i.constructor) && a.getDerivedStateFromError != null && (i.setState(a.getDerivedStateFromError(e)), o = i.__d), i.componentDidCatch != null && (i.componentDidCatch(e, r || {}), o = i.__d), o) return i.__E = i;
|
|
227
|
+
} catch (t) {
|
|
228
|
+
e = t;
|
|
229
|
+
}
|
|
230
|
+
throw e;
|
|
231
|
+
} }, n = 0, r = function(e) {
|
|
232
|
+
return e != null && e.constructor === void 0;
|
|
233
|
+
}, C.prototype.setState = function(e, t) {
|
|
234
|
+
var n = this.__s != null && this.__s != this.state ? this.__s : this.__s = y({}, this.state);
|
|
235
|
+
typeof e == "function" && (e = e(y({}, n), this.props)), e && y(n, e), e != null && this.__v && (t && this._sb.push(t), D(this));
|
|
236
|
+
}, C.prototype.forceUpdate = function(e) {
|
|
237
|
+
this.__v && (this.__e = !0, e && this.__h.push(e), D(this));
|
|
238
|
+
}, C.prototype.render = S, i = [], o = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, s = function(e, t) {
|
|
239
|
+
return e.__v.__b - t.__v.__b;
|
|
240
|
+
}, O.__r = 0, c = Math.random().toString(8), l = "__d" + c, u = "__a" + c, d = /(PointerCapture)$|Capture$/i, f = 0, p = N(!1), m = N(!0);
|
|
241
|
+
//#endregion
|
|
242
|
+
//#region node_modules/preact/hooks/dist/hooks.module.js
|
|
243
|
+
var P, F, ue, de, fe = 0, pe = [], I = t, me = I.__b, he = I.__r, ge = I.diffed, _e = I.__c, ve = I.unmount, ye = I.__;
|
|
244
|
+
function be(e, t) {
|
|
245
|
+
I.__h && I.__h(F, e, fe || t), fe = 0;
|
|
246
|
+
var n = F.__H || (F.__H = {
|
|
247
|
+
__: [],
|
|
248
|
+
__h: []
|
|
249
|
+
});
|
|
250
|
+
return e >= n.__.length && n.__.push({}), n.__[e];
|
|
251
|
+
}
|
|
252
|
+
function xe(e, t) {
|
|
253
|
+
var n = be(P++, 3);
|
|
254
|
+
!I.__s && Oe(n.__H, t) && (n.__ = e, n.u = t, F.__H.__h.push(n));
|
|
255
|
+
}
|
|
256
|
+
function Se(e, t) {
|
|
257
|
+
var n = be(P++, 7);
|
|
258
|
+
return Oe(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
|
|
259
|
+
}
|
|
260
|
+
function Ce() {
|
|
261
|
+
var e = be(P++, 11);
|
|
262
|
+
if (!e.__) {
|
|
263
|
+
for (var t = F.__v; t !== null && !t.__m && t.__ !== null;) t = t.__;
|
|
264
|
+
var n = t.__m || (t.__m = [0, 0]);
|
|
265
|
+
e.__ = "P" + n[0] + "-" + n[1]++;
|
|
266
|
+
}
|
|
267
|
+
return e.__;
|
|
268
|
+
}
|
|
269
|
+
function we() {
|
|
270
|
+
for (var e; e = pe.shift();) {
|
|
271
|
+
var t = e.__H;
|
|
272
|
+
if (e.__P && t) try {
|
|
273
|
+
t.__h.some(L), t.__h.some(De), t.__h = [];
|
|
274
|
+
} catch (n) {
|
|
275
|
+
t.__h = [], I.__e(n, e.__v);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
I.__b = function(e) {
|
|
280
|
+
F = null, me && me(e);
|
|
281
|
+
}, I.__ = function(e, t) {
|
|
282
|
+
e && t.__k && t.__k.__m && (e.__m = t.__k.__m), ye && ye(e, t);
|
|
283
|
+
}, I.__r = function(e) {
|
|
284
|
+
he && he(e), P = 0;
|
|
285
|
+
var t = (F = e.__c).__H;
|
|
286
|
+
t && (ue === F ? (t.__h = [], F.__h = [], t.__.some(function(e) {
|
|
287
|
+
e.__N && (e.__ = e.__N), e.u = e.__N = void 0;
|
|
288
|
+
})) : (t.__h.some(L), t.__h.some(De), t.__h = [], P = 0)), ue = F;
|
|
289
|
+
}, I.diffed = function(e) {
|
|
290
|
+
ge && ge(e);
|
|
291
|
+
var t = e.__c;
|
|
292
|
+
t && t.__H && (t.__H.__h.length && (pe.push(t) !== 1 && de === I.requestAnimationFrame || ((de = I.requestAnimationFrame) || Ee)(we)), t.__H.__.some(function(e) {
|
|
293
|
+
e.u &&= (e.__H = e.u, void 0);
|
|
294
|
+
})), ue = F = null;
|
|
295
|
+
}, I.__c = function(e, t) {
|
|
296
|
+
t.some(function(e) {
|
|
297
|
+
try {
|
|
298
|
+
e.__h.some(L), e.__h = e.__h.filter(function(e) {
|
|
299
|
+
return !e.__ || De(e);
|
|
300
|
+
});
|
|
301
|
+
} catch (n) {
|
|
302
|
+
t.some(function(e) {
|
|
303
|
+
e.__h &&= [];
|
|
304
|
+
}), t = [], I.__e(n, e.__v);
|
|
305
|
+
}
|
|
306
|
+
}), _e && _e(e, t);
|
|
307
|
+
}, I.unmount = function(e) {
|
|
308
|
+
ve && ve(e);
|
|
309
|
+
var t, n = e.__c;
|
|
310
|
+
n && n.__H && (n.__H.__.some(function(e) {
|
|
311
|
+
try {
|
|
312
|
+
L(e);
|
|
313
|
+
} catch (e) {
|
|
314
|
+
t = e;
|
|
315
|
+
}
|
|
316
|
+
}), n.__H = void 0, t && I.__e(t, n.__v));
|
|
317
|
+
};
|
|
318
|
+
var Te = typeof requestAnimationFrame == "function";
|
|
319
|
+
function Ee(e) {
|
|
320
|
+
var t, n = function() {
|
|
321
|
+
clearTimeout(r), Te && cancelAnimationFrame(t), setTimeout(e);
|
|
322
|
+
}, r = setTimeout(n, 35);
|
|
323
|
+
Te && (t = requestAnimationFrame(n));
|
|
324
|
+
}
|
|
325
|
+
function L(e) {
|
|
326
|
+
var t = F, n = e.__c;
|
|
327
|
+
typeof n == "function" && (e.__c = void 0, n()), F = t;
|
|
328
|
+
}
|
|
329
|
+
function De(e) {
|
|
330
|
+
var t = F;
|
|
331
|
+
e.__c = e.__(), F = t;
|
|
332
|
+
}
|
|
333
|
+
function Oe(e, t) {
|
|
334
|
+
return !e || e.length !== t.length || t.some(function(t, n) {
|
|
335
|
+
return t !== e[n];
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
//#endregion
|
|
339
|
+
//#region node_modules/@preact/signals-core/dist/signals-core.module.js
|
|
340
|
+
var ke = Symbol.for("preact-signals");
|
|
341
|
+
function R() {
|
|
342
|
+
if (U > 1) U--;
|
|
343
|
+
else {
|
|
344
|
+
var e, t = !1;
|
|
345
|
+
for ((function() {
|
|
346
|
+
var e = G;
|
|
347
|
+
for (G = void 0; e !== void 0;) {
|
|
348
|
+
var t = e.S;
|
|
349
|
+
if (t.v === e.v) for (var n = t.t; n !== void 0; n = n.x) n.i === e.i && (n.i = t.i);
|
|
350
|
+
e = e.o;
|
|
351
|
+
}
|
|
352
|
+
})(); H !== void 0;) {
|
|
353
|
+
var n = H;
|
|
354
|
+
for (H = void 0, W++; n !== void 0;) {
|
|
355
|
+
var r = n.u;
|
|
356
|
+
if (n.u = void 0, n.f &= -3, !(8 & n.f) && Fe(n)) try {
|
|
357
|
+
n.c();
|
|
358
|
+
} catch (n) {
|
|
359
|
+
t ||= (e = n, !0);
|
|
360
|
+
}
|
|
361
|
+
n = r;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
if (W = 0, U--, t) throw e;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
function Ae(e) {
|
|
368
|
+
if (U > 0) return e();
|
|
369
|
+
Me = ++je, U++;
|
|
370
|
+
try {
|
|
371
|
+
return e();
|
|
372
|
+
} finally {
|
|
373
|
+
R();
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
var z, B = void 0;
|
|
377
|
+
function V(e) {
|
|
378
|
+
var t = B, n = z;
|
|
379
|
+
B = void 0, z = void 0;
|
|
380
|
+
try {
|
|
381
|
+
return e();
|
|
382
|
+
} finally {
|
|
383
|
+
B = t, z = n;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
var H = void 0, U = 0, W = 0, je = 0, Me = 0, G = void 0, K = 0;
|
|
387
|
+
function Ne(e) {
|
|
388
|
+
if (B !== void 0) {
|
|
389
|
+
var t = e.n;
|
|
390
|
+
if (t === void 0 || t.t !== B) return t = {
|
|
391
|
+
i: 0,
|
|
392
|
+
S: e,
|
|
393
|
+
p: B.s,
|
|
394
|
+
n: void 0,
|
|
395
|
+
t: B,
|
|
396
|
+
e: void 0,
|
|
397
|
+
x: void 0,
|
|
398
|
+
r: t
|
|
399
|
+
}, B.s !== void 0 && (B.s.n = t), B.s = t, e.n = t, 32 & B.f && e.S(t), t;
|
|
400
|
+
if (t.i === -1) return t.i = 0, t.n !== void 0 && (t.n.p = t.p, t.p !== void 0 && (t.p.n = t.n), t.p = B.s, t.n = void 0, B.s.n = t, B.s = t), t;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
function q(e, t) {
|
|
404
|
+
this.v = e, this.i = 0, this.n = void 0, this.t = void 0, this.l = 0, this.W = t?.watched, this.Z = t?.unwatched, this.name = t?.name;
|
|
405
|
+
}
|
|
406
|
+
q.prototype.brand = ke, q.prototype.h = function() {
|
|
407
|
+
return !0;
|
|
408
|
+
}, q.prototype.S = function(e) {
|
|
409
|
+
var t = this, n = this.t;
|
|
410
|
+
n !== e && e.e === void 0 && (e.x = n, this.t = e, n === void 0 ? V(function() {
|
|
411
|
+
var e;
|
|
412
|
+
(e = t.W) == null || e.call(t);
|
|
413
|
+
}) : n.e = e);
|
|
414
|
+
}, q.prototype.U = function(e) {
|
|
415
|
+
var t = this;
|
|
416
|
+
if (this.t !== void 0) {
|
|
417
|
+
var n = e.e, r = e.x;
|
|
418
|
+
n !== void 0 && (n.x = r, e.e = void 0), r !== void 0 && (r.e = n, e.x = void 0), e === this.t && (this.t = r, r === void 0 && V(function() {
|
|
419
|
+
var e;
|
|
420
|
+
(e = t.Z) == null || e.call(t);
|
|
421
|
+
}));
|
|
422
|
+
}
|
|
423
|
+
}, q.prototype.subscribe = function(e) {
|
|
424
|
+
var t = this;
|
|
425
|
+
return X(function() {
|
|
426
|
+
var n = t.value;
|
|
427
|
+
V(function() {
|
|
428
|
+
return e(n);
|
|
429
|
+
});
|
|
430
|
+
}, { name: "sub" });
|
|
431
|
+
}, q.prototype.valueOf = function() {
|
|
432
|
+
return this.value;
|
|
433
|
+
}, q.prototype.toString = function() {
|
|
434
|
+
return this.value + "";
|
|
435
|
+
}, q.prototype.toJSON = function() {
|
|
436
|
+
return this.value;
|
|
437
|
+
}, q.prototype.peek = function() {
|
|
438
|
+
var e = this;
|
|
439
|
+
return V(function() {
|
|
440
|
+
return e.value;
|
|
441
|
+
});
|
|
442
|
+
}, Object.defineProperty(q.prototype, "value", {
|
|
443
|
+
get: function() {
|
|
444
|
+
var e = Ne(this);
|
|
445
|
+
return e !== void 0 && (e.i = this.i), this.v;
|
|
446
|
+
},
|
|
447
|
+
set: function(e) {
|
|
448
|
+
if (e !== this.v) {
|
|
449
|
+
if (W > 100) throw Error("Cycle detected");
|
|
450
|
+
(function(e) {
|
|
451
|
+
U !== 0 && W === 0 && e.l !== Me && (e.l = Me, G = {
|
|
452
|
+
S: e,
|
|
453
|
+
v: e.v,
|
|
454
|
+
i: e.i,
|
|
455
|
+
o: G
|
|
456
|
+
});
|
|
457
|
+
})(this), this.v = e, this.i++, K++, U++;
|
|
458
|
+
try {
|
|
459
|
+
for (var t = this.t; t !== void 0; t = t.x) t.t.N();
|
|
460
|
+
} finally {
|
|
461
|
+
R();
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
});
|
|
466
|
+
function Pe(e, t) {
|
|
467
|
+
return new q(e, t);
|
|
468
|
+
}
|
|
469
|
+
function Fe(e) {
|
|
470
|
+
for (var t = e.s; t !== void 0; t = t.n) if (t.S.i !== t.i || !t.S.h() || t.S.i !== t.i) return !0;
|
|
471
|
+
return !1;
|
|
472
|
+
}
|
|
473
|
+
function Ie(e) {
|
|
474
|
+
for (var t = e.s; t !== void 0; t = t.n) {
|
|
475
|
+
var n = t.S.n;
|
|
476
|
+
if (n !== void 0 && (t.r = n), t.S.n = t, t.i = -1, t.n === void 0) {
|
|
477
|
+
e.s = t;
|
|
478
|
+
break;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
function Le(e) {
|
|
483
|
+
for (var t = e.s, n = void 0; t !== void 0;) {
|
|
484
|
+
var r = t.p;
|
|
485
|
+
t.i === -1 ? (t.S.U(t), r !== void 0 && (r.n = t.n), t.n !== void 0 && (t.n.p = r)) : n = t, t.S.n = t.r, t.r !== void 0 && (t.r = void 0), t = r;
|
|
486
|
+
}
|
|
487
|
+
e.s = n;
|
|
488
|
+
}
|
|
489
|
+
function J(e, t) {
|
|
490
|
+
q.call(this, void 0, t), this.x = e, this.s = void 0, this.g = K - 1, this.f = 4;
|
|
491
|
+
}
|
|
492
|
+
J.prototype = new q(), J.prototype.h = function() {
|
|
493
|
+
if (this.f &= -3, 1 & this.f) return !1;
|
|
494
|
+
if ((36 & this.f) == 32 || (this.f &= -5, this.g === K)) return !0;
|
|
495
|
+
if (this.g = K, this.f |= 1, this.i > 0 && !Fe(this)) return this.f &= -2, !0;
|
|
496
|
+
var e = B;
|
|
497
|
+
try {
|
|
498
|
+
Ie(this), B = this;
|
|
499
|
+
var t = this.x();
|
|
500
|
+
(16 & this.f || this.v !== t || this.i === 0) && (this.v = t, this.f &= -17, this.i++);
|
|
501
|
+
} catch (e) {
|
|
502
|
+
this.v = e, this.f |= 16, this.i++;
|
|
503
|
+
}
|
|
504
|
+
return B = e, Le(this), this.f &= -2, !0;
|
|
505
|
+
}, J.prototype.S = function(e) {
|
|
506
|
+
if (this.t === void 0) {
|
|
507
|
+
this.f |= 36;
|
|
508
|
+
for (var t = this.s; t !== void 0; t = t.n) t.S.S(t);
|
|
509
|
+
}
|
|
510
|
+
q.prototype.S.call(this, e);
|
|
511
|
+
}, J.prototype.U = function(e) {
|
|
512
|
+
if (this.t !== void 0 && (q.prototype.U.call(this, e), this.t === void 0)) {
|
|
513
|
+
this.f &= -33;
|
|
514
|
+
for (var t = this.s; t !== void 0; t = t.n) t.S.U(t);
|
|
515
|
+
}
|
|
516
|
+
}, J.prototype.N = function() {
|
|
517
|
+
if (!(2 & this.f)) {
|
|
518
|
+
this.f |= 6;
|
|
519
|
+
for (var e = this.t; e !== void 0; e = e.x) e.t.N();
|
|
520
|
+
}
|
|
521
|
+
}, Object.defineProperty(J.prototype, "value", { get: function() {
|
|
522
|
+
if (1 & this.f) throw Error("Cycle detected");
|
|
523
|
+
var e = Ne(this);
|
|
524
|
+
if (this.h(), e !== void 0 && (e.i = this.i), 16 & this.f) throw this.v;
|
|
525
|
+
return this.v;
|
|
526
|
+
} });
|
|
527
|
+
function Re(e, t) {
|
|
528
|
+
return new J(e, t);
|
|
529
|
+
}
|
|
530
|
+
function ze(e) {
|
|
531
|
+
var t = e.m;
|
|
532
|
+
if (e.m = void 0, typeof t == "function") {
|
|
533
|
+
U++;
|
|
534
|
+
var n = B;
|
|
535
|
+
B = void 0;
|
|
536
|
+
try {
|
|
537
|
+
t();
|
|
538
|
+
} catch (t) {
|
|
539
|
+
throw e.f &= -2, e.f |= 8, Be(e), t;
|
|
540
|
+
} finally {
|
|
541
|
+
B = n, R();
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
function Be(e) {
|
|
546
|
+
for (var t = e.s; t !== void 0; t = t.n) t.S.U(t);
|
|
547
|
+
e.x = void 0, e.s = void 0, ze(e);
|
|
548
|
+
}
|
|
549
|
+
function Ve(e) {
|
|
550
|
+
if (B !== this) throw Error("Out-of-order effect");
|
|
551
|
+
Le(this), B = e, this.f &= -2, 8 & this.f && Be(this), R();
|
|
552
|
+
}
|
|
553
|
+
function Y(e, t) {
|
|
554
|
+
this.x = e, this.m = void 0, this.s = void 0, this.u = void 0, this.f = 32, this.name = t?.name, z && z.push(this);
|
|
555
|
+
}
|
|
556
|
+
Y.prototype.c = function() {
|
|
557
|
+
var e = this.S();
|
|
558
|
+
try {
|
|
559
|
+
if (8 & this.f || this.x === void 0) return;
|
|
560
|
+
var t = this.x();
|
|
561
|
+
typeof t == "function" && (this.m = t);
|
|
562
|
+
} finally {
|
|
563
|
+
e();
|
|
564
|
+
}
|
|
565
|
+
}, Y.prototype.S = function() {
|
|
566
|
+
if (1 & this.f) throw Error("Cycle detected");
|
|
567
|
+
this.f |= 1, this.f &= -9, ze(this), Ie(this), U++;
|
|
568
|
+
var e = B;
|
|
569
|
+
return B = this, Ve.bind(this, e);
|
|
570
|
+
}, Y.prototype.N = function() {
|
|
571
|
+
2 & this.f || (this.f |= 2, this.u = H, H = this);
|
|
572
|
+
}, Y.prototype.d = function() {
|
|
573
|
+
this.f |= 8, 1 & this.f || Be(this);
|
|
574
|
+
}, Y.prototype.dispose = function() {
|
|
575
|
+
this.d();
|
|
576
|
+
};
|
|
577
|
+
function X(e, t) {
|
|
578
|
+
var n = new Y(e, t);
|
|
579
|
+
try {
|
|
580
|
+
n.c();
|
|
581
|
+
} catch (e) {
|
|
582
|
+
throw n.d(), e;
|
|
583
|
+
}
|
|
584
|
+
var r = n.d.bind(n);
|
|
585
|
+
return r[Symbol.dispose] = r, r;
|
|
586
|
+
}
|
|
587
|
+
//#endregion
|
|
588
|
+
//#region node_modules/@preact/signals/dist/signals.module.js
|
|
589
|
+
var He, Z, Ue = typeof window < "u" && !!window.__PREACT_SIGNALS_DEVTOOLS__, We = [];
|
|
590
|
+
X(function() {
|
|
591
|
+
He = this.N;
|
|
592
|
+
})();
|
|
593
|
+
function Q(e, n) {
|
|
594
|
+
t[e] = n.bind(null, t[e] || function() {});
|
|
595
|
+
}
|
|
596
|
+
function $(e) {
|
|
597
|
+
if (Z) {
|
|
598
|
+
var t = Z;
|
|
599
|
+
Z = void 0, t();
|
|
600
|
+
}
|
|
601
|
+
Z = e && e.S();
|
|
602
|
+
}
|
|
603
|
+
function Ge(e) {
|
|
604
|
+
var t = this, n = e.data, i = qe(n);
|
|
605
|
+
i.name = "ReactiveDom", i.value = n;
|
|
606
|
+
var a = Se(function() {
|
|
607
|
+
for (var e = t, n = t.__v; n = n.__;) if (n.__c) {
|
|
608
|
+
n.__c.__$f |= 4;
|
|
609
|
+
break;
|
|
610
|
+
}
|
|
611
|
+
var a = Re(function() {
|
|
612
|
+
var e = i.value.value;
|
|
613
|
+
return e === 0 ? 0 : !0 === e ? "" : e || "";
|
|
614
|
+
}), o = Re(function() {
|
|
615
|
+
return !Array.isArray(a.value) && !r(a.value);
|
|
616
|
+
}), s = X(function() {
|
|
617
|
+
if (this.N = Xe, o.value) {
|
|
618
|
+
var t = a.value;
|
|
619
|
+
e.__v && e.__v.__e && e.__v.__e.nodeType === 3 && (e.__v.__e.data = t);
|
|
620
|
+
}
|
|
621
|
+
}), c = t.__$u.d;
|
|
622
|
+
return t.__$u.d = function() {
|
|
623
|
+
s(), c.call(this);
|
|
624
|
+
}, [o, a];
|
|
625
|
+
}, []), o = a[0], s = a[1];
|
|
626
|
+
return o.value ? s.peek() : s.value;
|
|
627
|
+
}
|
|
628
|
+
Ge.displayName = "ReactiveTextNode", Object.defineProperties(q.prototype, {
|
|
629
|
+
constructor: {
|
|
630
|
+
configurable: !0,
|
|
631
|
+
value: void 0
|
|
632
|
+
},
|
|
633
|
+
type: {
|
|
634
|
+
configurable: !0,
|
|
635
|
+
value: Ge
|
|
636
|
+
},
|
|
637
|
+
props: {
|
|
638
|
+
configurable: !0,
|
|
639
|
+
get: function() {
|
|
640
|
+
var e = this;
|
|
641
|
+
return { data: { get value() {
|
|
642
|
+
return e.value;
|
|
643
|
+
} } };
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
__b: {
|
|
647
|
+
configurable: !0,
|
|
648
|
+
value: 1
|
|
649
|
+
}
|
|
650
|
+
}), Q("__b", function(e, t) {
|
|
651
|
+
if (typeof t.type == "string") {
|
|
652
|
+
var n, r = t.props;
|
|
653
|
+
for (var i in r) if (i !== "children") {
|
|
654
|
+
var a = r[i];
|
|
655
|
+
a instanceof q && (n || (t.__np = n = {}), n[i] = a, r[i] = a.peek());
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
e(t);
|
|
659
|
+
}), Q("__r", function(e, t) {
|
|
660
|
+
if (e(t), t.type !== S) {
|
|
661
|
+
$();
|
|
662
|
+
var n, r = t.__c;
|
|
663
|
+
r && (r.__$f &= -2, (n = r.__$u) === void 0 && (r.__$u = n = function(e, t) {
|
|
664
|
+
var n;
|
|
665
|
+
return X(function() {
|
|
666
|
+
n = this;
|
|
667
|
+
}, { name: t }), n.c = e, n;
|
|
668
|
+
}(function(e) {
|
|
669
|
+
return function() {
|
|
670
|
+
var t;
|
|
671
|
+
Ue && ((t = this.y) == null || t.call(this)), e.__$f |= 1, e.setState({});
|
|
672
|
+
};
|
|
673
|
+
}(r), typeof t.type == "function" ? t.type.displayName || t.type.name : ""))), $(n);
|
|
674
|
+
}
|
|
675
|
+
}), Q("__e", function(e, t, n, r) {
|
|
676
|
+
$(), e(t, n, r);
|
|
677
|
+
}), Q("diffed", function(e, t) {
|
|
678
|
+
$();
|
|
679
|
+
var n;
|
|
680
|
+
if (typeof t.type == "string" && (n = t.__e)) {
|
|
681
|
+
var r = t.__np, i = t.props, a = n.U;
|
|
682
|
+
if (a) for (var o in a) {
|
|
683
|
+
var s = a[o];
|
|
684
|
+
s === void 0 || r && o in r || (s.d(), a[o] = void 0);
|
|
685
|
+
}
|
|
686
|
+
if (r) for (var c in a || (a = {}, n.U = a), r) {
|
|
687
|
+
var l = a[c], u = r[c];
|
|
688
|
+
l === void 0 ? (l = Ke(n, c, u, i), a[c] = l) : l.o(u, i);
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
e(t);
|
|
692
|
+
});
|
|
693
|
+
function Ke(e, t, n, r) {
|
|
694
|
+
var i = t in e && e.ownerSVGElement === void 0, a = Pe(n);
|
|
695
|
+
return {
|
|
696
|
+
o: function(e, t) {
|
|
697
|
+
a.value = e, r = t;
|
|
698
|
+
},
|
|
699
|
+
d: X(function() {
|
|
700
|
+
this.N = Xe;
|
|
701
|
+
var n = a.value.value;
|
|
702
|
+
r[t] !== n && (r[t] = n, i ? e[t] = n : n != null && (!1 !== n || t[4] === "-") ? e.setAttribute(t, n) : e.removeAttribute(t));
|
|
703
|
+
})
|
|
704
|
+
};
|
|
705
|
+
}
|
|
706
|
+
Q("unmount", function(e, t) {
|
|
707
|
+
if (typeof t.type == "string") {
|
|
708
|
+
var n = t.__e;
|
|
709
|
+
if (n) {
|
|
710
|
+
var r = n.U;
|
|
711
|
+
if (r) for (var i in n.U = void 0, r) {
|
|
712
|
+
var a = r[i];
|
|
713
|
+
a && a.d();
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
var o = t.__np;
|
|
717
|
+
if (o) {
|
|
718
|
+
var s = t.props;
|
|
719
|
+
for (var c in o) s[c] = o[c];
|
|
720
|
+
}
|
|
721
|
+
t.__np = void 0;
|
|
722
|
+
} else {
|
|
723
|
+
var l = t.__c;
|
|
724
|
+
if (l) {
|
|
725
|
+
var u = l.__$u;
|
|
726
|
+
u && (l.__$u = void 0, u.d());
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
e(t);
|
|
730
|
+
}), Q("__h", function(e, t, n, r) {
|
|
731
|
+
r < 3 && (t.__$f |= 2), e(t, n, r);
|
|
732
|
+
}), C.prototype.shouldComponentUpdate = function(e, t) {
|
|
733
|
+
if (this.__R) return !0;
|
|
734
|
+
var n = this.__$u, r = n && n.s !== void 0;
|
|
735
|
+
for (var i in t) return !0;
|
|
736
|
+
if (this.__f || typeof this.u == "boolean" && !0 === this.u) {
|
|
737
|
+
var a = 2 & this.__$f;
|
|
738
|
+
if (!(r || a || 4 & this.__$f) || 1 & this.__$f) return !0;
|
|
739
|
+
} else if (!(r || 4 & this.__$f) || 3 & this.__$f) return !0;
|
|
740
|
+
for (var o in e) if (o !== "__source" && e[o] !== this.props[o]) return !0;
|
|
741
|
+
for (var s in this.props) if (!(s in e)) return !0;
|
|
742
|
+
return !1;
|
|
743
|
+
};
|
|
744
|
+
function qe(e, t) {
|
|
745
|
+
return Se(function() {
|
|
746
|
+
return Pe(e, t);
|
|
747
|
+
}, []);
|
|
748
|
+
}
|
|
749
|
+
var Je = function(e) {
|
|
750
|
+
queueMicrotask(function() {
|
|
751
|
+
queueMicrotask(e);
|
|
752
|
+
});
|
|
753
|
+
};
|
|
754
|
+
function Ye() {
|
|
755
|
+
Ae(function() {
|
|
756
|
+
for (var e; e = We.shift();) He.call(e);
|
|
757
|
+
});
|
|
758
|
+
}
|
|
759
|
+
function Xe() {
|
|
760
|
+
We.push(this) === 1 && (t.requestAnimationFrame || Je)(Ye);
|
|
761
|
+
}
|
|
762
|
+
//#endregion
|
|
763
|
+
export { xe as a, Ce as i, Pe as n, S as o, Se as r, t as s, qe as t };
|