design-system-silkhaus 3.10.0-beta-image-viewer.4 → 3.10.0-beta-image-viewer.5

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.
@@ -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 A(s) {
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 A(b) + ".Consumer";
148
+ return H(b) + ".Consumer";
149
149
  case i:
150
150
  var S = s;
151
- return A(S._context) + ".Provider";
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 H = Object.assign, T = 0, C, k, M, j, O, D, be;
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: H({}, s, {
204
+ log: A({}, s, {
205
205
  value: C
206
206
  }),
207
- info: H({}, s, {
207
+ info: A({}, s, {
208
208
  value: k
209
209
  }),
210
- warn: H({}, s, {
210
+ warn: A({}, s, {
211
211
  value: M
212
212
  }),
213
- error: H({}, s, {
213
+ error: A({}, s, {
214
214
  value: j
215
215
  }),
216
- group: H({}, s, {
216
+ group: A({}, s, {
217
217
  value: O
218
218
  }),
219
- groupCollapsed: H({}, s, {
219
+ groupCollapsed: A({}, s, {
220
220
  value: D
221
221
  }),
222
- groupEnd: H({}, s, {
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 Ae = s ? s.displayName || s.name : "", ze = Ae ? je(Ae) : "";
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 An = Array.isArray;
383
+ var Hn = Array.isArray;
384
384
  function xt(s) {
385
- return An(s);
385
+ return Hn(s);
386
386
  }
387
- function Hn(s) {
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.", Hn(s)), ar(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.", 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 Ae = 0; Ae < se.length; Ae++)
632
- mr(se[Ae], s);
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", Ho), 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), Ao = (e) => Be(e, "", Oo), Ue = () => !0, Be = (e, t, r) => {
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
- }, Ho = (e) => (
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], A = () => [F, t], Y = () => ["", he, xe], H = () => ["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];
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: A(),
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: A(),
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: A(),
919
+ padding: H(),
920
920
  saturate: D(),
921
921
  scale: D(),
922
922
  sepia: j(),
923
923
  skew: D(),
924
- space: A(),
925
- translate: A()
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": H()
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": H()
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": H()
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": H()
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: A()
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, Ao]
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": A()
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": A()
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": A()
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": A()
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": A()
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": A()
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": A()
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": A()
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": A()
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": A()
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": A()
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": A()
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": A()
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": A()
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": A()
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": A()
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": A()
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": A()
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
  {
@@ -4104,7 +4124,7 @@ function kt(e, t) {
4104
4124
  const r = e;
4105
4125
  return r.target != null && t.contains(r.target);
4106
4126
  }
4107
- function He(e) {
4127
+ function Ae(e) {
4108
4128
  return "composedPath" in e ? e.composedPath()[0] : e.target;
4109
4129
  }
4110
4130
  const Zo = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
@@ -4589,8 +4609,8 @@ const Ti = function(e) {
4589
4609
  placement: a,
4590
4610
  overflows: q
4591
4611
  }], !q.every((C) => C <= 0)) {
4592
- var A, Y;
4593
- const C = (((A = i.flip) == null ? void 0 : A.index) || 0) + 1, k = U[C];
4612
+ var H, Y;
4613
+ const C = (((H = i.flip) == null ? void 0 : H.index) || 0) + 1, k = U[C];
4594
4614
  if (k)
4595
4615
  return {
4596
4616
  data: {
@@ -4605,8 +4625,8 @@ const Ti = function(e) {
4605
4625
  if (!M)
4606
4626
  switch (h) {
4607
4627
  case "bestFit": {
4608
- var H;
4609
- const j = (H = V.filter((O) => {
4628
+ var A;
4629
+ const j = (A = V.filter((O) => {
4610
4630
  if (N) {
4611
4631
  const D = Me(O.placement);
4612
4632
  return D === E || // Create a bias to the `y` side axis due to horizontal
@@ -4614,7 +4634,7 @@ const Ti = function(e) {
4614
4634
  D === "y";
4615
4635
  }
4616
4636
  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 : H[0];
4637
+ }).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
4638
  j && (M = j);
4619
4639
  break;
4620
4640
  }
@@ -4766,8 +4786,8 @@ const Li = function(e) {
4766
4786
  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
4787
  let _ = E, N = R;
4768
4788
  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), A = ae(u.top, 0), Y = ae(u.bottom, 0);
4770
- v ? N = d - 2 * (q !== 0 || V !== 0 ? q + V : ae(u.left, u.right)) : _ = h - 2 * (A !== 0 || Y !== 0 ? A + Y : ae(u.top, u.bottom));
4789
+ const q = ae(u.left, 0), V = ae(u.right, 0), H = ae(u.top, 0), Y = ae(u.bottom, 0);
4790
+ 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
4791
  }
4772
4792
  yield l($(L({}, r), {
4773
4793
  availableWidth: N,
@@ -4844,7 +4864,7 @@ function Pe(e, t, r, n) {
4844
4864
  y: u
4845
4865
  });
4846
4866
  }
4847
- function Ai(e) {
4867
+ function Hi(e) {
4848
4868
  let {
4849
4869
  elements: t,
4850
4870
  rect: r,
@@ -4870,7 +4890,7 @@ function Ai(e) {
4870
4890
  y: r.y * u.y - c.scrollTop * u.y + f.y
4871
4891
  };
4872
4892
  }
4873
- function Hi(e) {
4893
+ function Ai(e) {
4874
4894
  return Array.from(e.getClientRects());
4875
4895
  }
4876
4896
  function yn(e) {
@@ -4996,7 +5016,7 @@ function ji(e, t, r) {
4996
5016
  function Lt(e) {
4997
5017
  return ce(e).position === "static";
4998
5018
  }
4999
- function Ar(e, t) {
5019
+ function Hr(e, t) {
5000
5020
  return !ie(e) || ce(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
5001
5021
  }
5002
5022
  function Rn(e, t) {
@@ -5012,9 +5032,9 @@ function Rn(e, t) {
5012
5032
  }
5013
5033
  return r;
5014
5034
  }
5015
- let n = Ar(e, t);
5035
+ let n = Hr(e, t);
5016
5036
  for (; n && Go(n) && Lt(n); )
5017
- n = Ar(n, t);
5037
+ n = Hr(n, t);
5018
5038
  return n && Ce(n) && Lt(n) && !Xt(n) ? r : n || Uo(e) || r;
5019
5039
  }
5020
5040
  const Ni = function(e) {
@@ -5035,12 +5055,12 @@ function $i(e) {
5035
5055
  return ce(e).direction === "rtl";
5036
5056
  }
5037
5057
  const Vi = {
5038
- convertOffsetParentRelativeRectToViewportRelativeRect: Ai,
5058
+ convertOffsetParentRelativeRectToViewportRelativeRect: Hi,
5039
5059
  getDocumentElement: ve,
5040
5060
  getClippingRect: Bi,
5041
5061
  getOffsetParent: Rn,
5042
5062
  getElementRects: Ni,
5043
- getClientRects: Hi,
5063
+ getClientRects: Ai,
5044
5064
  getDimensions: Ii,
5045
5065
  getScale: We,
5046
5066
  isElement: X,
@@ -5091,7 +5111,7 @@ function Gi(e, t) {
5091
5111
  }
5092
5112
  return i(!0), a;
5093
5113
  }
5094
- function Aa(e, t, r, n) {
5114
+ function Ha(e, t, r, n) {
5095
5115
  n === void 0 && (n = {});
5096
5116
  const {
5097
5117
  ancestorScroll: o = !0,
@@ -5171,7 +5191,7 @@ function mt(e, t) {
5171
5191
  function En(e) {
5172
5192
  return typeof window == "undefined" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
5173
5193
  }
5174
- function Hr(e, t) {
5194
+ function Ar(e, t) {
5175
5195
  const r = En(e);
5176
5196
  return Math.round(t * r) / r;
5177
5197
  }
@@ -5208,7 +5228,7 @@ function Ji(e) {
5208
5228
  k !== _.current && (_.current = k, m(k));
5209
5229
  }, []), E = p.useCallback((k) => {
5210
5230
  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), A = p.useCallback(() => {
5231
+ }, []), 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
5232
  if (!_.current || !N.current)
5213
5233
  return;
5214
5234
  const k = {
@@ -5236,11 +5256,11 @@ function Ji(e) {
5236
5256
  }), []), st(() => {
5237
5257
  if (R && (_.current = R), z && (N.current = z), R && z) {
5238
5258
  if (q.current)
5239
- return q.current(R, z, A);
5240
- A();
5259
+ return q.current(R, z, H);
5260
+ H();
5241
5261
  }
5242
- }, [R, z, A, q, Z]);
5243
- const H = p.useMemo(() => ({
5262
+ }, [R, z, H, q, Z]);
5263
+ const A = p.useMemo(() => ({
5244
5264
  reference: _,
5245
5265
  floating: N,
5246
5266
  setReference: y,
@@ -5256,7 +5276,7 @@ function Ji(e) {
5256
5276
  };
5257
5277
  if (!T.floating)
5258
5278
  return k;
5259
- const M = Hr(T.floating, f.x), j = Hr(T.floating, f.y);
5279
+ const M = Ar(T.floating, f.x), j = Ar(T.floating, f.y);
5260
5280
  return l ? L($(L({}, k), {
5261
5281
  transform: "translate(" + M + "px, " + j + "px)"
5262
5282
  }), En(T.floating) >= 1.5 && {
@@ -5268,13 +5288,13 @@ function Ji(e) {
5268
5288
  };
5269
5289
  }, [r, l, T.floating, f.x, f.y]);
5270
5290
  return p.useMemo(() => $(L({}, f), {
5271
- update: A,
5272
- refs: H,
5291
+ update: H,
5292
+ refs: A,
5273
5293
  elements: T,
5274
5294
  floatingStyles: C
5275
- }), [f, A, H, T, C]);
5295
+ }), [f, H, A, T, C]);
5276
5296
  }
5277
- const Ha = (e, t) => $(L({}, Ui(e)), {
5297
+ const Aa = (e, t) => $(L({}, Ui(e)), {
5278
5298
  options: [e, t]
5279
5299
  }), Oa = (e, t) => $(L({}, qi(e)), {
5280
5300
  options: [e, t]
@@ -5414,7 +5434,7 @@ function Da(e, t) {
5414
5434
  M && !R.current ? (clearTimeout(E.current), E.current = window.setTimeout(() => n(!1, T, k), M)) : C && (clearTimeout(E.current), n(!1, T, k));
5415
5435
  }, [w, n]), V = we(() => {
5416
5436
  U.current(), R.current = void 0;
5417
- }), A = we(() => {
5437
+ }), H = we(() => {
5418
5438
  if (N.current) {
5419
5439
  const T = Re(i.floating).body;
5420
5440
  T.style.pointerEvents = "", T.removeAttribute(Dr), N.current = !1;
@@ -5443,7 +5463,7 @@ function Da(e, t) {
5443
5463
  x: O.clientX,
5444
5464
  y: O.clientY,
5445
5465
  onClose() {
5446
- A(), V(), q(O, !0, "safe-polygon");
5466
+ H(), V(), q(O, !0, "safe-polygon");
5447
5467
  }
5448
5468
  }));
5449
5469
  const Le = R.current;
@@ -5460,7 +5480,7 @@ function Da(e, t) {
5460
5480
  x: O.clientX,
5461
5481
  y: O.clientY,
5462
5482
  onClose() {
5463
- A(), V(), q(O);
5483
+ H(), V(), q(O);
5464
5484
  }
5465
5485
  }))(O));
5466
5486
  }
@@ -5474,7 +5494,7 @@ function Da(e, t) {
5474
5494
  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
5495
  };
5476
5496
  }
5477
- }, [i, l, e, f, g, v, q, V, A, n, r, x, d, w, m, o]), ue(() => {
5497
+ }, [i, l, e, f, g, v, q, V, H, n, r, x, d, w, m, o]), ue(() => {
5478
5498
  var T;
5479
5499
  if (l && r && (T = m.current) != null && T.__options.blockPointerEvents && Z()) {
5480
5500
  const k = Re(i.floating).body;
@@ -5489,10 +5509,10 @@ function Da(e, t) {
5489
5509
  }
5490
5510
  }
5491
5511
  }, [l, r, h, i, d, m, Z]), ue(() => {
5492
- r || (y.current = void 0, V(), A());
5493
- }, [r, V, A]), p.useEffect(() => () => {
5494
- V(), clearTimeout(E.current), clearTimeout(z.current), A();
5495
- }, [l, i.domReference, V, A]);
5512
+ r || (y.current = void 0, V(), H());
5513
+ }, [r, V, H]), p.useEffect(() => () => {
5514
+ V(), clearTimeout(E.current), clearTimeout(z.current), H();
5515
+ }, [l, i.domReference, V, H]);
5496
5516
  const Y = p.useMemo(() => {
5497
5517
  function T(C) {
5498
5518
  y.current = C.pointerType;
@@ -5510,7 +5530,7 @@ function Da(e, t) {
5510
5530
  f && !Ke(y.current) || r || g === 0 || (clearTimeout(z.current), y.current === "touch" ? M() : z.current = window.setTimeout(M, g));
5511
5531
  }
5512
5532
  };
5513
- }, [f, n, r, x, g]), H = p.useMemo(() => ({
5533
+ }, [f, n, r, x, g]), A = p.useMemo(() => ({
5514
5534
  onMouseEnter() {
5515
5535
  clearTimeout(E.current);
5516
5536
  },
@@ -5520,8 +5540,8 @@ function Da(e, t) {
5520
5540
  }), [q]);
5521
5541
  return p.useMemo(() => l ? {
5522
5542
  reference: Y,
5523
- floating: H
5524
- } : {}, [l, Y, H]);
5543
+ floating: A
5544
+ } : {}, [l, Y, A]);
5525
5545
  }
5526
5546
  function Pt(e, t) {
5527
5547
  let r = e.filter((o) => {
@@ -5784,12 +5804,12 @@ function ja(e, t) {
5784
5804
  } = Vr(d), {
5785
5805
  escapeKey: _,
5786
5806
  outsidePress: N
5787
- } = Vr(h), U = we((H) => {
5807
+ } = Vr(h), U = we((A) => {
5788
5808
  var T;
5789
- if (!r || !i || !l || H.key !== "Escape")
5809
+ if (!r || !i || !l || A.key !== "Escape")
5790
5810
  return;
5791
5811
  const C = (T = a.current.floatingContext) == null ? void 0 : T.nodeId, k = m ? Pt(m.nodesRef.current, C) : [];
5792
- if (!R && (H.stopPropagation(), k.length > 0)) {
5812
+ if (!R && (A.stopPropagation(), k.length > 0)) {
5793
5813
  let M = !0;
5794
5814
  if (k.forEach((j) => {
5795
5815
  var O;
@@ -5800,22 +5820,22 @@ function ja(e, t) {
5800
5820
  }), !M)
5801
5821
  return;
5802
5822
  }
5803
- n(!1, Xo(H) ? H.nativeEvent : H, "escape-key");
5804
- }), Z = we((H) => {
5823
+ n(!1, Xo(A) ? A.nativeEvent : A, "escape-key");
5824
+ }), Z = we((A) => {
5805
5825
  var T;
5806
5826
  const C = () => {
5807
5827
  var k;
5808
- U(H), (k = He(H)) == null || k.removeEventListener("keydown", C);
5828
+ U(A), (k = Ae(A)) == null || k.removeEventListener("keydown", C);
5809
5829
  };
5810
- (T = He(H)) == null || T.addEventListener("keydown", C);
5811
- }), q = we((H) => {
5830
+ (T = Ae(A)) == null || T.addEventListener("keydown", C);
5831
+ }), q = we((A) => {
5812
5832
  var T;
5813
5833
  const C = y.current;
5814
5834
  y.current = !1;
5815
5835
  const k = E.current;
5816
- if (E.current = !1, u === "click" && k || C || typeof x == "function" && !x(H))
5836
+ if (E.current = !1, u === "click" && k || C || typeof x == "function" && !x(A))
5817
5837
  return;
5818
- const M = He(H), j = "[" + tt("inert") + "]", O = Re(o.floating).querySelectorAll(j);
5838
+ const M = Ae(A), j = "[" + tt("inert") + "]", O = Re(o.floating).querySelectorAll(j);
5819
5839
  let D = X(M) ? M : null;
5820
5840
  for (; D && !Ce(D); ) {
5821
5841
  const re = pe(D);
@@ -5830,15 +5850,15 @@ function ja(e, t) {
5830
5850
  return;
5831
5851
  if (ie(M) && Y) {
5832
5852
  const re = M.clientWidth > 0 && M.scrollWidth > M.clientWidth, le = M.clientHeight > 0 && M.scrollHeight > M.clientHeight;
5833
- let de = le && H.offsetX > M.clientWidth;
5834
- if (le && ce(M).direction === "rtl" && (de = H.offsetX <= M.offsetWidth - M.clientWidth), de || re && H.offsetY > M.clientHeight)
5853
+ let de = le && A.offsetX > M.clientWidth;
5854
+ if (le && ce(M).direction === "rtl" && (de = A.offsetX <= M.offsetWidth - M.clientWidth), de || re && A.offsetY > M.clientHeight)
5835
5855
  return;
5836
5856
  }
5837
5857
  const be = (T = a.current.floatingContext) == null ? void 0 : T.nodeId, Le = m && Pt(m.nodesRef.current, be).some((re) => {
5838
5858
  var le;
5839
- return kt(H, (le = re.context) == null ? void 0 : le.elements.floating);
5859
+ return kt(A, (le = re.context) == null ? void 0 : le.elements.floating);
5840
5860
  });
5841
- if (kt(H, o.floating) || kt(H, o.domReference) || Le)
5861
+ if (kt(A, o.floating) || kt(A, o.domReference) || Le)
5842
5862
  return;
5843
5863
  const rt = m ? Pt(m.nodesRef.current, be) : [];
5844
5864
  if (rt.length > 0) {
@@ -5852,20 +5872,20 @@ function ja(e, t) {
5852
5872
  }), !re)
5853
5873
  return;
5854
5874
  }
5855
- n(!1, H, "outside-press");
5856
- }), V = we((H) => {
5875
+ n(!1, A, "outside-press");
5876
+ }), V = we((A) => {
5857
5877
  var T;
5858
5878
  const C = () => {
5859
5879
  var k;
5860
- q(H), (k = He(H)) == null || k.removeEventListener(u, C);
5880
+ q(A), (k = Ae(A)) == null || k.removeEventListener(u, C);
5861
5881
  };
5862
- (T = He(H)) == null || T.addEventListener(u, C);
5882
+ (T = Ae(A)) == null || T.addEventListener(u, C);
5863
5883
  });
5864
5884
  p.useEffect(() => {
5865
5885
  if (!r || !i)
5866
5886
  return;
5867
5887
  a.current.__escapeKeyBubbles = R, a.current.__outsidePressBubbles = z;
5868
- function H(k) {
5888
+ function A(k) {
5869
5889
  n(!1, k, "ancestor-scroll");
5870
5890
  }
5871
5891
  const T = Re(o.floating);
@@ -5875,21 +5895,21 @@ function ja(e, t) {
5875
5895
  var M;
5876
5896
  return k !== ((M = T.defaultView) == null ? void 0 : M.visualViewport);
5877
5897
  }), C.forEach((k) => {
5878
- k.addEventListener("scroll", H, {
5898
+ k.addEventListener("scroll", A, {
5879
5899
  passive: !0
5880
5900
  });
5881
5901
  }), () => {
5882
5902
  l && T.removeEventListener("keydown", _ ? Z : U, _), x && T.removeEventListener(u, N ? V : q, N), C.forEach((k) => {
5883
- k.removeEventListener("scroll", H);
5903
+ k.removeEventListener("scroll", A);
5884
5904
  });
5885
5905
  };
5886
5906
  }, [a, o, l, x, u, r, n, v, i, R, z, U, _, Z, q, N, V]), p.useEffect(() => {
5887
5907
  y.current = !1;
5888
5908
  }, [x, u]);
5889
- const A = p.useMemo(() => ({
5909
+ const H = p.useMemo(() => ({
5890
5910
  onKeyDown: U,
5891
- [ha[g]]: (H) => {
5892
- f && n(!1, H.nativeEvent, "reference-press");
5911
+ [ha[g]]: (A) => {
5912
+ f && n(!1, A.nativeEvent, "reference-press");
5893
5913
  }
5894
5914
  }), [U, n, f, g]), Y = p.useMemo(() => ({
5895
5915
  onKeyDown: U,
@@ -5904,9 +5924,9 @@ function ja(e, t) {
5904
5924
  }
5905
5925
  }), [U, u]);
5906
5926
  return p.useMemo(() => i ? {
5907
- reference: A,
5927
+ reference: H,
5908
5928
  floating: Y
5909
- } : {}, [i, A, Y]);
5929
+ } : {}, [i, H, Y]);
5910
5930
  }
5911
5931
  function pa(e) {
5912
5932
  const {
@@ -6038,7 +6058,7 @@ function $a(e, t) {
6038
6058
  },
6039
6059
  onFocus(d) {
6040
6060
  if (u.current) return;
6041
- const h = He(d.nativeEvent);
6061
+ const h = Ae(d.nativeEvent);
6042
6062
  if (c && X(h))
6043
6063
  try {
6044
6064
  if (sn() && Yo()) throw Error();
@@ -6063,18 +6083,18 @@ function $a(e, t) {
6063
6083
  reference: v
6064
6084
  } : {}, [l, v]);
6065
6085
  }
6066
- const At = "active", Ht = "selected";
6086
+ const Ht = "active", At = "selected";
6067
6087
  function Ot(e, t, r) {
6068
6088
  const n = /* @__PURE__ */ new Map(), o = r === "item";
6069
6089
  let a = e;
6070
6090
  if (o && e) {
6071
6091
  const i = e, {
6072
- [At]: l,
6073
- [Ht]: c
6092
+ [Ht]: l,
6093
+ [At]: c
6074
6094
  } = i;
6075
6095
  a = fe(i, [
6076
- St(At),
6077
- St(Ht)
6096
+ St(Ht),
6097
+ St(At)
6078
6098
  ]);
6079
6099
  }
6080
6100
  return L(L(L({}, r === "floating" && {
@@ -6084,7 +6104,7 @@ function Ot(e, t, r) {
6084
6104
  return typeof c == "function" ? e ? c(e) : null : c;
6085
6105
  }).concat(e).reduce((l, c) => (c && Object.entries(c).forEach((u) => {
6086
6106
  let [f, g] = u;
6087
- if (!(o && [At, Ht].includes(f)))
6107
+ if (!(o && [Ht, At].includes(f)))
6088
6108
  if (f.indexOf("on") === 0) {
6089
6109
  if (n.has(f) || n.set(f, []), typeof g == "function") {
6090
6110
  var v;
@@ -6484,14 +6504,14 @@ export {
6484
6504
  ja as e,
6485
6505
  Ga as f,
6486
6506
  Va as g,
6487
- Aa as h,
6507
+ Ha as h,
6488
6508
  Wa as i,
6489
6509
  P as j,
6490
6510
  Pa as k,
6491
6511
  Vo as l,
6492
6512
  Ua as m,
6493
6513
  Ra as n,
6494
- Ha as o,
6514
+ Aa as o,
6495
6515
  ya as p,
6496
6516
  za as q,
6497
6517
  Fa as r,