@incodetech/web 2.0.0-rc.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/package.json +3 -3
  2. package/dist/ae-signature/ae-signature.es.js +0 -15
  3. package/dist/ae-signature/styles.css +0 -348
  4. package/dist/ae-signature/styles2.css +0 -107
  5. package/dist/aligndevicelottie-DoV8xKjh.js +0 -12757
  6. package/dist/antifraud/antifraud.es.js +0 -18
  7. package/dist/antifraud/styles.css +0 -2
  8. package/dist/authentication/authentication.es.js +0 -29
  9. package/dist/autoFocusTitle-QexamZ4i.js +0 -16
  10. package/dist/back-horizontal-hint-B8Brxh3U.js +0 -137
  11. package/dist/back-tutorial-1NOQobGO.js +0 -14585
  12. package/dist/back-vertical-hint-BBo36dxn.js +0 -128
  13. package/dist/backdevicelottie-C_ceuqY7.js +0 -16678
  14. package/dist/base.css +0 -5818
  15. package/dist/blurdevicelottie-UO14Y0WC.js +0 -15939
  16. package/dist/bottomSheet-DE_8TFEC.js +0 -31
  17. package/dist/browser-ponyfill-jOkuz57z.js +0 -299
  18. package/dist/button-DcCUEn2n.js +0 -24
  19. package/dist/checkbox-Cl57ltq_.js +0 -85
  20. package/dist/consent/consent.es.js +0 -90
  21. package/dist/consent/styles.css +0 -116
  22. package/dist/countrySelector-CE-JgIsv.js +0 -58
  23. package/dist/cpf-ocr/styles.css +0 -45
  24. package/dist/cpfOcr-D_tbwbvh.js +0 -78
  25. package/dist/cross-document-data-match/cross-document-data-match.es.js +0 -18
  26. package/dist/curp-validation/curp-validation.es.js +0 -279
  27. package/dist/curp-validation/styles.css +0 -82
  28. package/dist/custom-fields/styles.css +0 -22
  29. package/dist/customFields-CW38fQUv.js +0 -127
  30. package/dist/customWatchlist-D9_yjEQd.js +0 -33
  31. package/dist/dateInputComposed-BpAGsjN6.js +0 -55
  32. package/dist/dateInputComposed-DU3o6PAV.js +0 -1
  33. package/dist/defineProperty-Dh8nSJpJ.js +0 -39
  34. package/dist/document-capture/styles.css +0 -367
  35. package/dist/documentCapture-xX-JT7ZY.js +0 -763
  36. package/dist/dropdownComposed-DFRBG22E.js +0 -284
  37. package/dist/dropdownComposed-DwTzc2YU.js +0 -1
  38. package/dist/dynamic-forms/styles.css +0 -36
  39. package/dist/dynamicForms-CJP1Ia6Q.js +0 -262
  40. package/dist/ekyb/ekyb.es.js +0 -2
  41. package/dist/ekyb/styles.css +0 -137
  42. package/dist/ekybModule-BSs7mndb.js +0 -280
  43. package/dist/ekybModule-D9M3E2Gm.js +0 -2
  44. package/dist/ekyc/ekyc.es.js +0 -2
  45. package/dist/ekyc/styles.css +0 -106
  46. package/dist/ekycModule-CU9pt5YN.js +0 -246
  47. package/dist/ekycModule-CZw9cLno.js +0 -2
  48. package/dist/electronic-signature/electronic-signature.es.js +0 -2
  49. package/dist/electronic-signature-COYXjGdd.js +0 -410
  50. package/dist/email/email.es.js +0 -87
  51. package/dist/email/styles.css +0 -12
  52. package/dist/emailInput-DppGf9pv.js +0 -37
  53. package/dist/expiredId-BnmzE8T3.js +0 -70
  54. package/dist/extensibility-CzEJfRwo.js +0 -2586
  55. package/dist/extensibility.es.js +0 -25
  56. package/dist/face-match/face-match.es.js +0 -2
  57. package/dist/face-match/styles.css +0 -910
  58. package/dist/faceMatch-B8j0g0Yo.js +0 -2
  59. package/dist/faceMatch-BV8UD7tj.js +0 -201
  60. package/dist/flip-animation-CgwRsEmK.js +0 -6983
  61. package/dist/flow/flow.es.js +0 -661
  62. package/dist/flow/styles.css +0 -5205
  63. package/dist/front-horizontal-hint-DGGGi8e1.js +0 -380
  64. package/dist/front-vertical-hint-CNr5mE6Q.js +0 -420
  65. package/dist/frontdevicelottie-Bu6f9fDE.js +0 -17302
  66. package/dist/geolocation/geolocation.es.js +0 -857
  67. package/dist/geolocation/styles.css +0 -158
  68. package/dist/glaredevicelottie-B10axYs_.js +0 -14466
  69. package/dist/governmentValidation/governmentValidation.es.js +0 -98
  70. package/dist/governmentValidation/styles.css +0 -58
  71. package/dist/homeScreen-DnP1jw9A.js +0 -227
  72. package/dist/hooks-BVnGysT7.js +0 -80
  73. package/dist/i18n-9s4OSqwi.js +0 -2010
  74. package/dist/icons-Cc7zwchP.js +0 -310
  75. package/dist/id/id.es.js +0 -832
  76. package/dist/id/styles.css +0 -1287
  77. package/dist/id-laser-h-mBAzHVOK.js +0 -467
  78. package/dist/id-laser-v-CrFg4bcJ.js +0 -483
  79. package/dist/id-ocr/styles.css +0 -46
  80. package/dist/id-tutorial-BCr42Pnn.js +0 -13153
  81. package/dist/id-verification/id-verification.es.js +0 -20
  82. package/dist/idOcr-CCjfWQvH.js +0 -94
  83. package/dist/identity-reuse/identity-reuse.es.js +0 -198
  84. package/dist/identity-reuse/styles.css +0 -163
  85. package/dist/incode-logo-DX016usY.js +0 -4
  86. package/dist/incodeComponent-C1o4M0ZK.js +0 -50
  87. package/dist/incodeModule-BqCjVgEI.js +0 -18
  88. package/dist/index.es.js +0 -16
  89. package/dist/inputComposed-APSw8C7o.js +0 -89
  90. package/dist/inputComposed-XYrarFxS.js +0 -1
  91. package/dist/loadingIcon-BN5YRQUb.js +0 -104
  92. package/dist/mandatoryConsent-DssKMC3v.js +0 -100
  93. package/dist/modal-NMxsQHAO.js +0 -135
  94. package/dist/modal.hooks-CAjcIFZK.js +0 -126
  95. package/dist/numberedStep-CT-alrK5.js +0 -11
  96. package/dist/optionAccessibleLabel-CzEeX3Q4.js +0 -140
  97. package/dist/otpInput-DqRA_egd.js +0 -145
  98. package/dist/page-C1yT4DLb.js +0 -69
  99. package/dist/passport-horizontal-hint-Bgquwtac.js +0 -293
  100. package/dist/passport-tutorial-DwRwtPVX.js +0 -11689
  101. package/dist/passport-vertical-hint-BT1D5BrW.js +0 -267
  102. package/dist/pdf-BurGZ08w.js +0 -14967
  103. package/dist/pdfViewer-BGBNL1Ea.js +0 -63
  104. package/dist/phone/phone.es.js +0 -98
  105. package/dist/phone/styles.css +0 -11
  106. package/dist/phoneInputComposed-bvWhGLFZ.js +0 -11206
  107. package/dist/processing-G_y3o32b.js +0 -6
  108. package/dist/qe-signature/qe-signature.es.js +0 -15
  109. package/dist/radioGroupComposed-BbmvxmD2.js +0 -177
  110. package/dist/redirect-to-mobile/styles.css +0 -588
  111. package/dist/redirectToMobile-C3k1gloW.js +0 -1514
  112. package/dist/requiredLabelHint-BLwgqozE.js +0 -13
  113. package/dist/richText-DbJ5sl2n.js +0 -1973
  114. package/dist/rolldown-runtime-CYMK-g2i.js +0 -20
  115. package/dist/selfie/selfie.es.js +0 -43
  116. package/dist/selfie/styles.css +0 -706
  117. package/dist/selfieTutorial-BgrlUMXP.js +0 -2677
  118. package/dist/signature/signature.es.js +0 -546
  119. package/dist/snackbar-BDp8x7Cv.js +0 -14
  120. package/dist/spinner-B4dcie2T.js +0 -1
  121. package/dist/spinner-CKnjVHxw.js +0 -39
  122. package/dist/statusPage-CUI7ApcU.js +0 -28
  123. package/dist/successIcon-DbILeIz_.js +0 -28
  124. package/dist/tabs-DaPyP71c.js +0 -78
  125. package/dist/themes/dark.css +0 -1347
  126. package/dist/themes/light.css +0 -1225
  127. package/dist/transitionSpinner-PIEPU2Vx.js +0 -17
  128. package/dist/tutorial-9vHAHvMK.js +0 -2587
  129. package/dist/types/ae-signature.d.ts +0 -40
  130. package/dist/types/antifraud.d.ts +0 -40
  131. package/dist/types/authentication.d.ts +0 -45
  132. package/dist/types/base.d.ts +0 -1
  133. package/dist/types/consent.d.ts +0 -41
  134. package/dist/types/cpf-ocr/styles.d.ts +0 -1
  135. package/dist/types/cross-document-data-match.d.ts +0 -34
  136. package/dist/types/curp-validation.d.ts +0 -40
  137. package/dist/types/custom-fields/styles.d.ts +0 -1
  138. package/dist/types/dark.d.ts +0 -1
  139. package/dist/types/document-capture/styles.d.ts +0 -1
  140. package/dist/types/dynamic-forms/styles.d.ts +0 -1
  141. package/dist/types/ekyb.d.ts +0 -34
  142. package/dist/types/ekyc.d.ts +0 -34
  143. package/dist/types/electronic-signature.d.ts +0 -43
  144. package/dist/types/email.d.ts +0 -67
  145. package/dist/types/extensibility.d.ts +0 -981
  146. package/dist/types/face-match.d.ts +0 -59
  147. package/dist/types/flow.d.ts +0 -137
  148. package/dist/types/geolocation.d.ts +0 -41
  149. package/dist/types/governmentValidation.d.ts +0 -34
  150. package/dist/types/id-ocr/styles.d.ts +0 -1
  151. package/dist/types/id-verification.d.ts +0 -40
  152. package/dist/types/id.d.ts +0 -41
  153. package/dist/types/identity-reuse.d.ts +0 -43
  154. package/dist/types/index.d.ts +0 -32
  155. package/dist/types/light.d.ts +0 -1
  156. package/dist/types/mandatory-consent/styles.d.ts +0 -1
  157. package/dist/types/phone.d.ts +0 -68
  158. package/dist/types/qe-signature.d.ts +0 -40
  159. package/dist/types/redirect-to-mobile/styles.d.ts +0 -1
  160. package/dist/types/selfie.d.ts +0 -41
  161. package/dist/types/signature.d.ts +0 -40
  162. package/dist/types/styles.d.ts +0 -1
  163. package/dist/types/themes/dark.d.ts +0 -1
  164. package/dist/types/themes/light.d.ts +0 -1
  165. package/dist/types/watchlist-for-business/styles.d.ts +0 -1
  166. package/dist/types/watchlist.d.ts +0 -40
  167. package/dist/types/workflow.d.ts +0 -91
  168. package/dist/typography-CxjaknHN.js +0 -28
  169. package/dist/uiConfig-CwpQ-IM6.js +0 -20
  170. package/dist/useModuleLoader-BFiVA41N.js +0 -432
  171. package/dist/vendor-preact-D6SntenC.js +0 -958
  172. package/dist/verificationResult-BrVbUJ4U.js +0 -97
  173. package/dist/verifiedByIncode-ChZBpqNy.js +0 -101
  174. package/dist/watchlist/watchlist.es.js +0 -33
  175. package/dist/watchlist-for-business/styles.css +0 -18
  176. package/dist/watchlistForBusiness-BcSNtHCV.js +0 -77
  177. package/dist/workflow/styles.css +0 -4612
  178. package/dist/workflow/workflow.es.js +0 -244
@@ -1,958 +0,0 @@
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 };