design-system-silkhaus 3.10.0-beta-image-viewer.4 → 3.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ButtonsGroupSelector-BAlFswmU.js → ButtonsGroupSelector-Dt1072KD.js} +145 -127
- package/dist/app/index.js +2 -2
- package/dist/index.d.ts +105 -18
- package/dist/index.js +11296 -11563
- package/dist/style.css +1 -1
- package/dist/tailwind.config.js +20 -0
- package/package.json +4 -5
|
@@ -117,7 +117,7 @@ function ao() {
|
|
|
117
117
|
var G = b.displayName || b.name || "";
|
|
118
118
|
return G !== "" ? S + "(" + G + ")" : S;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function H(s) {
|
|
121
121
|
return s.displayName || "Context";
|
|
122
122
|
}
|
|
123
123
|
function Y(s) {
|
|
@@ -145,10 +145,10 @@ function ao() {
|
|
|
145
145
|
switch (s.$$typeof) {
|
|
146
146
|
case l:
|
|
147
147
|
var b = s;
|
|
148
|
-
return
|
|
148
|
+
return H(b) + ".Consumer";
|
|
149
149
|
case i:
|
|
150
150
|
var S = s;
|
|
151
|
-
return
|
|
151
|
+
return H(S._context) + ".Provider";
|
|
152
152
|
case c:
|
|
153
153
|
return V(s, s.render, "ForwardRef");
|
|
154
154
|
case g:
|
|
@@ -165,7 +165,7 @@ function ao() {
|
|
|
165
165
|
}
|
|
166
166
|
return null;
|
|
167
167
|
}
|
|
168
|
-
var
|
|
168
|
+
var A = Object.assign, T = 0, C, k, M, j, O, D, be;
|
|
169
169
|
function Le() {
|
|
170
170
|
}
|
|
171
171
|
Le.__reactDisabledLog = !0;
|
|
@@ -201,25 +201,25 @@ function ao() {
|
|
|
201
201
|
writable: !0
|
|
202
202
|
};
|
|
203
203
|
Object.defineProperties(console, {
|
|
204
|
-
log:
|
|
204
|
+
log: A({}, s, {
|
|
205
205
|
value: C
|
|
206
206
|
}),
|
|
207
|
-
info:
|
|
207
|
+
info: A({}, s, {
|
|
208
208
|
value: k
|
|
209
209
|
}),
|
|
210
|
-
warn:
|
|
210
|
+
warn: A({}, s, {
|
|
211
211
|
value: M
|
|
212
212
|
}),
|
|
213
|
-
error:
|
|
213
|
+
error: A({}, s, {
|
|
214
214
|
value: j
|
|
215
215
|
}),
|
|
216
|
-
group:
|
|
216
|
+
group: A({}, s, {
|
|
217
217
|
value: O
|
|
218
218
|
}),
|
|
219
|
-
groupCollapsed:
|
|
219
|
+
groupCollapsed: A({}, s, {
|
|
220
220
|
value: D
|
|
221
221
|
}),
|
|
222
|
-
groupEnd:
|
|
222
|
+
groupEnd: A({}, s, {
|
|
223
223
|
value: be
|
|
224
224
|
})
|
|
225
225
|
});
|
|
@@ -314,7 +314,7 @@ function ao() {
|
|
|
314
314
|
} finally {
|
|
315
315
|
bt = !1, le.current = K, re(), Error.prepareStackTrace = G;
|
|
316
316
|
}
|
|
317
|
-
var
|
|
317
|
+
var He = s ? s.displayName || s.name : "", ze = He ? je(He) : "";
|
|
318
318
|
return typeof s == "function" && nt.set(s, ze), ze;
|
|
319
319
|
}
|
|
320
320
|
function Mn(s, b, S) {
|
|
@@ -380,11 +380,11 @@ function ao() {
|
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
var
|
|
383
|
+
var Hn = Array.isArray;
|
|
384
384
|
function xt(s) {
|
|
385
|
-
return
|
|
385
|
+
return Hn(s);
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function An(s) {
|
|
388
388
|
{
|
|
389
389
|
var b = typeof Symbol == "function" && Symbol.toStringTag, S = b && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
390
390
|
return S;
|
|
@@ -402,7 +402,7 @@ function ao() {
|
|
|
402
402
|
}
|
|
403
403
|
function lr(s) {
|
|
404
404
|
if (On(s))
|
|
405
|
-
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
405
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", An(s)), ar(s);
|
|
406
406
|
}
|
|
407
407
|
var sr = x.ReactCurrentOwner, Wn = {
|
|
408
408
|
key: !0,
|
|
@@ -628,8 +628,8 @@ Check the top-level render call using <` + S + ">.");
|
|
|
628
628
|
if (se !== void 0)
|
|
629
629
|
if (W)
|
|
630
630
|
if (xt(se)) {
|
|
631
|
-
for (var
|
|
632
|
-
mr(se[
|
|
631
|
+
for (var He = 0; He < se.length; He++)
|
|
632
|
+
mr(se[He], s);
|
|
633
633
|
Object.freeze && Object.freeze(se);
|
|
634
634
|
} else
|
|
635
635
|
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -884,16 +884,16 @@ function Dt(e, ...t) {
|
|
|
884
884
|
const J = (e) => {
|
|
885
885
|
const t = (r) => r[e] || [];
|
|
886
886
|
return t.isThemeGetter = !0, t;
|
|
887
|
-
}, Zr = /^\[(?:([a-z-]+):)?(.+)\]$/i, yo = /^\d+\/\d+$/, wo = /* @__PURE__ */ new Set(["px", "full", "screen"]), Ro = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Eo = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, So = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Co = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, To = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, he = (e) => Oe(e) || wo.has(e) || yo.test(e), xe = (e) => Be(e, "length",
|
|
887
|
+
}, Zr = /^\[(?:([a-z-]+):)?(.+)\]$/i, yo = /^\d+\/\d+$/, wo = /* @__PURE__ */ new Set(["px", "full", "screen"]), Ro = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Eo = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, So = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Co = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, To = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, he = (e) => Oe(e) || wo.has(e) || yo.test(e), xe = (e) => Be(e, "length", Ao), Oe = (e) => !!e && !Number.isNaN(Number(e)), Ct = (e) => Be(e, "number", Oe), Ge = (e) => !!e && Number.isInteger(Number(e)), ko = (e) => e.endsWith("%") && Oe(e.slice(0, -1)), F = (e) => Zr.test(e), ye = (e) => Ro.test(e), Lo = /* @__PURE__ */ new Set(["length", "size", "percentage"]), zo = (e) => Be(e, Lo, Qr), Mo = (e) => Be(e, "position", Qr), Po = /* @__PURE__ */ new Set(["image", "url"]), _o = (e) => Be(e, Po, Wo), Ho = (e) => Be(e, "", Oo), Ue = () => !0, Be = (e, t, r) => {
|
|
888
888
|
const n = Zr.exec(e);
|
|
889
889
|
return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
|
|
890
|
-
},
|
|
890
|
+
}, Ao = (e) => (
|
|
891
891
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
892
892
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
893
893
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
894
894
|
Eo.test(e) && !So.test(e)
|
|
895
895
|
), Qr = () => !1, Oo = (e) => Co.test(e), Wo = (e) => To.test(e), Bt = () => {
|
|
896
|
-
const e = J("colors"), t = J("spacing"), r = J("blur"), n = J("brightness"), o = J("borderColor"), a = J("borderRadius"), i = J("borderSpacing"), l = J("borderWidth"), c = J("contrast"), u = J("grayscale"), f = J("hueRotate"), g = J("invert"), v = J("gap"), d = J("gradientColorStops"), h = J("gradientColorStopPositions"), m = J("inset"), w = J("margin"), x = J("opacity"), y = J("padding"), E = J("saturate"), R = J("scale"), z = J("sepia"), _ = J("skew"), N = J("space"), U = J("translate"), Z = () => ["auto", "contain", "none"], q = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", F, t],
|
|
896
|
+
const e = J("colors"), t = J("spacing"), r = J("blur"), n = J("brightness"), o = J("borderColor"), a = J("borderRadius"), i = J("borderSpacing"), l = J("borderWidth"), c = J("contrast"), u = J("grayscale"), f = J("hueRotate"), g = J("invert"), v = J("gap"), d = J("gradientColorStops"), h = J("gradientColorStopPositions"), m = J("inset"), w = J("margin"), x = J("opacity"), y = J("padding"), E = J("saturate"), R = J("scale"), z = J("sepia"), _ = J("skew"), N = J("space"), U = J("translate"), Z = () => ["auto", "contain", "none"], q = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", F, t], H = () => [F, t], Y = () => ["", he, xe], A = () => ["auto", Oe, F], T = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], C = () => ["solid", "dashed", "dotted", "double", "none"], k = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], j = () => ["", "0", F], O = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], D = () => [Oe, F];
|
|
897
897
|
return {
|
|
898
898
|
cacheSize: 500,
|
|
899
899
|
separator: ":",
|
|
@@ -904,25 +904,25 @@ const J = (e) => {
|
|
|
904
904
|
brightness: D(),
|
|
905
905
|
borderColor: [e],
|
|
906
906
|
borderRadius: ["none", "", "full", ye, F],
|
|
907
|
-
borderSpacing:
|
|
907
|
+
borderSpacing: H(),
|
|
908
908
|
borderWidth: Y(),
|
|
909
909
|
contrast: D(),
|
|
910
910
|
grayscale: j(),
|
|
911
911
|
hueRotate: D(),
|
|
912
912
|
invert: j(),
|
|
913
|
-
gap:
|
|
913
|
+
gap: H(),
|
|
914
914
|
gradientColorStops: [e],
|
|
915
915
|
gradientColorStopPositions: [ko, xe],
|
|
916
916
|
inset: V(),
|
|
917
917
|
margin: V(),
|
|
918
918
|
opacity: D(),
|
|
919
|
-
padding:
|
|
919
|
+
padding: H(),
|
|
920
920
|
saturate: D(),
|
|
921
921
|
scale: D(),
|
|
922
922
|
sepia: j(),
|
|
923
923
|
skew: D(),
|
|
924
|
-
space:
|
|
925
|
-
translate:
|
|
924
|
+
space: H(),
|
|
925
|
+
translate: H()
|
|
926
926
|
},
|
|
927
927
|
classGroups: {
|
|
928
928
|
// Layout
|
|
@@ -1211,14 +1211,14 @@ const J = (e) => {
|
|
|
1211
1211
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1212
1212
|
*/
|
|
1213
1213
|
"col-start": [{
|
|
1214
|
-
"col-start":
|
|
1214
|
+
"col-start": A()
|
|
1215
1215
|
}],
|
|
1216
1216
|
/**
|
|
1217
1217
|
* Grid Column End
|
|
1218
1218
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1219
1219
|
*/
|
|
1220
1220
|
"col-end": [{
|
|
1221
|
-
"col-end":
|
|
1221
|
+
"col-end": A()
|
|
1222
1222
|
}],
|
|
1223
1223
|
/**
|
|
1224
1224
|
* Grid Template Rows
|
|
@@ -1241,14 +1241,14 @@ const J = (e) => {
|
|
|
1241
1241
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1242
1242
|
*/
|
|
1243
1243
|
"row-start": [{
|
|
1244
|
-
"row-start":
|
|
1244
|
+
"row-start": A()
|
|
1245
1245
|
}],
|
|
1246
1246
|
/**
|
|
1247
1247
|
* Grid Row End
|
|
1248
1248
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1249
1249
|
*/
|
|
1250
1250
|
"row-end": [{
|
|
1251
|
-
"row-end":
|
|
1251
|
+
"row-end": A()
|
|
1252
1252
|
}],
|
|
1253
1253
|
/**
|
|
1254
1254
|
* Grid Auto Flow
|
|
@@ -1753,7 +1753,7 @@ const J = (e) => {
|
|
|
1753
1753
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1754
1754
|
*/
|
|
1755
1755
|
indent: [{
|
|
1756
|
-
indent:
|
|
1756
|
+
indent: H()
|
|
1757
1757
|
}],
|
|
1758
1758
|
/**
|
|
1759
1759
|
* Vertical Alignment
|
|
@@ -2266,7 +2266,7 @@ const J = (e) => {
|
|
|
2266
2266
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
2267
2267
|
*/
|
|
2268
2268
|
shadow: [{
|
|
2269
|
-
shadow: ["", "inner", "none", ye,
|
|
2269
|
+
shadow: ["", "inner", "none", ye, Ho]
|
|
2270
2270
|
}],
|
|
2271
2271
|
/**
|
|
2272
2272
|
* Box Shadow Color
|
|
@@ -2644,126 +2644,126 @@ const J = (e) => {
|
|
|
2644
2644
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2645
2645
|
*/
|
|
2646
2646
|
"scroll-m": [{
|
|
2647
|
-
"scroll-m":
|
|
2647
|
+
"scroll-m": H()
|
|
2648
2648
|
}],
|
|
2649
2649
|
/**
|
|
2650
2650
|
* Scroll Margin X
|
|
2651
2651
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2652
2652
|
*/
|
|
2653
2653
|
"scroll-mx": [{
|
|
2654
|
-
"scroll-mx":
|
|
2654
|
+
"scroll-mx": H()
|
|
2655
2655
|
}],
|
|
2656
2656
|
/**
|
|
2657
2657
|
* Scroll Margin Y
|
|
2658
2658
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2659
2659
|
*/
|
|
2660
2660
|
"scroll-my": [{
|
|
2661
|
-
"scroll-my":
|
|
2661
|
+
"scroll-my": H()
|
|
2662
2662
|
}],
|
|
2663
2663
|
/**
|
|
2664
2664
|
* Scroll Margin Start
|
|
2665
2665
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2666
2666
|
*/
|
|
2667
2667
|
"scroll-ms": [{
|
|
2668
|
-
"scroll-ms":
|
|
2668
|
+
"scroll-ms": H()
|
|
2669
2669
|
}],
|
|
2670
2670
|
/**
|
|
2671
2671
|
* Scroll Margin End
|
|
2672
2672
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2673
2673
|
*/
|
|
2674
2674
|
"scroll-me": [{
|
|
2675
|
-
"scroll-me":
|
|
2675
|
+
"scroll-me": H()
|
|
2676
2676
|
}],
|
|
2677
2677
|
/**
|
|
2678
2678
|
* Scroll Margin Top
|
|
2679
2679
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2680
2680
|
*/
|
|
2681
2681
|
"scroll-mt": [{
|
|
2682
|
-
"scroll-mt":
|
|
2682
|
+
"scroll-mt": H()
|
|
2683
2683
|
}],
|
|
2684
2684
|
/**
|
|
2685
2685
|
* Scroll Margin Right
|
|
2686
2686
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2687
2687
|
*/
|
|
2688
2688
|
"scroll-mr": [{
|
|
2689
|
-
"scroll-mr":
|
|
2689
|
+
"scroll-mr": H()
|
|
2690
2690
|
}],
|
|
2691
2691
|
/**
|
|
2692
2692
|
* Scroll Margin Bottom
|
|
2693
2693
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2694
2694
|
*/
|
|
2695
2695
|
"scroll-mb": [{
|
|
2696
|
-
"scroll-mb":
|
|
2696
|
+
"scroll-mb": H()
|
|
2697
2697
|
}],
|
|
2698
2698
|
/**
|
|
2699
2699
|
* Scroll Margin Left
|
|
2700
2700
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2701
2701
|
*/
|
|
2702
2702
|
"scroll-ml": [{
|
|
2703
|
-
"scroll-ml":
|
|
2703
|
+
"scroll-ml": H()
|
|
2704
2704
|
}],
|
|
2705
2705
|
/**
|
|
2706
2706
|
* Scroll Padding
|
|
2707
2707
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2708
2708
|
*/
|
|
2709
2709
|
"scroll-p": [{
|
|
2710
|
-
"scroll-p":
|
|
2710
|
+
"scroll-p": H()
|
|
2711
2711
|
}],
|
|
2712
2712
|
/**
|
|
2713
2713
|
* Scroll Padding X
|
|
2714
2714
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2715
2715
|
*/
|
|
2716
2716
|
"scroll-px": [{
|
|
2717
|
-
"scroll-px":
|
|
2717
|
+
"scroll-px": H()
|
|
2718
2718
|
}],
|
|
2719
2719
|
/**
|
|
2720
2720
|
* Scroll Padding Y
|
|
2721
2721
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2722
2722
|
*/
|
|
2723
2723
|
"scroll-py": [{
|
|
2724
|
-
"scroll-py":
|
|
2724
|
+
"scroll-py": H()
|
|
2725
2725
|
}],
|
|
2726
2726
|
/**
|
|
2727
2727
|
* Scroll Padding Start
|
|
2728
2728
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2729
2729
|
*/
|
|
2730
2730
|
"scroll-ps": [{
|
|
2731
|
-
"scroll-ps":
|
|
2731
|
+
"scroll-ps": H()
|
|
2732
2732
|
}],
|
|
2733
2733
|
/**
|
|
2734
2734
|
* Scroll Padding End
|
|
2735
2735
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2736
2736
|
*/
|
|
2737
2737
|
"scroll-pe": [{
|
|
2738
|
-
"scroll-pe":
|
|
2738
|
+
"scroll-pe": H()
|
|
2739
2739
|
}],
|
|
2740
2740
|
/**
|
|
2741
2741
|
* Scroll Padding Top
|
|
2742
2742
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2743
2743
|
*/
|
|
2744
2744
|
"scroll-pt": [{
|
|
2745
|
-
"scroll-pt":
|
|
2745
|
+
"scroll-pt": H()
|
|
2746
2746
|
}],
|
|
2747
2747
|
/**
|
|
2748
2748
|
* Scroll Padding Right
|
|
2749
2749
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2750
2750
|
*/
|
|
2751
2751
|
"scroll-pr": [{
|
|
2752
|
-
"scroll-pr":
|
|
2752
|
+
"scroll-pr": H()
|
|
2753
2753
|
}],
|
|
2754
2754
|
/**
|
|
2755
2755
|
* Scroll Padding Bottom
|
|
2756
2756
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2757
2757
|
*/
|
|
2758
2758
|
"scroll-pb": [{
|
|
2759
|
-
"scroll-pb":
|
|
2759
|
+
"scroll-pb": H()
|
|
2760
2760
|
}],
|
|
2761
2761
|
/**
|
|
2762
2762
|
* Scroll Padding Left
|
|
2763
2763
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2764
2764
|
*/
|
|
2765
2765
|
"scroll-pl": [{
|
|
2766
|
-
"scroll-pl":
|
|
2766
|
+
"scroll-pl": H()
|
|
2767
2767
|
}],
|
|
2768
2768
|
/**
|
|
2769
2769
|
* Scroll Snap Align
|
|
@@ -3271,6 +3271,9 @@ const rn = {
|
|
|
3271
3271
|
fontWeight: "var(--font-weight-bold)"
|
|
3272
3272
|
}
|
|
3273
3273
|
],
|
|
3274
|
+
/**
|
|
3275
|
+
* @deprecated use `mediumSubheadRegular` instead
|
|
3276
|
+
*/
|
|
3274
3277
|
mediumSubHeadRegular: [
|
|
3275
3278
|
"var(--MediumSubHead-Regular-font-size)",
|
|
3276
3279
|
{
|
|
@@ -3278,6 +3281,9 @@ const rn = {
|
|
|
3278
3281
|
fontWeight: "var(--font-weight-normal)"
|
|
3279
3282
|
}
|
|
3280
3283
|
],
|
|
3284
|
+
/**
|
|
3285
|
+
* @deprecated use `mediumSubheadEmphasized` instead
|
|
3286
|
+
*/
|
|
3281
3287
|
mediumSubHeadEmphasized: [
|
|
3282
3288
|
"var(--MediumSubHead-Regular-font-size)",
|
|
3283
3289
|
{
|
|
@@ -3285,6 +3291,20 @@ const rn = {
|
|
|
3285
3291
|
fontWeight: "var(--font-weight-semibold)"
|
|
3286
3292
|
}
|
|
3287
3293
|
],
|
|
3294
|
+
mediumSubheadRegular: [
|
|
3295
|
+
"var(--MediumSubHead-Regular-font-size)",
|
|
3296
|
+
{
|
|
3297
|
+
lineHeight: "var(--MediumSubHead-Regular-line-height)",
|
|
3298
|
+
fontWeight: "var(--font-weight-normal)"
|
|
3299
|
+
}
|
|
3300
|
+
],
|
|
3301
|
+
mediumSubheadEmphasized: [
|
|
3302
|
+
"var(--MediumSubHead-Regular-font-size)",
|
|
3303
|
+
{
|
|
3304
|
+
lineHeight: "var(--MediumSubHead-Regular-line-height)",
|
|
3305
|
+
fontWeight: "var(--font-weight-semibold)"
|
|
3306
|
+
}
|
|
3307
|
+
],
|
|
3288
3308
|
mediumCaption1Regular: [
|
|
3289
3309
|
"var(--MediumCaption-1Regular-font-size)",
|
|
3290
3310
|
{
|
|
@@ -3773,14 +3793,12 @@ const za = (e, t = "AED") => {
|
|
|
3773
3793
|
tertiary: "ds-text-Text-secondary ds-rounded-sm hover:ds-bg-Fills-quintiary active:ds-bg-Fills-quintiary focus:ds-bg-Fills-quadrutery disabled:ds-text-Fills-quadrutery disabled:ds-bg-Fills-quintiary",
|
|
3774
3794
|
quaternary: "ds-text-accentEggplant-100 ds-rounded-sm hover:ds-bg-Background-accentEggplant-5 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-100 focus:ds-text-Text-textPrimaryDark disabled:ds-text-Background-accentEggplant-20",
|
|
3775
3795
|
small: "ds-py-1.5 ds-px-8 ds_SmallBodyEmphasized",
|
|
3776
|
-
large: "ds-py-3 ds-px-8 ds_MediumBodyEmphasized"
|
|
3777
|
-
empty: ""
|
|
3796
|
+
large: "ds-py-3 ds-px-8 ds_MediumBodyEmphasized"
|
|
3778
3797
|
}, $o = {
|
|
3779
3798
|
primary: "ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-none ds-border ds-border-white ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)]",
|
|
3780
3799
|
secondary: "ds-rounded-sm ds-border ds-bg-Background-accentEggplant-5 ds-text-accentEggplant-100 ds-border-2 ds-border-Background-accentEggplant-100",
|
|
3781
3800
|
tertiary: "ds-text-Text-secondary ds-rounded-sm ds-bg-Fills-quadrutery",
|
|
3782
|
-
quaternary: "ds-rounded-sm ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark"
|
|
3783
|
-
empty: "ds-rounded-sm ds-bg-none"
|
|
3801
|
+
quaternary: "ds-rounded-sm ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark"
|
|
3784
3802
|
}, Vo = Fe.forwardRef(
|
|
3785
3803
|
(h, d) => {
|
|
3786
3804
|
var m = h, {
|
|
@@ -4104,7 +4122,7 @@ function kt(e, t) {
|
|
|
4104
4122
|
const r = e;
|
|
4105
4123
|
return r.target != null && t.contains(r.target);
|
|
4106
4124
|
}
|
|
4107
|
-
function
|
|
4125
|
+
function Ae(e) {
|
|
4108
4126
|
return "composedPath" in e ? e.composedPath()[0] : e.target;
|
|
4109
4127
|
}
|
|
4110
4128
|
const Zo = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
|
|
@@ -4589,8 +4607,8 @@ const Ti = function(e) {
|
|
|
4589
4607
|
placement: a,
|
|
4590
4608
|
overflows: q
|
|
4591
4609
|
}], !q.every((C) => C <= 0)) {
|
|
4592
|
-
var
|
|
4593
|
-
const C = (((
|
|
4610
|
+
var H, Y;
|
|
4611
|
+
const C = (((H = i.flip) == null ? void 0 : H.index) || 0) + 1, k = U[C];
|
|
4594
4612
|
if (k)
|
|
4595
4613
|
return {
|
|
4596
4614
|
data: {
|
|
@@ -4605,8 +4623,8 @@ const Ti = function(e) {
|
|
|
4605
4623
|
if (!M)
|
|
4606
4624
|
switch (h) {
|
|
4607
4625
|
case "bestFit": {
|
|
4608
|
-
var
|
|
4609
|
-
const j = (
|
|
4626
|
+
var A;
|
|
4627
|
+
const j = (A = V.filter((O) => {
|
|
4610
4628
|
if (N) {
|
|
4611
4629
|
const D = Me(O.placement);
|
|
4612
4630
|
return D === E || // Create a bias to the `y` side axis due to horizontal
|
|
@@ -4614,7 +4632,7 @@ const Ti = function(e) {
|
|
|
4614
4632
|
D === "y";
|
|
4615
4633
|
}
|
|
4616
4634
|
return !0;
|
|
4617
|
-
}).map((O) => [O.placement, O.overflows.filter((D) => D > 0).reduce((D, be) => D + be, 0)]).sort((O, D) => O[1] - D[1])[0]) == null ? void 0 :
|
|
4635
|
+
}).map((O) => [O.placement, O.overflows.filter((D) => D > 0).reduce((D, be) => D + be, 0)]).sort((O, D) => O[1] - D[1])[0]) == null ? void 0 : A[0];
|
|
4618
4636
|
j && (M = j);
|
|
4619
4637
|
break;
|
|
4620
4638
|
}
|
|
@@ -4766,8 +4784,8 @@ const Li = function(e) {
|
|
|
4766
4784
|
const x = h - u.top - u.bottom, y = d - u.left - u.right, E = Ee(h - u[m], x), R = Ee(d - u[w], y), z = !r.middlewareData.shift;
|
|
4767
4785
|
let _ = E, N = R;
|
|
4768
4786
|
if (v ? N = g || z ? Ee(R, y) : y : _ = g || z ? Ee(E, x) : x, z && !g) {
|
|
4769
|
-
const q = ae(u.left, 0), V = ae(u.right, 0),
|
|
4770
|
-
v ? N = d - 2 * (q !== 0 || V !== 0 ? q + V : ae(u.left, u.right)) : _ = h - 2 * (
|
|
4787
|
+
const q = ae(u.left, 0), V = ae(u.right, 0), H = ae(u.top, 0), Y = ae(u.bottom, 0);
|
|
4788
|
+
v ? N = d - 2 * (q !== 0 || V !== 0 ? q + V : ae(u.left, u.right)) : _ = h - 2 * (H !== 0 || Y !== 0 ? H + Y : ae(u.top, u.bottom));
|
|
4771
4789
|
}
|
|
4772
4790
|
yield l($(L({}, r), {
|
|
4773
4791
|
availableWidth: N,
|
|
@@ -4844,7 +4862,7 @@ function Pe(e, t, r, n) {
|
|
|
4844
4862
|
y: u
|
|
4845
4863
|
});
|
|
4846
4864
|
}
|
|
4847
|
-
function
|
|
4865
|
+
function Hi(e) {
|
|
4848
4866
|
let {
|
|
4849
4867
|
elements: t,
|
|
4850
4868
|
rect: r,
|
|
@@ -4870,7 +4888,7 @@ function Ai(e) {
|
|
|
4870
4888
|
y: r.y * u.y - c.scrollTop * u.y + f.y
|
|
4871
4889
|
};
|
|
4872
4890
|
}
|
|
4873
|
-
function
|
|
4891
|
+
function Ai(e) {
|
|
4874
4892
|
return Array.from(e.getClientRects());
|
|
4875
4893
|
}
|
|
4876
4894
|
function yn(e) {
|
|
@@ -4996,7 +5014,7 @@ function ji(e, t, r) {
|
|
|
4996
5014
|
function Lt(e) {
|
|
4997
5015
|
return ce(e).position === "static";
|
|
4998
5016
|
}
|
|
4999
|
-
function
|
|
5017
|
+
function Hr(e, t) {
|
|
5000
5018
|
return !ie(e) || ce(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
|
|
5001
5019
|
}
|
|
5002
5020
|
function Rn(e, t) {
|
|
@@ -5012,9 +5030,9 @@ function Rn(e, t) {
|
|
|
5012
5030
|
}
|
|
5013
5031
|
return r;
|
|
5014
5032
|
}
|
|
5015
|
-
let n =
|
|
5033
|
+
let n = Hr(e, t);
|
|
5016
5034
|
for (; n && Go(n) && Lt(n); )
|
|
5017
|
-
n =
|
|
5035
|
+
n = Hr(n, t);
|
|
5018
5036
|
return n && Ce(n) && Lt(n) && !Xt(n) ? r : n || Uo(e) || r;
|
|
5019
5037
|
}
|
|
5020
5038
|
const Ni = function(e) {
|
|
@@ -5035,12 +5053,12 @@ function $i(e) {
|
|
|
5035
5053
|
return ce(e).direction === "rtl";
|
|
5036
5054
|
}
|
|
5037
5055
|
const Vi = {
|
|
5038
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
5056
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Hi,
|
|
5039
5057
|
getDocumentElement: ve,
|
|
5040
5058
|
getClippingRect: Bi,
|
|
5041
5059
|
getOffsetParent: Rn,
|
|
5042
5060
|
getElementRects: Ni,
|
|
5043
|
-
getClientRects:
|
|
5061
|
+
getClientRects: Ai,
|
|
5044
5062
|
getDimensions: Ii,
|
|
5045
5063
|
getScale: We,
|
|
5046
5064
|
isElement: X,
|
|
@@ -5091,7 +5109,7 @@ function Gi(e, t) {
|
|
|
5091
5109
|
}
|
|
5092
5110
|
return i(!0), a;
|
|
5093
5111
|
}
|
|
5094
|
-
function
|
|
5112
|
+
function Ha(e, t, r, n) {
|
|
5095
5113
|
n === void 0 && (n = {});
|
|
5096
5114
|
const {
|
|
5097
5115
|
ancestorScroll: o = !0,
|
|
@@ -5171,7 +5189,7 @@ function mt(e, t) {
|
|
|
5171
5189
|
function En(e) {
|
|
5172
5190
|
return typeof window == "undefined" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
5173
5191
|
}
|
|
5174
|
-
function
|
|
5192
|
+
function Ar(e, t) {
|
|
5175
5193
|
const r = En(e);
|
|
5176
5194
|
return Math.round(t * r) / r;
|
|
5177
5195
|
}
|
|
@@ -5208,7 +5226,7 @@ function Ji(e) {
|
|
|
5208
5226
|
k !== _.current && (_.current = k, m(k));
|
|
5209
5227
|
}, []), E = p.useCallback((k) => {
|
|
5210
5228
|
k !== N.current && (N.current = k, x(k));
|
|
5211
|
-
}, []), R = a || h, z = i || w, _ = p.useRef(null), N = p.useRef(null), U = p.useRef(f), Z = c != null, q = Or(c), V = Or(o),
|
|
5229
|
+
}, []), R = a || h, z = i || w, _ = p.useRef(null), N = p.useRef(null), U = p.useRef(f), Z = c != null, q = Or(c), V = Or(o), H = p.useCallback(() => {
|
|
5212
5230
|
if (!_.current || !N.current)
|
|
5213
5231
|
return;
|
|
5214
5232
|
const k = {
|
|
@@ -5236,11 +5254,11 @@ function Ji(e) {
|
|
|
5236
5254
|
}), []), st(() => {
|
|
5237
5255
|
if (R && (_.current = R), z && (N.current = z), R && z) {
|
|
5238
5256
|
if (q.current)
|
|
5239
|
-
return q.current(R, z,
|
|
5240
|
-
|
|
5257
|
+
return q.current(R, z, H);
|
|
5258
|
+
H();
|
|
5241
5259
|
}
|
|
5242
|
-
}, [R, z,
|
|
5243
|
-
const
|
|
5260
|
+
}, [R, z, H, q, Z]);
|
|
5261
|
+
const A = p.useMemo(() => ({
|
|
5244
5262
|
reference: _,
|
|
5245
5263
|
floating: N,
|
|
5246
5264
|
setReference: y,
|
|
@@ -5256,7 +5274,7 @@ function Ji(e) {
|
|
|
5256
5274
|
};
|
|
5257
5275
|
if (!T.floating)
|
|
5258
5276
|
return k;
|
|
5259
|
-
const M =
|
|
5277
|
+
const M = Ar(T.floating, f.x), j = Ar(T.floating, f.y);
|
|
5260
5278
|
return l ? L($(L({}, k), {
|
|
5261
5279
|
transform: "translate(" + M + "px, " + j + "px)"
|
|
5262
5280
|
}), En(T.floating) >= 1.5 && {
|
|
@@ -5268,13 +5286,13 @@ function Ji(e) {
|
|
|
5268
5286
|
};
|
|
5269
5287
|
}, [r, l, T.floating, f.x, f.y]);
|
|
5270
5288
|
return p.useMemo(() => $(L({}, f), {
|
|
5271
|
-
update:
|
|
5272
|
-
refs:
|
|
5289
|
+
update: H,
|
|
5290
|
+
refs: A,
|
|
5273
5291
|
elements: T,
|
|
5274
5292
|
floatingStyles: C
|
|
5275
|
-
}), [f,
|
|
5293
|
+
}), [f, H, A, T, C]);
|
|
5276
5294
|
}
|
|
5277
|
-
const
|
|
5295
|
+
const Aa = (e, t) => $(L({}, Ui(e)), {
|
|
5278
5296
|
options: [e, t]
|
|
5279
5297
|
}), Oa = (e, t) => $(L({}, qi(e)), {
|
|
5280
5298
|
options: [e, t]
|
|
@@ -5414,7 +5432,7 @@ function Da(e, t) {
|
|
|
5414
5432
|
M && !R.current ? (clearTimeout(E.current), E.current = window.setTimeout(() => n(!1, T, k), M)) : C && (clearTimeout(E.current), n(!1, T, k));
|
|
5415
5433
|
}, [w, n]), V = we(() => {
|
|
5416
5434
|
U.current(), R.current = void 0;
|
|
5417
|
-
}),
|
|
5435
|
+
}), H = we(() => {
|
|
5418
5436
|
if (N.current) {
|
|
5419
5437
|
const T = Re(i.floating).body;
|
|
5420
5438
|
T.style.pointerEvents = "", T.removeAttribute(Dr), N.current = !1;
|
|
@@ -5443,7 +5461,7 @@ function Da(e, t) {
|
|
|
5443
5461
|
x: O.clientX,
|
|
5444
5462
|
y: O.clientY,
|
|
5445
5463
|
onClose() {
|
|
5446
|
-
|
|
5464
|
+
H(), V(), q(O, !0, "safe-polygon");
|
|
5447
5465
|
}
|
|
5448
5466
|
}));
|
|
5449
5467
|
const Le = R.current;
|
|
@@ -5460,7 +5478,7 @@ function Da(e, t) {
|
|
|
5460
5478
|
x: O.clientX,
|
|
5461
5479
|
y: O.clientY,
|
|
5462
5480
|
onClose() {
|
|
5463
|
-
|
|
5481
|
+
H(), V(), q(O);
|
|
5464
5482
|
}
|
|
5465
5483
|
}))(O));
|
|
5466
5484
|
}
|
|
@@ -5474,7 +5492,7 @@ function Da(e, t) {
|
|
|
5474
5492
|
r && O.removeEventListener("mouseleave", M), (D = i.floating) == null || D.removeEventListener("mouseleave", M), v && O.removeEventListener("mousemove", C), O.removeEventListener("mouseenter", C), O.removeEventListener("mouseleave", k);
|
|
5475
5493
|
};
|
|
5476
5494
|
}
|
|
5477
|
-
}, [i, l, e, f, g, v, q, V,
|
|
5495
|
+
}, [i, l, e, f, g, v, q, V, H, n, r, x, d, w, m, o]), ue(() => {
|
|
5478
5496
|
var T;
|
|
5479
5497
|
if (l && r && (T = m.current) != null && T.__options.blockPointerEvents && Z()) {
|
|
5480
5498
|
const k = Re(i.floating).body;
|
|
@@ -5489,10 +5507,10 @@ function Da(e, t) {
|
|
|
5489
5507
|
}
|
|
5490
5508
|
}
|
|
5491
5509
|
}, [l, r, h, i, d, m, Z]), ue(() => {
|
|
5492
|
-
r || (y.current = void 0, V(),
|
|
5493
|
-
}, [r, V,
|
|
5494
|
-
V(), clearTimeout(E.current), clearTimeout(z.current),
|
|
5495
|
-
}, [l, i.domReference, V,
|
|
5510
|
+
r || (y.current = void 0, V(), H());
|
|
5511
|
+
}, [r, V, H]), p.useEffect(() => () => {
|
|
5512
|
+
V(), clearTimeout(E.current), clearTimeout(z.current), H();
|
|
5513
|
+
}, [l, i.domReference, V, H]);
|
|
5496
5514
|
const Y = p.useMemo(() => {
|
|
5497
5515
|
function T(C) {
|
|
5498
5516
|
y.current = C.pointerType;
|
|
@@ -5510,7 +5528,7 @@ function Da(e, t) {
|
|
|
5510
5528
|
f && !Ke(y.current) || r || g === 0 || (clearTimeout(z.current), y.current === "touch" ? M() : z.current = window.setTimeout(M, g));
|
|
5511
5529
|
}
|
|
5512
5530
|
};
|
|
5513
|
-
}, [f, n, r, x, g]),
|
|
5531
|
+
}, [f, n, r, x, g]), A = p.useMemo(() => ({
|
|
5514
5532
|
onMouseEnter() {
|
|
5515
5533
|
clearTimeout(E.current);
|
|
5516
5534
|
},
|
|
@@ -5520,8 +5538,8 @@ function Da(e, t) {
|
|
|
5520
5538
|
}), [q]);
|
|
5521
5539
|
return p.useMemo(() => l ? {
|
|
5522
5540
|
reference: Y,
|
|
5523
|
-
floating:
|
|
5524
|
-
} : {}, [l, Y,
|
|
5541
|
+
floating: A
|
|
5542
|
+
} : {}, [l, Y, A]);
|
|
5525
5543
|
}
|
|
5526
5544
|
function Pt(e, t) {
|
|
5527
5545
|
let r = e.filter((o) => {
|
|
@@ -5784,12 +5802,12 @@ function ja(e, t) {
|
|
|
5784
5802
|
} = Vr(d), {
|
|
5785
5803
|
escapeKey: _,
|
|
5786
5804
|
outsidePress: N
|
|
5787
|
-
} = Vr(h), U = we((
|
|
5805
|
+
} = Vr(h), U = we((A) => {
|
|
5788
5806
|
var T;
|
|
5789
|
-
if (!r || !i || !l ||
|
|
5807
|
+
if (!r || !i || !l || A.key !== "Escape")
|
|
5790
5808
|
return;
|
|
5791
5809
|
const C = (T = a.current.floatingContext) == null ? void 0 : T.nodeId, k = m ? Pt(m.nodesRef.current, C) : [];
|
|
5792
|
-
if (!R && (
|
|
5810
|
+
if (!R && (A.stopPropagation(), k.length > 0)) {
|
|
5793
5811
|
let M = !0;
|
|
5794
5812
|
if (k.forEach((j) => {
|
|
5795
5813
|
var O;
|
|
@@ -5800,22 +5818,22 @@ function ja(e, t) {
|
|
|
5800
5818
|
}), !M)
|
|
5801
5819
|
return;
|
|
5802
5820
|
}
|
|
5803
|
-
n(!1, Xo(
|
|
5804
|
-
}), Z = we((
|
|
5821
|
+
n(!1, Xo(A) ? A.nativeEvent : A, "escape-key");
|
|
5822
|
+
}), Z = we((A) => {
|
|
5805
5823
|
var T;
|
|
5806
5824
|
const C = () => {
|
|
5807
5825
|
var k;
|
|
5808
|
-
U(
|
|
5826
|
+
U(A), (k = Ae(A)) == null || k.removeEventListener("keydown", C);
|
|
5809
5827
|
};
|
|
5810
|
-
(T =
|
|
5811
|
-
}), q = we((
|
|
5828
|
+
(T = Ae(A)) == null || T.addEventListener("keydown", C);
|
|
5829
|
+
}), q = we((A) => {
|
|
5812
5830
|
var T;
|
|
5813
5831
|
const C = y.current;
|
|
5814
5832
|
y.current = !1;
|
|
5815
5833
|
const k = E.current;
|
|
5816
|
-
if (E.current = !1, u === "click" && k || C || typeof x == "function" && !x(
|
|
5834
|
+
if (E.current = !1, u === "click" && k || C || typeof x == "function" && !x(A))
|
|
5817
5835
|
return;
|
|
5818
|
-
const M =
|
|
5836
|
+
const M = Ae(A), j = "[" + tt("inert") + "]", O = Re(o.floating).querySelectorAll(j);
|
|
5819
5837
|
let D = X(M) ? M : null;
|
|
5820
5838
|
for (; D && !Ce(D); ) {
|
|
5821
5839
|
const re = pe(D);
|
|
@@ -5830,15 +5848,15 @@ function ja(e, t) {
|
|
|
5830
5848
|
return;
|
|
5831
5849
|
if (ie(M) && Y) {
|
|
5832
5850
|
const re = M.clientWidth > 0 && M.scrollWidth > M.clientWidth, le = M.clientHeight > 0 && M.scrollHeight > M.clientHeight;
|
|
5833
|
-
let de = le &&
|
|
5834
|
-
if (le && ce(M).direction === "rtl" && (de =
|
|
5851
|
+
let de = le && A.offsetX > M.clientWidth;
|
|
5852
|
+
if (le && ce(M).direction === "rtl" && (de = A.offsetX <= M.offsetWidth - M.clientWidth), de || re && A.offsetY > M.clientHeight)
|
|
5835
5853
|
return;
|
|
5836
5854
|
}
|
|
5837
5855
|
const be = (T = a.current.floatingContext) == null ? void 0 : T.nodeId, Le = m && Pt(m.nodesRef.current, be).some((re) => {
|
|
5838
5856
|
var le;
|
|
5839
|
-
return kt(
|
|
5857
|
+
return kt(A, (le = re.context) == null ? void 0 : le.elements.floating);
|
|
5840
5858
|
});
|
|
5841
|
-
if (kt(
|
|
5859
|
+
if (kt(A, o.floating) || kt(A, o.domReference) || Le)
|
|
5842
5860
|
return;
|
|
5843
5861
|
const rt = m ? Pt(m.nodesRef.current, be) : [];
|
|
5844
5862
|
if (rt.length > 0) {
|
|
@@ -5852,20 +5870,20 @@ function ja(e, t) {
|
|
|
5852
5870
|
}), !re)
|
|
5853
5871
|
return;
|
|
5854
5872
|
}
|
|
5855
|
-
n(!1,
|
|
5856
|
-
}), V = we((
|
|
5873
|
+
n(!1, A, "outside-press");
|
|
5874
|
+
}), V = we((A) => {
|
|
5857
5875
|
var T;
|
|
5858
5876
|
const C = () => {
|
|
5859
5877
|
var k;
|
|
5860
|
-
q(
|
|
5878
|
+
q(A), (k = Ae(A)) == null || k.removeEventListener(u, C);
|
|
5861
5879
|
};
|
|
5862
|
-
(T =
|
|
5880
|
+
(T = Ae(A)) == null || T.addEventListener(u, C);
|
|
5863
5881
|
});
|
|
5864
5882
|
p.useEffect(() => {
|
|
5865
5883
|
if (!r || !i)
|
|
5866
5884
|
return;
|
|
5867
5885
|
a.current.__escapeKeyBubbles = R, a.current.__outsidePressBubbles = z;
|
|
5868
|
-
function
|
|
5886
|
+
function A(k) {
|
|
5869
5887
|
n(!1, k, "ancestor-scroll");
|
|
5870
5888
|
}
|
|
5871
5889
|
const T = Re(o.floating);
|
|
@@ -5875,21 +5893,21 @@ function ja(e, t) {
|
|
|
5875
5893
|
var M;
|
|
5876
5894
|
return k !== ((M = T.defaultView) == null ? void 0 : M.visualViewport);
|
|
5877
5895
|
}), C.forEach((k) => {
|
|
5878
|
-
k.addEventListener("scroll",
|
|
5896
|
+
k.addEventListener("scroll", A, {
|
|
5879
5897
|
passive: !0
|
|
5880
5898
|
});
|
|
5881
5899
|
}), () => {
|
|
5882
5900
|
l && T.removeEventListener("keydown", _ ? Z : U, _), x && T.removeEventListener(u, N ? V : q, N), C.forEach((k) => {
|
|
5883
|
-
k.removeEventListener("scroll",
|
|
5901
|
+
k.removeEventListener("scroll", A);
|
|
5884
5902
|
});
|
|
5885
5903
|
};
|
|
5886
5904
|
}, [a, o, l, x, u, r, n, v, i, R, z, U, _, Z, q, N, V]), p.useEffect(() => {
|
|
5887
5905
|
y.current = !1;
|
|
5888
5906
|
}, [x, u]);
|
|
5889
|
-
const
|
|
5907
|
+
const H = p.useMemo(() => ({
|
|
5890
5908
|
onKeyDown: U,
|
|
5891
|
-
[ha[g]]: (
|
|
5892
|
-
f && n(!1,
|
|
5909
|
+
[ha[g]]: (A) => {
|
|
5910
|
+
f && n(!1, A.nativeEvent, "reference-press");
|
|
5893
5911
|
}
|
|
5894
5912
|
}), [U, n, f, g]), Y = p.useMemo(() => ({
|
|
5895
5913
|
onKeyDown: U,
|
|
@@ -5904,9 +5922,9 @@ function ja(e, t) {
|
|
|
5904
5922
|
}
|
|
5905
5923
|
}), [U, u]);
|
|
5906
5924
|
return p.useMemo(() => i ? {
|
|
5907
|
-
reference:
|
|
5925
|
+
reference: H,
|
|
5908
5926
|
floating: Y
|
|
5909
|
-
} : {}, [i,
|
|
5927
|
+
} : {}, [i, H, Y]);
|
|
5910
5928
|
}
|
|
5911
5929
|
function pa(e) {
|
|
5912
5930
|
const {
|
|
@@ -6038,7 +6056,7 @@ function $a(e, t) {
|
|
|
6038
6056
|
},
|
|
6039
6057
|
onFocus(d) {
|
|
6040
6058
|
if (u.current) return;
|
|
6041
|
-
const h =
|
|
6059
|
+
const h = Ae(d.nativeEvent);
|
|
6042
6060
|
if (c && X(h))
|
|
6043
6061
|
try {
|
|
6044
6062
|
if (sn() && Yo()) throw Error();
|
|
@@ -6063,18 +6081,18 @@ function $a(e, t) {
|
|
|
6063
6081
|
reference: v
|
|
6064
6082
|
} : {}, [l, v]);
|
|
6065
6083
|
}
|
|
6066
|
-
const
|
|
6084
|
+
const Ht = "active", At = "selected";
|
|
6067
6085
|
function Ot(e, t, r) {
|
|
6068
6086
|
const n = /* @__PURE__ */ new Map(), o = r === "item";
|
|
6069
6087
|
let a = e;
|
|
6070
6088
|
if (o && e) {
|
|
6071
6089
|
const i = e, {
|
|
6072
|
-
[
|
|
6073
|
-
[
|
|
6090
|
+
[Ht]: l,
|
|
6091
|
+
[At]: c
|
|
6074
6092
|
} = i;
|
|
6075
6093
|
a = fe(i, [
|
|
6076
|
-
St(
|
|
6077
|
-
St(
|
|
6094
|
+
St(Ht),
|
|
6095
|
+
St(At)
|
|
6078
6096
|
]);
|
|
6079
6097
|
}
|
|
6080
6098
|
return L(L(L({}, r === "floating" && {
|
|
@@ -6084,7 +6102,7 @@ function Ot(e, t, r) {
|
|
|
6084
6102
|
return typeof c == "function" ? e ? c(e) : null : c;
|
|
6085
6103
|
}).concat(e).reduce((l, c) => (c && Object.entries(c).forEach((u) => {
|
|
6086
6104
|
let [f, g] = u;
|
|
6087
|
-
if (!(o && [
|
|
6105
|
+
if (!(o && [Ht, At].includes(f)))
|
|
6088
6106
|
if (f.indexOf("on") === 0) {
|
|
6089
6107
|
if (n.has(f) || n.set(f, []), typeof g == "function") {
|
|
6090
6108
|
var v;
|
|
@@ -6484,14 +6502,14 @@ export {
|
|
|
6484
6502
|
ja as e,
|
|
6485
6503
|
Ga as f,
|
|
6486
6504
|
Va as g,
|
|
6487
|
-
|
|
6505
|
+
Ha as h,
|
|
6488
6506
|
Wa as i,
|
|
6489
6507
|
P as j,
|
|
6490
6508
|
Pa as k,
|
|
6491
6509
|
Vo as l,
|
|
6492
6510
|
Ua as m,
|
|
6493
6511
|
Ra as n,
|
|
6494
|
-
|
|
6512
|
+
Aa as o,
|
|
6495
6513
|
ya as p,
|
|
6496
6514
|
za as q,
|
|
6497
6515
|
Fa as r,
|