| @@ -8,99 +8,102 @@ | ||
| 8 | 8 | __defProp(target, name, { get: all[name], enumerable: true }); |
| 9 | 9 | }; |
| 10 | 10 | |
| 11 | 11 | // node_modules/preact/dist/preact.module.js |
| 12 | -function m(n3, l6) { | |
| 12 | +function d(n3, l6) { | |
| 13 | 13 | for (var u5 in l6) n3[u5] = l6[u5]; |
| 14 | 14 | return n3; |
| 15 | 15 | } |
| 16 | -function b(n3) { | |
| 16 | +function w(n3) { | |
| 17 | 17 | n3 && n3.parentNode && n3.parentNode.removeChild(n3); |
| 18 | 18 | } |
| 19 | -function k(l6, u5, t5) { | |
| 20 | - var i6, r5, o4, e4 = {}; | |
| 21 | - for (o4 in u5) "key" == o4 ? i6 = u5[o4] : "ref" == o4 ? r5 = u5[o4] : e4[o4] = u5[o4]; | |
| 22 | - if (arguments.length > 2 && (e4.children = arguments.length > 3 ? n.call(arguments, 2) : t5), "function" == typeof l6 && null != l6.defaultProps) for (o4 in l6.defaultProps) void 0 === e4[o4] && (e4[o4] = l6.defaultProps[o4]); | |
| 23 | - return x(l6, e4, i6, r5, null); | |
| 19 | +function _(l6, u5, t5) { | |
| 20 | + var i6, o4, r5, f5 = {}; | |
| 21 | + for (r5 in u5) "key" == r5 ? i6 = u5[r5] : "ref" == r5 ? o4 = u5[r5] : f5[r5] = u5[r5]; | |
| 22 | + if (arguments.length > 2 && (f5.children = arguments.length > 3 ? n.call(arguments, 2) : t5), "function" == typeof l6 && null != l6.defaultProps) for (r5 in l6.defaultProps) void 0 === f5[r5] && (f5[r5] = l6.defaultProps[r5]); | |
| 23 | + return g(l6, f5, i6, o4, null); | |
| 24 | 24 | } |
| 25 | -function x(n3, t5, i6, r5, o4) { | |
| 26 | - var e4 = { type: n3, props: t5, key: i6, ref: r5, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: null == o4 ? ++u : o4, __i: -1, __u: 0 }; | |
| 27 | - return null == o4 && null != l.vnode && l.vnode(e4), e4; | |
| 25 | +function g(n3, t5, i6, o4, r5) { | |
| 26 | + var f5 = { type: n3, props: t5, key: i6, ref: o4, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: null == r5 ? ++u : r5, __i: -1, __u: 0 }; | |
| 27 | + return null == r5 && null != l.vnode && l.vnode(f5), f5; | |
| 28 | 28 | } |
| 29 | -function S(n3) { | |
| 29 | +function b(n3) { | |
| 30 | 30 | return n3.children; |
| 31 | 31 | } |
| 32 | -function C(n3, l6) { | |
| 32 | +function k(n3, l6) { | |
| 33 | 33 | this.props = n3, this.context = l6; |
| 34 | 34 | } |
| 35 | -function $(n3, l6) { | |
| 36 | - if (null == l6) return n3.__ ? $(n3.__, n3.__i + 1) : null; | |
| 35 | +function x(n3, l6) { | |
| 36 | + if (null == l6) return n3.__ ? x(n3.__, n3.__i + 1) : null; | |
| 37 | 37 | for (var u5; l6 < n3.__k.length; l6++) if (null != (u5 = n3.__k[l6]) && null != u5.__e) return u5.__e; |
| 38 | - return "function" == typeof n3.type ? $(n3) : null; | |
| 38 | + return "function" == typeof n3.type ? x(n3) : null; | |
| 39 | 39 | } |
| 40 | -function I(n3) { | |
| 41 | - if (n3.__P && n3.__d) { | |
| 42 | - var u5 = n3.__v, t5 = u5.__e, i6 = [], r5 = [], o4 = m({}, u5); | |
| 43 | - o4.__v = u5.__v + 1, l.vnode && l.vnode(o4), q(n3.__P, o4, u5, n3.__n, n3.__P.namespaceURI, 32 & u5.__u ? [t5] : null, i6, null == t5 ? $(u5) : t5, !!(32 & u5.__u), r5), o4.__v = u5.__v, o4.__.__k[o4.__i] = o4, D(i6, o4, r5), u5.__e = u5.__ = null, o4.__e != t5 && P(o4); | |
| 40 | +function C(n3) { | |
| 41 | + var l6, u5; | |
| 42 | + if (null != (n3 = n3.__) && null != n3.__c) { | |
| 43 | + for (n3.__e = n3.__c.base = null, l6 = 0; l6 < n3.__k.length; l6++) if (null != (u5 = n3.__k[l6]) && null != u5.__e) { | |
| 44 | + n3.__e = n3.__c.base = u5.__e; | |
| 45 | + break; | |
| 46 | + } | |
| 47 | + return C(n3); | |
| 44 | 48 | } |
| 45 | 49 | } |
| 46 | -function P(n3) { | |
| 47 | - if (null != (n3 = n3.__) && null != n3.__c) return n3.__e = n3.__c.base = null, n3.__k.some(function(l6) { | |
| 48 | - if (null != l6 && null != l6.__e) return n3.__e = n3.__c.base = l6.__e; | |
| 49 | - }), P(n3); | |
| 50 | +function M(n3) { | |
| 51 | + (!n3.__d && (n3.__d = true) && i.push(n3) && !P.__r++ || o !== l.debounceRendering) && ((o = l.debounceRendering) || r)(P); | |
| 50 | 52 | } |
| 51 | -function A(n3) { | |
| 52 | - (!n3.__d && (n3.__d = true) && i.push(n3) && !H.__r++ || r != l.debounceRendering) && ((r = l.debounceRendering) || o)(H); | |
| 53 | +function P() { | |
| 54 | + var n3, u5, t5, o4, r5, e4, c5, s6; | |
| 55 | + for (i.sort(f); n3 = i.shift(); ) n3.__d && (u5 = i.length, o4 = void 0, e4 = (r5 = (t5 = n3).__v).__e, c5 = [], s6 = [], t5.__P && ((o4 = d({}, r5)).__v = r5.__v + 1, l.vnode && l.vnode(o4), O(t5.__P, o4, r5, t5.__n, t5.__P.namespaceURI, 32 & r5.__u ? [e4] : null, c5, null == e4 ? x(r5) : e4, !!(32 & r5.__u), s6), o4.__v = r5.__v, o4.__.__k[o4.__i] = o4, j(c5, o4, s6), o4.__e != e4 && C(o4)), i.length > u5 && i.sort(f)); | |
| 56 | + P.__r = 0; | |
| 53 | 57 | } |
| 54 | -function H() { | |
| 55 | - try { | |
| 56 | - for (var n3, l6 = 1; i.length; ) i.length > l6 && i.sort(e), n3 = i.shift(), l6 = i.length, I(n3); | |
| 57 | - } finally { | |
| 58 | - i.length = H.__r = 0; | |
| 59 | - } | |
| 58 | +function S(n3, l6, u5, t5, i6, o4, r5, f5, e4, c5, s6) { | |
| 59 | + var a5, p6, y5, d6, w5, _5 = t5 && t5.__k || v, g3 = l6.length; | |
| 60 | + for (u5.__d = e4, $(u5, l6, _5), e4 = u5.__d, a5 = 0; a5 < g3; a5++) null != (y5 = u5.__k[a5]) && (p6 = -1 === y5.__i ? h : _5[y5.__i] || h, y5.__i = a5, O(n3, y5, p6, i6, o4, r5, f5, e4, c5, s6), d6 = y5.__e, y5.ref && p6.ref != y5.ref && (p6.ref && N(p6.ref, null, y5), s6.push(y5.ref, y5.__c || d6, y5)), null == w5 && null != d6 && (w5 = d6), 65536 & y5.__u || p6.__k === y5.__k ? e4 = I(y5, e4, n3) : "function" == typeof y5.type && void 0 !== y5.__d ? e4 = y5.__d : d6 && (e4 = d6.nextSibling), y5.__d = void 0, y5.__u &= -196609); | |
| 61 | + u5.__d = e4, u5.__e = w5; | |
| 60 | 62 | } |
| 61 | -function L(n3, l6, u5, t5, i6, r5, o4, e4, f5, c5, s6) { | |
| 62 | - var a5, h5, p6, v6, y5, _5, g3, m4 = t5 && t5.__k || w, b4 = l6.length; | |
| 63 | - for (f5 = T(u5, l6, m4, f5, b4), a5 = 0; a5 < b4; a5++) null != (p6 = u5.__k[a5]) && (h5 = -1 != p6.__i && m4[p6.__i] || d, p6.__i = a5, _5 = q(n3, p6, h5, i6, r5, o4, e4, f5, c5, s6), v6 = p6.__e, p6.ref && h5.ref != p6.ref && (h5.ref && J(h5.ref, null, p6), s6.push(p6.ref, p6.__c || v6, p6)), null == y5 && null != v6 && (y5 = v6), (g3 = !!(4 & p6.__u)) || h5.__k === p6.__k ? (f5 = j(p6, f5, n3, g3), g3 && h5.__e && (h5.__e = null)) : "function" == typeof p6.type && void 0 !== _5 ? f5 = _5 : v6 && (f5 = v6.nextSibling), p6.__u &= -7); | |
| 64 | - return u5.__e = y5, f5; | |
| 63 | +function $(n3, l6, u5) { | |
| 64 | + var t5, i6, o4, r5, f5, e4 = l6.length, c5 = u5.length, s6 = c5, a5 = 0; | |
| 65 | + for (n3.__k = [], t5 = 0; t5 < e4; t5++) null != (i6 = l6[t5]) && "boolean" != typeof i6 && "function" != typeof i6 ? (r5 = t5 + a5, (i6 = n3.__k[t5] = "string" == typeof i6 || "number" == typeof i6 || "bigint" == typeof i6 || i6.constructor == String ? g(null, i6, null, null, null) : y(i6) ? g(b, { children: i6 }, null, null, null) : void 0 === i6.constructor && i6.__b > 0 ? g(i6.type, i6.props, i6.key, i6.ref ? i6.ref : null, i6.__v) : i6).__ = n3, i6.__b = n3.__b + 1, o4 = null, -1 !== (f5 = i6.__i = L(i6, u5, r5, s6)) && (s6--, (o4 = u5[f5]) && (o4.__u |= 131072)), null == o4 || null === o4.__v ? (-1 == f5 && a5--, "function" != typeof i6.type && (i6.__u |= 65536)) : f5 !== r5 && (f5 == r5 - 1 ? a5-- : f5 == r5 + 1 ? a5++ : (f5 > r5 ? a5-- : a5++, i6.__u |= 65536))) : i6 = n3.__k[t5] = null; | |
| 66 | + if (s6) for (t5 = 0; t5 < c5; t5++) null != (o4 = u5[t5]) && 0 == (131072 & o4.__u) && (o4.__e == n3.__d && (n3.__d = x(o4)), V(o4, o4)); | |
| 65 | 67 | } |
| 66 | -function T(n3, l6, u5, t5, i6) { | |
| 67 | - var r5, o4, e4, f5, c5, s6 = u5.length, a5 = s6, h5 = 0; | |
| 68 | - for (n3.__k = new Array(i6), r5 = 0; r5 < i6; r5++) null != (o4 = l6[r5]) && "boolean" != typeof o4 && "function" != typeof o4 ? ("string" == typeof o4 || "number" == typeof o4 || "bigint" == typeof o4 || o4.constructor == String ? o4 = n3.__k[r5] = x(null, o4, null, null, null) : g(o4) ? o4 = n3.__k[r5] = x(S, { children: o4 }, null, null, null) : void 0 === o4.constructor && o4.__b > 0 ? o4 = n3.__k[r5] = x(o4.type, o4.props, o4.key, o4.ref ? o4.ref : null, o4.__v) : n3.__k[r5] = o4, f5 = r5 + h5, o4.__ = n3, o4.__b = n3.__b + 1, e4 = null, -1 != (c5 = o4.__i = O(o4, u5, f5, a5)) && (a5--, (e4 = u5[c5]) && (e4.__u |= 2)), null == e4 || null == e4.__v ? (-1 == c5 && (i6 > s6 ? h5-- : i6 < s6 && h5++), "function" != typeof o4.type && (o4.__u |= 4)) : c5 != f5 && (c5 == f5 - 1 ? h5-- : c5 == f5 + 1 ? h5++ : (c5 > f5 ? h5-- : h5++, o4.__u |= 4))) : n3.__k[r5] = null; | |
| 69 | - if (a5) for (r5 = 0; r5 < s6; r5++) null != (e4 = u5[r5]) && 0 == (2 & e4.__u) && (e4.__e == t5 && (t5 = $(e4)), K(e4, e4)); | |
| 70 | - return t5; | |
| 71 | -} | |
| 72 | -function j(n3, l6, u5, t5) { | |
| 73 | - var i6, r5; | |
| 68 | +function I(n3, l6, u5) { | |
| 69 | + var t5, i6; | |
| 74 | 70 | if ("function" == typeof n3.type) { |
| 75 | - for (i6 = n3.__k, r5 = 0; i6 && r5 < i6.length; r5++) i6[r5] && (i6[r5].__ = n3, l6 = j(i6[r5], l6, u5, t5)); | |
| 71 | + for (t5 = n3.__k, i6 = 0; t5 && i6 < t5.length; i6++) t5[i6] && (t5[i6].__ = n3, l6 = I(t5[i6], l6, u5)); | |
| 76 | 72 | return l6; |
| 77 | 73 | } |
| 78 | - n3.__e != l6 && (t5 && (l6 && n3.type && !l6.parentNode && (l6 = $(n3)), u5.insertBefore(n3.__e, l6 || null)), l6 = n3.__e); | |
| 74 | + n3.__e != l6 && (l6 && n3.type && !u5.contains(l6) && (l6 = x(n3)), u5.insertBefore(n3.__e, l6 || null), l6 = n3.__e); | |
| 79 | 75 | do { |
| 80 | 76 | l6 = l6 && l6.nextSibling; |
| 81 | - } while (null != l6 && 8 == l6.nodeType); | |
| 77 | + } while (null != l6 && 8 === l6.nodeType); | |
| 82 | 78 | return l6; |
| 83 | 79 | } |
| 84 | -function O(n3, l6, u5, t5) { | |
| 85 | - var i6, r5, o4, e4 = n3.key, f5 = n3.type, c5 = l6[u5], s6 = null != c5 && 0 == (2 & c5.__u); | |
| 86 | - if (null === c5 && null == e4 || s6 && e4 == c5.key && f5 == c5.type) return u5; | |
| 87 | - if (t5 > (s6 ? 1 : 0)) { | |
| 88 | - for (i6 = u5 - 1, r5 = u5 + 1; i6 >= 0 || r5 < l6.length; ) if (null != (c5 = l6[o4 = i6 >= 0 ? i6-- : r5++]) && 0 == (2 & c5.__u) && e4 == c5.key && f5 == c5.type) return o4; | |
| 80 | +function L(n3, l6, u5, t5) { | |
| 81 | + var i6 = n3.key, o4 = n3.type, r5 = u5 - 1, f5 = u5 + 1, e4 = l6[u5]; | |
| 82 | + if (null === e4 || e4 && i6 == e4.key && o4 === e4.type && 0 == (131072 & e4.__u)) return u5; | |
| 83 | + if (t5 > (null != e4 && 0 == (131072 & e4.__u) ? 1 : 0)) for (; r5 >= 0 || f5 < l6.length; ) { | |
| 84 | + if (r5 >= 0) { | |
| 85 | + if ((e4 = l6[r5]) && 0 == (131072 & e4.__u) && i6 == e4.key && o4 === e4.type) return r5; | |
| 86 | + r5--; | |
| 87 | + } | |
| 88 | + if (f5 < l6.length) { | |
| 89 | + if ((e4 = l6[f5]) && 0 == (131072 & e4.__u) && i6 == e4.key && o4 === e4.type) return f5; | |
| 90 | + f5++; | |
| 91 | + } | |
| 89 | 92 | } |
| 90 | 93 | return -1; |
| 91 | 94 | } |
| 92 | -function z(n3, l6, u5) { | |
| 93 | - "-" == l6[0] ? n3.setProperty(l6, null == u5 ? "" : u5) : n3[l6] = null == u5 ? "" : "number" != typeof u5 || _.test(l6) ? u5 : u5 + "px"; | |
| 95 | +function T(n3, l6, u5) { | |
| 96 | + "-" === l6[0] ? n3.setProperty(l6, null == u5 ? "" : u5) : n3[l6] = null == u5 ? "" : "number" != typeof u5 || p.test(l6) ? u5 : u5 + "px"; | |
| 94 | 97 | } |
| 95 | -function N(n3, l6, u5, t5, i6) { | |
| 96 | - var r5, o4; | |
| 97 | - n: if ("style" == l6) if ("string" == typeof u5) n3.style.cssText = u5; | |
| 98 | +function A(n3, l6, u5, t5, i6) { | |
| 99 | + var o4; | |
| 100 | + n: if ("style" === l6) if ("string" == typeof u5) n3.style.cssText = u5; | |
| 98 | 101 | else { |
| 99 | - if ("string" == typeof t5 && (n3.style.cssText = t5 = ""), t5) for (l6 in t5) u5 && l6 in u5 || z(n3.style, l6, ""); | |
| 100 | - if (u5) for (l6 in u5) t5 && u5[l6] == t5[l6] || z(n3.style, l6, u5[l6]); | |
| 102 | + if ("string" == typeof t5 && (n3.style.cssText = t5 = ""), t5) for (l6 in t5) u5 && l6 in u5 || T(n3.style, l6, ""); | |
| 103 | + if (u5) for (l6 in u5) t5 && u5[l6] === t5[l6] || T(n3.style, l6, u5[l6]); | |
| 101 | 104 | } |
| 102 | - else if ("o" == l6[0] && "n" == l6[1]) r5 = l6 != (l6 = l6.replace(a, "$1")), o4 = l6.toLowerCase(), l6 = o4 in n3 || "onFocusOut" == l6 || "onFocusIn" == l6 ? o4.slice(2) : l6.slice(2), n3.l || (n3.l = {}), n3.l[l6 + r5] = u5, u5 ? t5 ? u5[s] = t5[s] : (u5[s] = h, n3.addEventListener(l6, r5 ? v : p, r5)) : n3.removeEventListener(l6, r5 ? v : p, r5); | |
| 105 | + else if ("o" === l6[0] && "n" === l6[1]) o4 = l6 !== (l6 = l6.replace(/(PointerCapture)$|Capture$/i, "$1")), l6 = l6.toLowerCase() in n3 || "onFocusOut" === l6 || "onFocusIn" === l6 ? l6.toLowerCase().slice(2) : l6.slice(2), n3.l || (n3.l = {}), n3.l[l6 + o4] = u5, u5 ? t5 ? u5.u = t5.u : (u5.u = e, n3.addEventListener(l6, o4 ? s : c, o4)) : n3.removeEventListener(l6, o4 ? s : c, o4); | |
| 103 | 106 | else { |
| 104 | 107 | if ("http://www.w3.org/2000/svg" == i6) l6 = l6.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s"); |
| 105 | 108 | else if ("width" != l6 && "height" != l6 && "href" != l6 && "list" != l6 && "form" != l6 && "tabIndex" != l6 && "download" != l6 && "rowSpan" != l6 && "colSpan" != l6 && "role" != l6 && "popover" != l6 && l6 in n3) try { |
| 106 | 109 | n3[l6] = null == u5 ? "" : u5; |
| @@ -106,62 +109,59 @@ | ||
| 106 | 109 | n3[l6] = null == u5 ? "" : u5; |
| 107 | 110 | break n; |
| 108 | 111 | } catch (n4) { |
| 109 | 112 | } |
| 110 | - "function" == typeof u5 || (null == u5 || false === u5 && "-" != l6[4] ? n3.removeAttribute(l6) : n3.setAttribute(l6, "popover" == l6 && 1 == u5 ? "" : u5)); | |
| 113 | + "function" == typeof u5 || (null == u5 || false === u5 && "-" !== l6[4] ? n3.removeAttribute(l6) : n3.setAttribute(l6, "popover" == l6 && 1 == u5 ? "" : u5)); | |
| 111 | 114 | } |
| 112 | 115 | } |
| 113 | -function V(n3) { | |
| 116 | +function F(n3) { | |
| 114 | 117 | return function(u5) { |
| 115 | 118 | if (this.l) { |
| 116 | 119 | var t5 = this.l[u5.type + n3]; |
| 117 | - if (null == u5[c]) u5[c] = h++; | |
| 118 | - else if (u5[c] < t5[s]) return; | |
| 120 | + if (null == u5.t) u5.t = e++; | |
| 121 | + else if (u5.t < t5.u) return; | |
| 119 | 122 | return t5(l.event ? l.event(u5) : u5); |
| 120 | 123 | } |
| 121 | 124 | }; |
| 122 | 125 | } |
| 123 | -function q(n3, u5, t5, i6, r5, o4, e4, f5, c5, s6) { | |
| 124 | - var a5, h5, p6, v6, y5, d6, _5, k3, x3, M, $2, I2, P2, A3, H2, T3 = u5.type; | |
| 126 | +function O(n3, u5, t5, i6, o4, r5, f5, e4, c5, s6) { | |
| 127 | + var a5, h5, v6, p6, w5, _5, g3, m3, x3, C3, M2, P2, $2, I2, H, L2, T3 = u5.type; | |
| 125 | 128 | if (void 0 !== u5.constructor) return null; |
| 126 | - 128 & t5.__u && (c5 = !!(32 & t5.__u), o4 = [f5 = u5.__e = t5.__e]), (a5 = l.__b) && a5(u5); | |
| 129 | + 128 & t5.__u && (c5 = !!(32 & t5.__u), r5 = [e4 = u5.__e = t5.__e]), (a5 = l.__b) && a5(u5); | |
| 127 | 130 | n: if ("function" == typeof T3) try { |
| 128 | - if (k3 = u5.props, x3 = T3.prototype && T3.prototype.render, M = (a5 = T3.contextType) && i6[a5.__c], $2 = a5 ? M ? M.props.value : a5.__ : i6, t5.__c ? _5 = (h5 = u5.__c = t5.__c).__ = h5.__E : (x3 ? u5.__c = h5 = new T3(k3, $2) : (u5.__c = h5 = new C(k3, $2), h5.constructor = T3, h5.render = Q), M && M.sub(h5), h5.state || (h5.state = {}), h5.__n = i6, p6 = h5.__d = true, h5.__h = [], h5._sb = []), x3 && null == h5.__s && (h5.__s = h5.state), x3 && null != T3.getDerivedStateFromProps && (h5.__s == h5.state && (h5.__s = m({}, h5.__s)), m(h5.__s, T3.getDerivedStateFromProps(k3, h5.__s))), v6 = h5.props, y5 = h5.state, h5.__v = u5, p6) x3 && null == T3.getDerivedStateFromProps && null != h5.componentWillMount && h5.componentWillMount(), x3 && null != h5.componentDidMount && h5.__h.push(h5.componentDidMount); | |
| 131 | + if (m3 = u5.props, x3 = "prototype" in T3 && T3.prototype.render, C3 = (a5 = T3.contextType) && i6[a5.__c], M2 = a5 ? C3 ? C3.props.value : a5.__ : i6, t5.__c ? g3 = (h5 = u5.__c = t5.__c).__ = h5.__E : (x3 ? u5.__c = h5 = new T3(m3, M2) : (u5.__c = h5 = new k(m3, M2), h5.constructor = T3, h5.render = q), C3 && C3.sub(h5), h5.props = m3, h5.state || (h5.state = {}), h5.context = M2, h5.__n = i6, v6 = h5.__d = true, h5.__h = [], h5._sb = []), x3 && null == h5.__s && (h5.__s = h5.state), x3 && null != T3.getDerivedStateFromProps && (h5.__s == h5.state && (h5.__s = d({}, h5.__s)), d(h5.__s, T3.getDerivedStateFromProps(m3, h5.__s))), p6 = h5.props, w5 = h5.state, h5.__v = u5, v6) x3 && null == T3.getDerivedStateFromProps && null != h5.componentWillMount && h5.componentWillMount(), x3 && null != h5.componentDidMount && h5.__h.push(h5.componentDidMount); | |
| 129 | 132 | else { |
| 130 | - if (x3 && null == T3.getDerivedStateFromProps && k3 !== v6 && null != h5.componentWillReceiveProps && h5.componentWillReceiveProps(k3, $2), u5.__v == t5.__v || !h5.__e && null != h5.shouldComponentUpdate && false === h5.shouldComponentUpdate(k3, h5.__s, $2)) { | |
| 131 | - u5.__v != t5.__v && (h5.props = k3, h5.state = h5.__s, h5.__d = false), u5.__e = t5.__e, u5.__k = t5.__k, u5.__k.some(function(n4) { | |
| 133 | + if (x3 && null == T3.getDerivedStateFromProps && m3 !== p6 && null != h5.componentWillReceiveProps && h5.componentWillReceiveProps(m3, M2), !h5.__e && (null != h5.shouldComponentUpdate && false === h5.shouldComponentUpdate(m3, h5.__s, M2) || u5.__v === t5.__v)) { | |
| 134 | + for (u5.__v !== t5.__v && (h5.props = m3, h5.state = h5.__s, h5.__d = false), u5.__e = t5.__e, u5.__k = t5.__k, u5.__k.some(function(n4) { | |
| 132 | 135 | n4 && (n4.__ = u5); |
| 133 | - }), w.push.apply(h5.__h, h5._sb), h5._sb = [], h5.__h.length && e4.push(h5); | |
| 136 | + }), P2 = 0; P2 < h5._sb.length; P2++) h5.__h.push(h5._sb[P2]); | |
| 137 | + h5._sb = [], h5.__h.length && f5.push(h5); | |
| 134 | 138 | break n; |
| 135 | 139 | } |
| 136 | - null != h5.componentWillUpdate && h5.componentWillUpdate(k3, h5.__s, $2), x3 && null != h5.componentDidUpdate && h5.__h.push(function() { | |
| 137 | - h5.componentDidUpdate(v6, y5, d6); | |
| 140 | + null != h5.componentWillUpdate && h5.componentWillUpdate(m3, h5.__s, M2), x3 && null != h5.componentDidUpdate && h5.__h.push(function() { | |
| 141 | + h5.componentDidUpdate(p6, w5, _5); | |
| 138 | 142 | }); |
| 139 | 143 | } |
| 140 | - if (h5.context = $2, h5.props = k3, h5.__P = n3, h5.__e = false, I2 = l.__r, P2 = 0, x3) h5.state = h5.__s, h5.__d = false, I2 && I2(u5), a5 = h5.render(h5.props, h5.state, h5.context), w.push.apply(h5.__h, h5._sb), h5._sb = []; | |
| 141 | - else do { | |
| 142 | - h5.__d = false, I2 && I2(u5), a5 = h5.render(h5.props, h5.state, h5.context), h5.state = h5.__s; | |
| 143 | - } while (h5.__d && ++P2 < 25); | |
| 144 | - h5.state = h5.__s, null != h5.getChildContext && (i6 = m(m({}, i6), h5.getChildContext())), x3 && !p6 && null != h5.getSnapshotBeforeUpdate && (d6 = h5.getSnapshotBeforeUpdate(v6, y5)), A3 = null != a5 && a5.type === S && null == a5.key ? E(a5.props.children) : a5, f5 = L(n3, g(A3) ? A3 : [A3], u5, t5, i6, r5, o4, e4, f5, c5, s6), h5.base = u5.__e, u5.__u &= -161, h5.__h.length && e4.push(h5), _5 && (h5.__E = h5.__ = null); | |
| 144 | + if (h5.context = M2, h5.props = m3, h5.__P = n3, h5.__e = false, $2 = l.__r, I2 = 0, x3) { | |
| 145 | + for (h5.state = h5.__s, h5.__d = false, $2 && $2(u5), a5 = h5.render(h5.props, h5.state, h5.context), H = 0; H < h5._sb.length; H++) h5.__h.push(h5._sb[H]); | |
| 146 | + h5._sb = []; | |
| 147 | + } else do { | |
| 148 | + h5.__d = false, $2 && $2(u5), a5 = h5.render(h5.props, h5.state, h5.context), h5.state = h5.__s; | |
| 149 | + } while (h5.__d && ++I2 < 25); | |
| 150 | + h5.state = h5.__s, null != h5.getChildContext && (i6 = d(d({}, i6), h5.getChildContext())), x3 && !v6 && null != h5.getSnapshotBeforeUpdate && (_5 = h5.getSnapshotBeforeUpdate(p6, w5)), S(n3, y(L2 = null != a5 && a5.type === b && null == a5.key ? a5.props.children : a5) ? L2 : [L2], u5, t5, i6, o4, r5, f5, e4, c5, s6), h5.base = u5.__e, u5.__u &= -161, h5.__h.length && f5.push(h5), g3 && (h5.__E = h5.__ = null); | |
| 145 | 151 | } catch (n4) { |
| 146 | - if (u5.__v = null, c5 || null != o4) if (n4.then) { | |
| 147 | - for (u5.__u |= c5 ? 160 : 128; f5 && 8 == f5.nodeType && f5.nextSibling; ) f5 = f5.nextSibling; | |
| 148 | - o4[o4.indexOf(f5)] = null, u5.__e = f5; | |
| 149 | - } else { | |
| 150 | - for (H2 = o4.length; H2--; ) b(o4[H2]); | |
| 151 | - B(u5); | |
| 152 | - } | |
| 153 | - else u5.__e = t5.__e, u5.__k = t5.__k, n4.then || B(u5); | |
| 152 | + if (u5.__v = null, c5 || null != r5) { | |
| 153 | + for (u5.__u |= c5 ? 160 : 32; e4 && 8 === e4.nodeType && e4.nextSibling; ) e4 = e4.nextSibling; | |
| 154 | + r5[r5.indexOf(e4)] = null, u5.__e = e4; | |
| 155 | + } else u5.__e = t5.__e, u5.__k = t5.__k; | |
| 154 | 156 | l.__e(n4, u5, t5); |
| 155 | 157 | } |
| 156 | - else null == o4 && u5.__v == t5.__v ? (u5.__k = t5.__k, u5.__e = t5.__e) : f5 = u5.__e = G(t5.__e, u5, t5, i6, r5, o4, e4, c5, s6); | |
| 157 | - return (a5 = l.diffed) && a5(u5), 128 & u5.__u ? void 0 : f5; | |
| 158 | + else null == r5 && u5.__v === t5.__v ? (u5.__k = t5.__k, u5.__e = t5.__e) : u5.__e = z(t5.__e, u5, t5, i6, o4, r5, f5, c5, s6); | |
| 159 | + (a5 = l.diffed) && a5(u5); | |
| 158 | 160 | } |
| 159 | -function B(n3) { | |
| 160 | - n3 && (n3.__c && (n3.__c.__e = true), n3.__k && n3.__k.some(B)); | |
| 161 | -} | |
| 162 | -function D(n3, u5, t5) { | |
| 163 | - for (var i6 = 0; i6 < t5.length; i6++) J(t5[i6], t5[++i6], t5[++i6]); | |
| 161 | +function j(n3, u5, t5) { | |
| 162 | + u5.__d = void 0; | |
| 163 | + for (var i6 = 0; i6 < t5.length; i6++) N(t5[i6], t5[++i6], t5[++i6]); | |
| 164 | 164 | l.__c && l.__c(u5, n3), n3.some(function(u6) { |
| 165 | 165 | try { |
| 166 | 166 | n3 = u6.__h, u6.__h = [], n3.some(function(n4) { |
| 167 | 167 | n4.call(u6); |
| @@ -170,35 +170,37 @@ | ||
| 170 | 170 | l.__e(n4, u6.__v); |
| 171 | 171 | } |
| 172 | 172 | }); |
| 173 | 173 | } |
| 174 | -function E(n3) { | |
| 175 | - return "object" != typeof n3 || null == n3 || n3.__b > 0 ? n3 : g(n3) ? n3.map(E) : m({}, n3); | |
| 176 | -} | |
| 177 | -function G(u5, t5, i6, r5, o4, e4, f5, c5, s6) { | |
| 178 | - var a5, h5, p6, v6, y5, w5, _5, m4 = i6.props || d, k3 = t5.props, x3 = t5.type; | |
| 179 | - if ("svg" == x3 ? o4 = "http://www.w3.org/2000/svg" : "math" == x3 ? o4 = "http://www.w3.org/1998/Math/MathML" : o4 || (o4 = "http://www.w3.org/1999/xhtml"), null != e4) { | |
| 180 | - for (a5 = 0; a5 < e4.length; a5++) if ((y5 = e4[a5]) && "setAttribute" in y5 == !!x3 && (x3 ? y5.localName == x3 : 3 == y5.nodeType)) { | |
| 181 | - u5 = y5, e4[a5] = null; | |
| 174 | +function z(u5, t5, i6, o4, r5, f5, e4, c5, s6) { | |
| 175 | + var a5, v6, p6, d6, _5, g3, m3, b4 = i6.props, k3 = t5.props, C3 = t5.type; | |
| 176 | + if ("svg" === C3 ? r5 = "http://www.w3.org/2000/svg" : "math" === C3 ? r5 = "http://www.w3.org/1998/Math/MathML" : r5 || (r5 = "http://www.w3.org/1999/xhtml"), null != f5) { | |
| 177 | + for (a5 = 0; a5 < f5.length; a5++) if ((_5 = f5[a5]) && "setAttribute" in _5 == !!C3 && (C3 ? _5.localName === C3 : 3 === _5.nodeType)) { | |
| 178 | + u5 = _5, f5[a5] = null; | |
| 182 | 179 | break; |
| 183 | 180 | } |
| 184 | 181 | } |
| 185 | 182 | if (null == u5) { |
| 186 | - if (null == x3) return document.createTextNode(k3); | |
| 187 | - u5 = document.createElementNS(o4, x3, k3.is && k3), c5 && (l.__m && l.__m(t5, e4), c5 = false), e4 = null; | |
| 183 | + if (null === C3) return document.createTextNode(k3); | |
| 184 | + u5 = document.createElementNS(r5, C3, k3.is && k3), c5 && (l.__m && l.__m(t5, f5), c5 = false), f5 = null; | |
| 188 | 185 | } |
| 189 | - if (null == x3) m4 === k3 || c5 && u5.data == k3 || (u5.data = k3); | |
| 186 | + if (null === C3) b4 === k3 || c5 && u5.data === k3 || (u5.data = k3); | |
| 190 | 187 | else { |
| 191 | - if (e4 = e4 && n.call(u5.childNodes), !c5 && null != e4) for (m4 = {}, a5 = 0; a5 < u5.attributes.length; a5++) m4[(y5 = u5.attributes[a5]).name] = y5.value; | |
| 192 | - for (a5 in m4) y5 = m4[a5], "dangerouslySetInnerHTML" == a5 ? p6 = y5 : "children" == a5 || a5 in k3 || "value" == a5 && "defaultValue" in k3 || "checked" == a5 && "defaultChecked" in k3 || N(u5, a5, null, y5, o4); | |
| 193 | - for (a5 in k3) y5 = k3[a5], "children" == a5 ? v6 = y5 : "dangerouslySetInnerHTML" == a5 ? h5 = y5 : "value" == a5 ? w5 = y5 : "checked" == a5 ? _5 = y5 : c5 && "function" != typeof y5 || m4[a5] === y5 || N(u5, a5, y5, m4[a5], o4); | |
| 194 | - if (h5) c5 || p6 && (h5.__html == p6.__html || h5.__html == u5.innerHTML) || (u5.innerHTML = h5.__html), t5.__k = []; | |
| 195 | - else if (p6 && (u5.innerHTML = ""), L("template" == t5.type ? u5.content : u5, g(v6) ? v6 : [v6], t5, i6, r5, "foreignObject" == x3 ? "http://www.w3.org/1999/xhtml" : o4, e4, f5, e4 ? e4[0] : i6.__k && $(i6, 0), c5, s6), null != e4) for (a5 = e4.length; a5--; ) b(e4[a5]); | |
| 196 | - c5 || (a5 = "value", "progress" == x3 && null == w5 ? u5.removeAttribute("value") : null != w5 && (w5 !== u5[a5] || "progress" == x3 && !w5 || "option" == x3 && w5 != m4[a5]) && N(u5, a5, w5, m4[a5], o4), a5 = "checked", null != _5 && _5 != u5[a5] && N(u5, a5, _5, m4[a5], o4)); | |
| 188 | + if (f5 = f5 && n.call(u5.childNodes), b4 = i6.props || h, !c5 && null != f5) for (b4 = {}, a5 = 0; a5 < u5.attributes.length; a5++) b4[(_5 = u5.attributes[a5]).name] = _5.value; | |
| 189 | + for (a5 in b4) if (_5 = b4[a5], "children" == a5) ; | |
| 190 | + else if ("dangerouslySetInnerHTML" == a5) p6 = _5; | |
| 191 | + else if (!(a5 in k3)) { | |
| 192 | + if ("value" == a5 && "defaultValue" in k3 || "checked" == a5 && "defaultChecked" in k3) continue; | |
| 193 | + A(u5, a5, null, _5, r5); | |
| 194 | + } | |
| 195 | + for (a5 in k3) _5 = k3[a5], "children" == a5 ? d6 = _5 : "dangerouslySetInnerHTML" == a5 ? v6 = _5 : "value" == a5 ? g3 = _5 : "checked" == a5 ? m3 = _5 : c5 && "function" != typeof _5 || b4[a5] === _5 || A(u5, a5, _5, b4[a5], r5); | |
| 196 | + if (v6) c5 || p6 && (v6.__html === p6.__html || v6.__html === u5.innerHTML) || (u5.innerHTML = v6.__html), t5.__k = []; | |
| 197 | + else if (p6 && (u5.innerHTML = ""), S(u5, y(d6) ? d6 : [d6], t5, i6, o4, "foreignObject" === C3 ? "http://www.w3.org/1999/xhtml" : r5, f5, e4, f5 ? f5[0] : i6.__k && x(i6, 0), c5, s6), null != f5) for (a5 = f5.length; a5--; ) w(f5[a5]); | |
| 198 | + c5 || (a5 = "value", "progress" === C3 && null == g3 ? u5.removeAttribute("value") : void 0 !== g3 && (g3 !== u5[a5] || "progress" === C3 && !g3 || "option" === C3 && g3 !== b4[a5]) && A(u5, a5, g3, b4[a5], r5), a5 = "checked", void 0 !== m3 && m3 !== u5[a5] && A(u5, a5, m3, b4[a5], r5)); | |
| 197 | 199 | } |
| 198 | 200 | return u5; |
| 199 | 201 | } |
| 200 | -function J(n3, u5, t5) { | |
| 202 | +function N(n3, u5, t5) { | |
| 201 | 203 | try { |
| 202 | 204 | if ("function" == typeof n3) { |
| 203 | 205 | var i6 = "function" == typeof n3.__u; |
| 204 | 206 | i6 && n3.__u(), i6 && null == u5 || (n3.__u = n3(u5)); |
| @@ -206,11 +208,11 @@ | ||
| 206 | 208 | } catch (n4) { |
| 207 | 209 | l.__e(n4, t5); |
| 208 | 210 | } |
| 209 | 211 | } |
| 210 | -function K(n3, u5, t5) { | |
| 211 | - var i6, r5; | |
| 212 | - if (l.unmount && l.unmount(n3), (i6 = n3.ref) && (i6.current && i6.current != n3.__e || J(i6, null, u5)), null != (i6 = n3.__c)) { | |
| 212 | +function V(n3, u5, t5) { | |
| 213 | + var i6, o4; | |
| 214 | + if (l.unmount && l.unmount(n3), (i6 = n3.ref) && (i6.current && i6.current !== n3.__e || N(i6, null, u5)), null != (i6 = n3.__c)) { | |
| 213 | 215 | if (i6.componentWillUnmount) try { |
| 214 | 216 | i6.componentWillUnmount(); |
| 215 | 217 | } catch (n4) { |
| 216 | 218 | l.__e(n4, u5); |
| @@ -216,73 +218,73 @@ | ||
| 216 | 218 | l.__e(n4, u5); |
| 217 | 219 | } |
| 218 | 220 | i6.base = i6.__P = null; |
| 219 | 221 | } |
| 220 | - if (i6 = n3.__k) for (r5 = 0; r5 < i6.length; r5++) i6[r5] && K(i6[r5], u5, t5 || "function" != typeof n3.type); | |
| 221 | - t5 || b(n3.__e), n3.__c = n3.__ = n3.__e = void 0; | |
| 222 | + if (i6 = n3.__k) for (o4 = 0; o4 < i6.length; o4++) i6[o4] && V(i6[o4], u5, t5 || "function" != typeof n3.type); | |
| 223 | + t5 || w(n3.__e), n3.__c = n3.__ = n3.__e = n3.__d = void 0; | |
| 222 | 224 | } |
| 223 | -function Q(n3, l6, u5) { | |
| 225 | +function q(n3, l6, u5) { | |
| 224 | 226 | return this.constructor(n3, u5); |
| 225 | 227 | } |
| 226 | -function R(u5, t5, i6) { | |
| 227 | - var r5, o4, e4, f5; | |
| 228 | - t5 == document && (t5 = document.documentElement), l.__ && l.__(u5, t5), o4 = (r5 = "function" == typeof i6) ? null : i6 && i6.__k || t5.__k, e4 = [], f5 = [], q(t5, u5 = (!r5 && i6 || t5).__k = k(S, null, [u5]), o4 || d, d, t5.namespaceURI, !r5 && i6 ? [i6] : o4 ? null : t5.firstChild ? n.call(t5.childNodes) : null, e4, !r5 && i6 ? i6 : o4 ? o4.__e : t5.firstChild, r5, f5), D(e4, u5, f5); | |
| 228 | +function B(u5, t5, i6) { | |
| 229 | + var o4, r5, f5, e4; | |
| 230 | + l.__ && l.__(u5, t5), r5 = (o4 = "function" == typeof i6) ? null : i6 && i6.__k || t5.__k, f5 = [], e4 = [], O(t5, u5 = (!o4 && i6 || t5).__k = _(b, null, [u5]), r5 || h, h, t5.namespaceURI, !o4 && i6 ? [i6] : r5 ? null : t5.firstChild ? n.call(t5.childNodes) : null, f5, !o4 && i6 ? i6 : r5 ? r5.__e : t5.firstChild, o4, e4), j(f5, u5, e4); | |
| 229 | 231 | } |
| 230 | -function U(n3, l6) { | |
| 231 | - R(n3, l6, U); | |
| 232 | +function D(n3, l6) { | |
| 233 | + B(n3, l6, D); | |
| 232 | 234 | } |
| 233 | -function W(l6, u5, t5) { | |
| 234 | - var i6, r5, o4, e4, f5 = m({}, l6.props); | |
| 235 | - for (o4 in l6.type && l6.type.defaultProps && (e4 = l6.type.defaultProps), u5) "key" == o4 ? i6 = u5[o4] : "ref" == o4 ? r5 = u5[o4] : f5[o4] = void 0 === u5[o4] && null != e4 ? e4[o4] : u5[o4]; | |
| 236 | - return arguments.length > 2 && (f5.children = arguments.length > 3 ? n.call(arguments, 2) : t5), x(l6.type, f5, i6 || l6.key, r5 || l6.ref, null); | |
| 235 | +function E(l6, u5, t5) { | |
| 236 | + var i6, o4, r5, f5, e4 = d({}, l6.props); | |
| 237 | + for (r5 in l6.type && l6.type.defaultProps && (f5 = l6.type.defaultProps), u5) "key" == r5 ? i6 = u5[r5] : "ref" == r5 ? o4 = u5[r5] : e4[r5] = void 0 === u5[r5] && void 0 !== f5 ? f5[r5] : u5[r5]; | |
| 238 | + return arguments.length > 2 && (e4.children = arguments.length > 3 ? n.call(arguments, 2) : t5), g(l6.type, e4, i6 || l6.key, o4 || l6.ref, null); | |
| 237 | 239 | } |
| 238 | -function X(n3) { | |
| 239 | - function l6(n4) { | |
| 240 | - var u5, t5; | |
| 241 | - return this.getChildContext || (u5 = /* @__PURE__ */ new Set(), (t5 = {})[l6.__c] = this, this.getChildContext = function() { | |
| 240 | +function G(n3, l6) { | |
| 241 | + var u5 = { __c: l6 = "__cC" + a++, __: n3, Consumer: function(n4, l7) { | |
| 242 | + return n4.children(l7); | |
| 243 | + }, Provider: function(n4) { | |
| 244 | + var u6, t5; | |
| 245 | + return this.getChildContext || (u6 = [], (t5 = {})[l6] = this, this.getChildContext = function() { | |
| 242 | 246 | return t5; |
| 243 | 247 | }, this.componentWillUnmount = function() { |
| 244 | - u5 = null; | |
| 248 | + u6 = null; | |
| 245 | 249 | }, this.shouldComponentUpdate = function(n5) { |
| 246 | - this.props.value != n5.value && u5.forEach(function(n6) { | |
| 247 | - n6.__e = true, A(n6); | |
| 250 | + this.props.value !== n5.value && u6.some(function(n6) { | |
| 251 | + n6.__e = true, M(n6); | |
| 248 | 252 | }); |
| 249 | 253 | }, this.sub = function(n5) { |
| 250 | - u5.add(n5); | |
| 254 | + u6.push(n5); | |
| 251 | 255 | var l7 = n5.componentWillUnmount; |
| 252 | 256 | n5.componentWillUnmount = function() { |
| 253 | - u5 && u5.delete(n5), l7 && l7.call(n5); | |
| 257 | + u6 && u6.splice(u6.indexOf(n5), 1), l7 && l7.call(n5); | |
| 254 | 258 | }; |
| 255 | 259 | }), n4.children; |
| 256 | - } | |
| 257 | - return l6.__c = "__cC" + y++, l6.__ = n3, l6.Provider = l6.__l = (l6.Consumer = function(n4, l7) { | |
| 258 | - return n4.children(l7); | |
| 259 | - }).contextType = l6, l6; | |
| 260 | + } }; | |
| 261 | + return u5.Provider.__ = u5.Consumer.contextType = u5; | |
| 260 | 262 | } |
| 261 | -var n, l, u, t, i, r, o, e, f, c, s, a, h, p, v, y, d, w, _, g; | |
| 263 | +var n, l, u, t, i, o, r, f, e, c, s, a, h, v, p, y; | |
| 262 | 264 | var init_preact_module = __esm({ |
| 263 | 265 | "node_modules/preact/dist/preact.module.js"() { |
| 264 | - d = {}; | |
| 265 | - w = []; | |
| 266 | - _ = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i; | |
| 267 | - g = Array.isArray; | |
| 268 | - n = w.slice, l = { __e: function(n3, l6, u5, t5) { | |
| 269 | - for (var i6, r5, o4; l6 = l6.__; ) if ((i6 = l6.__c) && !i6.__) try { | |
| 270 | - if ((r5 = i6.constructor) && null != r5.getDerivedStateFromError && (i6.setState(r5.getDerivedStateFromError(n3)), o4 = i6.__d), null != i6.componentDidCatch && (i6.componentDidCatch(n3, t5 || {}), o4 = i6.__d), o4) return i6.__E = i6; | |
| 266 | + h = {}; | |
| 267 | + v = []; | |
| 268 | + p = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i; | |
| 269 | + y = Array.isArray; | |
| 270 | + n = v.slice, l = { __e: function(n3, l6, u5, t5) { | |
| 271 | + for (var i6, o4, r5; l6 = l6.__; ) if ((i6 = l6.__c) && !i6.__) try { | |
| 272 | + if ((o4 = i6.constructor) && null != o4.getDerivedStateFromError && (i6.setState(o4.getDerivedStateFromError(n3)), r5 = i6.__d), null != i6.componentDidCatch && (i6.componentDidCatch(n3, t5 || {}), r5 = i6.__d), r5) return i6.__E = i6; | |
| 271 | 273 | } catch (l7) { |
| 272 | 274 | n3 = l7; |
| 273 | 275 | } |
| 274 | 276 | throw n3; |
| 275 | 277 | } }, u = 0, t = function(n3) { |
| 276 | - return null != n3 && void 0 === n3.constructor; | |
| 277 | - }, C.prototype.setState = function(n3, l6) { | |
| 278 | + return null != n3 && null == n3.constructor; | |
| 279 | + }, k.prototype.setState = function(n3, l6) { | |
| 278 | 280 | var u5; |
| 279 | - u5 = null != this.__s && this.__s != this.state ? this.__s : this.__s = m({}, this.state), "function" == typeof n3 && (n3 = n3(m({}, u5), this.props)), n3 && m(u5, n3), null != n3 && this.__v && (l6 && this._sb.push(l6), A(this)); | |
| 280 | - }, C.prototype.forceUpdate = function(n3) { | |
| 281 | - this.__v && (this.__e = true, n3 && this.__h.push(n3), A(this)); | |
| 282 | - }, C.prototype.render = S, i = [], o = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, e = function(n3, l6) { | |
| 281 | + u5 = null != this.__s && this.__s !== this.state ? this.__s : this.__s = d({}, this.state), "function" == typeof n3 && (n3 = n3(d({}, u5), this.props)), n3 && d(u5, n3), null != n3 && this.__v && (l6 && this._sb.push(l6), M(this)); | |
| 282 | + }, k.prototype.forceUpdate = function(n3) { | |
| 283 | + this.__v && (this.__e = true, n3 && this.__h.push(n3), M(this)); | |
| 284 | + }, k.prototype.render = b, i = [], r = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, f = function(n3, l6) { | |
| 283 | 285 | return n3.__v.__b - l6.__v.__b; |
| 284 | - }, H.__r = 0, f = Math.random().toString(8), c = "__d" + f, s = "__a" + f, a = /(PointerCapture)$|Capture$/i, h = 0, p = V(false), v = V(true), y = 0; | |
| 286 | + }, P.__r = 0, e = 0, c = F(false), s = F(true), a = 0; | |
| 285 | 287 | } |
| 286 | 288 | }); |
| 287 | 289 | |
| 288 | 290 | // node_modules/preact/devtools/dist/devtools.module.js |
| @@ -289,9 +291,9 @@ | ||
| 289 | 291 | var i4; |
| 290 | 292 | var init_devtools_module = __esm({ |
| 291 | 293 | "node_modules/preact/devtools/dist/devtools.module.js"() { |
| 292 | 294 | init_preact_module(); |
| 293 | - null != (i4 = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : void 0) && i4.__PREACT_DEVTOOLS__ && i4.__PREACT_DEVTOOLS__.attachPreact("10.29.1", l, { Fragment: S, Component: C }); | |
| 295 | + null != (i4 = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : void 0) && i4.__PREACT_DEVTOOLS__ && i4.__PREACT_DEVTOOLS__.attachPreact("10.24.2", l, { Fragment: b, Component: k }); | |
| 294 | 296 | } |
| 295 | 297 | }); |
| 296 | 298 | |
| 297 | 299 | // node_modules/preact/debug/dist/debug.module.js |
| @@ -296,11 +298,8 @@ | ||
| 296 | 298 | |
| 297 | 299 | // node_modules/preact/debug/dist/debug.module.js |
| 298 | 300 | var debug_module_exports = {}; |
| 299 | 301 | __export(debug_module_exports, { |
| 300 | - getCurrentVNode: () => c4, | |
| 301 | - getDisplayName: () => a4, | |
| 302 | - getOwnerStack: () => f4, | |
| 303 | 302 | resetPropWarnings: () => r4 |
| 304 | 303 | }); |
| 305 | 304 | function r4() { |
| 306 | 305 | t4 = {}; |
| @@ -305,15 +304,15 @@ | ||
| 305 | 304 | function r4() { |
| 306 | 305 | t4 = {}; |
| 307 | 306 | } |
| 308 | 307 | function a4(e4) { |
| 309 | - return e4.type === S ? "Fragment" : "function" == typeof e4.type ? e4.type.displayName || e4.type.name : "string" == typeof e4.type ? e4.type : "#text"; | |
| 308 | + return e4.type === b ? "Fragment" : "function" == typeof e4.type ? e4.type.displayName || e4.type.name : "string" == typeof e4.type ? e4.type : "#text"; | |
| 310 | 309 | } |
| 311 | 310 | function c4() { |
| 312 | 311 | return i5.length > 0 ? i5[i5.length - 1] : null; |
| 313 | 312 | } |
| 314 | 313 | function u4(e4) { |
| 315 | - return "function" == typeof e4.type && e4.type != S; | |
| 314 | + return "function" == typeof e4.type && e4.type != b; | |
| 316 | 315 | } |
| 317 | 316 | function f4(n3) { |
| 318 | 317 | for (var e4 = [n3], o4 = n3; null != o4.__o; ) e4.push(o4.__o), o4 = o4.__o; |
| 319 | 318 | return e4.reduce(function(n4, e5) { |
| @@ -342,9 +341,9 @@ | ||
| 342 | 341 | } |
| 343 | 342 | var s6 = e4.children; |
| 344 | 343 | return "<" + o4 + t5 + (s6 && s6.length ? ">..</" + o4 + ">" : " />"); |
| 345 | 344 | } |
| 346 | -var t4, i5, s5, l5, d5, v5, m3, b3; | |
| 345 | +var t4, i5, s5, l5, d5, v5, m2, b3; | |
| 347 | 346 | var init_debug_module = __esm({ |
| 348 | 347 | "node_modules/preact/debug/dist/debug.module.js"() { |
| 349 | 348 | init_preact_module(); |
| 350 | 349 | init_devtools_module(); |
| @@ -352,15 +351,15 @@ | ||
| 352 | 351 | i5 = []; |
| 353 | 352 | s5 = []; |
| 354 | 353 | l5 = true; |
| 355 | 354 | d5 = "function" == typeof WeakMap; |
| 356 | - v5 = C.prototype.setState; | |
| 357 | - C.prototype.setState = function(n3, e4) { | |
| 355 | + v5 = k.prototype.setState; | |
| 356 | + k.prototype.setState = function(n3, e4) { | |
| 358 | 357 | return null == this.__v && null == this.state && console.warn('Calling "this.setState" inside the constructor of a component is a no-op and might be a bug in your application. Instead, set "this.state = {}" directly.\n\n' + f4(c4())), v5.call(this, n3, e4); |
| 359 | 358 | }; |
| 360 | - m3 = /^(address|article|aside|blockquote|details|div|dl|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|main|menu|nav|ol|p|pre|search|section|table|ul)$/; | |
| 361 | - b3 = C.prototype.forceUpdate; | |
| 362 | - C.prototype.forceUpdate = function(n3) { | |
| 359 | + m2 = /^(address|article|aside|blockquote|details|div|dl|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|main|menu|nav|ol|p|pre|search|section|table|ul)$/; | |
| 360 | + b3 = k.prototype.forceUpdate; | |
| 361 | + k.prototype.forceUpdate = function(n3) { | |
| 363 | 362 | return null == this.__v ? console.warn('Calling "this.forceUpdate" inside the constructor of a component is a no-op and might be a bug in your application.\n\n' + f4(c4())) : null == this.__P && console.warn(`Can't call "this.forceUpdate" on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method. |
| 364 | 363 | |
| 365 | 364 | ` + f4(this.__v)), b3.call(this, n3); |
| 366 | 365 | }, l.__m = function(n3, e4) { |
| @@ -366,11 +365,9 @@ | ||
| 366 | 365 | }, l.__m = function(n3, e4) { |
| 367 | 366 | var o4 = n3.type, t5 = e4.map(function(n4) { |
| 368 | 367 | return n4 && n4.localName; |
| 369 | 368 | }).filter(Boolean); |
| 370 | - console.error('Expected a DOM node of type "' + o4 + '" but found "' + t5.join(", ") + `" as available DOM-node(s), this is caused by the SSR'd HTML containing different DOM-nodes compared to the hydrated one. | |
| 371 | - | |
| 372 | -` + f4(n3)); | |
| 369 | + console.error("Expected a DOM node of type " + o4 + " but found " + t5.join(", ") + "as available DOM-node(s), this is caused by the SSR'd HTML containing different DOM-nodes compared to the hydrated one.\n\n" + f4(n3)); | |
| 373 | 370 | }, (function() { |
| 374 | 371 | !(function() { |
| 375 | 372 | var n4 = l.__b, o5 = l.diffed, t5 = l.__, r6 = l.vnode, a5 = l.__r; |
| 376 | 373 | l.diffed = function(n5) { |
| @@ -478,9 +475,9 @@ | ||
| 478 | 475 | }, set: function() { |
| 479 | 476 | var o5 = "set" + n4 + e4; |
| 480 | 477 | k3 && k3.indexOf(o5) < 0 && (k3.push(o5), console.warn("setting vnode." + n4 + " is not allowed, " + e4)); |
| 481 | 478 | } }; |
| 482 | - }, I2 = { nodeName: O2("nodeName", "use vnode.type"), attributes: O2("attributes", "use vnode.props"), children: O2("children", "use vnode.props.children") }, M = Object.create({}, I2); | |
| 479 | + }, I2 = { nodeName: O2("nodeName", "use vnode.type"), attributes: O2("attributes", "use vnode.props"), children: O2("children", "use vnode.props.children") }, M2 = Object.create({}, I2); | |
| 483 | 480 | l.vnode = function(n4) { |
| 484 | 481 | var e4 = n4.props; |
| 485 | 482 | if (null !== n4.type && null != e4 && ("__source" in e4 || "__self" in e4)) { |
| 486 | 483 | var o5 = n4.props = {}; |
| @@ -488,9 +485,9 @@ | ||
| 488 | 485 | var r6 = e4[t5]; |
| 489 | 486 | "__source" === t5 ? n4.__source = r6 : "__self" === t5 ? n4.__self = r6 : o5[t5] = r6; |
| 490 | 487 | } |
| 491 | 488 | } |
| 492 | - n4.__proto__ = M, c5 && c5(n4); | |
| 489 | + n4.__proto__ = M2, c5 && c5(n4); | |
| 493 | 490 | }, l.diffed = function(e4) { |
| 494 | 491 | var o5, t5 = e4.type, i6 = e4.__; |
| 495 | 492 | if (e4.__k && e4.__k.forEach(function(n4) { |
| 496 | 493 | if ("object" == typeof n4 && n4 && void 0 === n4.type) { |
| @@ -498,14 +495,14 @@ | ||
| 498 | 495 | throw new Error("Objects are not valid as a child. Encountered an object with the keys {" + o6 + "}.\n\n" + f4(e4)); |
| 499 | 496 | } |
| 500 | 497 | }), e4.__c === T3 && (_5 = 0), "string" == typeof t5 && (y4(t5) || "p" === t5 || "a" === t5 || "button" === t5)) { |
| 501 | 498 | var s6 = h4(i6); |
| 502 | - if ("" !== s6 && y4(t5)) "table" === t5 && "td" !== s6 && y4(s6) ? console.error("Improper nesting of table. Your <table> should not have a table-node parent." + w4(e4) + "\n\n" + f4(e4)) : "thead" !== t5 && "tfoot" !== t5 && "tbody" !== t5 || "table" === s6 ? "tr" === t5 && "thead" !== s6 && "tfoot" !== s6 && "tbody" !== s6 ? console.error("Improper nesting of table. Your <tr> should have a <thead/tbody/tfoot> parent." + w4(e4) + "\n\n" + f4(e4)) : "td" === t5 && "tr" !== s6 ? console.error("Improper nesting of table. Your <td> should have a <tr> parent." + w4(e4) + "\n\n" + f4(e4)) : "th" === t5 && "tr" !== s6 && console.error("Improper nesting of table. Your <th> should have a <tr>." + w4(e4) + "\n\n" + f4(e4)) : console.error("Improper nesting of table. Your <thead/tbody/tfoot> should have a <table> parent." + w4(e4) + "\n\n" + f4(e4)); | |
| 499 | + if ("" !== s6 && y4(t5)) "table" === t5 && "td" !== s6 && y4(s6) ? (console.log(s6, i6.__e), console.error("Improper nesting of table. Your <table> should not have a table-node parent." + w4(e4) + "\n\n" + f4(e4))) : "thead" !== t5 && "tfoot" !== t5 && "tbody" !== t5 || "table" === s6 ? "tr" === t5 && "thead" !== s6 && "tfoot" !== s6 && "tbody" !== s6 ? console.error("Improper nesting of table. Your <tr> should have a <thead/tbody/tfoot> parent." + w4(e4) + "\n\n" + f4(e4)) : "td" === t5 && "tr" !== s6 ? console.error("Improper nesting of table. Your <td> should have a <tr> parent." + w4(e4) + "\n\n" + f4(e4)) : "th" === t5 && "tr" !== s6 && console.error("Improper nesting of table. Your <th> should have a <tr>." + w4(e4) + "\n\n" + f4(e4)) : console.error("Improper nesting of table. Your <thead/tbody/tfoot> should have a <table> parent." + w4(e4) + "\n\n" + f4(e4)); | |
| 503 | 500 | else if ("p" === t5) { |
| 504 | 501 | var c6 = p5(e4).filter(function(n4) { |
| 505 | - return m3.test(n4); | |
| 502 | + return m2.test(n4); | |
| 506 | 503 | }); |
| 507 | - c6.length && console.error("Improper nesting of paragraph. Your <p> should not have " + c6.join(", ") + " as child-elements." + w4(e4) + "\n\n" + f4(e4)); | |
| 504 | + c6.length && console.error("Improper nesting of paragraph. Your <p> should not have " + c6.join(", ") + "as child-elements." + w4(e4) + "\n\n" + f4(e4)); | |
| 508 | 505 | } else "a" !== t5 && "button" !== t5 || -1 !== p5(e4).indexOf(t5) && console.error("Improper nesting of interactive content. Your <" + t5 + "> should not have other " + ("a" === t5 ? "anchor" : "button") + " tags as child-elements." + w4(e4) + "\n\n" + f4(e4)); |
| 509 | 506 | } |
| 510 | 507 | if (n3 = false, r5 && r5(e4), null != e4.__k) for (var l7 = [], u5 = 0; u5 < e4.__k.length; u5++) { |
| 511 | 508 | var d6 = e4.__k[u5]; |
| @@ -524,9 +521,9 @@ | ||
| 524 | 521 | var E4 = b5[g4]; |
| 525 | 522 | if (E4.__H) { |
| 526 | 523 | for (var k4 = 0; k4 < E4.__H.length; k4++) if ((o5 = E4.__H[k4]) != o5) { |
| 527 | 524 | var O3 = a4(e4); |
| 528 | - console.warn("Invalid argument passed to hook. Hooks should not be called with NaN in the dependency array. Hook index " + g4 + " in component " + O3 + " was called with NaN."); | |
| 525 | + throw new Error("Invalid argument passed to hook. Hooks should not be called with NaN in the dependency array. Hook index " + g4 + " in component " + O3 + " was called with NaN."); | |
| 529 | 526 | } |
| 530 | 527 | } |
| 531 | 528 | } |
| 532 | 529 | } |
| @@ -553,41 +550,41 @@ | ||
| 553 | 550 | var e2 = c2.__b; |
| 554 | 551 | var a2 = c2.__r; |
| 555 | 552 | var v2 = c2.diffed; |
| 556 | 553 | var l2 = c2.__c; |
| 557 | -var m2 = c2.unmount; | |
| 554 | +var m = c2.unmount; | |
| 558 | 555 | var s2 = c2.__; |
| 559 | -function p2(n3, t5) { | |
| 556 | +function d2(n3, t5) { | |
| 560 | 557 | c2.__h && c2.__h(r2, n3, o2 || t5), o2 = 0; |
| 561 | 558 | var u5 = r2.__H || (r2.__H = { __: [], __h: [] }); |
| 562 | 559 | return n3 >= u5.__.length && u5.__.push({}), u5.__[n3]; |
| 563 | 560 | } |
| 564 | -function d2(n3) { | |
| 565 | - return o2 = 1, h2(D2, n3); | |
| 561 | +function h2(n3) { | |
| 562 | + return o2 = 1, p2(D2, n3); | |
| 566 | 563 | } |
| 567 | -function h2(n3, u5, i6) { | |
| 568 | - var o4 = p2(t2++, 2); | |
| 564 | +function p2(n3, u5, i6) { | |
| 565 | + var o4 = d2(t2++, 2); | |
| 569 | 566 | if (o4.t = n3, !o4.__c && (o4.__ = [i6 ? i6(u5) : D2(void 0, u5), function(n4) { |
| 570 | 567 | var t5 = o4.__N ? o4.__N[0] : o4.__[0], r5 = o4.t(t5, n4); |
| 571 | 568 | t5 !== r5 && (o4.__N = [r5, o4.__[1]], o4.__c.setState({})); |
| 572 | - }], o4.__c = r2, !r2.__f)) { | |
| 569 | + }], o4.__c = r2, !r2.u)) { | |
| 573 | 570 | var f5 = function(n4, t5, r5) { |
| 574 | 571 | if (!o4.__c.__H) return true; |
| 575 | 572 | var u6 = o4.__c.__H.__.filter(function(n5) { |
| 576 | - return n5.__c; | |
| 573 | + return !!n5.__c; | |
| 577 | 574 | }); |
| 578 | 575 | if (u6.every(function(n5) { |
| 579 | 576 | return !n5.__N; |
| 580 | 577 | })) return !c5 || c5.call(this, n4, t5, r5); |
| 581 | - var i7 = o4.__c.props !== n4; | |
| 582 | - return u6.some(function(n5) { | |
| 578 | + var i7 = false; | |
| 579 | + return u6.forEach(function(n5) { | |
| 583 | 580 | if (n5.__N) { |
| 584 | 581 | var t6 = n5.__[0]; |
| 585 | 582 | n5.__ = n5.__N, n5.__N = void 0, t6 !== n5.__[0] && (i7 = true); |
| 586 | 583 | } |
| 587 | - }), c5 && c5.call(this, n4, t5, r5) || i7; | |
| 584 | + }), !(!i7 && o4.__c.props === n4) && (!c5 || c5.call(this, n4, t5, r5)); | |
| 588 | 585 | }; |
| 589 | - r2.__f = true; | |
| 586 | + r2.u = true; | |
| 590 | 587 | var c5 = r2.shouldComponentUpdate, e4 = r2.componentWillUpdate; |
| 591 | 588 | r2.componentWillUpdate = function(n4, t5, r5) { |
| 592 | 589 | if (this.__e) { |
| 593 | 590 | var u6 = c5; |
| @@ -598,14 +595,14 @@ | ||
| 598 | 595 | } |
| 599 | 596 | return o4.__N || o4.__; |
| 600 | 597 | } |
| 601 | 598 | function y2(n3, u5) { |
| 602 | - var i6 = p2(t2++, 3); | |
| 603 | - !c2.__s && C2(i6.__H, u5) && (i6.__ = n3, i6.u = u5, r2.__H.__h.push(i6)); | |
| 599 | + var i6 = d2(t2++, 3); | |
| 600 | + !c2.__s && C2(i6.__H, u5) && (i6.__ = n3, i6.i = u5, r2.__H.__h.push(i6)); | |
| 604 | 601 | } |
| 605 | 602 | function _2(n3, u5) { |
| 606 | - var i6 = p2(t2++, 4); | |
| 607 | - !c2.__s && C2(i6.__H, u5) && (i6.__ = n3, i6.u = u5, r2.__h.push(i6)); | |
| 603 | + var i6 = d2(t2++, 4); | |
| 604 | + !c2.__s && C2(i6.__H, u5) && (i6.__ = n3, i6.i = u5, r2.__h.push(i6)); | |
| 608 | 605 | } |
| 609 | 606 | function A2(n3) { |
| 610 | 607 | return o2 = 5, T2(function() { |
| 611 | 608 | return { current: n3 }; |
| @@ -611,9 +608,9 @@ | ||
| 611 | 608 | return { current: n3 }; |
| 612 | 609 | }, []); |
| 613 | 610 | } |
| 614 | 611 | function T2(n3, r5) { |
| 615 | - var u5 = p2(t2++, 7); | |
| 612 | + var u5 = d2(t2++, 7); | |
| 616 | 613 | return C2(u5.__H, r5) && (u5.__ = n3(), u5.__H = r5, u5.__h = n3), u5.__; |
| 617 | 614 | } |
| 618 | 615 | function q2(n3, t5) { |
| 619 | 616 | return o2 = 8, T2(function() { |
| @@ -620,19 +617,16 @@ | ||
| 620 | 617 | return n3; |
| 621 | 618 | }, t5); |
| 622 | 619 | } |
| 623 | 620 | function x2(n3) { |
| 624 | - var u5 = r2.context[n3.__c], i6 = p2(t2++, 9); | |
| 621 | + var u5 = r2.context[n3.__c], i6 = d2(t2++, 9); | |
| 625 | 622 | return i6.c = n3, u5 ? (null == i6.__ && (i6.__ = true, u5.sub(r2)), u5.props.value) : n3.__; |
| 626 | 623 | } |
| 627 | 624 | function j2() { |
| 628 | - for (var n3; n3 = f2.shift(); ) { | |
| 629 | - var t5 = n3.__H; | |
| 630 | - if (n3.__P && t5) try { | |
| 631 | - t5.__h.some(z2), t5.__h.some(B2), t5.__h = []; | |
| 632 | - } catch (r5) { | |
| 633 | - t5.__h = [], c2.__e(r5, n3.__v); | |
| 634 | - } | |
| 625 | + for (var n3; n3 = f2.shift(); ) if (n3.__P && n3.__H) try { | |
| 626 | + n3.__H.__h.forEach(z2), n3.__H.__h.forEach(B2), n3.__H.__h = []; | |
| 627 | + } catch (t5) { | |
| 628 | + n3.__H.__h = [], c2.__e(t5, n3.__v); | |
| 635 | 629 | } |
| 636 | 630 | } |
| 637 | 631 | c2.__b = function(n3) { |
| 638 | 632 | r2 = null, e2 && e2(n3); |
| @@ -640,21 +634,21 @@ | ||
| 640 | 634 | n3 && t5.__k && t5.__k.__m && (n3.__m = t5.__k.__m), s2 && s2(n3, t5); |
| 641 | 635 | }, c2.__r = function(n3) { |
| 642 | 636 | a2 && a2(n3), t2 = 0; |
| 643 | 637 | var i6 = (r2 = n3.__c).__H; |
| 644 | - i6 && (u2 === r2 ? (i6.__h = [], r2.__h = [], i6.__.some(function(n4) { | |
| 645 | - n4.__N && (n4.__ = n4.__N), n4.u = n4.__N = void 0; | |
| 646 | - })) : (i6.__h.some(z2), i6.__h.some(B2), i6.__h = [], t2 = 0)), u2 = r2; | |
| 638 | + i6 && (u2 === r2 ? (i6.__h = [], r2.__h = [], i6.__.forEach(function(n4) { | |
| 639 | + n4.__N && (n4.__ = n4.__N), n4.i = n4.__N = void 0; | |
| 640 | + })) : (i6.__h.forEach(z2), i6.__h.forEach(B2), i6.__h = [], t2 = 0)), u2 = r2; | |
| 647 | 641 | }, c2.diffed = function(n3) { |
| 648 | 642 | v2 && v2(n3); |
| 649 | 643 | var t5 = n3.__c; |
| 650 | - t5 && t5.__H && (t5.__H.__h.length && (1 !== f2.push(t5) && i2 === c2.requestAnimationFrame || ((i2 = c2.requestAnimationFrame) || w2)(j2)), t5.__H.__.some(function(n4) { | |
| 651 | - n4.u && (n4.__H = n4.u), n4.u = void 0; | |
| 644 | + t5 && t5.__H && (t5.__H.__h.length && (1 !== f2.push(t5) && i2 === c2.requestAnimationFrame || ((i2 = c2.requestAnimationFrame) || w2)(j2)), t5.__H.__.forEach(function(n4) { | |
| 645 | + n4.i && (n4.__H = n4.i), n4.i = void 0; | |
| 652 | 646 | })), u2 = r2 = null; |
| 653 | 647 | }, c2.__c = function(n3, t5) { |
| 654 | 648 | t5.some(function(n4) { |
| 655 | 649 | try { |
| 656 | - n4.__h.some(z2), n4.__h = n4.__h.filter(function(n5) { | |
| 650 | + n4.__h.forEach(z2), n4.__h = n4.__h.filter(function(n5) { | |
| 657 | 651 | return !n5.__ || B2(n5); |
| 658 | 652 | }); |
| 659 | 653 | } catch (r5) { |
| 660 | 654 | t5.some(function(n5) { |
| @@ -662,11 +656,11 @@ | ||
| 662 | 656 | }), t5 = [], c2.__e(r5, n4.__v); |
| 663 | 657 | } |
| 664 | 658 | }), l2 && l2(n3, t5); |
| 665 | 659 | }, c2.unmount = function(n3) { |
| 666 | - m2 && m2(n3); | |
| 660 | + m && m(n3); | |
| 667 | 661 | var t5, r5 = n3.__c; |
| 668 | - r5 && r5.__H && (r5.__H.__.some(function(n4) { | |
| 662 | + r5 && r5.__H && (r5.__H.__.forEach(function(n4) { | |
| 669 | 663 | try { |
| 670 | 664 | z2(n4); |
| 671 | 665 | } catch (n5) { |
| 672 | 666 | t5 = n5; |
| @@ -676,9 +670,9 @@ | ||
| 676 | 670 | var k2 = "function" == typeof requestAnimationFrame; |
| 677 | 671 | function w2(n3) { |
| 678 | 672 | var t5, r5 = function() { |
| 679 | 673 | clearTimeout(u5), k2 && cancelAnimationFrame(t5), setTimeout(n3); |
| 680 | - }, u5 = setTimeout(r5, 35); | |
| 674 | + }, u5 = setTimeout(r5, 100); | |
| 681 | 675 | k2 && (t5 = requestAnimationFrame(r5)); |
| 682 | 676 | } |
| 683 | 677 | function z2(n3) { |
| 684 | 678 | var t5 = r2, u5 = n3.__c; |
| @@ -1183,9 +1177,9 @@ | ||
| 1183 | 1177 | l4("__h", function(n3, r5, i6, t5) { |
| 1184 | 1178 | if (t5 < 3 || 9 === t5) r5.__$f |= 2; |
| 1185 | 1179 | n3(r5, i6, t5); |
| 1186 | 1180 | }); |
| 1187 | -C.prototype.shouldComponentUpdate = function(n3, r5) { | |
| 1181 | +k.prototype.shouldComponentUpdate = function(n3, r5) { | |
| 1188 | 1182 | var i6 = this.__$u; |
| 1189 | 1183 | if (!(i6 && void 0 !== i6.s || 4 & this.__$f)) return true; |
| 1190 | 1184 | if (3 & this.__$f) return true; |
| 1191 | 1185 | for (var t5 in r5) return true; |
| @@ -1427,9 +1421,9 @@ | ||
| 1427 | 1421 | } |
| 1428 | 1422 | console.warn(message); |
| 1429 | 1423 | try { |
| 1430 | 1424 | throw Error(message); |
| 1431 | - } catch { | |
| 1425 | + } catch (e4) { | |
| 1432 | 1426 | } |
| 1433 | 1427 | logged.add(message); |
| 1434 | 1428 | } |
| 1435 | 1429 | }; |
| @@ -2014,9 +2008,9 @@ | ||
| 2014 | 2008 | } |
| 2015 | 2009 | function isDefaultDirectiveSuffix(entry) { |
| 2016 | 2010 | return entry.suffix === null; |
| 2017 | 2011 | } |
| 2018 | -var context = X({ client: {}, server: {} }); | |
| 2012 | +var context = G({ client: {}, server: {} }); | |
| 2019 | 2013 | var directiveCallbacks = {}; |
| 2020 | 2014 | var directivePriorities = {}; |
| 2021 | 2015 | var directive = (name, callback, { priority = 10 } = {}) => { |
| 2022 | 2016 | directiveCallbacks[name] = callback; |
| @@ -2111,11 +2105,11 @@ | ||
| 2111 | 2105 | const { client, server } = x2(context); |
| 2112 | 2106 | scope.context = client; |
| 2113 | 2107 | scope.serverContext = server; |
| 2114 | 2108 | scope.ref = previousScope?.ref || A2(null); |
| 2115 | - element = W(element, { ref: scope.ref }); | |
| 2109 | + element = E(element, { ref: scope.ref }); | |
| 2116 | 2110 | scope.attributes = element.props; |
| 2117 | - const children = nextPriorityLevels.length > 0 ? k(Directives, { | |
| 2111 | + const children = nextPriorityLevels.length > 0 ? _(Directives, { | |
| 2118 | 2112 | directives, |
| 2119 | 2113 | priorityLevels: nextPriorityLevels, |
| 2120 | 2114 | element, |
| 2121 | 2115 | originalProps, |
| @@ -2154,9 +2148,9 @@ | ||
| 2154 | 2148 | directives, |
| 2155 | 2149 | priorityLevels, |
| 2156 | 2150 | originalProps: props, |
| 2157 | 2151 | type: vnode.type, |
| 2158 | - element: k(vnode.type, props), | |
| 2152 | + element: _(vnode.type, props), | |
| 2159 | 2153 | top: true |
| 2160 | 2154 | }; |
| 2161 | 2155 | vnode.type = Directives; |
| 2162 | 2156 | } |
| @@ -2395,9 +2389,9 @@ | ||
| 2395 | 2389 | server[namespace], |
| 2396 | 2390 | inheritedServer[namespace] |
| 2397 | 2391 | ); |
| 2398 | 2392 | }); |
| 2399 | - return k(Provider, { value: result }, children); | |
| 2393 | + return _(Provider, { value: result }, children); | |
| 2400 | 2394 | }, |
| 2401 | 2395 | { priority: 5 } |
| 2402 | 2396 | ); |
| 2403 | 2397 | directive("watch", ({ directives: { watch: watch2 }, evaluate }) => { |
| @@ -2672,20 +2666,17 @@ | ||
| 2672 | 2666 | * order after all elements with a positive `tabindex` value). |
| 2673 | 2667 | * |
| 2674 | 2668 | * @see https://html.spec.whatwg.org/#tabindex-value |
| 2675 | 2669 | */ |
| 2676 | - attribute !== "tabIndex" && attribute !== "download" && attribute !== "rowSpan" && attribute !== "colSpan" && attribute !== "role" && attribute !== "popover" && attribute in el) { | |
| 2670 | + attribute !== "tabIndex" && attribute !== "download" && attribute !== "rowSpan" && attribute !== "colSpan" && attribute !== "role" && attribute in el) { | |
| 2677 | 2671 | try { |
| 2678 | 2672 | el[attribute] = result === null || result === void 0 ? "" : result; |
| 2679 | 2673 | return; |
| 2680 | - } catch { | |
| 2674 | + } catch (err) { | |
| 2681 | 2675 | } |
| 2682 | 2676 | } |
| 2683 | 2677 | if (result !== null && result !== void 0 && (result !== false || attribute[4] === "-")) { |
| 2684 | - el.setAttribute( | |
| 2685 | - attribute, | |
| 2686 | - attribute === "popover" && result === true ? "" : result | |
| 2687 | - ); | |
| 2678 | + el.setAttribute(attribute, result); | |
| 2688 | 2679 | } else { |
| 2689 | 2680 | el.removeAttribute(attribute); |
| 2690 | 2681 | } |
| 2691 | 2682 | }); |
| @@ -2704,9 +2695,9 @@ | ||
| 2704 | 2695 | "The data-wp-ignore directive is deprecated and will be removed in version 7.0." |
| 2705 | 2696 | ); |
| 2706 | 2697 | } |
| 2707 | 2698 | const cached = T2(() => innerHTML, []); |
| 2708 | - return k(Type, { | |
| 2699 | + return _(Type, { | |
| 2709 | 2700 | dangerouslySetInnerHTML: { __html: cached }, |
| 2710 | 2701 | ...rest |
| 2711 | 2702 | }); |
| 2712 | 2703 | } |
| @@ -2736,9 +2727,9 @@ | ||
| 2736 | 2727 | if (typeof result === "function") { |
| 2737 | 2728 | result = result(); |
| 2738 | 2729 | } |
| 2739 | 2730 | element.props.children = typeof result === "object" ? null : result.toString(); |
| 2740 | - } catch { | |
| 2731 | + } catch (e4) { | |
| 2741 | 2732 | element.props.children = null; |
| 2742 | 2733 | } |
| 2743 | 2734 | }); |
| 2744 | 2735 | }); |
| @@ -2818,9 +2809,9 @@ | ||
| 2818 | 2809 | server: { ...inheritedValue.server } |
| 2819 | 2810 | }; |
| 2820 | 2811 | mergedContext.client[namespace][itemProp] = item; |
| 2821 | 2812 | result.push( |
| 2822 | - k( | |
| 2813 | + _( | |
| 2823 | 2814 | Provider, |
| 2824 | 2815 | { value: mergedContext, key }, |
| 2825 | 2816 | element.props.content |
| 2826 | 2817 | ) |
| @@ -2874,9 +2865,9 @@ | ||
| 2874 | 2865 | } |
| 2875 | 2866 | }, [vdom]); |
| 2876 | 2867 | if (vdom && typeof vdom.type !== "string") { |
| 2877 | 2868 | const previousScope = getScope(); |
| 2878 | - return W(vdom, { previousScope }); | |
| 2869 | + return E(vdom, { previousScope }); | |
| 2879 | 2870 | } |
| 2880 | 2871 | return vdom; |
| 2881 | 2872 | }, |
| 2882 | 2873 | { priority: 1 } |
| @@ -2987,9 +2978,9 @@ | ||
| 2987 | 2978 | } |
| 2988 | 2979 | } |
| 2989 | 2980 | if (ignore && !island) { |
| 2990 | 2981 | return [ |
| 2991 | - k(localName, { | |
| 2982 | + _(localName, { | |
| 2992 | 2983 | ...props, |
| 2993 | 2984 | innerHTML: elementNode.innerHTML, |
| 2994 | 2985 | __directives: { ignore: true } |
| 2995 | 2986 | }) |
| @@ -3055,9 +3046,9 @@ | ||
| 3055 | 3046 | } |
| 3056 | 3047 | if (island) { |
| 3057 | 3048 | namespaces.pop(); |
| 3058 | 3049 | } |
| 3059 | - return k(localName, props, children); | |
| 3050 | + return _(localName, props, children); | |
| 3060 | 3051 | } |
| 3061 | 3052 | const vdom = walk(treeWalker.currentNode); |
| 3062 | 3053 | nodesToRemove.forEach( |
| 3063 | 3054 | (node) => node.remove() |
| @@ -3085,12 +3076,8 @@ | ||
| 3085 | 3076 | } |
| 3086 | 3077 | return regionRootFragments.get(region); |
| 3087 | 3078 | }; |
| 3088 | 3079 | var initialVdom = /* @__PURE__ */ new WeakMap(); |
| 3089 | -var resolveInitialVdom; | |
| 3090 | -var initialVdomPromise = new Promise((resolve2) => { | |
| 3091 | - resolveInitialVdom = resolve2; | |
| 3092 | -}); | |
| 3093 | 3080 | var hydrateRegions = async () => { |
| 3094 | 3081 | const nodes = document.querySelectorAll(`[data-wp-interactive]`); |
| 3095 | 3082 | for (const node of nodes) { |
| 3096 | 3083 | if (!hydratedIslands.has(node)) { |
| @@ -3098,12 +3085,11 @@ | ||
| 3098 | 3085 | const fragment = getRegionRootFragment(node); |
| 3099 | 3086 | const vdom = toVdom(node); |
| 3100 | 3087 | initialVdom.set(node, vdom); |
| 3101 | 3088 | await splitTask(); |
| 3102 | - U(vdom, fragment); | |
| 3089 | + D(vdom, fragment); | |
| 3103 | 3090 | } |
| 3104 | 3091 | } |
| 3105 | - resolveInitialVdom(initialVdom); | |
| 3106 | 3092 | }; |
| 3107 | 3093 | |
| 3108 | 3094 | // packages/interactivity/build-module/index.mjs |
| 3109 | 3095 | if (true) { |
| @@ -3114,15 +3100,15 @@ | ||
| 3114 | 3100 | var privateApis = (lock) => { |
| 3115 | 3101 | if (lock === requiredConsent) { |
| 3116 | 3102 | return { |
| 3117 | 3103 | getRegionRootFragment, |
| 3118 | - initialVdomPromise, | |
| 3104 | + initialVdom, | |
| 3119 | 3105 | toVdom, |
| 3120 | 3106 | directive, |
| 3121 | 3107 | getNamespace, |
| 3122 | - h: k, | |
| 3123 | - cloneElement: W, | |
| 3124 | - render: R, | |
| 3108 | + h: _, | |
| 3109 | + cloneElement: E, | |
| 3110 | + render: B, | |
| 3125 | 3111 | proxifyState, |
| 3126 | 3112 | parseServerData, |
| 3127 | 3113 | populateServerData, |
| 3128 | 3114 | batch: r3, |
| @@ -3142,9 +3128,9 @@ | ||
| 3142 | 3128 | { ...window.history.state, wpInteractivityId: sessionId }, |
| 3143 | 3129 | "" |
| 3144 | 3130 | ); |
| 3145 | 3131 | window.addEventListener("popstate", (event) => { |
| 3146 | - if (event.state !== null && event.state?.wpInteractivityId !== sessionId) { | |
| 3132 | + if (event.state?.wpInteractivityId !== sessionId) { | |
| 3147 | 3133 | window.location.reload(); |
| 3148 | 3134 | } |
| 3149 | 3135 | }); |
| 3150 | 3136 | export { |
| @@ -3161,9 +3147,9 @@ | ||
| 3161 | 3147 | useInit, |
| 3162 | 3148 | useLayoutEffect, |
| 3163 | 3149 | useMemo, |
| 3164 | 3150 | A2 as useRef, |
| 3165 | - d2 as useState, | |
| 3151 | + h2 as useState, | |
| 3166 | 3152 | useWatch, |
| 3167 | 3153 | watch, |
| 3168 | 3154 | withScope, |
| 3169 | 3155 | withSyncEvent |