"use strict";
(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
  [48831],
  {
    48831: function (e, t, n) {
      n.d(t, {
        Z: function () {
          return $;
        },
      });
      var o,
        r,
        i,
        a,
        s,
        l = n(32793),
        c = n(1048),
        f = n(38331),
        p = n(23960),
        d = n(67294),
        u = n(33703),
        m = n(73546),
        g = n(82690);
      function getWindow(e) {
        if (null == e) return window;
        if ("[object Window]" !== e.toString()) {
          var t = e.ownerDocument;
          return (t && t.defaultView) || window;
        }
        return e;
      }
      function isElement(e) {
        var t = getWindow(e).Element;
        return e instanceof t || e instanceof Element;
      }
      function isHTMLElement(e) {
        var t = getWindow(e).HTMLElement;
        return e instanceof t || e instanceof HTMLElement;
      }
      function isShadowRoot(e) {
        if ("undefined" == typeof ShadowRoot) return !1;
        var t = getWindow(e).ShadowRoot;
        return e instanceof t || e instanceof ShadowRoot;
      }
      var h = Math.max,
        v = Math.min,
        y = Math.round;
      function getUAString() {
        var e = navigator.userAgentData;
        return null != e && e.brands && Array.isArray(e.brands)
          ? e.brands
              .map(function (e) {
                return e.brand + "/" + e.version;
              })
              .join(" ")
          : navigator.userAgent;
      }
      function isLayoutViewport() {
        return !/^((?!chrome|android).)*safari/i.test(getUAString());
      }
      function getBoundingClientRect(e, t, n) {
        void 0 === t && (t = !1), void 0 === n && (n = !1);
        var o = e.getBoundingClientRect(),
          r = 1,
          i = 1;
        t &&
          isHTMLElement(e) &&
          ((r = (e.offsetWidth > 0 && y(o.width) / e.offsetWidth) || 1),
          (i = (e.offsetHeight > 0 && y(o.height) / e.offsetHeight) || 1));
        var a = (isElement(e) ? getWindow(e) : window).visualViewport,
          s = !isLayoutViewport() && n,
          l = (o.left + (s && a ? a.offsetLeft : 0)) / r,
          c = (o.top + (s && a ? a.offsetTop : 0)) / i,
          f = o.width / r,
          p = o.height / i;
        return {
          width: f,
          height: p,
          top: c,
          right: l + f,
          bottom: c + p,
          left: l,
          x: l,
          y: c,
        };
      }
      function getWindowScroll(e) {
        var t = getWindow(e);
        return { scrollLeft: t.pageXOffset, scrollTop: t.pageYOffset };
      }
      function getNodeName(e) {
        return e ? (e.nodeName || "").toLowerCase() : null;
      }
      function getDocumentElement(e) {
        return (
          (isElement(e) ? e.ownerDocument : e.document) || window.document
        ).documentElement;
      }
      function getWindowScrollBarX(e) {
        return (
          getBoundingClientRect(getDocumentElement(e)).left +
          getWindowScroll(e).scrollLeft
        );
      }
      function getComputedStyle(e) {
        return getWindow(e).getComputedStyle(e);
      }
      function isScrollParent(e) {
        var t = getComputedStyle(e),
          n = t.overflow,
          o = t.overflowX,
          r = t.overflowY;
        return /auto|scroll|overlay|hidden/.test(n + r + o);
      }
      function getLayoutRect(e) {
        var t = getBoundingClientRect(e),
          n = e.offsetWidth,
          o = e.offsetHeight;
        return (
          1 >= Math.abs(t.width - n) && (n = t.width),
          1 >= Math.abs(t.height - o) && (o = t.height),
          { x: e.offsetLeft, y: e.offsetTop, width: n, height: o }
        );
      }
      function getParentNode(e) {
        return "html" === getNodeName(e)
          ? e
          : e.assignedSlot ||
              e.parentNode ||
              (isShadowRoot(e) ? e.host : null) ||
              getDocumentElement(e);
      }
      function listScrollParents(e, t) {
        void 0 === t && (t = []);
        var n,
          o = (function getScrollParent(e) {
            return ["html", "body", "#document"].indexOf(getNodeName(e)) >= 0
              ? e.ownerDocument.body
              : isHTMLElement(e) && isScrollParent(e)
              ? e
              : getScrollParent(getParentNode(e));
          })(e),
          r = o === (null == (n = e.ownerDocument) ? void 0 : n.body),
          i = getWindow(o),
          a = r
            ? [i].concat(i.visualViewport || [], isScrollParent(o) ? o : [])
            : o,
          s = t.concat(a);
        return r ? s : s.concat(listScrollParents(getParentNode(a)));
      }
      function getTrueOffsetParent(e) {
        return isHTMLElement(e) && "fixed" !== getComputedStyle(e).position
          ? e.offsetParent
          : null;
      }
      function getOffsetParent(e) {
        for (
          var t = getWindow(e), n = getTrueOffsetParent(e);
          n &&
          ["table", "td", "th"].indexOf(getNodeName(n)) >= 0 &&
          "static" === getComputedStyle(n).position;

        )
          n = getTrueOffsetParent(n);
        return n &&
          ("html" === getNodeName(n) ||
            ("body" === getNodeName(n) &&
              "static" === getComputedStyle(n).position))
          ? t
          : n ||
              (function (e) {
                var t = /firefox/i.test(getUAString());
                if (
                  /Trident/i.test(getUAString()) &&
                  isHTMLElement(e) &&
                  "fixed" === getComputedStyle(e).position
                )
                  return null;
                var n = getParentNode(e);
                for (
                  isShadowRoot(n) && (n = n.host);
                  isHTMLElement(n) &&
                  0 > ["html", "body"].indexOf(getNodeName(n));

                ) {
                  var o = getComputedStyle(n);
                  if (
                    "none" !== o.transform ||
                    "none" !== o.perspective ||
                    "paint" === o.contain ||
                    -1 !== ["transform", "perspective"].indexOf(o.willChange) ||
                    (t && "filter" === o.willChange) ||
                    (t && o.filter && "none" !== o.filter)
                  )
                    return n;
                  n = n.parentNode;
                }
                return null;
              })(e) ||
              t;
      }
      var w = "bottom",
        b = "right",
        x = "left",
        O = "auto",
        P = ["top", w, b, x],
        E = "start",
        S = "viewport",
        M = "popper",
        R = P.reduce(function (e, t) {
          return e.concat([t + "-" + E, t + "-end"]);
        }, []),
        T = [].concat(P, [O]).reduce(function (e, t) {
          return e.concat([t, t + "-" + E, t + "-end"]);
        }, []),
        j = [
          "beforeRead",
          "read",
          "afterRead",
          "beforeMain",
          "main",
          "afterMain",
          "beforeWrite",
          "write",
          "afterWrite",
        ],
        C = { placement: "bottom", modifiers: [], strategy: "absolute" };
      function areValidElements() {
        for (var e = arguments.length, t = Array(e), n = 0; n < e; n++)
          t[n] = arguments[n];
        return !t.some(function (e) {
          return !(e && "function" == typeof e.getBoundingClientRect);
        });
      }
      var A = { passive: !0 };
      function getBasePlacement(e) {
        return e.split("-")[0];
      }
      function getVariation(e) {
        return e.split("-")[1];
      }
      function getMainAxisFromPlacement(e) {
        return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
      }
      function computeOffsets(e) {
        var t,
          n = e.reference,
          o = e.element,
          r = e.placement,
          i = r ? getBasePlacement(r) : null,
          a = r ? getVariation(r) : null,
          s = n.x + n.width / 2 - o.width / 2,
          l = n.y + n.height / 2 - o.height / 2;
        switch (i) {
          case "top":
            t = { x: s, y: n.y - o.height };
            break;
          case w:
            t = { x: s, y: n.y + n.height };
            break;
          case b:
            t = { x: n.x + n.width, y: l };
            break;
          case x:
            t = { x: n.x - o.width, y: l };
            break;
          default:
            t = { x: n.x, y: n.y };
        }
        var c = i ? getMainAxisFromPlacement(i) : null;
        if (null != c) {
          var f = "y" === c ? "height" : "width";
          switch (a) {
            case E:
              t[c] = t[c] - (n[f] / 2 - o[f] / 2);
              break;
            case "end":
              t[c] = t[c] + (n[f] / 2 - o[f] / 2);
          }
        }
        return t;
      }
      var W = { top: "auto", right: "auto", bottom: "auto", left: "auto" };
      function mapToStyles(e) {
        var t,
          n,
          o,
          r,
          i,
          a,
          s,
          l = e.popper,
          c = e.popperRect,
          f = e.placement,
          p = e.variation,
          d = e.offsets,
          u = e.position,
          m = e.gpuAcceleration,
          g = e.adaptive,
          h = e.roundOffsets,
          v = e.isFixed,
          O = d.x,
          P = void 0 === O ? 0 : O,
          E = d.y,
          S = void 0 === E ? 0 : E,
          M = "function" == typeof h ? h({ x: P, y: S }) : { x: P, y: S };
        (P = M.x), (S = M.y);
        var R = d.hasOwnProperty("x"),
          T = d.hasOwnProperty("y"),
          j = x,
          C = "top",
          A = window;
        if (g) {
          var B = getOffsetParent(l),
            L = "clientHeight",
            D = "clientWidth";
          B === getWindow(l) &&
            "static" !==
              getComputedStyle((B = getDocumentElement(l))).position &&
            "absolute" === u &&
            ((L = "scrollHeight"), (D = "scrollWidth")),
            ("top" === f || ((f === x || f === b) && "end" === p)) &&
              ((C = w),
              (S -=
                (v && B === A && A.visualViewport
                  ? A.visualViewport.height
                  : B[L]) - c.height),
              (S *= m ? 1 : -1)),
            (f === x || (("top" === f || f === w) && "end" === p)) &&
              ((j = b),
              (P -=
                (v && B === A && A.visualViewport
                  ? A.visualViewport.width
                  : B[D]) - c.width),
              (P *= m ? 1 : -1));
        }
        var N = Object.assign({ position: u }, g && W),
          H =
            !0 === h
              ? ((t = { x: P, y: S }),
                (n = getWindow(l)),
                (o = t.x),
                (r = t.y),
                {
                  x: y(o * (i = n.devicePixelRatio || 1)) / i || 0,
                  y: y(r * i) / i || 0,
                })
              : { x: P, y: S };
        return ((P = H.x), (S = H.y), m)
          ? Object.assign(
              {},
              N,
              (((s = {})[C] = T ? "0" : ""),
              (s[j] = R ? "0" : ""),
              (s.transform =
                1 >= (A.devicePixelRatio || 1)
                  ? "translate(" + P + "px, " + S + "px)"
                  : "translate3d(" + P + "px, " + S + "px, 0)"),
              s)
            )
          : Object.assign(
              {},
              N,
              (((a = {})[C] = T ? S + "px" : ""),
              (a[j] = R ? P + "px" : ""),
              (a.transform = ""),
              a)
            );
      }
      var B = { left: "right", right: "left", bottom: "top", top: "bottom" };
      function getOppositePlacement(e) {
        return e.replace(/left|right|bottom|top/g, function (e) {
          return B[e];
        });
      }
      var L = { start: "end", end: "start" };
      function getOppositeVariationPlacement(e) {
        return e.replace(/start|end/g, function (e) {
          return L[e];
        });
      }
      function contains(e, t) {
        var n = t.getRootNode && t.getRootNode();
        if (e.contains(t)) return !0;
        if (n && isShadowRoot(n)) {
          var o = t;
          do {
            if (o && e.isSameNode(o)) return !0;
            o = o.parentNode || o.host;
          } while (o);
        }
        return !1;
      }
      function rectToClientRect(e) {
        return Object.assign({}, e, {
          left: e.x,
          top: e.y,
          right: e.x + e.width,
          bottom: e.y + e.height,
        });
      }
      function getClientRectFromMixedType(e, t, n) {
        var o, r, i, a, s, l, c, f, p, d;
        return t === S
          ? rectToClientRect(
              (function (e, t) {
                var n = getWindow(e),
                  o = getDocumentElement(e),
                  r = n.visualViewport,
                  i = o.clientWidth,
                  a = o.clientHeight,
                  s = 0,
                  l = 0;
                if (r) {
                  (i = r.width), (a = r.height);
                  var c = isLayoutViewport();
                  (c || (!c && "fixed" === t)) &&
                    ((s = r.offsetLeft), (l = r.offsetTop));
                }
                return {
                  width: i,
                  height: a,
                  x: s + getWindowScrollBarX(e),
                  y: l,
                };
              })(e, n)
            )
          : isElement(t)
          ? (((o = getBoundingClientRect(t, !1, "fixed" === n)).top =
              o.top + t.clientTop),
            (o.left = o.left + t.clientLeft),
            (o.bottom = o.top + t.clientHeight),
            (o.right = o.left + t.clientWidth),
            (o.width = t.clientWidth),
            (o.height = t.clientHeight),
            (o.x = o.left),
            (o.y = o.top),
            o)
          : rectToClientRect(
              ((r = getDocumentElement(e)),
              (a = getDocumentElement(r)),
              (s = getWindowScroll(r)),
              (l = null == (i = r.ownerDocument) ? void 0 : i.body),
              (c = h(
                a.scrollWidth,
                a.clientWidth,
                l ? l.scrollWidth : 0,
                l ? l.clientWidth : 0
              )),
              (f = h(
                a.scrollHeight,
                a.clientHeight,
                l ? l.scrollHeight : 0,
                l ? l.clientHeight : 0
              )),
              (p = -s.scrollLeft + getWindowScrollBarX(r)),
              (d = -s.scrollTop),
              "rtl" === getComputedStyle(l || a).direction &&
                (p += h(a.clientWidth, l ? l.clientWidth : 0) - c),
              { width: c, height: f, x: p, y: d })
            );
      }
      function getFreshSideObject() {
        return { top: 0, right: 0, bottom: 0, left: 0 };
      }
      function mergePaddingObject(e) {
        return Object.assign({}, getFreshSideObject(), e);
      }
      function expandToHashMap(e, t) {
        return t.reduce(function (t, n) {
          return (t[n] = e), t;
        }, {});
      }
      function detectOverflow(e, t) {
        void 0 === t && (t = {});
        var n,
          o,
          r,
          i,
          a,
          s,
          l,
          c = t,
          f = c.placement,
          p = void 0 === f ? e.placement : f,
          d = c.strategy,
          u = void 0 === d ? e.strategy : d,
          m = c.boundary,
          g = c.rootBoundary,
          y = c.elementContext,
          x = void 0 === y ? M : y,
          O = c.altBoundary,
          E = c.padding,
          R = void 0 === E ? 0 : E,
          T = mergePaddingObject(
            "number" != typeof R ? R : expandToHashMap(R, P)
          ),
          j = e.rects.popper,
          C = e.elements[void 0 !== O && O ? (x === M ? "reference" : M) : x],
          A =
            ((n = isElement(C)
              ? C
              : C.contextElement || getDocumentElement(e.elements.popper)),
            (s = (a = [].concat(
              "clippingParents" === (o = void 0 === m ? "clippingParents" : m)
                ? ((r = listScrollParents(getParentNode(n))),
                  isElement(
                    (i =
                      ["absolute", "fixed"].indexOf(
                        getComputedStyle(n).position
                      ) >= 0 && isHTMLElement(n)
                        ? getOffsetParent(n)
                        : n)
                  )
                    ? r.filter(function (e) {
                        return (
                          isElement(e) &&
                          contains(e, i) &&
                          "body" !== getNodeName(e)
                        );
                      })
                    : [])
                : [].concat(o),
              [void 0 === g ? S : g]
            ))[0]),
            ((l = a.reduce(function (e, t) {
              var o = getClientRectFromMixedType(n, t, u);
              return (
                (e.top = h(o.top, e.top)),
                (e.right = v(o.right, e.right)),
                (e.bottom = v(o.bottom, e.bottom)),
                (e.left = h(o.left, e.left)),
                e
              );
            }, getClientRectFromMixedType(n, s, u))).width = l.right - l.left),
            (l.height = l.bottom - l.top),
            (l.x = l.left),
            (l.y = l.top),
            l),
          W = getBoundingClientRect(e.elements.reference),
          B = computeOffsets({
            reference: W,
            element: j,
            strategy: "absolute",
            placement: p,
          }),
          L = rectToClientRect(Object.assign({}, j, B)),
          D = x === M ? L : W,
          N = {
            top: A.top - D.top + T.top,
            bottom: D.bottom - A.bottom + T.bottom,
            left: A.left - D.left + T.left,
            right: D.right - A.right + T.right,
          },
          H = e.modifiersData.offset;
        if (x === M && H) {
          var V = H[p];
          Object.keys(N).forEach(function (e) {
            var t = [b, w].indexOf(e) >= 0 ? 1 : -1,
              n = ["top", w].indexOf(e) >= 0 ? "y" : "x";
            N[e] += V[n] * t;
          });
        }
        return N;
      }
      function within(e, t, n) {
        return h(e, v(t, n));
      }
      function getSideOffsets(e, t, n) {
        return (
          void 0 === n && (n = { x: 0, y: 0 }),
          {
            top: e.top - t.height - n.y,
            right: e.right - t.width + n.x,
            bottom: e.bottom - t.height + n.y,
            left: e.left - t.width - n.x,
          }
        );
      }
      function isAnySideFullyClipped(e) {
        return ["top", b, w, x].some(function (t) {
          return e[t] >= 0;
        });
      }
      var D =
          ((i =
            void 0 ===
            (r = (o = {
              defaultModifiers: [
                {
                  name: "eventListeners",
                  enabled: !0,
                  phase: "write",
                  fn: function () {},
                  effect: function (e) {
                    var t = e.state,
                      n = e.instance,
                      o = e.options,
                      r = o.scroll,
                      i = void 0 === r || r,
                      a = o.resize,
                      s = void 0 === a || a,
                      l = getWindow(t.elements.popper),
                      c = [].concat(
                        t.scrollParents.reference,
                        t.scrollParents.popper
                      );
                    return (
                      i &&
                        c.forEach(function (e) {
                          e.addEventListener("scroll", n.update, A);
                        }),
                      s && l.addEventListener("resize", n.update, A),
                      function () {
                        i &&
                          c.forEach(function (e) {
                            e.removeEventListener("scroll", n.update, A);
                          }),
                          s && l.removeEventListener("resize", n.update, A);
                      }
                    );
                  },
                  data: {},
                },
                {
                  name: "popperOffsets",
                  enabled: !0,
                  phase: "read",
                  fn: function (e) {
                    var t = e.state,
                      n = e.name;
                    t.modifiersData[n] = computeOffsets({
                      reference: t.rects.reference,
                      element: t.rects.popper,
                      strategy: "absolute",
                      placement: t.placement,
                    });
                  },
                  data: {},
                },
                {
                  name: "computeStyles",
                  enabled: !0,
                  phase: "beforeWrite",
                  fn: function (e) {
                    var t = e.state,
                      n = e.options,
                      o = n.gpuAcceleration,
                      r = n.adaptive,
                      i = n.roundOffsets,
                      a = void 0 === i || i,
                      s = {
                        placement: getBasePlacement(t.placement),
                        variation: getVariation(t.placement),
                        popper: t.elements.popper,
                        popperRect: t.rects.popper,
                        gpuAcceleration: void 0 === o || o,
                        isFixed: "fixed" === t.options.strategy,
                      };
                    null != t.modifiersData.popperOffsets &&
                      (t.styles.popper = Object.assign(
                        {},
                        t.styles.popper,
                        mapToStyles(
                          Object.assign({}, s, {
                            offsets: t.modifiersData.popperOffsets,
                            position: t.options.strategy,
                            adaptive: void 0 === r || r,
                            roundOffsets: a,
                          })
                        )
                      )),
                      null != t.modifiersData.arrow &&
                        (t.styles.arrow = Object.assign(
                          {},
                          t.styles.arrow,
                          mapToStyles(
                            Object.assign({}, s, {
                              offsets: t.modifiersData.arrow,
                              position: "absolute",
                              adaptive: !1,
                              roundOffsets: a,
                            })
                          )
                        )),
                      (t.attributes.popper = Object.assign(
                        {},
                        t.attributes.popper,
                        { "data-popper-placement": t.placement }
                      ));
                  },
                  data: {},
                },
                {
                  name: "applyStyles",
                  enabled: !0,
                  phase: "write",
                  fn: function (e) {
                    var t = e.state;
                    Object.keys(t.elements).forEach(function (e) {
                      var n = t.styles[e] || {},
                        o = t.attributes[e] || {},
                        r = t.elements[e];
                      isHTMLElement(r) &&
                        getNodeName(r) &&
                        (Object.assign(r.style, n),
                        Object.keys(o).forEach(function (e) {
                          var t = o[e];
                          !1 === t
                            ? r.removeAttribute(e)
                            : r.setAttribute(e, !0 === t ? "" : t);
                        }));
                    });
                  },
                  effect: function (e) {
                    var t = e.state,
                      n = {
                        popper: {
                          position: t.options.strategy,
                          left: "0",
                          top: "0",
                          margin: "0",
                        },
                        arrow: { position: "absolute" },
                        reference: {},
                      };
                    return (
                      Object.assign(t.elements.popper.style, n.popper),
                      (t.styles = n),
                      t.elements.arrow &&
                        Object.assign(t.elements.arrow.style, n.arrow),
                      function () {
                        Object.keys(t.elements).forEach(function (e) {
                          var o = t.elements[e],
                            r = t.attributes[e] || {},
                            i = Object.keys(
                              t.styles.hasOwnProperty(e) ? t.styles[e] : n[e]
                            ).reduce(function (e, t) {
                              return (e[t] = ""), e;
                            }, {});
                          isHTMLElement(o) &&
                            getNodeName(o) &&
                            (Object.assign(o.style, i),
                            Object.keys(r).forEach(function (e) {
                              o.removeAttribute(e);
                            }));
                        });
                      }
                    );
                  },
                  requires: ["computeStyles"],
                },
                {
                  name: "offset",
                  enabled: !0,
                  phase: "main",
                  requires: ["popperOffsets"],
                  fn: function (e) {
                    var t = e.state,
                      n = e.options,
                      o = e.name,
                      r = n.offset,
                      i = void 0 === r ? [0, 0] : r,
                      a = T.reduce(function (e, n) {
                        var o, r, a, s, l, c;
                        return (
                          (e[n] =
                            ((o = t.rects),
                            (a =
                              [x, "top"].indexOf((r = getBasePlacement(n))) >= 0
                                ? -1
                                : 1),
                            (l = (s =
                              "function" == typeof i
                                ? i(Object.assign({}, o, { placement: n }))
                                : i)[0]),
                            (c = s[1]),
                            (l = l || 0),
                            (c = (c || 0) * a),
                            [x, b].indexOf(r) >= 0
                              ? { x: c, y: l }
                              : { x: l, y: c })),
                          e
                        );
                      }, {}),
                      s = a[t.placement],
                      l = s.x,
                      c = s.y;
                    null != t.modifiersData.popperOffsets &&
                      ((t.modifiersData.popperOffsets.x += l),
                      (t.modifiersData.popperOffsets.y += c)),
                      (t.modifiersData[o] = a);
                  },
                },
                {
                  name: "flip",
                  enabled: !0,
                  phase: "main",
                  fn: function (e) {
                    var t = e.state,
                      n = e.options,
                      o = e.name;
                    if (!t.modifiersData[o]._skip) {
                      for (
                        var r = n.mainAxis,
                          i = void 0 === r || r,
                          a = n.altAxis,
                          s = void 0 === a || a,
                          l = n.fallbackPlacements,
                          c = n.padding,
                          f = n.boundary,
                          p = n.rootBoundary,
                          d = n.altBoundary,
                          u = n.flipVariations,
                          m = void 0 === u || u,
                          g = n.allowedAutoPlacements,
                          h = t.options.placement,
                          v = getBasePlacement(h) === h,
                          y =
                            l ||
                            (v || !m
                              ? [getOppositePlacement(h)]
                              : (function (e) {
                                  if (getBasePlacement(e) === O) return [];
                                  var t = getOppositePlacement(e);
                                  return [
                                    getOppositeVariationPlacement(e),
                                    t,
                                    getOppositeVariationPlacement(t),
                                  ];
                                })(h)),
                          S = [h].concat(y).reduce(function (e, n) {
                            var o, r, i, a, s, l, d, u, h, v, y, w;
                            return e.concat(
                              getBasePlacement(n) === O
                                ? ((r = (o = {
                                    placement: n,
                                    boundary: f,
                                    rootBoundary: p,
                                    padding: c,
                                    flipVariations: m,
                                    allowedAutoPlacements: g,
                                  }).placement),
                                  (i = o.boundary),
                                  (a = o.rootBoundary),
                                  (s = o.padding),
                                  (l = o.flipVariations),
                                  (u =
                                    void 0 === (d = o.allowedAutoPlacements)
                                      ? T
                                      : d),
                                  0 ===
                                    (y = (v = (h = getVariation(r))
                                      ? l
                                        ? R
                                        : R.filter(function (e) {
                                            return getVariation(e) === h;
                                          })
                                      : P).filter(function (e) {
                                      return u.indexOf(e) >= 0;
                                    })).length && (y = v),
                                  Object.keys(
                                    (w = y.reduce(function (e, n) {
                                      return (
                                        (e[n] = detectOverflow(t, {
                                          placement: n,
                                          boundary: i,
                                          rootBoundary: a,
                                          padding: s,
                                        })[getBasePlacement(n)]),
                                        e
                                      );
                                    }, {}))
                                  ).sort(function (e, t) {
                                    return w[e] - w[t];
                                  }))
                                : n
                            );
                          }, []),
                          M = t.rects.reference,
                          j = t.rects.popper,
                          C = new Map(),
                          A = !0,
                          W = S[0],
                          B = 0;
                        B < S.length;
                        B++
                      ) {
                        var L = S[B],
                          D = getBasePlacement(L),
                          N = getVariation(L) === E,
                          H = ["top", w].indexOf(D) >= 0,
                          V = H ? "width" : "height",
                          k = detectOverflow(t, {
                            placement: L,
                            boundary: f,
                            rootBoundary: p,
                            altBoundary: d,
                            padding: c,
                          }),
                          Z = H ? (N ? b : x) : N ? w : "top";
                        M[V] > j[V] && (Z = getOppositePlacement(Z));
                        var F = getOppositePlacement(Z),
                          U = [];
                        if (
                          (i && U.push(k[D] <= 0),
                          s && U.push(k[Z] <= 0, k[F] <= 0),
                          U.every(function (e) {
                            return e;
                          }))
                        ) {
                          (W = L), (A = !1);
                          break;
                        }
                        C.set(L, U);
                      }
                      if (A)
                        for (
                          var q = m ? 3 : 1,
                            _loop = function (e) {
                              var t = S.find(function (t) {
                                var n = C.get(t);
                                if (n)
                                  return n.slice(0, e).every(function (e) {
                                    return e;
                                  });
                              });
                              if (t) return (W = t), "break";
                            },
                            _ = q;
                          _ > 0 && "break" !== _loop(_);
                          _--
                        );
                      t.placement !== W &&
                        ((t.modifiersData[o]._skip = !0),
                        (t.placement = W),
                        (t.reset = !0));
                    }
                  },
                  requiresIfExists: ["offset"],
                  data: { _skip: !1 },
                },
                {
                  name: "preventOverflow",
                  enabled: !0,
                  phase: "main",
                  fn: function (e) {
                    var t = e.state,
                      n = e.options,
                      o = e.name,
                      r = n.mainAxis,
                      i = n.altAxis,
                      a = n.boundary,
                      s = n.rootBoundary,
                      l = n.altBoundary,
                      c = n.padding,
                      f = n.tether,
                      p = void 0 === f || f,
                      d = n.tetherOffset,
                      u = void 0 === d ? 0 : d,
                      m = detectOverflow(t, {
                        boundary: a,
                        rootBoundary: s,
                        padding: c,
                        altBoundary: l,
                      }),
                      g = getBasePlacement(t.placement),
                      y = getVariation(t.placement),
                      O = !y,
                      P = getMainAxisFromPlacement(g),
                      S = "x" === P ? "y" : "x",
                      M = t.modifiersData.popperOffsets,
                      R = t.rects.reference,
                      T = t.rects.popper,
                      j =
                        "function" == typeof u
                          ? u(
                              Object.assign({}, t.rects, {
                                placement: t.placement,
                              })
                            )
                          : u,
                      C =
                        "number" == typeof j
                          ? { mainAxis: j, altAxis: j }
                          : Object.assign({ mainAxis: 0, altAxis: 0 }, j),
                      A = t.modifiersData.offset
                        ? t.modifiersData.offset[t.placement]
                        : null,
                      W = { x: 0, y: 0 };
                    if (M) {
                      if (void 0 === r || r) {
                        var B,
                          L = "y" === P ? "top" : x,
                          D = "y" === P ? w : b,
                          N = "y" === P ? "height" : "width",
                          H = M[P],
                          V = H + m[L],
                          k = H - m[D],
                          Z = p ? -T[N] / 2 : 0,
                          F = y === E ? R[N] : T[N],
                          U = y === E ? -T[N] : -R[N],
                          q = t.elements.arrow,
                          _ =
                            p && q ? getLayoutRect(q) : { width: 0, height: 0 },
                          I = t.modifiersData["arrow#persistent"]
                            ? t.modifiersData["arrow#persistent"].padding
                            : getFreshSideObject(),
                          X = I[L],
                          z = I[D],
                          Y = within(0, R[N], _[N]),
                          G = O
                            ? R[N] / 2 - Z - Y - X - C.mainAxis
                            : F - Y - X - C.mainAxis,
                          J = O
                            ? -R[N] / 2 + Z + Y + z + C.mainAxis
                            : U + Y + z + C.mainAxis,
                          K =
                            t.elements.arrow &&
                            getOffsetParent(t.elements.arrow),
                          Q = K
                            ? "y" === P
                              ? K.clientTop || 0
                              : K.clientLeft || 0
                            : 0,
                          $ = null != (B = null == A ? void 0 : A[P]) ? B : 0,
                          ee = H + G - $ - Q,
                          et = H + J - $,
                          en = within(p ? v(V, ee) : V, H, p ? h(k, et) : k);
                        (M[P] = en), (W[P] = en - H);
                      }
                      if (void 0 !== i && i) {
                        var eo,
                          er,
                          ei = "x" === P ? "top" : x,
                          ea = "x" === P ? w : b,
                          es = M[S],
                          el = "y" === S ? "height" : "width",
                          ec = es + m[ei],
                          ef = es - m[ea],
                          ep = -1 !== ["top", x].indexOf(g),
                          ed =
                            null != (er = null == A ? void 0 : A[S]) ? er : 0,
                          eu = ep ? ec : es - R[el] - T[el] - ed + C.altAxis,
                          em = ep ? es + R[el] + T[el] - ed - C.altAxis : ef,
                          eg =
                            p && ep
                              ? (eo = within(eu, es, em)) > em
                                ? em
                                : eo
                              : within(p ? eu : ec, es, p ? em : ef);
                        (M[S] = eg), (W[S] = eg - es);
                      }
                      t.modifiersData[o] = W;
                    }
                  },
                  requiresIfExists: ["offset"],
                },
                {
                  name: "arrow",
                  enabled: !0,
                  phase: "main",
                  fn: function (e) {
                    var t,
                      n,
                      o = e.state,
                      r = e.name,
                      i = e.options,
                      a = o.elements.arrow,
                      s = o.modifiersData.popperOffsets,
                      l = getBasePlacement(o.placement),
                      c = getMainAxisFromPlacement(l),
                      f = [x, b].indexOf(l) >= 0 ? "height" : "width";
                    if (a && s) {
                      var p = mergePaddingObject(
                          "number" !=
                            typeof (t =
                              "function" == typeof (t = i.padding)
                                ? t(
                                    Object.assign({}, o.rects, {
                                      placement: o.placement,
                                    })
                                  )
                                : t)
                            ? t
                            : expandToHashMap(t, P)
                        ),
                        d = getLayoutRect(a),
                        u = "y" === c ? "top" : x,
                        m = "y" === c ? w : b,
                        g =
                          o.rects.reference[f] +
                          o.rects.reference[c] -
                          s[c] -
                          o.rects.popper[f],
                        h = s[c] - o.rects.reference[c],
                        v = getOffsetParent(a),
                        y = v
                          ? "y" === c
                            ? v.clientHeight || 0
                            : v.clientWidth || 0
                          : 0,
                        O = p[u],
                        E = y - d[f] - p[m],
                        S = y / 2 - d[f] / 2 + (g / 2 - h / 2),
                        M = within(O, S, E);
                      o.modifiersData[r] =
                        (((n = {})[c] = M), (n.centerOffset = M - S), n);
                    }
                  },
                  effect: function (e) {
                    var t = e.state,
                      n = e.options.element,
                      o = void 0 === n ? "[data-popper-arrow]" : n;
                    null != o &&
                      ("string" != typeof o ||
                        (o = t.elements.popper.querySelector(o))) &&
                      contains(t.elements.popper, o) &&
                      (t.elements.arrow = o);
                  },
                  requires: ["popperOffsets"],
                  requiresIfExists: ["preventOverflow"],
                },
                {
                  name: "hide",
                  enabled: !0,
                  phase: "main",
                  requiresIfExists: ["preventOverflow"],
                  fn: function (e) {
                    var t = e.state,
                      n = e.name,
                      o = t.rects.reference,
                      r = t.rects.popper,
                      i = t.modifiersData.preventOverflow,
                      a = detectOverflow(t, { elementContext: "reference" }),
                      s = detectOverflow(t, { altBoundary: !0 }),
                      l = getSideOffsets(a, o),
                      c = getSideOffsets(s, r, i),
                      f = isAnySideFullyClipped(l),
                      p = isAnySideFullyClipped(c);
                    (t.modifiersData[n] = {
                      referenceClippingOffsets: l,
                      popperEscapeOffsets: c,
                      isReferenceHidden: f,
                      hasPopperEscaped: p,
                    }),
                      (t.attributes.popper = Object.assign(
                        {},
                        t.attributes.popper,
                        {
                          "data-popper-reference-hidden": f,
                          "data-popper-escaped": p,
                        }
                      ));
                  },
                },
              ],
            }).defaultModifiers)
              ? []
              : r),
          (s = void 0 === (a = o.defaultOptions) ? C : a),
          function (e, t, n) {
            void 0 === n && (n = s);
            var o,
              r = {
                placement: "bottom",
                orderedModifiers: [],
                options: Object.assign({}, C, s),
                modifiersData: {},
                elements: { reference: e, popper: t },
                attributes: {},
                styles: {},
              },
              a = [],
              l = !1,
              c = {
                state: r,
                setOptions: function (n) {
                  var o,
                    l,
                    f,
                    p,
                    d,
                    u = "function" == typeof n ? n(r.options) : n;
                  cleanupModifierEffects(),
                    (r.options = Object.assign({}, s, r.options, u)),
                    (r.scrollParents = {
                      reference: isElement(e)
                        ? listScrollParents(e)
                        : e.contextElement
                        ? listScrollParents(e.contextElement)
                        : [],
                      popper: listScrollParents(t),
                    });
                  var m =
                    ((l = Object.keys(
                      (o = []
                        .concat(i, r.options.modifiers)
                        .reduce(function (e, t) {
                          var n = e[t.name];
                          return (
                            (e[t.name] = n
                              ? Object.assign({}, n, t, {
                                  options: Object.assign(
                                    {},
                                    n.options,
                                    t.options
                                  ),
                                  data: Object.assign({}, n.data, t.data),
                                })
                              : t),
                            e
                          );
                        }, {}))
                    ).map(function (e) {
                      return o[e];
                    })),
                    (f = new Map()),
                    (p = new Set()),
                    (d = []),
                    l.forEach(function (e) {
                      f.set(e.name, e);
                    }),
                    l.forEach(function (e) {
                      p.has(e.name) ||
                        (function sort(e) {
                          p.add(e.name),
                            []
                              .concat(
                                e.requires || [],
                                e.requiresIfExists || []
                              )
                              .forEach(function (e) {
                                if (!p.has(e)) {
                                  var t = f.get(e);
                                  t && sort(t);
                                }
                              }),
                            d.push(e);
                        })(e);
                    }),
                    j.reduce(function (e, t) {
                      return e.concat(
                        d.filter(function (e) {
                          return e.phase === t;
                        })
                      );
                    }, []));
                  return (
                    (r.orderedModifiers = m.filter(function (e) {
                      return e.enabled;
                    })),
                    r.orderedModifiers.forEach(function (e) {
                      var t = e.name,
                        n = e.options,
                        o = e.effect;
                      if ("function" == typeof o) {
                        var i = o({
                          state: r,
                          name: t,
                          instance: c,
                          options: void 0 === n ? {} : n,
                        });
                        a.push(i || function () {});
                      }
                    }),
                    c.update()
                  );
                },
                forceUpdate: function () {
                  if (!l) {
                    var e,
                      t,
                      n,
                      o,
                      i,
                      a,
                      s,
                      f,
                      p,
                      d,
                      u,
                      m,
                      g = r.elements,
                      h = g.reference,
                      v = g.popper;
                    if (areValidElements(h, v)) {
                      (r.rects = {
                        reference:
                          ((t = getOffsetParent(v)),
                          (n = "fixed" === r.options.strategy),
                          (o = isHTMLElement(t)),
                          (f =
                            isHTMLElement(t) &&
                            ((a =
                              y((i = t.getBoundingClientRect()).width) /
                                t.offsetWidth || 1),
                            (s = y(i.height) / t.offsetHeight || 1),
                            1 !== a || 1 !== s)),
                          (p = getDocumentElement(t)),
                          (d = getBoundingClientRect(h, f, n)),
                          (u = { scrollLeft: 0, scrollTop: 0 }),
                          (m = { x: 0, y: 0 }),
                          (o || (!o && !n)) &&
                            (("body" !== getNodeName(t) || isScrollParent(p)) &&
                              (u =
                                (e = t) !== getWindow(e) && isHTMLElement(e)
                                  ? {
                                      scrollLeft: e.scrollLeft,
                                      scrollTop: e.scrollTop,
                                    }
                                  : getWindowScroll(e)),
                            isHTMLElement(t)
                              ? ((m = getBoundingClientRect(t, !0)),
                                (m.x += t.clientLeft),
                                (m.y += t.clientTop))
                              : p && (m.x = getWindowScrollBarX(p))),
                          {
                            x: d.left + u.scrollLeft - m.x,
                            y: d.top + u.scrollTop - m.y,
                            width: d.width,
                            height: d.height,
                          }),
                        popper: getLayoutRect(v),
                      }),
                        (r.reset = !1),
                        (r.placement = r.options.placement),
                        r.orderedModifiers.forEach(function (e) {
                          return (r.modifiersData[e.name] = Object.assign(
                            {},
                            e.data
                          ));
                        });
                      for (var w = 0; w < r.orderedModifiers.length; w++) {
                        if (!0 === r.reset) {
                          (r.reset = !1), (w = -1);
                          continue;
                        }
                        var b = r.orderedModifiers[w],
                          x = b.fn,
                          O = b.options,
                          P = void 0 === O ? {} : O,
                          E = b.name;
                        "function" == typeof x &&
                          (r =
                            x({ state: r, options: P, name: E, instance: c }) ||
                            r);
                      }
                    }
                  }
                },
                update: function () {
                  return (
                    o ||
                      (o = new Promise(function (e) {
                        Promise.resolve().then(function () {
                          (o = void 0),
                            e(
                              new Promise(function (e) {
                                c.forceUpdate(), e(r);
                              })
                            );
                        });
                      })),
                    o
                  );
                },
                destroy: function () {
                  cleanupModifierEffects(), (l = !0);
                },
              };
            if (!areValidElements(e, t)) return c;
            function cleanupModifierEffects() {
              a.forEach(function (e) {
                return e();
              }),
                (a = []);
            }
            return (
              c.setOptions(n).then(function (e) {
                !l && n.onFirstUpdate && n.onFirstUpdate(e);
              }),
              c
            );
          }),
        N = n(94780),
        H = n(78385),
        V = n(34867);
      function getPopperUtilityClass(e) {
        return (0, V.Z)("MuiPopper", e);
      }
      (0, n(1588).Z)("MuiPopper", ["root"]);
      var k = n(9586),
        Z = n(85893);
      let F = d.createContext({ disableDefaultClasses: !1 }),
        U = [
          "anchorEl",
          "children",
          "direction",
          "disablePortal",
          "modifiers",
          "open",
          "placement",
          "popperOptions",
          "popperRef",
          "slotProps",
          "slots",
          "TransitionProps",
          "ownerState",
        ],
        q = [
          "anchorEl",
          "children",
          "container",
          "direction",
          "disablePortal",
          "keepMounted",
          "modifiers",
          "open",
          "placement",
          "popperOptions",
          "popperRef",
          "style",
          "transition",
          "slotProps",
          "slots",
        ];
      function resolveAnchorEl(e) {
        return "function" == typeof e ? e() : e;
      }
      let useUtilityClasses = () =>
          (0, N.Z)(
            { root: ["root"] },
            (function (e) {
              let { disableDefaultClasses: t } = d.useContext(F);
              return (n) => (t ? "" : e(n));
            })(getPopperUtilityClass)
          ),
        _ = {},
        I = d.forwardRef(function (e, t) {
          var n;
          let {
              anchorEl: o,
              children: r,
              direction: i,
              disablePortal: a,
              modifiers: s,
              open: l,
              placement: c,
              popperOptions: g,
              popperRef: h,
              slotProps: v = {},
              slots: y = {},
              TransitionProps: w,
            } = e,
            b = (0, p.Z)(e, U),
            x = d.useRef(null),
            O = (0, u.Z)(x, t),
            P = d.useRef(null),
            E = (0, u.Z)(P, h),
            S = d.useRef(E);
          (0, m.Z)(() => {
            S.current = E;
          }, [E]),
            d.useImperativeHandle(h, () => P.current, []);
          let M = (function (e, t) {
              if ("ltr" === t) return e;
              switch (e) {
                case "bottom-end":
                  return "bottom-start";
                case "bottom-start":
                  return "bottom-end";
                case "top-end":
                  return "top-start";
                case "top-start":
                  return "top-end";
                default:
                  return e;
              }
            })(c, i),
            [R, T] = d.useState(M),
            [j, C] = d.useState(resolveAnchorEl(o));
          d.useEffect(() => {
            P.current && P.current.forceUpdate();
          }),
            d.useEffect(() => {
              o && C(resolveAnchorEl(o));
            }, [o]),
            (0, m.Z)(() => {
              if (!j || !l) return;
              let handlePopperUpdate = (e) => {
                  T(e.placement);
                },
                e = [
                  { name: "preventOverflow", options: { altBoundary: a } },
                  { name: "flip", options: { altBoundary: a } },
                  {
                    name: "onUpdate",
                    enabled: !0,
                    phase: "afterWrite",
                    fn: ({ state: e }) => {
                      handlePopperUpdate(e);
                    },
                  },
                ];
              null != s && (e = e.concat(s)),
                g && null != g.modifiers && (e = e.concat(g.modifiers));
              let t = D(
                j,
                x.current,
                (0, f.Z)({ placement: M }, g, { modifiers: e })
              );
              return (
                S.current(t),
                () => {
                  t.destroy(), S.current(null);
                }
              );
            }, [j, a, s, l, g, M]);
          let A = { placement: R };
          null !== w && (A.TransitionProps = w);
          let W = useUtilityClasses(),
            B = null != (n = y.root) ? n : "div",
            L = (0, k.y)({
              elementType: B,
              externalSlotProps: v.root,
              externalForwardedProps: b,
              additionalProps: { role: "tooltip", ref: O },
              ownerState: e,
              className: W.root,
            });
          return (0,
          Z.jsx)(B, (0, f.Z)({}, L, { children: "function" == typeof r ? r(A) : r }));
        }),
        X = d.forwardRef(function (e, t) {
          let n;
          let {
              anchorEl: o,
              children: r,
              container: i,
              direction: a = "ltr",
              disablePortal: s = !1,
              keepMounted: l = !1,
              modifiers: c,
              open: u,
              placement: m = "bottom",
              popperOptions: h = _,
              popperRef: v,
              style: y,
              transition: w = !1,
              slotProps: b = {},
              slots: x = {},
            } = e,
            O = (0, p.Z)(e, q),
            [P, E] = d.useState(!0);
          if (!l && !u && (!w || P)) return null;
          if (i) n = i;
          else if (o) {
            let e = resolveAnchorEl(o);
            n =
              e && void 0 !== e.nodeType
                ? (0, g.Z)(e).body
                : (0, g.Z)(null).body;
          }
          let S = !u && l && (!w || P) ? "none" : void 0;
          return (0, Z.jsx)(H.h, {
            disablePortal: s,
            container: n,
            children: (0, Z.jsx)(
              I,
              (0, f.Z)(
                {
                  anchorEl: o,
                  direction: a,
                  disablePortal: s,
                  modifiers: c,
                  ref: t,
                  open: w ? !P : u,
                  placement: m,
                  popperOptions: h,
                  popperRef: v,
                  slotProps: b,
                  slots: x,
                },
                O,
                {
                  style: (0, f.Z)(
                    { position: "fixed", top: 0, left: 0, display: S },
                    y
                  ),
                  TransitionProps: w
                    ? {
                        in: u,
                        onEnter: () => {
                          E(!1);
                        },
                        onExited: () => {
                          E(!0);
                        },
                      }
                    : void 0,
                  children: r,
                }
              )
            ),
          });
        });
      var z = n(34168),
        Y = n(90948),
        G = n(71657);
      let J = [
          "anchorEl",
          "component",
          "components",
          "componentsProps",
          "container",
          "disablePortal",
          "keepMounted",
          "modifiers",
          "open",
          "placement",
          "popperOptions",
          "popperRef",
          "transition",
          "slots",
          "slotProps",
        ],
        K = (0, Y.ZP)(X, {
          name: "MuiPopper",
          slot: "Root",
          overridesResolver: (e, t) => t.root,
        })({}),
        Q = d.forwardRef(function (e, t) {
          var n;
          let o = (0, z.Z)(),
            r = (0, G.Z)({ props: e, name: "MuiPopper" }),
            {
              anchorEl: i,
              component: a,
              components: s,
              componentsProps: f,
              container: p,
              disablePortal: d,
              keepMounted: u,
              modifiers: m,
              open: g,
              placement: h,
              popperOptions: v,
              popperRef: y,
              transition: w,
              slots: b,
              slotProps: x,
            } = r,
            O = (0, c.Z)(r, J),
            P =
              null != (n = null == b ? void 0 : b.root)
                ? n
                : null == s
                ? void 0
                : s.Root,
            E = (0, l.Z)(
              {
                anchorEl: i,
                container: p,
                disablePortal: d,
                keepMounted: u,
                modifiers: m,
                open: g,
                placement: h,
                popperOptions: v,
                popperRef: y,
                transition: w,
              },
              O
            );
          return (0,
          Z.jsx)(K, (0, l.Z)({ as: a, direction: null == o ? void 0 : o.direction, slots: { root: P }, slotProps: null != x ? x : f }, E, { ref: t }));
        });
      var $ = Q;
    },
  },
]);
