@select-org/select-post-builder 1.1.51 → 1.1.52

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.
@@ -2506,7 +2506,7 @@ function getDefaultSwipeDirections(u) {
2506
2506
  }
2507
2507
  const Toast = (u) => {
2508
2508
  var n, d, p, m, g, y, b, S, E;
2509
- const { invert: T, toast: A, unstyled: C, interacting: _, setHeights: k, visibleToasts: R, heights: I, index: P, toasts: D, expanded: O, removeToast: N, defaultRichColors: V, closeButton: L, style: H, cancelButtonStyle: B, actionButtonStyle: Y, className: Z = "", descriptionClassName: Q = "", duration: J, position: ne, gap: te, expandByDefault: re, classNames: F, icons: q, closeButtonAriaLabel: j = "Close toast" } = u, [W, ee] = React__default.useState(null), [se, ae] = React__default.useState(null), [le, ce] = React__default.useState(!1), [oe, de] = React__default.useState(!1), [fe, he] = React__default.useState(!1), [me, ge] = React__default.useState(!1), [ve, xe] = React__default.useState(!1), [Te, ye] = React__default.useState(0), [we, Be] = React__default.useState(0), _e = React__default.useRef(A.duration || J || TOAST_LIFETIME), Me = React__default.useRef(null), Ie = React__default.useRef(null), Ve = P === 0, Ne = P + 1 <= R, Le = A.type, De = A.dismissible !== !1, Se = A.className || "", Oe = A.descriptionClassName || "", ke = React__default.useMemo(() => I.findIndex((Pe) => Pe.toastId === A.id) || 0, [
2509
+ const { invert: T, toast: A, unstyled: C, interacting: _, setHeights: k, visibleToasts: R, heights: I, index: P, toasts: D, expanded: O, removeToast: N, defaultRichColors: V, closeButton: L, style: H, cancelButtonStyle: B, actionButtonStyle: Y, className: Z = "", descriptionClassName: Q = "", duration: J, position: ne, gap: te, expandByDefault: re, classNames: F, icons: q, closeButtonAriaLabel: j = "Close toast" } = u, [W, ee] = React__default.useState(null), [se, ae] = React__default.useState(null), [le, ce] = React__default.useState(!1), [oe, de] = React__default.useState(!1), [fe, me] = React__default.useState(!1), [pe, ve] = React__default.useState(!1), [ge, xe] = React__default.useState(!1), [Te, ye] = React__default.useState(0), [we, Be] = React__default.useState(0), _e = React__default.useRef(A.duration || J || TOAST_LIFETIME), Me = React__default.useRef(null), Ie = React__default.useRef(null), Ve = P === 0, Ne = P + 1 <= R, Le = A.type, De = A.dismissible !== !1, Se = A.className || "", Oe = A.descriptionClassName || "", ke = React__default.useMemo(() => I.findIndex((Pe) => Pe.toastId === A.id) || 0, [
2510
2510
  I,
2511
2511
  A.id
2512
2512
  ]), He = React__default.useMemo(() => {
@@ -2518,7 +2518,7 @@ const Toast = (u) => {
2518
2518
  ]), Ue = React__default.useMemo(() => A.duration || J || TOAST_LIFETIME, [
2519
2519
  A.duration,
2520
2520
  J
2521
- ]), Ye = React__default.useRef(0), je = React__default.useRef(0), Ge = React__default.useRef(0), Qe = React__default.useRef(null), [nt, pe] = ne.split("-"), Ee = React__default.useMemo(() => I.reduce((Pe, We, $e) => $e >= ke ? Pe : Pe + We.height, 0), [
2521
+ ]), Ye = React__default.useRef(0), je = React__default.useRef(0), Ge = React__default.useRef(0), Qe = React__default.useRef(null), [nt, he] = ne.split("-"), Ee = React__default.useMemo(() => I.reduce((Pe, We, $e) => $e >= ke ? Pe : Pe + We.height, 0), [
2522
2522
  I,
2523
2523
  ke
2524
2524
  ]), Ae = useIsDocumentHidden(), ze = A.invert || T, Fe = Le === "loading";
@@ -2633,18 +2633,18 @@ const Toast = (u) => {
2633
2633
  "data-styled": !(A.jsx || A.unstyled || C),
2634
2634
  "data-mounted": le,
2635
2635
  "data-promise": !!A.promise,
2636
- "data-swiped": ve,
2636
+ "data-swiped": ge,
2637
2637
  "data-removed": oe,
2638
2638
  "data-visible": Ne,
2639
2639
  "data-y-position": nt,
2640
- "data-x-position": pe,
2640
+ "data-x-position": he,
2641
2641
  "data-index": P,
2642
2642
  "data-front": Ve,
2643
2643
  "data-swiping": fe,
2644
2644
  "data-dismissible": De,
2645
2645
  "data-type": Le,
2646
2646
  "data-invert": ze,
2647
- "data-swipe-out": me,
2647
+ "data-swipe-out": pe,
2648
2648
  "data-swipe-direction": se,
2649
2649
  "data-expanded": !!(O || re && le),
2650
2650
  "data-testid": A.testId,
@@ -2658,27 +2658,27 @@ const Toast = (u) => {
2658
2658
  ...A.style
2659
2659
  },
2660
2660
  onDragEnd: () => {
2661
- he(!1), ee(null), Qe.current = null;
2661
+ me(!1), ee(null), Qe.current = null;
2662
2662
  },
2663
2663
  onPointerDown: (Pe) => {
2664
- Pe.button !== 2 && (Fe || !De || (Me.current = /* @__PURE__ */ new Date(), ye(je.current), Pe.target.setPointerCapture(Pe.pointerId), Pe.target.tagName !== "BUTTON" && (he(!0), Qe.current = {
2664
+ Pe.button !== 2 && (Fe || !De || (Me.current = /* @__PURE__ */ new Date(), ye(je.current), Pe.target.setPointerCapture(Pe.pointerId), Pe.target.tagName !== "BUTTON" && (me(!0), Qe.current = {
2665
2665
  x: Pe.clientX,
2666
2666
  y: Pe.clientY
2667
2667
  })));
2668
2668
  },
2669
2669
  onPointerUp: () => {
2670
2670
  var Pe, We, $e;
2671
- if (me || !De) return;
2671
+ if (pe || !De) return;
2672
2672
  Qe.current = null;
2673
2673
  const Ke = Number(((Pe = Ie.current) == null ? void 0 : Pe.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), it = Number(((We = Ie.current) == null ? void 0 : We.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), Ze = (/* @__PURE__ */ new Date()).getTime() - (($e = Me.current) == null ? void 0 : $e.getTime()), at = W === "x" ? Ke : it, vt = Math.abs(at) / Ze;
2674
2674
  if (Math.abs(at) >= SWIPE_THRESHOLD || vt > 0.11) {
2675
- ye(je.current), A.onDismiss == null || A.onDismiss.call(A, A), ae(W === "x" ? Ke > 0 ? "right" : "left" : it > 0 ? "down" : "up"), qe(), ge(!0);
2675
+ ye(je.current), A.onDismiss == null || A.onDismiss.call(A, A), ae(W === "x" ? Ke > 0 ? "right" : "left" : it > 0 ? "down" : "up"), qe(), ve(!0);
2676
2676
  return;
2677
2677
  } else {
2678
2678
  var dt, ht;
2679
2679
  (dt = Ie.current) == null || dt.style.setProperty("--swipe-amount-x", "0px"), (ht = Ie.current) == null || ht.style.setProperty("--swipe-amount-y", "0px");
2680
2680
  }
2681
- xe(!1), he(!1), ee(null);
2681
+ xe(!1), me(!1), ee(null);
2682
2682
  },
2683
2683
  onPointerMove: (Pe) => {
2684
2684
  var We, $e, Ke;
@@ -2856,7 +2856,7 @@ const Toaster$1 = /* @__PURE__ */ React__default.forwardRef(function(n, d) {
2856
2856
  ]), React__default.useEffect(() => {
2857
2857
  const le = (ce) => {
2858
2858
  var oe;
2859
- if (y.every((he) => ce[he] || ce.code === he)) {
2859
+ if (y.every((me) => ce[me] || ce.code === me)) {
2860
2860
  var fe;
2861
2861
  ne(!0), (fe = j.current) == null || fe.focus();
2862
2862
  }
@@ -2903,13 +2903,13 @@ const Toaster$1 = /* @__PURE__ */ React__default.forwardRef(function(n, d) {
2903
2903
  ...R,
2904
2904
  ...assignOffset(T, A)
2905
2905
  },
2906
- onBlur: (he) => {
2907
- se.current && !he.currentTarget.contains(he.relatedTarget) && (se.current = !1, ee.current && (ee.current.focus({
2906
+ onBlur: (me) => {
2907
+ se.current && !me.currentTarget.contains(me.relatedTarget) && (se.current = !1, ee.current && (ee.current.focus({
2908
2908
  preventScroll: !0
2909
2909
  }), ee.current = null));
2910
2910
  },
2911
- onFocus: (he) => {
2912
- he.target instanceof HTMLElement && he.target.dataset.dismissible === "false" || se.current || (se.current = !0, ee.current = he.relatedTarget);
2911
+ onFocus: (me) => {
2912
+ me.target instanceof HTMLElement && me.target.dataset.dismissible === "false" || se.current || (se.current = !0, ee.current = me.relatedTarget);
2913
2913
  },
2914
2914
  onMouseEnter: () => ne(!0),
2915
2915
  onMouseMove: () => ne(!0),
@@ -2917,24 +2917,24 @@ const Toaster$1 = /* @__PURE__ */ React__default.forwardRef(function(n, d) {
2917
2917
  te || ne(!1);
2918
2918
  },
2919
2919
  onDragEnd: () => ne(!1),
2920
- onPointerDown: (he) => {
2921
- he.target instanceof HTMLElement && he.target.dataset.dismissible === "false" || re(!0);
2920
+ onPointerDown: (me) => {
2921
+ me.target instanceof HTMLElement && me.target.dataset.dismissible === "false" || re(!0);
2922
2922
  },
2923
2923
  onPointerUp: () => re(!1)
2924
- }, B.filter((he) => !he.position && ce === 0 || he.position === le).map((he, me) => {
2925
- var ge, ve;
2924
+ }, B.filter((me) => !me.position && ce === 0 || me.position === le).map((me, pe) => {
2925
+ var ve, ge;
2926
2926
  return /* @__PURE__ */ React__default.createElement(Toast, {
2927
- key: he.id,
2927
+ key: me.id,
2928
2928
  icons: N,
2929
- index: me,
2930
- toast: he,
2929
+ index: pe,
2930
+ toast: me,
2931
2931
  defaultRichColors: _,
2932
- duration: (ge = P?.duration) != null ? ge : k,
2932
+ duration: (ve = P?.duration) != null ? ve : k,
2933
2933
  className: P?.className,
2934
2934
  descriptionClassName: P?.descriptionClassName,
2935
2935
  invert: m,
2936
2936
  visibleToasts: I,
2937
- closeButton: (ve = P?.closeButton) != null ? ve : S,
2937
+ closeButton: (ge = P?.closeButton) != null ? ge : S,
2938
2938
  interacting: te,
2939
2939
  position: le,
2940
2940
  style: P?.style,
@@ -2944,8 +2944,8 @@ const Toaster$1 = /* @__PURE__ */ React__default.forwardRef(function(n, d) {
2944
2944
  actionButtonStyle: P?.actionButtonStyle,
2945
2945
  closeButtonAriaLabel: P?.closeButtonAriaLabel,
2946
2946
  removeToast: ae,
2947
- toasts: B.filter((xe) => xe.position == he.position),
2948
- heights: Z.filter((xe) => xe.position == he.position),
2947
+ toasts: B.filter((xe) => xe.position == me.position),
2948
+ heights: Z.filter((xe) => xe.position == me.position),
2949
2949
  setHeights: Q,
2950
2950
  expandByDefault: b,
2951
2951
  gap: O,
@@ -17792,14 +17792,14 @@ const concatArrays = (u, n) => {
17792
17792
  E,
17793
17793
  isArbitraryVariable,
17794
17794
  isArbitraryValue
17795
- ], de = () => ["", isNumber$1, isArbitraryVariableLength, isArbitraryLength], fe = () => ["solid", "dashed", "dotted", "double"], he = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], me = () => [isNumber$1, isPercent, isArbitraryVariablePosition, isArbitraryPosition], ge = () => [
17795
+ ], de = () => ["", isNumber$1, isArbitraryVariableLength, isArbitraryLength], fe = () => ["solid", "dashed", "dotted", "double"], me = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], pe = () => [isNumber$1, isPercent, isArbitraryVariablePosition, isArbitraryPosition], ve = () => [
17796
17796
  // Deprecated since Tailwind CSS v4.0.0
17797
17797
  "",
17798
17798
  "none",
17799
17799
  k,
17800
17800
  isArbitraryVariable,
17801
17801
  isArbitraryValue
17802
- ], ve = () => ["none", isNumber$1, isArbitraryVariable, isArbitraryValue], xe = () => ["none", isNumber$1, isArbitraryVariable, isArbitraryValue], Te = () => [isNumber$1, isArbitraryVariable, isArbitraryValue], ye = () => [isFraction, "full", ...B()];
17802
+ ], ge = () => ["none", isNumber$1, isArbitraryVariable, isArbitraryValue], xe = () => ["none", isNumber$1, isArbitraryVariable, isArbitraryValue], Te = () => [isNumber$1, isArbitraryVariable, isArbitraryValue], ye = () => [isFraction, "full", ...B()];
17803
17803
  return {
17804
17804
  cacheSize: 500,
17805
17805
  theme: {
@@ -19384,14 +19384,14 @@ const concatArrays = (u, n) => {
19384
19384
  * @see https://tailwindcss.com/docs/mix-blend-mode
19385
19385
  */
19386
19386
  "mix-blend": [{
19387
- "mix-blend": [...he(), "plus-darker", "plus-lighter"]
19387
+ "mix-blend": [...me(), "plus-darker", "plus-lighter"]
19388
19388
  }],
19389
19389
  /**
19390
19390
  * Background Blend Mode
19391
19391
  * @see https://tailwindcss.com/docs/background-blend-mode
19392
19392
  */
19393
19393
  "bg-blend": [{
19394
- "bg-blend": he()
19394
+ "bg-blend": me()
19395
19395
  }],
19396
19396
  /**
19397
19397
  * Mask Clip
@@ -19415,10 +19415,10 @@ const concatArrays = (u, n) => {
19415
19415
  "mask-linear": [isNumber$1]
19416
19416
  }],
19417
19417
  "mask-image-linear-from-pos": [{
19418
- "mask-linear-from": me()
19418
+ "mask-linear-from": pe()
19419
19419
  }],
19420
19420
  "mask-image-linear-to-pos": [{
19421
- "mask-linear-to": me()
19421
+ "mask-linear-to": pe()
19422
19422
  }],
19423
19423
  "mask-image-linear-from-color": [{
19424
19424
  "mask-linear-from": ee()
@@ -19427,10 +19427,10 @@ const concatArrays = (u, n) => {
19427
19427
  "mask-linear-to": ee()
19428
19428
  }],
19429
19429
  "mask-image-t-from-pos": [{
19430
- "mask-t-from": me()
19430
+ "mask-t-from": pe()
19431
19431
  }],
19432
19432
  "mask-image-t-to-pos": [{
19433
- "mask-t-to": me()
19433
+ "mask-t-to": pe()
19434
19434
  }],
19435
19435
  "mask-image-t-from-color": [{
19436
19436
  "mask-t-from": ee()
@@ -19439,10 +19439,10 @@ const concatArrays = (u, n) => {
19439
19439
  "mask-t-to": ee()
19440
19440
  }],
19441
19441
  "mask-image-r-from-pos": [{
19442
- "mask-r-from": me()
19442
+ "mask-r-from": pe()
19443
19443
  }],
19444
19444
  "mask-image-r-to-pos": [{
19445
- "mask-r-to": me()
19445
+ "mask-r-to": pe()
19446
19446
  }],
19447
19447
  "mask-image-r-from-color": [{
19448
19448
  "mask-r-from": ee()
@@ -19451,10 +19451,10 @@ const concatArrays = (u, n) => {
19451
19451
  "mask-r-to": ee()
19452
19452
  }],
19453
19453
  "mask-image-b-from-pos": [{
19454
- "mask-b-from": me()
19454
+ "mask-b-from": pe()
19455
19455
  }],
19456
19456
  "mask-image-b-to-pos": [{
19457
- "mask-b-to": me()
19457
+ "mask-b-to": pe()
19458
19458
  }],
19459
19459
  "mask-image-b-from-color": [{
19460
19460
  "mask-b-from": ee()
@@ -19463,10 +19463,10 @@ const concatArrays = (u, n) => {
19463
19463
  "mask-b-to": ee()
19464
19464
  }],
19465
19465
  "mask-image-l-from-pos": [{
19466
- "mask-l-from": me()
19466
+ "mask-l-from": pe()
19467
19467
  }],
19468
19468
  "mask-image-l-to-pos": [{
19469
- "mask-l-to": me()
19469
+ "mask-l-to": pe()
19470
19470
  }],
19471
19471
  "mask-image-l-from-color": [{
19472
19472
  "mask-l-from": ee()
@@ -19475,10 +19475,10 @@ const concatArrays = (u, n) => {
19475
19475
  "mask-l-to": ee()
19476
19476
  }],
19477
19477
  "mask-image-x-from-pos": [{
19478
- "mask-x-from": me()
19478
+ "mask-x-from": pe()
19479
19479
  }],
19480
19480
  "mask-image-x-to-pos": [{
19481
- "mask-x-to": me()
19481
+ "mask-x-to": pe()
19482
19482
  }],
19483
19483
  "mask-image-x-from-color": [{
19484
19484
  "mask-x-from": ee()
@@ -19487,10 +19487,10 @@ const concatArrays = (u, n) => {
19487
19487
  "mask-x-to": ee()
19488
19488
  }],
19489
19489
  "mask-image-y-from-pos": [{
19490
- "mask-y-from": me()
19490
+ "mask-y-from": pe()
19491
19491
  }],
19492
19492
  "mask-image-y-to-pos": [{
19493
- "mask-y-to": me()
19493
+ "mask-y-to": pe()
19494
19494
  }],
19495
19495
  "mask-image-y-from-color": [{
19496
19496
  "mask-y-from": ee()
@@ -19502,10 +19502,10 @@ const concatArrays = (u, n) => {
19502
19502
  "mask-radial": [isArbitraryVariable, isArbitraryValue]
19503
19503
  }],
19504
19504
  "mask-image-radial-from-pos": [{
19505
- "mask-radial-from": me()
19505
+ "mask-radial-from": pe()
19506
19506
  }],
19507
19507
  "mask-image-radial-to-pos": [{
19508
- "mask-radial-to": me()
19508
+ "mask-radial-to": pe()
19509
19509
  }],
19510
19510
  "mask-image-radial-from-color": [{
19511
19511
  "mask-radial-from": ee()
@@ -19529,10 +19529,10 @@ const concatArrays = (u, n) => {
19529
19529
  "mask-conic": [isNumber$1]
19530
19530
  }],
19531
19531
  "mask-image-conic-from-pos": [{
19532
- "mask-conic-from": me()
19532
+ "mask-conic-from": pe()
19533
19533
  }],
19534
19534
  "mask-image-conic-to-pos": [{
19535
- "mask-conic-to": me()
19535
+ "mask-conic-to": pe()
19536
19536
  }],
19537
19537
  "mask-image-conic-from-color": [{
19538
19538
  "mask-conic-from": ee()
@@ -19610,7 +19610,7 @@ const concatArrays = (u, n) => {
19610
19610
  * @see https://tailwindcss.com/docs/blur
19611
19611
  */
19612
19612
  blur: [{
19613
- blur: ge()
19613
+ blur: ve()
19614
19614
  }],
19615
19615
  /**
19616
19616
  * Brightness
@@ -19700,7 +19700,7 @@ const concatArrays = (u, n) => {
19700
19700
  * @see https://tailwindcss.com/docs/backdrop-blur
19701
19701
  */
19702
19702
  "backdrop-blur": [{
19703
- "backdrop-blur": ge()
19703
+ "backdrop-blur": ve()
19704
19704
  }],
19705
19705
  /**
19706
19706
  * Backdrop Brightness
@@ -19877,28 +19877,28 @@ const concatArrays = (u, n) => {
19877
19877
  * @see https://tailwindcss.com/docs/rotate
19878
19878
  */
19879
19879
  rotate: [{
19880
- rotate: ve()
19880
+ rotate: ge()
19881
19881
  }],
19882
19882
  /**
19883
19883
  * Rotate X
19884
19884
  * @see https://tailwindcss.com/docs/rotate
19885
19885
  */
19886
19886
  "rotate-x": [{
19887
- "rotate-x": ve()
19887
+ "rotate-x": ge()
19888
19888
  }],
19889
19889
  /**
19890
19890
  * Rotate Y
19891
19891
  * @see https://tailwindcss.com/docs/rotate
19892
19892
  */
19893
19893
  "rotate-y": [{
19894
- "rotate-y": ve()
19894
+ "rotate-y": ge()
19895
19895
  }],
19896
19896
  /**
19897
19897
  * Rotate Z
19898
19898
  * @see https://tailwindcss.com/docs/rotate
19899
19899
  */
19900
19900
  "rotate-z": [{
19901
- "rotate-z": ve()
19901
+ "rotate-z": ge()
19902
19902
  }],
19903
19903
  /**
19904
19904
  * Scale
@@ -23711,9 +23711,9 @@ var CONTENT_NAME$6 = "PopperContent", [PopperContentProvider, useContentContext]
23711
23711
  S && flip$2({ ...ne }),
23712
23712
  size$1({
23713
23713
  ...ne,
23714
- apply: ({ elements: fe, rects: he, availableWidth: me, availableHeight: ge }) => {
23715
- const { width: ve, height: xe } = he.reference, Te = fe.floating.style;
23716
- Te.setProperty("--radix-popper-available-width", `${me}px`), Te.setProperty("--radix-popper-available-height", `${ge}px`), Te.setProperty("--radix-popper-anchor-width", `${ve}px`), Te.setProperty("--radix-popper-anchor-height", `${xe}px`);
23714
+ apply: ({ elements: fe, rects: me, availableWidth: pe, availableHeight: ve }) => {
23715
+ const { width: ge, height: xe } = me.reference, Te = fe.floating.style;
23716
+ Te.setProperty("--radix-popper-available-width", `${pe}px`), Te.setProperty("--radix-popper-available-height", `${ve}px`), Te.setProperty("--radix-popper-anchor-width", `${ge}px`), Te.setProperty("--radix-popper-anchor-height", `${xe}px`);
23717
23717
  }
23718
23718
  }),
23719
23719
  N && arrow$3({ element: N, padding: b }),
@@ -24655,9 +24655,9 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
24655
24655
  }, [O]), useFocusGuards();
24656
24656
  const F = React.useCallback(
24657
24657
  (fe) => {
24658
- const [he, ...me] = J().map((xe) => xe.ref.current), [ge] = me.slice(-1), ve = document.activeElement;
24658
+ const [me, ...pe] = J().map((xe) => xe.ref.current), [ve] = pe.slice(-1), ge = document.activeElement;
24659
24659
  for (const xe of fe)
24660
- if (xe === ve || (xe?.scrollIntoView({ block: "nearest" }), xe === he && V && (V.scrollTop = 0), xe === ge && V && (V.scrollTop = V.scrollHeight), xe?.focus(), document.activeElement !== ve)) return;
24660
+ if (xe === ge || (xe?.scrollIntoView({ block: "nearest" }), xe === me && V && (V.scrollTop = 0), xe === ve && V && (V.scrollTop = V.scrollHeight), xe?.focus(), document.activeElement !== ge)) return;
24661
24661
  },
24662
24662
  [J, V]
24663
24663
  ), q = React.useCallback(
@@ -24671,16 +24671,16 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
24671
24671
  React.useEffect(() => {
24672
24672
  if (O) {
24673
24673
  let fe = { x: 0, y: 0 };
24674
- const he = (ge) => {
24674
+ const me = (ve) => {
24675
24675
  fe = {
24676
- x: Math.abs(Math.round(ge.pageX) - (W.current?.x ?? 0)),
24677
- y: Math.abs(Math.round(ge.pageY) - (W.current?.y ?? 0))
24676
+ x: Math.abs(Math.round(ve.pageX) - (W.current?.x ?? 0)),
24677
+ y: Math.abs(Math.round(ve.pageY) - (W.current?.y ?? 0))
24678
24678
  };
24679
- }, me = (ge) => {
24680
- fe.x <= 10 && fe.y <= 10 ? ge.preventDefault() : O.contains(ge.target) || j(!1), document.removeEventListener("pointermove", he), W.current = null;
24679
+ }, pe = (ve) => {
24680
+ fe.x <= 10 && fe.y <= 10 ? ve.preventDefault() : O.contains(ve.target) || j(!1), document.removeEventListener("pointermove", me), W.current = null;
24681
24681
  };
24682
- return W.current !== null && (document.addEventListener("pointermove", he), document.addEventListener("pointerup", me, { capture: !0, once: !0 })), () => {
24683
- document.removeEventListener("pointermove", he), document.removeEventListener("pointerup", me, { capture: !0 });
24682
+ return W.current !== null && (document.addEventListener("pointermove", me), document.addEventListener("pointerup", pe, { capture: !0, once: !0 })), () => {
24683
+ document.removeEventListener("pointermove", me), document.removeEventListener("pointerup", pe, { capture: !0 });
24684
24684
  };
24685
24685
  }
24686
24686
  }, [O, j, W]), React.useEffect(() => {
@@ -24690,18 +24690,18 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
24690
24690
  };
24691
24691
  }, [j]);
24692
24692
  const [ee, se] = useTypeaheadSearch((fe) => {
24693
- const he = J().filter((ve) => !ve.disabled), me = he.find((ve) => ve.ref.current === document.activeElement), ge = findNextItem(he, fe, me);
24694
- ge && setTimeout(() => ge.ref.current.focus());
24693
+ const me = J().filter((ge) => !ge.disabled), pe = me.find((ge) => ge.ref.current === document.activeElement), ve = findNextItem(me, fe, pe);
24694
+ ve && setTimeout(() => ve.ref.current.focus());
24695
24695
  }), ae = React.useCallback(
24696
- (fe, he, me) => {
24697
- const ge = !re.current && !me;
24698
- (D.value !== void 0 && D.value === he || ge) && (Y(fe), ge && (re.current = !0));
24696
+ (fe, me, pe) => {
24697
+ const ve = !re.current && !pe;
24698
+ (D.value !== void 0 && D.value === me || ve) && (Y(fe), ve && (re.current = !0));
24699
24699
  },
24700
24700
  [D.value]
24701
24701
  ), le = React.useCallback(() => O?.focus(), [O]), ce = React.useCallback(
24702
- (fe, he, me) => {
24703
- const ge = !re.current && !me;
24704
- (D.value !== void 0 && D.value === he || ge) && Q(fe);
24702
+ (fe, me, pe) => {
24703
+ const ve = !re.current && !pe;
24704
+ (D.value !== void 0 && D.value === me || ve) && Q(fe);
24705
24705
  },
24706
24706
  [D.value]
24707
24707
  ), oe = p === "popper" ? SelectPopperPosition : SelectItemAlignedPosition, de = oe === SelectPopperPosition ? {
@@ -24773,14 +24773,14 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
24773
24773
  ...P.style
24774
24774
  },
24775
24775
  onKeyDown: composeEventHandlers(P.onKeyDown, (fe) => {
24776
- const he = fe.ctrlKey || fe.altKey || fe.metaKey;
24777
- if (fe.key === "Tab" && fe.preventDefault(), !he && fe.key.length === 1 && se(fe.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(fe.key)) {
24778
- let ge = J().filter((ve) => !ve.disabled).map((ve) => ve.ref.current);
24779
- if (["ArrowUp", "End"].includes(fe.key) && (ge = ge.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(fe.key)) {
24780
- const ve = fe.target, xe = ge.indexOf(ve);
24781
- ge = ge.slice(xe + 1);
24776
+ const me = fe.ctrlKey || fe.altKey || fe.metaKey;
24777
+ if (fe.key === "Tab" && fe.preventDefault(), !me && fe.key.length === 1 && se(fe.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(fe.key)) {
24778
+ let ve = J().filter((ge) => !ge.disabled).map((ge) => ge.ref.current);
24779
+ if (["ArrowUp", "End"].includes(fe.key) && (ve = ve.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(fe.key)) {
24780
+ const ge = fe.target, xe = ve.indexOf(ge);
24781
+ ve = ve.slice(xe + 1);
24782
24782
  }
24783
- setTimeout(() => F(ge)), fe.preventDefault();
24783
+ setTimeout(() => F(ve)), fe.preventDefault();
24784
24784
  }
24785
24785
  })
24786
24786
  }
@@ -24799,7 +24799,7 @@ var ITEM_ALIGNED_POSITION_NAME = "SelectItemAlignedPosition", SelectItemAlignedP
24799
24799
  if (g.trigger && g.valueNode && b && E && R && I && P) {
24800
24800
  const H = g.trigger.getBoundingClientRect(), B = E.getBoundingClientRect(), Y = g.valueNode.getBoundingClientRect(), Z = P.getBoundingClientRect();
24801
24801
  if (g.dir !== "rtl") {
24802
- const ve = Z.left - B.left, xe = Y.left - ve, Te = H.left - xe, ye = H.width + Te, we = Math.max(ye, B.width), Be = window.innerWidth - CONTENT_MARGIN, _e = clamp$1(xe, [
24802
+ const ge = Z.left - B.left, xe = Y.left - ge, Te = H.left - xe, ye = H.width + Te, we = Math.max(ye, B.width), Be = window.innerWidth - CONTENT_MARGIN, _e = clamp$1(xe, [
24803
24803
  CONTENT_MARGIN,
24804
24804
  // Prevents the content from going off the starting edge of the
24805
24805
  // viewport. It may still go off the ending edge, but this can be
@@ -24810,31 +24810,31 @@ var ITEM_ALIGNED_POSITION_NAME = "SelectItemAlignedPosition", SelectItemAlignedP
24810
24810
  ]);
24811
24811
  b.style.minWidth = ye + "px", b.style.left = _e + "px";
24812
24812
  } else {
24813
- const ve = B.right - Z.right, xe = window.innerWidth - Y.right - ve, Te = window.innerWidth - H.right - xe, ye = H.width + Te, we = Math.max(ye, B.width), Be = window.innerWidth - CONTENT_MARGIN, _e = clamp$1(xe, [
24813
+ const ge = B.right - Z.right, xe = window.innerWidth - Y.right - ge, Te = window.innerWidth - H.right - xe, ye = H.width + Te, we = Math.max(ye, B.width), Be = window.innerWidth - CONTENT_MARGIN, _e = clamp$1(xe, [
24814
24814
  CONTENT_MARGIN,
24815
24815
  Math.max(CONTENT_MARGIN, Be - we)
24816
24816
  ]);
24817
24817
  b.style.minWidth = ye + "px", b.style.right = _e + "px";
24818
24818
  }
24819
- const Q = C(), J = window.innerHeight - CONTENT_MARGIN * 2, ne = R.scrollHeight, te = window.getComputedStyle(E), re = parseInt(te.borderTopWidth, 10), F = parseInt(te.paddingTop, 10), q = parseInt(te.borderBottomWidth, 10), j = parseInt(te.paddingBottom, 10), W = re + F + ne + j + q, ee = Math.min(I.offsetHeight * 5, W), se = window.getComputedStyle(R), ae = parseInt(se.paddingTop, 10), le = parseInt(se.paddingBottom, 10), ce = H.top + H.height / 2 - CONTENT_MARGIN, oe = J - ce, de = I.offsetHeight / 2, fe = I.offsetTop + de, he = re + F + fe, me = W - he;
24820
- if (he <= ce) {
24821
- const ve = Q.length > 0 && I === Q[Q.length - 1].ref.current;
24819
+ const Q = C(), J = window.innerHeight - CONTENT_MARGIN * 2, ne = R.scrollHeight, te = window.getComputedStyle(E), re = parseInt(te.borderTopWidth, 10), F = parseInt(te.paddingTop, 10), q = parseInt(te.borderBottomWidth, 10), j = parseInt(te.paddingBottom, 10), W = re + F + ne + j + q, ee = Math.min(I.offsetHeight * 5, W), se = window.getComputedStyle(R), ae = parseInt(se.paddingTop, 10), le = parseInt(se.paddingBottom, 10), ce = H.top + H.height / 2 - CONTENT_MARGIN, oe = J - ce, de = I.offsetHeight / 2, fe = I.offsetTop + de, me = re + F + fe, pe = W - me;
24820
+ if (me <= ce) {
24821
+ const ge = Q.length > 0 && I === Q[Q.length - 1].ref.current;
24822
24822
  b.style.bottom = "0px";
24823
24823
  const xe = E.clientHeight - R.offsetTop - R.offsetHeight, Te = Math.max(
24824
24824
  oe,
24825
24825
  de + // viewport might have padding bottom, include it to avoid a scrollable viewport
24826
- (ve ? le : 0) + xe + q
24827
- ), ye = he + Te;
24826
+ (ge ? le : 0) + xe + q
24827
+ ), ye = me + Te;
24828
24828
  b.style.height = ye + "px";
24829
24829
  } else {
24830
- const ve = Q.length > 0 && I === Q[0].ref.current;
24830
+ const ge = Q.length > 0 && I === Q[0].ref.current;
24831
24831
  b.style.top = "0px";
24832
24832
  const Te = Math.max(
24833
24833
  ce,
24834
24834
  re + R.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
24835
- (ve ? ae : 0) + de
24836
- ) + me;
24837
- b.style.height = Te + "px", R.scrollTop = he - ce + R.offsetTop;
24835
+ (ge ? ae : 0) + de
24836
+ ) + pe;
24837
+ b.style.height = Te + "px", R.scrollTop = me - ce + R.offsetTop;
24838
24838
  }
24839
24839
  b.style.margin = `${CONTENT_MARGIN}px 0`, b.style.minHeight = ee + "px", b.style.maxHeight = J + "px", p?.(), requestAnimationFrame(() => _.current = !0);
24840
24840
  }
@@ -27761,8 +27761,8 @@ var CONTENT_NAME$3 = "MenuContent", [MenuContentProvider, useMenuContentContext]
27761
27761
  ...R
27762
27762
  } = u, I = useMenuContext(CONTENT_NAME$3, d), P = useMenuRootContext(CONTENT_NAME$3, d), D = usePopperScope$1(d), O = useRovingFocusGroupScope(d), N = useCollection(d), [V, L] = React.useState(null), H = React.useRef(null), B = useComposedRefs(n, H, I.onContentChange), Y = React.useRef(0), Z = React.useRef(""), Q = React.useRef(0), J = React.useRef(null), ne = React.useRef("right"), te = React.useRef(0), re = k ? ReactRemoveScroll : React.Fragment, F = k ? { as: Slot$2, allowPinchZoom: !0 } : void 0, q = (W) => {
27763
27763
  const ee = Z.current + W, se = N().filter((fe) => !fe.disabled), ae = document.activeElement, le = se.find((fe) => fe.ref.current === ae)?.textValue, ce = se.map((fe) => fe.textValue), oe = getNextMatch(ce, ee, le), de = se.find((fe) => fe.textValue === oe)?.ref.current;
27764
- (function fe(he) {
27765
- Z.current = he, window.clearTimeout(Y.current), he !== "" && (Y.current = window.setTimeout(() => fe(""), 1e3));
27764
+ (function fe(me) {
27765
+ Z.current = me, window.clearTimeout(Y.current), me !== "" && (Y.current = window.setTimeout(() => fe(""), 1e3));
27766
27766
  })(ee), de && setTimeout(() => de.focus());
27767
27767
  };
27768
27768
  React.useEffect(() => () => window.clearTimeout(Y.current), []), useFocusGuards();
@@ -30819,18 +30819,18 @@ function requireLottie() {
30819
30819
  function C(j, W, ee) {
30820
30820
  return !ee && ee !== 0 && (ee = 1), j === 1 && W === 1 && ee === 1 ? this : this._t(j, 0, 0, 0, 0, W, 0, 0, 0, 0, ee, 0, 0, 0, 0, 1);
30821
30821
  }
30822
- function _(j, W, ee, se, ae, le, ce, oe, de, fe, he, me, ge, ve, xe, Te) {
30823
- return this.props[0] = j, this.props[1] = W, this.props[2] = ee, this.props[3] = se, this.props[4] = ae, this.props[5] = le, this.props[6] = ce, this.props[7] = oe, this.props[8] = de, this.props[9] = fe, this.props[10] = he, this.props[11] = me, this.props[12] = ge, this.props[13] = ve, this.props[14] = xe, this.props[15] = Te, this;
30822
+ function _(j, W, ee, se, ae, le, ce, oe, de, fe, me, pe, ve, ge, xe, Te) {
30823
+ return this.props[0] = j, this.props[1] = W, this.props[2] = ee, this.props[3] = se, this.props[4] = ae, this.props[5] = le, this.props[6] = ce, this.props[7] = oe, this.props[8] = de, this.props[9] = fe, this.props[10] = me, this.props[11] = pe, this.props[12] = ve, this.props[13] = ge, this.props[14] = xe, this.props[15] = Te, this;
30824
30824
  }
30825
30825
  function k(j, W, ee) {
30826
30826
  return ee = ee || 0, j !== 0 || W !== 0 || ee !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, j, W, ee, 1) : this;
30827
30827
  }
30828
- function R(j, W, ee, se, ae, le, ce, oe, de, fe, he, me, ge, ve, xe, Te) {
30828
+ function R(j, W, ee, se, ae, le, ce, oe, de, fe, me, pe, ve, ge, xe, Te) {
30829
30829
  var ye = this.props;
30830
- if (j === 1 && W === 0 && ee === 0 && se === 0 && ae === 0 && le === 1 && ce === 0 && oe === 0 && de === 0 && fe === 0 && he === 1 && me === 0)
30831
- return ye[12] = ye[12] * j + ye[15] * ge, ye[13] = ye[13] * le + ye[15] * ve, ye[14] = ye[14] * he + ye[15] * xe, ye[15] *= Te, this._identityCalculated = !1, this;
30830
+ if (j === 1 && W === 0 && ee === 0 && se === 0 && ae === 0 && le === 1 && ce === 0 && oe === 0 && de === 0 && fe === 0 && me === 1 && pe === 0)
30831
+ return ye[12] = ye[12] * j + ye[15] * ve, ye[13] = ye[13] * le + ye[15] * ge, ye[14] = ye[14] * me + ye[15] * xe, ye[15] *= Te, this._identityCalculated = !1, this;
30832
30832
  var we = ye[0], Be = ye[1], _e = ye[2], Me = ye[3], Ie = ye[4], Ve = ye[5], Ne = ye[6], Le = ye[7], De = ye[8], Se = ye[9], Oe = ye[10], ke = ye[11], He = ye[12], Ue = ye[13], Ye = ye[14], je = ye[15];
30833
- return ye[0] = we * j + Be * ae + _e * de + Me * ge, ye[1] = we * W + Be * le + _e * fe + Me * ve, ye[2] = we * ee + Be * ce + _e * he + Me * xe, ye[3] = we * se + Be * oe + _e * me + Me * Te, ye[4] = Ie * j + Ve * ae + Ne * de + Le * ge, ye[5] = Ie * W + Ve * le + Ne * fe + Le * ve, ye[6] = Ie * ee + Ve * ce + Ne * he + Le * xe, ye[7] = Ie * se + Ve * oe + Ne * me + Le * Te, ye[8] = De * j + Se * ae + Oe * de + ke * ge, ye[9] = De * W + Se * le + Oe * fe + ke * ve, ye[10] = De * ee + Se * ce + Oe * he + ke * xe, ye[11] = De * se + Se * oe + Oe * me + ke * Te, ye[12] = He * j + Ue * ae + Ye * de + je * ge, ye[13] = He * W + Ue * le + Ye * fe + je * ve, ye[14] = He * ee + Ue * ce + Ye * he + je * xe, ye[15] = He * se + Ue * oe + Ye * me + je * Te, this._identityCalculated = !1, this;
30833
+ return ye[0] = we * j + Be * ae + _e * de + Me * ve, ye[1] = we * W + Be * le + _e * fe + Me * ge, ye[2] = we * ee + Be * ce + _e * me + Me * xe, ye[3] = we * se + Be * oe + _e * pe + Me * Te, ye[4] = Ie * j + Ve * ae + Ne * de + Le * ve, ye[5] = Ie * W + Ve * le + Ne * fe + Le * ge, ye[6] = Ie * ee + Ve * ce + Ne * me + Le * xe, ye[7] = Ie * se + Ve * oe + Ne * pe + Le * Te, ye[8] = De * j + Se * ae + Oe * de + ke * ve, ye[9] = De * W + Se * le + Oe * fe + ke * ge, ye[10] = De * ee + Se * ce + Oe * me + ke * xe, ye[11] = De * se + Se * oe + Oe * pe + ke * Te, ye[12] = He * j + Ue * ae + Ye * de + je * ve, ye[13] = He * W + Ue * le + Ye * fe + je * ge, ye[14] = He * ee + Ue * ce + Ye * me + je * xe, ye[15] = He * se + Ue * oe + Ye * pe + je * Te, this._identityCalculated = !1, this;
30834
30834
  }
30835
30835
  function I(j) {
30836
30836
  var W = j.props;
@@ -31795,8 +31795,8 @@ function requireLottie() {
31795
31795
  return;
31796
31796
  }
31797
31797
  if (!document.body) {
31798
- this.isLoaded = !0, F.list.forEach(function(he) {
31799
- he.helper = R(he), he.cache = {};
31798
+ this.isLoaded = !0, F.list.forEach(function(me) {
31799
+ me.helper = R(me), me.cache = {};
31800
31800
  }), this.fonts = F.list;
31801
31801
  return;
31802
31802
  }
@@ -33325,7 +33325,7 @@ function requireLottie() {
33325
33325
  A = C.length, S = 0, E = 0;
33326
33326
  var te = u.finalSize * 1.2 * 0.714, re = !0, F, q, j, W, ee;
33327
33327
  W = p.length;
33328
- var se, ae = -1, le, ce, oe, de = k, fe = O, he = D, me = -1, ge, ve, xe, Te, ye, we, Be, _e, Me = "", Ie = this.defaultPropsArray, Ve;
33328
+ var se, ae = -1, le, ce, oe, de = k, fe = O, me = D, pe = -1, ve, ge, xe, Te, ye, we, Be, _e, Me = "", Ie = this.defaultPropsArray, Ve;
33329
33329
  if (u.j === 2 || u.j === 1) {
33330
33330
  var Ne = 0, Le = 0, De = u.j === 2 ? -0.5 : -1, Se = 0, Oe = !0;
33331
33331
  for (T = 0; T < A; T += 1)
@@ -33342,11 +33342,11 @@ function requireLottie() {
33342
33342
  C[Se].animatorJustifyOffset = Ne, Se += 1;
33343
33343
  }
33344
33344
  for (T = 0; T < A; T += 1) {
33345
- if (g.reset(), ge = 1, C[T].n)
33346
- S = 0, E += u.yOffset, E += re ? 1 : 0, k = de, re = !1, this._hasMaskedPath && (O = fe, D = he, V = L[O].points, N = V[D - 1], R = V[D], H = R.partialLength, I = 0), Me = "", _e = "", we = "", Ve = "", Ie = this.defaultPropsArray;
33345
+ if (g.reset(), ve = 1, C[T].n)
33346
+ S = 0, E += u.yOffset, E += re ? 1 : 0, k = de, re = !1, this._hasMaskedPath && (O = fe, D = me, V = L[O].points, N = V[D - 1], R = V[D], H = R.partialLength, I = 0), Me = "", _e = "", we = "", Ve = "", Ie = this.defaultPropsArray;
33347
33347
  else {
33348
33348
  if (this._hasMaskedPath) {
33349
- if (me !== C[T].line) {
33349
+ if (pe !== C[T].line) {
33350
33350
  switch (u.j) {
33351
33351
  case 1:
33352
33352
  k += B - u.lineWidths[C[T].line];
@@ -33355,7 +33355,7 @@ function requireLottie() {
33355
33355
  k += (B - u.lineWidths[C[T].line]) / 2;
33356
33356
  break;
33357
33357
  }
33358
- me = C[T].line;
33358
+ pe = C[T].line;
33359
33359
  }
33360
33360
  ae !== C[T].ind && (C[ae] && (k += C[ae].extra), k += C[T].an / 2, ae = C[T].ind), k += d[0] * C[T].an * 5e-3;
33361
33361
  var ke = 0;
@@ -33368,14 +33368,14 @@ function requireLottie() {
33368
33368
  le = C[T].an / 2 - C[T].add, g.translate(-le, 0, 0), g.translate(-d[0] * C[T].an * 5e-3, -d[1] * te * 0.01, 0);
33369
33369
  for (j = 0; j < W; j += 1)
33370
33370
  F = p[j].a, F.t.propType && (q = p[j].s, se = q.getMult(C[T].anIndexes[j], m.a[j].s.totalChars), (S !== 0 || u.j !== 0) && (this._hasMaskedPath ? se.length ? k += F.t.v * se[0] : k += F.t.v * se : se.length ? S += F.t.v * se[0] : S += F.t.v * se));
33371
- for (u.strokeWidthAnim && (xe = u.sw || 0), u.strokeColorAnim && (u.sc ? ve = [u.sc[0], u.sc[1], u.sc[2]] : ve = [0, 0, 0]), u.fillColorAnim && u.fc && (Te = [u.fc[0], u.fc[1], u.fc[2]]), j = 0; j < W; j += 1)
33371
+ for (u.strokeWidthAnim && (xe = u.sw || 0), u.strokeColorAnim && (u.sc ? ge = [u.sc[0], u.sc[1], u.sc[2]] : ge = [0, 0, 0]), u.fillColorAnim && u.fc && (Te = [u.fc[0], u.fc[1], u.fc[2]]), j = 0; j < W; j += 1)
33372
33372
  F = p[j].a, F.a.propType && (q = p[j].s, se = q.getMult(C[T].anIndexes[j], m.a[j].s.totalChars), se.length ? g.translate(-F.a.v[0] * se[0], -F.a.v[1] * se[1], F.a.v[2] * se[2]) : g.translate(-F.a.v[0] * se, -F.a.v[1] * se, F.a.v[2] * se));
33373
33373
  for (j = 0; j < W; j += 1)
33374
33374
  F = p[j].a, F.s.propType && (q = p[j].s, se = q.getMult(C[T].anIndexes[j], m.a[j].s.totalChars), se.length ? g.scale(1 + (F.s.v[0] - 1) * se[0], 1 + (F.s.v[1] - 1) * se[1], 1) : g.scale(1 + (F.s.v[0] - 1) * se, 1 + (F.s.v[1] - 1) * se, 1));
33375
33375
  for (j = 0; j < W; j += 1) {
33376
- if (F = p[j].a, q = p[j].s, se = q.getMult(C[T].anIndexes[j], m.a[j].s.totalChars), F.sk.propType && (se.length ? g.skewFromAxis(-F.sk.v * se[0], F.sa.v * se[1]) : g.skewFromAxis(-F.sk.v * se, F.sa.v * se)), F.r.propType && (se.length ? g.rotateZ(-F.r.v * se[2]) : g.rotateZ(-F.r.v * se)), F.ry.propType && (se.length ? g.rotateY(F.ry.v * se[1]) : g.rotateY(F.ry.v * se)), F.rx.propType && (se.length ? g.rotateX(F.rx.v * se[0]) : g.rotateX(F.rx.v * se)), F.o.propType && (se.length ? ge += (F.o.v * se[0] - ge) * se[0] : ge += (F.o.v * se - ge) * se), u.strokeWidthAnim && F.sw.propType && (se.length ? xe += F.sw.v * se[0] : xe += F.sw.v * se), u.strokeColorAnim && F.sc.propType)
33376
+ if (F = p[j].a, q = p[j].s, se = q.getMult(C[T].anIndexes[j], m.a[j].s.totalChars), F.sk.propType && (se.length ? g.skewFromAxis(-F.sk.v * se[0], F.sa.v * se[1]) : g.skewFromAxis(-F.sk.v * se, F.sa.v * se)), F.r.propType && (se.length ? g.rotateZ(-F.r.v * se[2]) : g.rotateZ(-F.r.v * se)), F.ry.propType && (se.length ? g.rotateY(F.ry.v * se[1]) : g.rotateY(F.ry.v * se)), F.rx.propType && (se.length ? g.rotateX(F.rx.v * se[0]) : g.rotateX(F.rx.v * se)), F.o.propType && (se.length ? ve += (F.o.v * se[0] - ve) * se[0] : ve += (F.o.v * se - ve) * se), u.strokeWidthAnim && F.sw.propType && (se.length ? xe += F.sw.v * se[0] : xe += F.sw.v * se), u.strokeColorAnim && F.sc.propType)
33377
33377
  for (ye = 0; ye < 3; ye += 1)
33378
- se.length ? ve[ye] += (F.sc.v[ye] - ve[ye]) * se[0] : ve[ye] += (F.sc.v[ye] - ve[ye]) * se;
33378
+ se.length ? ge[ye] += (F.sc.v[ye] - ge[ye]) * se[0] : ge[ye] += (F.sc.v[ye] - ge[ye]) * se;
33379
33379
  if (u.fillColorAnim && u.fc) {
33380
33380
  if (F.fc.propType)
33381
33381
  for (ye = 0; ye < 3; ye += 1)
@@ -33385,7 +33385,7 @@ function requireLottie() {
33385
33385
  }
33386
33386
  for (j = 0; j < W; j += 1)
33387
33387
  F = p[j].a, F.p.propType && (q = p[j].s, se = q.getMult(C[T].anIndexes[j], m.a[j].s.totalChars), this._hasMaskedPath ? se.length ? g.translate(0, F.p.v[1] * se[0], -F.p.v[2] * se[1]) : g.translate(0, F.p.v[1] * se, -F.p.v[2] * se) : se.length ? g.translate(F.p.v[0] * se[0], F.p.v[1] * se[1], -F.p.v[2] * se[2]) : g.translate(F.p.v[0] * se, F.p.v[1] * se, -F.p.v[2] * se));
33388
- if (u.strokeWidthAnim && (we = xe < 0 ? 0 : xe), u.strokeColorAnim && (Be = "rgb(" + Math.round(ve[0] * 255) + "," + Math.round(ve[1] * 255) + "," + Math.round(ve[2] * 255) + ")"), u.fillColorAnim && u.fc && (_e = "rgb(" + Math.round(Te[0] * 255) + "," + Math.round(Te[1] * 255) + "," + Math.round(Te[2] * 255) + ")"), this._hasMaskedPath) {
33388
+ if (u.strokeWidthAnim && (we = xe < 0 ? 0 : xe), u.strokeColorAnim && (Be = "rgb(" + Math.round(ge[0] * 255) + "," + Math.round(ge[1] * 255) + "," + Math.round(ge[2] * 255) + ")"), u.fillColorAnim && u.fc && (_e = "rgb(" + Math.round(Te[0] * 255) + "," + Math.round(Te[1] * 255) + "," + Math.round(Te[2] * 255) + ")"), this._hasMaskedPath) {
33389
33389
  if (g.translate(0, -u.ls), g.translate(0, d[1] * te * 0.01 + E, 0), this._pathData.p.v) {
33390
33390
  Z = (R.point[1] - N.point[1]) / (R.point[0] - N.point[0]);
33391
33391
  var He = Math.atan(Z) * 180 / Math.PI;
@@ -33403,7 +33403,7 @@ function requireLottie() {
33403
33403
  }
33404
33404
  g.translate(0, -u.ls), g.translate(le, 0, 0), g.translate(d[0] * C[T].an * 5e-3, d[1] * te * 0.01, 0), S += C[T].l + u.tr * 1e-3 * u.finalSize;
33405
33405
  }
33406
- y === "html" ? Me = g.toCSS() : y === "svg" ? Me = g.to2dCSS() : Ie = [g.props[0], g.props[1], g.props[2], g.props[3], g.props[4], g.props[5], g.props[6], g.props[7], g.props[8], g.props[9], g.props[10], g.props[11], g.props[12], g.props[13], g.props[14], g.props[15]], Ve = ge;
33406
+ y === "html" ? Me = g.toCSS() : y === "svg" ? Me = g.to2dCSS() : Ie = [g.props[0], g.props[1], g.props[2], g.props[3], g.props[4], g.props[5], g.props[6], g.props[7], g.props[8], g.props[9], g.props[10], g.props[11], g.props[12], g.props[13], g.props[14], g.props[15]], Ve = ve;
33407
33407
  }
33408
33408
  b <= T ? (ee = new LetterProps(Ve, we, Be, _e, Me, Ie), this.renderedLetters.push(ee), b += 1, this.lettersChangedFlag = !0) : (ee = this.renderedLetters[T], this.lettersChangedFlag = ee.update(Ve, we, Be, _e, Me, Ie) || this.lettersChangedFlag);
33409
33409
  }
@@ -37582,8 +37582,8 @@ const UPNG = (function() {
37582
37582
  for (; de < N; ) {
37583
37583
  var F;
37584
37584
  if (L == 1 && (F = (F = D[fe >> 3]) >> 7 - (7 & fe) & 1, Y[oe * B + (de >> 3)] |= F << 7 - ((7 & de) << 0)), L == 2 && (F = (F = D[fe >> 3]) >> 6 - (7 & fe) & 3, Y[oe * B + (de >> 2)] |= F << 6 - ((3 & de) << 1)), L == 4 && (F = (F = D[fe >> 3]) >> 4 - (7 & fe) & 15, Y[oe * B + (de >> 1)] |= F << 4 - ((1 & de) << 2)), L >= 8) {
37585
- const he = oe * B + de * H;
37586
- for (let me = 0; me < H; me++) Y[he + me] = D[(fe >> 3) + me];
37585
+ const me = oe * B + de * H;
37586
+ for (let pe = 0; pe < H; pe++) Y[me + pe] = D[(fe >> 3) + pe];
37587
37587
  }
37588
37588
  fe += L, de += j;
37589
37589
  }
@@ -37909,11 +37909,11 @@ const UPNG = (function() {
37909
37909
  q = 4 * (oe * Y + de), te != 2 ? ce = [g(B[q] + ae[q]), g(B[q + 1] + ae[q + 1]), g(B[q + 2] + ae[q + 2]), g(B[q + 3] + ae[q + 3])] : (ee = le[4 * (3 & oe) + (3 & de)], ce = [g(B[q] + ee), g(B[q + 1] + ee), g(B[q + 2] + ee), g(B[q + 3] + ee)]), j = 0;
37910
37910
  let fe = 16777215;
37911
37911
  for (W = 0; W < re; W++) {
37912
- const ge = y(ce, F[W]);
37913
- ge < fe && (fe = ge, j = W);
37912
+ const ve = y(ce, F[W]);
37913
+ ve < fe && (fe = ve, j = W);
37914
37914
  }
37915
- const he = F[j], me = [ce[0] - he[0], ce[1] - he[1], ce[2] - he[2], ce[3] - he[3]];
37916
- te == 1 && (de != Y - 1 && m(me, ae, q + 4, 7), oe != Z - 1 && (de != 0 && m(me, ae, q + 4 * Y - 4, 3), m(me, ae, q + 4 * Y, 5), de != Y - 1 && m(me, ae, q + 4 * Y + 4, 1))), ne[q >> 2] = j, se[q >> 2] = Q[j];
37915
+ const me = F[j], pe = [ce[0] - me[0], ce[1] - me[1], ce[2] - me[2], ce[3] - me[3]];
37916
+ te == 1 && (de != Y - 1 && m(pe, ae, q + 4, 7), oe != Z - 1 && (de != 0 && m(pe, ae, q + 4 * Y - 4, 3), m(pe, ae, q + 4 * Y, 5), de != Y - 1 && m(pe, ae, q + 4 * Y + 4, 1))), ne[q >> 2] = j, se[q >> 2] = Q[j];
37917
37917
  }
37918
37918
  }
37919
37919
  function S(B, Y, Z, Q, J) {
@@ -37927,18 +37927,18 @@ const UPNG = (function() {
37927
37927
  se += 8 + 3 * ae + 4 + (ee ? 8 + 1 * ae + 4 : 0);
37928
37928
  }
37929
37929
  for (var ce = 0; ce < B.frames.length; ce++)
37930
- j && (se += 38), se += (he = B.frames[ce]).cimg.length + 12, ce != 0 && (se += 4);
37930
+ j && (se += 38), se += (me = B.frames[ce]).cimg.length + 12, ce != 0 && (se += 4);
37931
37931
  se += 12;
37932
37932
  const oe = new Uint8Array(se), de = [137, 80, 78, 71, 13, 10, 26, 10];
37933
37933
  for (le = 0; le < 8; le++) oe[le] = de[le];
37934
37934
  if (te(oe, q, 13), q += 4, F(oe, q, "IHDR"), q += 4, te(oe, q, Y), q += 4, te(oe, q, Z), q += 4, oe[q] = B.depth, q++, oe[q] = B.ctype, q++, oe[q] = 0, q++, oe[q] = 0, q++, oe[q] = 0, q++, te(oe, q, ne(oe, q - 17, 17)), q += 4, J.sRGB != null && (te(oe, q, 1), q += 4, F(oe, q, "sRGB"), q += 4, oe[q] = J.sRGB, q++, te(oe, q, ne(oe, q - 5, 5)), q += 4), J.iCCP != null) {
37935
- const me = 13 + W.length;
37936
- te(oe, q, me), q += 4, F(oe, q, "iCCP"), q += 4, F(oe, q, "ICC profile"), q += 11, q += 2, oe.set(W, q), q += W.length, te(oe, q, ne(oe, q - (me + 4), me + 4)), q += 4;
37935
+ const pe = 13 + W.length;
37936
+ te(oe, q, pe), q += 4, F(oe, q, "iCCP"), q += 4, F(oe, q, "ICC profile"), q += 11, q += 2, oe.set(W, q), q += W.length, te(oe, q, ne(oe, q - (pe + 4), pe + 4)), q += 4;
37937
37937
  }
37938
37938
  if (J.pHYs != null && (te(oe, q, 9), q += 4, F(oe, q, "pHYs"), q += 4, te(oe, q, J.pHYs[0]), q += 4, te(oe, q, J.pHYs[1]), q += 4, oe[q] = J.pHYs[2], q++, te(oe, q, ne(oe, q - 13, 13)), q += 4), j && (te(oe, q, 8), q += 4, F(oe, q, "acTL"), q += 4, te(oe, q, B.frames.length), q += 4, te(oe, q, J.loop != null ? J.loop : 0), q += 4, te(oe, q, ne(oe, q - 12, 12)), q += 4), B.ctype == 3) {
37939
37939
  for (te(oe, q, 3 * (ae = B.plte.length)), q += 4, F(oe, q, "PLTE"), q += 4, le = 0; le < ae; le++) {
37940
- const me = 3 * le, ge = B.plte[le], ve = 255 & ge, xe = ge >>> 8 & 255, Te = ge >>> 16 & 255;
37941
- oe[q + me + 0] = ve, oe[q + me + 1] = xe, oe[q + me + 2] = Te;
37940
+ const pe = 3 * le, ve = B.plte[le], ge = 255 & ve, xe = ve >>> 8 & 255, Te = ve >>> 16 & 255;
37941
+ oe[q + pe + 0] = ge, oe[q + pe + 1] = xe, oe[q + pe + 2] = Te;
37942
37942
  }
37943
37943
  if (q += 3 * ae, te(oe, q, ne(oe, q - 3 * ae - 4, 3 * ae + 4)), q += 4, ee) {
37944
37944
  for (te(oe, q, ae), q += 4, F(oe, q, "tRNS"), q += 4, le = 0; le < ae; le++) oe[q + le] = B.plte[le] >>> 24 & 255;
@@ -37947,12 +37947,12 @@ const UPNG = (function() {
37947
37947
  }
37948
37948
  let fe = 0;
37949
37949
  for (ce = 0; ce < B.frames.length; ce++) {
37950
- var he = B.frames[ce];
37951
- j && (te(oe, q, 26), q += 4, F(oe, q, "fcTL"), q += 4, te(oe, q, fe++), q += 4, te(oe, q, he.rect.width), q += 4, te(oe, q, he.rect.height), q += 4, te(oe, q, he.rect.x), q += 4, te(oe, q, he.rect.y), q += 4, re(oe, q, Q[ce]), q += 2, re(oe, q, 1e3), q += 2, oe[q] = he.dispose, q++, oe[q] = he.blend, q++, te(oe, q, ne(oe, q - 30, 30)), q += 4);
37952
- const me = he.cimg;
37953
- te(oe, q, (ae = me.length) + (ce == 0 ? 0 : 4)), q += 4;
37954
- const ge = q;
37955
- F(oe, q, ce == 0 ? "IDAT" : "fdAT"), q += 4, ce != 0 && (te(oe, q, fe++), q += 4), oe.set(me, q), q += ae, te(oe, q, ne(oe, ge, q - ge)), q += 4;
37950
+ var me = B.frames[ce];
37951
+ j && (te(oe, q, 26), q += 4, F(oe, q, "fcTL"), q += 4, te(oe, q, fe++), q += 4, te(oe, q, me.rect.width), q += 4, te(oe, q, me.rect.height), q += 4, te(oe, q, me.rect.x), q += 4, te(oe, q, me.rect.y), q += 4, re(oe, q, Q[ce]), q += 2, re(oe, q, 1e3), q += 2, oe[q] = me.dispose, q++, oe[q] = me.blend, q++, te(oe, q, ne(oe, q - 30, 30)), q += 4);
37952
+ const pe = me.cimg;
37953
+ te(oe, q, (ae = pe.length) + (ce == 0 ? 0 : 4)), q += 4;
37954
+ const ve = q;
37955
+ F(oe, q, ce == 0 ? "IDAT" : "fdAT"), q += 4, ce != 0 && (te(oe, q, fe++), q += 4), oe.set(pe, q), q += ae, te(oe, q, ne(oe, ve, q - ve)), q += 4;
37956
37956
  }
37957
37957
  return te(oe, q, 0), q += 4, F(oe, q, "IEND"), q += 4, te(oe, q, ne(oe, q - 4, 4)), q += 4, oe.buffer;
37958
37958
  }
@@ -37976,7 +37976,7 @@ const UPNG = (function() {
37976
37976
  for (var Se = 0; Se < _e.length; Se++) {
37977
37977
  const je = new Uint8Array(_e[Se]), Ge = new Uint32Array(je.buffer);
37978
37978
  var Oe;
37979
- let Qe = 0, nt = 0, pe = Me, Ee = Ie, Ae = Ve ? 1 : 0;
37979
+ let Qe = 0, nt = 0, he = Me, Ee = Ie, Ae = Ve ? 1 : 0;
37980
37980
  if (Se != 0) {
37981
37981
  const ze = Le || Ve || Se == 1 || De[Se - 2].dispose != 0 ? 1 : 2;
37982
37982
  let Fe = 0, qe = 1e9;
@@ -37988,16 +37988,16 @@ const UPNG = (function() {
37988
37988
  Ge[Ue = Ke * Me + it] != ct[Ue] && (it < ot && (ot = it), it > Pe && (Pe = it), Ke < Je && (Je = Ke), Ke > We && (We = Ke));
37989
37989
  Pe == -1 && (ot = Je = Pe = We = 0), Ne && ((1 & ot) == 1 && ot--, (1 & Je) == 1 && Je--);
37990
37990
  const $e = (Pe - ot + 1) * (We - Je + 1);
37991
- $e < qe && (qe = $e, Fe = Xe, Qe = ot, nt = Je, pe = Pe - ot + 1, Ee = We - Je + 1);
37991
+ $e < qe && (qe = $e, Fe = Xe, Qe = ot, nt = Je, he = Pe - ot + 1, Ee = We - Je + 1);
37992
37992
  }
37993
- ke = new Uint8Array(_e[Se - 1 - Fe]), Fe == 1 && (De[Se - 1].dispose = 2), Oe = new Uint8Array(pe * Ee * 4), u(ke, Me, Ie, Oe, pe, Ee, -Qe, -nt, 0), Ae = u(je, Me, Ie, Oe, pe, Ee, -Qe, -nt, 3) ? 1 : 0, Ae == 1 ? C(je, Me, Ie, Oe, { x: Qe, y: nt, width: pe, height: Ee }) : u(je, Me, Ie, Oe, pe, Ee, -Qe, -nt, 0);
37993
+ ke = new Uint8Array(_e[Se - 1 - Fe]), Fe == 1 && (De[Se - 1].dispose = 2), Oe = new Uint8Array(he * Ee * 4), u(ke, Me, Ie, Oe, he, Ee, -Qe, -nt, 0), Ae = u(je, Me, Ie, Oe, he, Ee, -Qe, -nt, 3) ? 1 : 0, Ae == 1 ? C(je, Me, Ie, Oe, { x: Qe, y: nt, width: he, height: Ee }) : u(je, Me, Ie, Oe, he, Ee, -Qe, -nt, 0);
37994
37994
  } else Oe = je.slice(0);
37995
- De.push({ rect: { x: Qe, y: nt, width: pe, height: Ee }, img: Oe, blend: Ae, dispose: 0 });
37995
+ De.push({ rect: { x: Qe, y: nt, width: he, height: Ee }, img: Oe, blend: Ae, dispose: 0 });
37996
37996
  }
37997
37997
  if (Ve) for (Se = 0; Se < De.length; Se++) {
37998
37998
  if ((Ye = De[Se]).blend == 1) continue;
37999
- const je = Ye.rect, Ge = De[Se - 1].rect, Qe = Math.min(je.x, Ge.x), nt = Math.min(je.y, Ge.y), pe = { x: Qe, y: nt, width: Math.max(je.x + je.width, Ge.x + Ge.width) - Qe, height: Math.max(je.y + je.height, Ge.y + Ge.height) - nt };
38000
- De[Se - 1].dispose = 1, Se - 1 != 0 && A(_e, Me, Ie, De, Se - 1, pe, Ne), A(_e, Me, Ie, De, Se, pe, Ne);
37999
+ const je = Ye.rect, Ge = De[Se - 1].rect, Qe = Math.min(je.x, Ge.x), nt = Math.min(je.y, Ge.y), he = { x: Qe, y: nt, width: Math.max(je.x + je.width, Ge.x + Ge.width) - Qe, height: Math.max(je.y + je.height, Ge.y + Ge.height) - nt };
38000
+ De[Se - 1].dispose = 1, Se - 1 != 0 && A(_e, Me, Ie, De, Se - 1, he, Ne), A(_e, Me, Ie, De, Se, he, Ne);
38001
38001
  }
38002
38002
  let He = 0;
38003
38003
  if (_e.length != 1) for (var Ue = 0; Ue < De.length; Ue++) {
@@ -38005,7 +38005,7 @@ const UPNG = (function() {
38005
38005
  He += (Ye = De[Ue]).rect.width * Ye.rect.height;
38006
38006
  }
38007
38007
  return De;
38008
- })(B, Y, Z, ne, te, re), fe = {}, he = [], me = [];
38008
+ })(B, Y, Z, ne, te, re), fe = {}, me = [], pe = [];
38009
38009
  if (Q != 0) {
38010
38010
  const Be = [];
38011
38011
  for (ce = 0; ce < de.length; ce++) Be.push(de[ce].img.buffer);
@@ -38025,41 +38025,41 @@ const UPNG = (function() {
38025
38025
  }
38026
38026
  return Se.buffer;
38027
38027
  })(Be), Me = R(_e, Q);
38028
- for (ce = 0; ce < Me.plte.length; ce++) he.push(Me.plte[ce].est.rgba);
38028
+ for (ce = 0; ce < Me.plte.length; ce++) me.push(Me.plte[ce].est.rgba);
38029
38029
  let Ie = 0;
38030
38030
  for (ce = 0; ce < de.length; ce++) {
38031
- const Ve = (ve = de[ce]).img.length;
38032
- var ge = new Uint8Array(Me.inds.buffer, Ie >> 2, Ve >> 2);
38033
- me.push(ge);
38031
+ const Ve = (ge = de[ce]).img.length;
38032
+ var ve = new Uint8Array(Me.inds.buffer, Ie >> 2, Ve >> 2);
38033
+ pe.push(ve);
38034
38034
  const Ne = new Uint8Array(Me.abuf, Ie, Ve);
38035
- j && b(ve.img, ve.rect.width, ve.rect.height, he, Ne, ge), ve.img.set(Ne), Ie += Ve;
38035
+ j && b(ge.img, ge.rect.width, ge.rect.height, me, Ne, ve), ge.img.set(Ne), Ie += Ve;
38036
38036
  }
38037
38037
  } else for (ae = 0; ae < de.length; ae++) {
38038
- var ve = de[ae];
38039
- const Be = new Uint32Array(ve.img.buffer);
38040
- var xe = ve.rect.width;
38041
- for (le = Be.length, ge = new Uint8Array(le), me.push(ge), ce = 0; ce < le; ce++) {
38038
+ var ge = de[ae];
38039
+ const Be = new Uint32Array(ge.img.buffer);
38040
+ var xe = ge.rect.width;
38041
+ for (le = Be.length, ve = new Uint8Array(le), pe.push(ve), ce = 0; ce < le; ce++) {
38042
38042
  const _e = Be[ce];
38043
- if (ce != 0 && _e == Be[ce - 1]) ge[ce] = ge[ce - 1];
38044
- else if (ce > xe && _e == Be[ce - xe]) ge[ce] = ge[ce - xe];
38043
+ if (ce != 0 && _e == Be[ce - 1]) ve[ce] = ve[ce - 1];
38044
+ else if (ce > xe && _e == Be[ce - xe]) ve[ce] = ve[ce - xe];
38045
38045
  else {
38046
38046
  let Me = fe[_e];
38047
- if (Me == null && (fe[_e] = Me = he.length, he.push(_e), he.length >= 300)) break;
38048
- ge[ce] = Me;
38047
+ if (Me == null && (fe[_e] = Me = me.length, me.push(_e), me.length >= 300)) break;
38048
+ ve[ce] = Me;
38049
38049
  }
38050
38050
  }
38051
38051
  }
38052
- const Te = he.length;
38052
+ const Te = me.length;
38053
38053
  for (Te <= 256 && q == 0 && (ee = Te <= 2 ? 1 : Te <= 4 ? 2 : Te <= 16 ? 4 : 8, ee = Math.max(ee, F)), ae = 0; ae < de.length; ae++) {
38054
- (ve = de[ae]).rect.x, ve.rect.y, xe = ve.rect.width;
38055
- const Be = ve.rect.height;
38056
- let _e = ve.img;
38054
+ (ge = de[ae]).rect.x, ge.rect.y, xe = ge.rect.width;
38055
+ const Be = ge.rect.height;
38056
+ let _e = ge.img;
38057
38057
  new Uint32Array(_e.buffer);
38058
38058
  let Me = 4 * xe, Ie = 4;
38059
38059
  if (Te <= 256 && q == 0) {
38060
38060
  Me = Math.ceil(ee * xe / 8);
38061
38061
  var ye = new Uint8Array(Me * Be);
38062
- const Ve = me[ae];
38062
+ const Ve = pe[ae];
38063
38063
  for (let Ne = 0; Ne < Be; Ne++) {
38064
38064
  ce = Ne * Me;
38065
38065
  const Le = Ne * xe;
@@ -38078,16 +38078,16 @@ const UPNG = (function() {
38078
38078
  }
38079
38079
  _e = ye, W = 2, Ie = 3, Me = 3 * xe;
38080
38080
  }
38081
- ve.img = _e, ve.bpl = Me, ve.bpp = Ie;
38081
+ ge.img = _e, ge.bpl = Me, ge.bpp = Ie;
38082
38082
  }
38083
- return { ctype: W, depth: ee, plte: he, frames: de };
38083
+ return { ctype: W, depth: ee, plte: me, frames: de };
38084
38084
  }
38085
38085
  function A(B, Y, Z, Q, J, ne, te) {
38086
38086
  const re = Uint8Array, F = Uint32Array, q = new re(B[J - 1]), j = new F(B[J - 1]), W = J + 1 < B.length ? new re(B[J + 1]) : null, ee = new re(B[J]), se = new F(ee.buffer);
38087
38087
  let ae = Y, le = Z, ce = -1, oe = -1;
38088
- for (let fe = 0; fe < ne.height; fe++) for (let he = 0; he < ne.width; he++) {
38089
- const me = ne.x + he, ge = ne.y + fe, ve = ge * Y + me, xe = se[ve];
38090
- xe == 0 || Q[J - 1].dispose == 0 && j[ve] == xe && (W == null || W[4 * ve + 3] != 0) || (me < ae && (ae = me), me > ce && (ce = me), ge < le && (le = ge), ge > oe && (oe = ge));
38088
+ for (let fe = 0; fe < ne.height; fe++) for (let me = 0; me < ne.width; me++) {
38089
+ const pe = ne.x + me, ve = ne.y + fe, ge = ve * Y + pe, xe = se[ge];
38090
+ xe == 0 || Q[J - 1].dispose == 0 && j[ge] == xe && (W == null || W[4 * ge + 3] != 0) || (pe < ae && (ae = pe), pe > ce && (ce = pe), ve < le && (le = ve), ve > oe && (oe = ve));
38091
38091
  }
38092
38092
  ce == -1 && (ae = le = ce = oe = 0), te && ((1 & ae) == 1 && ae--, (1 & le) == 1 && le--), ne = { x: ae, y: le, width: ce - ae + 1, height: oe - le + 1 };
38093
38093
  const de = Q[J];
@@ -38747,26 +38747,26 @@ const ImageSearchModal$1 = lazy(
38747
38747
  }
38748
38748
  }, ae = () => {
38749
38749
  re();
38750
- }, le = useRef(null), ce = useRef(!1), oe = useRef(!1), [de, fe] = useState(!1), he = () => {
38750
+ }, le = useRef(null), ce = useRef(!1), oe = useRef(!1), [de, fe] = useState(!1), me = () => {
38751
38751
  if (!O) return !1;
38752
38752
  const Se = O.getJSON(), Oe = findByType(Se, "media"), ke = findByType(Se, "mediaGroup");
38753
38753
  return Oe.length > 0 || ke.length > 0;
38754
- }, me = () => !!S && !Z && !!O && O.getText().trim().length > 0 && !he(), ge = () => {
38754
+ }, pe = () => !!S && !Z && !!O && O.getText().trim().length > 0 && !me(), ve = () => {
38755
38755
  le.current && (clearTimeout(le.current), le.current = null);
38756
- }, ve = () => {
38757
- ge(), ce.current = !1, fe(!1);
38756
+ }, ge = () => {
38757
+ ve(), ce.current = !1, fe(!1);
38758
38758
  }, xe = () => {
38759
- oe.current = !1, ce.current = !1, me() && (le.current = setTimeout(() => {
38759
+ oe.current = !1, ce.current = !1, pe() && (le.current = setTimeout(() => {
38760
38760
  ce.current = !0, fe(!0);
38761
38761
  }, QUICK_GIF_HOLD_MS));
38762
38762
  }, Te = () => {
38763
- if (ge(), ce.current) {
38763
+ if (ve(), ce.current) {
38764
38764
  ce.current = !1, fe(!1);
38765
38765
  const Se = O?.getText().trim() ?? "";
38766
- Se && S && (oe.current = !0, S({ text: Se }));
38766
+ Se && S && (oe.current = !0, S({ text: Se, sendCrossMention: P }));
38767
38767
  }
38768
38768
  }, ye = () => {
38769
- ve();
38769
+ ge();
38770
38770
  };
38771
38771
  if (!O) return null;
38772
38772
  const we = TOOLBAR_FEATURES[n], Be = (Se) => {
@@ -47060,7 +47060,7 @@ function createDOMPurify() {
47060
47060
  value: !1
47061
47061
  }
47062
47062
  })), de = null, fe = null;
47063
- const he = Object.seal(create$6(null, {
47063
+ const me = Object.seal(create$6(null, {
47064
47064
  tagCheck: {
47065
47065
  writable: !0,
47066
47066
  configurable: !1,
@@ -47074,16 +47074,16 @@ function createDOMPurify() {
47074
47074
  value: null
47075
47075
  }
47076
47076
  }));
47077
- let me = !0, ge = !0, ve = !1, xe = !0, Te = !1, ye = !0, we = !1, Be = !1, _e = !1, Me = !1, Ie = !1, Ve = !1, Ne = !0, Le = !1;
47077
+ let pe = !0, ve = !0, ge = !1, xe = !0, Te = !1, ye = !0, we = !1, Be = !1, _e = !1, Me = !1, Ie = !1, Ve = !1, Ne = !0, Le = !1;
47078
47078
  const De = "user-content-";
47079
47079
  let Se = !0, Oe = !1, ke = {}, He = null;
47080
47080
  const Ue = addToSet({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
47081
47081
  let Ye = null;
47082
47082
  const je = addToSet({}, ["audio", "video", "img", "source", "image", "track"]);
47083
47083
  let Ge = null;
47084
- const Qe = addToSet({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), nt = "http://www.w3.org/1998/Math/MathML", pe = "http://www.w3.org/2000/svg", Ee = "http://www.w3.org/1999/xhtml";
47084
+ const Qe = addToSet({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), nt = "http://www.w3.org/1998/Math/MathML", he = "http://www.w3.org/2000/svg", Ee = "http://www.w3.org/1999/xhtml";
47085
47085
  let Ae = Ee, ze = !1, Fe = null;
47086
- const qe = addToSet({}, [nt, pe, Ee], stringToString);
47086
+ const qe = addToSet({}, [nt, he, Ee], stringToString);
47087
47087
  let Xe = addToSet({}, ["mi", "mo", "mn", "ms", "mtext"]), ct = addToSet({}, ["annotation-xml"]);
47088
47088
  const ot = addToSet({}, ["title", "style", "font", "a", "script"]);
47089
47089
  let Je = null;
@@ -47095,7 +47095,7 @@ function createDOMPurify() {
47095
47095
  let ue = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
47096
47096
  if (!(Ke && Ke === ue)) {
47097
47097
  if ((!ue || typeof ue != "object") && (ue = {}), ue = clone(ue), Je = // eslint-disable-next-line unicorn/prefer-includes
47098
- Pe.indexOf(ue.PARSER_MEDIA_TYPE) === -1 ? We : ue.PARSER_MEDIA_TYPE, $e = Je === "application/xhtml+xml" ? stringToString : stringToLowerCase, se = objectHasOwnProperty(ue, "ALLOWED_TAGS") ? addToSet({}, ue.ALLOWED_TAGS, $e) : ae, le = objectHasOwnProperty(ue, "ALLOWED_ATTR") ? addToSet({}, ue.ALLOWED_ATTR, $e) : ce, Fe = objectHasOwnProperty(ue, "ALLOWED_NAMESPACES") ? addToSet({}, ue.ALLOWED_NAMESPACES, stringToString) : qe, Ge = objectHasOwnProperty(ue, "ADD_URI_SAFE_ATTR") ? addToSet(clone(Qe), ue.ADD_URI_SAFE_ATTR, $e) : Qe, Ye = objectHasOwnProperty(ue, "ADD_DATA_URI_TAGS") ? addToSet(clone(je), ue.ADD_DATA_URI_TAGS, $e) : je, He = objectHasOwnProperty(ue, "FORBID_CONTENTS") ? addToSet({}, ue.FORBID_CONTENTS, $e) : Ue, de = objectHasOwnProperty(ue, "FORBID_TAGS") ? addToSet({}, ue.FORBID_TAGS, $e) : clone({}), fe = objectHasOwnProperty(ue, "FORBID_ATTR") ? addToSet({}, ue.FORBID_ATTR, $e) : clone({}), ke = objectHasOwnProperty(ue, "USE_PROFILES") ? ue.USE_PROFILES : !1, me = ue.ALLOW_ARIA_ATTR !== !1, ge = ue.ALLOW_DATA_ATTR !== !1, ve = ue.ALLOW_UNKNOWN_PROTOCOLS || !1, xe = ue.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Te = ue.SAFE_FOR_TEMPLATES || !1, ye = ue.SAFE_FOR_XML !== !1, we = ue.WHOLE_DOCUMENT || !1, Me = ue.RETURN_DOM || !1, Ie = ue.RETURN_DOM_FRAGMENT || !1, Ve = ue.RETURN_TRUSTED_TYPE || !1, _e = ue.FORCE_BODY || !1, Ne = ue.SANITIZE_DOM !== !1, Le = ue.SANITIZE_NAMED_PROPS || !1, Se = ue.KEEP_CONTENT !== !1, Oe = ue.IN_PLACE || !1, ee = ue.ALLOWED_URI_REGEXP || IS_ALLOWED_URI, Ae = ue.NAMESPACE || Ee, Xe = ue.MATHML_TEXT_INTEGRATION_POINTS || Xe, ct = ue.HTML_INTEGRATION_POINTS || ct, oe = ue.CUSTOM_ELEMENT_HANDLING || {}, ue.CUSTOM_ELEMENT_HANDLING && Ze(ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (oe.tagNameCheck = ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ue.CUSTOM_ELEMENT_HANDLING && Ze(ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (oe.attributeNameCheck = ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ue.CUSTOM_ELEMENT_HANDLING && typeof ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (oe.allowCustomizedBuiltInElements = ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Te && (ge = !1), Ie && (Me = !0), ke && (se = addToSet({}, text), le = [], ke.html === !0 && (addToSet(se, html$1), addToSet(le, html)), ke.svg === !0 && (addToSet(se, svg$1), addToSet(le, svg), addToSet(le, xml)), ke.svgFilters === !0 && (addToSet(se, svgFilters), addToSet(le, svg), addToSet(le, xml)), ke.mathMl === !0 && (addToSet(se, mathMl$1), addToSet(le, mathMl), addToSet(le, xml))), ue.ADD_TAGS && (typeof ue.ADD_TAGS == "function" ? he.tagCheck = ue.ADD_TAGS : (se === ae && (se = clone(se)), addToSet(se, ue.ADD_TAGS, $e))), ue.ADD_ATTR && (typeof ue.ADD_ATTR == "function" ? he.attributeCheck = ue.ADD_ATTR : (le === ce && (le = clone(le)), addToSet(le, ue.ADD_ATTR, $e))), ue.ADD_URI_SAFE_ATTR && addToSet(Ge, ue.ADD_URI_SAFE_ATTR, $e), ue.FORBID_CONTENTS && (He === Ue && (He = clone(He)), addToSet(He, ue.FORBID_CONTENTS, $e)), ue.ADD_FORBID_CONTENTS && (He === Ue && (He = clone(He)), addToSet(He, ue.ADD_FORBID_CONTENTS, $e)), Se && (se["#text"] = !0), we && addToSet(se, ["html", "head", "body"]), se.table && (addToSet(se, ["tbody"]), delete de.tbody), ue.TRUSTED_TYPES_POLICY) {
47098
+ Pe.indexOf(ue.PARSER_MEDIA_TYPE) === -1 ? We : ue.PARSER_MEDIA_TYPE, $e = Je === "application/xhtml+xml" ? stringToString : stringToLowerCase, se = objectHasOwnProperty(ue, "ALLOWED_TAGS") ? addToSet({}, ue.ALLOWED_TAGS, $e) : ae, le = objectHasOwnProperty(ue, "ALLOWED_ATTR") ? addToSet({}, ue.ALLOWED_ATTR, $e) : ce, Fe = objectHasOwnProperty(ue, "ALLOWED_NAMESPACES") ? addToSet({}, ue.ALLOWED_NAMESPACES, stringToString) : qe, Ge = objectHasOwnProperty(ue, "ADD_URI_SAFE_ATTR") ? addToSet(clone(Qe), ue.ADD_URI_SAFE_ATTR, $e) : Qe, Ye = objectHasOwnProperty(ue, "ADD_DATA_URI_TAGS") ? addToSet(clone(je), ue.ADD_DATA_URI_TAGS, $e) : je, He = objectHasOwnProperty(ue, "FORBID_CONTENTS") ? addToSet({}, ue.FORBID_CONTENTS, $e) : Ue, de = objectHasOwnProperty(ue, "FORBID_TAGS") ? addToSet({}, ue.FORBID_TAGS, $e) : clone({}), fe = objectHasOwnProperty(ue, "FORBID_ATTR") ? addToSet({}, ue.FORBID_ATTR, $e) : clone({}), ke = objectHasOwnProperty(ue, "USE_PROFILES") ? ue.USE_PROFILES : !1, pe = ue.ALLOW_ARIA_ATTR !== !1, ve = ue.ALLOW_DATA_ATTR !== !1, ge = ue.ALLOW_UNKNOWN_PROTOCOLS || !1, xe = ue.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Te = ue.SAFE_FOR_TEMPLATES || !1, ye = ue.SAFE_FOR_XML !== !1, we = ue.WHOLE_DOCUMENT || !1, Me = ue.RETURN_DOM || !1, Ie = ue.RETURN_DOM_FRAGMENT || !1, Ve = ue.RETURN_TRUSTED_TYPE || !1, _e = ue.FORCE_BODY || !1, Ne = ue.SANITIZE_DOM !== !1, Le = ue.SANITIZE_NAMED_PROPS || !1, Se = ue.KEEP_CONTENT !== !1, Oe = ue.IN_PLACE || !1, ee = ue.ALLOWED_URI_REGEXP || IS_ALLOWED_URI, Ae = ue.NAMESPACE || Ee, Xe = ue.MATHML_TEXT_INTEGRATION_POINTS || Xe, ct = ue.HTML_INTEGRATION_POINTS || ct, oe = ue.CUSTOM_ELEMENT_HANDLING || {}, ue.CUSTOM_ELEMENT_HANDLING && Ze(ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (oe.tagNameCheck = ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ue.CUSTOM_ELEMENT_HANDLING && Ze(ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (oe.attributeNameCheck = ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ue.CUSTOM_ELEMENT_HANDLING && typeof ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (oe.allowCustomizedBuiltInElements = ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Te && (ve = !1), Ie && (Me = !0), ke && (se = addToSet({}, text), le = [], ke.html === !0 && (addToSet(se, html$1), addToSet(le, html)), ke.svg === !0 && (addToSet(se, svg$1), addToSet(le, svg), addToSet(le, xml)), ke.svgFilters === !0 && (addToSet(se, svgFilters), addToSet(le, svg), addToSet(le, xml)), ke.mathMl === !0 && (addToSet(se, mathMl$1), addToSet(le, mathMl), addToSet(le, xml))), ue.ADD_TAGS && (typeof ue.ADD_TAGS == "function" ? me.tagCheck = ue.ADD_TAGS : (se === ae && (se = clone(se)), addToSet(se, ue.ADD_TAGS, $e))), ue.ADD_ATTR && (typeof ue.ADD_ATTR == "function" ? me.attributeCheck = ue.ADD_ATTR : (le === ce && (le = clone(le)), addToSet(le, ue.ADD_ATTR, $e))), ue.ADD_URI_SAFE_ATTR && addToSet(Ge, ue.ADD_URI_SAFE_ATTR, $e), ue.FORBID_CONTENTS && (He === Ue && (He = clone(He)), addToSet(He, ue.FORBID_CONTENTS, $e)), ue.ADD_FORBID_CONTENTS && (He === Ue && (He = clone(He)), addToSet(He, ue.ADD_FORBID_CONTENTS, $e)), Se && (se["#text"] = !0), we && addToSet(se, ["html", "head", "body"]), se.table && (addToSet(se, ["tbody"]), delete de.tbody), ue.TRUSTED_TYPES_POLICY) {
47099
47099
  if (typeof ue.TRUSTED_TYPES_POLICY.createHTML != "function")
47100
47100
  throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
47101
47101
  if (typeof ue.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -47112,7 +47112,7 @@ function createDOMPurify() {
47112
47112
  tagName: "template"
47113
47113
  });
47114
47114
  const Ce = stringToLowerCase(ue.tagName), et = stringToLowerCase(be.tagName);
47115
- return Fe[ue.namespaceURI] ? ue.namespaceURI === pe ? be.namespaceURI === Ee ? Ce === "svg" : be.namespaceURI === nt ? Ce === "svg" && (et === "annotation-xml" || Xe[et]) : !!vt[Ce] : ue.namespaceURI === nt ? be.namespaceURI === Ee ? Ce === "math" : be.namespaceURI === pe ? Ce === "math" && ct[et] : !!dt[Ce] : ue.namespaceURI === Ee ? be.namespaceURI === pe && !ct[et] || be.namespaceURI === nt && !Xe[et] ? !1 : !dt[Ce] && (ot[Ce] || !vt[Ce]) : !!(Je === "application/xhtml+xml" && Fe[ue.namespaceURI]) : !1;
47115
+ return Fe[ue.namespaceURI] ? ue.namespaceURI === he ? be.namespaceURI === Ee ? Ce === "svg" : be.namespaceURI === nt ? Ce === "svg" && (et === "annotation-xml" || Xe[et]) : !!vt[Ce] : ue.namespaceURI === nt ? be.namespaceURI === Ee ? Ce === "math" : be.namespaceURI === he ? Ce === "math" && ct[et] : !!dt[Ce] : ue.namespaceURI === Ee ? be.namespaceURI === he && !ct[et] || be.namespaceURI === nt && !Xe[et] ? !1 : !dt[Ce] && (ot[Ce] || !vt[Ce]) : !!(Je === "application/xhtml+xml" && Fe[ue.namespaceURI]) : !1;
47116
47116
  }, pt = function(ue) {
47117
47117
  arrayPush(n.removed, {
47118
47118
  element: ue
@@ -47197,7 +47197,7 @@ function createDOMPurify() {
47197
47197
  allowedTags: se
47198
47198
  }), ye && ue.hasChildNodes() && !Rt(ue.firstElementChild) && regExpTest(/<[/\w!]/g, ue.innerHTML) && regExpTest(/<[/\w!]/g, ue.textContent) || ue.nodeType === NODE_TYPE.progressingInstruction || ye && ue.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, ue.data))
47199
47199
  return pt(ue), !0;
47200
- if (!(he.tagCheck instanceof Function && he.tagCheck(Ce)) && (!se[Ce] || de[Ce])) {
47200
+ if (!(me.tagCheck instanceof Function && me.tagCheck(Ce)) && (!se[Ce] || de[Ce])) {
47201
47201
  if (!de[Ce] && It(Ce) && (oe.tagNameCheck instanceof RegExp && regExpTest(oe.tagNameCheck, Ce) || oe.tagNameCheck instanceof Function && oe.tagNameCheck(Ce)))
47202
47202
  return !1;
47203
47203
  if (Se && !He[Ce]) {
@@ -47220,9 +47220,9 @@ function createDOMPurify() {
47220
47220
  }, Pt = function(ue, be, Ce) {
47221
47221
  if (Ne && (be === "id" || be === "name") && (Ce in d || Ce in it))
47222
47222
  return !1;
47223
- if (!(ge && !fe[be] && regExpTest(re, be))) {
47224
- if (!(me && regExpTest(F, be))) {
47225
- if (!(he.attributeCheck instanceof Function && he.attributeCheck(be, ue))) {
47223
+ if (!(ve && !fe[be] && regExpTest(re, be))) {
47224
+ if (!(pe && regExpTest(F, be))) {
47225
+ if (!(me.attributeCheck instanceof Function && me.attributeCheck(be, ue))) {
47226
47226
  if (!le[be] || fe[be]) {
47227
47227
  if (
47228
47228
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
@@ -47235,7 +47235,7 @@ function createDOMPurify() {
47235
47235
  } else if (!Ge[be]) {
47236
47236
  if (!regExpTest(ee, stringReplace(Ce, j, ""))) {
47237
47237
  if (!((be === "src" || be === "xlink:href" || be === "href") && ue !== "script" && stringIndexOf(Ce, "data:") === 0 && Ye[ue])) {
47238
- if (!(ve && !regExpTest(q, stringReplace(Ce, j, "")))) {
47238
+ if (!(ge && !regExpTest(q, stringReplace(Ce, j, "")))) {
47239
47239
  if (Ce)
47240
47240
  return !1;
47241
47241
  }
@@ -48626,10 +48626,10 @@ function flip(u) {
48626
48626
  if (B)
48627
48627
  for (var ee = k ? 3 : 1, se = function(oe) {
48628
48628
  var de = N.find(function(fe) {
48629
- var he = H.get(fe);
48630
- if (he)
48631
- return he.slice(0, oe).every(function(me) {
48632
- return me;
48629
+ var me = H.get(fe);
48630
+ if (me)
48631
+ return me.slice(0, oe).every(function(pe) {
48632
+ return pe;
48633
48633
  });
48634
48634
  });
48635
48635
  if (de)
@@ -48756,7 +48756,7 @@ function preventOverflow(u) {
48756
48756
  var ne, te = N === "y" ? top : left, re = N === "y" ? bottom : right, F = N === "y" ? "height" : "width", q = L[N], j = q + I[te], W = q - I[re], ee = _ ? -B[F] / 2 : 0, se = D === start ? H[F] : B[F], ae = D === start ? -B[F] : -H[F], le = n.elements.arrow, ce = _ && le ? getLayoutRect(le) : {
48757
48757
  width: 0,
48758
48758
  height: 0
48759
- }, oe = n.modifiersData["arrow#persistent"] ? n.modifiersData["arrow#persistent"].padding : getFreshSideObject(), de = oe[te], fe = oe[re], he = within(0, H[F], ce[F]), me = O ? H[F] / 2 - ee - he - de - Z.mainAxis : se - he - de - Z.mainAxis, ge = O ? -H[F] / 2 + ee + he + fe + Z.mainAxis : ae + he + fe + Z.mainAxis, ve = n.elements.arrow && getOffsetParent(n.elements.arrow), xe = ve ? N === "y" ? ve.clientTop || 0 : ve.clientLeft || 0 : 0, Te = (ne = Q?.[N]) != null ? ne : 0, ye = q + me - Te - xe, we = q + ge - Te, Be = within(_ ? min$1(j, ye) : j, q, _ ? max$1(W, we) : W);
48759
+ }, oe = n.modifiersData["arrow#persistent"] ? n.modifiersData["arrow#persistent"].padding : getFreshSideObject(), de = oe[te], fe = oe[re], me = within(0, H[F], ce[F]), pe = O ? H[F] / 2 - ee - me - de - Z.mainAxis : se - me - de - Z.mainAxis, ve = O ? -H[F] / 2 + ee + me + fe + Z.mainAxis : ae + me + fe + Z.mainAxis, ge = n.elements.arrow && getOffsetParent(n.elements.arrow), xe = ge ? N === "y" ? ge.clientTop || 0 : ge.clientLeft || 0 : 0, Te = (ne = Q?.[N]) != null ? ne : 0, ye = q + pe - Te - xe, we = q + ve - Te, Be = within(_ ? min$1(j, ye) : j, q, _ ? max$1(W, we) : W);
48760
48760
  L[N] = Be, J[N] = Be - q;
48761
48761
  }
48762
48762
  if (b) {
@@ -49364,53 +49364,53 @@ function createTippy(u, n) {
49364
49364
  return process.env.NODE_ENV !== "production" && errorWhen(!0, "render() function has not been supplied."), N;
49365
49365
  var V = d.render(N), L = V.popper, H = V.onUpdate;
49366
49366
  L.setAttribute("data-tippy-root", ""), L.id = "tippy-" + N.id, N.popper = L, u._tippy = N, L._tippy = N;
49367
- var B = D.map(function(pe) {
49368
- return pe.fn(N);
49367
+ var B = D.map(function(he) {
49368
+ return he.fn(N);
49369
49369
  }), Y = u.hasAttribute("aria-expanded");
49370
- return ve(), ee(), q(), j("onCreate", [N]), d.showOnCreate && Le(), L.addEventListener("mouseenter", function() {
49370
+ return ge(), ee(), q(), j("onCreate", [N]), d.showOnCreate && Le(), L.addEventListener("mouseenter", function() {
49371
49371
  N.props.interactive && N.state.isVisible && N.clearDelayTimeouts();
49372
49372
  }), L.addEventListener("mouseleave", function() {
49373
49373
  N.props.interactive && N.props.trigger.indexOf("mouseenter") >= 0 && te().addEventListener("mousemove", k);
49374
49374
  }), N;
49375
49375
  function Z() {
49376
- var pe = N.props.touch;
49377
- return Array.isArray(pe) ? pe : [pe, 0];
49376
+ var he = N.props.touch;
49377
+ return Array.isArray(he) ? he : [he, 0];
49378
49378
  }
49379
49379
  function Q() {
49380
49380
  return Z()[0] === "hold";
49381
49381
  }
49382
49382
  function J() {
49383
- var pe;
49384
- return !!((pe = N.props.render) != null && pe.$$tippy);
49383
+ var he;
49384
+ return !!((he = N.props.render) != null && he.$$tippy);
49385
49385
  }
49386
49386
  function ne() {
49387
49387
  return R || u;
49388
49388
  }
49389
49389
  function te() {
49390
- var pe = ne().parentNode;
49391
- return pe ? getOwnerDocument(pe) : document;
49390
+ var he = ne().parentNode;
49391
+ return he ? getOwnerDocument(he) : document;
49392
49392
  }
49393
49393
  function re() {
49394
49394
  return getChildren(L);
49395
49395
  }
49396
- function F(pe) {
49397
- return N.state.isMounted && !N.state.isVisible || currentInput.isTouch || T && T.type === "focus" ? 0 : getValueAtIndexOrReturn(N.props.delay, pe ? 0 : 1, defaultProps.delay);
49396
+ function F(he) {
49397
+ return N.state.isMounted && !N.state.isVisible || currentInput.isTouch || T && T.type === "focus" ? 0 : getValueAtIndexOrReturn(N.props.delay, he ? 0 : 1, defaultProps.delay);
49398
49398
  }
49399
- function q(pe) {
49400
- pe === void 0 && (pe = !1), L.style.pointerEvents = N.props.interactive && !pe ? "" : "none", L.style.zIndex = "" + N.props.zIndex;
49399
+ function q(he) {
49400
+ he === void 0 && (he = !1), L.style.pointerEvents = N.props.interactive && !he ? "" : "none", L.style.zIndex = "" + N.props.zIndex;
49401
49401
  }
49402
- function j(pe, Ee, Ae) {
49402
+ function j(he, Ee, Ae) {
49403
49403
  if (Ae === void 0 && (Ae = !0), B.forEach(function(Fe) {
49404
- Fe[pe] && Fe[pe].apply(Fe, Ee);
49404
+ Fe[he] && Fe[he].apply(Fe, Ee);
49405
49405
  }), Ae) {
49406
49406
  var ze;
49407
- (ze = N.props)[pe].apply(ze, Ee);
49407
+ (ze = N.props)[he].apply(ze, Ee);
49408
49408
  }
49409
49409
  }
49410
49410
  function W() {
49411
- var pe = N.props.aria;
49412
- if (pe.content) {
49413
- var Ee = "aria-" + pe.content, Ae = L.id, ze = normalizeToArray(N.props.triggerTarget || u);
49411
+ var he = N.props.aria;
49412
+ if (he.content) {
49413
+ var Ee = "aria-" + he.content, Ae = L.id, ze = normalizeToArray(N.props.triggerTarget || u);
49414
49414
  ze.forEach(function(Fe) {
49415
49415
  var qe = Fe.getAttribute(Ee);
49416
49416
  if (N.state.isVisible)
@@ -49424,20 +49424,20 @@ function createTippy(u, n) {
49424
49424
  }
49425
49425
  function ee() {
49426
49426
  if (!(Y || !N.props.aria.expanded)) {
49427
- var pe = normalizeToArray(N.props.triggerTarget || u);
49428
- pe.forEach(function(Ee) {
49427
+ var he = normalizeToArray(N.props.triggerTarget || u);
49428
+ he.forEach(function(Ee) {
49429
49429
  N.props.interactive ? Ee.setAttribute("aria-expanded", N.state.isVisible && Ee === ne() ? "true" : "false") : Ee.removeAttribute("aria-expanded");
49430
49430
  });
49431
49431
  }
49432
49432
  }
49433
49433
  function se() {
49434
- te().removeEventListener("mousemove", k), mouseMoveListeners = mouseMoveListeners.filter(function(pe) {
49435
- return pe !== k;
49434
+ te().removeEventListener("mousemove", k), mouseMoveListeners = mouseMoveListeners.filter(function(he) {
49435
+ return he !== k;
49436
49436
  });
49437
49437
  }
49438
- function ae(pe) {
49439
- if (!(currentInput.isTouch && (S || pe.type === "mousedown"))) {
49440
- var Ee = pe.composedPath && pe.composedPath()[0] || pe.target;
49438
+ function ae(he) {
49439
+ if (!(currentInput.isTouch && (S || he.type === "mousedown"))) {
49440
+ var Ee = he.composedPath && he.composedPath()[0] || he.target;
49441
49441
  if (!(N.props.interactive && actualContains(L, Ee))) {
49442
49442
  if (normalizeToArray(N.props.triggerTarget || u).some(function(Ae) {
49443
49443
  return actualContains(Ae, Ee);
@@ -49445,7 +49445,7 @@ function createTippy(u, n) {
49445
49445
  if (currentInput.isTouch || N.state.isVisible && N.props.trigger.indexOf("click") >= 0)
49446
49446
  return;
49447
49447
  } else
49448
- j("onClickOutside", [N, pe]);
49448
+ j("onClickOutside", [N, he]);
49449
49449
  N.props.hideOnClick === !0 && (N.clearDelayTimeouts(), N.hide(), b = !0, setTimeout(function() {
49450
49450
  b = !1;
49451
49451
  }), N.state.isMounted || de());
@@ -49459,80 +49459,80 @@ function createTippy(u, n) {
49459
49459
  S = !1;
49460
49460
  }
49461
49461
  function oe() {
49462
- var pe = te();
49463
- pe.addEventListener("mousedown", ae, !0), pe.addEventListener("touchend", ae, TOUCH_OPTIONS), pe.addEventListener("touchstart", ce, TOUCH_OPTIONS), pe.addEventListener("touchmove", le, TOUCH_OPTIONS);
49462
+ var he = te();
49463
+ he.addEventListener("mousedown", ae, !0), he.addEventListener("touchend", ae, TOUCH_OPTIONS), he.addEventListener("touchstart", ce, TOUCH_OPTIONS), he.addEventListener("touchmove", le, TOUCH_OPTIONS);
49464
49464
  }
49465
49465
  function de() {
49466
- var pe = te();
49467
- pe.removeEventListener("mousedown", ae, !0), pe.removeEventListener("touchend", ae, TOUCH_OPTIONS), pe.removeEventListener("touchstart", ce, TOUCH_OPTIONS), pe.removeEventListener("touchmove", le, TOUCH_OPTIONS);
49466
+ var he = te();
49467
+ he.removeEventListener("mousedown", ae, !0), he.removeEventListener("touchend", ae, TOUCH_OPTIONS), he.removeEventListener("touchstart", ce, TOUCH_OPTIONS), he.removeEventListener("touchmove", le, TOUCH_OPTIONS);
49468
49468
  }
49469
- function fe(pe, Ee) {
49470
- me(pe, function() {
49469
+ function fe(he, Ee) {
49470
+ pe(he, function() {
49471
49471
  !N.state.isVisible && L.parentNode && L.parentNode.contains(L) && Ee();
49472
49472
  });
49473
49473
  }
49474
- function he(pe, Ee) {
49475
- me(pe, Ee);
49474
+ function me(he, Ee) {
49475
+ pe(he, Ee);
49476
49476
  }
49477
- function me(pe, Ee) {
49477
+ function pe(he, Ee) {
49478
49478
  var Ae = re().box;
49479
49479
  function ze(Fe) {
49480
49480
  Fe.target === Ae && (updateTransitionEndListener(Ae, "remove", ze), Ee());
49481
49481
  }
49482
- if (pe === 0)
49482
+ if (he === 0)
49483
49483
  return Ee();
49484
49484
  updateTransitionEndListener(Ae, "remove", A), updateTransitionEndListener(Ae, "add", ze), A = ze;
49485
49485
  }
49486
- function ge(pe, Ee, Ae) {
49486
+ function ve(he, Ee, Ae) {
49487
49487
  Ae === void 0 && (Ae = !1);
49488
49488
  var ze = normalizeToArray(N.props.triggerTarget || u);
49489
49489
  ze.forEach(function(Fe) {
49490
- Fe.addEventListener(pe, Ee, Ae), _.push({
49490
+ Fe.addEventListener(he, Ee, Ae), _.push({
49491
49491
  node: Fe,
49492
- eventType: pe,
49492
+ eventType: he,
49493
49493
  handler: Ee,
49494
49494
  options: Ae
49495
49495
  });
49496
49496
  });
49497
49497
  }
49498
- function ve() {
49499
- Q() && (ge("touchstart", Te, {
49498
+ function ge() {
49499
+ Q() && (ve("touchstart", Te, {
49500
49500
  passive: !0
49501
- }), ge("touchend", we, {
49501
+ }), ve("touchend", we, {
49502
49502
  passive: !0
49503
- })), splitBySpaces(N.props.trigger).forEach(function(pe) {
49504
- if (pe !== "manual")
49505
- switch (ge(pe, Te), pe) {
49503
+ })), splitBySpaces(N.props.trigger).forEach(function(he) {
49504
+ if (he !== "manual")
49505
+ switch (ve(he, Te), he) {
49506
49506
  case "mouseenter":
49507
- ge("mouseleave", we);
49507
+ ve("mouseleave", we);
49508
49508
  break;
49509
49509
  case "focus":
49510
- ge(isIE11 ? "focusout" : "blur", Be);
49510
+ ve(isIE11 ? "focusout" : "blur", Be);
49511
49511
  break;
49512
49512
  case "focusin":
49513
- ge("focusout", Be);
49513
+ ve("focusout", Be);
49514
49514
  break;
49515
49515
  }
49516
49516
  });
49517
49517
  }
49518
49518
  function xe() {
49519
- _.forEach(function(pe) {
49520
- var Ee = pe.node, Ae = pe.eventType, ze = pe.handler, Fe = pe.options;
49519
+ _.forEach(function(he) {
49520
+ var Ee = he.node, Ae = he.eventType, ze = he.handler, Fe = he.options;
49521
49521
  Ee.removeEventListener(Ae, ze, Fe);
49522
49522
  }), _ = [];
49523
49523
  }
49524
- function Te(pe) {
49524
+ function Te(he) {
49525
49525
  var Ee, Ae = !1;
49526
- if (!(!N.state.isEnabled || _e(pe) || b)) {
49526
+ if (!(!N.state.isEnabled || _e(he) || b)) {
49527
49527
  var ze = ((Ee = T) == null ? void 0 : Ee.type) === "focus";
49528
- T = pe, R = pe.currentTarget, ee(), !N.state.isVisible && isMouseEvent(pe) && mouseMoveListeners.forEach(function(Fe) {
49529
- return Fe(pe);
49530
- }), pe.type === "click" && (N.props.trigger.indexOf("mouseenter") < 0 || y) && N.props.hideOnClick !== !1 && N.state.isVisible ? Ae = !0 : Le(pe), pe.type === "click" && (y = !Ae), Ae && !ze && De(pe);
49528
+ T = he, R = he.currentTarget, ee(), !N.state.isVisible && isMouseEvent(he) && mouseMoveListeners.forEach(function(Fe) {
49529
+ return Fe(he);
49530
+ }), he.type === "click" && (N.props.trigger.indexOf("mouseenter") < 0 || y) && N.props.hideOnClick !== !1 && N.state.isVisible ? Ae = !0 : Le(he), he.type === "click" && (y = !Ae), Ae && !ze && De(he);
49531
49531
  }
49532
49532
  }
49533
- function ye(pe) {
49534
- var Ee = pe.target, Ae = ne().contains(Ee) || L.contains(Ee);
49535
- if (!(pe.type === "mousemove" && Ae)) {
49533
+ function ye(he) {
49534
+ var Ee = he.target, Ae = ne().contains(Ee) || L.contains(Ee);
49535
+ if (!(he.type === "mousemove" && Ae)) {
49536
49536
  var ze = Ne().concat(L).map(function(Fe) {
49537
49537
  var qe, Xe = Fe._tippy, ct = (qe = Xe.popperInstance) == null ? void 0 : qe.state;
49538
49538
  return ct ? {
@@ -49541,28 +49541,28 @@ function createTippy(u, n) {
49541
49541
  props: d
49542
49542
  } : null;
49543
49543
  }).filter(Boolean);
49544
- isCursorOutsideInteractiveBorder(ze, pe) && (se(), De(pe));
49544
+ isCursorOutsideInteractiveBorder(ze, he) && (se(), De(he));
49545
49545
  }
49546
49546
  }
49547
- function we(pe) {
49548
- var Ee = _e(pe) || N.props.trigger.indexOf("click") >= 0 && y;
49547
+ function we(he) {
49548
+ var Ee = _e(he) || N.props.trigger.indexOf("click") >= 0 && y;
49549
49549
  if (!Ee) {
49550
49550
  if (N.props.interactive) {
49551
- N.hideWithInteractivity(pe);
49551
+ N.hideWithInteractivity(he);
49552
49552
  return;
49553
49553
  }
49554
- De(pe);
49554
+ De(he);
49555
49555
  }
49556
49556
  }
49557
- function Be(pe) {
49558
- N.props.trigger.indexOf("focusin") < 0 && pe.target !== ne() || N.props.interactive && pe.relatedTarget && L.contains(pe.relatedTarget) || De(pe);
49557
+ function Be(he) {
49558
+ N.props.trigger.indexOf("focusin") < 0 && he.target !== ne() || N.props.interactive && he.relatedTarget && L.contains(he.relatedTarget) || De(he);
49559
49559
  }
49560
- function _e(pe) {
49561
- return currentInput.isTouch ? Q() !== pe.type.indexOf("touch") >= 0 : !1;
49560
+ function _e(he) {
49561
+ return currentInput.isTouch ? Q() !== he.type.indexOf("touch") >= 0 : !1;
49562
49562
  }
49563
49563
  function Me() {
49564
49564
  Ie();
49565
- var pe = N.props, Ee = pe.popperOptions, Ae = pe.placement, ze = pe.offset, Fe = pe.getReferenceClientRect, qe = pe.moveTransition, Xe = J() ? getChildren(L).arrow : null, ct = Fe ? {
49565
+ var he = N.props, Ee = he.popperOptions, Ae = he.placement, ze = he.offset, Fe = he.getReferenceClientRect, qe = he.moveTransition, Xe = J() ? getChildren(L).arrow : null, ct = Fe ? {
49566
49566
  getBoundingClientRect: Fe,
49567
49567
  contextElement: Fe.contextElement || ne()
49568
49568
  } : u, ot = {
@@ -49621,8 +49621,8 @@ function createTippy(u, n) {
49621
49621
  N.popperInstance && (N.popperInstance.destroy(), N.popperInstance = null);
49622
49622
  }
49623
49623
  function Ve() {
49624
- var pe = N.props.appendTo, Ee, Ae = ne();
49625
- N.props.interactive && pe === TIPPY_DEFAULT_APPEND_TO || pe === "parent" ? Ee = Ae.parentNode : Ee = invokeWithArgsOrReturn(pe, [Ae]), Ee.contains(L) || Ee.appendChild(L), N.state.isMounted = !0, Me(), process.env.NODE_ENV !== "production" && warnWhen(N.props.interactive && pe === defaultProps.appendTo && Ae.nextElementSibling !== L, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
49624
+ var he = N.props.appendTo, Ee, Ae = ne();
49625
+ N.props.interactive && he === TIPPY_DEFAULT_APPEND_TO || he === "parent" ? Ee = Ae.parentNode : Ee = invokeWithArgsOrReturn(he, [Ae]), Ee.contains(L) || Ee.appendChild(L), N.state.isMounted = !0, Me(), process.env.NODE_ENV !== "production" && warnWhen(N.props.interactive && he === defaultProps.appendTo && Ae.nextElementSibling !== L, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
49626
49626
 
49627
49627
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
49628
49628
 
@@ -49633,19 +49633,19 @@ function createTippy(u, n) {
49633
49633
  function Ne() {
49634
49634
  return arrayFrom(L.querySelectorAll("[data-tippy-root]"));
49635
49635
  }
49636
- function Le(pe) {
49637
- N.clearDelayTimeouts(), pe && j("onTrigger", [N, pe]), oe();
49636
+ function Le(he) {
49637
+ N.clearDelayTimeouts(), he && j("onTrigger", [N, he]), oe();
49638
49638
  var Ee = F(!0), Ae = Z(), ze = Ae[0], Fe = Ae[1];
49639
49639
  currentInput.isTouch && ze === "hold" && Fe && (Ee = Fe), Ee ? p = setTimeout(function() {
49640
49640
  N.show();
49641
49641
  }, Ee) : N.show();
49642
49642
  }
49643
- function De(pe) {
49644
- if (N.clearDelayTimeouts(), j("onUntrigger", [N, pe]), !N.state.isVisible) {
49643
+ function De(he) {
49644
+ if (N.clearDelayTimeouts(), j("onUntrigger", [N, he]), !N.state.isVisible) {
49645
49645
  de();
49646
49646
  return;
49647
49647
  }
49648
- if (!(N.props.trigger.indexOf("mouseenter") >= 0 && N.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(pe.type) >= 0 && y)) {
49648
+ if (!(N.props.trigger.indexOf("mouseenter") >= 0 && N.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(he.type) >= 0 && y)) {
49649
49649
  var Ee = F(!1);
49650
49650
  Ee ? m = setTimeout(function() {
49651
49651
  N.state.isVisible && N.hide();
@@ -49663,28 +49663,28 @@ function createTippy(u, n) {
49663
49663
  function ke() {
49664
49664
  clearTimeout(p), clearTimeout(m), cancelAnimationFrame(g);
49665
49665
  }
49666
- function He(pe) {
49666
+ function He(he) {
49667
49667
  if (process.env.NODE_ENV !== "production" && warnWhen(N.state.isDestroyed, createMemoryLeakWarning("setProps")), !N.state.isDestroyed) {
49668
- j("onBeforeUpdate", [N, pe]), xe();
49669
- var Ee = N.props, Ae = evaluateProps(u, Object.assign({}, Ee, removeUndefinedProps(pe), {
49668
+ j("onBeforeUpdate", [N, he]), xe();
49669
+ var Ee = N.props, Ae = evaluateProps(u, Object.assign({}, Ee, removeUndefinedProps(he), {
49670
49670
  ignoreAttributes: !0
49671
49671
  }));
49672
- N.props = Ae, ve(), Ee.interactiveDebounce !== Ae.interactiveDebounce && (se(), k = debounce(ye, Ae.interactiveDebounce)), Ee.triggerTarget && !Ae.triggerTarget ? normalizeToArray(Ee.triggerTarget).forEach(function(ze) {
49672
+ N.props = Ae, ge(), Ee.interactiveDebounce !== Ae.interactiveDebounce && (se(), k = debounce(ye, Ae.interactiveDebounce)), Ee.triggerTarget && !Ae.triggerTarget ? normalizeToArray(Ee.triggerTarget).forEach(function(ze) {
49673
49673
  ze.removeAttribute("aria-expanded");
49674
49674
  }) : Ae.triggerTarget && u.removeAttribute("aria-expanded"), ee(), q(), H && H(Ee, Ae), N.popperInstance && (Me(), Ne().forEach(function(ze) {
49675
49675
  requestAnimationFrame(ze._tippy.popperInstance.forceUpdate);
49676
- })), j("onAfterUpdate", [N, pe]);
49676
+ })), j("onAfterUpdate", [N, he]);
49677
49677
  }
49678
49678
  }
49679
- function Ue(pe) {
49679
+ function Ue(he) {
49680
49680
  N.setProps({
49681
- content: pe
49681
+ content: he
49682
49682
  });
49683
49683
  }
49684
49684
  function Ye() {
49685
49685
  process.env.NODE_ENV !== "production" && warnWhen(N.state.isDestroyed, createMemoryLeakWarning("show"));
49686
- var pe = N.state.isVisible, Ee = N.state.isDestroyed, Ae = !N.state.isEnabled, ze = currentInput.isTouch && !N.props.touch, Fe = getValueAtIndexOrReturn(N.props.duration, 0, defaultProps.duration);
49687
- if (!(pe || Ee || Ae || ze) && !ne().hasAttribute("disabled") && (j("onShow", [N], !1), N.props.onShow(N) !== !1)) {
49686
+ var he = N.state.isVisible, Ee = N.state.isDestroyed, Ae = !N.state.isEnabled, ze = currentInput.isTouch && !N.props.touch, Fe = getValueAtIndexOrReturn(N.props.duration, 0, defaultProps.duration);
49687
+ if (!(he || Ee || Ae || ze) && !ne().hasAttribute("disabled") && (j("onShow", [N], !1), N.props.onShow(N) !== !1)) {
49688
49688
  if (N.state.isVisible = !0, J() && (L.style.visibility = "visible"), q(), oe(), N.state.isMounted || (L.style.transition = "none"), J()) {
49689
49689
  var qe = re(), Xe = qe.box, ct = qe.content;
49690
49690
  setTransitionDuration([Xe, ct], 0);
@@ -49696,7 +49696,7 @@ function createTippy(u, n) {
49696
49696
  var Pe = re(), We = Pe.box, $e = Pe.content;
49697
49697
  setTransitionDuration([We, $e], Fe), setVisibilityState([We, $e], "visible");
49698
49698
  }
49699
- W(), ee(), pushIfUnique(mountedInstances, N), (Je = N.popperInstance) == null || Je.forceUpdate(), j("onMount", [N]), N.props.animation && J() && he(Fe, function() {
49699
+ W(), ee(), pushIfUnique(mountedInstances, N), (Je = N.popperInstance) == null || Je.forceUpdate(), j("onMount", [N]), N.props.animation && J() && me(Fe, function() {
49700
49700
  N.state.isShown = !0, j("onShown", [N]);
49701
49701
  });
49702
49702
  }
@@ -49705,8 +49705,8 @@ function createTippy(u, n) {
49705
49705
  }
49706
49706
  function je() {
49707
49707
  process.env.NODE_ENV !== "production" && warnWhen(N.state.isDestroyed, createMemoryLeakWarning("hide"));
49708
- var pe = !N.state.isVisible, Ee = N.state.isDestroyed, Ae = !N.state.isEnabled, ze = getValueAtIndexOrReturn(N.props.duration, 1, defaultProps.duration);
49709
- if (!(pe || Ee || Ae) && (j("onHide", [N], !1), N.props.onHide(N) !== !1)) {
49708
+ var he = !N.state.isVisible, Ee = N.state.isDestroyed, Ae = !N.state.isEnabled, ze = getValueAtIndexOrReturn(N.props.duration, 1, defaultProps.duration);
49709
+ if (!(he || Ee || Ae) && (j("onHide", [N], !1), N.props.onHide(N) !== !1)) {
49710
49710
  if (N.state.isVisible = !1, N.state.isShown = !1, E = !1, y = !1, J() && (L.style.visibility = "hidden"), se(), de(), q(!0), J()) {
49711
49711
  var Fe = re(), qe = Fe.box, Xe = Fe.content;
49712
49712
  N.props.animation && (setTransitionDuration([qe, Xe], ze), setVisibilityState([qe, Xe], "hidden"));
@@ -49714,14 +49714,14 @@ function createTippy(u, n) {
49714
49714
  W(), ee(), N.props.animation ? J() && fe(ze, N.unmount) : N.unmount();
49715
49715
  }
49716
49716
  }
49717
- function Ge(pe) {
49718
- process.env.NODE_ENV !== "production" && warnWhen(N.state.isDestroyed, createMemoryLeakWarning("hideWithInteractivity")), te().addEventListener("mousemove", k), pushIfUnique(mouseMoveListeners, k), k(pe);
49717
+ function Ge(he) {
49718
+ process.env.NODE_ENV !== "production" && warnWhen(N.state.isDestroyed, createMemoryLeakWarning("hideWithInteractivity")), te().addEventListener("mousemove", k), pushIfUnique(mouseMoveListeners, k), k(he);
49719
49719
  }
49720
49720
  function Qe() {
49721
- process.env.NODE_ENV !== "production" && warnWhen(N.state.isDestroyed, createMemoryLeakWarning("unmount")), N.state.isVisible && N.hide(), N.state.isMounted && (Ie(), Ne().forEach(function(pe) {
49722
- pe._tippy.unmount();
49723
- }), L.parentNode && L.parentNode.removeChild(L), mountedInstances = mountedInstances.filter(function(pe) {
49724
- return pe !== N;
49721
+ process.env.NODE_ENV !== "production" && warnWhen(N.state.isDestroyed, createMemoryLeakWarning("unmount")), N.state.isVisible && N.hide(), N.state.isMounted && (Ie(), Ne().forEach(function(he) {
49722
+ he._tippy.unmount();
49723
+ }), L.parentNode && L.parentNode.removeChild(L), mountedInstances = mountedInstances.filter(function(he) {
49724
+ return he !== N;
49725
49725
  }), N.state.isMounted = !1, j("onHidden", [N]));
49726
49726
  }
49727
49727
  function nt() {
@@ -60276,34 +60276,34 @@ const PostBuilderEditorInstance = ({
60276
60276
  }
60277
60277
  })
60278
60278
  );
60279
- const he = getEditorMetrics(u);
60279
+ const me = getEditorMetrics(u);
60280
60280
  V({
60281
60281
  editorType: d,
60282
60282
  status: "attempted",
60283
60283
  postId: de?.postId,
60284
60284
  postType: de?.type,
60285
- ...he
60285
+ ...me
60286
60286
  });
60287
- let me;
60287
+ let pe;
60288
60288
  if (H) {
60289
- const ge = /* @__PURE__ */ new Map();
60290
- for (const ve of de.items ?? []) {
60291
- if (!("sources" in ve) || !ve.sources?.original?.url?.startsWith("blob:")) continue;
60292
- const xe = "option_id" in ve ? u.storage?.poll?.getPendingUpload?.(ve.key) : u.storage?.smartMediaUpload?.getPendingUpload?.(ve.key);
60293
- xe && ge.set(ve.key, xe);
60289
+ const ve = /* @__PURE__ */ new Map();
60290
+ for (const ge of de.items ?? []) {
60291
+ if (!("sources" in ge) || !ge.sources?.original?.url?.startsWith("blob:")) continue;
60292
+ const xe = "option_id" in ge ? u.storage?.poll?.getPendingUpload?.(ge.key) : u.storage?.smartMediaUpload?.getPendingUpload?.(ge.key);
60293
+ xe && ve.set(ge.key, xe);
60294
60294
  }
60295
60295
  if (d !== EditorTypes.Poll) {
60296
- const ve = findByType(se, "media");
60297
- for (const xe of ve) {
60296
+ const ge = findByType(se, "media");
60297
+ for (const xe of ge) {
60298
60298
  const Te = xe?.attrs?.uid, ye = xe?.attrs?.src;
60299
- if (typeof Te != "string" || typeof ye != "string" || !ye.startsWith("blob:") || ge.has(Te)) continue;
60299
+ if (typeof Te != "string" || typeof ye != "string" || !ye.startsWith("blob:") || ve.has(Te)) continue;
60300
60300
  const we = u.storage?.smartMediaUpload?.getPendingUpload?.(Te);
60301
- we && ge.set(Te, we);
60301
+ we && ve.set(Te, we);
60302
60302
  }
60303
60303
  }
60304
- ge.size > 0 && (me = ge);
60304
+ ve.size > 0 && (pe = ve);
60305
60305
  }
60306
- y?.({ payload: de, html: ee, json: se, text: ae, pendingUploads: me }), g && (Y(), d === EditorTypes.Poll ? u?.chain()?.focus()?.setContent({ type: "doc", content: [{ type: "paragraph" }, { type: "poll" }] })?.run() : u?.chain()?.focus()?.clearContent()?.run());
60306
+ y?.({ payload: de, html: ee, json: se, text: ae, pendingUploads: pe }), g && (Y(), d === EditorTypes.Poll ? u?.chain()?.focus()?.setContent({ type: "doc", content: [{ type: "paragraph" }, { type: "poll" }] })?.run() : u?.chain()?.focus()?.clearContent()?.run());
60307
60307
  },
60308
60308
  [H, Y, g, u, d, y, A, V]
60309
60309
  );
@@ -60531,7 +60531,7 @@ const PostBuilderEditor = ({
60531
60531
  hideSubmitButton: O,
60532
60532
  onEditorTabChange: N
60533
60533
  }) => {
60534
- const [V, L] = useState(D ?? EditorTypes.Media), [H, B] = useState(""), Y = useAnalyticsStore((he) => he.createSession), Z = useAnalyticsStore((he) => he.deleteSession), Q = useAnalyticsStore((he) => he.trackEditorFocus), {
60534
+ const [V, L] = useState(D ?? EditorTypes.Media), [H, B] = useState(""), Y = useAnalyticsStore((pe) => pe.createSession), Z = useAnalyticsStore((pe) => pe.deleteSession), Q = useAnalyticsStore((pe) => pe.trackEditorFocus), {
60535
60535
  editor: J,
60536
60536
  actions: ne,
60537
60537
  store: te,
@@ -60553,69 +60553,74 @@ const PostBuilderEditor = ({
60553
60553
  disableNavigationWarning: I,
60554
60554
  initialContent: P
60555
60555
  }), ce = useCallback(
60556
- (he) => {
60557
- F(), L(he), N?.(he);
60556
+ (pe) => {
60557
+ C?.({ ...pe, onSent: le });
60558
+ },
60559
+ [C, le]
60560
+ ), oe = useCallback(
60561
+ (pe) => {
60562
+ F(), L(pe), N?.(pe);
60558
60563
  },
60559
60564
  [F, N]
60560
- ), oe = useMemo(() => ({ editor: J }), [J]);
60565
+ ), de = useMemo(() => ({ editor: J }), [J]);
60561
60566
  useEffect(() => {
60562
60567
  if (u === EditorPlacement.Modal && !y) return;
60563
- const he = Y(EditorTypes.Media, u);
60564
- return B(he), () => {
60565
- Z(he);
60568
+ const pe = Y(EditorTypes.Media, u);
60569
+ return B(pe), () => {
60570
+ Z(pe);
60566
60571
  };
60567
60572
  }, [Y, Z, y, u]), useEffect(() => {
60568
- const he = (me) => {
60573
+ const pe = (ve) => {
60569
60574
  if (!J) return;
60570
- const { newSessionId: ge } = me.detail;
60575
+ const { newSessionId: ge } = ve.detail;
60571
60576
  B(ge), J.isFocused && Q(ge);
60572
60577
  };
60573
60578
  return window.addEventListener(
60574
60579
  PostBuilderEvents.POST_SESSION_ROTATED,
60575
- he
60580
+ pe
60576
60581
  ), () => {
60577
60582
  window.removeEventListener(
60578
60583
  PostBuilderEvents.POST_SESSION_ROTATED,
60579
- he
60584
+ pe
60580
60585
  );
60581
60586
  };
60582
60587
  }, [J, Q]), useEffect(() => {
60583
- const he = (me) => {
60584
- const ge = me.detail;
60588
+ const pe = (ve) => {
60589
+ const ge = ve.detail;
60585
60590
  !ge || ge.groupId !== n || ge.editorType && ge.editorType !== V && (ee(), L(ge.editorType), N?.(ge.editorType));
60586
60591
  };
60587
60592
  return window.addEventListener(
60588
60593
  PostBuilderEvents.DRAFT_REHYDRATE_REQUEST,
60589
- he
60594
+ pe
60590
60595
  ), () => {
60591
60596
  window.removeEventListener(
60592
60597
  PostBuilderEvents.DRAFT_REHYDRATE_REQUEST,
60593
- he
60598
+ pe
60594
60599
  );
60595
60600
  };
60596
60601
  }, [n, V, N, ee]), useEffect(() => {
60597
60602
  if (!J || !H) return;
60598
- const he = requestAnimationFrame(() => {
60603
+ const pe = requestAnimationFrame(() => {
60599
60604
  J.view?.dom && (J.view.dom.setAttribute("data-session-id", H), J.view.dom.setAttribute("data-editor-type", V));
60600
60605
  });
60601
- return () => cancelAnimationFrame(he);
60606
+ return () => cancelAnimationFrame(pe);
60602
60607
  }, [J, H, V]);
60603
- const de = useRef(!1);
60608
+ const fe = useRef(!1);
60604
60609
  useEffect(() => {
60605
60610
  if (!J || !k) return;
60606
- const he = () => {
60607
- const me = V === EditorTypes.Poll ? !isPollEmpty(J.getJSON()) : !J.isEmpty;
60608
- me !== de.current && (de.current = me, k(me));
60611
+ const pe = () => {
60612
+ const ve = V === EditorTypes.Poll ? !isPollEmpty(J.getJSON()) : !J.isEmpty;
60613
+ ve !== fe.current && (fe.current = ve, k(ve));
60609
60614
  };
60610
- return J.on("update", he), () => {
60611
- J.off("update", he);
60615
+ return J.on("update", pe), () => {
60616
+ J.off("update", pe);
60612
60617
  };
60613
60618
  }, [J, k, V]);
60614
- const fe = useRef(!1);
60619
+ const me = useRef(!1);
60615
60620
  return useEffect(() => {
60616
- !J || fe.current || !R || (fe.current = !0, R({ saveDraft: j, discardDraft: W, keepEditing: q, setContent: se, getContent: ae, clearEditor: le }));
60621
+ !J || me.current || !R || (me.current = !0, R({ saveDraft: j, discardDraft: W, keepEditing: q, setContent: se, getContent: ae, clearEditor: le }));
60617
60622
  }, [J, R, j, W, q, se, ae, le]), !re || !J ? /* @__PURE__ */ jsx(EditorSkeleton, {}) : /* @__PURE__ */ jsx(AnalyticsSessionProvider, { sessionId: H, editorType: V, placement: u, children: /* @__PURE__ */ jsxs("div", { className: "max-w-full w-full", "data-theme": "select-post-builder", children: [
60618
- /* @__PURE__ */ jsx(EditorContext.Provider, { value: oe, children: y ? /* @__PURE__ */ jsx(
60623
+ /* @__PURE__ */ jsx(EditorContext.Provider, { value: de, children: y ? /* @__PURE__ */ jsx(
60619
60624
  PostBuilderEditorInstanceWithDialog,
60620
60625
  {
60621
60626
  placement: u,
@@ -60623,7 +60628,7 @@ const PostBuilderEditor = ({
60623
60628
  user: p,
60624
60629
  editor: J,
60625
60630
  editorTab: V,
60626
- onSwitchEditor: ce,
60631
+ onSwitchEditor: oe,
60627
60632
  store: te,
60628
60633
  actions: ne,
60629
60634
  open: y,
@@ -60631,7 +60636,7 @@ const PostBuilderEditor = ({
60631
60636
  onCreatePost: E,
60632
60637
  onVoiceComment: T,
60633
60638
  onVoiceRecord: A,
60634
- onQuickGif: C,
60639
+ onQuickGif: C ? ce : void 0,
60635
60640
  isSubmitting: S,
60636
60641
  clearOnSuccess: g,
60637
60642
  onGroupSelect: _
@@ -60644,13 +60649,13 @@ const PostBuilderEditor = ({
60644
60649
  editor: J,
60645
60650
  actions: ne,
60646
60651
  editorTab: V,
60647
- onSwitchEditor: ce,
60652
+ onSwitchEditor: oe,
60648
60653
  store: te,
60649
60654
  isSubmitting: S,
60650
60655
  onCreatePost: E,
60651
60656
  onVoiceComment: T,
60652
60657
  onVoiceRecord: A,
60653
- onQuickGif: C,
60658
+ onQuickGif: C ? ce : void 0,
60654
60659
  clearOnSuccess: g,
60655
60660
  placement: u,
60656
60661
  hideSubmitButton: O,