@serendie/ui 2.0.0 → 2.1.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.
Files changed (118) hide show
  1. package/dist/components/CheckBox/CheckBox.js +36 -35
  2. package/dist/components/ChoiceBox/ChoiceBox.js +41 -41
  3. package/dist/components/DataTable/DataTableComponent.d.ts +3 -20
  4. package/dist/components/DataTable/DataTableComponent.js +38 -36
  5. package/dist/components/DataTable/table/HeaderCheckbox.js +29 -19
  6. package/dist/components/Search/Search.d.ts +3 -1
  7. package/dist/components/Search/Search.js +34 -33
  8. package/dist/components/Select/Select.d.ts +2 -1
  9. package/dist/components/Select/Select.js +47 -41
  10. package/dist/components/Tooltip/Tooltip.d.ts +14 -0
  11. package/dist/components/Tooltip/Tooltip.js +70 -0
  12. package/dist/components/Tooltip/index.d.ts +1 -0
  13. package/dist/components/Tooltip/index.js +4 -0
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.js +12 -10
  16. package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-item-content.js +4 -6
  17. package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-item-indicator.js +4 -6
  18. package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-item-trigger.js +10 -12
  19. package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-item.js +16 -16
  20. package/dist/node_modules/@ark-ui/react/dist/components/accordion/use-accordion.js +13 -20
  21. package/dist/node_modules/@ark-ui/react/dist/components/avatar/avatar-root.js +1 -5
  22. package/dist/node_modules/@ark-ui/react/dist/components/avatar/use-avatar.js +14 -18
  23. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-hidden-input.js +4 -6
  24. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/use-checkbox.js +22 -28
  25. package/dist/node_modules/@ark-ui/react/dist/components/collapsible/collapsible-content.js +7 -9
  26. package/dist/node_modules/@ark-ui/react/dist/components/collapsible/use-collapsible.js +14 -21
  27. package/dist/node_modules/@ark-ui/react/dist/components/collection/list-collection.js +5 -0
  28. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-content.js +9 -8
  29. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-item-group.js +4 -6
  30. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-positioner.js +4 -6
  31. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-root.js +17 -18
  32. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-trigger.js +10 -9
  33. package/dist/node_modules/@ark-ui/react/dist/components/combobox/use-combobox-item-context.js +5 -7
  34. package/dist/node_modules/@ark-ui/react/dist/components/combobox/use-combobox.js +21 -45
  35. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-backdrop.js +10 -9
  36. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-close-trigger.js +4 -6
  37. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-content.js +6 -5
  38. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-description.js +4 -6
  39. package/dist/node_modules/@ark-ui/react/dist/components/dialog/use-dialog.js +13 -22
  40. package/dist/node_modules/@ark-ui/react/dist/components/factory.js +26 -24
  41. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-content.js +9 -8
  42. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-item-group.js +1 -3
  43. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-item.js +15 -13
  44. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-root.js +13 -14
  45. package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-option-item-props-context.js +10 -0
  46. package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu.js +14 -21
  47. package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-ellipsis.js +4 -6
  48. package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-next-trigger.js +4 -6
  49. package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-prev-trigger.js +4 -6
  50. package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-root.js +5 -4
  51. package/dist/node_modules/@ark-ui/react/dist/components/pagination/use-pagination.js +13 -19
  52. package/dist/node_modules/@ark-ui/react/dist/components/portal/portal.js +25 -16
  53. package/dist/node_modules/@ark-ui/react/dist/components/presence/split-presence-props.js +3 -2
  54. package/dist/node_modules/@ark-ui/react/dist/components/presence/use-presence.js +18 -18
  55. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-item-control.js +4 -6
  56. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-item-text.js +4 -6
  57. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-item.js +1 -5
  58. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/use-radio-group.js +14 -22
  59. package/dist/node_modules/@ark-ui/react/dist/components/select/select-content.js +9 -8
  60. package/dist/node_modules/@ark-ui/react/dist/components/select/select-root.js +11 -12
  61. package/dist/node_modules/@ark-ui/react/dist/components/select/use-select.js +20 -47
  62. package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-hidden-input.js +4 -6
  63. package/dist/node_modules/@ark-ui/react/dist/components/switch/use-switch.js +20 -26
  64. package/dist/node_modules/@ark-ui/react/dist/components/tabs/tabs-root.js +9 -8
  65. package/dist/node_modules/@ark-ui/react/dist/components/tabs/use-tabs.js +14 -21
  66. package/dist/node_modules/@ark-ui/react/dist/components/toast/create-toaster.js +3 -7
  67. package/dist/node_modules/@ark-ui/react/dist/components/toast/toaster.js +28 -15
  68. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-arrow-tip.js +13 -0
  69. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-arrow.js +13 -0
  70. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-content.js +15 -0
  71. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-positioner.js +14 -0
  72. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-root.js +14 -0
  73. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-trigger.js +13 -0
  74. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/use-tooltip-context.js +10 -0
  75. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/use-tooltip.js +17 -0
  76. package/dist/node_modules/@ark-ui/react/dist/utils/compose-refs.js +13 -7
  77. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +92 -90
  78. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +230 -216
  79. package/dist/node_modules/@zag-js/accordion/dist/index.js +210 -227
  80. package/dist/node_modules/@zag-js/aria-hidden/dist/index.js +49 -12
  81. package/dist/node_modules/@zag-js/avatar/dist/index.js +119 -134
  82. package/dist/node_modules/@zag-js/checkbox/dist/index.js +196 -197
  83. package/dist/node_modules/@zag-js/collapsible/dist/index.js +250 -198
  84. package/dist/node_modules/@zag-js/collection/dist/index.js +172 -179
  85. package/dist/node_modules/@zag-js/combobox/dist/index.js +1176 -1082
  86. package/dist/node_modules/@zag-js/core/dist/index.js +77 -496
  87. package/dist/node_modules/@zag-js/dialog/dist/index.js +243 -270
  88. package/dist/node_modules/@zag-js/dismissable/dist/index.js +62 -60
  89. package/dist/node_modules/@zag-js/dom-query/dist/index.js +465 -253
  90. package/dist/node_modules/@zag-js/focus-trap/dist/index.js +307 -0
  91. package/dist/node_modules/@zag-js/focus-visible/dist/index.js +48 -47
  92. package/dist/node_modules/@zag-js/interact-outside/dist/index.js +112 -80
  93. package/dist/node_modules/@zag-js/menu/dist/index.js +998 -884
  94. package/dist/node_modules/@zag-js/pagination/dist/index.js +207 -213
  95. package/dist/node_modules/@zag-js/popper/dist/index.js +130 -129
  96. package/dist/node_modules/@zag-js/presence/dist/index.js +139 -122
  97. package/dist/node_modules/@zag-js/radio-group/dist/index.js +297 -302
  98. package/dist/node_modules/@zag-js/react/dist/index.js +255 -103
  99. package/dist/node_modules/@zag-js/remove-scroll/dist/index.js +18 -31
  100. package/dist/node_modules/@zag-js/select/dist/index.js +889 -885
  101. package/dist/node_modules/@zag-js/store/dist/index.js +98 -137
  102. package/dist/node_modules/@zag-js/switch/dist/index.js +199 -191
  103. package/dist/node_modules/@zag-js/tabs/dist/index.js +383 -386
  104. package/dist/node_modules/@zag-js/toast/dist/index.js +646 -633
  105. package/dist/node_modules/@zag-js/tooltip/dist/index.js +459 -0
  106. package/dist/node_modules/@zag-js/types/dist/index.js +6 -6
  107. package/dist/node_modules/@zag-js/utils/dist/index.js +112 -99
  108. package/dist/node_modules/proxy-compare/dist/index.js +4 -106
  109. package/dist/styles.css +1 -1
  110. package/package.json +5 -5
  111. package/dist/node_modules/@ark-ui/react/dist/utils/use-is-server.js +0 -10
  112. package/dist/node_modules/@zag-js/dom-event/dist/index.js +0 -130
  113. package/dist/node_modules/@zag-js/element-rect/dist/index.js +0 -32
  114. package/dist/node_modules/@zag-js/form-utils/dist/index.js +0 -51
  115. package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -52
  116. package/dist/node_modules/focus-trap/dist/focus-trap.esm.js +0 -431
  117. package/dist/node_modules/klona/full/index.js +0 -21
  118. package/dist/node_modules/tabbable/dist/index.esm.js +0 -202
@@ -1,277 +1,455 @@
1
- var dt = (t) => t ? "" : void 0, mt = (t) => t ? "true" : void 0, pt = 2147483647, F = 1, O = 9, V = 11, l = (t) => typeof t == "object" && t !== null, u = (t) => l(t) && t.nodeType === F && typeof t.nodeName == "string", A = (t) => l(t) && t.nodeType === O, R = (t) => l(t) && t === t.window, W = (t) => l(t) && t.nodeType !== void 0, B = (t) => W(t) && t.nodeType === V && "host" in t;
2
- function K(t, e) {
3
- return !t || !e || !u(t) || !u(e) ? !1 : t === e || t.contains(e);
1
+ function ne(t) {
2
+ if (!t) return;
3
+ const e = t.selectionStart ?? 0, n = t.selectionEnd ?? 0;
4
+ Math.abs(n - e) === 0 && e === 0 && t.setSelectionRange(t.value.length, t.value.length);
4
5
  }
5
- function L(t) {
6
- return A(t) ? t : R(t) ? t.document : (t == null ? void 0 : t.ownerDocument) ?? document;
6
+ var et = (t, e) => t.map((n, r) => t[(Math.max(e, 0) + r) % t.length]), C = (...t) => (e) => t.reduce((n, r) => r(n), e), h = () => {
7
+ }, A = (t) => typeof t == "object" && t !== null, re = 2147483647, oe = (t) => t ? "" : void 0, ie = (t) => t ? "true" : void 0, nt = 1, rt = 9, ot = 11, u = (t) => A(t) && t.nodeType === nt && typeof t.nodeName == "string", W = (t) => A(t) && t.nodeType === rt, it = (t) => A(t) && t === t.window, H = (t) => u(t) ? t.localName || "" : "#document";
8
+ function st(t) {
9
+ return ["html", "body", "#document"].includes(H(t));
10
+ }
11
+ var at = (t) => A(t) && t.nodeType !== void 0, E = (t) => at(t) && t.nodeType === ot && "host" in t, ct = (t) => u(t) && t.localName === "input", se = (t) => !!(t != null && t.matches("a[href]")), ut = (t) => u(t) ? t.offsetWidth > 0 || t.offsetHeight > 0 || t.getClientRects().length > 0 : !1, ft = /(textarea|select)/;
12
+ function lt(t) {
13
+ if (t == null || !u(t)) return !1;
14
+ try {
15
+ return ct(t) && t.selectionStart != null || ft.test(t.localName) || t.isContentEditable || t.getAttribute("contenteditable") === "true" || t.getAttribute("contenteditable") === "";
16
+ } catch {
17
+ return !1;
18
+ }
19
+ }
20
+ function q(t, e) {
21
+ var r;
22
+ if (!t || !e || !u(t) || !u(e)) return !1;
23
+ const n = (r = e.getRootNode) == null ? void 0 : r.call(e);
24
+ if (t === e || t.contains(e)) return !0;
25
+ if (n && E(n)) {
26
+ let o = e;
27
+ for (; o; ) {
28
+ if (t === o) return !0;
29
+ o = o.parentNode || o.host;
30
+ }
31
+ }
32
+ return !1;
33
+ }
34
+ function S(t) {
35
+ return W(t) ? t : it(t) ? t.document : (t == null ? void 0 : t.ownerDocument) ?? document;
36
+ }
37
+ function dt(t) {
38
+ return S(t).documentElement;
7
39
  }
8
40
  function f(t) {
9
41
  var e;
10
- return B(t) ? f(t.host) : A(t) ? t.defaultView ?? window : u(t) ? ((e = t.ownerDocument) == null ? void 0 : e.defaultView) ?? window : window;
42
+ return E(t) ? f(t.host) : W(t) ? t.defaultView ?? window : u(t) ? ((e = t.ownerDocument) == null ? void 0 : e.defaultView) ?? window : window;
43
+ }
44
+ function ae(t) {
45
+ let e = t.activeElement;
46
+ for (; e != null && e.shadowRoot; ) {
47
+ const n = e.shadowRoot.activeElement;
48
+ if (n === e) break;
49
+ e = n;
50
+ }
51
+ return e;
11
52
  }
12
- var b = () => typeof document < "u";
13
- function _() {
53
+ function mt(t) {
54
+ if (H(t) === "html") return t;
55
+ const e = t.assignedSlot || t.parentNode || E(t) && t.host || dt(t);
56
+ return E(e) ? e.host : e;
57
+ }
58
+ var D = /* @__PURE__ */ new WeakMap();
59
+ function ce(t) {
60
+ return D.has(t) || D.set(t, f(t).getComputedStyle(t)), D.get(t);
61
+ }
62
+ var T = () => typeof document < "u";
63
+ function bt() {
14
64
  const t = navigator.userAgentData;
15
65
  return (t == null ? void 0 : t.platform) ?? navigator.platform;
16
66
  }
17
- var g = (t) => b() && t.test(_()), j = (t) => b() && t.test(navigator.userAgent), H = (t) => b() && t.test(navigator.vendor), bt = () => g(/^Mac/), gt = () => x() && H(/apple/i), ht = () => j(/firefox\//i), x = () => g(/mac|iphone|ipad|ipod/i), yt = () => g(/iP(hone|ad|od)|iOS/);
18
- function q(t) {
67
+ function pt() {
68
+ const t = navigator.userAgentData;
69
+ return t && Array.isArray(t.brands) ? t.brands.map(({ brand: e, version: n }) => `${e}/${n}`).join(" ") : navigator.userAgent;
70
+ }
71
+ var M = (t) => T() && t.test(bt()), U = (t) => T() && t.test(pt()), vt = (t) => T() && t.test(navigator.vendor), ue = () => T() && !!navigator.maxTouchPoints, yt = () => M(/^iPhone/i), ht = () => M(/^iPad/i) || k() && navigator.maxTouchPoints > 1, gt = () => yt() || ht(), wt = () => k() || gt(), k = () => M(/^Mac/i), fe = () => wt() && vt(/apple/i), Et = () => U(/Firefox/i), At = () => U(/Android/i);
72
+ function Tt(t) {
19
73
  var e, n, r;
20
74
  return ((e = t.composedPath) == null ? void 0 : e.call(t)) ?? ((r = (n = t.nativeEvent) == null ? void 0 : n.composedPath) == null ? void 0 : r.call(n));
21
75
  }
22
- function P(t) {
23
- const e = q(t);
76
+ function X(t) {
77
+ const e = Tt(t);
24
78
  return (e == null ? void 0 : e[0]) ?? t.target;
25
79
  }
26
- var vt = (t) => K(t.currentTarget, P(t));
27
- function wt(t) {
80
+ var le = (t) => q(t.currentTarget, X(t));
81
+ function de(t) {
28
82
  const e = t.currentTarget;
29
- if (!e) return !1;
30
- const n = x();
31
- if (n && !t.metaKey || !n && !t.ctrlKey) return !1;
32
- const r = e.localName;
33
- return r === "a" || r === "button" && e.type === "submit" || r === "input" && e.type === "submit";
83
+ if (!e || !e.matches("a[href], button[type='submit'], input[type='submit']")) return !1;
84
+ const r = t.button === 1, o = kt(t);
85
+ return r || o;
34
86
  }
35
- function Et(t) {
87
+ function me(t) {
36
88
  const e = t.currentTarget;
37
89
  if (!e) return !1;
38
90
  const n = e.localName;
39
91
  return t.altKey ? n === "a" || n === "button" && e.type === "submit" || n === "input" && e.type === "submit" : !1;
40
92
  }
41
- function Tt(t) {
42
- var e;
43
- return ((e = t.nativeEvent) == null ? void 0 : e.isComposing) ?? t.isComposing;
93
+ function be(t) {
94
+ return Nt(t).isComposing || t.keyCode === 229;
44
95
  }
45
- var h = (t) => t.id;
46
- function k(t, e, n = h) {
47
- return t.find((r) => n(r) === e);
96
+ function kt(t) {
97
+ return k() ? t.metaKey : t.ctrlKey;
48
98
  }
49
- function y(t, e, n = h) {
50
- const r = k(t, e, n);
51
- return r ? t.indexOf(r) : -1;
99
+ function pe(t) {
100
+ return t.key.length === 1 && !t.ctrlKey && !t.metaKey;
52
101
  }
53
- function St(t, e, n = !0) {
54
- let r = y(t, e);
55
- return r = n ? (r + 1) % t.length : Math.min(r + 1, t.length - 1), t[r];
102
+ function ve(t) {
103
+ return t.mozInputSource === 0 && t.isTrusted ? !0 : At() && t.pointerType ? t.type === "click" && t.buttons === 1 : t.detail === 0 && !t.pointerType;
104
+ }
105
+ var ye = (t) => t.button === 0, he = (t) => t.button === 2 || k() && t.ctrlKey && t.button === 0, ge = (t) => t.ctrlKey || t.altKey || t.metaKey, xt = (t) => "touches" in t && t.touches.length > 0, It = {
106
+ Up: "ArrowUp",
107
+ Down: "ArrowDown",
108
+ Esc: "Escape",
109
+ " ": "Space",
110
+ ",": "Comma",
111
+ Left: "ArrowLeft",
112
+ Right: "ArrowRight"
113
+ }, _ = {
114
+ ArrowLeft: "ArrowRight",
115
+ ArrowRight: "ArrowLeft"
116
+ };
117
+ function we(t, e = {}) {
118
+ const { dir: n = "ltr", orientation: r = "horizontal" } = e;
119
+ let o = t.key;
120
+ return o = It[o] ?? o, n === "rtl" && r === "horizontal" && o in _ && (o = _[o]), o;
56
121
  }
57
- function At(t, e, n = !0) {
58
- let r = y(t, e);
59
- return r === -1 ? n ? t[t.length - 1] : null : (r = n ? (r - 1 + t.length) % t.length : Math.max(0, r - 1), t[r]);
122
+ function Nt(t) {
123
+ return t.nativeEvent ?? t;
60
124
  }
61
- var X = (t) => t.split("").map((e) => {
62
- const n = e.charCodeAt(0);
63
- return n > 0 && n < 128 ? e : n >= 128 && n <= 255 ? `/x${n.toString(16)}`.replace("/", "\\") : "";
64
- }).join("").trim(), U = (t) => X(t.dataset.valuetext ?? t.textContent ?? ""), z = (t, e) => t.trim().toLowerCase().startsWith(e.toLowerCase()), G = (t, e) => t.map((n, r) => t[(Math.max(e, 0) + r) % t.length]);
65
- function Y(t, e, n, r = h) {
66
- const i = n ? y(t, n, r) : -1;
67
- let o = n ? G(t, i) : t;
68
- return e.length === 1 && (o = o.filter((a) => r(a) !== n)), o.find((a) => z(U(a), e));
69
- }
70
- function Z(t, e) {
71
- const { state: n, activeId: r, key: i, timeout: o = 350, itemToId: s } = e, a = n.keysSoFar + i, C = a.length > 1 && Array.from(a).every((c) => c === a[0]) ? a[0] : a;
72
- let D = t.slice();
73
- const M = Y(D, C, r, s);
74
- function T() {
75
- clearTimeout(n.timer), n.timer = -1;
76
- }
77
- function S(c) {
78
- n.keysSoFar = c, T(), c !== "" && (n.timer = +setTimeout(() => {
79
- S(""), T();
80
- }, o));
81
- }
82
- return S(a), M;
125
+ function Ct(t, e = "client") {
126
+ const n = xt(t) ? t.touches[0] || t.changedTouches[0] : t;
127
+ return { x: n[`${e}X`], y: n[`${e}Y`] };
83
128
  }
84
- var xt = /* @__PURE__ */ Object.assign(Z, {
85
- defaultOptions: { keysSoFar: "", timer: -1 },
86
- isValidEvent: $
87
- });
88
- function $(t) {
89
- return t.key.length === 1 && !t.ctrlKey && !t.metaKey;
129
+ var v = (t, e, n, r) => {
130
+ const o = typeof t == "function" ? t() : t;
131
+ return o == null || o.addEventListener(e, n, r), () => {
132
+ o == null || o.removeEventListener(e, n, r);
133
+ };
134
+ };
135
+ function Dt(t, e) {
136
+ const { type: n = "HTMLInputElement", property: r = "value" } = e, o = f(t)[n].prototype;
137
+ return Object.getOwnPropertyDescriptor(o, r) ?? {};
90
138
  }
91
- var d = /* @__PURE__ */ new WeakMap();
92
- function It(t) {
93
- return d.has(t) || d.set(t, f(t).getComputedStyle(t)), d.get(t);
139
+ function Lt(t, e) {
140
+ var r;
141
+ if (!t) return;
142
+ (r = Dt(t, { type: "HTMLInputElement", property: "checked" }).set) == null || r.call(t, e), e ? t.setAttribute("checked", "") : t.removeAttribute("checked");
94
143
  }
95
- var v = (t) => typeof t == "object" && t !== null && t.nodeType === 1, I = (t) => v(t) && t.tagName === "IFRAME";
96
- function J(t) {
97
- return v(t) ? t.offsetWidth > 0 || t.offsetHeight > 0 || t.getClientRects().length > 0 : !1;
144
+ function Ee(t, e) {
145
+ const { checked: n, bubbles: r = !0 } = e;
146
+ if (!t) return;
147
+ const o = f(t);
148
+ t instanceof o.HTMLInputElement && (Lt(t, n), t.dispatchEvent(new o.Event("click", { bubbles: r })));
98
149
  }
99
- function Q(t) {
100
- return parseInt(t.getAttribute("tabindex") || "0", 10) < 0;
150
+ function St(t) {
151
+ return Mt(t) ? t.form : t.closest("form");
101
152
  }
102
- var w = "input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type", tt = (t, e = !1) => {
153
+ function Mt(t) {
154
+ return t.matches("textarea, input, select, button");
155
+ }
156
+ function Pt(t, e) {
157
+ if (!t) return;
158
+ const n = St(t), r = (o) => {
159
+ o.defaultPrevented || e();
160
+ };
161
+ return n == null || n.addEventListener("reset", r, { passive: !0 }), () => n == null ? void 0 : n.removeEventListener("reset", r);
162
+ }
163
+ function Rt(t, e) {
164
+ const n = t == null ? void 0 : t.closest("fieldset");
165
+ if (!n) return;
166
+ e(n.disabled);
167
+ const r = f(n), o = new r.MutationObserver(() => e(n.disabled));
168
+ return o.observe(n, {
169
+ attributes: !0,
170
+ attributeFilter: ["disabled"]
171
+ }), () => o.disconnect();
172
+ }
173
+ function Ae(t, e) {
174
+ if (!t) return;
175
+ const { onFieldsetDisabledChange: n, onFormReset: r } = e, o = [Pt(t, r), Rt(t, n)];
176
+ return () => o.forEach((i) => i == null ? void 0 : i());
177
+ }
178
+ var $ = (t) => u(t) && t.tagName === "IFRAME", Ft = (t) => !Number.isNaN(parseInt(t.getAttribute("tabindex") || "0", 10)), Kt = (t) => parseInt(t.getAttribute("tabindex") || "0", 10) < 0, P = "input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type", Ot = (t, e = !1) => {
103
179
  if (!t) return [];
104
- const n = Array.from(t.querySelectorAll(w));
105
- (e == !0 || e == "if-empty" && n.length === 0) && v(t) && p(t) && n.unshift(t);
106
- const i = n.filter(p);
107
- return i.forEach((o, s) => {
108
- if (I(o) && o.contentDocument) {
109
- const a = o.contentDocument.body;
110
- i.splice(s, 1, ...tt(a));
180
+ const n = Array.from(t.querySelectorAll(P));
181
+ (e == !0 || e == "if-empty" && n.length === 0) && u(t) && L(t) && n.unshift(t);
182
+ const o = n.filter(L);
183
+ return o.forEach((i, a) => {
184
+ if ($(i) && i.contentDocument) {
185
+ const s = i.contentDocument.body;
186
+ o.splice(a, 1, ...Ot(s));
111
187
  }
112
- }), i;
188
+ }), o;
113
189
  };
114
- function p(t) {
115
- return !t || t.closest("[inert]") ? !1 : t.matches(w) && J(t);
190
+ function L(t) {
191
+ return !t || t.closest("[inert]") ? !1 : t.matches(P) && ut(t);
116
192
  }
117
- function E(t, e) {
193
+ function R(t, e) {
118
194
  if (!t) return [];
119
- const r = Array.from(t.querySelectorAll(w)).filter(et);
120
- return r.forEach((i, o) => {
121
- if (I(i) && i.contentDocument) {
122
- const s = i.contentDocument.body, a = E(s);
123
- r.splice(o, 1, ...a);
195
+ const r = Array.from(t.querySelectorAll(P)).filter(Vt);
196
+ return r.forEach((o, i) => {
197
+ if ($(o) && o.contentDocument) {
198
+ const a = o.contentDocument.body, s = R(a);
199
+ r.splice(i, 1, ...s);
124
200
  }
125
201
  }), r.length, r;
126
202
  }
127
- function et(t) {
128
- return t != null && t.tabIndex > 0 ? !0 : p(t) && !Q(t);
129
- }
130
- function nt(t, e) {
131
- const n = E(t, e), r = n[0] || null, i = n[n.length - 1] || null;
132
- return [r, i];
203
+ function Vt(t) {
204
+ return t != null && t.tabIndex > 0 ? !0 : L(t) && !Kt(t);
133
205
  }
134
- function Nt(t) {
135
- const { root: e, getInitialEl: n, filter: r, enabled: i = !0 } = t;
136
- if (!i) return;
137
- let o = null;
138
- if (o || (o = typeof n == "function" ? n() : n), o || (o = e == null ? void 0 : e.querySelector("[data-autofocus],[autofocus]")), !o) {
139
- const s = E(e);
140
- o = r ? s.filter(r)[0] : s[0];
206
+ function Bt(t, e) {
207
+ const n = R(t, e), r = n[0] || null, o = n[n.length - 1] || null;
208
+ return [r, o];
209
+ }
210
+ function Te(t) {
211
+ return t.tabIndex < 0 && (/^(audio|video|details)$/.test(t.localName) || lt(t)) && !Ft(t) ? 0 : t.tabIndex;
212
+ }
213
+ function ke(t) {
214
+ const { root: e, getInitialEl: n, filter: r, enabled: o = !0 } = t;
215
+ if (!o) return;
216
+ let i = null;
217
+ if (i || (i = typeof n == "function" ? n() : n), i || (i = e == null ? void 0 : e.querySelector("[data-autofocus],[autofocus]")), !i) {
218
+ const a = R(e);
219
+ i = r ? a.filter(r)[0] : a[0];
141
220
  }
142
- return o || e || void 0;
221
+ return i || e || void 0;
143
222
  }
144
- function Ct(t) {
223
+ function xe(t) {
145
224
  const e = t.currentTarget;
146
225
  if (!e) return !1;
147
- const [n, r] = nt(e), i = e.ownerDocument || document;
148
- return !(i.activeElement === n && t.shiftKey || i.activeElement === r && !t.shiftKey || !n && !r);
149
- }
150
- function Dt(t) {
151
- if (t == null || !u(t))
152
- return !1;
153
- try {
154
- const e = f(t);
155
- return t instanceof e.HTMLInputElement && t.selectionStart != null || /(textarea|select)/.test(t.localName) || t.isContentEditable;
156
- } catch {
157
- return !1;
158
- }
159
- }
160
- var rt = /auto|scroll|overlay|hidden|clip/;
161
- function it(t) {
162
- const e = f(t), { overflow: n, overflowX: r, overflowY: i, display: o } = e.getComputedStyle(t);
163
- return rt.test(n + i + r) && !["inline", "contents"].includes(o);
226
+ const [n, r] = Bt(e), o = e.ownerDocument || document;
227
+ return !(o.activeElement === n && t.shiftKey || o.activeElement === r && !t.shiftKey || !n && !r);
164
228
  }
165
- function Mt(t) {
229
+ function Ie(t) {
166
230
  const e = /* @__PURE__ */ new Set();
167
231
  function n(r) {
168
- const i = globalThis.requestAnimationFrame(r);
169
- e.add(() => globalThis.cancelAnimationFrame(i));
232
+ const o = globalThis.requestAnimationFrame(r);
233
+ e.add(() => globalThis.cancelAnimationFrame(o));
170
234
  }
171
235
  return n(() => n(t)), function() {
172
- e.forEach((i) => i());
236
+ e.forEach((o) => o());
173
237
  };
174
238
  }
175
- function N(t) {
176
- const e = globalThis.requestAnimationFrame(t);
239
+ function F(t) {
240
+ let e;
241
+ const n = globalThis.requestAnimationFrame(() => {
242
+ e = t();
243
+ });
177
244
  return () => {
178
- globalThis.cancelAnimationFrame(e);
245
+ globalThis.cancelAnimationFrame(n), e == null || e();
246
+ };
247
+ }
248
+ function jt(t, e, n) {
249
+ const r = F(() => {
250
+ t.removeEventListener(e, o, !0), n();
251
+ }), o = () => {
252
+ r(), n();
179
253
  };
254
+ return t.addEventListener(e, o, { once: !0, capture: !0 }), r;
180
255
  }
181
- function ot(t, e) {
256
+ function _t(t, e) {
182
257
  if (!t) return;
183
- const { attributes: n, callback: r } = e, i = t.ownerDocument.defaultView || window, o = new i.MutationObserver((s) => {
184
- for (const a of s)
185
- a.type === "attributes" && a.attributeName && n.includes(a.attributeName) && r(a);
258
+ const { attributes: n, callback: r } = e, o = t.ownerDocument.defaultView || window, i = new o.MutationObserver((a) => {
259
+ for (const s of a)
260
+ s.type === "attributes" && s.attributeName && n.includes(s.attributeName) && r(s);
186
261
  });
187
- return o.observe(t, { attributes: !0, attributeFilter: n }), () => o.disconnect();
262
+ return i.observe(t, { attributes: !0, attributeFilter: n }), () => i.disconnect();
188
263
  }
189
- function Ft(t, e) {
190
- const { defer: n } = e, r = n ? N : (o) => o(), i = [];
191
- return i.push(
264
+ function Ne(t, e) {
265
+ const { defer: n } = e, r = n ? F : (i) => i(), o = [];
266
+ return o.push(
192
267
  r(() => {
193
- const o = typeof t == "function" ? t() : t;
194
- i.push(ot(o, e));
268
+ const i = typeof t == "function" ? t() : t;
269
+ o.push(_t(i, e));
195
270
  })
196
271
  ), () => {
197
- i.forEach((o) => o == null ? void 0 : o());
272
+ o.forEach((i) => i == null ? void 0 : i());
198
273
  };
199
274
  }
200
- function at(t, e) {
275
+ function Wt(t, e) {
201
276
  const { callback: n } = e;
202
277
  if (!t) return;
203
- const r = t.ownerDocument.defaultView || window, i = new r.MutationObserver(n);
204
- return i.observe(t, { childList: !0, subtree: !0 }), () => i.disconnect();
278
+ const r = t.ownerDocument.defaultView || window, o = new r.MutationObserver(n);
279
+ return o.observe(t, { childList: !0, subtree: !0 }), () => o.disconnect();
205
280
  }
206
- function Ot(t, e) {
207
- const { defer: n } = e, r = n ? N : (o) => o(), i = [];
208
- return i.push(
281
+ function Ce(t, e) {
282
+ const { defer: n } = e, r = n ? F : (i) => i(), o = [];
283
+ return o.push(
209
284
  r(() => {
210
- const o = typeof t == "function" ? t() : t;
211
- i.push(at(o, e));
285
+ const i = typeof t == "function" ? t() : t;
286
+ o.push(Wt(i, e));
212
287
  })
213
288
  ), () => {
214
- i.forEach((o) => o == null ? void 0 : o());
289
+ o.forEach((i) => i == null ? void 0 : i());
215
290
  };
216
291
  }
217
- function Vt(t, e) {
218
- return Array.from((t == null ? void 0 : t.querySelectorAll(e)) ?? []);
292
+ function De(t) {
293
+ const e = () => {
294
+ const n = f(t);
295
+ t.dispatchEvent(new n.MouseEvent("click"));
296
+ };
297
+ Et() ? jt(t, "keyup", e) : queueMicrotask(e);
219
298
  }
220
- function Rt(t, e) {
221
- return (t == null ? void 0 : t.querySelector(e)) ?? null;
299
+ function z(t) {
300
+ const e = mt(t);
301
+ return st(e) ? S(e).body : u(e) && K(e) ? e : z(e);
222
302
  }
223
- function Wt(t) {
224
- const e = {
225
- getRootNode: (n) => {
226
- var r;
227
- return ((r = n.getRootNode) == null ? void 0 : r.call(n)) ?? document;
228
- },
229
- getDoc: (n) => L(e.getRootNode(n)),
230
- getWin: (n) => e.getDoc(n).defaultView ?? window,
231
- getActiveElement: (n) => e.getRootNode(n).activeElement,
232
- isActiveElement: (n, r) => r === e.getActiveElement(n),
233
- getById: (n, r) => e.getRootNode(n).getElementById(r),
234
- setValue: (n, r) => {
235
- if (n == null || r == null) return;
236
- const i = r.toString();
237
- n.value !== i && (n.value = r.toString());
238
- }
239
- };
240
- return { ...e, ...t };
303
+ function Ht(t, e = []) {
304
+ const n = z(t), r = n === t.ownerDocument.body, o = f(n);
305
+ return r ? e.concat(o, o.visualViewport || [], K(n) ? n : []) : e.concat(n, Ht(n, []));
241
306
  }
242
- function st(t) {
307
+ var qt = /auto|scroll|overlay|hidden|clip/;
308
+ function K(t) {
309
+ const e = f(t), { overflow: n, overflowX: r, overflowY: o, display: i } = e.getComputedStyle(t);
310
+ return qt.test(n + o + r) && !["inline", "contents"].includes(i);
311
+ }
312
+ function Ut(t) {
243
313
  return t.scrollHeight > t.clientHeight || t.scrollWidth > t.clientWidth;
244
314
  }
245
- function Bt(t, e) {
315
+ function Le(t, e) {
246
316
  const { rootEl: n, ...r } = e || {};
247
- !t || !n || !it(n) || !st(n) || t.scrollIntoView(r);
248
- }
249
- var m = /* @__PURE__ */ new WeakMap();
250
- function ut(t, e, n) {
251
- m.has(t) || m.set(t, /* @__PURE__ */ new Map());
252
- const r = m.get(t), i = r.get(e);
253
- if (!i)
254
- return r.set(e, n()), () => {
255
- var a;
256
- (a = r.get(e)) == null || a(), r.delete(e);
257
- };
258
- const o = n(), s = () => {
259
- o(), i(), r.delete(e);
317
+ !t || !n || !K(n) || !Ut(n) || t.scrollIntoView(r);
318
+ }
319
+ function Se(t) {
320
+ const {
321
+ pointerNode: e,
322
+ keyboardNode: n = e,
323
+ onPress: r,
324
+ onPressStart: o,
325
+ onPressEnd: i,
326
+ isValidKey: a = (c) => c.key === "Enter"
327
+ } = t;
328
+ if (!e) return h;
329
+ const s = f(e), g = S(e);
330
+ let d = h, l = h, y = h;
331
+ const m = (c) => ({
332
+ point: Ct(c),
333
+ event: c
334
+ });
335
+ function w(c) {
336
+ o == null || o(m(c));
337
+ }
338
+ function b(c) {
339
+ i == null || i(m(c));
340
+ }
341
+ const G = v(e, "pointerdown", (c) => {
342
+ l();
343
+ const x = v(s, "pointerup", (p) => {
344
+ const N = X(p);
345
+ q(e, N) ? r == null || r(m(p)) : i == null || i(m(p));
346
+ }, { passive: !r, once: !0 }), I = v(s, "pointercancel", b, {
347
+ passive: !i,
348
+ once: !0
349
+ });
350
+ l = C(x, I), g.activeElement === n && c.pointerType === "mouse" && c.preventDefault(), w(c);
351
+ }, { passive: !o }), Y = v(n, "focus", Z);
352
+ d = C(G, Y);
353
+ function Z() {
354
+ const c = (p) => {
355
+ if (!a(p)) return;
356
+ const N = (Q) => {
357
+ if (!a(Q)) return;
358
+ const tt = new s.PointerEvent("pointerup"), j = m(tt);
359
+ r == null || r(j), i == null || i(j);
360
+ };
361
+ l(), l = v(n, "keyup", N);
362
+ const J = new s.PointerEvent("pointerdown");
363
+ w(J);
364
+ }, B = () => {
365
+ const p = new s.PointerEvent("pointercancel");
366
+ b(p);
367
+ }, x = v(n, "keydown", c), I = v(n, "blur", B);
368
+ y = C(x, I);
369
+ }
370
+ return () => {
371
+ d(), l(), y();
372
+ };
373
+ }
374
+ function Me(t, e) {
375
+ return Array.from((t == null ? void 0 : t.querySelectorAll(e)) ?? []);
376
+ }
377
+ function Pe(t, e) {
378
+ return (t == null ? void 0 : t.querySelector(e)) ?? null;
379
+ }
380
+ var O = (t) => t.id;
381
+ function Xt(t, e, n = O) {
382
+ return t.find((r) => n(r) === e);
383
+ }
384
+ function V(t, e, n = O) {
385
+ const r = Xt(t, e, n);
386
+ return r ? t.indexOf(r) : -1;
387
+ }
388
+ function Re(t, e, n = !0) {
389
+ let r = V(t, e);
390
+ return r = n ? (r + 1) % t.length : Math.min(r + 1, t.length - 1), t[r];
391
+ }
392
+ function Fe(t, e, n = !0) {
393
+ let r = V(t, e);
394
+ return r === -1 ? n ? t[t.length - 1] : null : (r = n ? (r - 1 + t.length) % t.length : Math.max(0, r - 1), t[r]);
395
+ }
396
+ function Ke(t, e) {
397
+ const { onEntry: n, measure: r, box: o = "border-box" } = e, i = (Array.isArray(t) ? t : [t]).filter(u), a = f(i[0]), s = (d) => {
398
+ const l = i.map((y) => r(y));
399
+ n({ rects: l, entries: d });
260
400
  };
261
- return r.set(e, s), () => {
262
- r.get(e) === s && (o(), r.set(e, i));
401
+ s([]);
402
+ const g = new a.ResizeObserver(s);
403
+ return i.forEach((d) => g.observe(d, { box: o })), () => g.disconnect();
404
+ }
405
+ var $t = (t) => t.split("").map((e) => {
406
+ const n = e.charCodeAt(0);
407
+ return n > 0 && n < 128 ? e : n >= 128 && n <= 255 ? `/x${n.toString(16)}`.replace("/", "\\") : "";
408
+ }).join("").trim(), zt = (t) => {
409
+ var e;
410
+ return $t(((e = t.dataset) == null ? void 0 : e.valuetext) ?? t.textContent ?? "");
411
+ }, Gt = (t, e) => t.trim().toLowerCase().startsWith(e.toLowerCase());
412
+ function Yt(t, e, n, r = O) {
413
+ const o = n ? V(t, n, r) : -1;
414
+ let i = n ? et(t, o) : t;
415
+ return e.length === 1 && (i = i.filter((s) => r(s) !== n)), i.find((s) => Gt(zt(s), e));
416
+ }
417
+ function Oe(t, e) {
418
+ if (!t) return h;
419
+ const n = Object.keys(e).reduce((r, o) => (r[o] = t.style.getPropertyValue(o), r), {});
420
+ return Object.assign(t.style, e), () => {
421
+ Object.assign(t.style, n), t.style.length === 0 && t.removeAttribute("style");
263
422
  };
264
423
  }
265
- function Kt(t, e) {
266
- return t ? ut(t, "style", () => {
267
- const r = t.style.cssText;
268
- return Object.assign(t.style, e), () => {
269
- t.style.cssText = r;
270
- };
271
- }) : () => {
424
+ function Ve(t, e, n) {
425
+ if (!t) return h;
426
+ const r = t.style.getPropertyValue(e);
427
+ return t.style.setProperty(e, n), () => {
428
+ t.style.setProperty(e, r), t.style.length === 0 && t.removeAttribute("style");
272
429
  };
273
430
  }
274
- var Lt = {
431
+ function Zt(t, e) {
432
+ const { state: n, activeId: r, key: o, timeout: i = 350, itemToId: a } = e, s = n.keysSoFar + o, d = s.length > 1 && Array.from(s).every((b) => b === s[0]) ? s[0] : s;
433
+ let l = t.slice();
434
+ const y = Yt(l, d, r, a);
435
+ function m() {
436
+ clearTimeout(n.timer), n.timer = -1;
437
+ }
438
+ function w(b) {
439
+ n.keysSoFar = b, m(), b !== "" && (n.timer = +setTimeout(() => {
440
+ w(""), m();
441
+ }, i));
442
+ }
443
+ return w(s), y;
444
+ }
445
+ var Be = /* @__PURE__ */ Object.assign(Zt, {
446
+ defaultOptions: { keysSoFar: "", timer: -1 },
447
+ isValidEvent: Jt
448
+ });
449
+ function Jt(t) {
450
+ return t.key.length === 1 && !t.ctrlKey && !t.metaKey;
451
+ }
452
+ var je = {
275
453
  border: "0",
276
454
  clip: "rect(0 0 0 0)",
277
455
  height: "1px",
@@ -282,81 +460,115 @@ var Lt = {
282
460
  width: "1px",
283
461
  whiteSpace: "nowrap",
284
462
  wordWrap: "normal"
285
- }, ct = 1e3 / 60;
286
- function lt(t, e) {
463
+ }, Qt = 1e3 / 60;
464
+ function te(t, e) {
287
465
  const n = t();
288
466
  if (u(n) && n.isConnected)
289
467
  return e(n), () => {
290
468
  };
291
469
  {
292
470
  const r = setInterval(() => {
293
- const i = t();
294
- u(i) && i.isConnected && (e(i), clearInterval(r));
295
- }, ct);
471
+ const o = t();
472
+ u(o) && o.isConnected && (e(o), clearInterval(r));
473
+ }, Qt);
296
474
  return () => clearInterval(r);
297
475
  }
298
476
  }
299
- function _t(t, e) {
477
+ function _e(t, e) {
300
478
  const n = [];
301
479
  return t == null || t.forEach((r) => {
302
- const i = lt(r, e);
303
- n.push(i);
480
+ const o = te(r, e);
481
+ n.push(o);
304
482
  }), () => {
305
483
  n.forEach((r) => r());
306
484
  };
307
485
  }
308
486
  export {
309
- pt as MAX_Z_INDEX,
310
- mt as ariaAttr,
311
- K as contains,
312
- Wt as createScope,
313
- dt as dataAttr,
314
- h as defaultItemToId,
315
- Y as getByText,
316
- xt as getByTypeahead,
317
- It as getComputedStyle,
318
- L as getDocument,
319
- P as getEventTarget,
320
- tt as getFocusables,
321
- Nt as getInitialFocus,
322
- _ as getPlatform,
323
- nt as getTabbableEdges,
324
- E as getTabbables,
487
+ re as MAX_Z_INDEX,
488
+ v as addDomEvent,
489
+ ie as ariaAttr,
490
+ De as clickIfLink,
491
+ q as contains,
492
+ oe as dataAttr,
493
+ O as defaultItemToId,
494
+ Ee as dispatchInputCheckedEvent,
495
+ ae as getActiveElement,
496
+ Yt as getByText,
497
+ Be as getByTypeahead,
498
+ ce as getComputedStyle,
499
+ S as getDocument,
500
+ dt as getDocumentElement,
501
+ we as getEventKey,
502
+ Ct as getEventPoint,
503
+ X as getEventTarget,
504
+ Ot as getFocusables,
505
+ ke as getInitialFocus,
506
+ Nt as getNativeEvent,
507
+ z as getNearestOverflowAncestor,
508
+ H as getNodeName,
509
+ Ht as getOverflowAncestors,
510
+ mt as getParentNode,
511
+ bt as getPlatform,
512
+ Te as getTabIndex,
513
+ Bt as getTabbableEdges,
514
+ R as getTabbables,
515
+ pt as getUserAgent,
325
516
  f as getWindow,
326
- y as indexOfId,
327
- x as isApple,
328
- Tt as isComposingEvent,
329
- A as isDocument,
330
- b as isDom,
331
- Et as isDownloadingEvent,
332
- Dt as isEditableElement,
333
- ht as isFirefox,
334
- p as isFocusable,
517
+ V as indexOfId,
518
+ se as isAnchorElement,
519
+ At as isAndroid,
520
+ wt as isApple,
521
+ be as isComposingEvent,
522
+ he as isContextMenuEvent,
523
+ kt as isCtrlOrMetaKey,
524
+ W as isDocument,
525
+ T as isDom,
526
+ me as isDownloadingEvent,
527
+ lt as isEditableElement,
528
+ ut as isElementVisible,
529
+ Et as isFirefox,
530
+ L as isFocusable,
335
531
  u as isHTMLElement,
336
- yt as isIos,
337
- bt as isMac,
338
- W as isNode,
339
- wt as isOpeningInNewTab,
340
- it as isOverflowElement,
341
- gt as isSafari,
342
- vt as isSelfTarget,
343
- B as isShadowRoot,
344
- et as isTabbable,
345
- Ct as isValidTabEvent,
346
- R as isWindow,
347
- k as itemById,
348
- St as nextById,
349
- Mt as nextTick,
350
- Ft as observeAttributes,
351
- Ot as observeChildren,
352
- At as prevById,
353
- Rt as query,
354
- Vt as queryAll,
355
- N as raf,
356
- Bt as scrollIntoView,
357
- ut as set,
358
- Kt as setStyle,
359
- Lt as visuallyHiddenStyle,
360
- lt as waitForElement,
361
- _t as waitForElements
532
+ ht as isIPad,
533
+ yt as isIPhone,
534
+ ct as isInputElement,
535
+ gt as isIos,
536
+ ye as isLeftClick,
537
+ k as isMac,
538
+ ge as isModifierKey,
539
+ at as isNode,
540
+ de as isOpeningInNewTab,
541
+ K as isOverflowElement,
542
+ pe as isPrintableKey,
543
+ st as isRootElement,
544
+ fe as isSafari,
545
+ le as isSelfTarget,
546
+ E as isShadowRoot,
547
+ Vt as isTabbable,
548
+ ue as isTouchDevice,
549
+ xt as isTouchEvent,
550
+ xe as isValidTabEvent,
551
+ ve as isVirtualClick,
552
+ it as isWindow,
553
+ Xt as itemById,
554
+ Re as nextById,
555
+ Ie as nextTick,
556
+ Ne as observeAttributes,
557
+ Ce as observeChildren,
558
+ Fe as prevById,
559
+ Pe as query,
560
+ Me as queryAll,
561
+ jt as queueBeforeEvent,
562
+ F as raf,
563
+ Le as scrollIntoView,
564
+ ne as setCaretToEnd,
565
+ Lt as setElementChecked,
566
+ Oe as setStyle,
567
+ Ve as setStyleProperty,
568
+ Ke as trackElementRect,
569
+ Ae as trackFormControl,
570
+ Se as trackPress,
571
+ je as visuallyHiddenStyle,
572
+ te as waitForElement,
573
+ _e as waitForElements
362
574
  };