@thednp/shorty
Version:
TypeScript shorties for the web
642 lines (641 loc) • 23.2 kB
JavaScript
const Ce = "2.0.11", Me = "aria-checked", De = "aria-description", Le = "aria-describedby", Oe = "aria-expanded", xe = "aria-haspopup", X = "aria-hidden", ze = "aria-label", Ie = "aria-labelledby", Pe = "aria-modal", Fe = "aria-pressed", Be = "aria-selected", Ve = "aria-valuemin", He = "aria-valuemax", Ue = "aria-valuenow", We = "aria-valuetext", Y = "abort", tt = "beforeunload", et = "blur", nt = "change", ot = "contextmenu", U = "DOMContentLoaded", st = "DOMMouseScroll", rt = "error", ct = "focus", at = "focusin", it = "focusout", ut = "gesturechange", lt = "gestureend", dt = "gesturestart", ft = "keydown", pt = "keypress", gt = "keyup", mt = "load", vt = "click", bt = "dblclick", Et = "mousedown", ht = "mouseup", yt = "hover", wt = "mouseenter", At = "mouseleave", St = "mousein", kt = "mouseout", Nt = "mouseover", Tt = "mousemove", Ct = "mousewheel", Mt = "move", Dt = "orientationchange", Lt = "pointercancel", Ot = "pointerdown", xt = "pointerleave", zt = "pointermove", It = "pointerup", Pt = "readystatechange", Ft = "reset", Bt = "resize", Vt = "select", Ht = "selectend", Ut = "selectstart", Wt = "scroll", Rt = "submit", Qt = "touchstart", jt = "touchmove", Kt = "touchcancel", qt = "touchend", Gt = "unload", Re = {
DOMContentLoaded: U,
DOMMouseScroll: st,
abort: Y,
beforeunload: tt,
blur: et,
change: nt,
click: vt,
contextmenu: ot,
dblclick: bt,
error: rt,
focus: ct,
focusin: at,
focusout: it,
gesturechange: ut,
gestureend: lt,
gesturestart: dt,
hover: yt,
keydown: ft,
keypress: pt,
keyup: gt,
load: mt,
mousedown: Et,
mousemove: Tt,
mousein: St,
mouseout: kt,
mouseenter: wt,
mouseleave: At,
mouseover: Nt,
mouseup: ht,
mousewheel: Ct,
move: Mt,
orientationchange: Dt,
pointercancel: Lt,
pointerdown: Ot,
pointerleave: xt,
pointermove: zt,
pointerup: It,
readystatechange: Pt,
reset: Ft,
resize: Bt,
scroll: Wt,
select: Vt,
selectend: Ht,
selectstart: Ut,
submit: Rt,
touchcancel: Kt,
touchend: qt,
touchmove: jt,
touchstart: Qt,
unload: Gt
}, Qe = "drag", je = "dragstart", Ke = "dragenter", qe = "dragleave", Ge = "dragover", Ze = "dragend", _e = "loadstart", $e = {
start: "mousedown",
end: "mouseup",
move: "mousemove",
cancel: "mouseleave"
}, Je = { down: "mousedown", up: "mouseup" }, Xe = "onmouseleave" in document ? ["mouseenter", "mouseleave"] : ["mouseover", "mouseout"], Ye = {
start: "touchstart",
end: "touchend",
move: "touchmove",
cancel: "touchcancel"
}, tn = { in: "focusin", out: "focusout" }, Zt = 'a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"]', en = {
Backspace: "Backspace",
Tab: "Tab",
Enter: "Enter",
Shift: "Shift",
Control: "Control",
Alt: "Alt",
Pause: "Pause",
CapsLock: "CapsLock",
Escape: "Escape",
Scape: "Space",
ArrowLeft: "ArrowLeft",
ArrowUp: "ArrowUp",
ArrowRight: "ArrowRight",
ArrowDown: "ArrowDown",
Insert: "Insert",
Delete: "Delete",
Meta: "Meta",
ContextMenu: "ContextMenu",
ScrollLock: "ScrollLock"
}, nn = "Alt", on = "ArrowDown", sn = "ArrowUp", rn = "ArrowLeft", cn = "ArrowRight", an = "Backspace", un = "CapsLock", ln = "Control", dn = "Delete", fn = "Enter", pn = "NumpadEnter", gn = "Escape", mn = "Insert", vn = "Meta", bn = "Pause", En = "ScrollLock", hn = "Shift", yn = "Space", wn = "Tab", _t = "animationDuration", $t = "animationDelay", W = "animationName", C = "animationend", Jt = "transitionDuration", Xt = "transitionDelay", M = "transitionend", R = "transitionProperty", An = "addEventListener", Sn = "removeEventListener", kn = {
linear: "linear",
easingSinusoidalIn: "cubic-bezier(0.47,0,0.745,0.715)",
easingSinusoidalOut: "cubic-bezier(0.39,0.575,0.565,1)",
easingSinusoidalInOut: "cubic-bezier(0.445,0.05,0.55,0.95)",
easingQuadraticIn: "cubic-bezier(0.550,0.085,0.680,0.530)",
easingQuadraticOut: "cubic-bezier(0.250,0.460,0.450,0.940)",
easingQuadraticInOut: "cubic-bezier(0.455,0.030,0.515,0.955)",
easingCubicIn: "cubic-bezier(0.55,0.055,0.675,0.19)",
easingCubicOut: "cubic-bezier(0.215,0.61,0.355,1)",
easingCubicInOut: "cubic-bezier(0.645,0.045,0.355,1)",
easingQuarticIn: "cubic-bezier(0.895,0.03,0.685,0.22)",
easingQuarticOut: "cubic-bezier(0.165,0.84,0.44,1)",
easingQuarticInOut: "cubic-bezier(0.77,0,0.175,1)",
easingQuinticIn: "cubic-bezier(0.755,0.05,0.855,0.06)",
easingQuinticOut: "cubic-bezier(0.23,1,0.32,1)",
easingQuinticInOut: "cubic-bezier(0.86,0,0.07,1)",
easingExponentialIn: "cubic-bezier(0.95,0.05,0.795,0.035)",
easingExponentialOut: "cubic-bezier(0.19,1,0.22,1)",
easingExponentialInOut: "cubic-bezier(1,0,0,1)",
easingCircularIn: "cubic-bezier(0.6,0.04,0.98,0.335)",
easingCircularOut: "cubic-bezier(0.075,0.82,0.165,1)",
easingCircularInOut: "cubic-bezier(0.785,0.135,0.15,0.86)",
easingBackIn: "cubic-bezier(0.6,-0.28,0.735,0.045)",
easingBackOut: "cubic-bezier(0.175,0.885,0.32,1.275)",
easingBackInOut: "cubic-bezier(0.68,-0.55,0.265,1.55)"
}, Nn = "offsetHeight", Tn = "offsetWidth", Cn = "scrollHeight", Mn = "scrollWidth", Dn = "tabindex", Ln = navigator.userAgentData, { userAgent: Yt } = navigator, On = Yt, xn = () => {
const t = /iPhone|iPad|iPod|Android/i;
return navigator?.userAgentData?.brands.some(
(e) => t.test(e.brand)
) || t.test(navigator?.userAgent) || !1;
}, zn = () => {
const t = /(iPhone|iPod|iPad)/;
return navigator?.userAgentData?.brands.some(
(e) => t.test(e.brand)
) || t.test(
navigator?.userAgent
) || !1;
}, In = () => navigator?.userAgent?.includes("Firefox") || !1, te = () => typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none"), Pn = () => ["webkitPerspective", "perspective"].some((t) => t in document.head.style), ee = () => {
}, Q = (t, e, n, o) => {
const s = o || !1;
t.addEventListener(
e,
n,
s
);
}, j = (t, e, n, o) => {
const s = o || !1;
t.removeEventListener(
e,
n,
s
);
}, ne = (t, e, n, o) => {
const s = (r) => {
(r.target === t || r.currentTarget === t) && (n.apply(t, [r]), j(t, e, s, o));
};
Q(t, e, s, o);
}, Fn = () => {
let t = !1;
try {
const e = Object.defineProperty({}, "passive", {
get: () => (t = !0, t)
});
ne(document, U, ee, e);
} catch {
}
return t;
}, Bn = () => ["webkitTransform", "transform"].some((t) => t in document.head.style), Vn = () => "ontouchstart" in window || "msMaxTouchPoints" in navigator, Hn = () => ["webkitAnimation", "animation"].some((t) => t in document.head.style), Un = () => ["webkitTransition", "transition"].some((t) => t in document.head.style), K = (t, e) => t.getAttribute(e), Wn = (t, e, n) => e.getAttributeNS(t, n), oe = (t, e) => t.hasAttribute(e), Rn = (t, e, n) => e.hasAttributeNS(t, n), Qn = (t, e, n) => t.setAttribute(e, n), jn = (t, e, n, o) => e.setAttributeNS(t, n, o), Kn = (t, e) => t.removeAttribute(e), qn = (t, e, n) => e.removeAttributeNS(t, n), Gn = (t, ...e) => {
t.classList.add(...e);
}, Zn = (t, ...e) => {
t.classList.remove(...e);
}, _n = (t, e) => t.classList.contains(e), { body: $n } = document, { documentElement: Jn } = document, { head: Xn } = document, Yn = (t) => Array.from(t), v = (t) => t != null && typeof t == "object" || !1, u = (t) => v(t) && typeof t.nodeType == "number" && [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].some(
(e) => t.nodeType === e
) || !1, i = (t) => u(t) && t.nodeType === 1 || !1, E = /* @__PURE__ */ new Map(), L = {
data: E,
set: (t, e, n) => {
if (!i(t)) return;
E.has(e) || E.set(e, /* @__PURE__ */ new Map()), E.get(e).set(t, n);
},
getAllFor: (t) => E.get(t) || null,
get: (t, e) => {
if (!i(t) || !e) return null;
const n = L.getAllFor(e);
return t && n && n.get(t) || null;
},
remove: (t, e) => {
const n = L.getAllFor(e);
!n || !i(t) || (n.delete(t), n.size === 0 && E.delete(e));
}
}, to = (t, e) => L.get(t, e), eo = (t) => t?.charAt(0).toUpperCase() + t?.slice(1), P = (t) => t?.trim().replace(
/(?:^\w|[A-Z]|\b\w)/g,
(e, n) => n === 0 ? e.toLowerCase() : e.toUpperCase()
).replace(/\s+/g, ""), N = (t) => typeof t == "string" || !1, q = (t) => v(t) && t.constructor.name === "Window" || !1, G = (t) => u(t) && t.nodeType === 9 || !1, d = (t) => G(t) ? t : u(t) ? t.ownerDocument : q(t) ? t.document : globalThis.document, T = (t, ...e) => Object.assign(t, ...e), se = (t) => {
if (!t) return;
if (N(t))
return d().createElement(t);
const { tagName: e } = t, n = se(e);
if (!n) return;
const o = { ...t };
return delete o.tagName, T(n, o);
}, re = (t, e) => {
if (!t || !e) return;
if (N(e))
return d().createElementNS(t, e);
const { tagName: n } = e, o = re(t, n);
if (!o) return;
const s = { ...e };
return delete s.tagName, T(o, s);
}, Z = (t, e) => t.dispatchEvent(e), no = (t, e, n) => n.indexOf(t) === e, f = (t, e, n) => {
const o = getComputedStyle(t, n), s = e.replace("webkit", "Webkit").replace(/([A-Z])/g, "-$1").toLowerCase();
return o.getPropertyValue(s);
}, ce = (t) => {
const e = f(t, W), n = f(t, $t), o = n.includes("ms") ? 1 : 1e3, s = e && e !== "none" ? parseFloat(n) * o : 0;
return Number.isNaN(s) ? 0 : s;
}, ae = (t) => {
const e = f(t, W), n = f(t, _t), o = n.includes("ms") ? 1 : 1e3, s = e && e !== "none" ? parseFloat(n) * o : 0;
return Number.isNaN(s) ? 0 : s;
}, oo = (t, e) => {
let n = 0;
const o = new Event(C), s = ae(t), r = ce(t);
if (s) {
const a = (l) => {
l.target === t && (e.apply(t, [l]), t.removeEventListener(C, a), n = 1);
};
t.addEventListener(C, a), setTimeout(() => {
n || Z(t, o);
}, s + r + 17);
} else
e.apply(t, [o]);
}, ie = (t) => {
const e = f(t, R), n = f(t, Xt), o = n.includes("ms") ? 1 : 1e3, s = e && e !== "none" ? parseFloat(n) * o : 0;
return Number.isNaN(s) ? 0 : s;
}, ue = (t) => {
const e = f(t, R), n = f(t, Jt), o = n.includes("ms") ? 1 : 1e3, s = e && e !== "none" ? parseFloat(n) * o : 0;
return Number.isNaN(s) ? 0 : s;
}, so = (t, e) => {
let n = 0;
const o = new Event(M), s = ue(t), r = ie(t);
if (s) {
const a = (l) => {
l.target === t && (e.apply(t, [l]), t.removeEventListener(M, a), n = 1);
};
t.addEventListener(M, a), setTimeout(() => {
n || Z(t, o);
}, s + r + 17);
} else
e.apply(t, [o]);
}, ro = (t) => Float32Array.from(Array.from(t)), co = (t) => Float64Array.from(Array.from(t)), ao = (t, e) => t.focus(e), io = (t) => t?.trim().replace(/([a-z])([A-Z])/g, "$1-$2").replace(/\s+/g, "-").toLowerCase(), F = (t) => ["true", !0].includes(t) ? !0 : ["false", !1].includes(t) ? !1 : ["null", "", null, void 0].includes(t) ? null : t !== "" && !Number.isNaN(+t) ? +t : t, S = (t) => Object.entries(t), uo = (t, e, n, o) => {
if (!i(t)) return e;
const s = { ...n }, r = { ...t.dataset }, a = { ...e }, l = {}, p = "title";
return S(r).forEach(([c, g]) => {
const A = o && typeof c == "string" && c.includes(o) ? P(c.replace(o, "")) : P(c);
l[A] = F(g);
}), S(s).forEach(([c, g]) => {
s[c] = F(g);
}), S(e).forEach(([c, g]) => {
c in s ? a[c] = s[c] : c in l ? a[c] = l[c] : a[c] = c === p ? K(t, p) : g;
}), a;
}, lo = (t, e) => v(t) && (Object.hasOwn(t, e) || e in t), fo = (t) => Object.keys(t), po = (t) => Object.values(t), go = (t) => Object.fromEntries(t), mo = (t, e) => {
const n = new CustomEvent(t, {
cancelable: !0,
bubbles: !0
});
return v(e) && T(n, e), n;
}, vo = { passive: !0 }, bo = (t) => t.offsetHeight, Eo = (t, e) => {
S(e).forEach(([n, o]) => {
if (o && N(n) && n.includes("--"))
t.style.setProperty(n, o);
else {
const s = {};
s[n] = o, T(t.style, s);
}
});
}, O = (t) => v(t) && t.constructor.name === "Map" || !1, le = (t) => typeof t == "number" || !1, m = /* @__PURE__ */ new Map(), ho = {
set: (t, e, n, o) => {
i(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)));
},
get: (t, e) => {
if (!i(t)) return null;
const n = m.get(t);
return e && n && O(n) ? n.get(e) || null : le(n) ? n : null;
},
clear: (t, e) => {
if (!i(t)) return;
const n = m.get(t);
e && e.length && O(n) ? (clearTimeout(n.get(e)), n.delete(e), n.size === 0 && m.delete(t)) : (clearTimeout(n), m.delete(t));
}
}, yo = (t) => t.toLowerCase(), wo = (t) => t.toUpperCase(), de = (t, e) => (u(e) ? e : d()).querySelectorAll(t), z = /* @__PURE__ */ new Map();
function _(t) {
const { shiftKey: e, code: n } = t, o = d(this), s = [
...de(Zt, this)
].filter(
(l) => !oe(l, "disabled") && !K(l, X)
);
if (!s.length) return;
const r = s[0], a = s[s.length - 1];
n === "Tab" && (e && o.activeElement === r ? (a.focus(), t.preventDefault()) : !e && o.activeElement === a && (r.focus(), t.preventDefault()));
}
const I = (t) => z.has(t) === !0, fe = (t) => {
I(t) || (Q(t, "keydown", _), z.set(t, !0));
}, pe = (t) => {
I(t) && (j(t, "keydown", _), z.delete(t));
}, Ao = (t) => {
I(t) ? pe(t) : fe(t);
}, b = (t) => i(t) && "offsetWidth" in t || !1, y = (t, e) => {
const { width: n, height: o, top: s, right: r, bottom: a, left: l } = t.getBoundingClientRect();
let p = 1, c = 1;
if (e && b(t)) {
const { offsetWidth: g, offsetHeight: A } = t;
p = g > 0 ? Math.round(n) / g : 1, c = A > 0 ? Math.round(o) / A : 1;
}
return {
width: n / p,
height: o / c,
top: s / c,
right: r / p,
bottom: a / c,
left: l / p,
x: l / p,
y: s / c
};
}, So = (t) => d(t).body, w = (t) => d(t).documentElement, ko = (t) => d(t).head, ge = (t) => u(t) ? (t.nodeName || "").toLowerCase() : "#document", No = (t) => {
const e = q(t), n = e ? t.scrollX : t.scrollLeft, o = e ? t.scrollY : t.scrollTop;
return { x: n, y: o };
}, me = (t) => u(t) && t.constructor.name === "ShadowRoot" || !1, k = (t) => t.nodeName === "HTML" ? t : i(t) && t.assignedSlot || u(t) && t.parentNode || me(t) && t.host || w(t), ve = (t) => t ? G(t) ? t.defaultView : u(t) ? t?.ownerDocument?.defaultView : t : window, be = (t) => u(t) && ["TABLE", "TD", "TH"].includes(t.nodeName) || !1, Ee = (t, e) => t.matches(e), D = (t) => f(t, "position") === "static", he = (t) => f(t, "position") === "fixed", $ = (t) => [":popover-open", ":modal"].some((e) => {
try {
return Ee(t, e);
} catch {
return !1;
}
}), J = (t) => {
const e = te(), n = i(t) ? getComputedStyle(t) : t;
return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some(
(o) => (n.willChange || "").includes(o)
) || ["paint", "layout", "strict", "content"].some(
(o) => (n.contain || "").includes(o)
);
}, ye = (t) => {
let e = k(t);
for (; i(e) && !x(e); ) {
if (J(e))
return e;
if ($(e))
return null;
e = k(e);
}
return null;
}, x = (t) => ["html", "body", "#document"].includes(ge(t)), B = (t) => {
if (!b(t) || he(t))
return null;
let e = t.offsetParent;
return w(t) === e && (e = e.ownerDocument.body), e;
}, To = (t) => {
const e = ve(t);
if (!u(t) || $(t))
return e;
if (!b(t)) {
let o = k(t);
for (; o && !x(o); ) {
if (i(o) && !D(o))
return o;
o = k(o);
}
return e;
}
let n = B(t);
for (; n && be(n) && D(n); )
n = B(n);
return n && x(n) && D(n) && !J(n) ? e : n || ye(t) || e;
}, we = (t) => {
if (!b(t)) return !1;
const { width: e, height: n } = y(t), { offsetWidth: o, offsetHeight: s } = t;
return Math.round(e) !== o || Math.round(n) !== s;
}, Co = (t, e, n) => {
const o = b(e), s = y(
t,
o && we(e)
), r = { x: 0, y: 0 };
if (o) {
const a = y(e, !0);
r.x = a.x + e.clientLeft, r.y = a.y + e.clientTop;
}
return {
x: s.left + n.x - r.x,
y: s.top + n.y - r.y,
width: s.width,
height: s.height
};
};
let V = 0, H = 0;
const h = /* @__PURE__ */ new Map(), Ae = (t, e) => {
let n = e ? V : H;
if (e) {
const o = Ae(t), s = h.get(o) || /* @__PURE__ */ new Map();
h.has(o) || h.set(o, s), O(s) && !s.has(e) ? (s.set(e, n), V += 1) : n = s.get(e);
} else {
const o = t.id || t;
h.has(o) ? n = h.get(o) : (h.set(o, n), H += 1);
}
return n;
}, Se = (t) => Array.isArray(t) || !1, Mo = (t) => u(t) && t.nodeName === "CANVAS" || !1, ke = (t) => b(t) && !!t.shadowRoot || !1, Do = (t) => {
if (!u(t)) return !1;
const { top: e, bottom: n } = y(t), { clientHeight: o } = w(t);
return e <= o && n >= 0;
}, Lo = (t) => {
if (!i(t)) return !1;
const { clientWidth: e, clientHeight: n } = w(t), { top: o, left: s, bottom: r, right: a } = y(t, !0);
return o >= 0 && s >= 0 && r <= n && a <= e;
}, Oo = (t) => Se(t) && t.every(i) || !1, xo = (t) => typeof t == "function" || !1, zo = (t) => v(t) && t.constructor.name === "HTMLCollection" || !1, Io = (t) => b(t) && t.tagName === "IMG" || !1, Po = (t) => {
if (!N(t)) return !1;
try {
JSON.parse(t);
} catch {
return !1;
}
return !0;
}, Fo = (t) => v(t) && t.constructor.name === "WeakMap" || !1, Bo = (t) => u(t) && ["SVG", "Image", "Video", "Canvas"].some(
(e) => t.constructor.name.includes(e)
) || !1, Vo = (t) => v(t) && t.constructor.name === "NodeList" || !1, Ho = (t) => w(t).dir === "rtl", Uo = (t) => u(t) && t.constructor.name.includes("SVG") || !1, Ne = (t, e) => !t || !e ? null : t.closest(e) || Ne(t.getRootNode().host, e) || null, Wo = (t, e) => i(t) ? t : (i(e) ? e : d()).querySelector(t), Te = (t, e) => (u(e) ? e : d()).getElementsByTagName(
t
), Ro = (t) => [...Te("*", t)].filter(ke), Qo = (t, e) => d(e).getElementById(t), jo = (t, e) => (e && u(e) ? e : d()).getElementsByClassName(
t
);
export {
Yn as ArrayFrom,
U as DOMContentLoadedEvent,
st as DOMMouseScrollEvent,
L as Data,
ro as Float32ArrayFrom,
co as Float64ArrayFrom,
T as ObjectAssign,
S as ObjectEntries,
go as ObjectFromEntries,
lo as ObjectHasOwn,
fo as ObjectKeys,
po as ObjectValues,
ho as Timer,
Y as abortEvent,
Gn as addClass,
An as addEventListener,
fe as addFocusTrap,
$t as animationDelay,
_t as animationDuration,
C as animationEndEvent,
W as animationName,
Me as ariaChecked,
Le as ariaDescribedBy,
De as ariaDescription,
Oe as ariaExpanded,
xe as ariaHasPopup,
X as ariaHidden,
ze as ariaLabel,
Ie as ariaLabelledBy,
Pe as ariaModal,
Fe as ariaPressed,
Be as ariaSelected,
He as ariaValueMax,
Ve as ariaValueMin,
Ue as ariaValueNow,
We as ariaValueText,
tt as beforeunloadEvent,
kn as bezierEasings,
et as blurEvent,
P as camelCase,
eo as capitalize,
nt as changeEvent,
Ne as closest,
ot as contextmenuEvent,
mo as createCustomEvent,
se as createElement,
re as createElementNS,
Z as dispatchEvent,
no as distinct,
$n as documentBody,
Jn as documentElement,
Xn as documentHead,
Qe as dragEvent,
Ze as dragendEvent,
Ke as dragenterEvent,
qe as dragleaveEvent,
Ge as dragoverEvent,
je as dragstartEvent,
oo as emulateAnimationEnd,
so as emulateTransitionEnd,
rt as errorEvent,
ao as focus,
ct as focusEvent,
tn as focusEvents,
Zt as focusableSelector,
at as focusinEvent,
it as focusoutEvent,
ut as gesturechangeEvent,
lt as gestureendEvent,
dt as gesturestartEvent,
K as getAttribute,
Wn as getAttributeNS,
y as getBoundingClientRect,
Ro as getCustomElements,
d as getDocument,
So as getDocumentBody,
w as getDocumentElement,
ko as getDocumentHead,
ce as getElementAnimationDelay,
ae as getElementAnimationDuration,
Qo as getElementById,
f as getElementStyle,
ie as getElementTransitionDelay,
ue as getElementTransitionDuration,
jo as getElementsByClassName,
Te as getElementsByTagName,
to as getInstance,
ge as getNodeName,
No as getNodeScroll,
To as getOffsetParent,
k as getParentNode,
Co as getRectRelativeToOffsetParent,
Ae as getUID,
ve as getWindow,
_ as handleKeyboardNavigation,
oe as hasAttribute,
Rn as hasAttributeNS,
_n as hasClass,
I as hasFocusTrap,
zn as isApple,
Se as isArray,
Mo as isCanvas,
ke as isCustomElement,
G as isDocument,
i as isElement,
Do as isElementInScrollRange,
Lo as isElementInViewport,
Oo as isElementsArray,
In as isFirefox,
xo as isFunction,
zo as isHTMLCollection,
b as isHTMLElement,
Io as isHTMLImageElement,
Po as isJSON,
O as isMap,
Bo as isMedia,
xn as isMobile,
u as isNode,
Vo as isNodeList,
le as isNumber,
v as isObject,
Ho as isRTL,
Uo as isSVGElement,
we as isScaledElement,
me as isShadowRoot,
N as isString,
be as isTableElement,
Fo as isWeakMap,
te as isWebKit,
q as isWindow,
io as kebabCase,
nn as keyAlt,
on as keyArrowDown,
rn as keyArrowLeft,
cn as keyArrowRight,
sn as keyArrowUp,
an as keyBackspace,
un as keyCapsLock,
ln as keyControl,
dn as keyDelete,
fn as keyEnter,
gn as keyEscape,
mn as keyInsert,
vn as keyMeta,
pn as keyNumpadEnter,
bn as keyPause,
En as keyScrollLock,
hn as keyShift,
yn as keySpace,
wn as keyTab,
en as keyboardEventKeys,
ft as keydownEvent,
pt as keypressEvent,
gt as keyupEvent,
mt as loadEvent,
_e as loadstartEvent,
Ee as matches,
Je as mouseClickEvents,
Xe as mouseHoverEvents,
$e as mouseSwipeEvents,
vt as mouseclickEvent,
bt as mousedblclickEvent,
Et as mousedownEvent,
wt as mouseenterEvent,
yt as mousehoverEvent,
St as mouseinEvent,
At as mouseleaveEvent,
Tt as mousemoveEvent,
kt as mouseoutEvent,
Nt as mouseoverEvent,
ht as mouseupEvent,
Ct as mousewheelEvent,
Mt as moveEvent,
Re as nativeEvents,
ee as noop,
uo as normalizeOptions,
F as normalizeValue,
j as off,
Nn as offsetHeight,
Tn as offsetWidth,
Q as on,
ne as one,
Dt as orientationchangeEvent,
vo as passiveHandler,
Lt as pointercancelEvent,
Ot as pointerdownEvent,
xt as pointerleaveEvent,
zt as pointermoveEvent,
It as pointerupEvent,
Wo as querySelector,
de as querySelectorAll,
Pt as readystatechangeEvent,
bo as reflow,
Kn as removeAttribute,
qn as removeAttributeNS,
Zn as removeClass,
Sn as removeEventListener,
pe as removeFocusTrap,
Ft as resetEvent,
Bt as resizeEvent,
Wt as scrollEvent,
Cn as scrollHeight,
Mn as scrollWidth,
Vt as selectEvent,
Ht as selectendEvent,
Ut as selectstartEvent,
Qn as setAttribute,
jn as setAttributeNS,
Eo as setElementStyle,
Rt as submitEvent,
Pn as support3DTransform,
Hn as supportAnimation,
Fn as supportPassive,
Vn as supportTouch,
Bn as supportTransform,
Un as supportTransition,
Dn as tabindex,
yo as toLowerCase,
wo as toUpperCase,
Ao as toggleFocusTrap,
Ye as touchEvents,
Kt as touchcancelEvent,
qt as touchendEvent,
jt as touchmoveEvent,
Qt as touchstartEvent,
Xt as transitionDelay,
Jt as transitionDuration,
M as transitionEndEvent,
R as transitionProperty,
Gt as unloadEvent,
On as userAgent,
Ln as userAgentData,
Ce as version
};
//# sourceMappingURL=shorty.mjs.map