@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/.eslintrc.cjs +224 -0
- package/.lgtm.yml +8 -0
- package/.prettierrc.json +15 -0
- package/README.md +5 -5
- package/cypress/e2e/att.cy.ts +46 -0
- package/cypress/e2e/boolean.cy.ts +44 -0
- package/cypress/e2e/class.cy.ts +28 -0
- package/cypress/e2e/event.cy.ts +51 -0
- package/cypress/e2e/get.cy.ts +168 -0
- package/cypress/e2e/is.cy.ts +233 -0
- package/cypress/e2e/misc.cy.ts +354 -0
- package/cypress/e2e/selectors.cy.ts +85 -0
- package/cypress/fixtures/custom-elem.js +18 -0
- package/cypress/plugins/esbuild-istanbul.ts +50 -0
- package/cypress/plugins/tsCompile.ts +34 -0
- package/cypress/support/commands.ts +37 -0
- package/cypress/support/e2e.ts +21 -0
- package/cypress/support/index.js +22 -0
- package/cypress/test.html +63 -0
- package/cypress.config.ts +30 -0
- package/dist/shorty.cjs +1 -1
- package/dist/shorty.cjs.map +1 -1
- package/dist/shorty.d.ts +204 -6
- package/dist/shorty.js +1 -1
- package/dist/shorty.js.map +1 -1
- package/dist/shorty.mjs +443 -326
- package/dist/shorty.mjs.map +1 -1
- package/dts.config.ts +21 -0
- package/package.json +73 -73
- package/src/event/off.ts +4 -4
- package/src/event/on.ts +4 -4
- package/src/event/one.ts +6 -5
- package/src/index.ts +9 -0
- package/src/interface/event.d.ts +247 -0
- package/src/misc/ObjectFromEntries.ts +11 -0
- package/src/misc/createElement.ts +4 -10
- package/src/misc/createElementNS.ts +8 -13
- package/src/misc/data.ts +1 -0
- package/src/strings/keyNumpadEnter.ts +7 -0
- package/tsconfig.json +30 -0
- package/vite.config.ts +30 -0
package/dist/shorty.mjs
CHANGED
|
@@ -1,85 +1,107 @@
|
|
|
1
|
-
const
|
|
2
|
-
DOMContentLoaded:
|
|
3
|
-
DOMMouseScroll:
|
|
4
|
-
abort:
|
|
5
|
-
beforeunload:
|
|
6
|
-
blur:
|
|
7
|
-
change:
|
|
8
|
-
click:
|
|
9
|
-
contextmenu:
|
|
10
|
-
dblclick:
|
|
11
|
-
error:
|
|
12
|
-
focus:
|
|
13
|
-
focusin:
|
|
14
|
-
focusout:
|
|
15
|
-
gesturechange:
|
|
16
|
-
gestureend:
|
|
17
|
-
gesturestart:
|
|
18
|
-
hover:
|
|
19
|
-
keydown:
|
|
20
|
-
keypress:
|
|
21
|
-
keyup:
|
|
22
|
-
load:
|
|
23
|
-
mousedown:
|
|
24
|
-
mousemove:
|
|
25
|
-
mousein:
|
|
26
|
-
mouseout:
|
|
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:
|
|
29
|
-
mouseover:
|
|
30
|
-
mouseup:
|
|
31
|
-
mousewheel:
|
|
32
|
-
move:
|
|
33
|
-
orientationchange:
|
|
34
|
-
pointercancel:
|
|
35
|
-
pointerdown:
|
|
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:
|
|
39
|
-
readystatechange:
|
|
40
|
-
reset:
|
|
41
|
-
resize:
|
|
42
|
-
scroll:
|
|
38
|
+
pointerup: Mt,
|
|
39
|
+
readystatechange: Tt,
|
|
40
|
+
reset: Dt,
|
|
41
|
+
resize: Ct,
|
|
42
|
+
scroll: zt,
|
|
43
43
|
select: Ot,
|
|
44
|
-
selectend:
|
|
45
|
-
selectstart:
|
|
46
|
-
submit:
|
|
47
|
-
touchcancel:
|
|
48
|
-
touchend:
|
|
49
|
-
touchmove:
|
|
50
|
-
touchstart:
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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" },
|
|
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
|
-
|
|
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",
|
|
109
|
-
let
|
|
110
|
-
|
|
111
|
-
const gn =
|
|
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
|
-
},
|
|
142
|
+
}, Jt = (t, e, n, o) => {
|
|
115
143
|
const s = o || !1;
|
|
116
144
|
t.removeEventListener(e, n, s);
|
|
117
|
-
},
|
|
118
|
-
const s = (
|
|
119
|
-
(
|
|
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
|
-
|
|
122
|
-
},
|
|
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
|
-
|
|
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 ||
|
|
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
|
-
},
|
|
164
|
+
}, In = (t, ...e) => {
|
|
136
165
|
t.classList.remove(...e);
|
|
137
|
-
},
|
|
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
|
-
|
|
178
|
+
E.has(e) || E.set(e, /* @__PURE__ */ new Map()), E.get(e).set(t, n);
|
|
142
179
|
},
|
|
143
|
-
|
|
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 &&
|
|
208
|
+
!n || !u(t) || (n.delete(t), n.size === 0 && E.delete(e));
|
|
153
209
|
}
|
|
154
|
-
},
|
|
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 (
|
|
213
|
+
if (k(t))
|
|
158
214
|
return d().createElement(t);
|
|
159
|
-
const { tagName: e } = t, n =
|
|
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,
|
|
164
|
-
|
|
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 (
|
|
223
|
+
if (k(e))
|
|
170
224
|
return d().createElementNS(t, e);
|
|
171
|
-
const { tagName: n } = e, o =
|
|
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,
|
|
176
|
-
|
|
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 =
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
return Number.isNaN(s) ?
|
|
187
|
-
|
|
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(
|
|
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(
|
|
256
|
+
l.target === t && (e.apply(t, [l]), t.removeEventListener(D, a), n = 1);
|
|
193
257
|
};
|
|
194
|
-
t.addEventListener(
|
|
258
|
+
t.addEventListener(D, a), setTimeout(() => {
|
|
195
259
|
n || Q(t, o);
|
|
196
|
-
}, s +
|
|
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 =
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
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(
|
|
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(
|
|
292
|
+
l.target === t && (e.apply(t, [l]), t.removeEventListener(C, a), n = 1);
|
|
211
293
|
};
|
|
212
|
-
t.addEventListener(
|
|
294
|
+
t.addEventListener(C, a), setTimeout(() => {
|
|
213
295
|
n || Q(t, o);
|
|
214
|
-
}, s +
|
|
296
|
+
}, s + r + 17);
|
|
215
297
|
} else
|
|
216
298
|
e.apply(t, [o]);
|
|
217
|
-
},
|
|
218
|
-
const s = { ...n },
|
|
219
|
-
return
|
|
220
|
-
const
|
|
221
|
-
l[
|
|
222
|
-
}),
|
|
223
|
-
s[
|
|
224
|
-
}),
|
|
225
|
-
|
|
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
|
-
},
|
|
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
|
|
233
|
-
},
|
|
234
|
-
|
|
235
|
-
if (o &&
|
|
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,
|
|
321
|
+
s[n] = o, M(t.style, s);
|
|
240
322
|
}
|
|
241
323
|
});
|
|
242
|
-
},
|
|
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
|
-
|
|
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 =
|
|
250
|
-
return e && n &&
|
|
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 =
|
|
256
|
-
e && e.length &&
|
|
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
|
-
},
|
|
259
|
-
const { width: n, height: o, top: s, right:
|
|
260
|
-
let p = 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:
|
|
263
|
-
p =
|
|
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 /
|
|
268
|
-
top: s /
|
|
269
|
-
right:
|
|
270
|
-
bottom: a /
|
|
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 /
|
|
383
|
+
y: s / c
|
|
274
384
|
};
|
|
275
|
-
},
|
|
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
|
-
},
|
|
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 } =
|
|
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
|
-
},
|
|
284
|
-
const o = u(e), s =
|
|
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 =
|
|
287
|
-
|
|
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 -
|
|
291
|
-
y: s.top + n.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
|
|
297
|
-
const b = /* @__PURE__ */ new Map(),
|
|
298
|
-
let n = e ?
|
|
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 =
|
|
301
|
-
b.has(o) || b.set(o, s),
|
|
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),
|
|
417
|
+
b.has(o) ? n = b.get(o) : (b.set(o, n), H += 1);
|
|
305
418
|
}
|
|
306
419
|
return n;
|
|
307
|
-
},
|
|
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
|
-
},
|
|
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 } =
|
|
426
|
+
const { top: e, bottom: n } = h(t), { clientHeight: o } = T(t);
|
|
314
427
|
return e <= o && n >= 0;
|
|
315
|
-
},
|
|
428
|
+
}, lo = (t) => {
|
|
316
429
|
if (!i(t))
|
|
317
430
|
return !1;
|
|
318
|
-
const { clientWidth: e, clientHeight: n } =
|
|
319
|
-
return o >= 0 && s >= 0 &&
|
|
320
|
-
},
|
|
321
|
-
if (!
|
|
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
|
-
},
|
|
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
|
-
),
|
|
445
|
+
), Do = (t, e) => t.matches(e), Co = "2.0.0";
|
|
332
446
|
export {
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
447
|
+
Bn as ArrayFrom,
|
|
448
|
+
P as DOMContentLoadedEvent,
|
|
449
|
+
Y as DOMMouseScrollEvent,
|
|
336
450
|
L as Data,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
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
|
-
|
|
344
|
-
|
|
345
|
-
|
|
458
|
+
Jn as ObjectValues,
|
|
459
|
+
_n as Timer,
|
|
460
|
+
q as abortEvent,
|
|
346
461
|
Ln as addClass,
|
|
347
462
|
rn as addEventListener,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
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
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
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
|
-
|
|
479
|
+
Se as ariaValueMin,
|
|
365
480
|
ke as ariaValueNow,
|
|
366
|
-
|
|
367
|
-
|
|
481
|
+
Me as ariaValueText,
|
|
482
|
+
G as beforeunloadEvent,
|
|
368
483
|
un as bezierEasings,
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
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
|
-
|
|
378
|
-
|
|
379
|
-
|
|
492
|
+
Pn as distinct,
|
|
493
|
+
xn as documentBody,
|
|
494
|
+
Vn as documentElement,
|
|
380
495
|
N as documentHead,
|
|
381
|
-
|
|
382
|
-
|
|
496
|
+
De as dragEvent,
|
|
497
|
+
ze as dragendEvent,
|
|
383
498
|
Oe as dragenterEvent,
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
499
|
+
Le as dragleaveEvent,
|
|
500
|
+
Ie as dragoverEvent,
|
|
501
|
+
Ce as dragstartEvent,
|
|
502
|
+
Fn as emulateAnimationEnd,
|
|
388
503
|
Un as emulateTransitionEnd,
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
504
|
+
Z as errorEvent,
|
|
505
|
+
Qn as focus,
|
|
506
|
+
$ as focusEvent,
|
|
392
507
|
Fe as focusEvents,
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
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
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
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
|
-
|
|
425
|
-
|
|
426
|
-
|
|
539
|
+
ie as isArray,
|
|
540
|
+
ao as isCanvas,
|
|
541
|
+
ue as isCustomElement,
|
|
427
542
|
R as isDocument,
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
543
|
+
io as isElement,
|
|
544
|
+
uo as isElementInScrollRange,
|
|
545
|
+
lo as isElementInViewport,
|
|
546
|
+
po as isElementsArray,
|
|
432
547
|
En as isFirefox,
|
|
433
|
-
|
|
434
|
-
|
|
548
|
+
mo as isFunction,
|
|
549
|
+
fo as isHTMLCollection,
|
|
435
550
|
u as isHTMLElement,
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
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
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
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
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
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
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
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
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
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
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
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
|
-
|
|
510
|
-
|
|
625
|
+
Mt as pointerupEvent,
|
|
626
|
+
So as querySelector,
|
|
511
627
|
Mo as querySelectorAll,
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
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
|
-
|
|
519
|
-
|
|
520
|
-
|
|
634
|
+
Dt as resetEvent,
|
|
635
|
+
Ct as resizeEvent,
|
|
636
|
+
zt as scrollEvent,
|
|
521
637
|
pn as scrollHeight,
|
|
522
|
-
|
|
638
|
+
mn as scrollWidth,
|
|
523
639
|
Ot as selectEvent,
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
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
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
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
|
-
|
|
550
|
-
|
|
665
|
+
S as userAgent,
|
|
666
|
+
A as userAgentData,
|
|
667
|
+
Co as version
|
|
551
668
|
};
|
|
552
669
|
//# sourceMappingURL=shorty.mjs.map
|