@mapsindoors/map-template 1.81.2 → 1.81.3

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 (50) hide show
  1. package/dist/{_commonjsHelpers-ba3f0406-95c03b59.mjs → _commonjsHelpers-ba3f0406-ba4ec5cf.mjs} +2 -2
  2. package/dist/{combo-box-item.entry-445b3200.mjs → combo-box-item.entry-21e58067.mjs} +2 -2
  3. package/dist/{icon-b8d01d6f-c43ca3cb.mjs → icon-b8d01d6f-6e0294c6.mjs} +2 -2
  4. package/dist/mapsindoors-react.es.js +1 -1
  5. package/dist/mapsindoors-react.umd.js +185 -185
  6. package/dist/mapsindoors-webcomponent.es.js +29471 -30209
  7. package/dist/mapsindoors-webcomponent.umd.js +181 -181
  8. package/dist/{mi-card_2.entry-ff6e5953.mjs → mi-card_2.entry-7be71a53.mjs} +2 -2
  9. package/dist/{mi-chip.entry-c20bb4dd.mjs → mi-chip.entry-11c462c2.mjs} +2 -2
  10. package/dist/{mi-column.entry-14cfda84.mjs → mi-column.entry-581dec8b.mjs} +2 -2
  11. package/dist/{mi-combo-box.entry-57294e57.mjs → mi-combo-box.entry-fa83a707.mjs} +4 -4
  12. package/dist/{mi-data-table.entry-3556fb85.mjs → mi-data-table.entry-ccc7be41.mjs} +3 -3
  13. package/dist/{mi-distance_2.entry-eb353fed.mjs → mi-distance_2.entry-614a8e17.mjs} +3 -3
  14. package/dist/{mi-dropdown-item.entry-dda1ee94.mjs → mi-dropdown-item.entry-b7388dcd.mjs} +2 -2
  15. package/dist/{mi-dropdown.entry-de9570bd.mjs → mi-dropdown.entry-7c783765.mjs} +4 -4
  16. package/dist/{mi-floor-selector.entry-c55be1d7.mjs → mi-floor-selector.entry-af2fac46.mjs} +2 -2
  17. package/dist/mi-keyboard.entry-a66c0ab4.mjs +3110 -0
  18. package/dist/{mi-list-item-category.entry-6bee048c.mjs → mi-list-item-category.entry-9eaeec00.mjs} +4 -4
  19. package/dist/{mi-list-item-location.entry-c848597a.mjs → mi-list-item-location.entry-678a17ba.mjs} +4 -4
  20. package/dist/{mi-list.entry-6343a75c.mjs → mi-list.entry-769097c2.mjs} +2 -2
  21. package/dist/{mi-location-booking.entry-6b5d0e78.mjs → mi-location-booking.entry-df2415f6.mjs} +3 -3
  22. package/dist/{mi-location-info.entry-b66884a2.mjs → mi-location-info.entry-f21c11b6.mjs} +2 -2
  23. package/dist/{mi-map-googlemaps.entry-9e674057.mjs → mi-map-googlemaps.entry-ff40930f.mjs} +117 -49
  24. package/dist/{mi-map-mapbox.entry-a8277eb4.mjs → mi-map-mapbox.entry-7b45e3a3.mjs} +3 -3
  25. package/dist/{mi-metric-card.entry-7d309487.mjs → mi-metric-card.entry-f662d88b.mjs} +3 -3
  26. package/dist/mi-my-position.entry-ac239dec.mjs +479 -0
  27. package/dist/{mi-notification.entry-52cad4fd.mjs → mi-notification.entry-1a2d6055.mjs} +2 -2
  28. package/dist/{mi-route-instructions-heading.entry-692351a5.mjs → mi-route-instructions-heading.entry-9cc9ebe8.mjs} +4 -4
  29. package/dist/{mi-route-instructions-maneuver-legacy.entry-931d89b4.mjs → mi-route-instructions-maneuver-legacy.entry-b0d53248.mjs} +3 -3
  30. package/dist/{mi-route-instructions-maneuver.entry-c38d805b.mjs → mi-route-instructions-maneuver.entry-e4a7d458.mjs} +3 -3
  31. package/dist/{mi-route-instructions-step-legacy.entry-2e40b6e7.mjs → mi-route-instructions-step-legacy.entry-f230233f.mjs} +4 -4
  32. package/dist/{mi-route-instructions-step.entry-759f59a5.mjs → mi-route-instructions-step.entry-fe65364b.mjs} +4 -4
  33. package/dist/{mi-route-instructions.entry-449f0b3a.mjs → mi-route-instructions.entry-5c929ec9.mjs} +5 -5
  34. package/dist/{mi-scroll-buttons.entry-8a8172a9.mjs → mi-scroll-buttons.entry-d25f0822.mjs} +2 -2
  35. package/dist/{mi-search.entry-4f539114.mjs → mi-search.entry-a7368cea.mjs} +3 -3
  36. package/dist/{mi-share-sms.entry-bee099a6.mjs → mi-share-sms.entry-2aa3e81f.mjs} +2 -2
  37. package/dist/{mi-step-switcher.entry-f52c62ee.mjs → mi-step-switcher.entry-280b94d4.mjs} +2 -2
  38. package/dist/{mi-tab-panel.entry-5e370fb8.mjs → mi-tab-panel.entry-9cb96ad3.mjs} +2 -2
  39. package/dist/{mi-tab.entry-58f47852.mjs → mi-tab.entry-c98dc785.mjs} +2 -2
  40. package/dist/{mi-tabs.entry-2a4b30f8.mjs → mi-tabs.entry-06bf631f.mjs} +2 -2
  41. package/dist/{mi-time.entry-2192b169.mjs → mi-time.entry-2b7ab65a.mjs} +2 -2
  42. package/dist/{mi-variables-9a6c8d4d-dbe586a3.mjs → mi-variables-9a6c8d4d-40975d08.mjs} +2 -2
  43. package/dist/{reactcomponent-1b2c162a.mjs → reactcomponent-bfec8ca7.mjs} +2624 -2556
  44. package/dist/{route-travel-mode.enum-7f4ce9c7-4dda8522.mjs → route-travel-mode.enum-7f4ce9c7-c9549fb4.mjs} +2 -2
  45. package/dist/{sort-order.enum-64ce8998-e743eaa6.mjs → sort-order.enum-64ce8998-6a55f831.mjs} +3 -3
  46. package/dist/{unit-system.enum-eaefb53e-64558032.mjs → unit-system.enum-eaefb53e-218e5846.mjs} +2 -2
  47. package/dist/{utils-ae714467-df2b83e4.mjs → utils-ae714467-fd1172f0.mjs} +2 -2
  48. package/package.json +1 -1
  49. package/dist/mi-keyboard.entry-2af4a4b3.mjs +0 -3057
  50. package/dist/mi-my-position.entry-8487d3b1.mjs +0 -1406
@@ -0,0 +1,3110 @@
1
+ import { r as se, h as ue } from "./reactcomponent-bfec8ca7.mjs";
2
+ import { c as ce, a as le, g as fe } from "./_commonjsHelpers-ba3f0406-ba4ec5cf.mjs";
3
+ import "react";
4
+ import "react-dom";
5
+ (function() {
6
+ try {
7
+ var X = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, dt = new X.Error().stack;
8
+ dt && (X._sentryDebugIds = X._sentryDebugIds || {}, X._sentryDebugIds[dt] = "9c4f1e41-0f73-4e49-bce9-ce6801aba446", X._sentryDebugIdIdentifier = "sentry-dbid-9c4f1e41-0f73-4e49-bce9-ce6801aba446");
9
+ } catch {
10
+ }
11
+ })();
12
+ var de = ce(function(X, dt) {
13
+ /*!
14
+ *
15
+ * simple-keyboard v3.8.58
16
+ * https://github.com/hodgef/simple-keyboard
17
+ *
18
+ * Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
19
+ *
20
+ * This source code is licensed under the MIT license found in the
21
+ * LICENSE file in the root directory of this source tree.
22
+ *
23
+ */
24
+ (function(Mt, vt) {
25
+ X.exports = vt();
26
+ })(le, function() {
27
+ return function() {
28
+ var Mt = { 34: function(i, s, t) {
29
+ var e = t(4901);
30
+ i.exports = function(r) {
31
+ return typeof r == "object" ? r !== null : e(r);
32
+ };
33
+ }, 81: function(i, s, t) {
34
+ var e = t(9565), r = t(9306), n = t(8551), o = t(6823), a = t(851), c = TypeError;
35
+ i.exports = function(u, l) {
36
+ var d = arguments.length < 2 ? a(u) : l;
37
+ if (r(d))
38
+ return n(e(d, u));
39
+ throw new c(o(u) + " is not iterable");
40
+ };
41
+ }, 235: function(i, s, t) {
42
+ var e = t(9213).forEach, r = t(4598)("forEach");
43
+ i.exports = r ? [].forEach : function(n) {
44
+ return e(this, n, arguments.length > 1 ? arguments[1] : void 0);
45
+ };
46
+ }, 283: function(i, s, t) {
47
+ var e = t(9504), r = t(9039), n = t(4901), o = t(9297), a = t(3724), c = t(350).CONFIGURABLE, u = t(3706), l = t(1181), d = l.enforce, g = l.get, f = String, h = Object.defineProperty, p = e("".slice), v = e("".replace), y = e([].join), m = a && !r(function() {
48
+ return h(function() {
49
+ }, "length", { value: 8 }).length !== 8;
50
+ }), b = String(String).split("String"), E = i.exports = function(x, k, w) {
51
+ p(f(k), 0, 7) === "Symbol(" && (k = "[" + v(f(k), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), w && w.getter && (k = "get " + k), w && w.setter && (k = "set " + k), (!o(x, "name") || c && x.name !== k) && (a ? h(x, "name", { value: k, configurable: !0 }) : x.name = k), m && w && o(w, "arity") && x.length !== w.arity && h(x, "length", { value: w.arity });
52
+ try {
53
+ w && o(w, "constructor") && w.constructor ? a && h(x, "prototype", { writable: !1 }) : x.prototype && (x.prototype = void 0);
54
+ } catch {
55
+ }
56
+ var O = d(x);
57
+ return o(O, "source") || (O.source = y(b, typeof k == "string" ? k : "")), x;
58
+ };
59
+ Function.prototype.toString = E(function() {
60
+ return n(this) && g(this).source || u(this);
61
+ }, "toString");
62
+ }, 298: function(i, s, t) {
63
+ var e = t(2195), r = t(5397), n = t(8480).f, o = t(7680), a = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
64
+ i.exports.f = function(c) {
65
+ return a && e(c) === "Window" ? function(u) {
66
+ try {
67
+ return n(u);
68
+ } catch {
69
+ return o(a);
70
+ }
71
+ }(c) : n(r(c));
72
+ };
73
+ }, 350: function(i, s, t) {
74
+ var e = t(3724), r = t(9297), n = Function.prototype, o = e && Object.getOwnPropertyDescriptor, a = r(n, "name"), c = a && function() {
75
+ }.name === "something", u = a && (!e || e && o(n, "name").configurable);
76
+ i.exports = { EXISTS: a, PROPER: c, CONFIGURABLE: u };
77
+ }, 397: function(i, s, t) {
78
+ var e = t(7751);
79
+ i.exports = e("document", "documentElement");
80
+ }, 421: function(i) {
81
+ i.exports = {};
82
+ }, 511: function(i, s, t) {
83
+ var e = t(9167), r = t(9297), n = t(1951), o = t(4913).f;
84
+ i.exports = function(a) {
85
+ var c = e.Symbol || (e.Symbol = {});
86
+ r(c, a) || o(c, a, { value: n.f(a) });
87
+ };
88
+ }, 566: function(i, s, t) {
89
+ var e = t(9504), r = t(9306), n = t(34), o = t(9297), a = t(7680), c = t(616), u = Function, l = e([].concat), d = e([].join), g = {};
90
+ i.exports = c ? u.bind : function(f) {
91
+ var h = r(this), p = h.prototype, v = a(arguments, 1), y = function() {
92
+ var m = l(v, a(arguments));
93
+ return this instanceof y ? function(b, E, x) {
94
+ if (!o(g, E)) {
95
+ for (var k = [], w = 0; w < E; w++)
96
+ k[w] = "a[" + w + "]";
97
+ g[E] = u("C,a", "return new C(" + d(k, ",") + ")");
98
+ }
99
+ return g[E](b, x);
100
+ }(h, m.length, m) : h.apply(f, m);
101
+ };
102
+ return n(p) && (y.prototype = p), y;
103
+ };
104
+ }, 597: function(i, s, t) {
105
+ var e = t(9039), r = t(8227), n = t(9519), o = r("species");
106
+ i.exports = function(a) {
107
+ return n >= 51 || !e(function() {
108
+ var c = [];
109
+ return (c.constructor = {})[o] = function() {
110
+ return { foo: 1 };
111
+ }, c[a](Boolean).foo !== 1;
112
+ });
113
+ };
114
+ }, 616: function(i, s, t) {
115
+ var e = t(9039);
116
+ i.exports = !e(function() {
117
+ var r = function() {
118
+ }.bind();
119
+ return typeof r != "function" || r.hasOwnProperty("prototype");
120
+ });
121
+ }, 655: function(i, s, t) {
122
+ var e = t(6955), r = String;
123
+ i.exports = function(n) {
124
+ if (e(n) === "Symbol")
125
+ throw new TypeError("Cannot convert a Symbol value to a string");
126
+ return r(n);
127
+ };
128
+ }, 687: function(i, s, t) {
129
+ var e = t(4913).f, r = t(9297), n = t(8227)("toStringTag");
130
+ i.exports = function(o, a, c) {
131
+ o && !c && (o = o.prototype), o && !r(o, n) && e(o, n, { configurable: !0, value: a });
132
+ };
133
+ }, 706: function(i, s, t) {
134
+ var e = t(350).PROPER, r = t(9039), n = t(7452);
135
+ i.exports = function(o) {
136
+ return r(function() {
137
+ return !!n[o]() || "​…᠎"[o]() !== "​…᠎" || e && n[o].name !== o;
138
+ });
139
+ };
140
+ }, 739: function(i, s, t) {
141
+ var e = t(6518), r = t(9039), n = t(8981), o = t(2777);
142
+ e({ target: "Date", proto: !0, arity: 1, forced: r(function() {
143
+ return (/* @__PURE__ */ new Date(NaN)).toJSON() !== null || Date.prototype.toJSON.call({ toISOString: function() {
144
+ return 1;
145
+ } }) !== 1;
146
+ }) }, { toJSON: function(a) {
147
+ var c = n(this), u = o(c, "number");
148
+ return typeof u != "number" || isFinite(u) ? c.toISOString() : null;
149
+ } });
150
+ }, 741: function(i) {
151
+ var s = Math.ceil, t = Math.floor;
152
+ i.exports = Math.trunc || function(e) {
153
+ var r = +e;
154
+ return (r > 0 ? t : s)(r);
155
+ };
156
+ }, 744: function(i, s, t) {
157
+ var e = t(9565), r = t(9504), n = t(9228), o = t(8551), a = t(34), c = t(7750), u = t(2293), l = t(7829), d = t(8014), g = t(655), f = t(5966), h = t(6682), p = t(8429), v = t(9039), y = p.UNSUPPORTED_Y, m = Math.min, b = r([].push), E = r("".slice), x = !v(function() {
158
+ var w = /(?:)/, O = w.exec;
159
+ w.exec = function() {
160
+ return O.apply(this, arguments);
161
+ };
162
+ var C = "ab".split(w);
163
+ return C.length !== 2 || C[0] !== "a" || C[1] !== "b";
164
+ }), k = "abbc".split(/(b)*/)[1] === "c" || "test".split(/(?:)/, -1).length !== 4 || "ab".split(/(?:ab)*/).length !== 2 || ".".split(/(.?)(.?)/).length !== 4 || ".".split(/()()/).length > 1 || "".split(/.?/).length;
165
+ n("split", function(w, O, C) {
166
+ var S = "0".split(void 0, 0).length ? function(I, j) {
167
+ return I === void 0 && j === 0 ? [] : e(O, this, I, j);
168
+ } : O;
169
+ return [function(I, j) {
170
+ var P = c(this), D = a(I) ? f(I, w) : void 0;
171
+ return D ? e(D, I, P, j) : e(S, g(P), I, j);
172
+ }, function(I, j) {
173
+ var P = o(this), D = g(I);
174
+ if (!k) {
175
+ var z = C(S, P, D, j, S !== O);
176
+ if (z.done)
177
+ return z.value;
178
+ }
179
+ var K = u(P, RegExp), A = P.unicode, H = (P.ignoreCase ? "i" : "") + (P.multiline ? "m" : "") + (P.unicode ? "u" : "") + (y ? "g" : "y"), R = new K(y ? "^(?:" + P.source + ")" : P, H), U = j === void 0 ? 4294967295 : j >>> 0;
180
+ if (U === 0)
181
+ return [];
182
+ if (D.length === 0)
183
+ return h(R, D) === null ? [D] : [];
184
+ for (var B = 0, _ = 0, T = []; _ < D.length; ) {
185
+ R.lastIndex = y ? 0 : _;
186
+ var M, N = h(R, y ? E(D, _) : D);
187
+ if (N === null || (M = m(d(R.lastIndex + (y ? _ : 0)), D.length)) === B)
188
+ _ = l(D, _, A);
189
+ else {
190
+ if (b(T, E(D, B, _)), T.length === U)
191
+ return T;
192
+ for (var q = 1; q <= N.length - 1; q++)
193
+ if (b(T, N[q]), T.length === U)
194
+ return T;
195
+ _ = B = M;
196
+ }
197
+ }
198
+ return b(T, E(D, B)), T;
199
+ }];
200
+ }, k || !x, y);
201
+ }, 757: function(i, s, t) {
202
+ var e = t(7751), r = t(4901), n = t(1625), o = t(7040), a = Object;
203
+ i.exports = o ? function(c) {
204
+ return typeof c == "symbol";
205
+ } : function(c) {
206
+ var u = e("Symbol");
207
+ return r(u) && n(u.prototype, a(c));
208
+ };
209
+ }, 788: function(i, s, t) {
210
+ var e = t(34), r = t(2195), n = t(8227)("match");
211
+ i.exports = function(o) {
212
+ var a;
213
+ return e(o) && ((a = o[n]) !== void 0 ? !!a : r(o) === "RegExp");
214
+ };
215
+ }, 825: function(i, s, t) {
216
+ var e = t(6518), r = t(7751), n = t(8745), o = t(566), a = t(5548), c = t(8551), u = t(34), l = t(2360), d = t(9039), g = r("Reflect", "construct"), f = Object.prototype, h = [].push, p = d(function() {
217
+ function m() {
218
+ }
219
+ return !(g(function() {
220
+ }, [], m) instanceof m);
221
+ }), v = !d(function() {
222
+ g(function() {
223
+ });
224
+ }), y = p || v;
225
+ e({ target: "Reflect", stat: !0, forced: y, sham: y }, { construct: function(m, b) {
226
+ a(m), c(b);
227
+ var E = arguments.length < 3 ? m : a(arguments[2]);
228
+ if (v && !p)
229
+ return g(m, b, E);
230
+ if (m === E) {
231
+ switch (b.length) {
232
+ case 0:
233
+ return new m();
234
+ case 1:
235
+ return new m(b[0]);
236
+ case 2:
237
+ return new m(b[0], b[1]);
238
+ case 3:
239
+ return new m(b[0], b[1], b[2]);
240
+ case 4:
241
+ return new m(b[0], b[1], b[2], b[3]);
242
+ }
243
+ var x = [null];
244
+ return n(h, x, b), new (n(o, m, x))();
245
+ }
246
+ var k = E.prototype, w = l(u(k) ? k : f), O = n(m, w, b);
247
+ return u(O) ? O : w;
248
+ } });
249
+ }, 851: function(i, s, t) {
250
+ var e = t(6955), r = t(5966), n = t(4117), o = t(6269), a = t(8227)("iterator");
251
+ i.exports = function(c) {
252
+ if (!n(c))
253
+ return r(c, a) || r(c, "@@iterator") || o[e(c)];
254
+ };
255
+ }, 926: function(i, s, t) {
256
+ var e = t(9306), r = t(8981), n = t(7055), o = t(6198), a = TypeError, c = "Reduce of empty array with no initial value", u = function(l) {
257
+ return function(d, g, f, h) {
258
+ var p = r(d), v = n(p), y = o(p);
259
+ if (e(g), y === 0 && f < 2)
260
+ throw new a(c);
261
+ var m = l ? y - 1 : 0, b = l ? -1 : 1;
262
+ if (f < 2)
263
+ for (; ; ) {
264
+ if (m in v) {
265
+ h = v[m], m += b;
266
+ break;
267
+ }
268
+ if (m += b, l ? m < 0 : y <= m)
269
+ throw new a(c);
270
+ }
271
+ for (; l ? m >= 0 : y > m; m += b)
272
+ m in v && (h = g(h, v[m], m, p));
273
+ return h;
274
+ };
275
+ };
276
+ i.exports = { left: u(!1), right: u(!0) };
277
+ }, 1034: function(i, s, t) {
278
+ var e = t(9565), r = t(9297), n = t(1625), o = t(7979), a = RegExp.prototype;
279
+ i.exports = function(c) {
280
+ var u = c.flags;
281
+ return u !== void 0 || "flags" in a || r(c, "flags") || !n(a, c) ? u : e(o, c);
282
+ };
283
+ }, 1056: function(i, s, t) {
284
+ var e = t(4913).f;
285
+ i.exports = function(r, n, o) {
286
+ o in r || e(r, o, { configurable: !0, get: function() {
287
+ return n[o];
288
+ }, set: function(a) {
289
+ n[o] = a;
290
+ } });
291
+ };
292
+ }, 1072: function(i, s, t) {
293
+ var e = t(1828), r = t(8727);
294
+ i.exports = Object.keys || function(n) {
295
+ return e(n, r);
296
+ };
297
+ }, 1088: function(i, s, t) {
298
+ var e = t(6518), r = t(9565), n = t(6395), o = t(350), a = t(4901), c = t(3994), u = t(2787), l = t(2967), d = t(687), g = t(6699), f = t(6840), h = t(8227), p = t(6269), v = t(7657), y = o.PROPER, m = o.CONFIGURABLE, b = v.IteratorPrototype, E = v.BUGGY_SAFARI_ITERATORS, x = h("iterator"), k = "keys", w = "values", O = "entries", C = function() {
299
+ return this;
300
+ };
301
+ i.exports = function(S, I, j, P, D, z, K) {
302
+ c(j, I, P);
303
+ var A, H, R, U = function(tt) {
304
+ if (tt === D && N)
305
+ return N;
306
+ if (!E && tt && tt in T)
307
+ return T[tt];
308
+ switch (tt) {
309
+ case k:
310
+ case w:
311
+ case O:
312
+ return function() {
313
+ return new j(this, tt);
314
+ };
315
+ }
316
+ return function() {
317
+ return new j(this);
318
+ };
319
+ }, B = I + " Iterator", _ = !1, T = S.prototype, M = T[x] || T["@@iterator"] || D && T[D], N = !E && M || U(D), q = I === "Array" && T.entries || M;
320
+ if (q && (A = u(q.call(new S()))) !== Object.prototype && A.next && (n || u(A) === b || (l ? l(A, b) : a(A[x]) || f(A, x, C)), d(A, B, !0, !0), n && (p[B] = C)), y && D === w && M && M.name !== w && (!n && m ? g(T, "name", w) : (_ = !0, N = function() {
321
+ return r(M, this);
322
+ })), D)
323
+ if (H = { values: U(w), keys: z ? N : U(k), entries: U(O) }, K)
324
+ for (R in H)
325
+ (E || _ || !(R in T)) && f(T, R, H[R]);
326
+ else
327
+ e({ target: I, proto: !0, forced: E || _ }, H);
328
+ return n && !K || T[x] === N || f(T, x, N, { name: D }), p[I] = N, H;
329
+ };
330
+ }, 1181: function(i, s, t) {
331
+ var e, r, n, o = t(8622), a = t(4576), c = t(34), u = t(6699), l = t(9297), d = t(7629), g = t(6119), f = t(421), h = "Object already initialized", p = a.TypeError, v = a.WeakMap;
332
+ if (o || d.state) {
333
+ var y = d.state || (d.state = new v());
334
+ y.get = y.get, y.has = y.has, y.set = y.set, e = function(b, E) {
335
+ if (y.has(b))
336
+ throw new p(h);
337
+ return E.facade = b, y.set(b, E), E;
338
+ }, r = function(b) {
339
+ return y.get(b) || {};
340
+ }, n = function(b) {
341
+ return y.has(b);
342
+ };
343
+ } else {
344
+ var m = g("state");
345
+ f[m] = !0, e = function(b, E) {
346
+ if (l(b, m))
347
+ throw new p(h);
348
+ return E.facade = b, u(b, m, E), E;
349
+ }, r = function(b) {
350
+ return l(b, m) ? b[m] : {};
351
+ }, n = function(b) {
352
+ return l(b, m);
353
+ };
354
+ }
355
+ i.exports = { set: e, get: r, has: n, enforce: function(b) {
356
+ return n(b) ? r(b) : e(b, {});
357
+ }, getterFor: function(b) {
358
+ return function(E) {
359
+ var x;
360
+ if (!c(E) || (x = r(E)).type !== b)
361
+ throw new p("Incompatible receiver, " + b + " required");
362
+ return x;
363
+ };
364
+ } };
365
+ }, 1240: function(i, s, t) {
366
+ var e = t(9504);
367
+ i.exports = e(1 .valueOf);
368
+ }, 1278: function(i, s, t) {
369
+ var e = t(6518), r = t(3724), n = t(5031), o = t(5397), a = t(7347), c = t(4659);
370
+ e({ target: "Object", stat: !0, sham: !r }, { getOwnPropertyDescriptors: function(u) {
371
+ for (var l, d, g = o(u), f = a.f, h = n(g), p = {}, v = 0; h.length > v; )
372
+ (d = f(g, l = h[v++])) !== void 0 && c(p, l, d);
373
+ return p;
374
+ } });
375
+ }, 1291: function(i, s, t) {
376
+ var e = t(741);
377
+ i.exports = function(r) {
378
+ var n = +r;
379
+ return n != n || n === 0 ? 0 : e(n);
380
+ };
381
+ }, 1296: function(i, s, t) {
382
+ var e = t(4495);
383
+ i.exports = e && !!Symbol.for && !!Symbol.keyFor;
384
+ }, 1436: function(i, s, t) {
385
+ var e = t(8227)("match");
386
+ i.exports = function(r) {
387
+ var n = /./;
388
+ try {
389
+ "/./"[r](n);
390
+ } catch {
391
+ try {
392
+ return n[e] = !1, "/./"[r](n);
393
+ } catch {
394
+ }
395
+ }
396
+ return !1;
397
+ };
398
+ }, 1469: function(i, s, t) {
399
+ var e = t(7433);
400
+ i.exports = function(r, n) {
401
+ return new (e(r))(n === 0 ? 0 : n);
402
+ };
403
+ }, 1480: function(i, s, t) {
404
+ var e = t(6518), r = t(9039), n = t(298).f;
405
+ e({ target: "Object", stat: !0, forced: r(function() {
406
+ return !Object.getOwnPropertyNames(1);
407
+ }) }, { getOwnPropertyNames: n });
408
+ }, 1510: function(i, s, t) {
409
+ var e = t(6518), r = t(7751), n = t(9297), o = t(655), a = t(5745), c = t(1296), u = a("string-to-symbol-registry"), l = a("symbol-to-string-registry");
410
+ e({ target: "Symbol", stat: !0, forced: !c }, { for: function(d) {
411
+ var g = o(d);
412
+ if (n(u, g))
413
+ return u[g];
414
+ var f = r("Symbol")(g);
415
+ return u[g] = f, l[f] = g, f;
416
+ } });
417
+ }, 1625: function(i, s, t) {
418
+ var e = t(9504);
419
+ i.exports = e({}.isPrototypeOf);
420
+ }, 1699: function(i, s, t) {
421
+ var e = t(6518), r = t(9504), n = t(5749), o = t(7750), a = t(655), c = t(1436), u = r("".indexOf);
422
+ e({ target: "String", proto: !0, forced: !c("includes") }, { includes: function(l) {
423
+ return !!~u(a(o(this)), a(n(l)), arguments.length > 1 ? arguments[1] : void 0);
424
+ } });
425
+ }, 1761: function(i, s, t) {
426
+ var e = t(9565), r = t(9228), n = t(8551), o = t(34), a = t(8014), c = t(655), u = t(7750), l = t(5966), d = t(7829), g = t(6682);
427
+ r("match", function(f, h, p) {
428
+ return [function(v) {
429
+ var y = u(this), m = o(v) ? l(v, f) : void 0;
430
+ return m ? e(m, v, y) : new RegExp(v)[f](c(y));
431
+ }, function(v) {
432
+ var y = n(this), m = c(v), b = p(h, y, m);
433
+ if (b.done)
434
+ return b.value;
435
+ if (!y.global)
436
+ return g(y, m);
437
+ var E = y.unicode;
438
+ y.lastIndex = 0;
439
+ for (var x, k = [], w = 0; (x = g(y, m)) !== null; ) {
440
+ var O = c(x[0]);
441
+ k[w] = O, O === "" && (y.lastIndex = d(m, a(y.lastIndex), E)), w++;
442
+ }
443
+ return w === 0 ? null : k;
444
+ }];
445
+ });
446
+ }, 1828: function(i, s, t) {
447
+ var e = t(9504), r = t(9297), n = t(5397), o = t(9617).indexOf, a = t(421), c = e([].push);
448
+ i.exports = function(u, l) {
449
+ var d, g = n(u), f = 0, h = [];
450
+ for (d in g)
451
+ !r(a, d) && r(g, d) && c(h, d);
452
+ for (; l.length > f; )
453
+ r(g, d = l[f++]) && (~o(h, d) || c(h, d));
454
+ return h;
455
+ };
456
+ }, 1951: function(i, s, t) {
457
+ var e = t(8227);
458
+ s.f = e;
459
+ }, 2008: function(i, s, t) {
460
+ var e = t(6518), r = t(9213).filter;
461
+ e({ target: "Array", proto: !0, forced: !t(597)("filter") }, { filter: function(n) {
462
+ return r(this, n, arguments.length > 1 ? arguments[1] : void 0);
463
+ } });
464
+ }, 2010: function(i, s, t) {
465
+ var e = t(3724), r = t(350).EXISTS, n = t(9504), o = t(2106), a = Function.prototype, c = n(a.toString), u = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/, l = n(u.exec);
466
+ e && !r && o(a, "name", { configurable: !0, get: function() {
467
+ try {
468
+ return l(u, c(this))[1];
469
+ } catch {
470
+ return "";
471
+ }
472
+ } });
473
+ }, 2062: function(i, s, t) {
474
+ var e = t(6518), r = t(9213).map;
475
+ e({ target: "Array", proto: !0, forced: !t(597)("map") }, { map: function(n) {
476
+ return r(this, n, arguments.length > 1 ? arguments[1] : void 0);
477
+ } });
478
+ }, 2087: function(i, s, t) {
479
+ var e = t(34), r = Math.floor;
480
+ i.exports = Number.isInteger || function(n) {
481
+ return !e(n) && isFinite(n) && r(n) === n;
482
+ };
483
+ }, 2106: function(i, s, t) {
484
+ var e = t(283), r = t(4913);
485
+ i.exports = function(n, o, a) {
486
+ return a.get && e(a.get, o, { getter: !0 }), a.set && e(a.set, o, { setter: !0 }), r.f(n, o, a);
487
+ };
488
+ }, 2140: function(i, s, t) {
489
+ var e = {};
490
+ e[t(8227)("toStringTag")] = "z", i.exports = String(e) === "[object z]";
491
+ }, 2195: function(i, s, t) {
492
+ var e = t(9504), r = e({}.toString), n = e("".slice);
493
+ i.exports = function(o) {
494
+ return n(r(o), 8, -1);
495
+ };
496
+ }, 2211: function(i, s, t) {
497
+ var e = t(9039);
498
+ i.exports = !e(function() {
499
+ function r() {
500
+ }
501
+ return r.prototype.constructor = null, Object.getPrototypeOf(new r()) !== r.prototype;
502
+ });
503
+ }, 2259: function(i, s, t) {
504
+ t(511)("iterator");
505
+ }, 2293: function(i, s, t) {
506
+ var e = t(8551), r = t(5548), n = t(4117), o = t(8227)("species");
507
+ i.exports = function(a, c) {
508
+ var u, l = e(a).constructor;
509
+ return l === void 0 || n(u = e(l)[o]) ? c : r(u);
510
+ };
511
+ }, 2360: function(i, s, t) {
512
+ var e, r = t(8551), n = t(6801), o = t(8727), a = t(421), c = t(397), u = t(4055), l = t(6119), d = "prototype", g = "script", f = l("IE_PROTO"), h = function() {
513
+ }, p = function(m) {
514
+ return "<" + g + ">" + m + "</" + g + ">";
515
+ }, v = function(m) {
516
+ m.write(p("")), m.close();
517
+ var b = m.parentWindow.Object;
518
+ return m = null, b;
519
+ }, y = function() {
520
+ try {
521
+ e = new ActiveXObject("htmlfile");
522
+ } catch {
523
+ }
524
+ var m, b, E;
525
+ y = typeof document < "u" ? document.domain && e ? v(e) : (b = u("iframe"), E = "java" + g + ":", b.style.display = "none", c.appendChild(b), b.src = String(E), (m = b.contentWindow.document).open(), m.write(p("document.F=Object")), m.close(), m.F) : v(e);
526
+ for (var x = o.length; x--; )
527
+ delete y[d][o[x]];
528
+ return y();
529
+ };
530
+ a[f] = !0, i.exports = Object.create || function(m, b) {
531
+ var E;
532
+ return m !== null ? (h[d] = r(m), E = new h(), h[d] = null, E[f] = m) : E = y(), b === void 0 ? E : n.f(E, b);
533
+ };
534
+ }, 2478: function(i, s, t) {
535
+ var e = t(9504), r = t(8981), n = Math.floor, o = e("".charAt), a = e("".replace), c = e("".slice), u = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, l = /\$([$&'`]|\d{1,2})/g;
536
+ i.exports = function(d, g, f, h, p, v) {
537
+ var y = f + d.length, m = h.length, b = l;
538
+ return p !== void 0 && (p = r(p), b = u), a(v, b, function(E, x) {
539
+ var k;
540
+ switch (o(x, 0)) {
541
+ case "$":
542
+ return "$";
543
+ case "&":
544
+ return d;
545
+ case "`":
546
+ return c(g, 0, f);
547
+ case "'":
548
+ return c(g, y);
549
+ case "<":
550
+ k = p[c(x, 1, -1)];
551
+ break;
552
+ default:
553
+ var w = +x;
554
+ if (w === 0)
555
+ return E;
556
+ if (w > m) {
557
+ var O = n(w / 10);
558
+ return O === 0 ? E : O <= m ? h[O - 1] === void 0 ? o(x, 1) : h[O - 1] + o(x, 1) : E;
559
+ }
560
+ k = h[w - 1];
561
+ }
562
+ return k === void 0 ? "" : k;
563
+ });
564
+ };
565
+ }, 2529: function(i) {
566
+ i.exports = function(s, t) {
567
+ return { value: s, done: t };
568
+ };
569
+ }, 2551: function(i, s, t) {
570
+ var e = t(6395), r = t(4576), n = t(9039), o = t(3607);
571
+ i.exports = e || !n(function() {
572
+ if (!(o && o < 535)) {
573
+ var a = Math.random();
574
+ __defineSetter__.call(null, a, function() {
575
+ }), delete r[a];
576
+ }
577
+ });
578
+ }, 2637: function(i, s, t) {
579
+ t(6518)({ target: "Number", stat: !0 }, { isInteger: t(2087) });
580
+ }, 2675: function(i, s, t) {
581
+ t(6761), t(1510), t(7812), t(3110), t(9773);
582
+ }, 2712: function(i, s, t) {
583
+ var e = t(6518), r = t(926).left, n = t(4598), o = t(9519);
584
+ e({ target: "Array", proto: !0, forced: !t(6193) && o > 79 && o < 83 || !n("reduce") }, { reduce: function(a) {
585
+ var c = arguments.length;
586
+ return r(this, a, c, c > 1 ? arguments[1] : void 0);
587
+ } });
588
+ }, 2762: function(i, s, t) {
589
+ var e = t(6518), r = t(3802).trim;
590
+ e({ target: "String", proto: !0, forced: t(706)("trim") }, { trim: function() {
591
+ return r(this);
592
+ } });
593
+ }, 2777: function(i, s, t) {
594
+ var e = t(9565), r = t(34), n = t(757), o = t(5966), a = t(4270), c = t(8227), u = TypeError, l = c("toPrimitive");
595
+ i.exports = function(d, g) {
596
+ if (!r(d) || n(d))
597
+ return d;
598
+ var f, h = o(d, l);
599
+ if (h) {
600
+ if (g === void 0 && (g = "default"), f = e(h, d, g), !r(f) || n(f))
601
+ return f;
602
+ throw new u("Can't convert object to primitive value");
603
+ }
604
+ return g === void 0 && (g = "number"), a(d, g);
605
+ };
606
+ }, 2787: function(i, s, t) {
607
+ var e = t(9297), r = t(4901), n = t(8981), o = t(6119), a = t(2211), c = o("IE_PROTO"), u = Object, l = u.prototype;
608
+ i.exports = a ? u.getPrototypeOf : function(d) {
609
+ var g = n(d);
610
+ if (e(g, c))
611
+ return g[c];
612
+ var f = g.constructor;
613
+ return r(f) && g instanceof f ? f.prototype : g instanceof u ? l : null;
614
+ };
615
+ }, 2796: function(i, s, t) {
616
+ var e = t(9039), r = t(4901), n = /#|\.prototype\./, o = function(d, g) {
617
+ var f = c[a(d)];
618
+ return f === l || f !== u && (r(g) ? e(g) : !!g);
619
+ }, a = o.normalize = function(d) {
620
+ return String(d).replace(n, ".").toLowerCase();
621
+ }, c = o.data = {}, u = o.NATIVE = "N", l = o.POLYFILL = "P";
622
+ i.exports = o;
623
+ }, 2839: function(i, s, t) {
624
+ var e = t(4576).navigator, r = e && e.userAgent;
625
+ i.exports = r ? String(r) : "";
626
+ }, 2892: function(i, s, t) {
627
+ var e = t(6518), r = t(6395), n = t(3724), o = t(4576), a = t(9167), c = t(9504), u = t(2796), l = t(9297), d = t(3167), g = t(1625), f = t(757), h = t(2777), p = t(9039), v = t(8480).f, y = t(7347).f, m = t(4913).f, b = t(1240), E = t(3802).trim, x = "Number", k = o[x], w = a[x], O = k.prototype, C = o.TypeError, S = c("".slice), I = c("".charCodeAt), j = function(K) {
628
+ var A, H, R, U, B, _, T, M, N = h(K, "number");
629
+ if (f(N))
630
+ throw new C("Cannot convert a Symbol value to a number");
631
+ if (typeof N == "string" && N.length > 2) {
632
+ if (N = E(N), (A = I(N, 0)) === 43 || A === 45) {
633
+ if ((H = I(N, 2)) === 88 || H === 120)
634
+ return NaN;
635
+ } else if (A === 48) {
636
+ switch (I(N, 1)) {
637
+ case 66:
638
+ case 98:
639
+ R = 2, U = 49;
640
+ break;
641
+ case 79:
642
+ case 111:
643
+ R = 8, U = 55;
644
+ break;
645
+ default:
646
+ return +N;
647
+ }
648
+ for (_ = (B = S(N, 2)).length, T = 0; T < _; T++)
649
+ if ((M = I(B, T)) < 48 || M > U)
650
+ return NaN;
651
+ return parseInt(B, R);
652
+ }
653
+ }
654
+ return +N;
655
+ }, P = u(x, !k(" 0o1") || !k("0b1") || k("+0x1")), D = function(K) {
656
+ var A, H = arguments.length < 1 ? 0 : k(function(R) {
657
+ var U = h(R, "number");
658
+ return typeof U == "bigint" ? U : j(U);
659
+ }(K));
660
+ return g(O, A = this) && p(function() {
661
+ b(A);
662
+ }) ? d(Object(H), this, D) : H;
663
+ };
664
+ D.prototype = O, P && !r && (O.constructor = D), e({ global: !0, constructor: !0, wrap: !0, forced: P }, { Number: D });
665
+ var z = function(K, A) {
666
+ for (var H, R = n ? v(A) : "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","), U = 0; R.length > U; U++)
667
+ l(A, H = R[U]) && !l(K, H) && m(K, H, y(A, H));
668
+ };
669
+ r && w && z(a[x], w), (P || r) && z(a[x], k);
670
+ }, 2953: function(i, s, t) {
671
+ var e = t(4576), r = t(7400), n = t(9296), o = t(3792), a = t(6699), c = t(687), u = t(8227)("iterator"), l = o.values, d = function(f, h) {
672
+ if (f) {
673
+ if (f[u] !== l)
674
+ try {
675
+ a(f, u, l);
676
+ } catch {
677
+ f[u] = l;
678
+ }
679
+ if (c(f, h, !0), r[h]) {
680
+ for (var p in o)
681
+ if (f[p] !== o[p])
682
+ try {
683
+ a(f, p, o[p]);
684
+ } catch {
685
+ f[p] = o[p];
686
+ }
687
+ }
688
+ }
689
+ };
690
+ for (var g in r)
691
+ d(e[g] && e[g].prototype, g);
692
+ d(n, "DOMTokenList");
693
+ }, 2967: function(i, s, t) {
694
+ var e = t(6706), r = t(34), n = t(7750), o = t(3506);
695
+ i.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() {
696
+ var a, c = !1, u = {};
697
+ try {
698
+ (a = e(Object.prototype, "__proto__", "set"))(u, []), c = u instanceof Array;
699
+ } catch {
700
+ }
701
+ return function(l, d) {
702
+ return n(l), o(d), r(l) && (c ? a(l, d) : l.__proto__ = d), l;
703
+ };
704
+ }() : void 0);
705
+ }, 3110: function(i, s, t) {
706
+ var e = t(6518), r = t(7751), n = t(8745), o = t(9565), a = t(9504), c = t(9039), u = t(4901), l = t(757), d = t(7680), g = t(6933), f = t(4495), h = String, p = r("JSON", "stringify"), v = a(/./.exec), y = a("".charAt), m = a("".charCodeAt), b = a("".replace), E = a(1 .toString), x = /[\uD800-\uDFFF]/g, k = /^[\uD800-\uDBFF]$/, w = /^[\uDC00-\uDFFF]$/, O = !f || c(function() {
707
+ var j = r("Symbol")("stringify detection");
708
+ return p([j]) !== "[null]" || p({ a: j }) !== "{}" || p(Object(j)) !== "{}";
709
+ }), C = c(function() {
710
+ return p("\uDF06\uD834") !== '"\\udf06\\ud834"' || p("\uDEAD") !== '"\\udead"';
711
+ }), S = function(j, P) {
712
+ var D = d(arguments), z = g(P);
713
+ if (u(z) || j !== void 0 && !l(j))
714
+ return D[1] = function(K, A) {
715
+ if (u(z) && (A = o(z, this, h(K), A)), !l(A))
716
+ return A;
717
+ }, n(p, null, D);
718
+ }, I = function(j, P, D) {
719
+ var z = y(D, P - 1), K = y(D, P + 1);
720
+ return v(k, j) && !v(w, K) || v(w, j) && !v(k, z) ? "\\u" + E(m(j, 0), 16) : j;
721
+ };
722
+ p && e({ target: "JSON", stat: !0, arity: 3, forced: O || C }, { stringify: function(j, P, D) {
723
+ var z = d(arguments), K = n(O ? S : p, null, z);
724
+ return C && typeof K == "string" ? b(K, x, I) : K;
725
+ } });
726
+ }, 3167: function(i, s, t) {
727
+ var e = t(4901), r = t(34), n = t(2967);
728
+ i.exports = function(o, a, c) {
729
+ var u, l;
730
+ return n && e(u = a.constructor) && u !== c && r(l = u.prototype) && l !== c.prototype && n(o, l), o;
731
+ };
732
+ }, 3179: function(i, s, t) {
733
+ var e = t(2140), r = t(6955);
734
+ i.exports = e ? {}.toString : function() {
735
+ return "[object " + r(this) + "]";
736
+ };
737
+ }, 3392: function(i, s, t) {
738
+ var e = t(9504), r = 0, n = Math.random(), o = e(1 .toString);
739
+ i.exports = function(a) {
740
+ return "Symbol(" + (a === void 0 ? "" : a) + ")_" + o(++r + n, 36);
741
+ };
742
+ }, 3418: function(i, s, t) {
743
+ var e = t(6518), r = t(7916);
744
+ e({ target: "Array", stat: !0, forced: !t(4428)(function(n) {
745
+ Array.from(n);
746
+ }) }, { from: r });
747
+ }, 3500: function(i, s, t) {
748
+ var e = t(4576), r = t(7400), n = t(9296), o = t(235), a = t(6699), c = function(l) {
749
+ if (l && l.forEach !== o)
750
+ try {
751
+ a(l, "forEach", o);
752
+ } catch {
753
+ l.forEach = o;
754
+ }
755
+ };
756
+ for (var u in r)
757
+ r[u] && c(e[u] && e[u].prototype);
758
+ c(n);
759
+ }, 3506: function(i, s, t) {
760
+ var e = t(3925), r = String, n = TypeError;
761
+ i.exports = function(o) {
762
+ if (e(o))
763
+ return o;
764
+ throw new n("Can't set " + r(o) + " as a prototype");
765
+ };
766
+ }, 3517: function(i, s, t) {
767
+ var e = t(9504), r = t(9039), n = t(4901), o = t(6955), a = t(7751), c = t(3706), u = function() {
768
+ }, l = a("Reflect", "construct"), d = /^\s*(?:class|function)\b/, g = e(d.exec), f = !d.test(u), h = function(v) {
769
+ if (!n(v))
770
+ return !1;
771
+ try {
772
+ return l(u, [], v), !0;
773
+ } catch {
774
+ return !1;
775
+ }
776
+ }, p = function(v) {
777
+ if (!n(v))
778
+ return !1;
779
+ switch (o(v)) {
780
+ case "AsyncFunction":
781
+ case "GeneratorFunction":
782
+ case "AsyncGeneratorFunction":
783
+ return !1;
784
+ }
785
+ try {
786
+ return f || !!g(d, c(v));
787
+ } catch {
788
+ return !0;
789
+ }
790
+ };
791
+ p.sham = !0, i.exports = !l || r(function() {
792
+ var v;
793
+ return h(h.call) || !h(Object) || !h(function() {
794
+ v = !0;
795
+ }) || v;
796
+ }) ? p : h;
797
+ }, 3607: function(i, s, t) {
798
+ var e = t(2839).match(/AppleWebKit\/(\d+)\./);
799
+ i.exports = !!e && +e[1];
800
+ }, 3635: function(i, s, t) {
801
+ var e = t(9039), r = t(4576).RegExp;
802
+ i.exports = e(function() {
803
+ var n = r(".", "s");
804
+ return !(n.dotAll && n.test(`
805
+ `) && n.flags === "s");
806
+ });
807
+ }, 3640: function(i, s, t) {
808
+ var e = t(8551), r = t(4270), n = TypeError;
809
+ i.exports = function(o) {
810
+ if (e(this), o === "string" || o === "default")
811
+ o = "string";
812
+ else if (o !== "number")
813
+ throw new n("Incorrect hint");
814
+ return r(this, o);
815
+ };
816
+ }, 3706: function(i, s, t) {
817
+ var e = t(9504), r = t(4901), n = t(7629), o = e(Function.toString);
818
+ r(n.inspectSource) || (n.inspectSource = function(a) {
819
+ return o(a);
820
+ }), i.exports = n.inspectSource;
821
+ }, 3709: function(i, s, t) {
822
+ var e = t(2839).match(/firefox\/(\d+)/i);
823
+ i.exports = !!e && +e[1];
824
+ }, 3717: function(i, s) {
825
+ s.f = Object.getOwnPropertySymbols;
826
+ }, 3724: function(i, s, t) {
827
+ var e = t(9039);
828
+ i.exports = !e(function() {
829
+ return Object.defineProperty({}, 1, { get: function() {
830
+ return 7;
831
+ } })[1] !== 7;
832
+ });
833
+ }, 3763: function(i, s, t) {
834
+ var e = t(2839);
835
+ i.exports = /MSIE|Trident/.test(e);
836
+ }, 3792: function(i, s, t) {
837
+ var e = t(5397), r = t(6469), n = t(6269), o = t(1181), a = t(4913).f, c = t(1088), u = t(2529), l = t(6395), d = t(3724), g = "Array Iterator", f = o.set, h = o.getterFor(g);
838
+ i.exports = c(Array, "Array", function(v, y) {
839
+ f(this, { type: g, target: e(v), index: 0, kind: y });
840
+ }, function() {
841
+ var v = h(this), y = v.target, m = v.index++;
842
+ if (!y || m >= y.length)
843
+ return v.target = null, u(void 0, !0);
844
+ switch (v.kind) {
845
+ case "keys":
846
+ return u(m, !1);
847
+ case "values":
848
+ return u(y[m], !1);
849
+ }
850
+ return u([m, y[m]], !1);
851
+ }, "values");
852
+ var p = n.Arguments = n.Array;
853
+ if (r("keys"), r("values"), r("entries"), !l && d && p.name !== "values")
854
+ try {
855
+ a(p, "name", { value: "values" });
856
+ } catch {
857
+ }
858
+ }, 3802: function(i, s, t) {
859
+ var e = t(9504), r = t(7750), n = t(655), o = t(7452), a = e("".replace), c = RegExp("^[" + o + "]+"), u = RegExp("(^|[^" + o + "])[" + o + "]+$"), l = function(d) {
860
+ return function(g) {
861
+ var f = n(r(g));
862
+ return 1 & d && (f = a(f, c, "")), 2 & d && (f = a(f, u, "$1")), f;
863
+ };
864
+ };
865
+ i.exports = { start: l(1), end: l(2), trim: l(3) };
866
+ }, 3851: function(i, s, t) {
867
+ var e = t(6518), r = t(9039), n = t(5397), o = t(7347).f, a = t(3724);
868
+ e({ target: "Object", stat: !0, forced: !a || r(function() {
869
+ o(1);
870
+ }), sham: !a }, { getOwnPropertyDescriptor: function(c, u) {
871
+ return o(n(c), u);
872
+ } });
873
+ }, 3925: function(i, s, t) {
874
+ var e = t(34);
875
+ i.exports = function(r) {
876
+ return e(r) || r === null;
877
+ };
878
+ }, 3994: function(i, s, t) {
879
+ var e = t(7657).IteratorPrototype, r = t(2360), n = t(6980), o = t(687), a = t(6269), c = function() {
880
+ return this;
881
+ };
882
+ i.exports = function(u, l, d, g) {
883
+ var f = l + " Iterator";
884
+ return u.prototype = r(e, { next: n(+!g, d) }), o(u, f, !1, !0), a[f] = c, u;
885
+ };
886
+ }, 4055: function(i, s, t) {
887
+ var e = t(4576), r = t(34), n = e.document, o = r(n) && r(n.createElement);
888
+ i.exports = function(a) {
889
+ return o ? n.createElement(a) : {};
890
+ };
891
+ }, 4117: function(i) {
892
+ i.exports = function(s) {
893
+ return s == null;
894
+ };
895
+ }, 4209: function(i, s, t) {
896
+ var e = t(8227), r = t(6269), n = e("iterator"), o = Array.prototype;
897
+ i.exports = function(a) {
898
+ return a !== void 0 && (r.Array === a || o[n] === a);
899
+ };
900
+ }, 4213: function(i, s, t) {
901
+ var e = t(3724), r = t(9504), n = t(9565), o = t(9039), a = t(1072), c = t(3717), u = t(8773), l = t(8981), d = t(7055), g = Object.assign, f = Object.defineProperty, h = r([].concat);
902
+ i.exports = !g || o(function() {
903
+ if (e && g({ b: 1 }, g(f({}, "a", { enumerable: !0, get: function() {
904
+ f(this, "b", { value: 3, enumerable: !1 });
905
+ } }), { b: 2 })).b !== 1)
906
+ return !0;
907
+ var p = {}, v = {}, y = Symbol("assign detection"), m = "abcdefghijklmnopqrst";
908
+ return p[y] = 7, m.split("").forEach(function(b) {
909
+ v[b] = b;
910
+ }), g({}, p)[y] !== 7 || a(g({}, v)).join("") !== m;
911
+ }) ? function(p, v) {
912
+ for (var y = l(p), m = arguments.length, b = 1, E = c.f, x = u.f; m > b; )
913
+ for (var k, w = d(arguments[b++]), O = E ? h(a(w), E(w)) : a(w), C = O.length, S = 0; C > S; )
914
+ k = O[S++], e && !n(x, w, k) || (y[k] = w[k]);
915
+ return y;
916
+ } : g;
917
+ }, 4215: function(i, s, t) {
918
+ var e = t(4576), r = t(2839), n = t(2195), o = function(a) {
919
+ return r.slice(0, a.length) === a;
920
+ };
921
+ i.exports = o("Bun/") ? "BUN" : o("Cloudflare-Workers") ? "CLOUDFLARE" : o("Deno/") ? "DENO" : o("Node.js/") ? "NODE" : e.Bun && typeof Bun.version == "string" ? "BUN" : e.Deno && typeof Deno.version == "object" ? "DENO" : n(e.process) === "process" ? "NODE" : e.window && e.document ? "BROWSER" : "REST";
922
+ }, 4270: function(i, s, t) {
923
+ var e = t(9565), r = t(4901), n = t(34), o = TypeError;
924
+ i.exports = function(a, c) {
925
+ var u, l;
926
+ if (c === "string" && r(u = a.toString) && !n(l = e(u, a)) || r(u = a.valueOf) && !n(l = e(u, a)) || c !== "string" && r(u = a.toString) && !n(l = e(u, a)))
927
+ return l;
928
+ throw new o("Can't convert object to primitive value");
929
+ };
930
+ }, 4376: function(i, s, t) {
931
+ var e = t(2195);
932
+ i.exports = Array.isArray || function(r) {
933
+ return e(r) === "Array";
934
+ };
935
+ }, 4423: function(i, s, t) {
936
+ var e = t(6518), r = t(9617).includes, n = t(9039), o = t(6469);
937
+ e({ target: "Array", proto: !0, forced: n(function() {
938
+ return !Array(1).includes();
939
+ }) }, { includes: function(a) {
940
+ return r(this, a, arguments.length > 1 ? arguments[1] : void 0);
941
+ } }), o("includes");
942
+ }, 4428: function(i, s, t) {
943
+ var e = t(8227)("iterator"), r = !1;
944
+ try {
945
+ var n = 0, o = { next: function() {
946
+ return { done: !!n++ };
947
+ }, return: function() {
948
+ r = !0;
949
+ } };
950
+ o[e] = function() {
951
+ return this;
952
+ }, Array.from(o, function() {
953
+ throw 2;
954
+ });
955
+ } catch {
956
+ }
957
+ i.exports = function(a, c) {
958
+ try {
959
+ if (!c && !r)
960
+ return !1;
961
+ } catch {
962
+ return !1;
963
+ }
964
+ var u = !1;
965
+ try {
966
+ var l = {};
967
+ l[e] = function() {
968
+ return { next: function() {
969
+ return { done: u = !0 };
970
+ } };
971
+ }, a(l);
972
+ } catch {
973
+ }
974
+ return u;
975
+ };
976
+ }, 4488: function(i, s, t) {
977
+ var e = t(7680), r = Math.floor, n = function(o, a) {
978
+ var c = o.length;
979
+ if (c < 8)
980
+ for (var u, l, d = 1; d < c; ) {
981
+ for (l = d, u = o[d]; l && a(o[l - 1], u) > 0; )
982
+ o[l] = o[--l];
983
+ l !== d++ && (o[l] = u);
984
+ }
985
+ else
986
+ for (var g = r(c / 2), f = n(e(o, 0, g), a), h = n(e(o, g), a), p = f.length, v = h.length, y = 0, m = 0; y < p || m < v; )
987
+ o[y + m] = y < p && m < v ? a(f[y], h[m]) <= 0 ? f[y++] : h[m++] : y < p ? f[y++] : h[m++];
988
+ return o;
989
+ };
990
+ i.exports = n;
991
+ }, 4495: function(i, s, t) {
992
+ var e = t(9519), r = t(9039), n = t(4576).String;
993
+ i.exports = !!Object.getOwnPropertySymbols && !r(function() {
994
+ var o = Symbol("symbol detection");
995
+ return !n(o) || !(Object(o) instanceof Symbol) || !Symbol.sham && e && e < 41;
996
+ });
997
+ }, 4527: function(i, s, t) {
998
+ var e = t(3724), r = t(4376), n = TypeError, o = Object.getOwnPropertyDescriptor, a = e && !function() {
999
+ if (this !== void 0)
1000
+ return !0;
1001
+ try {
1002
+ Object.defineProperty([], "length", { writable: !1 }).length = 1;
1003
+ } catch (c) {
1004
+ return c instanceof TypeError;
1005
+ }
1006
+ }();
1007
+ i.exports = a ? function(c, u) {
1008
+ if (r(c) && !o(c, "length").writable)
1009
+ throw new n("Cannot set read only .length");
1010
+ return c.length = u;
1011
+ } : function(c, u) {
1012
+ return c.length = u;
1013
+ };
1014
+ }, 4554: function(i, s, t) {
1015
+ var e = t(6518), r = t(8981), n = t(5610), o = t(1291), a = t(6198), c = t(4527), u = t(6837), l = t(1469), d = t(4659), g = t(4606), f = t(597)("splice"), h = Math.max, p = Math.min;
1016
+ e({ target: "Array", proto: !0, forced: !f }, { splice: function(v, y) {
1017
+ var m, b, E, x, k, w, O = r(this), C = a(O), S = n(v, C), I = arguments.length;
1018
+ for (I === 0 ? m = b = 0 : I === 1 ? (m = 0, b = C - S) : (m = I - 2, b = p(h(o(y), 0), C - S)), u(C + m - b), E = l(O, b), x = 0; x < b; x++)
1019
+ (k = S + x) in O && d(E, x, O[k]);
1020
+ if (E.length = b, m < b) {
1021
+ for (x = S; x < C - b; x++)
1022
+ w = x + m, (k = x + b) in O ? O[w] = O[k] : g(O, w);
1023
+ for (x = C; x > C - b + m; x--)
1024
+ g(O, x - 1);
1025
+ } else if (m > b)
1026
+ for (x = C - b; x > S; x--)
1027
+ w = x + m - 1, (k = x + b - 1) in O ? O[w] = O[k] : g(O, w);
1028
+ for (x = 0; x < m; x++)
1029
+ O[x + S] = arguments[x + 2];
1030
+ return c(O, C - b + m), E;
1031
+ } });
1032
+ }, 4576: function(i, s, t) {
1033
+ var e = function(r) {
1034
+ return r && r.Math === Math && r;
1035
+ };
1036
+ i.exports = e(typeof globalThis == "object" && globalThis) || e(typeof window == "object" && window) || e(typeof self == "object" && self) || e(typeof t.g == "object" && t.g) || e(typeof this == "object" && this) || function() {
1037
+ return this;
1038
+ }() || Function("return this")();
1039
+ }, 4598: function(i, s, t) {
1040
+ var e = t(9039);
1041
+ i.exports = function(r, n) {
1042
+ var o = [][r];
1043
+ return !!o && e(function() {
1044
+ o.call(null, n || function() {
1045
+ return 1;
1046
+ }, 1);
1047
+ });
1048
+ };
1049
+ }, 4606: function(i, s, t) {
1050
+ var e = t(6823), r = TypeError;
1051
+ i.exports = function(n, o) {
1052
+ if (!delete n[o])
1053
+ throw new r("Cannot delete property " + e(o) + " of " + e(n));
1054
+ };
1055
+ }, 4659: function(i, s, t) {
1056
+ var e = t(3724), r = t(4913), n = t(6980);
1057
+ i.exports = function(o, a, c) {
1058
+ e ? r.f(o, a, n(0, c)) : o[a] = c;
1059
+ };
1060
+ }, 4782: function(i, s, t) {
1061
+ var e = t(6518), r = t(4376), n = t(3517), o = t(34), a = t(5610), c = t(6198), u = t(5397), l = t(4659), d = t(8227), g = t(597), f = t(7680), h = g("slice"), p = d("species"), v = Array, y = Math.max;
1062
+ e({ target: "Array", proto: !0, forced: !h }, { slice: function(m, b) {
1063
+ var E, x, k, w = u(this), O = c(w), C = a(m, O), S = a(b === void 0 ? O : b, O);
1064
+ if (r(w) && (E = w.constructor, (n(E) && (E === v || r(E.prototype)) || o(E) && (E = E[p]) === null) && (E = void 0), E === v || E === void 0))
1065
+ return f(w, C, S);
1066
+ for (x = new (E === void 0 ? v : E)(y(S - C, 0)), k = 0; C < S; C++, k++)
1067
+ C in w && l(x, k, w[C]);
1068
+ return x.length = k, x;
1069
+ } });
1070
+ }, 4864: function(i, s, t) {
1071
+ var e = t(3724), r = t(4576), n = t(9504), o = t(2796), a = t(3167), c = t(6699), u = t(2360), l = t(8480).f, d = t(1625), g = t(788), f = t(655), h = t(1034), p = t(8429), v = t(1056), y = t(6840), m = t(9039), b = t(9297), E = t(1181).enforce, x = t(7633), k = t(8227), w = t(3635), O = t(8814), C = k("match"), S = r.RegExp, I = S.prototype, j = r.SyntaxError, P = n(I.exec), D = n("".charAt), z = n("".replace), K = n("".indexOf), A = n("".slice), H = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/, R = /a/g, U = /a/g, B = new S(R) !== R, _ = p.MISSED_STICKY, T = p.UNSUPPORTED_Y, M = e && (!B || _ || w || O || m(function() {
1072
+ return U[C] = !1, S(R) !== R || S(U) === U || String(S(R, "i")) !== "/a/i";
1073
+ }));
1074
+ if (o("RegExp", M)) {
1075
+ for (var N = function(W, V) {
1076
+ var ot, at, lt, pt, st, ut, it = d(I, this), Pt = g(W), jt = V === void 0, mt = [], rt = W;
1077
+ if (!it && Pt && jt && W.constructor === N)
1078
+ return W;
1079
+ if ((Pt || d(I, W)) && (W = W.source, jt && (V = h(rt))), W = W === void 0 ? "" : f(W), V = V === void 0 ? "" : f(V), rt = W, w && "dotAll" in R && (at = !!V && K(V, "s") > -1) && (V = z(V, /s/g, "")), ot = V, _ && "sticky" in R && (lt = !!V && K(V, "y") > -1) && T && (V = z(V, /y/g, "")), O && (pt = function(et) {
1080
+ for (var Q, bt = et.length, nt = 0, ct = "", ft = [], xt = u(null), wt = !1, gt = !1, At = 0, ht = ""; nt <= bt; nt++) {
1081
+ if ((Q = D(et, nt)) === "\\")
1082
+ Q += D(et, ++nt);
1083
+ else if (Q === "]")
1084
+ wt = !1;
1085
+ else if (!wt)
1086
+ switch (!0) {
1087
+ case Q === "[":
1088
+ wt = !0;
1089
+ break;
1090
+ case Q === "(":
1091
+ if (ct += Q, A(et, nt + 1, nt + 3) === "?:")
1092
+ continue;
1093
+ P(H, A(et, nt + 1)) && (nt += 2, gt = !0), At++;
1094
+ continue;
1095
+ case (Q === ">" && gt):
1096
+ if (ht === "" || b(xt, ht))
1097
+ throw new j("Invalid capture group name");
1098
+ xt[ht] = !0, ft[ft.length] = [ht, At], gt = !1, ht = "";
1099
+ continue;
1100
+ }
1101
+ gt ? ht += Q : ct += Q;
1102
+ }
1103
+ return [ct, ft];
1104
+ }(W), W = pt[0], mt = pt[1]), st = a(S(W, V), it ? this : I, N), (at || lt || mt.length) && (ut = E(st), at && (ut.dotAll = !0, ut.raw = N(function(et) {
1105
+ for (var Q, bt = et.length, nt = 0, ct = "", ft = !1; nt <= bt; nt++)
1106
+ (Q = D(et, nt)) !== "\\" ? ft || Q !== "." ? (Q === "[" ? ft = !0 : Q === "]" && (ft = !1), ct += Q) : ct += "[\\s\\S]" : ct += Q + D(et, ++nt);
1107
+ return ct;
1108
+ }(W), ot)), lt && (ut.sticky = !0), mt.length && (ut.groups = mt)), W !== rt)
1109
+ try {
1110
+ c(st, "source", rt === "" ? "(?:)" : rt);
1111
+ } catch {
1112
+ }
1113
+ return st;
1114
+ }, q = l(S), tt = 0; q.length > tt; )
1115
+ v(N, S, q[tt++]);
1116
+ I.constructor = N, N.prototype = I, y(r, "RegExp", N, { constructor: !0 });
1117
+ }
1118
+ x("RegExp");
1119
+ }, 4901: function(i) {
1120
+ var s = typeof document == "object" && document.all;
1121
+ i.exports = s === void 0 && s !== void 0 ? function(t) {
1122
+ return typeof t == "function" || t === s;
1123
+ } : function(t) {
1124
+ return typeof t == "function";
1125
+ };
1126
+ }, 4913: function(i, s, t) {
1127
+ var e = t(3724), r = t(5917), n = t(8686), o = t(8551), a = t(6969), c = TypeError, u = Object.defineProperty, l = Object.getOwnPropertyDescriptor, d = "enumerable", g = "configurable", f = "writable";
1128
+ s.f = e ? n ? function(h, p, v) {
1129
+ if (o(h), p = a(p), o(v), typeof h == "function" && p === "prototype" && "value" in v && f in v && !v[f]) {
1130
+ var y = l(h, p);
1131
+ y && y[f] && (h[p] = v.value, v = { configurable: g in v ? v[g] : y[g], enumerable: d in v ? v[d] : y[d], writable: !1 });
1132
+ }
1133
+ return u(h, p, v);
1134
+ } : u : function(h, p, v) {
1135
+ if (o(h), p = a(p), o(v), r)
1136
+ try {
1137
+ return u(h, p, v);
1138
+ } catch {
1139
+ }
1140
+ if ("get" in v || "set" in v)
1141
+ throw new c("Accessors not supported");
1142
+ return "value" in v && (h[p] = v.value), h;
1143
+ };
1144
+ }, 5031: function(i, s, t) {
1145
+ var e = t(7751), r = t(9504), n = t(8480), o = t(3717), a = t(8551), c = r([].concat);
1146
+ i.exports = e("Reflect", "ownKeys") || function(u) {
1147
+ var l = n.f(a(u)), d = o.f;
1148
+ return d ? c(l, d(u)) : l;
1149
+ };
1150
+ }, 5276: function(i, s, t) {
1151
+ var e = t(6518), r = t(7476), n = t(9617).indexOf, o = t(4598), a = r([].indexOf), c = !!a && 1 / a([1], 1, -0) < 0;
1152
+ e({ target: "Array", proto: !0, forced: c || !o("indexOf") }, { indexOf: function(u) {
1153
+ var l = arguments.length > 1 ? arguments[1] : void 0;
1154
+ return c ? a(this, u, l) || 0 : n(this, u, l);
1155
+ } });
1156
+ }, 5397: function(i, s, t) {
1157
+ var e = t(7055), r = t(7750);
1158
+ i.exports = function(n) {
1159
+ return e(r(n));
1160
+ };
1161
+ }, 5440: function(i, s, t) {
1162
+ var e = t(8745), r = t(9565), n = t(9504), o = t(9228), a = t(9039), c = t(8551), u = t(4901), l = t(34), d = t(1291), g = t(8014), f = t(655), h = t(7750), p = t(7829), v = t(5966), y = t(2478), m = t(6682), b = t(8227)("replace"), E = Math.max, x = Math.min, k = n([].concat), w = n([].push), O = n("".indexOf), C = n("".slice), S = "a".replace(/./, "$0") === "$0", I = !!/./[b] && /./[b]("a", "$0") === "";
1163
+ o("replace", function(j, P, D) {
1164
+ var z = I ? "$" : "$0";
1165
+ return [function(K, A) {
1166
+ var H = h(this), R = l(K) ? v(K, b) : void 0;
1167
+ return R ? r(R, K, H, A) : r(P, f(H), K, A);
1168
+ }, function(K, A) {
1169
+ var H = c(this), R = f(K);
1170
+ if (typeof A == "string" && O(A, z) === -1 && O(A, "$<") === -1) {
1171
+ var U = D(P, H, R, A);
1172
+ if (U.done)
1173
+ return U.value;
1174
+ }
1175
+ var B = u(A);
1176
+ B || (A = f(A));
1177
+ var _, T = H.global;
1178
+ T && (_ = H.unicode, H.lastIndex = 0);
1179
+ for (var M, N = []; (M = m(H, R)) !== null && (w(N, M), T); )
1180
+ f(M[0]) === "" && (H.lastIndex = p(R, g(H.lastIndex), _));
1181
+ for (var q, tt = "", W = 0, V = 0; V < N.length; V++) {
1182
+ for (var ot, at = f((M = N[V])[0]), lt = E(x(d(M.index), R.length), 0), pt = [], st = 1; st < M.length; st++)
1183
+ w(pt, (q = M[st]) === void 0 ? q : String(q));
1184
+ var ut = M.groups;
1185
+ if (B) {
1186
+ var it = k([at], pt, lt, R);
1187
+ ut !== void 0 && w(it, ut), ot = f(e(A, void 0, it));
1188
+ } else
1189
+ ot = y(at, R, lt, pt, ut, A);
1190
+ lt >= W && (tt += C(R, W, lt) + ot, W = lt + at.length);
1191
+ }
1192
+ return tt + C(R, W);
1193
+ }];
1194
+ }, !!a(function() {
1195
+ var j = /./;
1196
+ return j.exec = function() {
1197
+ var P = [];
1198
+ return P.groups = { a: "7" }, P;
1199
+ }, "".replace(j, "$<a>") !== "7";
1200
+ }) || !S || I);
1201
+ }, 5548: function(i, s, t) {
1202
+ var e = t(3517), r = t(6823), n = TypeError;
1203
+ i.exports = function(o) {
1204
+ if (e(o))
1205
+ return o;
1206
+ throw new n(r(o) + " is not a constructor");
1207
+ };
1208
+ }, 5610: function(i, s, t) {
1209
+ var e = t(1291), r = Math.max, n = Math.min;
1210
+ i.exports = function(o, a) {
1211
+ var c = e(o);
1212
+ return c < 0 ? r(c + a, 0) : n(c, a);
1213
+ };
1214
+ }, 5700: function(i, s, t) {
1215
+ var e = t(511), r = t(8242);
1216
+ e("toPrimitive"), r();
1217
+ }, 5745: function(i, s, t) {
1218
+ var e = t(7629);
1219
+ i.exports = function(r, n) {
1220
+ return e[r] || (e[r] = n || {});
1221
+ };
1222
+ }, 5749: function(i, s, t) {
1223
+ var e = t(788), r = TypeError;
1224
+ i.exports = function(n) {
1225
+ if (e(n))
1226
+ throw new r("The method doesn't accept regular expressions");
1227
+ return n;
1228
+ };
1229
+ }, 5917: function(i, s, t) {
1230
+ var e = t(3724), r = t(9039), n = t(4055);
1231
+ i.exports = !e && !r(function() {
1232
+ return Object.defineProperty(n("div"), "a", { get: function() {
1233
+ return 7;
1234
+ } }).a !== 7;
1235
+ });
1236
+ }, 5966: function(i, s, t) {
1237
+ var e = t(9306), r = t(4117);
1238
+ i.exports = function(n, o) {
1239
+ var a = n[o];
1240
+ return r(a) ? void 0 : e(a);
1241
+ };
1242
+ }, 6080: function(i, s, t) {
1243
+ var e = t(7476), r = t(9306), n = t(616), o = e(e.bind);
1244
+ i.exports = function(a, c) {
1245
+ return r(a), c === void 0 ? a : n ? o(a, c) : function() {
1246
+ return a.apply(c, arguments);
1247
+ };
1248
+ };
1249
+ }, 6099: function(i, s, t) {
1250
+ var e = t(2140), r = t(6840), n = t(3179);
1251
+ e || r(Object.prototype, "toString", n, { unsafe: !0 });
1252
+ }, 6119: function(i, s, t) {
1253
+ var e = t(5745), r = t(3392), n = e("keys");
1254
+ i.exports = function(o) {
1255
+ return n[o] || (n[o] = r(o));
1256
+ };
1257
+ }, 6193: function(i, s, t) {
1258
+ var e = t(4215);
1259
+ i.exports = e === "NODE";
1260
+ }, 6198: function(i, s, t) {
1261
+ var e = t(8014);
1262
+ i.exports = function(r) {
1263
+ return e(r.length);
1264
+ };
1265
+ }, 6269: function(i) {
1266
+ i.exports = {};
1267
+ }, 6319: function(i, s, t) {
1268
+ var e = t(8551), r = t(9539);
1269
+ i.exports = function(n, o, a, c) {
1270
+ try {
1271
+ return c ? o(e(a)[0], a[1]) : o(a);
1272
+ } catch (u) {
1273
+ r(n, "throw", u);
1274
+ }
1275
+ };
1276
+ }, 6395: function(i) {
1277
+ i.exports = !1;
1278
+ }, 6469: function(i, s, t) {
1279
+ var e = t(8227), r = t(2360), n = t(4913).f, o = e("unscopables"), a = Array.prototype;
1280
+ a[o] === void 0 && n(a, o, { configurable: !0, value: r(null) }), i.exports = function(c) {
1281
+ a[o][c] = !0;
1282
+ };
1283
+ }, 6518: function(i, s, t) {
1284
+ var e = t(4576), r = t(7347).f, n = t(6699), o = t(6840), a = t(9433), c = t(7740), u = t(2796);
1285
+ i.exports = function(l, d) {
1286
+ var g, f, h, p, v, y = l.target, m = l.global, b = l.stat;
1287
+ if (g = m ? e : b ? e[y] || a(y, {}) : e[y] && e[y].prototype)
1288
+ for (f in d) {
1289
+ if (p = d[f], h = l.dontCallGetSet ? (v = r(g, f)) && v.value : g[f], !u(m ? f : y + (b ? "." : "#") + f, l.forced) && h !== void 0) {
1290
+ if (typeof p == typeof h)
1291
+ continue;
1292
+ c(p, h);
1293
+ }
1294
+ (l.sham || h && h.sham) && n(p, "sham", !0), o(g, f, p, l);
1295
+ }
1296
+ };
1297
+ }, 6682: function(i, s, t) {
1298
+ var e = t(9565), r = t(8551), n = t(4901), o = t(2195), a = t(7323), c = TypeError;
1299
+ i.exports = function(u, l) {
1300
+ var d = u.exec;
1301
+ if (n(d)) {
1302
+ var g = e(d, u, l);
1303
+ return g !== null && r(g), g;
1304
+ }
1305
+ if (o(u) === "RegExp")
1306
+ return e(a, u, l);
1307
+ throw new c("RegExp#exec called on incompatible receiver");
1308
+ };
1309
+ }, 6699: function(i, s, t) {
1310
+ var e = t(3724), r = t(4913), n = t(6980);
1311
+ i.exports = e ? function(o, a, c) {
1312
+ return r.f(o, a, n(1, c));
1313
+ } : function(o, a, c) {
1314
+ return o[a] = c, o;
1315
+ };
1316
+ }, 6706: function(i, s, t) {
1317
+ var e = t(9504), r = t(9306);
1318
+ i.exports = function(n, o, a) {
1319
+ try {
1320
+ return e(r(Object.getOwnPropertyDescriptor(n, o)[a]));
1321
+ } catch {
1322
+ }
1323
+ };
1324
+ }, 6761: function(i, s, t) {
1325
+ var e = t(6518), r = t(4576), n = t(9565), o = t(9504), a = t(6395), c = t(3724), u = t(4495), l = t(9039), d = t(9297), g = t(1625), f = t(8551), h = t(5397), p = t(6969), v = t(655), y = t(6980), m = t(2360), b = t(1072), E = t(8480), x = t(298), k = t(3717), w = t(7347), O = t(4913), C = t(6801), S = t(8773), I = t(6840), j = t(2106), P = t(5745), D = t(6119), z = t(421), K = t(3392), A = t(8227), H = t(1951), R = t(511), U = t(8242), B = t(687), _ = t(1181), T = t(9213).forEach, M = D("hidden"), N = "Symbol", q = "prototype", tt = _.set, W = _.getterFor(N), V = Object[q], ot = r.Symbol, at = ot && ot[q], lt = r.RangeError, pt = r.TypeError, st = r.QObject, ut = w.f, it = O.f, Pt = x.f, jt = S.f, mt = o([].push), rt = P("symbols"), et = P("op-symbols"), Q = P("wks"), bt = !st || !st[q] || !st[q].findChild, nt = function(F, $, G) {
1326
+ var J = ut(V, $);
1327
+ J && delete V[$], it(F, $, G), J && F !== V && it(V, $, J);
1328
+ }, ct = c && l(function() {
1329
+ return m(it({}, "a", { get: function() {
1330
+ return it(this, "a", { value: 7 }).a;
1331
+ } })).a !== 7;
1332
+ }) ? nt : it, ft = function(F, $) {
1333
+ var G = rt[F] = m(at);
1334
+ return tt(G, { type: N, tag: F, description: $ }), c || (G.description = $), G;
1335
+ }, xt = function(F, $, G) {
1336
+ F === V && xt(et, $, G), f(F);
1337
+ var J = p($);
1338
+ return f(G), d(rt, J) ? (G.enumerable ? (d(F, M) && F[M][J] && (F[M][J] = !1), G = m(G, { enumerable: y(0, !1) })) : (d(F, M) || it(F, M, y(1, m(null))), F[M][J] = !0), ct(F, J, G)) : it(F, J, G);
1339
+ }, wt = function(F, $) {
1340
+ f(F);
1341
+ var G = h($), J = b(G).concat(Wt(G));
1342
+ return T(J, function(Z) {
1343
+ c && !n(gt, G, Z) || xt(F, Z, G[Z]);
1344
+ }), F;
1345
+ }, gt = function(F) {
1346
+ var $ = p(F), G = n(jt, this, $);
1347
+ return !(this === V && d(rt, $) && !d(et, $)) && (!(G || !d(this, $) || !d(rt, $) || d(this, M) && this[M][$]) || G);
1348
+ }, At = function(F, $) {
1349
+ var G = h(F), J = p($);
1350
+ if (G !== V || !d(rt, J) || d(et, J)) {
1351
+ var Z = ut(G, J);
1352
+ return !Z || !d(rt, J) || d(G, M) && G[M][J] || (Z.enumerable = !0), Z;
1353
+ }
1354
+ }, ht = function(F) {
1355
+ var $ = Pt(h(F)), G = [];
1356
+ return T($, function(J) {
1357
+ d(rt, J) || d(z, J) || mt(G, J);
1358
+ }), G;
1359
+ }, Wt = function(F) {
1360
+ var $ = F === V, G = Pt($ ? et : h(F)), J = [];
1361
+ return T(G, function(Z) {
1362
+ !d(rt, Z) || $ && !d(V, Z) || mt(J, rt[Z]);
1363
+ }), J;
1364
+ };
1365
+ u || (ot = function() {
1366
+ if (g(at, this))
1367
+ throw new pt("Symbol is not a constructor");
1368
+ var F = arguments.length && arguments[0] !== void 0 ? v(arguments[0]) : void 0, $ = K(F), G = function(J) {
1369
+ var Z = this === void 0 ? r : this;
1370
+ Z === V && n(G, et, J), d(Z, M) && d(Z[M], $) && (Z[M][$] = !1);
1371
+ var Jt = y(1, J);
1372
+ try {
1373
+ ct(Z, $, Jt);
1374
+ } catch (Xt) {
1375
+ if (!(Xt instanceof lt))
1376
+ throw Xt;
1377
+ nt(Z, $, Jt);
1378
+ }
1379
+ };
1380
+ return c && bt && ct(V, $, { configurable: !0, set: G }), ft($, F);
1381
+ }, I(at = ot[q], "toString", function() {
1382
+ return W(this).tag;
1383
+ }), I(ot, "withoutSetter", function(F) {
1384
+ return ft(K(F), F);
1385
+ }), S.f = gt, O.f = xt, C.f = wt, w.f = At, E.f = x.f = ht, k.f = Wt, H.f = function(F) {
1386
+ return ft(A(F), F);
1387
+ }, c && (j(at, "description", { configurable: !0, get: function() {
1388
+ return W(this).description;
1389
+ } }), a || I(V, "propertyIsEnumerable", gt, { unsafe: !0 }))), e({ global: !0, constructor: !0, wrap: !0, forced: !u, sham: !u }, { Symbol: ot }), T(b(Q), function(F) {
1390
+ R(F);
1391
+ }), e({ target: N, stat: !0, forced: !u }, { useSetter: function() {
1392
+ bt = !0;
1393
+ }, useSimple: function() {
1394
+ bt = !1;
1395
+ } }), e({ target: "Object", stat: !0, forced: !u, sham: !c }, { create: function(F, $) {
1396
+ return $ === void 0 ? m(F) : wt(m(F), $);
1397
+ }, defineProperty: xt, defineProperties: wt, getOwnPropertyDescriptor: At }), e({ target: "Object", stat: !0, forced: !u }, { getOwnPropertyNames: ht }), U(), B(ot, N), z[M] = !0;
1398
+ }, 6801: function(i, s, t) {
1399
+ var e = t(3724), r = t(8686), n = t(4913), o = t(8551), a = t(5397), c = t(1072);
1400
+ s.f = e && !r ? Object.defineProperties : function(u, l) {
1401
+ o(u);
1402
+ for (var d, g = a(l), f = c(l), h = f.length, p = 0; h > p; )
1403
+ n.f(u, d = f[p++], g[d]);
1404
+ return u;
1405
+ };
1406
+ }, 6823: function(i) {
1407
+ var s = String;
1408
+ i.exports = function(t) {
1409
+ try {
1410
+ return s(t);
1411
+ } catch {
1412
+ return "Object";
1413
+ }
1414
+ };
1415
+ }, 6837: function(i) {
1416
+ var s = TypeError;
1417
+ i.exports = function(t) {
1418
+ if (t > 9007199254740991)
1419
+ throw s("Maximum allowed index exceeded");
1420
+ return t;
1421
+ };
1422
+ }, 6840: function(i, s, t) {
1423
+ var e = t(4901), r = t(4913), n = t(283), o = t(9433);
1424
+ i.exports = function(a, c, u, l) {
1425
+ l || (l = {});
1426
+ var d = l.enumerable, g = l.name !== void 0 ? l.name : c;
1427
+ if (e(u) && n(u, g, l), l.global)
1428
+ d ? a[c] = u : o(c, u);
1429
+ else {
1430
+ try {
1431
+ l.unsafe ? a[c] && (d = !0) : delete a[c];
1432
+ } catch {
1433
+ }
1434
+ d ? a[c] = u : r.f(a, c, { value: u, enumerable: !1, configurable: !l.nonConfigurable, writable: !l.nonWritable });
1435
+ }
1436
+ return a;
1437
+ };
1438
+ }, 6910: function(i, s, t) {
1439
+ var e = t(6518), r = t(9504), n = t(9306), o = t(8981), a = t(6198), c = t(4606), u = t(655), l = t(9039), d = t(4488), g = t(4598), f = t(3709), h = t(3763), p = t(9519), v = t(3607), y = [], m = r(y.sort), b = r(y.push), E = l(function() {
1440
+ y.sort(void 0);
1441
+ }), x = l(function() {
1442
+ y.sort(null);
1443
+ }), k = g("sort"), w = !l(function() {
1444
+ if (p)
1445
+ return p < 70;
1446
+ if (!(f && f > 3)) {
1447
+ if (h)
1448
+ return !0;
1449
+ if (v)
1450
+ return v < 603;
1451
+ var O, C, S, I, j = "";
1452
+ for (O = 65; O < 76; O++) {
1453
+ switch (C = String.fromCharCode(O), O) {
1454
+ case 66:
1455
+ case 69:
1456
+ case 70:
1457
+ case 72:
1458
+ S = 3;
1459
+ break;
1460
+ case 68:
1461
+ case 71:
1462
+ S = 4;
1463
+ break;
1464
+ default:
1465
+ S = 2;
1466
+ }
1467
+ for (I = 0; I < 47; I++)
1468
+ y.push({ k: C + I, v: S });
1469
+ }
1470
+ for (y.sort(function(P, D) {
1471
+ return D.v - P.v;
1472
+ }), I = 0; I < y.length; I++)
1473
+ C = y[I].k.charAt(0), j.charAt(j.length - 1) !== C && (j += C);
1474
+ return j !== "DGBEFHACIJK";
1475
+ }
1476
+ });
1477
+ e({ target: "Array", proto: !0, forced: E || !x || !k || !w }, { sort: function(O) {
1478
+ O !== void 0 && n(O);
1479
+ var C = o(this);
1480
+ if (w)
1481
+ return O === void 0 ? m(C) : m(C, O);
1482
+ var S, I, j = [], P = a(C);
1483
+ for (I = 0; I < P; I++)
1484
+ I in C && b(j, C[I]);
1485
+ for (d(j, function(D) {
1486
+ return function(z, K) {
1487
+ return K === void 0 ? -1 : z === void 0 ? 1 : D !== void 0 ? +D(z, K) || 0 : u(z) > u(K) ? 1 : -1;
1488
+ };
1489
+ }(O)), S = a(j), I = 0; I < S; )
1490
+ C[I] = j[I++];
1491
+ for (; I < P; )
1492
+ c(C, I++);
1493
+ return C;
1494
+ } });
1495
+ }, 6933: function(i, s, t) {
1496
+ var e = t(9504), r = t(4376), n = t(4901), o = t(2195), a = t(655), c = e([].push);
1497
+ i.exports = function(u) {
1498
+ if (n(u))
1499
+ return u;
1500
+ if (r(u)) {
1501
+ for (var l = u.length, d = [], g = 0; g < l; g++) {
1502
+ var f = u[g];
1503
+ typeof f == "string" ? c(d, f) : typeof f != "number" && o(f) !== "Number" && o(f) !== "String" || c(d, a(f));
1504
+ }
1505
+ var h = d.length, p = !0;
1506
+ return function(v, y) {
1507
+ if (p)
1508
+ return p = !1, y;
1509
+ if (r(this))
1510
+ return y;
1511
+ for (var m = 0; m < h; m++)
1512
+ if (d[m] === v)
1513
+ return y;
1514
+ };
1515
+ }
1516
+ };
1517
+ }, 6955: function(i, s, t) {
1518
+ var e = t(2140), r = t(4901), n = t(2195), o = t(8227)("toStringTag"), a = Object, c = n(function() {
1519
+ return arguments;
1520
+ }()) === "Arguments";
1521
+ i.exports = e ? n : function(u) {
1522
+ var l, d, g;
1523
+ return u === void 0 ? "Undefined" : u === null ? "Null" : typeof (d = function(f, h) {
1524
+ try {
1525
+ return f[h];
1526
+ } catch {
1527
+ }
1528
+ }(l = a(u), o)) == "string" ? d : c ? n(l) : (g = n(l)) === "Object" && r(l.callee) ? "Arguments" : g;
1529
+ };
1530
+ }, 6969: function(i, s, t) {
1531
+ var e = t(2777), r = t(757);
1532
+ i.exports = function(n) {
1533
+ var o = e(n, "string");
1534
+ return r(o) ? o : o + "";
1535
+ };
1536
+ }, 6980: function(i) {
1537
+ i.exports = function(s, t) {
1538
+ return { enumerable: !(1 & s), configurable: !(2 & s), writable: !(4 & s), value: t };
1539
+ };
1540
+ }, 7040: function(i, s, t) {
1541
+ var e = t(4495);
1542
+ i.exports = e && !Symbol.sham && typeof Symbol.iterator == "symbol";
1543
+ }, 7055: function(i, s, t) {
1544
+ var e = t(9504), r = t(9039), n = t(2195), o = Object, a = e("".split);
1545
+ i.exports = r(function() {
1546
+ return !o("z").propertyIsEnumerable(0);
1547
+ }) ? function(c) {
1548
+ return n(c) === "String" ? a(c, "") : o(c);
1549
+ } : o;
1550
+ }, 7323: function(i, s, t) {
1551
+ var e, r, n = t(9565), o = t(9504), a = t(655), c = t(7979), u = t(8429), l = t(5745), d = t(2360), g = t(1181).get, f = t(3635), h = t(8814), p = l("native-string-replace", String.prototype.replace), v = RegExp.prototype.exec, y = v, m = o("".charAt), b = o("".indexOf), E = o("".replace), x = o("".slice), k = (r = /b*/g, n(v, e = /a/, "a"), n(v, r, "a"), e.lastIndex !== 0 || r.lastIndex !== 0), w = u.BROKEN_CARET, O = /()??/.exec("")[1] !== void 0;
1552
+ (k || O || w || f || h) && (y = function(C) {
1553
+ var S, I, j, P, D, z, K, A = this, H = g(A), R = a(C), U = H.raw;
1554
+ if (U)
1555
+ return U.lastIndex = A.lastIndex, S = n(y, U, R), A.lastIndex = U.lastIndex, S;
1556
+ var B = H.groups, _ = w && A.sticky, T = n(c, A), M = A.source, N = 0, q = R;
1557
+ if (_ && (T = E(T, "y", ""), b(T, "g") === -1 && (T += "g"), q = x(R, A.lastIndex), A.lastIndex > 0 && (!A.multiline || A.multiline && m(R, A.lastIndex - 1) !== `
1558
+ `) && (M = "(?: " + M + ")", q = " " + q, N++), I = new RegExp("^(?:" + M + ")", T)), O && (I = new RegExp("^" + M + "$(?!\\s)", T)), k && (j = A.lastIndex), P = n(v, _ ? I : A, q), _ ? P ? (P.input = x(P.input, N), P[0] = x(P[0], N), P.index = A.lastIndex, A.lastIndex += P[0].length) : A.lastIndex = 0 : k && P && (A.lastIndex = A.global ? P.index + P[0].length : j), O && P && P.length > 1 && n(p, P[0], I, function() {
1559
+ for (D = 1; D < arguments.length - 2; D++)
1560
+ arguments[D] === void 0 && (P[D] = void 0);
1561
+ }), P && B)
1562
+ for (P.groups = z = d(null), D = 0; D < B.length; D++)
1563
+ z[(K = B[D])[0]] = P[K[1]];
1564
+ return P;
1565
+ }), i.exports = y;
1566
+ }, 7347: function(i, s, t) {
1567
+ var e = t(3724), r = t(9565), n = t(8773), o = t(6980), a = t(5397), c = t(6969), u = t(9297), l = t(5917), d = Object.getOwnPropertyDescriptor;
1568
+ s.f = e ? d : function(g, f) {
1569
+ if (g = a(g), f = c(f), l)
1570
+ try {
1571
+ return d(g, f);
1572
+ } catch {
1573
+ }
1574
+ if (u(g, f))
1575
+ return o(!r(n.f, g, f), g[f]);
1576
+ };
1577
+ }, 7400: function(i) {
1578
+ i.exports = { CSSRuleList: 0, CSSStyleDeclaration: 0, CSSValueList: 0, ClientRectList: 0, DOMRectList: 0, DOMStringList: 0, DOMTokenList: 1, DataTransferItemList: 0, FileList: 0, HTMLAllCollection: 0, HTMLCollection: 0, HTMLFormElement: 0, HTMLSelectElement: 0, MediaList: 0, MimeTypeArray: 0, NamedNodeMap: 0, NodeList: 1, PaintRequestList: 0, Plugin: 0, PluginArray: 0, SVGLengthList: 0, SVGNumberList: 0, SVGPathSegList: 0, SVGPointList: 0, SVGStringList: 0, SVGTransformList: 0, SourceBufferList: 0, StyleSheetList: 0, TextTrackCueList: 0, TextTrackList: 0, TouchList: 0 };
1579
+ }, 7427: function(i, s, t) {
1580
+ var e = t(6518), r = t(3724), n = t(2551), o = t(9306), a = t(8981), c = t(4913);
1581
+ r && e({ target: "Object", proto: !0, forced: n }, { __defineGetter__: function(u, l) {
1582
+ c.f(a(this), u, { get: o(l), enumerable: !0, configurable: !0 });
1583
+ } });
1584
+ }, 7433: function(i, s, t) {
1585
+ var e = t(4376), r = t(3517), n = t(34), o = t(8227)("species"), a = Array;
1586
+ i.exports = function(c) {
1587
+ var u;
1588
+ return e(c) && (u = c.constructor, (r(u) && (u === a || e(u.prototype)) || n(u) && (u = u[o]) === null) && (u = void 0)), u === void 0 ? a : u;
1589
+ };
1590
+ }, 7452: function(i) {
1591
+ i.exports = `
1592
+ \v\f\r                 \u2028\u2029\uFEFF`;
1593
+ }, 7476: function(i, s, t) {
1594
+ var e = t(2195), r = t(9504);
1595
+ i.exports = function(n) {
1596
+ if (e(n) === "Function")
1597
+ return r(n);
1598
+ };
1599
+ }, 7495: function(i, s, t) {
1600
+ var e = t(6518), r = t(7323);
1601
+ e({ target: "RegExp", proto: !0, forced: /./.exec !== r }, { exec: r });
1602
+ }, 7629: function(i, s, t) {
1603
+ var e = t(6395), r = t(4576), n = t(9433), o = "__core-js_shared__", a = i.exports = r[o] || n(o, {});
1604
+ (a.versions || (a.versions = [])).push({ version: "3.42.0", mode: e ? "pure" : "global", copyright: "© 2014-2025 Denis Pushkarev (zloirock.ru)", license: "https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE", source: "https://github.com/zloirock/core-js" });
1605
+ }, 7633: function(i, s, t) {
1606
+ var e = t(7751), r = t(2106), n = t(8227), o = t(3724), a = n("species");
1607
+ i.exports = function(c) {
1608
+ var u = e(c);
1609
+ o && u && !u[a] && r(u, a, { configurable: !0, get: function() {
1610
+ return this;
1611
+ } });
1612
+ };
1613
+ }, 7657: function(i, s, t) {
1614
+ var e, r, n, o = t(9039), a = t(4901), c = t(34), u = t(2360), l = t(2787), d = t(6840), g = t(8227), f = t(6395), h = g("iterator"), p = !1;
1615
+ [].keys && ("next" in (n = [].keys()) ? (r = l(l(n))) !== Object.prototype && (e = r) : p = !0), !c(e) || o(function() {
1616
+ var v = {};
1617
+ return e[h].call(v) !== v;
1618
+ }) ? e = {} : f && (e = u(e)), a(e[h]) || d(e, h, function() {
1619
+ return this;
1620
+ }), i.exports = { IteratorPrototype: e, BUGGY_SAFARI_ITERATORS: p };
1621
+ }, 7680: function(i, s, t) {
1622
+ var e = t(9504);
1623
+ i.exports = e([].slice);
1624
+ }, 7740: function(i, s, t) {
1625
+ var e = t(9297), r = t(5031), n = t(7347), o = t(4913);
1626
+ i.exports = function(a, c, u) {
1627
+ for (var l = r(c), d = o.f, g = n.f, f = 0; f < l.length; f++) {
1628
+ var h = l[f];
1629
+ e(a, h) || u && e(u, h) || d(a, h, g(c, h));
1630
+ }
1631
+ };
1632
+ }, 7750: function(i, s, t) {
1633
+ var e = t(4117), r = TypeError;
1634
+ i.exports = function(n) {
1635
+ if (e(n))
1636
+ throw new r("Can't call method on " + n);
1637
+ return n;
1638
+ };
1639
+ }, 7751: function(i, s, t) {
1640
+ var e = t(4576), r = t(4901);
1641
+ i.exports = function(n, o) {
1642
+ return arguments.length < 2 ? (a = e[n], r(a) ? a : void 0) : e[n] && e[n][o];
1643
+ var a;
1644
+ };
1645
+ }, 7764: function(i, s, t) {
1646
+ var e = t(8183).charAt, r = t(655), n = t(1181), o = t(1088), a = t(2529), c = "String Iterator", u = n.set, l = n.getterFor(c);
1647
+ o(String, "String", function(d) {
1648
+ u(this, { type: c, string: r(d), index: 0 });
1649
+ }, function() {
1650
+ var d, g = l(this), f = g.string, h = g.index;
1651
+ return h >= f.length ? a(void 0, !0) : (d = e(f, h), g.index += d.length, a(d, !1));
1652
+ });
1653
+ }, 7812: function(i, s, t) {
1654
+ var e = t(6518), r = t(9297), n = t(757), o = t(6823), a = t(5745), c = t(1296), u = a("symbol-to-string-registry");
1655
+ e({ target: "Symbol", stat: !0, forced: !c }, { keyFor: function(l) {
1656
+ if (!n(l))
1657
+ throw new TypeError(o(l) + " is not a symbol");
1658
+ if (r(u, l))
1659
+ return u[l];
1660
+ } });
1661
+ }, 7829: function(i, s, t) {
1662
+ var e = t(8183).charAt;
1663
+ i.exports = function(r, n, o) {
1664
+ return n + (o ? e(r, n).length : 1);
1665
+ };
1666
+ }, 7916: function(i, s, t) {
1667
+ var e = t(6080), r = t(9565), n = t(8981), o = t(6319), a = t(4209), c = t(3517), u = t(6198), l = t(4659), d = t(81), g = t(851), f = Array;
1668
+ i.exports = function(h) {
1669
+ var p = n(h), v = c(this), y = arguments.length, m = y > 1 ? arguments[1] : void 0, b = m !== void 0;
1670
+ b && (m = e(m, y > 2 ? arguments[2] : void 0));
1671
+ var E, x, k, w, O, C, S = g(p), I = 0;
1672
+ if (!S || this === f && a(S))
1673
+ for (E = u(p), x = v ? new this(E) : f(E); E > I; I++)
1674
+ C = b ? m(p[I], I) : p[I], l(x, I, C);
1675
+ else
1676
+ for (x = v ? new this() : [], O = (w = d(p, S)).next; !(k = r(O, w)).done; I++)
1677
+ C = b ? o(w, m, [k.value, I], !0) : k.value, l(x, I, C);
1678
+ return x.length = I, x;
1679
+ };
1680
+ }, 7979: function(i, s, t) {
1681
+ var e = t(8551);
1682
+ i.exports = function() {
1683
+ var r = e(this), n = "";
1684
+ return r.hasIndices && (n += "d"), r.global && (n += "g"), r.ignoreCase && (n += "i"), r.multiline && (n += "m"), r.dotAll && (n += "s"), r.unicode && (n += "u"), r.unicodeSets && (n += "v"), r.sticky && (n += "y"), n;
1685
+ };
1686
+ }, 8014: function(i, s, t) {
1687
+ var e = t(1291), r = Math.min;
1688
+ i.exports = function(n) {
1689
+ var o = e(n);
1690
+ return o > 0 ? r(o, 9007199254740991) : 0;
1691
+ };
1692
+ }, 8183: function(i, s, t) {
1693
+ var e = t(9504), r = t(1291), n = t(655), o = t(7750), a = e("".charAt), c = e("".charCodeAt), u = e("".slice), l = function(d) {
1694
+ return function(g, f) {
1695
+ var h, p, v = n(o(g)), y = r(f), m = v.length;
1696
+ return y < 0 || y >= m ? d ? "" : void 0 : (h = c(v, y)) < 55296 || h > 56319 || y + 1 === m || (p = c(v, y + 1)) < 56320 || p > 57343 ? d ? a(v, y) : h : d ? u(v, y, y + 2) : p - 56320 + (h - 55296 << 10) + 65536;
1697
+ };
1698
+ };
1699
+ i.exports = { codeAt: l(!1), charAt: l(!0) };
1700
+ }, 8227: function(i, s, t) {
1701
+ var e = t(4576), r = t(5745), n = t(9297), o = t(3392), a = t(4495), c = t(7040), u = e.Symbol, l = r("wks"), d = c ? u.for || u : u && u.withoutSetter || o;
1702
+ i.exports = function(g) {
1703
+ return n(l, g) || (l[g] = a && n(u, g) ? u[g] : d("Symbol." + g)), l[g];
1704
+ };
1705
+ }, 8242: function(i, s, t) {
1706
+ var e = t(9565), r = t(7751), n = t(8227), o = t(6840);
1707
+ i.exports = function() {
1708
+ var a = r("Symbol"), c = a && a.prototype, u = c && c.valueOf, l = n("toPrimitive");
1709
+ c && !c[l] && o(c, l, function(d) {
1710
+ return e(u, this);
1711
+ }, { arity: 1 });
1712
+ };
1713
+ }, 8344: function(i, s, t) {
1714
+ t(8543);
1715
+ }, 8429: function(i, s, t) {
1716
+ var e = t(9039), r = t(4576).RegExp, n = e(function() {
1717
+ var c = r("a", "y");
1718
+ return c.lastIndex = 2, c.exec("abcd") !== null;
1719
+ }), o = n || e(function() {
1720
+ return !r("a", "y").sticky;
1721
+ }), a = n || e(function() {
1722
+ var c = r("^r", "gy");
1723
+ return c.lastIndex = 2, c.exec("str") !== null;
1724
+ });
1725
+ i.exports = { BROKEN_CARET: a, MISSED_STICKY: o, UNSUPPORTED_Y: n };
1726
+ }, 8480: function(i, s, t) {
1727
+ var e = t(1828), r = t(8727).concat("length", "prototype");
1728
+ s.f = Object.getOwnPropertyNames || function(n) {
1729
+ return e(n, r);
1730
+ };
1731
+ }, 8543: function(i, s, t) {
1732
+ var e = t(6518), r = t(9565), n = t(7476), o = t(3994), a = t(2529), c = t(7750), u = t(8014), l = t(655), d = t(8551), g = t(34), f = t(2195), h = t(788), p = t(1034), v = t(5966), y = t(6840), m = t(9039), b = t(8227), E = t(2293), x = t(7829), k = t(6682), w = t(1181), O = t(6395), C = b("matchAll"), S = "RegExp String", I = S + " Iterator", j = w.set, P = w.getterFor(I), D = RegExp.prototype, z = TypeError, K = n("".indexOf), A = n("".matchAll), H = !!A && !m(function() {
1733
+ A("a", /./);
1734
+ }), R = o(function(B, _, T, M) {
1735
+ j(this, { type: I, regexp: B, string: _, global: T, unicode: M, done: !1 });
1736
+ }, S, function() {
1737
+ var B = P(this);
1738
+ if (B.done)
1739
+ return a(void 0, !0);
1740
+ var _ = B.regexp, T = B.string, M = k(_, T);
1741
+ return M === null ? (B.done = !0, a(void 0, !0)) : B.global ? (l(M[0]) === "" && (_.lastIndex = x(T, u(_.lastIndex), B.unicode)), a(M, !1)) : (B.done = !0, a(M, !1));
1742
+ }), U = function(B) {
1743
+ var _, T, M, N = d(this), q = l(B), tt = E(N, RegExp), W = l(p(N));
1744
+ return _ = new tt(tt === RegExp ? N.source : N, W), T = !!~K(W, "g"), M = !!~K(W, "u"), _.lastIndex = u(N.lastIndex), new R(_, q, T, M);
1745
+ };
1746
+ e({ target: "String", proto: !0, forced: H }, { matchAll: function(B) {
1747
+ var _, T, M, N, q = c(this);
1748
+ if (g(B)) {
1749
+ if (h(B) && (_ = l(c(p(B))), !~K(_, "g")))
1750
+ throw new z("`.matchAll` does not allow non-global regexes");
1751
+ if (H)
1752
+ return A(q, B);
1753
+ if ((M = v(B, C)) === void 0 && O && f(B) === "RegExp" && (M = U), M)
1754
+ return r(M, B, q);
1755
+ } else if (H)
1756
+ return A(q, B);
1757
+ return T = l(q), N = new RegExp(B, "g"), O ? r(U, N, T) : N[C](T);
1758
+ } }), O || C in D || y(D, C, U);
1759
+ }, 8551: function(i, s, t) {
1760
+ var e = t(34), r = String, n = TypeError;
1761
+ i.exports = function(o) {
1762
+ if (e(o))
1763
+ return o;
1764
+ throw new n(r(o) + " is not an object");
1765
+ };
1766
+ }, 8598: function(i, s, t) {
1767
+ var e = t(6518), r = t(9504), n = t(7055), o = t(5397), a = t(4598), c = r([].join);
1768
+ e({ target: "Array", proto: !0, forced: n !== Object || !a("join", ",") }, { join: function(u) {
1769
+ return c(o(this), u === void 0 ? "," : u);
1770
+ } });
1771
+ }, 8622: function(i, s, t) {
1772
+ var e = t(4576), r = t(4901), n = e.WeakMap;
1773
+ i.exports = r(n) && /native code/.test(String(n));
1774
+ }, 8686: function(i, s, t) {
1775
+ var e = t(3724), r = t(9039);
1776
+ i.exports = e && r(function() {
1777
+ return Object.defineProperty(function() {
1778
+ }, "prototype", { value: 42, writable: !1 }).prototype !== 42;
1779
+ });
1780
+ }, 8706: function(i, s, t) {
1781
+ var e = t(6518), r = t(9039), n = t(4376), o = t(34), a = t(8981), c = t(6198), u = t(6837), l = t(4659), d = t(1469), g = t(597), f = t(8227), h = t(9519), p = f("isConcatSpreadable"), v = h >= 51 || !r(function() {
1782
+ var m = [];
1783
+ return m[p] = !1, m.concat()[0] !== m;
1784
+ }), y = function(m) {
1785
+ if (!o(m))
1786
+ return !1;
1787
+ var b = m[p];
1788
+ return b !== void 0 ? !!b : n(m);
1789
+ };
1790
+ e({ target: "Array", proto: !0, arity: 1, forced: !v || !g("concat") }, { concat: function(m) {
1791
+ var b, E, x, k, w, O = a(this), C = d(O, 0), S = 0;
1792
+ for (b = -1, x = arguments.length; b < x; b++)
1793
+ if (y(w = b === -1 ? O : arguments[b]))
1794
+ for (k = c(w), u(S + k), E = 0; E < k; E++, S++)
1795
+ E in w && l(C, S, w[E]);
1796
+ else
1797
+ u(S + 1), l(C, S++, w);
1798
+ return C.length = S, C;
1799
+ } });
1800
+ }, 8727: function(i) {
1801
+ i.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"];
1802
+ }, 8745: function(i, s, t) {
1803
+ var e = t(616), r = Function.prototype, n = r.apply, o = r.call;
1804
+ i.exports = typeof Reflect == "object" && Reflect.apply || (e ? o.bind(n) : function() {
1805
+ return o.apply(n, arguments);
1806
+ });
1807
+ }, 8773: function(i, s) {
1808
+ var t = {}.propertyIsEnumerable, e = Object.getOwnPropertyDescriptor, r = e && !t.call({ 1: 2 }, 1);
1809
+ s.f = r ? function(n) {
1810
+ var o = e(this, n);
1811
+ return !!o && o.enumerable;
1812
+ } : t;
1813
+ }, 8781: function(i, s, t) {
1814
+ var e = t(350).PROPER, r = t(6840), n = t(8551), o = t(655), a = t(9039), c = t(1034), u = "toString", l = RegExp.prototype, d = l[u], g = a(function() {
1815
+ return d.call({ source: "a", flags: "b" }) !== "/a/b";
1816
+ }), f = e && d.name !== u;
1817
+ (g || f) && r(l, u, function() {
1818
+ var h = n(this);
1819
+ return "/" + o(h.source) + "/" + o(c(h));
1820
+ }, { unsafe: !0 });
1821
+ }, 8814: function(i, s, t) {
1822
+ var e = t(9039), r = t(4576).RegExp;
1823
+ i.exports = e(function() {
1824
+ var n = r("(?<a>b)", "g");
1825
+ return n.exec("b").groups.a !== "b" || "b".replace(n, "$<a>c") !== "bc";
1826
+ });
1827
+ }, 8981: function(i, s, t) {
1828
+ var e = t(7750), r = Object;
1829
+ i.exports = function(n) {
1830
+ return r(e(n));
1831
+ };
1832
+ }, 9039: function(i) {
1833
+ i.exports = function(s) {
1834
+ try {
1835
+ return !!s();
1836
+ } catch {
1837
+ return !0;
1838
+ }
1839
+ };
1840
+ }, 9085: function(i, s, t) {
1841
+ var e = t(6518), r = t(4213);
1842
+ e({ target: "Object", stat: !0, arity: 2, forced: Object.assign !== r }, { assign: r });
1843
+ }, 9167: function(i, s, t) {
1844
+ var e = t(4576);
1845
+ i.exports = e;
1846
+ }, 9213: function(i, s, t) {
1847
+ var e = t(6080), r = t(9504), n = t(7055), o = t(8981), a = t(6198), c = t(1469), u = r([].push), l = function(d) {
1848
+ var g = d === 1, f = d === 2, h = d === 3, p = d === 4, v = d === 6, y = d === 7, m = d === 5 || v;
1849
+ return function(b, E, x, k) {
1850
+ for (var w, O, C = o(b), S = n(C), I = a(S), j = e(E, x), P = 0, D = k || c, z = g ? D(b, I) : f || y ? D(b, 0) : void 0; I > P; P++)
1851
+ if ((m || P in S) && (O = j(w = S[P], P, C), d))
1852
+ if (g)
1853
+ z[P] = O;
1854
+ else if (O)
1855
+ switch (d) {
1856
+ case 3:
1857
+ return !0;
1858
+ case 5:
1859
+ return w;
1860
+ case 6:
1861
+ return P;
1862
+ case 2:
1863
+ u(z, w);
1864
+ }
1865
+ else
1866
+ switch (d) {
1867
+ case 4:
1868
+ return !1;
1869
+ case 7:
1870
+ u(z, w);
1871
+ }
1872
+ return v ? -1 : h || p ? p : z;
1873
+ };
1874
+ };
1875
+ i.exports = { forEach: l(0), map: l(1), filter: l(2), some: l(3), every: l(4), find: l(5), findIndex: l(6), filterReject: l(7) };
1876
+ }, 9228: function(i, s, t) {
1877
+ t(7495);
1878
+ var e = t(9565), r = t(6840), n = t(7323), o = t(9039), a = t(8227), c = t(6699), u = a("species"), l = RegExp.prototype;
1879
+ i.exports = function(d, g, f, h) {
1880
+ var p = a(d), v = !o(function() {
1881
+ var E = {};
1882
+ return E[p] = function() {
1883
+ return 7;
1884
+ }, ""[d](E) !== 7;
1885
+ }), y = v && !o(function() {
1886
+ var E = !1, x = /a/;
1887
+ return d === "split" && ((x = {}).constructor = {}, x.constructor[u] = function() {
1888
+ return x;
1889
+ }, x.flags = "", x[p] = /./[p]), x.exec = function() {
1890
+ return E = !0, null;
1891
+ }, x[p](""), !E;
1892
+ });
1893
+ if (!v || !y || f) {
1894
+ var m = /./[p], b = g(p, ""[d], function(E, x, k, w, O) {
1895
+ var C = x.exec;
1896
+ return C === n || C === l.exec ? v && !O ? { done: !0, value: e(m, x, k, w) } : { done: !0, value: e(E, k, x, w) } : { done: !1 };
1897
+ });
1898
+ r(String.prototype, d, b[0]), r(l, p, b[1]);
1899
+ }
1900
+ h && c(l[p], "sham", !0);
1901
+ };
1902
+ }, 9296: function(i, s, t) {
1903
+ var e = t(4055)("span").classList, r = e && e.constructor && e.constructor.prototype;
1904
+ i.exports = r === Object.prototype ? void 0 : r;
1905
+ }, 9297: function(i, s, t) {
1906
+ var e = t(9504), r = t(8981), n = e({}.hasOwnProperty);
1907
+ i.exports = Object.hasOwn || function(o, a) {
1908
+ return n(r(o), a);
1909
+ };
1910
+ }, 9306: function(i, s, t) {
1911
+ var e = t(4901), r = t(6823), n = TypeError;
1912
+ i.exports = function(o) {
1913
+ if (e(o))
1914
+ return o;
1915
+ throw new n(r(o) + " is not a function");
1916
+ };
1917
+ }, 9432: function(i, s, t) {
1918
+ var e = t(6518), r = t(8981), n = t(1072);
1919
+ e({ target: "Object", stat: !0, forced: t(9039)(function() {
1920
+ n(1);
1921
+ }) }, { keys: function(o) {
1922
+ return n(r(o));
1923
+ } });
1924
+ }, 9433: function(i, s, t) {
1925
+ var e = t(4576), r = Object.defineProperty;
1926
+ i.exports = function(n, o) {
1927
+ try {
1928
+ r(e, n, { value: o, configurable: !0, writable: !0 });
1929
+ } catch {
1930
+ e[n] = o;
1931
+ }
1932
+ return o;
1933
+ };
1934
+ }, 9463: function(i, s, t) {
1935
+ var e = t(6518), r = t(3724), n = t(4576), o = t(9504), a = t(9297), c = t(4901), u = t(1625), l = t(655), d = t(2106), g = t(7740), f = n.Symbol, h = f && f.prototype;
1936
+ if (r && c(f) && (!("description" in h) || f().description !== void 0)) {
1937
+ var p = {}, v = function() {
1938
+ var w = arguments.length < 1 || arguments[0] === void 0 ? void 0 : l(arguments[0]), O = u(h, this) ? new f(w) : w === void 0 ? f() : f(w);
1939
+ return w === "" && (p[O] = !0), O;
1940
+ };
1941
+ g(v, f), v.prototype = h, h.constructor = v;
1942
+ var y = String(f("description detection")) === "Symbol(description detection)", m = o(h.valueOf), b = o(h.toString), E = /^Symbol\((.*)\)[^)]+$/, x = o("".replace), k = o("".slice);
1943
+ d(h, "description", { configurable: !0, get: function() {
1944
+ var w = m(this);
1945
+ if (a(p, w))
1946
+ return "";
1947
+ var O = b(w), C = y ? k(O, 7, -1) : x(O, E, "$1");
1948
+ return C === "" ? void 0 : C;
1949
+ } }), e({ global: !0, constructor: !0, forced: !0 }, { Symbol: v });
1950
+ }
1951
+ }, 9504: function(i, s, t) {
1952
+ var e = t(616), r = Function.prototype, n = r.call, o = e && r.bind.bind(n, n);
1953
+ i.exports = e ? o : function(a) {
1954
+ return function() {
1955
+ return n.apply(a, arguments);
1956
+ };
1957
+ };
1958
+ }, 9519: function(i, s, t) {
1959
+ var e, r, n = t(4576), o = t(2839), a = n.process, c = n.Deno, u = a && a.versions || c && c.version, l = u && u.v8;
1960
+ l && (r = (e = l.split("."))[0] > 0 && e[0] < 4 ? 1 : +(e[0] + e[1])), !r && o && (!(e = o.match(/Edge\/(\d+)/)) || e[1] >= 74) && (e = o.match(/Chrome\/(\d+)/)) && (r = +e[1]), i.exports = r;
1961
+ }, 9539: function(i, s, t) {
1962
+ var e = t(9565), r = t(8551), n = t(5966);
1963
+ i.exports = function(o, a, c) {
1964
+ var u, l;
1965
+ r(o);
1966
+ try {
1967
+ if (!(u = n(o, "return"))) {
1968
+ if (a === "throw")
1969
+ throw c;
1970
+ return c;
1971
+ }
1972
+ u = e(u, o);
1973
+ } catch (d) {
1974
+ l = !0, u = d;
1975
+ }
1976
+ if (a === "throw")
1977
+ throw c;
1978
+ if (l)
1979
+ throw u;
1980
+ return r(u), c;
1981
+ };
1982
+ }, 9565: function(i, s, t) {
1983
+ var e = t(616), r = Function.prototype.call;
1984
+ i.exports = e ? r.bind(r) : function() {
1985
+ return r.apply(r, arguments);
1986
+ };
1987
+ }, 9572: function(i, s, t) {
1988
+ var e = t(9297), r = t(6840), n = t(3640), o = t(8227)("toPrimitive"), a = Date.prototype;
1989
+ e(a, o) || r(a, o, n);
1990
+ }, 9617: function(i, s, t) {
1991
+ var e = t(5397), r = t(5610), n = t(6198), o = function(a) {
1992
+ return function(c, u, l) {
1993
+ var d = e(c), g = n(d);
1994
+ if (g === 0)
1995
+ return !a && -1;
1996
+ var f, h = r(l, g);
1997
+ if (a && u != u) {
1998
+ for (; g > h; )
1999
+ if ((f = d[h++]) != f)
2000
+ return !0;
2001
+ } else
2002
+ for (; g > h; h++)
2003
+ if ((a || h in d) && d[h] === u)
2004
+ return a || h || 0;
2005
+ return !a && -1;
2006
+ };
2007
+ };
2008
+ i.exports = { includes: o(!0), indexOf: o(!1) };
2009
+ }, 9773: function(i, s, t) {
2010
+ var e = t(6518), r = t(4495), n = t(9039), o = t(3717), a = t(8981);
2011
+ e({ target: "Object", stat: !0, forced: !r || n(function() {
2012
+ o.f(1);
2013
+ }) }, { getOwnPropertySymbols: function(c) {
2014
+ var u = o.f;
2015
+ return u ? u(a(c)) : [];
2016
+ } });
2017
+ } }, vt = {};
2018
+ function L(i) {
2019
+ var s = vt[i];
2020
+ if (s !== void 0)
2021
+ return s.exports;
2022
+ var t = vt[i] = { exports: {} };
2023
+ return Mt[i].call(t.exports, t, t.exports, L), t.exports;
2024
+ }
2025
+ L.d = function(i, s) {
2026
+ for (var t in s)
2027
+ L.o(s, t) && !L.o(i, t) && Object.defineProperty(i, t, { enumerable: !0, get: s[t] });
2028
+ }, L.g = function() {
2029
+ if (typeof globalThis == "object")
2030
+ return globalThis;
2031
+ try {
2032
+ return this || new Function("return this")();
2033
+ } catch {
2034
+ if (typeof window == "object")
2035
+ return window;
2036
+ }
2037
+ }(), L.o = function(i, s) {
2038
+ return Object.prototype.hasOwnProperty.call(i, s);
2039
+ }, L.r = function(i) {
2040
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
2041
+ };
2042
+ var kt = {};
2043
+ L.r(kt), L.d(kt, { SimpleKeyboard: function() {
2044
+ return qt;
2045
+ }, default: function() {
2046
+ return ae;
2047
+ } }), L(5276), L(8598), L(4782), L(4554), L(2010), L(7427), L(6099), L(7495), L(8781), L(5440), L(744), L(2762), typeof Element > "u" || "remove" in Element.prototype || (Element.prototype.remove = function() {
2048
+ this.parentNode && this.parentNode.removeChild(this);
2049
+ }), typeof self < "u" && "document" in self && ((!("classList" in document.createElement("_")) || document.createElementNS && !("classList" in document.createElementNS("http://www.w3.org/2000/svg", "g"))) && function(i) {
2050
+ if ("Element" in i) {
2051
+ var s = "classList", t = "prototype", e = i.Element[t], r = Object, n = String[t].trim || function() {
2052
+ return this.replace(/^\s+|\s+$/g, "");
2053
+ }, o = Array[t].indexOf || function(f) {
2054
+ for (var h = 0, p = this.length; h < p; h++)
2055
+ if (h in this && this[h] === f)
2056
+ return h;
2057
+ return -1;
2058
+ }, a = function(f, h) {
2059
+ this.name = f, this.code = DOMException[f], this.message = h;
2060
+ }, c = function(f, h) {
2061
+ if (h === "")
2062
+ throw new a("SYNTAX_ERR", "The token must not be empty.");
2063
+ if (/\s/.test(h))
2064
+ throw new a("INVALID_CHARACTER_ERR", "The token must not contain space characters.");
2065
+ return o.call(f, h);
2066
+ }, u = function(f) {
2067
+ for (var h = n.call(f.getAttribute("class") || ""), p = h ? h.split(/\s+/) : [], v = 0, y = p.length; v < y; v++)
2068
+ this.push(p[v]);
2069
+ this._updateClassName = function() {
2070
+ f.setAttribute("class", this.toString());
2071
+ };
2072
+ }, l = u[t] = [], d = function() {
2073
+ return new u(this);
2074
+ };
2075
+ if (a[t] = Error[t], l.item = function(f) {
2076
+ return this[f] || null;
2077
+ }, l.contains = function(f) {
2078
+ return ~c(this, f + "");
2079
+ }, l.add = function() {
2080
+ var f, h = arguments, p = 0, v = h.length, y = !1;
2081
+ do
2082
+ ~c(this, f = h[p] + "") || (this.push(f), y = !0);
2083
+ while (++p < v);
2084
+ y && this._updateClassName();
2085
+ }, l.remove = function() {
2086
+ var f, h, p = arguments, v = 0, y = p.length, m = !1;
2087
+ do
2088
+ for (h = c(this, f = p[v] + ""); ~h; )
2089
+ this.splice(h, 1), m = !0, h = c(this, f);
2090
+ while (++v < y);
2091
+ m && this._updateClassName();
2092
+ }, l.toggle = function(f, h) {
2093
+ var p = this.contains(f), v = p ? h !== !0 && "remove" : h !== !1 && "add";
2094
+ return v && this[v](f), h === !0 || h === !1 ? h : !p;
2095
+ }, l.replace = function(f, h) {
2096
+ var p = c(f + "");
2097
+ ~p && (this.splice(p, 1, h), this._updateClassName());
2098
+ }, l.toString = function() {
2099
+ return this.join(" ");
2100
+ }, r.defineProperty) {
2101
+ var g = { get: d, enumerable: !0, configurable: !0 };
2102
+ try {
2103
+ r.defineProperty(e, s, g);
2104
+ } catch (f) {
2105
+ f.number !== void 0 && f.number !== -2146823252 || (g.enumerable = !1, r.defineProperty(e, s, g));
2106
+ }
2107
+ } else
2108
+ r[t].__defineGetter__ && e.__defineGetter__(s, d);
2109
+ }
2110
+ }(self), function() {
2111
+ var i = document.createElement("_");
2112
+ if (i.classList.add("c1", "c2"), !i.classList.contains("c2")) {
2113
+ var s = function(e) {
2114
+ var r = DOMTokenList.prototype[e];
2115
+ DOMTokenList.prototype[e] = function(n) {
2116
+ var o, a = arguments.length;
2117
+ for (o = 0; o < a; o++)
2118
+ n = arguments[o], r.call(this, n);
2119
+ };
2120
+ };
2121
+ s("add"), s("remove");
2122
+ }
2123
+ if (i.classList.toggle("c3", !1), i.classList.contains("c3")) {
2124
+ var t = DOMTokenList.prototype.toggle;
2125
+ DOMTokenList.prototype.toggle = function(e, r) {
2126
+ return 1 in arguments && !this.contains(e) == !r ? r : t.call(this, e);
2127
+ };
2128
+ }
2129
+ "replace" in document.createElement("_").classList || (DOMTokenList.prototype.replace = function(e, r) {
2130
+ var n = this.toString().split(" "), o = n.indexOf(e + "");
2131
+ ~o && (n = n.slice(o), this.remove.apply(this, n), this.add(r), this.add.apply(this, n.slice(1)));
2132
+ }), i = null;
2133
+ }()), L(2675), L(9463), L(2259), L(5700), L(8706), L(2008), L(3418), L(4423), L(3792), L(2062), L(6910), L(739), L(9572), L(2892), L(9085), L(3851), L(1278), L(9432), L(4864), L(1699), L(7764), L(8344), L(3500), L(2953), L(2712), L(2637), L(1480), L(825), L(1761);
2134
+ function Zt(i) {
2135
+ return function(s) {
2136
+ if (Array.isArray(s))
2137
+ return Lt(s);
2138
+ }(i) || function(s) {
2139
+ if (typeof Symbol < "u" && s[Symbol.iterator] != null || s["@@iterator"] != null)
2140
+ return Array.from(s);
2141
+ }(i) || Ft(i) || function() {
2142
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
2143
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2144
+ }();
2145
+ }
2146
+ function Ft(i, s) {
2147
+ if (i) {
2148
+ if (typeof i == "string")
2149
+ return Lt(i, s);
2150
+ var t = {}.toString.call(i).slice(8, -1);
2151
+ return t === "Object" && i.constructor && (t = i.constructor.name), t === "Map" || t === "Set" ? Array.from(i) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? Lt(i, s) : void 0;
2152
+ }
2153
+ }
2154
+ function Lt(i, s) {
2155
+ (s == null || s > i.length) && (s = i.length);
2156
+ for (var t = 0, e = Array(s); t < s; t++)
2157
+ e[t] = i[t];
2158
+ return e;
2159
+ }
2160
+ function Et(i) {
2161
+ return Et = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(s) {
2162
+ return typeof s;
2163
+ } : function(s) {
2164
+ return s && typeof Symbol == "function" && s.constructor === Symbol && s !== Symbol.prototype ? "symbol" : typeof s;
2165
+ }, Et(i);
2166
+ }
2167
+ function _t(i, s) {
2168
+ for (var t = 0; t < s.length; t++) {
2169
+ var e = s[t];
2170
+ e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(i, Ht(e.key), e);
2171
+ }
2172
+ }
2173
+ function yt(i, s, t) {
2174
+ return (s = Ht(s)) in i ? Object.defineProperty(i, s, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : i[s] = t, i;
2175
+ }
2176
+ function Ht(i) {
2177
+ var s = function(t, e) {
2178
+ if (Et(t) != "object" || !t)
2179
+ return t;
2180
+ var r = t[Symbol.toPrimitive];
2181
+ if (r !== void 0) {
2182
+ var n = r.call(t, e || "default");
2183
+ if (Et(n) != "object")
2184
+ return n;
2185
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2186
+ }
2187
+ return (e === "string" ? String : Number)(t);
2188
+ }(i, "string");
2189
+ return Et(s) == "symbol" ? s : s + "";
2190
+ }
2191
+ var Ut = function() {
2192
+ return i = function e(r) {
2193
+ var n = r.getOptions, o = r.getCaretPosition, a = r.getCaretPositionEnd, c = r.dispatch;
2194
+ (function(u, l) {
2195
+ if (!(u instanceof l))
2196
+ throw new TypeError("Cannot call a class as a function");
2197
+ })(this, e), yt(this, "getOptions", void 0), yt(this, "getCaretPosition", void 0), yt(this, "getCaretPositionEnd", void 0), yt(this, "dispatch", void 0), yt(this, "maxLengthReached", void 0), yt(this, "isStandardButton", function(u) {
2198
+ return u && !(u[0] === "{" && u[u.length - 1] === "}");
2199
+ }), this.getOptions = n, this.getCaretPosition = o, this.getCaretPositionEnd = a, this.dispatch = c, e.bindMethods(e, this);
2200
+ }, s = [{ key: "getButtonType", value: function(e) {
2201
+ return e.includes("{") && e.includes("}") && e !== "{//}" ? "functionBtn" : "standardBtn";
2202
+ } }, { key: "getButtonClass", value: function(e) {
2203
+ var r = this.getButtonType(e), n = e.replace("{", "").replace("}", ""), o = "";
2204
+ return r !== "standardBtn" && (o = " hg-button-".concat(n)), "hg-".concat(r).concat(o);
2205
+ } }, { key: "getDefaultDiplay", value: function() {
2206
+ return { "{bksp}": "backspace", "{backspace}": "backspace", "{enter}": "< enter", "{shift}": "shift", "{shiftleft}": "shift", "{shiftright}": "shift", "{alt}": "alt", "{s}": "shift", "{tab}": "tab", "{lock}": "caps", "{capslock}": "caps", "{accept}": "Submit", "{space}": " ", "{//}": " ", "{esc}": "esc", "{escape}": "esc", "{f1}": "f1", "{f2}": "f2", "{f3}": "f3", "{f4}": "f4", "{f5}": "f5", "{f6}": "f6", "{f7}": "f7", "{f8}": "f8", "{f9}": "f9", "{f10}": "f10", "{f11}": "f11", "{f12}": "f12", "{numpaddivide}": "/", "{numlock}": "lock", "{arrowup}": "↑", "{arrowleft}": "←", "{arrowdown}": "↓", "{arrowright}": "→", "{prtscr}": "print", "{scrolllock}": "scroll", "{pause}": "pause", "{insert}": "ins", "{home}": "home", "{pageup}": "up", "{delete}": "del", "{forwarddelete}": "del", "{end}": "end", "{pagedown}": "down", "{numpadmultiply}": "*", "{numpadsubtract}": "-", "{numpadadd}": "+", "{numpadenter}": "enter", "{period}": ".", "{numpaddecimal}": ".", "{numpad0}": "0", "{numpad1}": "1", "{numpad2}": "2", "{numpad3}": "3", "{numpad4}": "4", "{numpad5}": "5", "{numpad6}": "6", "{numpad7}": "7", "{numpad8}": "8", "{numpad9}": "9" };
2207
+ } }, { key: "getButtonDisplayName", value: function(e, r) {
2208
+ return (r = arguments.length > 2 && arguments[2] !== void 0 && arguments[2] ? Object.assign({}, this.getDefaultDiplay(), r) : r || this.getDefaultDiplay())[e] || e;
2209
+ } }, { key: "getUpdatedInput", value: function(e, r, n) {
2210
+ var o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : n, a = arguments.length > 4 && arguments[4] !== void 0 && arguments[4], c = this.getOptions(), u = [n, o, a], l = r;
2211
+ return (e === "{bksp}" || e === "{backspace}") && l.length > 0 ? l = this.removeAt.apply(this, [l].concat(u)) : (e === "{delete}" || e === "{forwarddelete}") && l.length > 0 ? l = this.removeForwardsAt.apply(this, [l].concat(u)) : e === "{space}" ? l = this.addStringAt.apply(this, [l, " "].concat(u)) : e !== "{tab}" || typeof c.tabCharOnTab == "boolean" && c.tabCharOnTab === !1 ? e !== "{enter}" && e !== "{numpadenter}" || !c.newLineOnEnter ? e.includes("numpad") && Number.isInteger(Number(e[e.length - 2])) ? l = this.addStringAt.apply(this, [l, e[e.length - 2]].concat(u)) : e === "{numpaddivide}" ? l = this.addStringAt.apply(this, [l, "/"].concat(u)) : e === "{numpadmultiply}" ? l = this.addStringAt.apply(this, [l, "*"].concat(u)) : e === "{numpadsubtract}" ? l = this.addStringAt.apply(this, [l, "-"].concat(u)) : e === "{numpadadd}" ? l = this.addStringAt.apply(this, [l, "+"].concat(u)) : e === "{numpaddecimal}" ? l = this.addStringAt.apply(this, [l, "."].concat(u)) : e === "{" || e === "}" ? l = this.addStringAt.apply(this, [l, e].concat(u)) : e.includes("{") || e.includes("}") || (l = this.addStringAt.apply(this, [l, e].concat(u))) : l = this.addStringAt.apply(this, [l, `
2212
+ `].concat(u)) : l = this.addStringAt.apply(this, [l, " "].concat(u)), c.debug && console.log("Input will be: " + l), l;
2213
+ } }, { key: "updateCaretPos", value: function(e) {
2214
+ var r = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], n = this.updateCaretPosAction(e, r);
2215
+ this.dispatch(function(o) {
2216
+ o.setCaretPosition(n);
2217
+ });
2218
+ } }, { key: "updateCaretPosAction", value: function(e) {
2219
+ var r = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], n = this.getOptions(), o = this.getCaretPosition();
2220
+ return o != null && (r ? o > 0 && (o -= e) : o += e), n.debug && console.log("Caret at:", o), o;
2221
+ } }, { key: "addStringAt", value: function(e, r) {
2222
+ var n, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : e.length, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : e.length, c = arguments.length > 4 && arguments[4] !== void 0 && arguments[4];
2223
+ return o || o === 0 ? (n = [e.slice(0, o), r, e.slice(a)].join(""), this.isMaxLengthReached() || c && this.updateCaretPos(r.length)) : n = e + r, n;
2224
+ } }, { key: "removeAt", value: function(e) {
2225
+ var r, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.length, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : e.length, a = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
2226
+ if (n === 0 && o === 0)
2227
+ return e;
2228
+ if (n === o) {
2229
+ var c = /([\uD800-\uDBFF][\uDC00-\uDFFF])/g;
2230
+ n && n >= 0 ? e.substring(n - 2, n).match(c) ? (r = e.substr(0, n - 2) + e.substr(n), a && this.updateCaretPos(2, !0)) : (r = e.substr(0, n - 1) + e.substr(n), a && this.updateCaretPos(1, !0)) : e.slice(-2).match(c) ? (r = e.slice(0, -2), a && this.updateCaretPos(2, !0)) : (r = e.slice(0, -1), a && this.updateCaretPos(1, !0));
2231
+ } else
2232
+ r = e.slice(0, n) + e.slice(o), a && this.dispatch(function(u) {
2233
+ u.setCaretPosition(n);
2234
+ });
2235
+ return r;
2236
+ } }, { key: "removeForwardsAt", value: function(e) {
2237
+ var r, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.length, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : e.length, a = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
2238
+ return e != null && e.length && n !== null ? (n === o ? r = e.substring(n, n + 2).match(/([\uD800-\uDBFF][\uDC00-\uDFFF])/g) ? e.substr(0, n) + e.substr(n + 2) : e.substr(0, n) + e.substr(n + 1) : (r = e.slice(0, n) + e.slice(o), a && this.dispatch(function(c) {
2239
+ c.setCaretPosition(n);
2240
+ })), r) : e;
2241
+ } }, { key: "handleMaxLength", value: function(e, r) {
2242
+ var n = this.getOptions(), o = n.maxLength, a = e[n.inputName || "default"], c = r.length - 1 >= o;
2243
+ if (r.length <= a.length)
2244
+ return !1;
2245
+ if (Number.isInteger(o))
2246
+ return n.debug && console.log("maxLength (num) reached:", c), c ? (this.maxLengthReached = !0, !0) : (this.maxLengthReached = !1, !1);
2247
+ if (Et(o) === "object") {
2248
+ var u = r.length - 1 >= o[n.inputName || "default"];
2249
+ return n.debug && console.log("maxLength (obj) reached:", u), u ? (this.maxLengthReached = !0, !0) : (this.maxLengthReached = !1, !1);
2250
+ }
2251
+ } }, { key: "isMaxLengthReached", value: function() {
2252
+ return !!this.maxLengthReached;
2253
+ } }, { key: "isTouchDevice", value: function() {
2254
+ return "ontouchstart" in window || navigator.maxTouchPoints;
2255
+ } }, { key: "pointerEventsSupported", value: function() {
2256
+ return !!window.PointerEvent;
2257
+ } }, { key: "camelCase", value: function(e) {
2258
+ return e ? e.toLowerCase().trim().split(/[.\-_\s]/g).reduce(function(r, n) {
2259
+ return n.length ? r + n[0].toUpperCase() + n.slice(1) : r;
2260
+ }) : "";
2261
+ } }, { key: "chunkArray", value: function(e, r) {
2262
+ return Zt(Array(Math.ceil(e.length / r))).map(function(n, o) {
2263
+ return e.slice(r * o, r + r * o);
2264
+ });
2265
+ } }, { key: "escapeRegex", value: function(e) {
2266
+ return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
2267
+ } }, { key: "getRtlOffset", value: function(e, r) {
2268
+ var n = e, o = r.indexOf("‫");
2269
+ return o < e && o != -1 && n--, r.indexOf("‬") < e && o != -1 && n--, n < 0 ? 0 : n;
2270
+ } }, { key: "isConstructor", value: function(e) {
2271
+ try {
2272
+ Reflect.construct(String, [], e);
2273
+ } catch {
2274
+ return !1;
2275
+ }
2276
+ return !0;
2277
+ } }], t = [{ key: "bindMethods", value: function(e, r) {
2278
+ var n, o = function(c, u) {
2279
+ var l = typeof Symbol < "u" && c[Symbol.iterator] || c["@@iterator"];
2280
+ if (!l) {
2281
+ if (Array.isArray(c) || (l = Ft(c)) || u && c && typeof c.length == "number") {
2282
+ l && (c = l);
2283
+ var d = 0, g = function() {
2284
+ };
2285
+ return { s: g, n: function() {
2286
+ return d >= c.length ? { done: !0 } : { done: !1, value: c[d++] };
2287
+ }, e: function(v) {
2288
+ throw v;
2289
+ }, f: g };
2290
+ }
2291
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2292
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2293
+ }
2294
+ var f, h = !0, p = !1;
2295
+ return { s: function() {
2296
+ l = l.call(c);
2297
+ }, n: function() {
2298
+ var v = l.next();
2299
+ return h = v.done, v;
2300
+ }, e: function(v) {
2301
+ p = !0, f = v;
2302
+ }, f: function() {
2303
+ try {
2304
+ h || l.return == null || l.return();
2305
+ } finally {
2306
+ if (p)
2307
+ throw f;
2308
+ }
2309
+ } };
2310
+ }(Object.getOwnPropertyNames(e.prototype));
2311
+ try {
2312
+ for (o.s(); !(n = o.n()).done; ) {
2313
+ var a = n.value;
2314
+ a === "constructor" || a === "bindMethods" || (r[a] = r[a].bind(r));
2315
+ }
2316
+ } catch (c) {
2317
+ o.e(c);
2318
+ } finally {
2319
+ o.f();
2320
+ }
2321
+ } }], s && _t(i.prototype, s), t && _t(i, t), Object.defineProperty(i, "prototype", { writable: !1 }), i;
2322
+ var i, s, t;
2323
+ }();
2324
+ yt(Ut, "noop", function() {
2325
+ });
2326
+ var Tt = Ut;
2327
+ function St(i) {
2328
+ return St = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(s) {
2329
+ return typeof s;
2330
+ } : function(s) {
2331
+ return s && typeof Symbol == "function" && s.constructor === Symbol && s !== Symbol.prototype ? "symbol" : typeof s;
2332
+ }, St(i);
2333
+ }
2334
+ function te(i, s) {
2335
+ for (var t = 0; t < s.length; t++) {
2336
+ var e = s[t];
2337
+ e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(i, zt(e.key), e);
2338
+ }
2339
+ }
2340
+ function Rt(i, s, t) {
2341
+ return (s = zt(s)) in i ? Object.defineProperty(i, s, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : i[s] = t, i;
2342
+ }
2343
+ function zt(i) {
2344
+ var s = function(t, e) {
2345
+ if (St(t) != "object" || !t)
2346
+ return t;
2347
+ var r = t[Symbol.toPrimitive];
2348
+ if (r !== void 0) {
2349
+ var n = r.call(t, e || "default");
2350
+ if (St(n) != "object")
2351
+ return n;
2352
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2353
+ }
2354
+ return (e === "string" ? String : Number)(t);
2355
+ }(i, "string");
2356
+ return St(s) == "symbol" ? s : s + "";
2357
+ }
2358
+ var ee = function() {
2359
+ return i = function t(e) {
2360
+ var r = this, n = e.dispatch, o = e.getOptions;
2361
+ (function(a, c) {
2362
+ if (!(a instanceof c))
2363
+ throw new TypeError("Cannot call a class as a function");
2364
+ })(this, t), Rt(this, "getOptions", void 0), Rt(this, "dispatch", void 0), Rt(this, "isModifierKey", function(a) {
2365
+ return a.altKey || a.ctrlKey || a.shiftKey || ["Tab", "CapsLock", "Esc", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"].includes(a.code || a.key || r.keyCodeToKey(a == null ? void 0 : a.keyCode));
2366
+ }), this.dispatch = n, this.getOptions = o, Tt.bindMethods(t, this);
2367
+ }, s = [{ key: "handleHighlightKeyDown", value: function(t) {
2368
+ var e = this.getOptions();
2369
+ e.physicalKeyboardHighlightPreventDefault && this.isModifierKey(t) && (t.preventDefault(), t.stopImmediatePropagation());
2370
+ var r = this.getSimpleKeyboardLayoutKey(t);
2371
+ this.dispatch(function(n) {
2372
+ var o, a, c = n.getButtonElement(r), u = n.getButtonElement("{".concat(r, "}"));
2373
+ if (c)
2374
+ o = c, a = r;
2375
+ else {
2376
+ if (!u)
2377
+ return;
2378
+ o = u, a = "{".concat(r, "}");
2379
+ }
2380
+ var l, d, g, f, h = function(v) {
2381
+ v.style.background = e.physicalKeyboardHighlightBgColor || "#dadce4", v.style.color = e.physicalKeyboardHighlightTextColor || "black";
2382
+ };
2383
+ if (o)
2384
+ if (Array.isArray(o)) {
2385
+ if (o.forEach(function(v) {
2386
+ return h(v);
2387
+ }), e.physicalKeyboardHighlightPress)
2388
+ if (e.physicalKeyboardHighlightPressUsePointerEvents)
2389
+ (l = o[0]) === null || l === void 0 || (d = l.onpointerdown) === null || d === void 0 || d.call(l, t);
2390
+ else if (e.physicalKeyboardHighlightPressUseClick) {
2391
+ var p;
2392
+ (p = o[0]) === null || p === void 0 || p.click();
2393
+ } else
2394
+ n.handleButtonClicked(a, t);
2395
+ } else
2396
+ h(o), e.physicalKeyboardHighlightPress && (e.physicalKeyboardHighlightPressUsePointerEvents ? (g = o) === null || g === void 0 || (f = g.onpointerdown) === null || f === void 0 || f.call(g, t) : e.physicalKeyboardHighlightPressUseClick ? o.click() : n.handleButtonClicked(a, t));
2397
+ });
2398
+ } }, { key: "handleHighlightKeyUp", value: function(t) {
2399
+ var e = this.getOptions();
2400
+ e.physicalKeyboardHighlightPreventDefault && this.isModifierKey(t) && (t.preventDefault(), t.stopImmediatePropagation());
2401
+ var r = this.getSimpleKeyboardLayoutKey(t);
2402
+ this.dispatch(function(n) {
2403
+ var o, a, c, u = n.getButtonElement(r) || n.getButtonElement("{".concat(r, "}")), l = function(d) {
2404
+ d.removeAttribute && d.removeAttribute("style");
2405
+ };
2406
+ u && (Array.isArray(u) ? (u.forEach(function(d) {
2407
+ return l(d);
2408
+ }), e.physicalKeyboardHighlightPressUsePointerEvents && ((o = u[0]) === null || o === void 0 || (a = o.onpointerup) === null || a === void 0 || a.call(o, t))) : (l(u), e.physicalKeyboardHighlightPressUsePointerEvents && (u == null || (c = u.onpointerup) === null || c === void 0 || c.call(u, t))));
2409
+ });
2410
+ } }, { key: "getSimpleKeyboardLayoutKey", value: function(t) {
2411
+ var e, r = "", n = t.code || t.key || this.keyCodeToKey(t == null ? void 0 : t.keyCode);
2412
+ return (r = n != null && n.includes("Numpad") || n != null && n.includes("Shift") || n != null && n.includes("Space") || n != null && n.includes("Backspace") || n != null && n.includes("Control") || n != null && n.includes("Alt") || n != null && n.includes("Meta") ? t.code || "" : t.key || this.keyCodeToKey(t == null ? void 0 : t.keyCode) || "").length > 1 ? (e = r) === null || e === void 0 ? void 0 : e.toLowerCase() : r;
2413
+ } }, { key: "keyCodeToKey", value: function(t) {
2414
+ return { 8: "Backspace", 9: "Tab", 13: "Enter", 16: "Shift", 17: "Ctrl", 18: "Alt", 19: "Pause", 20: "CapsLock", 27: "Esc", 32: "Space", 33: "PageUp", 34: "PageDown", 35: "End", 36: "Home", 37: "ArrowLeft", 38: "ArrowUp", 39: "ArrowRight", 40: "ArrowDown", 45: "Insert", 46: "Delete", 48: "0", 49: "1", 50: "2", 51: "3", 52: "4", 53: "5", 54: "6", 55: "7", 56: "8", 57: "9", 65: "A", 66: "B", 67: "C", 68: "D", 69: "E", 70: "F", 71: "G", 72: "H", 73: "I", 74: "J", 75: "K", 76: "L", 77: "M", 78: "N", 79: "O", 80: "P", 81: "Q", 82: "R", 83: "S", 84: "T", 85: "U", 86: "V", 87: "W", 88: "X", 89: "Y", 90: "Z", 91: "Meta", 96: "Numpad0", 97: "Numpad1", 98: "Numpad2", 99: "Numpad3", 100: "Numpad4", 101: "Numpad5", 102: "Numpad6", 103: "Numpad7", 104: "Numpad8", 105: "Numpad9", 106: "NumpadMultiply", 107: "NumpadAdd", 109: "NumpadSubtract", 110: "NumpadDecimal", 111: "NumpadDivide", 112: "F1", 113: "F2", 114: "F3", 115: "F4", 116: "F5", 117: "F6", 118: "F7", 119: "F8", 120: "F9", 121: "F10", 122: "F11", 123: "F12", 144: "NumLock", 145: "ScrollLock", 186: ";", 187: "=", 188: ",", 189: "-", 190: ".", 191: "/", 192: "`", 219: "[", 220: "\\", 221: "]", 222: "'" }[t] || "";
2415
+ } }], s && te(i.prototype, s), Object.defineProperty(i, "prototype", { writable: !1 }), i;
2416
+ var i, s;
2417
+ }();
2418
+ function It(i) {
2419
+ return It = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(s) {
2420
+ return typeof s;
2421
+ } : function(s) {
2422
+ return s && typeof Symbol == "function" && s.constructor === Symbol && s !== Symbol.prototype ? "symbol" : typeof s;
2423
+ }, It(i);
2424
+ }
2425
+ function ne(i, s) {
2426
+ for (var t = 0; t < s.length; t++) {
2427
+ var e = s[t];
2428
+ e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(i, $t(e.key), e);
2429
+ }
2430
+ }
2431
+ function Ct(i, s, t) {
2432
+ return (s = $t(s)) in i ? Object.defineProperty(i, s, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : i[s] = t, i;
2433
+ }
2434
+ function $t(i) {
2435
+ var s = function(t, e) {
2436
+ if (It(t) != "object" || !t)
2437
+ return t;
2438
+ var r = t[Symbol.toPrimitive];
2439
+ if (r !== void 0) {
2440
+ var n = r.call(t, e || "default");
2441
+ if (It(n) != "object")
2442
+ return n;
2443
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2444
+ }
2445
+ return (e === "string" ? String : Number)(t);
2446
+ }(i, "string");
2447
+ return It(s) == "symbol" ? s : s + "";
2448
+ }
2449
+ var re = function() {
2450
+ return i = function t(e) {
2451
+ var r = e.utilities, n = e.options;
2452
+ (function(o, a) {
2453
+ if (!(o instanceof a))
2454
+ throw new TypeError("Cannot call a class as a function");
2455
+ })(this, t), Ct(this, "utilities", void 0), Ct(this, "options", void 0), Ct(this, "candidateBoxElement", void 0), Ct(this, "pageIndex", 0), Ct(this, "pageSize", void 0), this.utilities = r, this.options = n, Tt.bindMethods(t, this), this.pageSize = this.utilities.getOptions().layoutCandidatesPageSize || 5;
2456
+ }, s = [{ key: "destroy", value: function() {
2457
+ this.candidateBoxElement && (this.candidateBoxElement.remove(), this.pageIndex = 0);
2458
+ } }, { key: "show", value: function(t) {
2459
+ var e = this, r = t.candidateValue, n = t.targetElement, o = t.onSelect;
2460
+ if (r && r.length) {
2461
+ var a = this.utilities.chunkArray(r.split(" "), this.pageSize);
2462
+ this.renderPage({ candidateListPages: a, targetElement: n, pageIndex: this.pageIndex, nbPages: a.length, onItemSelected: function(c, u) {
2463
+ o(c, u), e.destroy();
2464
+ } });
2465
+ }
2466
+ } }, { key: "renderPage", value: function(t) {
2467
+ var e, r = this, n = t.candidateListPages, o = t.targetElement, a = t.pageIndex, c = t.nbPages, u = t.onItemSelected;
2468
+ (e = this.candidateBoxElement) === null || e === void 0 || e.remove(), this.candidateBoxElement = document.createElement("div"), this.candidateBoxElement.className = "hg-candidate-box";
2469
+ var l = document.createElement("ul");
2470
+ l.className = "hg-candidate-box-list", n[a].forEach(function(y) {
2471
+ var m, b = document.createElement("li"), E = function() {
2472
+ var x = new (r.options.useTouchEvents ? TouchEvent : MouseEvent)("click");
2473
+ return Object.defineProperty(x, "target", { value: b }), x;
2474
+ };
2475
+ b.className = "hg-candidate-box-list-item", b.innerHTML = ((m = r.options.display) === null || m === void 0 ? void 0 : m[y]) || y, r.options.useTouchEvents ? b.ontouchstart = function(x) {
2476
+ return u(y, x || E());
2477
+ } : b.onclick = function() {
2478
+ var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : E();
2479
+ return u(y, x);
2480
+ }, l.appendChild(b);
2481
+ });
2482
+ var d = a > 0, g = document.createElement("div");
2483
+ g.classList.add("hg-candidate-box-prev"), d && g.classList.add("hg-candidate-box-btn-active");
2484
+ var f = function() {
2485
+ d && r.renderPage({ candidateListPages: n, targetElement: o, pageIndex: a - 1, nbPages: c, onItemSelected: u });
2486
+ };
2487
+ this.options.useTouchEvents ? g.ontouchstart = f : g.onclick = f, this.candidateBoxElement.appendChild(g), this.candidateBoxElement.appendChild(l);
2488
+ var h = a < c - 1, p = document.createElement("div");
2489
+ p.classList.add("hg-candidate-box-next"), h && p.classList.add("hg-candidate-box-btn-active");
2490
+ var v = function() {
2491
+ h && r.renderPage({ candidateListPages: n, targetElement: o, pageIndex: a + 1, nbPages: c, onItemSelected: u });
2492
+ };
2493
+ this.options.useTouchEvents ? p.ontouchstart = v : p.onclick = v, this.candidateBoxElement.appendChild(p), o.prepend(this.candidateBoxElement);
2494
+ } }], s && ne(i.prototype, s), Object.defineProperty(i, "prototype", { writable: !1 }), i;
2495
+ var i, s;
2496
+ }(), Gt = re;
2497
+ function Nt(i) {
2498
+ return function(s) {
2499
+ if (Array.isArray(s))
2500
+ return Bt(s);
2501
+ }(i) || function(s) {
2502
+ if (typeof Symbol < "u" && s[Symbol.iterator] != null || s["@@iterator"] != null)
2503
+ return Array.from(s);
2504
+ }(i) || function(s, t) {
2505
+ if (s) {
2506
+ if (typeof s == "string")
2507
+ return Bt(s, t);
2508
+ var e = {}.toString.call(s).slice(8, -1);
2509
+ return e === "Object" && s.constructor && (e = s.constructor.name), e === "Map" || e === "Set" ? Array.from(s) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Bt(s, t) : void 0;
2510
+ }
2511
+ }(i) || function() {
2512
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
2513
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2514
+ }();
2515
+ }
2516
+ function Bt(i, s) {
2517
+ (s == null || s > i.length) && (s = i.length);
2518
+ for (var t = 0, e = Array(s); t < s; t++)
2519
+ e[t] = i[t];
2520
+ return e;
2521
+ }
2522
+ function Ot(i) {
2523
+ return Ot = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(s) {
2524
+ return typeof s;
2525
+ } : function(s) {
2526
+ return s && typeof Symbol == "function" && s.constructor === Symbol && s !== Symbol.prototype ? "symbol" : typeof s;
2527
+ }, Ot(i);
2528
+ }
2529
+ function Vt(i, s) {
2530
+ var t = Object.keys(i);
2531
+ if (Object.getOwnPropertySymbols) {
2532
+ var e = Object.getOwnPropertySymbols(i);
2533
+ s && (e = e.filter(function(r) {
2534
+ return Object.getOwnPropertyDescriptor(i, r).enumerable;
2535
+ })), t.push.apply(t, e);
2536
+ }
2537
+ return t;
2538
+ }
2539
+ function oe(i, s) {
2540
+ for (var t = 0; t < s.length; t++) {
2541
+ var e = s[t];
2542
+ e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(i, Yt(e.key), e);
2543
+ }
2544
+ }
2545
+ function Y(i, s, t) {
2546
+ return (s = Yt(s)) in i ? Object.defineProperty(i, s, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : i[s] = t, i;
2547
+ }
2548
+ function Yt(i) {
2549
+ var s = function(t, e) {
2550
+ if (Ot(t) != "object" || !t)
2551
+ return t;
2552
+ var r = t[Symbol.toPrimitive];
2553
+ if (r !== void 0) {
2554
+ var n = r.call(t, e || "default");
2555
+ if (Ot(n) != "object")
2556
+ return n;
2557
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2558
+ }
2559
+ return (e === "string" ? String : Number)(t);
2560
+ }(i, "string");
2561
+ return Ot(s) == "symbol" ? s : s + "";
2562
+ }
2563
+ var ie = function() {
2564
+ return i = function t(e, r) {
2565
+ var n = this;
2566
+ if (function(f, h) {
2567
+ if (!(f instanceof h))
2568
+ throw new TypeError("Cannot call a class as a function");
2569
+ }(this, t), Y(this, "input", void 0), Y(this, "options", void 0), Y(this, "utilities", void 0), Y(this, "caretPosition", void 0), Y(this, "caretPositionEnd", void 0), Y(this, "keyboardDOM", void 0), Y(this, "keyboardPluginClasses", void 0), Y(this, "keyboardDOMClass", void 0), Y(this, "buttonElements", void 0), Y(this, "currentInstanceName", void 0), Y(this, "allKeyboardInstances", void 0), Y(this, "keyboardInstanceNames", void 0), Y(this, "isFirstKeyboardInstance", void 0), Y(this, "physicalKeyboard", void 0), Y(this, "modules", void 0), Y(this, "activeButtonClass", void 0), Y(this, "holdInteractionTimeout", void 0), Y(this, "holdTimeout", void 0), Y(this, "isMouseHold", void 0), Y(this, "initialized", void 0), Y(this, "candidateBox", void 0), Y(this, "keyboardRowsDOM", void 0), Y(this, "defaultName", "default"), Y(this, "activeInputElement", null), Y(this, "handleParams", function(f, h) {
2570
+ var p, v, y;
2571
+ if (typeof f == "string")
2572
+ p = f.split(".").join(""), v = document.querySelector(".".concat(p)), y = h;
2573
+ else if (f instanceof HTMLDivElement) {
2574
+ if (!f.className)
2575
+ throw console.warn("Any DOM element passed as parameter must have a class."), new Error("KEYBOARD_DOM_CLASS_ERROR");
2576
+ p = f.className.split(" ")[0], v = f, y = h;
2577
+ } else
2578
+ p = "simple-keyboard", v = document.querySelector(".".concat(p)), y = f;
2579
+ return { keyboardDOMClass: p, keyboardDOM: v, options: y };
2580
+ }), Y(this, "getOptions", function() {
2581
+ return n.options;
2582
+ }), Y(this, "getCaretPosition", function() {
2583
+ return n.caretPosition;
2584
+ }), Y(this, "getCaretPositionEnd", function() {
2585
+ return n.caretPositionEnd;
2586
+ }), Y(this, "registerModule", function(f, h) {
2587
+ n.modules[f] || (n.modules[f] = {}), h(n.modules[f]);
2588
+ }), Y(this, "getKeyboardClassString", function() {
2589
+ for (var f = arguments.length, h = new Array(f), p = 0; p < f; p++)
2590
+ h[p] = arguments[p];
2591
+ return [n.keyboardDOMClass].concat(h).filter(function(v) {
2592
+ return !!v;
2593
+ }).join(" ");
2594
+ }), typeof window < "u") {
2595
+ var o = this.handleParams(e, r), a = o.keyboardDOMClass, c = o.keyboardDOM, u = o.options, l = u === void 0 ? {} : u;
2596
+ this.utilities = new Tt({ getOptions: this.getOptions, getCaretPosition: this.getCaretPosition, getCaretPositionEnd: this.getCaretPositionEnd, dispatch: this.dispatch }), this.caretPosition = null, this.caretPositionEnd = null, this.keyboardDOM = c, this.options = function(f) {
2597
+ for (var h = 1; h < arguments.length; h++) {
2598
+ var p = arguments[h] != null ? arguments[h] : {};
2599
+ h % 2 ? Vt(Object(p), !0).forEach(function(v) {
2600
+ Y(f, v, p[v]);
2601
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(f, Object.getOwnPropertyDescriptors(p)) : Vt(Object(p)).forEach(function(v) {
2602
+ Object.defineProperty(f, v, Object.getOwnPropertyDescriptor(p, v));
2603
+ });
2604
+ }
2605
+ return f;
2606
+ }({ layoutName: "default", theme: "hg-theme-default", inputName: "default", preventMouseDownDefault: !1, enableLayoutCandidates: !0, excludeFromLayout: {} }, l), this.keyboardPluginClasses = "", Tt.bindMethods(t, this);
2607
+ var d = this.options.inputName, g = d === void 0 ? this.defaultName : d;
2608
+ if (this.input = {}, this.input[g] = "", this.keyboardDOMClass = a, this.buttonElements = {}, window.SimpleKeyboardInstances || (window.SimpleKeyboardInstances = {}), this.currentInstanceName = this.utilities.camelCase(this.keyboardDOMClass), window.SimpleKeyboardInstances[this.currentInstanceName] = this, this.allKeyboardInstances = window.SimpleKeyboardInstances, this.keyboardInstanceNames = Object.keys(window.SimpleKeyboardInstances), this.isFirstKeyboardInstance = this.keyboardInstanceNames[0] === this.currentInstanceName, this.physicalKeyboard = new ee({ dispatch: this.dispatch, getOptions: this.getOptions }), this.candidateBox = this.options.enableLayoutCandidates ? new Gt({ utilities: this.utilities, options: this.options }) : null, !this.keyboardDOM)
2609
+ throw console.warn('".'.concat(a, '" was not found in the DOM.')), new Error("KEYBOARD_DOM_ERROR");
2610
+ this.render(), this.modules = {}, this.loadModules();
2611
+ }
2612
+ }, s = [{ key: "setCaretPosition", value: function(t) {
2613
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : t;
2614
+ this.caretPosition = t, this.caretPositionEnd = e;
2615
+ } }, { key: "getInputCandidates", value: function(t) {
2616
+ var e = this, r = this.options, n = r.layoutCandidates, o = r.layoutCandidatesCaseSensitiveMatch;
2617
+ if (!n || Ot(n) !== "object")
2618
+ return {};
2619
+ var a = Object.keys(n).filter(function(l) {
2620
+ var d = t.substring(0, e.getCaretPositionEnd() || 0) || t, g = new RegExp("".concat(e.utilities.escapeRegex(l), "$"), o ? "g" : "gi");
2621
+ return !!Nt(d.matchAll(g)).length;
2622
+ });
2623
+ if (a.length > 1) {
2624
+ var c = a.sort(function(l, d) {
2625
+ return d.length - l.length;
2626
+ })[0];
2627
+ return { candidateKey: c, candidateValue: n[c] };
2628
+ }
2629
+ if (a.length) {
2630
+ var u = a[0];
2631
+ return { candidateKey: u, candidateValue: n[u] };
2632
+ }
2633
+ return {};
2634
+ } }, { key: "showCandidatesBox", value: function(t, e, r) {
2635
+ var n = this;
2636
+ this.candidateBox && this.candidateBox.show({ candidateValue: e, targetElement: r, onSelect: function(o, a) {
2637
+ var c = n.options, u = c.layoutCandidatesCaseSensitiveMatch, l = c.disableCandidateNormalization, d = c.enableLayoutCandidatesKeyPress, g = o;
2638
+ l || (g = o.normalize("NFD")), typeof n.options.beforeInputUpdate == "function" && n.options.beforeInputUpdate(n);
2639
+ var f = n.getInput(n.options.inputName, !0), h = n.getCaretPositionEnd() || 0, p = f.substring(0, h || 0) || f, v = new RegExp("".concat(n.utilities.escapeRegex(t), "$"), u ? "g" : "gi"), y = p.replace(v, g), m = f.replace(p, y), b = y.length - p.length, E = (h || f.length) + b;
2640
+ E < 0 && (E = 0), n.setInput(m, n.options.inputName, !0), n.setCaretPosition(E), d && typeof n.options.onKeyPress == "function" && n.options.onKeyPress(o, a), typeof n.options.onChange == "function" && n.options.onChange(n.getInput(n.options.inputName, !0), a), typeof n.options.onChangeAll == "function" && n.options.onChangeAll(n.getAllInputs(), a);
2641
+ } });
2642
+ } }, { key: "handleButtonClicked", value: function(t, e) {
2643
+ var r = this.options, n = r.inputName, o = n === void 0 ? this.defaultName : n, a = r.debug;
2644
+ if (t !== "{//}") {
2645
+ this.input[o] || (this.input[o] = ""), typeof this.options.beforeInputUpdate == "function" && this.options.beforeInputUpdate(this);
2646
+ var c = this.utilities.getUpdatedInput(t, this.input[o], this.caretPosition, this.caretPositionEnd);
2647
+ if (this.utilities.isStandardButton(t) && this.activeInputElement && this.input[o] && this.input[o] === c && this.caretPosition === 0 && this.caretPositionEnd === c.length)
2648
+ return this.setInput("", this.options.inputName, !0), this.setCaretPosition(0), this.activeInputElement.value = "", this.activeInputElement.setSelectionRange(0, 0), void this.handleButtonClicked(t, e);
2649
+ if (typeof this.options.onKeyPress == "function" && this.options.onKeyPress(t, e), this.input[o] !== c && (!this.options.inputPattern || this.options.inputPattern && this.inputPatternIsValid(c))) {
2650
+ if (this.options.maxLength && this.utilities.handleMaxLength(this.input, c))
2651
+ return;
2652
+ var u = this.utilities.getUpdatedInput(t, this.input[o], this.caretPosition, this.caretPositionEnd, !0);
2653
+ if (this.setInput(u, this.options.inputName, !0), a && console.log("Input changed:", this.getAllInputs()), this.options.debug && console.log("Caret at: ", this.getCaretPosition(), this.getCaretPositionEnd(), "(".concat(this.keyboardDOMClass, ")"), e == null ? void 0 : e.type), this.options.syncInstanceInputs && this.syncInstanceInputs(), typeof this.options.onChange == "function" && this.options.onChange(this.getInput(this.options.inputName, !0), e), typeof this.options.onChangeAll == "function" && this.options.onChangeAll(this.getAllInputs(), e), e != null && e.target && this.options.enableLayoutCandidates) {
2654
+ var l, d = this.getInputCandidates(c), g = d.candidateKey, f = d.candidateValue;
2655
+ g && f ? this.showCandidatesBox(g, f, this.keyboardDOM) : (l = this.candidateBox) === null || l === void 0 || l.destroy();
2656
+ }
2657
+ }
2658
+ this.caretPositionEnd && this.caretPosition !== this.caretPositionEnd && (this.setCaretPosition(this.caretPositionEnd, this.caretPositionEnd), this.activeInputElement && this.activeInputElement.setSelectionRange(this.caretPositionEnd, this.caretPositionEnd), this.options.debug && console.log("Caret position aligned", this.caretPosition)), a && console.log("Key pressed:", t);
2659
+ }
2660
+ } }, { key: "getMouseHold", value: function() {
2661
+ return this.isMouseHold;
2662
+ } }, { key: "setMouseHold", value: function(t) {
2663
+ this.options.syncInstanceInputs ? this.dispatch(function(e) {
2664
+ e.isMouseHold = t;
2665
+ }) : this.isMouseHold = t;
2666
+ } }, { key: "handleButtonMouseDown", value: function(t, e) {
2667
+ var r = this;
2668
+ e && (this.options.preventMouseDownDefault && e.preventDefault(), this.options.stopMouseDownPropagation && e.stopPropagation(), e.target.classList.add(this.activeButtonClass)), this.holdInteractionTimeout && clearTimeout(this.holdInteractionTimeout), this.holdTimeout && clearTimeout(this.holdTimeout), this.setMouseHold(!0), this.options.disableButtonHold || (this.holdTimeout = window.setTimeout(function() {
2669
+ (r.getMouseHold() && (!t.includes("{") && !t.includes("}") || t === "{delete}" || t === "{backspace}" || t === "{bksp}" || t === "{space}" || t === "{tab}") || t === "{arrowright}" || t === "{arrowleft}" || t === "{arrowup}" || t === "{arrowdown}") && (r.options.debug && console.log("Button held:", t), r.handleButtonHold(t)), clearTimeout(r.holdTimeout);
2670
+ }, 500));
2671
+ } }, { key: "handleButtonMouseUp", value: function(t, e) {
2672
+ var r = this;
2673
+ e && (this.options.preventMouseUpDefault && e.preventDefault && e.preventDefault(), this.options.stopMouseUpPropagation && e.stopPropagation && e.stopPropagation(), !(e.target === this.keyboardDOM || e.target && this.keyboardDOM.contains(e.target) || this.candidateBox && this.candidateBox.candidateBoxElement && (e.target === this.candidateBox.candidateBoxElement || e.target && this.candidateBox.candidateBoxElement.contains(e.target))) && this.candidateBox && this.candidateBox.destroy()), this.recurseButtons(function(n) {
2674
+ n.classList.remove(r.activeButtonClass);
2675
+ }), this.setMouseHold(!1), this.holdInteractionTimeout && clearTimeout(this.holdInteractionTimeout), t && typeof this.options.onKeyReleased == "function" && this.options.onKeyReleased(t, e);
2676
+ } }, { key: "handleKeyboardContainerMouseDown", value: function(t) {
2677
+ this.options.preventMouseDownDefault && t.preventDefault();
2678
+ } }, { key: "handleButtonHold", value: function(t) {
2679
+ var e = this;
2680
+ this.holdInteractionTimeout && clearTimeout(this.holdInteractionTimeout), this.holdInteractionTimeout = window.setTimeout(function() {
2681
+ e.getMouseHold() ? (e.handleButtonClicked(t), e.handleButtonHold(t)) : clearTimeout(e.holdInteractionTimeout);
2682
+ }, 100);
2683
+ } }, { key: "syncInstanceInputs", value: function() {
2684
+ var t = this;
2685
+ this.dispatch(function(e) {
2686
+ e.replaceInput(t.input), e.setCaretPosition(t.caretPosition, t.caretPositionEnd);
2687
+ });
2688
+ } }, { key: "clearInput", value: function() {
2689
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.options.inputName || this.defaultName;
2690
+ this.input[t] = "", this.setCaretPosition(0), this.options.syncInstanceInputs && this.syncInstanceInputs();
2691
+ } }, { key: "getInput", value: function() {
2692
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.options.inputName || this.defaultName, e = arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
2693
+ return this.options.syncInstanceInputs && !e && this.syncInstanceInputs(), this.options.rtl ? "‫" + this.input[t].replace("‫", "").replace("‬", "") + "‬" : this.input[t];
2694
+ } }, { key: "getAllInputs", value: function() {
2695
+ var t = this, e = {};
2696
+ return Object.keys(this.input).forEach(function(r) {
2697
+ e[r] = t.getInput(r, !0);
2698
+ }), e;
2699
+ } }, { key: "setInput", value: function(t) {
2700
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.inputName || this.defaultName, r = arguments.length > 2 ? arguments[2] : void 0;
2701
+ this.input[e] = t, !r && this.options.syncInstanceInputs && this.syncInstanceInputs();
2702
+ } }, { key: "replaceInput", value: function(t) {
2703
+ this.input = t;
2704
+ } }, { key: "setOptions", value: function() {
2705
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = this.changedOptions(t);
2706
+ this.options = Object.assign(this.options, t), e.length && (this.options.debug && console.log("changedOptions", e), this.onSetOptions(e), this.render());
2707
+ } }, { key: "changedOptions", value: function(t) {
2708
+ var e = this;
2709
+ return Object.keys(t).filter(function(r) {
2710
+ return JSON.stringify(t[r]) !== JSON.stringify(e.options[r]);
2711
+ });
2712
+ } }, { key: "onSetOptions", value: function() {
2713
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
2714
+ t.includes("layoutName") && this.candidateBox && this.candidateBox.destroy(), (t.includes("layoutCandidatesPageSize") || t.includes("layoutCandidates")) && this.candidateBox && (this.candidateBox.destroy(), this.candidateBox = new Gt({ utilities: this.utilities, options: this.options }));
2715
+ } }, { key: "resetRows", value: function() {
2716
+ this.keyboardRowsDOM && this.keyboardRowsDOM.remove(), this.keyboardDOM.className = this.keyboardDOMClass, this.keyboardDOM.setAttribute("data-skInstance", this.currentInstanceName), this.buttonElements = {};
2717
+ } }, { key: "dispatch", value: function(t) {
2718
+ if (!window.SimpleKeyboardInstances)
2719
+ throw console.warn("SimpleKeyboardInstances is not defined. Dispatch cannot be called."), new Error("INSTANCES_VAR_ERROR");
2720
+ return Object.keys(window.SimpleKeyboardInstances).forEach(function(e) {
2721
+ t(window.SimpleKeyboardInstances[e], e);
2722
+ });
2723
+ } }, { key: "addButtonTheme", value: function(t, e) {
2724
+ var r = this;
2725
+ e && t && (t.split(" ").forEach(function(n) {
2726
+ e.split(" ").forEach(function(o) {
2727
+ r.options.buttonTheme || (r.options.buttonTheme = []);
2728
+ var a = !1;
2729
+ r.options.buttonTheme.map(function(c) {
2730
+ if (c != null && c.class.split(" ").includes(o)) {
2731
+ a = !0;
2732
+ var u = c.buttons.split(" ");
2733
+ u.includes(n) || (a = !0, u.push(n), c.buttons = u.join(" "));
2734
+ }
2735
+ return c;
2736
+ }), a || r.options.buttonTheme.push({ class: o, buttons: t });
2737
+ });
2738
+ }), this.render());
2739
+ } }, { key: "removeButtonTheme", value: function(t, e) {
2740
+ var r = this;
2741
+ if (!t && !e)
2742
+ return this.options.buttonTheme = [], void this.render();
2743
+ t && Array.isArray(this.options.buttonTheme) && this.options.buttonTheme.length && (t.split(" ").forEach(function(n) {
2744
+ var o;
2745
+ (o = r.options) === null || o === void 0 || (o = o.buttonTheme) === null || o === void 0 || o.map(function(a, c) {
2746
+ if (a && e && e.includes(a.class) || !e) {
2747
+ var u, l, d = (u = a) === null || u === void 0 ? void 0 : u.buttons.split(" ").filter(function(g) {
2748
+ return g !== n;
2749
+ });
2750
+ a && d != null && d.length ? a.buttons = d.join(" ") : ((l = r.options.buttonTheme) === null || l === void 0 || l.splice(c, 1), a = null);
2751
+ }
2752
+ return a;
2753
+ });
2754
+ }), this.render());
2755
+ } }, { key: "getButtonElement", value: function(t) {
2756
+ var e, r = this.buttonElements[t];
2757
+ return r && (e = r.length > 1 ? r : r[0]), e;
2758
+ } }, { key: "inputPatternIsValid", value: function(t) {
2759
+ var e, r = this.options.inputPattern;
2760
+ if ((e = r instanceof RegExp ? r : r[this.options.inputName || this.defaultName]) && t) {
2761
+ var n = e.test(t);
2762
+ return this.options.debug && console.log('inputPattern ("'.concat(e, '"): ').concat(n ? "passed" : "did not pass!")), n;
2763
+ }
2764
+ return !0;
2765
+ } }, { key: "setEventListeners", value: function() {
2766
+ if (this.isFirstKeyboardInstance || !this.allKeyboardInstances) {
2767
+ this.options.debug && console.log("Caret handling started (".concat(this.keyboardDOMClass, ")"));
2768
+ var t = this.options.physicalKeyboardHighlightPreventDefault, e = t !== void 0 && t;
2769
+ document.addEventListener("keyup", this.handleKeyUp, e), document.addEventListener("keydown", this.handleKeyDown, e), document.addEventListener("mouseup", this.handleMouseUp), document.addEventListener("touchend", this.handleTouchEnd), this.options.updateCaretOnSelectionChange && document.addEventListener("selectionchange", this.handleSelectionChange), document.addEventListener("select", this.handleSelect);
2770
+ }
2771
+ } }, { key: "handleKeyUp", value: function(t) {
2772
+ this.caretEventHandler(t), this.options.physicalKeyboardHighlight && this.physicalKeyboard.handleHighlightKeyUp(t);
2773
+ } }, { key: "handleKeyDown", value: function(t) {
2774
+ this.options.physicalKeyboardHighlight && this.physicalKeyboard.handleHighlightKeyDown(t);
2775
+ } }, { key: "handleMouseUp", value: function(t) {
2776
+ this.caretEventHandler(t);
2777
+ } }, { key: "handleTouchEnd", value: function(t) {
2778
+ this.caretEventHandler(t);
2779
+ } }, { key: "handleSelect", value: function(t) {
2780
+ this.caretEventHandler(t);
2781
+ } }, { key: "handleSelectionChange", value: function(t) {
2782
+ navigator.userAgent.includes("Firefox") || this.caretEventHandler(t);
2783
+ } }, { key: "caretEventHandler", value: function(t) {
2784
+ var e, r = this;
2785
+ t.target.tagName && (e = t.target.tagName.toLowerCase()), this.dispatch(function(n) {
2786
+ var o = t.target === n.keyboardDOM || t.target && n.keyboardDOM.contains(t.target);
2787
+ if (r.options.syncInstanceInputs && Array.isArray(t.path) && (o = t.path.some(function(u) {
2788
+ var l;
2789
+ return u == null || (l = u.hasAttribute) === null || l === void 0 ? void 0 : l.call(u, "data-skInstance");
2790
+ })), (e === "textarea" || e === "input" && ["text", "search", "url", "tel", "password"].includes(t.target.type)) && !n.options.disableCaretPositioning) {
2791
+ var a = t.target.selectionStart, c = t.target.selectionEnd;
2792
+ n.options.rtl && (a = n.utilities.getRtlOffset(a, n.getInput()), c = n.utilities.getRtlOffset(c, n.getInput())), n.setCaretPosition(a, c), n.activeInputElement = t.target, n.options.debug && console.log("Caret at: ", n.getCaretPosition(), n.getCaretPositionEnd(), t && t.target.tagName.toLowerCase(), "(".concat(n.keyboardDOMClass, ")"), t == null ? void 0 : t.type);
2793
+ } else
2794
+ !n.options.disableCaretPositioning && o || (t == null ? void 0 : t.type) === "selectionchange" || (n.setCaretPosition(null), n.activeInputElement = null, n.options.debug && console.log('Caret position reset due to "'.concat(t == null ? void 0 : t.type, '" event'), t));
2795
+ });
2796
+ } }, { key: "recurseButtons", value: function(t) {
2797
+ var e = this;
2798
+ t && Object.keys(this.buttonElements).forEach(function(r) {
2799
+ return e.buttonElements[r].forEach(t);
2800
+ });
2801
+ } }, { key: "destroy", value: function() {
2802
+ this.options.debug && console.log("Destroying simple-keyboard instance: ".concat(this.currentInstanceName));
2803
+ var t = this.options.physicalKeyboardHighlightPreventDefault, e = t !== void 0 && t;
2804
+ document.removeEventListener("keyup", this.handleKeyUp, e), document.removeEventListener("keydown", this.handleKeyDown, e), document.removeEventListener("mouseup", this.handleMouseUp), document.removeEventListener("touchend", this.handleTouchEnd), document.removeEventListener("select", this.handleSelect), this.options.updateCaretOnSelectionChange && document.removeEventListener("selectionchange", this.handleSelectionChange), document.onpointerup = null, document.ontouchend = null, document.ontouchcancel = null, document.onmouseup = null, this.recurseButtons(function(r) {
2805
+ r && (r.onpointerdown = null, r.onpointerup = null, r.onpointercancel = null, r.ontouchstart = null, r.ontouchend = null, r.ontouchcancel = null, r.onclick = null, r.onmousedown = null, r.onmouseup = null, r.remove(), r = null);
2806
+ }), this.keyboardDOM.onpointerdown = null, this.keyboardDOM.ontouchstart = null, this.keyboardDOM.onmousedown = null, this.resetRows(), this.candidateBox && (this.candidateBox.destroy(), this.candidateBox = null), this.activeInputElement = null, this.keyboardDOM.removeAttribute("data-skInstance"), this.keyboardDOM.innerHTML = "", window.SimpleKeyboardInstances[this.currentInstanceName] = null, delete window.SimpleKeyboardInstances[this.currentInstanceName], this.initialized = !1;
2807
+ } }, { key: "getButtonThemeClasses", value: function(t) {
2808
+ var e = this.options.buttonTheme, r = [];
2809
+ return Array.isArray(e) && e.forEach(function(n) {
2810
+ if (n && n.class && typeof n.class == "string" && n.buttons && typeof n.buttons == "string") {
2811
+ var o = n.class.split(" ");
2812
+ n.buttons.split(" ").includes(t) && (r = [].concat(Nt(r), Nt(o)));
2813
+ } else
2814
+ console.warn('Incorrect "buttonTheme". Please check the documentation.', n);
2815
+ }), r;
2816
+ } }, { key: "setDOMButtonAttributes", value: function(t, e) {
2817
+ var r = this.options.buttonAttributes;
2818
+ Array.isArray(r) && r.forEach(function(n) {
2819
+ n.attribute && typeof n.attribute == "string" && n.value && typeof n.value == "string" && n.buttons && typeof n.buttons == "string" ? n.buttons.split(" ").includes(t) && e(n.attribute, n.value) : console.warn('Incorrect "buttonAttributes". Please check the documentation.', n);
2820
+ });
2821
+ } }, { key: "onTouchDeviceDetected", value: function() {
2822
+ this.processAutoTouchEvents(), this.disableContextualWindow();
2823
+ } }, { key: "disableContextualWindow", value: function() {
2824
+ window.oncontextmenu = function(t) {
2825
+ if (t.target.classList.contains("hg-button"))
2826
+ return t.preventDefault(), t.stopPropagation(), !1;
2827
+ };
2828
+ } }, { key: "processAutoTouchEvents", value: function() {
2829
+ this.options.autoUseTouchEvents && (this.options.useTouchEvents = !0, this.options.debug && console.log("autoUseTouchEvents: Touch device detected, useTouchEvents enabled."));
2830
+ } }, { key: "onInit", value: function() {
2831
+ this.options.debug && console.log("".concat(this.keyboardDOMClass, " Initialized")), this.setEventListeners(), typeof this.options.onInit == "function" && this.options.onInit(this);
2832
+ } }, { key: "beforeFirstRender", value: function() {
2833
+ this.utilities.isTouchDevice() && this.onTouchDeviceDetected(), typeof this.options.beforeFirstRender == "function" && this.options.beforeFirstRender(this), this.isFirstKeyboardInstance && this.utilities.pointerEventsSupported() && !this.options.useTouchEvents && !this.options.useMouseEvents && this.options.debug && console.log("Using PointerEvents as it is supported by this browser"), this.options.useTouchEvents && this.options.debug && console.log("useTouchEvents has been enabled. Only touch events will be used.");
2834
+ } }, { key: "beforeRender", value: function() {
2835
+ typeof this.options.beforeRender == "function" && this.options.beforeRender(this);
2836
+ } }, { key: "onRender", value: function() {
2837
+ typeof this.options.onRender == "function" && this.options.onRender(this);
2838
+ } }, { key: "onModulesLoaded", value: function() {
2839
+ typeof this.options.onModulesLoaded == "function" && this.options.onModulesLoaded(this);
2840
+ } }, { key: "loadModules", value: function() {
2841
+ var t = this;
2842
+ Array.isArray(this.options.modules) && (this.options.modules.forEach(function(e) {
2843
+ var r = t.utilities.isConstructor(e) ? new e(t) : e(t);
2844
+ r.init && r.init(t);
2845
+ }), this.keyboardPluginClasses = "modules-loaded", this.render(), this.onModulesLoaded());
2846
+ } }, { key: "getModuleProp", value: function(t, e) {
2847
+ return !!this.modules[t] && this.modules[t][e];
2848
+ } }, { key: "getModulesList", value: function() {
2849
+ return Object.keys(this.modules);
2850
+ } }, { key: "parseRowDOMContainers", value: function(t, e, r, n) {
2851
+ var o = this, a = Array.from(t.children), c = 0;
2852
+ return a.length && r.forEach(function(u, l) {
2853
+ var d = n[l];
2854
+ if (!(d && d > u))
2855
+ return !1;
2856
+ var g = u - c, f = d - c, h = document.createElement("div");
2857
+ h.className += "hg-button-container";
2858
+ var p = "".concat(o.options.layoutName, "-r").concat(e, "c").concat(l);
2859
+ h.setAttribute("data-skUID", p);
2860
+ var v = a.splice(g, f - g + 1);
2861
+ c += f - g, v.forEach(function(y) {
2862
+ return h.appendChild(y);
2863
+ }), a.splice(g, 0, h), t.innerHTML = "", a.forEach(function(y) {
2864
+ return t.appendChild(y);
2865
+ }), o.options.debug && console.log("rowDOMContainer", v, g, f, c + 1);
2866
+ }), t;
2867
+ } }, { key: "render", value: function() {
2868
+ var t = this;
2869
+ this.resetRows(), this.initialized || this.beforeFirstRender(), this.beforeRender();
2870
+ var e = "hg-layout-".concat(this.options.layoutName), r = this.options.layout || { default: ["` 1 2 3 4 5 6 7 8 9 0 - = {bksp}", "{tab} q w e r t y u i o p [ ] \\", "{lock} a s d f g h j k l ; ' {enter}", "{shift} z x c v b n m , . / {shift}", ".com @ {space}"], shift: ["~ ! @ # $ % ^ & * ( ) _ + {bksp}", "{tab} Q W E R T Y U I O P { } |", '{lock} A S D F G H J K L : " {enter}', "{shift} Z X C V B N M < > ? {shift}", ".com @ {space}"] }, n = this.options.useTouchEvents || !1, o = n ? "hg-touch-events" : "", a = this.options.useMouseEvents || !1, c = this.options.disableRowButtonContainers;
2871
+ this.keyboardDOM.className = this.getKeyboardClassString(this.options.theme, e, this.keyboardPluginClasses, o), this.keyboardDOM.setAttribute("data-skInstance", this.currentInstanceName), this.keyboardRowsDOM = document.createElement("div"), this.keyboardRowsDOM.className = "hg-rows", r[this.options.layoutName || this.defaultName].forEach(function(u, l) {
2872
+ var d = u.split(" ");
2873
+ t.options.excludeFromLayout && t.options.excludeFromLayout[t.options.layoutName || t.defaultName] && (d = d.filter(function(p) {
2874
+ return t.options.excludeFromLayout && !t.options.excludeFromLayout[t.options.layoutName || t.defaultName].includes(p);
2875
+ }));
2876
+ var g = document.createElement("div");
2877
+ g.className += "hg-row";
2878
+ var f = [], h = [];
2879
+ d.forEach(function(p, v) {
2880
+ var y, m = !c && typeof p == "string" && p.length > 1 && p.indexOf("[") === 0, b = !c && typeof p == "string" && p.length > 1 && p.indexOf("]") === p.length - 1;
2881
+ m && (f.push(v), p = p.replace(/\[/g, "")), b && (h.push(v), p = p.replace(/\]/g, ""));
2882
+ var E = t.utilities.getButtonClass(p), x = t.utilities.getButtonDisplayName(p, t.options.display, t.options.mergeDisplay), k = t.options.useButtonTag ? "button" : "div", w = document.createElement(k);
2883
+ w.className += "hg-button ".concat(E), (y = w.classList).add.apply(y, Nt(t.getButtonThemeClasses(p))), t.setDOMButtonAttributes(p, function(S, I) {
2884
+ w.setAttribute(S, I);
2885
+ }), t.activeButtonClass = "hg-activeButton", !t.utilities.pointerEventsSupported() || n || a ? n ? (w.ontouchstart = function(S) {
2886
+ t.handleButtonClicked(p, S), t.handleButtonMouseDown(p, S);
2887
+ }, w.ontouchend = function(S) {
2888
+ t.handleButtonMouseUp(p, S);
2889
+ }, w.ontouchcancel = function(S) {
2890
+ t.handleButtonMouseUp(p, S);
2891
+ }) : (w.onclick = function(S) {
2892
+ t.setMouseHold(!1), typeof t.options.onKeyReleased == "function" || t.options.useMouseEvents && t.options.clickOnMouseDown || t.handleButtonClicked(p, S);
2893
+ }, w.onmousedown = function(S) {
2894
+ (typeof t.options.onKeyReleased == "function" || t.options.useMouseEvents && t.options.clickOnMouseDown) && !t.isMouseHold && t.handleButtonClicked(p, S), t.handleButtonMouseDown(p, S);
2895
+ }, w.onmouseup = function(S) {
2896
+ t.handleButtonMouseUp(p, S);
2897
+ }) : (w.onpointerdown = function(S) {
2898
+ t.handleButtonClicked(p, S), t.handleButtonMouseDown(p, S);
2899
+ }, w.onpointerup = function(S) {
2900
+ t.handleButtonMouseUp(p, S);
2901
+ }, w.onpointercancel = function(S) {
2902
+ t.handleButtonMouseUp(p, S);
2903
+ }), w.setAttribute("data-skBtn", p);
2904
+ var O = "".concat(t.options.layoutName, "-r").concat(l, "b").concat(v);
2905
+ w.setAttribute("data-skBtnUID", O);
2906
+ var C = document.createElement("span");
2907
+ C.innerHTML = x, w.appendChild(C), t.buttonElements[p] || (t.buttonElements[p] = []), t.buttonElements[p].push(w), g.appendChild(w);
2908
+ }), g = t.parseRowDOMContainers(g, l, f, h), t.keyboardRowsDOM.appendChild(g);
2909
+ }), this.keyboardDOM.appendChild(this.keyboardRowsDOM), this.onRender(), this.initialized || (this.initialized = !0, !this.utilities.pointerEventsSupported() || n || a ? n ? (document.ontouchend = function(u) {
2910
+ return t.handleButtonMouseUp(void 0, u);
2911
+ }, document.ontouchcancel = function(u) {
2912
+ return t.handleButtonMouseUp(void 0, u);
2913
+ }, this.keyboardDOM.ontouchstart = function(u) {
2914
+ return t.handleKeyboardContainerMouseDown(u);
2915
+ }) : n || (document.onmouseup = function(u) {
2916
+ return t.handleButtonMouseUp(void 0, u);
2917
+ }, this.keyboardDOM.onmousedown = function(u) {
2918
+ return t.handleKeyboardContainerMouseDown(u);
2919
+ }) : (document.onpointerup = function(u) {
2920
+ return t.handleButtonMouseUp(void 0, u);
2921
+ }, this.keyboardDOM.onpointerdown = function(u) {
2922
+ return t.handleKeyboardContainerMouseDown(u);
2923
+ }), this.onInit());
2924
+ } }], s && oe(i.prototype, s), Object.defineProperty(i, "prototype", { writable: !1 }), i;
2925
+ var i, s;
2926
+ }(), qt = ie, ae = qt;
2927
+ return kt;
2928
+ }();
2929
+ });
2930
+ });
2931
+ const pe = /* @__PURE__ */ fe(de), Qt = {
2932
+ default: [
2933
+ "1 2 3 4 5 6 7 8 9 0 {bksp}",
2934
+ "q w e r t y u i o p",
2935
+ "a s d f g h j k l",
2936
+ "z x c v b n m . - &",
2937
+ "{space}"
2938
+ ]
2939
+ }, he = {
2940
+ default: [
2941
+ "1 2 3 4 5 6 7 8 9 0 {bksp}",
2942
+ "q w e r t y u i o p å",
2943
+ "a s d f g h j k l æ ø",
2944
+ "z x c v b n m . - &",
2945
+ "{space}"
2946
+ ]
2947
+ }, ge = {
2948
+ default: [
2949
+ "1 2 3 4 5 6 7 8 9 0 {bksp}",
2950
+ "q w e r t z u i o p ü",
2951
+ "a s d f g h j k l ö ä",
2952
+ "y x c v b n m . - &",
2953
+ "{space}"
2954
+ ]
2955
+ }, ve = {
2956
+ default: [
2957
+ "1 2 3 4 5 6 7 8 9 0 {bksp}",
2958
+ "a z e r t y u i o p",
2959
+ "q s d f g h j k l m",
2960
+ "w x c v b n . - &",
2961
+ "{space}"
2962
+ ]
2963
+ }, ye = {
2964
+ default: [
2965
+ "1 2 3 4 5 6 7 8 9 0 {bksp}",
2966
+ "a z e r t y u i o p é",
2967
+ "q s d f g h j k l ò à ù",
2968
+ "w x c v b n m . - &",
2969
+ "{space}"
2970
+ ]
2971
+ }, me = {
2972
+ default: [
2973
+ "1 2 3 4 5 6 7 8 9 0 {bksp}",
2974
+ "a z e r t y u i o p",
2975
+ "q s d f g h j k l ń",
2976
+ "w x c v b n m . - &",
2977
+ "{space}"
2978
+ ]
2979
+ }, be = {
2980
+ default: [
2981
+ "1 2 3 4 5 6 7 8 9 0 {bksp}",
2982
+ "q w e r t y u i o p",
2983
+ "a s d f g h j k l",
2984
+ "z x c v b n m . - &",
2985
+ "{space}"
2986
+ ]
2987
+ }, xe = {
2988
+ default: [
2989
+ "1 2 3 4 5 6 7 8 9 0 {bksp}",
2990
+ "q w e r t y u i o p",
2991
+ "a s d f g h j k l",
2992
+ "z x c v b n m . - &",
2993
+ "{space}"
2994
+ ]
2995
+ }, Kt = Qt;
2996
+ var Dt;
2997
+ (function(X) {
2998
+ X.Numeric = "numeric", X.Alphabetic = "alphabetic";
2999
+ })(Dt || (Dt = {}));
3000
+ const we = {
3001
+ default: ["1 2 3", "4 5 6", "7 8 9", "0 {bksp}"]
3002
+ }, Ee = `/*!
3003
+ *
3004
+ * simple-keyboard v3.8.58
3005
+ * https://github.com/hodgef/simple-keyboard
3006
+ *
3007
+ * Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
3008
+ *
3009
+ * This source code is licensed under the MIT license found in the
3010
+ * LICENSE file in the root directory of this source tree.
3011
+ *
3012
+ */.hg-theme-default{background-color:#ececec;border-radius:5px;box-sizing:border-box;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;overflow:hidden;padding:5px;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.hg-theme-default .hg-button span,.hg-theme-default .hg-button span svg{pointer-events:none}.hg-theme-default button.hg-button{border-width:0;font-size:inherit;outline:0}.hg-theme-default .hg-button{display:inline-block;flex-grow:1}.hg-theme-default .hg-row{display:flex}.hg-theme-default .hg-row:not(:last-child){margin-bottom:5px}.hg-theme-default .hg-row .hg-button-container,.hg-theme-default .hg-row .hg-button:not(:last-child){margin-right:5px}.hg-theme-default .hg-row>div:last-child{margin-right:0}.hg-theme-default .hg-row .hg-button-container{display:flex}.hg-theme-default .hg-button{align-items:center;background:#fff;border-bottom:1px solid #b5b5b5;border-radius:5px;box-shadow:0 0 3px -1px rgba(0,0,0,.3);box-sizing:border-box;cursor:pointer;display:flex;height:40px;justify-content:center;padding:5px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.hg-theme-default .hg-button.hg-standardBtn{width:20px}.hg-theme-default .hg-button.hg-activeButton{background:#efefef}.hg-theme-default.hg-layout-numeric .hg-button{align-items:center;display:flex;height:60px;justify-content:center;width:33.3%}.hg-theme-default .hg-button.hg-button-numpadadd,.hg-theme-default .hg-button.hg-button-numpadenter{height:85px}.hg-theme-default .hg-button.hg-button-numpad0{width:105px}.hg-theme-default .hg-button.hg-button-com{max-width:85px}.hg-theme-default .hg-button.hg-standardBtn.hg-button-at{max-width:45px}.hg-theme-default .hg-button.hg-selectedButton{background:rgba(5,25,70,.53);color:#fff}.hg-theme-default .hg-button.hg-standardBtn[data-skbtn=".com"]{max-width:82px}.hg-theme-default .hg-button.hg-standardBtn[data-skbtn="@"]{max-width:60px}.hg-candidate-box{background:#ececec;border-bottom:2px solid #b5b5b5;border-radius:5px;display:inline-flex;margin-top:-10px;position:absolute;transform:translateY(-100%);-webkit-user-select:none;-moz-user-select:none;user-select:none}ul.hg-candidate-box-list{display:flex;flex:1;list-style:none;margin:0;padding:0}li.hg-candidate-box-list-item{align-items:center;display:flex;height:40px;justify-content:center;width:40px}li.hg-candidate-box-list-item:hover{background:rgba(0,0,0,.03);cursor:pointer}li.hg-candidate-box-list-item:active{background:rgba(0,0,0,.1)}.hg-candidate-box-prev:before{content:"◄"}.hg-candidate-box-next:before{content:"►"}.hg-candidate-box-next,.hg-candidate-box-prev{align-items:center;color:#969696;cursor:pointer;display:flex;padding:0 10px}.hg-candidate-box-next{border-bottom-right-radius:5px;border-top-right-radius:5px}.hg-candidate-box-prev{border-bottom-left-radius:5px;border-top-left-radius:5px}.hg-candidate-box-btn-active{color:#444}mi-keyboard{display:block}mi-keyboard .hg-theme-default{background-color:transparent}`, Oe = class {
3013
+ constructor(X) {
3014
+ se(this, X), this.inputElements = /* @__PURE__ */ new Set(), this.inputElement = void 0, this.layout = Dt.Alphabetic, this.language = void 0;
3015
+ }
3016
+ inputElementChange() {
3017
+ if (!this.inputElement.hasAttribute("id")) {
3018
+ console.warn("MI-KEYBOARD: Invalid id attribute");
3019
+ return;
3020
+ }
3021
+ this.simpleKeyboard && (this.simpleKeyboard.setOptions({ inputName: this.inputElement.id }), this.simpleKeyboard.setInput(this.inputElement.value, this.inputElement.id)), this.inputElements.has(this.inputElement) || (this.inputElements.add(this.inputElement), ["input", "focus", "blur", "inputCleared"].forEach((dt) => {
3022
+ this.inputElement.addEventListener(dt, () => {
3023
+ this.simpleKeyboard.setInput(this.inputElement.value, this.inputElement.id);
3024
+ });
3025
+ }));
3026
+ }
3027
+ layoutChange() {
3028
+ this.simpleKeyboard && this.simpleKeyboard.setOptions({ layout: this.getKeyboardLayout(this.layout) });
3029
+ }
3030
+ languageChange() {
3031
+ this.simpleKeyboard.setOptions({
3032
+ layout: this.getKeyboardLayout(this.layout)
3033
+ });
3034
+ }
3035
+ componentDidLoad() {
3036
+ this.simpleKeyboard = new pe({
3037
+ onChange: (X) => {
3038
+ this.inputElement && (this.inputElement.value = X, this.inputElement.dispatchEvent(new Event("input", { bubbles: !0, cancelable: !0 })));
3039
+ },
3040
+ layout: this.getKeyboardLayout(this.layout),
3041
+ display: {
3042
+ "{bksp}": "&#9003;",
3043
+ "{enter}": "return",
3044
+ "{space}": "space"
3045
+ },
3046
+ theme: "hg-theme-default hg-layout-numeric numeric-theme"
3047
+ }), this.simpleKeyboard.setInput(this.inputElement.value);
3048
+ }
3049
+ /**
3050
+ * Clear the input field.
3051
+ */
3052
+ clearInputField() {
3053
+ this.simpleKeyboard.clearInput();
3054
+ }
3055
+ /**
3056
+ * Check validity of keyboard layout.
3057
+ *
3058
+ * @param {layout} string
3059
+ * @returns {boolean}
3060
+ */
3061
+ isValidLayout(X) {
3062
+ return X ? !!Object.values(Dt).find((dt) => dt === X) : !1;
3063
+ }
3064
+ /**
3065
+ * Get keyboard layout. Defaults to alphabetic.
3066
+ *
3067
+ * @param {KeyboardLayout} keyboardLayout - Accepts values of KeyboardLayout enum, eg. 'numeric' or 'alphabetic'.
3068
+ * @returns {{ [key: string]: string[]; }}
3069
+ */
3070
+ getKeyboardLayout(X) {
3071
+ if (!this.isValidLayout(X))
3072
+ return console.warn("MI-KEYBOARD: Invalid layout attribute"), Kt;
3073
+ if (X === Dt.Numeric)
3074
+ return we;
3075
+ const dt = this.language || window.navigator.language;
3076
+ if (!dt)
3077
+ return Kt;
3078
+ const vt = [
3079
+ { layout: Qt, languages: ["en", "en-us"] },
3080
+ { layout: he, languages: ["da", "da-dk"] },
3081
+ { layout: ve, languages: ["fr", "fr-fr"] },
3082
+ { layout: ge, languages: ["de", "de-de"] },
3083
+ { layout: ye, languages: ["it", "it-it"] },
3084
+ { layout: me, languages: ["es", "es-es"] },
3085
+ { layout: be, languages: ["nl", "nl-nl"] },
3086
+ { layout: xe, languages: ["zh", "zh-CN"] }
3087
+ ].find((L) => !!L.languages.find((kt) => kt === dt.toLowerCase()));
3088
+ return vt ? vt.layout : Kt;
3089
+ }
3090
+ /**
3091
+ * Render on-screen keyboard.
3092
+ *
3093
+ * @returns {JSX.Element}
3094
+ */
3095
+ render() {
3096
+ return ue("div", { class: "simple-keyboard" });
3097
+ }
3098
+ static get watchers() {
3099
+ return {
3100
+ inputElement: ["inputElementChange"],
3101
+ layout: ["layoutChange"],
3102
+ language: ["languageChange"]
3103
+ };
3104
+ }
3105
+ };
3106
+ Oe.style = Ee;
3107
+ export {
3108
+ Oe as mi_keyboard
3109
+ };
3110
+ //# sourceMappingURL=mi-keyboard.entry-a66c0ab4.mjs.map