@incodetech/web 2.0.1 → 2.1.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ae-signature/ae-signature.es.js +15 -13
- package/dist/ae-signature/styles.css +3 -17
- package/dist/ae-signature/styles2.css +15 -5
- package/dist/aligndevicelottie-DY_bX_p8.js +12769 -0
- package/dist/antifraud/antifraud.es.js +23 -16
- package/dist/authentication/authentication.es.js +42 -27
- package/dist/autoFocusTitle-BzkUiELM.js +29 -0
- package/dist/{back-horizontal-hint-B8Brxh3U.js → back-horizontal-hint-D_8LptLm.js} +26 -26
- package/dist/back-tutorial-vb1MxlrT.js +14597 -0
- package/dist/{back-vertical-hint-BBo36dxn.js → back-vertical-hint-C1evxxq2.js} +27 -27
- package/dist/backdevicelottie-HypPqBz7.js +16690 -0
- package/dist/base.css +1258 -104
- package/dist/blurdevicelottie-CBXtBFiJ.js +15951 -0
- package/dist/bottomSheet-F1GJfQx_.js +39 -0
- package/dist/browser-ponyfill-CLLvZCVg.js +441 -0
- package/dist/button-CM_hgyIP.js +35 -0
- package/dist/checkbox-BoeLHKgp.js +96 -0
- package/dist/consent/consent.es.js +89 -73
- package/dist/consent/styles.css +35 -22
- package/dist/countrySelector-mSWyHSy4.js +60 -0
- package/dist/cpf-ocr/cpf-ocr.es.js +2 -0
- package/dist/cpfOcr-MtpRztkG.js +92 -0
- package/dist/cpfOcr-jJkYCfsX.js +2 -0
- package/dist/cross-document-data-match/cross-document-data-match.es.js +20 -16
- package/dist/curp-validation/curp-validation.es.js +247 -203
- package/dist/customFields-DXXt9HGM.js +140 -0
- package/dist/customWatchlist-DsW04UF6.js +36 -0
- package/dist/dateInputComposed-C_mh4XBg.js +69 -0
- package/dist/dateInputComposed-Cy6a7ymh.js +1 -0
- package/dist/defineProperty-mefzVtTv.js +39 -0
- package/dist/document-capture/document-capture.es.js +2 -0
- package/dist/document-capture/styles.css +2 -5
- package/dist/documentCapture-8ypBJehw.js +2 -0
- package/dist/documentCapture-BDV_921m.js +880 -0
- package/dist/dropdownComposed-CEWBSdGl.js +1 -0
- package/dist/dropdownComposed-_fgAlo_C.js +380 -0
- package/dist/dynamic-forms/styles.css +25 -13
- package/dist/dynamicForms-DyfnsS7E.js +352 -0
- package/dist/ekyb/ekyb.es.js +2 -2
- package/dist/ekyb/styles.css +2 -0
- package/dist/ekybModule-CIPGmCvD.js +279 -0
- package/dist/ekybModule-DFoYpheB.js +2 -0
- package/dist/ekyc/ekyc.es.js +2 -2
- package/dist/ekyc/styles.css +9 -7
- package/dist/ekycModule-BGzwgjl1.js +2 -0
- package/dist/ekycModule-BuTaC5ct.js +257 -0
- package/dist/electronic-signature/electronic-signature.es.js +2 -2
- package/dist/electronic-signature-B-Q7M0wK.js +430 -0
- package/dist/email/email.es.js +199 -66
- package/dist/emailInput-KZmhjOdZ.js +39 -0
- package/dist/errorIcon-DJRZpd8j.js +26 -0
- package/dist/expiredId-Q1t6aVpk.js +85 -0
- package/dist/extensibility-Cs3KQQdC.js +3070 -0
- package/dist/extensibility.es.js +26 -25
- package/dist/face-match/face-match.es.js +2 -2
- package/dist/face-match/styles.css +0 -4
- package/dist/faceMatch--RDHJe4t.js +343 -0
- package/dist/faceMatch-yEKPYaym.js +2 -0
- package/dist/field-comparison/field-comparison.es.js +2 -0
- package/dist/field-comparison/styles.css +16 -0
- package/dist/fieldComparison-CAF86bTC.js +88 -0
- package/dist/fieldComparison-D0an7T_g.js +2 -0
- package/dist/fiscal-qr/fiscal-qr.es.js +224 -0
- package/dist/fiscal-qr/styles.css +71 -0
- package/dist/{flip-animation-CgwRsEmK.js → flip-animation-BGRvygw9.js} +4221 -4221
- package/dist/flow/flow.es.js +619 -484
- package/dist/flow/styles.css +378 -418
- package/dist/{front-horizontal-hint-DGGGi8e1.js → front-horizontal-hint-Uf5bHCsd.js} +70 -70
- package/dist/{front-vertical-hint-CNr5mE6Q.js → front-vertical-hint-DdWNA45v.js} +81 -81
- package/dist/frontdevicelottie-CLqitJhG.js +17314 -0
- package/dist/geolocation/geolocation.es.js +486 -395
- package/dist/glaredevicelottie-BS04U6Fc.js +14478 -0
- package/dist/governmentValidation/governmentValidation.es.js +166 -93
- package/dist/governmentValidation/styles.css +0 -17
- package/dist/homeScreen-BZnIEDrV.js +264 -0
- package/dist/hooks-Da_yP_Dr.js +149 -0
- package/dist/i18n-CoCO2ZuN.js +2971 -0
- package/dist/icons-Dbs9ZfYM.js +360 -0
- package/dist/id/id.es.js +583 -414
- package/dist/id/styles.css +59 -43
- package/dist/id-laser-h-DX8UbVNH.js +467 -0
- package/dist/id-laser-v-DhnHdjlB.js +490 -0
- package/dist/id-tutorial-lj4iKtYT.js +13165 -0
- package/dist/id-verification/id-verification.es.js +21 -17
- package/dist/idOcr-CjGbb4dB.js +123 -0
- package/dist/identity-reuse/identity-reuse.es.js +311 -182
- package/dist/identity-reuse/styles.css +134 -80
- package/dist/incode-logo-57XFniXU.js +4 -0
- package/dist/incodeComponent-wfnHlnXx.js +63 -0
- package/dist/incodeModule-BUDoTwT9.js +13 -0
- package/dist/index.es.js +16 -13
- package/dist/inputComposed-BEn7_nZd.js +1 -0
- package/dist/inputComposed-CQ4AsvZg.js +99 -0
- package/dist/loadingIcon-B0ysgiNq.js +148 -0
- package/dist/lottie_light-Dp9Bz3mf.js +9031 -0
- package/dist/mandatoryConsent-r0PQHmv-.js +107 -0
- package/dist/modal-nTSaG7nB.js +139 -0
- package/dist/modal.hooks-D2xhIuHA.js +195 -0
- package/dist/numberedStep-CEtwZqLp.js +13 -0
- package/dist/optionAccessibleLabel-CnA-mNAU.js +202 -0
- package/dist/otpInput-_JmtVwa0.js +195 -0
- package/dist/page-DxGQj7Gk.js +71 -0
- package/dist/{passport-horizontal-hint-Bgquwtac.js → passport-horizontal-hint-Bbm2mvSn.js} +55 -55
- package/dist/{passport-tutorial-DwRwtPVX.js → passport-tutorial-zT1ZoA-D.js} +7096 -7084
- package/dist/{passport-vertical-hint-BT1D5BrW.js → passport-vertical-hint-DJbCtBiM.js} +49 -49
- package/dist/pdf-BZA70WbM.js +22398 -0
- package/dist/pdfViewer-BK-yVIve.js +114 -0
- package/dist/phone/phone.es.js +214 -70
- package/dist/phoneInputComposed-DjNdsmPE.js +12142 -0
- package/dist/processing-BM-wT-1W.js +8 -0
- package/dist/qe-signature/qe-signature.es.js +15 -13
- package/dist/radioGroupComposed-BNuaopVr.js +215 -0
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +2774 -0
- package/dist/redirect-to-mobile/styles.css +19 -269
- package/dist/registerIncodeElement-77NGCDsy.js +11 -0
- package/dist/requiredLabelHint-DEadtiwx.js +17 -0
- package/dist/richText-Cf9aMOCk.js +3153 -0
- package/dist/rolldown-runtime--E5BIlTp.js +33 -0
- package/dist/selfie/selfie.es.js +54 -37
- package/dist/selfie/styles.css +0 -4
- package/dist/selfieTutorial-CtruLyO2.js +2689 -0
- package/dist/signature/signature.es.js +778 -405
- package/dist/snackbar-CxepGC3e.js +16 -0
- package/dist/spinner-B6RxGFrI.js +1 -0
- package/dist/spinner-D8a_2LvW.js +42 -0
- package/dist/statusPage-DMYPUwRZ.js +28 -0
- package/dist/successIcon-BAyDPT7I.js +30 -0
- package/dist/tabs-C8npVBbk.js +103 -0
- package/dist/themes/dark.css +5 -0
- package/dist/themes/light.css +4 -0
- package/dist/transitionSpinner-DRRz-NV8.js +26 -0
- package/dist/{tutorial-9vHAHvMK.js → tutorial-D1qaY2Tm.js} +1105 -856
- package/dist/types/ae-signature.d.ts +4 -1
- package/dist/types/antifraud.d.ts +9 -3
- package/dist/types/authentication.d.ts +4 -1
- package/dist/types/consent.d.ts +4 -1
- package/dist/types/cpf-ocr.d.ts +12 -0
- package/dist/types/cross-document-data-match.d.ts +4 -1
- package/dist/types/curp-validation.d.ts +9 -3
- package/dist/types/document-capture.d.ts +37 -0
- package/dist/types/ekyb.d.ts +4 -1
- package/dist/types/ekyc.d.ts +4 -1
- package/dist/types/electronic-signature.d.ts +4 -1
- package/dist/types/email.d.ts +4 -1
- package/dist/types/extensibility.d.ts +40 -15
- package/dist/types/face-match.d.ts +4 -1
- package/dist/types/field-comparison.d.ts +38 -0
- package/dist/types/fiscal-qr.d.ts +43 -0
- package/dist/types/flow.d.ts +5 -2
- package/dist/types/geolocation.d.ts +4 -1
- package/dist/types/governmentValidation.d.ts +4 -1
- package/dist/types/id-verification.d.ts +4 -1
- package/dist/types/id.d.ts +4 -1
- package/dist/types/identity-reuse.d.ts +4 -1
- package/dist/types/index.d.ts +20 -2
- package/dist/types/phone.d.ts +4 -1
- package/dist/types/qe-signature.d.ts +4 -1
- package/dist/types/redirect-to-mobile.d.ts +17 -0
- package/dist/types/selfie.d.ts +4 -1
- package/dist/types/signature.d.ts +4 -1
- package/dist/types/watchlist.d.ts +4 -1
- package/dist/types/workflow.d.ts +55 -11
- package/dist/typography-YLgHHuao.js +45 -0
- package/dist/uiConfig-D2_wawvr.js +25 -0
- package/dist/useModuleLoader-CeJ2jL25.js +672 -0
- package/dist/vendor-preact-DThS2ZQ_.js +955 -0
- package/dist/verificationResult-Do5SpZ6X.js +64 -0
- package/dist/verifiedByIncode-DjXOdCml.js +103 -0
- package/dist/watchlist/watchlist.es.js +31 -28
- package/dist/watchlistForBusiness-BFFXC9d-.js +80 -0
- package/dist/workflow/styles.css +449 -427
- package/dist/workflow/workflow.es.js +268 -182
- package/package.json +32 -10
- package/dist/aligndevicelottie-DoV8xKjh.js +0 -12757
- package/dist/autoFocusTitle-QexamZ4i.js +0 -16
- package/dist/back-tutorial-1NOQobGO.js +0 -14585
- package/dist/backdevicelottie-C_ceuqY7.js +0 -16678
- package/dist/blurdevicelottie-UO14Y0WC.js +0 -15939
- package/dist/bottomSheet-DE_8TFEC.js +0 -31
- package/dist/browser-ponyfill-jOkuz57z.js +0 -299
- package/dist/button-DcCUEn2n.js +0 -24
- package/dist/checkbox-Cl57ltq_.js +0 -85
- package/dist/countrySelector-CE-JgIsv.js +0 -58
- package/dist/cpfOcr-D_tbwbvh.js +0 -78
- package/dist/customFields-CW38fQUv.js +0 -127
- package/dist/customWatchlist-D9_yjEQd.js +0 -33
- package/dist/dateInputComposed-BpAGsjN6.js +0 -55
- package/dist/dateInputComposed-DU3o6PAV.js +0 -1
- package/dist/defineProperty-Dh8nSJpJ.js +0 -39
- package/dist/documentCapture-xX-JT7ZY.js +0 -763
- package/dist/dropdownComposed-DFRBG22E.js +0 -284
- package/dist/dropdownComposed-DwTzc2YU.js +0 -1
- package/dist/dynamicForms-CJP1Ia6Q.js +0 -262
- package/dist/ekybModule-BSs7mndb.js +0 -280
- package/dist/ekybModule-D9M3E2Gm.js +0 -2
- package/dist/ekycModule-CU9pt5YN.js +0 -246
- package/dist/ekycModule-CZw9cLno.js +0 -2
- package/dist/electronic-signature-COYXjGdd.js +0 -410
- package/dist/emailInput-DppGf9pv.js +0 -37
- package/dist/expiredId-BnmzE8T3.js +0 -70
- package/dist/extensibility-CzEJfRwo.js +0 -2586
- package/dist/faceMatch-B8j0g0Yo.js +0 -2
- package/dist/faceMatch-BV8UD7tj.js +0 -201
- package/dist/frontdevicelottie-Bu6f9fDE.js +0 -17302
- package/dist/glaredevicelottie-B10axYs_.js +0 -14466
- package/dist/homeScreen-DnP1jw9A.js +0 -227
- package/dist/hooks-BVnGysT7.js +0 -80
- package/dist/i18n-9s4OSqwi.js +0 -2010
- package/dist/icons-Cc7zwchP.js +0 -310
- package/dist/id-laser-h-mBAzHVOK.js +0 -467
- package/dist/id-laser-v-CrFg4bcJ.js +0 -483
- package/dist/id-tutorial-BCr42Pnn.js +0 -13153
- package/dist/idOcr-CCjfWQvH.js +0 -94
- package/dist/incode-logo-DX016usY.js +0 -4
- package/dist/incodeComponent-C1o4M0ZK.js +0 -50
- package/dist/incodeModule-BqCjVgEI.js +0 -18
- package/dist/inputComposed-APSw8C7o.js +0 -89
- package/dist/inputComposed-XYrarFxS.js +0 -1
- package/dist/loadingIcon-BN5YRQUb.js +0 -104
- package/dist/mandatoryConsent-DssKMC3v.js +0 -100
- package/dist/modal-NMxsQHAO.js +0 -135
- package/dist/modal.hooks-CAjcIFZK.js +0 -126
- package/dist/numberedStep-CT-alrK5.js +0 -11
- package/dist/optionAccessibleLabel-CzEeX3Q4.js +0 -140
- package/dist/otpInput-DqRA_egd.js +0 -145
- package/dist/page-C1yT4DLb.js +0 -69
- package/dist/pdf-BurGZ08w.js +0 -14967
- package/dist/pdfViewer-BGBNL1Ea.js +0 -63
- package/dist/phoneInputComposed-bvWhGLFZ.js +0 -11206
- package/dist/processing-G_y3o32b.js +0 -6
- package/dist/radioGroupComposed-BbmvxmD2.js +0 -177
- package/dist/redirectToMobile-C3k1gloW.js +0 -1514
- package/dist/requiredLabelHint-BLwgqozE.js +0 -13
- package/dist/richText-DbJ5sl2n.js +0 -1973
- package/dist/rolldown-runtime-CYMK-g2i.js +0 -20
- package/dist/selfieTutorial-BgrlUMXP.js +0 -2677
- package/dist/snackbar-BDp8x7Cv.js +0 -14
- package/dist/spinner-B4dcie2T.js +0 -1
- package/dist/spinner-CKnjVHxw.js +0 -39
- package/dist/statusPage-CUI7ApcU.js +0 -28
- package/dist/successIcon-DbILeIz_.js +0 -28
- package/dist/tabs-DaPyP71c.js +0 -78
- package/dist/transitionSpinner-PIEPU2Vx.js +0 -17
- package/dist/types/cpf-ocr/styles.d.ts +0 -1
- package/dist/types/document-capture/styles.d.ts +0 -1
- package/dist/types/redirect-to-mobile/styles.d.ts +0 -1
- package/dist/typography-CxjaknHN.js +0 -28
- package/dist/uiConfig-CwpQ-IM6.js +0 -20
- package/dist/useModuleLoader-BFiVA41N.js +0 -432
- package/dist/vendor-preact-D6SntenC.js +0 -958
- package/dist/verificationResult-BrVbUJ4U.js +0 -97
- package/dist/verifiedByIncode-ChZBpqNy.js +0 -101
- package/dist/watchlistForBusiness-BcSNtHCV.js +0 -77
|
@@ -0,0 +1,955 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/preact@10.27.2/node_modules/preact/dist/preact.module.js
|
|
2
|
+
var n$1, l$3, u$3, i$4, r$1, o$3, e$2, f$3, c$2, s$2, a$3, h$2, p$3 = {}, v$2 = [], y$1 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, w$2 = Array.isArray;
|
|
3
|
+
function d$2(n, l) {
|
|
4
|
+
for (var u in l) n[u] = l[u];
|
|
5
|
+
return n;
|
|
6
|
+
}
|
|
7
|
+
function g$2(n) {
|
|
8
|
+
n && n.parentNode && n.parentNode.removeChild(n);
|
|
9
|
+
}
|
|
10
|
+
function _$1(l, u, t) {
|
|
11
|
+
var i, r, o, e = {};
|
|
12
|
+
for (o in u) "key" == o ? i = u[o] : "ref" == o ? r = u[o] : e[o] = u[o];
|
|
13
|
+
if (arguments.length > 2 && (e.children = arguments.length > 3 ? n$1.call(arguments, 2) : t), "function" == typeof l && null != l.defaultProps) for (o in l.defaultProps) void 0 === e[o] && (e[o] = l.defaultProps[o]);
|
|
14
|
+
return m$2(l, e, i, r, null);
|
|
15
|
+
}
|
|
16
|
+
function m$2(n, t, i, r, o) {
|
|
17
|
+
var e = {
|
|
18
|
+
type: n,
|
|
19
|
+
props: t,
|
|
20
|
+
key: i,
|
|
21
|
+
ref: r,
|
|
22
|
+
__k: null,
|
|
23
|
+
__: null,
|
|
24
|
+
__b: 0,
|
|
25
|
+
__e: null,
|
|
26
|
+
__c: null,
|
|
27
|
+
constructor: void 0,
|
|
28
|
+
__v: null == o ? ++u$3 : o,
|
|
29
|
+
__i: -1,
|
|
30
|
+
__u: 0
|
|
31
|
+
};
|
|
32
|
+
return null == o && null != l$3.vnode && l$3.vnode(e), e;
|
|
33
|
+
}
|
|
34
|
+
function k$2(n) {
|
|
35
|
+
return n.children;
|
|
36
|
+
}
|
|
37
|
+
function x$2(n, l) {
|
|
38
|
+
this.props = n, this.context = l;
|
|
39
|
+
}
|
|
40
|
+
function S(n, l) {
|
|
41
|
+
if (null == l) return n.__ ? S(n.__, n.__i + 1) : null;
|
|
42
|
+
for (var u; l < n.__k.length; l++) if (null != (u = n.__k[l]) && null != u.__e) return u.__e;
|
|
43
|
+
return "function" == typeof n.type ? S(n) : null;
|
|
44
|
+
}
|
|
45
|
+
function C$2(n) {
|
|
46
|
+
var l, u;
|
|
47
|
+
if (null != (n = n.__) && null != n.__c) {
|
|
48
|
+
for (n.__e = n.__c.base = null, l = 0; l < n.__k.length; l++) if (null != (u = n.__k[l]) && null != u.__e) {
|
|
49
|
+
n.__e = n.__c.base = u.__e;
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
return C$2(n);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function M$1(n) {
|
|
56
|
+
(!n.__d && (n.__d = !0) && i$4.push(n) && !$$1.__r++ || r$1 != l$3.debounceRendering) && ((r$1 = l$3.debounceRendering) || o$3)($$1);
|
|
57
|
+
}
|
|
58
|
+
function $$1() {
|
|
59
|
+
for (var n, u, t, r, o, f, c, s = 1; i$4.length;) i$4.length > s && i$4.sort(e$2), n = i$4.shift(), s = i$4.length, n.__d && (t = void 0, r = void 0, o = (r = (u = n).__v).__e, f = [], c = [], u.__P && ((t = d$2({}, r)).__v = r.__v + 1, l$3.vnode && l$3.vnode(t), O$1(u.__P, t, r, u.__n, u.__P.namespaceURI, 32 & r.__u ? [o] : null, f, null == o ? S(r) : o, !!(32 & r.__u), c), t.__v = r.__v, t.__.__k[t.__i] = t, N$1(f, t, c), r.__e = r.__ = null, t.__e != o && C$2(t)));
|
|
60
|
+
$$1.__r = 0;
|
|
61
|
+
}
|
|
62
|
+
function I$1(n, l, u, t, i, r, o, e, f, c, s) {
|
|
63
|
+
var a, h, y, w, d, g, _, m = t && t.__k || v$2, b = l.length;
|
|
64
|
+
for (f = P$2(u, l, m, f, b), a = 0; a < b; a++) null != (y = u.__k[a]) && (h = -1 == y.__i ? p$3 : m[y.__i] || p$3, y.__i = a, g = O$1(n, y, h, i, r, o, e, f, c, s), w = y.__e, y.ref && h.ref != y.ref && (h.ref && B$2(h.ref, null, y), s.push(y.ref, y.__c || w, y)), null == d && null != w && (d = w), (_ = !!(4 & y.__u)) || h.__k === y.__k ? f = A$2(y, f, n, _) : "function" == typeof y.type && void 0 !== g ? f = g : w && (f = w.nextSibling), y.__u &= -7);
|
|
65
|
+
return u.__e = d, f;
|
|
66
|
+
}
|
|
67
|
+
function P$2(n, l, u, t, i) {
|
|
68
|
+
var r, o, e, f, c, s = u.length, a = s, h = 0;
|
|
69
|
+
for (n.__k = new Array(i), r = 0; r < i; r++) null != (o = l[r]) && "boolean" != typeof o && "function" != typeof o ? (f = r + h, (o = n.__k[r] = "string" == typeof o || "number" == typeof o || "bigint" == typeof o || o.constructor == String ? m$2(null, o, null, null, null) : w$2(o) ? m$2(k$2, { children: o }, null, null, null) : null == o.constructor && o.__b > 0 ? m$2(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o).__ = n, o.__b = n.__b + 1, e = null, -1 != (c = o.__i = L$1(o, u, f, a)) && (a--, (e = u[c]) && (e.__u |= 2)), null == e || null == e.__v ? (-1 == c && (i > s ? h-- : i < s && h++), "function" != typeof o.type && (o.__u |= 4)) : c != f && (c == f - 1 ? h-- : c == f + 1 ? h++ : (c > f ? h-- : h++, o.__u |= 4))) : n.__k[r] = null;
|
|
70
|
+
if (a) for (r = 0; r < s; r++) null != (e = u[r]) && 0 == (2 & e.__u) && (e.__e == t && (t = S(e)), D$2(e, e));
|
|
71
|
+
return t;
|
|
72
|
+
}
|
|
73
|
+
function A$2(n, l, u, t) {
|
|
74
|
+
var i, r;
|
|
75
|
+
if ("function" == typeof n.type) {
|
|
76
|
+
for (i = n.__k, r = 0; i && r < i.length; r++) i[r] && (i[r].__ = n, l = A$2(i[r], l, u, t));
|
|
77
|
+
return l;
|
|
78
|
+
}
|
|
79
|
+
n.__e != l && (t && (l && n.type && !l.parentNode && (l = S(n)), u.insertBefore(n.__e, l || null)), l = n.__e);
|
|
80
|
+
do
|
|
81
|
+
l = l && l.nextSibling;
|
|
82
|
+
while (null != l && 8 == l.nodeType);
|
|
83
|
+
return l;
|
|
84
|
+
}
|
|
85
|
+
function H$1(n, l) {
|
|
86
|
+
return l = l || [], null == n || "boolean" == typeof n || (w$2(n) ? n.some(function(n) {
|
|
87
|
+
H$1(n, l);
|
|
88
|
+
}) : l.push(n)), l;
|
|
89
|
+
}
|
|
90
|
+
function L$1(n, l, u, t) {
|
|
91
|
+
var i, r, o, e = n.key, f = n.type, c = l[u], s = null != c && 0 == (2 & c.__u);
|
|
92
|
+
if (null === c && null == n.key || s && e == c.key && f == c.type) return u;
|
|
93
|
+
if (t > (s ? 1 : 0)) {
|
|
94
|
+
for (i = u - 1, r = u + 1; i >= 0 || r < l.length;) if (null != (c = l[o = i >= 0 ? i-- : r++]) && 0 == (2 & c.__u) && e == c.key && f == c.type) return o;
|
|
95
|
+
}
|
|
96
|
+
return -1;
|
|
97
|
+
}
|
|
98
|
+
function T$2(n, l, u) {
|
|
99
|
+
"-" == l[0] ? n.setProperty(l, null == u ? "" : u) : n[l] = null == u ? "" : "number" != typeof u || y$1.test(l) ? u : u + "px";
|
|
100
|
+
}
|
|
101
|
+
function j$2(n, l, u, t, i) {
|
|
102
|
+
var r, o;
|
|
103
|
+
n: if ("style" == l) if ("string" == typeof u) n.style.cssText = u;
|
|
104
|
+
else {
|
|
105
|
+
if ("string" == typeof t && (n.style.cssText = t = ""), t) for (l in t) u && l in u || T$2(n.style, l, "");
|
|
106
|
+
if (u) for (l in u) t && u[l] == t[l] || T$2(n.style, l, u[l]);
|
|
107
|
+
}
|
|
108
|
+
else if ("o" == l[0] && "n" == l[1]) r = l != (l = l.replace(f$3, "$1")), o = l.toLowerCase(), l = o in n || "onFocusOut" == l || "onFocusIn" == l ? o.slice(2) : l.slice(2), n.l || (n.l = {}), n.l[l + r] = u, u ? t ? u.u = t.u : (u.u = c$2, n.addEventListener(l, r ? a$3 : s$2, r)) : n.removeEventListener(l, r ? a$3 : s$2, r);
|
|
109
|
+
else {
|
|
110
|
+
if ("http://www.w3.org/2000/svg" == i) l = l.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
111
|
+
else if ("width" != l && "height" != l && "href" != l && "list" != l && "form" != l && "tabIndex" != l && "download" != l && "rowSpan" != l && "colSpan" != l && "role" != l && "popover" != l && l in n) try {
|
|
112
|
+
n[l] = null == u ? "" : u;
|
|
113
|
+
break n;
|
|
114
|
+
} catch (n) {}
|
|
115
|
+
"function" == typeof u || (null == u || !1 === u && "-" != l[4] ? n.removeAttribute(l) : n.setAttribute(l, "popover" == l && 1 == u ? "" : u));
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
function F$2(n) {
|
|
119
|
+
return function(u) {
|
|
120
|
+
if (this.l) {
|
|
121
|
+
var t = this.l[u.type + n];
|
|
122
|
+
if (null == u.t) u.t = c$2++;
|
|
123
|
+
else if (u.t < t.u) return;
|
|
124
|
+
return t(l$3.event ? l$3.event(u) : u);
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
function O$1(n, u, t, i, r, o, e, f, c, s) {
|
|
129
|
+
var a, h, p, v, y, _, m, b, S, C, M, $, P, A, H, L, T, j = u.type;
|
|
130
|
+
if (null != u.constructor) return null;
|
|
131
|
+
128 & t.__u && (c = !!(32 & t.__u), o = [f = u.__e = t.__e]), (a = l$3.__b) && a(u);
|
|
132
|
+
n: if ("function" == typeof j) try {
|
|
133
|
+
if (b = u.props, S = "prototype" in j && j.prototype.render, C = (a = j.contextType) && i[a.__c], M = a ? C ? C.props.value : a.__ : i, t.__c ? m = (h = u.__c = t.__c).__ = h.__E : (S ? u.__c = h = new j(b, M) : (u.__c = h = new x$2(b, M), h.constructor = j, h.render = E$1), C && C.sub(h), h.props = b, h.state || (h.state = {}), h.context = M, h.__n = i, p = h.__d = !0, h.__h = [], h._sb = []), S && null == h.__s && (h.__s = h.state), S && null != j.getDerivedStateFromProps && (h.__s == h.state && (h.__s = d$2({}, h.__s)), d$2(h.__s, j.getDerivedStateFromProps(b, h.__s))), v = h.props, y = h.state, h.__v = u, p) S && null == j.getDerivedStateFromProps && null != h.componentWillMount && h.componentWillMount(), S && null != h.componentDidMount && h.__h.push(h.componentDidMount);
|
|
134
|
+
else {
|
|
135
|
+
if (S && null == j.getDerivedStateFromProps && b !== v && null != h.componentWillReceiveProps && h.componentWillReceiveProps(b, M), !h.__e && null != h.shouldComponentUpdate && !1 === h.shouldComponentUpdate(b, h.__s, M) || u.__v == t.__v) {
|
|
136
|
+
for (u.__v != t.__v && (h.props = b, h.state = h.__s, h.__d = !1), u.__e = t.__e, u.__k = t.__k, u.__k.some(function(n) {
|
|
137
|
+
n && (n.__ = u);
|
|
138
|
+
}), $ = 0; $ < h._sb.length; $++) h.__h.push(h._sb[$]);
|
|
139
|
+
h._sb = [], h.__h.length && e.push(h);
|
|
140
|
+
break n;
|
|
141
|
+
}
|
|
142
|
+
null != h.componentWillUpdate && h.componentWillUpdate(b, h.__s, M), S && null != h.componentDidUpdate && h.__h.push(function() {
|
|
143
|
+
h.componentDidUpdate(v, y, _);
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
if (h.context = M, h.props = b, h.__P = n, h.__e = !1, P = l$3.__r, A = 0, S) {
|
|
147
|
+
for (h.state = h.__s, h.__d = !1, P && P(u), a = h.render(h.props, h.state, h.context), H = 0; H < h._sb.length; H++) h.__h.push(h._sb[H]);
|
|
148
|
+
h._sb = [];
|
|
149
|
+
} else do
|
|
150
|
+
h.__d = !1, P && P(u), a = h.render(h.props, h.state, h.context), h.state = h.__s;
|
|
151
|
+
while (h.__d && ++A < 25);
|
|
152
|
+
h.state = h.__s, null != h.getChildContext && (i = d$2(d$2({}, i), h.getChildContext())), S && !p && null != h.getSnapshotBeforeUpdate && (_ = h.getSnapshotBeforeUpdate(v, y)), L = a, null != a && a.type === k$2 && null == a.key && (L = V$1(a.props.children)), f = I$1(n, w$2(L) ? L : [L], u, t, i, r, o, e, f, c, s), h.base = u.__e, u.__u &= -161, h.__h.length && e.push(h), m && (h.__E = h.__ = null);
|
|
153
|
+
} catch (n) {
|
|
154
|
+
if (u.__v = null, c || null != o) if (n.then) {
|
|
155
|
+
for (u.__u |= c ? 160 : 128; f && 8 == f.nodeType && f.nextSibling;) f = f.nextSibling;
|
|
156
|
+
o[o.indexOf(f)] = null, u.__e = f;
|
|
157
|
+
} else {
|
|
158
|
+
for (T = o.length; T--;) g$2(o[T]);
|
|
159
|
+
z$2(u);
|
|
160
|
+
}
|
|
161
|
+
else u.__e = t.__e, u.__k = t.__k, n.then || z$2(u);
|
|
162
|
+
l$3.__e(n, u, t);
|
|
163
|
+
}
|
|
164
|
+
else null == o && u.__v == t.__v ? (u.__k = t.__k, u.__e = t.__e) : f = u.__e = q$2(t.__e, u, t, i, r, o, e, c, s);
|
|
165
|
+
return (a = l$3.diffed) && a(u), 128 & u.__u ? void 0 : f;
|
|
166
|
+
}
|
|
167
|
+
function z$2(n) {
|
|
168
|
+
n && n.__c && (n.__c.__e = !0), n && n.__k && n.__k.forEach(z$2);
|
|
169
|
+
}
|
|
170
|
+
function N$1(n, u, t) {
|
|
171
|
+
for (var i = 0; i < t.length; i++) B$2(t[i], t[++i], t[++i]);
|
|
172
|
+
l$3.__c && l$3.__c(u, n), n.some(function(u) {
|
|
173
|
+
try {
|
|
174
|
+
n = u.__h, u.__h = [], n.some(function(n) {
|
|
175
|
+
n.call(u);
|
|
176
|
+
});
|
|
177
|
+
} catch (n) {
|
|
178
|
+
l$3.__e(n, u.__v);
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
function V$1(n) {
|
|
183
|
+
return "object" != typeof n || null == n || n.__b && n.__b > 0 ? n : w$2(n) ? n.map(V$1) : d$2({}, n);
|
|
184
|
+
}
|
|
185
|
+
function q$2(u, t, i, r, o, e, f, c, s) {
|
|
186
|
+
var a, h, v, y, d, _, m, b = i.props, k = t.props, x = t.type;
|
|
187
|
+
if ("svg" == x ? o = "http://www.w3.org/2000/svg" : "math" == x ? o = "http://www.w3.org/1998/Math/MathML" : o || (o = "http://www.w3.org/1999/xhtml"), null != e) {
|
|
188
|
+
for (a = 0; a < e.length; a++) if ((d = e[a]) && "setAttribute" in d == !!x && (x ? d.localName == x : 3 == d.nodeType)) {
|
|
189
|
+
u = d, e[a] = null;
|
|
190
|
+
break;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
if (null == u) {
|
|
194
|
+
if (null == x) return document.createTextNode(k);
|
|
195
|
+
u = document.createElementNS(o, x, k.is && k), c && (l$3.__m && l$3.__m(t, e), c = !1), e = null;
|
|
196
|
+
}
|
|
197
|
+
if (null == x) b === k || c && u.data == k || (u.data = k);
|
|
198
|
+
else {
|
|
199
|
+
if (e = e && n$1.call(u.childNodes), b = i.props || p$3, !c && null != e) for (b = {}, a = 0; a < u.attributes.length; a++) b[(d = u.attributes[a]).name] = d.value;
|
|
200
|
+
for (a in b) if (d = b[a], "children" == a);
|
|
201
|
+
else if ("dangerouslySetInnerHTML" == a) v = d;
|
|
202
|
+
else if (!(a in k)) {
|
|
203
|
+
if ("value" == a && "defaultValue" in k || "checked" == a && "defaultChecked" in k) continue;
|
|
204
|
+
j$2(u, a, null, d, o);
|
|
205
|
+
}
|
|
206
|
+
for (a in k) d = k[a], "children" == a ? y = d : "dangerouslySetInnerHTML" == a ? h = d : "value" == a ? _ = d : "checked" == a ? m = d : c && "function" != typeof d || b[a] === d || j$2(u, a, d, b[a], o);
|
|
207
|
+
if (h) c || v && (h.__html == v.__html || h.__html == u.innerHTML) || (u.innerHTML = h.__html), t.__k = [];
|
|
208
|
+
else if (v && (u.innerHTML = ""), I$1("template" == t.type ? u.content : u, w$2(y) ? y : [y], t, i, r, "foreignObject" == x ? "http://www.w3.org/1999/xhtml" : o, e, f, e ? e[0] : i.__k && S(i, 0), c, s), null != e) for (a = e.length; a--;) g$2(e[a]);
|
|
209
|
+
c || (a = "value", "progress" == x && null == _ ? u.removeAttribute("value") : null != _ && (_ !== u[a] || "progress" == x && !_ || "option" == x && _ != b[a]) && j$2(u, a, _, b[a], o), a = "checked", null != m && m != u[a] && j$2(u, a, m, b[a], o));
|
|
210
|
+
}
|
|
211
|
+
return u;
|
|
212
|
+
}
|
|
213
|
+
function B$2(n, u, t) {
|
|
214
|
+
try {
|
|
215
|
+
if ("function" == typeof n) {
|
|
216
|
+
var i = "function" == typeof n.__u;
|
|
217
|
+
i && n.__u(), i && null == u || (n.__u = n(u));
|
|
218
|
+
} else n.current = u;
|
|
219
|
+
} catch (n) {
|
|
220
|
+
l$3.__e(n, t);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
function D$2(n, u, t) {
|
|
224
|
+
var i, r;
|
|
225
|
+
if (l$3.unmount && l$3.unmount(n), (i = n.ref) && (i.current && i.current != n.__e || B$2(i, null, u)), null != (i = n.__c)) {
|
|
226
|
+
if (i.componentWillUnmount) try {
|
|
227
|
+
i.componentWillUnmount();
|
|
228
|
+
} catch (n) {
|
|
229
|
+
l$3.__e(n, u);
|
|
230
|
+
}
|
|
231
|
+
i.base = i.__P = null;
|
|
232
|
+
}
|
|
233
|
+
if (i = n.__k) for (r = 0; r < i.length; r++) i[r] && D$2(i[r], u, t || "function" != typeof n.type);
|
|
234
|
+
t || g$2(n.__e), n.__c = n.__ = n.__e = void 0;
|
|
235
|
+
}
|
|
236
|
+
function E$1(n, l, u) {
|
|
237
|
+
return this.constructor(n, u);
|
|
238
|
+
}
|
|
239
|
+
function G$1(u, t, i) {
|
|
240
|
+
var r, o, e, f;
|
|
241
|
+
t == document && (t = document.documentElement), l$3.__ && l$3.__(u, t), o = (r = "function" == typeof i) ? null : i && i.__k || t.__k, e = [], f = [], O$1(t, u = (!r && i || t).__k = _$1(k$2, null, [u]), o || p$3, p$3, t.namespaceURI, !r && i ? [i] : o ? null : t.firstChild ? n$1.call(t.childNodes) : null, e, !r && i ? i : o ? o.__e : t.firstChild, r, f), N$1(e, u, f);
|
|
242
|
+
}
|
|
243
|
+
function J$1(n, l) {
|
|
244
|
+
G$1(n, l, J$1);
|
|
245
|
+
}
|
|
246
|
+
function K$1(l, u, t) {
|
|
247
|
+
var i, r, o, e, f = d$2({}, l.props);
|
|
248
|
+
for (o in l.type && l.type.defaultProps && (e = l.type.defaultProps), u) "key" == o ? i = u[o] : "ref" == o ? r = u[o] : f[o] = void 0 === u[o] && null != e ? e[o] : u[o];
|
|
249
|
+
return arguments.length > 2 && (f.children = arguments.length > 3 ? n$1.call(arguments, 2) : t), m$2(l.type, f, i || l.key, r || l.ref, null);
|
|
250
|
+
}
|
|
251
|
+
function Q$1(n) {
|
|
252
|
+
function l(n) {
|
|
253
|
+
var u, t;
|
|
254
|
+
return this.getChildContext || (u = /* @__PURE__ */ new Set(), (t = {})[l.__c] = this, this.getChildContext = function() {
|
|
255
|
+
return t;
|
|
256
|
+
}, this.componentWillUnmount = function() {
|
|
257
|
+
u = null;
|
|
258
|
+
}, this.shouldComponentUpdate = function(n) {
|
|
259
|
+
this.props.value != n.value && u.forEach(function(n) {
|
|
260
|
+
n.__e = !0, M$1(n);
|
|
261
|
+
});
|
|
262
|
+
}, this.sub = function(n) {
|
|
263
|
+
u.add(n);
|
|
264
|
+
var l = n.componentWillUnmount;
|
|
265
|
+
n.componentWillUnmount = function() {
|
|
266
|
+
u && u.delete(n), l && l.call(n);
|
|
267
|
+
};
|
|
268
|
+
}), n.children;
|
|
269
|
+
}
|
|
270
|
+
return l.__c = "__cC" + h$2++, l.__ = n, l.Provider = l.__l = (l.Consumer = function(n, l) {
|
|
271
|
+
return n.children(l);
|
|
272
|
+
}).contextType = l, l;
|
|
273
|
+
}
|
|
274
|
+
n$1 = v$2.slice, l$3 = { __e: function(n, l, u, t) {
|
|
275
|
+
for (var i, r, o; l = l.__;) if ((i = l.__c) && !i.__) try {
|
|
276
|
+
if ((r = i.constructor) && null != r.getDerivedStateFromError && (i.setState(r.getDerivedStateFromError(n)), o = i.__d), null != i.componentDidCatch && (i.componentDidCatch(n, t || {}), o = i.__d), o) return i.__E = i;
|
|
277
|
+
} catch (l) {
|
|
278
|
+
n = l;
|
|
279
|
+
}
|
|
280
|
+
throw n;
|
|
281
|
+
} }, u$3 = 0, x$2.prototype.setState = function(n, l) {
|
|
282
|
+
var u = null != this.__s && this.__s != this.state ? this.__s : this.__s = d$2({}, this.state);
|
|
283
|
+
"function" == typeof n && (n = n(d$2({}, u), this.props)), n && d$2(u, n), null != n && this.__v && (l && this._sb.push(l), M$1(this));
|
|
284
|
+
}, x$2.prototype.forceUpdate = function(n) {
|
|
285
|
+
this.__v && (this.__e = !0, n && this.__h.push(n), M$1(this));
|
|
286
|
+
}, x$2.prototype.render = k$2, i$4 = [], o$3 = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, e$2 = function(n, l) {
|
|
287
|
+
return n.__v.__b - l.__v.__b;
|
|
288
|
+
}, $$1.__r = 0, f$3 = /(PointerCapture)$|Capture$/i, c$2 = 0, s$2 = F$2(!1), a$3 = F$2(!0), h$2 = 0;
|
|
289
|
+
//#endregion
|
|
290
|
+
//#region ../../node_modules/.pnpm/preact@10.27.2/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js
|
|
291
|
+
var f$2 = 0;
|
|
292
|
+
Array.isArray;
|
|
293
|
+
function u$2(e, t, n, o, i, u) {
|
|
294
|
+
t || (t = {});
|
|
295
|
+
var a, c, p = t;
|
|
296
|
+
if ("ref" in p) for (c in p = {}, t) "ref" == c ? a = t[c] : p[c] = t[c];
|
|
297
|
+
var l = {
|
|
298
|
+
type: e,
|
|
299
|
+
props: p,
|
|
300
|
+
key: n,
|
|
301
|
+
ref: a,
|
|
302
|
+
__k: null,
|
|
303
|
+
__: null,
|
|
304
|
+
__b: 0,
|
|
305
|
+
__e: null,
|
|
306
|
+
__c: null,
|
|
307
|
+
constructor: void 0,
|
|
308
|
+
__v: --f$2,
|
|
309
|
+
__i: -1,
|
|
310
|
+
__u: 0,
|
|
311
|
+
__source: i,
|
|
312
|
+
__self: u
|
|
313
|
+
};
|
|
314
|
+
if ("function" == typeof e && (a = e.defaultProps)) for (c in a) void 0 === p[c] && (p[c] = a[c]);
|
|
315
|
+
return l$3.vnode && l$3.vnode(l), l;
|
|
316
|
+
}
|
|
317
|
+
//#endregion
|
|
318
|
+
//#region ../../node_modules/.pnpm/preact@10.27.2/node_modules/preact/hooks/dist/hooks.module.js
|
|
319
|
+
var t, r, u$1, i$2, o$1 = 0, f$1 = [], c$1 = l$3, e$1 = c$1.__b, a$2 = c$1.__r, v$1 = c$1.diffed, l$2 = c$1.__c, m$1 = c$1.unmount, s$1 = c$1.__;
|
|
320
|
+
function p$2(n, t) {
|
|
321
|
+
c$1.__h && c$1.__h(r, n, o$1 || t), o$1 = 0;
|
|
322
|
+
var u = r.__H || (r.__H = {
|
|
323
|
+
__: [],
|
|
324
|
+
__h: []
|
|
325
|
+
});
|
|
326
|
+
return n >= u.__.length && u.__.push({}), u.__[n];
|
|
327
|
+
}
|
|
328
|
+
function d$1(n) {
|
|
329
|
+
return o$1 = 1, h$1(D$1, n);
|
|
330
|
+
}
|
|
331
|
+
function h$1(n, u, i) {
|
|
332
|
+
var o = p$2(t++, 2);
|
|
333
|
+
if (o.t = n, !o.__c && (o.__ = [i ? i(u) : D$1(void 0, u), function(n) {
|
|
334
|
+
var t = o.__N ? o.__N[0] : o.__[0], r = o.t(t, n);
|
|
335
|
+
t !== r && (o.__N = [r, o.__[1]], o.__c.setState({}));
|
|
336
|
+
}], o.__c = r, !r.__f)) {
|
|
337
|
+
var f = function(n, t, r) {
|
|
338
|
+
if (!o.__c.__H) return !0;
|
|
339
|
+
var u = o.__c.__H.__.filter(function(n) {
|
|
340
|
+
return !!n.__c;
|
|
341
|
+
});
|
|
342
|
+
if (u.every(function(n) {
|
|
343
|
+
return !n.__N;
|
|
344
|
+
})) return !c || c.call(this, n, t, r);
|
|
345
|
+
var i = o.__c.props !== n;
|
|
346
|
+
return u.forEach(function(n) {
|
|
347
|
+
if (n.__N) {
|
|
348
|
+
var t = n.__[0];
|
|
349
|
+
n.__ = n.__N, n.__N = void 0, t !== n.__[0] && (i = !0);
|
|
350
|
+
}
|
|
351
|
+
}), c && c.call(this, n, t, r) || i;
|
|
352
|
+
};
|
|
353
|
+
r.__f = !0;
|
|
354
|
+
var c = r.shouldComponentUpdate, e = r.componentWillUpdate;
|
|
355
|
+
r.componentWillUpdate = function(n, t, r) {
|
|
356
|
+
if (this.__e) {
|
|
357
|
+
var u = c;
|
|
358
|
+
c = void 0, f(n, t, r), c = u;
|
|
359
|
+
}
|
|
360
|
+
e && e.call(this, n, t, r);
|
|
361
|
+
}, r.shouldComponentUpdate = f;
|
|
362
|
+
}
|
|
363
|
+
return o.__N || o.__;
|
|
364
|
+
}
|
|
365
|
+
function y(n, u) {
|
|
366
|
+
var i = p$2(t++, 3);
|
|
367
|
+
!c$1.__s && C$1(i.__H, u) && (i.__ = n, i.u = u, r.__H.__h.push(i));
|
|
368
|
+
}
|
|
369
|
+
function _(n, u) {
|
|
370
|
+
var i = p$2(t++, 4);
|
|
371
|
+
!c$1.__s && C$1(i.__H, u) && (i.__ = n, i.u = u, r.__h.push(i));
|
|
372
|
+
}
|
|
373
|
+
function A$1(n) {
|
|
374
|
+
return o$1 = 5, T$1(function() {
|
|
375
|
+
return { current: n };
|
|
376
|
+
}, []);
|
|
377
|
+
}
|
|
378
|
+
function F$1(n, t, r) {
|
|
379
|
+
o$1 = 6, _(function() {
|
|
380
|
+
if ("function" == typeof n) {
|
|
381
|
+
var r = n(t());
|
|
382
|
+
return function() {
|
|
383
|
+
n(null), r && "function" == typeof r && r();
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
if (n) return n.current = t(), function() {
|
|
387
|
+
return n.current = null;
|
|
388
|
+
};
|
|
389
|
+
}, null == r ? r : r.concat(n));
|
|
390
|
+
}
|
|
391
|
+
function T$1(n, r) {
|
|
392
|
+
var u = p$2(t++, 7);
|
|
393
|
+
return C$1(u.__H, r) && (u.__ = n(), u.__H = r, u.__h = n), u.__;
|
|
394
|
+
}
|
|
395
|
+
function q$1(n, t) {
|
|
396
|
+
return o$1 = 8, T$1(function() {
|
|
397
|
+
return n;
|
|
398
|
+
}, t);
|
|
399
|
+
}
|
|
400
|
+
function x$1(n) {
|
|
401
|
+
var u = r.context[n.__c], i = p$2(t++, 9);
|
|
402
|
+
return i.c = n, u ? (i.__ ?? (i.__ = !0, u.sub(r)), u.props.value) : n.__;
|
|
403
|
+
}
|
|
404
|
+
function g$1() {
|
|
405
|
+
var n = p$2(t++, 11);
|
|
406
|
+
if (!n.__) {
|
|
407
|
+
for (var u = r.__v; null !== u && !u.__m && null !== u.__;) u = u.__;
|
|
408
|
+
var i = u.__m || (u.__m = [0, 0]);
|
|
409
|
+
n.__ = "P" + i[0] + "-" + i[1]++;
|
|
410
|
+
}
|
|
411
|
+
return n.__;
|
|
412
|
+
}
|
|
413
|
+
function j$1() {
|
|
414
|
+
for (var n; n = f$1.shift();) if (n.__P && n.__H) try {
|
|
415
|
+
n.__H.__h.forEach(z$1), n.__H.__h.forEach(B$1), n.__H.__h = [];
|
|
416
|
+
} catch (t) {
|
|
417
|
+
n.__H.__h = [], c$1.__e(t, n.__v);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
c$1.__b = function(n) {
|
|
421
|
+
r = null, e$1 && e$1(n);
|
|
422
|
+
}, c$1.__ = function(n, t) {
|
|
423
|
+
n && t.__k && t.__k.__m && (n.__m = t.__k.__m), s$1 && s$1(n, t);
|
|
424
|
+
}, c$1.__r = function(n) {
|
|
425
|
+
a$2 && a$2(n), t = 0;
|
|
426
|
+
var i = (r = n.__c).__H;
|
|
427
|
+
i && (u$1 === r ? (i.__h = [], r.__h = [], i.__.forEach(function(n) {
|
|
428
|
+
n.__N && (n.__ = n.__N), n.u = n.__N = void 0;
|
|
429
|
+
})) : (i.__h.forEach(z$1), i.__h.forEach(B$1), i.__h = [], t = 0)), u$1 = r;
|
|
430
|
+
}, c$1.diffed = function(n) {
|
|
431
|
+
v$1 && v$1(n);
|
|
432
|
+
var t = n.__c;
|
|
433
|
+
t && t.__H && (t.__H.__h.length && (1 !== f$1.push(t) && i$2 === c$1.requestAnimationFrame || ((i$2 = c$1.requestAnimationFrame) || w$1)(j$1)), t.__H.__.forEach(function(n) {
|
|
434
|
+
n.u && (n.__H = n.u), n.u = void 0;
|
|
435
|
+
})), u$1 = r = null;
|
|
436
|
+
}, c$1.__c = function(n, t) {
|
|
437
|
+
t.some(function(n) {
|
|
438
|
+
try {
|
|
439
|
+
n.__h.forEach(z$1), n.__h = n.__h.filter(function(n) {
|
|
440
|
+
return !n.__ || B$1(n);
|
|
441
|
+
});
|
|
442
|
+
} catch (r) {
|
|
443
|
+
t.some(function(n) {
|
|
444
|
+
n.__h && (n.__h = []);
|
|
445
|
+
}), t = [], c$1.__e(r, n.__v);
|
|
446
|
+
}
|
|
447
|
+
}), l$2 && l$2(n, t);
|
|
448
|
+
}, c$1.unmount = function(n) {
|
|
449
|
+
m$1 && m$1(n);
|
|
450
|
+
var t, r = n.__c;
|
|
451
|
+
r && r.__H && (r.__H.__.forEach(function(n) {
|
|
452
|
+
try {
|
|
453
|
+
z$1(n);
|
|
454
|
+
} catch (n) {
|
|
455
|
+
t = n;
|
|
456
|
+
}
|
|
457
|
+
}), r.__H = void 0, t && c$1.__e(t, r.__v));
|
|
458
|
+
};
|
|
459
|
+
var k$1 = "function" == typeof requestAnimationFrame;
|
|
460
|
+
function w$1(n) {
|
|
461
|
+
var t, r = function() {
|
|
462
|
+
clearTimeout(u), k$1 && cancelAnimationFrame(t), setTimeout(n);
|
|
463
|
+
}, u = setTimeout(r, 35);
|
|
464
|
+
k$1 && (t = requestAnimationFrame(r));
|
|
465
|
+
}
|
|
466
|
+
function z$1(n) {
|
|
467
|
+
var t = r, u = n.__c;
|
|
468
|
+
"function" == typeof u && (n.__c = void 0, u()), r = t;
|
|
469
|
+
}
|
|
470
|
+
function B$1(n) {
|
|
471
|
+
var t = r;
|
|
472
|
+
n.__c = n.__(), r = t;
|
|
473
|
+
}
|
|
474
|
+
function C$1(n, t) {
|
|
475
|
+
return !n || n.length !== t.length || t.some(function(t, r) {
|
|
476
|
+
return t !== n[r];
|
|
477
|
+
});
|
|
478
|
+
}
|
|
479
|
+
function D$1(n, t) {
|
|
480
|
+
return "function" == typeof t ? t(n) : t;
|
|
481
|
+
}
|
|
482
|
+
//#endregion
|
|
483
|
+
//#region ../../node_modules/.pnpm/preact@10.27.2/node_modules/preact/compat/dist/compat.module.js
|
|
484
|
+
function g(n, t) {
|
|
485
|
+
for (var e in t) n[e] = t[e];
|
|
486
|
+
return n;
|
|
487
|
+
}
|
|
488
|
+
function E(n, t) {
|
|
489
|
+
for (var e in n) if ("__source" !== e && !(e in t)) return !0;
|
|
490
|
+
for (var r in t) if ("__source" !== r && n[r] !== t[r]) return !0;
|
|
491
|
+
return !1;
|
|
492
|
+
}
|
|
493
|
+
function C(n, t) {
|
|
494
|
+
var e = t(), r = d$1({ t: {
|
|
495
|
+
__: e,
|
|
496
|
+
u: t
|
|
497
|
+
} }), u = r[0].t, o = r[1];
|
|
498
|
+
return _(function() {
|
|
499
|
+
u.__ = e, u.u = t, x(u) && o({ t: u });
|
|
500
|
+
}, [
|
|
501
|
+
n,
|
|
502
|
+
e,
|
|
503
|
+
t
|
|
504
|
+
]), y(function() {
|
|
505
|
+
return x(u) && o({ t: u }), n(function() {
|
|
506
|
+
x(u) && o({ t: u });
|
|
507
|
+
});
|
|
508
|
+
}, [n]), e;
|
|
509
|
+
}
|
|
510
|
+
function x(n) {
|
|
511
|
+
var t, e, r = n.u, u = n.__;
|
|
512
|
+
try {
|
|
513
|
+
var o = r();
|
|
514
|
+
return !((t = u) === (e = o) && (0 !== t || 1 / t == 1 / e) || t != t && e != e);
|
|
515
|
+
} catch (n) {
|
|
516
|
+
return !0;
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
function N(n, t) {
|
|
520
|
+
this.props = n, this.context = t;
|
|
521
|
+
}
|
|
522
|
+
(N.prototype = new x$2()).isPureReactComponent = !0, N.prototype.shouldComponentUpdate = function(n, t) {
|
|
523
|
+
return E(this.props, n) || E(this.state, t);
|
|
524
|
+
};
|
|
525
|
+
var T = l$3.__b;
|
|
526
|
+
l$3.__b = function(n) {
|
|
527
|
+
n.type && n.type.__f && n.ref && (n.props.ref = n.ref, n.ref = null), T && T(n);
|
|
528
|
+
};
|
|
529
|
+
var A = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
530
|
+
function D(n) {
|
|
531
|
+
function t(t) {
|
|
532
|
+
var e = g({}, t);
|
|
533
|
+
return delete e.ref, n(e, t.ref || null);
|
|
534
|
+
}
|
|
535
|
+
return t.$$typeof = A, t.render = n, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (n.displayName || n.name) + ")", t;
|
|
536
|
+
}
|
|
537
|
+
var F = l$3.__e;
|
|
538
|
+
l$3.__e = function(n, t, e, r) {
|
|
539
|
+
if (n.then) {
|
|
540
|
+
for (var u, o = t; o = o.__;) if ((u = o.__c) && u.__c) return t.__e ?? (t.__e = e.__e, t.__k = e.__k), u.__c(n, t);
|
|
541
|
+
}
|
|
542
|
+
F(n, t, e, r);
|
|
543
|
+
};
|
|
544
|
+
var U = l$3.unmount;
|
|
545
|
+
function V(n, t, e) {
|
|
546
|
+
return n && (n.__c && n.__c.__H && (n.__c.__H.__.forEach(function(n) {
|
|
547
|
+
"function" == typeof n.__c && n.__c();
|
|
548
|
+
}), n.__c.__H = null), null != (n = g({}, n)).__c && (n.__c.__P === e && (n.__c.__P = t), n.__c.__e = !0, n.__c = null), n.__k = n.__k && n.__k.map(function(n) {
|
|
549
|
+
return V(n, t, e);
|
|
550
|
+
})), n;
|
|
551
|
+
}
|
|
552
|
+
function W(n, t, e) {
|
|
553
|
+
return n && e && (n.__v = null, n.__k = n.__k && n.__k.map(function(n) {
|
|
554
|
+
return W(n, t, e);
|
|
555
|
+
}), n.__c && n.__c.__P === t && (n.__e && e.appendChild(n.__e), n.__c.__e = !0, n.__c.__P = e)), n;
|
|
556
|
+
}
|
|
557
|
+
function P() {
|
|
558
|
+
this.__u = 0, this.o = null, this.__b = null;
|
|
559
|
+
}
|
|
560
|
+
function j(n) {
|
|
561
|
+
var t = n.__.__c;
|
|
562
|
+
return t && t.__a && t.__a(n);
|
|
563
|
+
}
|
|
564
|
+
function z(n) {
|
|
565
|
+
var e, r, u;
|
|
566
|
+
function o(o) {
|
|
567
|
+
if (e || (e = n()).then(function(n) {
|
|
568
|
+
r = n.default || n;
|
|
569
|
+
}, function(n) {
|
|
570
|
+
u = n;
|
|
571
|
+
}), u) throw u;
|
|
572
|
+
if (!r) throw e;
|
|
573
|
+
return _$1(r, o);
|
|
574
|
+
}
|
|
575
|
+
return o.displayName = "Lazy", o.__f = !0, o;
|
|
576
|
+
}
|
|
577
|
+
function B() {
|
|
578
|
+
this.i = null, this.l = null;
|
|
579
|
+
}
|
|
580
|
+
l$3.unmount = function(n) {
|
|
581
|
+
var t = n.__c;
|
|
582
|
+
t && t.__R && t.__R(), t && 32 & n.__u && (n.type = null), U && U(n);
|
|
583
|
+
}, (P.prototype = new x$2()).__c = function(n, t) {
|
|
584
|
+
var e = t.__c, r = this;
|
|
585
|
+
r.o ??= [], r.o.push(e);
|
|
586
|
+
var u = j(r.__v), o = !1, i = function() {
|
|
587
|
+
o || (o = !0, e.__R = null, u ? u(l) : l());
|
|
588
|
+
};
|
|
589
|
+
e.__R = i;
|
|
590
|
+
var l = function() {
|
|
591
|
+
if (!--r.__u) {
|
|
592
|
+
if (r.state.__a) {
|
|
593
|
+
var n = r.state.__a;
|
|
594
|
+
r.__v.__k[0] = W(n, n.__c.__P, n.__c.__O);
|
|
595
|
+
}
|
|
596
|
+
var t;
|
|
597
|
+
for (r.setState({ __a: r.__b = null }); t = r.o.pop();) t.forceUpdate();
|
|
598
|
+
}
|
|
599
|
+
};
|
|
600
|
+
r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), n.then(i, i);
|
|
601
|
+
}, P.prototype.componentWillUnmount = function() {
|
|
602
|
+
this.o = [];
|
|
603
|
+
}, P.prototype.render = function(n, e) {
|
|
604
|
+
if (this.__b) {
|
|
605
|
+
if (this.__v.__k) {
|
|
606
|
+
var r = document.createElement("div"), o = this.__v.__k[0].__c;
|
|
607
|
+
this.__v.__k[0] = V(this.__b, r, o.__O = o.__P);
|
|
608
|
+
}
|
|
609
|
+
this.__b = null;
|
|
610
|
+
}
|
|
611
|
+
var i = e.__a && _$1(k$2, null, n.fallback);
|
|
612
|
+
return i && (i.__u &= -33), [_$1(k$2, null, e.__a ? null : n.children), i];
|
|
613
|
+
};
|
|
614
|
+
var H = function(n, t, e) {
|
|
615
|
+
if (++e[1] === e[0] && n.l.delete(t), n.props.revealOrder && ("t" !== n.props.revealOrder[0] || !n.l.size)) for (e = n.i; e;) {
|
|
616
|
+
for (; e.length > 3;) e.pop()();
|
|
617
|
+
if (e[1] < e[0]) break;
|
|
618
|
+
n.i = e = e[2];
|
|
619
|
+
}
|
|
620
|
+
};
|
|
621
|
+
function Z(n) {
|
|
622
|
+
return this.getChildContext = function() {
|
|
623
|
+
return n.context;
|
|
624
|
+
}, n.children;
|
|
625
|
+
}
|
|
626
|
+
function Y(n) {
|
|
627
|
+
var e = this, r = n.h;
|
|
628
|
+
if (e.componentWillUnmount = function() {
|
|
629
|
+
G$1(null, e.v), e.v = null, e.h = null;
|
|
630
|
+
}, e.h && e.h !== r && e.componentWillUnmount(), !e.v) {
|
|
631
|
+
for (var u = e.__v; null !== u && !u.__m && null !== u.__;) u = u.__;
|
|
632
|
+
e.h = r, e.v = {
|
|
633
|
+
nodeType: 1,
|
|
634
|
+
parentNode: r,
|
|
635
|
+
childNodes: [],
|
|
636
|
+
__k: { __m: u.__m },
|
|
637
|
+
contains: function() {
|
|
638
|
+
return !0;
|
|
639
|
+
},
|
|
640
|
+
insertBefore: function(n, t) {
|
|
641
|
+
this.childNodes.push(n), e.h.insertBefore(n, t);
|
|
642
|
+
},
|
|
643
|
+
removeChild: function(n) {
|
|
644
|
+
this.childNodes.splice(this.childNodes.indexOf(n) >>> 1, 1), e.h.removeChild(n);
|
|
645
|
+
}
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
G$1(_$1(Z, { context: e.context }, n.__v), e.v);
|
|
649
|
+
}
|
|
650
|
+
function $(n, e) {
|
|
651
|
+
var r = _$1(Y, {
|
|
652
|
+
__v: n,
|
|
653
|
+
h: e
|
|
654
|
+
});
|
|
655
|
+
return r.containerInfo = e, r;
|
|
656
|
+
}
|
|
657
|
+
(B.prototype = new x$2()).__a = function(n) {
|
|
658
|
+
var t = this, e = j(t.__v), r = t.l.get(n);
|
|
659
|
+
return r[0]++, function(u) {
|
|
660
|
+
var o = function() {
|
|
661
|
+
t.props.revealOrder ? (r.push(u), H(t, n, r)) : u();
|
|
662
|
+
};
|
|
663
|
+
e ? e(o) : o();
|
|
664
|
+
};
|
|
665
|
+
}, B.prototype.render = function(n) {
|
|
666
|
+
this.i = null, this.l = /* @__PURE__ */ new Map();
|
|
667
|
+
var t = H$1(n.children);
|
|
668
|
+
n.revealOrder && "b" === n.revealOrder[0] && t.reverse();
|
|
669
|
+
for (var e = t.length; e--;) this.l.set(t[e], this.i = [
|
|
670
|
+
1,
|
|
671
|
+
0,
|
|
672
|
+
this.i
|
|
673
|
+
]);
|
|
674
|
+
return n.children;
|
|
675
|
+
}, B.prototype.componentDidUpdate = B.prototype.componentDidMount = function() {
|
|
676
|
+
var n = this;
|
|
677
|
+
this.l.forEach(function(t, e) {
|
|
678
|
+
H(n, e, t);
|
|
679
|
+
});
|
|
680
|
+
};
|
|
681
|
+
var q = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.element") || 60103, G = /^(?: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]/, J = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, K = /[A-Z0-9]/g, Q = "undefined" != typeof document, X = function(n) {
|
|
682
|
+
return ("undefined" != typeof Symbol && "symbol" == typeof Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(n);
|
|
683
|
+
};
|
|
684
|
+
x$2.prototype.isReactComponent = {}, [
|
|
685
|
+
"componentWillMount",
|
|
686
|
+
"componentWillReceiveProps",
|
|
687
|
+
"componentWillUpdate"
|
|
688
|
+
].forEach(function(t) {
|
|
689
|
+
Object.defineProperty(x$2.prototype, t, {
|
|
690
|
+
configurable: !0,
|
|
691
|
+
get: function() {
|
|
692
|
+
return this["UNSAFE_" + t];
|
|
693
|
+
},
|
|
694
|
+
set: function(n) {
|
|
695
|
+
Object.defineProperty(this, t, {
|
|
696
|
+
configurable: !0,
|
|
697
|
+
writable: !0,
|
|
698
|
+
value: n
|
|
699
|
+
});
|
|
700
|
+
}
|
|
701
|
+
});
|
|
702
|
+
});
|
|
703
|
+
var en = l$3.event;
|
|
704
|
+
function rn() {}
|
|
705
|
+
function un() {
|
|
706
|
+
return this.cancelBubble;
|
|
707
|
+
}
|
|
708
|
+
function on() {
|
|
709
|
+
return this.defaultPrevented;
|
|
710
|
+
}
|
|
711
|
+
l$3.event = function(n) {
|
|
712
|
+
return en && (n = en(n)), n.persist = rn, n.isPropagationStopped = un, n.isDefaultPrevented = on, n.nativeEvent = n;
|
|
713
|
+
};
|
|
714
|
+
var cn = {
|
|
715
|
+
enumerable: !1,
|
|
716
|
+
configurable: !0,
|
|
717
|
+
get: function() {
|
|
718
|
+
return this.class;
|
|
719
|
+
}
|
|
720
|
+
}, fn = l$3.vnode;
|
|
721
|
+
l$3.vnode = function(n) {
|
|
722
|
+
"string" == typeof n.type && function(n) {
|
|
723
|
+
var t = n.props, e = n.type, u = {}, o = -1 === e.indexOf("-");
|
|
724
|
+
for (var i in t) {
|
|
725
|
+
var l = t[i];
|
|
726
|
+
if (!("value" === i && "defaultValue" in t && null == l || Q && "children" === i && "noscript" === e || "class" === i || "className" === i)) {
|
|
727
|
+
var c = i.toLowerCase();
|
|
728
|
+
"defaultValue" === i && "value" in t && null == t.value ? i = "value" : "download" === i && !0 === l ? l = "" : "translate" === c && "no" === l ? l = !1 : "o" === c[0] && "n" === c[1] ? "ondoubleclick" === c ? i = "ondblclick" : "onchange" !== c || "input" !== e && "textarea" !== e || X(t.type) ? "onfocus" === c ? i = "onfocusin" : "onblur" === c ? i = "onfocusout" : J.test(i) && (i = c) : c = i = "oninput" : o && G.test(i) ? i = i.replace(K, "-$&").toLowerCase() : null === l && (l = void 0), "oninput" === c && u[i = c] && (i = "oninputCapture"), u[i] = l;
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
"select" == e && u.multiple && Array.isArray(u.value) && (u.value = H$1(t.children).forEach(function(n) {
|
|
732
|
+
n.props.selected = -1 != u.value.indexOf(n.props.value);
|
|
733
|
+
})), "select" == e && null != u.defaultValue && (u.value = H$1(t.children).forEach(function(n) {
|
|
734
|
+
n.props.selected = u.multiple ? -1 != u.defaultValue.indexOf(n.props.value) : u.defaultValue == n.props.value;
|
|
735
|
+
})), t.class && !t.className ? (u.class = t.class, Object.defineProperty(u, "className", cn)) : (t.className && !t.class || t.class && t.className) && (u.class = u.className = t.className), n.props = u;
|
|
736
|
+
}(n), n.$$typeof = q, fn && fn(n);
|
|
737
|
+
};
|
|
738
|
+
var an = l$3.__r;
|
|
739
|
+
l$3.__r = function(n) {
|
|
740
|
+
an && an(n), n.__c;
|
|
741
|
+
};
|
|
742
|
+
var sn = l$3.diffed;
|
|
743
|
+
l$3.diffed = function(n) {
|
|
744
|
+
sn && sn(n);
|
|
745
|
+
var t = n.props, e = n.__e;
|
|
746
|
+
null != e && "textarea" === n.type && "value" in t && t.value !== e.value && (e.value = null == t.value ? "" : t.value);
|
|
747
|
+
};
|
|
748
|
+
var gn = function(n, t) {
|
|
749
|
+
return n(t);
|
|
750
|
+
};
|
|
751
|
+
//#endregion
|
|
752
|
+
//#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
|
|
753
|
+
function i$1() {
|
|
754
|
+
return i$1 = Object.assign ? Object.assign.bind() : function(t) {
|
|
755
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
756
|
+
var n = arguments[e];
|
|
757
|
+
for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
758
|
+
}
|
|
759
|
+
return t;
|
|
760
|
+
}, i$1.apply(this, arguments);
|
|
761
|
+
}
|
|
762
|
+
function s(t, e) {
|
|
763
|
+
if (null == t) return {};
|
|
764
|
+
var n, o, r = {}, i = Object.keys(t);
|
|
765
|
+
for (o = 0; o < i.length; o++) e.indexOf(n = i[o]) >= 0 || (r[n] = t[n]);
|
|
766
|
+
return r;
|
|
767
|
+
}
|
|
768
|
+
var a$1 = ["context", "children"], l$1 = ["useFragment"];
|
|
769
|
+
function c(t, e, n, o) {
|
|
770
|
+
function r() {
|
|
771
|
+
var e, n = Reflect.construct(HTMLElement, [], r);
|
|
772
|
+
return n._vdomComponent = t, o && o.shadow ? (n._root = n.attachShadow({
|
|
773
|
+
mode: o.mode || "open",
|
|
774
|
+
serializable: null != (e = o.serializable) && e
|
|
775
|
+
}), o.adoptedStyleSheets && (n._root.adoptedStyleSheets = o.adoptedStyleSheets)) : n._root = n, n;
|
|
776
|
+
}
|
|
777
|
+
return (r.prototype = Object.create(HTMLElement.prototype)).constructor = r, r.prototype.connectedCallback = function() {
|
|
778
|
+
d.call(this, o);
|
|
779
|
+
}, r.prototype.attributeChangedCallback = h, r.prototype.disconnectedCallback = f, n = n || t.observedAttributes || Object.keys(t.propTypes || {}), r.observedAttributes = n, t.formAssociated && (r.formAssociated = !0), n.forEach(function(t) {
|
|
780
|
+
Object.defineProperty(r.prototype, t, {
|
|
781
|
+
get: function() {
|
|
782
|
+
return this._vdom ? this._vdom.props[t] : this._props[t];
|
|
783
|
+
},
|
|
784
|
+
set: function(e) {
|
|
785
|
+
this._vdom ? this.attributeChangedCallback(t, null, e) : (this._props || (this._props = {}), this._props[t] = e);
|
|
786
|
+
var n = typeof e;
|
|
787
|
+
null != e && "string" !== n && "boolean" !== n && "number" !== n || this.setAttribute(t, e);
|
|
788
|
+
}
|
|
789
|
+
});
|
|
790
|
+
}), customElements.define(e || t.tagName || t.displayName || t.name, r), r;
|
|
791
|
+
}
|
|
792
|
+
function u(t) {
|
|
793
|
+
this.getChildContext = function() {
|
|
794
|
+
return t.context;
|
|
795
|
+
};
|
|
796
|
+
var e = t.children;
|
|
797
|
+
return K$1(e, s(t, a$1));
|
|
798
|
+
}
|
|
799
|
+
function d(o) {
|
|
800
|
+
var r = new CustomEvent("_preact", {
|
|
801
|
+
detail: {},
|
|
802
|
+
bubbles: !0,
|
|
803
|
+
cancelable: !0
|
|
804
|
+
});
|
|
805
|
+
this.dispatchEvent(r), this._vdom = _$1(u, i$1({}, this._props, { context: r.detail.context }), v(this, this._vdomComponent, o)), (this.hasAttribute("hydrate") ? J$1 : G$1)(this._vdom, this._root);
|
|
806
|
+
}
|
|
807
|
+
function p$1(t) {
|
|
808
|
+
return t.replace(/-(\w)/g, function(t, e) {
|
|
809
|
+
return e ? e.toUpperCase() : "";
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
function h(t, e, r) {
|
|
813
|
+
if (this._vdom) {
|
|
814
|
+
var i = {};
|
|
815
|
+
i[t] = r = null == r ? void 0 : r, i[p$1(t)] = r, this._vdom = K$1(this._vdom, i), G$1(this._vdom, this._root);
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
function f() {
|
|
819
|
+
G$1(this._vdom = null, this._root);
|
|
820
|
+
}
|
|
821
|
+
function m(e, n) {
|
|
822
|
+
var o = this, a = e.useFragment, c = s(e, l$1);
|
|
823
|
+
return _$1(a ? k$2 : "slot", i$1({}, c, { ref: function(t) {
|
|
824
|
+
t ? (o.ref = t, o._listener || (o._listener = function(t) {
|
|
825
|
+
t.stopPropagation(), t.detail.context = n;
|
|
826
|
+
}, t.addEventListener("_preact", o._listener))) : o.ref.removeEventListener("_preact", o._listener);
|
|
827
|
+
} }));
|
|
828
|
+
}
|
|
829
|
+
function v(e, n, o) {
|
|
830
|
+
if (3 === e.nodeType) return e.data;
|
|
831
|
+
if (1 !== e.nodeType) return null;
|
|
832
|
+
var r = [], i = {}, s = 0, a = e.attributes, l = e.childNodes;
|
|
833
|
+
for (s = a.length; s--;) "slot" !== a[s].name && (i[a[s].name] = a[s].value, i[p$1(a[s].name)] = a[s].value);
|
|
834
|
+
for (s = l.length; s--;) {
|
|
835
|
+
var c = v(l[s], null, o), u = l[s].slot;
|
|
836
|
+
u ? i[u] = _$1(m, { name: u }, c) : r[s] = c;
|
|
837
|
+
}
|
|
838
|
+
var d = !(!o || !o.shadow), h = n ? _$1(m, { useFragment: !d }, r) : r;
|
|
839
|
+
return !d && n && (e.innerHTML = ""), _$1(n || e.nodeName.toLowerCase(), i, h);
|
|
840
|
+
}
|
|
841
|
+
//#endregion
|
|
842
|
+
//#region ../../node_modules/.pnpm/preact-markup@2.1.1_preact@10.27.2/node_modules/preact-markup/dist/preact-markup.module.js
|
|
843
|
+
var e, o = {};
|
|
844
|
+
function n(r, t, e) {
|
|
845
|
+
if (3 === r.nodeType) {
|
|
846
|
+
var o = "textContent" in r ? r.textContent : r.nodeValue || "";
|
|
847
|
+
if (!1 !== n.options.trim) {
|
|
848
|
+
var a = 0 === t || t === e.length - 1;
|
|
849
|
+
if ((!(o = o.match(/^[\s\n]+$/g) && "all" !== n.options.trim ? " " : o.replace(/(^[\s\n]+|[\s\n]+$)/g, "all" === n.options.trim || a ? "" : " ")) || " " === o) && e.length > 1 && a) return null;
|
|
850
|
+
}
|
|
851
|
+
return o;
|
|
852
|
+
}
|
|
853
|
+
if (1 !== r.nodeType) return null;
|
|
854
|
+
var p = String(r.nodeName).toLowerCase();
|
|
855
|
+
if ("script" === p && !n.options.allowScripts) return null;
|
|
856
|
+
var l, s, u = n.h(p, function(r) {
|
|
857
|
+
var t = r && r.length;
|
|
858
|
+
if (!t) return null;
|
|
859
|
+
for (var e = {}, o = 0; o < t; o++) {
|
|
860
|
+
var a = r[o], i = a.name, p = a.value;
|
|
861
|
+
"on" === i.substring(0, 2) && n.options.allowEvents && (p = new Function(p)), e[i] = p;
|
|
862
|
+
}
|
|
863
|
+
return e;
|
|
864
|
+
}(r.attributes), (s = (l = r.childNodes) && Array.prototype.map.call(l, n).filter(i)) && s.length ? s : null);
|
|
865
|
+
return n.visitor && n.visitor(u), u;
|
|
866
|
+
}
|
|
867
|
+
var a, i = function(r) {
|
|
868
|
+
return r;
|
|
869
|
+
}, p = {};
|
|
870
|
+
function l(r) {
|
|
871
|
+
var t = (r.type || "").toLowerCase(), e = l.map;
|
|
872
|
+
e && e.hasOwnProperty(t) ? (r.type = e[t], r.props = Object.keys(r.props || {}).reduce(function(t, e) {
|
|
873
|
+
var o;
|
|
874
|
+
return t[o = e, o.replace(/-(.)/g, function(r, t) {
|
|
875
|
+
return t.toUpperCase();
|
|
876
|
+
})] = r.props[e], t;
|
|
877
|
+
}, {})) : r.type = t.replace(/[^a-z0-9-]/i, "");
|
|
878
|
+
}
|
|
879
|
+
var preact_markup_module_default = function(t) {
|
|
880
|
+
function i() {
|
|
881
|
+
t.apply(this, arguments);
|
|
882
|
+
}
|
|
883
|
+
return t && (i.__proto__ = t), (i.prototype = Object.create(t && t.prototype)).constructor = i, i.setReviver = function(r) {
|
|
884
|
+
a = r;
|
|
885
|
+
}, i.prototype.shouldComponentUpdate = function(r) {
|
|
886
|
+
var t = this.props;
|
|
887
|
+
return r.wrap !== t.wrap || r.type !== t.type || r.markup !== t.markup;
|
|
888
|
+
}, i.prototype.setComponents = function(r) {
|
|
889
|
+
if (this.map = {}, r) {
|
|
890
|
+
for (var t in r) if (r.hasOwnProperty(t)) {
|
|
891
|
+
var e = t.replace(/([A-Z]+)([A-Z][a-z0-9])|([a-z0-9]+)([A-Z])/g, "$1$3-$2$4").toLowerCase();
|
|
892
|
+
this.map[e] = r[t];
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
}, i.prototype.render = function(t) {
|
|
896
|
+
var i = t.wrap;
|
|
897
|
+
void 0 === i && (i = !0);
|
|
898
|
+
var s, u = t.type, c = t.markup, m = t.components, v = t.reviver, f = t.onError, d = t["allow-scripts"], h = t["allow-events"], y = t.trim, w = function(r, t) {
|
|
899
|
+
var e = {};
|
|
900
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && -1 === t.indexOf(o) && (e[o] = r[o]);
|
|
901
|
+
return e;
|
|
902
|
+
}(t, [
|
|
903
|
+
"wrap",
|
|
904
|
+
"type",
|
|
905
|
+
"markup",
|
|
906
|
+
"components",
|
|
907
|
+
"reviver",
|
|
908
|
+
"onError",
|
|
909
|
+
"allow-scripts",
|
|
910
|
+
"allow-events",
|
|
911
|
+
"trim"
|
|
912
|
+
]), C = v || this.reviver || this.constructor.prototype.reviver || a || _$1;
|
|
913
|
+
this.setComponents(m);
|
|
914
|
+
var g = {
|
|
915
|
+
allowScripts: d,
|
|
916
|
+
allowEvents: h,
|
|
917
|
+
trim: y
|
|
918
|
+
};
|
|
919
|
+
try {
|
|
920
|
+
s = function(r, t, a, i, s) {
|
|
921
|
+
var u = function(r, t) {
|
|
922
|
+
var o, n, a, i, p = "html" === t ? "text/html" : "application/xml";
|
|
923
|
+
"html" === t ? (i = "body", a = "<!DOCTYPE html>\n<html><body>" + r + "</body></html>") : (i = "xml", a = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<xml>" + r + "</xml>");
|
|
924
|
+
try {
|
|
925
|
+
o = new DOMParser().parseFromString(a, p);
|
|
926
|
+
} catch (r) {
|
|
927
|
+
n = r;
|
|
928
|
+
}
|
|
929
|
+
if (o || "html" !== t || ((o = e || (e = function() {
|
|
930
|
+
if (document.implementation && document.implementation.createHTMLDocument) return document.implementation.createHTMLDocument("");
|
|
931
|
+
var r = document.createElement("iframe");
|
|
932
|
+
return r.style.cssText = "position:absolute; left:0; top:-999em; width:1px; height:1px; overflow:hidden;", r.setAttribute("sandbox", "allow-forms"), document.body.appendChild(r), r.contentWindow.document;
|
|
933
|
+
}())).open(), o.write(a), o.close()), o) {
|
|
934
|
+
var l = o.getElementsByTagName(i)[0], s = l.firstChild;
|
|
935
|
+
return r && !s && (l.error = "Document parse failed."), s && "parsererror" === String(s.nodeName).toLowerCase() && (s.removeChild(s.firstChild), s.removeChild(s.lastChild), l.error = s.textContent || s.nodeValue || n || "Unknown error", l.removeChild(s)), l;
|
|
936
|
+
}
|
|
937
|
+
}(r, t);
|
|
938
|
+
if (u && u.error) throw new Error(u.error);
|
|
939
|
+
var c = u && u.body || u;
|
|
940
|
+
l.map = i || p;
|
|
941
|
+
var m = c && function(r, t, e, a) {
|
|
942
|
+
return n.visitor = t, n.h = e, n.options = a || o, n(r);
|
|
943
|
+
}(c, l, a, s);
|
|
944
|
+
return l.map = null, m && m.props && m.props.children || null;
|
|
945
|
+
}(c, u, C, this.map, g);
|
|
946
|
+
} catch (r) {
|
|
947
|
+
f ? f({ error: r }) : "undefined" != typeof console && console.error && console.error("preact-markup: " + r);
|
|
948
|
+
}
|
|
949
|
+
if (!1 === i) return s || null;
|
|
950
|
+
var x = w.hasOwnProperty("className") ? "className" : "class", b = w[x];
|
|
951
|
+
return b ? b.splice ? b.splice(0, 0, "markup") : "string" == typeof b ? w[x] += " markup" : "object" == typeof b && (b.markup = !0) : w[x] = "markup", C("div", w, s || null);
|
|
952
|
+
}, i;
|
|
953
|
+
}(x$2);
|
|
954
|
+
//#endregion
|
|
955
|
+
export { y as _, D as a, Q$1 as b, z as c, T$1 as d, _ as f, x$1 as g, q$1 as h, C as i, A$1 as l, g$1 as m, c as n, P as o, d$1 as p, $ as r, gn as s, preact_markup_module_default as t, F$1 as u, u$2 as v, k$2 as x, K$1 as y };
|