"use strict";
(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
  [2491],
  {
    61055: function (e, t) {
      Object.defineProperty(t, "__esModule", { value: !0 }),
        (t.default = {
          icon: {
            tag: "svg",
            attrs: { viewBox: "64 64 896 896", focusable: "false" },
            children: [
              {
                tag: "path",
                attrs: {
                  d: "M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z",
                },
              },
            ],
          },
          name: "ellipsis",
          theme: "outlined",
        });
    },
    36025: function (e, t, n) {
      Object.defineProperty(t, "__esModule", { value: !0 }),
        (t.default = void 0);
      var r,
        o = ((r = n(7398)), r && r.__esModule ? r : { default: r });
      (t.default = o), (e.exports = o);
    },
    7398: function (e, t, n) {
      var r = n(12132),
        o = n(99903);
      Object.defineProperty(t, "__esModule", { value: !0 }),
        (t.default = void 0);
      var i = r(n(28927)),
        u = (function (e, t) {
          if (!t && e && e.__esModule) return e;
          if (null === e || ("object" !== o(e) && "function" != typeof e))
            return { default: e };
          var n = c(t);
          if (n && n.has(e)) return n.get(e);
          var r = {},
            i = Object.defineProperty && Object.getOwnPropertyDescriptor;
          for (var u in e)
            if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
              var l = i ? Object.getOwnPropertyDescriptor(e, u) : null;
              l && (l.get || l.set)
                ? Object.defineProperty(r, u, l)
                : (r[u] = e[u]);
            }
          return (r.default = e), n && n.set(e, r), r;
        })(n(59496)),
        l = r(n(61055)),
        a = r(n(74925));
      function c(e) {
        if ("function" != typeof WeakMap) return null;
        var t = new WeakMap(),
          n = new WeakMap();
        return (c = function (e) {
          return e ? n : t;
        })(e);
      }
      var s = function (e, t) {
        return u.createElement(
          a.default,
          (0, i.default)((0, i.default)({}, e), {}, { ref: t, icon: l.default })
        );
      };
      s.displayName = "EllipsisOutlined";
      var f = u.forwardRef(s);
      t.default = f;
    },
    70718: function (e, t, n) {
      Object.defineProperty(t, "__esModule", { value: !0 }),
        (t.getTransitionName = t.getTransitionDirection = t.default = void 0);
      var r = n(49893),
        o = function () {
          return { height: 0, opacity: 0 };
        },
        i = function (e) {
          return { height: e.scrollHeight, opacity: 1 };
        },
        u = function (e) {
          return { height: e ? e.offsetHeight : 0 };
        },
        l = function (e, t) {
          return (
            (null == t ? void 0 : t.deadline) === !0 ||
            "height" === t.propertyName
          );
        };
      (0, r.tuple)("bottomLeft", "bottomRight", "topLeft", "topRight");
      var a = function (e) {
        return void 0 !== e && ("topLeft" === e || "topRight" === e)
          ? "slide-down"
          : "slide-up";
      };
      t.getTransitionDirection = a;
      var c = function (e, t, n) {
        return void 0 !== n ? n : "".concat(e, "-").concat(t);
      };
      (t.getTransitionName = c),
        (t.default = {
          motionName: "ant-motion-collapse",
          onAppearStart: o,
          onEnterStart: o,
          onAppearActive: i,
          onEnterActive: i,
          onLeaveStart: u,
          onLeaveActive: o,
          onAppearEnd: l,
          onEnterEnd: l,
          onLeaveEnd: l,
          motionDeadline: 500,
        });
    },
    49893: function (e, t) {
      Object.defineProperty(t, "__esModule", { value: !0 }),
        (t.tupleNum = t.tuple = void 0);
      var n = function () {
        for (var e = arguments.length, t = Array(e), n = 0; n < e; n++)
          t[n] = arguments[n];
        return t;
      };
      t.tuple = n;
      var r = function () {
        for (var e = arguments.length, t = Array(e), n = 0; n < e; n++)
          t[n] = arguments[n];
        return t;
      };
      t.tupleNum = r;
    },
    44921: function (e, t, n) {
      n.r(t),
        n.d(t, {
          default: function () {
            return Z;
          },
        });
      var r = n(24572),
        o = n(75782),
        i = n(91600),
        u = n(68901),
        l = n(59496),
        a = n(85628),
        c = n(84875),
        s = n.n(c),
        f = { adjustX: 1, adjustY: 1 },
        d = [0, 0],
        v = {
          topLeft: {
            points: ["bl", "tl"],
            overflow: f,
            offset: [0, -4],
            targetOffset: d,
          },
          topCenter: {
            points: ["bc", "tc"],
            overflow: f,
            offset: [0, -4],
            targetOffset: d,
          },
          topRight: {
            points: ["br", "tr"],
            overflow: f,
            offset: [0, -4],
            targetOffset: d,
          },
          bottomLeft: {
            points: ["tl", "bl"],
            overflow: f,
            offset: [0, 4],
            targetOffset: d,
          },
          bottomCenter: {
            points: ["tc", "bc"],
            overflow: f,
            offset: [0, 4],
            targetOffset: d,
          },
          bottomRight: {
            points: ["tr", "br"],
            overflow: f,
            offset: [0, 4],
            targetOffset: d,
          },
        },
        p = n(61950),
        m = n(25532),
        h = n(96404),
        y = p.Z.ESC,
        g = p.Z.TAB,
        b = [
          "arrow",
          "prefixCls",
          "transitionName",
          "animation",
          "align",
          "placement",
          "placements",
          "getPopupContainer",
          "showAction",
          "hideAction",
          "overlayClassName",
          "overlayStyle",
          "visible",
          "trigger",
          "autoFocus",
        ],
        Z = l.forwardRef(function (e, t) {
          var n,
            c,
            f,
            d,
            p,
            Z,
            C,
            E,
            w,
            M,
            P = e.arrow,
            N = void 0 !== P && P,
            k = e.prefixCls,
            S = void 0 === k ? "rc-dropdown" : k,
            x = e.transitionName,
            I = e.animation,
            R = e.align,
            K = e.placement,
            O = e.placements,
            A = e.getPopupContainer,
            T = e.showAction,
            _ = e.hideAction,
            L = e.overlayClassName,
            D = e.overlayStyle,
            j = e.visible,
            V = e.trigger,
            F = void 0 === V ? ["hover"] : V,
            z = e.autoFocus,
            W = (0, u.Z)(e, b),
            B = l.useState(),
            H = (0, i.Z)(B, 2),
            q = H[0],
            G = H[1],
            U = "visible" in e ? j : q,
            X = l.useRef(null);
          l.useImperativeHandle(t, function () {
            return X.current;
          }),
            (c = (n = {
              visible: U,
              setTriggerVisible: G,
              triggerRef: X,
              onVisibleChange: e.onVisibleChange,
              autoFocus: z,
            }).visible),
            (f = n.setTriggerVisible),
            (d = n.triggerRef),
            (p = n.onVisibleChange),
            (Z = n.autoFocus),
            (C = l.useRef(!1)),
            (E = function () {
              if (c && d.current) {
                var e, t, n, r;
                null === (e = d.current) ||
                  void 0 === e ||
                  null === (t = e.triggerRef) ||
                  void 0 === t ||
                  null === (n = t.current) ||
                  void 0 === n ||
                  null === (r = n.focus) ||
                  void 0 === r ||
                  r.call(n),
                  f(!1),
                  "function" == typeof p && p(!1);
              }
            }),
            (w = function () {
              var e,
                t,
                n,
                r,
                o = (0, h.tS)(
                  null === (e = d.current) || void 0 === e
                    ? void 0
                    : null === (t = e.popupRef) || void 0 === t
                    ? void 0
                    : null === (n = t.current) || void 0 === n
                    ? void 0
                    : null === (r = n.getElement) || void 0 === r
                    ? void 0
                    : r.call(n)
                )[0];
              return (
                null != o && !!o.focus && (o.focus(), (C.current = !0), !0)
              );
            }),
            (M = function (e) {
              switch (e.keyCode) {
                case y:
                  E();
                  break;
                case g:
                  var t = !1;
                  C.current || (t = w()), t ? e.preventDefault() : E();
              }
            }),
            l.useEffect(
              function () {
                return c
                  ? (window.addEventListener("keydown", M),
                    Z && (0, m.Z)(w, 3),
                    function () {
                      window.removeEventListener("keydown", M),
                        (C.current = !1);
                    })
                  : function () {
                      C.current = !1;
                    };
              },
              [c]
            );
          var Y,
            J,
            Q,
            $,
            ee,
            et,
            en = function () {
              var t,
                n = e.overlay;
              return "function" == typeof n ? n() : n;
            },
            er = function (t) {
              var n = e.onOverlayClick;
              G(!1), n && n(t);
            },
            eo = function (t) {
              var n = e.onVisibleChange;
              G(t), "function" == typeof n && n(t);
            },
            ei = function () {
              var e = en();
              return l.createElement(
                l.Fragment,
                null,
                N &&
                  l.createElement("div", { className: "".concat(S, "-arrow") }),
                e
              );
            },
            eu = _;
          return (
            eu || -1 === F.indexOf("contextMenu") || (eu = ["click"]),
            l.createElement(
              a.Z,
              (0, o.Z)(
                (0, o.Z)({ builtinPlacements: void 0 === O ? v : O }, W),
                {},
                {
                  prefixCls: S,
                  ref: X,
                  popupClassName: s()(
                    L,
                    (0, r.Z)({}, "".concat(S, "-show-arrow"), N)
                  ),
                  popupStyle: D,
                  action: F,
                  showAction: T,
                  hideAction: eu || [],
                  popupPlacement: void 0 === K ? "bottomLeft" : K,
                  popupAlign: R,
                  popupTransitionName: x,
                  popupAnimation: I,
                  popupVisible: U,
                  stretch: ((Y = e.minOverlayWidthMatchTrigger),
                  (J = e.alignPoint),
                  "minOverlayWidthMatchTrigger" in e ? Y : !J)
                    ? "minWidth"
                    : "",
                  popup: "function" == typeof e.overlay ? ei : ei(),
                  onPopupVisibleChange: eo,
                  onPopupClick: er,
                  getPopupContainer: A,
                }
              ),
              (($ = (Q = e.children).props ? Q.props : {}),
              (ee = s()(
                $.className,
                ((et = e.openClassName),
                void 0 !== et ? et : "".concat(S, "-open"))
              )),
              U && Q ? l.cloneElement(Q, { className: ee }) : Q)
            )
          );
        });
    },
    71162: function (e, t, n) {
      n.r(t),
        n.d(t, {
          Divider: function () {
            return eV;
          },
          Item: function () {
            return ev;
          },
          ItemGroup: function () {
            return ej;
          },
          MenuItem: function () {
            return ev;
          },
          MenuItemGroup: function () {
            return ej;
          },
          SubMenu: function () {
            return eK;
          },
          default: function () {
            return ez;
          },
          useFullPath: function () {
            return S;
          },
        });
      var r = n(51163),
        o = n(24572),
        i = n(75782),
        u = n(49544),
        l = n(91600),
        a = n(68901),
        c = n(84875),
        s = n.n(c),
        f = n(8430),
        d = n(82172),
        v = n(11317),
        p = n(59496),
        m = n(87995),
        h = n(26143),
        y = function (e, t) {
          var n =
              arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
            r = new Set();
          return (function e(t, o) {
            var i =
                arguments.length > 2 && void 0 !== arguments[2]
                  ? arguments[2]
                  : 1,
              u = r.has(t);
            if (((0, v.ZP)(!u, "Warning: There may be circular references"), u))
              return !1;
            if (t === o) return !0;
            if (n && i > 1) return !1;
            r.add(t);
            var l = i + 1;
            if (Array.isArray(t)) {
              if (!Array.isArray(o) || t.length !== o.length) return !1;
              for (var a = 0; a < t.length; a++)
                if (!e(t[a], o[a], l)) return !1;
              return !0;
            }
            if (
              t &&
              o &&
              "object" === (0, h.Z)(t) &&
              "object" === (0, h.Z)(o)
            ) {
              var c = Object.keys(t);
              return (
                c.length === Object.keys(o).length &&
                c.every(function (n) {
                  return e(t[n], o[n], l);
                })
              );
            }
            return !1;
          })(e, t);
        },
        g = p.createContext(null);
      function b(e, t) {
        return void 0 === e ? null : "".concat(e, "-").concat(t);
      }
      function Z(e) {
        return b(p.useContext(g), e);
      }
      var C = n(17967),
        E = ["children", "locked"],
        w = p.createContext(null);
      function M(e) {
        var t = e.children,
          n = e.locked,
          r = (0, a.Z)(e, E),
          o = p.useContext(w),
          u = (0, C.Z)(
            function () {
              var e, t, n;
              return (
                (n = (0, i.Z)({}, o)),
                Object.keys(r).forEach(function (e) {
                  var t = r[e];
                  void 0 !== t && (n[e] = t);
                }),
                n
              );
            },
            [o, r],
            function (e, t) {
              return !n && (e[0] !== t[0] || !y(e[1], t[1], !0));
            }
          );
        return p.createElement(w.Provider, { value: u }, t);
      }
      var P = p.createContext(null);
      function N() {
        return p.useContext(P);
      }
      var k = p.createContext([]);
      function S(e) {
        var t = p.useContext(k);
        return p.useMemo(
          function () {
            return void 0 !== e ? [].concat((0, u.Z)(t), [e]) : t;
          },
          [t, e]
        );
      }
      var x = p.createContext(null),
        I = p.createContext({}),
        R = n(61950),
        K = n(25532),
        O = n(96404),
        A = R.Z.LEFT,
        T = R.Z.RIGHT,
        _ = R.Z.UP,
        L = R.Z.DOWN,
        D = R.Z.ENTER,
        j = R.Z.ESC,
        V = R.Z.HOME,
        F = R.Z.END,
        z = [_, L, A, T];
      function W(e, t) {
        return (0, O.tS)(e, !0).filter(function (e) {
          return t.has(e);
        });
      }
      function B(e, t, n) {
        var r =
          arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 1;
        if (!e) return null;
        var o = W(e, t),
          i = o.length,
          u = o.findIndex(function (e) {
            return n === e;
          });
        return (
          r < 0 ? (-1 === u ? (u = i - 1) : (u -= 1)) : r > 0 && (u += 1),
          o[(u = (u + i) % i)]
        );
      }
      var H = "__RC_UTIL_PATH_SPLIT__",
        q = function (e) {
          return e.join(H);
        },
        G = "rc-menu-more";
      function U(e) {
        var t = p.useRef(e);
        t.current = e;
        var n = p.useCallback(function () {
          for (var e, n = arguments.length, r = Array(n), o = 0; o < n; o++)
            r[o] = arguments[o];
          return null === (e = t.current) || void 0 === e
            ? void 0
            : e.call.apply(e, [t].concat(r));
        }, []);
        return e ? n : void 0;
      }
      var X = Math.random().toFixed(5).toString().slice(2),
        Y = 0,
        J = n(40936),
        Q = n(49962),
        $ = n(65782),
        ee = n(76614),
        et = n(87296),
        en = n(75729);
      function er(e, t, n, r) {
        var o = p.useContext(w),
          i = o.activeKey,
          u = o.onActive,
          l = o.onInactive,
          a = { active: i === e };
        return (
          t ||
            ((a.onMouseEnter = function (t) {
              null == n || n({ key: e, domEvent: t }), u(e);
            }),
            (a.onMouseLeave = function (t) {
              null == r || r({ key: e, domEvent: t }), l(e);
            })),
          a
        );
      }
      function eo(e) {
        var t = p.useContext(w),
          n = t.mode,
          r = t.rtl,
          o = t.inlineIndent;
        return "inline" !== n
          ? null
          : r
          ? { paddingRight: e * o }
          : { paddingLeft: e * o };
      }
      function ei(e) {
        var t,
          n = e.icon,
          r = e.props,
          o = e.children;
        return (
          ("function" == typeof n ? p.createElement(n, (0, i.Z)({}, r)) : n) ||
          o ||
          null
        );
      }
      var eu = ["item"];
      function el(e) {
        var t = e.item,
          n = (0, a.Z)(e, eu);
        return (
          Object.defineProperty(n, "item", {
            get: function () {
              return (
                (0, v.ZP)(
                  !1,
                  "`info.item` is deprecated since we will move to function component that not provides React Node instance in future."
                ),
                t
              );
            },
          }),
          n
        );
      }
      var ea = ["title", "attribute", "elementRef"],
        ec = [
          "style",
          "className",
          "eventKey",
          "warnKey",
          "disabled",
          "itemIcon",
          "children",
          "role",
          "onMouseEnter",
          "onMouseLeave",
          "onClick",
          "onKeyDown",
          "onFocus",
        ],
        es = ["active"],
        ef = (function (e) {
          (0, $.Z)(n, e);
          var t = (0, ee.Z)(n);
          function n() {
            return (0, J.Z)(this, n), t.apply(this, arguments);
          }
          return (
            (0, Q.Z)(n, [
              {
                key: "render",
                value: function () {
                  var e = this.props,
                    t = e.title,
                    n = e.attribute,
                    o = e.elementRef,
                    i = (0, a.Z)(e, ea),
                    u = (0, et.Z)(i, [
                      "eventKey",
                      "popupClassName",
                      "popupOffset",
                      "onTitleClick",
                    ]);
                  return (
                    (0, v.ZP)(
                      !n,
                      "`attribute` of Menu.Item is deprecated. Please pass attribute directly."
                    ),
                    p.createElement(
                      f.Z.Item,
                      (0, r.Z)(
                        {},
                        n,
                        { title: "string" == typeof t ? t : void 0 },
                        u,
                        { ref: o }
                      )
                    )
                  );
                },
              },
            ]),
            n
          );
        })(p.Component),
        ed = p.forwardRef(function (e, t) {
          var n,
            l = e.style,
            c = e.className,
            f = e.eventKey,
            d = (e.warnKey, e.disabled),
            v = e.itemIcon,
            m = e.children,
            h = e.role,
            y = e.onMouseEnter,
            g = e.onMouseLeave,
            b = e.onClick,
            C = e.onKeyDown,
            E = e.onFocus,
            M = (0, a.Z)(e, ec),
            P = Z(f),
            N = p.useContext(w),
            k = N.prefixCls,
            x = N.onItemClick,
            K = N.disabled,
            O = N.overflowDisabled,
            A = N.itemIcon,
            T = N.selectedKeys,
            _ = N.onActive,
            L = p.useContext(I)._internalRenderMenuItem,
            D = "".concat(k, "-item"),
            j = p.useRef(),
            V = p.useRef(),
            F = K || d,
            z = (0, en.x1)(t, V),
            W = S(f),
            B = function (e) {
              return {
                key: f,
                keyPath: (0, u.Z)(W).reverse(),
                item: j.current,
                domEvent: e,
              };
            },
            H = er(f, F, y, g),
            q = H.active,
            G = (0, a.Z)(H, es),
            U = T.includes(f),
            X = eo(W.length),
            Y = function (e) {
              if (!F) {
                var t = B(e);
                null == b || b(el(t)), x(t);
              }
            },
            J = function (e) {
              if ((null == C || C(e), e.which === R.Z.ENTER)) {
                var t = B(e);
                null == b || b(el(t)), x(t);
              }
            },
            Q = function (e) {
              _(f), null == E || E(e);
            },
            $ = {};
          "option" === e.role && ($["aria-selected"] = U);
          var ee = p.createElement(
            ef,
            (0, r.Z)(
              {
                ref: j,
                elementRef: z,
                role: null === h ? "none" : h || "menuitem",
                tabIndex: d ? null : -1,
                "data-menu-id": O && P ? null : P,
              },
              M,
              G,
              $,
              {
                component: "li",
                "aria-disabled": d,
                style: (0, i.Z)((0, i.Z)({}, X), l),
                className: s()(
                  D,
                  ((n = {}),
                  (0, o.Z)(n, "".concat(D, "-active"), q),
                  (0, o.Z)(n, "".concat(D, "-selected"), U),
                  (0, o.Z)(n, "".concat(D, "-disabled"), F),
                  n),
                  c
                ),
                onClick: Y,
                onKeyDown: J,
                onFocus: Q,
              }
            ),
            m,
            p.createElement(ei, {
              props: (0, i.Z)((0, i.Z)({}, e), {}, { isSelected: U }),
              icon: v || A,
            })
          );
          return L && (ee = L(ee, e, { selected: U })), ee;
        }),
        ev = p.forwardRef(function (e, t) {
          var n = e.eventKey,
            o = N(),
            i = S(n);
          return (p.useEffect(
            function () {
              if (o)
                return (
                  o.registerPath(n, i),
                  function () {
                    o.unregisterPath(n, i);
                  }
                );
            },
            [i]
          ),
          o)
            ? null
            : p.createElement(ed, (0, r.Z)({}, e, { ref: t }));
        }),
        ep = ["className", "children"],
        em = function (e, t) {
          var n = e.className,
            o = e.children,
            i = (0, a.Z)(e, ep),
            u = p.useContext(w),
            l = u.prefixCls,
            c = u.mode,
            f = u.rtl;
          return p.createElement(
            "ul",
            (0, r.Z)(
              {
                className: s()(
                  l,
                  f && "".concat(l, "-rtl"),
                  "".concat(l, "-sub"),
                  ""
                    .concat(l, "-")
                    .concat("inline" === c ? "inline" : "vertical"),
                  n
                ),
                role: "menu",
              },
              i,
              { "data-menu-list": !0, ref: t }
            ),
            o
          );
        },
        eh = p.forwardRef(em);
      eh.displayName = "SubMenuList";
      var ey = n(81706),
        eg = ["label", "children", "key", "type"];
      function eb(e, t) {
        return (0, ey.Z)(e).map(function (e, n) {
          if (p.isValidElement(e)) {
            var r,
              o,
              i = e.key,
              l =
                null !==
                  (r =
                    null === (o = e.props) || void 0 === o
                      ? void 0
                      : o.eventKey) && void 0 !== r
                  ? r
                  : i;
            null == l &&
              (l = "tmp_key-".concat([].concat((0, u.Z)(t), [n]).join("-")));
            var a = { key: l, eventKey: l };
            return p.cloneElement(e, a);
          }
          return e;
        });
      }
      var eZ = n(85628),
        eC = { adjustX: 1, adjustY: 1 },
        eE = {
          topLeft: { points: ["bl", "tl"], overflow: eC, offset: [0, -7] },
          bottomLeft: { points: ["tl", "bl"], overflow: eC, offset: [0, 7] },
          leftTop: { points: ["tr", "tl"], overflow: eC, offset: [-4, 0] },
          rightTop: { points: ["tl", "tr"], overflow: eC, offset: [4, 0] },
        },
        ew = {
          topLeft: { points: ["bl", "tl"], overflow: eC, offset: [0, -7] },
          bottomLeft: { points: ["tl", "bl"], overflow: eC, offset: [0, 7] },
          rightTop: { points: ["tr", "tl"], overflow: eC, offset: [-4, 0] },
          leftTop: { points: ["tl", "tr"], overflow: eC, offset: [4, 0] },
        };
      function eM(e, t, n) {
        return t || (n ? n[e] || n.other : void 0);
      }
      var eP = {
        horizontal: "bottomLeft",
        vertical: "rightTop",
        "vertical-left": "rightTop",
        "vertical-right": "leftTop",
      };
      function eN(e) {
        var t = e.prefixCls,
          n = e.visible,
          r = e.children,
          u = e.popup,
          a = e.popupClassName,
          c = e.popupOffset,
          f = e.disabled,
          d = e.mode,
          v = e.onVisibleChange,
          m = p.useContext(w),
          h = m.getPopupContainer,
          y = m.rtl,
          g = m.subMenuOpenDelay,
          b = m.subMenuCloseDelay,
          Z = m.builtinPlacements,
          C = m.triggerSubMenuAction,
          E = m.forceSubMenuRender,
          M = m.rootClassName,
          P = m.motion,
          N = m.defaultMotions,
          k = p.useState(!1),
          S = (0, l.Z)(k, 2),
          x = S[0],
          I = S[1],
          R = y ? (0, i.Z)((0, i.Z)({}, ew), Z) : (0, i.Z)((0, i.Z)({}, eE), Z),
          O = eP[d],
          A = eM(d, P, N),
          T = p.useRef(A);
        "inline" !== d && (T.current = A);
        var _ = (0, i.Z)(
            (0, i.Z)({}, T.current),
            {},
            {
              leavedClassName: "".concat(t, "-hidden"),
              removeOnLeave: !1,
              motionAppear: !0,
            }
          ),
          L = p.useRef();
        return (
          p.useEffect(
            function () {
              return (
                (L.current = (0, K.Z)(function () {
                  I(n);
                })),
                function () {
                  K.Z.cancel(L.current);
                }
              );
            },
            [n]
          ),
          p.createElement(
            eZ.Z,
            {
              prefixCls: t,
              popupClassName: s()(
                "".concat(t, "-popup"),
                (0, o.Z)({}, "".concat(t, "-rtl"), y),
                a,
                M
              ),
              stretch: "horizontal" === d ? "minWidth" : null,
              getPopupContainer: h,
              builtinPlacements: R,
              popupPlacement: O,
              popupVisible: x,
              popup: u,
              popupAlign: c && { offset: c },
              action: f ? [] : [C],
              mouseEnterDelay: g,
              mouseLeaveDelay: b,
              onPopupVisibleChange: v,
              forceRender: E,
              popupMotion: _,
            },
            r
          )
        );
      }
      var ek = n(86090);
      function eS(e) {
        var t = e.id,
          n = e.open,
          o = e.keyPath,
          u = e.children,
          a = "inline",
          c = p.useContext(w),
          s = c.prefixCls,
          f = c.forceSubMenuRender,
          d = c.motion,
          v = c.defaultMotions,
          m = c.mode,
          h = p.useRef(!1);
        h.current = m === a;
        var y = p.useState(!h.current),
          g = (0, l.Z)(y, 2),
          b = g[0],
          Z = g[1],
          C = !!h.current && n;
        p.useEffect(
          function () {
            h.current && Z(!1);
          },
          [m]
        );
        var E = (0, i.Z)({}, eM(a, d, v));
        o.length > 1 && (E.motionAppear = !1);
        var P = E.onVisibleChanged;
        return ((E.onVisibleChanged = function (e) {
          return h.current || e || Z(!0), null == P ? void 0 : P(e);
        }),
        b)
          ? null
          : p.createElement(
              M,
              { mode: a, locked: !h.current },
              p.createElement(
                ek.default,
                (0, r.Z)({ visible: C }, E, {
                  forceRender: f,
                  removeOnLeave: !1,
                  leavedClassName: "".concat(s, "-hidden"),
                }),
                function (e) {
                  var n = e.className,
                    r = e.style;
                  return p.createElement(
                    eh,
                    { id: t, className: n, style: r },
                    u
                  );
                }
              )
            );
      }
      var ex = [
          "style",
          "className",
          "title",
          "eventKey",
          "warnKey",
          "disabled",
          "internalPopupClose",
          "children",
          "itemIcon",
          "expandIcon",
          "popupClassName",
          "popupOffset",
          "onClick",
          "onMouseEnter",
          "onMouseLeave",
          "onTitleClick",
          "onTitleMouseEnter",
          "onTitleMouseLeave",
        ],
        eI = ["active"],
        eR = function (e) {
          var t,
            n = e.style,
            u = e.className,
            c = e.title,
            d = e.eventKey,
            v = (e.warnKey, e.disabled),
            m = e.internalPopupClose,
            h = e.children,
            y = e.itemIcon,
            g = e.expandIcon,
            b = e.popupClassName,
            C = e.popupOffset,
            E = e.onClick,
            P = e.onMouseEnter,
            N = e.onMouseLeave,
            k = e.onTitleClick,
            R = e.onTitleMouseEnter,
            K = e.onTitleMouseLeave,
            O = (0, a.Z)(e, ex),
            A = Z(d),
            T = p.useContext(w),
            _ = T.prefixCls,
            L = T.mode,
            D = T.openKeys,
            j = T.disabled,
            V = T.overflowDisabled,
            F = T.activeKey,
            z = T.selectedKeys,
            W = T.itemIcon,
            B = T.expandIcon,
            H = T.onItemClick,
            q = T.onOpenChange,
            G = T.onActive,
            X = p.useContext(I)._internalRenderSubMenuItem,
            Y = p.useContext(x).isSubPathKey,
            J = S(),
            Q = "".concat(_, "-submenu"),
            $ = j || v,
            ee = p.useRef(),
            et = p.useRef(),
            en = g || B,
            eu = D.includes(d),
            ea = !V && eu,
            ec = Y(z, d),
            es = er(d, $, R, K),
            ef = es.active,
            ed = (0, a.Z)(es, eI),
            ev = p.useState(!1),
            ep = (0, l.Z)(ev, 2),
            em = ep[0],
            ey = ep[1],
            eg = function (e) {
              $ || ey(e);
            },
            eb = function (e) {
              eg(!0), null == P || P({ key: d, domEvent: e });
            },
            eZ = function (e) {
              eg(!1), null == N || N({ key: d, domEvent: e });
            },
            eC = p.useMemo(
              function () {
                return ef || ("inline" !== L && (em || Y([F], d)));
              },
              [L, ef, F, em, d, Y]
            ),
            eE = eo(J.length),
            ew = function (e) {
              !$ &&
                (null == k || k({ key: d, domEvent: e }),
                "inline" === L && q(d, !eu));
            },
            eM = U(function (e) {
              null == E || E(el(e)), H(e);
            }),
            eP = function (e) {
              "inline" !== L && q(d, e);
            },
            ek = function () {
              G(d);
            },
            eR = A && "".concat(A, "-popup"),
            eK = p.createElement(
              "div",
              (0, r.Z)(
                {
                  role: "menuitem",
                  style: eE,
                  className: "".concat(Q, "-title"),
                  tabIndex: $ ? null : -1,
                  ref: ee,
                  title: "string" == typeof c ? c : null,
                  "data-menu-id": V && A ? null : A,
                  "aria-expanded": ea,
                  "aria-haspopup": !0,
                  "aria-controls": eR,
                  "aria-disabled": $,
                  onClick: ew,
                  onFocus: ek,
                },
                ed
              ),
              c,
              p.createElement(
                ei,
                {
                  icon: "horizontal" !== L ? en : null,
                  props: (0, i.Z)(
                    (0, i.Z)({}, e),
                    {},
                    { isOpen: ea, isSubMenu: !0 }
                  ),
                },
                p.createElement("i", { className: "".concat(Q, "-arrow") })
              )
            ),
            eO = p.useRef(L);
          if (
            ("inline" !== L && J.length > 1
              ? (eO.current = "vertical")
              : (eO.current = L),
            !V)
          ) {
            var eA = eO.current;
            eK = p.createElement(
              eN,
              {
                mode: eA,
                prefixCls: Q,
                visible: !m && ea && "inline" !== L,
                popupClassName: b,
                popupOffset: C,
                popup: p.createElement(
                  M,
                  { mode: "horizontal" === eA ? "vertical" : eA },
                  p.createElement(eh, { id: eR, ref: et }, h)
                ),
                disabled: $,
                onVisibleChange: eP,
              },
              eK
            );
          }
          var eT = p.createElement(
            f.Z.Item,
            (0, r.Z)({ role: "none" }, O, {
              component: "li",
              style: n,
              className: s()(
                Q,
                "".concat(Q, "-").concat(L),
                u,
                ((t = {}),
                (0, o.Z)(t, "".concat(Q, "-open"), ea),
                (0, o.Z)(t, "".concat(Q, "-active"), eC),
                (0, o.Z)(t, "".concat(Q, "-selected"), ec),
                (0, o.Z)(t, "".concat(Q, "-disabled"), $),
                t)
              ),
              onMouseEnter: eb,
              onMouseLeave: eZ,
            }),
            eK,
            !V && p.createElement(eS, { id: eR, open: ea, keyPath: J }, h)
          );
          return (
            X &&
              (eT = X(eT, e, {
                selected: ec,
                active: eC,
                open: ea,
                disabled: $,
              })),
            p.createElement(
              M,
              {
                onItemClick: eM,
                mode: "horizontal" === L ? "vertical" : L,
                itemIcon: y || W,
                expandIcon: en,
              },
              eT
            )
          );
        };
      function eK(e) {
        var t,
          n = e.eventKey,
          r = e.children,
          o = S(n),
          i = eb(r, o),
          u = N();
        return (
          p.useEffect(
            function () {
              if (u)
                return (
                  u.registerPath(n, o),
                  function () {
                    u.unregisterPath(n, o);
                  }
                );
            },
            [o]
          ),
          (t = u ? i : p.createElement(eR, e, i)),
          p.createElement(k.Provider, { value: o }, t)
        );
      }
      var eO = [
          "prefixCls",
          "rootClassName",
          "style",
          "className",
          "tabIndex",
          "items",
          "children",
          "direction",
          "id",
          "mode",
          "inlineCollapsed",
          "disabled",
          "disabledOverflow",
          "subMenuOpenDelay",
          "subMenuCloseDelay",
          "forceSubMenuRender",
          "defaultOpenKeys",
          "openKeys",
          "activeKey",
          "defaultActiveFirst",
          "selectable",
          "multiple",
          "defaultSelectedKeys",
          "selectedKeys",
          "onSelect",
          "onDeselect",
          "inlineIndent",
          "motion",
          "defaultMotions",
          "triggerSubMenuAction",
          "builtinPlacements",
          "itemIcon",
          "expandIcon",
          "overflowedIndicator",
          "overflowedIndicatorPopupClassName",
          "getPopupContainer",
          "onClick",
          "onOpenChange",
          "onKeyDown",
          "openAnimation",
          "openTransitionName",
          "_internalRenderMenuItem",
          "_internalRenderSubMenuItem",
        ],
        eA = [],
        eT = p.forwardRef(function (e, t) {
          var n,
            c,
            v,
            Z,
            C,
            E,
            w,
            N = e.prefixCls,
            k = void 0 === N ? "rc-menu" : N,
            S = e.rootClassName,
            R = e.style,
            O = e.className,
            J = e.tabIndex,
            Q = e.items,
            $ = e.children,
            ee = e.direction,
            et = e.id,
            en = e.mode,
            er = void 0 === en ? "vertical" : en,
            eo = e.inlineCollapsed,
            ei = e.disabled,
            eu = e.disabledOverflow,
            ea = e.subMenuOpenDelay,
            ec = e.subMenuCloseDelay,
            es = e.forceSubMenuRender,
            ef = e.defaultOpenKeys,
            ed = e.openKeys,
            ep = e.activeKey,
            em = e.defaultActiveFirst,
            eh = e.selectable,
            ey = void 0 === eh || eh,
            eZ = e.multiple,
            eC = void 0 !== eZ && eZ,
            eE = e.defaultSelectedKeys,
            ew = e.selectedKeys,
            eM = e.onSelect,
            eP = e.onDeselect,
            eN = e.inlineIndent,
            ek = e.motion,
            eS = e.defaultMotions,
            ex = e.triggerSubMenuAction,
            eI = e.builtinPlacements,
            eR = e.itemIcon,
            eT = e.expandIcon,
            e_ = e.overflowedIndicator,
            eL = void 0 === e_ ? "..." : e_,
            eD = e.overflowedIndicatorPopupClassName,
            eF = e.getPopupContainer,
            ez = e.onClick,
            eW = e.onOpenChange,
            eB = e.onKeyDown,
            eH =
              (e.openAnimation,
              e.openTransitionName,
              e._internalRenderMenuItem),
            eq = e._internalRenderSubMenuItem,
            eG = (0, a.Z)(e, eO),
            eU = p.useMemo(
              function () {
                var e, t, n, o;
                return (
                  (o = $),
                  Q &&
                    (o = (function e(t) {
                      return (t || [])
                        .map(function (t, n) {
                          if (t && "object" === (0, h.Z)(t)) {
                            var o = t.label,
                              i = t.children,
                              u = t.key,
                              l = t.type,
                              c = (0, a.Z)(t, eg),
                              s = null != u ? u : "tmp-".concat(n);
                            return i || "group" === l
                              ? "group" === l
                                ? p.createElement(
                                    ej,
                                    (0, r.Z)({ key: s }, c, { title: o }),
                                    e(i)
                                  )
                                : p.createElement(
                                    eK,
                                    (0, r.Z)({ key: s }, c, { title: o }),
                                    e(i)
                                  )
                              : "divider" === l
                              ? p.createElement(eV, (0, r.Z)({ key: s }, c))
                              : p.createElement(ev, (0, r.Z)({ key: s }, c), o);
                          }
                          return null;
                        })
                        .filter(function (e) {
                          return e;
                        });
                    })(Q)),
                  eb(o, eA)
                );
              },
              [$, Q]
            ),
            eX = p.useState(!1),
            eY = (0, l.Z)(eX, 2),
            eJ = eY[0],
            eQ = eY[1],
            e$ = p.useRef(),
            e0 =
              ((Z = (0, d.Z)(et, { value: et })),
              (E = (C = (0, l.Z)(Z, 2))[0]),
              (w = C[1]),
              p.useEffect(function () {
                Y += 1;
                var e = "".concat(X, "-").concat(Y);
                w("rc-menu-uuid-".concat(e));
              }, []),
              E),
            e1 = "rtl" === ee,
            e2 = (0, d.Z)(ef, {
              value: ed,
              postState: function (e) {
                return e || eA;
              },
            }),
            e6 = (0, l.Z)(e2, 2),
            e5 = e6[0],
            e9 = e6[1],
            e4 = function (e) {
              var t =
                arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
              function n() {
                e9(e), null == eW || eW(e);
              }
              t ? (0, m.flushSync)(n) : n();
            },
            e7 = p.useState(e5),
            e8 = (0, l.Z)(e7, 2),
            e3 = e8[0],
            te = e8[1],
            tt = p.useRef(!1),
            tn = p.useMemo(
              function () {
                return ("inline" === er || "vertical" === er) && eo
                  ? ["vertical", eo]
                  : [er, !1];
              },
              [er, eo]
            ),
            tr = (0, l.Z)(tn, 2),
            to = tr[0],
            ti = tr[1],
            tu = "inline" === to,
            tl = p.useState(to),
            ta = (0, l.Z)(tl, 2),
            tc = ta[0],
            ts = ta[1],
            tf = p.useState(ti),
            td = (0, l.Z)(tf, 2),
            tv = td[0],
            tp = td[1];
          p.useEffect(
            function () {
              ts(to), tp(ti), tt.current && (tu ? e9(e3) : e4(eA));
            },
            [to, ti]
          );
          var tm,
            th,
            ty,
            tg,
            tb,
            tZ,
            tC,
            tE,
            tw,
            tM,
            tP,
            tN,
            tk,
            tS,
            tx,
            tI,
            tR,
            tK,
            tO = p.useState(0),
            tA = (0, l.Z)(tO, 2),
            tT = tA[0],
            t_ = tA[1],
            tL = tT >= eU.length - 1 || "horizontal" !== tc || eu;
          p.useEffect(
            function () {
              tu && te(e5);
            },
            [e5]
          ),
            p.useEffect(function () {
              return (
                (tt.current = !0),
                function () {
                  tt.current = !1;
                }
              );
            }, []);
          var tD =
              ((tm = p.useState({})),
              (th = (0, l.Z)(tm, 2)[1]),
              (ty = (0, p.useRef)(new Map())),
              (tg = (0, p.useRef)(new Map())),
              (tb = p.useState([])),
              (tC = (tZ = (0, l.Z)(tb, 2))[0]),
              (tE = tZ[1]),
              (tw = (0, p.useRef)(0)),
              (tM = (0, p.useRef)(!1)),
              (tP = function () {
                tM.current || th({});
              }),
              (tN = (0, p.useCallback)(function (e, t) {
                var n = q(t);
                tg.current.set(n, e), ty.current.set(e, n), (tw.current += 1);
                var r,
                  o = tw.current;
                (r = function () {
                  o === tw.current && tP();
                }),
                  Promise.resolve().then(r);
              }, [])),
              (tk = (0, p.useCallback)(function (e, t) {
                var n = q(t);
                tg.current.delete(n), ty.current.delete(e);
              }, [])),
              (tS = (0, p.useCallback)(function (e) {
                tE(e);
              }, [])),
              (tx = (0, p.useCallback)(
                function (e, t) {
                  var n,
                    r = (n = ty.current.get(e) || "").split(H);
                  return t && tC.includes(r[0]) && r.unshift(G), r;
                },
                [tC]
              )),
              (tI = (0, p.useCallback)(
                function (e, t) {
                  return e.some(function (e) {
                    return tx(e, !0).includes(t);
                  });
                },
                [tx]
              )),
              (tR = function () {
                var e = (0, u.Z)(ty.current.keys());
                return tC.length && e.push(G), e;
              }),
              (tK = (0, p.useCallback)(function (e) {
                var t = "".concat(ty.current.get(e)).concat(H),
                  n = new Set();
                return (
                  (0, u.Z)(tg.current.keys()).forEach(function (e) {
                    e.startsWith(t) && n.add(tg.current.get(e));
                  }),
                  n
                );
              }, [])),
              p.useEffect(function () {
                return function () {
                  tM.current = !0;
                };
              }, []),
              {
                registerPath: tN,
                unregisterPath: tk,
                refreshOverflowKeys: tS,
                isSubPathKey: tI,
                getKeyPath: tx,
                getKeys: tR,
                getSubPathKeys: tK,
              }),
            tj = tD.registerPath,
            tV = tD.unregisterPath,
            tF = tD.refreshOverflowKeys,
            tz = tD.isSubPathKey,
            tW = tD.getKeyPath,
            tB = tD.getKeys,
            tH = tD.getSubPathKeys,
            tq = p.useMemo(
              function () {
                return { registerPath: tj, unregisterPath: tV };
              },
              [tj, tV]
            ),
            tG = p.useMemo(
              function () {
                return { isSubPathKey: tz };
              },
              [tz]
            );
          p.useEffect(
            function () {
              tF(
                tL
                  ? eA
                  : eU.slice(tT + 1).map(function (e) {
                      return e.key;
                    })
              );
            },
            [tT, tL]
          );
          var tU = (0, d.Z)(
              ep ||
                (em && (null === (n = eU[0]) || void 0 === n ? void 0 : n.key)),
              { value: ep }
            ),
            tX = (0, l.Z)(tU, 2),
            tY = tX[0],
            tJ = tX[1],
            tQ = U(function (e) {
              tJ(e);
            }),
            t$ = U(function () {
              tJ(void 0);
            });
          (0, p.useImperativeHandle)(t, function () {
            return {
              list: e$.current,
              focus: function (e) {
                var t,
                  n,
                  r,
                  o,
                  i =
                    null != tY
                      ? tY
                      : null ===
                          (t = eU.find(function (e) {
                            return !e.props.disabled;
                          })) || void 0 === t
                      ? void 0
                      : t.key;
                i &&
                  (null === (n = e$.current) ||
                    void 0 === n ||
                    null ===
                      (r = n.querySelector(
                        "li[data-menu-id='".concat(b(e0, i), "']")
                      )) ||
                    void 0 === r ||
                    null === (o = r.focus) ||
                    void 0 === o ||
                    o.call(r, e));
              },
            };
          });
          var t0,
            t1,
            t2,
            t6,
            t5,
            t9,
            t4,
            t7,
            t8,
            t3,
            ne,
            nt,
            nn,
            nr = (0, d.Z)(eE || [], {
              value: ew,
              postState: function (e) {
                return Array.isArray(e) ? e : null == e ? eA : [e];
              },
            }),
            no = (0, l.Z)(nr, 2),
            ni = no[0],
            nu = no[1],
            nl = function (e) {
              if (ey) {
                var t,
                  n = e.key,
                  r = ni.includes(n);
                (t = eC
                  ? r
                    ? ni.filter(function (e) {
                        return e !== n;
                      })
                    : [].concat((0, u.Z)(ni), [n])
                  : [n]),
                  nu(t);
                var o = (0, i.Z)((0, i.Z)({}, e), {}, { selectedKeys: t });
                r ? null == eP || eP(o) : null == eM || eM(o);
              }
              !eC && e5.length && "inline" !== tc && e4(eA);
            },
            na = U(function (e) {
              null == ez || ez(el(e)), nl(e);
            }),
            nc = U(function (e, t) {
              var n = e5.filter(function (t) {
                return t !== e;
              });
              if (t) n.push(e);
              else if ("inline" !== tc) {
                var r = tH(e);
                n = n.filter(function (e) {
                  return !r.has(e);
                });
              }
              y(e5, n, !0) || e4(n, !0);
            }),
            ns = U(eF),
            nf = function (e, t) {
              var n = null != t ? t : !e5.includes(e);
              nc(e, n);
            },
            nd =
              ((ne = p.useRef()),
              ((nt = p.useRef()).current = tY),
              (nn = function () {
                K.Z.cancel(ne.current);
              }),
              p.useEffect(function () {
                return function () {
                  nn();
                };
              }, []),
              function (e) {
                var t = e.which;
                if ([].concat(z, [D, j, V, F]).includes(t)) {
                  var n = function () {
                    return (
                      (a = new Set()),
                      (c = new Map()),
                      (s = new Map()),
                      tB().forEach(function (e) {
                        var t = document.querySelector(
                          "[data-menu-id='".concat(b(e0, e), "']")
                        );
                        t && (a.add(t), s.set(t, e), c.set(e, t));
                      }),
                      a
                    );
                  };
                  n();
                  var r = (function (e, t) {
                      for (var n = e || document.activeElement; n; ) {
                        if (t.has(n)) return n;
                        n = n.parentElement;
                      }
                      return null;
                    })(c.get(tY), a),
                    i = s.get(r),
                    u = (function (e, t, n, r) {
                      var i,
                        u,
                        l,
                        a,
                        c = "prev",
                        s = "next",
                        f = "children",
                        d = "parent";
                      if ("inline" === e && r === D)
                        return { inlineTrigger: !0 };
                      var v =
                          ((i = {}), (0, o.Z)(i, _, c), (0, o.Z)(i, L, s), i),
                        p =
                          ((u = {}),
                          (0, o.Z)(u, A, n ? s : c),
                          (0, o.Z)(u, T, n ? c : s),
                          (0, o.Z)(u, L, f),
                          (0, o.Z)(u, D, f),
                          u),
                        m =
                          ((l = {}),
                          (0, o.Z)(l, _, c),
                          (0, o.Z)(l, L, s),
                          (0, o.Z)(l, D, f),
                          (0, o.Z)(l, j, d),
                          (0, o.Z)(l, A, n ? f : d),
                          (0, o.Z)(l, T, n ? d : f),
                          l),
                        h =
                          null ===
                            (a = {
                              inline: v,
                              horizontal: p,
                              vertical: m,
                              inlineSub: v,
                              horizontalSub: m,
                              verticalSub: m,
                            }["".concat(e).concat(t ? "" : "Sub")]) ||
                          void 0 === a
                            ? void 0
                            : a[r];
                      switch (h) {
                        case c:
                          return { offset: -1, sibling: !0 };
                        case s:
                          return { offset: 1, sibling: !0 };
                        case d:
                          return { offset: -1, sibling: !1 };
                        case f:
                          return { offset: 1, sibling: !1 };
                        default:
                          return null;
                      }
                    })(tc, 1 === tW(i, !0).length, e1, t);
                  if (!u && t !== V && t !== F) return;
                  (z.includes(t) || [V, F].includes(t)) && e.preventDefault();
                  var l = function (e) {
                    if (e) {
                      var t = e,
                        n = e.querySelector("a");
                      null != n && n.getAttribute("href") && (t = n);
                      var r = s.get(e);
                      tJ(r),
                        nn(),
                        (ne.current = (0, K.Z)(function () {
                          nt.current === r && t.focus();
                        }));
                    }
                  };
                  if ([V, F].includes(t) || u.sibling || !r) {
                    f =
                      r && "inline" !== tc
                        ? (function (e) {
                            for (var t = e; t; ) {
                              if (t.getAttribute("data-menu-list")) return t;
                              t = t.parentElement;
                            }
                            return null;
                          })(r)
                        : e$.current;
                    var a,
                      c,
                      s,
                      f,
                      d,
                      v = W(f, a);
                    (d =
                      t === V
                        ? v[0]
                        : t === F
                        ? v[v.length - 1]
                        : B(f, a, r, u.offset)),
                      l(d);
                  } else if (u.inlineTrigger) nf(i);
                  else if (u.offset > 0)
                    nf(i, !0),
                      nn(),
                      (ne.current = (0, K.Z)(function () {
                        n();
                        var e = r.getAttribute("aria-controls"),
                          t = document.getElementById(e),
                          o = B(t, a);
                        l(o);
                      }, 5));
                  else if (u.offset < 0) {
                    var p = tW(i, !0),
                      m = p[p.length - 2],
                      h = c.get(m);
                    nf(m, !1), l(h);
                  }
                }
                null == eB || eB(e);
              });
          p.useEffect(function () {
            eQ(!0);
          }, []);
          var nv = p.useMemo(
              function () {
                return {
                  _internalRenderMenuItem: eH,
                  _internalRenderSubMenuItem: eq,
                };
              },
              [eH, eq]
            ),
            np =
              "horizontal" !== tc || eu
                ? eU
                : eU.map(function (e, t) {
                    return p.createElement(
                      M,
                      { key: e.key, overflowDisabled: t > tT },
                      e
                    );
                  }),
            nm = p.createElement(
              f.Z,
              (0, r.Z)(
                {
                  id: et,
                  ref: e$,
                  prefixCls: "".concat(k, "-overflow"),
                  component: "ul",
                  itemComponent: ev,
                  className: s()(
                    k,
                    "".concat(k, "-root"),
                    "".concat(k, "-").concat(tc),
                    O,
                    ((c = {}),
                    (0, o.Z)(c, "".concat(k, "-inline-collapsed"), tv),
                    (0, o.Z)(c, "".concat(k, "-rtl"), e1),
                    c),
                    S
                  ),
                  dir: ee,
                  style: R,
                  role: "menu",
                  tabIndex: void 0 === J ? 0 : J,
                  data: np,
                  renderRawItem: function (e) {
                    return e;
                  },
                  renderRawRest: function (e) {
                    var t = e.length,
                      n = t ? eU.slice(-t) : null;
                    return p.createElement(
                      eK,
                      {
                        eventKey: G,
                        title: eL,
                        disabled: tL,
                        internalPopupClose: 0 === t,
                        popupClassName: eD,
                      },
                      n
                    );
                  },
                  maxCount:
                    "horizontal" !== tc || eu ? f.Z.INVALIDATE : f.Z.RESPONSIVE,
                  ssr: "full",
                  "data-menu-list": !0,
                  onVisibleChange: function (e) {
                    t_(e);
                  },
                  onKeyDown: nd,
                },
                eG
              )
            );
          return p.createElement(
            I.Provider,
            { value: nv },
            p.createElement(
              g.Provider,
              { value: e0 },
              p.createElement(
                M,
                {
                  prefixCls: k,
                  rootClassName: S,
                  mode: tc,
                  openKeys: e5,
                  rtl: e1,
                  disabled: ei,
                  motion: eJ ? ek : null,
                  defaultMotions: eJ ? eS : null,
                  activeKey: tY,
                  onActive: tQ,
                  onInactive: t$,
                  selectedKeys: ni,
                  inlineIndent: void 0 === eN ? 24 : eN,
                  subMenuOpenDelay: void 0 === ea ? 0.1 : ea,
                  subMenuCloseDelay: void 0 === ec ? 0.1 : ec,
                  forceSubMenuRender: es,
                  builtinPlacements: eI,
                  triggerSubMenuAction: void 0 === ex ? "hover" : ex,
                  getPopupContainer: ns,
                  itemIcon: eR,
                  expandIcon: eT,
                  onItemClick: na,
                  onOpenChange: nc,
                },
                p.createElement(x.Provider, { value: tG }, nm),
                p.createElement(
                  "div",
                  { style: { display: "none" }, "aria-hidden": !0 },
                  p.createElement(P.Provider, { value: tq }, eU)
                )
              )
            )
          );
        }),
        e_ = ["className", "title", "eventKey", "children"],
        eL = ["children"],
        eD = function (e) {
          var t = e.className,
            n = e.title,
            o = (e.eventKey, e.children),
            i = (0, a.Z)(e, e_),
            u = p.useContext(w).prefixCls,
            l = "".concat(u, "-item-group");
          return p.createElement(
            "li",
            (0, r.Z)({ role: "presentation" }, i, {
              onClick: function (e) {
                return e.stopPropagation();
              },
              className: s()(l, t),
            }),
            p.createElement(
              "div",
              {
                role: "presentation",
                className: "".concat(l, "-title"),
                title: "string" == typeof n ? n : void 0,
              },
              n
            ),
            p.createElement(
              "ul",
              { role: "group", className: "".concat(l, "-list") },
              o
            )
          );
        };
      function ej(e) {
        var t = e.children,
          n = (0, a.Z)(e, eL),
          r = S(n.eventKey),
          o = eb(t, r);
        return N() ? o : p.createElement(eD, (0, et.Z)(n, ["warnKey"]), o);
      }
      function eV(e) {
        var t = e.className,
          n = e.style,
          r = p.useContext(w).prefixCls;
        return N()
          ? null
          : p.createElement("li", {
              className: s()("".concat(r, "-item-divider"), t),
              style: n,
            });
      }
      var eF = eT;
      (eF.Item = ev), (eF.SubMenu = eK), (eF.ItemGroup = ej), (eF.Divider = eV);
      var ez = eF;
    },
    79756: function (e, t, n) {
      var r = n(98772).default;
      Object.defineProperty(t, "__esModule", { value: !0 }),
        (t.default = function e(t) {
          var n =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : {},
            r = [];
          return (
            o.default.Children.forEach(t, function (t) {
              (null != t || n.keepEmpty) &&
                (Array.isArray(t)
                  ? (r = r.concat(e(t)))
                  : (0, i.isFragment)(t) && t.props
                  ? (r = r.concat(e(t.props.children, n)))
                  : r.push(t));
            }),
            r
          );
        });
      var o = r(n(59496)),
        i = n(56237);
    },
    96404: function (e, t, n) {
      n.d(t, {
        tS: function () {
          return u;
        },
      });
      var r = n(49544),
        o = n(71209);
      function i(e) {
        var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
        if ((0, o.Z)(e)) {
          var n = e.nodeName.toLowerCase(),
            r =
              ["input", "select", "textarea", "button"].includes(n) ||
              e.isContentEditable ||
              ("a" === n && !!e.getAttribute("href")),
            i = e.getAttribute("tabindex"),
            u = Number(i),
            l = null;
          return (
            i && !Number.isNaN(u) ? (l = u) : r && null === l && (l = 0),
            r && e.disabled && (l = null),
            null !== l && (l >= 0 || (t && l < 0))
          );
        }
        return !1;
      }
      function u(e) {
        var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
          n = (0, r.Z)(e.querySelectorAll("*")).filter(function (e) {
            return i(e, t);
          });
        return i(e, t) && n.unshift(e), n;
      }
    },
    71209: function (e, t) {
      t.Z = function (e) {
        if (!e) return !1;
        if (e instanceof Element) {
          if (e.offsetParent) return !0;
          if (e.getBBox) {
            var t = e.getBBox(),
              n = t.width,
              r = t.height;
            if (n || r) return !0;
          }
          if (e.getBoundingClientRect) {
            var o = e.getBoundingClientRect(),
              i = o.width,
              u = o.height;
            if (i || u) return !0;
          }
        }
        return !1;
      };
    },
  },
]);
