@thednp/shorty 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/shorty.mjs CHANGED
@@ -1,68 +1,68 @@
1
- const pe = "aria-checked", me = "aria-description", fe = "aria-describedby", ge = "aria-expanded", ve = "aria-haspopup", Ee = "aria-hidden", be = "aria-label", he = "aria-labelledby", ye = "aria-modal", we = "aria-pressed", Ae = "aria-selected", Se = "aria-valuemin", Ne = "aria-valuemax", ke = "aria-valuenow", Me = "aria-valuetext", q = "abort", G = "beforeunload", J = "blur", K = "change", X = "contextmenu", P = "DOMContentLoaded", Y = "DOMMouseScroll", Z = "error", $ = "focus", _ = "focusin", tt = "focusout", et = "gesturechange", nt = "gestureend", ot = "gesturestart", st = "keydown", ct = "keypress", rt = "keyup", at = "load", it = "click", ut = "dblclick", lt = "mousedown", dt = "mouseup", pt = "hover", mt = "mouseenter", ft = "mouseleave", gt = "mousein", vt = "mouseout", Et = "mouseover", bt = "mousemove", ht = "mousewheel", yt = "move", wt = "orientationchange", At = "pointercancel", St = "pointerdown", Nt = "pointerleave", kt = "pointermove", Mt = "pointerup", Tt = "readystatechange", Dt = "reset", Ct = "resize", Ot = "select", Lt = "selectend", It = "selectstart", zt = "scroll", xt = "submit", Vt = "touchstart", Bt = "touchmove", Ht = "touchcancel", Pt = "touchend", Ft = "unload", Te = {
1
+ const he = "aria-checked", ye = "aria-description", we = "aria-describedby", Ae = "aria-expanded", Se = "aria-haspopup", X = "aria-hidden", Ne = "aria-label", Me = "aria-labelledby", Te = "aria-modal", ke = "aria-pressed", De = "aria-selected", Ce = "aria-valuemin", Oe = "aria-valuemax", Le = "aria-valuenow", Ie = "aria-valuetext", Y = "abort", Z = "beforeunload", $ = "blur", _ = "change", tt = "contextmenu", P = "DOMContentLoaded", et = "DOMMouseScroll", nt = "error", ot = "focus", st = "focusin", ct = "focusout", rt = "gesturechange", at = "gestureend", it = "gesturestart", ut = "keydown", lt = "keypress", dt = "keyup", pt = "load", ft = "click", mt = "dblclick", gt = "mousedown", vt = "mouseup", Et = "hover", bt = "mouseenter", ht = "mouseleave", yt = "mousein", wt = "mouseout", At = "mouseover", St = "mousemove", Nt = "mousewheel", Mt = "move", Tt = "orientationchange", kt = "pointercancel", Dt = "pointerdown", Ct = "pointerleave", Ot = "pointermove", Lt = "pointerup", It = "readystatechange", xt = "reset", zt = "resize", Vt = "select", Bt = "selectend", Ft = "selectstart", Ht = "scroll", Pt = "submit", Ut = "touchstart", Wt = "touchmove", Rt = "touchcancel", Qt = "touchend", jt = "unload", xe = {
2
2
  DOMContentLoaded: P,
3
- DOMMouseScroll: Y,
4
- abort: q,
5
- beforeunload: G,
6
- blur: J,
7
- change: K,
8
- click: it,
9
- contextmenu: X,
10
- dblclick: ut,
11
- error: Z,
12
- focus: $,
13
- focusin: _,
14
- focusout: tt,
15
- gesturechange: et,
16
- gestureend: nt,
17
- gesturestart: ot,
18
- hover: pt,
19
- keydown: st,
20
- keypress: ct,
21
- keyup: rt,
22
- load: at,
23
- mousedown: lt,
24
- mousemove: bt,
25
- mousein: gt,
26
- mouseout: vt,
27
- mouseenter: mt,
28
- mouseleave: ft,
29
- mouseover: Et,
30
- mouseup: dt,
31
- mousewheel: ht,
32
- move: yt,
33
- orientationchange: wt,
34
- pointercancel: At,
35
- pointerdown: St,
36
- pointerleave: Nt,
37
- pointermove: kt,
38
- pointerup: Mt,
39
- readystatechange: Tt,
40
- reset: Dt,
41
- resize: Ct,
42
- scroll: zt,
43
- select: Ot,
44
- selectend: Lt,
45
- selectstart: It,
46
- submit: xt,
47
- touchcancel: Ht,
48
- touchend: Pt,
49
- touchmove: Bt,
50
- touchstart: Vt,
51
- unload: Ft
52
- }, De = "drag", Ce = "dragstart", Oe = "dragenter", Le = "dragleave", Ie = "dragover", ze = "dragend", xe = "loadstart", Ve = {
3
+ DOMMouseScroll: et,
4
+ abort: Y,
5
+ beforeunload: Z,
6
+ blur: $,
7
+ change: _,
8
+ click: ft,
9
+ contextmenu: tt,
10
+ dblclick: mt,
11
+ error: nt,
12
+ focus: ot,
13
+ focusin: st,
14
+ focusout: ct,
15
+ gesturechange: rt,
16
+ gestureend: at,
17
+ gesturestart: it,
18
+ hover: Et,
19
+ keydown: ut,
20
+ keypress: lt,
21
+ keyup: dt,
22
+ load: pt,
23
+ mousedown: gt,
24
+ mousemove: St,
25
+ mousein: yt,
26
+ mouseout: wt,
27
+ mouseenter: bt,
28
+ mouseleave: ht,
29
+ mouseover: At,
30
+ mouseup: vt,
31
+ mousewheel: Nt,
32
+ move: Mt,
33
+ orientationchange: Tt,
34
+ pointercancel: kt,
35
+ pointerdown: Dt,
36
+ pointerleave: Ct,
37
+ pointermove: Ot,
38
+ pointerup: Lt,
39
+ readystatechange: It,
40
+ reset: xt,
41
+ resize: zt,
42
+ scroll: Ht,
43
+ select: Vt,
44
+ selectend: Bt,
45
+ selectstart: Ft,
46
+ submit: Pt,
47
+ touchcancel: Rt,
48
+ touchend: Qt,
49
+ touchmove: Wt,
50
+ touchstart: Ut,
51
+ unload: jt
52
+ }, ze = "drag", Ve = "dragstart", Be = "dragenter", Fe = "dragleave", He = "dragover", Pe = "dragend", Ue = "loadstart", We = {
53
53
  start: "mousedown",
54
54
  end: "mouseup",
55
55
  move: "mousemove",
56
56
  cancel: "mouseleave"
57
- }, Be = { down: "mousedown", up: "mouseup" }, He = "onmouseleave" in document ? ["mouseenter", "mouseleave"] : (
57
+ }, Re = { down: "mousedown", up: "mouseup" }, Qe = "onmouseleave" in document ? ["mouseenter", "mouseleave"] : (
58
58
  /* istanbul ignore next */
59
59
  ["mouseover", "mouseout"]
60
- ), Pe = {
60
+ ), je = {
61
61
  start: "touchstart",
62
62
  end: "touchend",
63
63
  move: "touchmove",
64
64
  cancel: "touchcancel"
65
- }, Fe = { in: "focusin", out: "focusout" }, Ue = {
65
+ }, qe = { in: "focusin", out: "focusout" }, qt = 'a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"]', Ge = {
66
66
  Backspace: "Backspace",
67
67
  // 8
68
68
  Tab: "Tab",
@@ -101,7 +101,7 @@ const pe = "aria-checked", me = "aria-description", fe = "aria-describedby", ge
101
101
  // 93
102
102
  ScrollLock: "ScrollLock"
103
103
  // 145
104
- }, We = "Alt", Re = "ArrowDown", Qe = "ArrowUp", je = "ArrowLeft", qe = "ArrowRight", Ge = "Backspace", Je = "CapsLock", Ke = "Control", Xe = "Delete", Ye = "Enter", Ze = "NumpadEnter", $e = "Escape", _e = "Insert", tn = "Meta", en = "Pause", nn = "ScrollLock", on = "Shift", sn = "Space", cn = "Tab", Ut = "animationDuration", Wt = "animationDelay", F = "animationName", D = "animationend", Rt = "transitionDuration", Qt = "transitionDelay", C = "transitionend", U = "transitionProperty", rn = "addEventListener", an = "removeEventListener", un = {
104
+ }, Ke = "Alt", Je = "ArrowDown", Xe = "ArrowUp", Ye = "ArrowLeft", Ze = "ArrowRight", $e = "Backspace", _e = "CapsLock", tn = "Control", en = "Delete", nn = "Enter", on = "NumpadEnter", sn = "Escape", cn = "Insert", rn = "Meta", an = "Pause", un = "ScrollLock", ln = "Shift", dn = "Space", pn = "Tab", Gt = "animationDuration", Kt = "animationDelay", U = "animationName", D = "animationend", Jt = "transitionDuration", Xt = "transitionDelay", C = "transitionend", W = "transitionProperty", fn = "addEventListener", mn = "removeEventListener", gn = {
105
105
  linear: "linear",
106
106
  easingSinusoidalIn: "cubic-bezier(0.47,0,0.745,0.715)",
107
107
  easingSinusoidalOut: "cubic-bezier(0.39,0.575,0.565,1)",
@@ -127,45 +127,46 @@ const pe = "aria-checked", me = "aria-description", fe = "aria-describedby", ge
127
127
  easingBackIn: "cubic-bezier(0.6,-0.28,0.735,0.045)",
128
128
  easingBackOut: "cubic-bezier(0.175,0.885,0.32,1.275)",
129
129
  easingBackInOut: "cubic-bezier(0.68,-0.55,0.265,1.55)"
130
- }, ln = "offsetHeight", dn = "offsetWidth", pn = "scrollHeight", mn = "scrollWidth", fn = "tabindex", jt = navigator.userAgentData, A = jt, { userAgent: qt } = navigator, S = qt, z = /iPhone|iPad|iPod|Android/i;
130
+ }, vn = "offsetHeight", En = "offsetWidth", bn = "scrollHeight", hn = "scrollWidth", yn = "tabindex", Yt = navigator.userAgentData, A = Yt, { userAgent: Zt } = navigator, S = Zt, z = /iPhone|iPad|iPod|Android/i;
131
131
  let O = !1;
132
- /* istanbul ignore else @preserve */
132
+ // istanbul ignore else @preserve
133
133
  A ? O = A.brands.some((t) => z.test(t.brand)) : O = z.test(S);
134
- const gn = O, x = /(iPhone|iPod|iPad)/, vn = A ? A.brands.some((t) => x.test(t.brand)) : (
134
+ const wn = O, V = /(iPhone|iPod|iPad)/, An = A ? A.brands.some((t) => V.test(t.brand)) : (
135
135
  /* istanbul ignore next @preserve */
136
- x.test(S)
137
- ), En = S ? S.includes("Firefox") : (
136
+ V.test(S)
137
+ ), Sn = S ? S.includes("Firefox") : (
138
138
  /* istanbul ignore next @preserve */
139
139
  !1
140
- ), { head: N } = document, bn = ["webkitPerspective", "perspective"].some((t) => t in N.style), Gt = (t, e, n, o) => {
140
+ ), { head: N } = document, Nn = ["webkitPerspective", "perspective"].some((t) => t in N.style), R = (t, e, n, o) => {
141
141
  const s = o || !1;
142
142
  t.addEventListener(e, n, s);
143
- }, Jt = (t, e, n, o) => {
143
+ }, Q = (t, e, n, o) => {
144
144
  const s = o || !1;
145
145
  t.removeEventListener(e, n, s);
146
- }, Kt = (t, e, n, o) => {
147
- const s = (r) => {
146
+ }, $t = (t, e, n, o) => {
147
+ const s = (c) => {
148
148
  /* istanbul ignore else @preserve */
149
- (r.target === t || r.currentTarget === t) && (n.apply(t, [r]), Jt(t, e, s, o));
149
+ (c.target === t || c.currentTarget === t) && (n.apply(t, [c]), Q(t, e, s, o));
150
150
  };
151
- Gt(t, e, s, o);
152
- }, Xt = () => {
153
- }, hn = (() => {
151
+ R(t, e, s, o);
152
+ }, _t = () => {
153
+ }, Mn = (() => {
154
154
  let t = !1;
155
155
  try {
156
156
  const e = Object.defineProperty({}, "passive", {
157
157
  get: () => (t = !0, t)
158
158
  });
159
- Kt(document, P, Xt, e);
159
+ // istanbul ignore next @preserve
160
+ $t(document, P, _t, e);
160
161
  } catch {
161
162
  }
162
163
  return t;
163
- })(), yn = ["webkitTransform", "transform"].some((t) => t in N.style), wn = "ontouchstart" in window || /* istanbul ignore next */
164
- "msMaxTouchPoints" in navigator, An = ["webkitAnimation", "animation"].some((t) => t in N.style), Sn = ["webkitTransition", "transition"].some((t) => t in N.style), Yt = (t, e) => t.getAttribute(e), Nn = (t, e, n) => e.getAttributeNS(t, n), kn = (t, e) => t.hasAttribute(e), Mn = (t, e, n) => e.hasAttributeNS(t, n), Tn = (t, e, n) => t.setAttribute(e, n), Dn = (t, e, n, o) => e.setAttributeNS(t, n, o), Cn = (t, e) => t.removeAttribute(e), On = (t, e, n) => e.removeAttributeNS(t, n), Ln = (t, ...e) => {
164
+ })(), Tn = ["webkitTransform", "transform"].some((t) => t in N.style), kn = "ontouchstart" in window || /* istanbul ignore next */
165
+ "msMaxTouchPoints" in navigator, Dn = ["webkitAnimation", "animation"].some((t) => t in N.style), Cn = ["webkitTransition", "transition"].some((t) => t in N.style), j = (t, e) => t.getAttribute(e), On = (t, e, n) => e.getAttributeNS(t, n), te = (t, e) => t.hasAttribute(e), Ln = (t, e, n) => e.hasAttributeNS(t, n), In = (t, e, n) => t.setAttribute(e, n), xn = (t, e, n, o) => e.setAttributeNS(t, n, o), zn = (t, e) => t.removeAttribute(e), Vn = (t, e, n) => e.removeAttributeNS(t, n), Bn = (t, ...e) => {
165
166
  t.classList.add(...e);
166
- }, In = (t, ...e) => {
167
+ }, Fn = (t, ...e) => {
167
168
  t.classList.remove(...e);
168
- }, zn = (t, e) => t.classList.contains(e), { body: xn } = document, { documentElement: Vn } = document, Bn = (t) => Array.from(t), v = (t) => t != null && typeof t == "object" || !1, i = (t) => v(t) && typeof t.nodeType == "number" && [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].some((e) => t.nodeType === e) || !1, u = (t) => i(t) && t.nodeType === 1 || !1, E = /* @__PURE__ */ new Map(), L = {
169
+ }, Hn = (t, e) => t.classList.contains(e), { body: Pn } = document, { documentElement: Un } = document, Wn = (t) => Array.from(t), v = (t) => t != null && typeof t == "object" || !1, i = (t) => v(t) && typeof t.nodeType == "number" && [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].some((e) => t.nodeType === e) || !1, l = (t) => i(t) && t.nodeType === 1 || !1, E = /* @__PURE__ */ new Map(), L = {
169
170
  data: E,
170
171
  /**
171
172
  * Sets web components data.
@@ -175,7 +176,8 @@ const gn = O, x = /(iPhone|iPod|iPad)/, vn = A ? A.brands.some((t) => x.test(t.b
175
176
  * @param instance the component instance
176
177
  */
177
178
  set: (t, e, n) => {
178
- if (!u(t)) return;
179
+ if (!l(t)) return;
180
+ // istanbul ignore else @preserve
179
181
  E.has(e) || E.set(e, /* @__PURE__ */ new Map()), E.get(e).set(t, n);
180
182
  },
181
183
  /**
@@ -193,7 +195,7 @@ const gn = O, x = /(iPhone|iPod|iPad)/, vn = A ? A.brands.some((t) => x.test(t.b
193
195
  * @returns the instance
194
196
  */
195
197
  get: (t, e) => {
196
- if (!u(t) || !e) return null;
198
+ if (!l(t) || !e) return null;
197
199
  const n = L.getAllFor(e);
198
200
  return t && n && n.get(t) || null;
199
201
  },
@@ -205,29 +207,32 @@ const gn = O, x = /(iPhone|iPod|iPad)/, vn = A ? A.brands.some((t) => x.test(t.b
205
207
  */
206
208
  remove: (t, e) => {
207
209
  const n = L.getAllFor(e);
208
- !n || !u(t) || (n.delete(t), n.size === 0 && E.delete(e));
210
+ if (!n || !l(t)) return;
211
+ n.delete(t);
212
+ // istanbul ignore else @preserve
213
+ n.size === 0 && E.delete(e);
209
214
  }
210
- }, Hn = (t, e) => L.get(t, e), k = (t) => typeof t == "string" || !1, W = (t) => v(t) && t.constructor.name === "Window" || !1, R = (t) => i(t) && t.nodeType === 9 || !1, d = (t) => W(t) ? t.document : R(t) ? t : i(t) ? t.ownerDocument : window.document, M = (t, ...e) => Object.assign(t, ...e), Zt = (t) => {
215
+ }, Rn = (t, e) => L.get(t, e), M = (t) => typeof t == "string" || !1, q = (t) => v(t) && t.constructor.name === "Window" || !1, G = (t) => i(t) && t.nodeType === 9 || !1, d = (t) => q(t) ? t.document : G(t) ? t : i(t) ? t.ownerDocument : window.document, T = (t, ...e) => Object.assign(t, ...e), ee = (t) => {
211
216
  if (!t) return;
212
- if (k(t))
217
+ if (M(t))
213
218
  return d().createElement(t);
214
- const { tagName: e } = t, n = Zt(e);
219
+ const { tagName: e } = t, n = ee(e);
215
220
  if (!n) return;
216
221
  const o = { ...t };
217
- return delete o.tagName, M(n, o);
218
- }, $t = (t, e) => {
222
+ return delete o.tagName, T(n, o);
223
+ }, ne = (t, e) => {
219
224
  if (!t || !e) return;
220
- if (k(e))
225
+ if (M(e))
221
226
  return d().createElementNS(t, e);
222
- const { tagName: n } = e, o = $t(t, n);
227
+ const { tagName: n } = e, o = ne(t, n);
223
228
  if (!o) return;
224
229
  const s = { ...e };
225
- return delete s.tagName, M(o, s);
226
- }, Q = (t, e) => t.dispatchEvent(e), Pn = (t, e, n) => n.indexOf(t) === e, g = (t, e) => {
230
+ return delete s.tagName, T(o, s);
231
+ }, K = (t, e) => t.dispatchEvent(e), Qn = (t, e, n) => n.indexOf(t) === e, g = (t, e) => {
227
232
  const n = getComputedStyle(t), o = e.replace("webkit", "Webkit").replace(/([A-Z])/g, "-$1").toLowerCase();
228
233
  return n.getPropertyValue(o);
229
- }, _t = (t) => {
230
- const e = g(t, F), n = g(t, Wt), o = n.includes("ms") ? (
234
+ }, oe = (t) => {
235
+ const e = g(t, U), n = g(t, Kt), o = n.includes("ms") ? (
231
236
  /* istanbul ignore next */
232
237
  1
233
238
  ) : 1e3, s = e && e !== "none" ? parseFloat(n) * o : 0;
@@ -235,8 +240,8 @@ const gn = O, x = /(iPhone|iPod|iPad)/, vn = A ? A.brands.some((t) => x.test(t.b
235
240
  /* istanbul ignore next */
236
241
  0
237
242
  ) : s;
238
- }, te = (t) => {
239
- const e = g(t, F), n = g(t, Ut), o = n.includes("ms") ? (
243
+ }, se = (t) => {
244
+ const e = g(t, U), n = g(t, Gt), o = n.includes("ms") ? (
240
245
  /* istanbul ignore next */
241
246
  1
242
247
  ) : 1e3, s = e && e !== "none" ? parseFloat(n) * o : 0;
@@ -244,24 +249,24 @@ const gn = O, x = /(iPhone|iPod|iPad)/, vn = A ? A.brands.some((t) => x.test(t.b
244
249
  /* istanbul ignore next */
245
250
  0
246
251
  ) : s;
247
- }, Fn = (t, e) => {
252
+ }, jn = (t, e) => {
248
253
  let n = 0;
249
- const o = new Event(D), s = te(t), r = _t(t);
254
+ const o = new Event(D), s = se(t), c = oe(t);
250
255
  if (s) {
251
- const a = (l) => {
252
- /* istanbul ignore else @preserve */
253
- l.target === t && (e.apply(t, [l]), t.removeEventListener(D, a), n = 1);
256
+ const a = (u) => {
257
+ // istanbul ignore else @preserve
258
+ u.target === t && (e.apply(t, [u]), t.removeEventListener(D, a), n = 1);
254
259
  };
255
260
  t.addEventListener(D, a), setTimeout(() => {
256
- /* istanbul ignore next @preserve */
257
- n || Q(t, o);
258
- }, s + r + 17);
261
+ // istanbul ignore next @preserve
262
+ n || K(t, o);
263
+ }, s + c + 17);
259
264
  } else {
260
- /* istanbul ignore next @preserve */
265
+ // istanbul ignore next @preserve
261
266
  e.apply(t, [o]);
262
267
  }
263
- }, ee = (t) => {
264
- const e = g(t, U), n = g(t, Qt), o = n.includes("ms") ? (
268
+ }, ce = (t) => {
269
+ const e = g(t, W), n = g(t, Xt), o = n.includes("ms") ? (
265
270
  /* istanbul ignore next */
266
271
  1
267
272
  ) : 1e3, s = e && e !== "none" ? parseFloat(n) * o : (
@@ -272,8 +277,8 @@ const gn = O, x = /(iPhone|iPod|iPad)/, vn = A ? A.brands.some((t) => x.test(t.b
272
277
  /* istanbul ignore next */
273
278
  0
274
279
  ) : s;
275
- }, ne = (t) => {
276
- const e = g(t, U), n = g(t, Rt), o = n.includes("ms") ? (
280
+ }, re = (t) => {
281
+ const e = g(t, W), n = g(t, Jt), o = n.includes("ms") ? (
277
282
  /* istanbul ignore next */
278
283
  1
279
284
  ) : 1e3, s = e && e !== "none" ? parseFloat(n) * o : (
@@ -284,47 +289,51 @@ const gn = O, x = /(iPhone|iPod|iPad)/, vn = A ? A.brands.some((t) => x.test(t.b
284
289
  /* istanbul ignore next */
285
290
  0
286
291
  ) : s;
287
- }, Un = (t, e) => {
292
+ }, qn = (t, e) => {
288
293
  let n = 0;
289
- const o = new Event(C), s = ne(t), r = ee(t);
294
+ const o = new Event(C), s = re(t), c = ce(t);
290
295
  if (s) {
291
- const a = (l) => {
292
- /* istanbul ignore else @preserve */
293
- l.target === t && (e.apply(t, [l]), t.removeEventListener(C, a), n = 1);
296
+ const a = (u) => {
297
+ // istanbul ignore else @preserve
298
+ u.target === t && (e.apply(t, [u]), t.removeEventListener(C, a), n = 1);
294
299
  };
295
300
  t.addEventListener(C, a), setTimeout(() => {
296
- /* istanbul ignore next @preserve */
297
- n || Q(t, o);
298
- }, s + r + 17);
301
+ // istanbul ignore next @preserve
302
+ n || K(t, o);
303
+ }, s + c + 17);
299
304
  } else
300
305
  e.apply(t, [o]);
301
- }, Wn = (t) => Float32Array.from(Array.from(t)), Rn = (t) => Float64Array.from(Array.from(t)), Qn = (t, e) => t.focus(e), V = (t) => ["true", !0].includes(t) ? !0 : ["false", !1].includes(t) ? !1 : ["null", "", null, void 0].includes(t) ? null : t !== "" && !Number.isNaN(+t) ? +t : t, w = (t) => Object.entries(t), oe = (t) => t.toLowerCase(), jn = (t, e, n, o) => {
302
- const s = { ...n }, r = { ...t.dataset }, a = { ...e }, l = {}, p = "title";
303
- return w(r).forEach(([c, m]) => {
304
- const y = o && typeof c == "string" && c.includes(o) ? c.replace(o, "").replace(/[A-Z]/g, (j) => oe(j)) : c;
305
- l[y] = V(m);
306
- }), w(s).forEach(([c, m]) => {
307
- s[c] = V(m);
308
- }), w(e).forEach(([c, m]) => {
309
- c in s ? a[c] = s[c] : c in l ? a[c] = l[c] : a[c] = c === p ? Yt(t, p) : m;
306
+ }, Gn = (t) => Float32Array.from(Array.from(t)), Kn = (t) => Float64Array.from(Array.from(t)), Jn = (t, e) => t.focus(e), B = (t) => ["true", !0].includes(t) ? !0 : ["false", !1].includes(t) ? !1 : ["null", "", null, void 0].includes(t) ? null : t !== "" && !Number.isNaN(+t) ? +t : t, w = (t) => Object.entries(t), ae = (t) => t.toLowerCase(), Xn = (t, e, n, o) => {
307
+ const s = { ...n }, c = { ...t.dataset }, a = { ...e }, u = {}, p = "title";
308
+ return w(c).forEach(([r, f]) => {
309
+ const y = o && typeof r == "string" && r.includes(o) ? r.replace(o, "").replace(/[A-Z]/g, (J) => ae(J)) : (
310
+ /* istanbul ignore next @preserve */
311
+ r
312
+ );
313
+ u[y] = B(f);
314
+ }), w(s).forEach(([r, f]) => {
315
+ s[r] = B(f);
316
+ }), w(e).forEach(([r, f]) => {
317
+ // istanbul ignore else @preserve
318
+ r in s ? a[r] = s[r] : r in u ? a[r] = u[r] : a[r] = r === p ? j(t, p) : f;
310
319
  }), a;
311
- }, qn = (t, e) => v(t) && (Object.hasOwn(t, e) || e in t), Gn = (t) => Object.keys(t), Jn = (t) => Object.values(t), Kn = (t) => Object.fromEntries(t), Xn = (t, e) => {
320
+ }, Yn = (t, e) => v(t) && (Object.hasOwn(t, e) || e in t), Zn = (t) => Object.keys(t), $n = (t) => Object.values(t), _n = (t) => Object.fromEntries(t), to = (t, e) => {
312
321
  const n = new CustomEvent(t, {
313
322
  cancelable: !0,
314
323
  bubbles: !0
315
324
  });
316
- /* istanbul ignore else @preserve */
317
- return v(e) && M(n, e), n;
318
- }, Yn = { passive: !0 }, Zn = (t) => t.offsetHeight, $n = (t, e) => {
325
+ // istanbul ignore else @preserve
326
+ return v(e) && T(n, e), n;
327
+ }, eo = { passive: !0 }, no = (t) => t.offsetHeight, oo = (t, e) => {
319
328
  w(e).forEach(([n, o]) => {
320
- if (o && k(n) && n.includes("--"))
329
+ if (o && M(n) && n.includes("--"))
321
330
  t.style.setProperty(n, o);
322
331
  else {
323
332
  const s = {};
324
- s[n] = o, M(t.style, s);
333
+ s[n] = o, T(t.style, s);
325
334
  }
326
335
  });
327
- }, I = (t) => v(t) && t.constructor.name === "Map" || !1, se = (t) => typeof t == "number" || !1, f = /* @__PURE__ */ new Map(), _n = {
336
+ }, I = (t) => v(t) && t.constructor.name === "Map" || !1, ie = (t) => typeof t == "number" || !1, m = /* @__PURE__ */ new Map(), so = {
328
337
  /**
329
338
  * Sets a new timeout timer for an element, or element -> key association.
330
339
  *
@@ -334,7 +343,13 @@ const gn = O, x = /(iPhone|iPod|iPad)/, vn = A ? A.brands.some((t) => x.test(t.b
334
343
  * @param key a unique key
335
344
  */
336
345
  set: (t, e, n, o) => {
337
- u(t) && (o && o.length ? (f.has(t) || f.set(t, /* @__PURE__ */ new Map()), f.get(t).set(o, setTimeout(e, n))) : f.set(t, setTimeout(e, n)));
346
+ if (!l(t)) return;
347
+ // istanbul ignore else @preserve
348
+ if (o && o.length) {
349
+ // istanbul ignore else @preserve
350
+ m.has(t) || m.set(t, /* @__PURE__ */ new Map()), m.get(t).set(o, setTimeout(e, n));
351
+ } else
352
+ m.set(t, setTimeout(e, n));
338
353
  },
339
354
  /**
340
355
  * Returns the timer associated with the target.
@@ -344,10 +359,10 @@ const gn = O, x = /(iPhone|iPod|iPad)/, vn = A ? A.brands.some((t) => x.test(t.b
344
359
  * @returns the timer
345
360
  */
346
361
  get: (t, e) => {
347
- if (!u(t)) return null;
348
- const n = f.get(t);
362
+ if (!l(t)) return null;
363
+ const n = m.get(t);
349
364
  return e && n && I(n) ? n.get(e) || /* istanbul ignore next */
350
- null : se(n) ? n : null;
365
+ null : ie(n) ? n : null;
351
366
  },
352
367
  /**
353
368
  * Clears the element's timer.
@@ -356,312 +371,331 @@ const gn = O, x = /(iPhone|iPod|iPad)/, vn = A ? A.brands.some((t) => x.test(t.b
356
371
  * @param key a unique key
357
372
  */
358
373
  clear: (t, e) => {
359
- if (!u(t)) return;
360
- const n = f.get(t);
361
- e && e.length && I(n) ? (clearTimeout(n.get(e)), n.delete(e), n.size === 0 && f.delete(t)) : (clearTimeout(n), f.delete(t));
374
+ if (!l(t)) return;
375
+ const n = m.get(t);
376
+ if (e && e.length && I(n)) {
377
+ clearTimeout(n.get(e)), n.delete(e);
378
+ // istanbul ignore else @preserve
379
+ n.size === 0 && m.delete(t);
380
+ } else
381
+ clearTimeout(n), m.delete(t);
362
382
  }
363
- }, to = (t) => t.toUpperCase(), h = (t, e) => {
364
- const { width: n, height: o, top: s, right: r, bottom: a, left: l } = t.getBoundingClientRect();
365
- let p = 1, c = 1;
366
- if (e && u(t)) {
367
- const { offsetWidth: m, offsetHeight: y } = t;
368
- p = m > 0 ? Math.round(n) / m : (
383
+ }, co = (t) => t.toUpperCase(), ue = (t, e) => (i(e) ? e : d()).querySelectorAll(t), x = /* @__PURE__ */ new Map();
384
+ function le(t) {
385
+ const { shiftKey: e, code: n } = t, o = d(this), s = [...ue(qt, this)].filter(
386
+ (u) => !te(u, "disabled") && !j(u, X)
387
+ );
388
+ if (!s.length) return;
389
+ const c = s[0], a = s[s.length - 1];
390
+ // istanbul ignore else @preserve
391
+ n === "Tab" && (e && o.activeElement === c ? (a.focus(), t.preventDefault()) : !e && o.activeElement === a && (c.focus(), t.preventDefault()));
392
+ }
393
+ const de = (t) => x.has(t) === !0, ro = (t) => {
394
+ const e = de(t);
395
+ (e ? Q : R)(t, "keydown", le), e ? x.delete(t) : x.set(t, !0);
396
+ }, h = (t, e) => {
397
+ const { width: n, height: o, top: s, right: c, bottom: a, left: u } = t.getBoundingClientRect();
398
+ let p = 1, r = 1;
399
+ if (e && l(t)) {
400
+ const { offsetWidth: f, offsetHeight: y } = t;
401
+ p = f > 0 ? Math.round(n) / f : (
369
402
  /* istanbul ignore next */
370
403
  1
371
- ), c = y > 0 ? Math.round(o) / y : (
404
+ ), r = y > 0 ? Math.round(o) / y : (
372
405
  /* istanbul ignore next */
373
406
  1
374
407
  );
375
408
  }
376
409
  return {
377
410
  width: n / p,
378
- height: o / c,
379
- top: s / c,
380
- right: r / p,
381
- bottom: a / c,
382
- left: l / p,
383
- x: l / p,
384
- y: s / c
411
+ height: o / r,
412
+ top: s / r,
413
+ right: c / p,
414
+ bottom: a / r,
415
+ left: u / p,
416
+ x: u / p,
417
+ y: s / r
385
418
  };
386
- }, eo = (t) => d(t).body, T = (t) => d(t).documentElement, no = (t) => d(t).head, oo = (t) => {
387
- const e = W(t), n = e ? t.scrollX : t.scrollLeft, o = e ? t.scrollY : t.scrollTop;
419
+ }, ao = (t) => d(t).body, k = (t) => d(t).documentElement, io = (t) => d(t).head, uo = (t) => {
420
+ const e = q(t), n = e ? t.scrollX : t.scrollLeft, o = e ? t.scrollY : t.scrollTop;
388
421
  return { x: n, y: o };
389
- }, ce = (t) => i(t) && t.constructor.name === "ShadowRoot" || !1, so = (t) => t.nodeName === "HTML" ? t : u(t) && t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
422
+ }, pe = (t) => i(t) && t.constructor.name === "ShadowRoot" || !1, lo = (t) => t.nodeName === "HTML" ? t : l(t) && t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
390
423
  i(t) && t.parentNode || // DOM Element detected
391
- ce(t) && t.host || // ShadowRoot detected
392
- T(t), re = (t) => {
393
- if (!u(t)) return !1;
424
+ pe(t) && t.host || // ShadowRoot detected
425
+ k(t), fe = (t) => {
426
+ if (!l(t)) return !1;
394
427
  const { width: e, height: n } = h(t), { offsetWidth: o, offsetHeight: s } = t;
395
428
  return Math.round(e) !== o || Math.round(n) !== s;
396
- }, co = (t, e, n) => {
397
- const o = u(e), s = h(t, o && re(e)), r = { x: 0, y: 0 };
398
- /* istanbul ignore else @preserve */
429
+ }, po = (t, e, n) => {
430
+ const o = l(e), s = h(t, o && fe(e)), c = { x: 0, y: 0 };
431
+ // istanbul ignore else @preserve
399
432
  if (o) {
400
433
  const a = h(e, !0);
401
- r.x = a.x + e.clientLeft, r.y = a.y + e.clientTop;
434
+ c.x = a.x + e.clientLeft, c.y = a.y + e.clientTop;
402
435
  }
403
436
  return {
404
- x: s.left + n.x - r.x,
405
- y: s.top + n.y - r.y,
437
+ x: s.left + n.x - c.x,
438
+ y: s.top + n.y - c.y,
406
439
  width: s.width,
407
440
  height: s.height
408
441
  };
409
442
  };
410
- let B = 0, H = 0;
411
- const b = /* @__PURE__ */ new Map(), ae = (t, e) => {
412
- let n = e ? B : H;
443
+ let F = 0, H = 0;
444
+ const b = /* @__PURE__ */ new Map(), me = (t, e) => {
445
+ let n = e ? F : H;
413
446
  if (e) {
414
- const o = ae(t), s = b.get(o) || /* @__PURE__ */ new Map();
415
- b.has(o) || b.set(o, s), I(s) && !s.has(e) ? (s.set(e, n), B += 1) : n = s.get(e);
447
+ const o = me(t), s = b.get(o) || /* @__PURE__ */ new Map();
448
+ b.has(o) || b.set(o, s), I(s) && !s.has(e) ? (s.set(e, n), F += 1) : n = s.get(e);
416
449
  } else {
417
450
  const o = t.id || t;
418
451
  b.has(o) ? n = b.get(o) : (b.set(o, n), H += 1);
419
452
  }
420
453
  return n;
421
- }, ro = (t) => {
454
+ }, fo = (t) => {
422
455
  var e;
423
- return t ? R(t) ? t.defaultView : i(t) ? (e = t == null ? void 0 : t.ownerDocument) == null ? void 0 : e.defaultView : t : window;
424
- }, ie = (t) => Array.isArray(t) || !1, ao = (t) => i(t) && t.nodeName === "CANVAS" || !1, ue = (t) => u(t) && !!t.shadowRoot || !1, io = (t) => i(t) && [1, 2, 3, 4, 5, 6, 7, 8].some((e) => t.nodeType === e) || !1, uo = (t) => {
456
+ return t ? G(t) ? t.defaultView : i(t) ? (e = t == null ? void 0 : t.ownerDocument) == null ? void 0 : e.defaultView : t : window;
457
+ }, ge = (t) => Array.isArray(t) || !1, mo = (t) => i(t) && t.nodeName === "CANVAS" || !1, ve = (t) => l(t) && !!t.shadowRoot || !1, go = (t) => i(t) && [1, 2, 3, 4, 5, 6, 7, 8].some((e) => t.nodeType === e) || !1, vo = (t) => {
425
458
  if (!i(t)) return !1;
426
- const { top: e, bottom: n } = h(t), { clientHeight: o } = T(t);
459
+ const { top: e, bottom: n } = h(t), { clientHeight: o } = k(t);
427
460
  return e <= o && n >= 0;
428
- }, lo = (t) => {
461
+ }, Eo = (t) => {
429
462
  if (!i(t)) return !1;
430
- const { clientWidth: e, clientHeight: n } = T(t), { top: o, left: s, bottom: r, right: a } = h(t, !0);
431
- return o >= 0 && s >= 0 && r <= n && a <= e;
432
- }, po = (t) => ie(t) && t.every(u) || !1, mo = (t) => typeof t == "function" || !1, fo = (t) => v(t) && t.constructor.name === "HTMLCollection" || !1, go = (t) => u(t) && t.tagName === "IMG" || !1, vo = (t) => {
433
- if (!k(t)) return !1;
463
+ const { clientWidth: e, clientHeight: n } = k(t), { top: o, left: s, bottom: c, right: a } = h(t, !0);
464
+ return o >= 0 && s >= 0 && c <= n && a <= e;
465
+ }, bo = (t) => ge(t) && t.every(l) || !1, ho = (t) => typeof t == "function" || !1, yo = (t) => v(t) && t.constructor.name === "HTMLCollection" || !1, wo = (t) => l(t) && t.tagName === "IMG" || !1, Ao = (t) => {
466
+ if (!M(t)) return !1;
434
467
  try {
435
468
  JSON.parse(t);
436
469
  } catch {
437
470
  return !1;
438
471
  }
439
472
  return !0;
440
- }, Eo = (t) => v(t) && t.constructor.name === "WeakMap" || !1, bo = (t) => i(t) && ["SVG", "Image", "Video", "Canvas"].some((e) => t.constructor.name.includes(e)) || !1, ho = (t) => v(t) && t.constructor.name === "NodeList" || !1, yo = (t) => T(t).dir === "rtl", wo = (t) => i(t) && t.constructor.name.includes("SVG") || !1, Ao = (t) => i(t) && ["TABLE", "TD", "TH"].includes(t.nodeName) || !1, le = (t, e) => t ? t.closest(e) || // break out of `ShadowRoot`
441
- le(t.getRootNode().host, e) : null, So = (t, e) => u(t) ? t : (i(e) ? e : d()).querySelector(t), de = (t, e) => (i(e) ? e : d()).getElementsByTagName(t), No = (t) => [...de("*", t)].filter(ue), ko = (t, e) => d(e).getElementById(t) || null, Mo = (t, e) => (i(e) ? e : d()).querySelectorAll(t), To = (t, e) => (e && i(e) ? e : d()).getElementsByClassName(
442
- t
443
- ), Do = (t, e) => t.matches(e), Co = "2.0.4";
473
+ }, So = (t) => v(t) && t.constructor.name === "WeakMap" || !1, No = (t) => i(t) && ["SVG", "Image", "Video", "Canvas"].some((e) => t.constructor.name.includes(e)) || !1, Mo = (t) => v(t) && t.constructor.name === "NodeList" || !1, To = (t) => k(t).dir === "rtl", ko = (t) => i(t) && t.constructor.name.includes("SVG") || !1, Do = (t) => i(t) && ["TABLE", "TD", "TH"].includes(t.nodeName) || !1, Ee = (t, e) => t ? t.closest(e) || // break out of `ShadowRoot`
474
+ Ee(t.getRootNode().host, e) : null, Co = (t, e) => l(t) ? t : (i(e) ? e : d()).querySelector(t), be = (t, e) => (i(e) ? e : d()).getElementsByTagName(t), Oo = (t) => [...be("*", t)].filter(ve), Lo = (t, e) => d(e).getElementById(t) || null, Io = (t, e) => (e && i(e) ? e : d()).getElementsByClassName(t), xo = (t, e) => t.matches(e), zo = "2.0.5";
444
475
  export {
445
- Bn as ArrayFrom,
476
+ Wn as ArrayFrom,
446
477
  P as DOMContentLoadedEvent,
447
- Y as DOMMouseScrollEvent,
478
+ et as DOMMouseScrollEvent,
448
479
  L as Data,
449
- Wn as Float32ArrayFrom,
450
- Rn as Float64ArrayFrom,
451
- M as ObjectAssign,
480
+ Gn as Float32ArrayFrom,
481
+ Kn as Float64ArrayFrom,
482
+ T as ObjectAssign,
452
483
  w as ObjectEntries,
453
- Kn as ObjectFromEntries,
454
- qn as ObjectHasOwn,
455
- Gn as ObjectKeys,
456
- Jn as ObjectValues,
457
- _n as Timer,
458
- q as abortEvent,
459
- Ln as addClass,
460
- rn as addEventListener,
461
- Wt as animationDelay,
462
- Ut as animationDuration,
484
+ _n as ObjectFromEntries,
485
+ Yn as ObjectHasOwn,
486
+ Zn as ObjectKeys,
487
+ $n as ObjectValues,
488
+ so as Timer,
489
+ Y as abortEvent,
490
+ Bn as addClass,
491
+ fn as addEventListener,
492
+ Kt as animationDelay,
493
+ Gt as animationDuration,
463
494
  D as animationEndEvent,
464
- F as animationName,
465
- pe as ariaChecked,
466
- fe as ariaDescribedBy,
467
- me as ariaDescription,
468
- ge as ariaExpanded,
469
- ve as ariaHasPopup,
470
- Ee as ariaHidden,
471
- be as ariaLabel,
472
- he as ariaLabelledBy,
473
- ye as ariaModal,
474
- we as ariaPressed,
475
- Ae as ariaSelected,
476
- Ne as ariaValueMax,
477
- Se as ariaValueMin,
478
- ke as ariaValueNow,
479
- Me as ariaValueText,
480
- G as beforeunloadEvent,
481
- un as bezierEasings,
482
- J as blurEvent,
483
- K as changeEvent,
484
- le as closest,
485
- X as contextmenuEvent,
486
- Xn as createCustomEvent,
487
- Zt as createElement,
488
- $t as createElementNS,
489
- Q as dispatchEvent,
490
- Pn as distinct,
491
- xn as documentBody,
492
- Vn as documentElement,
495
+ U as animationName,
496
+ he as ariaChecked,
497
+ we as ariaDescribedBy,
498
+ ye as ariaDescription,
499
+ Ae as ariaExpanded,
500
+ Se as ariaHasPopup,
501
+ X as ariaHidden,
502
+ Ne as ariaLabel,
503
+ Me as ariaLabelledBy,
504
+ Te as ariaModal,
505
+ ke as ariaPressed,
506
+ De as ariaSelected,
507
+ Oe as ariaValueMax,
508
+ Ce as ariaValueMin,
509
+ Le as ariaValueNow,
510
+ Ie as ariaValueText,
511
+ Z as beforeunloadEvent,
512
+ gn as bezierEasings,
513
+ $ as blurEvent,
514
+ _ as changeEvent,
515
+ Ee as closest,
516
+ tt as contextmenuEvent,
517
+ to as createCustomEvent,
518
+ ee as createElement,
519
+ ne as createElementNS,
520
+ K as dispatchEvent,
521
+ Qn as distinct,
522
+ Pn as documentBody,
523
+ Un as documentElement,
493
524
  N as documentHead,
494
- De as dragEvent,
495
- ze as dragendEvent,
496
- Oe as dragenterEvent,
497
- Le as dragleaveEvent,
498
- Ie as dragoverEvent,
499
- Ce as dragstartEvent,
500
- Fn as emulateAnimationEnd,
501
- Un as emulateTransitionEnd,
502
- Z as errorEvent,
503
- Qn as focus,
504
- $ as focusEvent,
505
- Fe as focusEvents,
506
- _ as focusinEvent,
507
- tt as focusoutEvent,
508
- et as gesturechangeEvent,
509
- nt as gestureendEvent,
510
- ot as gesturestartEvent,
511
- Yt as getAttribute,
512
- Nn as getAttributeNS,
525
+ ze as dragEvent,
526
+ Pe as dragendEvent,
527
+ Be as dragenterEvent,
528
+ Fe as dragleaveEvent,
529
+ He as dragoverEvent,
530
+ Ve as dragstartEvent,
531
+ jn as emulateAnimationEnd,
532
+ qn as emulateTransitionEnd,
533
+ nt as errorEvent,
534
+ Jn as focus,
535
+ ot as focusEvent,
536
+ qe as focusEvents,
537
+ qt as focusableSelector,
538
+ st as focusinEvent,
539
+ ct as focusoutEvent,
540
+ rt as gesturechangeEvent,
541
+ at as gestureendEvent,
542
+ it as gesturestartEvent,
543
+ j as getAttribute,
544
+ On as getAttributeNS,
513
545
  h as getBoundingClientRect,
514
- No as getCustomElements,
546
+ Oo as getCustomElements,
515
547
  d as getDocument,
516
- eo as getDocumentBody,
517
- T as getDocumentElement,
518
- no as getDocumentHead,
519
- _t as getElementAnimationDelay,
520
- te as getElementAnimationDuration,
521
- ko as getElementById,
548
+ ao as getDocumentBody,
549
+ k as getDocumentElement,
550
+ io as getDocumentHead,
551
+ oe as getElementAnimationDelay,
552
+ se as getElementAnimationDuration,
553
+ Lo as getElementById,
522
554
  g as getElementStyle,
523
- ee as getElementTransitionDelay,
524
- ne as getElementTransitionDuration,
525
- To as getElementsByClassName,
526
- de as getElementsByTagName,
527
- Hn as getInstance,
528
- oo as getNodeScroll,
529
- so as getParentNode,
530
- co as getRectRelativeToOffsetParent,
531
- ae as getUID,
532
- ro as getWindow,
533
- kn as hasAttribute,
534
- Mn as hasAttributeNS,
535
- zn as hasClass,
536
- vn as isApple,
537
- ie as isArray,
538
- ao as isCanvas,
539
- ue as isCustomElement,
540
- R as isDocument,
541
- io as isElement,
542
- uo as isElementInScrollRange,
543
- lo as isElementInViewport,
544
- po as isElementsArray,
545
- En as isFirefox,
546
- mo as isFunction,
547
- fo as isHTMLCollection,
548
- u as isHTMLElement,
549
- go as isHTMLImageElement,
550
- vo as isJSON,
555
+ ce as getElementTransitionDelay,
556
+ re as getElementTransitionDuration,
557
+ Io as getElementsByClassName,
558
+ be as getElementsByTagName,
559
+ Rn as getInstance,
560
+ uo as getNodeScroll,
561
+ lo as getParentNode,
562
+ po as getRectRelativeToOffsetParent,
563
+ me as getUID,
564
+ fo as getWindow,
565
+ te as hasAttribute,
566
+ Ln as hasAttributeNS,
567
+ Hn as hasClass,
568
+ de as hasFocusTrap,
569
+ An as isApple,
570
+ ge as isArray,
571
+ mo as isCanvas,
572
+ ve as isCustomElement,
573
+ G as isDocument,
574
+ go as isElement,
575
+ vo as isElementInScrollRange,
576
+ Eo as isElementInViewport,
577
+ bo as isElementsArray,
578
+ Sn as isFirefox,
579
+ ho as isFunction,
580
+ yo as isHTMLCollection,
581
+ l as isHTMLElement,
582
+ wo as isHTMLImageElement,
583
+ Ao as isJSON,
551
584
  I as isMap,
552
- bo as isMedia,
553
- gn as isMobile,
585
+ No as isMedia,
586
+ wn as isMobile,
554
587
  i as isNode,
555
- ho as isNodeList,
556
- se as isNumber,
588
+ Mo as isNodeList,
589
+ ie as isNumber,
557
590
  v as isObject,
558
- yo as isRTL,
559
- wo as isSVGElement,
560
- re as isScaledElement,
561
- ce as isShadowRoot,
562
- k as isString,
563
- Ao as isTableElement,
564
- Eo as isWeakMap,
565
- W as isWindow,
566
- We as keyAlt,
567
- Re as keyArrowDown,
568
- je as keyArrowLeft,
569
- qe as keyArrowRight,
570
- Qe as keyArrowUp,
571
- Ge as keyBackspace,
572
- Je as keyCapsLock,
573
- Ke as keyControl,
574
- Xe as keyDelete,
575
- Ye as keyEnter,
576
- $e as keyEscape,
577
- _e as keyInsert,
578
- tn as keyMeta,
579
- Ze as keyNumpadEnter,
580
- en as keyPause,
581
- nn as keyScrollLock,
582
- on as keyShift,
583
- sn as keySpace,
584
- cn as keyTab,
585
- Ue as keyboardEventKeys,
586
- st as keydownEvent,
587
- ct as keypressEvent,
588
- rt as keyupEvent,
589
- at as loadEvent,
590
- xe as loadstartEvent,
591
- Do as matches,
592
- Be as mouseClickEvents,
593
- He as mouseHoverEvents,
594
- Ve as mouseSwipeEvents,
595
- it as mouseclickEvent,
596
- ut as mousedblclickEvent,
597
- lt as mousedownEvent,
598
- mt as mouseenterEvent,
599
- pt as mousehoverEvent,
600
- gt as mouseinEvent,
601
- ft as mouseleaveEvent,
602
- bt as mousemoveEvent,
603
- vt as mouseoutEvent,
604
- Et as mouseoverEvent,
605
- dt as mouseupEvent,
606
- ht as mousewheelEvent,
607
- yt as moveEvent,
608
- Te as nativeEvents,
609
- Xt as noop,
610
- jn as normalizeOptions,
611
- V as normalizeValue,
612
- Jt as off,
613
- ln as offsetHeight,
614
- dn as offsetWidth,
615
- Gt as on,
616
- Kt as one,
617
- wt as orientationchangeEvent,
618
- Yn as passiveHandler,
619
- At as pointercancelEvent,
620
- St as pointerdownEvent,
621
- Nt as pointerleaveEvent,
622
- kt as pointermoveEvent,
623
- Mt as pointerupEvent,
624
- So as querySelector,
625
- Mo as querySelectorAll,
626
- Tt as readystatechangeEvent,
627
- Zn as reflow,
628
- Cn as removeAttribute,
629
- On as removeAttributeNS,
630
- In as removeClass,
631
- an as removeEventListener,
632
- Dt as resetEvent,
633
- Ct as resizeEvent,
634
- zt as scrollEvent,
635
- pn as scrollHeight,
636
- mn as scrollWidth,
637
- Ot as selectEvent,
638
- Lt as selectendEvent,
639
- It as selectstartEvent,
640
- Tn as setAttribute,
641
- Dn as setAttributeNS,
642
- $n as setElementStyle,
643
- xt as submitEvent,
644
- bn as support3DTransform,
645
- An as supportAnimation,
646
- hn as supportPassive,
647
- wn as supportTouch,
648
- yn as supportTransform,
649
- Sn as supportTransition,
650
- fn as tabindex,
651
- oe as toLowerCase,
652
- to as toUpperCase,
653
- Pe as touchEvents,
654
- Ht as touchcancelEvent,
655
- Pt as touchendEvent,
656
- Bt as touchmoveEvent,
657
- Vt as touchstartEvent,
658
- Qt as transitionDelay,
659
- Rt as transitionDuration,
591
+ To as isRTL,
592
+ ko as isSVGElement,
593
+ fe as isScaledElement,
594
+ pe as isShadowRoot,
595
+ M as isString,
596
+ Do as isTableElement,
597
+ So as isWeakMap,
598
+ q as isWindow,
599
+ Ke as keyAlt,
600
+ Je as keyArrowDown,
601
+ Ye as keyArrowLeft,
602
+ Ze as keyArrowRight,
603
+ Xe as keyArrowUp,
604
+ $e as keyBackspace,
605
+ _e as keyCapsLock,
606
+ tn as keyControl,
607
+ en as keyDelete,
608
+ nn as keyEnter,
609
+ sn as keyEscape,
610
+ cn as keyInsert,
611
+ rn as keyMeta,
612
+ on as keyNumpadEnter,
613
+ an as keyPause,
614
+ un as keyScrollLock,
615
+ ln as keyShift,
616
+ dn as keySpace,
617
+ pn as keyTab,
618
+ Ge as keyboardEventKeys,
619
+ ut as keydownEvent,
620
+ lt as keypressEvent,
621
+ dt as keyupEvent,
622
+ pt as loadEvent,
623
+ Ue as loadstartEvent,
624
+ xo as matches,
625
+ Re as mouseClickEvents,
626
+ Qe as mouseHoverEvents,
627
+ We as mouseSwipeEvents,
628
+ ft as mouseclickEvent,
629
+ mt as mousedblclickEvent,
630
+ gt as mousedownEvent,
631
+ bt as mouseenterEvent,
632
+ Et as mousehoverEvent,
633
+ yt as mouseinEvent,
634
+ ht as mouseleaveEvent,
635
+ St as mousemoveEvent,
636
+ wt as mouseoutEvent,
637
+ At as mouseoverEvent,
638
+ vt as mouseupEvent,
639
+ Nt as mousewheelEvent,
640
+ Mt as moveEvent,
641
+ xe as nativeEvents,
642
+ _t as noop,
643
+ Xn as normalizeOptions,
644
+ B as normalizeValue,
645
+ Q as off,
646
+ vn as offsetHeight,
647
+ En as offsetWidth,
648
+ R as on,
649
+ $t as one,
650
+ Tt as orientationchangeEvent,
651
+ eo as passiveHandler,
652
+ kt as pointercancelEvent,
653
+ Dt as pointerdownEvent,
654
+ Ct as pointerleaveEvent,
655
+ Ot as pointermoveEvent,
656
+ Lt as pointerupEvent,
657
+ Co as querySelector,
658
+ ue as querySelectorAll,
659
+ It as readystatechangeEvent,
660
+ no as reflow,
661
+ zn as removeAttribute,
662
+ Vn as removeAttributeNS,
663
+ Fn as removeClass,
664
+ mn as removeEventListener,
665
+ xt as resetEvent,
666
+ zt as resizeEvent,
667
+ Ht as scrollEvent,
668
+ bn as scrollHeight,
669
+ hn as scrollWidth,
670
+ Vt as selectEvent,
671
+ Bt as selectendEvent,
672
+ Ft as selectstartEvent,
673
+ In as setAttribute,
674
+ xn as setAttributeNS,
675
+ oo as setElementStyle,
676
+ Pt as submitEvent,
677
+ Nn as support3DTransform,
678
+ Dn as supportAnimation,
679
+ Mn as supportPassive,
680
+ kn as supportTouch,
681
+ Tn as supportTransform,
682
+ Cn as supportTransition,
683
+ yn as tabindex,
684
+ ae as toLowerCase,
685
+ co as toUpperCase,
686
+ ro as toggleFocusTrap,
687
+ je as touchEvents,
688
+ Rt as touchcancelEvent,
689
+ Qt as touchendEvent,
690
+ Wt as touchmoveEvent,
691
+ Ut as touchstartEvent,
692
+ Xt as transitionDelay,
693
+ Jt as transitionDuration,
660
694
  C as transitionEndEvent,
661
- U as transitionProperty,
662
- Ft as unloadEvent,
695
+ W as transitionProperty,
696
+ jt as unloadEvent,
663
697
  S as userAgent,
664
698
  A as userAgentData,
665
- Co as version
699
+ zo as version
666
700
  };
667
701
  //# sourceMappingURL=shorty.mjs.map