@thednp/shorty 2.0.0-alpha9 → 2.0.0

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