@incodetech/web 0.0.0-dev-20260403-eccc51c → 0.0.0-dev-20260407-4677d7f
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/AsYouType-DPWqJvFu.js +2482 -0
- package/dist/addressAutocomplete-t809rK3N.js +108 -0
- package/dist/aligndevicelottie-C9xl1spu.js +12757 -0
- package/dist/antifraud/antifraud.es.js +17 -18
- package/dist/antifraud/styles.css +1 -1
- package/dist/authentication/authentication.es.js +28 -50
- package/dist/back-horizontal-hint-Be3dUGk6.js +137 -0
- package/dist/back-tutorial-BNTyW-1N.js +14584 -0
- package/dist/back-vertical-hint-Bz_rnhd-.js +128 -0
- package/dist/backdevicelottie-DBB1YCtW.js +16678 -0
- package/dist/base.css +327 -67
- package/dist/blurdevicelottie-9WvZCZ6C.js +15939 -0
- package/dist/browser-ponyfill-B4Qc6yfW.js +299 -0
- package/dist/button-DrtZRYJX.js +123 -0
- package/dist/checkbox-kZerHUek.js +85 -0
- package/dist/consent/consent.es.js +82 -89
- package/dist/consent/styles.css +1 -1
- package/dist/countries-y2ydYDhN.js +8323 -0
- package/dist/curp-validation/curp-validation.es.js +271 -313
- package/dist/curp-validation/styles.css +1 -1
- package/dist/dateInputComposed-9zbxhNlX.js +94 -0
- package/dist/dateInputComposed-B36DI9FJ.js +2 -0
- package/dist/defineProperty-brqHEHA_.js +39 -0
- package/dist/document-capture/styles.css +1 -1
- package/dist/documentCapture-CY-g1OUT.js +784 -0
- package/dist/dropdownComposed-CWxUwv7E.js +258 -0
- package/dist/ekyb/ekyb.es.js +2 -0
- package/dist/ekyb/styles.css +1 -1
- package/dist/ekybModule-DGOhCY0S.js +286 -0
- package/dist/ekybModule-mBTq_Apn.js +2 -0
- package/dist/ekyc/ekyc.es.js +2 -0
- package/dist/ekyc/styles.css +1 -1
- package/dist/ekycModule-DZlqb6Bc.js +2 -0
- package/dist/ekycModule-rJxf46TS.js +233 -0
- package/dist/email/email.es.js +110 -154
- package/dist/email/styles.css +1 -1
- package/dist/extensibility-CcUfegWj.js +2248 -0
- package/dist/extensibility.es.js +22 -150
- package/dist/face-match/styles.css +147 -73
- package/dist/faceMatch-K9k9f1HF.js +191 -0
- package/dist/flip-animation-DOJzdXB-.js +6983 -0
- package/dist/flow/flow.es.js +2274 -2613
- package/dist/flow/styles.css +432 -73
- package/dist/formField-BBfAFfVZ.js +100 -0
- package/dist/front-horizontal-hint-aGAhadA2.js +380 -0
- package/dist/front-vertical-hint-DZz1VeNp.js +420 -0
- package/dist/frontdevicelottie-DadDp6be.js +17302 -0
- package/dist/geolocation/geolocation.es.js +852 -832
- package/dist/geolocation/styles.css +1 -1
- package/dist/glaredevicelottie-BfI84cPw.js +14466 -0
- package/dist/governmentValidation/governmentValidation.es.js +100 -106
- package/dist/governmentValidation/styles.css +1 -1
- package/dist/i18n-DZOHbK9q.js +1916 -0
- package/dist/icons-BHbofCgJ.js +245 -0
- package/dist/id/id.es.js +53 -59
- package/dist/id/styles.css +1 -1
- package/dist/id-laser-h-BWyU3VgL.js +467 -0
- package/dist/id-laser-v-JiWXUlv0.js +467 -0
- package/dist/id-tutorial-Cc9xg5_J.js +13152 -0
- package/dist/incodeModule-Bf6yJ8RB.js +18 -0
- package/dist/index.es.js +4 -25
- package/dist/inputComposed-rPAh6ptN.js +77 -0
- package/dist/loadingIcon-BDMR5L6z.js +147 -0
- package/dist/mandatoryConsent-ohmxTqe7.js +101 -0
- package/dist/numberedStep-CQVRixRP.js +11 -0
- package/dist/otpInput-DRZiayDi.js +143 -0
- package/dist/page-M9yWRw73.js +61 -0
- package/dist/passport-horizontal-hint-CFsGs7Dp.js +293 -0
- package/dist/passport-tutorial-z0LN7Hsp.js +11688 -0
- package/dist/passport-vertical-hint-BnCpKWeN.js +267 -0
- package/dist/phone/phone.es.js +87 -121
- package/dist/phone/styles.css +1 -1
- package/dist/phoneInput-C9T_8FJt.js +138 -0
- package/dist/phoneInputComposed-CXTXBQ0B.js +407 -0
- package/dist/processing-yJ5QEgaC.js +15 -0
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/richText-Db0PfpkE.js +1973 -0
- package/dist/rolldown-runtime-CjdbFOpI.js +13 -0
- package/dist/selfie/selfie.es.js +29 -50
- package/dist/selfie/styles.css +170 -66
- package/dist/selfieTutorial-B0MIyPrk.js +2676 -0
- package/dist/setup-Dq2bzNKH.js +15 -0
- package/dist/signature/signature.es.js +557 -707
- package/dist/signature/styles.css +1 -1
- package/dist/spacer-DCljE53A.js +59 -0
- package/dist/spinner-BK2pIUzB.js +41 -0
- package/dist/spinner-DjG-sUzI.js +1 -0
- package/dist/successIcon-AHrfmJvv.js +17 -0
- package/dist/tutorial-C2kSUHWe.js +2781 -0
- package/dist/types/ekyb.d.ts +29 -0
- package/dist/types/ekyc.d.ts +29 -0
- package/dist/types/extensibility.d.ts +3 -5
- package/dist/types/flow.d.ts +1 -1
- package/dist/types/index.d.ts +2 -10
- package/dist/typography-BQrJwR60.js +1 -0
- package/dist/typography-BtyuWjzC.js +29 -0
- package/dist/uiConfig-CwpQ-IM6.js +20 -0
- package/dist/vendor-preact-D6SntenC.js +958 -0
- package/dist/warningIcon-Cvj-ayg1.js +17 -0
- package/package.json +8 -11
- package/dist/AsYouType-D1H_js4X.js +0 -2607
- package/dist/Trans-aTzdT_SA.js +0 -55
- package/dist/addressAutocomplete-C8-wL1j_.js +0 -153
- package/dist/aligndevicelottie-DlQCRPfM.js +0 -29
- package/dist/back-horizontal-hint-CSlf9KI1.js +0 -5
- package/dist/back-tutorial-An9AcMSe.js +0 -29
- package/dist/back-vertical-hint-CNieqiCr.js +0 -5
- package/dist/backdevicelottie-B4NgyWmX.js +0 -29
- package/dist/blurdevicelottie-_BZRug1c.js +0 -29
- package/dist/browser-ponyfill-B6W6hHVY.js +0 -344
- package/dist/button-CE9kRlem.js +0 -184
- package/dist/cameraView-C2X7klNb.js +0 -55
- package/dist/captureOverlay-tCb4R4WE.js +0 -592
- package/dist/checkbox-B5X-mfqq.js +0 -137
- package/dist/chevronDown-DSHaPKbi.js +0 -23
- package/dist/closeIcon-9Hc97omv.js +0 -28
- package/dist/countries-DfLkrF0x.js +0 -616
- package/dist/dateInputComposed-C7PCzh-U.js +0 -173
- package/dist/documentCapture-C0mO-RGE.js +0 -692
- package/dist/dropdownComposed-BpinYlrx.js +0 -367
- package/dist/ekybModule-Dr6LJUg-.js +0 -357
- package/dist/ekycModule-C3mswduI.js +0 -291
- package/dist/errorContent-Cb8nmQAE.js +0 -44
- package/dist/errorIcon-DEARBrGx.js +0 -26
- package/dist/faceMatch-DbDp7D3d.js +0 -237
- package/dist/fileIcon-CCSvS10T.js +0 -52
- package/dist/flip-animation-COR596wy.js +0 -29
- package/dist/flipAnimation-BqV462TA.js +0 -2059
- package/dist/formField-CP6wDdfA.js +0 -106
- package/dist/front-horizontal-hint-lRLKd7vY.js +0 -7
- package/dist/front-vertical-hint-qQoJXRE3.js +0 -7
- package/dist/frontdevicelottie-KhKxT5n9.js +0 -29
- package/dist/glaredevicelottie-DLuIStvb.js +0 -29
- package/dist/id-laser-h-BBV3r3rz.js +0 -29
- package/dist/id-laser-v-BTHJaSfx.js +0 -29
- package/dist/id-tutorial-B-F5Q28m.js +0 -29
- package/dist/incodeModule-C4XIllao.js +0 -96
- package/dist/inputComposed-fUbAGrDy.js +0 -103
- package/dist/instance-BWYzq8dk.js +0 -2163
- package/dist/loadingIcon-DmuPXh70.js +0 -195
- package/dist/mandatoryConsent-5xPI0cor.js +0 -94
- package/dist/manualCaptureButton-BvFmTyJe.js +0 -372
- package/dist/numberedStep-DwUB__mh.js +0 -5
- package/dist/otpInput-BFXhqFRT.js +0 -156
- package/dist/page-SrUl0qtN.js +0 -69
- package/dist/passport-horizontal-hint-BCtpMp1Y.js +0 -5
- package/dist/passport-tutorial-CaYBFTqt.js +0 -29
- package/dist/passport-vertical-hint-GaLnzqHP.js +0 -5
- package/dist/permissions-DT4Fz9MR.js +0 -709
- package/dist/phoneInput-CGr8TxOO.js +0 -158
- package/dist/phoneInputComposed-Cm9O2Jba.js +0 -206
- package/dist/processing-szVOCQwZ.js +0 -19
- package/dist/richText-cspvNz2a.js +0 -1807
- package/dist/selfieTutorial-Dm_p0ke9.js +0 -29
- package/dist/spinner-DygONskw.js +0 -60
- package/dist/successIcon-Bjsdc4lF.js +0 -26
- package/dist/tutorial-Cdz1025D.js +0 -473
- package/dist/types/ekyb/styles.d.ts +0 -1
- package/dist/types/ekyc/styles.d.ts +0 -1
- package/dist/typography-BDACYR5i.js +0 -14
- package/dist/uiConfig-Dnt-2YWB.js +0 -23
- package/dist/useMediaQuery-lJdQBmC2.js +0 -18
- package/dist/vendor-preact-BoMmvSgn.js +0 -694
- package/dist/warningIcon-DQq_MrOB.js +0 -26
|
@@ -0,0 +1,958 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/preact@10.27.2/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 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, g = Array.isArray;
|
|
3
|
+
function _(e, t) {
|
|
4
|
+
for (var n in t) e[n] = t[n];
|
|
5
|
+
return e;
|
|
6
|
+
}
|
|
7
|
+
function v(e) {
|
|
8
|
+
e && e.parentNode && e.parentNode.removeChild(e);
|
|
9
|
+
}
|
|
10
|
+
function y(t, n, r) {
|
|
11
|
+
var i, a, o, s = {};
|
|
12
|
+
for (o in n) o == "key" ? i = n[o] : o == "ref" ? a = n[o] : s[o] = n[o];
|
|
13
|
+
if (arguments.length > 2 && (s.children = arguments.length > 3 ? e.call(arguments, 2) : r), typeof t == "function" && t.defaultProps != null) for (o in t.defaultProps) s[o] === void 0 && (s[o] = t.defaultProps[o]);
|
|
14
|
+
return b(t, s, i, a, null);
|
|
15
|
+
}
|
|
16
|
+
function b(e, r, i, a, o) {
|
|
17
|
+
var s = {
|
|
18
|
+
type: e,
|
|
19
|
+
props: r,
|
|
20
|
+
key: i,
|
|
21
|
+
ref: a,
|
|
22
|
+
__k: null,
|
|
23
|
+
__: null,
|
|
24
|
+
__b: 0,
|
|
25
|
+
__e: null,
|
|
26
|
+
__c: null,
|
|
27
|
+
constructor: void 0,
|
|
28
|
+
__v: o ?? ++n,
|
|
29
|
+
__i: -1,
|
|
30
|
+
__u: 0
|
|
31
|
+
};
|
|
32
|
+
return o == null && t.vnode != null && t.vnode(s), s;
|
|
33
|
+
}
|
|
34
|
+
function x(e) {
|
|
35
|
+
return e.children;
|
|
36
|
+
}
|
|
37
|
+
function S(e, t) {
|
|
38
|
+
this.props = e, this.context = t;
|
|
39
|
+
}
|
|
40
|
+
function C(e, t) {
|
|
41
|
+
if (t == null) return e.__ ? C(e.__, e.__i + 1) : null;
|
|
42
|
+
for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;
|
|
43
|
+
return typeof e.type == "function" ? C(e) : null;
|
|
44
|
+
}
|
|
45
|
+
function w(e) {
|
|
46
|
+
var t, n;
|
|
47
|
+
if ((e = e.__) != null && e.__c != null) {
|
|
48
|
+
for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) {
|
|
49
|
+
e.__e = e.__c.base = n.__e;
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
return w(e);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function T(e) {
|
|
56
|
+
(!e.__d && (e.__d = !0) && i.push(e) && !E.__r++ || a != t.debounceRendering) && ((a = t.debounceRendering) || o)(E);
|
|
57
|
+
}
|
|
58
|
+
function E() {
|
|
59
|
+
for (var e, n, r, a, o, c, l, u = 1; i.length;) i.length > u && i.sort(s), e = i.shift(), u = i.length, e.__d && (r = void 0, a = void 0, o = (a = (n = e).__v).__e, c = [], l = [], n.__P && ((r = _({}, a)).__v = a.__v + 1, t.vnode && t.vnode(r), P(n.__P, r, a, n.__n, n.__P.namespaceURI, 32 & a.__u ? [o] : null, c, o ?? C(a), !!(32 & a.__u), l), r.__v = a.__v, r.__.__k[r.__i] = r, te(c, r, l), a.__e = a.__ = null, r.__e != o && w(r)));
|
|
60
|
+
E.__r = 0;
|
|
61
|
+
}
|
|
62
|
+
function ee(e, t, n, r, i, a, o, s, c, l, u) {
|
|
63
|
+
var d, f, h, g, _, v, y, b = r && r.__k || m, x = t.length;
|
|
64
|
+
for (c = D(n, t, b, c, x), d = 0; d < x; d++) (h = n.__k[d]) != null && (f = h.__i == -1 ? p : b[h.__i] || p, h.__i = d, v = P(e, h, f, i, a, o, s, c, l, u), g = h.__e, h.ref && f.ref != h.ref && (f.ref && I(f.ref, null, h), u.push(h.ref, h.__c || g, h)), _ == null && g != null && (_ = g), (y = !!(4 & h.__u)) || f.__k === h.__k ? c = O(h, c, e, y) : typeof h.type == "function" && v !== void 0 ? c = v : g && (c = g.nextSibling), h.__u &= -7);
|
|
65
|
+
return n.__e = _, c;
|
|
66
|
+
}
|
|
67
|
+
function D(e, t, n, r, i) {
|
|
68
|
+
var a, o, s, c, l, u = n.length, d = u, f = 0;
|
|
69
|
+
for (e.__k = Array(i), a = 0; a < i; a++) (o = t[a]) != null && typeof o != "boolean" && typeof o != "function" ? (c = a + f, (o = e.__k[a] = typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? b(null, o, null, null, null) : g(o) ? b(x, { children: o }, null, null, null) : o.constructor == null && o.__b > 0 ? b(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o).__ = e, o.__b = e.__b + 1, s = null, (l = o.__i = A(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;
|
|
70
|
+
if (d) for (a = 0; a < u; a++) (s = n[a]) != null && !(2 & s.__u) && (s.__e == r && (r = C(s)), ie(s, s));
|
|
71
|
+
return r;
|
|
72
|
+
}
|
|
73
|
+
function O(e, t, n, r) {
|
|
74
|
+
var i, a;
|
|
75
|
+
if (typeof e.type == "function") {
|
|
76
|
+
for (i = e.__k, a = 0; i && a < i.length; a++) i[a] && (i[a].__ = e, t = O(i[a], t, n, r));
|
|
77
|
+
return t;
|
|
78
|
+
}
|
|
79
|
+
e.__e != t && (r && (t && e.type && !t.parentNode && (t = C(e)), n.insertBefore(e.__e, t || null)), t = e.__e);
|
|
80
|
+
do
|
|
81
|
+
t &&= t.nextSibling;
|
|
82
|
+
while (t != null && t.nodeType == 8);
|
|
83
|
+
return t;
|
|
84
|
+
}
|
|
85
|
+
function k(e, t) {
|
|
86
|
+
return t ||= [], e == null || typeof e == "boolean" || (g(e) ? e.some(function(e) {
|
|
87
|
+
k(e, t);
|
|
88
|
+
}) : t.push(e)), t;
|
|
89
|
+
}
|
|
90
|
+
function A(e, t, n, r) {
|
|
91
|
+
var i, a, o, s = e.key, c = e.type, l = t[n], u = l != null && (2 & l.__u) == 0;
|
|
92
|
+
if (l === null && e.key == null || u && s == l.key && c == l.type) return n;
|
|
93
|
+
if (r > (u ? 1 : 0)) {
|
|
94
|
+
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;
|
|
95
|
+
}
|
|
96
|
+
return -1;
|
|
97
|
+
}
|
|
98
|
+
function j(e, t, n) {
|
|
99
|
+
t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || h.test(t) ? n : n + "px";
|
|
100
|
+
}
|
|
101
|
+
function M(e, t, n, r, i) {
|
|
102
|
+
var a, o;
|
|
103
|
+
n: if (t == "style") if (typeof n == "string") e.style.cssText = n;
|
|
104
|
+
else {
|
|
105
|
+
if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || j(e.style, t, "");
|
|
106
|
+
if (n) for (t in n) r && n[t] == r[t] || j(e.style, t, n[t]);
|
|
107
|
+
}
|
|
108
|
+
else if (t[0] == "o" && t[1] == "n") a = t != (t = t.replace(c, "$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 = l, e.addEventListener(t, a ? d : u, a)) : e.removeEventListener(t, a ? d : u, a);
|
|
109
|
+
else {
|
|
110
|
+
if (i == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
111
|
+
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 {
|
|
112
|
+
e[t] = n ?? "";
|
|
113
|
+
break n;
|
|
114
|
+
} catch {}
|
|
115
|
+
typeof n == "function" || (n == null || !1 === n && t[4] != "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && n == 1 ? "" : n));
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
function N(e) {
|
|
119
|
+
return function(n) {
|
|
120
|
+
if (this.l) {
|
|
121
|
+
var r = this.l[n.type + e];
|
|
122
|
+
if (n.t == null) n.t = l++;
|
|
123
|
+
else if (n.t < r.u) return;
|
|
124
|
+
return r(t.event ? t.event(n) : n);
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
function P(e, n, r, i, a, o, s, c, l, u) {
|
|
129
|
+
var d, f, p, m, h, y, b, C, w, T, E, D, O, k, A, j, M, N = n.type;
|
|
130
|
+
if (n.constructor != null) return null;
|
|
131
|
+
128 & r.__u && (l = !!(32 & r.__u), o = [c = n.__e = r.__e]), (d = t.__b) && d(n);
|
|
132
|
+
n: if (typeof N == "function") try {
|
|
133
|
+
if (C = n.props, w = "prototype" in N && N.prototype.render, T = (d = N.contextType) && i[d.__c], E = d ? T ? T.props.value : d.__ : i, r.__c ? b = (f = n.__c = r.__c).__ = f.__E : (w ? n.__c = f = new N(C, E) : (n.__c = f = new S(C, E), f.constructor = N, f.render = ae), T && T.sub(f), f.props = C, f.state ||= {}, f.context = E, f.__n = i, p = f.__d = !0, f.__h = [], f._sb = []), w && f.__s == null && (f.__s = f.state), w && N.getDerivedStateFromProps != null && (f.__s == f.state && (f.__s = _({}, f.__s)), _(f.__s, N.getDerivedStateFromProps(C, f.__s))), m = f.props, h = f.state, f.__v = n, p) w && N.getDerivedStateFromProps == null && f.componentWillMount != null && f.componentWillMount(), w && f.componentDidMount != null && f.__h.push(f.componentDidMount);
|
|
134
|
+
else {
|
|
135
|
+
if (w && N.getDerivedStateFromProps == null && C !== m && f.componentWillReceiveProps != null && f.componentWillReceiveProps(C, E), !f.__e && f.shouldComponentUpdate != null && !1 === f.shouldComponentUpdate(C, f.__s, E) || n.__v == r.__v) {
|
|
136
|
+
for (n.__v != r.__v && (f.props = C, f.state = f.__s, f.__d = !1), n.__e = r.__e, n.__k = r.__k, n.__k.some(function(e) {
|
|
137
|
+
e && (e.__ = n);
|
|
138
|
+
}), D = 0; D < f._sb.length; D++) f.__h.push(f._sb[D]);
|
|
139
|
+
f._sb = [], f.__h.length && s.push(f);
|
|
140
|
+
break n;
|
|
141
|
+
}
|
|
142
|
+
f.componentWillUpdate != null && f.componentWillUpdate(C, f.__s, E), w && f.componentDidUpdate != null && f.__h.push(function() {
|
|
143
|
+
f.componentDidUpdate(m, h, y);
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
if (f.context = E, f.props = C, f.__P = e, f.__e = !1, O = t.__r, k = 0, w) {
|
|
147
|
+
for (f.state = f.__s, f.__d = !1, O && O(n), d = f.render(f.props, f.state, f.context), A = 0; A < f._sb.length; A++) f.__h.push(f._sb[A]);
|
|
148
|
+
f._sb = [];
|
|
149
|
+
} else do
|
|
150
|
+
f.__d = !1, O && O(n), d = f.render(f.props, f.state, f.context), f.state = f.__s;
|
|
151
|
+
while (f.__d && ++k < 25);
|
|
152
|
+
f.state = f.__s, f.getChildContext != null && (i = _(_({}, i), f.getChildContext())), w && !p && f.getSnapshotBeforeUpdate != null && (y = f.getSnapshotBeforeUpdate(m, h)), j = d, d != null && d.type === x && d.key == null && (j = ne(d.props.children)), c = ee(e, g(j) ? j : [j], n, r, i, a, o, s, c, l, u), f.base = n.__e, n.__u &= -161, f.__h.length && s.push(f), b && (f.__E = f.__ = null);
|
|
153
|
+
} catch (e) {
|
|
154
|
+
if (n.__v = null, l || o != null) if (e.then) {
|
|
155
|
+
for (n.__u |= l ? 160 : 128; c && c.nodeType == 8 && c.nextSibling;) c = c.nextSibling;
|
|
156
|
+
o[o.indexOf(c)] = null, n.__e = c;
|
|
157
|
+
} else {
|
|
158
|
+
for (M = o.length; M--;) v(o[M]);
|
|
159
|
+
F(n);
|
|
160
|
+
}
|
|
161
|
+
else n.__e = r.__e, n.__k = r.__k, e.then || F(n);
|
|
162
|
+
t.__e(e, n, r);
|
|
163
|
+
}
|
|
164
|
+
else o == null && n.__v == r.__v ? (n.__k = r.__k, n.__e = r.__e) : c = n.__e = re(r.__e, n, r, i, a, o, s, l, u);
|
|
165
|
+
return (d = t.diffed) && d(n), 128 & n.__u ? void 0 : c;
|
|
166
|
+
}
|
|
167
|
+
function F(e) {
|
|
168
|
+
e && e.__c && (e.__c.__e = !0), e && e.__k && e.__k.forEach(F);
|
|
169
|
+
}
|
|
170
|
+
function te(e, n, r) {
|
|
171
|
+
for (var i = 0; i < r.length; i++) I(r[i], r[++i], r[++i]);
|
|
172
|
+
t.__c && t.__c(n, e), e.some(function(n) {
|
|
173
|
+
try {
|
|
174
|
+
e = n.__h, n.__h = [], e.some(function(e) {
|
|
175
|
+
e.call(n);
|
|
176
|
+
});
|
|
177
|
+
} catch (e) {
|
|
178
|
+
t.__e(e, n.__v);
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
function ne(e) {
|
|
183
|
+
return typeof e != "object" || !e || e.__b && e.__b > 0 ? e : g(e) ? e.map(ne) : _({}, e);
|
|
184
|
+
}
|
|
185
|
+
function re(n, r, i, a, o, s, c, l, u) {
|
|
186
|
+
var d, f, m, h, _, y, b, x = i.props, S = r.props, w = r.type;
|
|
187
|
+
if (w == "svg" ? o = "http://www.w3.org/2000/svg" : w == "math" ? o = "http://www.w3.org/1998/Math/MathML" : o ||= "http://www.w3.org/1999/xhtml", s != null) {
|
|
188
|
+
for (d = 0; d < s.length; d++) if ((_ = s[d]) && "setAttribute" in _ == !!w && (w ? _.localName == w : _.nodeType == 3)) {
|
|
189
|
+
n = _, s[d] = null;
|
|
190
|
+
break;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
if (n == null) {
|
|
194
|
+
if (w == null) return document.createTextNode(S);
|
|
195
|
+
n = document.createElementNS(o, w, S.is && S), l &&= (t.__m && t.__m(r, s), !1), s = null;
|
|
196
|
+
}
|
|
197
|
+
if (w == null) x === S || l && n.data == S || (n.data = S);
|
|
198
|
+
else {
|
|
199
|
+
if (s &&= e.call(n.childNodes), x = i.props || p, !l && s != null) for (x = {}, d = 0; d < n.attributes.length; d++) x[(_ = n.attributes[d]).name] = _.value;
|
|
200
|
+
for (d in x) if (_ = x[d], d != "children") {
|
|
201
|
+
if (d == "dangerouslySetInnerHTML") m = _;
|
|
202
|
+
else if (!(d in S)) {
|
|
203
|
+
if (d == "value" && "defaultValue" in S || d == "checked" && "defaultChecked" in S) continue;
|
|
204
|
+
M(n, d, null, _, o);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
for (d in S) _ = S[d], d == "children" ? h = _ : d == "dangerouslySetInnerHTML" ? f = _ : d == "value" ? y = _ : d == "checked" ? b = _ : l && typeof _ != "function" || x[d] === _ || M(n, d, _, x[d], o);
|
|
208
|
+
if (f) l || m && (f.__html == m.__html || f.__html == n.innerHTML) || (n.innerHTML = f.__html), r.__k = [];
|
|
209
|
+
else if (m && (n.innerHTML = ""), ee(r.type == "template" ? n.content : n, g(h) ? h : [h], r, i, a, w == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, s, c, s ? s[0] : i.__k && C(i, 0), l, u), s != null) for (d = s.length; d--;) v(s[d]);
|
|
210
|
+
l || (d = "value", w == "progress" && y == null ? n.removeAttribute("value") : y != null && (y !== n[d] || w == "progress" && !y || w == "option" && y != x[d]) && M(n, d, y, x[d], o), d = "checked", b != null && b != n[d] && M(n, d, b, x[d], o));
|
|
211
|
+
}
|
|
212
|
+
return n;
|
|
213
|
+
}
|
|
214
|
+
function I(e, n, r) {
|
|
215
|
+
try {
|
|
216
|
+
if (typeof e == "function") {
|
|
217
|
+
var i = typeof e.__u == "function";
|
|
218
|
+
i && e.__u(), i && n == null || (e.__u = e(n));
|
|
219
|
+
} else e.current = n;
|
|
220
|
+
} catch (e) {
|
|
221
|
+
t.__e(e, r);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
function ie(e, n, r) {
|
|
225
|
+
var i, a;
|
|
226
|
+
if (t.unmount && t.unmount(e), (i = e.ref) && (i.current && i.current != e.__e || I(i, null, n)), (i = e.__c) != null) {
|
|
227
|
+
if (i.componentWillUnmount) try {
|
|
228
|
+
i.componentWillUnmount();
|
|
229
|
+
} catch (e) {
|
|
230
|
+
t.__e(e, n);
|
|
231
|
+
}
|
|
232
|
+
i.base = i.__P = null;
|
|
233
|
+
}
|
|
234
|
+
if (i = e.__k) for (a = 0; a < i.length; a++) i[a] && ie(i[a], n, r || typeof e.type != "function");
|
|
235
|
+
r || v(e.__e), e.__c = e.__ = e.__e = void 0;
|
|
236
|
+
}
|
|
237
|
+
function ae(e, t, n) {
|
|
238
|
+
return this.constructor(e, n);
|
|
239
|
+
}
|
|
240
|
+
function L(n, r, i) {
|
|
241
|
+
var a, o, s, c;
|
|
242
|
+
r == document && (r = document.documentElement), t.__ && t.__(n, r), o = (a = typeof i == "function") ? null : i && i.__k || r.__k, s = [], c = [], P(r, n = (!a && i || r).__k = y(x, null, [n]), o || p, p, r.namespaceURI, !a && i ? [i] : o ? null : r.firstChild ? e.call(r.childNodes) : null, s, !a && i ? i : o ? o.__e : r.firstChild, a, c), te(s, n, c);
|
|
243
|
+
}
|
|
244
|
+
function oe(e, t) {
|
|
245
|
+
L(e, t, oe);
|
|
246
|
+
}
|
|
247
|
+
function R(t, n, r) {
|
|
248
|
+
var i, a, o, s, c = _({}, t.props);
|
|
249
|
+
for (o in t.type && t.type.defaultProps && (s = t.type.defaultProps), n) o == "key" ? i = n[o] : o == "ref" ? a = n[o] : c[o] = n[o] === void 0 && s != null ? s[o] : n[o];
|
|
250
|
+
return arguments.length > 2 && (c.children = arguments.length > 3 ? e.call(arguments, 2) : r), b(t.type, c, i || t.key, a || t.ref, null);
|
|
251
|
+
}
|
|
252
|
+
function se(e) {
|
|
253
|
+
function t(e) {
|
|
254
|
+
var n, r;
|
|
255
|
+
return this.getChildContext || (n = /* @__PURE__ */ new Set(), (r = {})[t.__c] = this, this.getChildContext = function() {
|
|
256
|
+
return r;
|
|
257
|
+
}, this.componentWillUnmount = function() {
|
|
258
|
+
n = null;
|
|
259
|
+
}, this.shouldComponentUpdate = function(e) {
|
|
260
|
+
this.props.value != e.value && n.forEach(function(e) {
|
|
261
|
+
e.__e = !0, T(e);
|
|
262
|
+
});
|
|
263
|
+
}, this.sub = function(e) {
|
|
264
|
+
n.add(e);
|
|
265
|
+
var t = e.componentWillUnmount;
|
|
266
|
+
e.componentWillUnmount = function() {
|
|
267
|
+
n && n.delete(e), t && t.call(e);
|
|
268
|
+
};
|
|
269
|
+
}), e.children;
|
|
270
|
+
}
|
|
271
|
+
return t.__c = "__cC" + f++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(e, t) {
|
|
272
|
+
return e.children(t);
|
|
273
|
+
}).contextType = t, t;
|
|
274
|
+
}
|
|
275
|
+
e = m.slice, t = { __e: function(e, t, n, r) {
|
|
276
|
+
for (var i, a, o; t = t.__;) if ((i = t.__c) && !i.__) try {
|
|
277
|
+
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;
|
|
278
|
+
} catch (t) {
|
|
279
|
+
e = t;
|
|
280
|
+
}
|
|
281
|
+
throw e;
|
|
282
|
+
} }, n = 0, r = function(e) {
|
|
283
|
+
return e != null && e.constructor == null;
|
|
284
|
+
}, S.prototype.setState = function(e, t) {
|
|
285
|
+
var n = this.__s != null && this.__s != this.state ? this.__s : this.__s = _({}, this.state);
|
|
286
|
+
typeof e == "function" && (e = e(_({}, n), this.props)), e && _(n, e), e != null && this.__v && (t && this._sb.push(t), T(this));
|
|
287
|
+
}, S.prototype.forceUpdate = function(e) {
|
|
288
|
+
this.__v && (this.__e = !0, e && this.__h.push(e), T(this));
|
|
289
|
+
}, S.prototype.render = x, i = [], o = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, s = function(e, t) {
|
|
290
|
+
return e.__v.__b - t.__v.__b;
|
|
291
|
+
}, E.__r = 0, c = /(PointerCapture)$|Capture$/i, l = 0, u = N(!1), d = N(!0), f = 0;
|
|
292
|
+
//#endregion
|
|
293
|
+
//#region ../../node_modules/.pnpm/preact@10.27.2/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js
|
|
294
|
+
var ce = 0;
|
|
295
|
+
Array.isArray;
|
|
296
|
+
function le(e, n, r, i, a, o) {
|
|
297
|
+
n ||= {};
|
|
298
|
+
var s, c, l = n;
|
|
299
|
+
if ("ref" in l) for (c in l = {}, n) c == "ref" ? s = n[c] : l[c] = n[c];
|
|
300
|
+
var u = {
|
|
301
|
+
type: e,
|
|
302
|
+
props: l,
|
|
303
|
+
key: r,
|
|
304
|
+
ref: s,
|
|
305
|
+
__k: null,
|
|
306
|
+
__: null,
|
|
307
|
+
__b: 0,
|
|
308
|
+
__e: null,
|
|
309
|
+
__c: null,
|
|
310
|
+
constructor: void 0,
|
|
311
|
+
__v: --ce,
|
|
312
|
+
__i: -1,
|
|
313
|
+
__u: 0,
|
|
314
|
+
__source: a,
|
|
315
|
+
__self: o
|
|
316
|
+
};
|
|
317
|
+
if (typeof e == "function" && (s = e.defaultProps)) for (c in s) l[c] === void 0 && (l[c] = s[c]);
|
|
318
|
+
return t.vnode && t.vnode(u), u;
|
|
319
|
+
}
|
|
320
|
+
//#endregion
|
|
321
|
+
//#region ../../node_modules/.pnpm/preact@10.27.2/node_modules/preact/hooks/dist/hooks.module.js
|
|
322
|
+
var z, B, V, ue, H = 0, de = [], U = t, fe = U.__b, pe = U.__r, me = U.diffed, he = U.__c, ge = U.unmount, _e = U.__;
|
|
323
|
+
function W(e, t) {
|
|
324
|
+
U.__h && U.__h(B, e, H || t), H = 0;
|
|
325
|
+
var n = B.__H ||= {
|
|
326
|
+
__: [],
|
|
327
|
+
__h: []
|
|
328
|
+
};
|
|
329
|
+
return e >= n.__.length && n.__.push({}), n.__[e];
|
|
330
|
+
}
|
|
331
|
+
function ve(e) {
|
|
332
|
+
return H = 1, ye(Ae, e);
|
|
333
|
+
}
|
|
334
|
+
function ye(e, t, n) {
|
|
335
|
+
var r = W(z++, 2);
|
|
336
|
+
if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Ae(void 0, t), function(e) {
|
|
337
|
+
var t = r.__N ? r.__N[0] : r.__[0], n = r.t(t, e);
|
|
338
|
+
t !== n && (r.__N = [n, r.__[1]], r.__c.setState({}));
|
|
339
|
+
}], r.__c = B, !B.__f)) {
|
|
340
|
+
var i = function(e, t, n) {
|
|
341
|
+
if (!r.__c.__H) return !0;
|
|
342
|
+
var i = r.__c.__H.__.filter(function(e) {
|
|
343
|
+
return !!e.__c;
|
|
344
|
+
});
|
|
345
|
+
if (i.every(function(e) {
|
|
346
|
+
return !e.__N;
|
|
347
|
+
})) return !a || a.call(this, e, t, n);
|
|
348
|
+
var o = r.__c.props !== e;
|
|
349
|
+
return i.forEach(function(e) {
|
|
350
|
+
if (e.__N) {
|
|
351
|
+
var t = e.__[0];
|
|
352
|
+
e.__ = e.__N, e.__N = void 0, t !== e.__[0] && (o = !0);
|
|
353
|
+
}
|
|
354
|
+
}), a && a.call(this, e, t, n) || o;
|
|
355
|
+
};
|
|
356
|
+
B.__f = !0;
|
|
357
|
+
var a = B.shouldComponentUpdate, o = B.componentWillUpdate;
|
|
358
|
+
B.componentWillUpdate = function(e, t, n) {
|
|
359
|
+
if (this.__e) {
|
|
360
|
+
var r = a;
|
|
361
|
+
a = void 0, i(e, t, n), a = r;
|
|
362
|
+
}
|
|
363
|
+
o && o.call(this, e, t, n);
|
|
364
|
+
}, B.shouldComponentUpdate = i;
|
|
365
|
+
}
|
|
366
|
+
return r.__N || r.__;
|
|
367
|
+
}
|
|
368
|
+
function be(e, t) {
|
|
369
|
+
var n = W(z++, 3);
|
|
370
|
+
!U.__s && ke(n.__H, t) && (n.__ = e, n.u = t, B.__H.__h.push(n));
|
|
371
|
+
}
|
|
372
|
+
function G(e, t) {
|
|
373
|
+
var n = W(z++, 4);
|
|
374
|
+
!U.__s && ke(n.__H, t) && (n.__ = e, n.u = t, B.__h.push(n));
|
|
375
|
+
}
|
|
376
|
+
function xe(e) {
|
|
377
|
+
return H = 5, K(function() {
|
|
378
|
+
return { current: e };
|
|
379
|
+
}, []);
|
|
380
|
+
}
|
|
381
|
+
function Se(e, t, n) {
|
|
382
|
+
H = 6, G(function() {
|
|
383
|
+
if (typeof e == "function") {
|
|
384
|
+
var n = e(t());
|
|
385
|
+
return function() {
|
|
386
|
+
e(null), n && typeof n == "function" && n();
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
if (e) return e.current = t(), function() {
|
|
390
|
+
return e.current = null;
|
|
391
|
+
};
|
|
392
|
+
}, n == null ? n : n.concat(e));
|
|
393
|
+
}
|
|
394
|
+
function K(e, t) {
|
|
395
|
+
var n = W(z++, 7);
|
|
396
|
+
return ke(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
|
|
397
|
+
}
|
|
398
|
+
function Ce(e, t) {
|
|
399
|
+
return H = 8, K(function() {
|
|
400
|
+
return e;
|
|
401
|
+
}, t);
|
|
402
|
+
}
|
|
403
|
+
function we(e) {
|
|
404
|
+
var t = B.context[e.__c], n = W(z++, 9);
|
|
405
|
+
return n.c = e, t ? (n.__ ?? (n.__ = !0, t.sub(B)), t.props.value) : e.__;
|
|
406
|
+
}
|
|
407
|
+
function Te() {
|
|
408
|
+
var e = W(z++, 11);
|
|
409
|
+
if (!e.__) {
|
|
410
|
+
for (var t = B.__v; t !== null && !t.__m && t.__ !== null;) t = t.__;
|
|
411
|
+
var n = t.__m ||= [0, 0];
|
|
412
|
+
e.__ = "P" + n[0] + "-" + n[1]++;
|
|
413
|
+
}
|
|
414
|
+
return e.__;
|
|
415
|
+
}
|
|
416
|
+
function Ee() {
|
|
417
|
+
for (var e; e = de.shift();) if (e.__P && e.__H) try {
|
|
418
|
+
e.__H.__h.forEach(q), e.__H.__h.forEach(J), e.__H.__h = [];
|
|
419
|
+
} catch (t) {
|
|
420
|
+
e.__H.__h = [], U.__e(t, e.__v);
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
U.__b = function(e) {
|
|
424
|
+
B = null, fe && fe(e);
|
|
425
|
+
}, U.__ = function(e, t) {
|
|
426
|
+
e && t.__k && t.__k.__m && (e.__m = t.__k.__m), _e && _e(e, t);
|
|
427
|
+
}, U.__r = function(e) {
|
|
428
|
+
pe && pe(e), z = 0;
|
|
429
|
+
var t = (B = e.__c).__H;
|
|
430
|
+
t && (V === B ? (t.__h = [], B.__h = [], t.__.forEach(function(e) {
|
|
431
|
+
e.__N && (e.__ = e.__N), e.u = e.__N = void 0;
|
|
432
|
+
})) : (t.__h.forEach(q), t.__h.forEach(J), t.__h = [], z = 0)), V = B;
|
|
433
|
+
}, U.diffed = function(e) {
|
|
434
|
+
me && me(e);
|
|
435
|
+
var t = e.__c;
|
|
436
|
+
t && t.__H && (t.__H.__h.length && (de.push(t) !== 1 && ue === U.requestAnimationFrame || ((ue = U.requestAnimationFrame) || Oe)(Ee)), t.__H.__.forEach(function(e) {
|
|
437
|
+
e.u && (e.__H = e.u), e.u = void 0;
|
|
438
|
+
})), V = B = null;
|
|
439
|
+
}, U.__c = function(e, t) {
|
|
440
|
+
t.some(function(e) {
|
|
441
|
+
try {
|
|
442
|
+
e.__h.forEach(q), e.__h = e.__h.filter(function(e) {
|
|
443
|
+
return !e.__ || J(e);
|
|
444
|
+
});
|
|
445
|
+
} catch (n) {
|
|
446
|
+
t.some(function(e) {
|
|
447
|
+
e.__h &&= [];
|
|
448
|
+
}), t = [], U.__e(n, e.__v);
|
|
449
|
+
}
|
|
450
|
+
}), he && he(e, t);
|
|
451
|
+
}, U.unmount = function(e) {
|
|
452
|
+
ge && ge(e);
|
|
453
|
+
var t, n = e.__c;
|
|
454
|
+
n && n.__H && (n.__H.__.forEach(function(e) {
|
|
455
|
+
try {
|
|
456
|
+
q(e);
|
|
457
|
+
} catch (e) {
|
|
458
|
+
t = e;
|
|
459
|
+
}
|
|
460
|
+
}), n.__H = void 0, t && U.__e(t, n.__v));
|
|
461
|
+
};
|
|
462
|
+
var De = typeof requestAnimationFrame == "function";
|
|
463
|
+
function Oe(e) {
|
|
464
|
+
var t, n = function() {
|
|
465
|
+
clearTimeout(r), De && cancelAnimationFrame(t), setTimeout(e);
|
|
466
|
+
}, r = setTimeout(n, 35);
|
|
467
|
+
De && (t = requestAnimationFrame(n));
|
|
468
|
+
}
|
|
469
|
+
function q(e) {
|
|
470
|
+
var t = B, n = e.__c;
|
|
471
|
+
typeof n == "function" && (e.__c = void 0, n()), B = t;
|
|
472
|
+
}
|
|
473
|
+
function J(e) {
|
|
474
|
+
var t = B;
|
|
475
|
+
e.__c = e.__(), B = t;
|
|
476
|
+
}
|
|
477
|
+
function ke(e, t) {
|
|
478
|
+
return !e || e.length !== t.length || t.some(function(t, n) {
|
|
479
|
+
return t !== e[n];
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
function Ae(e, t) {
|
|
483
|
+
return typeof t == "function" ? t(e) : t;
|
|
484
|
+
}
|
|
485
|
+
//#endregion
|
|
486
|
+
//#region ../../node_modules/.pnpm/preact@10.27.2/node_modules/preact/compat/dist/compat.module.js
|
|
487
|
+
function je(e, t) {
|
|
488
|
+
for (var n in t) e[n] = t[n];
|
|
489
|
+
return e;
|
|
490
|
+
}
|
|
491
|
+
function Me(e, t) {
|
|
492
|
+
for (var n in e) if (n !== "__source" && !(n in t)) return !0;
|
|
493
|
+
for (var r in t) if (r !== "__source" && e[r] !== t[r]) return !0;
|
|
494
|
+
return !1;
|
|
495
|
+
}
|
|
496
|
+
function Ne(e, t) {
|
|
497
|
+
var n = t(), r = ve({ t: {
|
|
498
|
+
__: n,
|
|
499
|
+
u: t
|
|
500
|
+
} }), i = r[0].t, a = r[1];
|
|
501
|
+
return G(function() {
|
|
502
|
+
i.__ = n, i.u = t, Pe(i) && a({ t: i });
|
|
503
|
+
}, [
|
|
504
|
+
e,
|
|
505
|
+
n,
|
|
506
|
+
t
|
|
507
|
+
]), be(function() {
|
|
508
|
+
return Pe(i) && a({ t: i }), e(function() {
|
|
509
|
+
Pe(i) && a({ t: i });
|
|
510
|
+
});
|
|
511
|
+
}, [e]), n;
|
|
512
|
+
}
|
|
513
|
+
function Pe(e) {
|
|
514
|
+
var t, n, r = e.u, i = e.__;
|
|
515
|
+
try {
|
|
516
|
+
var a = r();
|
|
517
|
+
return !((t = i) === (n = a) && (t !== 0 || 1 / t == 1 / n) || t != t && n != n);
|
|
518
|
+
} catch {
|
|
519
|
+
return !0;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
function Fe(e, t) {
|
|
523
|
+
this.props = e, this.context = t;
|
|
524
|
+
}
|
|
525
|
+
(Fe.prototype = new S()).isPureReactComponent = !0, Fe.prototype.shouldComponentUpdate = function(e, t) {
|
|
526
|
+
return Me(this.props, e) || Me(this.state, t);
|
|
527
|
+
};
|
|
528
|
+
var Ie = t.__b;
|
|
529
|
+
t.__b = function(e) {
|
|
530
|
+
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Ie && Ie(e);
|
|
531
|
+
};
|
|
532
|
+
var Le = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
533
|
+
function Re(e) {
|
|
534
|
+
function t(t) {
|
|
535
|
+
var n = je({}, t);
|
|
536
|
+
return delete n.ref, e(n, t.ref || null);
|
|
537
|
+
}
|
|
538
|
+
return t.$$typeof = Le, t.render = e, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
|
|
539
|
+
}
|
|
540
|
+
var ze = t.__e;
|
|
541
|
+
t.__e = function(e, t, n, r) {
|
|
542
|
+
if (e.then) {
|
|
543
|
+
for (var i, a = t; a = a.__;) if ((i = a.__c) && i.__c) return t.__e ?? (t.__e = n.__e, t.__k = n.__k), i.__c(e, t);
|
|
544
|
+
}
|
|
545
|
+
ze(e, t, n, r);
|
|
546
|
+
};
|
|
547
|
+
var Be = t.unmount;
|
|
548
|
+
function Ve(e, t, n) {
|
|
549
|
+
return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(e) {
|
|
550
|
+
typeof e.__c == "function" && e.__c();
|
|
551
|
+
}), e.__c.__H = null), (e = je({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(e) {
|
|
552
|
+
return Ve(e, t, n);
|
|
553
|
+
})), e;
|
|
554
|
+
}
|
|
555
|
+
function He(e, t, n) {
|
|
556
|
+
return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(e) {
|
|
557
|
+
return He(e, t, n);
|
|
558
|
+
}), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
|
|
559
|
+
}
|
|
560
|
+
function Y() {
|
|
561
|
+
this.__u = 0, this.o = null, this.__b = null;
|
|
562
|
+
}
|
|
563
|
+
function Ue(e) {
|
|
564
|
+
var t = e.__.__c;
|
|
565
|
+
return t && t.__a && t.__a(e);
|
|
566
|
+
}
|
|
567
|
+
function We(e) {
|
|
568
|
+
var t, n, r;
|
|
569
|
+
function i(i) {
|
|
570
|
+
if (t || (t = e()).then(function(e) {
|
|
571
|
+
n = e.default || e;
|
|
572
|
+
}, function(e) {
|
|
573
|
+
r = e;
|
|
574
|
+
}), r) throw r;
|
|
575
|
+
if (!n) throw t;
|
|
576
|
+
return y(n, i);
|
|
577
|
+
}
|
|
578
|
+
return i.displayName = "Lazy", i.__f = !0, i;
|
|
579
|
+
}
|
|
580
|
+
function X() {
|
|
581
|
+
this.i = null, this.l = null;
|
|
582
|
+
}
|
|
583
|
+
t.unmount = function(e) {
|
|
584
|
+
var t = e.__c;
|
|
585
|
+
t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Be && Be(e);
|
|
586
|
+
}, (Y.prototype = new S()).__c = function(e, t) {
|
|
587
|
+
var n = t.__c, r = this;
|
|
588
|
+
r.o ??= [], r.o.push(n);
|
|
589
|
+
var i = Ue(r.__v), a = !1, o = function() {
|
|
590
|
+
a || (a = !0, n.__R = null, i ? i(s) : s());
|
|
591
|
+
};
|
|
592
|
+
n.__R = o;
|
|
593
|
+
var s = function() {
|
|
594
|
+
if (!--r.__u) {
|
|
595
|
+
if (r.state.__a) {
|
|
596
|
+
var e = r.state.__a;
|
|
597
|
+
r.__v.__k[0] = He(e, e.__c.__P, e.__c.__O);
|
|
598
|
+
}
|
|
599
|
+
var t;
|
|
600
|
+
for (r.setState({ __a: r.__b = null }); t = r.o.pop();) t.forceUpdate();
|
|
601
|
+
}
|
|
602
|
+
};
|
|
603
|
+
r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(o, o);
|
|
604
|
+
}, Y.prototype.componentWillUnmount = function() {
|
|
605
|
+
this.o = [];
|
|
606
|
+
}, Y.prototype.render = function(e, t) {
|
|
607
|
+
if (this.__b) {
|
|
608
|
+
if (this.__v.__k) {
|
|
609
|
+
var n = document.createElement("div"), r = this.__v.__k[0].__c;
|
|
610
|
+
this.__v.__k[0] = Ve(this.__b, n, r.__O = r.__P);
|
|
611
|
+
}
|
|
612
|
+
this.__b = null;
|
|
613
|
+
}
|
|
614
|
+
var i = t.__a && y(x, null, e.fallback);
|
|
615
|
+
return i && (i.__u &= -33), [y(x, null, t.__a ? null : e.children), i];
|
|
616
|
+
};
|
|
617
|
+
var Ge = function(e, t, n) {
|
|
618
|
+
if (++n[1] === n[0] && e.l.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.l.size)) for (n = e.i; n;) {
|
|
619
|
+
for (; n.length > 3;) n.pop()();
|
|
620
|
+
if (n[1] < n[0]) break;
|
|
621
|
+
e.i = n = n[2];
|
|
622
|
+
}
|
|
623
|
+
};
|
|
624
|
+
function Ke(e) {
|
|
625
|
+
return this.getChildContext = function() {
|
|
626
|
+
return e.context;
|
|
627
|
+
}, e.children;
|
|
628
|
+
}
|
|
629
|
+
function qe(e) {
|
|
630
|
+
var t = this, n = e.h;
|
|
631
|
+
if (t.componentWillUnmount = function() {
|
|
632
|
+
L(null, t.v), t.v = null, t.h = null;
|
|
633
|
+
}, t.h && t.h !== n && t.componentWillUnmount(), !t.v) {
|
|
634
|
+
for (var r = t.__v; r !== null && !r.__m && r.__ !== null;) r = r.__;
|
|
635
|
+
t.h = n, t.v = {
|
|
636
|
+
nodeType: 1,
|
|
637
|
+
parentNode: n,
|
|
638
|
+
childNodes: [],
|
|
639
|
+
__k: { __m: r.__m },
|
|
640
|
+
contains: function() {
|
|
641
|
+
return !0;
|
|
642
|
+
},
|
|
643
|
+
insertBefore: function(e, n) {
|
|
644
|
+
this.childNodes.push(e), t.h.insertBefore(e, n);
|
|
645
|
+
},
|
|
646
|
+
removeChild: function(e) {
|
|
647
|
+
this.childNodes.splice(this.childNodes.indexOf(e) >>> 1, 1), t.h.removeChild(e);
|
|
648
|
+
}
|
|
649
|
+
};
|
|
650
|
+
}
|
|
651
|
+
L(y(Ke, { context: t.context }, e.__v), t.v);
|
|
652
|
+
}
|
|
653
|
+
function Je(e, t) {
|
|
654
|
+
var n = y(qe, {
|
|
655
|
+
__v: e,
|
|
656
|
+
h: t
|
|
657
|
+
});
|
|
658
|
+
return n.containerInfo = t, n;
|
|
659
|
+
}
|
|
660
|
+
(X.prototype = new S()).__a = function(e) {
|
|
661
|
+
var t = this, n = Ue(t.__v), r = t.l.get(e);
|
|
662
|
+
return r[0]++, function(i) {
|
|
663
|
+
var a = function() {
|
|
664
|
+
t.props.revealOrder ? (r.push(i), Ge(t, e, r)) : i();
|
|
665
|
+
};
|
|
666
|
+
n ? n(a) : a();
|
|
667
|
+
};
|
|
668
|
+
}, X.prototype.render = function(e) {
|
|
669
|
+
this.i = null, this.l = /* @__PURE__ */ new Map();
|
|
670
|
+
var t = k(e.children);
|
|
671
|
+
e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
|
|
672
|
+
for (var n = t.length; n--;) this.l.set(t[n], this.i = [
|
|
673
|
+
1,
|
|
674
|
+
0,
|
|
675
|
+
this.i
|
|
676
|
+
]);
|
|
677
|
+
return e.children;
|
|
678
|
+
}, X.prototype.componentDidUpdate = X.prototype.componentDidMount = function() {
|
|
679
|
+
var e = this;
|
|
680
|
+
this.l.forEach(function(t, n) {
|
|
681
|
+
Ge(e, n, t);
|
|
682
|
+
});
|
|
683
|
+
};
|
|
684
|
+
var Ye = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Xe = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Ze = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Qe = /[A-Z0-9]/g, $e = typeof document < "u", et = function(e) {
|
|
685
|
+
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
|
|
686
|
+
};
|
|
687
|
+
S.prototype.isReactComponent = {}, [
|
|
688
|
+
"componentWillMount",
|
|
689
|
+
"componentWillReceiveProps",
|
|
690
|
+
"componentWillUpdate"
|
|
691
|
+
].forEach(function(e) {
|
|
692
|
+
Object.defineProperty(S.prototype, e, {
|
|
693
|
+
configurable: !0,
|
|
694
|
+
get: function() {
|
|
695
|
+
return this["UNSAFE_" + e];
|
|
696
|
+
},
|
|
697
|
+
set: function(t) {
|
|
698
|
+
Object.defineProperty(this, e, {
|
|
699
|
+
configurable: !0,
|
|
700
|
+
writable: !0,
|
|
701
|
+
value: t
|
|
702
|
+
});
|
|
703
|
+
}
|
|
704
|
+
});
|
|
705
|
+
});
|
|
706
|
+
var tt = t.event;
|
|
707
|
+
function nt() {}
|
|
708
|
+
function rt() {
|
|
709
|
+
return this.cancelBubble;
|
|
710
|
+
}
|
|
711
|
+
function it() {
|
|
712
|
+
return this.defaultPrevented;
|
|
713
|
+
}
|
|
714
|
+
t.event = function(e) {
|
|
715
|
+
return tt && (e = tt(e)), e.persist = nt, e.isPropagationStopped = rt, e.isDefaultPrevented = it, e.nativeEvent = e;
|
|
716
|
+
};
|
|
717
|
+
var at = {
|
|
718
|
+
enumerable: !1,
|
|
719
|
+
configurable: !0,
|
|
720
|
+
get: function() {
|
|
721
|
+
return this.class;
|
|
722
|
+
}
|
|
723
|
+
}, ot = t.vnode;
|
|
724
|
+
t.vnode = function(e) {
|
|
725
|
+
typeof e.type == "string" && function(e) {
|
|
726
|
+
var t = e.props, n = e.type, r = {}, i = n.indexOf("-") === -1;
|
|
727
|
+
for (var a in t) {
|
|
728
|
+
var o = t[a];
|
|
729
|
+
if (!(a === "value" && "defaultValue" in t && o == null || $e && a === "children" && n === "noscript" || a === "class" || a === "className")) {
|
|
730
|
+
var s = a.toLowerCase();
|
|
731
|
+
a === "defaultValue" && "value" in t && t.value == null ? a = "value" : a === "download" && !0 === o ? o = "" : s === "translate" && o === "no" ? o = !1 : s[0] === "o" && s[1] === "n" ? s === "ondoubleclick" ? a = "ondblclick" : s !== "onchange" || n !== "input" && n !== "textarea" || et(t.type) ? s === "onfocus" ? a = "onfocusin" : s === "onblur" ? a = "onfocusout" : Ze.test(a) && (a = s) : s = a = "oninput" : i && Xe.test(a) ? a = a.replace(Qe, "-$&").toLowerCase() : o === null && (o = void 0), s === "oninput" && r[a = s] && (a = "oninputCapture"), r[a] = o;
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
n == "select" && r.multiple && Array.isArray(r.value) && (r.value = k(t.children).forEach(function(e) {
|
|
735
|
+
e.props.selected = r.value.indexOf(e.props.value) != -1;
|
|
736
|
+
})), n == "select" && r.defaultValue != null && (r.value = k(t.children).forEach(function(e) {
|
|
737
|
+
e.props.selected = r.multiple ? r.defaultValue.indexOf(e.props.value) != -1 : r.defaultValue == e.props.value;
|
|
738
|
+
})), t.class && !t.className ? (r.class = t.class, Object.defineProperty(r, "className", at)) : (t.className && !t.class || t.class && t.className) && (r.class = r.className = t.className), e.props = r;
|
|
739
|
+
}(e), e.$$typeof = Ye, ot && ot(e);
|
|
740
|
+
};
|
|
741
|
+
var st = t.__r;
|
|
742
|
+
t.__r = function(e) {
|
|
743
|
+
st && st(e), e.__c;
|
|
744
|
+
};
|
|
745
|
+
var ct = t.diffed;
|
|
746
|
+
t.diffed = function(e) {
|
|
747
|
+
ct && ct(e);
|
|
748
|
+
var t = e.props, n = e.__e;
|
|
749
|
+
n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value);
|
|
750
|
+
};
|
|
751
|
+
var lt = function(e, t) {
|
|
752
|
+
return e(t);
|
|
753
|
+
};
|
|
754
|
+
//#endregion
|
|
755
|
+
//#region ../../node_modules/.pnpm/preact-custom-element@4.6.0_preact@10.27.2/node_modules/preact-custom-element/dist/preact-custom-element.esm.js
|
|
756
|
+
function Z() {
|
|
757
|
+
return Z = Object.assign ? Object.assign.bind() : function(e) {
|
|
758
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
759
|
+
var n = arguments[t];
|
|
760
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
761
|
+
}
|
|
762
|
+
return e;
|
|
763
|
+
}, Z.apply(this, arguments);
|
|
764
|
+
}
|
|
765
|
+
function ut(e, t) {
|
|
766
|
+
if (e == null) return {};
|
|
767
|
+
var n, r, i = {}, a = Object.keys(e);
|
|
768
|
+
for (r = 0; r < a.length; r++) t.indexOf(n = a[r]) >= 0 || (i[n] = e[n]);
|
|
769
|
+
return i;
|
|
770
|
+
}
|
|
771
|
+
var dt = ["context", "children"], ft = ["useFragment"];
|
|
772
|
+
function pt(e, t, n, r) {
|
|
773
|
+
function i() {
|
|
774
|
+
var t, n = Reflect.construct(HTMLElement, [], i);
|
|
775
|
+
return n._vdomComponent = e, r && r.shadow ? (n._root = n.attachShadow({
|
|
776
|
+
mode: r.mode || "open",
|
|
777
|
+
serializable: (t = r.serializable) != null && t
|
|
778
|
+
}), r.adoptedStyleSheets && (n._root.adoptedStyleSheets = r.adoptedStyleSheets)) : n._root = n, n;
|
|
779
|
+
}
|
|
780
|
+
return (i.prototype = Object.create(HTMLElement.prototype)).constructor = i, i.prototype.connectedCallback = function() {
|
|
781
|
+
ht.call(this, r);
|
|
782
|
+
}, i.prototype.attributeChangedCallback = _t, i.prototype.disconnectedCallback = vt, n = n || e.observedAttributes || Object.keys(e.propTypes || {}), i.observedAttributes = n, e.formAssociated && (i.formAssociated = !0), n.forEach(function(e) {
|
|
783
|
+
Object.defineProperty(i.prototype, e, {
|
|
784
|
+
get: function() {
|
|
785
|
+
return this._vdom ? this._vdom.props[e] : this._props[e];
|
|
786
|
+
},
|
|
787
|
+
set: function(t) {
|
|
788
|
+
this._vdom ? this.attributeChangedCallback(e, null, t) : (this._props ||= {}, this._props[e] = t);
|
|
789
|
+
var n = typeof t;
|
|
790
|
+
t != null && n !== "string" && n !== "boolean" && n !== "number" || this.setAttribute(e, t);
|
|
791
|
+
}
|
|
792
|
+
});
|
|
793
|
+
}), customElements.define(t || e.tagName || e.displayName || e.name, i), i;
|
|
794
|
+
}
|
|
795
|
+
function mt(e) {
|
|
796
|
+
this.getChildContext = function() {
|
|
797
|
+
return e.context;
|
|
798
|
+
};
|
|
799
|
+
var t = e.children;
|
|
800
|
+
return R(t, ut(e, dt));
|
|
801
|
+
}
|
|
802
|
+
function ht(e) {
|
|
803
|
+
var t = new CustomEvent("_preact", {
|
|
804
|
+
detail: {},
|
|
805
|
+
bubbles: !0,
|
|
806
|
+
cancelable: !0
|
|
807
|
+
});
|
|
808
|
+
this.dispatchEvent(t), this._vdom = y(mt, Z({}, this._props, { context: t.detail.context }), bt(this, this._vdomComponent, e)), (this.hasAttribute("hydrate") ? oe : L)(this._vdom, this._root);
|
|
809
|
+
}
|
|
810
|
+
function gt(e) {
|
|
811
|
+
return e.replace(/-(\w)/g, function(e, t) {
|
|
812
|
+
return t ? t.toUpperCase() : "";
|
|
813
|
+
});
|
|
814
|
+
}
|
|
815
|
+
function _t(e, t, n) {
|
|
816
|
+
if (this._vdom) {
|
|
817
|
+
var r = {};
|
|
818
|
+
r[e] = n ??= void 0, r[gt(e)] = n, this._vdom = R(this._vdom, r), L(this._vdom, this._root);
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
function vt() {
|
|
822
|
+
L(this._vdom = null, this._root);
|
|
823
|
+
}
|
|
824
|
+
function yt(e, t) {
|
|
825
|
+
var n = this, r = e.useFragment, i = ut(e, ft);
|
|
826
|
+
return y(r ? x : "slot", Z({}, i, { ref: function(e) {
|
|
827
|
+
e ? (n.ref = e, n._listener || (n._listener = function(e) {
|
|
828
|
+
e.stopPropagation(), e.detail.context = t;
|
|
829
|
+
}, e.addEventListener("_preact", n._listener))) : n.ref.removeEventListener("_preact", n._listener);
|
|
830
|
+
} }));
|
|
831
|
+
}
|
|
832
|
+
function bt(e, t, n) {
|
|
833
|
+
if (e.nodeType === 3) return e.data;
|
|
834
|
+
if (e.nodeType !== 1) return null;
|
|
835
|
+
var r = [], i = {}, a = 0, o = e.attributes, s = e.childNodes;
|
|
836
|
+
for (a = o.length; a--;) o[a].name !== "slot" && (i[o[a].name] = o[a].value, i[gt(o[a].name)] = o[a].value);
|
|
837
|
+
for (a = s.length; a--;) {
|
|
838
|
+
var c = bt(s[a], null, n), l = s[a].slot;
|
|
839
|
+
l ? i[l] = y(yt, { name: l }, c) : r[a] = c;
|
|
840
|
+
}
|
|
841
|
+
var u = !(!n || !n.shadow), d = t ? y(yt, { useFragment: !u }, r) : r;
|
|
842
|
+
return !u && t && (e.innerHTML = ""), y(t || e.nodeName.toLowerCase(), i, d);
|
|
843
|
+
}
|
|
844
|
+
//#endregion
|
|
845
|
+
//#region ../../node_modules/.pnpm/preact-markup@2.1.1_preact@10.27.2/node_modules/preact-markup/dist/preact-markup.module.js
|
|
846
|
+
var xt, St = {};
|
|
847
|
+
function Q(e, t, n) {
|
|
848
|
+
if (e.nodeType === 3) {
|
|
849
|
+
var r = "textContent" in e ? e.textContent : e.nodeValue || "";
|
|
850
|
+
if (!1 !== Q.options.trim) {
|
|
851
|
+
var i = t === 0 || t === n.length - 1;
|
|
852
|
+
if ((!(r = r.match(/^[\s\n]+$/g) && Q.options.trim !== "all" ? " " : r.replace(/(^[\s\n]+|[\s\n]+$)/g, Q.options.trim === "all" || i ? "" : " ")) || r === " ") && n.length > 1 && i) return null;
|
|
853
|
+
}
|
|
854
|
+
return r;
|
|
855
|
+
}
|
|
856
|
+
if (e.nodeType !== 1) return null;
|
|
857
|
+
var a = String(e.nodeName).toLowerCase();
|
|
858
|
+
if (a === "script" && !Q.options.allowScripts) return null;
|
|
859
|
+
var o, s, c = Q.h(a, function(e) {
|
|
860
|
+
var t = e && e.length;
|
|
861
|
+
if (!t) return null;
|
|
862
|
+
for (var n = {}, r = 0; r < t; r++) {
|
|
863
|
+
var i = e[r], a = i.name, o = i.value;
|
|
864
|
+
a.substring(0, 2) === "on" && Q.options.allowEvents && (o = Function(o)), n[a] = o;
|
|
865
|
+
}
|
|
866
|
+
return n;
|
|
867
|
+
}(e.attributes), (s = (o = e.childNodes) && Array.prototype.map.call(o, Q).filter(wt)) && s.length ? s : null);
|
|
868
|
+
return Q.visitor && Q.visitor(c), c;
|
|
869
|
+
}
|
|
870
|
+
var Ct, wt = function(e) {
|
|
871
|
+
return e;
|
|
872
|
+
}, Tt = {};
|
|
873
|
+
function $(e) {
|
|
874
|
+
var t = (e.type || "").toLowerCase(), n = $.map;
|
|
875
|
+
n && n.hasOwnProperty(t) ? (e.type = n[t], e.props = Object.keys(e.props || {}).reduce(function(t, n) {
|
|
876
|
+
var r;
|
|
877
|
+
return t[r = n, r.replace(/-(.)/g, function(e, t) {
|
|
878
|
+
return t.toUpperCase();
|
|
879
|
+
})] = e.props[n], t;
|
|
880
|
+
}, {})) : e.type = t.replace(/[^a-z0-9-]/i, "");
|
|
881
|
+
}
|
|
882
|
+
var Et = function(e) {
|
|
883
|
+
function t() {
|
|
884
|
+
e.apply(this, arguments);
|
|
885
|
+
}
|
|
886
|
+
return e && (t.__proto__ = e), (t.prototype = Object.create(e && e.prototype)).constructor = t, t.setReviver = function(e) {
|
|
887
|
+
Ct = e;
|
|
888
|
+
}, t.prototype.shouldComponentUpdate = function(e) {
|
|
889
|
+
var t = this.props;
|
|
890
|
+
return e.wrap !== t.wrap || e.type !== t.type || e.markup !== t.markup;
|
|
891
|
+
}, t.prototype.setComponents = function(e) {
|
|
892
|
+
if (this.map = {}, e) {
|
|
893
|
+
for (var t in e) if (e.hasOwnProperty(t)) {
|
|
894
|
+
var n = t.replace(/([A-Z]+)([A-Z][a-z0-9])|([a-z0-9]+)([A-Z])/g, "$1$3-$2$4").toLowerCase();
|
|
895
|
+
this.map[n] = e[t];
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
}, t.prototype.render = function(e) {
|
|
899
|
+
var t = e.wrap;
|
|
900
|
+
t === void 0 && (t = !0);
|
|
901
|
+
var n, r = e.type, i = e.markup, a = e.components, o = e.reviver, s = e.onError, c = e["allow-scripts"], l = e["allow-events"], u = e.trim, d = function(e, t) {
|
|
902
|
+
var n = {};
|
|
903
|
+
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) === -1 && (n[r] = e[r]);
|
|
904
|
+
return n;
|
|
905
|
+
}(e, [
|
|
906
|
+
"wrap",
|
|
907
|
+
"type",
|
|
908
|
+
"markup",
|
|
909
|
+
"components",
|
|
910
|
+
"reviver",
|
|
911
|
+
"onError",
|
|
912
|
+
"allow-scripts",
|
|
913
|
+
"allow-events",
|
|
914
|
+
"trim"
|
|
915
|
+
]), f = o || this.reviver || this.constructor.prototype.reviver || Ct || y;
|
|
916
|
+
this.setComponents(a);
|
|
917
|
+
var p = {
|
|
918
|
+
allowScripts: c,
|
|
919
|
+
allowEvents: l,
|
|
920
|
+
trim: u
|
|
921
|
+
};
|
|
922
|
+
try {
|
|
923
|
+
n = function(e, t, n, r, i) {
|
|
924
|
+
var a = function(e, t) {
|
|
925
|
+
var n, r, i, a, o = t === "html" ? "text/html" : "application/xml";
|
|
926
|
+
t === "html" ? (a = "body", i = "<!DOCTYPE html>\n<html><body>" + e + "</body></html>") : (a = "xml", i = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<xml>" + e + "</xml>");
|
|
927
|
+
try {
|
|
928
|
+
n = new DOMParser().parseFromString(i, o);
|
|
929
|
+
} catch (e) {
|
|
930
|
+
r = e;
|
|
931
|
+
}
|
|
932
|
+
if (n || t !== "html" || ((n = xt ||= function() {
|
|
933
|
+
if (document.implementation && document.implementation.createHTMLDocument) return document.implementation.createHTMLDocument("");
|
|
934
|
+
var e = document.createElement("iframe");
|
|
935
|
+
return e.style.cssText = "position:absolute; left:0; top:-999em; width:1px; height:1px; overflow:hidden;", e.setAttribute("sandbox", "allow-forms"), document.body.appendChild(e), e.contentWindow.document;
|
|
936
|
+
}()).open(), n.write(i), n.close()), n) {
|
|
937
|
+
var s = n.getElementsByTagName(a)[0], c = s.firstChild;
|
|
938
|
+
return e && !c && (s.error = "Document parse failed."), c && String(c.nodeName).toLowerCase() === "parsererror" && (c.removeChild(c.firstChild), c.removeChild(c.lastChild), s.error = c.textContent || c.nodeValue || r || "Unknown error", s.removeChild(c)), s;
|
|
939
|
+
}
|
|
940
|
+
}(e, t);
|
|
941
|
+
if (a && a.error) throw Error(a.error);
|
|
942
|
+
var o = a && a.body || a;
|
|
943
|
+
$.map = r || Tt;
|
|
944
|
+
var s = o && function(e, t, n, r) {
|
|
945
|
+
return Q.visitor = t, Q.h = n, Q.options = r || St, Q(e);
|
|
946
|
+
}(o, $, n, i);
|
|
947
|
+
return $.map = null, s && s.props && s.props.children || null;
|
|
948
|
+
}(i, r, f, this.map, p);
|
|
949
|
+
} catch (e) {
|
|
950
|
+
s ? s({ error: e }) : typeof console < "u" && console.error && console.error("preact-markup: " + e);
|
|
951
|
+
}
|
|
952
|
+
if (!1 === t) return n || null;
|
|
953
|
+
var m = d.hasOwnProperty("className") ? "className" : "class", h = d[m];
|
|
954
|
+
return h ? h.splice ? h.splice(0, 0, "markup") : typeof h == "string" ? d[m] += " markup" : typeof h == "object" && (h.markup = !0) : d[m] = "markup", f("div", d, n || null);
|
|
955
|
+
}, t;
|
|
956
|
+
}(S);
|
|
957
|
+
//#endregion
|
|
958
|
+
export { r as C, x as S, be as _, Re as a, R as b, We as c, K as d, G as f, we as g, Ce as h, Ne as i, xe as l, Te as m, pt as n, Y as o, ve as p, Je as r, lt as s, Et as t, Se as u, le as v, se as x, k as y };
|