@wrdagency/blockout 0.0.19 → 0.1.1

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 (166) hide show
  1. package/dist/2NBKRL7C-BAzCMGOw.js +85 -0
  2. package/dist/2RSXSRCN-qt84MtKs.js +61 -0
  3. package/dist/4CMBR7SL-BAGv8IL2.js +308 -0
  4. package/dist/5JTVDSTH-CG1NL6Fw.js +174 -0
  5. package/dist/5VQZOHHZ-CscZGerP.js +59 -0
  6. package/dist/6VRAQV3D-2rb_aClP.js +201 -0
  7. package/dist/7PRQYBBV-91wrWGjk.js +17 -0
  8. package/dist/ArrowRight.es-xyNbtVOa.js +60 -0
  9. package/dist/DG5U6ZEL-CVj-Czp2.js +17 -0
  10. package/dist/F5MUBM3I-87B2_4WK.js +54 -0
  11. package/dist/LMDWO4NN--KEvZePp.js +610 -0
  12. package/dist/MTZPJQMC-DyCWBG18.js +14 -0
  13. package/dist/P7GR5CS5-BoOYUfSQ.js +19 -0
  14. package/dist/PFRGBC2K-BEg8ahbY.js +303 -0
  15. package/dist/RS7LB2H4-D0fWv5qu.js +15 -0
  16. package/dist/RZ4GPYOB-13-5LlEb.js +37 -0
  17. package/dist/S43UC3DV-Dn8EFLaT.js +22 -0
  18. package/dist/Square.es-KJLdY11q.js +72 -0
  19. package/dist/T7VMP3TM-DeRMoW8g.js +77 -0
  20. package/dist/TP7N7UIH-BHb1rEeb.js +34 -0
  21. package/dist/UQQRIHDV-Bu8e1bYU.js +69 -0
  22. package/dist/UYGDZTLQ-DcCmv5SE.js +12 -0
  23. package/dist/VIIRIBF3-D5DmZNtI.js +26 -0
  24. package/dist/WMYDSCNQ-Dy1O-Kdl.js +2405 -0
  25. package/dist/WYCIER3C-DRn904Gy.js +175 -0
  26. package/dist/YV4JVR4I-kvospPUa.js +351 -0
  27. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  28. package/dist/assets/button.css +1 -1
  29. package/dist/assets/index.css +1 -1
  30. package/dist/assets/index10.css +1 -1
  31. package/dist/assets/index11.css +1 -1
  32. package/dist/assets/index12.css +1 -1
  33. package/dist/assets/index13.css +1 -1
  34. package/dist/assets/index14.css +1 -0
  35. package/dist/assets/index15.css +1 -0
  36. package/dist/assets/index16.css +1 -0
  37. package/dist/assets/index17.css +1 -0
  38. package/dist/assets/index18.css +1 -0
  39. package/dist/assets/index2.css +1 -1
  40. package/dist/assets/index3.css +1 -1
  41. package/dist/assets/index4.css +1 -1
  42. package/dist/assets/index5.css +1 -1
  43. package/dist/assets/index6.css +1 -1
  44. package/dist/assets/index7.css +1 -1
  45. package/dist/assets/index8.css +1 -1
  46. package/dist/assets/index9.css +1 -1
  47. package/dist/assets/style.css +1 -1
  48. package/dist/assets/style2.css +1 -0
  49. package/dist/assets/style3.css +1 -0
  50. package/dist/assets/style4.css +1 -0
  51. package/dist/assets/styles.css +1 -1
  52. package/dist/components/block-editor/editor.d.ts +5 -0
  53. package/dist/components/block-editor/editor.js +6 -0
  54. package/dist/components/block-editor/index.d.ts +1 -0
  55. package/dist/components/block-editor/index.js +4 -0
  56. package/dist/components/breadcrumbs/index.js +87 -31
  57. package/dist/components/button/button.d.ts +1 -1
  58. package/dist/components/button/button.js +5 -5
  59. package/dist/components/button/icon.d.ts +1 -2
  60. package/dist/components/button/icon.js +10 -3
  61. package/dist/components/button/index.d.ts +4 -0
  62. package/dist/components/controls/base-control/affix.js +7 -7
  63. package/dist/components/controls/base-control/index.js +11 -11
  64. package/dist/components/controls/base-popover-control/index.d.ts +9 -0
  65. package/dist/components/controls/base-popover-control/index.js +47 -0
  66. package/dist/components/controls/checkbox-control/index.d.ts +8 -0
  67. package/dist/components/controls/checkbox-control/index.js +57 -0
  68. package/dist/components/controls/choice-control/choice.js +13 -11
  69. package/dist/components/controls/choice-control/index.js +1 -1
  70. package/dist/components/controls/index.d.ts +4 -1
  71. package/dist/components/controls/index.js +25 -16
  72. package/dist/components/controls/number-control/index.js +29 -27
  73. package/dist/components/controls/password-control/index.js +1 -1
  74. package/dist/components/controls/recurrence-control/index.d.ts +8 -0
  75. package/dist/components/controls/recurrence-control/index.js +208 -0
  76. package/dist/components/controls/select-control/component.d.ts +12 -0
  77. package/dist/components/controls/select-control/component.js +1879 -0
  78. package/dist/components/controls/select-control/index.d.ts +2 -12
  79. package/dist/components/controls/select-control/index.js +5 -1860
  80. package/dist/components/controls/select-control/options.d.ts +7 -0
  81. package/dist/components/controls/select-control/options.js +9 -0
  82. package/dist/components/controls/textarea-control/index.js +1 -1
  83. package/dist/components/controls/toggle-control/index.js +11 -9
  84. package/dist/components/controls/toggle-group-control/index.d.ts +19 -0
  85. package/dist/components/controls/toggle-group-control/index.js +50 -0
  86. package/dist/components/data-table/column.js +1 -1
  87. package/dist/components/data-table/header.js +120 -171
  88. package/dist/components/data-table/index.js +1 -1
  89. package/dist/components/filesystem/file.d.ts +7 -0
  90. package/dist/components/filesystem/file.js +44 -0
  91. package/dist/components/filesystem/folder.d.ts +6 -0
  92. package/dist/components/filesystem/folder.js +160 -0
  93. package/dist/components/filesystem/icon.d.ts +7 -0
  94. package/dist/components/filesystem/icon.js +908 -0
  95. package/dist/components/filesystem/index.js +14 -0
  96. package/dist/components/filesystem/list.d.ts +4 -0
  97. package/dist/components/filesystem/list.js +18 -0
  98. package/dist/components/filesystem/root.d.ts +3 -0
  99. package/dist/components/filesystem/root.js +7 -0
  100. package/dist/components/form/components/index.js +12 -12
  101. package/dist/components/form/components/pagination.js +23 -16
  102. package/dist/components/form/components/progress.d.ts +3 -2
  103. package/dist/components/index.d.ts +4 -0
  104. package/dist/components/index.js +48 -31
  105. package/dist/components/menu/index.js +24 -23
  106. package/dist/components/menu/item.js +1 -1
  107. package/dist/components/menu/items/action.js +1 -1
  108. package/dist/components/menu/items/spacer.js +14 -42
  109. package/dist/components/menu/items/submenu.js +2 -2
  110. package/dist/components/menu/items/toggle.js +25 -91
  111. package/dist/components/progress/index.d.ts +5 -3
  112. package/dist/components/progress/index.js +44 -27
  113. package/dist/components/tabs/index.js +12 -0
  114. package/dist/components/tabs/list.d.ts +7 -0
  115. package/dist/components/tabs/list.js +42 -0
  116. package/dist/components/tabs/panel.d.ts +8 -0
  117. package/dist/components/tabs/panel.js +132 -0
  118. package/dist/components/tabs/root.d.ts +9 -0
  119. package/dist/components/tabs/root.js +173 -0
  120. package/dist/components/tabs/tab.d.ts +7 -0
  121. package/dist/components/tabs/tab.js +81 -0
  122. package/dist/components/toolbar/index.js +27 -0
  123. package/dist/components/toolbar/root.d.ts +6 -0
  124. package/dist/components/toolbar/root.js +6 -0
  125. package/dist/composite-provider-DNftbE5U.js +10 -0
  126. package/dist/hooks/state.d.ts +4 -0
  127. package/dist/hooks/state.js +7 -0
  128. package/dist/hooks/theme.js +7 -38
  129. package/dist/index-1AjPIqTN.js +73 -0
  130. package/dist/index-Cgx3BqdJ.js +388 -0
  131. package/dist/index.js +61 -40
  132. package/dist/{item-D9r2-3fk.js → item-B1ugJ7YQ.js} +240 -234
  133. package/dist/options-Cfoqhxw2.js +96 -0
  134. package/dist/primitives/index.d.ts +2 -0
  135. package/dist/primitives/index.js +4 -0
  136. package/dist/primitives/resizable/index.js +1 -1
  137. package/dist/primitives/scroll-area/index.d.ts +7 -0
  138. package/dist/primitives/scroll-area/index.js +777 -0
  139. package/dist/primitives/truncate/index.d.ts +7 -0
  140. package/dist/primitives/truncate/index.js +46 -0
  141. package/dist/primitives/visually-hidden/index.d.ts +2 -2
  142. package/dist/primitives/visually-hidden/index.js +13 -3
  143. package/dist/root-CaKPdqzv.js +73 -0
  144. package/dist/types/date.d.ts +39 -0
  145. package/dist/types/date.js +1778 -0
  146. package/dist/types/options.d.ts +8 -6
  147. package/dist/utils/components.d.ts +5 -0
  148. package/dist/utils/components.js +14 -0
  149. package/dist/utils/date.d.ts +1 -0
  150. package/dist/utils/date.js +15 -0
  151. package/dist/utils/string.d.ts +4 -0
  152. package/dist/utils/string.js +18 -0
  153. package/package.json +4 -2
  154. package/dist/2NBKRL7C-D-Q0qGRV.js +0 -81
  155. package/dist/P7GR5CS5-qyeuZVEs.js +0 -640
  156. package/dist/T7VMP3TM-BxgFbvdx.js +0 -2106
  157. package/dist/UQQRIHDV-BGs025hb.js +0 -1046
  158. package/dist/VIIRIBF3-D9clDhln.js +0 -21
  159. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  160. package/dist/components/markdown/formats.d.ts +0 -11
  161. package/dist/components/markdown/formats.js +0 -318
  162. package/dist/components/markdown/index.d.ts +0 -7
  163. package/dist/components/markdown/index.js +0 -25845
  164. package/dist/components/markdown/types/format.d.ts +0 -27
  165. package/dist/components/markdown/types/format.js +0 -4
  166. package/dist/floating-ui.dom-9sqP7IwC.js +0 -1512
@@ -0,0 +1,610 @@
1
+ import * as l from "react";
2
+ import { isValidElement as z, useLayoutEffect as k, useEffect as h, useMemo as F, useState as y, useRef as x, useCallback as j, useReducer as q } from "react";
3
+ import { jsx as v } from "react/jsx-runtime";
4
+ var G = Object.defineProperty, J = Object.defineProperties, Q = Object.getOwnPropertyDescriptors, b = Object.getOwnPropertySymbols, $ = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable, M = (t, e, n) => e in t ? G(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, c = (t, e) => {
5
+ for (var n in e || (e = {}))
6
+ $.call(e, n) && M(t, n, e[n]);
7
+ if (b)
8
+ for (var n of b(e))
9
+ B.call(e, n) && M(t, n, e[n]);
10
+ return t;
11
+ }, p = (t, e) => J(t, Q(e)), Z = (t, e) => {
12
+ var n = {};
13
+ for (var r in t)
14
+ $.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
15
+ if (t != null && b)
16
+ for (var r of b(t))
17
+ e.indexOf(r) < 0 && B.call(t, r) && (n[r] = t[r]);
18
+ return n;
19
+ }, tt = Object.defineProperty, et = Object.defineProperties, nt = Object.getOwnPropertyDescriptors, O = Object.getOwnPropertySymbols, W = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable, I = (t, e, n) => e in t ? tt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, X = (t, e) => {
20
+ for (var n in e || (e = {}))
21
+ W.call(e, n) && I(t, n, e[n]);
22
+ if (O)
23
+ for (var n of O(e))
24
+ U.call(e, n) && I(t, n, e[n]);
25
+ return t;
26
+ }, rt = (t, e) => et(t, nt(e)), bt = (t, e) => {
27
+ var n = {};
28
+ for (var r in t)
29
+ W.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
30
+ if (t != null && O)
31
+ for (var r of O(t))
32
+ e.indexOf(r) < 0 && U.call(t, r) && (n[r] = t[r]);
33
+ return n;
34
+ };
35
+ function Ot(...t) {
36
+ }
37
+ function Rt(t, e) {
38
+ if (ot(t)) {
39
+ const n = it(e) ? e() : e;
40
+ return t(n);
41
+ }
42
+ return t;
43
+ }
44
+ function ot(t) {
45
+ return typeof t == "function";
46
+ }
47
+ function it(t) {
48
+ return typeof t == "function";
49
+ }
50
+ function S(t, e) {
51
+ return typeof Object.hasOwn == "function" ? Object.hasOwn(t, e) : Object.prototype.hasOwnProperty.call(t, e);
52
+ }
53
+ function xt(...t) {
54
+ return (...e) => {
55
+ for (const n of t)
56
+ typeof n == "function" && n(...e);
57
+ };
58
+ }
59
+ function St(t) {
60
+ return t.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
61
+ }
62
+ function Nt(t, e) {
63
+ const n = X({}, t);
64
+ for (const r of e)
65
+ S(n, r) && delete n[r];
66
+ return n;
67
+ }
68
+ function Ct(t, e) {
69
+ const n = {};
70
+ for (const r of e)
71
+ S(t, r) && (n[r] = t[r]);
72
+ return n;
73
+ }
74
+ function Tt(t) {
75
+ return t;
76
+ }
77
+ function Mt(t, e) {
78
+ if (!t)
79
+ throw typeof e != "string" ? new Error("Invariant failed") : new Error(e);
80
+ }
81
+ function It(t) {
82
+ return Object.keys(t);
83
+ }
84
+ function Dt(t, ...e) {
85
+ const n = typeof t == "function" ? t(...e) : t;
86
+ return n == null ? !1 : !n;
87
+ }
88
+ function Lt(t) {
89
+ return t.disabled || t["aria-disabled"] === !0 || t["aria-disabled"] === "true";
90
+ }
91
+ function At(t) {
92
+ const e = {};
93
+ for (const n in t)
94
+ t[n] !== void 0 && (e[n] = t[n]);
95
+ return e;
96
+ }
97
+ function Vt(...t) {
98
+ for (const e of t)
99
+ if (e !== void 0) return e;
100
+ }
101
+ function st(t, e) {
102
+ typeof t == "function" ? t(e) : t && (t.current = e);
103
+ }
104
+ function ut(t) {
105
+ return !t || !z(t) ? !1 : "ref" in t.props || "ref" in t;
106
+ }
107
+ function at(t) {
108
+ return ut(t) ? c({}, t.props).ref || t.ref : null;
109
+ }
110
+ function ct(t, e) {
111
+ const n = c({}, t);
112
+ for (const r in e) {
113
+ if (!S(e, r)) continue;
114
+ if (r === "className") {
115
+ const i = "className";
116
+ n[i] = t[i] ? `${t[i]} ${e[i]}` : e[i];
117
+ continue;
118
+ }
119
+ if (r === "style") {
120
+ const i = "style";
121
+ n[i] = t[i] ? c(c({}, t[i]), e[i]) : e[i];
122
+ continue;
123
+ }
124
+ const o = e[r];
125
+ if (typeof o == "function" && r.startsWith("on")) {
126
+ const i = t[r];
127
+ if (typeof i == "function") {
128
+ n[r] = (...s) => {
129
+ o(...s), i(...s);
130
+ };
131
+ continue;
132
+ }
133
+ }
134
+ n[r] = o;
135
+ }
136
+ return n;
137
+ }
138
+ var E = ft();
139
+ function ft() {
140
+ var t;
141
+ return typeof window < "u" && !!((t = window.document) != null && t.createElement);
142
+ }
143
+ function _(t) {
144
+ return t ? "self" in t ? t.document : t.ownerDocument || document : document;
145
+ }
146
+ function Ft(t) {
147
+ return t ? "self" in t ? t.self : _(t).defaultView || window : self;
148
+ }
149
+ function lt(t, e = !1) {
150
+ const { activeElement: n } = _(t);
151
+ if (!(n != null && n.nodeName))
152
+ return null;
153
+ if (dt(n) && n.contentDocument)
154
+ return lt(
155
+ n.contentDocument.body,
156
+ e
157
+ );
158
+ if (e) {
159
+ const r = n.getAttribute("aria-activedescendant");
160
+ if (r) {
161
+ const o = _(n).getElementById(r);
162
+ if (o)
163
+ return o;
164
+ }
165
+ }
166
+ return n;
167
+ }
168
+ function R(t, e) {
169
+ return t === e || t.contains(e);
170
+ }
171
+ function dt(t) {
172
+ return t.tagName === "IFRAME";
173
+ }
174
+ function jt(t) {
175
+ const e = t.tagName.toLowerCase();
176
+ return e === "button" ? !0 : e === "input" && t.type ? pt.indexOf(t.type) !== -1 : !1;
177
+ }
178
+ var pt = [
179
+ "button",
180
+ "color",
181
+ "file",
182
+ "image",
183
+ "reset",
184
+ "submit"
185
+ ];
186
+ function $t(t) {
187
+ if (typeof t.checkVisibility == "function")
188
+ return t.checkVisibility();
189
+ const e = t;
190
+ return e.offsetWidth > 0 || e.offsetHeight > 0 || t.getClientRects().length > 0;
191
+ }
192
+ function N(t) {
193
+ try {
194
+ const e = t instanceof HTMLInputElement && t.selectionStart !== null, n = t.tagName === "TEXTAREA";
195
+ return e || n || !1;
196
+ } catch {
197
+ return !1;
198
+ }
199
+ }
200
+ function Bt(t) {
201
+ return t.isContentEditable || N(t);
202
+ }
203
+ function Wt(t) {
204
+ if (N(t))
205
+ return t.value;
206
+ if (t.isContentEditable) {
207
+ const e = _(t).createRange();
208
+ return e.selectNodeContents(t), e.toString();
209
+ }
210
+ return "";
211
+ }
212
+ function Ut(t) {
213
+ let e = 0, n = 0;
214
+ if (N(t))
215
+ e = t.selectionStart || 0, n = t.selectionEnd || 0;
216
+ else if (t.isContentEditable) {
217
+ const r = _(t).getSelection();
218
+ if (r != null && r.rangeCount && r.anchorNode && R(t, r.anchorNode) && r.focusNode && R(t, r.focusNode)) {
219
+ const o = r.getRangeAt(0), i = o.cloneRange();
220
+ i.selectNodeContents(t), i.setEnd(o.startContainer, o.startOffset), e = i.toString().length, i.setEnd(o.endContainer, o.endOffset), n = i.toString().length;
221
+ }
222
+ }
223
+ return { start: e, end: n };
224
+ }
225
+ function vt(t, e) {
226
+ const n = ["dialog", "menu", "listbox", "tree", "grid"], r = t == null ? void 0 : t.getAttribute("role");
227
+ return r && n.indexOf(r) !== -1 ? r : e;
228
+ }
229
+ function Xt(t, e) {
230
+ var n;
231
+ const r = {
232
+ menu: "menuitem",
233
+ listbox: "option",
234
+ tree: "treeitem"
235
+ }, o = vt(t);
236
+ return o && (n = r[o]) != null ? n : e;
237
+ }
238
+ function gt(t) {
239
+ if (!t) return null;
240
+ const e = (n) => n === "auto" || n === "scroll";
241
+ if (t.clientHeight && t.scrollHeight > t.clientHeight) {
242
+ const { overflowY: n } = getComputedStyle(t);
243
+ if (e(n)) return t;
244
+ } else if (t.clientWidth && t.scrollWidth > t.clientWidth) {
245
+ const { overflowX: n } = getComputedStyle(t);
246
+ if (e(n)) return t;
247
+ }
248
+ return gt(t.parentElement) || document.scrollingElement || document.body;
249
+ }
250
+ function Ht(t, ...e) {
251
+ /text|search|password|tel|url/i.test(t.type) && t.setSelectionRange(...e);
252
+ }
253
+ function Kt(t, e) {
254
+ const n = t.map((o, i) => [i, o]);
255
+ let r = !1;
256
+ return n.sort(([o, i], [s, a]) => {
257
+ const f = e(i), u = e(a);
258
+ return f === u || !f || !u ? 0 : mt(f, u) ? (o > s && (r = !0), -1) : (o < s && (r = !0), 1);
259
+ }), r ? n.map(([o, i]) => i) : t;
260
+ }
261
+ function mt(t, e) {
262
+ return !!(e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_PRECEDING);
263
+ }
264
+ function yt() {
265
+ return E && !!navigator.maxTouchPoints;
266
+ }
267
+ function H() {
268
+ return E ? /mac|iphone|ipad|ipod/i.test(navigator.platform) : !1;
269
+ }
270
+ function Yt() {
271
+ return E && H() && /apple/i.test(navigator.vendor);
272
+ }
273
+ function zt() {
274
+ return E && /firefox\//i.test(navigator.userAgent);
275
+ }
276
+ function kt() {
277
+ return E && navigator.platform.startsWith("Mac") && !yt();
278
+ }
279
+ function qt(t) {
280
+ return !!(t.currentTarget && !R(t.currentTarget, t.target));
281
+ }
282
+ function Gt(t) {
283
+ return t.target === t.currentTarget;
284
+ }
285
+ function Jt(t) {
286
+ const e = t.currentTarget;
287
+ if (!e) return !1;
288
+ const n = H();
289
+ if (n && !t.metaKey || !n && !t.ctrlKey) return !1;
290
+ const r = e.tagName.toLowerCase();
291
+ return r === "a" || r === "button" && e.type === "submit" || r === "input" && e.type === "submit";
292
+ }
293
+ function Qt(t) {
294
+ const e = t.currentTarget;
295
+ if (!e) return !1;
296
+ const n = e.tagName.toLowerCase();
297
+ return t.altKey ? n === "a" || n === "button" && e.type === "submit" || n === "input" && e.type === "submit" : !1;
298
+ }
299
+ function Zt(t, e, n) {
300
+ const r = new Event(e, n);
301
+ return t.dispatchEvent(r);
302
+ }
303
+ function te(t, e) {
304
+ const n = new FocusEvent("blur", e), r = t.dispatchEvent(n), o = rt(X({}, e), { bubbles: !0 });
305
+ return t.dispatchEvent(new FocusEvent("focusout", o)), r;
306
+ }
307
+ function ee(t, e, n) {
308
+ const r = new KeyboardEvent(e, n);
309
+ return t.dispatchEvent(r);
310
+ }
311
+ function ne(t, e) {
312
+ const n = new MouseEvent("click", e);
313
+ return t.dispatchEvent(n);
314
+ }
315
+ function re(t, e) {
316
+ const n = e || t.currentTarget, r = t.relatedTarget;
317
+ return !r || !R(n, r);
318
+ }
319
+ function oe(t, e, n, r) {
320
+ const i = ((a) => {
321
+ const f = requestAnimationFrame(a);
322
+ return () => cancelAnimationFrame(f);
323
+ })(() => {
324
+ t.removeEventListener(e, s, !0), n();
325
+ }), s = () => {
326
+ i(), n();
327
+ };
328
+ return t.addEventListener(e, s, { once: !0, capture: !0 }), i;
329
+ }
330
+ function g(t, e, n, r = window) {
331
+ const o = [];
332
+ try {
333
+ r.document.addEventListener(t, e, n);
334
+ for (const s of Array.from(r.frames))
335
+ o.push(g(t, e, n, s));
336
+ } catch {
337
+ }
338
+ return () => {
339
+ try {
340
+ r.document.removeEventListener(t, e, n);
341
+ } catch {
342
+ }
343
+ for (const s of o)
344
+ s();
345
+ };
346
+ }
347
+ var C = c({}, l), D = C.useId;
348
+ C.useDeferredValue;
349
+ var L = C.useInsertionEffect, m = E ? k : h;
350
+ function Et(t) {
351
+ const [e] = y(t);
352
+ return e;
353
+ }
354
+ function ie(t) {
355
+ const e = x(t);
356
+ return m(() => {
357
+ e.current = t;
358
+ }), e;
359
+ }
360
+ function K(t) {
361
+ const e = x(() => {
362
+ throw new Error("Cannot call an event handler while rendering.");
363
+ });
364
+ return L ? L(() => {
365
+ e.current = t;
366
+ }) : e.current = t, j((...n) => {
367
+ var r;
368
+ return (r = e.current) == null ? void 0 : r.call(e, ...n);
369
+ }, []);
370
+ }
371
+ function se(t) {
372
+ const [e, n] = y(null);
373
+ return m(() => {
374
+ if (e == null || !t) return;
375
+ let r = null;
376
+ return t((o) => (r = o, e)), () => {
377
+ t(r);
378
+ };
379
+ }, [e, t]), [e, n];
380
+ }
381
+ function Y(...t) {
382
+ return F(() => {
383
+ if (t.some(Boolean))
384
+ return (e) => {
385
+ for (const n of t)
386
+ st(n, e);
387
+ };
388
+ }, t);
389
+ }
390
+ function ue(t) {
391
+ if (D) {
392
+ const r = D();
393
+ return t || r;
394
+ }
395
+ const [e, n] = y(t);
396
+ return m(() => {
397
+ if (t || e) return;
398
+ const r = Math.random().toString(36).slice(2, 8);
399
+ n(`id-${r}`);
400
+ }, [t, e]), t || e;
401
+ }
402
+ function ae(t, e) {
403
+ const n = (i) => {
404
+ if (typeof i == "string")
405
+ return i;
406
+ }, [r, o] = y(() => n(e));
407
+ return m(() => {
408
+ const i = t && "current" in t ? t.current : t;
409
+ o((i == null ? void 0 : i.tagName.toLowerCase()) || n(e));
410
+ }, [t, e]), r;
411
+ }
412
+ function ce(t, e, n) {
413
+ const r = Et(n), [o, i] = y(r);
414
+ return h(() => {
415
+ const s = t && "current" in t ? t.current : t;
416
+ if (!s) return;
417
+ const a = () => {
418
+ const u = s.getAttribute(e);
419
+ i(u ?? r);
420
+ }, f = new MutationObserver(a);
421
+ return f.observe(s, { attributeFilter: [e] }), a(), () => f.disconnect();
422
+ }, [t, e, r]), o;
423
+ }
424
+ function fe(t, e) {
425
+ const n = x(!1);
426
+ h(() => {
427
+ if (n.current)
428
+ return t();
429
+ n.current = !0;
430
+ }, e), h(
431
+ () => () => {
432
+ n.current = !1;
433
+ },
434
+ []
435
+ );
436
+ }
437
+ function le(t, e) {
438
+ const n = x(!1);
439
+ m(() => {
440
+ if (n.current)
441
+ return t();
442
+ n.current = !0;
443
+ }, e), m(
444
+ () => () => {
445
+ n.current = !1;
446
+ },
447
+ []
448
+ );
449
+ }
450
+ function de() {
451
+ return q(() => [], []);
452
+ }
453
+ function pe(t) {
454
+ return K(
455
+ typeof t == "function" ? t : () => t
456
+ );
457
+ }
458
+ function ve(t, e, n = []) {
459
+ const r = j(
460
+ (o) => (t.wrapElement && (o = t.wrapElement(o)), e(o)),
461
+ [...n, t.wrapElement]
462
+ );
463
+ return p(c({}, t), { wrapElement: r });
464
+ }
465
+ function ge(t = !1, e) {
466
+ const [n, r] = y(null);
467
+ return { portalRef: Y(r, e), portalNode: n, domReady: !t || n };
468
+ }
469
+ function me(t, e, n) {
470
+ const r = t.onLoadedMetadataCapture, o = F(() => Object.assign(() => {
471
+ }, p(c({}, r), { [e]: n })), [r, e, n]);
472
+ return [r == null ? void 0 : r[e], { onLoadedMetadataCapture: o }];
473
+ }
474
+ function ye() {
475
+ return h(() => {
476
+ g("mousemove", ht, !0), g("mousedown", P, !0), g("mouseup", P, !0), g("keydown", P, !0), g("scroll", P, !0);
477
+ }, []), K(() => T);
478
+ }
479
+ var T = !1, A = 0, V = 0;
480
+ function wt(t) {
481
+ const e = t.movementX || t.screenX - A, n = t.movementY || t.screenY - V;
482
+ return A = t.screenX, V = t.screenY, e || n || process.env.NODE_ENV === "test";
483
+ }
484
+ function ht(t) {
485
+ wt(t) && (T = !0);
486
+ }
487
+ function P() {
488
+ T = !1;
489
+ }
490
+ function Ee(t) {
491
+ const e = l.forwardRef((n, r) => t(p(c({}, n), { ref: r })));
492
+ return e.displayName = t.displayName || t.name, e;
493
+ }
494
+ function we(t, e) {
495
+ return l.memo(t, e);
496
+ }
497
+ function he(t, e) {
498
+ const n = e, { wrapElement: r, render: o } = n, i = Z(n, ["wrapElement", "render"]), s = Y(e.ref, at(o));
499
+ let a;
500
+ if (l.isValidElement(o)) {
501
+ const f = p(c({}, o.props), { ref: s });
502
+ a = l.cloneElement(o, ct(i, f));
503
+ } else o ? a = o(i) : a = /* @__PURE__ */ v(t, c({}, i));
504
+ return r ? r(a) : a;
505
+ }
506
+ function _e(t) {
507
+ const e = (n = {}) => t(n);
508
+ return e.displayName = t.name, e;
509
+ }
510
+ function Pe(t = [], e = []) {
511
+ const n = l.createContext(void 0), r = l.createContext(void 0), o = () => l.useContext(n), i = (u = !1) => {
512
+ const d = l.useContext(r), w = o();
513
+ return u ? d : d || w;
514
+ }, s = () => {
515
+ const u = l.useContext(r), d = o();
516
+ if (!(u && u === d))
517
+ return d;
518
+ }, a = (u) => t.reduceRight(
519
+ (d, w) => /* @__PURE__ */ v(w, p(c({}, u), { children: d })),
520
+ /* @__PURE__ */ v(n.Provider, c({}, u))
521
+ );
522
+ return {
523
+ context: n,
524
+ scopedContext: r,
525
+ useContext: o,
526
+ useScopedContext: i,
527
+ useProviderContext: s,
528
+ ContextProvider: a,
529
+ ScopedContextProvider: (u) => /* @__PURE__ */ v(a, p(c({}, u), { children: e.reduceRight(
530
+ (d, w) => /* @__PURE__ */ v(w, p(c({}, u), { children: d })),
531
+ /* @__PURE__ */ v(r.Provider, c({}, u))
532
+ ) }))
533
+ };
534
+ }
535
+ export {
536
+ bt as $,
537
+ Yt as A,
538
+ gt as B,
539
+ jt as C,
540
+ _ as D,
541
+ Tt as E,
542
+ me as F,
543
+ zt as G,
544
+ oe as H,
545
+ ne as I,
546
+ Kt as J,
547
+ St as K,
548
+ ye as L,
549
+ R as M,
550
+ S as N,
551
+ ae as O,
552
+ Qt as P,
553
+ Jt as Q,
554
+ Xt as R,
555
+ $t as S,
556
+ dt as T,
557
+ X as U,
558
+ g as V,
559
+ re as W,
560
+ Vt as X,
561
+ rt as Y,
562
+ fe as Z,
563
+ Z as _,
564
+ _e as a,
565
+ xt as a0,
566
+ Ft as a1,
567
+ Nt as a2,
568
+ Ct as a3,
569
+ It as a4,
570
+ Rt as a5,
571
+ Ot as a6,
572
+ ie as a7,
573
+ ge as a8,
574
+ Dt as a9,
575
+ Zt as aa,
576
+ vt as ab,
577
+ ce as ac,
578
+ yt as ad,
579
+ de as ae,
580
+ le as af,
581
+ Ht as ag,
582
+ st as ah,
583
+ H as ai,
584
+ kt as aj,
585
+ m as b,
586
+ Pe as c,
587
+ te as d,
588
+ K as e,
589
+ Ee as f,
590
+ lt as g,
591
+ Gt as h,
592
+ Mt as i,
593
+ pe as j,
594
+ N as k,
595
+ ve as l,
596
+ p as m,
597
+ Y as n,
598
+ c as o,
599
+ ee as p,
600
+ he as q,
601
+ we as r,
602
+ ue as s,
603
+ Lt as t,
604
+ se as u,
605
+ At as v,
606
+ Bt as w,
607
+ Ut as x,
608
+ Wt as y,
609
+ qt as z
610
+ };
@@ -0,0 +1,14 @@
1
+ import { D as e, a as r } from "./RS7LB2H4-D0fWv5qu.js";
2
+ import { c as t } from "./LMDWO4NN--KEvZePp.js";
3
+ var o = t(
4
+ [r],
5
+ [e]
6
+ ), x = o.useContext;
7
+ o.useScopedContext;
8
+ var P = o.useProviderContext, d = o.ContextProvider, i = o.ScopedContextProvider;
9
+ export {
10
+ i as P,
11
+ d as a,
12
+ P as b,
13
+ x as u
14
+ };
@@ -0,0 +1,19 @@
1
+ import { c as t } from "./LMDWO4NN--KEvZePp.js";
2
+ import { createContext as r } from "react";
3
+ var e = t(), n = e.useContext, C = e.ContextProvider, i = e.ScopedContextProvider, o = t(
4
+ [C],
5
+ [i]
6
+ ), x = o.useContext, s = o.useProviderContext, d = o.ContextProvider, c = o.ScopedContextProvider, p = r(
7
+ void 0
8
+ ), m = r(
9
+ void 0
10
+ );
11
+ export {
12
+ c as C,
13
+ d as a,
14
+ x as b,
15
+ m as c,
16
+ p as d,
17
+ n as e,
18
+ s as u
19
+ };